Capacitor in a Power Supply: Ripple Filter & Reservoir Design

“Weโ€™ve trusted Rayming with multiple PCB orders, and theyโ€™ve never disappointed. Their manufacturing process is top-tier, and their team is always helpful. A+ service!”

I have had excellent service from RayMing PCB over 10 years. Your engineers have helped me and saved me many times.

Rayming provides top-notch PCB assembly services at competitive prices. Their customer support is excellent, and they always go the extra mile to ensure satisfaction. A trusted partner!

Power supply capacitor guide: how to size reservoir and filter caps, calculate ripple voltage, choose ESR, and avoid the mistakes that cause field failures.

Ask any power electronics engineer what kills most power supply designs in the field and the answer rarely surprises: wrong capacitor selection, poor placement, or both. The power supply capacitor is one of the most deceptively complex component choices on any PCB. Pick the wrong type, underestimate ripple current, or ignore ESR at your design frequency, and you end up with an unstable rail, a capacitor that runs hot and dies early, or an EMI failure that sends your board back from certification.

This guide covers exactly what you need to know โ€” from how reservoir capacitors and ripple filters actually work, through the math that sizes them correctly, to practical PCB layout rules that keep your supply clean and reliable.

What Does a Power Supply Capacitor Actually Do?

Before sizing anything, it’s worth being precise about the roles a capacitor plays in a power supply circuit. There are two distinct jobs, and confusing them leads to poor designs.

The Reservoir Capacitor: Storing Energy Between Rectifier Pulses

In a linear power supply, the output of the bridge rectifier is pulsating DC โ€” a series of half-sine humps at 100 Hz (for 50 Hz mains) or 120 Hz (for 60 Hz mains). The reservoir capacitor sits across the rectifier output and acts as an energy buffer. During each voltage peak, the rectifier charges the capacitor to near the peak voltage. Between peaks, when the rectifier diodes block, the capacitor discharges into the load, maintaining supply voltage between pulses.

The key insight: the capacitor is supplying the load current for most of the mains cycle, only being recharged in a short window around each peak. The larger the capacitor, the less voltage sag between peaks โ€” and therefore the lower the ripple. But there’s a trade-off: a very large reservoir capacitor charges in a very short time, demanding high peak current from the rectifier diodes and transformer secondary. You can’t simply keep scaling up capacitor value without increasing the diode and transformer current ratings accordingly.

The Filter Capacitor: Suppressing Residual AC Ripple

Once a reservoir capacitor has done its job, there’s still residual AC ripple on the output โ€” typically 10% of the DC output for a well-designed reservoir stage. Additional filter stages using capacitors (and inductors in LC filters, or RC networks for low-power circuits) attenuate this residual ripple before it reaches sensitive loads. In switching mode power supplies, the output capacitor sits after the inductor in the LC output filter, smoothing the switching ripple at the converter’s operating frequency rather than at mains frequency.

Understanding Ripple Voltage: The Core Parameter

Ripple voltage is the peak-to-peak AC variation riding on top of the DC output. The standard approximation formula for a full-wave rectified supply with a reservoir capacitor is:

Vripple โ‰ˆ Iload / (f ร— C)

Where Iload is the load current in amperes, f is the ripple frequency in Hz (100 Hz for 50 Hz mains full-wave, 120 Hz for 60 Hz mains), and C is the capacitance in farads.

Rearranging to find required capacitance:

C = Iload / (f ร— Vripple)

Worked Example: Sizing a Reservoir Capacitor

Suppose you’re designing a 12V linear supply delivering 2A at 100 Hz ripple frequency, and you want ripple held to 1V peak-to-peak:

C = 2A / (100 Hz ร— 1V) = 20,000 ยตF

That’s a large electrolytic โ€” exactly what you’d expect for a linear power supply capable of 2A output. If you want tighter ripple of 500 mV, the required capacitance doubles to 40,000 ยตF. This is why linear supplies for audio power amplifiers, bench instruments, and professional audio equipment use massive can-style electrolytic capacitors.

For a switching power supply operating at 200 kHz, the same formula applies but with a vastly higher f:

C = 2A / (200,000 Hz ร— 0.05V) = 200 ยตF

This explains why SMPS designs use much smaller output capacitors than linear supplies โ€” the higher switching frequency dramatically reduces the required bulk capacitance. It’s also why MLCCs become viable output capacitors in SMPS designs at higher switching frequencies.

Capacitor Types for Power Supply Applications

Not every capacitor type belongs in every power supply role. Selecting the right technology is as important as selecting the right value.

Aluminum Electrolytic Capacitors

The workhorse of linear power supply reservoir stages. Aluminum electrolytics offer the highest capacitance values in the smallest physical volume at reasonable cost. Available from a few ยตF up to hundreds of thousands of ยตF. Their chief weakness is ESR โ€” which can be several ohms for general-purpose types โ€” and a finite operational lifetime driven by electrolyte evaporation. Electrolyte dry-out is the most common failure mode in linear power supplies operated at elevated temperatures. A useful rule of thumb: every 10ยฐC increase in operating temperature halves the capacitor’s expected lifetime.

For switching power supply applications, always specify “low-ESR” or “switching-grade” aluminum electrolytics. General-purpose aluminum electrolytic capacitors should not be used in SMPS designs โ€” they have higher ESR and lower ripple current ratings, making them inadequate at switching frequencies. The difference in reliability and performance is not subtle.

MLCC Capacitors in Power Supplies

Multilayer ceramic capacitors have transformed SMPS output filter design. Their ESR is two to three orders of magnitude lower than aluminum electrolytic capacitors โ€” single-digit milliohms at switching frequencies are typical. This extremely low ESR allows a much smaller capacitance value to achieve the same ripple voltage, while also generating far less heat from ripple current flowing through the capacitor.

However, two practical issues demand attention. First, Class 2 MLCCs (X5R, X7R) lose substantial capacitance under DC bias. A 100 ยตF X5R MLCC rated at 6.3V may deliver only 20โ€“30 ยตF when running on a 5V rail. Size your MLCC values accounting for this derating โ€” always verify actual capacitance at operating voltage using manufacturer simulation tools. Second, the very low ESR of MLCCs can cause instability in switching power supply feedback loops and anti-resonance phenomena when multiple MLCCs are used in parallel. Combining MLCCs with a small-value aluminum electrolytic specifically chosen for its ESR can damp these oscillations.

Tantalum and Polymer Tantalum Capacitors

Solid tantalum and polymer tantalum capacitors sit between aluminum electrolytic and MLCC in the ESR spectrum. They offer higher capacitance density than ceramics of equivalent size, stable capacitance with no significant DC bias derating, and lower ESR than standard aluminum electrolytic types. Polymer tantalum in particular has become popular in low-voltage SMPS output filtering (3.3V, 1.8V, and below) where the low voltage rules out higher-capacitance MLCC options and space is constrained.

The standard reliability rule for MnOโ‚‚ tantalum capacitors applies in power supply design: voltage derate by at least 50%, and include current limiting to prevent inrush damage. Polymer tantalum relaxes this requirement to 80โ€“90% voltage derating with a better (non-shorting) failure mode.

Film Capacitors

Film capacitors โ€” polyester, polypropylene, and metallized film types โ€” appear at the AC input side of power supply circuits. X-class and Y-class safety capacitors are film types used across and between lines in EMI filters on mains-powered equipment. Film caps tolerate high peak currents, have no polarity concerns, and handle large voltage transients that would destroy other types. You’ll also find film capacitors in parallel with reservoir electrolytics in high-quality audio power supply designs, where their flat impedance response and low loss complement the bulk capacitance of the electrolytic.

Power Supply Capacitor Type Comparison

Capacitor TypeTypical ESRCapacitance RangeRipple CurrentBest Use in PSULifetime
Aluminum Electrolytic (std)0.1ฮฉ โ€“ 5ฮฉ1ยตF โ€“ 100,000ยตFModerateLinear supply reservoir2,000โ€“5,000 hrs at 105ยฐC
Aluminum Electrolytic (low-ESR)10mฮฉ โ€“ 200mฮฉ10ยตF โ€“ 10,000ยตFHighSMPS bulk output filter3,000โ€“10,000 hrs at 105ยฐC
Polymer Aluminum5mฮฉ โ€“ 50mฮฉ10ยตF โ€“ 3,000ยตFVery HighSMPS output, low-voltage railsVery long (no wet electrolyte)
MLCC X5R/X7R1mฮฉ โ€“ 20mฮฉ100nF โ€“ 100ยตFExcellentSMPS HF decoupling, output filterVirtually unlimited
Tantalum (polymer)10mฮฉ โ€“ 100mฮฉ1ยตF โ€“ 1,000ยตFGoodLow-voltage SMPS outputVery long
Film (PP/PE)Low1nF โ€“ 100ยตFVery HighAC input EMI filter, snubberExtremely long

ESR: The Specification That Dominates SMPS Design

<invoke name=”str_replace”> Every PCB engineer who works with switching power supplies learns this the hard way at least once: in an SMPS output capacitor, ESR is often more important than capacitance value.

For an aluminum electrolytic output capacitor in a buck converter, the ripple voltage contribution from ESR is:

Vripple_ESR = ฮ”iL ร— ESR

Where ฮ”iL is the inductor ripple current. If your inductor ripple current is 300 mA peak-to-peak and your capacitor has an ESR of 200 mฮฉ, that generates 60 mV of ripple voltage from ESR alone โ€” independent of the capacitance value. This ESR-dominated ripple is in phase with the inductor current, creating a characteristic sawtooth shape on an oscilloscope rather than the smooth triangular waveform you’d see with a pure capacitance-limited ripple.

The practical consequence: when using aluminum electrolytic capacitors as SMPS output filters, calculate both the minimum capacitance for load transient response and the maximum allowable ESR for ripple voltage โ€” then find a part that meets both. Neither spec alone is sufficient.

For MLCCs, the ESR is so low (often below 10 mฮฉ) that the capacitance term dominates ripple performance. The challenge with MLCCs shifts to ensuring adequate real-world capacitance after DC bias derating, and managing anti-resonance if using multiple capacitors in parallel.

Ripple Current Rating: The Parameter Engineers Most Often Ignore

Ripple current flowing through a capacitor’s ESR generates heat. The ripple current rating on a capacitor datasheet defines the maximum RMS AC current the component can handle without excessive temperature rise โ€” typically specified as the current that causes a 10ยฐC self-heating above ambient.

Exceed the ripple current rating and the capacitor runs hot. For aluminum electrolytic capacitors, this accelerates electrolyte evaporation dramatically. A capacitor running 10ยฐC hotter than its rated condition can have its lifetime cut in half. Running it 20ยฐC over can reduce lifetime to a quarter of the rated figure.

A common design error is selecting a capacitor based on capacitance and voltage rating alone, then checking the ripple current spec as an afterthought โ€” or not at all. The correct workflow is:

  1. Calculate the required capacitance and maximum ESR from your switching converter specs.
  2. Calculate the RMS ripple current that will flow through the output capacitor.
  3. Find candidate parts meeting all three parameters simultaneously.
  4. Derate the ripple current rating โ€” using 70โ€“80% of the rated value is good practice, especially if the capacitor will operate in a warm environment.

Filter Topologies: RC, LC, and Pi Filters

Simple Capacitor Filter (Shunt C)

The most basic filter: a single capacitor across the output. Works well for high-frequency SMPS switching ripple when using a low-ESR MLCC or polymer cap. Performance is limited by ESR and the self-resonant frequency of the capacitor. Adequate for many point-of-load applications where the output is already reasonably clean.

LC Filter

Adding an inductor in series before the shunt capacitor creates a second-order low-pass filter with much steeper roll-off than a capacitor alone. The LC filter reduces ripple by 12 dB/octave above the corner frequency, compared to 6 dB/octave for a single-pole RC filter. This makes it significantly more effective at attenuating switching noise in SMPS designs.

The resonant frequency of the LC filter is:

f0 = 1 / (2ฯ€โˆšLC)

Set this well below the switching frequency for effective attenuation. For a 200 kHz switcher, targeting a corner frequency of 20 kHz or below is typical. Be careful to damp the filter adequately โ€” an underdamped LC filter will ring and can cause output overshoot. Adding a small resistor in series with the output capacitor or using a capacitor with deliberate ESR provides the necessary damping.

Pi Filter (C-L-C)

The pi filter adds a second capacitor at the input side of the LC network, creating a three-element low-pass filter. This topology is particularly effective for mains-powered linear supplies immediately after the bridge rectifier, providing good rejection of both mains-frequency ripple and high-frequency interference. The additional input capacitor also helps to reduce the peak current demand on the rectifier diodes.

Pi filters require care in component selection: the inductors must handle the full supply current without saturation, and at mains frequencies (50โ€“120 Hz) the required inductance values are large and expensive. In SMPS designs operating at hundreds of kilohertz, practical-sized ferrite inductors become viable and pi filters are widely used.

Filter TypeRolloff RateBest ForDrawbacks
Shunt C only6 dB/octaveSMPS HF noise, point-of-loadLimited ripple rejection alone
RC filter6 dB/octaveLow-current supply cleanupVoltage drop across R, power loss
LC filter12 dB/octaveSMPS output, main filter stageMust be damped to avoid ringing
Pi filter (C-L-C)12โ€“18 dB/octaveMains-powered linear, EMI filteringBulky at 50/60Hz; inductor cost
Multiple parallel capsBroadband coveragePower delivery network, PDNAnti-resonance risk at certain freqs

PCB Layout Rules for Power Supply Capacitors

Getting the schematic right is half the job. The PCB layout determines whether the capacitors actually perform as designed.

Minimize loop area for high-current paths. The AC current path through the output capacitor and inductor forms a loop that radiates EMI proportional to its area. Keep the capacitor physically close to the inductor output, use wide copper pours for the power and return paths, and minimize the enclosed area between components and ground plane.

Place bulk capacitors first, then decoupling caps around them. The large output bulk capacitor belongs close to the switching converter’s output terminals. High-frequency ceramic decoupling caps then go between the bulk capacitor and the load ICs, addressing the frequency range where the bulk capacitor’s ESL prevents it from responding fast enough.

Never use a single via for high-current connections. A single 0.3 mm via can carry roughly 0.5โ€“1A before thermal issues arise. For a 5A output capacitor connection, use multiple vias or a large via with thick copper annular rings.

Match thermal mass on MLCC output capacitor pads. Asymmetric pad copper causes uneven heating during reflow soldering and promotes tombstoning on small packages. Add thermal reliefs or match copper area on both pads for reliable assembly.

Keep electrolytic capacitors away from hot components. Every 10ยฐC of added ambient temperature halves the expected lifetime of an aluminum electrolytic. Don’t place large output capacitors next to power MOSFETs, rectifier diodes, or inductors that run hot. If space forces proximity, use thermal vias and copper planes to separate the thermal zones.

Avoid placing large MLCCs near board edges or depaneling tabs. MLCC ceramic bodies crack under board flex. Place high-capacitance ceramic output caps away from mechanical stress points โ€” particularly the corners and edges of PCB panels.

Useful Resources for Power Supply Design

These references belong in your bookmarks if you work on power supply circuits regularly:

Frequently Asked Questions

1. How do I choose the right capacitor value for my power supply?

Start with your operating requirements: load current, acceptable ripple voltage, and the ripple frequency (mains frequency for linear supplies, switching frequency for SMPS). Use the formula C = Iload / (f ร— Vripple) for an initial estimate, then verify the chosen capacitor meets the ripple current rating and ESR spec at your operating frequency and temperature. For SMPS designs, also calculate the required maximum ESR to ensure ripple voltage from ESR contributions stays within your budget. Always check actual capacitance at operating DC voltage for Class 2 MLCCs โ€” derating can cut effective capacitance to a third of the nameplate value.

2. Why does my power supply output have high-frequency spikes even though I have a large output capacitor?

Large electrolytic capacitors have significant ESL (Equivalent Series Inductance) โ€” typically 10โ€“50 nH for through-hole electrolytics. Above the capacitor’s self-resonant frequency, the ESL dominates and the capacitor stops behaving like a capacitor. High-frequency switching spikes at 100 kHz and above bypass the electrolytic entirely. The solution is to add small, low-inductance ceramic decoupling capacitors โ€” 100 nF to 10 ยตF X7R in 0402 or 0603 packages โ€” in parallel with the electrolytic. The ceramics handle the high-frequency content that the electrolytic cannot address, giving broadband filtering across the combined impedance profile.

3. What is a “switching grade” electrolytic capacitor and why does it matter?

Standard general-purpose aluminum electrolytic capacitors are optimized for applications at 50/60 Hz mains frequency. Their ESR and ripple current rating are specified at 100โ€“120 Hz. In a switching power supply operating at 100 kHzโ€“500 kHz, these capacitors have much higher ESR at the operating frequency than their datasheet suggests, generate excessive heat from the higher ripple current, and fail prematurely. Switching-grade electrolytic capacitors are specifically designed with lower ESR and higher ripple current ratings at switching frequencies. The performance difference is significant โ€” never substitute a general-purpose electrolytic for a switching-grade part in an SMPS.

4. How does temperature affect power supply capacitor lifetime?

For aluminum electrolytic capacitors, the Arrhenius equation applies: every 10ยฐC increase in core temperature approximately halves the capacitor’s expected operational lifetime. A capacitor rated for 2,000 hours at 105ยฐC will last approximately 4,000 hours at 95ยฐC, 8,000 hours at 85ยฐC, and so on. Core temperature is determined by the ambient temperature plus the self-heating from ripple current flowing through the capacitor’s ESR. This is why operating an electrolytic capacitor at high ripple current without adequate thermal derating โ€” or placing it near a heat source โ€” dramatically shortens supply lifetime. Polymer aluminum and film capacitors have better temperature profiles and no wet electrolyte to dry out, giving them fundamentally longer service lives.

5. Can I use MLCCs to replace electrolytic capacitors in my power supply output filter?

In principle, yes โ€” particularly for low-voltage SMPS designs at high switching frequencies where the capacitance requirement is modest. The practical challenges are: Class 2 MLCCs lose significant capacitance under DC bias (verify actual capacitance at your rail voltage); very low MLCC ESR can cause instability in some regulator feedback loops that relied on the ESR zero provided by the electrolytic; and anti-resonance phenomena can occur when multiple MLCCs with similar self-resonant frequencies are paralleled. Where MLCC replacement is feasible, the advantages are significant โ€” lower board height, essentially unlimited cycle life, and better high-frequency performance. Use a design reference from the regulator IC’s manufacturer or a tool like TI’s PowerStage Designer to validate the replacement.

Summary: Getting the Power Supply Capacitor Selection Right

The power supply capacitor is simultaneously one of the most critical components in any supply design and one of the most frequently underspecified. The common errors โ€” using general-purpose electrolytics in SMPS circuits, ignoring ripple current rating, placing capacitors near hot components, or failing to account for DC bias derating in Class 2 MLCCs โ€” all show up in field failures, shortened product life, or performance that doesn’t match expectations.

The framework is straightforward: define your ripple voltage budget, calculate required capacitance and ESR from your converter parameters, verify the ripple current rating under worst-case operating conditions, derate by temperature and current, and validate the PCB layout ensures minimal loop area and adequate thermal management. Follow that process consistently, and the power supply capacitor choices that once seemed like guesswork become straightforward engineering decisions.

Written from a PCB and power electronics engineering perspective, based on manufacturer application notes, IEEE technical references, and hands-on design experience.