+−K = 0.001 / (s(s + 1)(s + 2))(6 − K)/3 = 2.000, −1, −2yK = 0
−3−2−101−2−1012σ, real partjωS-PLANE · ROOT LOCUSunstable−0.423+j1.414−j1.414−3−2−10−0.500.51σKGAIN FOR A REAL POLE AT σK(σ) = −(σ³ + 3σ² + 2σ)K = 0.20dK/ds = 0
Lit wire with moving dashes: a signal is flowing along itBlocks: the summing disc, the gain dial K, the plant G(s), the Routh tile and the pole tilePlots: the root locus with the poles (×), and the gain K(σ) for a real pole at σThe pill travelling into G(s) is the new gainA gain K in front of G(s) = 1/(s(s + 1)(s + 2)) with unity feedback. As K turns up, the three closed-loop poles glide along the root locus; every position is an exact root of s³ + 3s² + 2s + K = 0. The two poles between 0 and −1 meet where K(σ) peaks (dK/ds = 0, σ = −0.423, K = 0.385) and break away; the pair crosses the imaginary axis at ±j1.414 when the Routh entry (6 − K)/3 reaches zero, at K = 6.

The loop

  1. A gain K feeds the plant G(s) = 1/(s(s+1)(s+2)), and feedback closes the loop. The closed-loop poles are the roots of s³ + 3s² + 2s + K = 0. At K = 0 they sit on the open-loop poles: 0, −1 and −2.

Breakaway

Imaginary-axis crossing

The working

# step 1/10 · loop
# about: Gain K, Plant G(s), Feedback loop, Closed-loop poles, poles on the map

G(s) = 1 / (s(s + 1)(s + 2))

closed loop:  1 + K·G(s) = 0
          s(s + 1)(s + 2) + K = 0
          s³ + 3s² + 2s + K = 0

K = 0  →  poles 0, -1, -2
(the open-loop poles)

Every pole in the figure is an exact root of s³ + 3s² + 2s + K = 0 for the K shown, found by bisection and then the quadratic formula. The locus is drawn from the same roots for K from 0 to 10. The Python uses only the standard library. With python-control installed, ct.root_locus_plot(ct.tf([1], [1, 3, 2, 0])) draws the same locus.