Skip to main content
   
Logo image

Physics Bootcamp

Section 34.12 Capacitor Charging Circuit

To charge a capacitor we make the circuit shown in Figure 34.78 with a constant EMF source. In the diagram, a capacitor of capacitance \(C\) is in series with an EMF source of voltage \(V\text{.}\) The resistance \(R\) is the total resistance in the circuit and and a switch S is included to control the closing and opening of the circuit.
Figure 34.78. A capacitor-charging circuit.
Suppose that the capcitor is uncharged at time \(t=0\text{.}\) When switch S is closed, the EMF source sets up an elecrtic field in the circuit which causes electrons to flow in the wires. However, when electrons arrive at the negative plate of the capacitor, they cannot move to the positive plate since there is an insulator between the plates. Instead, the buildup of electrons on the negative plate repels electrons from the positive plate.
As charges build up on the capacitor, the elecrtric field of the charges on the capacitor completely cancels the electric field of the EMF source, ending the current flow. Capacitor becomes an open circuit with all the voltage \(V\) of the source dropping across the capcitor. We say that the capacitor is fully charged, with charge \(Q = C V\text{.}\)
By using Kirchhoff’s loop equation and solving that equation, I show below that charge at instant \(t\) on an initially uncharged capacitor is given by
\begin{equation*} Q(t) = CV \left[ 1- \exp{\left(-t/RC\right)} \right]. \end{equation*}
As \(t\rightarrow \infty\text{,}\) the second term goes to zero. That is, when the capacitor is fully charged, the final charge on the capacitor will be
\begin{equation*} Q_\text{final} = C V. \end{equation*}
This confirms that, in the end, all voltage of the EMF source drops across the capacitor. Function \(Q(t)\) also shows that it takes a time \(\tau = RC\) for the charge to reach \(( 1 - 1/e)\text{,}\) i.e., about two-thirds, of the final value. This is the same time we obtained for discharging of the capacitor. We might take this time to indicate that in time \(\tau\text{,}\) capcacitor is “sufficiently” charged.

Subsection 34.12.1 (Calculus) Equation of Motion for Charging a Capacitor

Consider the state of the circuit at some time \(t\text{.}\) Let \(\pm Q(t)\) be charges on the capacitor, whose formula we wish to determine. Let \(I(t)\) be the current in the circuit at this instant. The voltage drop across the capacitor, \(V_c\) will be given by the capacitor formula,
\begin{equation*} V_c = \frac{Q}{C}. \end{equation*}
Now, applying Kirchhoff’s loop rule in the loop \(a-b-c-a\text{,}\) we will get
\begin{equation*} -V_c - R I + V = 0. \end{equation*}
As current flows into the positive plate of the capacitor, charge \(Q\) on that plate increases. Therefore, we will have
\begin{equation*} I = \frac{dQ}{dt} \end{equation*}
From three equations above we obtain the following equation for rate of charge build-up.
\begin{equation} \frac{dQ}{dt} + \frac{Q}{RC} = \frac{V}{R}.\tag{34.55} \end{equation}
Suppose we started out with uncharged capacitor, then we seek solution of this equation with \(Q(0) = 0\text{.}\) By plugging the answer back into this equation, you can check that following function is the right solution of this equation.
\begin{equation} Q(t) = CV \left[ 1- \exp{\left(-t/RC\right)} \right].\tag{34.56} \end{equation}
How can we get this answer? Let us change variable in Eq. (34.55) to
\begin{equation*} f(t) = Q(t) - CV, \end{equation*}
Then, we will get
\begin{equation*} \frac{df}{dt} = \frac{dQ}{dt} - 0,, \end{equation*}
which can be transformed using Eq. (34.55) to
\begin{align*} \frac{df}{dt} \amp = - \frac{Q}{RC} + \frac{V}{R}, \\ \amp = - \frac{f + CV}{RC} + \frac{V}{R},\\ \amp = - \frac{f}{RC}. \end{align*}
That is \(f(t)\) obeys a simpler equation,
\begin{equation*} \frac{df}{dt} = - \frac{1}{RC}\, f, \end{equation*}
which is the equation we encountered in the discharging circuit. The solution of this equation is easy to write down.
\begin{equation*} f(t) = f(0)\, \exp\left(- \frac{t}{RC} \right). \end{equation*}
Therefore, \(Q(t)\) is
\begin{align*} Q(t)\amp = f(t) + CV \\ \amp = f(0)\, \exp\left(- \frac{t}{RC} \right) + CV. \end{align*}
Now, we use the condition that at \(t=0\text{,}\) we have \(Q=0\text{.}\) This will fix \(f(0)\text{.}\)
\begin{equation*} 0 = f(0)\times 1 + CV\Longrightarrow f(0) = - CV. \end{equation*}
Therefore,
\begin{equation*} Q(t) = -CV\, \exp\left(- \frac{t}{RC} \right) + CV. \end{equation*}
This is the answer in Eq. (34.56).
It is instructive to gain insight from \(Q(t)\) into the current flow during charging. We can get current by taking derivative of \(Q(t)\text{.}\)
\begin{equation*} I(t) = \frac{dQ}{dt} = \frac{V}{R}\, \exp\left(- \frac{t}{RC} \right). \end{equation*}
It shows that maximum current, \(I_\text{max} = V/R\text{,}\) is at \(t=0\text{.}\) This corresponds to all voltage of the EMF dropping across the resistor and none around the capacitor. This makes sense since at this instant capacitor has no charge, and hence no voltage drop. As time passes, current dies out with time constant \(\tau = RC\text{.}\)

Example 34.79. Numerical Example of Charging a Capacitor.

A capacitor of capacitance \(5\text{ nF}\) is connected to a \(1.5\text{-V}\) battery. (a) If the net resistance in the circuit is \(1.0\text{ M}\Omega\) in series with the capacitor, find the time it will take to charge up the capacitor to 90% of maximum. (b) Also find the maximum charge on the positive plate once fully charged.
Answer.
(a) \(11.5\text{ ms}\text{,}\) (b) \(7.5\times 10^{-9}\text{ C} \text{.}\)
Solution 1. (a)
First, we find the time constant to be used in the time development of charge.
\begin{equation*} \tau = RC = 10^6\ \Omega\times 5\times 10^{-9}\text{ F} = 5\text{ ms}. \end{equation*}
Let \(t\) be time for 90% charging. Then, we have the following equation for charging.
\begin{equation*} \frac{Q}{Q_{\infty}} = 0.9 = 1- \exp{\left(-t/\tau \right)} = 1- \exp{\left(-t/5\text{ ms}\right)} \end{equation*}
Solving for \(t\) in \(\text{ms}\) we find \(t = 11.5\text{ ms}\text{.}\)
Solution 2. (b)
When the capacitor is fully charged, current goes to zero and all the voltage of the source drops across the capacitor. Using the capacitor formula for this voltage gives the maximum charge on the plates to be
\begin{equation*} Q_{\infty} = CV = 5\times 10^{-9}\text{ F} \times 1.5 \text{ V} = 7.5\times 10^{-9}\text{ C}. \end{equation*}

Exercises 34.12.2 Exercises

1. Energy Dissipated in Charging a Capacitor in an RC Circuit.

A 200 pF capacitor is connected in series to a \(2\, \text{k}\Omega\) resistor, a \(12\, \text{V}\) battery and a switch. (a) Determine the time it will take to get the capacitor \(50\%\) charged. (b) Determine the maximum charge on the capacitor if allowed to charge for a long time. (c) Determine energy lost during the charging process.
Answer.
(a) \(2.8\times 10^{-7}\ \text{s}\text{,}\) (b) \(2.4\times 10^{-9}\text{,}\) (c) \(2.9\times 10^{-8}\ \text{J}\text{.}\)
Solution 1. a
For the present circuit, we have a complete solution giving charge on the capacitor.
\begin{equation*} Q(t) = C\:V\:\left(1 - e^{t/\tau} \right)\ \ \ \ (1) \end{equation*}
where the time constant \(\tau = RC\text{,}\) and \(CV\) is the charge on the capacitor when fully charged. The time constant here is
\begin{equation*} \tau = RC = 2000\:\Omega\times 200\:\text{pF} = 600\: \text{ms}. \end{equation*}
\noindent (a) We use Eq (1) to set up an equation for \(t\text{.}\) The question becomes, find t when
\begin{equation*} 0.5 = 1 - e^{t/\tau}. \end{equation*}
To solve this equation for \(t\) we will separate the exponetial on one side of the equation and take natural logarithm of both sides.
\begin{equation*} t = -\tau\:\ln(0.5) = -0.4\:\mu\text{s}\times \ln(0.5) = 277\: \text{ms}. \end{equation*}
Solution 2. b
At full charge, the potential difference across the plate will be \(12\:\text{V}\text{.}\)
\begin{equation*} Q_{\text{max}} = C\:V = 200\:\text{pF} \times 12\:\text{V} = 2.4\:\text{nC}. \end{equation*}
Solution 3. c
The energy is lost in the resistor’s heating. The rate of energy deposited in the resistor is given by the power dissipated, \(P = I^2 R\text{,}\) where current is time derivative of charge on the capacitor given in equation (1). The total energy dissipated is obtained by integrating \(P\) from t=0 to \(\infty\text{.}\)
\begin{equation*} \text{Energy dissipated} = \int_0^{\infty}\:P(t) dt = \int_0^{\infty}\:I^2 R dt = \frac{R}{2\tau}\:C^2 V^2 = \frac{1}{2}Q_{\text{max}}V. \end{equation*}
Putting in the numerical values, we obtain the following.
\begin{equation*} \text{Energy dissipated} = \frac{1}{2}\times 2.4\:\text{nC}\times 12\:\text{V} = 288\:\mu\text{J}. \end{equation*}

2. Solving Capacitor Charging Differential Equation.

In a certain \(RC\) circuit the charge on the capacitor is found to build according to the following rate in charge per unit time. Here \(t\) is in msec.
\begin{equation*} \frac{dQ}{dt} = -2Q + 3. \end{equation*}
The capacitor plates initially contain \(\pm 5 \mu C\) charges. (a) What is the value of time constant of the circuit? (b) Find charges on the capacitor plates at \(t = 1.2\ ms\text{.}\) (c) Set up a circuit with resistor(s), capacitor(s), and voltage source(s) with appropriate values so that your proposed circuit obeys the equation given above. Ans: (a) \(\tau= 0.5\, \text{ms}\) , (b) \(6.36\ \mu\text{C}\text{.}\)
Solution 1. a
The given equation is an equation for charging a capacitor with a resistor in series with it.
\begin{equation*} R\:\dfrac{dq}{dt} = -\dfrac{1}{C}\:q + V. \end{equation*}
Therefore, we have
\begin{equation*} \tau = RC = \dfrac{1}{2}\:\textrm{ms}. \end{equation*}
Solution 2. b
Since there is some charge on the capacitor at \(t = 0\text{,}\) the solution will be modified a little bit with a charge \(5\: \mu\textrm{C}\) added.
\begin{equation*} Q(t) = C V \left( 1 - e^{-t\tau} \right) + 5\: \mu\textrm{C} \end{equation*}
The charge on the capacitors at \(t\) = 1.2 ms is then given by
\begin{align*} Q(t) \amp = RC\ \dfrac{V}{R} \left( 1 - e^{-t\tau} \right) + 5 \\ \amp = 0.5\:\textrm{ms}\times 3\:\mu\textrm{C} \left( 1 - e^{-t\tau} \right) + 5\: \mu\textrm{C} = 6.36\: \mu\textrm{C}. \end{align*}
Solution 3. c
All circuits with \(RC = 0.5\,\text{ms}\) and \(V/R = 3\, \mu\text{C/ms}\) will obey the given equation. We can pick a value of \(C\) to be concrete, which will completely fix \(R\) and \(V\text{.}\) Let \(C = 1\, \mu\text{F}\text{.}\) Then \(R = 0.5\,\text{k}\Omega\) and \(V = 1.5\, \text{V}\text{.}\)