---
title: Magnetic circuits for power electronics
heading: Reluctance and magnetic circuits, why inductor cores have air gaps, inductance from turns and reluctance, peak flux density and saturation, core loss and the Steinmetz equation, and copper loss with the skin effect
eyebrow: S11 · Lesson 24 · Magnetic circuits for power electronics
xp: 50
---

::: hook
The inductors and transformers in a converter are usually its biggest, heaviest and lossiest parts, and unlike capacitors they're often designed for each application rather than bought off a shelf. The design rests on a few relations from magnetic circuits: flux follows the path of least reluctance, an air gap dominates the reluctance of a high-permeability core and so sets the inductance, and the core must not saturate at the peak current. This lesson builds those relations; the next two use them to design an inductor and a transformer.
:::

::: play
- A gapped ferrite core (cross-section $A_c$) wound with N turns: its inductance and peak flux density at a given current against the gap length (log axis), with the core's own reluctance neglected.
- Widening the gap lowers the inductance in proportion but also lowers the flux density: gaps let a core carry DC current without saturating.
- The dashed line is ferrite's usable flux density, about 0.3 T. Below it, the design is safe.
:::

```sim plot
view: graph
x: g = 0.05..3 mm log
y: v = 0.001..10 log
slider: N = 5..60 = 20
slider: I = 0.5..10 = 3 A
slider: A = 20..400 = 100 mm²
plot: 4*pi*1e-7*N^2*A*1e-6/(g*1e-3)*1e3 | samples: 400 | label: inductance, mH
plot: 4*pi*1e-7*N*I/(g*1e-3) | samples: 400 | color: ch3 | label: peak flux density, T
plot: 0.3 + 0*g | dashed | color: ch4 | label: 0.3 T
```

::: predict
## A ferrite core with a 100 mm² cross-section has a 0.5 mm gap and 20 turns. What's its inductance?

- [ ] About 10 µH
- [x] About 100 µH
- [ ] About 1 mH
- [ ] It depends mainly on the ferrite's permeability

::: reveal
The gap's reluctance is $g/\mu_0A_c$ = 0.5 mm/(4π × 10⁻⁷ × 100 mm²) = 3.98 × 10⁶ A/Wb, thousands of times the ferrite's own, so $L = N^2/\mathcal{R}$ = 400/3.98 × 10⁶ = 101 µH, nearly independent of the ferrite's permeability, which varies with temperature and from part to part.
:::
:::

::: nameit
## Magnetic circuits

Magnetomotive force $\mathcal{F} = Ni$ drives flux $\Phi$ through **reluctance** $\mathcal{R} = l/\mu A$, like a voltage through a resistance: $\mathcal{F} = \Phi\mathcal{R}$. Reluctances in series add. An inductor of N turns has

$$L = \frac{N^2}{\mathcal{R}}$$

## Gaps

A ferrite core ($\mu_r$ in the thousands) with an air gap g: the gap's reluctance $g/\mu_0A_c$ usually dominates, so $L \approx \mu_0N^2A_c/g$, stable against permeability changes, and the flux density is

$$B = \frac{\Phi}{A_c} = \frac{Li}{NA_c} \approx \frac{\mu_0Ni}{g}$$

## Saturation

Above the saturation flux density $B_\text{sat}$ (about 0.3 to 0.5 T for ferrite, 1 to 1.8 T for iron-based materials) permeability collapses and so does the inductance, letting the current spike. Design to the peak current: $B_\text{max} = LI_\text{peak}/NA_c < B_\text{sat}$.

## Losses

- **Core loss** from hysteresis and eddy currents, fitted by the **Steinmetz equation** $P_v = kf^\alpha B_\text{ac}^\beta$ per unit volume, with α around 1.1 to 1.7 and β around 2.5 to 3 for ferrites. $B_\text{ac}$ is the peak AC flux density, half the peak-to-peak swing.
- **Copper loss** $I_\text{rms}^2R$, raised at high frequency by the **skin effect**: current crowds within a depth $\delta = \sqrt{\rho/\pi f\mu_0}$ of a conductor's surface, 66 mm/√f for copper: 0.21 mm at 100 kHz. Litz wire or foil keeps conductors thinner than δ.
:::

::: example
## The core above carries a peak of 3 A. Is it safe?

::: solution
1. **Peak flux density.**
   $$\begin{aligned} B &= \frac{Li}{NA_c} \\ &= \frac{101\ \mu\text{H} \times 3}{20 \times 10^{-4}} \\ &= 0.15\ \text{T} \end{aligned}$$
2. **Compare with the limit.** That's half of a typical ferrite's 0.3 T: safe. Doubling the current would bring it to the limit.
3. **Turns for 47 µH.** With the same gap and core:
   $$\begin{aligned} N &= \sqrt{\frac{Lg}{\mu_0A_c}} \\ &= 13.7 \end{aligned}$$
   so 14 turns.

**Answer:** it's safe: 3 A gives 0.15 T, half of a typical ferrite's 0.3 T.
:::
:::

::: example
## How thick can a copper winding conductor be at 100 kHz and at 500 kHz before skin effect matters?

::: solution
1. **Skin depth in copper.**
   $$\delta = \frac{0.066}{\sqrt f}\ \text{m}$$
2. **At 100 kHz.**
   $$\begin{aligned} \delta &= \frac{0.066}{\sqrt{10^5}}\ \text{m} \\ &= 0.21\ \text{mm} \end{aligned}$$
3. **At 500 kHz.**
   $$\begin{aligned} \delta &= \frac{0.066}{\sqrt{5 \times 10^5}}\ \text{m} \\ &= 0.093\ \text{mm} \end{aligned}$$
   For comparison, it's 8.5 mm at 60 Hz.
4. **How thick a conductor can be.** A round wire much thicker than about 2δ carries its high-frequency current only in its outer skin, so high-frequency windings use many fine insulated strands (Litz wire) or thin copper foil.

**Answer:** the skin depth is 0.21 mm at 100 kHz and 0.093 mm at 500 kHz, and a round wire much thicker than about twice that carries its current only in its skin.
:::
:::

::: example
## A ferrite's loss density is $1.5f^{1.4}B^{2.5}$ mW/cm³ (f in kHz, B in tesla). What does a 10 cm³ core lose at 100 kHz and 0.1 T, and what if the flux swing doubles?

::: solution
1. **Loss density.**
   $$\begin{aligned} p &= 1.5 \times 100^{1.4} \times 0.1^{2.5} \\ &= 1.5 \times 631 \times 0.00316 \\ &= 2.99\ \text{mW/cm}^3 \end{aligned}$$
2. **Core loss.**
   $$\begin{aligned} P &= 2.99 \times 10\ \text{mW} \\ &= 30\ \text{mW} \end{aligned}$$
3. **Doubling the flux swing.** That multiplies the loss by $2^{2.5}$ = 5.7:
   $$\begin{aligned} P &= 2^{2.5} \times 29.9\ \text{mW} \\ &= 169\ \text{mW} \end{aligned}$$
4. **Why it matters.** Core loss rises much faster with flux than with frequency, which is why higher-frequency designs run at lower flux densities.

**Answer:** the core loses 30 mW at 0.1 T, and 169 mW if the flux swing doubles.
:::
:::

::: check
given: g = 0.1 | 0.5 | 1.5; A = 30 | 100 | 250
answer: g*1e-3/(4*pi*1e-7*A*1e-6)
unit: A/Wb
tolerance: 0.5%

## What's the reluctance of a {g} mm air gap across a {A} mm² core?

::: right
Right. $g/\mu_0A$ = {answer} A/Wb.
:::

::: misses
- [any] Not yet. $\mathcal{R} = l/\mu A$ with μ = μ₀.
:::
:::

::: check
given: N = 10 | 25 | 60; g = 0.2 | 0.8; A = 50 | 200
answer: 4*pi*1e-7*N^2*A*1e-6/(g*1e-3)*1e6
unit: µH
tolerance: 0.5%

## A gap-dominated core ({A} mm², {g} mm gap) has {N} turns. What's its inductance?

::: right
Right. $\mu_0N^2A/g$ = {answer} µH.
:::

::: misses
- [4*pi*1e-7*N*A*1e-6/(g*1e-3)*1e6] Inductance goes as $N^2$.
- [any] Not yet. $L = N^2/\mathcal{R}$.
:::
:::

::: check
given: N = 10 | 30; I = 1 | 5 | 12; g = 0.3 | 1
answer: 4*pi*1e-7*N*I/(g*1e-3)
unit: T
tolerance: 0.5%

## A gapped core has {N} turns carrying {I} A across a {g} mm gap. What's the flux density?

::: right
Right. $\mu_0Ni/g$ = {answer} T.
:::

::: misses
- [any] Not yet. All the magnetomotive force drops across the gap.
:::
:::

::: check
given: f = 50 | 100 | 400 | 1000
answer: 0.066/sqrt(f*1e3)*1000
unit: mm
tolerance: 1%

## What's the skin depth in copper at {f} kHz?

::: right
Right. $66/\sqrt{f}$ mm = {answer} mm.
:::

::: misses
- [any] Not yet. $\delta = \sqrt{\rho/\pi f\mu_0}$.
:::
:::

::: check
given: L = 10 | 47 | 220; g = 0.3 | 1; A = 60 | 150
answer: sqrt(L*1e-6*g*1e-3/(4*pi*1e-7*A*1e-6))
tolerance: 0.5%

## How many turns give {L} µH on a {A} mm² core with a {g} mm gap?

::: right
Right. $\sqrt{Lg/\mu_0A}$ = {answer} turns (round up).
:::

::: misses
- [any] Not yet. Invert $L = \mu_0N^2A/g$.
:::
:::

::: check
given: k = 2 | 10; f = 100 | 300; B = 0.05 | 0.1; a = 1.3 | 1.5; b = 2.6 | 2.8; V = 5 | 20
answer: k*(f)^a*B^b*V/1000
unit: W
tolerance: 1%

## A ferrite's loss is $P_v = \given{k}f^{\given{a}}B^{\given{b}}$ mW/cm³ with f in kHz and B in tesla. What does a {V} cm³ core lose at {f} kHz and {B} T?

::: right
Right. {answer} W.
:::

::: misses
- [any] Not yet. Substitute, then multiply by the volume.
:::
:::

::: check
kind: parts
given: k = 1 | 2; a = 1.3 | 1.5; b = 2.4 | 2.7; f = 50 | 200; B = 0.05 | 0.15; V = 5 | 20

## A ferrite's loss is $\given{k}f^{\given{a}}B^{\given{b}}$ mW/cm³ (f in kHz, B in tesla); its core is {V} cm³.

::: part
answer: k*f^a*B^b*V
unit: mW
tolerance: 0.5%

### What does it lose at {f} kHz and {B} T?

::: misses
- [any] Loss density times volume.
:::
:::

::: part
answer: 2^b
tolerance: 0.5%

### By what factor would doubling the flux swing raise the loss?

::: misses
- [2^a] That's doubling the frequency.
- [any] $2^\beta$.
:::
:::
:::

::: check
kind: derivation
vars: N = 1..200, A = 0.00001..0.001, g = 0.0001..0.005, I = 0.1..50

## A gap-dominated core of area A (m²) and gap g (m) carries N turns at current I.

::: step
answer: g/(4*pi*1e-7*A)

### What is the gap's reluctance?
:::

::: step
answer: 4*pi*1e-7*N^2*A/g

### What is the inductance?
:::

::: step
answer: 4*pi*1e-7*N*I/g

### What is the flux density?
:::

::: right
Right. The gap sets everything, so the inductance is stable while the ferrite's permeability drifts.
:::
:::

::: explain
## Why do inductors for switching converters use gapped cores instead of solid high-permeability ones?

::: model
A high-permeability core without a gap has very low reluctance, so a given current produces a large flux, and the core saturates at a small current, far below what a converter's inductor carries. Its inductance would also depend directly on the core's permeability, which changes with temperature, flux level and from one batch to the next. Adding an air gap puts most of the circuit's reluctance in the gap, which is fixed by geometry: the inductance becomes predictable, and the flux density at a given current drops, so the core can carry a large DC current before saturating. The energy is stored mostly in the gap. The cost is needing more turns for the same inductance, and fringing fields near the gap.
:::
:::

::: practice

::: check
given: N = 8 | 40; g = 0.3 | 1.2; A = 40 | 300
answer: 4*pi*1e-7*N^2*A*1e-6/(g*1e-3)*1e6
unit: µH
tolerance: 0.5%

## Inductance: N = {N}, gap {g} mm, {A} mm²?

::: misses
- [any] $\mu_0N^2A/g$.
:::
:::

::: check
given: N = 15 | 50; I = 2 | 8; g = 0.5 | 2
answer: 4*pi*1e-7*N*I/(g*1e-3)
unit: T
tolerance: 0.5%

## Flux density: N = {N}, I = {I} A, gap {g} mm?

::: misses
- [any] $\mu_0NI/g$.
:::
:::

::: check
given: f = 20 | 200 | 2000
answer: 0.066/sqrt(f*1e3)*1000
unit: mm
tolerance: 1%

## Copper skin depth at {f} kHz?

::: misses
- [any] $66/\sqrt{f}$ mm.
:::
:::
:::
