Nyquist stability criterion

From HandWiki
Revision as of 23:10, 6 February 2024 by StanislovAI (talk | contribs) (link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Graphical method of determining the stability of a dynamical system
The Nyquist plot for [math]\displaystyle{ G(s)=\frac{1}{s^2+s+1} }[/math] with s = .

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. Although the frequencies are not indicated on the curve, it can be inferred that the zero-frequency point is on the right, and the curve spirals toward the origin at high frequency. This is because gain at zero frequency must be purely real (on the X-axis) and is commonly non-zero, while most physical processes have some amount of low-pass filtering, so the high-frequency response is zero.

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 [math]\displaystyle{ G(s) }[/math]; when placed in a closed loop with negative feedback [math]\displaystyle{ H(s) }[/math], the closed loop transfer function (CLTF) then becomes:

[math]\displaystyle{ \frac{G}{1+GH} }[/math]

Stability can be determined by examining the roots of the desensitivity factor polynomial [math]\displaystyle{ 1+GH }[/math], 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) [math]\displaystyle{ GH(s) }[/math], using its Bode plots or, as here, its polar plot using the Nyquist criterion, as follows.

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

[math]\displaystyle{ \mathcal{T}(s) = \frac{N(s)}{D(s)}. }[/math]

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

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

[math]\displaystyle{ GH(s) = \frac{A(s)}{B(s)} }[/math]

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

Cauchy's argument principle

Main page: Argument principle

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

The Nyquist plot of [math]\displaystyle{ F(s) }[/math], which is the contour [math]\displaystyle{ \Gamma_{F(s)} = F(\Gamma_s) }[/math] will encircle the point [math]\displaystyle{ s={-1/k+j0} }[/math] of the [math]\displaystyle{ F(s) }[/math] plane [math]\displaystyle{ N }[/math] times, where [math]\displaystyle{ N =P - Z }[/math] by Cauchy's argument principle. Here [math]\displaystyle{ Z }[/math] and [math]\displaystyle{ P }[/math] are, respectively, the number of zeros of [math]\displaystyle{ 1+kF(s) }[/math] and poles of [math]\displaystyle{ F(s) }[/math] inside the contour [math]\displaystyle{ \Gamma_s }[/math]. Note that we count encirclements in the [math]\displaystyle{ F(s) }[/math] plane in the same sense as the contour [math]\displaystyle{ \Gamma_s }[/math] 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 [math]\displaystyle{ j\omega }[/math] axis, from [math]\displaystyle{ 0 - j\infty }[/math] to [math]\displaystyle{ 0 + j\infty }[/math].
  • a semicircular arc, with radius [math]\displaystyle{ r \to \infty }[/math], that starts at [math]\displaystyle{ 0 + j\infty }[/math] and travels clock-wise to [math]\displaystyle{ 0 - j\infty }[/math].

The Nyquist contour mapped through the function [math]\displaystyle{ 1+G(s) }[/math] yields a plot of [math]\displaystyle{ 1+G(s) }[/math] in the complex plane. By the argument principle, the number of clockwise encirclements of the origin must be the number of zeros of [math]\displaystyle{ 1+G(s) }[/math] in the right-half complex plane minus the number of poles of [math]\displaystyle{ 1+G(s) }[/math] in the right-half complex plane. If instead, the contour is mapped through the open-loop transfer function [math]\displaystyle{ G(s) }[/math], the result is the Nyquist Plot of [math]\displaystyle{ G(s) }[/math]. 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 [math]\displaystyle{ 1+G(s) }[/math]. Recalling that the zeros of [math]\displaystyle{ 1+G(s) }[/math] are the poles of the closed-loop system, and noting that the poles of [math]\displaystyle{ 1+G(s) }[/math] are same as the poles of [math]\displaystyle{ G(s) }[/math], we now state the Nyquist Criterion:

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

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 [math]\displaystyle{ -1+j0 }[/math] 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 [math]\displaystyle{ G(s) }[/math] does not have any pole on the imaginary axis (i.e. poles of the form [math]\displaystyle{ 0+j\omega }[/math]). 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 [math]\displaystyle{ 0+j\omega }[/math]. One way to do it is to construct a semicircular arc with radius [math]\displaystyle{ r \to 0 }[/math] around [math]\displaystyle{ 0+j\omega }[/math], that starts at [math]\displaystyle{ 0 + j (\omega-r) }[/math] and travels anticlockwise to [math]\displaystyle{ 0 + j(\omega+ r) }[/math]. Such a modification implies that the phasor [math]\displaystyle{ G(s) }[/math] travels along an arc of infinite radius by [math]\displaystyle{ -l\pi }[/math], where [math]\displaystyle{ l }[/math] is the multiplicity of the pole on the imaginary axis.

Mathematical derivation

A unity negative feedback system G with scalar gain denoted by K

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

[math]\displaystyle{ T(s)=\frac{kG(s)}{1+kG(s)} }[/math]

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

[math]\displaystyle{ D(s)=1+kG(s)=0 }[/math]

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

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

[math]\displaystyle{ - \frac 1 {2\pi i} \oint_{\Gamma_s} {D'(s) \over D(s)}\, ds=N=Z-P }[/math]

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

[math]\displaystyle{ Z=- \frac 1 {2\pi i} \oint_{\Gamma_s} {D'(s) \over D(s)}\, ds + P }[/math]

We then note that [math]\displaystyle{ D(s)=1+kG(s) }[/math] has exactly the same poles as [math]\displaystyle{ G(s) }[/math]. Thus, we may find [math]\displaystyle{ P }[/math] by counting the poles of [math]\displaystyle{ G(s) }[/math] 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 [math]\displaystyle{ u(s)=D(s) }[/math], we have

[math]\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 }[/math]

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

[math]\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 }[/math]

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

[math]\displaystyle{ N=- \frac 1 {2\pi i} \oint_{G(\Gamma_s))} \frac 1 {v+1/k} \, dv }[/math]

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 [math]\displaystyle{ -1/k }[/math] clockwise. Thus, we may finally state that

[math]\displaystyle{ \begin{align} 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{align} }[/math]

We thus find that [math]\displaystyle{ T(s) }[/math] as defined above corresponds to a stable unity-feedback system when [math]\displaystyle{ Z }[/math], 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 [math]\displaystyle{ G(s) }[/math] has a zero pole of multiplicity [math]\displaystyle{ l }[/math], then the Nyquist plot has a discontinuity at [math]\displaystyle{ \omega = 0 }[/math]. During further analysis it should be assumed that the phasor travels [math]\displaystyle{ l }[/math] 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 [math]\displaystyle{ G(s) }[/math] should be considered stable.
  • If the open-loop transfer function [math]\displaystyle{ G(s) }[/math] 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 [math]\displaystyle{ G(s) }[/math] is unstable, then for the closed-loop system to be stable, there must be one counter-clockwise encirclement of −1 for each pole of [math]\displaystyle{ G(s) }[/math] 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 [math]\displaystyle{ -1+j0 }[/math], 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 [math]\displaystyle{ j\omega }[/math] axis.

See also

References

  1. "Chapter 4.3. Das Stabilitätskriterium von Strecker-Nyquist" (in de). Lineare Regelungs- und Steuerungstheorie (2 ed.). Springer-Verlag. 2014. p. 184. ISBN 978-3-64240960-8. https://books.google.com/books?id=9LCnBAAAQBAJ&pg=PA184. Retrieved 2019-06-14. 
  2. "Inventing the 'black box': mathematics as a neglected enabling technology in the history of communications engineering". 2001. https://ethw.org/w/images/3/3c/Bissell.pdf. 
  3. (in de) Die elektrische Selbsterregung mit einer Theorie der aktiven Netzwerke. Stuttgart, Germany: S. Hirzel Verlag (de). 1947.  (NB. Earlier works can be found in the literature section.)
  4. "Regeneration Theory". Bell System Technical Journal (USA: American Telephone and Telegraph Company (AT&T)) 11 (1): 126–147. January 1932. doi:10.1002/j.1538-7305.1932.tb02344.x. http://www.alcatel-lucent.com. 
  5. Chaffey, Thomas; Forni, Fulvio; Sepulchre, Rodolphe (2023). "Graphical Nonlinear System Analysis". IEEE Transactions on Automatic Control 68 (10): 6067–6081. doi:10.1109/TAC.2023.3234016. ISSN 0018-9286. https://ieeexplore.ieee.org/document/10005799. 
  6. Nyquist Plots
  7. "12.2: Nyquist Criterion for Stability" (in en). 2017-09-05. https://math.libretexts.org/Bookshelves/Analysis/Complex_Variables_with_Applications_(Orloff)/12%3A_Argument_Principle/12.02%3A_Nyquist_Criterion_for_Stability. 

Further reading

  • 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

External links