Set 24 — Magnetics for Switching Converters
Every design in Part 3 ended by naming an inductance and a peak current. Twenty microhenries at 5.9 amps, 1.55 millihenries at 1.59, 760 microhenries at 6.15 — and then the component was set aside as if it could be bought. Sometimes it can. Often it cannot, and even when it can, Set 23's budget assigned nearly a fifth of an adapter's total loss to the transformer without ever computing it.
This set closes that gap. A number of henries becomes a core size, a turns count, an air gap and a wire — and the wire turns out to be the interesting part, because at a hundred kilohertz the current does not use the copper you paid for. Skin depth is a fifth of a millimetre, proximity effect can triple the AC resistance, and interleaving the windings can halve it again.
Core size from the area product, which pairs the magnetic and electrical requirements:
\[ A_p = A_eA_w = \frac{LI_{pk}I_{rms}}{K_wJB_{max}} \]\(K_w \approx 0.4\) for window utilisation and \(J \approx 4\ \text{A/mm}^2\) for natural convection.
Turns from the flux limit, gap from the inductance:
\[ N = \frac{LI_{pk}}{B_{max}A_e}, \qquad l_g = \frac{\mu_0N^2A_e}{L} \]Skin depth decides the wire, not the current alone:
\[ \delta = \frac{66}{\sqrt{f}}\ \text{mm (}f\text{ in Hz)}, \qquad \text{strand diameter} \le 2\delta \]Core loss follows the Steinmetz relation in the AC flux swing, not the peak:
\[ P_v = kf^\alpha B_{ac}^\beta, \qquad B_{ac} = \frac{\Delta B}{2} = \frac{\mu_0N\Delta I}{2l_g} \]Proximity effect multiplies the copper loss with the layer count:
\[ F_r \approx 1+\frac{p^2-0.8}{9}\left(\frac{h}{\delta}\right)^4 \quad\text{— interleaving halves }p \]Frequency scaling is not free:
\[ A_p \propto \frac{1}{fB}, \qquad P_v \propto f^\alpha B^\beta \quad\Longrightarrow\quad B\ \text{must fall as }f\ \text{rises} \]
Design a \(100\ \mu\text{H}\) inductor carrying 8 A RMS with a 10 A peak and 2 A of ripple at \(f_s = 100\) kHz. Select a core by area product, find the turns and the air gap, verify the peak flux density, and choose the wire.
The energy to be stored, which is what really sets the size:
A useful sanity figure. Inductor size scales with stored energy, so a designer with any experience can guess the core from this number alone — and the area product formalises the guess.
The area product pairs the flux requirement with the window needed for the copper:
Read the two factors: \(LI_{pk}\) is the flux linkage the core must support, and \(I_{rms}\) divided by the current density is the copper cross-section the window must hold. A core is adequate only if it satisfies both, which is why they are multiplied.
Choose a core with \(A_e = 100\ \text{mm}^2\) and \(A_w = 200\ \text{mm}^2\):
Twenty per cent of margin, which is about right — the constants \(K_w\) and \(J\) are rules of thumb, not measurements.
The turns come from the flux limit at peak current:
Why \(B_{max} = 0.3\) T? Ferrite saturates around 0.4 T at room temperature and closer to 0.3 T when hot, so 0.3 leaves margin for the temperature rise found in Problem 2. Powdered iron would allow more; ferrite would not.
Now the air gap, which is what makes an inductor an inductor:
The core's own permeability does not appear, because the gap dominates the reluctance completely. That is deliberate: it makes the inductance depend on geometry rather than on a ferrite property that varies by \(\pm25\%\) and drifts with temperature.
The wire, and here the frequency intervenes. At 8 A and \(4\ \text{A/mm}^2\), 2 mm² of copper is needed — roughly AWG 14, 1.6 mm in diameter. But:
A solid conductor 1.6 mm across conducts only in a 0.2 mm skin, so most of the copper is dead weight and the AC resistance is several times the DC value. The wire has to be subdivided.
Litz wire. Each strand must be no thicker than about \(2\delta\) so that the field penetrates it fully:
And the strands must be transposed, not merely bundled, so that each occupies every position along the length — otherwise the outer strands still carry most of the current and nothing has been gained. That transposition is what distinguishes Litz wire from a handful of parallel wires.
For the inductor of Problem 1, find the AC flux swing, the core loss using a ferrite that dissipates \(100\ \text{kW/m}^3\) at 100 kHz and 100 mT with \(\beta = 2.68\), and the copper loss for a mean turn of 50 mm. Estimate the temperature rise with a thermal resistance of 20 K/W.
The AC flux swing is not the peak flux. Core loss responds to the excursion, and the inductor's DC bias contributes nothing:
Thirty millitesla against a peak of 303 — a tenth. Using the peak in a Steinmetz calculation would overstate the core loss by a factor of \(10^{2.68} \approx 480\), which is the single most common error in magnetics work.
Scale the loss density from the quoted reference point:
Twenty-five times less than the reference, from a threefold reduction in flux. That steep exponent is why keeping the ripple small is worth so much in core loss — and why a converter with 30% ripple has far less core loss than one with 60%, out of proportion to the ripple itself.
The core loss in watts, for an effective volume of \(6\ \text{cm}^3\):
Twenty-four milliwatts. Essentially nothing.
The copper loss, from the winding resistance:
The comparison:
| Loss | Value | Share |
|---|---|---|
| Copper | 0.908 W | 97.4% |
| Core | 0.024 W | 2.6% |
| Total | 0.932 W | — |
A ratio of thirty-seven to one, which is typical for a DC-biased filter inductor: the core carries a large steady flux but only swings a little, so it barely notices, while the winding carries the full DC current continuously. Effort spent on a better ferrite here would be entirely wasted.
The temperature rise:
Comfortable — and it validates the \(B_{max} = 0.3\) T choice of Problem 1, since a 19 K rise leaves the ferrite well below the temperature where its saturation flux collapses. Note that this rise is what \(J = 4\ \text{A/mm}^2\) was implicitly targeting; the current density rule exists to produce roughly this answer.
When the balance reverses. The copper-dominates result is not universal:
| Component | Flux swing | Dominant loss |
|---|---|---|
| Filter inductor, DC biased | small | copper |
| Forward transformer | large, unipolar | comparable |
| Bridge transformer | large, bipolar | core |
| Boundary-mode inductor | full — ripple = 2× average | comparable |
| Resonant tank inductor | full sinusoidal | core |
The general rule: if the AC swing is a small fraction of the peak, copper dominates; if the component swings through its full range every cycle, core loss does. Optimising the wrong one is the most common way to waste effort in magnetics.
Design the magnetics for a 65 W DCM flyback with \(L_m = 500\ \mu\text{H}\), a peak primary current of 2 A, a turns ratio of 8:1 and \(f_s = 65\) kHz. Find the primary turns, the gap, and verify the power. Explain why a flyback transformer is gapped when a forward transformer is not.
Confirm the power from the stored energy, since in DCM the flyback is the energy pump of Set 20:
The specification is self-consistent. This is the check to do first: a flyback's power is fixed by its inductance, peak current and frequency, and if those three do not multiply to the required output, nothing downstream will fix it.
The primary turns, trying \(A_e = 80\ \text{mm}^2\):
But the turns ratio must be exactly 8:1, so \(N_1\) must be a multiple of 8. Rounding down to 40 with 5 secondary turns raises the flux:
Slightly over the 0.3 T target. Move to a core with \(A_e = 90\ \text{mm}^2\):
The gap:
Smaller than Problem 1's 1.37 mm because the stored energy is a fifth as much. A gap of a third of a millimetre is easily produced by grinding the centre limb or by a spacer in all three limbs — though a spacer gaps the outer limbs too, which increases the fringing field near the windings and worsens the proximity effect of Problem 4.
Why a flyback is gapped and a forward is not. The two use the core for opposite purposes:
| Flyback | Forward | |
|---|---|---|
| Purpose of the core | store energy | couple windings |
| Windings conduct | alternately | together |
| Gap | required | none |
| Magnetising current | is the whole current | a small parasitic |
| Energy stored | \(\tfrac12L_mI_{pk}^2\) — the output | a nuisance, must be reset |
A gap reduces the inductance, which lets the winding carry far more current before the core saturates — and energy storage is exactly what a flyback needs. A forward converter wants the opposite: the largest possible magnetising inductance, so that the magnetising current stays negligible and the reset burden of Set 22 stays small.
Where the energy actually sits:
Twelve to one, for a typical ferrite permeability and magnetic path length. So the gap holds 92% of the stored energy, in a third of a millimetre of air — and the ferrite, occupying a hundred times the volume, holds the rest. That is what "storing energy in the gap" means quantitatively.
Two consequences of the gap:
Which is why the winding should be kept a few gap-lengths clear of the centre limb's gap, and why distributed-gap materials such as powdered iron are sometimes preferred despite their higher core loss. And (ii) the leakage inductance of Set 22 rises with the gap, because flux that leaves the core near the gap may not link both windings — so the gap that makes the flyback work also feeds its snubber.
The transformer of Problem 3 has a primary wound in four layers of wire whose thickness equals the skin depth at 65 kHz. Find the skin depth, the AC resistance factor, and the improvement obtained by interleaving the primary and secondary.
The skin depth at 65 kHz:
A quarter of a millimetre — about AWG 30. Any conductor thicker than about half a millimetre is already carrying current unevenly at this frequency.
But skin effect is the smaller problem. In a multi-layer winding, each layer sits in the magnetic field produced by every layer inside it:
So the outermost layer of a four-layer winding sits in four times the field of the innermost, and dissipates far more than its share. That is proximity effect, and unlike skin effect it gets worse with every layer added.
The AC resistance factor, from Dowell's analysis in its practical approximate form for \(h/\delta \le 1.5\):
With \(h = \delta\) and four layers:
Nearly three times the DC resistance, and therefore nearly three times the copper loss — from a winding whose wire gauge was chosen correctly for the current. The copper is there; the current is not using it.
Interleaving halves the effective layer count. Splitting the primary and placing the secondary between the halves — a P–S–P arrangement — makes the field return to zero in the middle:
Halved, for no extra copper and no extra core — only a different winding order. The mechanism is that the magnetomotive force builds up from zero to a maximum and back to zero across the window, rather than climbing monotonically, so no layer ever sees the full field.
How the factor grows with layers:
| Layers | \(F_r\) at \(h = \delta\) | Interleaved |
|---|---|---|
| 1 | 1.02 | — |
| 2 | 1.36 | 1.02 |
| 4 | 2.69 | 1.36 |
| 6 | 4.80 | 2.69 |
| 8 | 7.02 | 4.80 |
Roughly quadratic in the layer count. An eight-layer winding wastes seven times the copper loss it should — and interleaving it recovers only to the four-layer figure, so tall windings must be attacked with foil, Litz or a different core shape as well.
What interleaving costs. Nothing is free:
| Benefit | Cost |
|---|---|
| AC resistance halved | more insulation layers — window space |
| Leakage inductance falls sharply | more interwinding capacitance |
| Better thermal path | more complex, slower to wind |
| — | safety creepage between P and S at each boundary |
Read the second row both ways. Lower leakage shrinks the snubber loss of Set 22 — a substantial second benefit — but the increased interwinding capacitance couples common-mode noise straight across the isolation barrier, worsening conducted EMI. A screen between the windings fixes that and costs more window still.
A converter's switching frequency is raised from 65 kHz to 500 kHz at constant power. Using \(\alpha = 1.66\) and \(\beta = 2.68\), determine how much smaller the magnetics can be at constant core loss, and compare with the naive expectation.
The naive expectation. At fixed flux density, the area product scales inversely with frequency:
Which is the sales pitch for high-frequency conversion: eight times the frequency, nearly five times less magnetics volume.
Now check the core loss. The loss density rises steeply with frequency:
Applied to a volume that has shrunk by 4.62:
Six times the core loss in a component that is a fifth the size — so thirty times the loss density per unit surface area. It would melt. The naive scaling is not merely optimistic; it is thermally impossible.
Hold the core loss constant instead and solve for the flux density:
The flux density must halve. Ferrite's saturation limit is no longer the constraint at 500 kHz — core loss is, and it binds at half the flux the material could physically support.
Which reduces the size benefit:
| Quantity | Naive | At constant core loss |
|---|---|---|
| Frequency ratio | 7.69× | 7.69× |
| Flux density | unchanged | halved |
| Area product | 7.69× smaller | 3.84× smaller |
| Linear dimension | 1.67× | 1.40× |
| Volume | 4.62× | 2.75× |
A real reduction of 2.75 in volume rather than 4.62 — still worthwhile, but a good deal less than the arithmetic suggests. And this is before accounting for the semiconductor switching loss, which rose linearly with frequency in Set 2 and gets no such relief.
What else changes at 500 kHz:
Skin depth falls to under a tenth of a millimetre, so Litz strands must be finer and more numerous, and foil windings become attractive. Proximity effect worsens for the same winding, since \(h/\delta\) rises — and it enters Problem 4's expression to the fourth power.
The material choice moves too:
| Material | \(B_{sat}\) | Best frequency | Use |
|---|---|---|---|
| Silicon steel | 1.8 T | < 1 kHz | line transformers |
| Powdered iron | 1.2 T | < 100 kHz | DC-biased inductors |
| Ferrite (MnZn) | 0.4 T | 20 kHz – 1 MHz | the default |
| Ferrite (NiZn) | 0.3 T | > 1 MHz | RF, EMI beads |
| Nanocrystalline | 1.2 T | < 100 kHz | common-mode chokes |
Notice the trend: high saturation and high frequency do not coexist. A material with a large \(B_{sat}\) gets there through a mechanism — metallic conduction — that also produces eddy currents, and every high-frequency material sacrifices flux density to suppress them.
Complete the magnetics for the 60 W forward converter of Set 22: the \(105\ \mu\text{H}\) output inductor at 5 A with 1.5 A of ripple, and the 4.5:1 transformer at 65 kHz. Assemble the total magnetics loss and check it against the 19% share that Set 23's budget assigned.
The output inductor first. Following Problem 1's procedure:
About a third of Problem 1's requirement, since the stored energy is a third as much. A core with \(A_e = 50\ \text{mm}^2\) and \(A_w = 130\ \text{mm}^2\) gives 0.65 cm&sup4; — adequate.
Its turns and gap:
The transformer carries no DC bias — the magnetising current is a small parasitic — so it is sized by volt-seconds rather than by energy:
Note \(\Delta B = 0.25\) T, not 0.3: a forward transformer's flux swings from near zero up to the peak and back, so the whole excursion must fit below saturation with margin. A bridge transformer would swing \(\pm0.25\) T and need half the turns — the core-utilisation advantage of Set 22, Problem 4, made concrete.
The transformer's core loss is significant, unlike the inductor's, because its flux swings fully:
Scaling from 100 kW/m³ at 100 kHz and 100 mT:
Fifteen times the inductor's core loss, from a smaller core — entirely because \(B_{ac}\) is four times larger and enters to the power 2.68. This is the reversal that Problem 2's table predicted.
The complete magnetics budget:
| Component | Copper | Core | Total |
|---|---|---|---|
| Output inductor | 0.42 W | 0.02 W | 0.44 W |
| Transformer primary | 0.28 W | — | 0.28 W |
| Transformer secondary | 0.22 W | — | 0.22 W |
| Transformer core | — | 0.36 W | 0.36 W |
| Total magnetics | 0.92 W | 0.38 W | 1.30 W |
Against Set 23's transformer allocation of 1.10 W for a 65 W adapter — the same order, which validates the budget. Magnetics typically account for 2 to 3% of throughput in a well-designed converter of this class.
Where to improve, and where not to:
| Target | Action | Worth it? |
|---|---|---|
| Inductor copper (0.42 W) | larger core, thicker wire | yes — the largest single term |
| Inductor core (0.02 W) | better ferrite | no — already negligible |
| Transformer core (0.36 W) | lower \(\Delta B\) — more turns | yes, but raises copper loss |
| Transformer copper (0.50 W) | interleave the windings | yes — free, halves it |
| Everything | raise \(f_s\) | see Problem 5 — only \(\sqrt{}\) the benefit |
The fourth row is the free one. Problem 4 showed interleaving halves the AC resistance for nothing but winding order, which would take the transformer copper from 0.50 to 0.25 W — a 19% cut in total magnetics loss at no cost in parts. The third row is a genuine optimisation: more turns lower \(\Delta B\) and the core loss with it, but lengthen the winding, so there is an optimum where the two are comparable.
Key Formulas
| Quantity | Relation | Notes |
|---|---|---|
| Stored energy | \(E = \tfrac12LI_{pk}^2\) | Sets the core size |
| Area product | \(A_p = \dfrac{LI_{pk}I_{rms}}{K_wJB_{max}}\) | \(K_w \approx 0.4,\ J \approx 4\ \text{A/mm}^2\) |
| Turns (inductor) | \(N = \dfrac{LI_{pk}}{B_{max}A_e}\) | Peak current |
| Turns (transformer) | \(N_1 = \dfrac{V_{in}DT_s}{\Delta B\,A_e}\) | Volt-seconds |
| Air gap | \(l_g = \dfrac{\mu_0N^2A_e}{L}\) | Gap dominates the reluctance |
| Flux check | \(B = \dfrac{\mu_0NI_{pk}}{l_g}\) | Must be below \(B_{sat}\) |
| Skin depth | \(\delta = 66/\sqrt{f}\) mm | 0.21 mm at 100 kHz |
| Litz strands | \(d \le 2\delta\), transposed | Bundling alone is useless |
| Core loss density | \(P_v = kf^\alpha B_{ac}^\beta\) | \(\alpha \approx 1.66,\ \beta \approx 2.68\) |
| AC flux swing | \(B_{ac} = \Delta B/2 = \dfrac{\mu_0N\Delta I}{2l_g}\) | Not the peak |
| Copper loss | \(P_{Cu} = I_{rms}^2R_{DC}F_r\) | \(R_{DC} = \rho\,N\cdot\text{MLT}/A\) |
| Proximity factor | \(F_r \approx 1+\dfrac{p^2-0.8}{9}\left(\dfrac{h}{\delta}\right)^4\) | For \(h/\delta \le 1.5\) |
| Interleaving | \(p_{eff} = p/2\) | Halves the loss — free |
| Temperature rise | \(\Delta T = P_{total}R_{th}\) | Target 20–40 K |
| Frequency scaling | \(A_p \propto 1/(fB)\), \(B \propto f^{-\alpha/\beta}\) | Half the promised benefit |
Common Mistakes
Choosing wire by current alone. At 100 kHz the skin depth was 0.21 mm, so a correctly sized solid conductor mostly does not conduct — Problem 1.
Bundling parallel wires and calling it Litz. Without transposition the outer strands still carry the current — Problem 1.
Using \(B_{pk}\) in a Steinmetz calculation. Core loss follows \(\Delta B/2\); here the error would be a factor near 500 — Problem 2.
Optimising the ferrite grade of a DC-biased inductor. Copper loss was 37 times the core loss — Problem 2.
Rounding the turns without rechecking the flux. Going from 41.7 to 40 turns pushed \(B\) from 0.29 to 0.31 T — Problem 3.
Gapping a forward transformer, or failing to gap a flyback one. One stores energy and one must not — Problem 3.
Ignoring proximity effect in multi-layer windings. Four layers gave 2.69 times the DC resistance — Problem 4.
Leaving the winding order to whoever builds it. Interleaving halves the copper loss for nothing — Problems 4 and 6.
Expecting size to scale inversely with frequency. Core loss forces the flux down, giving 2.75 times the volume reduction rather than 4.62 — Problem 5.
Assuming high saturation and high frequency are compatible. Every high-frequency material trades \(B_{sat}\) for low eddy-current loss — Problem 5.
That completes Part 3. Eight sets took the self-commutating switch of Part 1 and built the entire DC–DC toolkit from it: three basic topologies, a fourth-order pair with continuous terminal currents, isolated converters reaching from 15 W to kilowatts, the control loops that hold them regulated, and finally the magnetics that every one of them had been specifying and setting aside. The recurring theme was that controlling at kilohertz decouples the source from the load — which is what dissolved every difficulty Part 2 had accumulated.
All of it produced DC. The chopper varied a DC output, the buck regulated one, the flyback isolated one — and the duty ratio was a number that changed slowly, if at all. Vary that same duty ratio sinusoidally, at fifty times a second while switching at twenty thousand, and the same half bridge that drove a motor in Set 17 produces alternating current instead. That is an inverter, and it is the same hardware with a different modulation.
Next: Part 4 begins with Set 25 — Single-Phase Voltage Source Inverters, where square-wave, quasi-square and sinusoidal PWM outputs are analysed for their harmonic content, the modulation index is defined and pushed into overmodulation, the H-bridge of Set 17 reappears with a sinusoidal reference, and the dead time that protected the devices turns out to distort the output.