# Nyquist stability criterion

In control theory and stability theory, the Nyquist stability criterion or Strecker–Nyquist stability criterion, independently discovered by the German electrical engineer Felix Strecker [de] at Siemens in 1930[1][2][3] and the Swedish-American electrical engineer Harry Nyquist at Bell Telephone Laboratories in 1932,[4] is a graphical technique for determining the stability of a dynamical system.

Because it only looks at the Nyquist plot of the open loop systems, it can be applied without explicitly computing the poles and zeros of either the closed-loop or open-loop system (although the number of each type of right-half-plane singularities must be known). As a result, it can be applied to systems defined by non-rational functions, such as systems with delays. In contrast to Bode plots, it can handle transfer functions with right half-plane singularities. In addition, there is a natural generalization to more complex systems with multiple inputs and multiple outputs, such as control systems for airplanes.

The Nyquist stability criterion is widely used in electronics and control system engineering, as well as other fields, for designing and analyzing systems with feedback. While Nyquist is one of the most general stability tests, it is still restricted to linear time-invariant (LTI) systems. Nevertheless, there are generalizations of the Nyquist criterion (and plot) for non-linear systems, such as the circle criterion and the scaled relative graph of a nonlinear operator.[5] Additionally, other stability criteria like Lyapunov methods can also be applied for non-linear systems.

Although Nyquist is a graphical technique, it only provides a limited amount of intuition for why a system is stable or unstable, or how to modify an unstable system to be stable. Techniques like Bode plots, while less general, are sometimes a more useful design tool.

## Nyquist plot

A Nyquist plot is a parametric plot of a frequency response used in automatic control and signal processing. The most common use of Nyquist plots is for assessing the stability of a system with feedback. In Cartesian coordinates, the real part of the transfer function is plotted on the X-axis while the imaginary part is plotted on the Y-axis. The frequency is swept as a parameter, resulting in one point per frequency. The same plot can be described using polar coordinates, where gain of the transfer function is the radial coordinate, and the phase of the transfer function is the corresponding angular coordinate. The Nyquist plot is named after Harry Nyquist, a former engineer at Bell Laboratories.

Assessment of the stability of a closed-loop negative feedback system is done by applying the Nyquist stability criterion to the Nyquist plot of the open-loop system (i.e. the same system without its feedback loop). This method is easily applicable even for systems with delays and other non-rational transfer functions, which may appear difficult to analyze with other methods. Stability is determined by looking at the number of encirclements of the point (−1, 0). The range of gains over which the system will be stable can be determined by looking at crossings of the real axis.

The Nyquist plot can provide some information about the shape of the transfer function. For instance, the plot provides information on the difference between the number of zeros and poles of the transfer function[6] by the angle at which the curve approaches the origin.

When drawn by hand, a cartoon version of the Nyquist plot is sometimes used, which shows the linearity of the curve, but where coordinates are distorted to show more detail in regions of interest. When plotted computationally, one needs to be careful to cover all frequencies of interest. This typically means that the parameter is swept logarithmically, in order to cover a wide range of values.

## Background

The mathematics uses the Laplace transform, which transforms integrals and derivatives in the time domain to simple multiplication and division in the s domain.

We consider a system whose transfer function is ${\displaystyle G(s)}$; when placed in a closed loop with negative feedback ${\displaystyle H(s)}$, the closed loop transfer function (CLTF) then becomes:

${\displaystyle {\frac {G}{1+GH}}}$

Stability can be determined by examining the roots of the desensitivity factor polynomial ${\displaystyle 1+GH}$, e.g. using the Routh array, but this method is somewhat tedious. Conclusions can also be reached by examining the open loop transfer function (OLTF) ${\displaystyle GH(s)}$, using its Bode plots or, as here, its polar plot using the Nyquist criterion, as follows.

Any Laplace domain transfer function ${\displaystyle {\mathcal {T}}(s)}$ can be expressed as the ratio of two polynomials:

${\displaystyle {\mathcal {T}}(s)={\frac {N(s)}{D(s)}}.}$

The roots of ${\displaystyle N(s)}$ are called the zeros of ${\displaystyle {\mathcal {T}}(s)}$, and the roots of ${\displaystyle D(s)}$ are the poles of ${\displaystyle {\mathcal {T}}(s)}$. The poles of ${\displaystyle {\mathcal {T}}(s)}$ are also said to be the roots of the characteristic equation ${\displaystyle D(s)=0}$.

The stability of ${\displaystyle {\mathcal {T}}(s)}$ is determined by the values of its poles: for stability, the real part of every pole must be negative. If ${\displaystyle {\mathcal {T}}(s)}$ is formed by closing a negative unity feedback loop around the open-loop transfer function,

${\displaystyle GH(s)={\frac {A(s)}{B(s)}}}$

then the roots of the characteristic equation are also the zeros of ${\displaystyle 1+GH(s)}$, or simply the roots of ${\displaystyle A(s)+B(s)=0}$.

## Cauchy's argument principle

From complex analysis, a contour ${\displaystyle \Gamma _{s}}$ drawn in the complex ${\displaystyle s}$ plane, encompassing but not passing through any number of zeros and poles of a function ${\displaystyle F(s)}$, can be mapped to another plane (named ${\displaystyle F(s)}$ plane) by the function ${\displaystyle F}$. Precisely, each complex point ${\displaystyle s}$ in the contour ${\displaystyle \Gamma _{s}}$ is mapped to the point ${\displaystyle F(s)}$ in the new ${\displaystyle F(s)}$ plane yielding a new contour.

The Nyquist plot of ${\displaystyle F(s)}$, which is the contour ${\displaystyle \Gamma _{F(s)}=F(\Gamma _{s})}$ will encircle the point ${\displaystyle s={-1/k+j0}}$ of the ${\displaystyle F(s)}$ plane ${\displaystyle N}$ times, where ${\displaystyle N=P-Z}$ by Cauchy's argument principle. Here ${\displaystyle Z}$ and ${\displaystyle P}$ are, respectively, the number of zeros of ${\displaystyle 1+kF(s)}$ and poles of ${\displaystyle F(s)}$ inside the contour ${\displaystyle \Gamma _{s}}$. Note that we count encirclements in the ${\displaystyle F(s)}$ plane in the same sense as the contour ${\displaystyle \Gamma _{s}}$ and that encirclements in the opposite direction are negative encirclements. That is, we consider clockwise encirclements to be positive and counterclockwise encirclements to be negative.

Instead of Cauchy's argument principle, the original paper by Harry Nyquist in 1932 uses a less elegant approach. The approach explained here is similar to the approach used by Leroy MacColl (Fundamental theory of servomechanisms 1945) or by Hendrik Bode (Network analysis and feedback amplifier design 1945), both of whom also worked for Bell Laboratories. This approach appears in most modern textbooks on control theory.

## Definition

We first construct the Nyquist contour, a contour that encompasses the right-half of the complex plane:

• a path traveling up the ${\displaystyle j\omega }$ axis, from ${\displaystyle 0-j\infty }$ to ${\displaystyle 0+j\infty }$.
• a semicircular arc, with radius ${\displaystyle r\to \infty }$, that starts at ${\displaystyle 0+j\infty }$ and travels clock-wise to ${\displaystyle 0-j\infty }$.

The Nyquist contour mapped through the function ${\displaystyle 1+G(s)}$ yields a plot of ${\displaystyle 1+G(s)}$ in the complex plane. By the argument principle, the number of clockwise encirclements of the origin must be the number of zeros of ${\displaystyle 1+G(s)}$ in the right-half complex plane minus the number of poles of ${\displaystyle 1+G(s)}$ in the right-half complex plane. If instead, the contour is mapped through the open-loop transfer function ${\displaystyle G(s)}$, the result is the Nyquist Plot of ${\displaystyle G(s)}$. By counting the resulting contour's encirclements of −1, we find the difference between the number of poles and zeros in the right-half complex plane of ${\displaystyle 1+G(s)}$. Recalling that the zeros of ${\displaystyle 1+G(s)}$ are the poles of the closed-loop system, and noting that the poles of ${\displaystyle 1+G(s)}$ are same as the poles of ${\displaystyle G(s)}$, we now state the Nyquist Criterion:

Given a Nyquist contour ${\displaystyle \Gamma _{s}}$, let ${\displaystyle P}$ be the number of poles of ${\displaystyle G(s)}$ encircled by ${\displaystyle \Gamma _{s}}$, and ${\displaystyle Z}$ be the number of zeros of ${\displaystyle 1+G(s)}$ encircled by ${\displaystyle \Gamma _{s}}$. Alternatively, and more importantly, if ${\displaystyle Z}$ is the number of poles of the closed loop system in the right half plane, and ${\displaystyle P}$ is the number of poles of the open-loop transfer function ${\displaystyle G(s)}$ in the right half plane, the resultant contour in the ${\displaystyle G(s)}$-plane, ${\displaystyle \Gamma _{G(s)}}$ shall encircle (clockwise) the point ${\displaystyle (-1+j0)}$ ${\displaystyle N}$ times such that ${\displaystyle N=Z-P}$.

If the system is originally open-loop unstable, feedback is necessary to stabilize the system. Right-half-plane (RHP) poles represent that instability. For closed-loop stability of a system, the number of closed-loop roots in the right half of the s-plane must be zero. Hence, the number of counter-clockwise encirclements about ${\displaystyle -1+j0}$ must be equal to the number of open-loop poles in the RHP. Any clockwise encirclements of the critical point by the open-loop frequency response (when judged from low frequency to high frequency) would indicate that the feedback control system would be destabilizing if the loop were closed. (Using RHP zeros to "cancel out" RHP poles does not remove the instability, but rather ensures that the system will remain unstable even in the presence of feedback, since the closed-loop roots travel between open-loop poles and zeros in the presence of feedback. In fact, the RHP zero can make the unstable pole unobservable and therefore not stabilizable through feedback.)

## The Nyquist criterion for systems with poles on the imaginary axis

The above consideration was conducted with an assumption that the open-loop transfer function ${\displaystyle G(s)}$ does not have any pole on the imaginary axis (i.e. poles of the form ${\displaystyle 0+j\omega }$). This results from the requirement of the argument principle that the contour cannot pass through any pole of the mapping function. The most common case are systems with integrators (poles at zero).

To be able to analyze systems with poles on the imaginary axis, the Nyquist Contour can be modified to avoid passing through the point ${\displaystyle 0+j\omega }$. One way to do it is to construct a semicircular arc with radius ${\displaystyle r\to 0}$ around ${\displaystyle 0+j\omega }$, that starts at ${\displaystyle 0+j(\omega -r)}$ and travels anticlockwise to ${\displaystyle 0+j(\omega +r)}$. Such a modification implies that the phasor ${\displaystyle G(s)}$ travels along an arc of infinite radius by ${\displaystyle -l\pi }$, where ${\displaystyle l}$ is the multiplicity of the pole on the imaginary axis.

## Mathematical derivation

Our goal is to, through this process, check for the stability of the transfer function of our unity feedback system with gain k, which is given by

${\displaystyle T(s)={\frac {kG(s)}{1+kG(s)}}}$

That is, we would like to check whether the characteristic equation of the above transfer function, given by

${\displaystyle D(s)=1+kG(s)=0}$

has zeros outside the open left-half-plane (commonly initialized as OLHP).

We suppose that we have a clockwise (i.e. negatively oriented) contour ${\displaystyle \Gamma _{s}}$ enclosing the right half plane, with indentations as needed to avoid passing through zeros or poles of the function ${\displaystyle G(s)}$. Cauchy's argument principle states that

${\displaystyle -{\frac {1}{2\pi i}}\oint _{\Gamma _{s}}{D'(s) \over D(s)}\,ds=N=Z-P}$

Where ${\displaystyle Z}$ denotes the number of zeros of ${\displaystyle D(s)}$ enclosed by the contour and ${\displaystyle P}$ denotes the number of poles of ${\displaystyle D(s)}$ by the same contour. Rearranging, we have ${\displaystyle Z=N+P}$, which is to say

${\displaystyle Z=-{\frac {1}{2\pi i}}\oint _{\Gamma _{s}}{D'(s) \over D(s)}\,ds+P}$

We then note that ${\displaystyle D(s)=1+kG(s)}$ has exactly the same poles as ${\displaystyle G(s)}$. Thus, we may find ${\displaystyle P}$ by counting the poles of ${\displaystyle G(s)}$ that appear within the contour, that is, within the open right half plane (ORHP).

We will now rearrange the above integral via substitution. That is, setting ${\displaystyle u(s)=D(s)}$, we have

${\displaystyle N=-{\frac {1}{2\pi i}}\oint _{\Gamma _{s}}{D'(s) \over D(s)}\,ds=-{\frac {1}{2\pi i}}\oint _{u(\Gamma _{s})}{1 \over u}\,du}$

We then make a further substitution, setting ${\displaystyle v(u)={\frac {u-1}{k}}}$. This gives us

${\displaystyle N=-{\frac {1}{2\pi i}}\oint _{u(\Gamma _{s})}{1 \over u}\,du=-{{1} \over {2\pi i}}\oint _{v(u(\Gamma _{s}))}{1 \over {v+1/k}}\,dv}$

We now note that ${\displaystyle v(u(\Gamma _{s}))={{D(\Gamma _{s})-1} \over {k}}=G(\Gamma _{s})}$ gives us the image of our contour under ${\displaystyle G(s)}$, which is to say our Nyquist plot. We may further reduce the integral

${\displaystyle N=-{\frac {1}{2\pi i}}\oint _{G(\Gamma _{s}))}{\frac {1}{v+1/k}}\,dv}$

by applying Cauchy's integral formula. In fact, we find that the above integral corresponds precisely to the number of times the Nyquist plot encircles the point ${\displaystyle -1/k}$ clockwise. Thus, we may finally state that

{\displaystyle {\begin{aligned}Z={}&N+P\\[6pt]={}&{\text{(number of times the Nyquist plot encircles }}{-1/k}{\text{ clockwise)}}\\&{}+{\text{(number of poles of }}G(s){\text{ in ORHP)}}\end{aligned}}}

We thus find that ${\displaystyle T(s)}$ as defined above corresponds to a stable unity-feedback system when ${\displaystyle Z}$, as evaluated above, is equal to 0.

## Importance

The Nyquist stability criterion is a graphical technique that determines the stability of a dynamical system, such as a feedback control system. It is based on the argument principle and the Nyquist plot of the open-loop transfer function of the system. It can be applied to systems that are not defined by rational functions, such as systems with delays. It can also handle transfer functions with singularities in the right half-plane, unlike Bode plots. The Nyquist stability criterion can also be used to find the phase and gain margins of a system, which are important for frequency domain controller design.[7]

## Summary

• If the open-loop transfer function ${\displaystyle G(s)}$ has a zero pole of multiplicity ${\displaystyle l}$, then the Nyquist plot has a discontinuity at ${\displaystyle \omega =0}$. During further analysis it should be assumed that the phasor travels ${\displaystyle l}$ times clockwise along a semicircle of infinite radius. After applying this rule, the zero poles should be neglected, i.e. if there are no other unstable poles, then the open-loop transfer function ${\displaystyle G(s)}$ should be considered stable.
• If the open-loop transfer function ${\displaystyle G(s)}$ is stable, then the closed-loop system is unstable, if and only if, the Nyquist plot encircle the point −1 at least once.
• If the open-loop transfer function ${\displaystyle G(s)}$ is unstable, then for the closed-loop system to be stable, there must be one counter-clockwise encirclement of −1 for each pole of ${\displaystyle G(s)}$ in the right-half of the complex plane.
• The number of surplus encirclements (N + P greater than 0) is exactly the number of unstable poles of the closed-loop system.
• However, if the graph happens to pass through the point ${\displaystyle -1+j0}$, then deciding upon even the marginal stability of the system becomes difficult and the only conclusion that can be drawn from the graph is that there exist zeros on the ${\displaystyle j\omega }$ axis.