• Support PF! Buy your school textbooks, materials and every day products Here!

RC circuit-general questions

  • Thread starter pyroknife
  • Start date
  • #1
613
3
Let's say you have a circuit with a resistor, capacitor and voltage source and a switch.
I got a few questions.
1. The instant the switch is closed, the voltage drop would all be across the resistor right?
2. After a long time the switch is closed, the current would approach 0 and the voltage drop would be all across the capacitor?

The above is charging a capacitor.
Below is discharging
If we have the same circuit, except that the switch was initially closed for a long time then opened.
1. The voltage the instant the switch is opened would be all across the capacitor still right?
2. After a longtime when, the charge on the capacitor has diminished, how would you calculate the current/voltage across the resistor?
 

Answers and Replies

  • #2
cepheid
Staff Emeritus
Science Advisor
Gold Member
5,192
35
Let's say you have a circuit with a resistor, capacitor and voltage source and a switch.
I got a few questions.
1. The instant the switch is closed, the voltage drop would all be across the resistor right?
2. After a long time the switch is closed, the current would approach 0 and the voltage drop would be all across the capacitor?
It sounds like you're talking about a series RC circuit, from the context. Let's say that we start with the switch open and placed in such a way that it interrupts the connection between the voltage source (battery or whatever) and the resistor and capacitor. Let's says also that the voltage source has a voltage of V0. If, at time t = 0, we close the switch, then the voltage across the capacitor vs. time is given by the function

[tex] v_C (t) = V_0 (1-e^{-t/RC}) [/tex]

If you plot this (e.g. look at 1-e-x on your graphing calculator or plotting computer program), you'll see that this starts at 0 and increases asymptotically to V0.

Since the voltage across the resistor and the voltage across the capacitor have to add up to the source voltage, the voltage across the resistor is given by:

[tex] v_R (t) = V_0 - v_c (t) [/tex]

[tex] = V_0e^{-t/RC} [/tex]

You can see that this starts at V0 and decays asymptotically to 0. So, your statements (1 and 2) are correct!

The way to derive the function for the capacitor voltage above is to start with KVL (sum of voltages around a closed loop must equal zero):

[tex] V_0 - v_C(t) - v_R(t) = 0 [/tex]

[tex] v_C(t) + v_R(t) = V_0 [/tex]

Now, since V = q/C for a capacitor, where q(t) is the charge on the capacitor (which is a function of time in this case) and also since Ohm's law says the voltage drop across a resistor is iR where i(t) is the current in the circuit (a function of time here), the equation above becomes:

[tex] \frac{q(t)}{C} + i(t)R = V_0 [/tex]

Noting that i = dq/dt by definition, this equation becomes:

[tex] \frac{dq}{dt} + \frac{q(t)}{RC} = \frac{V_0}{R} [/tex]

If you solve this differential equation for q(t) and then note that q = CvC, you'll get the result that vC(t) is equal to what I wrote in the very first equation above.
 
Last edited:
  • #3
cepheid
Staff Emeritus
Science Advisor
Gold Member
5,192
35
The above is charging a capacitor.
Below is discharging
If we have the same circuit, except that the switch was initially closed for a long time then opened.
1. The voltage the instant the switch is opened would be all across the capacitor still right?
2. After a longtime when, the charge on the capacitor has diminished, how would you calculate the current/voltage across the resistor?
Well, if you open the switch, the charge on the capacitor has nowhere to go (because it's an open circuit) and so nothing happens. However, if you then introduce a wire to bypass the voltage supply by connecting the resistor directly to the capacitor (so that the circuit now consists of only R and C in series), then the capacitor will discharge through the resistor. Starting with KVL:

[tex] v_R(t) = -v_C(t) [/tex]

Or:

[tex] i(t)R =- \frac{q(t)}{C}[/tex]

[tex] \frac{dq}{dt} = -\frac{q}{RC} [/tex]

Solving this differential equation (which is easier than the one in my previous post, because it is separable), and assuming that the capacitor starts out with charge CV0 at t = 0, you get:

[tex] q(t) = CV_0e^{-t/RC} [/tex]

The current as a function of time i(t) will just be the derivative of this.
 
  • #4
NascentOxygen
Staff Emeritus
Science Advisor
9,243
1,068
Let's say you have a circuit with a resistor, capacitor and voltage source and a switch.
I got a few questions.
1. The instant the switch is closed, the voltage drop would all be across the resistor right?
Yes, providing there was no initial charge on the capacitor.

2. After a long time the switch is closed, the current would approach 0 and the voltage drop would be all across the capacitor?
Yes.

The above is charging a capacitor.
Below is discharging
If we have the same circuit, except that the switch was initially closed for a long time then opened.
1. The voltage the instant the switch is opened would be all across the capacitor still right?
You arrange this as a series circuit without the battery, I suppose you mean? If so, the capacitor has the full voltage across it, and the switch places all of this across the resistor. So immediately after the switch is closed, called t=0+ the resistor has a voltage across it equal to the capacitor's fully-charged voltage.

2. After a longtime when, the charge on the capacitor has diminished, how would you calculate the current/voltage across the resistor?
You don't have to wait a long time, you can calculate it at ANY time because it follows the exponential decay equation with a time constant = R.C seconds.
 
Last edited:

Related Threads for: RC circuit-general questions

  • Last Post
Replies
5
Views
421
  • Last Post
Replies
2
Views
1K
Replies
5
Views
2K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
4
Views
733
  • Last Post
Replies
16
Views
3K
  • Last Post
Replies
8
Views
861
  • Last Post
Replies
8
Views
3K
Top