Académique Documents
Professionnel Documents
Culture Documents
9.1 Introduction
Frequency domain techniques together with the root locus method have been very
popular classical methods for both analysis and design of control systems. As
they are still used extensively in industry for solving controller design problems
for many industrial processes and systems, they have to be included in academic
curricula and modern textbooks on control systems. This chapter is organized
as follows.
In Section 9.2 we study the open- and closed-loop frequency transfer func-
tions and identify the frequency response parameters such as system frequency
bandwidth, peak resonance, and resonant frequency.
In Section 9.3 we show how to read the phase and gain stability margins, and
the values of the steady state error parameters from the corresponding
frequency diagrams, known as Bode diagrams. Bode diagrams represent the
magnitude and phase plots of the open-loop transfer function with respect to the
angular frequency . They can be obtained either analytically or experimentally.
In this chapter we present only the analytical study of Bode diagrams, though
it should be mentioned that Bode diagrams can be obtained from experimental
measurements performed on a real physical system driven by a sinusoidal input
with a broad range of frequencies.
The controller design technique based on Bode diagrams is considered in
Section 9.4. It is shown how to use the phase-lag, phase-lead, and phase-lag-
lead controllers such that the compensated systems have the desired phase and
381
382 FREQUENCY DOMAIN CONTROLLER DESIGN
gain stability margins and steady state errors. It is also possible in some cases
to improve the transient response since the damping ratio is proportional to the
phase margin, and the response rise time is inversely proportional to the system
bandwidth.
Section 9.5 contains a case study for a ship positioning control system, and
Section 9.7 represents a laboratory experiment. In Section 9.6 we comment on
discrete-time controller design.
Chapter Objectives
The main objective of this chapter is to show how to use Bode diagrams as
a tool for controller design such that compensated systems have, first of all, the
desired phase and gain stability margins and steady state errors. Controllers based
on Bode diagrams can also be used to improve some of the transient response
parameters, but their design is far more complicated and far less accurate than
the design of the corresponding controllers based on the root locus method.
"! #$%&!' ()*+-,"./0 132 &&! ! #4 &!6587 &! (9.1)
setting
C
possible frequencies
5 B9
, that is
. They are obtained from (9.1) by simply
time domain specifications. For example, the wider the system bandwidth, the
faster system response, which implies a shorter response rise time.
Typical diagrams for the magnitude and phase of the open-loop frequency
transfer function are presented in Figure 9.1. From this figure one is able to read
directly the phase and gain stability margins and the corresponding phase and
gain crossover frequencies. In Section 9.3, where we present the Bode diagrams,
which also represent the magnitude and phase plots of the open-loop frequency
transfer function with respect to frequency, with magnitude being calculated in
decibels (dB), we will show how to read the values for KLMKNM KPO
.
G(jω)H(jω)
Qω
0
cg 1/Gm
Qω cp
Qω
SargG(jω)H(jω) (a)
R0
o
Qω cg
Qω cp
Qω
TPm
o
-180
(b)
Figure 9.1: Magnitude (a) and phase (b) of the open-loop transfer function
In addition to the phase and gain margins, obtained from the open-loop fre-
quency transfer function, other frequency response parameters can be obtained
from the frequency plot of the magnitude of the closed-loop frequency trans-
fer function. This plot is given in Figure 9.2. The main closed-loop frequency
response parameters are: system bandwidth, peak resonance, and resonant fre-
quency. They are formally defined below.
384 FREQUENCY DOMAIN CONTROLLER DESIGN
Y(jω)
= M(jω)
U(jω)
t Mr = max Y(jω)
ω U(jω)
Mr
s
3 dB
0
Qω r
Qω BW
Qω
Bandwidth
Ç Ã¨
the magnitude and phase of this element are easily drawn and are presented in
Figure 9.3.
|K|dB K
K>1
0 0 arg{K>0}
logω logω
K<1 arg{K<0}
-180 o
It can be observed that the phase for a pure integrator is constant, whereas the
ÎpÑ Ò ÞA×ØræZç6èéæê-ëáæ³ê
magnitude is represented by a straight line intersecting the frequency axis at
and having the slope of . Both diagrams are represented
ÞÐä/Ø å
gain attenuation of
ÞA×ØDæZçÐèéæêFëáæê
in Figure 9.4. Thus, a pure integrator introduces a phase shift of
.
and a
FREQUENCY DOMAIN CONTROLLER DESIGN 387
ï jω1 ìdB
20
í0 îlogω
0.1 1 10
-20
ï jω1
í0 o
logω
0.1 1 10
-90 o
be ú
The corresponding frequency diagrams are presented in Figure 9.5. It can
ù/ú
concluded that a pure differentiator
introduces a positive phase shift of and
an amplification of .
Real Pole: The transfer function of a real pole, given by
ðñ.ò/ó|ôDõ õ
/ò ó ò (9.9)
has the following magnitude and phase
388 FREQUENCY DOMAIN CONTROLLER DESIGN
ï jω dB
20
í0 logω
0.1 1 10
-20
ï jω
90 o
í0 o logω
0.1 1 10
1
1+jω/p dB c
0.1 1 10
log(ω/p)
1
1+jω/p
í0.1 1 10 îlog(ω/p)
o
0
-45 o
-90 o
fqp h
Real Zero: The transfer function of an element representing a real zero is
given by dLegfhMi^jlk e f.h=iNj k
m mon n mqr (9.11)
|;
dLegf.hMi jw
Its magnitude vx0phase
and y2z{|7}~are k ph {=degf.h
iNjU | ph
s s t7u n mqr
S mqr (9.12)
|1+jω/z|
20 dB
0
í0.1 1 10
log(ω/z)
1+jω/z
90 o
45 o
í0 í
o
log(ω/z)
0.1 1 10
At low frequencies the approximations can be obtained directly from (9.13), that
is ÊKé
ÆLÇgÉ.ÊMËNÍ Ê Ù + å æwê ë ÆLÇ2É.Ê=Ëìë í7î)åïáðñÂÃÄMÅÆLÇ2É.Ê=ËÌBåwá è
Ùé
Thus, the corresponding asymptotes for small and large frequencies are, respec-
tively, zero and ÏMò5á^óÞôMõóö÷ìÂóaö (with the corner frequency at ÊwåïÊÀÙ ) for the
magnitude, and zero and ÏÈæç.á è for the phase. At the corner frequency Ê Ù the
phase is equal to ÏMøá è . The corresponding Bode diagrams are represented in
Figure 9.8. Note that the actual plot in the neighborhood of the corner frequency
depends on the values of the damping ratio Ø . Several curves are shown for
áùúæÎû Ø û¥æ . It can be seen from Figure 9.8 that the smaller Ø , the higher peak
of the magnitude plot.
|G(jω)|dB ζ= 0.1
í0 í0.1 ζ= 0.3
1 10
log(ω/ωn)
ζ= 1
-20
-40
G(jω)
í0.1 1 10
0o log(ω/ωn)
-90 o
-180 o
Figure 9.8: Magnitude and phase diagrams for complex conjugate poles
392 FREQUENCY DOMAIN CONTROLLER DESIGN
üÈý2þ.ÿ
þ ÿ ÿ .þÿ ÿ ÿÿ Ýþ
ÿÿ (9.15)
so that the corresponding Bode diagrams will be the mirror images of the Bode
diagrams obtained for the complex conjugate poles represented by (9.13). In the
case of complex conjugate zeros, the asymptotes for small frequencies are equal to
zero for both the magnitude and phase plots; for high frequencies the magnitude
asymptote has a slope of !"$#&%'(" and starts at the corner frequency of
ÿ ÿ , and the phase plot asymptote is &) * .
G(jω)H(jω) ìdB
20log Kp
9ω
í0 cg
9ω cp
log ω
8(a) -Gm
:argG(jω)H(jω)
í0 o 9ω cg
9ω cp
log ω
o
-90
Pm
o
-180
(b)
num=[1 1];
d1=[1 0];
d2=[1 2];
d3=[1 2 2];
den1=conv(d1,d2);
den=conv(den1,d3);
bode(num,den);
[Gm,Pm,wcp,wcg]=margin(num,den);
The corresponding Bode diagrams are presented in Figure 9.10. The phase
and gain stability margins and the corresponding crossover frequencies are ob-
tained as
;=<?>A@BDC7EEFGIHKJL<M>N@'OBPO0E0QO7R7JSUTWV>YX'BPZ7C@'C[]\GI^!_`JSaTcb>edBfO!gg'@[]\'GI^!_h
394 FREQUENCY DOMAIN CONTROLLER DESIGN
50
0
Gain dB
−50
−100 −1 0 1
10 10 10
Frequency (rad/sec)
−90
Phase deg
−180
−270
−1 0 1
10 10 10
Frequency (rad/sec)
50
0
Gain dB
−50
−100 −2 −1 0 1 2
10 10 10 10 10
Frequency (rad/sec)
0
Phase deg
−90
−180
−2 −1 0 1 2
10 10 10 10 10
Frequency (rad/sec)
For control systems of type ÀÁAÂ , the position constant according to formula
(6.31) is obtained from (9.17) as
ÃkÅÆÇ+È´ÉpÊ Æ(Ç
ÈAÉ{Ê
Ë~ÌÍ ËÏÎ'ÍЧÐ$Ð
Ã°Ä Á
ÑrÒ0ÓÔ»Õ ÆÇ+ÈeÉ{Ä Ê ÆÇ+ÈeÉpÄ Ê p
É
Ê × Õ Á Ã Å (9.19)
Ì$Í Î0ÍÐ$ЧÐÖ
Ó
It follows from (9.17)–(9.19) that the corresponding magnitude Bode diagram of
type zero control systems for small values of is flat (has a slope of ÂØIÙ ) and the
value of ÚÂÛ£ÜÝ
þŠÁAÚÂÛcÜÝ Ã Ä . This is graphically represented in Figure 9.12.
|G(jω)H(jω)| dB
20log Kp
log ω
For control systems of type Þßà , the open-loop frequency transfer function
is approximated at low frequencies by
á âã à+äAåpæç ã à+äeåpæç
¾ á¾â
~è(é {ê(éë$ë$ë
ì£í'îï-ð ã £ì í'îï{ð
à+äAå{ñ æ è!é ã à
ä´åpñ æ ê7éë§ë$ëªò
(9.20)
î
It follows that the corresponding magnitude Bode diagram of type one control
systems for small values of has a slope of óõôöU÷ø+ù7÷(ú!û&ü÷}ú and the values of
á¾â î
ôöýcþÿ í ßNôöýcþÿ á¾â !ó5ô'öýrþ'ÿ (9.21)
|G(jω)H(jω)|dB |G(jω)H(jω)|dB
-20 dB/dec
#
ω* =Kv -20 dB/dec
ω=1 20log Kv
log ω
20log Kv #
ω* =Kv
log ω
ω=1
$ K <1
v Kv >1
(a) (b)
the initial magnitude Bode plot with the frequency axis as represented in Figure
9.14.
|G(jω)H(jω)|dB |G(jω)H(jω)|dB
-40 dB/dec
ω** = Ka -40 dB/dec
ω** = Ka
ω=1
log ω
20log Ka ω=1 log ω
20log Ka
(a) (b)
It can be seen from Figures 9.12–9.14 that by increasing the values for
the magnitude Bode diagrams at low frequencies (i.e. by increasing tu ), the
constants tAvZwxtAy , and tz are increased. According to the formulas for steady
state errors, given in (6.30), (6.32), and (6.34) as
In Figure 9.11 the initial slope is ³´6µ , and hence we have from this diagram
¶ ³¸·T¹º
»p¼½!¾;¿ÁÀ »p¼½¿6Âà ¶6Ä »ÅÇƳ Ä »"ÈƳ
Using the exact formula for »p¼ as given by (6.31) produces
The first two items, (a) and (b), have been already clarified. In order to
Þ
ã
justify item (c), we consider the open-loop transfer function of a second-order
ÛpÜTÝ8ÞßLàáÜÝÞß4â
system given by
ÜTÝÞ`ßFÜTÝå°ærçèQÞ ß
ä
ä (9.25)
ÛpÜÝfrequency
whose gain crossover êìëß beâ easily Þ
found
ÞêìëZßWàáÜTÝÞ4can ã fromâ!ï
Þí Þ ã ærîNè ã Þ ã
é é ä
ä
(9.26)
è
Plotting the function , it can be shown that it is a monotonically increasing
function with respect to ; we therefore conclude that the higher phase margin,
the larger the damping ratio, which implies the smaller the overshoot.
Item (d) cannot be analytically justified since we do not have an analytical
expression for the response rise time. However, it is very well known from
undergraduate courses on linear systems and signals that rapidly changing signals
have a wide bandwidth. Thus, systems that are able to accommodate fast signals
must have a wide bandwidth.
In the remainder of this section, we first present standard controllers (phase-
lag, phase-lead, and phase-lag-lead) in the frequency domain, and then show how
to use these in order to achieve the desired system specifications. Each design
technique will be given in an algorithmic form, and each will be demonstrated
by an example.
FREQUENCY DOMAIN CONTROLLER DESIGN 401
2|G (jω)|
c dB
0p z1 log ω
1
0
20log(p1 / z1)
3arg{Gc(jω)}
.ωmax log ω
10
/ φ max
Note that for the magnitude diagram it is sufficient to use only the straightline
approximations for a complete understanding of the role of this controller. In
general, straightline approximations can be used for almost all Bode magnitude
diagrams in controller design problems. However, phase Bode diagrams are very
sensitive to changes in frequency in the neighborhood of the corner frequencies,
and so should be drawn as accurately as possible.
Due to attenuation of the phase-lag controller at high frequencies, the
frequency bandwidth of the compensated system (controller and system in series)
is reduced. Thus, the phase-lag controllers are used in order to decrease the
402 FREQUENCY DOMAIN CONTROLLER DESIGN
system bandwidth (to slow down the system response). In addition, they can be
used to improve the stability margins (phase and gain) while keeping the steady
state errors constant.
Expressions for 465798 and :;5<7=8 of a phase-lag controller will be derived in
the next subsection in the context of the study of a phase-lead controller. As a
matter of fact, both types of controllers have the same expressions for these two
important design quantities.
_|G (jω)|
c dB
20log(p2/z2 )
]0 ^ z2 \ p2 log ω
`arg{Gc(jω)}
[φ
max
Ylog ω
]0 Zωmax
are used to improve the gain and phase stability margins and to increase the system
bandwidth (decrease the system response rise time).
It follows from (9.31) that the phase of a phase-lead controller is given by
p p
acb(degfh
ikjBlnmo"pq9rtsvuBawyx+zT{ uBawyxz{
| }~ } ~ (9.32)
so that
ab=defth
ikjBlnmEo"pq=rs p6 j= s | } }
p (9.33)
Assume that
}
}s|c} p j( s
(9.34)
Ê|G (jω)|
c dB
Çp Éz1 z2 Ç p2 log ω
1
0
Ëarg{Gc(jω)}
È0 log ω
Algorithm 9.1:
1. Determine the value of the Bode gain Ì Í given by (9.18) as
̱ÏnзÏcÑÒnÒcÒ
ÌÍ¯Î Ó Ó
Ð Ñ ÒnÒcÒ
such that the steady state error requirement is satisfied.
2. Find the phase and gain margins of the original system with ÌÍ determined
in step 1.
3. Find the phase difference, ÔÖÕ , between the actual and desired phase margins
and take Õ;×<Ø=Ù to be ÚÛ – ÜcÝ"Û greater than this difference. Only in rare cases
should this be greater than ÜcÝ Û . This is due to the fact that we have to give
an estimate of a new gain crossover frequency, which can not be determined
very accurately (see step 5).
4. Calculate the value for parameter Þ from formula (9.36), i.e. by using
Ü<ß²àáEâ Õ;×ãØ(Ù
ÞÎ Ü
ÜäåàáâÕ;×ãØ(Ùæ
5. Estimate a value for a compensator’s pole such that ç6×<Ø=Ù is roughly located
at the new gain crossover frequency, çè×ãØ(Ùêéëçíìïîðñóò . As a rule of thumb,
add the gain of ÔÖôõÎ÷öÝÁøùúüûSÞýBþ
ÿ at high frequencies to the uncompen-
sated system and estimate the intersection of the magnitude diagram with
the frequency axis, say çíÐ . The new gain crossover frequency is somewhere
in between the old çìïî and çíÐ . Some authors (Kuo, 1991) suggest fixing
the new gain crossover frequency at the point where the magnitude Bode
diagram has the value of ä Ý
Ú"ÔÖôþ ÿ . Using the value for parameter Þ
obtained in step 4 find the value for the compensator pole from (9.34) as
ä Ó ìTÎ äç6×<Ø=Ù Þ and the value for compensator’s zero as äTÏnìÎ ä Ó ì
gÞ .
Note that one can also guess a value for Ó ì and then evaluate Ïnì and çè×ãØ(Ù .
The phase-lead compensator now can be represented by
Þ¼ß Ó ì
ô ì ûýNÎ
¼ß Ó ì
6. Draw the Bode diagram of the given system with controller and check the
values for the gain and phase margins. If they are satisfactory, the controller
design is done, otherwise repeat steps 1–5.
406 FREQUENCY DOMAIN CONTROLLER DESIGN
"!
#%$&'(")*
#,+
Step 1. Let the design requirements be set such that the steady state error due to
a unit step is less than 2% and the phase margin is at least -/.0 . Since
$ $ !
13242 $
$ :7
$
<;
) +
65 798 ; ;
we conclude that >= .@? will satisfy the steady state error requirement of being
less than 2%. We know from the root locus technique that high static gains
can damage system stability, and so for the rest of this design problem we take
.@? .
Step 2. We draw Bode diagrams of the uncompensated system with the Bode gain
obtained in step 1 and determine the phase and gain margins and the crossover
frequencies. This can be done by using the following sequence of MATLAB
functions.
[den]=input(’enter denominator’);
% for this example [den]=[1 6 11 6];
[num]=input(’enter numerator’);
% for this example [num]=[50 300];
[Gm,Pm,wcp,wcg]=margin(num,den);
bode(num,den)
The corresponding Bode diagrams are presented in Figure 9.18a. The phase
BACED F AG
and gain margins are obtained as .HI.@J0 and the crossover
LKNMOQP )+TSVUWYXZ LK QD 8
frequencies are HR.- 5 .
8
Step 3. Since the desired phase is well above the actual one, the phase-lead
^+ $ $
controller must make up for -/.@0\[].HR.@J@0 JH_- 0 . We add ?@0 , for the
$
reason explained in step 3 of Algorithm 9.1, so that `bac'd -/JHe- 0 . The above
operations can be achieved by using MATLAB as follows
FREQUENCY DOMAIN CONTROLLER DESIGN 407
50
Gain dB
(b)
0
(a)
−50 −1 0 1 2
10 10 10 10
Frequency (rad/sec)
0
Phase deg
−90
(b)
(a)
−180
−1 0 1 2
10 10 10 10
Frequency (rad/sec)
Step 6. The Bode diagrams of the compensated control system are presented in
Figure 9.18b. Both requirements are satisfied, and therefore the controller design
procedure is successfully completed.
It is interesting to compare the transient response characteristics of the
compensated and uncompensated systems. This cannot be easily done analytically
since the orders of both systems are greater than two, but it can be simply
performed by using MATLAB. Note that num, den, numc, denc represent,
respectively, the numerators and denominators of the open-loop transfer functions
of the original and compensated systems. In order to find the corresponding
closed-loop transfer functions, we use the MATLAB function cloop, that is
[cnum,cden]=cloop(num,den,-1);
% —1 indicates a negative unit feedback
[cnumc,cdenc]=cloop(numc,denc,-1);
The closed-loop step responses are obtained by
[y,x]=step(cnum,cden);
[yc,xc]=step(cnumc,cdenc);
and are represented in Figure 9.19. It can be seen from this figure that both
the maximum percent overshoot and the settling time are drastically reduced. In
FREQUENCY DOMAIN CONTROLLER DESIGN 409
addition, the rise time of the compensated system is shortened since the phase-
lead controller increases the frequency bandwidth of the system.
1.8
(a)
1.6
1.4
1.2
(b)
0.8
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Figure 9.19: Step responses for the original (a) and compensated (b) systems
The highly oscillatory behavior of the step response of the original system
can be fully understood from its root locus, which is given in Figure 9.20. It can
be seen that the real part of a pair of complex conjugate poles is very small for
almost all values of the static gain, which causes high-frequency oscillations and
very slow convergence to the response steady state value.
The closed-loop eigenvalues of the original and compensated systems, ob-
tained by MATLAB functions roots(cden) and roots(cdenc), are given
by ¸*¹»º]¼¾½¿IÀ@Á@ÂÂ/Ãĸ·Å
Æ ÇȺɼʿRÀ@À@½ËÍÌ#ÎÏ¿I½*ÏÊÐ
¸·¹¤Æ Å'ѺɼҿRËÏÀ@ËÌ#ÎbÓÀ¿RÀ@ÒÂ@ÒxøÇVѺɼ»Â¿IÁË@ÁÂÃ(¸ÔVѺɼ»À¿RÀ@ÒÊ@Ê
which indicates a big difference in the real parts of complex conjugate poles for
the original and compensated systems.
Õ
410 FREQUENCY DOMAIN CONTROLLER DESIGN
10
5
Imag Axis
−5
−10
−10 −5 0 5 10
Real Axis
ú
Example 9.5: Consider a control system represented by
!I. 4 ý
I%
IM7?N1.OIP7?Q .
ý ý
\ ]_^a`cb d e_]gf
Design a phase-lag compensator such that the following specifications ú û are
ý@ý
met: R<SSUT6V
WYX[Z . The minimum value for the static
4 N
gain that producesú the required ú steady
ý state error is equal to .
The ú original
`hb
ûý û system with
i \ %i egej f ^ b e \ k N eHlYm
ú this static gain has phase and gain margins
$ &)(
given by
i \ Q +n o l GBp ^ $ &6q r \ r<esi n+o l G%p ú û
and crossover frequencies of
$F&)(+*%,- \ e n+o l Gp
.
ý The new gain crossover
ú û frequency can be estimated as
] f $F&)(E*,- \ e nEo l G%p
since for that frequency the phase margin of the original system is approximately
. At the required gain attenuation is obtained by
MATLAB as
412 FREQUENCY DOMAIN CONTROLLER DESIGN
wcgnew=1.4;
d1=1200;
g1=abs(j*1.4);
g2=abs(j*1.4+2);
g3=abs(j*1.4+30);
dG=d1/(g1*g2*g3);
which produces tuvxw6y{zg| }Y~3t{zgzg|gg1
and . The
zYt uvxwy{zg|}_~3tYY|%gg
compensator’s pole and zero are obtained as and BFEszBY|)z3}
' )+% szB[|zE 1
(see step 4 of Algorithm 9.2). The transfer
function of the phase-lag compensator is
0 (a)
Gain dB
(b)
−50
−100 −1 0 1 2
10 10 10 10
Frequency (rad/sec)
(a)
−90
Phase deg
(b)
−180
−270
−1 0 1 2
10 10 10 10
Frequency (rad/sec)
1.8
(a)
1.6
1.4
(b)
1.2
Amplitude
0.8
0.6
0.4
0.2
0
0 1 2 3 4 5 6 7 8 9 10
Time (secs)
It can be seen from this figure that the overshoot is reduced from roughly 0.83 to
0.3. In addition, it can be observed that the settling time is also reduced. Note
that the phase-lag controller reduces the system bandwidth ( ) so ÅFÆ)Ç+ÈgÉÊËÌÅ/Æ)Ç
that the rise time of the compensated system is increased.
Í
9.4.6 Compensator Design with Phase-Lag-Lead Controller
Compensator design using a phase-lag-lead controller can be performed according
to the algorithm given below, in which we first form a phase-lead compensator
and then a phase-lag compensator. Finally, we connect them together in series.
Note that several different algorithms for the phase-lag-lead controller design
can be found in the control literature.
Algorithm 9.3:
1. Set a value for the static gain ÎÏ such that the steady state error requirement
is satisfied.
2. Draw Bode diagrams with ÎÏ obtained in step 1 and find the corresponding
phase and gain margins.
414 FREQUENCY DOMAIN CONTROLLER DESIGN
3.
ÐÑ
ÒÔÓcÕÖØ×ÓhÕ ÑKÙPÚUÛ
Find the difference between the actual and desired phase margins,
, and take to be a little bit greater than . Cal-
ÐÑ
culate the parameter Ü_Ý
of a phase-lead controller by using formula (9.36),
that is
Ñ HÙ ÚOÛ
Ü_Ý ß
Ò ÞPà:
×Þ ááâ#âãã Ñ ÙHOÚ Û
4. Locate the new gain crossover frequency at the point where
äåFæ#ç%èhé ê!ë#ì%í'î)ï+ð%ñóò2ô3é Ò»× Þ å æ#ç1è Ü_Ý (9.38)
5. Compute the values for the phase-lead compensator’s pole and zero from
õ î Ý Ò Fí î)ï+ð%ñò'ö Ü_Ý%÷ ø î Ý Ò õ î BÝ ù%ÜsÝ (9.39)
the static gain that produces the desired steady state error. It is easy to check
that
, and therefore in the following we stick with this
value for the static gain. Bode diagrams of the original system with
are presented in Figure 9.23.
Gm=Inf dB, (w= NaN) Pm=31.61 deg. (w=7.668)
50
Gain dB
−50 −1 0 1 2
10 10 10 10
Frequency (rad/sec)
−90
Phase deg
−180
−270
−360 −1 0 1 2
10 10 10 10
Frequency (rad/sec)
MATLAB program is used to find the new gain crossover frequency, i.e. to
solve approximately equation (9.38)
w=20;
while 20*log10(100*abs(j*w+10)/
abs(((j*w)ˆ2+2*j*w+2)*(j*w+20)))<-11;
w=w-1;
end
This program produces n2oAp,qErYs5tvu
wyx{z|>}E~ . In steps 5 and 6 the phase-lag-lead
controller zeros and poles are obtained as oA tv-u7
w!g o tNg
for the phase-lead part and ogtgwUujgBotgwC{ for the phase-lag
part; hence the phase-lag-lead controller has the form
w'B ku7C
w
oKmt
wuB S E
The Bode diagrams of the compensated system are given in Figure 9.24.
Gm=Inf dB, (w= NaN) Pm=56.34 deg. (w=4.738)
50
Gain dB
−50 −2 −1 0 1 2
10 10 10 10 10
Frequency (rad/sec)
−90
Phase deg
−180
−270
−360 −2 −1 0 1 2
10 10 10 10 10
Frequency (rad/sec)
It can be seen that the phase margin obtained of ¡¢S£'¤¦¥¦§ meets the design require-
ment and that the actual gain crossover frequency, ¥£¨E¤©mª,«¬>® , is considerably
FREQUENCY DOMAIN CONTROLLER DESIGN 417
smaller than the one predicted. This contributes to the generally accepted inac-
curacy of frequency methods for controller design based on Bode diagrams.
The step responses of the original and compensated systems are compared in
Figure 9.25. The transient response of the compensated system is improved since
the maximum percent overshoot is considerably reduced. However, the system
rise time is increased due to the fact that the system bandwidth is shortened
(¯°U±,²E³Y´µ·¶¸C¹Eº»y¼,½¾>¿ÀÂÁïm°U±Äµ¹¸ ÅÅ»m¼,½¾>¿À ).
1.5
(a)
(b)
1
Amplitude
0.5
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Time (secs)
Figure 9.25 Step responses of the original (a) and compensated (b) systems
−100 −3 −2 −1 0 1
10 10 10 10 10
Frequency (rad/sec)
−90
Phase deg
−180
−270
−360 −3 −2 −1 0 1
10 10 10 10 10
Frequency (rad/sec)
Since the phase margin is well below the desired one, we need a controller
which will make up for almost a increase in phase. In general, it is hard to
stabilize systems that have large negative phase and gain stability margins. In the
following we will design phase-lead, phase-lag, and phase-lag-lead controllers to
solve this problem and compare the results obtained.
Phase-Lead Controller: By using Algorithm 9.1 with
we get a phase margin of only , which is not satisfactory. It is
FREQUENCY DOMAIN CONTROLLER DESIGN 419
Figure 9.27 shows Bode diagrams of both the original (a) and compensated (b)
systems.
100
(b)
0
Gain dB
(a)
−100
−200 −1 0 1 2
10 10 10 10
Frequency (rad/sec)
−150
Phase deg
−180
(b)
−210
(a)
−240
−270
−300 −1 0 1 2
10 10 10 10
Frequency (rad/sec)
The gain and phase stability margins of the compensated system are found from
the above Bode diagrams as CEDGFGHJILKMNILOPQER S , TUDVFWHXQPMPKQYZ , and the
crossover frequencies are []\_^6\H`IMba-OILYdcfeR g-hjik[l\_m6\HnoMOpnoI6qrcseRtg-h . The step
response of the compensated system exhibits an overshoot of 45.47% (see Figure
9.28).
Phase-Lag-Lead Controller: By using Algorithm 9.3 we find the compen-
sator transfer function as
v}~PMI<Kqq v}PMPI<O
C4\6uwvyxzHa{MK|pn PMNILQ|q
v}IM|PQ v}PAMPP|IL|K
420 FREQUENCY DOMAIN CONTROLLER DESIGN
1.5
1
Amplitude
0.5
0
0 1 2 3 4 5 6 7 8 9 10
Time (secs)
The Bode diagrams of the original and compensated systems are shown in
Figure 9.29.
(a)
0
(b)
Gain dB
−50
−100
−150 −1 0 1 2
10 10 10 10
Frequency (rad/sec)
−150
(b)
Phase deg
−180
(a)
−210
−240
−270 −1 0 1 2
10 10 10 10
Frequency (rad/sec)
The phase and gain margins of the compensated system are given by
4
G A y{y4
V j
and the crossover frequencies are
]6
A
,
-
l
f
-
¡ j
¢ l_£6 ¤
y
{
Adf ¡y¢
.
From the step response of the compensated system (see Figure 9.30), we can
observe that this compensated system has a smaller overshoot and a larger rise
time than the system compensated only by the phase-lead controller.
1.4
1.2
0.8
Amplitude
0.6
0.4
0.2
0
0 5 10 15 20 25 30
Time (secs)
The Bode diagrams of the compensated system are given in Figure 9.31.
Gm=23.48 dB, (w= 0.2651) Pm=31.44 deg. (w=0.06043)
200
Gain dB
−200 −6 −4 −2 0 2
10 10 10 10 10
Frequency (rad/sec)
−90
Phase deg
−180
−270
−360 −6 −4 −2 0 2
10 10 10 10 10
Frequency (rad/sec)
and
. The actual gain crossover frequencies are
It can be seen that the phase and gain margins are satisfactory and given by
compensation.
1.5
1
Amplitude
0.5
0
0 50 100 150 200 250 300
Time (secs)
Comparing all three controllers and their performances, we can conclude that,
for this particular problem, the phase-lag compensation produces the worst result,
and therefore either the phase-lead or phase-lag-lead controller should be used.
diagrams. The bilinear transformation, already used in this book in the stability
study of discrete-time systems, that has the form
EGFIHKJML R
F S
L N E
HONPL5Q H LJ E
(9.41)
maps the imaginary axis from the E -plane into the unit circle in the H -plane
and vice versa. Since on the unit circle H FUTWVYXZ\[ , it is easy to establish the
relationship between angular frequencies in the E and H domains. It is left as an
exercise for students to show that
i
]^_Fa`bced(fhi g F `bckjl d ^
Q d f g
(9.42)
Note that several bilinear transformations, which are just scaled versions of (9.41),
can be found in the control literature. For more details the reader is referred,
for example, to Franklin et al. (1990), DiStefano et al. (1990), and Phillips and
Nagle (1995). MATLAB discrete-time controller design problems can be found
in Shahian and Hassul (1993).
T j [ ^
Part 1. Consider the closed-loop system represented in Figure 9.33. This
system has a transport lag-element, , which represents a time delay of g
time units. The transport lag-element can be approximated for small values of
time delay g by
n~} T j [ ^_ L E n~}9} T j [ ^S
o LSN g Q o LJ g E
FREQUENCY DOMAIN CONTROLLER DESIGN 425
U(s) K Y(s)
e -Ts
+ - s(s+3)
time are inversely proportional to the phase margin. Experiment with sev-
eral values for the phase margin and take the one that satisfies both transient
response requirements.
(b) Compare the results obtained with those from Section 8.8 and comment
on the differences between root locus and Bode diagram phase-lag-lead
controller design. Which one is easier to design? Which one is more
accurate?
9.8 References
Bode, H., “Relations between attenuation and phase in feedback amplifier de-
sign,” Bell System Technical Journal, vol. 19, 421–454, 1940.
DiStefano, J., A. Stubberud, and I. Williams, Feedback and Control Systems,
McGraw-Hill, New York, 1990.
Franklin, G., J. Powel, and M. Workman, Digital Control of Dynamic Systems,
Addison-Wesley, Reading, Massachusetts, 1990.
Kuo, B., Automatic Control Systems, Prentice Hall, Englewood Cliffs, New
Jersey, 1991.
Phillips, C. and H. Nagle, Digital Control System Analysis and Design, Prentice
Hall, Englewood Cliffs, New Jersey, 1995.
Shahian, B. and M. Hassul, Control System Design with MATLAB, Prentice Hall,
Englewood Cliffs, New Jersey, 1993.
9.9 Problems
9.1 Show that for a second-order closed-loop system
¶#·x¸¹º¥» ¹½¾ ¼
·~¸*¹½º ¼¥¿³À
Á ¹ ¾ ·x¸*¹º ¿ ¹ ¾ ¼
the resonant frequency is given by
¹Â»Ã¹ ¾5Ä ÅÆ Á ¼
FREQUENCY DOMAIN CONTROLLER DESIGN 427
9.8 The block diagram of a servo control system is shown in Figure 9.34.
û s(s+1)(s+9)
U(s) 0.48 Y(s)
Gc(s)
+
-
(b) Find the steady state errors and the system overshoot.
(c) Determine the phase and gain margins.
(d) Design a controller such that the compensated system has a phase
margin of at least !
"
#
and a steady state error less than 0.02.
9.11 A unit feedback system with transport delay has the transfer function
$%&('*) %&+57"(,.
6'-(%&/025 1 34 + " '
Approximate time delay as - /98:4; +(< +
% 57=>&' .
, ) +
(a) Plot on the same figure the Bode diagrams for the system with and
without transport delay for . Comment on system stability.
(b) Plot the unit step response of the system for both cases and compare
the results (steady state errors, transient response parameters).
,
(c) Determine the value of the static gain that gives a steady state unit
step error of 0.02 for both the approximated system and the original
system without time delay.
(d) Design phase-lag, phase-lead, and phase-lag-lead controllers to
EFHG !D" #
achieve a steady state error of - 4?4A@ "BC"D!
and a phase margin
for the approximated system.
(e) Draw the exact phase Bode diagrams of the compensated systems,
including the time delay, and check the values obtained for the phase
margins.
+ +"
430 FREQUENCY DOMAIN CONTROLLER DESIGN
(a) Use MATLAB to design any controller by using Bode diagrams such
that the compensated system has the best possible transient response
and steady state specifications.
(b) Solve the same problem using the root locus technique for controller
design.
(c) Compare the obtained results and comment on the simplicity (or com-
plexity) of the root locus and Bode diagram methods for controller
design.
9.16 Repeat Problem 9.15 for the open-loop control system defined in Problem
9.9.
9.17 In order to relate the phase margin (gain margin) and the real parts of the
system eigenvalues as quantities for relative stability measure, perform the
following experiment. Consider the system
UVW(X*Y VW[_^LZ`MXVVWLW\a*[O[R]Mb
X Wc[RbMX
l Y`nmo^
(b) Since the time delay affects only the phase diagram, draw the
corrected phase Bode diagram for . Determine the phase
FREQUENCY DOMAIN CONTROLLER DESIGN 431