---
title: Final exam
heading: "Final exam: feedback control"
eyebrow: S9 · Final exam
type: problems
---

::: hook
Twelve problems from the whole course: feedback and sensitivity, step-response specifications, Routh–Hurwitz, error constants, root-locus and frequency-domain design, PID tuning, Nyquist and stability margins, fundamental limits, state space, pole placement, integral action, observers, LQR and Kalman filtering, digital control, describing functions and Lyapunov functions, feedforward, cascade and multivariable loops, and robustness. Give yourself three hours and work without the lessons open. "Another set" deals a different exam.
:::

::: pool
pick: 12

::: check
kind: parts
given: A = 5000 | 200000; b = 0.01 | 0.05; d = 8 | 25; L = 9 | 39

## An amplifier with open-loop gain {A} and β = {b}; separately, a loop of gain {L} facing a {d} mV output disturbance.

::: part
answer: A/(1 + A*b)
tolerance: 0.1%

### Closed-loop gain?

::: misses
- [any] $A/(1 + A\beta)$.
:::
:::

::: part
answer: d/(1 + L)
unit: mV
tolerance: 0.5%

### Disturbance left?

::: misses
- [any] $d/(1 + L)$.
:::
:::
:::

::: check
kind: parts
given: M = 3 | 12; t = 0.25 | 1.5; w = 6 | 30; z = 0.35 | 0.6

## Specifications ({M}% overshoot, {t} s settling); and a system with $\omega_n$ = {w}, ζ = {z}.

::: part
answer: -ln(M/100)/sqrt(pi^2 + ln(M/100)^2)
tolerance: 0.5%

### Least ζ?

::: misses
- [any] Invert the overshoot formula.
:::
:::

::: part
answer: 4/t
unit: s^-1
tolerance: 0.5%

### Least σ?

::: misses
- [any] $4/t_s$.
:::
:::

::: part
answer: pi/(w*sqrt(1 - z^2))
unit: s
tolerance: 0.5%

### The system's peak time?

::: misses
- [any] $\pi/\omega_d$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; b = 3 | 5; c = 9 | 18

## $L = K/((s + \given{a})(s + \given{b})(s + \given{c}))$.

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

### Critical gain?

::: misses
- [any] Routh.
:::
:::

::: part
answer: sqrt(a*b + b*c + c*a)
unit: rad/s
tolerance: 0.5%

### Oscillation frequency?

::: misses
- [any] $\sqrt{ab + bc + ca}$.
:::
:::
:::

::: check
kind: parts
given: K = 6 | 30; a = 2 | 4; b = 6 | 10; G = 40 | 150; c = 3 | 8; R = 0.5 | 2

## A type-0 loop $\given{K}/((s + \given{a})(s + \given{b}))$; a type-1 loop $\given{G}/(s(s + \given{c}))$ following {R} units/s.

::: part
answer: 100/(1 + K/(a*b))
unit: %
tolerance: 0.5%

### Type-0 step error?

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

::: part
answer: R*c/G
tolerance: 0.5%

### Type-1 ramp error?

::: misses
- [any] $R/K_v$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 3; b = 7 | 14

## The locus of $K/(s(s + \given{a})(s + \given{b}))$.

::: part
answer: -(a + b)/3
unit: rad/s
tolerance: 0.5%

### Centroid?

::: misses
- [any] Sum of poles over 3.
:::
:::

::: part
answer: (-(a + b) + sqrt((a + b)^2 - 3*a*b))/3
unit: rad/s
tolerance: 0.5%

### Breakaway?

::: misses
- [any] $dK/ds = 0$.
:::
:::

::: part
answer: sqrt(a*b)
unit: rad/s
tolerance: 0.5%

### $j\omega$-axis crossing?

::: misses
- [any] $\sqrt{ab}$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; c = 2.5 | 4; w = 3 | 5

## Root-locus lead design for $1/(s(s + \given{a}))$ at $-\given{c} \pm j\given{w}$, zero at −{c}.

::: part
answer: (arg(-c + j*w) + arg(a - c + j*w))*180/pi - 180
unit: °
tolerance: 0.5%

### Deficiency?

::: misses
- [any] Angle needed.
:::
:::

::: part
answer: c + w/tan((90 - ((arg(-c + j*w) + arg(a - c + j*w))*180/pi - 180))*pi/180)
unit: rad/s
tolerance: 0.5%

### Lead pole?

::: misses
- [any] Seen at 90° minus the deficiency.
:::
:::
:::

::: check
kind: parts
given: K = 3 | 10; T = 1.5 | 6; G = 0.5 | 2; t = 5 | 30; h = 0.5 | 3

## Ultimate-gain test: $K_u$ = {K}, $T_u$ = {T} s; and an FOPDT plant (K = {G}, τ = {t} s, θ = {h} s).

::: part
answer: 1.2*K/T
unit: s^-1
tolerance: 0.5%

### Ziegler–Nichols PID $K_i$?

::: misses
- [any] $1.2K_u/T_u$.
:::
:::

::: part
answer: (t + 8*h - abs(t - 8*h))/2
unit: s
tolerance: 0.5%

### SIMC $T_i$ with $\tau_c$ = θ?

::: misses
- [any] $\min(\tau, 8\theta)$.
:::
:::
:::

::: check
kind: parts
given: K = 15 | 60; t = 0.05 | 0.2

## $L = \given{K}/(s(\given{t}s + 1))$.

::: part
answer: sqrt((-1 + sqrt(1 + 4*K^2*t^2))/(2*t^2))
unit: rad/s
tolerance: 0.5%

### Crossover?

::: misses
- [any] Solve $|L| = 1$.
:::
:::

::: part
answer: 90 - atan(t*sqrt((-1 + sqrt(1 + 4*K^2*t^2))/(2*t^2)))*180/pi
unit: °
tolerance: 0.5%

### Phase margin?

::: misses
- [any] 90° − $\tan^{-1}\omega_c\tau$.
:::
:::

::: part
answer: (90 - atan(t*sqrt((-1 + sqrt(1 + 4*K^2*t^2))/(2*t^2)))*180/pi)*pi/180/sqrt((-1 + sqrt(1 + 4*K^2*t^2))/(2*t^2))*1000
unit: ms
tolerance: 0.5%

### Delay margin?

::: misses
- [any] PM over $\omega_c$.
:::
:::
:::

::: check
kind: parts
given: K = 30 | 150; a = 1 | 3; b = 4 | 6; c = 10 | 15

## $L = \given{K}/((s + \given{a})(s + \given{b})(s + \given{c}))$.

::: part
answer: -K/((a + b + c)*(a*b + b*c + c*a) - a*b*c)
tolerance: 0.5%

### Negative real-axis crossing?

::: misses
- [any] At $\omega^2 = ab + bc + ca$.
:::
:::

::: part
answer: 20*log(((a + b + c)*(a*b + b*c + c*a) - a*b*c)/K)
unit: dB
tolerance: 0.05

### Gain margin?

::: misses
- [any] In dB.
:::
:::
:::

::: check
kind: parts
given: a = 3 | 9; z = 4 | 25

## A lead with α = {a} and its zero at {z} rad/s.

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

### Maximum phase?

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

::: part
answer: sqrt(a)*z
unit: rad/s
tolerance: 0.5%

### Where?

::: misses
- [any] $\sqrt{\alpha}\omega_z$.
:::
:::
:::

::: check
kind: parts
given: M = 0.6 | 1.8; f = 130 | 165; S = 1.3 | 2

## A loop gain of magnitude {M} at −{f}°; a loop with $M_s$ = {S}.

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

### |S| there?

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

::: part
answer: 2*asin(1/(2*S))*180/pi
unit: °
tolerance: 0.5%

### Guaranteed phase margin of the second?

::: misses
- [any] $2\sin^{-1}(1/2M_s)$.
:::
:::
:::

::: check
kind: parts
given: t = -4 | -9; e = 25 | 60; p = 1 | 2; q = 5 | 8; s = 0.3 | 0.8

## A 2 × 2 system with trace {t} and determinant {e}; a companion-form system with poles −{p}, −{q} starting at (1, 0).

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

### First system's ζ?

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

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

### Second system's $x_1$ at t = {s}?

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

::: check
kind: parts
given: a = 1 | 4; c = 2 | 5; w = 6 | 15; z = 0.6 | 0.9; b = 2 | 5

## Companion form $s^2 + \given{c}s + \given{a}$ placed at $\omega_n$ = {w}, ζ = {z}; and $\dot{x} = -\given{a}x + \given{b}u$ with integral action at the same $\omega_n$.

::: part
answer: w^2 - a
tolerance: 0.5%

### $k_1$?

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

::: part
answer: 2*z*w - c
tolerance: 0.5%

### $k_2$?

::: misses
- [any] $2\zeta\omega_n - a_1$.
:::
:::

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

### Integral gain of the second?

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

::: check
kind: parts
given: w = 20 | 80; z = 0.7 | 0.85; q = 16 | 625

## A double-integrator observer at $\omega_o$ = {w}, ζ = {z}; and the double integrator's LQR with q = {q}, r = 1.

::: part
answer: 2*z*w
tolerance: 0.5%

### Observer $l_1$?

::: misses
- [any] $2\zeta\omega_o$.
:::
:::

::: part
answer: sqrt(2*sqrt(q))
tolerance: 0.5%

### LQR velocity gain?

::: misses
- [any] $\sqrt{2\sqrt{q}}$.
:::
:::
:::

::: check
kind: parts
given: Q = 0.001 | 0.03; R = 0.2 | 2; t = 4 | 25; T = 0.5 | 2; K = 5 | 20

## A random walk (Q = {Q}) seen with noise variance {R}; a plant $\given{K}/(\tau s + 1)$, τ = {t} ms, sampled every {T} ms.

::: part
answer: (Q + sqrt(Q^2 + 4*Q*R))/2/((Q + sqrt(Q^2 + 4*Q*R))/2 + R)
tolerance: 0.5%

### Steady-state Kalman gain?

::: misses
- [any] $P^-/(P^- + R)$.
:::
:::

::: part
answer: (1 + exp(-T/t))/(K*(1 - exp(-T/t)))
tolerance: 0.5%

### Largest stable sampled proportional gain?

::: misses
- [any] $(1 + \Phi)/\Gamma$.
:::
:::
:::

::: check
kind: parts
given: d = 1 | 5; K = 15 | 50; a = 1 | 2; b = 6 | 12; r = 1.5 | 4

## A ±{d} relay drives $\given{K}/(s(s + \given{a})(s + \given{b}))$; a saturation is driven at {r} times its limit.

::: part
answer: 4*d/pi*K/(a*b*(a + b))
tolerance: 0.5%

### Limit-cycle amplitude?

::: misses
- [any] $\frac{4d}{\pi}|L(j\omega_{180})|$.
:::
:::

::: part
answer: 2/pi*(asin(1/r) + 1/r*sqrt(1 - 1/r^2))
tolerance: 0.5%

### Saturation's describing function?

::: misses
- [any] The saturation formula.
:::
:::
:::
:::
