Sub topic 3
Finding the Resistance That Sets the Time Constant
Assume Ohm’s law, Kirchhoff’s laws, Thevenin equivalents, basic calculus, and first-order differential equations. A first-order transient has one energy-storage element: a capacitor or an inductor.
Finding the equivalent resistance
To find the time constant, replace the storage element with its terminals exposed. Turn off independent sources: replace voltage sources with shorts and current sources with open circuits. The resistance seen at those terminals is \(R_{\text{eq}}\).
- Capacitor: \(\tau = R_{\text{eq}}C\)
- Inductor: \(\tau = L/R_{\text{eq}}\)
For dependent sources, use a test voltage or current source to find the resistance.
| Storage element | Time constant | Natural response |
|---|---|---|
| Capacitor \(C\) | \(R_{\text{eq}}C\) | \(v_C(t)=V_0e^{-t/\tau}\) |
| Inductor \(L\) | \(L/R_{\text{eq}}\) | \(i_L(t)=I_0e^{-t/\tau}\) |
One formula for every first-order transient
After a switch changes position, use:
\[ x(t)=x(\infty)+[x(0^+)-x(\infty)]e^{-t/\tau} \]
Here, \(x\) is capacitor voltage or inductor current. The initial value follows continuity: capacitor voltage and inductor current cannot jump instantly in an ideal circuit.
Multiple switching events
Analyze each switching interval separately. The value at the end of one interval becomes \(x(0^+)\) for the next interval. Recalculate the final value and \(R_{\text{eq}}\) if the circuit changes.
Energy and inductive voltage spikes
A capacitor stores \(EC=\tfrac12CvC^2\). An inductor stores \(EL=\tfrac12LiL^2\). During a resistor-driven transient, this energy becomes heat in the resistance.
Opening an inductor’s current path forces the current to continue. Since \(v_L=L\,di/dt\), a rapid decrease in current creates a large voltage. A flyback diode, clamp, snubber, or TVS device provides a safer path and limits the voltage.
Checking a result numerically
import math
R, C, V = 10e3, 100e-9, 5.0
tau = R * C
dt = tau / 100
v = 0.0
for _ in range(500):
v += dt * (V - v) / tau
exact = V * (1 - math.exp(-5))
print(f"Euler: {v:.4f} V, exact: {exact:.4f} V")Applications
Timers use capacitor charging thresholds. Filters use RC or RL time constants to reject rapid changes. Switching supplies manage inductor energy and suppress flyback spikes.
Exercise
A capacitor sees \(R_{\text{eq}}=2\,\text{k}\Omega\) and \(C=10\,\mu\text{F}\). What is \(\tau\)?
Show answer
\(\tau=R_{\text{eq}}C=(2000)(10\times10^{-6})=0.020\,\text{s}=20\,\text{ms}\).