Page 21

tfin = 10; Hz = 10; t = [0:0.01:tfin]; t1 = [0:0.01:1]; y = step(feedback(D*G,1),t); ymax = (max(y)/y(end)-1)*100; step(feedback(D*G,1),t),hold on y = step(feedback(D*G*tf(2*Hz,[1 2*Hz]),1),t); ymax = [ymax,(max(y)/y(end)-1)*100]; step(feedback(D*G*tf(2*Hz,[1 2*Hz]),1),t1),hold on, grid on title(['step, [k a b] = ',num2str([k a b]),... ', Mp = ',num2str(ymax)])

step, [k a b] = 5

2.5

10, Mp = 10.1018

22.0988

1.4 continuous discrete appox 1.2

Amplitude

1

0.8

0.6

0.4

0.2

0

0

0.1

0.2

0.3

0.4

0.5 Time (sec)

0.6

0.7

0.8

0.9

1

Solution for Take Home Exam 1  
Solution for Take Home Exam 1  

, a) Design feedback assuming you have access to all the state elements. Place the closed- loop system poles at s = [-1 +- 1j, -0.5 +- 5j]....

Advertisement