Charging and Discharging a Capacitor (The Time Constant RC and 63.2 %)

No electron crosses the gap

A capacitor is two metal plates facing each other. The space between them is an insulator, so no electron can cross it. Connect a battery all the same, and a current really does flow in the circuit.

It flows because electrons are drawn out of one plate into the wire while the same number are pushed onto the other. Not one electron has crossed the gap, yet there is a current along the wires. That is why the dots in the figure fade out just before the gap.

The result is +Q+Q on one plate and an equal Q-Q on the other. The charge collected and the voltage across the plates are proportional, and the constant of proportionality is the capacitance CC: Q=CVQ = CV.

The current is largest at the start and thins out

Write VV for the electromotive force of the battery, RR for the resistance and VCV_C for the voltage already across the capacitor. What is left for the resistor is VVCV - V_C, so by Ohm law the current is I=VVCRI = \dfrac{V - V_C}{R}.

At the start VC=0V_C = 0, so the current is at its largest value VR\dfrac{V}{R}. As charge collects and VCV_C rises, the difference shrinks and the current thins out.

A higher voltage means less current, and less current means the voltage rises more slowly. That loop is what makes the exponential curve: VC(t)=V(1et/RC)V_C(t) = V\left(1 - e^{-t/RC}\right).

At the time constant RC it reaches 63.2 %

Resistance times capacitance, τ=RC\tau = RC, comes out in seconds. It is called the time constant, and it is the one number that says how fast this circuit charges.

At t=τt = \tau the voltage has reached 1e1=0.6321 - e^{-1} = 0.632 of its final value, that is 63.2 %. At t=5τt = 5\tau it is about 99.3 %, and in practice charging is treated as finished there.

A larger resistance throttles the current; a larger capacitance increases the charge that has to be collected in the first place. Both slow the charging, which is why the time constant is the product of the two. Neither one alone settles the speed.

Discharging runs the other way back to zero

Take the charged capacitor off the battery and close the loop through the resistor alone, and the stored charge runs back out. The electrons that were pushed onto one plate return to the plate they came from.

The only thing driving the circuit now is the capacitor voltage itself, so the current is I=VCRI = -\dfrac{V_C}{R}. The sign is negative because the direction is the reverse of charging.

The voltage falls as VC(t)=V0et/RCV_C(t) = V_0\,e^{-t/RC}. The time constant is exactly the same RCRC as before, and at t=τt = \tau the voltage is down to 36.8 % of where it started. Going up or coming down, the same two values set the pace.