2015
ALUMNO: ROJAS INGARUCA ALEXIS JESUS GABRIEL (12190209)
APLICACIÓN:
[Fecha] 1
ALUMNO: ROJAS INGARUCA ALEXIS JESUS GABRIEL (12190209)
%Lc(wo')+Lp(wo')=0.....hallar Lc(wo')
Lc=20*log10((alfa)^(1/2))
Lp=Lc
[MAG, PHASE,W]=bode(G);
MAGdb=20*log10(MAG);
i=1;
while (Lp<=MAGdb(i))
i=i+1;
end
wo=W(i);
wm=wo
t=(wm*(alfa)^(1/2))^-1
%compensador
Gc=(t*s+1)/(alfa*t*s+1)
%sistema compensado
Gnuevo=Gc*G
%graficos
figure(1)
margin(G)
hold on
margin(Gnuevo)
figure(2)
Glc=feedback(G,1)
step(Glc)
hold on
grid
Gnuevolc=feedback(Gnuevo,1)
step(Gnuevolc)
Resultados en el Workspace
fimax = 31.5865
alfa = 0.3125
Lp = -5.0512
wm = 10
t = 0.1789
%compensador
Transfer function:
0.1789 s + 1
------------
0.0559 s + 1
%funcion G realimentado
Transfer function:
[Fecha] 2
ALUMNO: ROJAS INGARUCA ALEXIS JESUS GABRIEL (12190209)
1080
---------------------------
s^3 + 24 s^2 + 108 s + 1080
%funcion G compensado y realimentado
Transfer function:
193.2 s + 1080
---------------------------------------------------
0.0559 s^4 + 2.342 s^3 + 30.04 s^2 + 301.2 s + 1080
RESULTADOS GRAFICOS
Bode Diagram
Gm = 10.9 dB (at 18.3 rad/sec) , Pm = 40.9 deg (at 8.55 rad/sec)
50
función al aplicarle el
-50
compensador, muestra
también el aumento del
-100
margen de fase
-150
-90
-135
Phase (deg)
-180
-225
-270
-1 0 1 2 3
10 10 10 10 10
Frequency (rad/sec)
Step Response
1.6
1.4
1.2
1
De las respuestas en el tiempo
Amplitude
0
0 0.5 1 1.5 2 2.5 3 3.5 4
Time (sec)
[Fecha] 3