You are on page 1of 7

Q3)

a)
k = 10.8e+08; a = 2; b = 10; c = 3; J = 10.8e+08;
n = k*[1 (a+c) a*c]; d = J*[1 b 0 0]; sys = tf(n,d);
sys_cl = feedback(sys,[1]);

1.08e09 s^2 + 5.4e09 s + 6.48e09


-----------------------------------------------
1.08e09 s^3 + 1.188e10 s^2 + 5.4e09 s + 6.48e09

b)
f = 10*pi/180; y = step(f*sys_cl,[0:.1:100]);
plot([0:.1:100],y*180/pi); grid on;

c)

15

10

0
0 10 20 30 40 50 60 70 80 90 100

% c)
scale = .8;
J = 10.8e+08*scale; d = J*[1 b 0 0]; sys = tf(n,d);
sys_cl = feedback(sys,[1]);
y2 = step(f*sys_cl,[0:.1:100]);
plot([0:.1:100],y2*180/pi,'r'); grid on; hold on;

scale = .5;
J = 10.8e+08*scale; d = J*[1 b 0 0]; sys = tf(n,d);
sys_cl = feedback(sys,[1]);
y3 = step(f*sys_cl,[0:.1:100]);
plot([0:.1:100],y3*180/pi,'g'); grid on; hold on;
15

10

0
0 10 20 30 40 50 60 70 80 90 100

As J decrease the rise time, settling time and overshoot of the systems response to a 10 step
input input also decrease.

Q4)
a)
nc = [1]; dc = [1 2]; sysc = tf(nc,dc); np = [2 5]; dp = [1 6]; sysp = tf(np,dp)
sys_series = series(sysc,sysp); sys_cl = feedback(sys_series,[1]);

Transfer function:
2s+5
---------------
s^2 + 10 s + 17

b)
step(sys_cl); grid on;

Step Response
0.35

0.3

System: sys_cl
Time (seconds): 1.76
0.25 Amplitude: 0.293

0.2
Amplitude

0.15

0.1

0.05

0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8
Time (seconds)

Final value = 5/17;


Q5)