RC circuit

Charging and discharging a capacitor through a resistor: time constant, voltage and current.

+E = 9 VchargingdischargingRCE = UR + UC9 V = 9 V + 0 VI = UR/R = 900 µA

Dots are charges moving in the conventional direction of current (time slowed down 1.2×).

0123450246810t (s)U (V)τ
across the capacitor across the resistor
Switch
kΩ
µF
Time constant
1 s
Voltage
0 V
Current
900 µA

What you can see here

  • A capacitor does not charge instantly: the current is largest at the start, (here V), and falls as the voltage across the plates grows.
  • After one time constant the capacitor is 63% of the way to its final state, after five more than 99%. A larger or slows both charging and discharging.
  • While charging, the voltages across the resistor and the capacitor add up to the source voltage (Kirchhoff's law); while discharging they add up to zero, so the resistor voltage is negative.

Formulas

  • : time constant (s); : resistance (Ω); : capacitance (F)
  • capacitor voltage while charging; : source voltage (V); : time since switching on (s)
  • capacitor voltage while discharging; : voltage at the moment of switching (V)
  • voltage across the resistor; : current (A)