0% found this document useful (0 votes)
332 views

Daffodil International University Lab Report

This lab report describes experiments performed on a control system using MATLAB software. The experiments studied the unit step response of a second order system by defining transfer functions and plotting the step response, Bode diagram, and impulse response. Additional experiments combined transfer functions in series and parallel and analyzed the combined system response.

Uploaded by

Abdullah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
332 views

Daffodil International University Lab Report

This lab report describes experiments performed on a control system using MATLAB software. The experiments studied the unit step response of a second order system by defining transfer functions and plotting the step response, Bode diagram, and impulse response. Additional experiments combined transfer functions in series and parallel and analyzed the combined system response.

Uploaded by

Abdullah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Daffodil International University

Lab Report

Course Code: EEE332


Course Name: Control System Laboratory
Experiment No: 01
Experiment Name: Study Of the Unit Step Response of a second order system
simulated on a PC Using the ‘MATLAB’ Software

Submitted To Submitted By
Mohammed Mynuddin Name: Romena Parvin Keya
Lecture ID: 133-33-1648 SEC: A
Department: EEE Department: EEE
Daffodil International University Daffodil International University
1: Command
>> n=[1 1];

>> d=[1 6 2];

>> G1=tf(n,d)

G1 =

s+1

-------------

s^2 + 6 s + 2

Continuous-time transfer function.

>> step (G1)

>> bode (G1)

>> impulse (G1)

Fig:- Step response


Fig:- Bode Diagram

Fig:- Impulse Response


2: Command

>> n1= [1,1];


d1= [1,3,1];
G1= tf(n1,d1)
G1 =

s+1
-------------
s^2 + 3 s + 1
Continuous-time transfer function.
>> n2= [1,-1];
d2= [1,0,2];
G2= tf(n2,d2)
G2 =

s–1
-------
s^2 + 2
Continuous-time transfer function.
>> step (G1)
>> bode (G1)
>> impulse (G1)
>> step (G2)
>> bode (G2)
>> impulse(G2)
>> T= series(G1,G2)
T=

s^2 - 1
-----------------------------
s^4 + 3 s^3 + 3 s^2 + 6 s + 2
Continuous-time transfer function.
>> step(T)
>> bode (T)
>> impulse (T)
Fig:- Step response for G1

Fig:- Bode Diagram for G1

Fig:- Impulse Response for G1


Fig:- Step response for G2

Fig:- Bode Diagram for G2

Fig:- Impulse Response for G2


Fig:- Step response for T

Fig:- Bode Diagram for T

Fig:- Impulse Response for T


3: Command
>> n1= [1,0,1];
>> d1= [3,4,-3];
>> G1= tf(n1,d1)
G1 =

s^2 + 1
---------------
3 s^2 + 4 s - 3
Continuous-time transfer function.
>> n2= [1,0];
>> d2= [4,0,1];
>> G2= tf(n2,d2)
G2 =

S
---------
4 s^2 + 1
Continuous-time transfer function.
>> step (G1)
>> bode (G1)
>> impulse (G1)
>> step (G2)
>> bode (G2)
>> impulse (G2)
>> T= parallel(G1,G2)
T=

4 s^4 + 3 s^3 + 9 s^2 - 3 s + 1


---------------------------------
12 s^4 + 16 s^3 - 9 s^2 + 4 s - 3
Continuous-time transfer function.
>> step(T)
>> bode(T)
>> impulse(T)
>> T= feedback(G1,G2+1)
T=

4 s^4 + 5 s^2 + 1
---------------------------------
16 s^4 + 17 s^3 - 4 s^2 + 5 s - 2
Continuous-time transfer function.
>> step(T+1)
>> bode(T+1)
>> impulse(T+1)

Fig:- Step response for G1


Fig:- Bode Diagram for G1

Fig:- Impulse Response for G1

Fig:- Step response for G2


Fig:- Bode Diagram for G2

Fig:- Impulse Response for G2

Fig:- Step response for T parallel


Fig:- Bode Diagram for T parallel

Fig:- Impulse Response for T parallel

Fig:- Step response for T Feedback


Fig:- Bode Diagram for T Feedback

Fig:- Impulse Response for T Feedback

You might also like