Toolvito

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

Your values

The denominator of the closed loop, 1 + G(s)H(s) = 0 cleared of fractions: coefficients from the highest power, or an expression in s.

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.

Exact test on the server

Exact test on the server

Uses the polynomial or the loop of the result above. The server builds the Routh array (or the Jury conditions) in exact fractions with SymPy, solves the gain range exactly and lists the roots.

The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to use the stability checker

  1. 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).
  2. For The range of a gain K type the numerator and denominator of G(s); the loop is K G(s) with unity feedback.
  3. For A discrete-time polynomial in z type the characteristic polynomial of the sampled system.
  4. 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.

Related tools