Control System Toolbox (Part-II) : 1 10/17/2018 Dept. of EEE, PUST
Control System Toolbox (Part-II) : 1 10/17/2018 Dept. of EEE, PUST
– Impulse Response
– Ramp Response
– Parabolic Response
• Where K is the D.C gain and T is the time constant of the system.
• D.C Gain of the system is ratio between the input signal and the
steady state value of output.
10/17/2018 Dept. of EEE, PUST 3
Step Response
10
G( s )
3s 1
To obtain the step response of the system
num = 10;
den = [3 1];
step(num,den)
or
num = 10;
den = [3 1];
sys=tf(num, den)
step(sys)
10/17/2018 Dept. of EEE, PUST 4
Impulse Response
10
G( s )
3s 1
num = 10;
den = [3 1];
impulse(num,den)
2
G( s )
Ts 1
K
G( s )
3s 1
C ( s ) K (1 s )
R( s ) Ts 1
C ( s ) K (1 s )
R( s ) Ts 1
(iv) And compare the results with system w/o zero
C( s ) K
10/17/2018 Dept. of EEE, PUST R( s ) Ts 101
TIME RESPONSE OF 2ND ORDER
SYSTEMS
10/17/2018 Dept. of EEE, PUST 11
Introduction
• A general second-order system is characterized by the following
transfer function.
C( s ) n2
2
R( s ) s 2 n s n2
10/17/2018 Dept. of EEE, PUST 12
Undamped Natural Frequency &
Damping ratio
• Determine the un-damped natural frequency and damping ratio of
the following second order system.
C( s ) 4
2
R( s ) s 2s 4
To find the undamped natural frequency and damping
ratio in matlab
num=4
den=[1 2 4]
sys=tf(num, den)
damp(sys)
C( s ) n2
2
R( s ) s 2 n s n2
10/17/2018 Dept. of EEE, PUST 15
Exercise#6
Describe the nature of the second-order system response via the value
of the damping ratio for the systems with transfer function
12
1. G ( s ) 2
s 8s 12
16
2. G ( s) 2
s 8s 16
20
3. G ( s ) 2
s 8s 20
10/17/2018 Dept. of EEE, PUST 17
Study and Observation of System Behavior
Using Matlab Simulink Simulation
Objectives:
• Building simple Simulink simulations.
• Running Simulink simulation to predict a system's behaviour.
s = tf('s');
G = 59.292/(s^2+6.9779*s+15.12);
D1 = 3;
D2 = 3 + 15/s;
D3 = 3 + 15/s +0.3*s;
M1 = feedback(D1*G,1);
M2 = feedback(D2*G,1);
M3 = feedback(D3*G,1);
step(M1);
hold;
step(M2);
step(M3);
10/17/2018 Dept. of EEE, PUST 34
END OF TUTORIAL