Steady State Error
Analyzing long-term accuracy in control systems
What is Steady State Error?
It represents the long-term accuracy of a control system and is a critical performance metric. A smaller steady state error indicates better tracking performance.
Where:
- e(t) = Error signal at time t
- r(t) = Reference input (desired output)
- c(t) = Actual output
System Type
The system type is determined by the number of pure integrators (poles at the origin) in the open-loop transfer function:
Where N is the system type (number of poles at s = 0).
| System Type | Poles at Origin | Position Error | Velocity Error | Acceleration Error |
|---|---|---|---|---|
| Type 0 | 0 | Finite | ∞ | ∞ |
| Type 1 | 1 | 0 | Finite | ∞ |
| Type 2 | 2 | 0 | 0 | Finite |
| Type 3+ | 3 or more | 0 | 0 | 0 |
Error Constants
Error constants quantify steady state error for different input types:
1. Position Error Constant (Kp)
For step input: ess = 1 / (1 + Kp)
2. Velocity Error Constant (Kv)
For ramp input: ess = 1 / Kv
3. Acceleration Error Constant (Ka)
For parabolic input: ess = 1 / Ka
Standard Test Inputs
Step Input: r(t) = A·u(t)
Laplace: R(s) = A/s
Represents: Sudden change in setpoint (e.g., thermostat adjustment)
Steady State Error:
- Type 0: ess = A / (1 + Kp)
- Type 1+: ess = 0
Ramp Input: r(t) = A·t·u(t)
Laplace: R(s) = A/s²
Represents: Constant velocity tracking (e.g., conveyor belt)
Steady State Error:
- Type 0: ess = ∞
- Type 1: ess = A / Kv
- Type 2+: ess = 0
Parabolic Input: r(t) = A·t²·u(t)/2
Laplace: R(s) = A/s³
Represents: Constant acceleration tracking (e.g., missile guidance)
Steady State Error:
- Type 0-1: ess = ∞
- Type 2: ess = A / Ka
- Type 3+: ess = 0
Calculation Using Final Value Theorem
The general formula for steady state error:
Example Calculation
Problem
Given a unity feedback system with:
Find the steady state error for a unit ramp input.
Solution
Step 1: Determine system type
One pole at origin → Type 1 system
Step 2: Calculate Kv
Kv = lims→0 s·G(s) = lims→0 100 / [(s + 5)(s + 10)]
Kv = 100 / (5 × 10) = 2
Step 3: Calculate ess
For unit ramp (A = 1): ess = 1 / Kv = 1 / 2 = 0.5
Result: The system will track a ramp input with a constant error of 0.5 units.
Reducing Steady State Error
1. Increase System Gain
Higher gain K reduces error but may affect stability
Trade-off: Stability margins vs. accuracy
2. Add Integrators
Increase system type by adding poles at origin
Integral control eliminates steady state error for certain inputs
3. Use PID Controller
Proportional-Integral-Derivative controller:
- P: Reduces error magnitude
- I: Eliminates steady state error
- D: Improves transient response
4. Feedforward Compensation
Add feedforward path to anticipate disturbances
Reduces error without affecting feedback loop stability
Practical Applications
Temperature Control
Thermostat systems require zero steady state error for step inputs to maintain setpoint temperature accurately.
Motor Speed Control
DC motor controllers need Type 1 or higher to track varying speed commands without lag.
Robotic Positioning
High-precision robots require Type 2+ systems to track complex trajectories with minimal error.
Cruise Control
Automotive cruise control uses integral action to eliminate speed error on varying road grades.
Key Takeaways
- Steady state error measures long-term tracking accuracy
- System type determines which inputs can be tracked perfectly
- Higher system type = better tracking but potential stability issues
- Error constants (Kp, Kv, Ka) quantify performance
- Integral control (Type 1+) eliminates step input error
- Use Final Value Theorem for calculation
- Trade-off exists between error reduction and system stability