Professional Documents
Culture Documents
SYSTEMS
Ali Karimpour
Associate Professor
Ferdowsi University of Mashhad
Lecture 22
Lecture 22
2
Dr. Ali Karimpour Feb 2013
Lecture 22
A phase-lag controller
a s 1
G ( s) Let a 1
s 1
Bode Diagram
30
50
Magnitude (db)
20
40
Magnitude (dB)
1030
020
20 log10a
200
9090
Phase (deg)
Phase (deg)
045
a 1 m
sin m
a 1
900
10
10
00
1011
10 1/ 1/ a 10 22
10
10
33
3
Frequency (rad/sec)
Frequency (rad/sec) Dr. Ali Karimpour Feb 2013
Lecture 22
40 20 log a
Magnitude (dB)
20
0
0
-20 1 1
-40 a
-60
-90
How can the lag controller
help us?
Phase (deg)
-135
PM=25°
PM=40° Is it different from a
-180
0 1 2 3
Proportional controller?
10 10 10 10
Frequency (rad/sec)
1 1
a
as 1
Step 1: Consider Gc ( s ) k with a 1 as a phase-lag controller.
s 1
as 1
Note: If the plant has another gain k, let Gc ( s)
s 1
Step 2: Try to fix k according to the performance request, otherwise let k=1
Step 3: Sketch the Bode plot of the system (with the fixed k ) without controller.
Step 4: According to desired PM (GM) choose the new gain crossover
frequency (Phase crossover frequency). (reduce it a little).?
Step 5: Find the required gain by lag controller and derive the parameter
a. Required gain |db 20 log( a) 0 a
Step 6: Put the right corner of new
the controller sufficiently far from
crossover frequency. 1 cross
a 10
5
Step 7: Check the designed controller. Dr. Ali Karimpour Feb 2013
Lecture 22
Example 1: Design a lag controller for the following system such that
the phase margin be 45° and the ramp error constant be 100. Find the
Mp of overall system.
R(s)+ C (s )
k
Gc (s)
- s ( s 25)
as 1
Step 1: Consider Gc ( s ) k with a 1 as a phase-lag controller.
s 1
as 1
Note: If the plant has another gain k, let Gc ( s)
s 1
as 1
Gc ( s) a 1
s 1
Step 2: Try to fix k according to the performance request, otherwise let k=1
k
kv lim sGc ( s) 100 k 2500
s 0 s( s 25)
6
Dr. Ali Karimpour Feb 2013
Lecture 22
Example 1: Design a lag controller for the following system such that
the phase margin be 45° and the ramp error constant be 100. Find the
Mp of overall system.
R(s)+ C (s )
Step 3: Sketch the Bode plot of the system (with the k
Gc (s)
fixed k ) without controller. - s ( s 25)
2500 100
G( s) Bode Diagram
s( s 25) s( s / 25 1) 60
40
little). -60
-90
Phase (deg)
croos
new
25 cross
new
20 -135
PM=25°
-180
0 1 2 7 3
10 10 10 10
Dr. Ali Karimpour Feb 2013
Frequency (rad/sec)
Lecture 22
Example 1: Design a lag controller for the following system
such that the phase margin be 45° and the ramp error constant
be 100. Find the Mp of overall system.
R(s)+ C (s )
Step 5: Find the required gain by lag k
Gc (s)
- s ( s 25)
controller and derive the parameter a.
40
9 20 log( a) 0
Magnitude (dB)
20
9
9 0
a 10 0.35
20
-20
2 1.41
a
-135
10
as 1 0.5s 1
Gc ( s )
s 1 1.41s 1 -180
10
0 1
10
2
10
8
10
3
system such that the phase margin be 45° and the ramp 0
Gc ( j )G
60
( j ) Bode Diagram
G ( j )
40 a s 1 1.41 0.35s 1
Gc ( s)
s 1 1.41s 1
Magnitude (dB)
20
0
1 / 0.71, 1 / a 2
-20
-40 20 log a 9 db
-60
-90
1 / a 1.19
0.354 1
Phase (deg)
-180
0 1 2 3
10 10 10 10
Frequency (rad/sec) 9
Dr. Ali Karimpour Feb 2013
Lecture 22
Example 1: Design a lag controller for the following system
such that the phase margin be 45° and the ramp error constant
be 100. Find the Mp of overall system.
R(s)+ C (s )
Step 7: Check the designed controller. Gc (s)
k
- s ( s 25)
Bode Diagram
100
50
Magnitude (dB)
-50
-100
-90
G ( j )
Gc ( j )G( j )
Phase (deg)
-135
PM 45
-180
10
-2
10
-1
10
0 1
10
2
10 10
3 10
Frequency (rad/sec) Dr. Ali Karimpour Feb 2013
Lecture 22
Example 1: Design a lag controller for the following system
such that the phase margin be 45° and the ramp error constant
be 100. Find the Mp of overall system.
R(s)+ C (s )
Finding Mp Gc (s)
k
- s ( s 25)
Without controller M p=6 db
Nichols Chart
After applying 80
controller Gc ( j )G( j )
60
G ( j )
40
0 dB
Mp=3 db
Open-Loop Gain (dB)
0.25 dB
0.5 dB
20 1 dB -1 dB
3 dB
6 dB -3 dB
0 -6 dB
-12 dB
-20 -20 dB
-40 -40 dB
-60 dB
-60 11
-360 -315 -270 -225 -180 -135 -90 -45 0
Open-Loop Phase (deg) Dr. Ali Karimpour Feb 2013
Lecture 22
Example 2: Design a lag controller for the following system such that
the phase margin be 45° and the ramp error constant be 100.
R(s)+ C (s )
k
Gc (s)
- s( s 10)( s 20)
as 1
Step 1: Consider Gc ( s ) k with a 1 as a phase-lag controller.
s 1
as 1
Note: If the plant has another gain k, let Gc ( s)
s 1
as 1
Gc ( s) a 1
s 1
Step 2: Try to fix k according to the performance request, otherwise let k=1
k
kv lim sGc ( s) 100 k 20000
s 0 s( s 10)( s 20)
12
Dr. Ali Karimpour Feb 2013
Lecture 22
Example 2: Design a lag controller for the following system such that
the phase margin be 45° and the ramp error constant be 100.
R(s)+ C (s )
Step 3: Sketch the Bode plot of the system (with Gc (s)
k
the fixed k ) without controller. - s( s 10)( s 20)
20000 100
G( s) Bode Diagram
s( s 10)( s 20) s( s / 10 1)( s / 20 1100
)
50
Magnitude (dB)
Step 4: According to desired PM
(GM) choose the new gain 0
-135
Phase (deg)
cross
new
5.5 cross
new
4 -180
PM= -22°
-225
-270
10
-1 0
10 5.5 10
1
10
2 13 10
3
R(s)+ C (s )
Step 5: Find the required gain by lag Gc (s)
k
controller and derive the parameter a. - s( s 10)( s 20)
30 20 log( a) 0
50
Magnitude (dB)
30
30
0
a 10 20
0.0316
-50
Step 6: Put the right corner of the
controller sufficiently far from -100
-90
crossover frequency.
-135
1 cross new
Phase (deg)
0.4 79
a
-180
10
as 1 2.5s 1
-225
Gc ( s )
s 1 79 s 1 -270
10
-1 0
10 10
1
10
2 14
10
3
R(s)+ C (s )
Step 7: Check the designed controller. Gc (s)
k
- s( s 10)( s 20)
Bode Diagram
200
150
100
Magnitude (dB)
50
-50
-100
-150
-90
G ( j )
-135
Phase (deg)
Gc ( j )G( j )
-180
-225
PM 50
-270
10
-4
10
-3
10
-2
10
-1
10
0 1
10
2
10 10
3 15
Dr. Ali Karimpour Feb 2013
Frequency (rad/sec)
Lecture 22
R(s)+ C (s )
Step 7: Check the designed controller. Gc (s)
k
- s( s 10)( s 20)
Nichols Chart
150
100
Gc ( j )G( j )
50
Open-Loop Gain (dB)
G ( j )
0
-50
-100
-150
-270 -225 -180 -135 -90
16
Open-Loop Phase (deg) Dr. Ali Karimpour Feb 2013
Lecture 22
Example 3: Design a lag controller for the following system such that
the gain margin be 10 db and the ramp error constant be 100.
R(s)+ C (s )
k
Gc (s)
- s( s 10)( s 20)
as 1
Step 1: Consider Gc ( s ) k with a 1 as a phase-lag controller.
s 1
as 1
Note: If the plant has another gain k, let Gc ( s)
s 1
as 1
Gc ( s) a 1
s 1
Step 2: Try to fix k according to the performance request, otherwise let k=1
k
kv lim sGc ( s) 100 k 20000
s 0 s( s 10)( s 20)
17
Dr. Ali Karimpour Feb 2013
Lecture 22
Example 3: Design a lag controller for the following system such that
the gain margin be 10 db and the ramp error constant be 100.
R(s)+ C (s )
Step 3: Sketch the Bode plot of the system (with Gc (s)
k
the fixed k ) without controller. - s( s 10)( s 20)
20000 100
G( s) Bode Diagram
s( s 10)( s 20) s( s / 10 1)( s / 20 1100
)
50
Magnitude (dB)
Step 4: According to desired PM
(GM) choose the new gain 0 GM= -11 db
crossover frequency (Phase -50
crossover frequency). (reduce it a
little). -100
-90
-135
Phase (deg)
cross
new
15 cross
new
15 -180
-225
-270
10
-1 0
10 10
1
10
2 18 10
3
Example 3: Design a lag controller for the following system such that
the gain margin be 10 db and the ramp error constant be 100.
R(s)+ C (s )
Step 5: Find the required gain by lag Gc (s)
k
controller and derive the parameter a. - s( s 10)( s 20)
25 20 log( a) 0
50
Magnitude (dB)
15
25 0
a 10 0.056
20
-50
Step 6: Put the right corner of the
controller sufficiently far from -100
-90
crossover frequency.
-135
1 10
Phase (deg)
1 17.9
a 10
-180
as 1 s 1
-225
Gc ( s )
s 1 17.9s 1 -270
10
-1 0
10 10
1
10
2 19
10
3
1 1
a
Step 7: Check the designed controller. R(s)+ C (s )
k
Gc (s)
- s( s 10)( s 20)
Bode Diagram
100
G ( j )
50 a s 1 0.056 17.9 s 1
Gc ( s )
Magnitude (dB)
s 1 17.9 s 1
Gc ( j )G( j )
0
GM 10 db
-50
1 / 0.06, 1 / a 1
20 log a 25db
-100
-90
1 / a 0.25
-135
Phase (deg)
0.056 1
-180 sin m m 63
0.056 1
-225
-270
-1 0 1 2 3
10 10 10 10 10
Frequency (rad/sec) 20
Dr. Ali Karimpour Feb 2013
Lecture 22
Example 4: Design a lag controller for the following system such that
the phase margin be 45° and the open loop bandwidth be 10 rad/sec
R(s)+ C (s )
1
Gc (s)
- s2
21
Dr. Ali Karimpour Feb 2013
Lecture 22
Exercises
22
Dr. Ali Karimpour Feb 2013
Lecture 22
Exercises
60
40
Magnitude (dB)
20
-20
-40
-60
-90
Phase (deg)
-135
-180
-1 0 1 2 3 23
10 10 10 10 10
Frequency (rad/sec)
Dr. Ali Karimpour Feb 2013
Lecture 22
Exercises
0
Magnitude (dB)
-50
-100
-150
-90
-135
Phase (deg)
-180
-225
-270
-1 0 1 2 3 24
10 10 10 10 10
Dr. Ali Karimpour Feb 2013
Frequency (rad/sec)