- #1
jrive
- 58
- 1
I am stumped by an exercise in using Laplace transforms to analyze the voltage and current in simple LC tank. My issue is with the correct sign of the voltage across the capacitor ...let me pose the problem.
A circuit consists of a voltage source V, 2 switches, a cap C and an inductor L. The switch from the source to the cap has been on for a long time (cap is fully charged), while the switch connecting the cap to the inductor is open. Then at time t(0+), the switches toggle, and the voltage source is disconnected and the cap is now connected to the inductor.
v(0-)=V,
il(0-)=0,
The laplace circuit models are:
Cap:
i(t)=Cdv(t)/dt
I(s)=CsV(s)-Cv(0-)
V(s)=I(s)/sC+ v(0-)/S
Ind.
v(t)=Ldi(t)/dt
V(s)=LsI(s)-Li(0-)
I(s)=V(s)/sL+i(0-)/s
So...I can get the answer for the current fairly easily...Since the current into the cap is defined as positive when the switch from the source to the cap is on , then when the current flows from the cap to the inductor at t(0+), it is negative, or -Ic. So,
-Ic=IL
Cv(0-)-CsV(s)=V(s)/sL
solving for V(s),
V(s)=Cv(0-)sL/(s^2LC+1)
invLaplace(V(s))=V cos[t/sqrt(LC)] --> this is fine...
my problem is when I try to solve for the voltage directly...(keep in mind that if I obtain voltage by using this current across the cap or inductor, I do get the correct answer, but not when I try to do it directly), I have a sign problem that I can't figure out...
Since the voltage across the cap = the voltage across the inductor at time t(0+), then
I(s)/sC+v(0-)/s=LsI(s) (i(0-)==0)
this is the problem...the sign is incorrect, and this will lead to a transfer function where I have s^2LC - 1 in the denominator, and not s^2LC + 1 to get an oscillatory response. What am I missing here?
The cap model during the charging phase is as shown in figure in file cap_t(0-).bmp...and for the math to work, I need to change it to the model in figure cap_t(0+).bmp at t(0+). I just can't convince myself as to why...
A circuit consists of a voltage source V, 2 switches, a cap C and an inductor L. The switch from the source to the cap has been on for a long time (cap is fully charged), while the switch connecting the cap to the inductor is open. Then at time t(0+), the switches toggle, and the voltage source is disconnected and the cap is now connected to the inductor.
v(0-)=V,
il(0-)=0,
The laplace circuit models are:
Cap:
i(t)=Cdv(t)/dt
I(s)=CsV(s)-Cv(0-)
V(s)=I(s)/sC+ v(0-)/S
Ind.
v(t)=Ldi(t)/dt
V(s)=LsI(s)-Li(0-)
I(s)=V(s)/sL+i(0-)/s
So...I can get the answer for the current fairly easily...Since the current into the cap is defined as positive when the switch from the source to the cap is on , then when the current flows from the cap to the inductor at t(0+), it is negative, or -Ic. So,
-Ic=IL
Cv(0-)-CsV(s)=V(s)/sL
solving for V(s),
V(s)=Cv(0-)sL/(s^2LC+1)
invLaplace(V(s))=V cos[t/sqrt(LC)] --> this is fine...
my problem is when I try to solve for the voltage directly...(keep in mind that if I obtain voltage by using this current across the cap or inductor, I do get the correct answer, but not when I try to do it directly), I have a sign problem that I can't figure out...
Since the voltage across the cap = the voltage across the inductor at time t(0+), then
I(s)/sC+v(0-)/s=LsI(s) (i(0-)==0)
this is the problem...the sign is incorrect, and this will lead to a transfer function where I have s^2LC - 1 in the denominator, and not s^2LC + 1 to get an oscillatory response. What am I missing here?
The cap model during the charging phase is as shown in figure in file cap_t(0-).bmp...and for the math to work, I need to change it to the model in figure cap_t(0+).bmp at t(0+). I just can't convince myself as to why...
Attachments
Last edited: