Professional Documents
Culture Documents
LAB 7 REPORT
Task 1: Identify the type of system with the help of pole’s location and draw step
response:
a) G(s)=400/(s^2+12s+400)
MATLAB CODE:
clc
clear all
close all
s=tf('s')
sys= 400/(s^2+12*s+400);
pole (sys)
zero (sys)
pzmap (sys)
figure
step (sys)
stepinfo (sys)
UNDERDAMPED
Page |3
b) G(s)=625/(s^2+ 625)
(Code as above)
Po le -Ze ro Map
30
pzmap of system
20
Imaginary Axis (seconds-1 )
10
-10
-20
-30
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
Real Axis (seconds -1 )
TASK2:
a) Find the value of K for which Rise time is 1 sec.
b) Find the value of K for which Settling time is 5 sec.
c) Find the value of K for which Overshoot is 15%
MATLAB CODE:-
G1=9.4;
G2=1/(s*(s+2)*(s+3));
G3=s;
G4=feedback(G2,G3);
G5=series(G4,G1);
G6=feedback(G5,1);
stepinfo (G6)
Page |4
ANSWER:
a. 9.4
b. 6.7641
c. 7.08786
Task 3:
G(s) =16/(s^2+2ζω_n+16)
Study the step response and pole zero map by varying ζ from 0 to 1.2 with an
interval of 0.1, after completing simulation write down the effect of changing of ζ
on step response and pole zero location.
MATLAB CODE:-
clc
clear all;
close all;
numerator=16;
for a=0.1:0.1:1.2
denominator=[1 8*a 16];
sys=tf(numerator, denominator)
step(sys)
stepinfo(sys)
hold on
end
legend('a=1','a=2','a=3','a=4','a=5','a=6','a=7','a=8','a=9','a=10','a=11','a=12')
grid on
s te p re s po ns e
1.8
step response for a=.1
a=.2
1.6 a=.3
a=.4
a=.5
1.4 a=.6
a=.7
a=.8
1.2 a=.9
a=1
a=1.1
1
Amplitude
a=1.2
0.8
0.6
0.4
0.2
0
0 2 4 6 8 10 12 14
Time (seconds)
Page |5
As we are increase the value of zeta, taken as ‘a’ here the system is getting stable and at
1.2 value of zeta system finally gets stable. As at ‘0’ system step response is like
undamped system.
Starting from zeta=0 we have seen from pole zero map that system is undamped and at
the zeta=0.1 system is under damped till zeta approaches 1 where system is behaving as
critically damped system and zeta=1.1 and finally 1.2 pole zero map shows that system is
over damped which we can see from the step response of the system.