To characterize a system, we feed it standardized test inputs and watch what the output does. The shape of the output, especially during the transient (before steady state), tells us almost everything about the system's controller-design implications.
3.1 Standard test inputs
Five inputs are universal in control theory.
- Impulse : an instantaneous "tap." Mathematically, an infinite-height, zero-width spike with unit area. Tests the system's natural modes; the impulse response equals the inverse Laplace of the transfer function. Tap a bell, hear it ring; tap a damped system, watch it settle.
- Step : a sudden change to a constant. Models setting cruise control to 65, or commanding the thermostat to 22 °C, or turning on a power supply. Tests overshoot, rise time, settling.
- Ramp : linearly increasing. Tests tracking ability for moving targets. Tracking radar antennas need to follow a target whose angle is changing roughly linearly with time; the system's ramp response tells us how well.
- Parabolic : accelerating. Tests tracking when the target is accelerating.
- Sinusoid : tests frequency response. Push a sine in, get a sine out (LTI assumption); the magnitude and phase of the output sine give you and .
The Laplace transforms are familiar from Chapter 3: , , , . Each is an integral of the previous one.
3.2 First-order systems
A first-order system has transfer function:
The pole is at . is the time constant (units of seconds). is the DC gain (the steady-state output for a unit step input).
Step response: apply , output . Partial fractions: , which is . Inverse Laplace:
The output starts at zero and approaches exponentially. After one time constant , it has reached of its final value. After 2T: 86%. After 3T: 95%. After 5T: 99.3%. The mnemonic: "five time constants is settled."
y(t)
K ────────────────────────── ← final value
╱ ─── ── ─
╱
╱
╱
K(1−e⁻¹) ─┐
│ ╱
│ ╱
│ ╱
│ ╱
│ ╱
0 └────────────────────── t
↑ ↑
T 5TBucket analogy. A bucket is filled through a small hose, with a leak proportional to the water level. The level rises fast at first (because the leak is small when the bucket is empty), then slows as the level rises and the leak grows, asymptotically approaching the level where leak rate equals fill rate. That is exactly the first-order step response, and it is exactly the math of charging an RC capacitor or warming up a coffee on a hot plate.
This is the equation for cruise control without the engine's torque dynamics, for thermal systems with a single thermal mass, for RC charging, for population growth toward carrying capacity, for medication concentration in the bloodstream, for the discharge of a single-tank reservoir. Wherever you see exponential approach to a constant, you are looking at a first-order system.
3.3 Second-order systems: the universal model
The second-order transfer function is one of the most-studied objects in engineering:
Two parameters define everything:
- : the natural frequency (radians per second). The frequency at which the system would oscillate if there were no damping.
- : the damping ratio (dimensionless). How strongly oscillations are damped.
Why this form is universal: any LTI system with two dominant poles has approximately this transfer function. So whether you are looking at a car suspension, an op-amp's compensation network, a quadcopter's roll axis, a PLL loop filter, or a heart's response to medication, the local behavior near the dominant poles is captured by this two-parameter family.
The poles are at .
Three regimes by damping:
- (undamped): poles on the imaginary axis at . Sustained oscillation forever. Marginally stable.
- (underdamped): complex conjugate poles with negative real part. Damped oscillation; the system overshoots, rings, settles.
- (critically damped): real, repeated pole at . Fastest non-oscillatory response.
- (overdamped): two distinct real poles. Slow, sluggish, no overshoot.
y(t)
│
│ ζ = 0 (undamped: oscillates forever)
│ ╱╲ ╱╲ ╱╲
│ ╱ ╲ ╱ ╲ ╱ ╲
│╱ ╲╱ ╲╱ ╲
1┤- - - - - - - - - - - - - - - - reference
│ ╱╲ _
│ ╱ ╲ ╱ ───── ζ = 0.4 (ringing settles)
│╱ ╲ ╱
│ ╱────────── ζ = 1.0 (no overshoot, fastest)
│ ╱
│╱ ──────── ζ = 2.0 (overdamped, slow)
│ ─
└─────────────────────── t3.4 Deriving the underdamped step response
The intuition above hides a beautiful derivation. Let us do it. For , the poles are at:
Define the damped natural frequency . So the poles are at .
For a unit step input , the output is:
Partial fraction decomposition:
Complete the square in the denominator: . Rewrite the numerator: . So:
Use the tables: , , . The third term needs adjustment: multiply numerator and denominator by to get .
After inverse Laplace:
Or, using the trig identity with :
Or equivalently:
The step response is a damped oscillation around the final value 1, with:
- Decay envelope (decay rate ).
- Oscillation frequency .
3.5 Performance specs for second-order systems
Specific landmarks of the underdamped step response:
Maximum overshoot , the peak relative to final value:
For : . For : . For : . As , overshoot approaches 100% (the system swings to twice the reference). As , overshoot vanishes.
Peak time : time from step to first peak.
Rise time : time to go from 0 to first crossing of final value (or sometimes 10% to 90%).
Settling time (within 2% of final):
(For 5% settling, use 3 instead of 4.)
The trade-off: increase for faster response (lower rise time, lower settling time) but higher control effort. Increase for less overshoot but slower response. The sweet spot for most servo systems is to , often described as "" or "" damping; it gives about 4% overshoot and a fast settling time.
Cruise-control feel. With , you set 65 mph and the car climbs to 65 with no overshoot but somewhat slowly. With , the car climbs faster, briefly overshoots to 67, then settles at 65 quickly. Drivers report this feels "responsive." With , the car overshoots to 75, falls back to 60, climbs again to 70, falls again, and slowly converges. This feels "wobbly" and is unsafe.
3.6 Effects of additional poles and zeros
Pure second-order systems are an idealization. Real systems have more poles and zeros. Their main effects:
- Additional pole far to the left of the dominant poles: small effect, the dominant poles dominate.
- Additional pole near the dominant poles: makes the response slower and more sluggish; effectively reduces the damping and bandwidth.
- Zero in the left half plane near a pole: cancels (or partially cancels) that pole's contribution. A zero near the imaginary axis can dramatically increase overshoot. A "lead" compensator works by adding a beneficially placed zero.
- Zero in the right half plane (RHP zero, "non-minimum-phase" system): causes the step response to initially go the wrong way before turning around. Inverted pendulum balance, level control of a boiler with shrink-and-swell dynamics, and aircraft pitch with a rear elevator all have RHP zeros. Notoriously difficult to control.
3.7 Steady-state error and error coefficients
How accurately does the system track different inputs in steady state? For a closed-loop system with unity feedback and forward-path transfer function , the steady-state error to a reference is (by the final value theorem):
The result depends on the system type: the number of pure integrators ( factors) in . Define three error constants:
The names are misleading; "position" really means "for a position-step input," "velocity" for a ramp (constant velocity reference), "acceleration" for a parabolic reference. For each system type:
| Input | Type 0 (no integrators) | Type 1 (one integrator) | Type 2 (two integrators) |
|---|---|---|---|
| Step | 0 | 0 | |
| Ramp | 0 | ||
| Parabolic |
The pattern: each integrator in the loop drops the error by one type. Type 0 has finite error to a step; Type 1 has zero error to a step but finite error to a ramp; Type 2 has zero error to a ramp but finite error to a parabola.
Why integrators kill steady-state error. An integrator in the loop, with constant input, ramps its output until the input goes to zero. So an integrator inside the controller will keep ramping the control signal until the error at its input goes to zero. The system has no choice but to drive the error to zero in steady state, because if it didn't, the integrator would just keep ramping. This is the fundamental reason every PID controller has an "I" term: it forces zero steady-state error.
A type-0 servo system (no free integrator) tracking a step always has some residual error: the controller needs nonzero error to produce nonzero output, so the error never quite goes to zero. Adding an integrator (making it type 1) eliminates this; the integrator quietly accumulates whatever offset is needed to keep the output exactly at the reference. A type-2 system can additionally track ramping references with no error, useful in tracking radars and constant-velocity scanning systems.
3.8 Performance indices
To compare controllers numerically, integrate a function of the error:
- IAE (integral of absolute error): . Treats all errors equally.
- ISE (integral of squared error): . Penalizes large errors strongly. Good for cases where big swings are catastrophic.
- ITAE (integral of time-weighted absolute error): . Penalizes errors that linger at long times. Best correspondence with what humans perceive as "good" response.
- ITSE (integral of time-weighted squared error): . Hybrid.
Most modern auto-tuners optimize ITAE because the resulting designs feel "snappy" without being unstable.