---
title: "Problem set 7: limitations, delay, state space and state feedback"
heading: "Problem set 7: sensitivity and fundamental limits, time delay and the Smith predictor, state-space models, controllability and pole placement"
eyebrow: S9 · Problem set 7
type: problems
---

::: hook
These problems cover lessons 28, 29, 32 and 33: sensitivity, the waterbed effect and the limits set by right-half-plane zeros, unstable poles and delays; Padé approximations, digital-control delay and the Smith predictor; state-space models, matrix exponentials and transfer functions; and controllability with pole placement by state feedback.
:::

::: pool
pick: 12

::: check
kind: parts
given: M = 0.4 | 0.8 | 2.5; f = 110 | 150 | 175

## At one frequency a loop gain has magnitude {M} and phase −{f}°.

::: part
answer: 1/abs(1 + M*exp(-j*f*pi/180))
tolerance: 0.5%

### |S|?

::: misses
- [any] $1/|1 + L|$.
:::
:::

::: part
answer: M/abs(1 + M*exp(-j*f*pi/180))
tolerance: 0.5%

### |T|?

::: misses
- [any] $|L|/|1 + L|$.
:::
:::
:::

::: check
kind: parts
given: p = 1 | 4; q = 0.5 | 2; b = 2 | 6; a = 3 | 8; c = 15 | 25

## A loop of relative degree two with unstable poles at +{p} and +{q}; separately, a stable loop with |S| = 1/{a} below {b} rad/s.

::: part
answer: pi*(p + q)
unit: rad/s
tolerance: 0.5%

### $\int_0^\infty\ln|S|\,d\omega$ for the first?

::: misses
- [any] $\pi\sum p_k$.
:::
:::

::: part
answer: exp(b*ln(a)/(c - b))
tolerance: 0.5%

### Second loop's |S| if the excess is spread evenly from {b} to {c} rad/s?

::: misses
- [any] Balance the integral.
:::
:::
:::

::: check
kind: parts
given: z = 8 | 20 | 50; p = 1 | 3

## A plant with an RHP zero at +{z} and an RHP pole at +{p} rad/s.

::: part
answer: (z + p)/(z - p)
tolerance: 0.5%

### Least achievable $M_s$?

::: misses
- [any] $(z + p)/(z - p)$.
:::
:::

::: part
answer: 2*p
unit: rad/s
tolerance: 0.5%

### Lowest crossover by the rule of thumb?

::: misses
- [any] $2p$.
:::
:::

::: part
answer: z/2
unit: rad/s
tolerance: 0.5%

### Highest crossover by the rule of thumb?

::: misses
- [any] $z/2$.
:::
:::
:::

::: check
kind: parts
given: R = 4 | 25; D = 0.25 | 0.55; L = 6.8 | 33

## A boost converter: L = {L} µH, R = {R} Ω, D = {D}.

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

### RHP zero?

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

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

### Crossover limit by the half-the-zero rule?

::: misses
- [any] Half the zero.
:::
:::
:::

::: check
kind: parts
given: u = 0.4 | 1.2 | 2.5; h = 0.3 | 2

## Padé approximations of a {h} s delay.

::: part
answer: (u - 2*atan(u/2))*180/pi
unit: °
tolerance: 0.5%

### First-order Padé's phase shortfall at ωθ = {u}?

::: misses
- [any] $\omega\theta - 2\tan^{-1}(\omega\theta/2)$.
:::
:::

::: part
answer: 2/h
unit: rad/s
tolerance: 0.5%

### Its RHP zero?

::: misses
- [any] $2/\theta$.
:::
:::
:::

::: check
kind: parts
given: K = 1.5 | 6; h = 0.08 | 0.4; P = 45 | 60

## The plant $Ke^{-s\theta}/s$ with K = {K}, θ = {h} s, under proportional control.

::: part
answer: (90 - P)*pi/180/(K*h)
tolerance: 0.5%

### $K_p$ for {P}° of phase margin?

::: misses
- [any] $(90° - \text{PM})/(K\theta)$.
:::
:::

::: part
answer: pi/(2*K*h)
tolerance: 0.5%

### Largest stable $K_p$?

::: misses
- [any] $\pi/(2K\theta)$.
:::
:::

::: part
answer: P*pi/180/((90 - P)*pi/180/h)*1000
unit: ms
tolerance: 0.5%

### Delay margin at the first gain?

::: misses
- [any] PM in radians over $\omega_c$, with $\omega_c = KK_p$.
:::
:::
:::

::: check
kind: parts
given: f = 0.3 | 3; s = 8 | 40; P = 50 | 65

## A digital loop sampled at {s} kHz crosses at {f} kHz with {P}° of margin before sampling effects.

::: part
answer: 1.5*2*pi*f/s*180/pi
unit: °
tolerance: 0.5%

### Phase lost to 1.5 samples of delay?

::: misses
- [any] $1.5\omega_cT_s$.
:::
:::

::: part
answer: P - 1.5*2*pi*f/s*180/pi
unit: °
tolerance: 0.5%

### Margin left?

::: misses
- [any] Subtract.
:::
:::
:::

::: check
kind: parts
given: K = 0.4 | 3; t = 3 | 20; h = 2 | 8; c = 1 | 4

## A Smith predictor around $Ke^{-s\theta}/(\tau s + 1)$: K = {K}, τ = {t} s, θ = {h} s, target $\tau_c$ = {c} s.

::: part
answer: t/(K*c)
tolerance: 0.5%

### PI $K_p$ (with $T_i$ = τ)?

::: misses
- [any] $\tau/(K\tau_c)$.
:::
:::

::: part
answer: h + c*ln(50)
unit: s
tolerance: 0.5%

### 2% settling time with a perfect model?

::: misses
- [any] θ + $\tau_c\ln 50$.
:::
:::
:::

::: check
kind: parts
given: a = -6 | -2; b = 1 | 4; c = 0.5 | 1; d = -5 | -1; t = -3 | -7; e = 15 | 40

## $A = \begin{pmatrix} \given{a} & \given{b} \\ \given{c} & \given{d} \end{pmatrix}$; and another 2 × 2 matrix with trace {t}, determinant {e}.

::: part
answer: ((a + d) + sqrt((a + d)^2 - 4*(a*d - b*c)))/2
tolerance: 0.5%

### Larger eigenvalue of the first?

::: misses
- [any] $\frac{\text{tr} + \sqrt{\text{tr}^2 - 4\det}}{2}$.
:::
:::

::: part
answer: -t/(2*sqrt(e))
tolerance: 0.5%

### Damping ratio of the second?

::: misses
- [any] $-\text{tr}/2\sqrt{\det}$.
:::
:::
:::

::: check
kind: parts
given: p = 0.5 | 2; q = 3 | 6; t = 0.4 | 1.2; b = 2 | 5

## Companion form with poles −{p} and −{q}, input gain {b}: $\ddot{y} + (p + q)\dot{y} + pq\,y = b\,u$.

::: part
answer: (q*exp(-p*t) - p*exp(-q*t))/(q - p)
tolerance: 0.5%

### $y(\given{t})$ from y(0) = 1, $\dot{y}(0)$ = 0, u = 0?

::: misses
- [any] $\frac{qe^{-pt} - pe^{-qt}}{q - p}$.
:::
:::

::: part
answer: b/(p*q)
tolerance: 0.5%

### DC gain?

::: misses
- [any] $b/(pq)$.
:::
:::
:::

::: check
kind: parts
given: a = -3 | -1; b = 1 | 2; c = 0.5 | 1.5; d = -2 | 2; e = 1 | 3; f = 1 | -2

## $A = \begin{pmatrix} \given{a} & \given{b} \\ \given{c} & \given{d} \end{pmatrix}$, $B = \begin{pmatrix} \given{e} \\ \given{f} \end{pmatrix}$.

::: part
answer: e*(c*e + d*f) - f*(a*e + b*f)
tolerance: 0.5%

### $\det[B, AB]$?

::: misses
- [any] Compute AB, then the determinant.
:::
:::

::: part
answer: a + d
tolerance: 0.5%

### Sum of the open-loop poles?

::: misses
- [any] The trace.
:::
:::
:::

::: check
kind: parts
given: t = 40 | 120; K = 4 | 15; w = 25 | 70; z = 0.6 | 0.9

## A servo $\ddot\theta = -\dot\theta/\tau + (K_0/\tau)u$ with τ = {t} ms and $K_0$ = {K}, placed at $\omega_n$ = {w}, ζ = {z}.

::: part
answer: w^2/(K*1000/t)
tolerance: 0.5%

### Position gain $k_1$?

::: misses
- [any] $\omega_n^2/(K_0/\tau)$.
:::
:::

::: part
answer: (2*z*w - 1000/t)/(K*1000/t)
tolerance: 0.5%

### Velocity gain $k_2$?

::: misses
- [any] $(2\zeta\omega_n - 1/\tau)/(K_0/\tau)$.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 6; b = 1 | 4; w = 5 | 12; z = 0.7 | 1

## $\dot{x} = -\given{a}x + \given{b}u$ with state feedback and integral action, placed at $\omega_n$ = {w}, ζ = {z}.

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

### $k_i$?

::: misses
- [any] $\omega_n^2/b$.
:::
:::

::: part
answer: (2*z*w - a)/b
tolerance: 0.5%

### k?

::: misses
- [any] $(2\zeta\omega_n - a)/b$.
:::
:::
:::

::: check
kind: parts
given: u = 1 | 2 | 3

## A delay is replaced by a second-order Padé approximation, evaluated at ωθ = {u}.

::: part
answer: 2*atan((u/2)/(1 - u^2/12))*180/pi
unit: °
tolerance: 1%

### What phase lag does the approximation give?

::: misses
- [any] $2\tan^{-1}\frac{\omega\theta/2}{1 - (\omega\theta)^2/12}$.
:::
:::

::: part
answer: u*180/pi
unit: °
tolerance: 0.5%

### What does the true delay give?

::: misses
- [any] ωθ radians.
:::
:::
:::

::: check
kind: parts
given: a = 0 | 5 | 20; c = 2 | 10; b = 10 | 200; w = 30 | 80; z = 0.6 | 0.9

## A plant $\ddot y + \given{c}\dot y + \given{a}y = \given{b}u$ gets state feedback for $\omega_n$ = {w} rad/s, ζ = {z}, with a reference gain for unit DC gain.

::: part
answer: (2*z*w - c)/b
tolerance: 0.5%

### What velocity gain $k_2$?

::: misses
- [any] $(2\zeta\omega_n - a_1)/b_0$.
:::
:::

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

### What reference gain $k_r$?

::: misses
- [any] $\omega_n^2/b_0$.
:::
:::
:::
:::
