Download - INFORME N°1_Control2.docx
![Page 1: INFORME N°1_Control2.docx](https://reader035.vdocumento.com/reader035/viewer/2022072003/563dba80550346aa9aa63109/html5/thumbnails/1.jpg)
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
FACULTAD DE INGENIERÍA ELÉCTRICAY ELECTRÓNICA
Escuela Académica profesional de Ingeniería Eléctrica (19.2)
Curso : Laboratorio de Sistema de Control 2
Tema : Diagramas de Bode
Profesor : Ing.Menacho
Alumno : Mariano Cabello Isidoro
Código del Alumno : 09190118
Ciclo: 2014 – I
![Page 2: INFORME N°1_Control2.docx](https://reader035.vdocumento.com/reader035/viewer/2022072003/563dba80550346aa9aa63109/html5/thumbnails/2.jpg)
DIAGRAMAS DE BODE
Programación en MATLAB
%%%Pregunta1subplot(2,2,1)for n=1:1:3 den=[1] k=[5 1 0.5] g=tf(k(n),den) bode(g) hold onend%%%Pregunta2subplot(2,2,2)for n=1:1:6num=[1]den=[1 0]k=[-3 -2 -1 1 2 3]g=tf(num,den)^(k(n))bode(g)hold onend %%%Pregunta3t=input('Ingrese un valor para t=')subplot(2,2,3)for n=1:1:6num=[1]den=[1 0]k=[-3 -2 -1 1 2 3]g=tf(num,den*(t-1)+1)^(k(n))bode(g)hold onend %%%Pregunta4wn=input('Ingrese el valor de Wn=')wn=double(wn)subplot(2,2,4)for n=1:1:5 num=[wn*wn]a=[0.01 0.2 0.39 0.58 0.7071]a=double(a)den=[1 2*a(n)*wn wn*wn] g=tf(num,den)bode(g)hold onend
![Page 3: INFORME N°1_Control2.docx](https://reader035.vdocumento.com/reader035/viewer/2022072003/563dba80550346aa9aa63109/html5/thumbnails/3.jpg)
Los gráficos son los siguientes :
- Pregunta N°1:
![Page 4: INFORME N°1_Control2.docx](https://reader035.vdocumento.com/reader035/viewer/2022072003/563dba80550346aa9aa63109/html5/thumbnails/4.jpg)
- Pregunta N°2
- Pregunta N°3
![Page 5: INFORME N°1_Control2.docx](https://reader035.vdocumento.com/reader035/viewer/2022072003/563dba80550346aa9aa63109/html5/thumbnails/5.jpg)
- Pregunta N°4
CONCLUSION- La programación es automática solo se debe ingresar el valor de t y el valor de Wn