---
title: PWM rectifiers and power-factor correction
heading: The ideal rectifier that looks like a resistor to the line, the boost power-factor corrector and its duty cycle over the line period, the twice-line-frequency energy that the bulk capacitor must buffer, and hold-up time
eyebrow: S11 · Lesson 31 · PWM rectifiers and power-factor correction
xp: 50
---

::: hook
Since 2001, equipment sold in Europe above 75 W has had to keep its line-current harmonics within IEC 61000-3-2 limits, which a plain diode bridge with a capacitor can't meet. The fix is a boost converter right after the bridge, controlled so the current it draws follows the rectified line voltage: to the outlet the whole power supply looks like a resistor, with a power factor above 0.99. The price is a capacitor that must ride through the moments when the line voltage passes zero and no power comes in.
:::

::: play
- One line cycle of a boost PFC stage from 230 V to a 400 V bus: the rectified line voltage (dashed, scaled to the bus) and the duty cycle the boost must use to draw a sinusoidal current, $d(t) = 1 - |v_g(t)|/V$.
- Near the line's peak the boost needs a small duty cycle; near zero crossings it approaches 1.
- The line current is proportional to $|v_g|$: the input looks like a resistor $R_e = V_\text{rms}^2/P$.
:::

```sim plot
view: graph
x: t = 0..0.02 s
y: v = 0..1.05
slider: V = 360..450 = 400 V
plot: 1 - abs(325.3*sin(2*pi*50*t))/V | samples: 600 | label: duty cycle
plot: abs(325.3*sin(2*pi*50*t))/V | dashed | color: ch3 | label: rectified line ÷ bus
readout: minimum duty cycle = 1 - 325.3/V | digits: 3
```

::: predict
## A 500 W boost PFC runs from 230 V RMS. What resistance does it emulate, and what's the peak line current?

- [ ] 0.46 Ω and 707 A
- [ ] 230 Ω and 1.4 A
- [x] 106 Ω and 3.1 A
- [ ] 400 Ω and 0.8 A

::: reveal
An ideal rectifier draws $P = V_\text{rms}^2/R_e$, so $R_e$ = 230²/500 = 105.8 Ω, and the current peaks at $\sqrt{2} \times 230/105.8$ = 3.07 A. Its RMS is 500/230 = 2.17 A, exactly what a resistor would draw.
:::
:::

::: nameit
## The ideal rectifier

A rectifier whose input behaves as a resistance $R_e$ draws a current proportional to the line voltage: unity power factor and no harmonics. It delivers $P = V_\text{rms}^2/R_e$; the controller adjusts $R_e$ to regulate the output.

## The boost PFC

A diode bridge followed by a boost converter. To keep its inductor current following $|v_g(t)|/R_e$ while holding the output at V, the duty cycle varies over each half cycle:

$$d(t) = 1 - \frac{|v_g(t)|}{V}$$

which requires $V > \sqrt{2}V_\text{rms}$ (typically 380 to 400 V for 230 V lines). Control usually nests an inner current loop (following a scaled copy of $|v_g|$) inside a slow outer voltage loop.

## Energy buffering

Input power pulses at twice line frequency, from 0 to 2P, while the output draws a steady P. The bulk capacitor absorbs the difference, so its voltage ripples at $2f_\text{line}$ with peak-to-peak amplitude

$$\Delta V_{pp} \approx \frac{P}{2\pi f_\text{line}CV}$$

The outer voltage loop must be slower than this ripple (crossover around 10 to 20 Hz) or it would distort the input current.

## Hold-up

If the line drops out, the capacitor must keep the downstream converter running for a specified hold-up time $t_h$ (often 10 to 20 ms) while its voltage falls from V to a minimum $V_\text{min}$: $C \ge 2Pt_h/(V^2 - V_\text{min}^2)$.
:::

::: example
## Size the bulk capacitor of the 500 W, 400 V PFC for both ripple and hold-up.

::: solution
1. **Ripple with 330 µF.** The 100 Hz ripple is
   $$\begin{aligned} \Delta v &= \frac{500}{2\pi \times 50 \times 330\ \mu\text{F} \times 400} \\ &= 12.1\ \text{V} \end{aligned}$$
   peak to peak, 3% of the bus.
2. **Hold-up.** From 400 V down to 300 V it lasts
   $$\begin{aligned} t &= \frac{330\ \mu\text{F} \times (400^2 - 300^2)}{2 \times 500} \\ &= 23.1\ \text{ms} \end{aligned}$$
   more than a 20 ms (one cycle) requirement.
3. **What sets the size.** Hold-up usually sets the capacitor's size.

**Answer:** 330 µF gives 12.1 V of ripple (3% of the bus) and 23.1 ms of hold-up, enough for a 20 ms requirement.
:::
:::

::: example
## What duty cycle does the boost need at the line's peak, and what happens near the zero crossings?

::: solution
1. **At the peak.**
   $$\begin{aligned} d &= 1 - \frac{325.3}{400} \\ &= 0.187 \end{aligned}$$
2. **Near the zero crossings.** $|v_g|$ approaches zero and d approaches 1.
3. **The input current there.** There's almost no voltage to draw current from, so the input current goes to zero with the voltage, as a resistor's would.

**Answer:** d = 0.187 at the peak, rising toward 1 near the zero crossings, where the input current goes to zero with the voltage.
:::
:::

::: example
## A 500 W boost PFC on 230 V runs a 400 V bus at 100 kHz with a 500 µH inductor. What is its inductor ripple at the line's peak, relative to the line current there?

::: solution
1. **Duty cycle at the peak.** There $v_g$ = 325 V, so
   $$\begin{aligned} d &= 1 - v_g/400 \\ &= 0.187 \end{aligned}$$
2. **Inductor ripple.**
   $$\begin{aligned} \Delta I &= \frac{v_gd}{Lf_s} \\ &= \frac{325 \times 0.187}{500\ \mu\text{H} \times 100\text{ kHz}} \\ &= 1.22\ \text{A} \end{aligned}$$
3. **Against the line current.** The peak line current is
   $$\begin{aligned} I_\text{pk} &= \sqrt2 \times 500/230 \\ &= 3.07\ \text{A} \end{aligned}$$
   so the ripple is 40% of it.
4. **At light load.** The same ripple is a larger fraction, and the converter drifts into discontinuous conduction near the zero crossings.

**Answer:** the ripple is 1.22 A, 40% of the 3.07 A peak line current.
:::
:::

::: check
given: V = 120 | 230 | 277; P = 100 | 500 | 2000
answer: V^2/P
unit: Ω
tolerance: 0.5%

## A PFC rectifier delivers {P} W from {V} V RMS. What resistance does it emulate?

::: right
Right. $V_\text{rms}^2/P$ = {answer} Ω.
:::

::: misses
- [V/P] Use $P = V^2/R$.
- [any] Not yet. An ideal rectifier is a resistor to the line.
:::
:::

::: check
given: V = 120 | 230; P = 150 | 1000 | 3000
answer: sqrt(2)*P/V
unit: A
tolerance: 0.5%

## What's the peak line current of an ideal {P} W PFC on {V} V RMS?

::: right
Right. $\sqrt{2}P/V_\text{rms}$ = {answer} A.
:::

::: misses
- [P/V] That's the RMS current.
- [any] Not yet. Peak voltage over the emulated resistance.
:::
:::

::: check
given: V = 120 | 230; B = 385 | 400; t = 20 | 45 | 80
answer: 1 - abs(sqrt(2)*V*sin(t*pi/180))/B
tolerance: 0.5%

## A boost PFC regulates {B} V from {V} V RMS. What duty cycle does it use when the line is at {t}° of its cycle?

::: right
Right. $1 - |v_g|/V$ = {answer}.
:::

::: misses
- [abs(sqrt(2)*V*sin(t*pi/180))/B] That's $1 - d$.
- [any] Not yet. Boost: $V/v_g = 1/(1 - d)$.
:::
:::

::: check
given: P = 200 | 750 | 3000; f = 50 | 60; C = 100 | 470 | 1500; V = 390 | 400
answer: P/(2*pi*f*C*1e-6*V)
unit: V
tolerance: 0.5%

## A {P} W PFC with a {V} V bus on a {f} Hz line has {C} µF of bulk capacitance. What's its twice-line ripple, peak to peak?

::: right
Right. $P/(2\pi f_\text{line}CV)$ = {answer} V.
:::

::: misses
- [P/(4*pi*f*C*1e-6*V)] The ripple is at twice line frequency, but its amplitude formula uses $2\pi f_\text{line}$.
- [any] Not yet. Energy buffered per half cycle.
:::
:::

::: check
given: P = 150 | 600 | 2000; t = 10 | 20; V = 380 | 400; m = 250 | 300
answer: 2*P*t*1e-3/(V^2 - m^2)*1e6
unit: µF
tolerance: 0.5%

## A {P} W supply must hold up for {t} ms while its bus falls from {V} V to {m} V. How much capacitance?

::: right
Right. $2Pt_h/(V^2 - V_\text{min}^2)$ = {answer} µF.
:::

::: misses
- [P*t*1e-3/(V^2 - m^2)*1e6] The energy in a capacitor is $\frac{1}{2}CV^2$.
- [any] Not yet. Energy available between the two voltages equals $Pt_h$.
:::
:::

::: check
given: V = 120 | 230 | 277
answer: sqrt(2)*V
unit: V
tolerance: 0.5%

## What's the lowest bus voltage a boost PFC on a {V} V RMS line can regulate?

::: right
Right. It must exceed the line's peak, $\sqrt{2}V_\text{rms}$ = {answer} V.
:::

::: misses
- [V] A boost can't output less than its input, and the input reaches the peak.
- [any] Not yet. A boost only steps up.
:::
:::

::: check
kind: parts
given: P = 300 | 1000; V = 120 | 230; B = 390 | 400; L = 200 | 600; f = 65 | 130

## A {P} W boost PFC on {V} V RMS runs a {B} V bus with a {L} µH inductor at {f} kHz.

::: part
answer: sqrt(2)*P/V
unit: A
tolerance: 0.5%

### What is the peak line current?

::: misses
- [P/V] That's the RMS.
- [any] $\sqrt2P/V$.
:::
:::

::: part
answer: sqrt(2)*V*(1 - sqrt(2)*V/B)/(L*1e-6*f*1e3)
unit: A
tolerance: 0.5%

### What inductor ripple does it have at the line's peak?

::: misses
- [any] $v_gd/(Lf_s)$ with $d = 1 - v_g/V$.
:::
:::
:::

::: check
kind: derivation
vars: B = 300..450, V = 85..265, t = 0..3.14

## A boost PFC with bus voltage B runs on a line of V RMS, at line angle t.

::: step
answer: sqrt(2)*V*abs(sin(t))

### What is the rectified line voltage?
:::

::: step
answer: 1 - sqrt(2)*V*abs(sin(t))/B

### What duty cycle does it need?
:::

::: right
Right. The duty cycle swings from 1 at the zero crossings to its minimum at the peak, twice each line cycle.
:::
:::

::: explain
## Why must a PFC's output voltage loop be much slower than the line frequency?

::: model
An ideal rectifier draws power that pulses at twice the line frequency, while the load downstream draws steady power, so the bus capacitor's voltage necessarily ripples at twice line frequency. If the voltage loop responded to that ripple, it would vary the emulated resistance within each line cycle, raising the current near some parts of the sine and lowering it near others, and the input current would no longer be proportional to the voltage. Keeping the loop's crossover far below twice the line frequency, typically around 10 to 20 Hz, makes the controller ignore the ripple and hold the emulated resistance nearly constant over each cycle, preserving a sinusoidal input current at the cost of a slow response to load changes.
:::
:::

::: practice

::: check
given: V = 100 | 240; P = 60 | 1500
answer: V^2/P
unit: Ω
tolerance: 0.5%

## Emulated resistance: {P} W at {V} V?

::: misses
- [any] $V^2/P$.
:::
:::

::: check
given: P = 300 | 1200; f = 50 | 60; C = 220 | 680; V = 380 | 400
answer: P/(2*pi*f*C*1e-6*V)
unit: V
tolerance: 0.5%

## Twice-line ripple: {P} W, {f} Hz, {C} µF, {V} V?

::: misses
- [any] $P/(2\pi fCV)$.
:::
:::

::: check
given: P = 250 | 1000; t = 12 | 25; V = 390 | 400; m = 280 | 320
answer: 2*P*t*1e-3/(V^2 - m^2)*1e6
unit: µF
tolerance: 0.5%

## Hold-up capacitance: {P} W, {t} ms, {V} → {m} V?

::: misses
- [any] $2Pt/(V^2 - V_\text{min}^2)$.
:::
:::
:::
