---
title: "Problem set 5: current-mode control and magnetics"
heading: "Problem set 5: peak current-mode control and slope compensation, magnetic circuits and losses, inductor design and transformer design"
eyebrow: S11 · Problem set 5
type: problems
---

::: hook
These problems cover lessons 23 to 26: inductor-current slopes, the perturbation factor α and the slope compensation that tames it, gapped cores, flux density, skin depth and core loss, the $K_g$ inductor design procedure, and transformer turns, loss optimization and window allocation.
:::

::: pool
pick: 12

::: check
kind: parts
given: g = 5 | 12 | 24; V = 1.2 | 3.3; L = 2.2 | 10

## A current-mode buck from {g} V to {V} V with L = {L} µH.

::: part
answer: (g - V)/(L*1e-6)/1e6
unit: A/µs
tolerance: 0.5%

### Rising slope?

::: misses
- [any] $(V_g - V)/L$.
:::
:::

::: part
answer: V/(L*1e-6)/1e6
unit: A/µs
tolerance: 0.5%

### Falling slope?

::: misses
- [any] $V/L$.
:::
:::

::: part
answer: -V/(g - V)
tolerance: 0.5%

### α without compensation?

::: misses
- [any] $-m_2/m_1$.
:::
:::
:::

::: check
kind: parts
given: g = 5 | 12; V = 30 | 48; L = 10 | 47

## A current-mode boost from {g} V to {V} V with L = {L} µH.

::: part
answer: -(V - g)/g
tolerance: 0.5%

### α without compensation?

::: misses
- [any] $-m_2/m_1$ with $m_1 = V_g/L$, $m_2 = (V - V_g)/L$.
:::
:::

::: part
answer: ((V - g) - g)/(2*L)
unit: A/µs
tolerance: 0.5%

### Minimum compensating slope?

::: misses
- [any] $(m_2 - m_1)/2$.
:::
:::

::: part
answer: -((V - g)/2)/(g + (V - g)/2)
tolerance: 0.5%

### α with $m_a = m_2/2$?

::: misses
- [any] $-(m_2/2)/(m_1 + m_2/2)$.
:::
:::
:::

::: check
kind: parts
given: a = -0.4 | -0.7; n = 4 | 12; R = 0.8 | 5; C = 47 | 330

## A current loop with α = {a}; and a current-mode buck feeding {R} Ω with {C} µF.

::: part
answer: abs(a)^n
tolerance: 1%

### Perturbation remaining after {n} cycles?

::: misses
- [any] $|\alpha|^n$.
:::
:::

::: part
answer: 1/(2*pi*R*C*1e-6)/1000
unit: kHz
tolerance: 0.5%

### Voltage-loop plant pole?

::: misses
- [any] $1/2\pi RC$.
:::
:::
:::

::: check
kind: parts
given: N = 10 | 30; g = 0.3 | 1; A = 50 | 150; I = 2 | 8

## A gap-dominated core: {N} turns, {g} mm gap, {A} mm², carrying {I} A peak.

::: part
answer: 4*pi*1e-7*N^2*A*1e-6/(g*1e-3)*1e6
unit: µH
tolerance: 0.5%

### Inductance?

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

::: part
answer: 4*pi*1e-7*N*I/(g*1e-3)
unit: T
tolerance: 0.5%

### Peak flux density?

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

::: check
kind: parts
given: f = 40 | 200 | 1000; k = 3 | 8; a = 1.3 | 1.6; B = 0.05 | 0.12; b = 2.6 | 2.9; V = 4 | 25

## Copper at {f} kHz; a ferrite with $P_v = \given{k}f^{\given{a}}B^{\given{b}}$ mW/cm³ (f in kHz) at {B} T, {V} cm³.

::: part
answer: 0.066/sqrt(f*1e3)*1000
unit: mm
tolerance: 1%

### Skin depth?

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

::: part
answer: k*f^a*B^b*V/1000
unit: W
tolerance: 1%

### Core loss?

::: misses
- [any] Steinmetz times volume.
:::
:::
:::

::: check
kind: parts
given: L = 15 | 68; I = 4 | 10; B = 0.25 | 0.3; A = 0.7 | 1.4

## An inductor of {L} µH, {I} A peak, $B_\text{max}$ = {B} T, core {A} cm².

::: part
answer: L*1e-6*I/(B*A*1e-4)
tolerance: 0.5%

### Turns (before rounding)?

::: misses
- [any] $LI/(BA_c)$.
:::
:::

::: part
answer: 4*pi*1e-7*L*1e-6*I^2/(B^2*A*1e-4)*1000
unit: mm
tolerance: 0.5%

### Gap?

::: misses
- [any] $\mu_0LI^2/(B^2A_c)$.
:::
:::
:::

::: check
kind: parts
given: L = 33 | 150; I = 4 | 9; R = 3.5 | 8; B = 0.25 | 0.3; P = 0.5 | 1.5; K = 0.35 | 0.5; a = 0.8 | 1.5; w = 1 | 2.5; m = 4 | 7

## {L} µH, {I} A peak, {R} A RMS, $B_\text{max}$ = {B} T, {P} W copper, $K_u$ = {K}; a core with $A_c$ = {a} cm², $W_A$ = {w} cm², MLT = {m} cm.

::: part
answer: 1.724e-8*(L*1e-6)^2*I^2*R^2/(B^2*P*K)*1e10
unit: cm^5
tolerance: 1%

### Required $K_g$?

::: misses
- [any] $\rho L^2I_\text{max}^2I_\text{rms}^2/(B^2P_{cu}K_u)$.
:::
:::

::: part
answer: a^2*w/m
unit: cm^5
tolerance: 0.5%

### Core's $K_g$?

::: misses
- [any] $A_c^2W_A/\text{MLT}$.
:::
:::
:::

::: check
kind: parts
given: N = 12 | 25; m = 5 | 8; K = 0.4 | 0.5; w = 1.2 | 2.5; I = 4 | 9

## {N} turns filling the window ($K_u$ = {K}, $W_A$ = {w} cm²), MLT {m} cm, {I} A RMS.

::: part
answer: K*w*100/N
unit: mm²
tolerance: 0.5%

### Wire area?

::: misses
- [any] $K_uW_A/N$.
:::
:::

::: part
answer: 1.724e-8*N*m*1e-2*I^2/(K*w*1e-4/N)
unit: W
tolerance: 0.5%

### Copper loss?

::: misses
- [any] $I^2\rho N(\text{MLT})/A_w$.
:::
:::
:::

::: check
kind: parts
given: V = 36 | 72; D = 0.3 | 0.45; f = 100 | 250; B = 0.06 | 0.1; A = 0.4 | 1

## A forward transformer: {V} V at D = {D}, {f} kHz, $B_\text{ac}$ = {B} T, {A} cm².

::: part
answer: V*D/(f*1e3)*1e6
unit: µV·s
tolerance: 0.5%

### Volt-seconds per pulse?

::: misses
- [any] $VD/f_s$.
:::
:::

::: part
answer: V*D/(f*1e3)/(2*B*A*1e-4)
tolerance: 0.5%

### Primary turns (before rounding)?

::: misses
- [any] $\lambda/(2B_\text{ac}A_c)$.
:::
:::
:::

::: check
kind: parts
given: P = 0.2 | 1; b = 2.6 | 2.8; k = 0.6 | 0.8

## At the optimum a transformer's core loses {P} W with β = {b}.

::: part
answer: P*b/2
unit: W
tolerance: 0.5%

### Copper loss?

::: misses
- [any] $(\beta/2)P_{fe}$.
:::
:::

::: part
answer: P*k^b
unit: W
tolerance: 0.5%

### Core loss if $B_\text{ac}$ were cut to {k} of the optimum?

::: misses
- [any] $P k^\beta$.
:::
:::

::: part
answer: P*b/2/k^2
unit: W
tolerance: 0.5%

### Copper loss then?

::: misses
- [any] $P_{cu}/k^2$.
:::
:::
:::

::: check
kind: parts
given: a = 8 | 20; i = 1 | 3; b = 2 | 4; j = 5 | 12; l = 60 | 150; N = 10 | 20; A = 0.5 | 1

## A transformer: primary {a} turns at {i} A, secondary {b} turns at {j} A; {l} µV·s on an {N}-turn winding on {A} cm².

::: part
answer: a*i/(a*i + b*j)
tolerance: 0.5%

### Primary's window share?

::: misses
- [any] By ampere-turns.
:::
:::

::: part
answer: l*1e-6/(2*N*A*1e-4)
unit: T
tolerance: 0.5%

### Peak AC flux density?

::: misses
- [any] $\lambda/(2NA_c)$.
:::
:::
:::

::: check
kind: parts
given: L = 22 | 100; I = 3 | 8; N = 10 | 25; A = 0.6 | 1.2

## An inductor ({L} µH, {N} turns, {A} cm²) carrying {I} A peak.

::: part
answer: L*1e-6*I/(N*A*1e-4)
unit: T
tolerance: 0.5%

### Peak flux density?

::: misses
- [any] $LI/(NA_c)$.
:::
:::

::: part
answer: 0.5*L*1e-6*I^2*1e6
unit: µJ
tolerance: 0.5%

### Energy stored at the peak?

::: misses
- [any] $\frac{1}{2}LI^2$.
:::
:::
:::

::: check
kind: parts
given: g = 24 | 36; V = 5 | 12 | 15; L = 4.7 | 10; s = 0.5 | 0.75

## A peak current-mode buck makes {V} V from {g} V with {L} µH and a compensating ramp of {s} times the falling slope.

::: part
answer: -(V/L - s*V/L)/((g - V)/L + s*V/L)
tolerance: 0.5%

### What is α?

::: misses
- [any] $-(m_2 - m_a)/(m_1 + m_a)$.
:::
:::

::: part
answer: ln(100)/ln(1/abs((V/L - s*V/L)/((g - V)/L + s*V/L)))
unit: cycles
tolerance: 0.5%

### Over how many cycles does a current disturbance shrink a hundredfold?

::: misses
- [any] $|\alpha|^n = 0.01$.
:::
:::
:::

::: check
kind: parts
given: L = 10 | 47 | 220; I = 2 | 8 | 20; B = 0.2 | 0.3

## An inductor of {L} µH carries {I} A peak with $B_\text{max}$ = {B} T in a gap-dominated core.

::: part
answer: 0.5*L*1e-6*I^2*1e3
unit: mJ
tolerance: 0.5%

### How much energy does it store at peak?

::: misses
- [any] $\frac12LI^2$.
:::
:::

::: part
answer: 4*pi*1e-7*L*1e-6*I^2/B^2*1e6
unit: cm^3
tolerance: 0.5%

### What gap volume must hold that energy?

::: misses
- [any] Energy density $B^2/2\mu_0$: volume $\mu_0LI^2/B^2$.
:::
:::
:::

::: check
kind: parts
given: f = 50 | 100 | 200 | 500; A = 1 | 2.5 | 5

## A winding at {f} kHz needs {A} mm² of copper, made of litz strands two skin depths in diameter.

::: part
answer: sqrt(1.724e-8/(pi*f*1e3*4*pi*1e-7))*1e3
unit: mm
tolerance: 0.5%

### What is the skin depth?

::: misses
- [any] $\sqrt{\rho/(\pi f\mu_0)}$.
:::
:::

::: part
answer: ceil(A/(pi*(sqrt(1.724e-8/(pi*f*1e3*4*pi*1e-7))*1e3)^2) - 1e-9)
unit: strands
tolerance: 0

### How many strands of diameter 2δ does it take?

::: misses
- [any] Total area over $\pi\delta^2$, rounded up.
:::
:::
:::
:::
