The Routh-Hurwitz stability calculator gives the Routh array elements, the number of sign changes in the first column, which is the number of roots in the right half plane, the critical value of the constant term and the gain margin for a fourth-order characteristic polynomial.
How the calculation works
- Enter the coefficients of s⁴, s³, s², s and the constant term of the characteristic equation.
- The calculator builds the first column of the Routh array.
- Count the sign changes: none means stable, and the critical value shows how far the gain can go.
Example
The polynomial 1s⁴ + 6s³ + 11s² + 6s + 5 has a Routh array with 10.000 and 3.000 in the third and fourth rows. There are 0 sign changes, so no unstable root. The system stays stable until the constant term reaches 10.000, a gain margin of 6.02 dB.
Why it matters
The calculator helps control engineering students, automation engineers and electronics designers who need to check the stability of a feedback system, an amplifier or a regulation loop quickly, or find the gain at which a loop starts to oscillate.
Good to know
Write the characteristic equation as 1 + K × G(s) = 0, multiply out the denominator and bring the polynomial to the form above, with a positive leading coefficient. All coefficients must be positive for a stable system, which is a necessary but not sufficient condition. The criterion tells only whether the poles are stable, not how damped they are, so use a root locus or a Bode plot for the margins and the response. Check the gain margin against the uncertainty of the plant, and aim for at least 6 dB, or better 10 dB for a robust design.
Related tools
The second-order step response calculator describes the response of a stable system, the damping ratio calculator gives the damping of a pole pair, the forced oscillation calculator shows the resonance of a loop and the quadratic formula calculator finds the roots of a second-order polynomial.