You are on page 1of 6

CONTROL SYSTEM LAB

 NAME: TANAY CHAKRABORTY

 ROLL NO.: 430220010021

 PAPER NAME: Control System Lab

 PAPER CODE: EC 692

 EXPERIMENT NAME: REPRESENTATION OF DIFFERENT


RESPONSE USING SIMULINK IN MATLAB

 EXPERIMENT NO.: 3

 DATE OF EXPERIMENT:

 DATE OF SUBMISSION:

 FACULTY SIGNATURE:

ECE DEPARTMENT
NARULA INSTITUTE OF TECHNOLOGY
Experiment : 3A
REPRESENTATION OF DIFFERENT RESPONSE USING SIMULINK IN MATLAB
Objective :
i)Represent the different types of transfer function response.
Apparatus Required:
i)PC
ii)MATLAB Simulation Tool
Theory :
Transfer functions are a frequency-domain representation of linear time-invariant systems. For instance,
consider a continuous-time SISO dynamic system represented by the transfer function sys(s) =
N(s)/D(s), where s = jw and N(s) and D(s) are called the numerator and denominator polynomials,
respectively. The tf model object can represent SISO or MIMO transfer functions in continuous time or
discrete time.

Circuit Diagram :

Code:
clc
clear all
close all
sys1=tf([1 1],[1 4 2])
sys2=tf([1],[1 2 3])
gain=2
sys3=gain*sys1
g1=feedback(sys3,sys2,-1)
pzmap(g1)
grid on

Output :

Transfer function:

s+1

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

s^2 + 4 s + 2

Transfer function:
1

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

s^2 + 2 s + 3

Transfer function:

2s+2

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

s^2 + 4 s + 2

Transfer function:

2 s^3 + 6 s^2 + 10 s + 6

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

s^4 + 6 s^3 + 13 s^2 + 18 s + 8

Experiment 3B
Circuit Diagram :

Code:
clc
clear all
close all
sys1=tf([1],[1 0 0])
sys2=tf([1 0],[1 1])
g1=feedback(sys1,sys2,-1)
pzmap(g1)
grid on
Output:

Transfer function:

1
---

s^2

Transfer function:

-----

s+1

Transfer function:

s+1

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

s^3 + s^2 + s

Precaution
The command should be written properly. The pc should be handled properly.
Conclusion

You might also like