Sub topic 6
The time constant: reading the speed of a transient
This chapter assumes you know Ohm's law, KVL and KCL, series and parallel resistor combinations, and the exponential function. It also assumes you have seen the natural responses of RC and RL circuits, which the previous two chapters derived. Here we use those results to define the time constant and show how to read it from equations, from graphs, and from component values.
Why one number describes the whole transient
The natural response of a source-free RC circuit is
v_C(t) = V0 e^(-t/RC)
and the natural response of a source-free RL circuit is
i_L(t) = I0 e^(-tR/L)
Both have the form x(t) = x0 e^(-t/τ). The symbol τ (tau) is the time constant. It is the single parameter that sets how fast the exponential changes:
| Circuit | Time constant | Units check |
|---|---|---|
| RC | τ = R·C | ohm × farad = second |
| RL | τ = L/R | henry / ohm = second |
The units check matters. Resistance times capacitance, and inductance divided by resistance, both reduce to seconds. If your result for τ is not in seconds, an equation or a unit prefix is wrong.
The same τ also governs step responses. A step response has the form x(t) = xfinal + (xinitial − x_final) e^(-t/τ), so the decaying part is the same exponential with the same τ. Only the starting and ending values change.
What tau means
There are several equivalent ways to state what τ means. Each is useful in a different situation.
- Decay fraction. After one time constant, a decaying quantity has fallen to e^(-1) ≈ 36.8% of its starting value. It has lost about 63.2% of the way toward its final value.
- Initial slope. If the quantity kept changing at its initial rate, it would reach its final value exactly at t = τ. The tangent drawn at t = 0 hits the final-value line at t = τ.
- Rate of change. The differential equation is dx/dt = (x_final − x)/τ. The rate of change is proportional to the remaining distance from the final value, and 1/τ is the constant of proportionality.
The slope statement follows by differentiating x(t) = xf + (x0 − xf) e^(-t/τ). At t = 0 the derivative is −(x0 − xf)/τ. A straight line with that slope covers the whole distance x0 − xf in time τ.
Reading tau from the number of time constants
Because every first-order transient has the same shape, one table covers them all. The fraction of the total change that has completed after k time constants is 1 − e^(-k).
| Time | Fraction completed | Fraction remaining |
|---|---|---|
| 1τ | 63.2% | 36.8% |
| 2τ | 86.5% | 13.5% |
| 3τ | 95.0% | 5.0% |
| 4τ | 98.2% | 1.8% |
| 5τ | 99.3% | 0.67% |
Engineers commonly treat the transient as finished after 5τ. This is a convention. The response never reaches its final value exactly. Whether 5τ is enough depends on the tolerance you need. A 12-bit converter, for example, needs the error to fall below 1 part in 4096 (about 0.024%), which takes roughly 8.3τ.
To find the time at which a given fraction remains, invert the exponential. For a remaining fraction f, the time is t = −τ ln f. For 10% remaining, t = τ ln 10 ≈ 2.30τ.
Reading tau from a graph
Suppose you measure a capacitor voltage on an oscilloscope and want τ. You have three methods.
- 63.2% method. For a charging curve, find the time at which the voltage has covered 63.2% of the distance from its starting value to its final value. That time, measured from the start of the transient, is τ.
- Tangent method. Draw the tangent at the start of the transient and find where it meets the final-value line. The time at that intersection is τ.
- Two-point method. Take two points on the curve at times t1 and t2 with remaining distances d1 and d2 from the final value. Then τ = (t2 − t1)/ln(d1/d2). This works anywhere on the curve, which helps when the start of the transient is hard to see.
The two-point method also avoids a common measurement problem. You do not need to know exactly when the switch closed.
Worked example: RC
A 10 kΩ resistor and a 100 nF capacitor form an RC circuit.
τ = R·C = (10 × 10³ Ω)(100 × 10⁻⁹ F) = 1 × 10⁻³ s = 1 ms
The capacitor, charged to 5 V, discharges through the resistor. How long until it falls to 1 V?
The voltage is v(t) = 5 e^(-t/τ). Set v = 1:
e^(-t/τ) = 1/5, so t = τ ln 5 = (1 ms)(1.609) ≈ 1.61 ms
The following program computes the step response of this circuit at whole multiples of τ.
import math
R = 10e3 # ohms
C = 100e-9 # farads
V = 5.0 # volts, step source
tau = R * C # 1 ms
for k in range(6):
t = k * tau
v = V * (1 - math.exp(-t / tau))
print(f"t = {k} tau: v_C = {v:.3f} V")The output rises from 0.000 V at t = 0 to 3.161 V at one τ, which is 63.2% of 5 V. By 5τ it reaches 4.966 V.
Worked example: RL
An inductor of 10 mH is in series with a 100 Ω resistor, driven by a 12 V source.
τ = L/R = (10 × 10⁻³ H)/(100 Ω) = 100 µs
The final current is V/R = 120 mA. After one time constant the current is 0.632 × 120 mA ≈ 75.8 mA. The same program structure applies, with the current replacing the voltage.
import math
R, L, V = 100.0, 10e-3, 12.0
tau = L / R # 100 microseconds
i_final = V / R # steady-state current
for k in range(6):
t = k * tau
i = i_final * (1 - math.exp(-t / tau))
print(f"t = {k} tau: i_L = {i * 1000:.1f} mA")How component values change tau
The formulas tell you how to adjust the speed of a circuit.
- In an RC circuit, a larger R or a larger C makes the transient slower. A larger capacitor needs more charge to reach the same voltage. A larger resistor limits the current that supplies that charge.
- In an RL circuit, a larger L makes the transient slower, but a larger R makes it faster. This is the opposite behavior to the RC case, and it is a common source of mistakes. A larger R makes the final current V/R smaller, so the inductor has less current to build up, and it reaches that current sooner.
A useful way to remember this is that τ is a ratio of stored quantity to the rate at which the circuit can change it. For RC, the capacitor holds charge and the resistor limits the current, so τ grows with both. For RL, the inductor holds flux and the resistor sets the voltage available to change it, so τ grows with L and shrinks with R.
Common errors
- Using the wrong R. The R in τ is the equivalent resistance seen by the storage element, with independent sources turned off. It is not necessarily the resistor drawn next to the capacitor. A later chapter covers this in detail.
- Mixing up RC and RL formulas. Writing τ = RL, or τ = R/L, fails the units check. Check that your τ is in seconds.
- Prefix mistakes. 100 nF is 100 × 10⁻⁹ F, not 100 × 10⁻⁶ F. An error of a thousand in τ is usually a µ versus n or m versus k slip.
- Measuring from the wrong reference. The 63.2% point is 63.2% of the change, not 63.2% of the final value, unless the initial value is zero. A capacitor going from 2 V to 5 V reaches 2 + 0.632 × 3 = 3.90 V after one τ.
- Assuming the transient ends at 5τ. It approaches the final value forever. At 5τ about 0.67% of the change remains.
Worked example: starting from a nonzero value
A capacitor starts at 2 V. A source steps the final value to 5 V, with τ = 1 ms. Find the time at which the capacitor reaches 4 V.
The response is v(t) = 5 + (2 − 5) e^(-t/τ) = 5 − 3 e^(-t/τ).
Set v = 4: 3 e^(-t/τ) = 1, so e^(-t/τ) = 1/3 and t = τ ln 3 = 1.10 ms.
The remaining distance dropped from 3 V to 1 V, a factor of 3, and the time depends only on the ratio of remaining distances. The same time would apply for a change from 0 V to 5 V reaching 3.33 V, since the same ratio of 3 applies.
Summary of the key relations
- τ = RC for RC circuits and τ = L/R for RL circuits, in seconds.
- Remaining distance from the final value shrinks by a factor of e every τ.
- The time to go from remaining distance d1 to d2 is τ ln(d1/d2).
- Practical settling: 3τ is about 95%, 5τ is about 99.3%.
Exercise
A 4.7 kΩ resistor and a 22 µF capacitor form an RC circuit. The capacitor starts at 0 V and is charged from a 9 V step source. (a) Find τ. (b) Find the time at which the capacitor voltage reaches 6 V.
Show answer
(a) τ = RC = (4.7 × 10³)(22 × 10⁻⁶) = 0.1034 s, about 103 ms. (b) v(t) = 9(1 − e^(-t/τ)). Setting v = 6 gives e^(-t/τ) = 1/3, so t = τ ln 3 = 0.1034 × 1.0986 ≈ 0.114 s, about 114 ms.
Exercise
An RL circuit has L = 50 mH and R = 25 Ω. If R is replaced by 100 Ω, does the transient become faster or slower, and by what factor?
Show answer
τ = L/R. Originally τ = 50 mH / 25 Ω = 2 ms. With 100 Ω, τ = 0.5 ms. The transient becomes faster, by a factor of 4, because τ is inversely proportional to R in an RL circuit.
Exercise
An oscilloscope trace of a charging capacitor shows 1.0 V at t = 1 ms and 3.0 V at t = 3 ms. The final voltage is 5.0 V. Use the two-point method to find τ.
Show answer
The remaining distances from the final value are d1 = 5 − 1 = 4 V at t1 = 1 ms and d2 = 5 − 3 = 2 V at t2 = 3 ms. Then τ = (t2 − t1)/ln(d1/d2) = 2 ms / ln 2 = 2 ms / 0.693 ≈ 2.89 ms.