Experiment 13 Title: System Response in Matlab (Step Response) Objectives
Experiment 13 Title: System Response in Matlab (Step Response) Objectives
3.
PROCEDURE
1.
2.
Step-Response in Simulink
Type in Simulink and press enter.
Go to Source and pick up the Step
Go to Continuous library and pick up the transfer function.
Go to sinks library and pick up the scope.
Connect them up and change the parameters.
Simulate the system and compare the results.
3.
Example
T1= 24.542 / (s2+4s+24.542)
T2= 24.542 / (s+10)(s2+4s+24.542)
T3= 73.626 / (s+3)(s2+4s+24.542)
Now we draw the step responses of the above systems using Simulink and
Matlab.
5.
Example
System #1
Num1=[24.542];
Denum1=[1 4 24.542];
T1=tf(num1,denum1)
Step(T1)
System # 2
Num2=[245.42];
P1=[1 10];
P2=[1 4 24.542];
Denum2=conv(p1,p2)
T2=tf(num2,denum2)
Step(T2)
System #3
Num3=[73.626];
P3=[1 3];
Denum3=conv(p3,p2)
T3=tf(num3,denum3)
Step(T3)
6.
Impulse response
Matlab Code for finding the Impulse response is given as under: G=10/(s2+2s+20)
Num=10;
Denum= [1 2 20];
Sys=tf(num,denum);
T=Impulse(sys);
Plot(T)
7.
8.
Impulse responses
Draw the impulse responses for the systems given below.
G1= 9/(s2+9s+9)
G2= 9/(s2+2s+9)
G3= 9/(s2+9)
G4= 9/(s2+6s+9)
Response for G1 to G4 will be overdamped, underdamped,undamped and critically
damped.