Informe - 01 DIAGRAMA DE BODE

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

Laboratorio Sistema de Control II

1
UNIVERSIDAD NACIONAL MAYOR DE SAN
MARCOS

FACULTAD: Facultad de ingeniería electrónica y


eléctrica
CURSO: sistema de control II
TEMA: laboratorio de control ii
ALUMNO:
CODIGO:
AÑO: 2019- 2
Laboratorio Sistema de Control II
2
DIAGRAMAS DE BODE

1. Ganancia

 En el editor del MATLAB

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

coeficientes de amplification de Bode


kb = 1
6.0000 1.0000 0.2000

num = den =
6
den = 1

1
gh = gh =

6 1

Static gain. Static gain.

num = num =
Laboratorio Sistema de Control II
3
0.2000
gh =

den = 0.2

1 Static gain.

 La gráfica obtenida es la siguiente:


Laboratorio Sistema de Control II
4
2. Polos y cero en el origen

 En el editor del MATLAB

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

 La gráfica obtenida es la siguiente:

3. Polos s y/o ceros sobre el eje real


Laboratorio Sistema de Control II
6
 En el editor del MATLAB

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.

125 s^3 + 75 s^2 + 15 s + 1 gh =


Continuous-time transfer function.
1
gh = -----------------
25 s^2 + 10 s + 1
25 s^2 + 10 s + 1 Continuous-time transfer function.
Continuous-time transfer function.
gh =
gh =
1
5s+1 ---------------------------
Continuous-time transfer function. 125 s^3 + 75 s^2 + 15 s + 1
Continuous-time transfer function.
 La gráfica obtenida es la siguiente:
Laboratorio Sistema de Control II
7

4. Raíces conjugadas
Laboratorio Sistema de Control II
8
 En el editor del MATLAB

kb=[0.01 0.2 0.5 (sqrt(2)/2)]


wn=1
for n=1:1:4
s=tf('s')
fa=kb(n)
gh=wn/(s^2+2*fa*wn*s+wn^2)
bode(gh)
hold on
end

 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

Continuous-time transfer function.


Laboratorio Sistema de Control II
9

 La gráfica obtenida es la siguiente:

5. Construir los diagramas logarítmicos


 En el editor del MATLAB

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=

Continuous-time transfer function.

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:

 En la traza de magnitud logarítmica si variamos la ganancia nuestra


curva se altera hacia arriba o hacia abajo, si se incrementa o disminuye
esta constante respectivamente
 Un diagrama de Bode es una representación gráfica que sirve para
caracterizar la respuesta en frecuencia de un sistema
 El sistema de control, necesita de un programa informático diseñado
para facilitar al usuario ola realización de un determinado tipo de
trabajo (control)y crear una interface hombre máquina, optimizando la
producción y creando nuevas fuentes de ingresos económicos.
 La reducción de un proceso de fabricación a su fase independiente más
pequeña, permite incrementar la producción y reducir el nivel de
especialización de los obreros.
 Tener cuidado a la hora de escribir los comandos en el matlab.

You might also like