r = 0L(s)4/(s(s+2))y +0.00n = 0
0123456-101t (s)TIME RESPONSEry design 1y design 2at rest: r = 0, y = 00.1110-40-2002040ω (rad/s)dBOPEN LOOP |L(jω)| (dB)L1L20 dB−3 dBnoise 80.1110-40-200ω (rad/s)dBCLOSED LOOP |T(jω)| (dB)T1T2
Lit wire with moving dashes: a signal is flowing along itBlocks: reference r, the two junctions, L(s), output y and the sensor noise nPucks on the posts: their height is the signal now (ticks at +1 and −1)Plots: time response, open-loop |L| and closed-loop |T|, all computed from the modelA unity-feedback loop with a noisy sensor: the reference r, the error junction, the controller and plant L(s), the output y, and the sensor junction where noise n joins the measurement. Pucks above r and y ride with the signals. The three plots are computed from the model as the steps play: the time response, the open-loop |L(jω)| and the closed-loop |T(jω)|. Bandwidth here is the closed-loop −3 dB bandwidth: the first frequency where |T(jω)| is 3 dB below its zero-frequency value (×0.708; the half-power point 1/√2 = 0.707 gives the same ωBW to 0.1 %). python-control's control.bandwidth uses the same definition, with dbdrop = −3 by default.

Bandwidth

  1. A unity-feedback loop. Controller and plant together are L(s) = 4/(s(s+2)). The output y should follow the reference r, but the sensor that measures y adds a little noise n. With the loop closed, y = T·r, where T = L/(1 + L).

Speed

Noise

What is happening

# step 1/9 · loop
# about: Reference r, Error junction, Controller + plant L(s), Output y, Sensor noise n

open loop     L(s) = 4 / (s(s + 2))
closed loop   T(s) = L / (1 + L)
                   = 4 / (s² + 2s + 4)
              ωn = 2 rad/s, ζ = 0.5

the sensor reports y + n, so the error is
  e = r − (y + n)
and  y = T·r − T·n

T(0) = 1: L has a 1/s (an integrator),
so a slow r is followed exactly.

Both loops are L(s) = 4a²/(s(s + 2a)) with unity feedback: a = 1 for design 1 and a = 2 for design 2. Every curve and number is computed from them: the Bode plots from L(jω) and T(jω), the step responses in closed form, the noisy runs by numerical integration from rest. The Python on each step is plain Python 3 (math and complex numbers). It reproduces the numbers in the figure to the digits shown.