XML
Laplace.T Root-locus Transient response Frecuency response
       
 
 
 

18 Program 7.3 OGATA 4edition (ramp input, lag compensator)

Let us draw by Scilab,response to a unit-ramp input of a compensated and no compensated system
The open-loop system is the following:

\begin{displaymath}G(s)=\frac{1.06}{s\cdot (s+1) \cdot (s+2)}\end{displaymath}


The obtained compensate system is:

\begin{displaymath}G_{c}(s)=\frac{0.9656\cdot(s+0.05)}{(s+0.005)}\end{displaymath}




Program in Scilab:
clf;
s=%s;
g=1.06/(s*(s+1)*(s+2));
gc=0.9656*(s+0.05)/(s+0.005);
gt=gc*g;
gc=g /. 1;
gct=gt /. 1;
t=0:0.1:50;
gs=syslin('c',gc);
gcs=syslin('c',gct);
y=csim(t,t,gs);
yt=csim(t,t,gcs);
plot(t,y);
plot(t,yt,'g');
plot(t,t,'r');
xgrid;
xtitle('response to a unit-ramp input of a lag conpensated system'
,'t','output');

legend(['no compensated';'compensated';'unit-ramp'],style=4);

Image Programa7_3pag437