You are on page 1of 4

EXPERIMENT 2

STEP RESPONSE ANALYSIS OF A SYSTEM USING MATLAB


AND SIMULINK

AIM:
Electric traction motors are utilized on trains and transit vehicles. The detail
block diagram model with transfer function of the power amplifier, armature
control motor, and sensor is shown in the figure.

Compute the closed loop transfer function and investigate the step response of
w to wd.

ALGORITHM:

MATLAB CODE:
clear all;
close all;
N1=[10];
D1=[1 1];
G1=tf(N1,D1)
N2=[1];
D2=[2 0.5];
G2=tf(N2,D2)
H1=0.1;
TF1=G1*G2
B=feedback(TF1,H1)
G3=540;
TF2=B*G3
A=feedback(TF2,1)
subplot(3,1,1)
step(A);%for omegan=73.5 and zeta=0.017%
%for wn=73.5%
%for zeta=0% UNDAMPED
NUM1=[5400];
DEN1=[2 0 5402];
OP1=tf(NUM1 ,DEN1)
subplot(3,1,2)
step(OP1);
title('UNDAMPED')
%for zeta=0.707 UNDERDAMPED
NUM2=[5400];
DEN2=[2 103.92 5402];
OP2=tf(NUM2,DEN2)
subplot(3,2,1)
step(OP2);
title('UNDERDAMPED')
%for zeta=1 CRITICALLY DAMPED
NUM3=[5400];
DEN3=[2 146.98 5402];
OP3=tf(NUM3,DEN3)
subplot(3,2,2)
step(OP3);
title('CRITICALLY DAMPED')

%for zeta=2 OVERDAMPED


NUM4=[5400];
DEN4=[2 294 5402];
OP4=tf(NUM4,DEN4)
subplot(3,1,3)
step(OP4);
title('OVERDAMPED')

SIMULINK MODEL:

STEP RESPONSE OF THE ABOVE SYSTEM

OUTPUT AND SCREENSHOTS:

You might also like