Professional Documents
Culture Documents
F(s)
From [1]
C1
F(s)
Z, P
C2
Hp(z)
ymSP
H (z)
H (z)
H (z)
Frequency domain
design
c
ym
Making compact
GL(z)
(s)
G
l l(z)
R(s)
ym SP
C(s)
Hc (z)
G(s)
Hp (z)
Yym(s)
MakingGcompact
l (s)
Closed-loop transfer function:
Go (s)
=
1+yGl (s)
y mSP
m
L(s)
Closed-loop characteristic equation:
(s) = 1+ Gl (s)
Loop transfer function:
Gl (s)
Figure 31: Converting an extracted part of the detailed block diagram in Figure 30
into a compact block diagram. L(z) is the loop transfer function.
Gl (s)
Gl (s)
From [5]
Gl (s)
From [1]
s +1
Gl (s) = 2
s (s 2)
F(s) = 1+ Gl (s)
Gl (s)
Frequency R
Im G(i )
Ultimate point
Re G(i )
a
From [6]
Figure 3.8
Polar plot
L( s )
that number. What about determining the angular change of the vector
1 + L(z)? Figure 34 shows how the vector (or complex number) 1 + L(z)
appears in a Nyquist diagram for a typical plot of L(z). A Nyquist diagram is
simply a Cartesian diagram of the complex plane in which L is plotted.
1 + L(z) is the vector from the point ( 1, 0j), which is denoted the critical
point, to the Nyquist curve of L(z).
Curve A2
is mapped
to here
The
critical
point
Negative
Im G
L(z)
l (s)
Curve B
is mapped
to origo
1
0
Distance of the
Nyquist curve
to the critical point
(-1,0):
1+ Gl (s)
Gl (s)
Re L(z)
Gl (s)
1 + L(z)
Nyquist
curve of
G
L(z)
l (s)
Decreasing
Positive
Curve A1
is mapped
to here
Figure 34: Typical Nyquist curve of L(z). The vector 1 + L(z) is drawn.
From [7]
PCL =
arg [1 + L(z)]
+ POL
360
(306)
Let us take a closer look at the terms on the right side of (306): POL are the
number of the roots of dL (z), and there should not be any problem calculating
that number. What about determining the angular change of the vector
1 + L(z)? Figure 34 shows how the vector (or complex number) 1 + L(z)
appears in a Nyquist diagram for a typical plot of L(z). A Nyquist diagram is
simply a Cartesian diagram of the complex plane in which L is plotted.
1 + L(z) is the vector from the point ( 1, 0j), which is denoted the critical
point, to the Nyquist curve of L(z).
Curve A2
is mapped
to here
Theorem:
Go(s) is stable if and only if the
Nyquist plot of Gl(s) does not pass
through critical point (-1,0) and the
number of counterclockwise
encirclements of (-1,0) equals the
number of open right-half-plane
poles of Gl(s)
The
critical
point
Negative
Im G
L(z)
l (s)
Curve B
is mapped
to origo
1
0
Gl (s)
Re L(z)
Gl (s)
1 + L(z)
Nyquist
curve of
G
L(z)
l (s)
Curve A1
is mapped
to here
Decreasing
Positive
From [7]
Figure 34: Typical Nyquist curve of L(z). The vector 1 + L(z) is drawn.
More about the Nyquist curve of L(z) Let us take a more detailed look
PCL =
arg [1 + L(z)]
+ POL
360
(306)
Let us take a closer look at the terms on the right side of (306): POL are the
number of the roots of dL (z), and there should not be any problem calculating
that number. What about determining the angular change of the vector
1 + L(z)? Figure 34 shows how the vector (or complex number) 1 + L(z)
appears in a Nyquist diagram for a typical plot of L(z). A Nyquist diagram is
simply a Cartesian diagram of the complex plane in which L is plotted.
1 + L(z) is the vector from the point ( 1, 0j), which is denoted the critical
point, to the Nyquist curve of L(z).
Curve A2
is mapped
to here
Corollary:
If Gl(s) has no open right-half-plane
poles, then Go(s) is stable if and only
if the Nyquist plot of Gl(s) does not
encircle nor pass through critical
point (-1,0)
The
critical
point
Negative
Im G
L(z)
l (s)
Curve B
is mapped
to origo
1
0
Gl (s)
Re L(z)
Gl (s)
1 + L(z)
Nyquist
curve of
G
L(z)
l (s)
Curve A1
is mapped
to here
Decreasing
Positive
From [7]
Figure 34: Typical Nyquist curve of L(z). The vector 1 + L(z) is drawn.
More about the Nyquist curve of L(z) Let us take a more detailed look
From [1]
From [6]
From [6]
From [1]
2
Go (s) = 2
s + 2 s + 2
Go ( j )
cutoff frequency
bandwidth
Resonant peak
overshoot
Mp = e
#
1
%
M r = $ 2 1 2
%
1
&
From [5]
< 0.707
0.707
From [5]
overshoot
Mp = e
1 2
2
Go (s) = 2
s + 2 s + 2
Resonant peak
#
1
%
M r = $ 2 1 2
%
1
&
From [1]
< 0.707
0.707
2
Go (s) = 2
s + 2 s + 2
Gain margin > 10 dB, Phase margin > 45
Mr 1.3
Mr 1.0
closed-loop
Go (s) =
G(s)
1+ G(s)
%
'
2
1 '
4
2 2'
4 +1 2
&
m = 100
1
G(s) = 2
s +s
Open loop
phase margin and
closed-loop damping
ratio as the feedback
gain was varied
From [6]
Larger resonance
time domain
CL
K p = lim C(s)G(s)
s0
K v = lim sC(z)G(z)
s0
R(s) =
1
R(s)
1+ G(s)C(s)
1
s
1
1
1+ G(s)C(s) s
1
1
1
ess = lim sE(s) = lim s
= lim
s0
s0
1+ G(s)C(s) s s0 1+ G(s)C(s)
Obtaining
ep =
1
1+ K p
where
K p = lim C(s)G(s)
s0
R(s) =
1
R(s)
1+ G(s)C(s)
1
s2
1
1
1+ G(s)C(s) s 2
1
1
1
ess = lim sE(s) = lim s
= lim
2
s0
s0
s0 s + sG(s)C(s)
1+ G(s)C(s) s
Obtaining
ev =
1
Kv
where
K v = lim sC(z)G(z)
s0
Kp
Kv
Ka
II
System
Type \ Error
ep
ev
ea
II
From [1]
1+ aT1s
C(s) =
1+ T1s
0 < a <1
From [1]
1+ bT2 s
C2 (s) =
1+ T2 s
b >1
1+ sin m
b=
1 sin m
From [1]
= required 1 +
1+ sin
b=
1 sin
10 log(b)
The intersection with the bode plot will be the new gain
crossover frequency !g'
Measure the resulting phase margin
1
G(s) =
s(s + 2)
1
G(s) =
s(s + 2)
Hp(z)
ymSP
Hc (z)
Hu(z)
Hs(z)
R(s)
ym SP
ym
Making compact
GL(z)
(s)
G
l l(z)
C(s)
Hc (z)
G(s)
Hp (z)
Yym(s)
Making compact
1
1
y mSP
E(s) =
R(s)y=m
R(s)
L(s)
1+ C(s)G(s)
1+ Gl (s)
1
Converting an extracted part1+
of G
thel (s)
detailed block diagram in Figure 30
S(s) =
Figure 31:
into a compact block diagram. L(z) is the loop transfer function.
where nL (z) and dL (z) are the numerator and denominator polynomials of
S( j ) =
1
1+ Gl ( j )
S5.4
= max S( j
)
= S(s)
Disturbance
Attenuation
10
S
! S(i )!
10
10
10
10
10
sc ms
10
10
From [2]
11
Sensitivity function:
Distance of the Nyquist curve
to the critical point (-1,0):
1
1+ Gl (s) =
S(s)
1
1+ Gl (s)
1/ S
Ms
ms
sc
Minimum distance:
1
S(s)
For a larger S the
Nyquist plot comes
closer to the point of
instability
From [2]
From [6]
1
1+ Gl (s) =
S(s)
Minimum distance:
1+ Gl (s)
ReGl (s)
1
S(s)
For a larger Sthe
Nyquist plot comes
closer to the point of
instability
VGM =
S
S 1
1+
Gl L
(s)
1+
C(s)G(s)
C P
T (s) =
Gl (s)
= Go (s)
1+ Gl (s)
G( j )
1
<
G( j )
T ( j )
G( j ) 1
<
G( j )
T
1+
Gl L
(s)
1+
C(s)G(s)
C P
From [2]
where
T = T (s) = max T ( j )
since
Gl (s)
T (s) =
1+ Gl (s)
then
T (s) + S(s) = 1
1
S(s) =
1+ Gl (s)
tivity can be made arbitrary small for any finite frequency by making k
sufficiently large.
The system in Example 5.6 is unfortunately an exception. The key feature
of the system is that the Nyquist curve of the process lies in the fourth
quadrant. Systems whose Nyquist curves are in the first and fourth quadrant are called positive real. For such systems the Nyquist curve never
enters the
region shown
in Figure
5.11 where the sensitivity is greater
Sensitivity
function
plant
variations
than one.
For typical control systems there are unfortunately severe constraints
Bodeonhas
that iffunction.
the loop transfer
has
polesthat
pk inif the
planehas
theshown
sensitivity
Bode has
shown
the right
loop half
transfer
and ifpoles
it goes
fasterhalf
thanplane
1/s for
large
the sensitivity
function
pk to
in zero
the right
and
if its goes
to zero faster
than 1/ s for
satisfies
following
integral
largethe
s the
sensitivity
function satisfies the following integral
log ! S(i )! d =
"
1
log
d =
Re pk
!1 + L(i )!
(5.18)
equation
shows
if the
sensitivity
function
is made
smallerfor
for
This This
equation
shows
thatthat
if the
sensitivity
function
is made
smaller
frequencies
it must
increaseatatother
otherfrequencies.
frequencies. This
somesome
frequencies
it must
increase
Thismeans
meansthat
if disturbance attenuation is improved in one frequency range it will be
that ifworse
disturbance
attenuation is improved in one frequency range it
in other. This has been been called the water bed effect.
will be worse
in other.
This has
been
been
called the water
bed effect.
Equation
(5.18) implies
that
there
are fundamental
limitations
to what
!1 + L(i )!
This equation shows that if the sensitivity function is made smaller for
some frequencies it must increase at other frequencies. This means that
if disturbance attenuation is improved in one frequency range it will be
worse in other. This has been been called the water bed effect.
Equation (5.18) implies that there are fundamental limitations to what
plant
variations
can beSensitivity
achieved byfunction
control and
that control
design can be viewed as a
redistribution of disturbance attenuation over different frequencies.
a loop
transfer
functionwithout
without poles
right
halfhalf
plane
(5.18)
For For
a loop
transfer
function
polesininthe
the
right
plane
(5.18)
reduces to
reduces to
!
log ! S(i )!d = 0
This formula
can be
a nice
shown
This formula
cangiven
be given
a nicegeometric
geometric interpretation
interpretation as as
shown
in in
5.17 which
shows
a functionof
of. .The
The area
area over
Figure Figure
5.17 which
shows
log ! Slog|S(j)|
(i )! as as
a function
over the
theChapter
horizontal
betoequal
the under
area under
the axis.
5. axis
Feedback
Fundamentals
horizontal
axis must
be must
equal
the to
area
the axis.
1
0
This is a technical
section which requires some knowledge of the theory
of complex variables,
in particular contour integration. Assume that the
1
loop transfer function has distinct poles at s = pk in the right half plane
and that L(s) 2
goes to zero faster than 1/ s for large values of s. Consider
+ [2]
the integral of3 the logarithm of the sensitivity function S(s) = 1/(1 From
0
0.5
1
1.5
2
2.5
3
L(s)) over the contour
shown in
Figure
5.18. The contour encloses the
right half plane except the points s = pk where the loop transfer function
has poles
and the
sensitivity
function
S(s)(5.18
has
L(s) = P(s) C (s)Figure
5.17 Geometric
interpretation
of Bodes
integral formula
). zeros. The
n laws. They
grated value
functionis
otal amount
zero for stao some fixed
y magnitude,
sitivities less
alues are bad
open loop).
ensitivity imuency is exoration. For
because the
e
,
Log Magnitude
10
1.0
0.1
0.0
0.5
1.0
0.1
0.0
0.5
1.0
Frequency
1.5
s.g
Formal Synthesis
Machine
1.0
0.1
0.0
0.5
1.0
Frequency
1.5
Form: Stein, G., "Respect the unstable," Control Systems, IEEE , vol.23, no.4, pp.
12,25, Aug. 2003
s.g
2.0
Formal Design
2.0
Formal Design
Log Magnitude
ntil 1983, in a
on Decision
es, someone
a version of
s for a long
the value of
t should not
out the diffi-
I like
to think
of Bodes integrals
as conservation
laws. They
ademic control designer with
more
abstract
tools such
as
state precisely that a certain quantitythe integrated value
linear quadratic Gaussian (LQG),
H , convex optimization,
of the logof the magnitude of the sensitivity functionis
and the like, at his disposal. This
designer
a of
powerful
conserved
under guides
the action
feedback. The total amount
of
this
quantity
is
always
the
same.
It is of
equal to zero for staditch-digging machine by remote control from the safety
ble plant/compensator pairs, and it is equal to some fixed
his workstation (Figure 4). Hepositive
sets parameters
(weights) at
amount for unstable ones.
his station to adjust the contours
machines
Sinceof
wethe
are talking
about thedigging
log of sensitivity magnitude,
it
follows
that
negative
values
are
good (i.e., sensitivities less
blades to get just the right shape for the sensitivity function.
than unity, better than open loop) and positive values are bad
He then lets the machine dig(i.e.,
down
as fargreater
as it than
can,unity,
andworse
he than open loop).
sensitivities
So for open-loop
average sensitivity imsaves the resulting compensator.
Next, hestable
firessystems,
up histhe
autoprovement a feedback loop achieves over frequency is exmatic code generator to write the implementation code for
actly offset by its average sensitivity deterioration. For
the compensator, ready to runopen-loop
on his target
unstablemicroprocessor.
systems, things are worse because the
Log Magnitude
15
Bibliography
[1] ANALOG AND DIGITAL CONTROL SYSTEM DESIGN. Chi-Tsong
Chen, Saunders College Publishing
[2] CONTROL SYSTEM DESIGN LECTURE NOTES FOR ME 155A.
Karl Johan strm. University of California. 2002.
[3] FEEDBACK SYSTEMS. AN INTRODUCTION FOR SCIENTISTS
AND ENGINEERS. Karl Johan strm and Richard M. Murray.
Princeton University Press 2008.
[4] FEEDBACK CONTROL OF DYNAMIC SYSTEMS. Gene F.
Franklin, J. David Powell. Abbas Emani-Naieini. Addison Wesley
[5] DIGITAL CONTROL SYSTEM ANALYSIS AND DESIGN. C. L.
Phillips and H. T. Nagle, Second Edition, Prentice Hall, 1990
[6] DIGITAL CONTROL OF DYNAMIC SYSTEMS. Franklin, Gene F.,
J. David Powell, and Michael L. Workman. 3rd ed. Upper Saddle
River, NJ: Prentice Hall, 1997