RC Circuits
A capacitor charging through a resistor can't fill all at once. The more charge it holds, the harder it pushes back, so the current tapers off. The loop rule turns that into , and everything in the circuit slides exponentially toward its final value on one timescale, .
What the symbols mean
- Resistance
Limits how fast charge can flow onto the plates.
- Capacitance
Charge stored per volt: the capacitor's voltage is Q/C.
- Charge on the capacitor
Builds up over time; its rate of change is the current.
- EMF
The battery voltage driving the charging.
What the symbols mean
- Time constant
In one τ the gap to the final value shrinks by a factor e: 63% of the way there.
- Current
Starts at E/R, as if the capacitor were a wire, and decays to zero.
What the symbols mean
- Starting charge
The charge when the switch flips to discharge.
- Half-life
The time to lose half the charge: about 0.69τ.
Explanation
An RC circuit is simply a resistor (the R) and a capacitor (the C) wired together, so the capacitor fills or drains through the resistor like a bucket through a narrow pipe: fast at first, then slower and slower as it gets full. It's how circuits make delays and timers, and how they smooth out jittery signals. The equation looks like a lot, but it's just three voltages: (the resistor's share, bigger when charge flows faster), (the capacitor pushing back, harder the fuller it gets) and (the battery's push). The first two have to split the battery's voltage at every instant, and that's the whole equation. It's not as bad as it looks; bear with it.
A camera flash whines while it charges. Inside, a battery is filling a capacitor through a resistance, and the pitch shifts as the current tapers off. When the ready light comes on, the capacitor is nearly full. Defibrillators, blinking LEDs, the debounce on a keyboard switch and the timing of a pacemaker all run on the same slow fill and drain.
The equation, from Kirchhoff. Last lesson every circuit was steady, and KVL gave plain algebra. A capacitor changes that, because its voltage depends on how much charge has piled up so far. Close a switch on a battery , a resistor and an uncharged capacitor in series. Walk the loop: up through the battery (), across the resistor (), across the capacitor (). The current is the rate charge piles onto the plates, , so
Now KVL hands us a differential equation instead of algebra.
Solving it. It's a linear first-order equation, the same kind that gave the electron's drift speed in the first lesson. Divide by : . The integrating factor is , and
Starting empty, gives , so . Differentiate for the current: .
Reading the solution. Think about why the current tapers off. Every bit of charge on the plates adds to the capacitor's voltage , which pushes back against the battery. The resistor only feels what's left over, , so the fuller the capacitor gets, the less current flows, and the slower it fills. A rate that shrinks in proportion to what's left is exactly what an exponential does.
- At the capacitor is empty and has no voltage, so the whole sits across the resistor: . An uncharged capacitor acts like a wire.
- As the capacitor reaches , its voltage matches the battery's, and the current stops. A full capacitor acts like a break.
- In between, everything moves by the same exponential with time constant . Ohms times farads is seconds: . After the capacitor is charged, after it's , and after it's over , which engineers call done. The initial rate, , would finish the job in exactly one if it kept going.
Discharging. Remove the battery and connect the charged capacitor across : now , which separates to . The charge halves every .
Every first-order circuit looks like this. Any voltage or current in a circuit with one capacitor (or, later, one inductor) moves as
so you only need three things: the starting value (the capacitor's voltage can't jump), the final value (treat the capacitor as a break) and , where is the resistance the capacitor sees with the sources turned off. You never have to solve the differential equation again. If this shape looks familiar, it should: it's the same "rate in minus rate out" picture as a mixing tank in Modeling with First Order Equations.
Where does the energy go? The battery pushes a total charge through a voltage , doing work . The capacitor ends up storing (Capacitance and Stored Energy). The other half heats the resistor:
That's an improper integral, and notice its answer doesn't depend on at all. A smaller resistor charges faster with a bigger current and burns exactly the same energy.
A common mistake. At the moment a switch flips, it's tempting to think the capacitor's voltage jumps to its new value along with everything else. It can't: a sudden jump in would take an infinite current. The capacitor's current can jump, but its voltage always starts where it left off. Two more slips to watch for: writing (check the units), and using the wrong when several resistors surround the capacitor.
Next, an inductor plays the same game with current instead of charge (Inductance and RL Circuits), and putting both together gives oscillations (LC and RLC Oscillations).
See it
Worked examples
A V battery charges a capacitor through a resistor, starting from empty. Find the time constant, the initial current and the time for the capacitor to reach V.
- 1
s.
A defibrillator's capacitor is charged to kV and discharged through a patient's chest, which acts like a resistor. Find the stored energy, the peak current, the time constant and the energy delivered in the first ms.
- 1
Stored energy: J.
Practice
Type your answer and check it. Solve them all to complete the lesson.
How many time constants does a charging capacitor need to reach of its final voltage? Give 3 significant figures.
A resistor and a capacitor, initially uncharged, are connected to a V battery at . Find the charge on the capacitor in millicoulombs, with in seconds.
A power supply's filter capacitor holds V. So that it's safe to touch after the supply is unplugged, a "bleeder" resistor is wired across it. How many seconds until its voltage falls to V? Give 3 significant figures.
A V battery charges a capacitor through a resistor, from empty until full. How much energy, in millijoules, is turned into heat in the resistor?
A V battery is switched on at . It drives in series with a parallel pair: and an uncharged capacitor. Find the battery current, in mA, just after the switch closes and a long time later.
An LED flasher charges a capacitor through a resistor from a V supply. When the capacitor reaches V the LED fires and almost instantly drains it back to V, and the charging starts over. How long is it between flashes, in milliseconds? Give 3 significant figures.
At a V source is connected through to a node. From that node, and an uncharged capacitor each run to ground. At what time, in milliseconds, does the capacitor voltage reach V? Give 3 significant figures.
An RC circuit is charging from empty. Which change makes the capacitor reach of its final charge sooner?
The hardest one here. Get it, and you've got this lesson.
A capacitor charged to V is connected at through a resistor to an uncharged capacitor. Find the final common voltage in volts, the time constant of the charge transfer in milliseconds and the energy lost as heat in millijoules. Give 3 significant figures.
Where it's used
RC time constants appear wherever a circuit has to wait: the debounce filter that keeps one keypress from registering as five, the power-on reset that holds a microcontroller still until its supply settles, camera flashes and defibrillators that charge slowly and dump fast, and the low-pass filters that turn a microcontroller's on-off signal into a smooth analog voltage. Even a chip's speed is RC-limited: every wire and transistor gate is a tiny resistor charging a tiny capacitor, and sets how fast a bit can flip.