Steady-State Error Calculator
Find the steady-state error for step, ramp, and parabolic inputs from a system's type number and open-loop gain, using the Final Value Theorem.
📉 What is Steady-State Error?
Steady-state error is the gap that remains between a control system's commanded input and its actual output after every transient wiggle has died away, as time goes to infinity. It is found by applying the Final Value Theorem to the closed-loop error signal, and for a standard unity-feedback (or equivalent) loop, the result depends only on two things about the open-loop transfer function: its system type number (how many pure integrators it contains) and its DC gain K, not on any of the transient dynamics that pole time constants control.
Engineers check steady-state error whenever a control loop must track a moving target, not just settle at a fixed setpoint. A CNC machine tool positioning system must reach a commanded position with essentially zero final error, requiring at least a Type 1 design. A radar or camera gimbal tracking a target moving at constant angular velocity needs a finite, small velocity error, again a Type 1 system, since a Type 0 system's ramp error grows without bound. A missile or robotic arm tracking an accelerating target needs a Type 2 system to keep even its parabolic-input error finite.
A common misconception is that a "better" (faster, more heavily damped) transient response automatically means a smaller steady-state error. In reality these are separate design axes entirely, a system can settle very quickly (good transient response, set by pole locations and time constants) while still carrying a large, nonzero steady-state error (set by the type number and gain), or vice versa. Increasing gain K reduces the steady-state error for inputs the system's type can already track, but it does nothing for inputs of a higher order, and it can also degrade stability margins.
This calculator takes an open-loop system's type number (0, 1, or 2), gain K, and pole time constants T1 and T2, and returns the position, velocity, and acceleration error constants (Kp, Kv, Ka), the steady-state error for step, ramp, and parabolic inputs, and a chart showing how the one input your system type can actually track improves as gain K increases.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — Type 0 System Tracking a Step Input
Type 0, K = 10, T1 = 0.5 s, T2 = 0.1 s
Example 2 — Type 1 System Tracking a Ramp Input
Type 1, K = 10, T1 = 0.5 s, T2 = 0.1 s
Example 3 — Type 2 System Tracking a Parabolic Input
Type 2, K = 10, T1 = 0.5 s, T2 = 0.1 s
❓ Frequently Asked Questions
🔗 Related Calculators
What is steady-state error in a control system?
Steady-state error is the difference between a system's commanded input and its actual output after all transient behavior has died out, as time goes to infinity. It is found using the Final Value Theorem applied to the closed-loop error signal, and its value depends only on the open-loop system's type number and DC gain, not on its transient dynamics.
What is the system type number and how do you find it?
The type number N is the number of pure integrators, poles located exactly at s=0, in the open-loop transfer function G(s)H(s) = K / [s^N(1+sT1)(1+sT2)]. A system with no integrator is Type 0, one integrator is Type 1, two integrators is Type 2, and so on.
How do you calculate the position error constant Kp?
Kp is the limit as s approaches 0 of the open-loop transfer function G(s)H(s). For G(s)H(s) = K/[s^N(1+sT1)(1+sT2)], Kp equals K for a Type 0 system and is infinite for Type 1 or higher, since the s^N term in the denominator forces the limit to blow up.
How do you calculate the velocity error constant Kv?
Kv is the limit as s approaches 0 of s times G(s)H(s). For a Type 1 system this limit equals K exactly (the single s in the denominator cancels the extra s in the limit), it is 0 for Type 0 (too few integrators) and infinite for Type 2 or higher (too many).
How do you calculate the acceleration error constant Ka?
Ka is the limit as s approaches 0 of s squared times G(s)H(s). For a Type 2 system this limit equals K exactly, it is 0 for Type 0 and Type 1 (too few integrators) and infinite for Type 3 or higher (too many).
What is the steady-state error formula for a step input?
For a unit step input, the steady-state error is ess = 1/(1+Kp). A Type 0 system has a finite Kp and therefore a finite, nonzero step error. A Type 1 or higher system has Kp equal to infinity, making the step error exactly zero.
What is the steady-state error formula for a ramp input?
For a unit ramp input, the steady-state error is ess = 1/Kv. A Type 0 system has Kv = 0, giving an infinite (unbounded, ever-growing) ramp error. A Type 1 system has a finite Kv and a finite ramp error. A Type 2 or higher system has Kv = infinity, giving zero ramp error.
Why don't the pole time constants T1 and T2 affect the steady-state error?
Because the error constants are evaluated as s approaches 0, and the factors (1+sT1) and (1+sT2) both approach exactly 1 regardless of what T1 and T2 are, since s itself is approaching zero. T1 and T2 only shape the transient response (how the system gets to steady state), not the final steady-state value itself.
How can I reduce steady-state error without changing the system type?
Increasing the open-loop gain K reduces the steady-state error for whichever input the system's type number can already track with a finite error, for example raising K on a Type 1 system reduces its ramp error (ess = 1/Kv = 1/K). It has zero effect on inputs of a higher order than the type number supports.
What is the difference between a Type 1 and Type 2 system?
A Type 1 system (one open-loop integrator) tracks a step input with zero steady-state error and a ramp input with a finite, nonzero error, but cannot track an accelerating (parabolic) input at all. A Type 2 system (two open-loop integrators) tracks both step and ramp inputs with zero error and a parabolic input with a finite error.
Why is a higher system type not always better?
Each added open-loop integrator (higher type number) reduces steady-state error for more demanding inputs, but it also adds 90 degrees of phase lag at every frequency, which erodes phase margin and pushes the closed-loop system closer to instability. Real designs balance steady-state accuracy against the stability margins checked by the Bode Plot and Nyquist calculators on this site.