ESC Capacitor Sizing: Lead Inductance, Spikes and Ripple
Simulate ESC battery lead ringing and switching spikes. Size an electrolytic bank with board ceramics using RMS ripple current, voltage margin and estimated heating.
This ESC capacitor sizing calculator helps engineers, students and FPV builders investigate battery lead inductance, voltage spikes and capacitor ripple current. Use it when moving a battery farther from an ESC, changing PWM settings, choosing a low ESR capacitor, or checking whether a capacitor bank can handle sustained motor current.
Enter the fully charged battery voltage and a realistic switched phase current. Duty is the fraction of each PWM cycle for which that current is drawn from the bus; it is not necessarily the transmitter throttle setting. The default waveform represents one conducting phase pair with almost constant motor current during a PWM period. For several ESCs switching together, enter their aggregate pulse current. Unsynchronised drives and sinusoidal modulation require their actual combined waveform rather than a simple multiplier.
Describe both battery wires using their one-way length, copper diameter and centre spacing. The calculator includes resistance in the outgoing and return conductors and estimates their external loop inductance. Extra pack, connector and board inductance has its own input. Keep this separate from the local commutation inductance between the capacitor bus and the MOSFET.
Enter the electrolytic capacitance, ESR, ESL and ripple-current rating for one part, then select how many identical parts are in parallel. Shared extension-wire inductance remains even when more capacitors are added. Enter the board ceramics as one equivalent bank, using capacitance after DC bias and tolerance losses. A capacitor's impedance specification is not automatically its ESR: replace the illustrative resistance with suitable measured or manufacturer data.
Read the selected-bank assessment together with the MOSFET voltage margin, per-capacitor RMS current and temperature rise. The comparison table tests several parallel banks against voltage, ripple, corrected current rating and thermal limits. Its first passing count is the first passing option in that table, not a universal part recommendation. The ideal charge-balance capacitance is a starting estimate; the complete circuit determines the results.
Play the PWM cursor and inspect the turn-off view to distinguish fast local spikes from slower circuit ringing. The lead length scan includes the resistance change with length and can show resonance peaks. Its voltage envelope adds the maximum bus voltage to the local L·di/dt rise. “Scan limit reached” means no sampled voltage crossing was found within the chosen range; it does not establish an unlimited or flight-safe lead length.
The model covers periodic motoring pulses and steady heating. It does not cover plug-in inrush, connector arcing, regenerative braking, battery disconnection, MOSFET avalanche, gate-drive ringing, TVS clamps or full aircraft reliability. Use realistic parameter extremes, refine the numerical settings near a limit, and verify voltage with a short-loop differential probe and capacitor temperature on the assembled ESC.
How it is calculated
The circuit follows Kirchhoff's voltage and current laws. The battery is an ideal open-circuit voltage behind an ohmic resistance and one polarization R–C element. Copper resistance uses both conductors and its temperature coefficient. For parallel round conductors the external loop inductance is ; total battery loop inductance adds the entered fixed parasitics.
Each capacitor branch contains its own series ESR, ESL and ideal capacitance. Identical electrolytics share current equally; their C adds, ESR and intrinsic ESL divide by count, and shared mounting inductance remains. With , the five states are battery current, electrolytic current, both ideal capacitor voltages and battery polarization voltage. Eliminating the common bus voltage gives the linear state equations implemented in bus_rhs. Positive capacitor current charges a capacitor.
The inverter draws a trapezoidal pulse with linear rise and fall of duration , pulse height , average and period . Matrix exponentials integrate each edge and plateau exactly. A linear periodic boundary solve finds the initial state without a guessed settling time. Both sides of edge events are sampled. The MOSFET estimate is ; battery lead inductance is not added to this local spike again.
RMS currents and energy/charge balances use event-aligned time quadrature. ESR heating is and temperature rise is loss times entered thermal resistance. The corrected ripple rating is the data-sheet rating times the entered correction factor. Design scans solve the same circuit impedances for the finite-edge pulse harmonics; Parseval gives branch RMS, and an inverse FFT reconstructs bus voltage after removing and analytically restoring its algebraic ESL edge jump. Every scan point also solves the exact periodic state transitions at all four switching events and evaluates each endpoint with both one-sided current slew rates. The larger of these event peaks and the harmonic-grid peaks is used, so an edge cannot disappear between FFT samples. Scan voltage envelopes use peak bus voltage plus the positive local L·di/dt bound. Bank options test all entered limits.
TI SLTA055 pp. 2–4 supplies the ideal pulse-ripple comparison and independent published examples. TI SLVAFT0 pp. 3–6 motivates retaining lead inductance and real capacitor impedance. Infineon's BTN7030 guidance and Flycolor's manual p. 2 support placing the bulk capacitor close to the drive.
Assumptions
The electrical equations and exact state-transition algorithm are derived here. A fixed conducting phase-pair current represents six-step motoring over one PWM period; current ripple within the motor winding and changes across an electrical revolution are not generated by this model. Duty describes the bus-current pulse, not a commanded throttle percentage. The battery can source or absorb the small switching ripple about its average operating point.
Capacitance, ESR, ESL and battery parameters are linear and constant over each run. ESR and effective ceramic capacitance must represent operating temperature, bias and frequency. Parallel electrolytics are identical and equally connected. The thermal resistances are user estimates, and mutual heating between cans is not included.
Illustrative electrolytic defaults use the Panasonic EEUFR1V102 nominal 1000 µF, 35 V and 2.6 A at 100 kHz. The 18 mΩ default is an approximation based on its maximum impedance, not a separately specified broadband ESR. The entered 0.8 rating factor, ESL values, thermal resistances, battery parameters and ceramic bank are editable engineering assumptions. For minimum capacitance sizing, include the part's negative tolerance.
Where it applies
This is a linear periodic bus model, not a transient start-up, regenerative-braking, plug-in or fault model. It does not predict MOSFET avalanche, Coss/nonlinear switching, reverse recovery, snubbers, clamps, gate voltage or distributed transmission-line effects. The local L·di/dt voltage is an unclamped commutation estimate for the entered current edge; verify it at the device. No result establishes flight reliability.
The lead formula is the high-frequency external inductance of a long straight, close parallel pair in a nonmagnetic environment. Twisted, widely separated, branched or very short harnesses need measured inductance. Low-frequency internal conductor inductance, skin/proximity losses and frequency-dependent capacitor ESR are not fitted. The reported full-circuit ringing frequency and damping come from the oscillatory state-matrix pole; a zero frequency means that no oscillatory pole was found. The separate bulk LC reference is only a low-frequency approximation.
Default time-domain output uses 384 samples per plateau and 48 per edge, with exact propagation between samples. Peaks and RMS quadrature still require adequate sampling: double the time sampling input until changes are acceptable. Default design scans retain 255 harmonics and solve 41 lead lengths plus nine bank options. Adding exact one-sided switching-event solutions at every scan point took the previous resolution beyond about three seconds; the plateau sample count and lead grid are reduced to retain the full circuit physics within that budget. Switching-event peaks are evaluated exactly regardless of harmonic cutoff or FFT phase. Between events, harmonic reconstruction can still miss high-frequency content above its cutoff. The coarser lead grid can miss a narrow resonance between solved lengths; the lead charts use shape-preserving interpolation through 161 display points, and decisions use only solved lengths. Increase harmonic refinement and lead scan points, and narrow the scan range near a boundary. A resolved full-circuit resonance should lie well below the highest retained harmonic.
Lead reach is the last sampled length before the first sampled MOSFET voltage-envelope exceedance, or the chosen scan upper limit when none occurs. It checks voltage only; current, ripple and heating must also pass. The positive envelope deliberately combines bus and local maxima even when they occur at different times. It is conservative in that timing combination, not a guarantee against unresolved parasitics or unsampled resonances. The first tested passing bank may be zero when no listed option meets every limit.
Temperature is ambient plus I²ESR heating, without an ESR/temperature feedback or a lifetime model. Apply manufacturer frequency and temperature rating corrections and validate actual airflow. The selected voltage fraction is a user design margin, not a manufacturer-approved derating rule.
References
- Texas Instruments, Jason Arrigo, Input and Output Capacitor Selection, SLTA055, February 2006, pp. 2–4. https://www.ti.com/lit/an/slta055/slta055.pdf
- Texas Instruments, Clark Kinnaird, Bulk Capacitor Sizing for DC Motor Drive Applications, SLVAFT0, July 2024, pp. 3–6. https://www.ti.com/lit/an/slvaft0/slvaft0.pdf
- Infineon, BTN7030-1EPA: Why is a DC Link capacitor required?, 2022, with linked Design and PCB guideline. https://community.infineon.com/t5/Knowledge-Base-Articles/BTN7030-1EPA-Why-is-a-DC-Link-capacitor-required/ta-p/350826
- Flycolor, X-Cross HV3 Multi-Rotor Brushless ESC User Manual, V1.0, p. 2. https://en.fly-color.net/uploadfile/202207/3480ffc0cf.pdf
- Panasonic, FR-A series specifications, 28 February 2020, p. 5; current EEUFR1V102 product specification: https://na.industrial.panasonic.com/products/capacitors/aluminum-electrolytic-capacitors/series/83367/model/83808
- Panasonic FR-A data sheet: https://mediap.industry.panasonic.eu/assets/imported/industrial.panasonic.com/cdbs/www-data/pdf/RDF0000/RDF0000C1266.pdf
Inputs
| Input | Symbol | Unit | Default |
|---|---|---|---|
| Battery open-circuit voltage | V_bat | V | 25.2 |
| Battery ohmic resistance | R_bat | mohm | 20 |
| Battery polarization resistance | R_pol | mohm | 5 |
| Battery polarization time constant Use an RC fit from a battery pulse test. | tau_pol | ms | 5 |
| One-way battery lead length Positive and negative leads share this length. | lead_length | mm | 200 |
| Copper conductor diameter | wire_d | mm | 2.05 |
| Wire centre spacing | wire_gap | mm | 4 |
| Wire temperature Copper resistance is corrected from 20 °C. | T_wire | degC | 60 |
| Connector loop resistance | R_conn | mohm | 2 |
| Extra battery loop inductance Add connector, pack and board inductance outside the capacitors. | L_extra | nH | 20 |
| Switched phase current Pulse height of one conducting phase pair; use aggregate current for synchronous ESCs. | I_phase | A | 20 |
| Bus current duty fraction | duty | 0.5 | |
| PWM frequency | f_pwm | kHz | 24 |
| Current rise and fall time Measured current transition time, not the PWM period. | t_edge | ns | 100 |
| Local commutation inductance Inductance between the capacitor bus and the switching device. | L_switch | nH | 3 |
| Capacitance per electrolytic Use minimum effective capacitance after tolerance. | C_bulk | uF | 1000 |
| Parallel electrolytics | n_bulk | 1 | |
| ESR per electrolytic Use ESR at the operating temperature and PWM spectrum. | ESR_bulk | mohm | 18 |
| ESL per electrolytic | ESL_bulk | nH | 10 |
| Shared electrolytic mounting inductance Long capacitor extension wires belong here. | L_mount | nH | 5 |
| Ripple rating per electrolytic | I_bulk_rated | A | 2.6 |
| Ripple rating correction factor Multiply data sheet frequency and ambient-temperature factors. | k_rating | 0.8 | |
| Thermal resistance per electrolytic Estimate or measure for the actual airflow and mounting. | Rth_bulk | K/W | 25 |
| Electrolytic voltage rating | V_bulk_rated | V | 35 |
| Electrolytic temperature limit | T_bulk_max | degC | 105 |
| Effective ceramic bank capacitance Include DC bias, tolerance and temperature derating. | C_cer | uF | 20 |
| Ceramic bank ESR | ESR_cer | mohm | 3 |
| Ceramic bank and mounting ESL | ESL_cer | nH | 1 |
| Ceramic bank ripple capability Use manufacturer heating data at the relevant frequencies. | I_cer_rated | A | 10 |
| Ceramic bank thermal resistance | Rth_cer | K/W | 20 |
| Ceramic voltage rating | V_cer_rated | V | 50 |
| Ceramic temperature limit | T_cer_max | degC | 125 |
| Capacitor ambient temperature | T_amb | degC | 40 |
| MOSFET drain voltage rating | V_fet_rated | V | 40 |
| Allowed voltage rating fraction | v_util | 0.8 | |
| Allowed bus ripple | ripple_limit | V | 1 |
| Allowed capacitor temperature rise | rise_limit | K | 20 |
| Lead scan upper length | scan_length | mm | 1000 |
| Samples per PWM plateau Double this to check RMS and sampled peak convergence. | n_sample | 384 | |
| PWM cycle position | t_show | 0.5012 | |
| Harmonic refinement level Retains 2ˡᵉᵛᵉˡ − 1 harmonics for the design scans. | spectral_level | 8 | |
| Lead scan points Increase to resolve narrow resonances and tighten the lead-length bracket. | n_lead | 41 |
Results
With the default inputs above, the calc gives:
| Result | Value |
|---|---|
| Selected bank assessment | Increase bulk ripple capability |
| Peak MOSFET voltage | 25.639 V |
| MOSFET voltage margin | 6.361 V |
| Bus peak to peak ripple | 0.759 V |
| Battery loop inductance | 123.1 nH |
| Local turn-off spike | 0.6 V |
| Electrolytic RMS per capacitor | 7.37 A |
| Corrected ripple rating per capacitor | 2.08 A |
| Required nameplate ripple rating per capacitor | 9.212 A |
| Ceramic bank RMS current | 2.984 A |
| Electrolytic temperature rise | 24.441 K |
| Ceramic bank temperature rise | 0.534 K |
| Electrolytic hot temperature | 64.441 °C |
| Ceramic hot temperature | 40.534 °C |
| First passing tested capacitor count | 5 |
| First passing tested bulk capacitance | 5,000 uF |
| Ideal charge-balance starting capacitance | 208.3 uF |
| Voltage-screened lead scan reach | 1,000 mm |
| Lead scan interpretation | Scan limit reached |
| Full circuit ringing frequency | 278.8 kHz |
| Full circuit ringing damping ratio | 0.329 |
Checked against sources
Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).
TI 84 µF input ripple example
Source: TI SLTA055 (February 2006), pp. 3–4, Equations 2 and 4: 10 A, duty 0.3, 333 kHz and 84 µF give 75 mVpp. The test approaches the stated ideal current-fed capacitor limit using 1 mH lead isolation and negligible ceramic ESR/ESL; finite 10 ns edges account for the small difference.
Inputs: Switched phase current = 10 A; Bus current duty fraction = 0.3; PWM frequency = 333 kHz; Current rise and fall time = 10 ns; Extra battery loop inductance = 1,000,000 nH; Capacitance per electrolytic = 0.01 uF; ESR per electrolytic = 10,000 mohm; Ceramic bank ESR = 0.001 mohm; Ceramic bank and mounting ESL = 0.001 nH; Local commutation inductance = 0 nH; Battery open-circuit voltage = 12 V; Effective ceramic bank capacitance = 84 uF; the others as above.
| Result | Source | This calc |
|---|---|---|
| Bus peak to peak ripple | 0.075 ± 0.02 V | 0.07471 V |
TI 18 µF input ripple example
Source: TI SLTA055 (February 2006), p. 4, Equation 4: the 18 µF effective internal input capacitance at 10 A, duty 0.3 and 333 kHz gives 350 mVpp. Same explicitly ideal limiting circuit as the 84 µF case.
Inputs: Switched phase current = 10 A; Bus current duty fraction = 0.3; PWM frequency = 333 kHz; Current rise and fall time = 10 ns; Extra battery loop inductance = 1,000,000 nH; Capacitance per electrolytic = 0.01 uF; ESR per electrolytic = 10,000 mohm; Ceramic bank ESR = 0.001 mohm; Ceramic bank and mounting ESL = 0.001 nH; Local commutation inductance = 0 nH; Battery open-circuit voltage = 12 V; Effective ceramic bank capacitance = 18 uF; the others as above.
| Result | Source | This calc |
|---|---|---|
| Bus peak to peak ripple | 0.35 ± 0.02 V | 0.3485 V |
Reviewer regression: 10 ns edge between FFT samples
Source: Independent reviewer case supplied by the user on 5 November 2026: duty 0.37, 10 ns edges, ripple limit 5 V and five electrolytics, other original defaults, give a 32.714 V time-domain peak at 200 mm, above the 32 V ceiling. The reported peak is rounded to three decimal places; the 0.0005 V tolerance is its half-digit rounding interval. The scan's event peak must reproduce it. Every listed bank and the shortest scanned lead exceed that ceiling, so no tested bank or lead length qualifies. This is regression evidence from the review, not a published hardware measurement.
Inputs: Bus current duty fraction = 0.37; Current rise and fall time = 10 ns; Allowed bus ripple = 5 V; Parallel electrolytics = 5; the others as above.
| Result | Source | This calc |
|---|---|---|
| Peak MOSFET voltage | 32.714 V | 32.714 V |
| Harmonic scan at selected bank and lead [5] | 32.714 | 32.714 |
| First passing tested capacitor count | 0 | 0 |
| Voltage-screened lead scan reach | 0 ± 1 × 10⁻⁵ mm | 0 mm |
Related Resources
Related articles
-
A High-Efficiency Series Capacitor Buck Converter with Constant On-Time Control: Modeling, Simulation, and Performance Analysis Using PLECS -
Design and Performance Analysis of a Two-Stage LED Driver Incorporating Boost Power Factor Correction and Flyback DC–DC Converter Using PLECS Simulation -
Comparative Performance Analysis of Type-II and Type-III Analog Compensators for Voltage-Mode Buck Converters Using PLECS Simulation

Responses