Академический Документы
Профессиональный Документы
Культура Документы
CHAPTER 3
Compensator Design Using the
Bode Plot
1
Chapter Outline
3.1 Introduction Re-visit to Frequency Response, plotting frequency
response, bode plot stability analysis.
2
3.1 Introduction
Re-visit: The Bode Plots
Converting into dB
20 log G ( j ) 20 log K 20 log ( j z1 ) 20 log ( j z 2 )
20 log ( j ) m 20 log ( j p1 ) 20 log ( j p2 )
3
3.1 Introduction
Re-visit: The Bode Plots
4
3.1 Introduction
Re-visit: The Bode Plots
G(s) = K
G ( s ) K ; G ( j ) K
Gj ) dB 20 log K
G ( j ) 0 0
5
3.1 Introduction
Re-visit: The Bode Plots
G(s) = s
G ( s ) s; G ( j ) j
Gj ) dB 20 log 20 dB/decade
G ( j ) 90 0
At = 1, gain = 0 dB.
6
3.1 Introduction
Re-visit: The Bode Plots
G(s) = 1/s
G ( s ) 1 s ; G ( j ) 1 j
Gj ) log(1 / )
Gj ) dB 20 log(1 / ) 20 log - 20 dB/decade
G ( j ) 90 0
At = 1, gain = 0 dB.
7
3.1 Introduction
Re-visit: The Bode Plots
For G ( s) s 1 s j
G ( s) ( 1); G ( j ) 1
a a a
2
Gj ) 1
a
At a, G ( j ) tan 1
Gj ) dB 20 log 1 0dB
a
G ( j ) tan 1 0 0 0
At = a,
Gj ) dB 20 log 2 3.01dB
G ( j ) tan 1 1 450
At a,
Gj ) dB 20 log 20 dB/decade
G ( j ) tan 1 90 0
8
3.1 Introduction
Re-visit: The Bode Plots
9
3.1 Introduction
Re-visit: The Bode Plots
high-frequency asymptote
10
3.1 Introduction
Re-visit: The Bode Plots
high-frequency asymptote
11
3.1 Introduction
Re-visit: The Bode Plots
12
3.1 Introduction
Re-visit: The Bode Plots
13
3.1 Introduction
Re-visit: The Bode Plots
1
For G ( s) 1
G ( s) ; G ( j )
1
s
1 s a 1 j a 1
a 1 1
Gj ) 2
; G ( j ) tan
a
1
a
At a,
Gj ) dB 20 log 1 0dB
G ( j ) tan 1 0 0 0
At = a,
Gj ) dB 20 log(1 2 ) 3.01dB
G ( j ) tan 1 1 450
At a, 1
Gj ) dB 20 log - 20 dB/decade
G ( j ) tan 1 90 0
14
3.1 Introduction
Re-visit: The Bode Plots
high-frequency asymptote
low-frequency asymptote
break-frequency
15
3.1 Introduction
Re-visit: The Bode Plots
high-frequency asymptote
asymptotic approximation
low-frequency asymptote
16
3.1 Introduction
Re-visit: The Bode Plots
Example 1
Sketch the Bode plots for the system shown where
K ( s 3)
G ( s)
s ( s 1)(s 2)
17
3.1 Introduction
Re-visit: The Bode Plots second order systems
For n 2
G (s) s 2 2 n s n 2
n 2 1
G ( s) 2 2
2
s 2 n s n s 2
2
s 1
n n
1 1
G ( j ) 2
( j ) 2 2 2
j 1 1 j
n 2 n 2 n
n
At low frequency, n, G ( j ) 1
Gj ) dB 20 log 1 0 dB; G ( j ) 0 0
At high frequency, n, G ( j ) 1 2
Gj ) dB 20 log 2 40 log ; G ( j ) 180 0
18
3.1 Introduction
Re-visit: The Bode Plots second order systems
high-frequency asymptote
low-frequency asymptote
break-frequency
19
3.1 Introduction
Re-visit: The Bode Plots second order systems
high-frequency asymptote
asymptotic approximation
low-frequency asymptote
20
3.1 Introduction
Re-visit: The Bode Plots second order systems
lG(j)ldB
21
3.1 Introduction
Re-visit: The Bode Plots second order systems
22
3.1 Introduction
Re-visit: The Bode Plots second order systems
23
3.1 Introduction
Re-visit: The Bode Plots second order systems
Example 2
Sketch the Bode plot for G(s) for the unity feedback
system shown below where G(s) = (s + 3)/[(s + 2)(s2 + 2s +
25)].
24
3.1 Introduction
Re-visit: The Bode Plots second order systems
Solution
For 1/(s2 + 2s + 25)],
n = 5 rad/s; = 0.2
Normalise:
s
(3 50) 1
G ( s) 3
2
s s 2
1 s 1
2 25 25
25
3.1 Introduction
Re-visit: The Bode Plots second order systems
Solution
26
3.1 Introduction
Re-visit: The Bode Plots second order systems
Solution
27
3.1 Introduction
Re-visit: The Bode Plots Gain & Phase Margins
180
28
3.1 Introduction
Re-visit: The Bode Plots Gain & Phase Margins
Example 4
Consider a unity feedback system with G(s) =
200/[(s+2)(s+4)(s+5)]. By using MATLAB, find the gain
margin and the phase margin.
SOLUTION:
GM = 7 rad/s. GM = 6.02 dB.
29
3.1 Introduction
Re-visit: The Bode Plots Damping Ratio & Phase Margins
30
3.1 Introduction
Re-visit: The Bode Plots Steady-state Errors
31
3.1 Introduction
Re-visit: The Bode Plots Steady-state Errors
System type 2
32
3.2 Gain Adjustment
The Design of Controller
33
3.2 Gain Adjustment
The Design of Controller
Example 3
For the position control system, find the value of the
preamplifier, K to yield a 9.5% OS in the transient response
for a step input. Use only the frequency response methods.
35
3.2 Gain Adjustment
The Design of Controller
Solution
K = 3.6
= 14.8 rad/s
36
3.2 Gain Adjustment
The Design of Controller
Solution
OS 9.5%, = 0.6, M = 59.20.
From the plot, to obtain M = 59.20 , M = 14.8
rad/s.
At = 14.8 rad/s, the gain = -44.2 dB. The
magnitude has to be raised to 0 dB to yield the
required phase margin.
K1 = 162.2
K = 3.6K1 = 162.2 x 3.6 = 583.9.
The gain-adjusted open-loop transfer function:
58390
G ( s)
s ( s 36)( s 100)
37
3.2 Gain Adjustment
The Design of Controller
Example 4
For a unity feedback system with a forward transfer
function
K
G (s)
s ( s 50)( s 120)
ANSWER: K = 194200
38
3.3 Lag Compensation
The Lag Compensator
39
3.3 Lag Compensation
The Lag Compensator
40
3.3 Lag Compensation
The Lag Compensator
41
3.3 Lag Compensation
The Lag Compensator
Steps to design:
i Obtain the value for K which satisfies the ess and plot the
corresponding Bode Plot.
ii Find the gain crossover freq so that the desired phase margin
is obtained.
iii Read the gain of the uncompensated system at this freq. The
compensator gain needed is the amount needed to change
the compensated gain to 0 dB.
iv Hence, the higher break freq (zc) for the compensator is one
decade below the gain crossover freq.
v Then, draw a -20 db/decade slope backwards until it meets
the 0 dB line. This is the lower break freq (pc) for the
compensator.
43
3.3 Lag Compensation
The Lag Compensator
Example 5
Given the system below (Example 3), use Bode diagram to
design a lag compensator to yield a tenfold improvement
in steady-state error over the gain compensated system
while keeping the percent OS at 9.5%.
44
3.3 Lag Compensation
The Lag Compensator
Solution
From example 3, OS 9.5%, K = 583.9; Kv=16.22
Desired Kv = 16.22 (10) = 162.2
Therefore, K = 5839 to achieve Kv = 162.2.
Bode plot with K =5839.
OLTF, 583900
G ( s)
s ( s 36)( s 100)
45
3.3 Lag Compensation
Solution The Lag Compensator
110
46
3.3 Lag Compensation
The Lag Compensator
Solution
Desired OS 9.5%, = 0.6, M = 59.20.
To compensate, M = 59.20 + = 100 = 69.20
= 9.8 rad/s, magnitude = 24 dB.
Draw a lag compensator: high break frequency = 0.98
rad/s, low break frequency = 0.062 rad/s. [20 dB/dec
line]
The transfer function: Gc ( s) 0.063( s 0.98)
( s 0.062)
47
3.3 Lag Compensation
The Lag Compensator
Example 6
For a unity feedback system with a forward transfer
function
K
G ( s)
s ( s 50)( s 120)
ANSWER: Glag ( s )
0.0691( s 2.04)
( s 0.141)
48
3.4 Lead Compensation
The Lead Compensator
49
3.4 Lead Compensation
The Lead Compensator
50
3.4 Lead Compensation
The Lead Compensator
51
3.4 Lead Compensation
The Lead Compensator
52
3.4 Lead Compensation
The Lead Compensator
The uncompensated
system has a small
phase margin (B) and a
low phase-margin
frequency (A).
Using the lead
compensator, the gain
crossover frequency is
increased from A to C.
This yield a larger phase
margin (D), a higher
phase-margin frequency
(C) and a larger
bandwidth. 53
3.4 Lead Compensation
The Lead Compensator
1
Gc ( jmax ) [3]
55
3.4 Lead Compensation
The Lead Compensator
Steps to design:
i Obtain the value for K which satisfies the ess and plot the
corresponding Bode Plot.
ii Find the Phase margin of the uncompensated system.
iii Calculate the additional phase needed by the lead compensator
so that it satisfies the system requirement (additional correction
factor might be needed).
iv Calculate the needed.
v Calculate the compensators magnitude to obtain above.
vi Obtain the new gain crossover freq G s. t. the magnitude of
uncompensated system is equal but negative to that of the
compensators. Hence, calculate for zc and pc.
vii Draw the bode plot and check the system performance. Repeat the design steps
with different correction factor if the system requirement is sill not achieved.
56
3.4 Lead Compensation
The Lead Compensator
Example 7
57
3.4 Lead Compensation
The Lead Compensator
Solution
For Kv = 40, K = 1440.
Plot Bode diagram with K = 1440.
Desired OS = 20%; M = 48.10.
58
3.4 Lead Compensation
The Lead Compensator
Solution
From the
Bode
diagram, M
= 340 at =
29.6 rad/s.
Therefore
the required
phase margin
from the lead
compensator
is 48.10 340
+ 100 = 24.10
59
3.4 Lead Compensation
The Lead Compensator
Solution 3.76 dB
Using
equation [2],
for max =
24.10, =
0.42.
Using
equation [3],
the lead
compensator
magnitude =
3.76 dB at
max
60
3.4 Lead Compensation
The Lead Compensator
Solution
To select as the
new phase-
margin
frequency, find
the frequency
(max) at which
the
uncompensate
d system 39 rad/s
magnitude is
-3.76 dB.
From the Bode
diagram, max =
39 rad/s.
61
3.4 Lead Compensation
The Lead Compensator
Solution
Using equation [1], zc = 25.3 and pc = 25.3/0.42 = 60.2
s 25.3
Gc ( s) 2.38
s 60.2
The final compensated open-loop transfer function:
342600( s 25.3)
Gc ( s )
s ( s 36)( s 100)( s 60.2)
62
3.4 Lead Compensation
The Lead Compensator
Solution
63
3.4 Lead Compensation
The Lead Compensator
Example 8
64
3.5 Lead-Lag Compensation
The Lead-Lag Compensator
65
3.5 Lead-Lag Compensation
The Lead-Lag Compensator
s s
1 1
zc1 zc 2
Gc ( s )
s s
1 1
pc1 pc 2
where the conditions for the zeros and poles are same as
being set earlier for the individual compensators.
THE END
67