Steady-state error and error constants
Steady-state error by the final value theorem, system type, the position, velocity and acceleration error constants, gain sizing for a ramp-error specification, and the stability caveat.
Drafted with Aria, reviewed by the AiCanCode.org team. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
A CNC axis that stops 20 µm short of its target, or a conveyor that lags behind its speed command, fails on accuracy however good its transient response looks. Steady-state error tells you how closely a stable loop follows a command after the transients have died out, and the error constants let you predict it — and size a gain or add an integrator — without simulating anything.
Key ideas
Definition. The actuating error is e(t) = r(t) − c(t) for unity feedback. The steady-state error is ess = lim(t→∞) e(t). It is only meaningful if the closed loop is stable; always check stability (Routh) first — the final value theorem gives a finite but meaningless number for an unstable loop.
Final value theorem. lim(t→∞) e(t) = lim(s→0) s·E(s), valid when all poles of s·E(s) are in the open left half-plane.
System type. Write the open-loop transfer function as G(s)H(s) = K·(1 + T_a·s)… / (s^N·(1 + T₁·s)…). The number N of open-loop poles at the origin (pure integrators) is the type of the system. Type is not the same as order. Each integrator lets the loop hold a non-zero output with zero error, which is why type decides which inputs are tracked exactly.
Standard test inputs (magnitudes A):
- Step
r = A→R(s) = A/s(position command). - Ramp
r = A·t→R(s) = A/s²(constant velocity). - Parabola
r = A·t²/2→R(s) = A/s³(constant acceleration).
Error constants (unity feedback):
- Position constant
Kp = lim(s→0) G(s) - Velocity constant
Kv = lim(s→0) s·G(s)(unit s⁻¹) - Acceleration constant
Ka = lim(s→0) s²·G(s)(unit s⁻²)
The type table (unit inputs):
| Type | Step | Ramp | Parabola |
|---|---|---|---|
| 0 | 1/(1 + Kp) | ∞ | ∞ |
| 1 | 0 | 1/Kv | ∞ |
| 2 | 0 | 0 | 1/Ka |
A finite, non-zero error appears on the diagonal; raising K reduces it but cannot remove it. Raising the type (adding an integrator, e.g. PI control) removes it but tends to reduce stability margins — the classic accuracy–stability trade-off.
Superposition. For a combined input such as r(t) = a + b·t, add the errors for each part. If any part gives ∞, the total is ∞.
Non-unity feedback. With H(s) ≠ 1 the error constants above do not apply directly. Either convert to an equivalent unity-feedback system G_eq = G/(1 + GH − G) or compute E(s) = R(s) − C(s) from the closed-loop transfer function. With a constant sensor gain H = k_s, the output settles at the command divided by k_s, so define the error accordingly.
Disturbances. A step load torque D entering between the controller and the plant gives a steady-state output error that falls with controller gain and becomes zero only if there is an integrator before the disturbance entry point (in the controller).
Formulas
E(s) = R(s) / (1 + G(s)) — unity feedback.
ess = lim(s→0) s·R(s) / (1 + G(s)) — final value theorem.
Kp = lim(s→0) G(s), Kv = lim(s→0) s·G(s), Ka = lim(s→0) s²·G(s)
ess(step A) = A/(1 + Kp); ess(ramp A·t) = A/Kv; ess(parabola A·t²/2) = A/Ka
- A in the input's units (e.g. rad, rad/s, rad/s²); ess in output units (e.g. rad).
G_eq(s) = G(s) / (1 + G(s)H(s) − G(s)) — equivalent unity-feedback forward path for a non-unity H.
Worked examples
Example 1 (standard). A unity-feedback speed loop has G(s) = 10/(s + 2). Find the steady-state error for a unit step and for a unit ramp.
- Closed loop: 10/(s + 12), pole at −12, stable.
- Type 0 (no pole at the origin).
Kp = G(0) = 10/2 = 5. - Step:
ess = 1/(1 + Kp) = 1/6= 0.167 (16.7 % of the command). - Ramp: Kv = lim s·G(s) = 0, so ess = ∞ — a type-0 loop cannot follow a ramp.
Example 2 (GATE level, gain sizing). A position servo with unity feedback has G(s) = K(s + 2)/(s(s + 4)(s + 5)) (output in rad). (a) Find the minimum K for a steady-state error of at most 0.05 rad to a unit ramp. (b) With that K, find ess for r(t) = 2 + 3t rad.
- Type 1, so step error is zero and ramp error is finite.
Kv = lim(s→0) s·G(s) = K × 2/(4 × 5) = K/10s⁻¹.- Requirement: 1/Kv ≤ 0.05 → Kv ≥ 20 → K ≥ 200.
- Stability check: characteristic equation s(s + 4)(s + 5) + K(s + 2) = s³ + 9s² + (20 + K)s + 2K = 0. Routh condition 9(20 + K) > 2K holds for every K > 0, so K = 200 is stable (poles −1.94 and −3.53 ± j13.9).
- Input 2 + 3t: step part gives 0 (type 1); ramp part gives 3/Kv = 3/20.
- ess = 0.15 rad.
Common mistakes
- Applying the error formulas to an unstable closed loop. Check stability first.
- Counting the order instead of the type: 1/(s(s + 1)(s + 2)) is third-order but type 1.
- Forgetting that G(s) must be in time-constant form (or evaluated as a limit) to read K: Kp for 10/(s + 2) is 5, not 10.
- Using Kv or Ka formulas directly with non-unity feedback.
- Scaling: for a ramp of slope A the error is A/Kv, not 1/Kv.
- Thinking a derivative term changes steady-state error to a step — it does not; integral action does.
For GATE ME
Expect: identifying the system type and the finite error for a given input; computing Kp, Kv or Ka; finding the minimum gain for a specified ramp error (often combined with a Routh stability limit, so the answer is a range of K); error for combined inputs such as a + bt; and conceptual questions on the effect of adding an integrator. Practise always stating stability before quoting an error.
Quick check
- A type-1 unity-feedback system has Kv = 10 s⁻¹. What is the steady-state error to a unit ramp?
- What is the steady-state error of a type-0 system with Kp = 5 to a unit step?
- What is the type of G(s) = 20/(s²(s + 3))?
- A type-1 system receives a unit parabolic input. What is ess?
- Why must stability be checked before using the final value theorem?
Answers: 1. 0.1. 2. 1/6 ≈ 0.167. 3. Type 2. 4. Infinite. 5. The theorem only holds when s·E(s) has all poles in the left half-plane; for an unstable loop the error grows without bound.
Interview questions
All Control Systems interview questionsTry answering each one aloud before you open it.
1.What is steady-state error in control systems?Concept
It is the error between the command and the output, e(t) = r(t) − c(t) for unity feedback, as t → ∞, after the transients have died out. It is found with the final value theorem, ess = lim(s→0) s·E(s), and depends on the system type and the input (step, ramp or parabola). It only has meaning when the closed loop is stable, so stability is checked first.
2.Explain the significance of error constants in control systems.Concept
Error constants, such as position error constant (Kp), velocity error constant (Kv), and acceleration error constant (Ka), are used to quantify the steady-state error of a system for different types of inputs. They help in determining how well a system can track or follow a specific type of input, such as step, ramp, or parabolic inputs.
3.How is the position error constant (Kp) related to steady-state error for a step input?Concept
The position error constant (Kp) is inversely related to the steady-state error for a step input. A higher Kp value indicates a lower steady-state error, meaning the system can more accurately follow a step input. The steady-state error for a step input is given by 1/(1+Kp) for a unity feedback system.
4.Why is it important to minimize steady-state error in control systems?Application
Minimizing steady-state error is important because it ensures that the system output closely matches the desired input or setpoint over time. This is crucial for applications where precision and accuracy are critical, such as in robotics, aerospace, and manufacturing processes. A smaller steady-state error leads to better performance and reliability of the control system.
5.What happens to the steady-state error if the gain of a system is increased?Application
A higher open-loop gain raises Kp, Kv or Ka in proportion, so any finite, non-zero error (step error of a type-0 loop, ramp error of a type-1 loop) falls. It cannot turn an infinite error into a finite one, and errors that are already zero stay zero — only adding integrators (raising the type) does that. The catch is that higher gain lowers damping and margins and can make the loop unstable, so the gain is usually set by the stability limit or a lag compensator is used to raise low-frequency gain alone.
6.How does the type of input signal affect the steady-state error in a control system?Application
The type of input signal, such as step, ramp, or parabolic, affects the steady-state error because different error constants are associated with each type. For example, a step input is associated with the position error constant (Kp), a ramp input with the velocity error constant (Kv), and a parabolic input with the acceleration error constant (Ka). The system's ability to minimize steady-state error depends on these constants.
7.Explain how integral control action can reduce steady-state error.Application
Integral control action reduces steady-state error by integrating the error over time and adjusting the control input accordingly. This action accumulates the error and applies a correction until the error is minimized. It is particularly effective in eliminating steady-state error for constant inputs, as it continuously adjusts the control effort to drive the error to zero.
8.Calculate the steady-state error for a unity feedback system with a transfer function G(s) = 10/(s+2) for a unit step input.Numerical
- The position error constant Kp is calculated as the limit of G(s) as s approaches 0: Kp = lim(s→0) G(s) = 10/2 = 5.
- The steady-state error for a unit step input is given by 1/(1+Kp).
- Substituting Kp = 5, the steady-state error is 1/(1+5) = 1/6.
- Therefore, the steady-state error is approximately 0.167.
9.For a system with a transfer function G(s) = 5/(s(s+3)), determine the steady-state error for a unit ramp input.Numerical
- The velocity error constant Kv is calculated as the limit of sG(s) as s approaches 0: Kv = lim(s→0) sG(s) = lim(s→0) 5/(s+3) = 5/3.
- The steady-state error for a unit ramp input is given by 1/Kv.
- Substituting Kv = 5/3, the steady-state error is 3/5.
- Therefore, the steady-state error is 0.6.
10.What is the effect of adding a derivative control action on the steady-state error?Application
Derivative control action primarily affects the transient response of a system and does not directly influence the steady-state error. It helps in improving the stability and speed of response by predicting future errors based on the rate of change of the error. However, it does not eliminate steady-state error, which is typically addressed by proportional and integral control actions.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?