Second-Order Systems: Damping, Overshoot, Rise and Settling Time
A customer's specification for a servo rarely says "put the poles at ". It says "settle within 80 ms with no more than 10 % overshoot". The second-order system is the bridge between the two languages: its two parameters, the damping ratio and the natural frequency , map one-to-one onto overshoot, peak time, rise time and settling time, and onto a region of the s-plane. Most loop designs, whatever their real order, are judged by how close their dominant poles come to a second-order pair.
The standard form
| Poles | Step response | |
|---|---|---|
| on the imaginary axis | undamped oscillation at | |
| complex pair | underdamped: overshoot, decaying ringing at | |
| double real pole at | critically damped: fastest without overshoot | |
| two real poles | overdamped: sluggish, dominated by the slower pole |
The circuit form of this (series RLC) and the solution of the ODE are in RLC step response and complex roots; here are the formulas used for specifications (unit-step, , underdamped):
The overshoot depends on only; inverting it gives the damping needed for an overshoot limit:
Useful values: , , , . The settling-time formula comes from the envelope falling to 2 %; it is an approximation (the true settling time jumps as successive ripples drop inside the band). The rise-time expression is a curve fit, good to a few per cent for .
Specifications as a region of the s-plane
Each specification is a boundary in the s-plane: overshoot is a pair of rays at angle from the negative real axis (poles must lie inside them); settling time is a vertical line (poles must lie to its left); peak time is a horizontal line . The root locus is then a search for gains that put the poles inside the shaded region.
Worked example: tune a position servo for 10 % overshoot
Given: the motor position loop from Block-Diagram Algebra without the tachometer, with ; specification .
Find: the loop gain for exactly 10 %, and the resulting , , and .
Solve:
- , so and , i.e. .
- : , so .
- ; .
- ; ; .
Notice that does not depend on : raising the gain of this loop makes it oscillate faster but never settle faster. That is a structural limit; only changing the loop (a tachometer, a lead compensator) moves .
Check: the program computes the exact step metrics and compares them with the formulas.
import numpy as np
import control as ct
tau_m = 2 * 2e-6 / (2e-6 + 4e-4)
Mp = 0.10
zeta = -np.log(Mp) / np.sqrt(np.pi**2 + np.log(Mp) ** 2)
K = 1 / (4 * zeta**2 * tau_m)
T = ct.feedback(ct.tf([K], [tau_m, 1, 0]), 1)
wn, z, poles = ct.damp(T, doprint=False)
print(f"zeta = {zeta:.3f}, K = {K:.1f} 1/s, wn = {wn[0]:.1f} rad/s, poles {poles[0].real:.2f} +/- j{abs(poles[0].imag):.2f}")
info = ct.step_info(T, T=np.linspace(0, 0.3, 300001))
wd = wn[0] * np.sqrt(1 - zeta**2)
print(f"overshoot exact {info['Overshoot']:5.2f} % formula {100 * Mp:5.2f} %")
print(f"peak time exact {1e3 * info['PeakTime']:5.2f} ms formula {1e3 * np.pi / wd:5.2f} ms")
print(f"settling 2% exact {1e3 * info['SettlingTime']:5.2f} ms formula {1e3 * 4 / (zeta * wn[0]):5.2f} ms")
print(f"rise 10-90 exact {1e3 * info['RiseTime']:5.2f} ms formula {1e3 * (1 + 1.039 * zeta - 0.417 * zeta**2 + 1.76 * zeta**3) / wn[0]:5.2f} ms")
for Kx in (2 * K, 4 * K):
i2 = ct.step_info(ct.feedback(ct.tf([Kx], [tau_m, 1, 0]), 1), T=np.linspace(0, 0.3, 300001))
print(f"K = {Kx:6.1f}: overshoot {i2['Overshoot']:5.1f} %, settling {1e3 * i2['SettlingTime']:5.1f} ms")zeta = 0.591, K = 71.9 1/s, wn = 85.0 rad/s, poles -50.25 +/- j68.56
overshoot exact 10.00 % formula 10.00 %
peak time exact 45.82 ms formula 45.82 ms
settling 2% exact 69.71 ms formula 79.60 ms
rise 10-90 exact 21.56 ms formula 21.55 ms
K = 143.8: overshoot 23.6 %, settling 69.9 ms
K = 287.6: overshoot 37.8 %, settling 78.7 ms
Overshoot, peak time and rise time match the formulas. The settling estimate () is conservative: the response actually enters the 2 % band at , because a ripple happens to cross the band edge before the envelope does. Doubling and quadrupling the gain moves the settling time only through the ripples' timing ( and ) while the overshoot climbs to and : the envelope is fixed.
In the lab: a P loop around two lags
With , the PID lab's default plant under proportional control is a second-order closed loop: , so and . For , and . The lab shows overshoot , peak time (), rise time (the formula gives ) and settling (the estimate gives ), with a final value of : a P loop on a type-0 plant leaves an error. Raise and watch the overshoot rise while the settling time stays near , for the same reason as in the servo: is fixed by the plant.
Guided lab: measure and of an RLC
Hand calculation. , , (as in Electrical and Mechanical Models): , , overshoot , peak at .
Simulation. The RLC lab's step view gives the same numbers; vary to see each row of the damping table.
What you would measure. Drive the circuit with a , square wave from a function generator (the generator's adds to : include it), scope on the capacitor. Read the overshoot and the period of the ringing (). Compute from the overshoot with the inversion formula. Expect higher than calculated (inductor winding resistance of several ohms and core losses add damping), typically by ; the ringing period within .
Hazards and safe setup. Signal-level only. At resonance the capacitor voltage can exceed the drive by times; with a drive that is harmless, but never repeat this with a power supply and large components.
Pitfalls
- Using the second-order formulas on a system with a zero or a third pole nearby: check dominance first (Higher-Order Systems).
- Reading overshoot relative to the step size instead of to the final value when there is a steady-state error.
- Expecting to be exact: it is the envelope; the measured settling time can be shorter.
- Raising gain to "speed up" a loop whose is fixed by the plant.
Practice
- What gives overshoot?
- Poles at : find , , , and (2 %).
- Specify the s-plane region for and .
Answer
- .
- , , , , .
- Inside the rays at from the negative real axis, and left of .
Test yourself
The percent overshoot of a standard second-order system depends on
- only
- only
- both and
- the DC gain
In the s-plane, a 2 % settling-time specification requires the poles to lie
- inside a circle of radius
- to the left of
- above
- on the imaginary axis
For with unity feedback, raising
- reduces overshoot
- moves the poles further left
- keeps the real part of the poles fixed while the overshoot grows
- makes the loop unstable
In the PID lab with P control, , the readout gives a peak time of . With , which formula reproduces it?