The forwardpoth transfer function of a unityfeedback control
The forward-poth transfer function of a unity-feedback control system is G(t) = 1 + Ts/2s(s^2 + s + 1) Find the values of BW and M, of the cloud loop system for T - 0.05. I. 2. 3. 4. and 5. Use computer program for solutions. The forward-path transfer function of a unity-feedback control system is Find the values of BW and M_f. of the closed loop system foe T = 0.0.5. 1. 2. 3.4. computer program for solution.
Solution
Here\'s your code:
sys = (1 + s)/2*s*(s^2 + s + 1);
bode(sys)
w = 0.3;
t = 0:0.1:100;
u = sin(w*t);
[y,t] = lsim(sys,u,t);
plot(t,y,t,u)
axis([50 100 -2 2])
bode(sys)
sys_cl = feedback(sys,1);
step(sys_cl)
plant = (1 + s)/2*s*(s^2 + s + 1);
contr = 1/s;
bode(contr*plant, logspace(0,2))
plant = (1 + s)/2*s*(s^2 + s + 1);
contr = (s + 1)/s;
bode(contr*plant, logspace(0,2))
