TExcelTAD
Home › Analog Electronics: Diodes, Transistors & Op-Amps › The Reservoir Capacitor: Ripple, Conduction Angle and Peak Current

The Reservoir Capacitor: Ripple, Conduction Angle and Peak Current

A bridge rectifier's output swings from zero to its peak a hundred times a second: useless for electronics that want a steady DC rail. Put a large capacitor across the output and the picture changes completely. The capacitor charges to the peak near each crest and feeds the load between crests, so the output only sags a little before the next top-up. That sag is the ripple. This lesson shows how to size the capacitor for a given ripple, and why the diodes and the capacitor then carry currents far larger than the load current, a fact that destroys many first designs.

Safety note. The circuit is a transformer secondary followed by a rectifier. Transformer primaries are on the mains, so this lesson works by calculation and simulation only; the bench lab uses a function generator and small currents.

10.59.58.5 01 A vout |vs| - 2VF iD 160 ms200 ms time (two mains periods)

How the reservoir works

Between crests all diodes are off and the capacitor alone supplies the load current ILI_L. For a capacitor discharging at a nearly constant current, ΔV=ILΔt/C\Delta V = I_L \Delta t / C. If the discharge lasts almost the whole interval between charging pulses, 1/fr1/f_r, the peak-to-peak ripple is

ΔV≈ILfrC,fr={fhalf-wave2ffull-wave or bridge\Delta V \approx \frac{I_L}{f_r C}, \qquad f_r = \begin{cases} f & \text{half-wave} \\ 2f & \text{full-wave or bridge} \end{cases}

So C≈IL/(frΔV)C \approx I_L/(f_r \Delta V). The output peak is Vpk=Vp−2VFV_{pk} = V_p - 2V_F for a bridge, and the average output is about Vpk−ΔV/2V_{pk} - \Delta V/2. The formula slightly overestimates the ripple (the discharge is a little shorter than 1/fr1/f_r), so it is a safe design value.

Conduction angle and peak current

The diodes conduct only while the input is above the capacitor voltage: a short window before each crest. With an ideal source, conduction starts at an angle φ\varphi before the crest given by

cos⁡φ=1−ΔVVpk\cos\varphi = 1 - \frac{\Delta V}{V_{pk}}

In that window the diodes must replace all the charge the load took during the whole cycle, so the current flows in short tall pulses. Charge balance gives the average current during conduction: for a full-wave rectifier the conduction time per half cycle is φ/ω\varphi/\omega, so

ID,avg during conduction≈IL⋅πφI_\text{D,avg during conduction} \approx I_L \cdot \frac{\pi}{\varphi}

With an ideal source and ideal diodes the pulse starts with a jump to IL+ωCVpksin⁡φI_L + \omega C V_{pk} \sin\varphi, about twice that average, limited only by C dv/dtC\,dv/dt; in reality the transformer's winding resistance and leakage inductance, and the diodes' resistance, cap it and widen the conduction window. The capacitor ripple current (its rms AC current) is of the same order as the load current or larger. Electrolytic capacitors have a ripple-current rating; exceeding it overheats them and shortens their life, roughly halving it for every 10 K10\ \text{K} of extra core temperature (a common rule of thumb for aluminium electrolytics).

Bigger CC gives… but also…
less ripple narrower conduction, taller diode and capacitor current pulses
higher average output larger inrush current at switch-on (an empty capacitor is a short)
poorer power factor and more harmonics drawn from the mains

Worked example

Given: a bridge on a transformer secondary with Vp=12 VV_p = 12\ \text{V} at 50 Hz50\ \text{Hz}, winding resistance 0.5 Ω0.5\ \Omega, VF≈0.8 VV_F \approx 0.8\ \text{V} per diode at these currents, C=2200 μFC = 2200\ \mu\text{F}, load RL=100 ΩR_L = 100\ \Omega.

Find: the ripple, the conduction angle, and an estimate of the diode current pulses.

Solve:

Vpk=12 V−2⋅0.8 V=10.4 V,IL≈10.4 V100 Ω=104 mAΔV≈104 mA100 Hz⋅2200 μF=0.473 Vcos⁡φ=1−0.47310.4=0.9545,φ=17.3∘=0.302 radID,avg during conduction≈104 mA⋅π0.302=1.08 A\begin{aligned} V_{pk} &= 12\ \text{V} - 2 \cdot 0.8\ \text{V} = 10.4\ \text{V}, \qquad I_L \approx \frac{10.4\ \text{V}}{100\ \Omega} = 104\ \text{mA} \\ \Delta V &\approx \frac{104\ \text{mA}}{100\ \text{Hz} \cdot 2200\ \mu\text{F}} = 0.473\ \text{V} \\ \cos\varphi &= 1 - \frac{0.473}{10.4} = 0.9545, \qquad \varphi = 17.3^\circ = 0.302\ \text{rad} \\ I_\text{D,avg during conduction} &\approx 104\ \text{mA} \cdot \frac{\pi}{0.302} = 1.08\ \text{A} \end{aligned}

Check: conduction for 17.3∘17.3^\circ of each 180∘180^\circ half cycle is under 10 % of the time, so the pulses must be over ten times the load current: about 1 A1\ \text{A} from a 0.1 A0.1\ \text{A} load. The winding resistance will lower the peak and stretch the pulse; the simulations show by how much.

In Python

A hand formula, then a small time-stepping simulation of the same circuit with constant-drop diodes and the winding resistance (each step: the diode current flows only when the rectified source exceeds the capacitor voltage).

python · try it yourself
import numpy as np

VP, F, VF = 12.0, 50.0, 0.8        # peak, mains frequency, drop per diode at high current
RW, C, RL = 0.5, 2200e-6, 100.0    # winding resistance, reservoir, load

# 1) hand formulas
vpk = VP - 2 * VF
dv = (vpk / RL) / (2 * F * C)
phi = np.arccos(1 - dv / vpk)       # conduction starts phi before the crest
print(f"hand: peak {vpk:.2f} V, ripple I/(2fC) = {dv:.3f} V, conduction {np.degrees(phi):.1f} deg per half cycle")

# 2) a small time-stepping simulation (constant-drop diodes, winding resistance)
dt = 2e-6
t = np.arange(0, 0.2, dt)
vs = np.abs(VP * np.sin(2 * np.pi * F * t)) - 2 * VF
v, vout, idio = 0.0, np.empty_like(t), np.empty_like(t)
for k in range(len(t)):
    i_d = max(vs[k] - v, 0.0) / RW
    v += (i_d - v / RL) / C * dt
    vout[k], idio[k] = v, i_d
last = t >= 0.16
ic = idio[last] - vout[last] / RL
print(f"sim : max {vout[last].max():.3f} V, min {vout[last].min():.3f} V, "
      f"ripple {np.ptp(vout[last]):.3f} V, avg {vout[last].mean():.3f} V")
print(f"sim : peak diode current {idio[last].max():.3f} A, "
      f"conducting {100*np.mean(idio[last] > 0):.1f} % of the time")
print(f"sim : capacitor ripple current {np.sqrt(np.mean(ic**2)):.3f} A rms")
hand: peak 10.40 V, ripple I/(2fC) = 0.473 V, conduction 17.3 deg per half cycle
sim : max 10.122 V, min 9.747 V, ripple 0.375 V, avg 9.936 V
sim : peak diode current 0.862 A, conducting 17.4 % of the time
sim : capacitor ripple current 0.242 A rms

The winding resistance does three things the hand formula ignores: the capacitor never quite reaches VpkV_{pk} (it stops at 10.12 V10.12\ \text{V}), conduction lasts 31∘31^\circ instead of 17∘17^\circ per half cycle (17.4 % of the time), and the peak current falls to 0.86 A0.86\ \text{A}. The ripple, 0.375 V0.375\ \text{V}, is 21 % below the formula: the formula is the conservative bound designers use.

Cross-check with SPICE

The same circuit with the course's DREC rectifier model. Zero-volt sources VA and VC act as ammeters for diode D1 and the capacitor. The first 160 ms160\ \text{ms} let the capacitor charge up.

bash · try it yourself
cat > ripple.cir <<'EOF'
* bridge + 2200 uF reservoir, 100 Ohm load; 0.5 Ohm winding resistance
.model DREC D(Is=15n N=1.9 Rs=0.04 Cjo=40p BV=100 IBV=10u)
V1 s b SIN(0 12 50)
RW s a 0.5
RB b 0 10meg
VA a a1 0
D1 a1 p DREC
D2 b p DREC
D3 0 a DREC
D4 0 b DREC
C1 p c 2200u
VC c 0 0
RL p 0 100
.control
tran 10u 200m 0 10u
meas tran vmax max v(p) from=160m to=200m
meas tran vmin min v(p) from=160m to=200m
meas tran vavg avg v(p) from=160m to=200m
meas tran idpk max i(VA) from=160m to=200m
meas tran icrms rms i(VC) from=160m to=200m
let ripple = vmax - vmin
print ripple
.endc
.end
EOF
ngspice -b ripple.cir 2>&1 | grep -E '^(vmax|vmin|vavg|idpk|icrms|ripple)'
vmax                =  9.991812e+00 at=  1.858312e-01
vmin                =  9.642793e+00 at=  1.638612e-01
vavg                =  9.818332e+00 from=  1.600000e-01 to=  2.000000e-01
idpk                =  7.251004e-01 at=  1.647612e-01
icrms               =  2.12576e-01 from=  1.60000e-01 to=  2.00000e-01
ripple = 3.490190e-01

SPICE's exponential diodes drop a little more than 0.8 V0.8\ \text{V} at the peak and the output sits about 0.1 V0.1\ \text{V} lower, so the load current, ripple (0.349 V0.349\ \text{V}), diode peak (0.73 A0.73\ \text{A}) and capacitor current (0.21 A0.21\ \text{A} rms) are all a little smaller. The three methods agree on what matters for design: about 0.350.35 to 0.47 V0.47\ \text{V} of ripple, diode pulses 7 to 10 times the load current, and a capacitor that must be rated for at least 0.25 A0.25\ \text{A} rms at 100 Hz100\ \text{Hz}.

Choosing the parts

  1. Pick the allowed ripple from what follows. A linear regulator needs its input minimum above output plus dropout (LDOs, Dropout and Thermal Design); the valley voltage at the lowest mains voltage is the number to check.
  2. C≥IL/(frΔV)C \ge I_L/(f_r \Delta V), then add the capacitor's tolerance (electrolytics are often ±20 %\pm 20\ \%) and ageing.
  3. Capacitor voltage rating above the peak at the highest mains voltage (typically +10 %+10\ \%), with margin.
  4. Capacitor ripple-current rating above the simulated rms current, at the operating temperature.
  5. Diodes rated for the average current, the repetitive peak current, the inrush surge at switch-on and the PIV.

Guided lab: ripple from a function generator

Hand calculation. Generator at 10 V10\ \text{V} peak and 1 kHz1\ \text{kHz}, a small-signal diode (half-wave), C=10 μFC = 10\ \mu\text{F}, RL=4.7 kΩR_L = 4.7\ \text{k}\Omega: Vpk≈9.4 VV_{pk} \approx 9.4\ \text{V}, IL≈2 mAI_L \approx 2\ \text{mA}, ΔV≈2 mA/(1 kHz⋅10 μF)=0.2 V\Delta V \approx 2\ \text{mA}/(1\ \text{kHz} \cdot 10\ \mu\text{F}) = 0.2\ \text{V}.

Simulation. Edit the SPICE deck: one diode DSIG, 10 μF10\ \mu\text{F}, 4.7 kΩ4.7\ \text{k}\Omega, SIN(0 10 1k), and a 50 Ω50\ \Omega source resistance for the generator.

What you would measure. Scope channel 1 on the generator, channel 2 on the output with AC coupling at 50 mV/div50\ \text{mV/div} to see the ripple. Expect a sawtooth of about 0.150.15 to 0.2 V0.2\ \text{V} peak-to-peak (the generator's 50 Ω50\ \Omega and the capacitor's tolerance move it by 10 to 20 %). Swap in 47 μF47\ \mu\text{F}: the ripple should drop about five times. Put a 10 Ω10\ \Omega resistor in series with the diode and look across it to see the current pulses: tens of milliamperes, much taller than the 2 mA2\ \text{mA} load current, flowing only near each crest.

Hazards and safe setup. Low voltage from a generator. Electrolytic capacitors must be connected with the right polarity (the stripe marks −-, to ground here); reversed, they can vent. Discharge large capacitors through a resistor before handling them (ESD, Stored Energy and Battery Hazards).

Pitfalls

  • Sizing diodes on ILI_L. Their repetitive peak is many times ILI_L, and the switch-on surge is larger still.
  • Ignoring capacitor ripple current. The capacitor overheats and dries out long before its voltage rating is reached.
  • Forgetting the low-mains case. The valley voltage at the lowest line voltage decides whether a downstream regulator drops out.
  • Expecting Vp−2VFV_p - 2V_F at full load. Winding resistance and diode resistance lower the DC output as the load rises (load regulation).

Practice

  1. A full-wave rectifier on 60 Hz60\ \text{Hz} mains feeds 0.5 A0.5\ \text{A}. What capacitance keeps the ripple below 1 V1\ \text{V}?
  2. In an ideal-source model, by roughly what factor does doubling CC raise the peak diode current, and why?
  3. A half-wave rectifier at 50 Hz50\ \text{Hz} needs the same ripple as a bridge. How much larger must its capacitor be?
Answer
  1. C≥0.5/(120⋅1)=4170 μFC \ge 0.5/(120 \cdot 1) = 4170\ \mu\text{F}; choose 4700 μF4700\ \mu\text{F} (or more, allowing for −20 %-20\ \% tolerance).
  2. By about 2≈1.4\sqrt 2 \approx 1.4. The ripple halves, so φ\varphi shrinks by about 2\sqrt 2 (cos⁡φ≈1−φ2/2\cos\varphi \approx 1 - \varphi^2/2): the same charge must flow in a window 2\sqrt 2 times shorter, and the starting jump ωCVpksin⁡φ\omega C V_{pk} \sin\varphi grows as 2/2=22/\sqrt 2 = \sqrt 2 (in the worked example, 2.25 A2.25\ \text{A} becomes 3.15 A3.15\ \text{A}). Ripple falls in proportion to CC, but the current stress keeps rising.
  3. Twice as large: it is recharged once per period instead of twice.

Test yourself

A bridge rectifier on 50 Hz50\ \text{Hz} feeds 200 mA200\ \text{mA} into a 1000 μF1000\ \mu\text{F} reservoir. The ripple is about…

  1. 0.2 V0.2\ \text{V}
  2. 2 V2\ \text{V}
  3. 4 V4\ \text{V}
  4. 0.02 V0.02\ \text{V}

Compared with the load current, the diode current in a capacitor-input rectifier flows as…

  1. a steady current equal to the load current
  2. short pulses many times larger, near each crest
  3. a sine wave
  4. a current that is zero on average

In the worked example, the winding resistance made the conduction window…

  1. narrower and the peak current higher
  2. wider and the peak current lower
  3. unchanged
  4. disappear

Which rating of an electrolytic reservoir capacitor is most often exceeded by a careless design?

  1. capacitance
  2. ripple current
  3. leakage current
  4. colour code