Fundamentals of Linear Stability: Neil Dennehy
Fundamentals of Linear Stability: Neil Dennehy
Fundamentals of Linear
Stability
by
Ken Lebsock
Learning from the Past, Looking to the Future
Learning from the Past, Looking to the Future
Fundamentals
of
3 Linear
Thank
you
Neil,
S tability
I’m
pleased
to
be
here.
• This
presenta,on
deals
with
only
the
first
of
the
two
main
categories
of
commonly
used
approaches
to
analyze
the
stability
of
a
linear
system:
1) Frequency
Analysis
Methods
based
on
the
Nyquist
Criterion
and
displayed
graphically
with
Nyquist
Plots,
Nichols
Charts,
or
Bode
Gain
and
Phase
Plots
2) Pole-‐Zero-‐Configura,on
Methods
based
on
the
Routh-‐Hurwitz
Criterion
and
displayed
graphically
in
Root
Locus
Plots
• The
importance
of
Frequency
Analysis
Methods
lies
in
the
fact
that
they
can
be
used
to
determine
the
rela,ve
degree
of
system
stability
by
producing
the
so-‐
called
phase
and
gain
stability
margins.
– These
stability
margins
are
needed
for
frequency
domain
controller
design
techniques.
NASA Engineering & Safety Center (NESC) GN&C TDT 5
Stability
of
Aerospace
Systems
• In
this
presenta,on
of
control
loop
design
in
the
frequency
domain,
different
stability
metrics
will
be
discussed:
- Gain
Margin
and
Phase
Margin
- Stability
Margin
• Three
examples
of
determining
Gain
and
Phase
Margins
from
the
Open
Loop
Transfer
Func,on,
L(jω) ,
will
be
demonstrated:
- Bode
plots
of
magnitude
and
phase
of
L(jω) vs.
frequency
- Nyquist
plot
of
the
real
and
imaginary
parts
of
L(jω)
- Nichols
cross-‐plot
of
magnitude
vs.
phase
of
L(jω)
• The
more
compact
and
precise
Stability
Margin
is
found
by
two
methods:
- Graphically
from
the
Nyquist
plot
of
the
real
and
imaginary
parts
of
L(jω)
- Analy,cally
from
the
maximum
value
of
the
Sensi,vity
Func,on
S(jω)
d n
r+ e u + +v x+ + y
_ C(s) G(s)
• The
Open
Loop
Transfer
Func,on
L(s) = G(s) C(s) where
G(s) is
the
Transfer
Func,on
of
the
Plant
Dynamics
and
C(s) is
the
Transfer
Func,on
of
the
Controller.
• The
symbol
s is
the
Laplace
variable.
In
the
frequency
domain
analysis
we
use
the
subs,tu,on:
s => jω
where
j
is
√-‐1,
and
ω
is
the
frequency
in
rad/sec.
• The
Open
Loop
Transfer
Func,on
describes
how
the
system
output
x
would
respond
to
an
input
r
if
the
feedback
loop
were
not
closed.
NASA Engineering & Safety Center (NESC) GN&C TDT 9
Complementary
Sensi,vity
Transfer
Func,on
• Disturbances at frequencies where |S(jω)| > 1 are amplified by feedback.
• Gain
margin
and
phase
margin
are
two
independent
measures
of
rela,ve
stability.
They
measure
how
"close"
a
system
is
to
crossing
the
boundary
between
stability
and
instability.
• Gain
margin
is
the
amount
of
change
in
the
value
of
the
gain
of
the
Open
Loop
Transfer
Func,on
L(jω) ,
from
its
present
value,
to
that
value
that
will
make
the
Bode
magnitude
pass
through
the
0
dB
at
the
same
frequency
where
the
phase
is
-‐180
degrees.
• Phase
margin
is
the
amount
of
pure
phase
shiS
(no
change
in
magnitude)
that
will
make
the
phase
shiS
of
L(jω) equal
to
-‐180
degrees
at
the
same
frequency
where
the
magnitude
is
0
dB
(1
in
absolute
value).
• Simple
algorithms
are
used
to
calculate
the
gain
and
phase
margins
directly
from
the
Open
Loop
Transfer
Func,on.
• Iterate
to
find
the
frequency,
ωgm
,
at
which
Arg[L(jω)] =
-‐180°
- The
gain
margin
is
-‐
Abs[L(jωgm )]
• Iterate
to
find
the
frequency,
ωpm
,
at
which
Abs[L(jω)] =
1
(i.e.
0
dB)
- The
phase
margin
is
Arg[L(jωpm )] +
180°
• The
Bode
magnitude
plot
should
be
examined
carefully
to
determine
if
there
are
mul,ple
crossings
of
the
0
dB
line.
• Also
check
if
resonant
peaks
occur,
especially
in
the
frequency
range:
ωpm< ω < ωgm .
NASA Engineering & Safety Center (NESC) GN&C TDT 14
Stability
Margins
from
Bode
Plots
Magnitude HdBL vs Freq HradêsecL
•
Illustra,ve
Example
10.
wpm wgm
• Open
Loop
Transfer
Func,on:
0.
-30.
• The
analy,c
calcula,on
of
the
Gain
and
-40.
Phase
Margins
indicates
that
the
System
is
extremely
stable.
0.1 1 10
-120.
- At
the
0
dB
Gain
Cross-‐Over
Frequency,
-140.
ωpm
=
0.41
rad/sec,
φm =
68.6°.
fm
-160.
• The
control
loop
easily
meets
a
stability
-180.
requirement
of
gm = 6 dB Φm = 30°.
wpm wgm
-200.
0.1 1 10
• The phase angle has a local minimum of 0.5 0.6 0.7 0.8 0.9
• Recall
that Ms,
the
maximum
Nyquist
Plot
(for
a
generic
L(jω)
magnitude
of
S(jω), is
also
the
Im L(jω)
minimum
of
|1+L(jω)|.
• sm
is
the
shortest
distance
from
the
Δm
Nyquist
curve,
L(jω),
to
(-1, 0 j),
the
cri,cal
point,
i.e. sm
= Min|1+L(jω)|.
Re L(jω)
-1
• An
alterna,ve
way
to
express
sm
margins
is
by
a
single
number,
sm
,
φm
the
Stability
Margin.
• Therefore
the
maximum
Sensi,vity
is
also
a
measure
of
minimum
stability
L(jω)
since
Ms=1/sm.
• The
Sensi,vity
maximum
is
a
more
• gm
=
20Log10[1/Δm]
=
Gain
Margin
compact
indicator
of
stability
than
a
• φm =
Phase
Margin
pair
of
gain
and
phase
margins.
• sm
=
1/Ms =
Stability
Margin
”
• The
denominator,
|1+L(jωm)|, reaches its’ +1
0.0
minimum value at the same frequency, ωm.
L I jwm M
-0.4
fm
The
Gain
Margin
is
found
at
the
Intersec,on
of
L(jω) with
the
Nega,ve
-0.6
-0.8
Real
Axis
using
an
Expanded
Scale
-1.0 around
the
Origin
of
the
Nyquist
Plot
w≠ • gm
=
20Log10[1/Δm]
=
34.5
dB
-1.2
-1.4
-1.0 -0.8 -0.6 -0.4 -0.2 0.0
• The
rela,onships
between
the
maximum
Sensi,vity,
Ms,
and
the
lower
bounds
of
the
gain
and
phase
margins
are
given
by
the
following
inequali,es:
gm ≥ 20Log10 # Ms & (dB) φm ≥ 2ArcSin # 1 & ≥ 1 (rad)
! $ ! $
and
! " Ms -1 % #" 2Ms &% Ms
• Typical
specifica,ons
for
maximum
Sensi,vity
magnitude
are
in
the
range
of
1.33
to
2
which
corresponds
to
gain
and
phase
margins
of
(12
dB
and
45°)
to
(6
dB
and
30°).
• These
inequali,es
are
useful
even
for
poorly
behaved
Open
Loop
Transfer
Func,ons.
• Be
very
careful
if
the
lower
bounds
of
the
gain
and
phase
margins
found
from
these
inequali,es
are
rela,vely
small
compared
to
the
gain
and
phase
margins
found
from
the
Bode
plots.
• Example
1.0
Nyquist Plot
2.0
-1.0
» SH jwL »
1.0 w
• A
simple
algorithm
is
used
to
calculate
the
Stability
Margin,
sm ,
directly
from
the
Sensi,vity
Transfer
Func,on.
– Iterate
on
frequency
to
find
the
maximum
of
the
absolute
value
of
the
Sensi,vity
func,on, Ms = Max[
|S(jω)| ]
.
• Check
the
Nyquist
plot
to
confirm
that
the
value
of
sm
found
by
itera,on
is
the
closest
approach
of
L(jω)
to
the
(-1, 0 j) point.
specifica,ons
should
-2
4 8
red
contours.
-10
• Stability
requirements
are
oSen
specified
in
terms
of
gain
margin
and
phase
margin.
These
are
independent
margins
describing
how
much
either
the
gain
or
phase
alone
can
be
varied
before
the
system
becomes
unstable.
These
two
margins
are
represented
as
separate
independent
points
on
the
Nichols
plot.
• However
the
true
stability
objec,ve
is
to
specify
how
"close"
a
system
is
to
becoming
unstable
for
any
combina,on
of
gain
and
phase.
This
is
compactly
and
precisely
measured
by
the
Stability
Margin
which
describes
the
closest
approach
of
the
Open
Loop
Transfer
Func,on
to
the
(-1, 0 j) point
on
the
complex
plane
in
a
Nyquist
plot.
• Stability
margin
contours
can
be
drawn
on
the
Nichols
plot
to
show
the
Nyquist
boundary
of
different
combina,ons
of
gain
and
phase
devia,ons
that
can
be
tolerated
with
a
certain
level
of
robustness
to
instability.
• The
gain
and
phase
margins,
as
well
as
the
Nyquist
Stability
Margin
contour
connec,ng
them,
are
defined
in
the
frequency
domain.
The
margins
and
the
contour
can
be
verified
in
,me
domain
simula,ons
by
injec,ng
different
combina,ons
of
gain
and
phase
perturba,ons
from
nominal.
NASA Engineering & Safety Center (NESC) GN&C TDT 30
Loop
Design
Tradeoffs
• Loop
design
can
be
viewed
as
simultaneously
tuning
the
Sensi,vity
Transfer
Func,on
to
achieve
disturbance
rejec,on
and
loop
stability
goals
and
tuning
the
Complementary
Sensi,vity
Transfer
Func,on
to
achieve
performance
and
noise
rejec,on
goals.
• S(jω)
Sensi,vity
Transfer
Func,on
(Disturbance
Rejec,on
Transfer
Func,on)
- Rolling
off
S(jω)
suppresses
low
frequency
load
disturbances.
- However
decreasing
S(jω)
at
low
frequencies
increases
its
maximum
value,
Ms,
which
reduces
stability.
This
is
the
result
of
the
Bode
Integral
being
Constant.
• One
of
the
fundamental
goals
of
the
tradeoffs
involved
in
loop
tuning
is
to
shape
the
Sensi,vity
Transfer
Func,on
so
that
its
maximum
value,
Ms,
is
compa,ble
with
the
control
loop
stability
requirements.
• Recall that the maximum value of S(jω) is the inverse of the Stability Margin:
1)
Feedback
Systems:
An
Introduc4on
for
Scien4sts
and
Engineers
By
Karl
Johan
Åström
&
Richard
M.
Murray
Available
free
from
Google
Books
2)
Respect
the
Unstable
IEEE
Control
Systems
Magazine,
Vol.
23,
Num.
4,
pp.
12-‐25,
Aug.
2003.
By
Gunter
Stein
Available
free
at
NEN
GN&C
Reading
Room