Page 162 - MATLAB an introduction with applications
P. 162
Control Systems ——— 147
R(s) C(s)
G(s)
Fig. E3.7
Solution:
>> %MATLAB Program
>> numg=12*[1 3 9];
>> deng =conv ([1 3 9], poly ([-1 -5]));
>> G=tf (numg, deng);
>> T=feedback (G, 1);
>> step (T)
Computer response [see Fig. E3.7 (a)].
Step Response
0.8
0.7
0.6
0.5
Amplitude 0.4
0.3
0.2
0.1
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Time (sec)
Fig. E3.7 (a)
Example E3.8: For the unity feedback system shown in Fig. E3.8 with
( +
Ks 1)
() =
Gs ,
( +
s
ss 1)( + 5)( + 6)
s
determine the range of K for stability using MATLAB.
R(s)
G(s)
Fig. E3.8
F:\Final Book\Sanjay\IIIrd Printout\Dt. 10-03-09