How Does an RC Circuit Behave During Charging and Discharging?

  • Thread starter pyroknife
  • Start date
  • Tags
    Rc
In summary: After a longtime when, the charge on the capacitor has diminished, how would you calculate the current/voltage across the resistor?Assuming the capacitor is discharged, you can calculate current by using Ohm's law and integrating over time:
  • #1
pyroknife
613
4
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?
 
Physics news on Phys.org
  • #2
pyroknife said:
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
pyroknife said:
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
pyroknife said:
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:
  • #5


I would like to clarify a few things about RC circuits.

1. The voltage drop across the resistor and capacitor will not be instant when the switch is closed. It will take some time for the capacitor to fully charge and for the current to reach a steady state. The rate at which the capacitor charges is determined by the values of the resistor and capacitor, as well as the voltage source.

2. After a long time, the current will indeed approach 0 and the voltage drop will be mostly across the capacitor. This is because the capacitor will become fully charged and will not allow any more current to pass through.

3. When the switch is opened after a long time, the voltage across the capacitor will still be present, but it will start to decrease as the capacitor discharges. The voltage across the resistor will also start to increase as the current flows through it.

4. The rate at which the capacitor discharges will also depend on the values of the resistor and capacitor. The larger the values, the longer it will take for the capacitor to fully discharge.

5. To calculate the current and voltage across the resistor during the discharging phase, we can use Ohm's Law (V=IR) and the equation for capacitance (Q=CV). We can also use Kirchhoff's laws to analyze the circuit and determine the current and voltage at any given time.

In summary, RC circuits are complex systems that involve the interaction between a resistor and capacitor. The behavior of these circuits can be understood through the principles of electricity and magnetism, and can be analyzed using various mathematical and physical models.
 

FAQ: How Does an RC Circuit Behave During Charging and Discharging?

1) What is an RC circuit?

An RC circuit is a type of electrical circuit that includes a resistor (R) and a capacitor (C). It is commonly used in electronic devices to control the flow of electric current.

2) What is the purpose of an RC circuit?

The purpose of an RC circuit is to filter and control the flow of electric current. It is often used to convert alternating current (AC) to direct current (DC) or to regulate the voltage in a circuit.

3) What is the time constant of an RC circuit?

The time constant of an RC circuit is the amount of time it takes for the capacitor to charge or discharge to 63.2% of its total voltage. It is calculated by multiplying the resistance (R) and capacitance (C) values.

4) How does a capacitor affect the behavior of an RC circuit?

A capacitor stores electric charge and can block or allow current to flow depending on its charge. In an RC circuit, the capacitor's charge and discharge cycles affect the flow of current through the circuit, creating a time delay or filter effect.

5) What is the difference between a series and parallel RC circuit?

In a series RC circuit, the resistor and capacitor are connected in a series, meaning the current flows through both components in a single path. In a parallel RC circuit, the resistor and capacitor are connected in parallel, meaning the current is divided between the two components. This results in different behaviors and calculations for each type of circuit.

Similar threads

Back
Top