Nyquist stability criterion
In control theory and stability theory, the Nyquist stability criterion, discovered by Swedish-American electrical engineer Harry Nyquist at Bell Telephone Laboratories in 1932, 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 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. Non-linear systems must use more complex stability criteria, such as Lyapunov or the circle criterion. While 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.
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. The imaginary part is plotted on the Y axis. The frequency is swept as a parameter, resulting in a plot 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 by means of other methods. Stability is determined by looking at the number of encirclements of the point at (−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 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.
We consider a system whose open loop transfer function (OLTF) is ; when placed in a closed loop with negative feedback , the closed loop transfer function (CLTF) then becomes . Stability can be determined by examining the roots of the desensitivity factor polynomial , e.g. using the Routh array, but this method is somewhat tedious. Conclusions can also be reached by examining the OLTF, using its Bode plots or, as here, polar plot of the OLTF using the Nyquist criterion, as follows.
Any Laplace domain transfer function can be expressed as the ratio of two polynomials:
The roots of are called the zeros of , and the roots of are the poles of . The poles of are also said to be the roots of the "characteristic equation" .
The stability of is determined by the values of its poles: for stability, the real part of every pole must be negative. If is formed by closing a negative unity feedback loop around the open-loop transfer function , then the roots of the characteristic equation are also the zeros of , or simply the roots of .
Cauchy's argument principle
From complex analysis, specifically the argument principle, we know that a contour drawn in the complex plane, encompassing but not passing through any number of zeros and poles of a function , can be mapped to another plane (the plane) by the function [clarification needed] (the individual points of the set can be transformed by being input to the function , see conformal mapping ). The Nyquist plot of , which is the contour will encircle the point of the plane times, where . Here are and respectively the number of zeros of and poles of inside the contour . Note that we count encirclements in the plane in the same sense as the contour 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.
The Nyquist criterion
We first construct the Nyquist contour, a contour that encompasses the right-half of the complex plane:
- a path traveling up the axis, from to .
- a semicircular arc, with radius , that starts at and travels clock-wise to .
The Nyquist contour mapped through the function yields a plot of in the complex plane. By the Argument Principle, the number of clock-wise encirclements of the origin must be the number of zeros of in the right-half complex plane minus the poles of in the right-half complex plane. If instead, the contour is mapped through the open-loop transfer function , the result is the Nyquist Plot of . 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 . Recalling that the zeros of are the poles of the closed-loop system, and noting that the poles of are same as the poles of , we now state The Nyquist Criterion:
Given a Nyquist contour , let be the number of poles of encircled by , and be the number of zeros of encircled by . Alternatively, and more importantly, is the number of zeros of the closed loop system in the right half plane. The resultant contour in the -plane, shall encircle (clock-wise) the point times such that .
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 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 does not have any pole on the imaginary axis (i.e. poles of the form ). 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 . One way to do it is to construct a semicircular arc with radius around , that starts at and travels anticlockwise to . Such a modification implies that the phasor travels along an arc of infinite radius by , where is the multiplicity of the pole on the imaginary axis.
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
That is, we would like to check whether the characteristic equation of the above transfer function, given by
has zeros outside the open left-half-plane (commonly initialized as the OLHP).
We suppose that we have a clockwise (i.e. negatively oriented) contour enclosing the right half plane, with indentations as needed to avoid passing through zeros or poles of the function . Cauchy's argument principle states that
Where denotes the number of zeros of enclosed by the contour and denotes the number of poles of by the same contour. Rearranging, we have , which is to say
We then note that has exactly the same poles as . Thus, we may find by counting the poles of 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 , we have
We then make a further substitution, setting . This gives us
We now note that gives us the image of our contour under , which is to say our Nyquist plot. We may further reduce the integral
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 clockwise. Thus, we may finally state that
We thus find that as defined above corresponds to a stable unity-feedback system when , as evaluated above, is equal to 0.
- If the open-loop transfer function has a zero pole of multiplicity , then the Nyquist plot has a discontinuity at . During further analysis it should be assumed that the phasor travels times clock-wise 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 should be considered stable.
- If the open-loop transfer function is stable, then the closed-loop system is unstable for any encirclement of the point −1.
- If the open-loop transfer function is unstable, then there must be one counter clock-wise encirclement of −1 for each pole of in the right-half of the complex plane.
- The number of surplus encirclements (greater than N + P) is exactly the number of unstable poles of the closed-loop system.
- However, if the graph happens to pass through the point , 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 axis.
- Argument principle
- BIBO stability
- Bode plot
- Routh–Hurwitz stability criterion
- Gain margin
- Nichols plot
- Hall circles
- Phase margin
- Barkhausen stability criterion
- Circle criterion
- Control engineering
- Faulkner, E.A. (1969): Introduction to the Theory of Linear Systems; Chapman & Hall; ISBN 0-412-09400-2
- Pippard, A.B. (1985): Response & Stability; Cambridge University Press; ISBN 0-521-31994-3
- Gessing, R. (2004): Control fundamentals; Silesian University of Technology; ISBN 83-7335-176-0
- Franklin, G. (2002): Feedback Control of Dynamic Systems; Prentice Hall, ISBN 0-13-032393-4
|Wikimedia Commons has media related to Nyquist plots.|
- Applets with modifiable parameters
- EIS Spectrum Analyser - a freeware program for analysis and simulation of impedance spectra
- MATLAB function for creating a Nyquist plot of a frequency response of a dynamic system model.
- PID Nyquist plot shaping - free interactive virtual tool, control loop simulator
- Mathematica function for creating the Nyquist plot