You are on page 1of 6

Lab Assignment no: 7

Name: M Danyal Mujahid

Roll no: FA19-EPE-066

Teacher: Mam Rabya Bahadur

Subject: Control Systems


Class: EPE-6B
Task 1:
Identify the type of system with the help of poles location.

(a) G(s)= 𝟐 𝟒𝟎𝟎


𝒔 +𝟏𝟐𝒔+𝟒𝟎𝟎

(b) G(s)= 𝟐𝟔𝟐𝟓


𝒔 +𝟔𝟐𝟓

Ans:
Matlab script:

clear all; close all; clc;


%% For First Part:
num1=[400]; dnum1=[1
12 400];
sys1=tf(num1, dnum1);
figure;
step(sys1,'r'); grid
on; figure;
pzmap(sys1);

%% For second part:


num2=[625]; dnum2=[1
0 625]; sys2=tf(num2,
dnum2); figure;
step(sys2,'r'); grid
on; figure;
pzmap(sys2)

Table:
Table 1: Task 1
S. No Pole Location Type of response

a) −6 ± 19.07𝑗 Underdamped

b) 0 ± 25𝑗 Undamped

Graphs:
Figure 1: Step response of Underdamped system.

Figure 2: Pole-zero plot of Underdamped system.


Figure 3: Step response of Undamped system.

Figure 4: Pole-zero plot of Undamped system.


Task 2:
For the following system find step response and pole-zero

G(s)= 𝟐 𝟏𝟔
𝒔 +𝟐𝜻𝑚𝐧+𝟒𝟎𝟎

Ans:
Matlab script:
clear all;close all;clc;
for zeta=0:0.1:1.2
num=[16]; dnum=[1
16*zeta 16]; sys=tf(num,
dnum) step(sys); grid
on; hold on end figure;
for zeta=0:0.1:1.2
num=[16]; dnum=[1
16*zeta 16]; sys=tf(num,
dnum) pzplot(sys); grid
on; hold on; end Graphs:

Figure 5: Step response of task 2.


Figure 6: Pole-zero plot for task 2.

Conclusion:
In this lab we learned about the transient analysis of second order systems. We also learned about the transfer
function of second order systems. In this system we had two poles so by changing the position of poles of speed
of response changes along with shape of response. In the third task we learned that by changing value of zeta
our system changes from undamped to critically damped and then to over damped.

You might also like