Control System Design by Using Frequency Response Approach
Control System Design by Using Frequency Response Approach
w w (4 z 4
1) 2z 2
c n
Remark: 1
w w [(1 2z 2 ) (1 2z 2 ) 2 1]2
b n
2)Frequency bands: In general, a control system
operates in low and medium frequency bands or
ranges while disturbance operates in high
frequency band.
b=(5~10)m
m b 1 2
L M H
Low frequency range represents the steady-state
performance and is expected to be unity, that is, with
higher open-loop gain or some integral factors in
open-loop transfer function.
(j)
G (s )
1
m b
G
F (s ) =
1 +G
Medium frequency region represents the transient
response and is expected to be sufficiently fast and well
damped, that is, with higher b and 0Mr1.4.
(j)
m b
High frequency region represents the disturbance
attenuation ability and is expected to be sufficiently
attenuated, that is, the frequency response in high
frequency region be decreased quickly.
(j)
m b
3) Information Obtainable from Open-Loop
Frequency Response
L(ω)
20dB/dec
M
20dB/dec
-40dB/dec
ωc
ω2 ωm ω3
40dB/dec
The low frequency range (the range far below c) of the
locus indicates the steady-state behavior of the closed-loop
system.
L(ω)
20dB/dec
M
20dB/dec
-40dB/dec
ωc
ω2 ωm ω3
40dB/dec
20dB/dec
M
20dB/dec
-40dB/dec
ωc
ω2 ωm ω3
40dB/dec
The requirement on open-loop frequency response for
low frequency region: The gain in low-frequency region
should be large enough and should have an integral factor.
L(ω)
20dB/dec
M
20dB/dec
-40dB/dec
ωc
ω2 ωm ω3
40dB/dec
G (s ) G
F (s ) =
1 +G
The requirement on open-loop frequency response for
medium frequency region: Near the gain crossover
frequency, the slope of the magnitude curve in the Bode
diagram should be -20 dB/decade.
L(ω) MFR
20dB/dec
-20dB/dec
h
20dB/dec
-40dB/dec
ωc
ω2 ωm ω3
40dB/dec
1/T s K
The requirement on open-loop frequency response for
high frequency region: For the high-frequency region,
the gain should be attenuated as rapidly as possible to
minimize the effects of noise.
L(ω) HFR
20dB/dec
h
20dB/dec
-40dB/dec
ωc
ω2 ωm ω3
40dB/dec
1/T s G
F (s ) =
1 +G
2. Lead Compensation
R(s) C(s)
G c(s ) G(s)
Series compensation
1). Mathematical model:
1
s+
T s +1 T , 0 < a <1
Gc (s ) = K c a =Kc
aT s +1 1
s+
aT
f (w) = ÐGc ( j w) = tan - 1 T w - tan - 1 aT w
L(dB)
20dB / dec
20lg
Bode diagram for 10lg
0
1 m 1
T T
Gc T s +1 ( )
=
K c a aT s +1 90
m
0
where it can be calculated by letting d/d=0 that (see
Appendix) 1
wm =
T a 1+ 1
fm
Therefore, we have
Gc ( j wm ) 2
= - 10lg a
K ca
T w(1 - a ) 1- a
tan f (wm ) = =
1 + aT 2w2 wm = 1 2 a
aT
1- a
sin f m =
1+ a
which relates the maximum phase-lead angle and the
value of .
The phase-lead compensator
V 2 (s ) R2 R1Cs +1 T s +1
G c (s ) = = × =a×
V 1 (s ) R1 + R 2 R2 aT s +1
R1Cs +1
R1 + R 2
C
R2
a=
R1 + R 2
R1
V1 R2 V2
R 1R 2
T = C
R1 + R 2
2). Lead Compensation Design Procedure
Step 2: Let
G1 (s ) = KG (s )
[-20db]
40
20
Magnitude (dB)
0
[-40db]
-20
-40
-90
Phase (deg)
-135
170
-180
-1 0 1 2
10 10 10 10
Frequency (rad/sec)
Step 3: Determine the necessary phase-lead angle to be
added to the system. Add an additional 50 to 120 to the
phase-lead angle required, because the addition of the
lead compensator shifts the gain crossover frequency to
the right and decreases the phase margin.
In this example:
f m = 50 - 17 + 5 = 38
Let the phase lead compensator be of the form
T s +1
G c (s ) = K c a
aT s +1
Then the open loop transfer function becomes
T s +1
G c (s )G (s ) = K c a G (s )
aT s +1
Let
K = K ca
G1 (s ) = KG (s )
T s +1
Gc (s )G (s ) = G1 (s )
aT s +1
Step 4: 1)Determine the attenuation factor by using the
formula (1)/(1+)=sinm (the main idea is to use m to
compensate for the lack of the phase margin.
In this example, let :
1- a 1- a
fm = arcsin = 38 Þ = sin 38 = 0.5 Þ a =0.24
1 +a 1 +a
Hence,
- 10 lg a Þ 6.2 dB
[ 20]
6.3 9
10lg
wc 6.2 dB = 10lga
00
wm = wc' = 9 [ 40]
-1800
=170
Step 5. Determine the corner frequencies of the lead
compensator.
Kc =K / a
In this example,
K = K c a = 10 Þ K c = 10 / 0.24 = 41.7
Therefore, the
compensator is
s + 4.41
G c (s ) = 41.7
s +18.4
0.227s +1
= 10
0.054s +1
where
K = K c a = 10
G c (s ) 0.227s +1
=
10 0.054s +1
Step 7. Check the gain margin to be sure it is satisfactory.
If not, repeat the design process by modifying the pole-
zero locations of the compensator until a satisfactory
result is obtained.
[ 20]
[ 40]
K
s (0.1s +1)
40dB / dec
44 88
0
10 22 31
6dB
g 17.90
1800
wc 31rad / s
g 17.90
1
From which we T m 1
T
0
can obtain that 20dB / dec 10lg
20lg
1
wm ( )
T b
0
b 1
f (wm ) arcsin
f m
b 1
90
Gc ( j w)
20lg 20lg b
K c b w 1
T
The phase-lag compensator
The phase-lag compensation transfer function can be
obtained with the network shown in the following
Figure:
Vo ( s ) R2Cs 1
R1 Gc ( s)
Vi ( s) ( R1 R2 )Cs 1
R2 R1 R 2
vi v0 b T (R1 R 2 )C
C
R2
T s 1
Gc (s )
bT s 1
2). Lag Compensation Design Procedure
G (s )
1
G (s ) =
s (s +1)(0.5s +1)
It is desired to compensate the system so that the static
velocity error constant Kv is 5 sec-1, the
phase margin is at least 40°and the gain margin is at
least 10 dB.
we obtain that
Kv =K =5
Draw the Bode diagram of the gain-adjusted but
uncompensated system G1(j):= KG(j).
[40]
[20]
14 dB
[60]
=200
[20]
'
[40]
wc
[20] [60]
00
900
1800
Step 2: Find the new crossover frequency point c’ such
that
g g * d g * (5 12 )
0 0
[20]
[40]
[60]
00
520
900
400
1800
0.5 0.7
Step 3: Choose the corner frequency = 1/T
(corresponding to the zero of the lag compensator) 1
octave to 1 decade below the new gain crossover frequency.
In this example, we choose
1 1/T
w = = 0.1
T 20lg
20lg
[60]
00
520
900
400
1800
0.1 0.5 0.7
Since we have obtained that =10 and
1
w = = 0.1
T 1
the corner frequency w = = 0.01
bT
c’ 14 dB
[60]
’=400
=200
Example. Consider a unity-feedback system with its
open-loop transfer function as
1
G (s )
s (0.5s 1)
20 dB /dec
40 dB /dec
20
G1 (s )
s (0.5s 1)
from which it can be obtained that
wc 6.3 rad /s
f (wc ) 900 tan 1 (0.5wc ) 1620
20 dB / dec
40 dB / dec
20
G1 (s )
s (0.5s 1)
Step 2: With ’=450 and an additional 50 to compensate
for the phase-lag, we obtain
wc¢ = 1.5rad / s f (wc ) 1300
20 dB / dec
40 dB / dec
20
G1 (s )
s (0.5s 1)
wc¢
To make c’ be the new crossover frequency, the following
equation should be satisfied
- 20 lg b = - 20 lg G1 ( j wc' ) = - 20 dB
Þ b = 10
[20] 20lgG1(jc’)=20dB
1800
0.15 c’=1.5
Step 3: Determine corner frequencies of the
compensator:
1 1
G c (s ) T s +1
= b = 10 bT T
K c b bT s +1
20 dB / dec 20 lg b
1
Choose = 0.1×wc¢ = 0.15
T
1
Then = 0.015
bT
6.67s +1 6.67s +1
G c (s ) = 20 = K cb
66.7s +1 66.7s +1
Step 4: Finally, let
K
K = K cb Þ K c =
b
In this example,
20
K = K c b = 20 Þ K c = =2
10
20 6.67s 1
G (s )Gc (s )
s (0.5s 1) 66.7s 1
1 6.67 s 1
G( s) Gc ( s) 20
s(0.5s 1) 66.7 s 1
Bode Diagram
100
[-20db]
Magnitude (dB)
50
[-40db]
0 [-20db]
[-40db]
-50
-90
Phase (deg)
-135
c ' 1.5
-180
-2 -1 0 1
10 10 10 10
Frequency (rad/sec)
The time response of the uncompensated and
compensated system are show in the following figure:
uncompensated
compensated
A Few Comments on Lag Compensation
1. Lag compensators are essentially low-pass filters.
Therefore, lag compensation permits a high gain at low
frequencies.
2. The closed-loop pole located near the origin gives a very
slowly decaying transient response, although its
magnitude will become very small because the zero of
the lag compensator will almost cancel the effect of this
pole. However, the transient response (decay) due to this
pole is so slow that the settling time will be adversely
affected.
3. c’<c ts.
3. The phase lag-lead compensator
10
( )
90
1
0
90
Example. Consider a unity-feedback system with its
open-loop transfer function as
K
G (s )
s (0.5s 1)(s 1)
1.5
[-40]
[-40]
After the compensation:
[-40]
R C
G(s)
- E
Gc (s )
0.855 C
R
s (0.1s +1)(0.05s +1)
Let
s
G c (s )0.855 s G c (s )
0.855
0.005s 3 0.01s 2 1
ess lims 0
s (0.1s 1)(0.05s 1) 1 s
0.005s 2 0.01s
lims 0 0
s (0.1s 1)(0.05s 1) 1
d f (w) d
0 tan f (w) 0
dw dw
Therefore,
T w(1 a ) 1 a
tan f (wm )
1 aT 2w2 wm
1 2 a
aT