Introduction
Until now, we have not had any ways of determining whether a system is stable or not. Stability is one of the most important system specifications.
If a system is unstable, then transient response and steady-state errors are not important.
An unstable system cannot be designed for a specific transient response or steady state error requirements.
There are many definitions for stability, depending on the kind of system or the point of view, but we’ll examine a few stability criterions for linear, time-invariant (LTI) systems.
Stability
Recall that the total response of a system is,
$$ c(t) = c_{\text{forced}}(t) + c_{\text{natural}}(t) $$
- A system is stable if the natural response tends to zero as $t \to \infty$.
- A system is unstable if the natural response grows unbounded as $t \to \infty$.
- A system is marginally stable if natural response neither decays or grows (stays constant or oscillates with fixed amplitude) as $t \to \infty$.
BIBO Stability
The Bounded Input Bounded Output (BIBO) stability criterion states that a system is stable if the output is bounded for any bounded input.
- A system is stable if every bounded input produces a bounded output.
- A system is unstable if any bounded input produces an unbounded output.
Stability and Poles
To determine if a system is stable, we can examine the poles of the closed-loop system.
Transfer function in rational-polynomial form,
$$ G(s) = \frac{Q(s)}{P(s)}. $$
The orders of the polynomial $Q(s)$ and $P(s)$ are $m$ and $n$, respectively and $n$ is greater than $m$.
Remember that the transfer function $G(s)$ is the ratio of the Laplace transforms of the output to the input with zero initial conditions.
In general some of the poles may be complex, but for all systems of practical interest, the coefficents of $P(s)$ are real and this means that any complex roots must occur in conjugate pairs.
The system is stable if and only if $$ \text{real}(p_i) < 0, \quad \forall i, $$
where $p_i$ are the roots of the polynomial equation $P(s) = 0$.
We could calculate these roots numerically, but we would like a better method which does not require that all roots be determined.
Necessary Stability Condition
A necessary condition for a polynomial to have all roots in the open left hand plane, is to have all coefficents of the polynomial to be present and to have the same sign.
However, this is not a sufficient condition.
A sufficient condition that a system is unstable is that all coefficents do not have the same sign.
If some coefficients are missing, system may be unstable, or at best, marginally stable.
If all coefficients are same sign and present, system could stable or unstable.
A better method which does not require that all roots to be determined is the Routh-Hurwitz criterion.
Routh-Hurwitz Criterion
This method will give us the stability information without having to find poles of the closed-loop system.
The Routh-Hurwitz method will tell us,
- How many poles are in the left half-plane.
- How many poles are in the right half-plane.
- How many poles are on the imaginary axis.
To apply the method we need to,
- Construct a table of data called a Routh table.
- Interpret the table to determine the number of poles in each region.
Generating a Basic Routh Table
The Routh-Hurwitz criterion focuses on the coefficients of the denominator of the transfer function.
The Routh table has $(n + 1)$ rows.
- If $n$ is odd, the table has $((n + 1) / 2)$ columns.
- If $n$ is even, the table has $(n/2 + 1)$ columns.
The first two rows of the table are the coefficients of the polynomial $P(s)$.
Row 1 of the Routh table is the coefficients of the even powers of $s$, $s^n, s^{n-2}, s^{n-4}, \ldots$.
Row 2 of the Routh table is the coefficients of the odd powers of $s$, $s^{n-1}, s^{n-3}, s^{n-5}, \ldots$.
The remaining entries are filled in as follows,
- Each entry is a negative determinant of entries from the previous two rows divided by the entry in the first column of the row above.
- Left-hand column of determinant is always the first column of the previous two rows.
- Right-hand column is the elements of the column above and directly to the right of the current location.
- If no column to the right, use a zero.
Let $P(s) = a_= s^n + a_1 s^{n-1} + a_2 s^{n-2} + \ldots + a_n$.
The Routh table for $P(s)$ is,
$s^n$ | $a_0$ | $a_2$ | $a_4$ | $a_6$ | $\ldots$ |
$s^{n-1}$ | $a_1$ | $a_3$ | $a_5$ | $a_7$ | $\ldots$ |
$s^{n-2}$ | $b_1$ | $b_2$ | $b_3$ | $b_4$ | $\ldots$ |
$s^{n-3}$ | $c_1$ | $c_2$ | $c_3$ | $c_4$ | $\ldots$ |
$s^{n-4}$ | $d_1$ | $d_2$ | $d_3$ | $d_4$ | $\ldots$ |
$\vdots$ | $\vdots$ | $\vdots$ | $\vdots$ | $\vdots$ | $\ddots$ |
$s^0$ | $\ldots$ | $\ldots$ | $\ldots$ | $\ldots$ | $\ldots$ |
where
$b_1 = \frac{a_1 a_2 - a_0 a_3}{a_1}$ | $b_2 = \frac{a_1 a_4 - a_0 a_5}{a_1}$ | $b_3 = \frac{a_1 a_6 - a_0 a_7}{a_1}$ | $b_4 = \frac{a_1 a_8 - a_0 a_9}{a_1}$ | $\ldots$ | |
$c_1 = \frac{b_1 a_3 - a_1 b_2}{b_1}$ | $c_2 = \frac{b_1 a_5 - a_1 b_3}{b_1}$ | $c_3 = \frac{b_1 a_7 - a_1 b_4}{b_1}$ | $c_4 = \frac{b_1 a_9 - a_1 b_5}{b_1}$ | $\ldots$ | |
$d_1 = \frac{c_1 b_2 - b_1 c_2}{c_1}$ | $d_2 = \frac{c_1 b_3 - b_1 c_3}{c_1}$ | $d_3 = \frac{c_1 b_4 - b_1 c_4}{c_1}$ | $d_4 = \frac{c_1 b_5 - b_1 c_5}{c_1}$ | $\ldots$ | |
$\vdots$ | $\vdots$ | $\vdots$ | $\vdots$ | $\vdots$ | $\ddots$ |
Interpreting a Basic Routh Table
The Routh-Hurwitz criterion states that the number of poles in the right half-plane is equal to the number of sign changes in the first column of the Routh table.
A system is stable if there are no sign changes in the first column of the Routh table.
Special Cases
There are two special cases that can sometimes occur,
- The Routh table sometimes will have a zero only in the first column.
- The Routh table sometimes will have an entire row that consists of zeros.
We will only consider the first case.
Example
Consider the system with closed-loop transfer function,
$$ G(s) = \frac{10}{s^5 + 2s^4 + 3s^3 + 6s^2 + 5s + 3}. $$
Therefore, the polynomial $P(s) = s^5 + 2s^4 + 3s^3 + 6s^2 + 5s + 3$.
The Routh table is,
$s^5$ | 1 | 3 | 5 |
$s^4$ | 2 | 6 | 3 |
$s^3$ | $a_1$ | $a_2$ | $a_3$ |
$s^2$ | $b_1$ | $b_2$ | $b_3$ |
$s^1$ | $c_1$ | $c_2$ | $c_3$ |
$s^0$ | $d_1$ | $d_2$ | $d_3$ |
If we calculate $a_1$ we see that it is zero. Instead of writing zero, we denote it as a small number $\epsilon$.
The Routh table is,
$s^5$ | 1 | 3 | 5 |
$s^4$ | 2 | 6 | 3 |
$s^3$ | $\epsilon$ | $a_2$ | $a_3$ |
$s^2$ | $b_1$ | $b_2$ | $b_3$ |
$s^1$ | $c_1$ | $c_2$ | $c_3$ |
$s^0$ | $d_1$ | $d_2$ | $d_3$ |
Let’s fill in the rest of the table, in terms of $\epsilon$.
$s^5$ | 1 | 3 | 5 |
$s^4$ | 2 | 6 | 3 |
$s^3$ | $\epsilon$ | $\frac{7}{2}$ | 0 |
$s^2$ | $\frac{6 \epsilon - 7}{\epsilon}$ | 3 | 0 |
$s^1$ | $\frac{42 \epsilon - 49 - 6 \epsilon^2}{12 \epsilon - 14}$ | 0 | 0 |
$s^0$ | 3 | 0 | 0 |
Let’s now examine the table by allowing $\epsilon$ to approach zero from the positive side and negative side.
Label | First Column | $\epsilon = +$ | $\epsilon = -$ |
---|---|---|---|
$s^5$ | 1 | + | + |
$s^4$ | 2 | + | + |
$s^3$ | $\epsilon$ | + | - |
$s^2$ | $\frac{6 \epsilon - 7}{\epsilon}$ | - | + |
$s^1$ | $\frac{42 \epsilon - 49 - 6 \epsilon^2}{12 \epsilon - 14}$ | + | + |
$s^0$ | 3 | + | + |
We have two sign changes in the first column, therefore the system is unstable.
Conclusion
The Routh-Hurwitz criterion is a powerful tool for determining the stability of a system without having to find the poles of the closed-loop system.