---
title: "Problem set 11: designing DC–DC converters"
heading: "Problem set 11: design problems for DC–DC converters: power stages, flyback and forward converters, loss budgets, voltage-mode and digital loops, slope compensation, input filters, magnetics and thermal limits"
eyebrow: S11 · Problem set 11
type: problems
---

::: hook
Each problem here starts from a specification and asks for the numbers a designer would choose: an inductance, a turns ratio, a compensator gain, a clock rate, a heat sink. They draw on the whole first two thirds of the course. Work them as you would a real design: write down the requirement first, then the formula that meets it.
:::

::: pool
pick: 12

::: check
kind: parts
given: g = 12 | 24 | 48; V = 1.2 | 3.3 | 5; I = 5 | 15; f = 300 | 500; r = 0.2 | 0.4; v = 10 | 25

## Design a buck from {g} V to {V} V at {I} A and {f} kHz, with inductor ripple {r} of the load current and at most {v} mV of output ripple (ignoring ESR).

::: part
answer: V*(1 - V/g)/(r*I*f*1e3)*1e6
unit: µH
tolerance: 0.5%

### What inductance?

::: misses
- [any] $V(1 - D)/(\Delta I f_s)$.
:::
:::

::: part
answer: r*I/(8*f*1e3*v*1e-3)*1e6
unit: µF
tolerance: 0.5%

### What capacitance?

::: misses
- [any] $\Delta I/(8f_s\Delta V)$.
:::
:::

::: part
answer: sqrt(V/g*(I^2 + (r*I)^2/12))
unit: A
tolerance: 0.5%

### What RMS current does the high-side switch carry?

::: misses
- [any] $\sqrt{D(I^2 + \Delta I^2/12)}$.
:::
:::
:::

::: check
kind: parts
given: g = 5 | 12; V = 24 | 48; o = 0.5 | 2; f = 200 | 400; r = 0.3 | 0.5; v = 50 | 200

## Design a boost from {g} V to {V} V at {o} A out and {f} kHz, with inductor ripple {r} of the inductor's current and at most {v} mV of output ripple.

::: part
answer: o*V/g
unit: A
tolerance: 0.5%

### What is the inductor's average current?

::: misses
- [o] The inductor carries the input current.
- [any] $I_o/(1 - D)$.
:::
:::

::: part
answer: g*(1 - g/V)/(r*o*V/g*f*1e3)*1e6
unit: µH
tolerance: 0.5%

### What inductance?

::: misses
- [any] $V_gD/(\Delta I f_s)$.
:::
:::

::: part
answer: o*(1 - g/V)/(f*1e3*v*1e-3)*1e6
unit: µF
tolerance: 0.5%

### What output capacitance, given that it alone supplies the load during each on-time?

::: misses
- [any] $I_oD/(f_s\Delta V)$.
:::
:::
:::

::: check
kind: parts
given: g = 48 | 160 | 375; V = 5 | 12 | 24; n = 0.1 | 0.25 | 0.5

## A flyback in continuous conduction makes {V} V from {g} V with $N_s/N_p$ = {n}.

::: part
answer: V/(V + n*g)
tolerance: 0.5%

### What duty cycle does it run at?

::: misses
- [any] Solve $V = nV_gD/(1 - D)$.
:::
:::

::: part
answer: g + V/n
unit: V
tolerance: 0.5%

### What does the switch block, before any leakage spike?

::: misses
- [any] $V_g + V/n$.
:::
:::
:::

::: check
kind: parts
given: g = 100 | 170 | 340; D = 0.3 | 0.45; P = 10 | 40; f = 65 | 100

## A flyback runs in the discontinuous mode from {g} V at D = {D} and {f} kHz, delivering {P} W.

::: part
answer: (g*D)^2/(2*P*f*1e3)*1e6
unit: µH
tolerance: 0.5%

### What primary inductance gives that power?

::: misses
- [any] $P = (V_gD)^2/(2L_pf_s)$.
:::
:::

::: part
answer: 2*P/(g*D)
unit: A
tolerance: 0.5%

### What is the primary's peak current?

::: misses
- [any] $V_gD/(L_pf_s)$.
:::
:::
:::

::: check
kind: parts
given: a = 36 | 200 | 300; k = 1.5 | 2; V = 3.3 | 12; M = 0.4 | 0.45

## A forward converter with a 1:1 reset winding makes {V} V from an input that ranges from {a} V to {k} times that, reaching D = {M} at the lowest input.

::: part
answer: V/(M*a)
tolerance: 0.5%

### What turns ratio $N_s/N_p$?

::: misses
- [any] $V/(D_\max V_{g,\min})$.
:::
:::

::: part
answer: M/k
tolerance: 0.5%

### What duty cycle does it run at the highest input?

::: misses
- [any] D scales inversely with the input.
:::
:::

::: part
answer: 2*k*a
unit: V
tolerance: 0.5%

### What must the switch block?

::: misses
- [k*a] The reset winding doubles it.
- [any] $2V_{g,\max}$.
:::
:::
:::

::: check
kind: parts
given: g = 12 | 24; V = 1.8 | 5; I = 10 | 20; h = 6 | 12; l = 2 | 4; t = 5 | 10; f = 300 | 600; Q = 10 | 25

## A synchronous buck from {g} V to {V} V at {I} A and {f} kHz has a {h} mΩ high-side and a {l} mΩ low-side switch, {t} ns edges, and {Q} nC of gate charge per switch driven from 5 V.

::: part
answer: I^2*(V/g*h + (1 - V/g)*l)*1e-3
unit: W
tolerance: 0.5%

### What is the conduction loss?

::: misses
- [any] $I^2(DR_\text{hs} + (1 - D)R_\text{ls})$.
:::
:::

::: part
answer: g*I*t*1e-9*f*1e3
unit: W
tolerance: 0.5%

### What is the high-side switch's overlap loss?

::: misses
- [any] $\frac12V_gI(t_\text{on} + t_\text{off})f_s$.
:::
:::

::: part
answer: V*I/(V*I + I^2*(V/g*h + (1 - V/g)*l)*1e-3 + g*I*t*1e-9*f*1e3 + 2*Q*1e-9*5*f*1e3)*100
unit: %
tolerance: 0.5%

### What efficiency results, counting the gate drive too?

::: misses
- [any] Output over output plus all three losses.
:::
:::
:::

::: check
kind: parts
given: g = 12 | 48; M = 1 | 2.5; o = 2 | 5 | 10; c = 20 | 50

## A voltage-mode buck from {g} V has a {M} V PWM ramp and an LC corner at {o} kHz; it should cross over at {c} kHz.

::: part
answer: 20*log(g/M*(o/c)^2)
unit: dB
tolerance: 0.5%

### What is the plant's gain at crossover (well above the corner, ignoring ESR)?

::: misses
- [any] $(V_g/V_M)(f_0/f_c)^2$ in dB.
:::
:::

::: part
answer: -20*log(g/M*(o/c)^2)
unit: dB
tolerance: 0.5%

### What gain must the compensator have there?

::: misses
- [any] Enough to make the loop gain 0 dB.
:::
:::
:::

::: check
kind: parts
given: f = 100 | 250 | 500; c = 5 | 10 | 25; T = 0.5 | 1.5; p = 55 | 65

## A digitally controlled converter switches at {f} kHz with {T} µs of computation delay and crosses over at {c} kHz; its compensator was designed in continuous time for {p}° of phase margin.

::: part
answer: 360*c*1e3*(T*1e-6 + 0.5/(f*1e3))
unit: °
tolerance: 0.5%

### How much phase does the digital delay cost at crossover?

::: misses
- [360*c*1e3*T*1e-6] The PWM's hold adds half a period.
- [any] $\omega_c(T_c + T_s/2)$ in degrees.
:::
:::

::: part
answer: p - 360*c*1e3*(T*1e-6 + 0.5/(f*1e3))
unit: °
tolerance: 0.5%

### What phase margin is left?

::: misses
- [any] The design margin less the delay's phase.
:::
:::
:::

::: check
kind: parts
given: g = 5 | 12 | 48; f = 200 | 500 | 1000; b = 10 | 12; r = 1.2 | 3.3; k = 0.25 | 0.5

## A digital buck from {g} V switches at {f} kHz. Its {b}-bit ADC spans {r} V and sees the output through a divider of ratio {k}.

::: part
answer: r/2^b/k*1e3
unit: mV
tolerance: 0.5%

### What output change does one ADC step represent?

::: misses
- [r/2^b*1e3] Refer the step through the divider.
- [any] Full scale over $2^b$, divided by the ratio.
:::
:::

::: part
answer: g*f*1e3/(r/2^b/k)/1e6
unit: MHz
tolerance: 0.5%

### What PWM clock is needed for a PWM step finer than that?

::: misses
- [any] $f_\text{clk} > V_gf_s/\Delta V_\text{ADC}$.
:::
:::
:::

::: check
kind: parts
given: g = 5 | 12; V = 15 | 30 | 36; L = 4.7 | 10 | 22

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

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

### What is the inductor current's falling slope $m_2$?

::: misses
- [g/L] That's the rising slope.
- [any] $(V - V_g)/L$.
:::
:::

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

### What compensating ramp makes the current loop stable at any duty cycle, by the usual choice?

::: misses
- [any] $m_a = m_2/2$.
:::
:::

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

### What is α with that ramp?

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

::: check
kind: parts
given: P = 50 | 200 | 1000; g = 12 | 48 | 380; n = 1 | 2 | 4

## A {P} W regulated converter runs from {g} V behind an input filter damped by $R_d$ with $C_d$ = {n}$C_f$.

::: part
answer: g^2/P
unit: Ω
tolerance: 0.5%

### What is the magnitude of the converter's negative input resistance?

::: misses
- [any] $V_g^2/P$.
:::
:::

::: part
answer: g^2/(2*P)*n/sqrt(2*(2 + n))
unit: Ω
tolerance: 0.5%

### What is the largest characteristic impedance $R_0$ that keeps the filter's peak 6 dB below it?

::: misses
- [any] Set $R_0\sqrt{2(2 + n)}/n$ equal to half of $V_g^2/P$.
:::
:::
:::

::: check
kind: parts
given: L = 10 | 33 | 100; I = 4 | 10; R = 3 | 8; B = 0.25 | 0.3; P = 0.5 | 1.5; K = 0.4 | 0.6; A = 0.5 | 1.5

## An inductor of {L} µH carries {I} A peak and {R} A RMS, with $B_\text{max}$ = {B} T, {P} W of copper loss and $K_u$ = {K}. The chosen core has $A_c$ = {A} cm².

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

### What core geometry constant $K_g$ is required?

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

::: part
answer: ceil(L*1e-6*I/(B*A*1e-4) - 1e-9)
unit: turns
tolerance: 0

### How many turns on the chosen core?

::: misses
- [any] $LI_\max/(B_\max A_c)$, rounded up.
:::
:::

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

### What gap?

::: misses
- [any] $\mu_0LI_\max^2/(B_\max^2A_c)$.
:::
:::
:::

::: check
kind: parts
given: g = 48 | 100 | 300; D = 0.3 | 0.4; f = 100 | 200 | 400; B = 0.08 | 0.12; A = 0.4 | 1; V = 5 | 12

## A forward converter's transformer sees {g} V for D = {D} of each {f} kHz period on a core of {A} cm², designed for $B_\text{ac}$ = {B} T; the output is {V} V.

::: part
answer: ceil(g*D/(f*1e3)/(2*B*A*1e-4) - 1e-9)
unit: turns
tolerance: 0

### How many primary turns?

::: misses
- [ceil(g*D/(f*1e3)/(B*A*1e-4) - 1e-9)] The flux swings by twice $B_\text{ac}$.
- [any] $\lambda/(2B_\text{ac}A_c)$, rounded up.
:::
:::

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

### How many secondary turns (before rounding)?

::: misses
- [any] $N_s = nN_p$ with $n = V/(DV_g)$.
:::
:::

::: part
answer: g*D/(f*1e3)/(2*ceil(g*D/(f*1e3)/(2*B*A*1e-4) - 1e-9)*A*1e-4)
unit: T
tolerance: 0.5%

### What peak AC flux density do the rounded primary turns give?

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

::: check
kind: parts
given: R = 10 | 25 | 40; I = 10 | 20 | 30; r = 1.5 | 3; a = 0.006 | 0.008; A = 40 | 70

## A MOSFET of {R} mΩ at 25 °C (α = {a} per kelvin) carries {I} A RMS through {r} K/W to {A} °C air.

::: part
answer: (A + r*I^2*R*1e-3*(1 - 25*a))/(1 - r*I^2*R*1e-3*a)
unit: °C
tolerance: 0.5%

### What junction temperature does it settle at?

::: misses
- [any] $(T_a + k(1 - 25\alpha))/(1 - k\alpha)$ with $k = R_\theta I^2R_{25}$.
:::
:::

::: part
answer: 1/sqrt(r*R*1e-3*a)
unit: A
tolerance: 0.5%

### Above what current would it run away?

::: misses
- [any] Where $k\alpha$ reaches 1.
:::
:::
:::

::: check
kind: parts
given: V = 1.8 | 5 | 12; g = 24 | 48; I = 3 | 10; x = 0.1 | 0.2; f = 150 | 400

## A buck from {g} V to {V} V rated {I} A at {f} kHz, with a diode, must stay in continuous conduction down to {x} of full load.

::: part
answer: V*(1 - V/g)/(2*x*I*f*1e3)*1e6
unit: µH
tolerance: 0.5%

### What is the least inductance?

::: misses
- [any] Half the ripple equals the lightest load current.
:::
:::

::: part
answer: 2*x
tolerance: 0.5%

### What ripple, as a fraction of full-load current, does it then have at full load?

::: misses
- [any] Twice the boundary fraction.
:::
:::
:::
:::
