Вы находитесь на странице: 1из 19

Ejercicio 1

Ejercicio 2
Problema 3
Solucion al sistema de ecuaciones presentado en ejericio
1

Solve[{40 * x - 20 * Log10[4] - 20 * Log10[6404] ⩵ 6 * y,


40 * x - 20 * Log10[6404] - 20 * Log10[12 800] ⩵ - 26 * y}, {x, y}]
- 13 Log[4] - 16 Log[6404] - 3 Log[12 800] 5 (Log[4] - Log[12 800])
x → - ,y→- 
32 Log[10] 8 Log[10]

- 13 Log[4] - 16 Log[6404] - 3 Log[12 800] 5 (Log[4] - Log[12 800])


Nx → - ,y→- 
32 Log[10] 8 Log[10]
{{x → 2.53286, y → 2.19072}}

Diagrama de bode del ejercicio 1 b)


BodePlot[{Tooltip[116 179 / ((s - 2) (s - 80))]},
ImageSize → 550, Frame → True, PlotStyle →
{Directive[Thick, ColorData[20, 1]], Directive[Thick, ColorData[20, 9]]},
Frame → False, AspectRatio → 1 / 2.25, GridLines → Automatic,
GridLinesStyle → Directive[GrayLevel[0.7], Dashed]]

ReplacePart[%20, 1 → Prepend[First[%20], {"Diagrama de Bode"}]]


2 Ejercicio 1.nb

Insert[%32, {Dividers → All, Spacings → 1.5 {1, 1}}, 2]

Diagrama de Bode

40

20

-20

0.1 1 10 100 1000

150

100

50

0
0.1 1 10 100 1000

Resolucion del Ejercicio 3:


Encontrando H(w):
Encontrando wn en el sistema de ecuaciones:
Solve[{40 * x - 20 * Log10[4] - 20 * Log10[6404] ⩵ 6 * y,
40 * x - 20 * Log10[6404] - 20 * Log10[12 800] ⩵ - 26 * y}, {x, y}]
- 13 Log[4] - 16 Log[6404] - 3 Log[12 800] 5 (Log[4] - Log[12 800])
x → - ,y→- 
32 Log[10] 8 Log[10]

- 13 Log[4] - 16 Log[6404] - 3 Log[12 800] 5 (Log[4] - Log[12 800])


Nx → - ,y→- 
32 Log[10] 8 Log[10]
{{x → 2.53286, y → 2.19072}}
Ejercicio 1.nb 3

Solve[Log10[wn] == 2.5328, {wn}]


{{wn → 341.036}}

H[w_] = (wn) ^ 2 / ((w - 2) * (w - 80))


wn2
(- 80 + w) (- 2 + w)

wn := 341.0358226533492

Inciso a

H[w_] = Apart[wn ^ 2 / ((w - 2) * (w - 80))]


1491.1 1491.1
-
- 80. + 1. w - 2. + 1. w

1491.0952863185469`
H2[w_] =
- 80.` + 1.` w
1491.1
- 80. + 1. w

1491.0952863185469`
H1[w_] = -
- 2.` + 1.` w
1491.1
-
- 2. + 1. w

Aplicando transformada inversa de fourier:


h1[t_] = InverseFourierTransform[H1[ω], ω, t, FourierParameters → {1, - 1}]

(0. - 745.548 ⅈ) ⅇ(0.+2. ⅈ) t Sign[t]

h2[t_] = InverseFourierTransform[H2[ω], ω, t, FourierParameters → {1, - 1}]

(0. + 745.548 ⅈ) ⅇ(0.+80. ⅈ) t Sign[t]

Inciso b
H1[w_] = (wn) / ((w - 2))
341.036
-2 + w

H2[w_] = wn / ((w - 80))


341.036
- 80 + w

h1[t_] = InverseFourierTransform[H1[ω], ω, t, FourierParameters → {1, - 1}]

(0. + 170.518 ⅈ) ⅇ2 ⅈ t Sign[t]


4 Ejercicio 1.nb

h2[t_] = InverseFourierTransform[H2[ω], ω, t, FourierParameters → {1, - 1}]

(0. + 170.518 ⅈ) ⅇ80 ⅈ t Sign[t]


Codigo Matlab

>> %libreria ASDP

>> t=linspace(-10,10);

>> R = 1000;

>> C = 0.000001;

>> L = 1;

>> tau1=R*C;

>> tau2=L/C;

>> num = [1];

>> den1 = [R*C 1];

>> den2 = [L/R 1];

>> den3 = [L*C, R*C,1];

>> w3 = sqrt(1/(L*C));

>> psi=(R/2)*(sqrt(L/C));

>> c1=-psi*w3+w3*(sqrt((psi)^2-1));

>> c2=-psi*w3-w3*(sqrt((psi)^2-1));

>> M=(w3)/(2*sqrt((psi)^2-1));

>> G1 = tf(num, den1);

>> G2 = tf(num, den2);

>> G3 = tf(num, den3);

>> bode(G1), grid

>> bode(G2), grid

>> bode(G3), grid

>> H= M(exp(c1*t)-exp(c2*t))*ustep(t)

>> S1=(1-exp(-t/(tau1))*step(t));
Imagen 1: Diagrama de bode caso 1, magnitud y fase.
Imagen 2: Diagrama de bode caso 2, magnitud y fase.
imagen 3: Diagrama de bode caso 3, magnitud y fase.

Похожие интересы