TExcelTAD
Home › Power Electronics & Motor Drives › Power-Factor Correction: the Boost PFC Stage

Power-Factor Correction: the Boost PFC Stage

The 300 W300\ \text{W} capacitor-input rectifier of Line Harmonics and Power Factor drew its current in narrow pulses at the voltage peaks, reached a power factor of 0.440.44 and failed every IEC 61000-3-2 Class D limit. Larger chokes and filters can soften the pulses, but they are heavy and still leave a power factor near 0.90.9. The modern answer is active: put a boost converter between the rectifier bridge and the bulk capacitor, and control its inductor current so that its average follows the shape of the rectified line voltage. The supply then sees a resistor. This lesson derives how that works, sizes the inductor and the bulk capacitor of a 300 W300\ \text{W} stage, and shows why the voltage loop must be slow. Everything here runs on the mains: calculation and simulation only; nothing in this lesson is built or measured on a real line.

The circuit and the idea

230 V50 Hz diodebridge L 1.5 mH vrect Q D C 150 uF load300 W vbus 400 V iL voltage loop400 V ref, 5 Hz multiplieriref ~ ve vrect current loopPWM 100 kHz vbusvrectto the gate of Q

The boost needs Vbus>∣vline∣V_\text{bus} > \lvert v_\text{line} \rvert at every instant, so the bus is set above the line peak: 400 V400\ \text{V} for 230 V230\ \text{V} (325 V325\ \text{V} peak, 358 V358\ \text{V} at +10 %+10\ \%). Three nested quantities run on three time scales:

  • the switching at 100 kHz100\ \text{kHz} shapes the inductor current inside each period;
  • the current loop (crossover a few kilohertz) makes the period-averaged inductor current follow iref(t)=k ve ∣vline(t)∣i_\text{ref}(t) = k\,v_e\,\lvert v_\text{line}(t) \rvert, a rectified sine in phase with the voltage;
  • the voltage loop (crossover 55 to 20 Hz20\ \text{Hz}) adjusts the amplitude vev_e so that the average input power equals the load power.

Seen from the line, the stage is an emulated resistance Re=Vrms2/PinR_e = V_\text{rms}^2/P_\text{in}. The current is sinusoidal and in phase, so the power factor approaches 1 and the harmonics almost vanish.

The duty cycle and the ripple over a line cycle

At each instant the boost obeys its ordinary steady-state law, because the line changes slowly compared with the switching period:

d(t)=1−∣vline(t)∣Vbus,ΔiL(t)=∣vline∣ dLfsw=∣vline∣(1−∣vline∣/Vbus)Lfswd(t) = 1 - \frac{\lvert v_\text{line}(t) \rvert}{V_\text{bus}}, \qquad \Delta i_L(t) = \frac{\lvert v_\text{line} \rvert\, d}{L f_{sw}} = \frac{\lvert v_\text{line} \rvert \left(1 - \lvert v_\text{line} \rvert / V_\text{bus}\right)}{L f_{sw}}

Near the zero crossings d→1d \to 1; at the line peak dd is smallest. The ripple is largest where ∣vline∣=Vbus/2\lvert v_\text{line} \rvert = V_\text{bus}/2, giving ΔiL,max⁡=Vbus/(4Lfsw)\Delta i_{L,\max} = V_\text{bus}/(4Lf_{sw}) whenever the line peak exceeds 200 V200\ \text{V}.

Power balance and the bus ripple. With v=Vpsin⁡ωtv = V_p \sin\omega t and i=Ipsin⁡ωti = I_p \sin\omega t, the input power is p(t)=P(1−cos⁡2ωt)p(t) = P(1 - \cos 2\omega t): it pulses at twice the line frequency, between zero and 2P2P, while the load draws a steady PP. The bulk capacitor absorbs the difference, so the bus ripples at 100 Hz100\ \text{Hz}:

ΔVpp≈P2πfline C Vbus,thold=C (Vbus2−Vmin2)2P\Delta V_{pp} \approx \frac{P}{2\pi f_\text{line}\, C\, V_\text{bus}}, \qquad t_\text{hold} = \frac{C\,(V_\text{bus}^2 - V_\text{min}^2)}{2P}

The second formula is the hold-up time: how long the downstream converter keeps running from the capacitor's energy after the line drops out (a missing half-cycle or more). Hold-up, not ripple, often sets CC.

Worked example: a 300 W stage on 230 V (calculation only)

Given: Pout=300 WP_\text{out} = 300\ \text{W}, η=95 %\eta = 95\ \%, Vbus=400 VV_\text{bus} = 400\ \text{V}, line 230 V±10 %230\ \text{V} \pm 10\ \% (IEC 60038), 50 Hz50\ \text{Hz}, fsw=100 kHzf_{sw} = 100\ \text{kHz}, inductor ripple at most about 30 % of the low-line peak current, hold-up of at least 10 ms10\ \text{ms} down to 300 V300\ \text{V}.

Find: the line current, LL, the peak inductor current, and CC.

Solve:

Pin=300 W0.95=315.8 W,Irms(207 V)=315.8 W207 V=1.526 A,Ipk=2.157 AL=Vbus4⋅ΔiL,max⁡⋅fsw=400 V4⋅0.3⋅2.157 A⋅100 kHz=1.55 mH⇒1.5 mHΔiL(292.7 V)=292.7 V⋅0.2681.5 mH⋅100 kHz=0.523 A,IL,pk=2.157+0.262=2.42 AC≥2⋅300 W⋅10 ms(400 V)2−(300 V)2=85.7 μF⇒150 μF, 450 V\begin{aligned} P_\text{in} &= \frac{300\ \text{W}}{0.95} = 315.8\ \text{W}, \qquad I_\text{rms}(207\ \text{V}) = \frac{315.8\ \text{W}}{207\ \text{V}} = 1.526\ \text{A}, \qquad I_{pk} = 2.157\ \text{A} \\ L &= \frac{V_\text{bus}}{4 \cdot \Delta i_{L,\max} \cdot f_{sw}} = \frac{400\ \text{V}}{4 \cdot 0.3 \cdot 2.157\ \text{A} \cdot 100\ \text{kHz}} = 1.55\ \text{mH} \Rightarrow 1.5\ \text{mH} \\ \Delta i_L(292.7\ \text{V}) &= \frac{292.7\ \text{V} \cdot 0.268}{1.5\ \text{mH} \cdot 100\ \text{kHz}} = 0.523\ \text{A}, \qquad I_{L,pk} = 2.157 + 0.262 = 2.42\ \text{A} \\ C &\ge \frac{2 \cdot 300\ \text{W} \cdot 10\ \text{ms}}{(400\ \text{V})^2 - (300\ \text{V})^2} = 85.7\ \mu\text{F} \Rightarrow 150\ \mu\text{F},\ 450\ \text{V} \end{aligned}

Check: with 150 μF150\ \mu\text{F} the ripple is 300/(2π⋅50⋅150 μF⋅400)=15.9 V300/(2\pi \cdot 50 \cdot 150\ \mu\text{F} \cdot 400) = 15.9\ \text{V} peak-to-peak, 4 % of the bus, and the hold-up is 17.5 ms17.5\ \text{ms}. The inductor must not saturate at 2.42 A2.42\ \text{A} plus the margin of the current limit (Inductor Design). The code tabulates the line range and checks the harmonics against Class D.

python · try it yourself
import numpy as np

# boost PFC, 300 W out, 400 V bus, 100 kHz, L = 1.5 mH (calculation only: mains)
Pout, Vo, eta, fsw, L, f = 300.0, 400.0, 0.95, 100e3, 1.5e-3, 50.0
Pin = Pout / eta
print(" Vrms | Iin rms  Iin pk | D at peak | ripple at peak  max ripple | IL peak")
for Vrms in (207.0, 230.0, 253.0):                    # 230 V +-10 % (IEC 60038)
    Vpk = np.sqrt(2) * Vrms
    Irms = Pin / Vrms
    Ipk = np.sqrt(2) * Irms
    Dpk = 1 - Vpk / Vo
    dI_pk = Vpk * Dpk / (L * fsw)
    dI_max = Vo / (4 * L * fsw) if Vpk > Vo / 2 else dI_pk
    print(f"{Vrms:5.0f} | {Irms:6.3f} A {Ipk:6.3f} A | {Dpk:9.3f} | {dI_pk:10.3f} A {dI_max:10.3f} A | {Ipk + dI_pk/2:5.2f} A")

# line current with two imperfections: 100 Hz bus ripple leaking into the current
# reference (m = 4 %) and a dead zone near the zero crossings (|v| < 40 V)
N = 4000
th = np.arange(N) * 2 * np.pi / N
Vpk, Irms0 = np.sqrt(2) * 230.0, Pin / 230.0
v = Vpk * np.sin(th)
for m, vdz in ((0.0, 0.0), (0.04, 0.0), (0.04, 40.0)):
    i = np.sqrt(2) * Irms0 * np.sin(th) * (1 + m * np.cos(2 * th))
    i[np.abs(v) < vdz] = 0.0
    X = np.abs(np.fft.rfft(i)) / N * np.sqrt(2)        # rms of each harmonic
    I, I1 = np.sqrt(np.mean(i**2)), X[1]
    P = np.mean(v * i)
    pf = P / (230.0 * I)
    thd = np.sqrt(I**2 - I1**2) / I1
    worst = max(X[h] / (lim * P / 1e3) for h, lim in ((3, 3.4), (5, 1.9), (7, 1.0), (9, 0.5), (11, 0.35)))
    print(f"m = {m:.2f}, dead zone {vdz:4.1f} V: PF = {pf:.4f}, THD = {100*thd:4.1f} %, "
          f"h3 = {X[3]*1e3:5.1f} mA, worst Class D harmonic at {100*worst:4.1f} % of its limit")

# bulk capacitor: 100 Hz ripple and hold-up time (down to 300 V)
for C in (100e-6, 150e-6, 220e-6):
    dV = Pout / (2 * np.pi * f * C * Vo)
    t_hold = C * (Vo**2 - 300.0**2) / (2 * Pout)
    print(f"C = {C*1e6:3.0f} uF: ripple {dV:5.1f} V pp ({100*dV/Vo:3.1f} %), hold-up to 300 V {t_hold*1e3:4.1f} ms")
 Vrms | Iin rms  Iin pk | D at peak | ripple at peak  max ripple | IL peak
  207 |  1.526 A  2.157 A |     0.268 |      0.523 A      0.667 A |  2.42 A
  230 |  1.373 A  1.942 A |     0.187 |      0.405 A      0.667 A |  2.14 A
  253 |  1.248 A  1.765 A |     0.106 |      0.252 A      0.667 A |  1.89 A
m = 0.00, dead zone  0.0 V: PF = 1.0000, THD =  0.0 %, h3 =   0.0 mA, worst Class D harmonic at  0.0 % of its limit
m = 0.04, dead zone  0.0 V: PF = 0.9998, THD =  2.0 %, h3 =  27.5 mA, worst Class D harmonic at  2.6 % of its limit
m = 0.04, dead zone 40.0 V: PF = 0.9994, THD =  3.5 %, h3 =  24.1 mA, worst Class D harmonic at  9.5 % of its limit
C = 100 uF: ripple  23.9 V pp (6.0 %), hold-up to 300 V 11.7 ms
C = 150 uF: ripple  15.9 V pp (4.0 %), hold-up to 300 V 17.5 ms
C = 220 uF: ripple  10.9 V pp (2.7 %), hold-up to 300 V 25.7 ms

The maximum ripple, 0.667 A0.667\ \text{A}, is the same at every line voltage because it occurs where ∣v∣=200 V\lvert v \rvert = 200\ \text{V}; the peak inductor current is set by low line. Even with a 4 % ripple leak and a 40 V40\ \text{V} dead zone (the current cannot follow the reference near the zero crossings, where the inductor has almost no voltage to rise with), the power factor stays above 0.9990.999 and the worst harmonic uses under 10 % of its Class D limit, against more than 400 % for the bare rectifier. The capacitor rows confirm the hand result for 150 μF150\ \mu\text{F}.

Interactive: one instant of the line cycle, scaled 1 : 10

The lab is a lossless boost in steady state, so it shows one frozen instant. Scale voltages by 1/10 and the inductance by 1/10 (the ripple v d/(Lfsw)v\,d/(Lf_{sw}) is unchanged): Vin=20 VV_\text{in} = 20\ \text{V} stands for ∣vline∣=200 V\lvert v_\text{line} \rvert = 200\ \text{V}, D=0.5D = 0.5, L=150 μHL = 150\ \mu\text{H}, 100 kHz100\ \text{kHz}, R=54 ΩR = 54\ \Omega. The lab reads Vout=40.00 VV_\text{out} = 40.00\ \text{V} (the 400 V400\ \text{V} bus) and an inductor ripple of 666.7 mA666.7\ \text{mA}, the maximum ripple of the table. Set Vin=29 VV_\text{in} = 29\ \text{V} and D=0.27D = 0.27, the low-line peak: Vout=39.73 VV_\text{out} = 39.73\ \text{V} and the ripple falls to 522.0 mA522.0\ \text{mA}. Sliding VinV_\text{in} and DD together along D=1−Vin/40D = 1 - V_\text{in}/40 walks through a half line cycle.

gateonoff01 A2 AiLIL avg 1.48 Aripple dIL = 667 mA p-p-19 mV019 mV0 s5.0 us10 us15 us20 ustoutput rippleCCM: Vout = Vin/(1-D) = 40.0 V; R = 54.0 Ohm < Rcrit = 240 Ohminductor currentoutput ripple

Simulation: why the voltage loop must be slow

The bus ripple is fed back. If the voltage loop has much gain at 100 Hz100\ \text{Hz}, it modulates the current amplitude at 100 Hz100\ \text{Hz}, and a sine multiplied by cos⁡2ωt\cos 2\omega t contains a third harmonic. The deck models the averaged stage: the line current is g⋅vlineg \cdot v_\text{line} with a conductance gg set by a PI voltage loop, and the bus receives η g vline2/vbus\eta\, g\, v_\text{line}^2 / v_\text{bus}. Two copies differ only in loop gain: crossover about 5 Hz5\ \text{Hz} and about 30 Hz30\ \text{Hz}.

bash · try it yourself
cat > pfc.cir <<'EOF'
* Averaged boost PFC, 230 V 50 Hz, 300 W, 400 V bus, 150 uF (simulation only)
* line current = g * v(line); a PI voltage loop sets the conductance g
.param kp1=3.75e-5 ki1=1.18e-4 kp2=2.25e-4 ki2=4.24e-3
VS1 a1 0 SIN(0 325.27 50)
BI1 a1 0 I = v(a1)*v(g1)
BG1 g1 0 V = 5.97e-3 + kp1*(400-v(o1)) + v(n1)
BN1 0 n1 I = ki1*(400-v(o1))
CN1 n1 0 1
BO1 0 o1 I = 0.95*v(a1)*v(a1)*v(g1)/max(v(o1),10)
C1 o1 0 150u IC=400
RL1 o1 0 533.33
VS2 a2 0 SIN(0 325.27 50)
BI2 a2 0 I = v(a2)*v(g2)
BG2 g2 0 V = 5.97e-3 + kp2*(400-v(o2)) + v(n2)
BN2 0 n2 I = ki2*(400-v(o2))
CN2 n2 0 1
BO2 0 o2 I = 0.95*v(a2)*v(a2)*v(g2)/max(v(o2),10)
C2 o2 0 150u IC=400
RL2 o2 0 533.33
.options nfreqs=5
.control
tran 20u 1 0 20u uic
meas tran vbus_slow avg v(o1) from=0.9 to=1
meas tran vpp_slow pp v(o1) from=0.9 to=1
meas tran vbus_fast avg v(o2) from=0.9 to=1
meas tran vpp_fast pp v(o2) from=0.9 to=1
fourier 50 i(VS1) i(VS2)
.endc
.end
EOF
ngspice -b pfc.cir 2>&1 | awk '/^(vbus|vpp)/ {print $1, $2, $3} /THD/ {n++; printf "loop %s: THD %s\n", (n == 1 ? "5 Hz" : "30 Hz"), $5} $1 ~ /^[13]$/ && $2 ~ /^[0-9]+$/ {printf "  h%s %3s Hz  peak %.4f A  %.4f of h1\n", $1, $2, $3, $5}'
vbus_slow = 3.999622e+02
vpp_slow = 1.589927e+01
vbus_fast = 4.000001e+02
vpp_fast = 1.577883e+01
loop 5 Hz: THD 2.49194
  h1  50 Hz  peak 1.9425 A  1.0000 of h1
  h3 150 Hz  peak 0.0484 A  0.0249 of h1
loop 30 Hz: THD 14.5031
  h1  50 Hz  peak 1.9615 A  1.0000 of h1
  h3 150 Hz  peak 0.2845 A  0.1450 of h1

Both loops hold the bus at 400.0 V400.0\ \text{V} with the predicted 15.9 V15.9\ \text{V} ripple, and the fundamental peak is 1.94 A1.94\ \text{A}, the hand value. The slow loop leaves a 2.5 %2.5\ \% third harmonic; the faster one 14.5 %14.5\ \%. That is the classic PFC trade: a voltage loop of 55 to 20 Hz20\ \text{Hz} gives a clean current but a slow, large overshoot on load steps, which controllers handle with nonlinear "fast-response" windows or a notch at 100 Hz100\ \text{Hz}.

Variants and standards (as of 2026)

  • CCM average-current control (above): standard from a few hundred watts up. Critical-conduction mode (CrM, the DCM/CCM boundary, variable frequency) avoids the boost diode's reverse recovery and dominates below about 300 W300\ \text{W} (Discontinuous Conduction Mode, Power Diodes). Interleaving two phases halves the ripple seen by the filter.
  • Bridgeless totem-pole PFC removes the bridge's two diode drops by using a GaN or SiC half-bridge at high frequency plus a slow MOSFET leg; in 2026 it is the usual choice for server supplies with peak efficiencies of about 97.5 %97.5\ \% (80 PLUS Titanium and Open Compute ORv3 class; 98 %98\ \% and above is quoted for the PFC stage alone) (IGBTs, SiC and GaN).
  • IEC 61000-3-2 (edition 5.0, 2018, with Amendment 1:2020 and Amendment 2:2024, consolidated as edition 5.2, plus Interpretation Sheet 1:2025; as of 2026-11) sets per-equipment limits for up to 16 A16\ \text{A} per phase: Class A absolute limits in amperes, Class C for lighting, Class D in mA/W for PCs, monitors and televisions from 7575 to 600 W600\ \text{W}. In practice nearly every supply above 75 W75\ \text{W} carries a PFC stage; ecodesign rules and efficiency programmes push the same way.

Guided study (calculation and simulation only)

Hand calculation. For a 500 W500\ \text{W}, 400 V400\ \text{V} stage on 230 V±10 %230\ \text{V} \pm 10\ \% at 70 kHz70\ \text{kHz}: the low-line peak current, LL for 30 % ripple, the peak inductor current, and CC for 10 ms10\ \text{ms} hold-up to 300 V300\ \text{V}.

Simulation. Put the values in the Python cell; in the deck, scale gg's nominal value (1/Re1/R_e), the load and CC, and compare the third harmonic for two loop gains.

What you would measure (described, not done). Qualified test labs measure harmonics with a power analyser to IEC 61000-4-7 (edition 2.1, 2009, as of 2026-11) behind a reference source, never with a scope on the line. You would expect a PF above 0.980.98 at full load, falling at light load as the filter capacitor's reactive current and the dead zone weigh more. On the bench of this course, the safe analogue is the scaled boost lab above or a low-voltage boost board from a current-limited supply.

Hazards. A 400 V400\ \text{V} bus capacitor stores 12⋅150 μF⋅(400 V)2=12 J\frac{1}{2} \cdot 150\ \mu\text{F} \cdot (400\ \text{V})^2 = 12\ \text{J} and stays charged after unplugging; the inrush into it at switch-on needs an NTC or relay bypass. None of this is a bench activity here.

Pitfalls

  • Bus below the line peak. At +10 %+10\ \% line (358 V358\ \text{V} peak) a 380 V380\ \text{V} bus leaves little margin; below the peak the boost cannot control the current at all, and the bridge charges the capacitor directly.
  • A fast voltage loop. It injects the 100 Hz100\ \text{Hz} ripple into the current: third harmonic.
  • Sizing CC for ripple only. Hold-up time usually needs more.
  • Forgetting the boost diode's recovery in CCM: a silicon diode at 400 V400\ \text{V} and 100 kHz100\ \text{kHz} adds watts; SiC Schottky diodes are standard there.

Practice

  1. Find the emulated resistance of the 300 W300\ \text{W} stage at 230 V230\ \text{V}.
  2. With L=1 mHL = 1\ \text{mH} instead of 1.5 mH1.5\ \text{mH}, what is the maximum ripple, and where in the line cycle?
  3. What capacitance gives 20 ms20\ \text{ms} hold-up from 400 V400\ \text{V} to 300 V300\ \text{V} at 300 W300\ \text{W}?
Answer
  1. Re=2302/315.8=167.5 ΩR_e = 230^2/315.8 = 167.5\ \Omega (the deck's 5.97 mS5.97\ \text{mS}).
  2. ΔiL,max⁡=400/(4⋅1 mH⋅100 kHz)=1.0 A\Delta i_{L,\max} = 400/(4 \cdot 1\ \text{mH} \cdot 100\ \text{kHz}) = 1.0\ \text{A}, where ∣vline∣=200 V\lvert v_\text{line} \rvert = 200\ \text{V} (about 38∘38^\circ into each half-cycle at 230 V230\ \text{V}).
  3. C=2⋅300⋅0.02/(160 000−90 000)=171 μFC = 2 \cdot 300 \cdot 0.02/(160\,000 - 90\,000) = 171\ \mu\text{F}, so 180 μF180\ \mu\text{F}.

Test yourself

What does a boost PFC stage make the line see?

  1. a capacitor
  2. an emulated resistance: current in phase with and shaped like the voltage
  3. a constant current
  4. an inductor

At what frequency does the bus voltage of a single-phase PFC stage on 50 Hz ripple?

  1. 50 Hz
  2. 100 Hz
  3. 150 Hz
  4. the switching frequency

Why is the PFC voltage loop given a crossover of only 5 to 20 Hz?

  1. to save power
  2. so that the 100 Hz bus ripple does not modulate the current reference and create a third harmonic
  3. because the inductor is large
  4. to avoid DCM

Where in the line cycle is the CCM boost PFC's inductor ripple largest (line peak above Vbus/2V_\text{bus}/2)?

  1. at the zero crossing
  2. at the line peak
  3. where ∣vline∣=Vbus/2\lvert v_\text{line} \rvert = V_\text{bus}/2
  4. it is constant