Hi!
The system defned in the following code should be stable (verified also in simulink). The step response looks correct in the beginning 25sec) but becomes unstable for simulation up to 50sec. Whats happening? Nummerical problems?
s = tf('s');ks=2;a=1;b=2; G=ks/s/(s-a)/(s+b); kp=0.4;Tv=2*a*b/(b-a) Gr=kp*(1+Tv*s) Gcl=Gr*G/(1+Gr*G);t=0:0.0001:50;figure;step(Gcl,t);
Best Answer