# LLC resonant tank design with first-harmonic approximation: a worked example

The LLC converter regulates by moving its switching frequency along a resonant gain curve. Its appeal is soft switching: the primary switches turn on at zero voltage and the output rectifiers turn off at low current. The price is a design with more coupled choices than a PWM converter. This article designs the tank of a 400 V to 48 V, 480 W half-bridge LLC with the first-harmonic approximation (FHA), and checks the result for gain range and zero-voltage switching.

## The specification

- Input: $V_{in} = 380$ to $420$ V, nominal 400 V (the output of a PFC stage).
- Output: $V_{out} = 48$ V at $I_{out} = 10$ A, so $P_{out} = 480$ W and $R_L = 4.8\ \Omega$.
- Half bridge, centre-tapped secondary with synchronous rectifiers, so the rectifier drop is neglected.
- Resonant frequency $f_r = 100$ kHz.

## First-harmonic approximation

FHA replaces the square-wave voltage at the bridge and the rectified load with their fundamental components. The rectifier and load become an AC resistance seen at the primary:

$$R_{ac} = \frac{8 n^2}{\pi^2} R_L$$

The tank has a series inductance $L_r$, a series capacitance $C_r$ and a magnetising inductance $L_m$. Three normalised quantities describe it:

$$f_r = \frac{1}{2\pi\sqrt{L_r C_r}}, \qquad Q = \frac{\sqrt{L_r/C_r}}{R_{ac}}, \qquad L_n = \frac{L_m}{L_r}, \qquad f_n = \frac{f_{sw}}{f_r}$$

The voltage gain from the fundamental at the bridge to the fundamental at the reflected output is

$$M(f_n) = \frac{L_n f_n^2}{\sqrt{\left[(L_n + 1) f_n^2 - 1\right]^2 + \left[(f_n^2 - 1)\, f_n\, Q\, L_n\right]^2}}$$

At $f_n = 1$, $M = 1$ for every load. That is the point where the series tank's impedance is zero.

## Step 1: turns ratio and gain range

For a half bridge, the converter gain is $M = 2 n V_{out} / V_{in}$. Choose $n$ so that the nominal input sits near resonance. $400 / (2 \times 48) = 4.17$; take $n = 4.2$:

| Input | Required gain $M$ |
|---|---|
| 420 V (maximum) | $2 \times 4.2 \times 48 / 420 = 0.96$ |
| 400 V (nominal) | 1.008 |
| 380 V (minimum) | 1.061 |

A real design adds margin for component tolerance and often a hold-up requirement, which can push the minimum input much lower. Here, aim for a peak gain of at least $1.061 \times 1.1 = 1.17$.

## Step 2: AC resistance

$$R_{ac} = \frac{8 \times 4.2^2}{\pi^2} \times 4.8 = \frac{8 \times 17.64 \times 4.8}{9.87} = 68.6\ \Omega$$

## Step 3: choose Q and Ln

These two set the shape of the gain curve.

- A **smaller $L_n$** gives more peak gain and a narrower frequency range, but a smaller $L_m$ and therefore more circulating magnetising current and conduction loss.
- A **smaller $Q$** gives more peak gain, but a larger $C_r$ and smaller $L_r$, and less selectivity against the load.

Take $L_n = 6$ and $Q = 0.4$ as a first try, and evaluate the gain:

| $f_n$ | 0.5 | 0.6 | 0.7 | 0.8 | 0.85 | 1.0 | 1.1 | 1.2 |
|---|---|---|---|---|---|---|---|---|
| $M$ at full load | 1.28 | 1.22 | 1.14 | 1.08 | 1.06 | 1.00 | 0.97 | 0.94 |

The peak is about 1.28 near $f_n = 0.5$, above the 1.17 target. The required 1.061 at minimum input is reached at $f_n \approx 0.85$, and the 1.17 with margin at about $f_n \approx 0.66$. Both lie to the right of the peak, in the region where the tank's input impedance is inductive, which is where zero-voltage switching of the primary is possible. Operating left of the peak loses ZVS.

![Gain against switching frequency from Voltecx's design.llc for Q = 0.4 and Ln = 6: full load, 10 % load (shown above 70 kHz), the gain needed at maximum input (Mmin) and at minimum input (Mmax), and the resonant frequency of 100 kHz marked.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/llc-resonant-tank-design/gain-curves.svg)

Voltecx's `design.llc` gives the same full-load curve: a peak of 1.28 at 48 kHz. It takes $n = 400/(2 \times 48) = 4.17$ instead of the rounded 4.2, so its $L_r$, $C_r$ and $L_m$ (43.0 µH, 58.9 nF and 258 µH) differ from the values below by about 1.6 %.

At maximum input, the full-load gain of 0.96 is reached near $f_n = 1.13$. At no load ($Q \to 0$) the gain falls towards $L_n/(L_n+1) = 0.857$ as frequency rises, so the converter can still regulate: solving $6 f_n^2 / (7 f_n^2 - 1) = 0.96$ gives $f_n = 1.15$.

## Step 4: tank values

$$Z_r = \sqrt{L_r/C_r} = Q R_{ac} = 0.4 \times 68.6 = 27.4\ \Omega$$

$$L_r = \frac{Z_r}{2\pi f_r} = \frac{27.4}{2\pi \times 100\,\text{k}} = 43.7\ \mu\text{H}$$

$$C_r = \frac{1}{2\pi f_r Z_r} = \frac{1}{2\pi \times 100\,\text{k} \times 27.4} = 58.0\ \text{nF}$$

$$L_m = L_n L_r = 6 \times 43.7 = 262\ \mu\text{H}$$

The switching frequency range is therefore about 66 kHz (minimum input, with margin) to 115 kHz (maximum input, no load).

## Step 5: check ZVS

ZVS needs the magnetising current at the switching instant to charge and discharge the output capacitances of the bridge within the dead time. At resonance, the reflected output voltage $n V_{out}$ across $L_m$ for half a period gives a peak magnetising current of

$$I_{m,pk} = \frac{n V_{out}}{4 L_m f_{sw}} = \frac{4.2 \times 48}{4 \times 262\,\mu \times 100\,\text{k}} = 1.92\ \text{A}$$

With $C_{oss,tr} = 200$ pF per switch, the switch node swings the full 400 V in

$$t_{swing} \approx \frac{2 C_{oss,tr} V_{in}}{I_{m,pk}} = \frac{2 \times 200\,\text{p} \times 400}{1.92} = 83\ \text{ns}$$

so a dead time of 100 to 200 ns works, as long as the transformer's winding capacitance is added to $C_{oss}$. If the swing does not fit, reduce $L_n$ (more magnetising current) or lengthen the dead time.

The magnetising current is smallest at the highest switching frequency, not at resonance. At the 119 kHz that `design.llc` finds for 10 % load, it is 1.62 A, and the swing takes 104 ns: still inside a 200 ns dead time, but check the dead time at $f_{max}$ too.

## Check the result in the time domain

FHA is accurate near resonance and less so far below it and at light load, where the rectifier current is no longer close to a sine. Simulate the design at the corners: minimum input at full load (the largest gain), maximum input at no load (the highest frequency), and a load step. Check the resonant capacitor's peak voltage and the peak tank current, and confirm ZVS on both switches at every corner.

![The llcHalfBridge example in Voltecx with the tank of Step 4: Q1 and Q2 with 200 ns dead time, Cr 58 nF, Lr 43.7 µH, a transformer with n = 4.2 and Lm 262 µH, a diode bridge and the 4.8 Ω load.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/llc-resonant-tank-design/half-bridge.svg)

![Two switching periods at 100 kHz simulated in Voltecx: the bridge voltage v(sw), the resonant current i(Lr) and the magnetising current i(T1.Lm).](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/llc-resonant-tank-design/tank-current.svg)

Simulated in Voltecx at resonance with the tank of Step 4 (the rectifier diodes without drop, as for synchronous rectifiers), the output settles at 47.3 V against $400/(2 \times 4.2) = 47.6$ V; the switches' and diodes' on-resistance takes the rest. The magnetising current peaks at 1.90 A, close to the 1.92 A of Step 5.

The FHA model and gain expression follow the standard literature on LLC converters, for example R. W. Erickson and D. Maksimović, *Fundamentals of Power Electronics*, 3rd ed., in its chapter on resonant conversion, and manufacturers' LLC application notes.

## Try it in Voltecx

- The `llcHalfBridge` example is an LLC half bridge run at its 100 kHz resonant frequency, making about 48 V from 400 V through a 4:1 transformer.
- `design.llc` computes the turns ratio, $L_r$, $C_r$ and $L_m$ for an input range by first-harmonic approximation, gives the gain curves at full and lightest load with $f_{min}$ and $f_{max}$, and checks that the magnetising current swings each leg within the dead time.
- `analysis.softSwitching` confirms ZVS on each switch in the simulated waveforms.

In `design.auto`, an LLC is drawn and its tank is sized by `design.llc` and checked by simulation at the nominal input. Its frequency loop is not closed yet: the converter runs open loop, and the report lists that as an open item.
