How Does Opening a Switch Affect a Circuit with a Capacitor and Resistors?

Click For Summary
Opening a switch in a circuit with a capacitor and resistors affects the current and voltage dynamics significantly. Initially, when the switch is closed, the capacitor charges to a voltage determined by the circuit configuration, and the current is constant. Upon opening the switch, the left loop becomes shorted, and the current immediately after the switch opens (i(0+)) equals the current just before it opens (i(0-)). The capacitor then begins to discharge through the resistors, leading to a differential equation that can be solved using initial conditions and relationships between current, voltage, and resistance. Ultimately, the discussion emphasizes the importance of understanding the initial conditions and applying Kirchhoff's laws to derive the equations governing the circuit's behavior after the switch is opened.
  • #31
Ok that makes a lot more sense..


So basically I think i figured it out. Ths is what I did:


After opening the switch: I applied 2V to the right hand lop like you said and i get THIS equation:



2 + R1 + i(t) + 1/c integral(0-> infinity) i(t) dt = 0

BUT WE KNOW that i(T) = e^-t/R(C+1)

So we plug that in for i(t) and integrate from 0->inifnity and we end up geting

2 + R1 + i(t) - R(c+1)/c = 0

BUT because this is AFTER we open switch, we know that i(t) has to EQUAL 0, because i(0-) = 0.

SO equation becomes:

2 + R1 - R(c+1)/c = 0


We can solve the top equation and we end up getting:
2C = R


Now we have a R-C relationship. We plug thisback into our old equation:

Eq 1) R(c+1) = 2/10^-6
Eq 2) 2C = R

Plug both of them in:

We end up getting a quadratic equation and I end up finding C and R as:


C = 1/10 (5 +- sqrt(26)

and since R = 2C

R = 1/ (5 +- sqrt(26))

But which do we take? the Plus orthe Minus? I am assumnig Positive value because we want it to be positive/higher?

Not sure if this is correct, but it feels right.

Let me know!
THX FOR UR HELP AGAIN@!
 
Physics news on Phys.org
  • #32
As you have now figured out with the help Rude Man, after the switch has been closed for a long time, there are 2V stored in the capacitor. As soon as the switch is opened up, the capacitor discharges through R and R1. With this you have all the information you need to solve for R.

You had obtained the equation for the current through the circuit earlier: i(t)=K*e(-t/RC), where R is R+R1. Knowing the initial voltage across the cap, and the current flowing through te circuit at t=0+, you can determine K, and therefore the value of R.

With the second piece of information given to you in the problem, you can now solve for C. You are given the resistance of R1 and you have the equation of the curren tflowing through it as function of time. Since VacrossR1=I*R1, VacrossR1(t)=K*e(-t/RC)*R1. you can now solve this equation for t=2usecs.

hope this helps...
 
  • #33
my value for i(t) is actually K*e^(-t/(R1(C+1)) where K = 1.

Not sure how you got C(R1+R) under the divider?

ANyways, can you look at my previous post and see if I did it correctly. thanks
 
  • #34
K has to have some physical meaning...in this case the current at t=0+.
The only way the circuit can produce the 1A at t=0, given that the capacitor has been charged up to 2V, is to divide that voltage by the total resistance in the circuit (after the switch is open) through which the capacitor discharges.

so, K=Vcapat t=0/(R1+R). You're right that K must equal 1...but the 1 has to have physical meaning -- it is not just a unitless number -- it is 1amp.

By the way, your equation should be : i(t)=K*e-t/((R1+R)C), for t>0...since the capacitor discharges through both resistors.

Keep at it...it will come to you...

sorry if I'm unclear or too cryptic, I'm struggling a little bit between providing responses that help you think through the problem so you can understand what's going on and figure it out, and just "giving it away" in trying to explain the solution.
 
  • #35
You are right, it should be C(R+R1), i had a typo. But also we are given that R = 1 ohm, so I just replaced it in the equation to get C(R1+1).

So now that we have i(t),
we need another equation to relate R and C after switch is open.

We know that before switch is open, 2V is stored in the capacitor and i(0-) is 0.

So rudeman told me that we can basically connect the 2V to the right circut @ t =0 to get a new equation.

So an equation would be:

2 + R1 + i(t) + 1/c integral (0 to infinity) of i(t)

and the i(t) on the left is essentially 0 because i(0-)= 0 = i(0+)

is this correct?

then we solve 2 equations 2 unknowns for R,C ?
 
  • #36
The problem stated that the switch had been previously closed for a while (at rest). So, the cap has been charged to 2V (the same as the source), and there is no more current flowing through the cap.

Then, the switch was opened. The circuit became a "source free" circuit analysis problem, and if you recall, you wrote the equation for i(t) flowing through the circuit at this time using KVL ("the sum of all the voltage drops equals the sum of all the voltage rises in the loop"). Ie.

1/c∫idt +v(0)-i(R+R1)=0.

(notice how all the terms in the equation above a in units of volts, term 1= volts across capacitor, v(0)=initial voltage across capacitor, and term 3=voltage drop across resistors --always good to verify units are consistent in any equation).

You then solved this differential equation which gave you the result in the form of i(t)=K*e-t/((R1+R)C).

At this point, you have an equation that describes the flow of current in the circuit from the time the switch is open to eternity(while the switch remains open) This is all you need.


From the initial conditions, you can solve for R as I stated in a previous post, since you know the voltage stored in the cap (and the voltage in a capacitor cannot change instantaneously) and you know the value of R1, and the measured current in the loop, 1 amp.

Then, from i(t)=K*e-t/((R1+R)C)
(you know the value of K (1amp),and now the value of R as computed from the initial conditions), you can solve or C at t=2usecs.
 
Last edited:
  • #37
OK that makes a lot more sense

SO since voltage across capacitor is 2V

We can set this equation for after short is open1/c integral (0 to infinity) of i(t) = 2when i integrate the first one.. I stil have 2 unknow variables, C and R1. how do I get rid of one of them?

i don't know the value of R1

EDIT:
is R1 just 0 since there is NO drop across it?? when C is fullycharged to 2v?

so if i set R1 to 0 in that integration i would get C = 1/2?
 
Last edited:
  • #38
jrive has summed it up very nicely and I'm handing this over to him.
 
  • #39
there's nothing to integrate...you have the equation, i(t)=Ke-t/((R+R1)C).

at t=0, i(t)=K; K=1amp. But, 1 Amp flows because there are 2V stored on the cap and you have a discharge path through the 2 resistors. So,

2V/(R+1ohm)=1, solve for R.

Now,
i(t)=i(t)=1e-t/((R+R1)C).

the only unknown is C.

You know that the voltage across a resistor is given by V=IR. Since i(t) flows through the resitor R1, mulitply i(t)*R1, equate it to 1/e and solve for C at t=2usec.
 
  • #40
I understand what you did but i still would appreciate it if you could explain afew things to me.

What exactly HAPPENS to this circuit when the switch is open? Also what does it mean to have a discharge path.

So basically I understand this:

Since the circuit has been at rest while switch is closed. Current is constant and the capacitor is fully charged to 2V. (I don't understand why i = 0 , shouldn't it still be a constant value ?)

Then once the switch opens.. what exactly happens to the circuit. Can you explain to me what a circuit behaves like when a switch is open/closed. What causes current to flow after a switch is open (didn't we say current was 0 right before switch was open?)Thank you for everything.

I ended up getting R1 = 1 and C = 1uF
 
  • #41
When the switch closes, the capacitor charges though the 1ohm resistor. After sometime (as determined bythis equation Vc=Vin(1-e(-t/(RC))) it is fully charged and since Vc=2V just like the source, current stops flowing through it. Resistor R, though, still conducts the current from the source to ground. However, there is no more current flowing through R1 and C.

When the switch opens, the voltage source in the circuit is now the capacitor, initially at 2V (since that is what it was charged to). So, the capacitor dicharges through the resistors to ground -- that means, current flows from the top terminal of the capacitor, charged to 2V with respect to the bottom terminal, through the resistors to the bottom terminal of the capacitor completing the loop.

As the current flows, the voltage across the capacitor discharges or decays. You can see that relationship when you apply vc=1/c ∫(-i*dt). The negative sign is just convention, since the current is flowing "out" of the capacitor. Remember that you had found i(t) as i(t)=Vinitial/R*e-t/(RC)), so, this intregral becomes Vc=Vinitial*e-t/(RC). So, as t gets bigger, the voltage across the capacitor decreases,eventually discharging the cap to 0V (0 V across the capacitor). No more current flows.

If you close the switch again, current begins to flow in two directions. 1 path is through R to ground. The other current path is through the 1ohm resistor and through the capacitor to ground charging the capacitor until the voltage across it matches the source. At that point, the capacitor is fully charged and current stops flowing through the capacitor. just as before, though, current is always flowing through resistor R while the switch is closed, sourced by the 2V voltage source.
 
  • #42
jrive said:
When the switch closes, the capacitor charges though the 1ohm resistor. After sometime (as determined bythis equation Vc=Vin(1-e(-t/(RC))) it is fully charged and since Vc=2V just like the source, current stops flowing through it. Resistor R, though, still conducts the current from the source to ground. However, there is no more current flowing through R1 and C.

When the switch opens, the voltage source in the circuit is now the capacitor, initially at 2V (since that is what it was charged to). So, the capacitor dicharges through the resistors to ground -- that means, current flows from the top terminal of the capacitor, charged to 2V with respect to the bottom terminal, through the resistors to the bottom terminal of the capacitor completing the loop.

As the current flows, the voltage across the capacitor discharges or decays. You can see that relationship when you apply vc=1/c ∫(-i*dt). The negative sign is just convention, since the current is flowing "out" of the capacitor. Remember that you had found i(t) as i(t)=Vinitial/R*e-t/(RC)), so, this intregral becomes Vc=Vinitial*e-t/(RC). So, as t gets bigger, the voltage across the capacitor decreases,eventually discharging the cap to 0V (0 V across the capacitor). No more current flows.

If you close the switch again, current begins to flow in two directions. 1 path is through R to ground. The other current path is through the 1ohm resistor and through the capacitor to ground charging the capacitor until the voltage across it matches the source. At that point, the capacitor is fully charged and current stops flowing through the capacitor. just as before, though, current is always flowing through resistor R while the switch is closed, sourced by the 2V voltage source.

thank you for that and your time! it's clear to me now. (:
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
Replies
7
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K