Write a MATLAB script using feedback series and parallel com

Write a MATLAB script using feedback, series and parallel commands to obtain P_o(s)/P_i(s) and P_o(s)/T_d(s) when K_c = 12.14 Figure 5: Block Diagram of Disk Drive

Solution

MATLAB Code:

clc;
g1=zpk([],-100,500);
g2=zpk([],-10,1);
disp(\'Overall transfer function of series connected blocks is:\');
sys1=series(g1,g2)
disp(\'Overall transfer function of minor feedback loop is:\');
sys2=feedback(sys1,0.5)
disp(\'Overall transfer function of series connected blocks and minor feedback loop is:\');
sys3=series(24.28,sys2)
disp(\'Po(s)/Pi(s) is\');
cloop=feedback(sys3,1)

Output:

Overall transfer function of series connected blocks is:

Zero/pole/gain:
500
--------------
(s+10) (s+100)

Overall transfer function of minor feedback loop is:

Zero/pole/gain:
500
-------------------
(s+12.87) (s+97.13)

Overall transfer function of series connected blocks and minor feedback loop is:

Zero/pole/gain:
12140
-------------------
(s+12.87) (s+97.13)

Po(s)/Pi(s) is

Zero/pole/gain:
12140
------------------------
(s^2 + 110s + 1.339e004)

 Write a MATLAB script using feedback, series and parallel commands to obtain P_o(s)/P_i(s) and P_o(s)/T_d(s) when K_c = 12.14 Figure 5: Block Diagram of Disk D

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site