Professional Documents
Culture Documents
EEC 4043 LECT011 Compensator Design I - Lead and Lag
EEC 4043 LECT011 Compensator Design I - Lead and Lag
Control Systems
Compensator Design I:
Lead and Lag
Learning Objectives:
At the end of this lecture, students should be able:
design and simulate phase-lead compensator according
to a desire specification
The overshoot is between 20% and 30% of the steady state value
More on Stability
Instability occurs when the open-loop gain is greater than 1 and -180o out
of phase.
Since the error signal is the input minus the feedback signal, a feedback
that is greater than the input signal, and has the opposite sign, will
create a regenerative signal.
e x f
e
x y
y Ge
f
f Hy HGe
1 The worse case is
e x HGe e x when HG = -1!
1 HG
Gain Compensation
The situation to avoid is when the open-loop gain equals -1.
However, gain
compensation has
its problems.
HG 1
HG 1 180
Instead of lowering the
magnitude at -180o,
In other words, add compensation that leaves the gain the same, but
changes the phase at the frequency of interest, 50 rad / sec.
Cascade (series)
systems are
multiplied
together in the
Laplace domain.
bode(CHG )
1 And the
This frequency is at 10 log 10 (a ) compensator is
m a designed.
Phase-Lead Compensation Example
Determine the transfer function of the 10
cascade lead-compensator that can be
x (t ) C s2
y (t )
used to give a phase margin of 45o.
1 0.707
a 5.83
1 0.707
1 0.49s 10
And the open-loop gain is: CGH ( s ) 2
1 0.083s s
Is this stable? Check out the Bode plot on the next slide.
4.9 s + 10
>>C = tf([0.49 1],[0.083 1]);
---------------
>>CGH = C*GH;
0.083 s^3 + s^2
Phase-Lead Compensation Example 3
The control system with the phase 0.49s 1 10
compensator has an over all open-loop
x (t ) 0.083s 1 s2
y (t )
gain of:
0.49s 1 10 4.9s 10
CGH 2
0.083s 1 s 0.083s 3 s 2
Thus, the
compensated
system is stable.
Phase-Lead Compensation Example 4
Compare the root locus of the two systems.
10
x (t ) s2
y (t ) x (t )
0.49s 1 10
y (t )
0.083s 1 s2
X X O X
The addition of the pole and zero, stabilizes the oscillating system.
Moving the zero (-1/(a)) towards the origin improves rise and settling
times, but also increases the overshoot
Moving the pole (-1/) away from the zero reduces the overshoot but
also increases the rise and settling times.
Phase Lead Compensation Example
50
The Bode plot of the open loop gain is plotted below: GHOL
s(1 0.2s)
Determine the compensation needed for a 50o
phase margin. 60
Bode Diagram
50
Thus, an additional 10
0
30o is needed. -10
-20
a 3 -40
1 sin 30
-90
max 20.4
-150
1
0.028
-180
-1 0 1 2
10 10 10 10
1 0.085s 50 4.3s 50
CGHCOL
1 0.028s s(1 0.2s) 0.0056s 0.23s s
3 2
Bode Diagram
50
This gives a phase
Magnitude (dB)
margin of 44o 0
(-137o - -180o)
which is about 6o
-50
away from desired
value.
-90
Is it
Phase (deg)
-120
possible to -137o
account for -150
Recall that the phase chart of the Bode plot had more error when adding
the effect of poles and zeros than the MATLAB function phase response.
Since the design procedure seems to add about 6o of error, increase the
required phase and repeat the design procedure.
1 sin 36
a 3.85
1 sin 36
1 1 as 1 0.09s
max 21.8 0.023 C ( s)
max a 1 s 1 0.023s
Phase Lead Compensation Example
Again – With Error Correction
1 0.090s 50
CGHCOL
1 0.023s s(1 0.2s)
1 0.09s 50
x (t )
50
s 1 0.2 s
y (t ) x (t ) 1 0.023s s 1 0.2 s
y (t )
SISOTOOL opens the SISO Design Tool. This Graphical User Interface
lets you design single-input/single-output (SISO) compensators by
graphically interacting with the root locus, Bode, and Nichols plots of
the open-loop system. To import the plant data into the SISO Tool,
select the Import item from the File menu. By default, the control
system configuration is
Import the
system
information
here.
The system
displays will
automatically
change.
MATLAB SISOTOOL Example - 3
1
x (t ) K s ( s 4)
y (t )
The course book gives additional examples, though uses the name RLTOOL.
HG 1
HG 1 180
To make the system more stable, either the gain or the phase is adjusted.
Could the system become just as stable by subtracting phase from the
open-loop?
1 s
4. Use and a to determine the phase-lag compensator: C ( s )
1 as
Phase Lag Compensation Example
Use lag-compensation to give a phase
4
margin of 45o.
x (t ) s 2 s 1
y (t )
Uncompensated PM is -160o – (-180o) = 20o.
Bode Diagram
60
Frequency for a phase
margin of 45ois about 40
0.5rad/sec.
Magnitude (dB)
20
0.05rad/sec.
-20
1
20
-40
-90
0.05
Gain at 0.5rad/sec is
Phase (deg)
15dB. -135
15 20 log 10 (a )
a 5.6 -180
10
-2 -1
10
0
10 10
1
Frequency (rad/sec)
Phase Lag Compensation Example 2
1 s 1 20s 4
20, a 5.6 C ( s) G( s)
1 as 1 112s s2s 1
Note that the phase
margin is about 45o
per the design
specification.