Está en la página 1de 5

> INGENIERIA ELECTRONICA.

1161510-1161802< 1

Analisis de Circuitos de CA
Laboratory N°1
Carlos Andrés Rojas Buendia (Author)
Xilena Perez (Author)
Universidad Francisco De Paula Santander
e-mail: carlosandresrobu@ufps.edu.co
e-mail: xilenaalexandrappar@ufps.edu.co
Codigo matlab
Abstract— This report presents the basic programming to
perform the sum of functions of equal and different frequencies as a
method to analyze signals graphically with the use of matlab to have
the response of adding two sinusoidal waves of equal and different
frequencies, amazing the difference and determining why in an
electrical circuit cannot use the concept of phasor when there are
two or more excitation sources with different angular frequencies.
In this way, we are going to see how two waves of the same direction
and of equal or opposite directions when crossing interfere and
create a new vibration pattern at the point where they intersect.

Index terms – function, equation, circuit, stream, voltage, matlab

I. INTRODUCCION

S umar las señales de corriente o de voltaje senoidal pueden operarse


siempre y cuando tengan la misma frecuencia.

En este primer laboratorio de demuestra a traves de un software


Matlab, utilizando commandos como subplot para generar graficas de la
respuesta de la suma de dos o mas ondas seno o coseno de igual y de
diferente frecuencia para apreciar la diferencia y determiner porque un
circuito electric no se puede usar el concepto de fasores cuando hay dos
o mas Fuentes de alimentacion con diferente frecuencia.

II. ELABORE UN SCRIPT EN MATLAB PARA


COMPARAR LA SUMA DE LAS
SIGUIENTES ONDAS:

1. 𝑉1 = 12 ∗ 𝑐𝑜𝑠(2 ∗ 𝑝𝑖 ∗ 𝑡 − 𝑝𝑖/2)
𝑉2 = 18 ∗ 𝑐𝑜𝑠(𝑝𝑖 ∗ 𝑡 + 𝑝𝑖/6)
𝑉3 = 10 ∗ 𝑐𝑜𝑠(4 ∗ 𝑝𝑖 ∗ 𝑡 − 𝑝𝑖/3)
𝑉4 = 𝑣1 + 𝑣2 + 𝑣3

2. 𝑖1 = 1.2 ∗ 𝑠𝑖𝑛(8 ∗ 𝑡)
𝑖2 = 8.5 ∗ 𝑠𝑖𝑛(8 ∗ 𝑡 + 𝑝𝑖/6)
𝑖3 = 3 ∗ 𝑠𝑖𝑛(8 ∗ 𝑡 − 𝑝𝑖/2)
𝑖4 = 𝑖1 + 𝑖2 + 𝑖3
> INGENIERIA ELECTRONICA. 1161510-1161802< 2

4. 𝑖1 = 7 ∗ 𝑐𝑜𝑠(3 ∗ 𝑝𝑖 ∗ 𝑡 − 𝑝𝑖/2)
𝑖2 = 8 ∗ 𝑐𝑜𝑠(3 ∗ 𝑝𝑖 ∗ 𝑡 + 𝑝𝑖/6)
𝑖3 = 5 ∗ 𝑐𝑜𝑠(3 ∗ 𝑝𝑖 ∗ 𝑡 − 𝑝𝑖/3)
𝑖4 = 𝑖1 + 𝑖2 + 𝑖3

Codigo matlab

Fig 1.

3. 𝑉1 = 2 ∗ 𝑐𝑜𝑠(2 ∗ 𝑝𝑖 ∗ 𝑡 − 40°)
𝑉2 = 3 ∗ 𝑐𝑜𝑠(3 ∗ 𝑝𝑖 ∗ 𝑡 + 30°)
𝑉3 = 5 ∗ 𝑐𝑜𝑠(𝑝𝑖 ∗ 𝑡 − 60°)
𝑉4 = 𝑣1 + 𝑣2 + 𝑣3
> INGENIERIA ELECTRONICA. 1161510-1161802< 3

6. 𝑔1 (𝑡) = 3,5 ∗ 𝑠𝑖𝑛(2 ∗ 𝑝𝑖 ∗ 𝑡 − 𝑝𝑖/3)


𝑔2 (𝑡) = 2,5 ∗ 𝑐𝑜𝑠(2 ∗ 𝑝𝑖 ∗ 𝑡 + 𝑝𝑖/12)
𝑔3 (𝑡) = 𝑔1 (𝑡) + 𝑔2 (𝑡)

Codigo matlab

Fig 2.

5. 𝑓1 (𝑡) = 45 ∗ 𝑐𝑜𝑠(3 ∗ 𝑡 − 45°)


𝑓2 (𝑡) = 8 ∗ 𝑐𝑜𝑠(3 ∗ 𝑡 + 120°)
𝑓(𝑡) = 𝑓1 (𝑡) + 𝑓2 (𝑡)
> INGENIERIA ELECTRONICA. 1161510-1161802< 4

𝑉1 (𝑡) = 4. 𝑐𝑜𝑠⁡(3 ∗ 𝑡 − 45° + 90)V


𝑉1 (𝑡) = 4. 𝑐𝑜𝑠(3 ∗ 𝑡 − 135°)V
𝑉2 (𝑡) = 5. 𝑐𝑜𝑠⁡(3𝑡 + 120°)

Nos queda:

𝑉1 (𝑡) = 4 ∗ 𝑐𝑜𝑠(3 ∗ 𝑡 − (3 ∗ 𝑝𝑖)/4)


𝑉2 (𝑡) = 5 ∗ 𝑐𝑜𝑠(3 ∗ 𝑡 + (2 ∗ 𝑝𝑖)/3)

Analiticamente se dice que 𝑉2 esta adelantada

Codigo matlab

Fig 3.

III. Determine cual de los siguientes grupos de


señales se encuentra adelantada, para ello debera
convertir ambas señales a una misma funcion
(seno o coseno) y posteriormente corroborar su
resultado usando matlab.

7. 𝑉1 (𝑡) = 4. sin⁡(3 ∗ 𝑡 − 45°)


𝑉2 (𝑡) = 5. cos⁡(3 ∗ 𝑡 + 120°)
𝑉3 (𝑡) = 𝑣1 (𝑡) + 𝑣2 (𝑡)

Pasamos la señal a una sola función, que será coseno


> INGENIERIA ELECTRONICA. 1161510-1161802< 5

8. 𝑖1 = −3,5 ∗ 𝑐𝑜𝑠(2 ∗ 𝑝𝑖 ∗ 𝑡 + 𝑝𝑖/6)A


𝑖2 = 2,5 ∗ 𝑠𝑖𝑛(2 ∗ 𝑝𝑖 ∗ 𝑡 + 𝑝𝑖/3)A
𝑖3 (𝑡) = 𝑖1 (𝑡) + 𝑖2 (𝑡) IV. CONCLUSION
Concluimos que matlab es un software de programacion
Pasamos la señal a una sola funcion, que sera seno. que sirve para graficar funciones de cualquier forma,
Codigo matlab podemos graficar señales en funcion seno o coseno donde a su
𝑖1 = −3,5 ∗ 𝑐𝑜𝑠(2 ∗ 𝑝𝑖 ∗ 𝑡 + 𝑝𝑖/6)A ves nos permite observar dos graficas al mismo tiempo
𝑖1 = −3,5 ∗ 𝑐𝑜𝑠(2 ∗ 𝑝𝑖 ∗ 𝑡 + 𝑝𝑖/6 +90)A utilizando el commando subplot, atraves de estas graficas
𝑖1 = −3,5 ∗ 𝑐𝑜𝑠(2 ∗ 𝑝𝑖 ∗ 𝑡 + (2 ∗ 𝑝𝑖)/3)A Podemos ver el comportamiento de las ondas y sacar
conclusiones.

Se observa que la cosinusoide, o cualquier combinacion de


seno y coseno con la misma frecuencia, se pueden transformar en
una sinusoide y viceversa, para obtener la suma de cada
frecuencia teniendo en cuenta todos los parametros de cada punto
como los angulos de desface, la amplitud entre otros valores de
la function de onda.

REFERENCES

[1]. Circuitos Electricos. Richard C. Dorf y James A. Svoboda. ISBN: 978-


0-470-52157-1 edicion original en ingles ¨Introduction to Electric Circuits”, 8th
Edition, publicada por John Wiley and Sons, Inc. New Jersey, USA. Derechos
reservados c John Wiley and Sons, Inc.Octava edici´on: Alfaomega Grupo
Editor, M´exico, junio 2011.

[2]. Fundamentos de Circuitos Electricos. Charles K. Alexander y Matthew


N. O. Sadiku.ISBN: 970-10-5606-X, edicion original en Ingles ”Fundamentals
of Electric Circuits”, 3th Edition, publicada por The McGraw-Hill Companies,
Inc., USA, Derechos reservados.

También podría gustarte