High-Frequency Transformer Design: Core and Copper Loss
The forward converter of Forward and Push-Pull Converters assumed a transformer with turns ratio and a magnetising inductance of , and it treated the windings as lossless. Building that transformer raises questions an inductor never asked. A transformer stores (ideally) no energy, so saturation is rarely the limit; what limits it is heat: core loss, which grows steeply with the flux swing and the frequency, and copper loss, which at is several times the DC value because the current crowds to the surface of the wire and is pushed around by the fields of the neighbouring layers. This lesson finds the number of turns that minimises the total loss, estimates the AC resistance with Dowell's idea, and shows how interleaving the windings cuts it.
The flux swing is set by the volt-seconds
Faraday's law on the primary (Faraday's and Lenz's Laws) ties the flux swing in the core to the voltage applied during the on-time:
In a forward converter in steady state, so the volt-seconds are whatever the input voltage. During a transient, though, the controller can briefly apply full duty at maximum input; a maximum-duty clamp or volt-second limit protects the core. Because a forward core only swings in one direction, from its remanence upwards, must stay below saturation, and ferrites have . Bridges and push-pulls use both halves of the loop, which is why they need half the turns for the same voltage (Half- and Full-Bridge Converters).
Core loss: the Steinmetz equation
Hysteresis and eddy currents in the ferrite (Core Losses) are measured by manufacturers with sinusoidal flux and fitted by the Steinmetz equation:
with the loss per unit volume and the peak of the AC flux, . The coefficients hold over a limited range of , and temperature (ferrite loss is lowest near to by design), so read them for your material near your operating point. Converters drive cores with rectangular voltage, so the flux is triangular; the improved generalised Steinmetz equation (iGSE) replaces by an integral of over the period and reproduces the higher loss of short, steep flux ramps at low duty.
The optimum flux swing. For a fixed core, , so the copper loss (more turns, each thinner) grows as while the core loss grows as . Setting the derivative of the sum to zero:
The minimum is flat, so "core loss about equal to copper loss" is a good target. The area product of a transformer follows as for the inductor, with the volt-seconds in place of : .
Worked example: the forward transformer
Given: to , , , ; the same illustrative E20-size ferrite as in Inductor Design, now ungapped (, , , ), copper fill , and the same Steinmetz fit ( at , ; , ).
Find: the volt-seconds, the winding currents, the turns for minimum loss, and .
Solve:
Check: the code sweeps and finds the minimum total loss at , where core and copper loss are both . The resulting is the the forward lesson assumed, and its magnetising peak, , the found there. The area product needed is , less than the core's .
Copper at high frequency: skin and proximity effect
At high frequency the current in a conductor flows in a layer about one skin depth thick (Lossy Media):
The EM-wave lab computes it: for copper at it reads , so at the depth is , and at , where copper's resistivity is higher.
In a winding the field of the other layers matters more than the wire's own field. The proximity effect grows with the number of layers: in a stack of layers carrying the same current, the magnetomotive force (MMF) builds up layer by layer, and the -th layer sits in the field of all the others, inducing eddy currents that can carry several times the load current. Dowell's method replaces each layer by an equivalent foil of thickness and gives the ratio of AC to DC resistance per harmonic as a function of and :
For a rectangular current, each harmonic sees its own , and the losses add. Interleaving (primary half, secondary, primary half) puts the MMF zero in the middle of the secondary, so each part behaves like a winding of half as many layers.
import numpy as np
# forward-converter transformer: 24 V -> 5 V, 2 A, Np:Ns:Nr = 2:1:2, 200 kHz (forward-push-pull lesson)
Vin, Vout, Iout, n, fsw = 24.0, 5.0, 2.0, 2.0, 200e3
Ae, Aw, mlt, Ve, AL = 31e-6, 26e-6, 38e-3, 1.34e-6, 2.0e-6 # E20-size ungapped, illustrative
ku, rho = 0.30, 2.3e-8 # copper fill, copper at 100 C
D = n * Vout / Vin
lam = Vin * D / fsw # volt-seconds per cycle = n Vout Ts
Is = Iout * np.sqrt(D) # secondary rms (pulse of height Iout)
Ip = Is / n # primary rms, magnetising current neglected
print(f"D = {D:.4f}, volt-seconds {lam*1e6:.1f} V us (independent of Vin), Ip = {Ip:.3f} A rms, Is = {Is:.3f} A rms")
def k_fe(dB): # illustrative Steinmetz fit at 100 C: mW/cm^3 with B = dB/2 the AC peak
return 80 * (fsw / 100e3)**1.4 * (dB / 2 / 0.1)**2.6
print(" Np Ns dB core copper(dc) total")
for Np in (8, 12, 16, 20, 24):
Ns = Np // 2
dB = lam / (Np * Ae)
P_fe = k_fe(dB) * Ve * 1e6 / 1e3 # W
# copper loss with the window split in proportion to ampere-turns (the optimum)
P_cu = rho * mlt * (Np * Ip + Ns * Is)**2 / (ku * Aw)
print(f"{Np:3d} {Ns:3d} {dB*1e3:5.0f} mT {P_fe*1e3:5.0f} mW {P_cu*1e3:7.0f} mW {1e3*(P_fe+P_cu):6.0f} mW")
Np, Ns = 16, 8
Lm = AL * Np**2
print(f"chosen Np = {Np}, Ns = {Ns}, Nr = {Np}: dB = {lam/(Np*Ae)*1e3:.0f} mT, Lm = AL Np^2 = {Lm*1e6:.0f} uH, "
f"magnetising peak {lam/Lm*1e3:.0f} mA")
# skin depth of copper at 100 C and Dowell's AC-resistance factor for m layers
delta = np.sqrt(rho / (np.pi * fsw * 4e-7 * np.pi))
print(f"skin depth at {fsw/1e3:.0f} kHz, 100 C: {delta*1e3:.3f} mm")
def dowell(x, m):
t1 = (np.sinh(2*x) + np.sin(2*x)) / (np.cosh(2*x) - np.cos(2*x))
t2 = (np.sinh(x) - np.sin(x)) / (np.cosh(x) + np.cos(x))
return x * (t1 + 2 * (m**2 - 1) / 3 * t2)
print("h/delta Fr(1 layer) Fr(2) Fr(4)")
for x in (0.5, 1.0, 2.0, 3.0):
print(f"{x:6.1f} {dowell(x, 1):9.2f} {dowell(x, 2):7.2f} {dowell(x, 4):6.2f}")
# the secondary current is a pulse train: weight Fr by each harmonic's share of I^2 (foil-equivalent thickness h)
h = 0.45e-3
k = np.arange(1, 40)
Ik = 2 * Iout / (k * np.pi) * np.sin(k * np.pi * D) / np.sqrt(2) # rms of harmonic k
Idc = Iout * D
print(f"secondary: DC {Idc:.3f} A, the harmonics carry {100*np.sum(Ik**2)/Is**2:.0f} % of I^2")
for m, name in ((2, "S S stacked (m = 2)"), (1, "P S S P interleaved (m = 1)")):
for h in (0.45e-3, 0.2e-3):
Fr = (Idc**2 + np.sum(Ik**2 * dowell(h / (delta / np.sqrt(k)), m))) / Is**2
# same winding width: thinner copper raises Rdc as 1/h
print(f" {name:28s} h = {h*1e3:.2f} mm: Rac/Rdc = {Fr:5.2f}, loss vs 0.45 mm DC = {Fr*0.45e-3/h:5.2f}")D = 0.4167, volt-seconds 50.0 V us (independent of Vin), Ip = 0.645 A rms, Is = 1.291 A rms
Np Ns dB core copper(dc) total
8 4 202 mT 289 mW 12 mW 301 mW
12 6 134 mT 101 mW 27 mW 128 mW
16 8 101 mT 48 mW 48 mW 95 mW
20 10 81 mT 27 mW 75 mW 101 mW
24 12 67 mT 17 mW 108 mW 124 mW
chosen Np = 16, Ns = 8, Nr = 16: dB = 101 mT, Lm = AL Np^2 = 512 uH, magnetising peak 98 mA
skin depth at 200 kHz, 100 C: 0.171 mm
h/delta Fr(1 layer) Fr(2) Fr(4)
0.5 1.01 1.03 1.11
1.0 1.09 1.41 2.69
2.0 1.90 5.15 18.14
3.0 3.01 9.54 35.65
secondary: DC 0.833 A, the harmonics carry 58 % of I^2
S S stacked (m = 2) h = 0.45 mm: Rac/Rdc = 6.34, loss vs 0.45 mm DC = 6.34
S S stacked (m = 2) h = 0.20 mm: Rac/Rdc = 2.13, loss vs 0.45 mm DC = 4.78
P S S P interleaved (m = 1) h = 0.45 mm: Rac/Rdc = 2.34, loss vs 0.45 mm DC = 2.34
P S S P interleaved (m = 1) h = 0.20 mm: Rac/Rdc = 1.26, loss vs 0.45 mm DC = 2.83
The sweep shows the flat optimum: from to primary turns the total stays within of the minimum, while turns (a flux swing of ) triples it. The Dowell table shows why the number of layers matters more than the wire size: at a single layer has , four layers . The secondary current is a pulse train whose harmonics carry of its , so a two-layer stacked secondary of foil has an effective : its copper loss is six times the DC estimate. Interleaving cuts this to with the same copper. Thinner copper () lowers , but in the same winding width it raises by times; with interleaving the thick foil is better ( against ). The same trade explains litz wire, many insulated strands much thinner than , twisted so each strand takes every position: low at the price of a poorer copper fill.
Leakage inductance, insulation and the rest of the design
- Leakage inductance comes from the energy of the MMF field between the windings, the same field that causes proximity loss, so interleaving also reduces it. A forward or flyback wants it small (it rings with the switch capacitance and sets the clamp loss); an LLC often uses it as its resonant inductor on purpose.
- Insulation. A mains-connected transformer needs reinforced insulation between primary and secondary, set by safety standards such as IEC 62368-1 (audio/video and ICT equipment; edition 4.0, 2023, as of 2026-11; in Europe EN IEC 62368-1:2024 replaces the older editions from 2027-02-15): creepage and clearance distances, triple-insulated wire or margin tape, and a hi-pot test. These take window space and push the windings apart, raising leakage. They are design rules for qualified product work; nothing on this course's bench reaches mains insulation levels.
- Temperature rise is estimated from the total loss and the surface, as for the inductor, and the hot-spot is usually in the middle of the windings.
Guided lab: AC resistance and leakage of a small transformer
Hand calculation. For a small ferrite transformer (or a two-winding coupled inductor) with known turns and wire, compute , at , and , and from the Dowell formula with the number of layers you count.
Simulation. Enter (for round wire of diameter , ) and in the code; plot against frequency.
What you would measure. An LCR meter in series mode (LCR Meters) on the primary with the secondary open reads ; with the secondary shorted it reads the leakage inductance and a series resistance that, minus the core's contribution, is the AC copper resistance. Expect to rise with frequency roughly as Dowell predicts (within 20 to 30 %, because round wire and gaps between turns are not foils) and the leakage to be 0.5 to 3 % of , lower for interleaved windings. LCR meters lose accuracy on very low resistances: use the 4-terminal fixture and a short-compensation.
Hazards and safe setup. The LCR meter drives about ; nothing hazardous. If you excite the transformer from a square wave instead, the open secondary rings and the primary sees an inductive kick at each edge: drive it through a series resistor and keep the supply current-limited.
Pitfalls
- Designing turns for saturation as if it were an inductor. A transformer is usually core-loss limited; pick near the loss optimum, then check (forward) at maximum duty.
- Using the DC resistance at 200 kHz. With several layers, can be five to twenty times .
- Gapping a forward transformer. It only raises the magnetising current.
- Steinmetz with square-wave excitation and low duty. The sinusoidal fit underestimates the loss; use the iGSE or the manufacturer's tool.
Practice
- A half-bridge applies at , 50 % duty, to a primary on a core with . How many turns keep at ?
- With , what ratio of core to copper loss minimises the total?
- Find the skin depth of copper at ().
Answer
- Each half-period () applies and swings the flux by : turns.
- .
- .
Test yourself
In a steady-state forward converter, the flux swing per cycle depends on…
- the load current
- : the output volt-seconds, not the input voltage
- the input voltage only
- the air gap
For a fixed core, the total loss is minimum when…
- the copper loss is zero
- the core loss is about times the copper loss
- the flux is at saturation
- the turns are as few as possible
Why does a four-layer winding have a far larger than a single layer of the same foil?
- it is longer
- the outer layers sit in the MMF field of the inner ones, which induces large eddy currents (proximity effect)
- it is hotter
- the skin depth is smaller
Interleaving primary and secondary layers (P/2, S, P/2)…
- raises leakage inductance
- halves the peak MMF in the window, reducing both proximity loss and leakage inductance
- removes the need for insulation
- only matters at DC