Step response of an RC circuit
Find the response of an RC circuit to a switched DC source as v(t) = v(∞) + [v(0) − v(∞)]e−t/τ.
It opens on
A 12 V source charges a capacitor through a resistor. How long does the capacitor take to reach the full 12 V?
Why it matters
Every time a supply, a logic signal or a sensor switches on, a capacitor charges this way; the delay of a logic gate, a camera flash charging and a power-on reset all follow this one formula. Exams ask for v(t), i(t), the value at a given time and the time to reach a given value, often after a Thévenin reduction.
Good to know first
- The source-free RC circuit and τ = RC
- capacitor voltage continuity
- Thévenin equivalents
- the unit step
Step by step
Charging from zero
Solve the RC circuit's differential equation for a DC step from zero initial voltage, and find v and i at given times.
Long after, the capacitor is an open circuit, so no current flows and v(∞) = 12 V. With τ = RC = 2 kΩ × 50 µF = 0.1 s, v(t) = 12(1 − e−10t) V for t > 0.
A common mix-up
The capacitor charges at a steady rate until full.
In fact: It charges fastest at first; the rate falls as v nears the source voltage.
The general form
Write any first-order step response as v(t) = v(∞) + [v(0) − v(∞)]e−t/τ, and solve for the time to reach a given value.
If the capacitor starts at 4 V, then v(t) = 12 + (4 − 12)e−10t = 12 − 8e−10t. At 0.1 s that is 12 − 8 × 0.368 = 9.06 V.
A common mix-up
The formula only works for charging from zero.
In fact: It works for any initial value, above or below the final one.
Thévenin first
Reduce the circuit seen by the capacitor to a Thévenin equivalent, take τ = RTh C, and find other currents from the capacitor voltage.
The source current is is = (18 − v)/3 kΩ. At 0⁺, v = 0, so is = 6 mA, all of it into the capacitor.
A common mix-up
τ uses R₁, the resistor in series with the source.
In fact: τ uses RTh, the resistance the capacitor sees, 3 ∥ 6 = 2 kΩ.
Try it
What is v at t = 30 ms?Answer
3.1 V, from 12(1 − e−0.3)
Hint: t/τ = 0.3
A 24 V source charges 100 µF through 1 kΩ from −6 V. When does v cross 0 V?Answer
22.3 ms, since 24 − 30e−10t = 0 gives t = 0.1 ln(30/24)
Hint: v(0) − v(∞) = −30 V
With R₂ changed to 3 kΩ, what are VTh, RTh and τ?Answer
9 V, 1.5 kΩ, 75 ms
Hint: Equal resistors halve the source
What is v at t = τ = 0.1 s?Answer
7.6 V, since 12(1 − e−1) = 12 × 0.632
If it starts at 20 V, what number multiplies e−10t?Answer
+8, since v(0) − v(∞) = 20 − 12, so v = 12 + 8e−10t, discharging down toward 12 V
