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

Experiment 13 Title: System Response in Matlab (Step Response) Objectives

The document describes an experiment to analyze the step and impulse responses of different systems using MATLAB and Simulink. It involves identifying whether sample systems are overdamped, underdamped, undamped or critically damped based on their step responses. The procedures describe obtaining step responses for transfer functions using MATLAB code and Simulink models. Impulse responses are also obtained for various systems and their characteristics analyzed.

Uploaded by

Qi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Experiment 13 Title: System Response in Matlab (Step Response) Objectives

The document describes an experiment to analyze the step and impulse responses of different systems using MATLAB and Simulink. It involves identifying whether sample systems are overdamped, underdamped, undamped or critically damped based on their step responses. The procedures describe obtaining step responses for transfer functions using MATLAB code and Simulink models. Impulse responses are also obtained for various systems and their characteristics analyzed.

Uploaded by

Qi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

EXPERIMENT 13

TITLE : SYSTEM RESPONSE IN MATLAB (STEP RESPONSE)


OBJECTIVES:
1.
Measure the system response by using the MATLAB.
2.

Identified the response of the system either overdamped, underdamped, undamped


and critically damped.

3.

indentified the system response by using the Simulink.

PROCEDURE
1.

Given the system below. Find the step response.


G(s) = 100/(s2 +4s+50).
For step response, the input to this system will be a unit step for 8 seconds.
We first use Matlab to find the this step response.
Matlab code is: Num=100;
Denum= [1 4 50];
Sys=tf(num,denum);
Step(sys);

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.

System Response in Matlab (step Response)


Draw the step responses for the systems given below.
sys1= 9/(s2+9s+9)
sys2= 9/(s2+2s+9)
sys3= 9/(s2+9)
sys4= 9/(s2+6s+9)

Response for sys1 to sys4 will be overdamped, underdamped, undamped and


critically damped.
4.

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.

Impulse response using Simulink

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.

You might also like