Every mains-powered supply starts with a bridge rectifier and a big capacitor — and that simple front end is a terrible neighbour. It draws current only in short gulps near the peaks of the mains voltage, so the power factor falls to about 0.6 and the current is mostly harmonics. Above 75 W, IEC 61000-3-2 Class D limits those harmonics by law, and a 250 W supply without correction simply does not pass. A boost PFC stage fixes it: one inductor, one switch and one diode, driven so the line current follows the line voltage like a resistor would. This guide designs a 250 W boost PFC front end for 230 V mains, sizes the inductor and the output capacitor, and counts every watt.
Figure 1: A boost PFC stage (a) — the bridge rectifies the mains, the boost inductor and switch shape the line current, and the 400 V output capacitor feeds the downstream converter. The waveforms (b) show one mains cycle at 230 V: with PFC the line current is a sine wave in phase with the voltage (power factor ≈ 0.99); without it, current flows only in short spikes near the voltage peaks. The duty cycle runs from 0.19 at the line peak to 1 at the zero crossings. (Schematic, not to scale.)
Why the plain bridge-and-capacitor front end fails
Take a 250 W load on 230 V mains with no PFC. The capacitor charges only when the rectified mains exceeds the capacitor voltage — a short window near each peak — so all the energy for the whole half-cycle is pulled in a few milliseconds. The power factor lands near 0.6, so the RMS line current is 250 / (230 × 0.6) = 1.81 A instead of the 1.09 A a resistive load would draw, and the current waveform is roughly 100% THD: the 3rd harmonic alone can exceed the Class D limit of 3.4 mA/W, which is only 0.85 A at 250 W. The wiring, the breaker and the bridge all carry that extra current and heat for nothing. With PFC the same 250 W draws a sine-wave current in phase with the voltage: power factor above 0.99, THD under 5%, and the limits pass with margin.
The boost topology is the natural choice here because its input is an inductor: the switch current is the line current, smoothed by the inductor, and the controller can steer it. The boost output must sit above the highest line peak — 265 V × √2 = 375 V — so the industry standard is 400 V DC. The controller (here the UCC28180, an average-current-mode PFC controller) measures the rectified line voltage, the inductor current and the output voltage, and sets the duty cycle every switching cycle so the average inductor current follows a sine-wave reference.
Worked example — a 250 W boost PFC for 195 to 265 V mains
Design a boost PFC: 195–265 V AC in, 400 V DC out at 250 W, switching at 100 kHz. Assume 95% efficiency, so the input power is 250 / 0.95 = 263 W. The line current is worst at low line: Iin = 263 / 195 = 1.35 A RMS, peaking at √2 × 1.35 = 1.91 A. At nominal 230 V it is 1.14 A RMS (1.62 A peak), and at 265 V it is 0.99 A RMS (1.40 A peak). Every part is sized for the low-line numbers, because that is where the current is highest.
The duty cycle of a boost stage is D = 1 − Vin / Vout, where Vin is the instantaneous rectified line voltage. At the low-line peak (276 V) D = 1 − 276/400 = 0.31; at the nominal peak (325 V) D = 1 − 325/400 = 0.19; and near the zero crossings D rises toward 1 while the current falls toward zero. The inductor ripple is ΔI = Vin × D / (L × fsw), and Vin × D is largest when the instantaneous line voltage is half the output — 200 V, where D = 0.5 and Vin × D = 100 V. Allow 30% ripple on the low-line peak current: ΔI = 0.30 × 1.91 = 0.57 A, so L = 100 / (100 kHz × 0.57 A) = 1.75 mH — use the standard 1.8 mH. The real ripple is then 0.56 A at the worst point and 0.48 A at the low-line peak. The switch sees the peak line current plus half the ripple: 1.91 + 0.24 = 2.15 A peak.
The RMS currents split between the switch and the diode in a fixed ratio. Integrating the switch current over a line half-cycle gives Irms = 0.87 A for the MOSFET and 1.03 A for the boost diode at low line — and the check is that √(0.87² + 1.03²) = 1.35 A, exactly the line RMS current. Pick the MOSFET as the IPW60R190P6 (600 V, Rds(on) 0.19 Ω — Infineon datasheet): conduction loss is 0.87² × 0.19 = 0.14 W; switching loss with a 60 ns total transition is ½ × 400 V × 1.91 A × 60 ns × 100 kHz = 2.29 W; and the output-capacitance loss is about 4 µJ per cycle × 100 kHz = 0.40 W — 2.83 W in the switch. The boost diode is a SiC Schottky, the C3D02060A (600 V, 2 A — Wolfspeed datasheet): it carries the 0.625 A average output current at about 1.4 V, so 0.88 W, and because it is SiC there is no reverse-recovery charge to burn in the switch at turn-on — a silicon ultrafast diode would add roughly another watt there.
The output capacitor — hold-up time, ripple and ripple current
The output capacitor has three jobs: hold the 400 V up when the mains dips, smooth the 100 Hz ripple, and carry the ripple current. Its value is set by the hold-up time. If the mains disappears, the capacitor must feed 250 W until its voltage falls to 300 V (where the downstream converter drops out): C = 2 × 250 × t / (400² − 300²). For a 220 µF, 450 V capacitor the hold-up is 220 µF × 70,000 / 500 = 30.8 ms — more than a full mains cycle, which is the usual target. The 100 Hz ripple follows from the output current, 250 / 400 = 0.625 A: ΔV = 0.625 / (100 Hz × 220 µF) = 28.4 V peak-to-peak, about 7% of 400 V, which the downstream converter absorbs easily. And the capacitor's RMS current is not the output current: the input power pulses as P×(1 − cos 2ωt) while the output is steady, so the capacitor carries P / (Vout × √2) = 250 / (400 × 1.414) = 0.44 A RMS at 100 Hz — small enough that an ordinary electrolytic handles it, with only about 0.02 W of ESR loss.
Two details beginners miss — inrush and the bridge
At switch-on the 220 µF capacitor is empty, and the bridge would see the full line peak straight into a short circuit. A 10 Ω NTC thermistor in series limits the first peak to 325 / 10 = 32.5 A at nominal line — inside the GBU6K bridge's 150 A surge rating, with margin. But the NTC stays in the circuit: hot, it is about 0.5 Ω, and it burns 1.35² × 0.5 = 0.91 W at low line, forever. That is why better designs short the NTC with a relay a second after start-up — 0.91 W is 0.36 points of efficiency. The bridge itself (GBU6K, 6 A, 800 V) carries an average of 1.91/Ï€ = 0.61 A per diode, two conducting at a time at about 1.0 V each, so 1.22 W — the second-biggest single loss in the stage, and the reason some designs replace the bridge with a bridgeless (totem-pole) PFC at higher power.
The loss budget — 97.5% on paper, 96–97% in the real world
Adding it up at 250 W, low line: bridge 1.22 W; MOSFET 2.83 W; boost diode 0.88 W; inductor 0.72 W (0.22 W copper at 0.12 Ω plus about 0.5 W core); current-sense resistor 0.18 W; control and auxiliary supply 0.5 W; capacitor ESR 0.02 W. Total 6.34 W, so η = 250 / 256.3 = 97.5%. Measured supplies land a point lower — the diode runs hotter than 25 °C so its Vf rises, the inductor core loss grows with temperature, and the layout adds stray loss — so quote 96–97% to a customer. The switching loss is the biggest item (2.29 W of 6.34 W), which is why the gate drive matters: a weak driver that stretches the 60 ns transition to 120 ns costs another 2.3 W and drops the efficiency by nearly a point. That is the same gate-drive lesson as the earlier guide, now with a mains-voltage price tag.
Design it for something else — a 500 W version
Scale the same steps to 500 W out at 230 V only, still 400 V DC and 100 kHz. Input power is 526 W; at low line the peak current is 3.82 A, so 30% ripple is 1.15 A and L = 100 / (100 kHz × 1.15 A) = 0.87 mH — use 0.9 mH. The switch peak is 3.82 + 0.48 = 4.30 A, so the same 600 V MOSFET family works one size up (a 0.1 Ω part), and the bridge should be an 8–10 A type. The output capacitor grows with the power: 470 µF gives a 32.9 ms hold-up and 26.6 V of ripple. Everything else — the 400 V bus, the duty-cycle range, the controller — stays exactly the same, which is the point of the boost PFC: one topology covers 100 W to a kilowatt by changing three parts.
Key points to remember
- Worked example: a 250 W boost PFC at 100 kHz draws 1.35 A RMS (1.91 A peak) at 195 V, with D = 0.31 at the low-line peak and 0.19 at the nominal peak, rising toward 1 at the zero crossings.
- The inductor is sized at the worst ripple point — Vin = Vout/2 = 200 V, where Vin × D = 100 V. With 30% ripple, L = 1.75 mH, so use 1.8 mH; the real ripple is 0.56 A maximum and the switch peaks at 2.15 A.
- The switch RMS current (0.87 A) and diode RMS current (1.03 A) add in quadrature to the line current (1.35 A) — a quick check that catches arithmetic slips.
- Loss budget at 250 W: 6.34 W total, η = 97.5% on paper (96–97% measured) — the MOSFET switching loss (2.29 W) and the bridge (1.22 W) are the two biggest items.
- The 220 µF output capacitor holds up for 30.8 ms, ripples 28.4 V peak-to-peak and carries 0.44 A RMS; the 10 Ω NTC limits inrush to 32.5 A but wastes 0.91 W hot — bypass it with a relay.
- A 500 W version needs only L = 0.9 mH, a 4.30 A switch peak and a 470 µF output capacitor — the topology, the 400 V bus and the controller stay the same.
