Skip to content
YE Engineering logo
  • Programs
  • For teams Soon
  • Articles
  • Tools
  • Free guides
  • About
  • Contact
  • ENFR
  • Programs
  • For teams Soon
  • Articles
  • Tools
  • Free guides
  • About
  • Contact
  • ENFR
Join the waitlist

Engineering tool · Power electronics

DC-link capacitor calculator: ripple current and sizing

Size the DC-link capacitor of a two-level three-phase inverter, or the input capacitor of a buck converter. The tool gives the rms ripple current from the modulation index and the load angle, the capacitance that holds your ripple target at any power factor, the margin for tolerance and ageing, and the number of elements to put in parallel.

  • Kolar & Round rms current
  • Worst case over the load angle
  • Film or electrolytic margins
  • Parallel count by C and by current
  • Runs in your browser

Loading the calculator…

Learn the theory behind this tool

The calculator gives the numbers. These articles explain where they come from and how they go wrong on real projects.

ArticleDC-DC Converter Design: Inductor, Capacitors and MOSFET Losses, Step by StepArticlePower Electronics Design: From Specification to a Working PrototypeArticleThree-Phase Inverter Gate Drivers: Architectures, Supplies and ProtectionArticlePrecharge Circuit Design: Resistor Sizing, Timing and Fault CasesArticle650 V vs 1200 V vs 1700 V SiC MOSFETs: How to Choose the Voltage Class

Learn it live, on an industrial case study. This topic is taught in depth in the Industrial power electronics program: small groups, real design reviews.

See the program

What this tool does differently

  1. The current comes from the modulation, not from a rule of thumb. The rms current in the capacitor depends on the modulation index and on the load angle. The Kolar and Round equation gives it in closed form. At unity power factor it peaks near M = 0.6, so a motor drive at part speed can load the capacitor harder than at full speed.
  2. The capacitance holds at every load angle. The charge the bridge takes from the capacitor in one switching period is largest for a purely reactive load at the top of the linear range, where it reaches ηTsw/4. Sizing on that bound keeps the ripple inside the target whatever the power factor does. The ripple at your exact operating point is given next to it.
  3. Two limits, one count. A bank is set either by capacitance or by ripple current. Enter the data of one element and the tool gives the count for each limit, keeps the larger, and derates the ripple rating for the ambient temperature.
  4. Buck input capacitors too. The same sizing for the input of a buck converter, where the stress peaks at a duty cycle of 0.5.

Equations used

Phase current Î = 4P / (3·M·Vdc·cos φ) M = 2·Û / Vdc, up to 2/√3 Capacitor current I_C = I_ph · √(2M·[√3/(4π) + cos²φ·(√3/π − 9M/16)]) Capacitance C_min = Î / (4·fsw·ΔV) ΔV = allowed ripple, pk-pk Buck input I_C = Iout · √(D(1−D)) C_min = Iout·D(1−D) / (fsw·ΔV) Margin C = C_min / ((1 − tol)·(1 − EOL)) film 10 % and 5 %, electrolytic 20 % and 20 % Energy E = ½ · C · Vdc² Ripple derating k_T = √((105 − Ta) / (105 − T_rating)) above the rating temperature Parallel count N = max(⌈C / C_el⌉, ⌈I_C / (k_T · I_el)⌉)
Design note. With film capacitors the bank is often set by ripple current, not by capacitance: compare the two counts before choosing the part. With electrolytics, the resistive step ΔI·ESR at the switching frequency can be larger than the capacitive ripple computed here, which is why electrolytic banks are usually paired with film or ceramic decoupling right at the switches. The DC link is also what the pre-charge circuit has to charge: once the capacitance is fixed, check the pre-charge time and the resistor energy with it.

How to use the result

  • Run the worst operating point, not only the rated one. For a drive, look for the M and cos φ where the capacitor current is highest. The chart shows where that is for your power factor.
  • Use the datasheet derating when you have it. If the capacitor data sheet gives a ripple multiplier versus temperature or frequency, enter the derated current of one element and set its rating temperature to your ambient.
  • Treat low-frequency ripple separately. This tool covers the switching ripple. An unbalanced grid, a single-phase load or a rectifier front end adds ripple at twice or six times the line frequency, which needs an energy balance over the line period.
  • Electrolytics above about 450 V. Put elements in series with balancing resistors. Each string has half the capacitance of one element; the values given are for the whole bank.

Assumptions and limits

  • Balanced sinusoidal phase currents. The output current ripple is neglected; Kolar and Round report results within 8 % of simulation and measurement even with a high current ripple.
  • The DC source is inductive at the switching frequency, so all switching harmonics flow in the capacitor.
  • The operating-point ripple assumes continuous space-vector PWM with centred pulses. Discontinuous PWM gives a different value.
  • Buck: continuous conduction, inductor ripple neglected for the input current.
  • Capacitive ripple only. ESR and ESL add to it.
  • Margins: −10 % tolerance and −5 % end-of-life loss for film, −20 % and −20 % for electrolytics. These are typical values; use your supplier’s figures if they differ.
  • The temperature derating is a first-order self-heating estimate up to a 105 °C category temperature, not the manufacturer’s curve.

References

  • J. W. Kolar and S. D. Round, “Analytical calculation of the RMS current stress on the DC-link capacitor of voltage-PWM converter systems”, IEE Proceedings – Electric Power Applications, vol. 153, no. 4, pp. 535–543, 2006.
  • M. Vujačić, M. Hammami, M. Srndović and G. Grandi, “Analysis of dc-link voltage switching ripple in three-phase PWM inverters”, Energies, vol. 11, no. 2, 471, 2018.
  • R. W. Erickson and D. Maksimović, Fundamentals of Power Electronics, 3rd ed., Springer, 2020.
Mohamed Yasser El Mekadem

Built and maintained by Mohamed Yasser El Mekadem, Technical Leader on a 1500 V rail traction battery, eight years in onboard railway energy and power conversion. Found a case where the tool disagrees with your bench? Send me a message.

YE Engineering logo

Training in power electronics, battery systems and HIL validation — taught from field experience.

  • Follow on LinkedIn
  • Freelance profile on Malt (FR)

Explore

  • Programs
  • For teams · Soon
  • Articles
  • Free guides
  • About
  • Contact

Topics

  • Batteries & BMS
  • HIL & validation
  • Power semiconductors & gate drive
  • Converter design
  • Grids, power quality & AC
  • All articles

Contact

  • contact@yasser-engineering.com
  • Lyon, France
  • Legal notice
  • Privacy policy

© 2026 YE Engineering · Mohamed Yasser El Mekadem

Power electronics · Battery systems · HIL validation