S910 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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, L=K/(s(s+a)), following a ramp reference r = t (the dashed line).
  • After the transient the output runs parallel to the ramp, trailing it by a/K=1/Kv.
  • Raise K and the lag shrinks, but the loop gets less damped: ζ = a/2K. The lag never reaches zero; that would take a second integrator.

Predict

A position servo has L=50/(s(s+5)) and is told to follow an angle rising at 1 rad/s. What's its steady lag?

Name it

The error

With unity feedback, E(s)=S(s)R(s)=R(s)1+L(s), and if the closed loop is stable the final value theorem gives ess=lims→0⁡sE(s).

System type

Write L(s)=K(…)sN(…). N, the number of integrators (poles at the origin), is the type.

ReferenceError constantType 0Type 1Type 2
Step, r=RKp=lim⁡L(s)R/(1+Kp)00
Ramp, r=RtKv=lim⁡sL(s)∞R/Kv0
Parabola, r=Rt2/2Ka=lim⁡s2L(s)∞∞R/Ka

Integral action

Adding 1/s in the controller raises the type by one. PI control, C=Kp(1+1Tis), around a type-0 plant makes the loop type 1: zero steady error to a step, and Kv=KpP(0)/Ti.

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 e=r−y directly: if T(s)=b0/(s2+a1s+a0), the step error is 1−b0/a0.

Worked example

A type-0 loop has L=20/((s+2)(s+5)). What fraction of a step does it leave as error, and what would fix it?

Show the solution
  1. Position constant. Kp=L(0)=20/10=2
  2. Step error. ess=11+2=33%
  3. More gain. Quadrupling the gain only brings it to 11%, and makes the loop less damped.
  4. 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 L=50/(s(s+5)) 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
  1. Gain for the lag. The ramp lag is a/K, so K≥5/0.02=250
  2. Damping at that gain. ζ=52250=0.158 about 60% overshoot.
  3. What it takes. Gain alone can't meet both requirements; lesson 14 adds a lag compensator that raises Kv 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 Kp = 2 and Ti = 0.5 s drives a plant 5/(s+1). What errors remain for a step and for a ramp of 1 unit/s?

Show the solution
  1. Loop type. L=2(1+10.5s)5s+1 has one integrator: type 1, so the step error is zero.
  2. Velocity constant. Kv=lims→0⁡sL=2×2×5=20s−1
  3. Ramp lag. ess=1/20=0.05units
  4. The trade-off. Halving Ti 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 L=80/(s(s+2)) 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 L=30/((s+1)(s+10)). What percentage of a step reference is left as error?

Check

A type-2 loop L=10(s+1)/(s2(s+20)) follows r=4t2/2. What's its steady error?

Check

A loop L=K/(s(s+5)) must follow a unit ramp with error at most 0.01. What's the least K?

Check

PI control Kp(1+1/(Tis)) with Kp = 0.5 and Ti = 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 T(s)=12/(s2+3s+20). What percentage of a step is left as error?

Check

A servo loop L=K/(s(s+a)) with K = 40 and a = 2: the gain K sits in the controller, and the plant is 1/(s(s+a)).

(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 L=K/((s+a)(s+b)) gets a step of size R.

Step 1

What is Kp?

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°.

Explain why

Why does an integrator in the controller drive the steady error to a step all the way to zero?

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.