# How a totem-pole bridgeless PFC works, and how to design one

A totem-pole bridgeless PFC replaces the diode bridge and the boost switch with two half bridges. A fast leg of GaN or SiC transistors switches at tens of kilohertz and swaps roles each half cycle, and a slow leg follows the line polarity at 50 or 60 Hz. The line current then passes one slow-leg device and one fast-leg transistor instead of two bridge diodes plus a switch or diode. In continuous conduction the fast leg needs devices without reverse recovery, which is why it is built with GaN or SiC. Size the inductor for the ripple at the crest, $\Delta I = V_{pk}(1 - V_{pk}/V_o)/(f_{sw} L)$, and the output capacitor for hold-up and the twice-line ripple, $\Delta V = P/(2\pi f_{line} C V_o)$. For 3 kW from 207–253 V to 400 V at 65 kHz, that gives 200 µH, a 23.9 A peak, 1360 µF and 17.6 V of ripple. The slow leg saves 14 W over a diode bridge.

The boost PFC itself (power factor, the slow voltage loop, the bulk capacitor) is covered in [boost PFC basics](https://voltecx-web.nguyenvanqui291.workers.dev/blog/boost-pfc-basics). This article is about what changes when the bridge goes away.

## How does a totem-pole PFC work?

The line goes through the boost inductor to the midpoint of the fast leg (Q1 on top, Q2 below). The neutral goes to the midpoint of the slow leg. Both legs sit across the output capacitor.

- **Positive half cycle.** The slow leg's lower device connects the neutral to the negative rail. Q2 is the boost switch: while it is on, the line charges the inductor. Q1 is the synchronous rectifier: while it is on, the inductor discharges into the output.
- **Negative half cycle.** The slow leg's upper device connects the neutral to the positive rail, and Q1 and Q2 swap roles. Q1 is now the boost switch, Q2 the rectifier.

Seen from the inductor, each half cycle is an ordinary synchronous boost converter. The slow leg does the job of the bridge, but it switches only twice per line cycle, so it can be a pair of slow rectifiers or, for the lowest loss, two silicon MOSFETs driven at the line frequency.

## Why does it remove the bridge's conduction loss?

In a classic boost PFC, two bridge diodes always carry the line current. On top of them comes the boost switch during the on-time or the boost diode during the off-time. In the totem-pole the current passes **one** slow-leg device and **one** fast-leg transistor at every instant. One diode drop disappears, and the boost diode's drop becomes the on-state resistance of a transistor.

A diode modelled as $V_{F0} + r_F\, i$ that conducts the whole rectified line current loses

$$P_D = V_{F0}\, I_{avg} + r_F\, I_{rms}^2, \qquad I_{avg} = \frac{2\sqrt{2}}{\pi} I_{rms}$$

A bridge loses $2P_D$ and a diode slow leg $P_D$. Replacing the slow diodes with MOSFETs takes most of the rest away.

## Why does a CCM totem-pole need GaN or SiC?

Look at the moment the boost switch turns on in continuous conduction mode (CCM). The synchronous rectifier was carrying the inductor current, through its channel and, during the dead time, through its body diode. The boost switch must now pull that current out. A silicon superjunction MOSFET's body diode has a large reverse-recovery charge. The boost switch has to sweep it out at full bus voltage on every period, which costs a large turn-on loss and a current spike. With silicon MOSFETs on the fast leg, the totem-pole is therefore run in critical or discontinuous conduction, where the current falls to zero before the boost switch turns on and there is nothing to recover.

GaN transistors have no body diode, and they conduct in reverse through the channel with no stored charge to recover. SiC MOSFETs have a body diode with a much smaller recovery charge than silicon superjunction parts. Either makes the CCM totem-pole practical, and CCM is what keeps the ripple and the RMS currents low at kilowatt power.

## How do I size the boost inductor?

At the crest of the line, the boost switch is on for $d = 1 - V_{pk}/V_o$ of each period. The line voltage across the inductor gives the ripple:

$$\Delta I = \frac{V_{pk}\, d}{f_{sw}\, L} = \frac{V_{pk}\left(1 - V_{pk}/V_o\right)}{f_{sw}\, L}$$

Pick $L$ for a ripple of 20 to 40 % of the crest current at low line. The worst ripple over the line comes where $|v_{in}| = V_o/2$: $\Delta I_{max} = V_o/(4 f_{sw} L)$, as in [boost PFC basics](https://voltecx-web.nguyenvanqui291.workers.dev/blog/boost-pfc-basics).

**How far does CCM reach?** The current $I_{pk}\sin\theta$ and the ripple $V_{pk}\sin\theta\,(1 - V_{pk}\sin\theta/V_o)/(f_{sw}L)$ both shrink towards the zero crossing. Their ratio is worst right at the crossing. The current stays continuous over the whole half cycle when $I_{pk} \ge V_{pk}/(2 f_{sw} L)$. With $I_{pk} = 2P_{in}/V_{pk}$, that is

$$L \ge \frac{V_{rms}^2}{2\, f_{sw}\, P_{in}}$$

This is a full-load condition, and the highest line voltage is the hardest case. At lighter load the current loses continuity first near the zero crossings. With complementary gating, the synchronous switch lets the current reverse instead of resting at zero. Either way the current shape there is no longer what the loop assumes.

## How do I size the output capacitor?

As for any PFC, by hold-up first, then check the ripple:

$$C \ge \frac{2 P\, t_{hold}}{V_o^2 - V_{min}^2}, \qquad \Delta V_{pp} = \frac{P}{2\pi f_{line}\, C\, V_o}$$

The capacitor RMS current follows from the rectifier current. When the synchronous switch conducts, it carries the inductor current for a fraction $1 - d = |v_{in}|/V_o$ of each period. Averaged over the line, with the switching ripple neglected:

$$I_{C,rms} = \sqrt{\frac{16\, P^2}{3\pi\, V_{pk}\, V_o} - \left(\frac{P}{V_o}\right)^2}$$

Of this, the twice-line part is $P/(\sqrt{2}\,V_o)$; the rest is at the switching frequency, where an electrolytic's rating is higher by its frequency factor.

## What goes wrong at the zero crossing?

Two things change at once when the line voltage passes zero. The slow leg hands the neutral from one rail to the other, so its midpoint swings by the full output voltage. And the fast leg swaps its boost switch and its rectifier. Just before the crossing, the boost duty is close to 1 (the line voltage is near zero). So immediately after the swap, the new boost switch also starts near full duty.

The slow-leg midpoint has capacitance (device junctions, the heatsink, the layout), and the line and the inductor must charge it through the full output voltage. If the fast leg applies its new duty before that swing is over, nearly the whole output voltage appears across the inductor for a moment. The result is a current spike at every crossing, which shows up as distortion and as conducted noise.

The usual remedies:

- **Blank both fast-leg switches** for a short window around the crossing, and let the slow leg commutate first.
- **Soft-start the new boost switch**: ramp its duty up from zero over a few switching periods to the feedforward value, then enable the synchronous rectifier.
- **Detect the polarity with hysteresis**, so noise near zero does not toggle the legs back and forth.

## How is the current loop designed?

The control is average-current mode, as in a classic PFC, with two additions: the polarity logic and a duty feedforward.

- **The plant** from duty to inductor current is $V_o/(sL)$ in both half cycles. A PI with crossover $\omega_c$ needs $K_p = \omega_c L / V_o$; put its zero a few times below $\omega_c$.
- **Feedforward.** Add the steady-state duty $1 - |v_{in}|/V_o$ to the PI output, so the PI only corrects the error. This matters most near the crossings, where the needed duty changes fastest.
- **Reference.** The voltage loop sets the peak current $I_{pk}$, and the reference $I_{pk}\,|v_{in}|/V_{pk}$ follows the rectified line. Keep the voltage loop slow, as in [boost PFC basics](https://voltecx-web.nguyenvanqui291.workers.dev/blog/boost-pfc-basics).
- **Polarity.** A comparator on the line voltage chooses which fast-leg switch receives the PWM and which gets its complement.

## Does it meet IEC 61000-3-2?

IEC 61000-3-2, *Electromagnetic compatibility (EMC) – Part 3-2: Limits – Limits for harmonic current emissions (equipment input current ≤ 16 A per phase)*, sets the harmonic limits. For class A equipment, Table 1 allows 2.30 A of 3rd harmonic and 1.14 A of 5th. A CCM totem-pole with a working current loop is far below these at full load. The places to check are light load (where the current loses continuity near the crossings) and the zero-crossing spikes. Note that a 3 kW single-phase stage at 230 V draws more than 13 A, close to the standard's 16 A boundary. Above 16 A, IEC 61000-3-12 applies instead.

## Worked example: 3 kW, 230 V ±10 %, 50 Hz, 400 V out, 65 kHz

Assumptions: unity power factor, 98 % efficiency ($P_{in} = 3061$ W), 10 ms hold-up down to 330 V (the lowest voltage the downstream converter accepts in this example), and 30 % crest ripple at low line. Device models from the Voltecx `totemPolePfc` example: slow-leg rectifier 0.89 V + 10 mΩ (the straight-line fit of the Vishay VS-20ETS08FP 25 °C forward curve), fast-leg GaN 50 mΩ (GaN Systems GS66508T, typical at 25 °C).

| Quantity | Formula | Value |
|---|---|---|
| Input current at 207 V | $P_{in}/V_{rms}$ | 14.79 A RMS, 20.91 A peak |
| Crest duty at 207 V | $1 - V_{pk}/V_o$ | 0.268 |
| Inductance for 30 % ripple | $V_{pk} d / (0.3\, I_{pk} f_{sw})$ | 192 µH, use 200 µH |
| Crest ripple at 207 V | $V_{pk}(1 - V_{pk}/V_o)/(f_{sw} L)$ | 6.04 A |
| Peak inductor current | $I_{pk} + \Delta I/2$ | 23.9 A |
| Largest ripple (at 200 V) | $V_o/(4 f_{sw} L)$ | 7.69 A |
| Inductance for CCM to the crossing at 253 V | $V_{rms}^2/(2 f_{sw} P_{in})$ | 161 µH (met) |
| Full-line CCM lost below | $V_{rms}^2/(2 f_{sw} L)$ | 2.46 kW at 253 V, 2.03 kW at 230 V, 1.65 kW at 207 V |
| Bridge loss, two diodes | $2(V_{F0} I_{avg} + r_F I_{rms}^2)$ | 28.1 W |
| Slow-leg loss, one diode | $V_{F0} I_{avg} + r_F I_{rms}^2$ | 14.0 W |
| Fast-leg conduction loss | $R_{DS(on)}\, I_{rms}^2$ | 10.9 W |
| Hold-up capacitance | $2 P t_{hold}/(V_o^2 - V_{min}^2)$ | 1174 µF, use 2 × 680 µF |
| Twice-line ripple | $P/(2\pi f_{line} C V_o)$ | 17.6 V peak to peak |
| Capacitor RMS current at 207 V | formula above | 8.62 A (5.30 A of it at 100 Hz) |
| Current-loop crossover | $f_{sw}/20$ | 3.25 kHz |
| Current-loop PI | $K_p = \omega_c L/V_o$, zero at $\omega_c/4$ | $K_p = 0.0102$ per A, $K_i = 52.1$ per A·s |

The slow leg saves 14 W, about 0.47 % of the output, before any MOSFET slow leg or the boost diode is counted. The fast-leg loss uses the 25 °C typical $R_{DS(on)}$; it is higher at a hot junction, so read the data sheet's curve. At this current you would choose a lower-resistance GaN part than the 650 V, 25 A GS66508T, whose rating the 23.9 A peak almost reaches. For the capacitors, two TDK B43544E5687M060 (680 µF, 450 V) are rated 3.29 A each at 100 Hz and 105 °C (TDK B43544 data sheet, December 2019). That covers the 5.30 A at 100 Hz; the 6.79 A at the switching frequency must fit their high-frequency rating, which may call for a third can.

## Try it in Voltecx

1. Open **File › Open Example › totemPolePfc**. It is a 1 kW totem-pole from 230 V, 50 Hz to 400 V, with a GS66508T GaN fast leg at 65 kHz (50 ns dead time, gate driven to +6 V and −3 V), a VS-20ETS08FP rectifier pair as the slow leg, 680 µH and 470 µF. The control is average-current mode with the duty feedforward and a comparator plus exclusive-or that picks the boost switch of each half cycle, wrapped as the `Ctrl` module. The slow leg is a rectifier pair because the device library has no 600 V silicon MOSFET to take its data from. The output starts at the line peak, so the run shows the boost from 325 V to 400 V.
2. Run it (`simulation.run`), then **Scope › Measurements** (`scope.measure`) from 0.21 s with `power` set to `vac` and `iac`. In our run: 1005 W, 4.41 A RMS, power factor 0.991, and `vdc` at 399 V with 17.6 V of ripple. The formula above gives 16.9 V for 470 µF. The capacitor `C1` carried 2.65 A RMS, where the formula gives 2.61 A.
3. **Analysis › FFT** (`analysis.fft`) on `iac` from 0.21 s with `fundamental` 50 gave a THD of 5.1 % and a 3rd harmonic of 0.31 A peak (0.22 A RMS), a tenth of the class A limit.
4. The example's devices have no capacitance, so the current passes through zero cleanly. To see the zero-crossing spike, give the slow leg a junction capacitance with `circuit.setParam` and run again. Use the value from your data sheet; the run below uses 1 nF only to make the effect obvious.

```sh
powercraft-cli run --cmd file.openExample --params '{"name":"totemPolePfc"}' \
  --cmd circuit.setParam --params '{"components":["D3","D4"],"key":"cj","value":"1n"}' \
  --cmd simulation.run \
  --cmd waveform.get --params '{"signals":["iac","vac","v(acn)"],"t0":"0.2196","t1":"0.2204"}'
```

The [examples](https://voltecx-web.nguyenvanqui291.workers.dev/features/examples) page lists the other PFC circuits, and the [server power](https://voltecx-web.nguyenvanqui291.workers.dev/use-cases/server-power) page shows where the stage sits in a supply.

## Frequently asked questions

### Can I build a totem-pole PFC with silicon MOSFETs?

On the slow leg, yes: it switches at the line frequency, and silicon MOSFETs there remove the last diode drop. On the fast leg, only in critical or discontinuous conduction. In CCM the reverse recovery of a silicon body diode makes the turn-on loss and spikes too large.

### Why is the zero crossing the hard part?

The slow leg's midpoint swings by the full output voltage, and at the same moment the boost duty is near 1. If the fast leg starts before the swing is over, the inductor briefly sees the output voltage and the current spikes. Blanking and a duty soft start after the crossing prevent it.

### How much efficiency does the totem-pole gain over a bridge plus boost?

It removes one diode drop from the current path and turns the boost diode's drop into an on-resistance loss. In the 3 kW example above, the slow leg alone saves 14 W, about half a percent, and MOSFETs on the slow leg gain more.

### Is the voltage loop different from a classic boost PFC?

No. It still sets the peak of the current reference and must stay well below twice the line frequency. See [boost PFC basics](https://voltecx-web.nguyenvanqui291.workers.dev/blog/boost-pfc-basics).

## Sources

- L. Huber, Y. Jang and M. M. Jovanović, "Performance evaluation of bridgeless PFC boost rectifiers", *IEEE Transactions on Power Electronics*, 2008: a comparison of bridgeless boost PFC rectifiers.
- IEC 61000-3-2, *Electromagnetic compatibility (EMC) – Part 3-2: Limits – Limits for harmonic current emissions (equipment input current ≤ 16 A per phase)*, Table 1 (class A).
- GaN Systems GS66508T data sheet, Rev 200402; Vishay VS-20ETS08FP-M3 data sheet (Figure 7), as used by the Voltecx device library.
- TDK Electronics, *Aluminum electrolytic capacitors, Snap-in capacitors, Series/Type B43544*, December 2019.
