What Happens to the Current Through an Inductor When the Switch Opens?

  • Thread starter Thread starter RoyalFlush100
  • Start date Start date
  • Tags Tags
    Current Inductor
Click For Summary

Discussion Overview

The discussion revolves around the behavior of current through an inductor when a switch in a circuit is opened after being closed for a long time. Participants explore the application of Kirchhoff's Voltage Law, differential equations related to the circuit, and the implications of initial conditions on the solution. The scope includes mathematical reasoning and technical explanations related to circuit analysis.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant presents a circuit problem involving a switch and seeks to find the current through an inductor after the switch is opened, expressing confusion over the application of Kirchhoff's Voltage Law.
  • Another participant suggests solving for charge q(t) first and then deriving current I(t), questioning the need for additional initial conditions for the second-order differential equation.
  • Some participants discuss the implications of current direction on energy usage and the voltage drop across components, indicating that current flowing into a device uses energy while current flowing out provides energy.
  • There is a concern raised about the stability of the solution, as one participant notes that their derived current function suggests an unstable system, which contradicts expectations based on the circuit's behavior.
  • Another participant emphasizes the need for a damped oscillation in the solution and points out discrepancies in the initial conditions reflected in the participant's formulas.
  • Several participants engage in deriving equations for current and charge, with varying interpretations of the voltage across the capacitor and its implications for the circuit's behavior over time.
  • One participant provides a correction regarding the voltage across the capacitor and its effect on the charge, suggesting that the voltage will eventually stabilize at a certain value.
  • Another participant attempts to clarify the initial conditions and the expected behavior of the circuit as time approaches infinity, proposing a specific form for the current function.

Areas of Agreement / Disagreement

Participants express differing views on the correct setup of equations and the implications of initial conditions. There is no consensus on the correct approach to solving the problem, and multiple competing interpretations of the circuit behavior are present.

Contextual Notes

Participants note limitations related to the assumptions made about initial conditions and the definitions of voltage and current in the context of the circuit. The discussion highlights unresolved mathematical steps and varying interpretations of the circuit's behavior.

RoyalFlush100
Messages
56
Reaction score
2

Homework Statement


"The switch in the circuit in the figure has been closed for a long time and is opened at t = 0. Find i(50 ms)."
I attached an image of the circuit below.

Homework Equations


KVL:
Ri + q(t)/C - q(0)/C + vc(t) + Li' = vs(t)
Li'' + Ri' + i/C = vs'(t)
Where vc is voltage across the capacitor and vs is the source voltage. Q is the charge flowing through the current.

The Attempt at a Solution


First I found i(t) through the inductor and the vc prior to the switch opening:
30 = 10i --> i = 3 A
20-vc = 5i --> vc = 5 V

Now, I applied the second equation and this is where I become confused. It has to do with the application of Kirchhoff's Voltage Law. i goes through the bottom of the capacitor, so I don't know how to set up the equation.
Li'' + Ri' + i/C = 0
i'' + 10i' + 25i = 0 This?
i'' + 10i' - 25i = 0 Or this?
Likewise, I'll need to find i'(0) after. Would that be:
Ri + q(t)/C - q(0)/C + vc(t) + Li' = vs(t)
10 + 5 + i' = 10 This?
10 - 5 + i' = 10 Or this?

I think it should be minus in both cases, but the numbers behave weirdly when I try that.
 

Attachments

  • Circuit.gif
    Circuit.gif
    3.8 KB · Views: 606
Physics news on Phys.org
It looks like you just took the derivative of both sides of your first equation to get the second equation:
Li'' + Ri' + i/C = vs'(t)
Why did you do this? You will need to know an extra initial condition to solve the second order equation.
How about just solve for an expression for q(t), then take the derivative of that to get I(t) ?
What methods are you familiar with in solving this type of differential equation?
 
scottdave said:
It looks like you just took the derivative of both sides of your first equation to get the second equation:
Li'' + Ri' + i/C = vs'(t)
Why did you do this? You will need to know an extra initial condition to solve the second order equation.
How about just solve for an expression for q(t), then take the derivative of that to get I(t) ?
What methods are you familiar with in solving this type of differential equation?
This is the way I typically do these types:
1) Take the derivative, giving a second order differential equation. Find i (the roots of which will be real and unequal, real and equal, or complex).
2) Solve for i(0), which will give an equation involving the two constants.
3) Take the first equation and solve for i'(0). Then, take the derivative of the equation for i and solve it for i'(0). With both these equations, the two constants in the equation for i can be solved.

The main thing I'm unsure of though is current traveling through the bottom of the capacitor. I'm assuming that means the voltage drop will be negative (assuming vc is positive), but the numbers of working out oddly when I try that.Also, the reason I didn't solve directly for q is because that would just be a more difficult second order differential equation, since i' would just be q''. It would also require me to know q(0) and there'd be more constants in the equations.
 
Ok. I just wasn't sure what you were asking. Yes it is still 2nd order as you have q' is I and i' is q''. If current is flowing into the positive end of a device, then that device is using energy. If current is flowing out of the positive terminal, then the device is providing energy, if that helps you.
 
scottdave said:
Ok. I just wasn't sure what you were asking. Yes it is still 2nd order as you have q' is I and i' is q''. If current is flowing into the positive end of a device, then that device is using energy. If current is flowing out of the positive terminal, then the device is providing energy, if that helps you.
Okay, so in that case it'd be minus then. So:
i'' + 10i' - 25i = 0
s^2 + 10s - 25 = 0
s = -10/2 +/- sqrt(100-4(-25))/2
s = 5 +/- sqrt(200)/2
s = 12.071 or -2.0711

i(t) = Ae^(12.071t) + Be^(-2.0711t)
i(0) = 3 = A + B
B = 3 - A

Now:
10 - 5 + i' = 10
i' = 5

i'(t) = 12.071Ae^(12.071t) - 2.0711Be^(-2.0711t)
i'(0) = 5 =12.071A - 2.0711B
5 = 12.071A - 2.0711(3-A)
5 = 12.071A - 6.2133 + 2.0711A
11.2133 = 14.1421A
A = 0.7929
B = 3 - 0.7929 = 2.2071

i(t) = 0.7929e^(12.071t) + 2.2071e^(-2.0711t)

The problem is, this makes no sense. As t approaches infinity, the problem will approach infinity, but just by looking at the circuit I can tell it should approach 0.
 
You know it needs to be a damped oscillation, but you are not getting that (in fact the exponential has positive exponent, which is an unstable system). So you know you have a problem somewhere.

When you take the Laplace Transform of the second derivative, you get
L(i’’(t)) = s²*I(s) – s*i(0) – i’(0)
Laplace of the first derivative is L(i’(t)) = s*I(s) – i(0)
See this:
http://mathfaculty.fullerton.edu/mathews/c2003/laplacetransformmod.html
You already determined that i(0) = 3 A, but that is not reflected in your formulas.
 
At first I think the voltage across capacitor VC=q/C. Since q=qo-integral(idt)|t=0 to t the voltage drop in the last loop has to be :
Ldi/dt+Ri+[(qo-integral(idt)]/C+10=0 then take the derivate:
Li”+Ri’-i/C=0
The solution-see the attached link-will be i=Ae^(x1.t)+Be^(x2.t) and if i=0 for t=infinite
Then A=0
Solve the above equation by using y=Be^(x2.t) for t=0 y=B and find the B
https://www.wikihow.com/Solve-Differential-Equations
 
Correction:
Since eventually the voltage across the capacitor has to be 10 V the correct capacitor charge will be:
upload_2017-10-31_8-2-54.png

Then the voltage drop equation has to be:
upload_2017-10-31_7-58-38.png
 

Attachments

  • upload_2017-10-31_7-58-38.png
    upload_2017-10-31_7-58-38.png
    678 bytes · Views: 473
  • upload_2017-10-31_8-0-1.png
    upload_2017-10-31_8-0-1.png
    458 bytes · Views: 480
  • upload_2017-10-31_8-1-10.png
    upload_2017-10-31_8-1-10.png
    458 bytes · Views: 458
  • upload_2017-10-31_8-2-54.png
    upload_2017-10-31_8-2-54.png
    690 bytes · Views: 465
If we take 10 V [of the voltage source] as positive the initial Vc=-5 V.[qo=-5*.04] .The integral i.dt has to be in the limits 0 and t.
 
  • #10
I think you-almost-solved the problem. You have only to revise some points.
The voltage on capacitor terminal before switch opening is +5 volt-indeed as you said. At t=infinite the voltage will be -10 volt. At first qo=5*.04=0.2 coulomb will decrease up to 0 and the current will continue to flow in the same direction.
If we'll consider the last -10 V as positive [+10 V] then qo=-0.2 coulomb. So the KVL in the loop will be:
L.i'+10*i+[-0.2+(∫i/dt)]|t=0 to t]/C=10
upload_2017-11-1_8-15-33.png

L.i''+10*i'+i/C=0
s1,2=[-10+/-√(100-4/.04)]/2
upload_2017-11-1_8-16-33.png

s1=s2=-5
i=Io.e^(-5.t) i'=-5.Io.e^(-5.t) (∫i/dt)|t=0 to t|=(-1/5.e^(-5.t)+1/5).Io
if t=0 -5.Io+10.Io-0.2/0.04=10 5.Io=15 Io=3
i=3.e^(-5.t)
Check:
t=infinite q(infinite)= -5*0.04+(-0+3/5)=0.4 Vc=0.4/.04=10 V
 

Attachments

  • upload_2017-11-1_8-15-33.png
    upload_2017-11-1_8-15-33.png
    774 bytes · Views: 446
  • upload_2017-11-1_8-16-33.png
    upload_2017-11-1_8-16-33.png
    639 bytes · Views: 495

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K