ENع
←Poles and zeros
Lesson 08 · Modelling systems

Poles and zeros on the s-plane

15 min10 steps5 questionsIntermediate
About this lesson

A transfer function is a fraction of two polynomials in s. The roots of the top are its zeros; the roots of the bottom are its poles. Find them for a cart held by a spring and a damper, plot them on the s-plane, and watch them predict the step response: how fast it fades, how fast it swings, and whether it settles at all. This builds on the lesson on the transfer function of a system and the Circuits lesson on Laplace analysis.

You'll learn to

Tick what you feel confident about. These self-checks do not affect your lesson score.

Fig 8 · Interactive
01 / 10

One cart, one transfer function

Push a 2 kg cart, tied to a wall by a spring and a damper, with a steady 1 N. The wall feels the spring plus the damper. As a transfer function: G(s) = (4s + 10) / (2s² + 4s + 10).

m = 2 kg   k = 10 N/m   b = 4 N·s/m

m·x'' + b·x' + k·x = F
wall force = k·x + b·x'

           b·s + k          4s + 10
G(s) = ------------- = --------------
       m·s² + b·s + k    2s² + 4s + 10
Loading figure…
or ← →
Read the lesson step by step
  1. One cart, one transfer function

    Push a 2 kg cart, tied to a wall by a spring and a damper, with a steady 1 N. The wall feels the spring plus the damper. As a transfer function: G(s) = (4s + 10) / (2s² + 4s + 10).

    m = 2 kg   k = 10 N/m   b = 4 N·s/m
    
    m·x'' + b·x' + k·x = F
    wall force = k·x + b·x'
    
               b·s + k          4s + 10
    G(s) = ------------- = --------------
           m·s² + b·s + k    2s² + 4s + 10
  2. Zeros: the top equals zero

    Set the top polynomial to zero: 4s + 10 = 0, so s = −2.5. At that value of s the whole fraction is zero. A root of the top is called a zero of the system. We mark it with a circle ○.

    N(s) = 4s + 10
    4s + 10 = 0
    s = -10 / 4 = -2.5
    
    G(-2.5) = 0 / (2·6.25 - 10 + 10) = 0
    
    zero   z = -2.5   (one, because N(s) has degree 1)
  3. Poles: the bottom equals zero

    Now the bottom: 2s² + 4s + 10 = 0. The quadratic formula gives s = −1 ± 2j, where j = √−1. Here the fraction divides by zero and blows up. A root of the bottom is a pole, marked ×.

    D(s) = 2s² + 4s + 10
    
         -4 ± √(16 - 80)     -4 ± √-64
    s = ----------------- = ----------
               4                4
    
      = (-4 ± 8j) / 4 = -1 ± 2j
    
    poles  p1 = -1 + 2j   p2 = -1 - 2j
    (two, because D(s) has degree 2)
  4. Let Python find them

    Python's cmath module takes square roots of negative numbers, so a few lines find the same roots. The coefficient lists run from the highest power down, the order python-control's tf(num, den) also uses.

    import cmath
    m, b, k = 2, 4, 10
    zero = -k / b
    d = cmath.sqrt(b * b - 4 * m * k)
    poles = ((-b + d) / (2 * m), (-b - d) / (2 * m))
    print(zero, poles)
    # -2.5 ((-1+2j), (-1-2j))
  5. Plot them on the s-plane

    s is a complex number σ + jω. Draw it on a flat map: the real part σ across, the imaginary part ω up. That map is the s-plane. Complex poles always come as a mirror pair above and below the axis.

    s = σ + jω
    
            σ (across)   ω (up)
    zero      -2.5         0
    pole 1    -1          +2
    pole 2    -1          -2
    
    Real coefficients → complex roots come in
    conjugate pairs, mirrored in the real axis.
  6. Real part: how fast it fades

    Each pole p adds a term e^(pt) to the response. The real part, −1, gives e^(−t): the dashed envelope, the swing's outer limit, shrinks to 37% every second and to 1.8% after four. Further left means faster fading.

    pole  p = σ + jω = -1 + 2j
    
    e^(pt) = e^(σt) · e^(jωt)
           = e^(-t) · (cos 2t + j sin 2t)
    
    e^(-1) = 0.37   e^(-4) = 0.018
    
    envelope  1 ± 1.12·e^(-t)  (dashed)
  7. Imaginary part: how fast it swings

    The imaginary part, 2, is the swing's frequency in rad/s (radians per second), so one swing lasts 2π / 2 = 3.14 s. Together: the wall force rises, overshoots to 1.33 N at 1.11 s, and rings down to 1 N.

    ω = 2 rad/s   period = 2π / ω = 3.14 s
    
    y(t) = 1 - e^(-t)·cos 2t + 0.5·e^(-t)·sin 2t
    
    peak    1.33 N at t = 1.11 s
    final   1 N   (G(0) = 10 / 10 = 1)
  8. The zero changes the mix

    The zero adds no new term: same fading, same swing. It changes how much of each term you get. Without it (the spring's force alone) the peak is 1.21 N at 1.57 s. The damper's share makes it 1.33 N, earlier.

    same poles, with and without the zero
    
               4s + 10                 10
    G(s) = -------------    G0(s) = -------------
           2s² + 4s + 10            2s² + 4s + 10
    
             peak       at
    with    1.33 N   1.11 s
    without 1.21 N   1.57 s
  9. Left half: it settles

    A pole with a negative real part gives a term that dies out. If every pole sits in the left half of the s-plane, the system settles: it is stable. A pole in the right half would grow without limit.

    real part < 0   e^(σt) → 0      dies out
    real part = 0   e^(0·t) = 1      never dies
    real part > 0   e^(σt) → ∞      grows
    
    our poles: real part -1 → stable
    (zeros do not decide stability)
  10. Take the damper away

    Turn the damper down to zero. The poles slide round a circle of radius √5 onto the imaginary axis, at ±2.24j, and the zero runs off to the left. Nothing fades now: the wall force swings between 0 and 2 N forever.

    b → 0:   G(s) = 10 / (2s² + 10)
    
    poles   s = ±j·√(k/m) = ±2.24j
    |p| = √(k/m) = 2.24 for every b (the circle)
    zero    -k/b → -∞  (gone)
    
    y(t) = 1 - cos(2.24·t)   between 0 and 2 N

Quiz Unlocks after the last step.