Calculates on this device. File exports run online.
Control System Stability Checker
Type the characteristic polynomial of a closed loop and get its Routh array, the number of roots in the right half-plane and the verdict. Or give the open loop G(s) and find the range of gain K for which the closed loop is stable, or check a discrete-time polynomial in z with the Jury test.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use the stability checker
- Choose what to check. For A characteristic polynomial type it as coefficients (1, 2, 3, 4, 5) or as an expression (s^4 + 2s^3 + 3s^2 + 4s + 5).
- For The range of a gain K type the numerator and denominator of G(s); the loop is K G(s) with unity feedback.
- For A discrete-time polynomial in z type the characteristic polynomial of the sampled system.
- Press Calculate. The box under the result runs the same test on the server in exact fractions.
The tests
- Routh-Hurwitz: the number of sign changes down the first column of the Routh array is the number of roots with a positive real part. A 0 in the first column is replaced by a small ε > 0; a row of zeros by the derivative of the auxiliary polynomial above it (roots symmetric about the origin).
- Gain range: the closed loop D(s) + K N(s) changes stability where its roots cross the imaginary axis. Between those critical gains it is stable or not throughout.
- Jury: a sampled system is stable when every root of its characteristic polynomial is inside the unit circle |z| < 1.
Worked example
s⁴ + 2s³ + 3s² + 4s + 5 has the first column 1, 2, 1, −6, 5: two sign changes, so two roots in the right half-plane and an unstable system.
G(s) = 1 ÷ (s (s + 1)(s + 10)) gives s³ + 11s² + 10s + K: the closed loop is stable for 0 < K < 110. At K = 110 it oscillates at √10 = 3.162 rad/s.
z² − 1.2z + 0.5 has roots 0.6 ± 0.374j of modulus 0.707: stable.
Limits you should know
- Linear, time-invariant systems only. Polynomials up to degree 30; the gain range is searched from 10⁻⁶ to 10⁸ on the page (the server solves it exactly).
- A dead time makes the characteristic equation non-polynomial: use the Nyquist plot generator for that.