Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Stability criteria

Suppose a system has transfer function

G(s)=b(s)a(s),G(s) = \frac{b(s)}{a(s)},

where b(s)b(s) and a(s)a(s) are the numerator and denominator polynomials, respectively. The denominator a(s)a(s) is also called the characteristic polynomial of the system, and its roots are the poles of the system.

Remember the definition of stability: a system is stable if all of its poles have negative real part, i.e., they lie in the left-half plane (LHP). It is always possible to check stability by:

  1. Computing all roots of a(s)a(s), and

  2. Checking that each root has negative real part.

But if we only care whether the system is stable (not the exact pole locations), computing all of the roots is often impractical and unnecessary. We will learn a faster way!

Normalize the characteristic polynomial

Many stability tests assume the characteristic polynomial is monic (leading coefficient equals 1). So first, normalize a(s)a(s) by dividing through by its leading coefficient.)

For example,

3s+72s2+5s+1  =  32s72s252s12,\frac{3s+7}{-2s^2+5s+1} \;=\; \frac{-\tfrac{3}{2}s-\tfrac{7}{2}}{s^2-\tfrac{5}{2}s-\tfrac{1}{2}},

and the normalized characteristic polynomial is

s252s12.s^2-\frac{5}{2}s-\frac{1}{2}.

Positive coefficients

Why? If all roots are in the left-half plane, then the polynomial factors into terms like

so the characteristic polynomial factors as

a(s)=(s+r1)(s+rk)real roots ((s+p1)2+q12)((s+p)2+q2)complex conjugate rootsa(s)= \underbrace{(s+r_1)\cdots(s+r_k)}_{\textsf{real roots}}\ \underbrace{\Bigl((s+p_1)^2+q_1^2\Bigr)\cdots\Bigl((s+p_\ell)^2+q_\ell^2\Bigr)}_{\textsf{complex conjugate roots}}

and multiplying these factors cannot produce a negative coefficient because there are no negative signs in the factors! This means that if any coefficient is negative, its factored form cannot look like the above, so it must have at least one root in the right-half plane, and therefore the system is unstable.

However, the converse is not true: positive coefficients do not guarantee stability. For example,

s3+s2+4s+30=(s+3)(s22s+10),s^3+s^2+4s+30=(s+3)(s^2-2s+10),

which has roots at 3-3 and 1±3j1\pm 3j, so it is unstable (two poles in the right-half plane), even though all coefficients are positive.

Exact conditions for stability

There are stronger tests that are necessary and sufficient (they tell you exactly when the system is stable). For low-order polynomials, the conditions are simple.

Let the characteristic polynomial be written in the form

a(s)=sn+an1sn1++a1s+a0.a(s)=s^n+a_{n-1}s^{n-1}+\cdots+a_1 s + a_0.

First or second order

If a(s)=s+a0a(s)=s+a_0 or a(s)=s2+a1s+a0a(s)=s^2+a_1 s + a_0, then the system is stable if and only if all coefficients are positive. In other words, the condition we saw earlier for positive coefficients is all you need to check.

Third order

If a(s)=s3+a2s2+a1s+a0a(s)=s^3+a_2 s^2 + a_1 s + a_0 then the system is stable if and only if all coefficients are positive and the following inequality holds:

a2a1>a0.a_2 a_1 > a_0.

Fourth order

If a(s)=s4+a3s3+a2s2+a1s+a0a(s)=s^4+a_3 s^3 + a_2 s^2 + a_1 s + a_0 then the system is stable if and only if all coefficients are positive and the following inequality holds:

a3a2a1>a12+a32a0a_3 a_2 a_1 > a_1^2 + a_3^2 a_0

Fifth order and above

For order 5 and higher, there are stability conditions, but they become significantly more complicated. A standard tool is the Routh–Hurwitz stability criterion, which provides a systematic way to check stability without computing the roots, but we will not cover it here because it is rarely needed.

Examples

Example 1: second-order check

Is the following system stable?

G(s)=s2s2+7s+34G(s)=\frac{s-2}{s^2+7s+34}

Answer. Yes. The characteristic polynomial is s2+7s+34s^2+7s+34, and for second order we only need 7>07>0 and 34>034>0. The numerator is irrelevant for determining stability.

Example 2: positive counterexample

Recall the counterexample we saw earlier in Eq. (7):

a(s)=s3+s2+4s+30a(s)=s^3+s^2+4s+30

Is the system with this characteristic polynomial stable or unstable?

Answer. Unstable! Here a2=1>0a_2=1>0, a1=4>0a_1=4>0, a0=30>0a_0=30>0, but the third-order condition

a2a1>a0a_2 a_1 > a_0

fails because 14301\cdot 4 \not> 30. Therefore the polynomial has at least one root in the right-half plane and the system is unstable. This confirms our previous result when we calculated the roots explicitly. Note that we did not have to calculate the roots to determine stability; we just had to check the coefficients and the inequality.

Example 3: integral control

Consider the unity-feedback loop with plant and controller given by

G(s)=1(s+1)(s+2)andC(s)=ksG(s)=\frac{1}{(s+1)(s+2)} \quad\textsf{and}\quad C(s)=\frac{k}{s}

What values of kk produce a stable closed-loop transfer function?

Answer. The closed-loop transfer function is

C(s)G(s)1+C(s)G(s)=ks1(s+1)(s+2)1+ks1(s+1)(s+2)=ks(s+1)(s+2)+k.\frac{C(s)G(s)}{1+C(s)G(s)} = \frac{\dfrac{k}{s}\,\dfrac{1}{(s+1)(s+2)}}{1+\dfrac{k}{s}\,\dfrac{1}{(s+1)(s+2)}} = \frac{k}{s(s+1)(s+2)+k}.

Expanding the denominator gives the characteristic polynomial

a(s)=s3+3s2+2s+k.a(s)=s^3+3s^2+2s+k.

This is third order with a2=3a_2=3, a1=2a_1=2, a0=ka_0=k. Stability requires

k>0anda2a1>a0        32>k.k>0 \quad\text{and}\quad a_2 a_1 > a_0 \;\;\Longleftrightarrow\;\; 3\cdot 2 > k.

So the closed-loop system is stable for

0<k<6.0<k<6.

This confirms our intuition that integral control can cause instability if the gain is too high, and it also gives us an exact range of gains that guarantee stability.


Test your knowledge

Solution to Exercise 1 #

The closed-loop transfer function is

C(s)G(s)1+C(s)G(s)=k(s+1)41+k(s+1)4=k(s+1)4+k.\frac{C(s)G(s)}{1+C(s)G(s)} = \frac{\dfrac{k}{(s+1)^4}}{1+\dfrac{k}{(s+1)^4}} = \frac{k}{(s+1)^4+k}.

The characteristic polynomial is

a(s)=(s+1)4+k=s4+4s3+6s2+4s+(1+k).a(s)=(s+1)^4+k=s^4+4s^3+6s^2+4s+(1+k).

All coefficients must be positive, so this implies 1+k>01+k>0, which means k>1k>-1. The fourth-order condition is

a3a2a1>a12+a32a0      464>42+42(1+k)      96>16+16(1+k)      80>16(1+k)      5>1+k      k<4.\begin{aligned} &a_3 a_2 a_1 > a_1^2 + a_3^2 a_0 \\ &\implies\; 4\cdot 6 \cdot 4 > 4^2 + 4^2 (1+k) \\ &\implies\; 96 > 16 + 16(1+k) \\ &\implies\; 80 > 16(1+k) \\ &\implies\; 5 > 1+k \\ &\implies\; k < 4. \end{aligned}

Combining these two conditions, we find that the closed-loop system is stable for

1<k<4\boxed{-1 < k < 4}
Footnotes
  1. This is known as the contrapositive of the original statement, and it is logically equivalent to the original statement. Formally, if PP implies QQ, then not QQ implies not PP.