Lag and Lead Compensators
Lag and Lead Compensators
Lag and Lead Compensators
Compensation Techniques
• Stability
• Transient response Æ T , M (settling time, overshoot)
s s
or phase and gain margins
• Steady-state response Æ e (steady state error)
ss
Performance specifications
Root-locus or
Frequency Synthesis
response
techniques
No
Are specifications
met?
Yes
D2
Basic Controls
1. Proportional Control
+ E(s) M(s)
K G(s)
M (s)
= K m (t ) = K ⋅ e (t )
E (s)
2. Integral Control
+ E(s) K M(s)
G(s)
s
-
M ( s) K
= m ( t ) = K ∫ e ( t ) dt
E (s) s
+ E(s) K M(s)
Kp + i G(s)
s
-
K K p s + Ki
M ( s)
= Kp + i = m (t ) = K p e (t ) + ∫ K i e (t )dt
E ( s) s s
Ki
A pole at the origin and a zero at − are added.
K p
de (t )
M ( s)
= K p + Kd s m ( t ) = K p e (t ) + K d
E ( s) dt
+ E(s) Ki
K p + Kd s + G(s)
s
-
M ( s) K
= K p + Kd d + i
E ( s) s
de (t )
m ( t ) = K p e (t ) + K d + K i ∫ e (t )dt
dt
6. Feed-forward compensator
D5
+ E(s) Gc (s ) M(s)
G(s)
Compensators
• lead:improves the transient response.
• lag: improves the steady-state performance at the expense
of slower settling time.
• lead-lag: combines both
D7
Lead compensators
1
s+
Ts + 1
Gc (s ) = K c a = Kc T
aTs + 1 1 T > 0 and 0 < α < 1
s+
aT
1 1
− −
aT T
Since
1 + jω T 1
=
1 + jω aT ω =ω m
a
Gc ( jωm) = Kc a
a ( jω T + 1)
( jωaT + 1) where 0 < a < 1
is given by
D9
Kc a G( jωc ) = 10 log a
Example:
Consider
+
Gc(s) G(s)
4
where G (s) =
s (s + 2 )
Steady-state: Kv = 20
Transient response: phase margin >50°
gain margin >10 dB
For Kv = 20 Æ K = 10
s →0
4K a
1. K v = lim sGc (s )G(s ) = 2 = 2K c a = 20
c
Æ K α=10
c
D11
3. sin φ m = sin 38 , =
1− a
1+ a
Æ α = 0.24
4. Since for m, the frequency with the maximum phase-lead
angle, we have:
1 + jωmT 1
=
1 + jωmaT a
ωm = ωc and G c (s )G (s ) s = jω = 1
c
c = 9 rad/sec
40
= − 6 .2 dB at
jω c ( jω c + 2 )
D12
Æ
1 1 1
ωc = = = 9rad/ sec = 4.41
aT 0.24T T
and
20
Kc = = 41 .7
2a
s + 4 . 41
G c (s ) = 41 . 7
s + 18 . 4
+ 41.7(s + 4.41) 4
s + 18.4 s(s + 2)
-
40
Bode diagram for K c ⋅ a ⋅ G ( jω ) =
jω (jω + 2)
j ω + 4 . 41 4
G c ( j ω )G ( j ω ) = 41 . 7 ⋅
j ω + 18 . 4 j ω (j ω + 2)
D14
Lag compensators
1
s+
Ts + 1
G c (s ) = K c β = Kc T
T>0, >1
β Ts + 1 s+
1
βT
1 1
T βT
Frequency response:
1 1
βT T
-20log
Magnitude of (jT+1)/(jT+1)
D16
Example:
Consider
+
Gc(s) G(s)
where
1
G (s ) =
s (s + 1 )(0 . 5 s + 1 )
Steady state: Kv =5
Transient response: Phase margin > 40°
Gain margin > 10 dB
K v = lim KG (s ) = K = 5
s →0
1. K v = lim Gc (s )G(s ) = K c β = 5
s→0
Æ
2. Phase margin of the system 5G(s) is -13°
the closed-loop system is unstable.
Æ
Therefore
- 20log = - 20 dB = 10
5 1
5. Kc = = 0 .5 , pole : = 0 . 01
β βT
and
s + 0 .1
G c (s ) = 0 . 5
s + 0 . 01
D19
Lead-lag compensators
1 1
s+ s+
T1 T2 β sT1 + 1 sT2 + 1
Gc (s) = Kc ⋅ = Kc ⋅
γ γ s + 1 sβT2 + 1
1 T1
s+ s+
aT1 βT2 γ
Frequency response:
with Kc = 1, = = 10 and T2 = 10 T1
D21
1 1
s+ s +
Gc (s ) = K c
T1 T2
γ 1
s+ s +
T1 βT2
with Kc = 1 and =