Professional Documents
Culture Documents
Phase-Lag Compensation Using Frequency Response: Active Learning Assignment On
Phase-Lag Compensation Using Frequency Response: Active Learning Assignment On
Assignment on
Phase-Lag Compensation
Using
Frequency Response
CSD-2161707
Prepared by:-
Patel Vraj(160410117047)
Patoliya Hardik(160410117048)
1
Lag compensation
The function of the lag compensator is to
increase the phase margin of the system to
yield the desired transient response without
affecting the low-frequency gain and hence it
does not reduce system stability or steady
error constant.
2
Steady-state error constants
The steady error constants are:
3
Visualizing lag compensator
p sz
Gc ( s ) .
z s p
• where z > p.
s 0. 1
Gc ( s )
s 0.01
6
Visualizing lag compensator
In the figure below, the uncompensated system is unstable since the
gain at -180° is greater than 0dB. The lag compensator, while not
changing the low-frequency gain, does reduce the high frequency
gain. The magnitude curve can be shaped to go through 0dB at the
desired phase margin to obtain the desired transient response.
7
Example
8
Solution
• Before solving the problem, let us draw the step response of
the closed-loop system whose open loop transfer function is
given.
The response is
too oscillatory!
What do you
expect about the
value of the
damping ratio
and phase
margin of the
system? 9
Solution
Using the
command
margin, we draw
the Bode
diagram and find
the phase margin
to be only 1.58°.
Too low value.
10
Solution
• Now, let us start solving the problem.
p sz
Gc ( s ) .
z s p
• First we need to plot the Bode diagram, see next.
11
Choose a
point!
12
Solution
• From the previous example, we know that 9.5 %OS
corresponds to a phase margin 60°. So, we should look for
the point at which the phase passes -120°.
0.326
z 0.0326 p 0.0011 14
10
Solution
• Thus, the required lag compensator is
p sz
Gc ( s ) .
z s p
0.0011 s 0.0326
.
0.0326 s 0.0011
s 0.0326
0.034
s 0.0011
15
Checking the phase margin of the new system
As a check, we
use the
command
margin, to draw
the Bode
diagram again.
Now the phase
margin is 64.6°
which is more
than enough!!
16
Checking the step response of the new system
• It is interesting to plot the step response of the closed loop system after
adding the lag compensator.
• As shown, the response is highly stable which is very good (compared to
the oscillatory response of the original system) although it is sluggish too.
17
THANK YOU
18