2008/09 MECH466 : Automatic Control 1
MECH466: Automatic Control
MECH466: Automatic Control
Dr. Ryozo Nagamune
Dr. Ryozo Nagamune
Department of Mechanical Engineering
Department of Mechanical Engineering
University of British Columbia
University of British Columbia
Lecture 18
Lecture 18
Nyquist
Nyquist
stability criterion: Examples
stability criterion: Examples
Relative stability
Relative stability
2008/09 MECH466 : Automatic Control 2
Course roadmap
Course roadmap
Laplace transform Laplace transform Transfer function Transfer functionModels for systems Models for systems •
•electricalelectrical •
•mechanicalmechanical •
•electromechanicalelectromechanical
Linearization Linearization
Modeling
Modeling AnalysisAnalysis DesignDesign
Time response Time response •
•TransientTransient •
•Steady stateSteady state
Frequency response Frequency response •
•Bode plotBode plot
Stability Stability •
•Routh-Routh-HurwitzHurwitz •
•NyquistNyquist
Design specs Design specs Root locus Root locus Frequency domain Frequency domain
PID & Lead PID & Lead--laglag
Design examples Design examples
Matlab
Matlabsimulations & laboratoriessimulations & laboratories
Nyquist
Nyquist
plot (review)
plot (review)
Nyquist
Nyquist
path
path
(very large)
(very large)
Nyquist
Nyquist
plot
plot
s s
L(s
L(s) when s ) when s moves on moves on Nyquist Nyquistpath path
Re Re Im Im Re Re Im Im
Nyquist
Nyquist
stability criterion (review)
stability criterion (review)
Z: # of CL poles in open RHP
Z: # of CL poles in open RHP
P: # of OL poles in open RHP (given)
P: # of OL poles in open RHP (given)
N: # of clockwise encirclement of
N: # of clockwise encirclement of
-
-
1 by
1 by
Nyquist
Nyquist
plot of
plot of
L(s
L(s
)
)
G(s
G(s))
C(s
C(s))
H(s
2008/09 MECH466 : Automatic Control 5
Nyquist
Nyquist
criterion: A special case
criterion: A special case
(review)
(review)
IF P=0 (i.e., if
IF P=0 (i.e., if
L(s
L(s
) has no pole in open RHP)
) has no pole in open RHP)
We assume P=0 from now on!
We assume P=0 from now on!
2008/09 MECH466 : Automatic Control 6
Examples when P=0
Examples when P=0
Re
Re
Im
Im
Re
Re
Im
Im
CL stable
CL stable
CL unstable
CL unstable
Example of
Example of
L(s
L(s
) with an integrator
) with an integrator
When open loop poles
When open loop poles
lie on the imaginary
lie on the imaginary
axis, we
axis, we
modify
modify
Nyquist
Nyquist
path
path, by
, by
detouring to the right of
detouring to the right of
the poles.
the poles.
Ex:
Ex:
(very large)
(very large)
s s
Re
Re
Im
Im
(very small)
(very small)
L(s
L(s
) for modified
) for modified
Nyquist
Nyquist
path
path
For small |s|,
For small |s|,
When s moves as
When s moves as
L(s
L(s
) moves as
) moves as
Re
Re
Im
Im
(very small)
(very small)
s s
L(s L(s))
Note: If
Note: If L(sL(s) has no open RHP pole,) has no open RHP pole, we are interested in (and draw)
we are interested in (and draw) NyquistNyquistplot plot ONLY around the critical point
2008/09 MECH466 : Automatic Control 9
Bode plot of
Bode plot of
L(s
L(s
)
)
dB
dB
deg
deg
--2020
--4040
2008/09 MECH466 : Automatic Control 10
Example of
Example of
L(s
L(s
) with an integrator
) with an integrator
-1 -0.8 -0.6 -0.4 -0.2 0 -15
-10 -5 0 5 10 15
Example of
Example of
L(s
L(s
) with double integrator
) with double integrator
-5 -4 -3 -2 -1 0 -5
0 5
Bode plot of
Bode plot of
L(s
L(s
)
)
dB
dB
deg
deg
--4040
2008/09 MECH466 : Automatic Control 13
L(s
L(s
) with a time
) with a time
-
-
delay
delay
-1 0 1 2 3
-3 -2.5 -2 -1.5 -1 -0.5 0 0.5
Routh
Routh--Hurwitz is NOT applicable!Hurwitz is NOT applicable!
2008/09 MECH466 : Automatic Control 14
1 0- 2 1 0- 1 1 00 1 01 1 02 -1
-0 . 5 0 0 . 5 1
1 0- 2 1 0- 1 1 00 1 01 1 02 -6 0 0 0
-4 0 0 0 -2 0 0 0 0
Bode plot of a time delay (review)
Bode plot of a time delay (review)
Huge phase lag! Huge phase lag!
The phase lag causes instability
The phase lag causes instabilityof the closedof the closed--loop loop
system, and thus, the difficulty in control.
system, and thus, the difficulty in control.
Announcements
Announcements
Lab 4 starts next week. See the schedule in
Lab 4 starts next week. See the schedule in
MECH466_LabSchedule_0809 (Mar 5).pdf MECH466_LabSchedule_0809 (Mar 5).pdf
Final exam
Final exam
Date & time: April 21 (Tue), 3:30pmDate & time: April 21 (Tue), 3:30pm--6pm6pm
Place: CHBE101Place: CHBE101
Policy changePolicy change
•
• One letterOne letter--size cheat sheetsize cheat sheet(you can use both (you can use both sides of the sheet) is allowed.
sides of the sheet) is allowed.
•
• The cheat sheet The cheat sheet must be written by hand by must be written by hand by
yourself!
yourself!
Some remarks
Some remarks
Nyquist
Nyquist
stability criterion gives not only
stability criterion gives not only
absolute
absolute
but also
but also
relative stability
relative stability
.
.
Absolute stabilityAbsolute stability: Is the closed: Is the closed--loop system stable or loop system stable or not? (Answer is yes or no.)
not? (Answer is yes or no.)
Relative stabilityRelative stability: How : How ““muchmuch””is the closedis the closed--loop loop system stable? (Margin of safety)
system stable? (Margin of safety)
Relative stability is important because a
Relative stability is important because a
mathematical model is never accurate.
mathematical model is never accurate.
How to measure relative stability?
How to measure relative stability?
Use a Use a ““distancedistance””from the critical point from the critical point --1.1.
2008/09 MECH466 : Automatic Control 17
Gain margin (GM)
Gain margin (GM)
Phase crossover
Phase crossover
frequency
frequency
ωp
ω
p:
:
Gain margin
Gain margin
(in dB)
(in dB)
Indicates how much Indicates how much OL gain can be
OL gain can be
multiplied without
multiplied without
violating CL stability.
violating CL stability. NyquistNyquistplot of L(splot of L(s))
2008/09 MECH466 : Automatic Control 18
Examples of GM
Examples of GM
Re
Re
Im
Im
Re
Re
Im
Im
Reason why GM is inadequate
Reason why GM is inadequate
Same gain margin,
Same gain margin,
but different relative stability
but different relative stability
Gain margin is often inadequate
Gain margin is often inadequate
to indicate relative stability
to indicate relative stability
Phase margin!
Phase margin!
Phase margin (PM)
Phase margin (PM)
Gain crossover
Gain crossover
frequency
frequency
ωg
ω
g:
:
Phase margin
Phase margin
Indicates how much Indicates how much
OL phase lag can be
OL phase lag can be
added without
added without
violating CL stability.
violating CL stability.
Nyquist
2008/09 MECH466 : Automatic Control 21
An example
An example
2008/09 MECH466 : Automatic Control 22
Notes on
Notes on
Nyquist
Nyquist
plot
plot
Advantages
Advantages
NyquistNyquistplot can be used for study of closedplot can be used for study of closed--loop loop stability, for open loop systems which is unstable and
stability, for open loop systems which is unstable and
includes time
includes time--delay.delay.
Disadvantage
Disadvantage
Controller design on Controller design on NyquistNyquistplot is difficult. plot is difficult. (Controller design on Bode plot is much simpler.)
(Controller design on Bode plot is much simpler.)
We translate GM and PM defined in
We translate GM and PM defined in NyquistNyquistplot plot into those in Bode plot!
into those in Bode plot!
Relative stability on Bode plot
Relative stability on Bode plot
ω
ω
ggω
ω
ppGM
GM
PM
PM
Notes on Bode plot
Notes on Bode plot
Advantages
Advantages
Without computer, Bode plot can be sketched easily.Without computer, Bode plot can be sketched easily.
GM, PM, crossover frequencies are easily determined GM, PM, crossover frequencies are easily determined
on Bode plot.
on Bode plot.
Controller design on Bode plot is simple. (Next week)Controller design on Bode plot is simple. (Next week)
Disadvantage
Disadvantage
If OL system is unstable, we cannot use Bode plot for If OL system is unstable, we cannot use Bode plot for
closed
2008/09 MECH466 : Automatic Control 25
100 101 102 103
-100 -50 0
100 101 102 103
-180
-270
An example
An example
ω
ω
ggω
ω
ppGM
GM
PM
PM
2008/09 MECH466 : Automatic Control 26
10-1 100
-20 0 20
10-1 100
-180 -90
Relative stability with time delay
Relative stability with time delay
PM
PM
GM
GM
Time delay reduces
Time delay reduces
relative stability!
relative stability!
Delay time Delay time
Unstable closed
Unstable closed
-
-
loop case
loop case
ω
ω
ggω
ω
ppGM
GM
PM
PM
Summary and exercises
Summary and exercises
Relative stability: Closeness of
Relative stability: Closeness of
Nyquist
Nyquist
plot to
plot to
the critical point
the critical point
-
-
1
1
Gain margin, phase crossover frequencyGain margin, phase crossover frequency
Phase margin, gain crossover frequencyPhase margin, gain crossover frequency
Relative stability on Bode plot
Relative stability on Bode plot
We normally emphasize PM in controller design.
We normally emphasize PM in controller design.
Exercises
Exercises
Read Sections 10.6 & 10.7.Read Sections 10.6 & 10.7.
Obtain GM, PM for openObtain GM, PM for open--loop Bode plots in Figures loop Bode plots in Figures P10.7, P10.8, P10.10 (pages 593