Single- and Three-Phase Diode Rectifiers
Almost every electronic load on the mains starts with a diode bridge: phone chargers, LED drivers, computer supplies, variable-speed drives, welders, EV chargers. The bridge turns the AC supply into a DC bus for the converter behind it. Its average output is simple to compute, but as soon as a capacitor is added to smooth the bus, the input current becomes a train of short, tall pulses near each voltage peak. Those pulses set the diode and capacitor ratings, the inrush current at switch-on, and, multiplied by billions of devices, the harmonic pollution of the grid. This lesson computes the single- and three-phase bridges with resistive and capacitive loads and checks the capacitor-input case in ngspice. The small-signal version (a few volts from a transformer secondary) is in Rectifiers and Smoothing and Ripple.
Safety: calculation and simulation only. Every rectifier on this page runs from mains voltage. Its DC bus stores lethal energy and stays charged after the plug is pulled. Do not build or probe a mains rectifier; the hands-on lab at the end uses a signal generator at a few volts.
The single-phase bridge with a capacitor
With a resistive load, a full bridge gives the rectified sine, whose average is
where is the rms supply voltage and the rms line-to-line voltage. Two diodes are always in series in the current path, so subtract .
With a capacitor input filter the capacitor charges to near the peak and then supplies the load alone until the rectified voltage rises above it again. A conservative estimate assumes it supplies the load for a whole half period:
The diodes conduct only while the supply exceeds the capacitor voltage, a short interval before each peak, so the same charge must flow in a few milliseconds: the line current's peak is many times its average, and its rms value is large for the power delivered. The power factor of a bare capacitor-input rectifier is typically only 0.4 to 0.7 (Line Harmonics, Power Factor and Commutation Overlap).
The three-phase bridge
Six diodes connect the positive rail to whichever phase is highest and the negative rail to whichever is lowest. The output is six pulses per cycle between and , so even without a capacitor the ripple is small (about 13 % of the peak, peak-to-peak) and at six times the line frequency. Industrial drives (Induction-Motor Drives) use this bridge with a DC-link capacitor and often a DC or AC choke that lengthens the conduction pulses.
Worked example: a 300 W capacitor-input supply (calculation only)
Given: , mains, a bridge with , , a load drawing about from the DC bus.
Find: the DC current, the ripple, the bus voltage and where the diodes start to conduct; then the three-phase bridge on .
Solve:
Check: the conduction window of is of each half cycle, so during the pulse the line current averages about times , with a higher peak. The ripple estimate is conservative because the capacitor is recharged before a full half period has passed.
import numpy as np
# rectifier averages, by formula and by numerical averaging of the rectified waveform
f = 50.0
t = np.linspace(0, 1 / f, 200001)[:-1]
V = 230.0 # single-phase rms (calculation only)
vs = np.sqrt(2) * V * np.sin(2 * np.pi * f * t)
v_bridge = np.abs(vs) # ideal full bridge, resistive load
print(f"1-phase bridge: Vdc = {v_bridge.mean():.1f} V (formula 2*sqrt2*V/pi = {2*np.sqrt(2)*V/np.pi:.1f} V)")
print(f" ripple p-p {v_bridge.max()-v_bridge.min():.1f} V at {2*f:.0f} Hz, form factor {np.sqrt((v_bridge**2).mean())/v_bridge.mean():.3f}")
VLL = 400.0 # three-phase line-to-line rms
ph = [np.sqrt(2) * VLL / np.sqrt(3) * np.sin(2 * np.pi * f * t - k * 2 * np.pi / 3) for k in range(3)]
v6 = np.max(ph, axis=0) - np.min(ph, axis=0) # top rail minus bottom rail of the 6-pulse bridge
print(f"3-phase bridge: Vdc = {v6.mean():.1f} V (formula 3*sqrt2*VLL/pi = {3*np.sqrt(2)*VLL/np.pi:.1f} V)")
print(f" ripple {v6.min():.1f} .. {v6.max():.1f} V = {v6.max()-v6.min():.1f} V p-p at {6*f:.0f} Hz")
# capacitor-input filter, first estimate: the capacitor supplies the load for a whole half period
Vpk, Vdrop, P, C = np.sqrt(2) * V, 2.0, 292.0, 220e-6
Idc = P / (Vpk - Vdrop)
dV = Idc / (2 * f * C)
print(f"capacitor filter: Idc = {Idc:.3f} A, ripple estimate {dV:.1f} V p-p, Vdc about {Vpk - Vdrop - dV/2:.0f} V")
# conduction angle: the diodes conduct only while |vs| > Vmin
Vmin = Vpk - Vdrop - dV
theta = np.degrees(np.pi / 2 - np.arcsin(Vmin / Vpk))
print(f"diodes start conducting {theta:.1f} deg ({theta/360/f*1e3:.2f} ms) before the peak")1-phase bridge: Vdc = 207.1 V (formula 2*sqrt2*V/pi = 207.1 V)
ripple p-p 325.3 V at 100 Hz, form factor 1.111
3-phase bridge: Vdc = 540.2 V (formula 3*sqrt2*VLL/pi = 540.2 V)
ripple 489.9 .. 565.7 V = 75.8 V p-p at 300 Hz
capacitor filter: Idc = 0.903 A, ripple estimate 41.1 V p-p, Vdc about 303 V
diodes start conducting 29.8 deg (1.66 ms) before the peak
The numerical averages confirm and .
Simulation: the capacitor-input bridge in ngspice
The same circuit with a realistic source impedance ( and of wiring and supply), four rectifier diodes and a load, run for ten cycles so the start-up transient has passed; the measurements use the last two cycles. The resistor RN only gives the floating DC side a reference for the solver.
cat > bridge.cir <<'EOF'
* Single-phase diode bridge with a capacitor filter, 230 V 50 Hz (simulation only)
.model DR D(Is=10n N=1.8 Rs=10m Cjo=50p BV=1000)
VS a 0 SIN(0 325.3 50)
RS a a1 0.5
LS a1 b 200u
D1 b p DR
D2 0 p DR
D3 n b DR
D4 n 0 DR
C1 p n 220u
RL p n 320
RN n 0 1meg
.control
tran 10u 200m 0 10u uic
let vo = v(p) - v(n)
meas tran vdc AVG vo from=160m to=200m
meas tran vmax MAX vo from=160m to=200m
meas tran vmin MIN vo from=160m to=200m
meas tran ipk MAX i(VS) from=160m to=200m
meas tran irms RMS i(VS) from=160m to=200m
let pin = -v(a)*i(VS)
meas tran pavg AVG pin from=160m to=200m
let pf = pavg/(230*irms)
print pf
.endc
.end
EOF
ngspice -b bridge.cir 2>&1 | grep -E '^(vdc|vmax|vmin|ipk|irms|pavg|pf) 'vdc = 3.058047e+02 from= 1.600000e-01 to= 2.000000e-01
vmax = 3.238953e+02 at= 1.648577e-01
vmin = 2.871706e+02 at= 1.935699e-01
ipk = 1.264381e+01 at= 1.940899e-01
irms = 2.95988e+00 from= 1.60000e-01 to= 2.00000e-01
pavg = 2.990811e+02 from= 1.600000e-01 to= 2.000000e-01
pf = 4.393261e-01
The bus averages with peak-to-peak ripple (the estimate gave about and ), and the load takes , as assumed. The line current peaks at although its rms value is only , and the supply delivers for : a power factor of . The wiring, fuse and outlet must carry rms to deliver worth of real power. That is the problem power-factor correction solves (Power-Factor Correction).
Inrush and component ratings
At switch-on the capacitor is empty, and only the line impedance limits the first charging pulse: with the first peak could reach hundreds of amperes. Supplies therefore add an NTC thermistor or a resistor bypassed by a relay after start-up. The diodes must survive the surge ( and ), and the capacitor must carry the ripple current, whose rms value here is about at 100 Hz and its harmonics: often the capacitor's ripple-current rating, not its capacitance, decides its size and life.
Guided lab: a low-voltage bridge from a signal generator
Hand calculation. Four small Schottky diodes ( at a few milliamps), , a load, driven by a function generator at , peak-to-peak ( peak, output). , .
Simulation. Scale the ngspice deck: SIN(0 5 50), RS , no LS, a Schottky model (Is=1u N=1.05), , .
What you would measure. The DC output with a battery-powered multimeter: expect about to (the generator's drops several hundred millivolts during the charging pulses). The ripple with the scope in A minus B mode, one probe on each DC rail: about to peak-to-peak at . Expect from capacitor tolerance and diode drops.
Hazards and safe setup. Only the signal generator, never a mains transformer (a mains-fed transformer is mains work). Note the grounding lesson this lab teaches for free: the generator and scope grounds are both earthed, so clipping a scope ground lead to the bridge's negative rail shorts a diode through the earth. The same mistake on a mains rectifier is lethal and explosive.
Pitfalls
- Using as the exact ripple. It is an upper estimate; simulate when it matters.
- Rating the capacitor by voltage and capacitance only. Ripple current and temperature set its life.
- Forgetting inrush. The first cycle can blow the fuse or weld relay contacts.
- Scoping the DC bus of a mains rectifier with a ground-referenced probe: never; it is not referenced to earth.
Practice
- Find the average output of an ideal single-phase bridge on with a resistive load.
- A three-phase bridge runs on line-to-line. Find and the peak-to-peak ripple without a capacitor.
- A capacitor-input bridge on supplies to its load with . Estimate the ripple.
Answer
- .
- ; ripple .
- .
Test yourself
The average output of an ideal three-phase six-pulse diode bridge is…
Why is the power factor of a capacitor-input rectifier poor even though the current pulses are in phase with the voltage peaks?
- the current lags by 90°
- the current is a train of short, tall pulses, so its rms value is large compared with the real power (distortion)
- the capacitor generates reactive power
- the diodes have a forward drop
In the ngspice run the supply delivered 299 W with 2.96 A rms at 230 V. The power factor is about…
- 0.44
- 0.70
- 0.90
- 1.00
What limits the first-cycle inrush current of a capacitor-input rectifier without extra parts?
- the capacitor's ESR and the line impedance only
- the diodes' forward drop
- the load resistor
- the fuse