steprK = 11 / s(s + 1)(s + 2)y = 0.00y 0.00
−3−2−101−2−1012real partimaginary partS-PLANE: POLES← stableunstableK = 6K = 6|r| ≤ 105101520−2−10123time (s)valueINPUT AND OUTPUTinput routput y
Lit wire with moving dashes: a signal is flowing along itBlocks: input, comparator, gain dial K, plant G(s), output and the feedback switchPlots: the poles on the s-plane and the input and output over time, both from the modelThe pill travelling back to the comparator is the output y: feedbackA unity-feedback loop: input, comparator, gain K, plant G(s) = 1/(s(s+1)(s+2)) and output, with a switch that opens or closes the feedback path. The s-plane shows where the poles are; the time plot is simulated from the model. Bounded input, bounded output holds only while every pole is strictly in the left half. Some books call a system with simple poles on the imaginary axis (and none on the right) marginally stable. Under the BIBO definition it is unstable, because an input at the poles' own frequency (or a step, for a pole at s = 0) gives an output that grows without limit.

Bounded in, bounded out

  1. A signal is bounded if it never goes past some fixed limit, however long you wait. Our test input is a unit step: it jumps to 1 and stays there. It never goes past 1, so it is bounded.

Feedback and the gain K

Where the edge is

The working

# step 1/10 · bounded
# about: Input r(t), input r(t)

r(t) = 1 for t ≥ 0          (unit step)
|r(t)| ≤ 1 for every t       → bounded

bounded   there is a number M with
          |signal(t)| ≤ M for all time
unbounded no such M: it grows for ever

Every curve is simulated from y''' + 3y'' + 2y' = u with a fourth-order Runge-Kutta step of 0.005 s, from rest; the poles are exact roots of the cubic. The Python is plain Python 3 with built-in complex numbers: Durand-Kerner improves three guesses at once until they are the three roots.