Higher-Order Systems, Zeros and Dominant Poles
Real loops are rarely second order. The motor has an electrical pole as well as a mechanical one, the sensor adds a lag, the controller adds an integrator and a zero or two. The closed loop of the PID lab, for instance, has three poles and two zeros. Yet engineers still talk about "the overshoot" and "the damping" of such loops, because most of them are dominated by one pair of poles. This lesson shows when that shortcut is valid, what extra poles and zeros do to a second-order response, and why a pole that almost cancels a zero leaves a slow tail.
A response is a sum of modes
Expand the closed-loop step response in partial fractions:
Each pole contributes a mode weighted by its residue . A mode matters if it is slow (pole near the imaginary axis) and has a large residue. That gives the two rules of thumb:
- Distance: poles whose real part is 5 to 10 times further left than the dominant ones decay so fast that they hardly change the settling. They still add phase lag at high frequency, so they matter for stability margins.
- Cancellation: a pole very close to a zero has a tiny residue (the zero nearly cancels it). Its mode is small, but if it is slow it adds a long, low tail that can dominate the 2 % settling time.
What an extra pole or zero does
Starting from , (16.3 % overshoot), keeping the DC gain at 1:
| Added | Effect |
|---|---|
| real pole at , far () | almost none: overshoot 16.2 % |
| real pole at , close (, same as ) | slower, more damped: overshoot drops to 8.1 % |
| left-half-plane zero at , far () | almost none |
| left-half-plane zero at , close () | faster rise, overshoot jumps to 70 %: the zero adds a scaled derivative of the response to itself |
| right-half-plane zero | initial undershoot (Transfer Functions) |
| pole–zero pair close together near the origin (a dipole) | small, slow tail; settling time can multiply |
The left-half-plane zero is the surprise: designs with a PI or PD controller put a zero into the closed loop, so a PI loop often overshoots more than the closed-loop poles alone predict. The overshoot formula of Second-Order Systems holds only for a pair without zeros nearby.
Worked example: the PID lab's default loop
Given: plant , , unity feedback.
Find: the closed-loop poles and zeros, which poles dominate, and how good the second-order prediction is.
Solve:
- , so .
- Poles: and ; zeros: and .
- The real pole at is closer to the axis than the complex pair, so by distance alone it would dominate, but the zero at almost cancels it: a dipole. The complex pair (, ) sets the overshoot; second-order formulas predict and .
- The far zero at (from ) has no visible effect.
Check: the program computes poles, zeros and residues, then compares the full response with the dominant pair alone.
import numpy as np
import control as ct
from scipy import signal
G = ct.tf([1], np.polymul([1, 1], [0.5, 1]))
C = ct.tf([0.1, 3, 2], [1, 0])
T = ct.feedback(C * G, 1)
num, den = T.num[0][0], T.den[0][0]
print("poles:", np.round(ct.poles(T), 3), " zeros:", np.round(ct.zeros(T), 3))
r, p, _ = signal.residue(num, np.polymul(den, [1, 0])) # Y(s) = T(s)/s
for ri, pi in zip(r, p):
if abs(pi) > 1e-9:
print(f"mode at {pi.real:7.3f}{pi.imag:+7.3f}j: |residue| = {abs(ri):.3f}")
t = np.linspace(0, 15, 150001)
full = ct.step_info(T, T=t)
pair = p[np.argmax(p.imag)]
wn, zeta = abs(pair), -pair.real / abs(pair)
T2 = ct.tf([wn**2], [1, 2 * zeta * wn, wn**2])
approx = ct.step_info(T2, T=t)
print(f"full loop : overshoot {full['Overshoot']:5.2f} %, settling {full['SettlingTime']:.3f} s")
print(f"pair alone : overshoot {approx['Overshoot']:5.2f} %, settling {approx['SettlingTime']:.3f} s "
f"(wn = {wn:.3f}, zeta = {zeta:.3f})")poles: [-1.287+2.175j -1.287-2.175j -0.626+0.j ] zeros: [-29.318+0.j -0.682+0.j]
mode at -0.626 +0.000j: |residue| = 0.099
mode at -1.287 +2.175j: |residue| = 0.508
mode at -1.287 -2.175j: |residue| = 0.508
full loop : overshoot 10.02 %, settling 3.458 s
pair alone : overshoot 15.59 %, settling 3.156 s (wn = 2.528, zeta = 0.509)
The dipole's mode has a small residue but decays slowly (), so the full loop's overshoot is lower than the pair predicts and its settling time is set by how long that tail stays above 2 %. This is the classic signature of PI control: the integrator's zero sits near a slow closed-loop pole, and the loop "creeps" the last few per cent.
In the lab: three poles, two zeros
The PID lab at its defaults draws this loop: its readouts show overshoot , rise , settling , against the dominant pair's . Now move to : the zero moves toward the origin, the dipole slows down, the overshoot disappears () and the settling time grows to : the response creeps. Reset, then move to (a fast second lag): the plant is almost first order, the response no longer overshoots and settles in .
Guided lab: find the dominant poles of a motor drive
Hand calculation. The reference motor (Modelling a DC Motor) has open-loop poles at and , a ratio of 18. For speed control the electrical pole can be ignored; a speed loop with a closed-loop bandwidth of would bring the slow pole within a factor of 6 of the fast one, and then it no longer can.
Simulation. In the program, replace the plant by the full two-pole motor and a P controller; compare the step metrics with and without the electrical pole as the gain rises.
What you would measure. Speed step responses of a small motor under P control from a microcontroller (encoder at , PWM drive at , limit). At low gain the response looks first order; at high gain it rings at a few hundred rad/s, which the reduced model never predicts. Expect the onset of ringing within a factor of 2 of the calculation, because PWM, sampling delay and encoder quantisation add lag the model omits.
Hazards and safe setup. Clamp the motor, guard the shaft, current-limited supply, flyback protection on the driver. Start with low gain and raise it gradually; if the motor oscillates audibly, cut the gain.
Pitfalls
- Declaring a pole "dominant" because it is closest to the axis without checking its residue.
- Ignoring a dipole because its residue is small: it can still set the settling time.
- Using the overshoot formula when a closed-loop zero sits near the dominant poles.
- Dropping fast poles from the open loop before checking the phase they add near crossover.
Practice
- Poles at and . Is the pair dominant? Estimate overshoot and settling time.
- A second-order loop () gets a closed-loop zero at . Does the overshoot rise or fall?
- Why do PI loops often show a slow creep at the end of a step?
Answer
- Yes (20 times further left). : ; .
- It rises: a left-half-plane zero near the poles adds a derivative-like kick.
- The integrator's zero nearly cancels a slow closed-loop real pole; the small residual mode decays slowly.
Test yourself
A pole is a good candidate to neglect when it is
- closest to the imaginary axis
- 5 to 10 times further left than the dominant poles
- in the right half-plane
- complex
A left-half-plane closed-loop zero close to a second-order pair usually
- reduces overshoot
- increases overshoot
- makes the system unstable
- has no effect
In the default PID loop, the closed-loop pole at is nearly cancelled by a zero at
Why can a pole with a small residue still matter?
- it changes the DC gain
- if it is slow, its small mode lingers and can set the settling time
- it creates a right-half-plane zero
- it never matters