Chapter 10. Direct-Current Circuits

# 10.5 RC Circuits

### Learning Objectives

By the end of the section, you will be able to:

• Describe the charging process of a capacitor
• Describe the discharging process of a capacitor
• List some applications of RC circuits

When you use a flash camera, it takes a few seconds to charge the capacitor that powers the flash. The light flash discharges the capacitor in a tiny fraction of a second. Why does charging take longer than discharging? This question and several other phenomena that involve charging and discharging capacitors are discussed in this module.

### Circuits with Resistance and Capacitance

An RC circuit is a circuit containing resistance and capacitance. As presented in Capacitance, the capacitor is an electrical component that stores electric charge, storing energy in an electric field.

Figure 10.38(a) shows a simple RC circuit that employs a dc (direct current) voltage source $\epsilon$, a resistor R, a capacitor C, and a two-position switch. The circuit allows the capacitor to be charged or discharged, depending on the position of the switch. When the switch is moved to position A, the capacitor charges, resulting in the circuit in part (b). When the switch is moved to position B, the capacitor discharges through the resistor. Figure 10.38 (a) An RC circuit with a two-pole switch that can be used to charge and discharge a capacitor. (b) When the switch is moved to position A, the circuit reduces to a simple series connection of the voltage source, the resistor, the capacitor, and the switch. (c) When the switch is moved to position B, the circuit reduces to a simple series connection of the resistor, the capacitor, and the switch. The voltage source is removed from the circuit.

### Charging a Capacitor

We can use Kirchhoff’s loop rule to understand the charging of the capacitor. This results in the equation $\epsilon -{V}_{R}-{V}_{c}=0.$ This equation can be used to model the charge as a function of time as the capacitor charges. Capacitance is defined as $C=q\text{/}V,$ so the voltage across the capacitor is ${V}_{C}=\frac{q}{C}$. Using Ohm’s law, the potential drop across the resistor is ${V}_{R}=IR$, and the current is defined as $I=dq\text{/}dt.$

$\begin{array}{c}\epsilon -{V}_{R}-{V}_{c}=0,\hfill \\ \epsilon -IR-\frac{q}{C}=0,\hfill \\ \epsilon -R\frac{dq}{dt}-\frac{q}{C}=0.\hfill \end{array}$

This differential equation can be integrated to find an equation for the charge on the capacitor as a function of time.

$\begin{array}{}\\ \\ \epsilon -R\frac{dq}{dt}-\frac{q}{C}=0,\hfill \\ \frac{dq}{dt}=\frac{\epsilon C-q}{RC},\hfill \\ \underset{0}{\overset{q}{\int }}\frac{dq}{\epsilon C-q}=\frac{1}{RC}\underset{0}{\overset{t}{\int }}dt.\hfill \end{array}$

Let $u=\epsilon C-q$, then $du=\text{−}dq.$ The result is

$\begin{array}{}\\ \\ \\ \\ \\ -\underset{0}{\overset{q}{\int }}\frac{du}{u}=\frac{1}{RC}\underset{0}{\overset{t}{\int }}dt,\hfill \\ \text{ln}\left(\frac{\epsilon C-q}{\epsilon C}\right)=-\frac{1}{RC}t,\hfill \\ \frac{\epsilon C-q}{\epsilon C}={e}^\frac{\text{−}t}{RC}.\hfill \end{array}$

Simplifying results in an equation for the charge on the charging capacitor as a function of time:

$q\left(t\right)=C\epsilon \left(1-{e}^{-\frac{t}{RC}}\right)=Q\left(1-{e}^{-\frac{t}{\tau }}\right).$

A graph of the charge on the capacitor versus time is shown in Figure 10.39(a). First note that as time approaches infinity, the exponential goes to zero, so the charge approaches the maximum charge $Q=C\epsilon$ and has units of coulombs. The units of RC are seconds, units of time. This quantity is known as the time constant:

$\tau =RC.$

At time $t=\tau =RC$, the charge is equal to $1-{e}^{-1}=1-0.368=0.632$ of the maximum charge $Q=C\epsilon$. Notice that the time rate change of the charge is the slope at a point of the charge versus time plot. The slope of the graph is large at time $t=0.0\phantom{\rule{0.2em}{0ex}}\text{s}$ and approaches zero as time increases.

As the charge on the capacitor increases, the current through the resistor decreases, as shown in Figure 10.39(b). The current through the resistor can be found by taking the time derivative of the charge.

$\begin{array}{}\\ \\ I\left(t\right)=\frac{dq}{dt}=\frac{d}{dt}\left[C\epsilon \left(1-{e}^{-\frac{t}{RC}}\right)\right],\hfill \\ I\left(t\right)=C\epsilon \left(\frac{1}{RC}\right){e}^{-\frac{t}{RC}}=\frac{\epsilon }{R}{e}^{-\frac{t}{RC}}={I}_{o}{e}^{-\frac{t}{RC}},\hfill \end{array}$
$I\left(t\right)={I}_{0}{e}^{\text{−}t\text{/}\tau }.$

At time $t=0.00\phantom{\rule{0.2em}{0ex}}\text{s},$ the current through the resistor is ${I}_{0}=\frac{\epsilon }{R}$. As time approaches infinity, the current approaches zero. At time $t=\tau$, the current through the resistor is $I\left(t=\tau \right)={I}_{0}{e}^{-1}=0.368{I}_{0}.$ Figure 10.39 (a) Charge on the capacitor versus time as the capacitor charges. (b) Current through the resistor versus time. (c) Voltage difference across the capacitor. (d) Voltage difference across the resistor.

Figure 10.39(c) and Figure 10.39(d) show the voltage differences across the capacitor and the resistor, respectively. As the charge on the capacitor increases, the current decreases, as does the voltage difference across the resistor${V}_{R}\left(t\right)=\left({I}_{0}R\right){e}^{\text{−}t\text{/}\tau }=\epsilon {e}^{\text{−}t\text{/}\tau }.$ The voltage difference across the capacitor increases as${V}_{C}\left(t\right)=\epsilon \left(1-{e}^{\text{−}t\text{/}\tau }\right).$

### Discharging a Capacitor

When the switch in Figure 10.38(a) is moved to position B, the circuit reduces to the circuit in part (c), and the charged capacitor is allowed to discharge through the resistor. A graph of the charge on the capacitor as a function of time is shown in Figure 10.40(a). Using Kirchhoff’s loop rule to analyze the circuit as the capacitor discharges results in the equation $\text{−}{V}_{R}-{V}_{c}=0$, which simplifies to $IR+\frac{q}{C}=0$. Using the definition of current$\frac{dq}{dt}R=-\frac{q}{C}$ and integrating the loop equation yields an equation for the charge on the capacitor as a function of time:

$q\left(t\right)=Q{e}^{\text{−}t\text{/}\tau }.$

Here, Q is the initial charge on the capacitor and $\tau =RC$ is the time constant of the circuit. As shown in the graph, the charge decreases exponentially from the initial charge, approaching zero as time approaches infinity.

The current as a function of time can be found by taking the time derivative of the charge:

$I\left(t\right)=-\frac{Q}{RC}{e}^{\text{−}t\text{/}\tau }.$

The negative sign shows that the current flows in the opposite direction of the current found when the capacitor is charging. Figure 10.40(b) shows an example of a plot of charge versus time and current versus time. A plot of the voltage difference across the capacitor and the voltage difference across the resistor as a function of time are shown in parts (c) and (d) of the figure. Note that the magnitudes of the charge, current, and voltage all decrease exponentially, approaching zero as time increases. Figure 10.40 (a) Charge on the capacitor versus time as the capacitor discharges. (b) Current through the resistor versus time. (c) Voltage difference across the capacitor. (d) Voltage difference across the resistor.

Now we can explain why the flash camera mentioned at the beginning of this section takes so much longer to charge than discharge: The resistance while charging is significantly greater than while discharging. The internal resistance of the battery accounts for most of the resistance while charging. As the battery ages, the increasing internal resistance makes the charging process even slower.

### Example

#### The Relaxation Oscillator

One application of an RC circuit is the relaxation oscillator, as shown below. The relaxation oscillator consists of a voltage source, a resistor, a capacitor, and a neon lamp. The neon lamp acts like an open circuit (infinite resistance) until the potential difference across the neon lamp reaches a specific voltage. At that voltage, the lamp acts like a short circuit (zero resistance), and the capacitor discharges through the neon lamp and produces light. In the relaxation oscillator shown, the voltage source charges the capacitor until the voltage across the capacitor is 80 V. When this happens, the neon in the lamp breaks down and allows the capacitor to discharge through the lamp, producing a bright flash. After the capacitor fully discharges through the neon lamp, it begins to charge again, and the process repeats. Assuming that the time it takes the capacitor to discharge is negligible, what is the time interval between flashes? #### Strategy

The time period can be found from considering the equation ${V}_{C}\left(t\right)=\epsilon \left(1-{e}^{\text{−}t\text{/}\tau }\right),$ where$\tau =\left(R+r\right)C.$

#### Solution

The neon lamp flashes when the voltage across the capacitor reaches 80 V. The RC time constant is equal to $\tau =\left(R+r\right)C=\left(101\phantom{\rule{0.2em}{0ex}}\text{Ω}\right)\left(50\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{-3}\text{F}\right)=5.05\phantom{\rule{0.2em}{0ex}}\text{s}.$ We can solve the voltage equation for the time it takes the capacitor to reach 80 V:

$\begin{array}{ccc}\hfill {V}_{C}\left(t\right)& =\hfill & \epsilon \left(1-{e}^{\text{−}t\text{/}\tau }\right),\hfill \\ \hfill {e}^{\text{−}t\text{/}\tau }& =\hfill & 1-\frac{{V}_{C}\left(t\right)}{\epsilon },\hfill \\ \hfill \text{ln}\left({e}^{\text{−}t\text{/}\tau }\right)& =\hfill & \text{ln}\left(1-\frac{{V}_{C}\left(t\right)}{\epsilon }\right),\hfill \\ \hfill t& =\hfill & \text{−}\tau \text{ln}\left(1-\frac{{V}_{C}\left(t\right)}{\epsilon }\right)=-5.05\phantom{\rule{0.2em}{0ex}}\text{s}·\text{ln}\left(1-\phantom{\rule{0.2em}{0ex}}\frac{80\phantom{\rule{0.2em}{0ex}}\text{V}}{100\phantom{\rule{0.2em}{0ex}}\text{V}}\right)=8.13\phantom{\rule{0.2em}{0ex}}\text{s}.\hfill \end{array}$

#### Significance

One application of the relaxation oscillator is for controlling indicator lights that flash at a frequency determined by the values for R and C. In this example, the neon lamp will flash every 8.13 seconds, a frequency of $f=\frac{1}{T}=\frac{1}{8.13\phantom{\rule{0.2em}{0ex}}\text{s}}=0.123\phantom{\rule{0.2em}{0ex}}\text{Hz}.$ The relaxation oscillator has many other practical uses. It is often used in electronic circuits, where the neon lamp is replaced by a transistor or a device known as a tunnel diode. The description of the transistor and tunnel diode is beyond the scope of this chapter, but you can think of them as voltage controlled switches. They are normally open switches, but when the right voltage is applied, the switch closes and conducts. The “switch” can be used to turn on another circuit, turn on a light, or run a small motor. A relaxation oscillator can be used to make the turn signals of your car blink or your cell phone to vibrate.

RC circuits have many applications. They can be used effectively as timers for applications such as intermittent windshield wipers, pace makers, and strobe lights. Some models of intermittent windshield wipers use a variable resistor to adjust the interval between sweeps of the wiper. Increasing the resistance increases the RC time constant, which increases the time between the operation of the wipers.

Another application is the pacemaker. The heart rate is normally controlled by electrical signals, which cause the muscles of the heart to contract and pump blood. When the heart rhythm is abnormal (the heartbeat is too high or too low), pace makers can be used to correct this abnormality. Pacemakers have sensors that detect body motion and breathing to increase the heart rate during physical activities, thus meeting the increased need for blood and oxygen, and an RC timing circuit can be used to control the time between voltage signals to the heart.

Looking ahead to the study of ac circuits (Alternating-Current Circuits), ac voltages vary as sine functions with specific frequencies. Periodic variations in voltage, or electric signals, are often recorded by scientists. These voltage signals could come from music recorded by a microphone or atmospheric data collected by radar. Occasionally, these signals can contain unwanted frequencies known as “noise.” RC filters can be used to filter out the unwanted frequencies.

In the study of electronics, a popular device known as a 555 timer provides timed voltage pulses. The time between pulses is controlled by an RC circuit. These are just a few of the countless applications of RC circuits.

### Example

#### Intermittent Windshield Wipers

A relaxation oscillator is used to control a pair of windshield wipers. The relaxation oscillator consists of a 10.00-mF capacitor and a $10.00\text{-k}\text{Ω}$ variable resistor known as a rheostat. A knob connected to the variable resistor allows the resistance to be adjusted from $0.00\phantom{\rule{0.2em}{0ex}}\text{Ω}$ to $10.00\phantom{\rule{0.2em}{0ex}}\text{k}\text{Ω}.$ The output of the capacitor is used to control a voltage-controlled switch. The switch is normally open, but when the output voltage reaches 10.00 V, the switch closes, energizing an electric motor and discharging the capacitor. The motor causes the windshield wipers to sweep once across the windshield and the capacitor begins to charge again. To what resistance should the rheostat be adjusted for the period of the wiper blades be 10.00 seconds? #### Strategy

The resistance considers the equation ${V}_{\text{out}}\left(t\right)=V\left(1-{e}^{\text{−}t\text{/}\tau }\right),$ where $\tau =RC.$ The capacitance, output voltage, and voltage of the battery are given. We need to solve this equation for the resistance.

#### Solution

The output voltage will be 10.00 V and the voltage of the battery is 12.00 V. The capacitance is given as 10.00 mF. Solving for the resistance yields

$\begin{array}{}\\ \\ \hfill {V}_{\text{out}}\left(t\right)& =\hfill & V\left(1-{e}^{\text{−}t\text{/}\tau }\right),\hfill \\ \hfill {e}^{\text{−}t\text{/}RC}& =\hfill & 1-\frac{{V}_{\text{out}}\left(t\right)}{V},\hfill \\ \hfill \text{ln}\left({e}^{\text{−}t\text{/}RC}\right)& =\hfill & \text{ln}\left(1-\frac{{V}_{\text{out}}\left(t\right)}{V}\right),\hfill \\ \hfill -\frac{t}{RC}& =\hfill & \text{ln}\left(1-\frac{{V}_{\text{out}}\left(t\right)}{V}\right),\hfill \\ \hfill R& =\hfill & \frac{\text{−}t}{C\phantom{\rule{0.2em}{0ex}}\text{ln}\left(1-\frac{{V}_{C}\left(t\right)}{V}\right)}=\frac{-10.00\phantom{\rule{0.2em}{0ex}}\text{s}}{10\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{-3}\phantom{\rule{0.2em}{0ex}}\text{F}\phantom{\rule{0.2em}{0ex}}\text{ln}\left(1-\frac{10\phantom{\rule{0.2em}{0ex}}\text{V}}{12\phantom{\rule{0.2em}{0ex}}\text{V}}\right)}=558.11\phantom{\rule{0.2em}{0ex}}\text{Ω}.\hfill \end{array}$

#### Significance

Increasing the resistance increases the time delay between operations of the windshield wipers. When the resistance is zero, the windshield wipers run continuously. At the maximum resistance, the period of the operation of the wipers is:

$t=\text{−}RC\phantom{\rule{0.2em}{0ex}}\text{ln}\left(1-\frac{{V}_{\text{out}}\left(t\right)}{V}\right)=\text{−}\left(10\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{-3}\phantom{\rule{0.2em}{0ex}}\text{F}\right)\left(10\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{3}\phantom{\rule{0.2em}{0ex}}\text{Ω}\right)\text{ln}\left(1-\frac{10\phantom{\rule{0.2em}{0ex}}\text{V}}{12\phantom{\rule{0.2em}{0ex}}\text{V}}\right)=179.18\phantom{\rule{0.2em}{0ex}}\text{s}=2.98\phantom{\rule{0.2em}{0ex}}\text{min}.$

The RC circuit has thousands of uses and is a very important circuit to study. Not only can it be used to time circuits, it can also be used to filter out unwanted frequencies in a circuit and used in power supplies, like the one for your computer, to help turn ac voltage to dc voltage.

### Summary

• An RC circuit is one that has both a resistor and a capacitor.
• The time constant $\tau$ for an RC circuit is $\tau =RC.$
• When an initially uncharged $\left(q=0\phantom{\rule{0.2em}{0ex}}\text{ at }\phantom{\rule{0.2em}{0ex}}t=0\right)$ capacitor in series with a resistor is charged by a dc voltage source, the capacitor asymptotically approaches the maximum charge.
• As the charge on the capacitor increases, the current exponentially decreases from the initial current: ${I}_{0}=\epsilon \text{/}R.$
• If a capacitor with an initial charge Q is discharged through a resistor starting at $t=0$, then its charge decreases exponentially. The current flows in the opposite direction, compared to when it charges, and the magnitude of the charge decreases with time.

### Conceptual Questions

A battery, switch, capacitor, and lamp are connected in series. Describe what happens to the lamp when the switch is closed.

When making an ECG measurement, it is important to measure voltage variations over small time intervals. The time is limited by the RC constant of the circuit—it is not possible to measure time variations shorter than RC. How would you manipulate R and C in the circuit to allow the necessary measurements?

Show Solution

The time constant can be shortened by using a smaller resistor and/or a smaller capacitor. Care should be taken when reducing the resistance because the initial current will increase as the resistance decreases.

### Problems

The timing device in an automobile’s intermittent wiper system is based on an RC time constant and utilizes a $0.500\text{-}\mu \text{F}$ capacitor and a variable resistor. Over what range must R be made to vary to achieve time constants from 2.00 to 15.0 s?

Show Solution

$4.00\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}30.0\phantom{\rule{0.2em}{0ex}}\text{M}\text{Ω}$

A heart pacemaker fires 72 times a minute, each time a 25.0-nF capacitor is charged (by a battery in series with a resistor) to 0.632 of its full voltage. What is the value of the resistance?

The duration of a photographic flash is related to an RC time constant, which is $0.100\mu \text{F}$ for a certain camera. (a) If the resistance of the flash lamp is $0.0400\phantom{\rule{0.2em}{0ex}}\text{Ω}$ during discharge, what is the size of the capacitor supplying its energy? (b) What is the time constant for charging the capacitor, if the charging resistance is $800\phantom{\rule{0.2em}{0ex}}\text{k}\text{Ω}$?

Show Solution

a. $2.50\phantom{\rule{0.2em}{0ex}}\mu \text{F}$; b. 2.00 s

A 2.00- and a $7.50\text{-}\mu \text{F}$ capacitor can be connected in series or parallel, as can a 25.0- and a $100\text{-k}\text{Ω}$ resistor. Calculate the four RC time constants possible from connecting the resulting capacitance and resistance in series.

A $500\text{-}\text{Ω}$ resistor, an uncharged $1.50\text{-}\mu \text{F}$ capacitor, and a 6.16-V emf are connected in series. (a) What is the initial current? (b) What is the RC time constant? (c) What is the current after one time constant? (d) What is the voltage on the capacitor after one time constant?

Show Solution

a. 12.3 mA; b. $7.50\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{-4}\text{s;}$ c. 4.53 mA; d. 3.89 V

A heart defibrillator being used on a patient has an RC time constant of 10.0 ms due to the resistance of the patient and the capacitance of the defibrillator. (a) If the defibrillator has a capacitance of $8.00\mu \text{F},$ what is the resistance of the path through the patient? (You may neglect the capacitance of the patient and the resistance of the defibrillator.) (b) If the initial voltage is 12.0 kV, how long does it take to decline to $6.00\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{2}\phantom{\rule{0.2em}{0ex}}\text{V}$?

An ECG monitor must have an RC time constant less than $1.00\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{2}\mu \text{s}$ to be able to measure variations in voltage over small time intervals. (a) If the resistance of the circuit (due mostly to that of the patient’s chest) is $1.00\phantom{\rule{0.2em}{0ex}}\text{k}\text{Ω}$, what is the maximum capacitance of the circuit? (b) Would it be difficult in practice to limit the capacitance to less than the value found in (a)?

Show Solution

a. $1.00\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{-7}\phantom{\rule{0.2em}{0ex}}\text{F;}$ b. No, in practice it would not be difficult to limit the capacitance to less than 100 nF, since typical capacitors range from fractions of a picofarad (pF) to milifarad (mF).

Using the exact exponential treatment, determine how much time is required to charge an initially uncharged 100-pF capacitor through a $75.0\text{-M}\text{Ω}$ resistor to $90.0%$ of its final voltage.

If you wish to take a picture of a bullet traveling at 500 m/s, then a very brief flash of light produced by an RC discharge through a flash tube can limit blurring. Assuming 1.00 mm of motion during one RC constant is acceptable, and given that the flash is driven by a $600\text{-}\mu \text{F}$ capacitor, what is the resistance in the flash tube?

Show Solution

$3.33\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{-3}\phantom{\rule{0.2em}{0ex}}\text{Ω}$

### Glossary

RC circuit
circuit that contains both a resistor and a capacitor 