Stability criteria
Suppose a system has transfer function
where and are the numerator and denominator polynomials, respectively. The denominator 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:
Computing all roots of , and
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 by dividing through by its leading coefficient.)
For example,
and the normalized characteristic polynomial is
Positive coefficients¶
Necessary vs sufficient conditions
A necessary condition for a statement is a condition such that if is true, then must also be true. In other words, implies . However, being true does not necessarily imply that is true.
A sufficient condition for a statement is a condition such that if is true, then must also be true. In other words, implies . However, being true does not necessarily imply that is true.
For example, let , , and be the following statements:
: “You are on the swim team.”
: “You can swim.”
: “You are wearing swim team gear (sweater, backpack, baseball cap, etc.).”
In this case, (if you are on the swim team, then you can swim), so is a necessary condition for . However, does not imply (just because you can swim does not mean you are on the swim team).
On the other hand, (if you are wearing swim team gear, then you must be on the swim team), so is a sufficient condition for . However, does not imply (just because you are on the swim team does not mean you are wearing swim team gear on a given day).
In the example above, the condition of having all positive coefficients is a necessary condition for stability, but it is not a sufficient condition. In other words, if any coefficient is negative or zero, we can conclude that the system is not stable. However, if all coefficients are positive, we cannot conclude that the system is stable; it could still be unstable.
Why? If all roots are in the left-half plane, then the polynomial factors into terms like
real roots: with , and
complex conjugate roots: with ,
so the characteristic polynomial factors as
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,
which has roots at and , 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
First or second order¶
If or , 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 then the system is stable if and only if all coefficients are positive and the following inequality holds:
Fourth order¶
If then the system is stable if and only if all coefficients are positive and the following inequality holds:
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?
Answer. Yes. The characteristic polynomial is , and for second order we only need and . The numerator is irrelevant for determining stability.
Example 2: positive counterexample¶
Recall the counterexample we saw earlier in Eq. (7):
Is the system with this characteristic polynomial stable or unstable?
Answer. Unstable! Here , , , but the third-order condition
fails because . 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
What values of produce a stable closed-loop transfer function?
Answer. The closed-loop transfer function is
Expanding the denominator gives the characteristic polynomial
This is third order with , , . Stability requires
So the closed-loop system is stable for
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 #
This is known as the contrapositive of the original statement, and it is logically equivalent to the original statement. Formally, if implies , then not implies not .