Experiment 4
Experiment 4
AIM:
1
𝐺(𝑠) = (𝑠+1)(0.5𝑠+1)
SOFTWARE REQUIRED:
MATLAB 2023a
THEORY:
The essential feature of a lag compensator is to provide an increased low frequency gain, thus
decreasing the steady state error, without changing the transient response significantly.
For frequency response design it is convenient to use the following transfer function of a lag
compensator.
The above expression is only the lag part of the compensator. The overall compensator is
Typical objective of lag compensator design is to provide an additional gain of α in the low frequency
region and to leave the system with sufficient phase margin.
The frequency response of a lag compensator, with α=4 and τ=3, is shown in Figure 1 where the
magnitude varies from dB to 0 dB.
MATLAB CODE:
s=tf('s');
gc=1/((s+1)*(0.5*s+1));
gz=c2d(gc,0.1,'zoh');
aug=[0.1,1];
gwss = bilin(ss(gz),-1,'S_Tust',aug)
gw=tf(gwss)
figure(1),bodeplot(gw),grid on
RESULTS: