The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in...

39
The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist diagram, criterion, sampling theorem Laid the foundation for information theory, data transmission and negative feedback theory

Transcript of The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in...

Page 1: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

The Nyquist Stability CriterionBorn in 1889 in SwedenDied in 1976, USAYale PhD, 1917Career at Bell Labs138 patentsNyquist diagram,

criterion, sampling theorem

Laid the foundation forinformation theory, datatransmission andnegative feedback theory

Page 2: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Frequency Response Plots

(Review Appendix G in textbook)

)Re()Im(tan

)(Im)(Re|)(|

1

22

ωωφ

ωωω

−=

+=G

Page 3: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Frequency Response Plots

)(tan1/tan

)Re()Im(tan)(

1

1111

ωωωω

ωωωφ −−− −=

−==

1st Ordersystem

Page 4: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Polar Plot or Nyquist Diagram

)1(tantan)Re()Im(tan)( 1

211

ωττωω

ωωωφ −−− =

−−

==KK

2rd system)1()(

+=

τssKsG

Page 5: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Polar Plots and the Nyquist Criterion

• We have seen how to generate polarplots of the frequency response.

• The Nyquist criterion is a way ofinterpreting the polar plot to determinestability

• The frequency response in the entire right-half s- plane with s=-j∞ to s=+j∞is the critical section of the Nyquist contour.

Page 6: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Mapping Contours in the s-Plane

• Nyquist stability criterion based onCauchy theorem on functions of acomplex variable

• Mapping contours1+L(s)=0

in the s-plane.

Page 7: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Mapping Contours in the s-Plane

Closed contours

Conformal mapping (angles are preserved)

F(s)=2s+1

Page 8: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Mapping Contours in the s-Plane

S-plane F(s)-plane

Page 9: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Cauchy’s Theorem: Principle of the Argument

If a contour in the s-plane encircles Z zeros and Ppoles of F(s ) and does not pass through any poles or zeros of F(s ) and the traversal is in the clockwise direction along the contour, the corresponding contour in the F(s)-plane encircles the origin of the F(s)-plane N=Z-P times in the clockwise direction

S-plane F(s)-plane

?N=1-1=0

Page 10: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Illustration of Cauchy’s Theorem

N=Z-P=3-1=2

Page 11: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Illustration of Cauchy’s Theorem

N=Z-P=0-1=-1

Page 12: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

The Nyquist CriterionThe Nyquist contour encircles the entire right-half s- plane

For the system to be stable, allzeros (or roots) of F(s ) must lie in the left-hand s-plane.

The number of unstable zeros of F(s) is thus

Where N is the number encirclements of the origin.

When the system is open- loop stable

P=0 and then Z=N

Z=N+P

N=Z-P

Page 13: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

The Nyquist Criterion

In practice it is more convenient to consider the mapping

in which case becomes the number of clockwise encirclements of the -1 point.

The Nyquist contour encircles the entire right-half s- plane

Z is unstable zero and P is unstable pole if they are lied withinNyquist contour.

Page 14: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

The Nyquist Criterion

1) Open-loop stable plant

A feedback system is stable if and only if the contour in the -plane does not encircle the (-1,0) point.

2) Open-loop unstable plant

A feedback system is stable if and only if, for the contour in the -plane, the number of counterclockwise of the (-1,0) point is equal to the number P of poles of with positive real parts.

Z=N+P For stable system, the closed loop Z=0.

Z=0 => N=0

Z=0 => N=-P

Page 15: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with Two Real Poles

hence for stability we require Z=N=0,

i.e. the contour must not encircle the -1 point in the GH(s)-plane.

Stable

)11.0)(1(100

)1)(1()(

21 ++=

++=

ssssKsGHττ

x

Page 16: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with a Pole at the Origin

The Cauchy theorem requiresthat the contour cannot passthrough the pole

Modified or indentedNyquist contour

0>=εR

Page 17: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with a Pole at the Origin

Small circular detour represented by

varies from

where

for this portion is an infinite semi-circle

going from

and passing through

Page 18: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with a Pole at the Origin

Portion from

Magnitude is zero when r is infinite

Page 19: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with a Pole at the Origin

The Cauchy theorem requiresthat the contour cannot passthrough the pole

Modified or indentedNyquist contour

0>=εR

Stable

?

Page 20: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with Three Poles

Page 21: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with Three Poles

The system is stable or not depending on the k value.

Page 22: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with Three Poles

Page 23: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with Two Poles at the Origin

Angle ofN=2 hence Z=2, i.e. two roots in the RHP

Unstable for all K

Page 24: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with a Pole in the RHP

P=1, hence we require N=-P=-1for stability.

With

Infinite semicircle in the LHP

With

Two roots in the RHP

Page 25: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with a Pole in the RHPAdding derivative action

When

Crosses real axis whenStable

Page 26: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with a Zero in the RHP

-2K

Unstable for K>1/2

Page 27: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Relative Stability

u=-1 when

crosses the real axis at

Ultimate point

Page 28: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Relative Stability and Nyquist Criterion

• Clearly, from the Nyquist criterion thedistance between the (-1,0) point andthe polar plot of the loop transferfunction GH(jω) is a measure of therelative stability of the system

• Note that the (-1,0) point on a Nyquistdiagram corresponds to the 0 dB and -180 degrees on the Bode magnitudeand phase diagrams

Page 29: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Relative Stability• The gain margin is the increase in the

system gain when phase =- that will result in a marginally stable system with intersection of the -1+j0 on the Nyquist diagram

• The phase margin is the amount of phase shift of the GH Nyquist plot at unity magnitude that will result in a marginally stable system with intersection of the -1+j0 point on the Nyquist diagram

0180

Page 30: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Gain MarginThe factor by which the gain at ultimate point can beincreased to reach marginal stability

Expressed in dB:

Reasonable values aregain margins in the range[2 5], or in dB [6 14]dB.

Page 31: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Phase Margin

The phase margin is the difference between and

the phase of the loop at the crossover frequency

Reasonable values are phase margins in the range [30 60] degrees

Page 32: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Gain and Phase Margins on the Bode Diagram

Page 33: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Sensitivity and Nyquist PlotThe radius r of the circle centered at -1 and tangen to L is the reciprocal of the nominal sensitivity peak

Critical point

Page 34: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Effect of Time Delay

• The Nyquist criterion is applicable tonon-rational transfer functions

• A time delay is described by

• It does not introduce additional poles or zeros within the contour

• However delay introduces phase lagand consequently has a destabilizingeffect.

Page 35: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Effect of Time Delay

adds a phase shift

At the crossover frequency

might be sufficient to destabilize the system orto significantly reduce the phase margin

Page 36: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

Effect of Time Delay

Phase marginfor delay-freesystem

Delayedsystem isunstable!

Page 37: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with Delay

Consider the following delayed system:

With a second-order Pade approximation, the delay can be written as

Hence

Page 38: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with Delay

K = 2.41

Page 39: The Nyquist Stability Criterion - SNS Courseware · The Nyquist Stability Criterion Born in 1889 in Sweden Died in 1976, USA Yale PhD, 1917 Career at Bell Labs 138 patents Nyquist

System with Delay

K=3

K=2

K=1