Skip to content
Automatic Controls 1

The Nyquist criterion and stability margins

The critical point −1, the Nyquist criterion and the argument principle, an example with plot, gain and phase margins on Bode plots, link with damping, delays.

The Routh criterion and the root locus need a model of the plant as a rational function. Often, however, the plant is known through its frequency response, measured with an analyser or obtained from tests, and the plant may contain pure delays that are not rational. The Nyquist criterion decides closed-loop stability by looking only at the open-loop frequency response, and in addition gives a measure of how far the system is from instability: the gain and phase margins.

The idea

The closed loop is unstable if 1 + L(s) = 0 has roots in the right half-plane. The critical point is L(s) = -1: if at some frequency the loop function equals exactly −1, the signal going round the loop comes back identical (gain 1, 180° phase shift, which with the minus sign of the comparison becomes 360°) and the system oscillates on its own. It is the same principle as an electronic oscillator, and as the howl of a microphone held too close to its loudspeaker.

The Nyquist criterion

The Nyquist plot is the curve traced in the complex plane by L(j\omega) as \omega goes from -\infty to +\infty (the part for \omega \lt 0 is the mirror image about the real axis).

Criterion (statement). Let P be the number of poles of L(s) in the right half-plane and N the number of times the Nyquist plot encircles the point −1, counted positive clockwise. The number of closed-loop poles in the right half-plane is

    \[ Z = N + P \]

The closed loop is stable if and only if Z = 0.

Where it comes from. It is an application of the argument principle, a consequence of the residue theorem (Mathematical Methods lessons): as s travels along a closed curve enclosing the whole right half-plane, the image 1 + L(s) winds around the origin a number of times equal to the difference between the zeros and poles of 1 + L enclosed. The zeros of 1 + L are the closed-loop poles, its poles are those of L; and winding around the origin for 1 + L is the same as winding around −1 for L. (If L has poles on the imaginary axis, like integrators, the curve goes around them with small semicircles.)

The common case. If L is stable (P = 0), the closed loop is stable if and only if the plot does not encircle the point −1.

An example

    \[ L(s) = \frac{10}{s(s + 1)(s + 5)} \]

Nyquist plot of 10/(s(s+1)(s+5))
At low frequencies the curve comes from below, far to the left, because of the integrator; then it approaches the origin crossing the negative real axis at −1/3, to the right of the critical point −1, which is therefore not encircled. The dashed part corresponds to negative frequencies.

The plot crosses the negative real axis where the phase is −180°: \omega_\pi = \sqrt5 \approx 2.24 rad/s, with L(j\omega_\pi) = -1/3. The point −1 stays outside: the closed loop is stable. Multiplying the gain by 3 would make the curve pass exactly through −1: the same limit K = 30 given by the Routh criterion on the equation s^3 + 6s^2 + 5s + K = 0 (6\cdot 5 = 30).

Stability margins

The further the curve passes from −1, the more robust the system. The distance is measured by two numbers, which can also be read conveniently on the Bode plots of L(j\omega):

  • gain margin G_m: by how much the gain can be multiplied before instability, G_m = 1/|L(j\omega_\pi)|, where \omega_\pi is the frequency at which the phase is −180°;
  • phase margin \varphi_m: how much extra phase lag can be added before instability, \varphi_m = 180° + \arg L(j\omega_c), where \omega_c is the crossover frequency at which |L| = 1 (0 dB).
Bode plots of the loop function with gain and phase margins
At the top the magnitude of L in decibels: it crosses 0 dB at the frequency ω_c. At the bottom the phase: it equals −180° at the frequency ω_π. The phase margin is the distance of the phase from −180° at ω_c, the gain margin the distance of the magnitude from 0 dB at ω_π.

In the example: G_m = 3, that is 9.5 dB, and \omega_c \approx 1.23 rad/s with \varphi_m \approx 25°.

Phase margin and damping. For a loop that behaves like a second-order system, \zeta \approx \varphi_m/100 holds to a good approximation (with \varphi_m in degrees, up to about 60°). A 25° margin means \zeta \approx 0.25 and an overshoot around 44% (simulating the closed loop gives 49%): stable, but too oscillatory. In practice phase margins of 45 to 60° and gain margins of at least 6 dB are required. In the lesson on compensators we will increase the margin of this example.

Delays. A pure delay e^{-s\tau} (transport time on a conveyor belt, network latency) has magnitude 1 and phase -\omega\tau: it does not change the magnitude plot, but it takes away phase margin increasingly with frequency. The Nyquist criterion handles it with no difficulty, which is one reason frequency-domain design is so widely used in industry.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x