Rectifiers & Capacitor-Input Filters

Turning AC into DC. Learn half-wave, full-wave centre-tapped and bridge rectifiers, peak inverse voltage (PIV), average and RMS output, ripple frequency, efficiency and transformer utilisation, diode drops and losses, the capacitor-input (reservoir) filter and ripple voltage, conduction angle and peak/RMS diode and capacitor currents, surge (inrush) current, LC and π filters, and voltage doublers — with Python designing a bridge rectifier with a reservoir capacitor.

Every mains-powered device begins with a rectifier: diodes convert alternating current into pulsating DC, and a reservoir capacitor smooths it. Its ripple, peak currents and heating determine regulator design, transformer size and capacitor lifetime.

The same ideas apply to AC–DC adapters, battery chargers, SMPS input stages and signal detectors.

An analogy

A reservoir capacitor is like a water tank filled by pulses from a pump (the rectifier): the tank fills briefly at each pulse and drains steadily into the load between pulses, so the water level (voltage) wobbles a little — the ripple.

Rectifier topologies

Comparison:

Capacitor-input filter

The capacitor charges to near V_pk at each peak and discharges into the load between peaks. Approximating a constant load current gives V_r = I_L/(f_r·C). Output DC ≈ V_pk − V_r/2. Bigger C reduces ripple but narrows the conduction angle, increasing peak and RMS currents (heating diodes, transformer and capacitor) and harmonic distortion of the mains current. Inrush at switch-on can be huge (limit with NTC thermistors or soft-start).

Efficiency and utilisation

Rectification efficiency (DC output power/AC input power) is only 40.6% for an unfiltered half-wave and 81.2% for full-wave with resistive loads. Transformer utilisation factor (TUF) is 0.287 (half-wave), 0.693 (centre-tap) and 0.812 (bridge). Diode losses (V_F × I_avg) matter at low output voltages — Schottky or synchronous rectifiers help.

Further filtering and power factor

LC (choke-input) filters give lower peak currents and better regulation; π filters (C–L–C or C–R–C) reduce ripple further for audio preamplifiers. Capacitor-input rectifiers draw spiky current with power factor ≈ 0.5–0.7; above ~75 W, standards (IEC 61000-3-2) require power-factor correction (active boost PFC). After rectification a regulator removes residual ripple — its dropout must be met at the ripple trough (V_pk − V_r).

Formulas

Worked example: Ripple

Given: I_L 0.5 A, 2200 µF, full-wave 50 Hz

Find: V_r.

Answer: 2.27 V_pp

Worked example: Capacitor for 1 V ripple

Given: 2 A, 60 Hz full-wave

Find: C.

Answer: 16 700 µF

Worked example: Unfiltered average

Given: V_m = 17 V full-wave (ideal diodes)

Find: V_avg.

Answer: 10.8 V

Bridge rectifier with reservoir capacitor

  AC 12 V_rms ──┬───►|───┬───────┬──── +V_DC (≈ 14.3 V avg)
   (transformer) │        D1       │
                 ├───|◄───┤ D3   ─┴─ C 4700 µF   [R_L ~1 A]
                 │        │      ─┬─
             ────┴───►|───┤ D2    │
                      |◄──┴───────┴──── 0 V
  two diodes conduct each half-cycle → 2 × V_F lost; ripple at 100 Hz

On each half-cycle a different pair of diodes charges the capacitor to nearly the peak voltage; between peaks the capacitor supplies the load and its voltage droops — the ripple.

Bridge rectifier design

import math
# Full-wave bridge rectifier with capacitor filter: peak, ripple, conduction angle and diode stress
Vrms, f, Vf = 12.0, 50.0, 0.8                  # transformer secondary, mains, diode drop
Vpk = Vrms * math.sqrt(2) - 2 * Vf              # two diodes conduct in a bridge
IL, C = 1.0, 4700e-6
Vr = IL / (2 * f * C)                           # full wave ripples at 100 Hz
print(f"peak DC {Vpk:.2f} V, ripple {Vr:.2f} Vpp, average {Vpk - Vr/2:.2f} V, minimum {Vpk - Vr:.2f} V")
theta = math.degrees(math.acos((Vpk - Vr) / Vpk))
print(f"conduction angle ~ {theta:.0f} deg per half-cycle -> peak diode current ~ {IL*180/theta:.1f} A (approx.)")
print(f"PIV per diode (bridge) = {Vrms*math.sqrt(2):.1f} V; half-wave with the same C would ripple {IL/(f*C):.2f} Vpp")
print(f"capacitor ripple current ~ {IL*math.sqrt(180/theta):.1f} A rms (rough)")
# peak DC 15.37 V, ripple 2.13 Vpp, average 14.31 V, minimum 13.24 V
# conduction angle ~ 31 deg per half-cycle -> peak diode current ~ 5.9 A (approx.)
# PIV per diode (bridge) = 17.0 V; half-wave with the same C would ripple 4.26 Vpp
# capacitor ripple current ~ 2.4 A rms (rough)

A 1 A load on 4700 µF gives 2.1 V of ripple at 100 Hz. The capacitor recharges only during a short ~31° window each half-cycle, so the diodes carry ~6 A peaks and the capacitor ~2.4 A RMS ripple current — far more than the 1 A DC load, which is why reservoir capacitors must be rated for ripple current and transformers are oversized (poor power factor).

Common mistakes

Applications

Key takeaways

Going further