Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please answer in MATLab only . Please post code and add comments. Will rate. Tha

ID: 2266569 • Letter: P

Question

Please answer in MATLab only. Please post code and add comments. Will rate. Thank you!! =D

10-5. Consider the second-order model of the aircraft attitude control system shown h 7-25. The transfer function of the process is n Fi 1g. G(s4500 K s(s 361.2) (a) Design a series PD controller with the transfer function Gc(s) ing performance specifications are satisfied: Kn + Kes so that th e follow. Steady-state error due to a unit-ramp input 0.001 Maximum overshoot s 5 percent Rise time 0.005 sec Settling time 0.005 sec

Explanation / Answer

sys = tf([4500],[1 361.2]);
step(sys)
S = stepinfo(sys)
A = [0.68 -0.34; 0.34 0.68];
B = [0.18 -0.05; 0.04 0.11];
C = [0 -1.53; -1.12 -1.10];
D = [0 0; 0.06 -0.37];
sys = ss(A,B,C,D,0.2);

S = stepinfo(sys)
S(2,1)
rt21 = S(2,1).RiseTimeS1 = stepinfo(sys,'SettlingTimeThreshold',0.005);
st1 = S1.SettlingTime
S2 = stepinfo(sys,'RiseTimeThreshold',[0.05 0.95]);
rt2 = S2.RiseTime
S3 = stepinfo(sys,'SettlingTimeThreshold',0.005,'R