Engineering RC Circuit with Current Source: Is This Solution Correct?

AI Thread Summary
The discussion revolves around analyzing an RC circuit with a current source and determining the correct voltage and current equations. Initially, when the switch is closed, the capacitor acts as a short circuit, and the voltage drop across the 20k resistor is calculated to be 150V. As time progresses, the capacitor charges, leading to an exponential increase in its voltage and a decrease in current through the circuit. Participants clarify that the time constant for the circuit should consider the equivalent resistance of both resistors when the capacitor is charging. The conversation emphasizes the importance of understanding circuit behavior over time and the correct application of circuit analysis techniques like source transformation and Thevenin's theorem.
goonking
Messages
434
Reaction score
3

Homework Statement


FUHimw2.jpg


Homework Equations

The Attempt at a Solution


so when t=0, the capacitor is a closed circuit.

The Req of the circuit is (20k)(30k)/(20k+30k)= 12000 ohms.

U = I Req = (7.5x10-3A) (12000 ohms) = 90 Volts

so there is a voltage drop of 90 volts across the 20k resistor (R1), when t=0.
RC= Req C = (12000 ohms) (0.1 x10-6F) = 0.0012 sec
∴ UR1= Uo (e-t/RC) = UR1= 90V (e-t/0.0012)Ok, so then the current flowing through the capacitor would be the same current flowing through the 30k resistor when t=0.

Using current division, 7.5x10-3A [20 / (20+30)] = 0.003 A

iC1 = io (e-t/RC) = (0.003A)(e-t/0.0012)

This is my final answer, I've erased my initial attempt as it was wrong. Could someone verify if this is correct?
 
Last edited:
Physics news on Phys.org
goonking said:

Homework Statement


FUHimw2.jpg


Homework Equations

The Attempt at a Solution


So when the switch is closed, it becomes a dc circuit, and under dc conditions, we replace each capacitor with an open circuit:
https://www.physicsforums.com/attachments/101015

Now all the current from the source is going through the 20k ohm resistor, so the voltage drop there is

I R = (0.0075 A) (20,000 ohm) = 150 V

since the capacitor is in parallel with the 20k ohm resistor, the voltage drop on it also is 150 V

Therefore, Ucapacitor = ε [ 1 - e-t/RC]
but ε = I R = (0.0075 A) (20,000 ohm) = 150 V
and RC = (20,000Ω) (0.1x10-6F) = 0.002

∴ Ucapacitor = (150) [ 1- e-t/0.002]
The capacitor is initially uncharged. The voltage across it is zero at t=0. That's like a short circuit, not an open circuit.
 
SammyS said:
The capacitor is initially uncharged. The voltage across it is zero at t=0. That's like a short circuit, not an open circuit.
If it is a short circuit, then my drawing is wrong? :(

So a capacitor only behaves as a open circuit when it is fully charged?
 
goonking said:
If it is a short circuit, then my drawing is wrong? :(

So a capacitor only behaves as a open circuit when it is fully charged?
Yes. This is when current ceases to flow through the capacitor, like the case for an open circuit.
 
SammyS said:
Yes. This is when current ceases to flow through the capacitor, like the case for an open circuit.
Ok, so then the current flowing through the capacitor would be the same current flowing through the 30k resistor when t=0.

Using current division, 7.5x10-3A ( 20 / (20+30)) = 0.003 A

RC = (30,000)(0.1 x 10-6) = 0.003 seconds

iC1 = io (e-t/RC) = (0.003A)(e-t/0.003)

or is RC not 0.003 because I had to use Req of the circuit before capacitor became fully charged?
 
so when t=0, the capacitor is a closed circuit.

The Req of the circuit is (20k)(30k)/(20k+30k)= 12000 ohms.

U = I Req = (7.5x10-3A) (12000 ohms) = 90 Volts

so there is a voltage drop of 90 volts across the 20k resistor (R1), when t=0.
RC= Req C = (12000 ohms) (0.1 x10-6F) = 0.0012 sec
∴ UR1= Uo (e-t/RC) = UR1= 90V (e-t/0.0012)

assuming this is correct, my answer to the previous post should be:
iC1 = io (e-t/RC) = (0.003A)(e-t/0.0012)
 
goonking said:
UR1= Uo (e-t/RC) = UR1= 90V (e-t/0.0012)
This means voltage across R1 is exponentially decreasing. Is it? Think about the steady state of this circuit. Which quantities become zero in the steady state here?
 
cnh1995 said:
This means voltage across R1 is exponentially decreasing. Is it? Think about the steady state of this circuit. Which quantities become zero in the steady state here?
so the capacitor has increasing voltage across it over time, and decreasing current across it, so when current decreases, R2 will have less current passing through it... and since we have a current source, we have a constant flow of current flowing through it, therefore all the current (or most) overtime will have to flow through R1 once the capacitor is fully charged (where it becomes open circuit)

applying ohms law, the voltage drop across R1 should be increasing.

Yeah... I'm having a harder time understanding/remembering the equations than understanding the concepts. :H

The voltage drop across R1 should be (7.5 mA) (20k ohms) = 150 V.
but I'm having trouble obtaining an equation that equates to 150V when t → ∞
 
Last edited:
goonking said:
so the capacitor has increasing voltage across it over time, and decreasing current across it, so when current decreases, R2 will have less current... and since we have a current source, we have a constant flow of current, therefore all the current (or most) overtime will flow through R1...

applying ohms law, the voltage drop across R1 should be increasing.
Right. Have you studied source transformation? It would be easier.
 
  • #10
cnh1995 said:
Right. Have you studied source transformation? It would be easier.
No, I'm in an intro class, and we haven't even (or just started) AC circuits.
 
  • #11
goonking said:
No, I'm in an intro class, and we haven't even (or just started) AC circuits.
Ok but source transformation means converting current source into voltage source.
You can replace a current source of magnitude I with parallel resistance R with a voltage source of magnitude I*R with the same resistance R in series. This way, you'll end up with a simple RC circuit with two resistors in series with a capacitor and a voltage source.
images.png
 
  • #12
goonking said:
The voltage drop across R1 should be (7.5 mA) (20k ohms) = 150 V.
but I'm having trouble obtaining an equation that equates to 150V when t → ∞
Initial current through the capacitor will be 30mA and that through R1 is 20mA, as you calculated earlier. Now, voltage across R2 decays to 0 exponentially and voltage across R1 increases to 150V exponentially. Also, capacitor voltage increases exponentially to 150V. Using the source transformation, you'll get the expression for ic(t). You can use it in the original circuit to find i1(t) and U1(t).
 
  • #13
cnh1995 said:
Initial current through the capacitor will be 30mA and that through R1 is 20mA, as you calculated earlier. Now, voltage across R2 decays to 0 exponentially and voltage across R1 increases to 150V exponentially. Also, capacitor voltage increases exponentially to 150V. Using the source transformation, you'll get the expression for ic(t). You can use it in the original circuit to find i1(t) and U1(t).
I'm trying to answer it without using source transformation, I know it'd be easier but we haven't covered it yet in class.
 
  • #14
goonking said:
I'm trying to answer it without using source transformation, I know it'd be easier but we haven't covered it yet in class.
Ok. How about Thevenin's theorem? Have you covered it yet?
 
  • #15
cnh1995 said:
Initial current through the capacitor will be 30mA and that through R1 is 20mA, as you calculated earlier. Now, voltage across R2 decays to 0 exponentially and voltage across R1 increases to 150V exponentially. Also, capacitor voltage increases exponentially to 150V. Using the source transformation, you'll get the expression for ic(t). You can use it in the original circuit to find i1(t) and U1(t).
UR1(t) = [Is - IC1(t)]/ 20kΩ

Plugging in IC1(t)] from what I found before:UR1(t) = [Is - io (e-t/RC) ]/ 20kΩ = [Is - (0.003A) (e-t/0.0012) ]/ 20kΩ
 
  • #16
cnh1995 said:
Ok. How about Thevenin's theorem? Have you covered it yet?
Nope. we are low on options haha, sorry.
 
  • #17
goonking said:
UR1(t) = [Is - IC1(t)]/ 20kΩ
This is the right expression.
Edit: Oh dear! How did I miss that..:-p V=IR and not I/R...
goonking said:
iC1 = io (e-t/RC) = (0.003A)(e-t/0.0012)
The time constant is incorrect.
 
Last edited:
  • Like
Likes goonking
  • #18
cnh1995 said:
This is the right expression.

The time constant is incorrect.

I didn't derive this equation, I just thought for a bit and this equation made sense.
How would one derive this?I wasn't sure if I had to use the resistors of R2 (the resistor it was in series with, so they have the same current) or Req of the circuit when the capacitor was short.

would I be wrong if I said Time constant for a circuit = (Req) (Ceq)? (assuming there were more than 1 capacitor)
 
  • #19
goonking said:
RC = (30,000)(0.1 x 10-6) = 0.003 seconds

iC1 = io (e-t/RC) = (0.003A)(e-t/0.003)
 
  • #20
No. The time constant considers both R1 and R2. How are they connected when you open the current source?
 
  • #21
cnh1995 said:
No. The time constant considers both R1 and R2. How are they connected when you open the current source?
the capacitor, and both resistors would be in series.
 
  • #22
goonking said:
the capacitor, and both resistors would be in series.
Right! So what would be your time constant?
 
  • #23
cnh1995 said:
Right! So what would be your time constant?
it would be the Req of the two resistors.

but in this case, the R in time constant = RC is 30,000 ohms? because it is in series with the capacitor, thus having the same current as the current flowing through the capacitor.
 
  • #24
goonking said:
it would be the Req of the two resistors.

but in this case, the R in time constant = RC is 30,000 ohms? because it is in series with the capacitor, thus having the same current as the current flowing through the capacitor.
But the current (and rate of change of current)through the capacitor also depends on R1. Change R1 and verify. Current division changes with R1. Voltage across the capacitor also depends on R1. Also, using source transformation, the circuit will look like this:
150V source in series with 20k and 30k and the capacitor. This means R1 and R2 are in series when it comes to time constant calculation. Open the current source and short the voltage source and see how the elements are connected.
 
  • #25
goonking said:
would I be wrong if I said Time constant for a circuit = (Req) (Ceq)? (assuming there were more than 1 capacitor)
No. That's right!
 
  • Like
Likes goonking
  • #26
cnh1995 said:
No. That's right!
So what equations did you get for U1(t) and Ic(t)?
 
  • #27
cnh1995 said:
So what equations did you get for U1(t) and Ic(t)?
iC1(t) = io (e^-t/RC) = (0.003A)(e^-t/0.003)U1(t) = [Is - iC1(t)] 20k
 
  • #28
goonking said:
iC1(t) = io (e^-t/RC) = (0.003A)(e^-t/0.003)
Req=50k as discussed earlier..
 
  • #29
cnh1995 said:
Req=50k as discussed earlier..
when the capacitor is short, the Resistors are in parallel so the Req is 20x30 / 50 = 12k ohms.
when the capacitor is fully charged, and is open, only R1 has current flowing through it, so Req is just 20k ohms.
I'm still having trouble understanding if the R in RC equal to the Req when t=0 or when the capacitor is fully charged.
The only way Req would be 50k if is the 2 resistors are in series, and that is only possible when the current source is open, but the question doesn't state the current source is disconnected after the capacitor is fully charged.Unless I'm misunderstanding something, I'll reread the past posts again.
 
  • #30
goonking said:
when the capacitor is short, the Resistors are in parallel so the Req is 20x30 / 50 = 12k ohms.
when the capacitor is fully charged, and is open, only R1 has current flowing through it, so Req is just 20k ohms.
I'm still having trouble understanding if the R in RC equal to the Req when t=0 or when the capacitor is fully charged.
The only way Req would be 50k if is the 2 resistors are in series, and that is only possible when the current source is open, but the question doesn't state the current source is disconnected after the capacitor is fully charged.Unless I'm misunderstanding something, I'll reread the past posts again.
Ok. It would be clearer once you try it using source transformation or Thevenin's theorem, after you cover them in the class.
 
  • Like
Likes goonking
  • #31
cnh1995 said:
But the current (and rate of change of current)through the capacitor also depends on R1. Change R1 and verify. Current division changes with R1. Voltage across the capacitor also depends on R1. Also, using source transformation, the circuit will look like this:
150V source in series with 20k and 30k and the capacitor. This means R1 and R2 are in series when it comes to time constant calculation. Open the current source and short the voltage source and see how the elements are connected.
ok, having done some reading on source transformation, i think the part that probably confused me a bit more than it should have, was the source was a current source and not a voltage source.

So yes, after source transformation, it would be a 150 volt battery in series with 20k and 30k resistors, and the capacitor.

then Req would be 20k+30k
 
Last edited:
  • #32
goonking said:
except at the end, you mention to open the current source, does that mean the current source becomes open right after the capacitor is fully charged?
To calculate the equivalent resistance, the current source is open circuited. This equivalent resistance will be the Thevenin resistance viewed from the capacitor terminals. If there were a voltage source instead of the current source, it would be shorted.
 
  • #33
cnh1995 said:
To calculate the equivalent resistance, the current source is open circuited. Equivalent resistance will be the Thevenin resistance viewed from the capacitor terminals. If there were a voltage source instead of the current source, it would be shorted.
very interesting, so whenever there is a current source, and we need to find Req, we need to open the current source.

and when we have a voltage source, and we need to find Req, we need to short the volt source.

What is the reason for this? I didn't learn thevenin's theorem yet.
 
  • #34
goonking said:
very interesting, so whenever there is a current source, and we need to find Req, we need to open the current source.

and when we have a voltage source, and we need to find Req, we need to short the volt source?
Yes, provided that Req is Thevenin resistance. It will be clearer to you when you'll learn network theorems such as Thevenin, Norton and Superposition.
 
  • #35
goonking said:
What is the reason for this? I didn't learn thevenin's theorem yet.
To calculate equivalent resistance between a and b, you need to consider a source-free network. In fact, Req between a and b is that resistance which is seen by a voltage (or current) source connected between a and b. That voltage source is called Thevenin voltage. It is computed using KVL and the existing sources in the network. Once you get Vth, all the existing sources are removed because you are now viewing the circuit from the terminals a and b and you have found the resultant voltage between a and b due to all the sources present in the network. So, to remove a voltage source, it is shorted, meaning it won't supply any voltage and opening the current source means it won't supply any current.
 
  • #36
iC1(t) = io (e^-t/RC) = (0.003A)(e^-t/0.005)

U1(t) = [Is - iC1(t)] 20k

are the answers then.

Suppose the question also asks for the IR1(t)

and UC1(t)

how would the equations look like? The voltage on the capacitor will be exponentially increasing and the current through R1 will be exponentially increasing too.

UC1(t) = Uo (1 - e^-t/RC) = IR(1 - e^-t/RC) = (0.003A)(30000ohms)(1 - e^-t/(0.005)

IR1(t) = Io ( 1 - e^-t/RC) = (I V) 1 - e^-t/RC) = [0.0045A * 90V](1 - e^-t/(0.005)
?
 
  • #37
goonking said:
UC1(t) = Uo (1 - e^-t/RC) = IR(1 - e^-t/RC) = (0.003A)(30000ohms)(1 - e^-t/(0.005)

IR1(t) = Io ( 1 - e^-t/RC) = (I V) 1 - e^-t/RC) = [0.0045A * 90V](1 - e^-t/(0.005)
Those equations give zero current at t=0.
Your earlier expression for Ic(t) was right, except for the time constant. Use it to find U1(t).
goonking said:
U1(t) = [Is - iC1(t)] 20
 
  • #38
cnh1995 said:
Those equations give zero current at t=0.
Your earlier expression for Ic(t) was right, except for the time constant. Use it to find U1(t).

IR1(t) = [Is - iC1(t)] = [7.5x10^-3 A] - [(0.003A)(e^-t/0.005)]

so when t is a high number, all the current flows through R1.
 
  • #39
goonking said:
IR1(t) = [Is - iC1(t)] = [7.5x10^-3 A] - [(0.003A)(e^-t/0.005)]

so when t is a high number, all the current flows through R1.
Right! Multiplying it with 20k will give you U1(t)..
 
  • #40
cnh1995 said:
Those equations give zero current at t=0.
Your earlier expression for Ic(t) was right, except for the time constant. Use it to find U1(t).
oops, made an error

IR1(t) = Io ( 1 - e^-t/RC) = ( 7.5x10^-3 A) ( 1 - e^-t/RC) = ( 7.5x10^-3 A) ( 1-e^t/0.005)

I got confused, didn't know if Io was the current at t=0 from the current source or the current going through the R1 resistor at t=0.

only way the equation makes sense is if Io is the current source which is 7.5x10^-3
 
  • #41
anywhoo, after reading some problems online, many of them like to have a "chart" or write down what exactly is happening when t→ -∞ , t = 0 , and t →∞
it probably helps organize things a bit so I will try that approach for this problem too, and hopefully refine my understanding a bit more.

For t → -∞
The switch is open, therefore no current flows through the capacitor and R2:
IC1(-∞) = 0 A

IR1(-∞) = 7.5 x 10-3 A ∴ UR1(-∞) = Isource * R1 = (0.0075 A) (20,000Ω) = 150 V

_____________________________________________________________

For t = 0

The switch is now closed.

Voltage across the capacitor is 0 ∴ Q = VC = (0)C = 0, there is no charge on the capacitor at t = 0
Capacitor is closed, current is flowing through: IC1(0) = [20 / (20+30)]* 7.5 x 10-3 A = 0.003 A

Current through R1 is 0.0045A: IR1(0) = 0.0045 A ∴ UR1(0) = ( 0.0045 A) (20,000 Ω) = 90 V

(but capacitor is parallel to R1, therefore voltage across it must be 90 too, but we stated before voltage across capacitor is 0! :oops: (unless this just means the MAX possible voltage across the capacitor is 90 V, can someone clarify this?)

_______________________________________________________________

For t→ ∞
The switch is STILL closed.
The capacitor is fully charged, there is no current flowing through it so it becomes open.
IC1(∞) = 0 A
and voltage across it should be max? aka 90V? UC1(∞) = 90 V ?

All the current from the current source should be flowing through R1: IR1(∞) = 7.5 x 10-3 A
∴ UR1(∞) = Isource * R1 = (0.0075 A) (20,000Ω) = 150 V
___________________________________

the question asks to find expressions for IC1(t) and UR1(t) for t ≥ 0+ (does this mean I would need the time constant , RC, with R being the equivalent resistance in the circuit WHEN the switch is JUST closed? (but that isn't what we established earlier, Req needs to be 50k ohms)

Looking at Req when t <0 , switch is open, Req is just R1, Req = 20k ohm
Req when t =0, switch is closed, current is flowing through R1 and R2, Req = 20k*30k / 50k = 12k ohms
Req when t > 0, switch is still closed, but capacitor is fully charged, therefore it becomes open, now we are back to all current flowing through R1, Req = 20k ohm

The only way Req = 50k ohms is when current source is open (which is when the capacitor is in series with R1 and R2, and supplying them two resistors with energy), but I don't understand why it would just open (unless it requires me to know about thevenin's theorem, but I'm trying to understand this problem with elementary principles) would greatly appreciate if someone can point out the flaws in my thought process/logic.
 
  • #42
Going through the textbook, I found an example problem is similar to the one in OP.
upload_2016-5-21_19-19-51.png

___________________________________________
So in this problem, once the switch is closed, the voltage source becomes shorted. Then Req is solved.

I can see it now, in my problem, once the switch is closed, the source, since it was a current source, becomes open, then C1 , R1, and R2 are in series.
Then Req = 50k ohms.

So basically, the only time to solve for time constant is when the switch is closed, all voltage sources become shorted,and all current sources become open, then we solve for Req accordingly.:eek:
 
  • #43
goonking said:
IR1(t) = Io ( 1 - e^-t/RC) = ( 7.5x10^-3 A) ( 1 - e^-t/RC) = ( 7.5x10^-3 A) ( 1-e^t/0.005)
It still gives zero current at t=0.
This expression for Ic is right.
goonking said:
iC1(t) = io (e^-t/RC)
I1=Is-Ic...
 
  • #44
goonking said:
but I don't understand why it would just open (unless it requires me to know about thevenin's theorem, but I'm trying to understand this problem with elementary principles)
Equivalent resistance of a network between a and b is nothing but the Thevenin resistance of the network viewed from the terminals a and b. One way to convince yourself that R1 and R2 are in series is to find the "discharging" time constant, since charging time constant=discharging time constant(numerically, although the definitions differ). For the capacitor to discharge, current source should be opened i.e. existing sources should be removed.
 
  • #45
After learning a bit about thevenin and norton circuits , this problem has become easier to visual.

cnh1995 said:
For the capacitor to discharge, current source should be opened i.e. existing sources should be removed.

I understand this now but in this case (after a long period and the capacitor is full charged) , the switch is never opened again after it was closed, so the capacitor will never discharge and the voltage across it will remain 90 V.

Correct?
 
  • #46
goonking said:
so the capacitor will never discharge and the voltage across it will remain 90 V.
It will remain 150V.
 
  • Like
Likes goonking
  • #47
goonking said:
anywhoo, after reading some problems online, many of them like to have a "chart" or write down what exactly is happening when t→ -∞ , t = 0 , and t →∞
Usually the times consided are t=0- (just before the switch changes), t=0+ (immediately after the switching occurs), and t→∞ (the final equilibrium).

Current through R1 is 0.0045A: IR1(0) = 0.0045 A ∴ UR1(0) = ( 0.0045 A) (20,000 Ω) = 90 V

(but capacitor is parallel to R1, therefore voltage across it must be 90 too, but we stated before voltage across capacitor is 0! :oops:
Not correct. It is the combination R2-C which is parallel to R1, so at t=0+ the 90V is across that series pair R2-C, not across C only. With the voltage across C being zero, it leaves all 90V across R2 at this moment.

The only way Req = 50k ohms is when current source is open (which is when the capacitor is in series with R1 and R2, and supplying them two resistors with energy), but I don't understand why it would just open (unless it requires me to know about thevenin's theorem, but I'm trying to understand this problem with elementary principles) would greatly appreciate if someone can point out the flaws in my thought process/logic.
The current source doesn't open.

It is undoubtedly easiest to explain using Thévenin's theorem why ##\tau##=(R1+R2)C for the capacitor charging. But you can still get a feel for why it must be if you consider the influence of R1 on the charging rate of C. The effect of lowering resistance R1 is to divert more of the current away from the capacitor, thereby slowing down the charging rate of the capacitor. In the calculations a slowing in the charging rate can be accounted for by a larger effective R, and mathematically you arrive at this using R1+R2 but not R1 || R2.

(The picture is further complicated because R1 also changes the voltage towards which the capacitor is charging.)
 
Back
Top