S9 · Lesson 10 · Steady-state error and system type
The final value theorem applied to the error, system type as the number of integrators in the loop, position, velocity and acceleration error constants, and why integral action removes steady error and rejects constant disturbances
An antenna pointing at a satellite has to follow it as it crosses the sky, a steadily rising angle. A position servo with a motor in it can follow a fixed target exactly, but trails a moving one by a fixed lag. Whether a loop's error goes to zero, settles at a constant or grows without bound depends on one thing: how many integrators the loop contains. This lesson counts them and computes the leftover error.
- A type-1 loop, , following a ramp reference r = t (the dashed line).
- After the transient the output runs parallel to the ramp, trailing it by .
- Raise K and the lag shrinks, but the loop gets less damped: ζ = . The lag never reaches zero; that would take a second integrator.
Predict
A position servo has and is told to follow an angle rising at 1 rad/s. What's its steady lag?
One integrator removes the error to a step but not to a ramp. The velocity error constant is = 50/5 = 10 s⁻¹, so a 1 rad/s ramp is followed with a lag of 1/10 = 0.1 rad.
Name it
The error
With unity feedback, , and if the closed loop is stable the final value theorem gives .
System type
Write . N, the number of integrators (poles at the origin), is the type.
| Reference | Error constant | Type 0 | Type 1 | Type 2 |
|---|---|---|---|---|
| Step, | 0 | 0 | ||
| Ramp, | ∞ | 0 | ||
| Parabola, | ∞ | ∞ |
Integral action
Adding in the controller raises the type by one. PI control, , around a type-0 plant makes the loop type 1: zero steady error to a step, and .
Disturbances
The type that counts for a disturbance is the number of integrators between the error and the point where the disturbance enters. An integrator in the plant after a load-torque input doesn't reject the torque; one in the controller does. That's why speed and position loops put the integrator in the controller even when the plant already has one.
Nonunity loops
The table assumes unity feedback. Otherwise compute directly: if , the step error is .
Worked example
A type-0 loop has . What fraction of a step does it leave as error, and what would fix it?
Show the solution
- Position constant.
- Step error.
- More gain. Quadrupling the gain only brings it to 11%, and makes the loop less damped.
- The fix. PI control makes the loop type 1 and the step error zero; the integrator's zero is placed near the slow plant pole so the transient stays clean.
Answer it leaves 33% of a step as error, and PI control removes it.
Worked example
The servo must follow ramps with a lag below 0.02 rad per rad/s. What gain does that take, and what does it do to the damping?
Show the solution
- Gain for the lag. The ramp lag is , so
- Damping at that gain. about 60% overshoot.
- What it takes. Gain alone can't meet both requirements; lesson 14 adds a lag compensator that raises at low frequency without disturbing the transient.
Answer it takes K ≥ 250, which drops ζ to 0.158, about 60% overshoot.
Worked example
PI control with = 2 and = 0.5 s drives a plant . What errors remain for a step and for a ramp of 1 unit/s?
Show the solution
- Loop type. has one integrator: type 1, so the step error is zero.
- Velocity constant.
- Ramp lag.
- The trade-off. Halving would halve the lag, at the cost of a less damped response.
Answer no error for a step, and a lag of 0.05 units behind the 1 unit/s ramp.
Check
A servo with follows a reference rising at 2 rad/s. What's its steady lag?
Write units the way you normally would: 1.5 rad and 1500 mrad are the same answer.
Check
A type-0 loop . What percentage of a step reference is left as error?
Check
A type-2 loop follows . What's its steady error?
Check
A loop must follow a unit ramp with error at most 0.01. What's the least K?
Check
PI control with = 0.5 and = 0.5 s drives a plant with DC gain 4. What's the steady error to a ramp of slope 3?
Check
A closed loop has . What percentage of a step is left as error?
Check
A servo loop with K = 40 and a = 2: the gain K sits in the controller, and the plant is .
(a)
What lag remains when the reference ramps at 2 units/s?
(b)
What steady error does a constant disturbance of 1 at the plant's input leave?
Check
A type-0 loop gets a step of size R.
Step 1
What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What steady error remains?
Explain why
Why does an integrator in the controller drive the steady error to a step all the way to zero?
In steady state every signal in a stable loop settles to a constant. An integrator's output can only be constant if its input is zero, since any nonzero input would keep it ramping. The integrator sits on the error, so the only possible steady state has zero error. Its output then holds whatever drive the plant needs to stay at the reference, and that value was found automatically while the error was nonzero. A proportional controller has no such memory: to keep producing drive it needs a standing error.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.