0% found this document useful (0 votes)
49 views2 pages

Control System - Exprmnt 8

The document describes an experiment in MATLAB to plot the impulse response and unit step response on the same graph for a second-order transfer function. It provides theory on time response analysis, including transient and steady-state response. It also gives the MATLAB code to calculate and graph the time responses for a second-order system based on its natural frequency and damping coefficient.

Uploaded by

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

Control System - Exprmnt 8

The document describes an experiment in MATLAB to plot the impulse response and unit step response on the same graph for a second-order transfer function. It provides theory on time response analysis, including transient and steady-state response. It also gives the MATLAB code to calculate and graph the time responses for a second-order system based on its natural frequency and damping coefficient.

Uploaded by

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

Experiment # 8

Aim: Plot impulse response, unit step response of any 2nd order transfer function on same
graph using MATLAB.

Software Required: MATLAB

Theory:

The time response has utmost importance for the design and analysis of control systems
because these are inherently time domain systems where time is independent variable. During
the analysis of response, the variation of output with respect to time can be studied and it is
known as time response. To obtain satisfactory performance of the system with respect to
time must be within the specified limits. From time response analysis and corresponding
results, the stability of system, accuracy of system and complete evaluation can be studied
easily.
Due to the application of an excitation to a system, the response of the system is known as
time response and it is a function of time. The two parts of response of any system:
(i) Transient response
(ii) Steady-state response.
Transient response: The part of the time response which goes to zero after large interval of
time is known as transient response.
Steady state response: The part of response that means even after the transients have died out
is said to be steady state response.
The total response of a system is sum of transient response and steady state response:
C(t)=Ctr(t)+Css(t)
TIME RESPONSE OF SECOND ORDER CONTROL SYSTEM:
A second order control system is one wherein the highest power of s in the denominator of
its transfer function equals 2.

2
=
2 + 2 + 2

--is called natural frequency of oscillations.

--called damping ratio.


--is called damping factor or actual damping or damping coeeficient.

MATLAB PROGRAM:

clc
clear all
format short
wn=input('enter the value of natural frequency (in r/s) = ');
del=input('enter the value of damping coefficient = ');

x=sqrt(1-del^2);
phi = atan(x/del); % value will be in radian
tr=((pi-phi)/(wn*x));
tp = (pi/(wn*x));
mp = 100*exp(-(pi*del)/x);

n=wn*wn;
num=[0 0 n]
den=[1 2*del*wn n]

G=tf(num,den)

step(G)

hold on

impulse(G)

grid

Result: From the graph rise time, peak time, maximum overshoot are determined. Whose
value is given by

Tr =
Tp =
Mp =

You might also like