GreenPrint
- 1,186
- 0
Homework Statement
https://imageshack.us/scaled/large/708/capturehdx.png
Homework Equations
https://imageshack.us/scaled/large/845/capturevtq.png
V = IR
https://imageshack.us/scaled/large/18/captureid.png
I_{C}(t) = C\frac{dV_{x}(t)}{dt}
https://imageshack.us/scaled/large/818/captureplr.png
V_{x}(t) = L\frac{di_{L}}{dt}
The Attempt at a Solution
I'll start by solving for the equation of the node voltage V_{x}(t)
\frac{V_{s} - V_{x}(t)}{R} = C_{1}\frac{d[V_{x}(t) - V_{s}]}{dt} + C_{2}\frac{d[V_{x} - 0]}{dt} + \frac{1}{L}∫_{0}^{t}[V_{x}(t) - 0]dt + I_{L}(t=0^{+})
I use the fact that I_{L}(t=0^{-}) = 0 A and that because the current through a inductor can't change instantaneously so I_{L}(t=0^{-}) = I_{L}(t=0^{+}) = 0 A. I also simplify some mathematically.
-\frac{V_{x}(t)}{R} = C_{1}\frac{dV_{x}(t)}{dt} + C_{2}\frac{dV_{x}}{dt} + \frac{1}{L}∫_{0}^{t}V_{x}(t)dt
Simplify some more
-\frac{V_{x}(t)}{R} = (C_{1} + C_{2})\frac{dV_{x}(t)}{dt} + \frac{1}{L}∫_{0}^{t}V_{x}(t)dt
Take the derivative with respect to time of both sides
-\frac{d}{dt}\frac{V_{x}(t)}{R} = \frac{d[(C_{1} + C_{2})\frac{dV_{x}(t)}{dt} + \frac{1}{L}∫_{0}^{t}V_{x}(t)dt]}{dt}
Simplify
-\frac{1}{R}\frac{V_{x}(t)}{dt} = (C_{1} + C_{2})\frac{d^{2}V_{x}(t)}{dt^{2}} + \frac{1}{L}V_{x}(t)
Set equal to zero
0 = (C_{1} + C_{2})\frac{d^{2}V_{x}(t)}{dt^{2}} + \frac{1}{R}\frac{V_{x}(t)}{dt} + \frac{1}{L}V_{x}(t)
Replace the constants with constants A, B, and C
A = C_{1} + C_{2}
B = \frac{1}{R}
C = \frac{1}{L}
0 = A\frac{d^{2}V_{x}(t)}{dt^{2}} + B\frac{V_{x}(t)}{dt} + CV_{x}(t)
This is a second order differential equation so it is known that
V_{x}(t) = Ke^{st}, \frac{dV_{x}(t)}{dt} = Kse^{st}, \frac{d^{2}V_{x}(t)}{dt^{2}} = Ks^{2}e^{st}
So plugging this into the equation
0 = AKs^{2}e^{st} + BKse^{st} + CKe^{st}
Divide through by ke^{st}
0 = As^{2} + Bs + C
This is a quadratic equation so it's known that
s = \frac{-B ± \sqrt{B^2 - 4AC}}{2A}
It can be seen from the equation for s that there are two values for s, I'll call them s_{1} and s_{2}. So my voltage equation becomes
V_{x}(t) = A_{1}e^{s_{1}t} + A_{2}e^{s_{2}t}
In order to solve for A_{1} and A_{2} I need to know the initial condition of the node voltage.
At time 0^{-} the circuit looks like the one below
https://imageshack.us/scaled/large/833/capturetiru.png
\sum Q = 0 = 4 uF(V_{x}(t = 0^{-}) - 10) + 1 uF(V_{x}(t = 0^{-}) - 0)
Divide through by uF
0 = 4V_{x}(t = 0^{-}) - 4(10) + V_{x}(t = 0^{-})
simplify
40 = 5V_{x}(t = 0^{-})
so
V_{x}(t = 0^{-}) = 8 V
I use the fact that the voltage across a capacitor can't change instantaneously so V_{x}(t = 0^{-}) = V_{x}(t = 0^{+}).
So when you plug in 0 into the voltage equation you get the following equation
V_{x}(t = 0^{+}) = A_{1} + A_{2}
Being that I have two unknowns I need another equation. I use the fact that the voltage through a capacitor can't change instantaneously
So it can be seen that \frac{dV_{x}(t)}{dt} represents the change in voltage across C_{2} which is zero. So I have the following second equation
0 = A_{1}s_{1} + A_{2}s_{2}
So I choose to solve for A_{1} and A_{2} using matrix and putting them in reduce row echelon form
1, 1, V_{x}(t = 0^{+})
s_{1}, s_{2}, 0
I divide row 2 by s_{1}
1, 1, V_{x}(t = 0^{+})
1, \frac{s_{2}}{s_{2}}, 0
I multiply row 1 by negative one and add it to row two to get a new row 2
1, 1, V_{x}(t = 0^{+})
0, \frac{s_{2}}{s_{2}}-1, -V_{x}(t = 0^{+})
I divide row two through by \frac{1}{\frac{s_{2}}{s_{2}}-1}
1, 1, V_{x}(t = 0^{+})
0, 1, -\frac{V_{x}(t = 0^{+})}{\frac{s_{2}}{s_{2}}-1}
I multiply row two by negative one and add to row one to get a new row one
1, 0, V_{x}(t = 0^{+}) + \frac{V_{x}(t = 0^{+})}{\frac{s_{2}}{s_{2}}-1}
0, 1, -\frac{V_{x}(t = 0^{+})}{\frac{s_{2}}{s_{2}}-1}
So I get the following equations, I factored the first one
A_{1} = V_{x}(t = 0^{+})(1 + \frac{1}{\frac{s_{2}}{s_{2}}-1})
A_{2} = -\frac{V_{x}(t = 0^{+})}{\frac{s_{2}}{s_{2}}-1}
The quantity \frac{s_{1}}{s_{2}} seems to be an interesting quantity.
\frac{s_{1}}{s_{2}} = \frac{-B - \sqrt{B^{2} - 4AC}}{-B + \sqrt{B^2 - 4AC}}
I multiply by a form of one \frac{-B - \sqrt{B^{2} - 4 AC}}{-B - \sqrt{B^{2} - 4 AC}} and get the following.
\frac{s_{1}}{s_{2}} = \frac{(B + \sqrt{B^{2} - 4AC})^{2}}{B^{2} - B^{2} + 4AC} = \frac{B^{2} + 2B\sqrt{B^{2} - 4AC} + B^{2} - 4AC}{4AC} = \frac{2B^{2} + 2B\sqrt{B^{2} - 4AC} - 4AC}{4AC} = \frac{B^{2}}{2AC} + \frac{B}{2AC}\sqrt{B^{2} - 4AC} - 1
So then
\frac{s_{2}}{s_{1}} - 1 = \frac{B}{2AC}\sqrt{B^{2} - 4AC} + \frac{B^{2}}{2AC} - 2
Now in my formulas I have the following relation \frac{1}{\frac{s_{2}}{s_{1}}-1} So I solve for this relation.
\frac{1}{\frac{s_{2}}{s_{1}}-1} = \frac{1}{\frac{B}{2AC}\sqrt{B^{2} - 4AC} +( \frac{B^{2}}{2AC} - 2)}
I multiply by a form of one \frac{-\frac{B}{2AC}\sqrt{B^{2}-4AC} + \frac{B^2}{2AC} - 2}{-\frac{B}{2AC}\sqrt{B^{2}-4AC} + \frac{B^2}{2AC} - 2}
\frac{1}{\frac{s_{2}}{s_{1}}-1} = \frac{-\frac{B}{2AC}\sqrt{B^{2}-4AC} + \frac{B^2}{2AC} - 2}{-\frac{B^{2}}{4A^{2}C^{2}}(B^{2} - 4AC) + (\frac{B^{2}}{2AC} - 2)^{2}} = \frac{-\frac{B}{2AC}\sqrt{B^{2}-4AC} + \frac{B^2}{2AC} - 2}{-\frac{B^{4}}{4A^{2}C^{2}} + \frac{B^{2}}{AC} + \frac{B^{4}}{4A^{2}C^{2}} - \frac{4B^{2}}{2AC} + 4} = \frac{-\frac{B}{2AC}\sqrt{B^{2}-4AC} + \frac{B^{2}}{2AC} - 2}{-\frac{B^2}{AC} + 4}
At this point I multiply through by a form of one \frac{AC}{AC}
\frac{-\frac{B}{2}\sqrt{B^{2} - 4AC} + \frac{B^{2}}{2}-2AC}{4AC - B^{2}}
I multiply through by another form of one \frac{2}{2}
\frac{-B\sqrt{B^{2} - 4AC} + B^{2} - 4AC}{2(4AC - B^{2})}
Simplify
\frac{B\sqrt{B^{2}-4AC} + B^{2}}{2(4AC - B^{2})} - \frac{2AC}{4AC - B^{2}}
My equations for A_{1} and A_{2} then become
A_{1} = V_{x}(t = 0^{+})(1 + \frac{B\sqrt{B^{2}-4AC} + B^{2}}{2(4AC - B^{2})} - \frac{2AC}{4AC - B^{2}})
A_{2} = -V_{x}(t = 0^{+})(\frac{B\sqrt{B^{2}-4AC} + B^{2}}{2(4AC - B^{2})} - \frac{2AC}{4AC - B^{2}})
My voltage equation then becomes
V_{x}(t) = V_{x}(t = 0^{+})(1 + \frac{B\sqrt{B^{2}-4AC} + B^{2}}{2(4AC - B^{2})} - \frac{2AC}{4AC - B^{2}})e^{(\frac{-B + \sqrt{B^2 - 4AC}}{2A})t} - V_{x}(t = 0^{+})(\frac{B\sqrt{B^{2}-4AC} + B^{2}}{2(4AC - B^{2})} - \frac{2AC}{4AC - B^{2}})e^{(\frac{-B - \sqrt{B^2 - 4AC}}{2A})t}
Plugging back in the values for A, B, and C
V_{x}(t) = V_{x}(t = 0^{+})(1 + \frac{\frac{1}{R}\sqrt{(\frac{1}{R})^{2}-4(C_{1}+C_{2})\frac{1}{L}} + (\frac{1}{R})^{2}}{2(4(C_{1}+C_{2})\frac{1}{L} - (\frac{1}{R})^{2})} - \frac{2(C_{1}+C_{2})\frac{1}{L}}{4(C_{1}+C_{2})\frac{1}{L} - (\frac{1}{R})^{2}})e^{(\frac{-\frac{1}{R} + \sqrt{(\frac{1}{R})^2 - 4(C_{1}+C_{2})\frac{1}{L}}}{2(C_{1}+C_{2})})t} - V_{x}(t = 0^{+})(\frac{\frac{1}{R}\sqrt{(\frac{1}{R})^{2}-4(C_{1}+C_{2})\frac{1}{L}} + (\frac{1}{R})^{2}}{2(4(C_{1}+C_{2})\frac{1}{L} - (\frac{1}{R})^{2})} - \frac{2(C_{1}+C_{2})\frac{1}{L}}{4(C_{1}+C_{2})\frac{1}{L} - (\frac{1}{R})^{2}})e^{(\frac{-(\frac{1}{R}) - \sqrt{(\frac{1}{R})^2 - 4(C_{1}+C_{2})\frac{1}{L}}}{2(C_{1}+C_{2})})t}
That's kind of ugly. But anyways if my equation
V_{x}(t) = V_{x}(t = 0^{+})(1 + \frac{B\sqrt{B^{2}-4AC} + B^{2}}{2(4AC - B^{2})} - \frac{2AC}{4AC - B^{2}})e^{(\frac{-B + \sqrt{B^2 - 4AC}}{2A})t} - V_{x}(t = 0^{+})(\frac{B\sqrt{B^{2}-4AC} + B^{2}}{2(4AC - B^{2})} - \frac{2AC}{4AC - B^{2}})e^{(\frac{-B - \sqrt{B^2 - 4AC}}{2A})t}
is correct then I have developed a generic formula for circuits in which you can find a second order homogeneous equation. Does it look right? Thanks for your help!
When I plug the values pack in I get the following equation
V_{x}(t) = \frac{4}{49}e^{2000t}((7j - 401)e^{14000jt} - (7j - 499)e^{-14000jt})
Which doesn't seem right. Not sure what I did wrong though.
Last edited by a moderator: