---
title: "Problem set 4: dynamics and control"
heading: "Problem set 4: averaged small-signal models, converter transfer functions, compensator design and input filters"
eyebrow: S11 · Problem set 4
type: problems
---

::: hook
These problems cover lessons 16 to 20: the buck's and boost's control-to-output transfer functions with their resonances and right-half-plane zero, ESR zeros, loop gain and disturbance rejection, type II and type III compensation, and input-filter interaction and damping.
:::

::: pool
pick: 12

::: check
kind: parts
given: g = 5 | 12 | 24; L = 4.7 | 15; C = 22 | 100; R = 1 | 4

## A buck from {g} V with L = {L} µH, C = {C} µF, load {R} Ω.

::: part
answer: g
unit: V
tolerance: 0.5%

### DC gain of $G_{vd}$, volts per unit duty?

::: misses
- [any] $V_g$.
:::
:::

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

### Resonance?

::: misses
- [any] $1/2\pi\sqrt{LC}$.
:::
:::

::: part
answer: R*sqrt(C/L)
tolerance: 0.5%

### Q?

::: misses
- [any] $R\sqrt{C/L}$.
:::
:::
:::

::: check
kind: parts
given: g = 5 | 12; D = 0.5 | 0.7; L = 22 | 68; C = 10 | 47; R = 15 | 50

## A boost from {g} V at D = {D}: L = {L} µH, C = {C} µF, load {R} Ω.

::: part
answer: g/(1 - D)^2
unit: V
tolerance: 0.5%

### DC duty gain?

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

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

### Resonance?

::: misses
- [any] $D'/2\pi\sqrt{LC}$.
:::
:::

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

### RHP zero?

::: misses
- [any] $D'^2R/2\pi L$.
:::
:::
:::

::: check
kind: parts
given: E = 5 | 30 | 100; C = 22 | 220 | 1000; r = 2 | 4 | 8

## An output capacitor of {C} µF with {E} mΩ of ESR; and a buck whose output impedance peaks at Q × $Z_0$ with Q = {r}.

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

### ESR zero?

::: misses
- [any] $1/2\pi R_\text{ESR}C$.
:::
:::

::: part
answer: 20*log(r)
unit: dB
tolerance: 0.05

### How far does $G_{vd}$ peak above its DC value?

::: misses
- [any] $20\log Q$.
:::
:::
:::

::: check
kind: parts
given: g = 9 | 24; V = 1.8 | 5; r = 0.6 | 1.0; M = 0.6 | 1.8; T = 30 | 200; d = 0.5 | 2

## A buck from {g} V to {V} V, reference {r} V, ramp {M} V; at low frequency its compensated loop gain is {T}.

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

### Uncompensated DC loop gain?

::: misses
- [any] $V_gH/V_M$.
:::
:::

::: part
answer: V/g*d/(1 + T)*1000
unit: mV
tolerance: 0.5%

### Output change for a {d} V input step, closed loop?

::: misses
- [any] $D\Delta V_g/(1 + T)$.
:::
:::
:::

::: check
kind: parts
given: z = 3 | 10; p = 100 | 300; c = 20 | 60; P = -175 | -165

## A type III compensator (zeros at {z} kHz, poles at {p} kHz) at a {c} kHz crossover, where the plant's phase is {P}°.

::: part
answer: -90 + 2*atan(c/z)*180/pi - 2*atan(c/p)*180/pi
unit: °
tolerance: 0.5%

### Compensator phase?

::: misses
- [any] $-90 + 2\tan^{-1}(f/f_z) - 2\tan^{-1}(f/f_p)$.
:::
:::

::: part
answer: 180 + P - 90 + 2*atan(c/z)*180/pi - 2*atan(c/p)*180/pi
unit: °
tolerance: 0.5%

### Phase margin?

::: misses
- [any] 180 + plant + compensator.
:::
:::
:::

::: check
kind: parts
given: r = 2 | 3 | 6; Q = 1.5 | 3; z = 3 | 8; p = 60 | 200

## A plant with Q = {Q} at {r} times its resonance; a type II zero at {z} kHz and pole at {p} kHz.

::: part
answer: -180 + atan((r/Q)/(r^2 - 1))*180/pi
unit: °
tolerance: 0.5%

### Plant phase?

::: misses
- [any] Angle of $1 - r^2 + jr/Q$, negated.
:::
:::

::: part
answer: asin((p - z)/(p + z))*180/pi
unit: °
tolerance: 0.5%

### Type II maximum boost?

::: misses
- [any] $\sin^{-1}\frac{f_p - f_z}{f_p + f_z}$.
:::
:::
:::

::: check
kind: parts
given: g = 2 | 4; c = 30 | 80; D = 0.4 | 0.7; L = 15 | 47; R = 8 | 30

## A plant of flat magnitude {g} near a {c} kHz crossover; and a boost at D = {D}, L = {L} µH, load {R} Ω.

::: part
answer: 2*pi*c*1000/g
unit: rad/s
tolerance: 0.5%

### Integrator gain for that crossover?

::: misses
- [any] $2\pi f_c/g$.
:::
:::

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

### The boost's crossover limit (a fifth of its RHP zero)?

::: misses
- [any] $D'^2R/(10\pi L)$.
:::
:::
:::

::: check
kind: parts
given: V = 12 | 48; P = 25 | 200; L = 4.7 | 22; C = 10 | 47

## A converter takes {P} W from {V} V through a filter with $L_f$ = {L} µH, $C_f$ = {C} µF.

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

### Converter's input resistance?

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

::: part
answer: sqrt(L/C)
unit: Ω
tolerance: 0.5%

### Filter's $R_0$?

::: misses
- [any] $\sqrt{L/C}$.
:::
:::

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

### Filter resonance?

::: misses
- [any] $1/2\pi\sqrt{LC}$.
:::
:::
:::

::: check
kind: parts
given: r = 0.4 | 1.2; n = 2 | 4 | 6

## Damping a filter with $R_0$ = {r} Ω using $C_d$ = {n}$C_f$.

::: part
answer: r*sqrt((2 + n)*(4 + 3*n)/(2*n^2*(4 + n)))
unit: Ω
tolerance: 0.5%

### Optimal $R_d$?

::: misses
- [any] Middlebrook's optimum.
:::
:::

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

### Resulting peak?

::: misses
- [any] $R_0\sqrt{2(2 + n)}/n$.
:::
:::
:::

::: check
kind: parts
given: V = 12 | 24 | 48; P = 20 | 60; m = 6 | 10; r = 0.5 | 1

## A {P} W converter on {V} V, needing a {m} dB margin; its filter has $R_0$ = {r} Ω.

::: part
answer: V^2/P/10^(m/20)
unit: Ω
tolerance: 0.5%

### Largest allowed filter peak?

::: misses
- [any] $|Z_\text{in}|/10^{m/20}$.
:::
:::

::: part
answer: r*sqrt(2*(2 + 4))/4
unit: Ω
tolerance: 0.5%

### Optimally damped peak with n = 4?

::: misses
- [any] $R_0\sqrt{12}/4$.
:::
:::
:::

::: check
kind: parts
given: Z = 8 | 40; T = 15 | 150; g = 9 | 15; V = 3.3 | 5

## A converter ({g} V to {V} V) with open-loop output impedance {Z} mΩ and loop gain {T} at low frequency.

::: part
answer: Z/(1 + T)
unit: mΩ
tolerance: 0.5%

### Closed-loop output impedance?

::: misses
- [any] $Z/(1 + T)$.
:::
:::

::: part
answer: V/g/(1 + T)
tolerance: 0.5%

### Closed-loop line-to-output gain?

::: misses
- [any] $D/(1 + T)$.
:::
:::
:::

::: check
kind: parts
given: L = 6.8 | 22; C = 47 | 220; R = 0.5 | 2; f = 200 | 800

## A buck (L = {L} µH, C = {C} µF, R = {R} Ω) switching at {f} kHz.

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

### Resonance?

::: misses
- [any] $1/2\pi\sqrt{LC}$.
:::
:::

::: part
answer: f/10
unit: kHz
tolerance: 0.5%

### Crossover by the tenth-of-switching rule?

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

::: part
answer: f/10/(1/(2*pi*sqrt(L*1e-6*C*1e-6))/1000)
tolerance: 0.5%

### Ratio of crossover to resonance?

::: misses
- [any] Divide.
:::
:::
:::

::: check
kind: parts
given: p = 30 | 45 | 60 | 70; c = 5 | 20 | 50

## A type II compensator must add {p}° of phase boost at a {c} kHz crossover, with its zero and pole placed symmetrically, at $f_c/k$ and $kf_c$.

::: part
answer: tan((45 + p/2)*pi/180)
tolerance: 0.5%

### What factor k?

::: misses
- [any] The boost is $\arctan k - \arctan(1/k)$, so $k = \tan(45° + \phi/2)$.
:::
:::

::: part
answer: c/tan((45 + p/2)*pi/180)
unit: kHz
tolerance: 0.5%

### Where is the zero?

::: misses
- [any] $f_c/k$.
:::
:::
:::

::: check
kind: parts
given: C = 47 | 220 | 1000; E = 5 | 20 | 80; c = 10 | 40

## An output capacitor of {C} µF has {E} mΩ of ESR; the loop crosses over at {c} kHz.

::: part
answer: 1/(2*pi*C*1e-6*E*1e-3)/1e3
unit: kHz
tolerance: 0.5%

### Where is the ESR zero?

::: misses
- [any] $1/(2\pi C\,\text{ESR})$.
:::
:::

::: part
answer: atan(c*2*pi*C*1e-6*E*1e-3)*180/pi
unit: °
tolerance: 0.5%

### How much phase does the zero add at crossover?

::: misses
- [any] $\arctan(f_c/f_\text{esr})$.
:::
:::
:::

::: check
kind: parts
given: k = 50 | 100 | 200; f = 250 | 500 | 1000; g = 5 | 12; d = 2 | 4

## A digital buck from {g} V switches at {f} kHz with a {k} MHz PWM counter, and dithers over $2^\given{d}$ periods.

::: part
answer: log(k*1e3/f)/log(2)
unit: bits
tolerance: 0.5%

### How many bits of resolution does the counter give?

::: misses
- [any] $\log_2(f_\text{clk}/f_s)$.
:::
:::

::: part
answer: g*f*1e3/(k*1e6)*1e3
unit: mV
tolerance: 0.5%

### How far does one counter step move the output?

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

::: part
answer: g*f*1e3/(k*1e6)*1e3/2^d
unit: mV
tolerance: 0.5%

### And the effective step with dithering?

::: misses
- [any] Divide by $2^d$.
:::
:::
:::
:::
