Professional Documents
Culture Documents
EL-Khazali Method
Two Controllers:
1st-order & 2nd-order Controllers:
First-Order Compensator:
Lead Controller Design
EL-Khazali Method
First-Order Controller
, is a NEW center of the controlled system
Controller phase contribution at is
and
=K
( 𝒔 𝝉 +𝝎 𝒄𝒏 )
¿ 𝑲𝒄
( 𝒔+ 𝝎 𝒄𝒏 𝝉 )
Lead Controller Design
EL-Khazali Method
Lead Controller Design
EL-Khazali Method
Bode Diagram
80
60
Magnitude (dB)
40
= 0.1
20 = 0.25
= 0.5
= 0.7
0 = 0.9
= 0.97
= 0.99
-20
90
Phase (deg)
45
0
10 -4 10 -3 10 -2 10 -1 10 0 10 1 10 2 10 3
5
Frequency (rad/s)
Lead Controller Design
EL-Khazali Method
Notice that
Define
The gain is chosen to satisfy design requirements such as Kp,
Kv, and Ka, or or to satisfy a particular crossover
frequency
Step 1: Choose K such that:
at
the new crossover frequency
6
Lead Controller Design
EL-Khazali Method
Step 2: Determine the phase angle of at and
denote it by.
Step 3: Let the desired phase margin of the
controlled system at be , then the order of the
Lead Controller is determined from:
8
Example
The design requirements are: 1) steady-state error of 0.025 to unit ramp, and
2) phase margin (PM) of 45.5 ͦ at the gain crossover frequency rad/s.
9
Example: 1st-order
, which yields
, hence,
Example: 1st-order compensator
0 Bode Diagram
-100
-150
-200
-90
-135
Phase (deg)
-180
-225
-270
0 1 2 3 4
10 10 10 10 10
Frequency (rad/s)
Example: 1st-order controller
Bode Diagram
50 Gm = 6.87 dB (at 60 rad/s) , Pm = 21.5 deg (at 39 rad/s)
G(s) Uncontrolled Open-Loop System
0 KG (s)
Magnitude (dB)
-50
-100
-150
-200
-90
-135
Phase (deg)
System: KG (s)
-180 Frequency (rad/s): 39
Phase (deg): -159
-225
-270
0 1 2 3 4
10 10 10 10 10
Frequency (rad/s)
Example 1: 1st-order compensator
70
0 Gc(s)G(s)
G(s)
Magnitude (dB)
Magnitude (dB)
-50
68
-100
66
-150
64
-200
25
-90
System: sys
20 Frequency (rad/s): 39.1
Phase (deg): 24
Phase (deg)
-135
Phase (deg)
15
-180
10
5
-225
0
0 1 2 3
10 10 10 10
-270
0 1 Frequency (rad/s)
2 3 4
10 10 10 10 10
Frequency (rad/s)
Example: 1st-order
Bode Diagram
Step Response
Gm = 17.1 dB (at 130 rad/s) , Pm = 60.3 deg (at 39 rad/s)
Step Response
100 1.4
1.4
1st-order
1st-ORDER
50 1.2 2nd-Order 2nd-ORDER
1st-order
Magnitude (dB)
1.2 2nd-Order
0 untitled1
1
-501
0.8
Amplitude
-100
0.8
Amplitude
0.6
-150
-45
0.6
0.4
-90
Phase (deg)
-135
0.4 0.2
-180
0
0.2 0 0.1 0.2 0.3 0.4 0.5 0.6
Time (seconds)
-225
-2700
0-1 50 0 100 150
1 200 2 250 3 300 350 4
Lead Controller Design
EL-Khazali Method
Two Controllers:
1st-order & 2nd-order Controllers:
2nd-Order Compensator:
2nd-order LEAD Compensators
𝒂𝒐 = 𝜶 𝜶 +𝟐 𝜶+𝟏 ,
𝜶
𝒂𝟐=𝜶 − 𝟐 𝜶 +𝟏 ,
=
2nd-order Lead Compensator
Controller
¿ 𝟒 𝜶𝒕𝒂𝒏((𝟐 − 𝜶) 𝝅
𝟒 )
α : order of the controller
2nd-order LEAD Compensators
1
10
Magnitude
0
10
-3 -2 -1 0 1 2 3
10 10 10 10 10 10 10
Frequency (rad/s)
50
40
Phase (degrees)
30
wc3 = 0.1 rad/s wc3 = 1 rad/s wc3 = 10 rad/s
20
10
0 -3 -2 -1 0 1 2 3
10 10 10 10 10 10 10
Frequency (rad/s) 20
Comparison between 1st-&2nd-order
;
,
LEAD Compensators
To appreciate the robustness and the simplicity of
the proposed class of compensators,
Bode Diagram
20
1- Consider
15
a 1st-order Lead Compensator:
Magnitude (dB)
10
2- 25nd-order_Lead Compensator:
Integer-order lead compensator
0 Fractional-order lead compensator
-5
60
Phase (deg)
30
21
0
-2 -1 0 1 2
10 10 10 10 10
Frequency (rad/sec)
El-Khazali Method
Controller Design
The goal of the LEAD controller design is to:
1- Achieve a desired phase margin, ,
at𝝎(𝒄𝒏 ), i.e.;
( ( ) ( ))
𝑨𝒓𝒈 𝑮𝒄
𝒋𝝎
𝝎 𝒄𝒏
𝑮
𝒋𝝎
𝝎 𝒄𝒏
=
𝜶𝝅
𝟐
+ 𝜽 𝒔 =− 𝝅 + 𝝓𝒎
or
2-Maintain a desired gain margin, 𝒈 , of the
closed-loop system at the phase crossover
𝒎
If
LEAD CONTROLER
El-Khazali Method
Example
50
Magnitude (dB)
-150
-180
Phase (deg)
-225
-270
-2 -1 0 1 2
10 10 10 10 10
Frequency (rad/s)
Example
Compensated System
100 Uncompensated System
Magnitude (dB)
-100
-200
-90
-135
Phase (deg)
-180
-225
-270
-4 -3 -2 -1 0 1 2 3
10 10 10 10 10 10 10 10
Frequency (rad/s)
Example
3 Closed-loop System Step Response
1
Amplitude
0
Uncompensated System
Compensated System
-1
-2
-3
0 5 10 15 20 25 30 35 40 45 50
Time (seconds)
Example
100
Magnitude (dB)
50
-50
-100
-180
Phase (deg)
-225
-270
-2 -1 0 1 2
10 10 10 10 10
Example
Bode Diagram
150 Gm = -Inf dB (at 0 rad/s) , Pm = -78.7 deg (at 4.99 rad/s)
G(s)
100 KcG(s)
Magnitude (dB)
50
-50
-100
-150
-180
Phase (deg)
-225
-270
-2 -1 0 1 2
10 10 10 10 10
Frequency (rad/s)
Example
𝑮 ( 𝒔 ) =𝟓𝟎𝟔 . 𝟗𝟗𝟎𝟕
( 𝟑 . 𝟗𝟖𝟖𝟐
𝟓
𝒔+𝟏 ) =( 4 0 4 . 4 s + 506 . 9907 ¿ ¿
𝒄
( 𝒔
𝟓
+𝟑 . 𝟗𝟖𝟖𝟐 ) ( 0 . 2 s + 3 . 988 )
G(s)
shown in the bode diagram
0
-100
-200
-180
Phase (deg)
-225
-270
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/s)
Example: Two 1st-order compensators
Bode Diagram
Gm = 16.5 dB (at 18.4 rad/s) , Pm = 45.1 deg (at 4.98 rad/s)
200
( )
𝟐
𝟑 . 𝟗𝟖𝟖𝟐
0 𝒔+𝟏
𝟓
𝑮 ( 𝒔 ) =𝟓𝟎𝟔 . 𝟗𝟗𝟎𝟕
𝒄
( )
𝟐
𝒔
-100 +𝟑 . 𝟗𝟖𝟖𝟐
𝟓
-200
-90
-135
Phase (deg)
-180
-225
-270
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/s)
Example: single-stage Biquad. compensators
Bode Diagram
200 Gm = -18 dB (at 1.91 rad/s) , Pm = -16.8 deg (at 4.99 rad/s)
Two 100
Biquad. compensators
G(s)
each
KcGcG(s) with single stageof order
BIQUAD compensator
Magnitude (dB)
-100
-200
-135
Phase (deg)
-180
-225
-270
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/s)
Example: Two-stage Biquad. compensators
Bode Diagram
Gm = 29.6 dB (at 47.3 rad/s) , Pm = 45 deg (at 4.98 rad/s)
100
Compensated System with two-BIQUAD compensators
𝟐
50
(𝟑.𝟏𝟒𝟕𝒔 +𝟐𝟐.𝟗𝟒𝒔+𝟗.𝟗𝟓𝟗)
G(s): Uncompensated System
𝟐
Magnitude (dB)
-50
𝑮𝒄 ( 𝒔)=𝟓𝟎𝟔.𝟗𝟗𝟎𝟕×
-100
-150
-200
-90
𝟐
(𝟎.𝟑𝟗𝟖𝟒𝒔 +𝟐𝟐.𝟗𝟒𝒔+𝟕𝟖.𝟔𝟖) 𝟐
-135
Phase (deg)
-180
-225
-270
-2 -1 0 1 2 3
10 10 10 10 10 10
Example: Comparison
150 Compensated System with two cascaded compensators
50
-50
-100
-150
-90
-135
Phase (deg)
-180
-225
-270
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/s)
Example: Comparison
1.2
0.8
Amplitude
0.6
0.4
Step response with two cascaded 1st-order compensators
Step tesponse with two cascaded Biquad compensators
0.2
0
0 0.5 1 1.5 2 2.5 3
Time (seconds)