Professional Documents
Culture Documents
Informe - 01 DIAGRAMA DE BODE
Informe - 01 DIAGRAMA DE BODE
Informe - 01 DIAGRAMA DE BODE
1
UNIVERSIDAD NACIONAL MAYOR DE SAN
MARCOS
1. Ganancia
kb=[6 1 .2]
for n=1:1:3
num=kb(n)
den=1
gh=tf(num,den)
bode(gh)
hold on
pause
end
En el COMMAND WINDOW
num = den =
6
den = 1
1
gh = gh =
6 1
num = num =
Laboratorio Sistema de Control II
3
0.2000
gh =
den = 0.2
1 Static gain.
s=tf('s')
for n=-3:1:3
gh=1/s^n
bode(gh)
hold on
end
En el COMMAND WINDOW
>> Untitled2
s= gh =
s 1
Continuous-time transfer function. Static gain.
gh =
gh =
1
s^3 -
Continuous-time transfer function. s
Continuous-time transfer function.
gh =
gh =
s^2
Continuous-time transfer function. 1
---
s^2
gh = Continuous-time transfer function.
s
Continuous-time transfer function. gh =
1
---
Laboratorio Sistema de Control II
5
s^3 Continuous-time transfer function
s=tf('s')
t=5
for n=-3:1:3
gh=1/(t*s+1)^n
bode(gh)
hold on
end
En el COMMAND WINDOW
>> Untitled3 gh =
s= 1
s Static gain.
Continuous-time transfer function. gh =
t= 1
-------
5 5s+1
gh = Continuous-time transfer function.
4. Raíces conjugadas
Laboratorio Sistema de Control II
8
En el editor del MATLAB
En el COMMAND WINDOW
>> Untitled4
kb = Continuous-time transfer function.
0.0100 0.2000 0.5000 0.7071
wn = s=
s
1 Continuous-time transfer function.
s= fa =
s 0.5000
Continuous-time transfer function. gh =
1
fa = -----------
0.0100 s^2 + s + 1
gh = Continuous-time transfer function.
1
---------------- s=
s^2 + 0.02 s + 1 s
Continuous-time transfer function.
Continuous-time transfer function.
s=
s fa =
Continuous-time transfer function.
fa = 0.7071
0.2000 gh =
gh =
1 1
--------------- -----------------
s^2 + 0.4 s + 1 s^2 + 1.414 s + 1
s=tf('s')
gh=(10*(s^2+2*s+4))/(s*(s+1)*(s+20))
bode(gh)
hold on
En el COMMAND WINDOW
>> Untitled6
s=
gh =
10 s^2 + 20 s + 40
-------------------
s^3 + 21 s^2 + 20 s
Continuous-time transfer function.
Laboratorio Sistema de Control II
10
La gráfica obtenida es la siguiente:
Conclusiones: