Control System - Exprmnt 8
Control System - Exprmnt 8
Aim: Plot impulse response, unit step response of any 2nd order transfer function on same
graph using 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
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 =