Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Medodos de Ecuaciones Diferenciales
Medodos de Ecuaciones Diferenciales
Octubre 2007
1 Euler
Euler
Euler Modificado
2 Runge-Kutta
Runge-Kutta de cuarto orden
3 Ejemplo: RLC
RLC serie
Solucin analtica
4 Variables de estado
Definicin
Circuito RLC serie
Espacio de estado
Ecuaciones de Lotka-Volterra
Banda de Rssler
se hace la aproximacin
y dy
.
t dt
De donde se tiene que
y = f (t, y ) t.
Tomando h t se obtiene la regla recursiva del mtodo de Euler:
y y + h f (t, y )
se hace la aproximacin
y dy
.
t dt
De donde se tiene que
y = f (t, y ) t.
Tomando h t se obtiene la regla recursiva del mtodo de Euler:
y y + h f (t, y )
k1 h f (t, y )
k2 h f (t + h, y + k1 )
1
y y + (k1 + k2 )
2
k1 h f (t, y )
1 1
k2 hf t + h, y + k1
2 2
1 1
k3 hf t + h, y + k2
2 2
k4 h f (t + h, y + k3 )
1
y y + (k1 + 2k2 + 2k3 + k4 )
6
R L
+
vi (t) C
La corriente en el capacitor es
d vc (t)
i(t) = C
dt
pause Sustituyendo en la primera ecuacin ponemos todo en trminos del voltaje en el
capacitor, vc (t):
d vc (t) d 2 vc (t)
vi (t) = RC + LC + vc (t)
dt d 2t
R L
+
vi (t) C
La corriente en el capacitor es
d vc (t)
i(t) = C
dt
pause Sustituyendo en la primera ecuacin ponemos todo en trminos del voltaje en el
capacitor, vc (t):
d vc (t) d 2 vc (t)
vi (t) = RC + LC + vc (t)
dt d 2t
Para
R = 1
L = 10
C = 0.5
vi (t) = 0
d vc (0)
y condiciones iniciales de v c (0) = 1 y = 0, la ecuacin diferencial tiene la
dt
siguiente solucin analtica:
x1 = vc (t)
x2 = x1
Por lo tanto
vi (t) = RCx2 + LC x 2 + x1
y despejando x 2 tenemos que
1 R 1
x2 = x1 x2 + vi (t)
LC L LC
x1 = vc (t)
x2 = x1
Por lo tanto
vi (t) = RCx2 + LC x 2 + x1
y despejando x 2 tenemos que
1 R 1
x2 = x1 x2 + vi (t)
LC L LC
x1 = vc (t)
x2 = x1
Por lo tanto
vi (t) = RCx2 + LC x 2 + x1
y despejando x 2 tenemos que
1 R 1
x2 = x1 x2 + vi (t)
LC L LC
x1 = vc (t)
x2 = x1
Por lo tanto
vi (t) = RCx2 + LC x 2 + x1
y despejando x 2 tenemos que
1 R 1
x2 = x1 x2 + vi (t)
LC L LC
son 1,2 = 0.05 j0.4444, estos valores pueden verse en la solucin analtica de la
ecuacin diferencial.
son 1,2 = 0.05 j0.4444, estos valores pueden verse en la solucin analtica de la
ecuacin diferencial.
1
x1
0.8 x2
0.6
0.4
0.2
0.2
0.4
0.6
0.8
0 20 40 60 80 100
t
0.3
0.2
0.1
0
2
x
0.1
0.2
0.3
0.4
0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1
x1
R1 L1 L2
+
vi (t) C R2
d vc (t)
ic (t) = i1 (t) i2 (t) = C
dt
d i1 (t)
vi (t) = i1 (t)R1 + L1 + vc (t)
dt
d i2 (t)
0 = vc (t) + L2 + i2 (t)R2
dt
x1 = i1 (t)
x2 = i2 (t)
x3 = vc (t)
x1 = i1 (t)
x2 = i2 (t)
x3 = vc (t)
2
x1
1.5 x
2
0.5
0.5
1.5
2
0 20 40 60 80 100
t
0
x3
4
1
0.5 2
0 1
0
0.5 1
x 1 2
2 x
1
Existen muchos conjuntos de varialbles de estado. Para este caso, entre otros muchos
conjuntos tenemos los siguientes:
Los voltajes en R 1 , R2 y C
Los voltajes en L 1 , L2 , y R2
Los voltajes de nodo
etc.
dX
= K1 AX K2 XY
dt
dY
= K2 XY K3 BY
dt
dX
= K1 AX K2 XY
dt
dY
= K2 XY K3 BY
dt
2.5
1.5
Y
0.5
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5
X
3
z
0
5
6
0 4
2
5 0
2
y 10 4
x