The flyback and forward converters in the earlier guides switch hard: their MOSFETs turn on into full voltage and their diodes snap off with current still flowing, and every one of those edges costs power. The LLC resonant converter is the topology that server and TV power supplies use to escape that tax — it switches its MOSFETs at zero voltage (ZVS) and turns its diodes off at zero current (ZCS), so it runs cool at hundreds of watts. This guide designs one from scratch: a 400 V to 12 V, 20 A (240 W) half-bridge LLC, with the resonant tank, the transformer and the gain curve all sized by calculation.
Figure 1: (a) The half-bridge LLC: Lr and Cr form the series resonant tank, Lm is the magnetising inductance in parallel with the transformer, and the centre-tapped secondary feeds the 12 V output. (b) The gain curves — at the resonant frequency the gain is exactly 1 for every load; below it the gain rises to hold 12 V as the input sags. (Schematic, not to scale.)
How an LLC works — a tank, not a switch
In a flyback the transformer stores energy; in an LLC it does not — the energy is stored in the resonant tank formed by Lr and Cr, and the transformer only transfers it. The half-bridge switches Q1 and Q2 take turns applying +200 V and −200 V (half of the 400 V bus) to the tank. At the resonant frequency fr = 1 / (2Ï€√(Lr × Cr)) the tank's inductive and capacitive reactances cancel, the tank looks like a pure resistance, and the full bus voltage reaches the transformer — so the voltage gain is exactly 1 at fr, whatever the load. Below fr the tank looks inductive and the gain rises above 1; above fr it looks capacitive and the gain falls below 1. The controller holds the output steady simply by moving the switching frequency: low input, lower frequency, more gain.
That frequency shift is also what buys zero-voltage switching. The magnetising current of the transformer never stops flowing — it ramps up and down in a triangle every cycle — and during the dead time between Q1 and Q2 it discharges the MOSFETs' output capacitances, so each switch turns on with its drain-source voltage already at zero. The diodes, meanwhile, turn off when the resonant current falls to the magnetising current, which is exactly zero-current switching. No hard edges, no switching loss worth speaking of — which is why LLC supplies reach 95% efficiency where a hard-switched forward converter manages 90%.
Worked example — 400 V to 12 V, 20 A at 100 kHz
Start with the resonant frequency and the capacitor. Choose fr = 100 kHz and Cr = 22 nF (a film capacitor — a ceramic would lose too much capacitance under the 142 V peak it will see). The resonant inductor follows from fr: Lr = 1 / ((2Ï€ × fr)² × Cr) = 1 / ((2Ï€ × 100 kHz)² × 22 nF) = 115.1 µH. The tank's characteristic impedance is Zr = √(Lr / Cr) = √(115.1 µH / 22 nF) = 72.3 Ω.
The transformer turns ratio comes from the voltage: a half-bridge LLC delivers Vout = Vin / (2 × n) × M, and at resonance M = 1. Allowing 0.5 V of diode drop, n = Vin / (2 × (Vout + Vf)) = 400 / (2 × 12.5) = 16, so the transformer is 16 : 1. The load, seen through that transformer, is the AC resistance Rac = (8 / Ï€²) × n² × Rload = 0.8106 × 256 × 0.6 Ω = 124.5 Ω, and the tank's Q factor is Q = Zr / Rac = 72.3 / 124.5 = 0.581. A Q below 1 is what you want: the gain curve is gentle, so a small frequency change gives a small gain change and the loop is easy to stabilise.
Now the magnetising inductance, which sets the ZVS. Choose the inductance ratio Ln = Lm / Lr = 4, a common middle value, so Lm = 4 × 115.1 = 461 µH. The magnetising current is a triangle: half the bus voltage (200 V) is across Lm for half a cycle (5 µs), so Im pk-pk = 200 V × 5 µs / 461 µH = 2.17 A, or Im_pk = 1.09 A. Its energy at the switching instant is ½ × Lm × Im_pk² = 0.5 × 461 µH × 1.09² = 271 µJ. The energy needed to discharge the two MOSFETs' output capacitances is Coss × Vin² — with Coss ≈ 200 pF each, 400 pF × 400² = 64 µJ. The magnetising energy is 4.2 times what ZVS needs, so the switches turn on at zero voltage with margin to spare. A smaller Lm would give even more margin, but it would also circulate more current and cost efficiency; Ln = 4 is the usual compromise.
The currents close the design. The resonant current peak is Ir_pk = (Ï€ / 2) × (Io / n) = 1.57 × (20 / 16) = 1.96 A, so Ir_rms = 1.96 / √2 = 1.39 A, and with the magnetising current (1.09 / √3 = 0.63 A RMS for a triangle) the primary RMS current is √(1.39² + 0.63²) = 1.53 A. The resonant capacitor sees the full resonant current at 142 V peak — Vr_pk = Ir_pk × Zr = 1.96 × 72.3 = 142 V — so the 22 nF film capacitor must be rated 250 V and must carry 1.4 A RMS at 100 kHz; check both ratings on the datasheet, not just the capacitance.
Reading the gain curve
Figure 1 (b) plots the gain M against frequency for three loads, from the exact LLC gain formula with Ln = 4. All three curves cross M = 1 at 100 kHz — that is the resonant point, and it is where the converter sits at the nominal 400 V input. If the input sags to 350 V (a brownout, or the bulk capacitor discharging between mains cycles), the gain needed rises to M = 2 × 16 × 12.5 / 350 = 1.143, and the controller drops the frequency to about 76 kHz — the amber point in the figure. If the input rises to 480 V, the gain needed falls to 2 × 16 × 12.5 / 480 = 0.83, and the frequency rises to about 145 kHz, where the full-load curve reads M = 0.81. The whole regulation range is roughly 76 kHz to 145 kHz.
Two warnings live on that curve. First, at light load (Q = 0.2) the gain peak rises to about 1.33 — the converter must always stay on the right-hand side of the peak, in the inductive region, or it loses ZVS and the switches start hard-switching. Second, the full-load curve peaks at only M = 1.17 near 70 kHz, so the design has just enough gain for a 350 V input (1.14) and no more — if the input had to sag to 300 V, the gain needed would be 1.33 and the converter could not hold 12 V at full load. That is the design trade: a lower Q (a bigger Cr, a smaller Lr) raises the peak gain but circulates more current. If you need hold-up down to 300 V, redesign the tank with Q ≈ 0.4.
Design it for something else — the same tank at 24 V out
The same 115 µH / 22 nF tank serves a 400 V to 24 V, 10 A supply with only the transformer changed. The turns ratio is n = 400 / (2 × 24.5) = 8.16, so use 8 : 1; the load is 24 / 10 = 2.4 Ω, so Rac = 0.8106 × 64 × 2.4 = 124.5 Ω — the same as before, and Q is still 0.581. The gain needed is 2 × 8 × 24.5 / 400 = 0.98 at 400 V and 2 × 8 × 24.5 / 350 = 1.12 at 350 V, so the frequency range is about 103 kHz down to 80 kHz. The secondary diodes see a peak of (Vin / 2) / n = 200 / 8 = 25 V, and in a centre-tapped rectifier the diode reverse voltage is twice that, 50 V — choose a 100 V Schottky. At 12 V out the diodes are the biggest single loss in the whole supply: each carries 10 A average at about 0.5 V forward drop, so 5 W per diode and 10 W for the pair — 4.2% of the 240 W output. That is exactly why the November 28 guide replaced output diodes with MOSFETs: a synchronous rectifier would cut that 10 W to about 2 W.
Key points to remember
- Worked example: a 400 V to 12 V, 20 A half-bridge LLC at fr = 100 kHz needs Cr = 22 nF, Lr = 115.1 µH (Zr = 72.3 Ω), a 16 : 1 transformer, and Lm = 461 µH (Ln = 4) — Q = 0.581.
- At resonance the gain is exactly 1 for every load. A 350 V input needs M = 1.143, so the frequency falls to about 76 kHz; a 480 V input needs M = 0.83, so it rises to about 145 kHz.
- ZVS check: the magnetising current peaks at 1.09 A and stores 271 µJ, against 64 µJ needed to discharge the MOSFETs' output capacitances — a 4.2× margin.
- The resonant capacitor sees 142 V peak and 1.39 A RMS: rate it 250 V film and check its RMS current rating, not just its capacitance.
- The same tank gives 24 V at 10 A with an 8 : 1 transformer (Q still 0.581), and the output diodes burn 10 W at 12 V out — the biggest single loss, and the reason to use synchronous rectification.
- Always stay right of the gain peak (the inductive region) or ZVS is lost; and check the peak gain covers your lowest input voltage, or the output will sag at full load.
