Electrical Circuits · Transients and AC

RC circuit transient response

Understand how a capacitor charges and discharges through a resistor and what the time constant means.

40 minYear 2Prerequisites: Ohm's law and resistor networks

By the end of this topic you will be able to

  • Write the voltage and current equations for charging and discharging an RC circuit.
  • Calculate and interpret the time constant τ = RC.
  • Estimate how long a capacitor takes to reach a given fraction of its final voltage.

A capacitor stores charge

A capacitor stores energy in an electric field. Its voltage depends on the charge stored, vC=q/Cv_C = q/C, so its voltage cannot change instantly: charge must flow in or out through the rest of the circuit. With a resistor in the way, that takes time, and the voltage follows a smooth exponential curve.

Charging

Connect a capacitor, initially empty, through a resistor RR to a supply VV. At the start the capacitor is like a short circuit and the current is V/RV/R. As charge builds, the capacitor voltage rises and the current falls, until the capacitor voltage equals the supply and the current stops.

vC(t)=V(1−e−t/τ),i(t)=VRe−t/τ,τ=RCv_C(t) = V\left(1 - e^{-t/\tau}\right), \qquad i(t) = \frac{V}{R}e^{-t/\tau}, \qquad \tau = RC

The time constant

The time constant τ=RC\tau = RC (seconds, with RR in ohms and CC in farads) measures how quickly the circuit responds.

Time Charging reaches
1τ1\tau 63.2% of V
2τ2\tau 86.5%
3τ3\tau 95.0%
5τ5\tau 99.3% (regarded as fully charged)

Discharging

If a charged capacitor discharges through a resistor, the voltage decays by the same exponential: vC(t)=Ve−t/τv_C(t) = V\,e^{-t/\tau}. After one time constant 36.8% of the original voltage remains.

Interactive modelChange R, C and the time. See the 63% mark at one time constant.

This interactive model needs JavaScript. The theory, worked example and problems on this page work without it.

Full screen

Practice problems

  1. Find the time constant for R=47kΩR = 47\ \text{k}\Omega and C=22μFC = 22\ \mu\text{F}.
    Show answer
    τ=47000×22×10−6=1.03\tau = 47\,000\times22\times10^{-6} = 1.03 s.
  2. A discharging capacitor starts at 12 V with τ=2\tau = 2 s. What is the voltage after 4 s?
    Show answer
    12e−2=1.6212e^{-2} = 1.62 V.
  3. How long does a charging RC circuit take to reach 99% of the supply voltage?
    Show answer
    e−t/τ=0.01e^{-t/\tau} = 0.01, so t=4.6τt = 4.6\tau (about 5τ).
  4. In the model, doubling R doubles what?
    Show answer
    The time constant, so the curve takes twice as long. The final voltage and the stored energy are unchanged.

Key formulae

Time constant
τ=RC\tau = RC
Charging voltage
vC(t)=V(1−e−t/τ)v_C(t) = V\left(1 - e^{-t/\tau}\right)
Discharging voltage
vC(t)=Ve−t/τv_C(t) = V\,e^{-t/\tau}
Current while charging
i(t)=VRe−t/τi(t) = \frac{V}{R}\,e^{-t/\tau}
Energy stored
E=12CvC2E = \tfrac{1}{2} C v_C^2
Lecturer notes: suggested plan, activity and assessment

Suggested plan (40 min). 5 min: camera flash example; 10 min: derive charging from KVL (or state the result); 10 min: time constant table; 15 min: model, discharging, and worked example.

Activity. Give students a target (voltage at a time) and ask them to choose R and C in the model to achieve it.

Discussion. Where are RC circuits used? (Timers, filters, debouncing switches, camera flash.)

Assessment idea. A two-stage RC with a switch that changes the time constant.