Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new

A boost power-factor corrector (PFC) shapes the line current into a sine in phase with the line voltage, so power factor approaches 1 and low-order harmonics drop, while it charges a bulk capacitor to a DC voltage above the line peak, typically 380–400 V. Size its inductor for the ripple at the crest of the lowest line voltage, its bulk capacitor for hold-up time, and keep the voltage loop well below twice the line frequency. For 1 kW from 207–253 V at 50 Hz to 400 V at 100 kHz, that gives about 570 µH, 330 µF and a voltage-loop crossover of 10–20 Hz.

What is power factor, and why correct it?

Power factor is real power divided by apparent power. For a sinusoidal voltage and a distorted current:

PF=PVrmsIrms=cos⁡φ⋅11+THDi2PF = \frac{P}{V_{rms} I_{rms}} = \cos\varphi \cdot \frac{1}{\sqrt{1 + THD_i^2}}

A diode bridge with a capacitor draws current only near the voltage peaks; with a current THD of 100 % the distortion factor alone limits PF to 1/2=0.711/\sqrt{2} = 0.71. A PFC with 10 % THD and cos⁡φ=0.99\cos\varphi = 0.99 reaches 0.985.

Picture it this way: the mains is a pump that pushes hardest at the top of each half cycle. A plain bridge and capacitor draw nothing for most of the cycle and then gulp a big pulse right at the peak, when the capacitor voltage falls below the line. The wiring has to carry that pulse, and its harmonics travel back into the grid. A PFC sips evenly instead, a little at low voltage and more at high voltage, in proportion to the push.

The line current of a plain bridge rectifier with 330 µF and a 90 Ω load, against the boost PFC of this article at 1 kW, both from 230 V, 50 Hz, simulated in Voltecx. The rectifier draws 20 A pulses near the peaks (power factor 0.59, current THD 119 %); the PFC draws a sine with a little switching ripple on it (power factor 0.986, THD 5 %).

Harmonic current limits for equipment up to 16 A per phase are set by IEC 61000-3-2, which is why most supplies above a few tens of watts need a PFC stage.

How does a boost PFC work?

The bridge rectifies the line; a boost converter follows. Two loops control it:

  • An inner current loop makes the inductor current follow a reference shaped like the rectified line voltage.
  • An outer voltage loop sets the amplitude of that reference to hold the bulk voltage.

The duty cycle varies over each half cycle: d(t)=1−∣vin(t)∣/Voutd(t) = 1 - |v_{in}(t)|/V_{out}.

The pfcBoost template in Voltecx at the numbers of this article (574 µH, 330 µF, 1 kW at 230 V, 100 kHz) after it has settled: the line voltage and the line current, which follows it as a sine, 4.40 A rms. The current peaks a little before the voltage, which is why the power factor is 0.986 and not 0.999.

Worked example: 1 kW, 230 V ±10 %, 50 Hz, 400 V out, 100 kHz

Input current

Assuming unity power factor and 100 % efficiency (a lower bound on the current; divide by your efficiency):

VrmsV_{rms} IrmsI_{rms} IpkI_{pk} VpkV_{pk} dd at the crest
230 V 4.35 A 6.15 A 325 V 0.187
207 V 4.83 A 6.83 A 293 V 0.268

Inductor

At the crest, the ripple is ΔI=Vpk d/(fswL)\Delta I = V_{pk}\, d / (f_{sw} L). For a ripple of 20 % of the peak current at low line (ΔI=1.37\Delta I = 1.37 A):

L=292.7×0.268100 kHz×1.37 A=574 μHL = \frac{292.7 \times 0.268}{100\,\text{kHz} \times 1.37\,\text{A}} = 574\ \mu\text{H}

The ripple is not largest at the crest, though. ΔI=vin(1−vin/Vout)/(fswL)\Delta I = v_{in}(1 - v_{in}/V_{out})/(f_{sw}L) peaks where vin=Vout/2=200v_{in} = V_{out}/2 = 200 V, which the low-line sine passes through, at ΔImax=Vout/(4fswL)=400/(4×100 k×574 μ)=1.74\Delta I_{max} = V_{out}/(4 f_{sw} L) = 400/(4 \times 100\,\text{k} \times 574\,\mu) = 1.74 A. Use that for core loss, and the crest current plus half the ripple (6.83+0.68=7.56.83 + 0.68 = 7.5 A) for saturation.

The inductor current over one half cycle at 230 V, simulated in Voltecx. The band is the switching ripple: about 1.1 A wide at the crest, but up to 1.8 A where the line passes about 200 V, on both sides of the crest, and narrow near the zero crossings. That is a little over the formula's 1.74 A because the bulk voltage there sits near 410 V on its 100 Hz ripple, not at 400 V.

Bulk capacitor

Hold-up: keep the converter running for thold=10t_{hold} = 10 ms (half a 50 Hz cycle) while the bulk voltage falls from 400 V to the 300 V the downstream stage still accepts:

C≥2P tholdVout2−Vmin2=2×1000×0.014002−3002=286 μF→330 μFC \ge \frac{2 P\, t_{hold}}{V_{out}^2 - V_{min}^2} = \frac{2 \times 1000 \times 0.01}{400^2 - 300^2} = 286\ \mu\text{F} \rightarrow 330\ \mu\text{F}

The input power pulses at twice the line frequency, so the bulk voltage ripples:

ΔVpp=P2πfline C Vout=10002π×50×330 μF×400=24 V\Delta V_{pp} = \frac{P}{2\pi f_{line}\, C\, V_{out}} = \frac{1000}{2\pi \times 50 \times 330\,\mu\text{F} \times 400} = 24\ \text{V}

The bulk voltage in the same simulation: a 100 Hz ripple of 24.7 V peak-to-peak around 399 V. The capacitor stores energy when the line is near its peak and gives it back near the zero crossings, when the line delivers almost nothing.

Why must the voltage loop be slow?

That 100 Hz ripple is not an error to correct. If the voltage loop follows it, the current reference is distorted and THD rises. Keep the voltage-loop crossover around 10–20 Hz, well below 100 Hz, or filter the 100 Hz out of the feedback. The price is a slow response to load steps, which the bulk capacitor absorbs.

Common mistakes

  • Sizing the inductor ripple at the crest only. The ripple is largest where the line is at half the output voltage, here about 1.8 A against 1.1 A at the crest. Core loss follows the largest ripple.
  • Making the voltage loop fast. It then follows the 100 Hz bulk ripple and distorts the line current. Keep it near 10–20 Hz.
  • Forgetting the efficiency in the input current. The table assumes 100 %; the real current is higher by 1/η1/\eta, and at low line the losses rise.
  • Choosing the bulk capacitor for ripple alone. Hold-up time usually sets it; then check the ripple current rating at 100 Hz plus the switching ripple.
  • Testing at one line voltage. Run 207 V and 253 V too: the peak current and the conduction loss are highest at low line, the inrush and the line peak at high line.

What about interleaved and bridgeless PFC?

  • Interleaved boost: two legs half a period apart. Their ripple currents cancel in the sum, completely where the duty is 0.5, so the input filter and each inductor get smaller.
  • Bridgeless and totem-pole PFC: remove the bridge diode drops, which matters at high power and high efficiency targets, at the cost of more complex control and sensing.

How to do it in Voltecx

  1. Open File › Open Example › pfcBoost: a boost PFC that draws a sine current from 230 V, 50 Hz and holds 400 V DC for a 1 kW load, with an outer voltage loop and an inner current loop that follows the rectified voltage.
  2. Run it, then analysis.fft on the line current gives each harmonic, the fundamental and the THD. Compare the harmonics with the class limits of IEC 61000-3-2 in your copy of the standard.
  3. interleavedPfc is the two-phase interleaved version at 2 kW; put the inductor currents and their sum on the scope to see the ripple cancellation.
  4. design.inputProtection (Design › Design Steps › Input Protection) sizes the fuse, the hold-up capacitance, the inrush limiter and an optional surge TVS for a mains input from cited data sheets. See inrush current limiting.
  5. emi.conducted estimates the conducted emission against CISPR 32 class A or B; it is a pre-compliance estimate, not a measurement.

The EV charger and server power pages show where PFC sits in larger systems.

Frequently asked questions

What output voltage should a boost PFC have?

Above the highest line peak, with margin: 264 V rms peaks at 373 V, which is why 380–400 V is common for universal or 230 V input.

Why is the PFC voltage loop so slow?

The bulk voltage ripples at twice the line frequency by design. A fast voltage loop would follow that ripple and distort the input current, so its crossover is kept around 10–20 Hz.

How do I size the PFC bulk capacitor?

Usually by hold-up time: C≥2Pthold/(Vout2−Vmin2)C \ge 2 P t_{hold} / (V_{out}^2 - V_{min}^2). Then check the twice-line ripple voltage and the capacitor's ripple-current rating.

Does a PFC need an input EMI filter?

Yes. The PFC shapes the low-frequency current, but its switching ripple still needs a differential-mode and common-mode filter to meet conducted-emission limits.