Electronics Guide

Transient Response of RC, RL, and RLC Circuits

Every circuit that contains a capacitor or an inductor needs time to move from one steady state to another. Close a switch, apply a logic edge, or plug in a power supply, and the voltages and currents do not jump to their new values. They travel there along curves set by how fast the circuit can move stored energy. That interval is the transient response. It decides how quickly a digital edge settles, how long a reset line stays low, how high a relay coil's voltage spikes when it turns off, and whether a supply rail rings when a load switches on.

This article teaches the classical time-domain method: write the circuit's differential equation from Kirchhoff's laws, find the initial and final conditions, and fit the standard solution. First-order circuits, with one energy-storage element, respond with a single exponential governed by a time constant, τ. Second-order circuits, with an inductor and a capacitor, respond in one of three ways set by the damping ratio, ζ: overdamped, critically damped, or underdamped.

Throughout, resistors, capacitors, and inductors are assumed linear with fixed values, and switches change state instantly. Between switching events each circuit is therefore linear and time-invariant, and each switch position is analyzed as its own circuit, joined to the next by the continuity of capacitor voltage and inductor current.

Energy Storage and the Continuity Rules

A capacitor stores energy in its electric field and an inductor in its magnetic field. Their defining relations are:

iC = C dvC/dt

vL = L diL/dt

The energy each one stores is:

wC = ½CvC2

wL = ½LiL2

Changing stored energy in zero time would take infinite power, which no physical source can supply. Two continuity rules follow:

  • Capacitor voltage cannot change instantaneously. A step in vC would require an infinite current, because iC = C dvC/dt.
  • Inductor current cannot change instantaneously. A step in iL would require an infinite voltage, because vL = L diL/dt.

Nothing else is protected: capacitor current, inductor voltage, and every resistor voltage and current can jump. Capacitor voltages and inductor currents, the state variables, carry the circuit's memory across a switching instant, and every other quantity is recomputed from them.

Capacitor and inductor behavior compared
Property Capacitor Inductor
Defining relationi = C dv/dtv = L di/dt
Stored energy½Cv2½Li2
Continuous quantityVoltageCurrent
Model at the switching instantVoltage source equal to vC(0)Current source equal to iL(0)
Model in DC steady stateOpen circuitShort circuit
First-order time constantτ = RThCτ = L/RTh

Idealized schematics can break these rules. Connect a capacitor charged to V across an identical uncharged capacitor with ideal wires, and both voltages must jump to V/2, because charge is conserved. The stored energy falls from ½CV2 to 2 × ½C(V/2)2 = ¼CV2. In hardware the missing half is dissipated in the wiring resistance or radiated, however small that resistance is; a smaller resistance only makes the current pulse larger and briefer. When a model forces such a jump, restore the resistance or inductance it left out.

Initial and Final Conditions at a Switching Instant

Transient problems label three moments. The instant just before switching is t = 0, the instant just after is t = 0+, and the new steady state, reached long afterward, is t → ∞. With DC sources, each moment has a simple equivalent circuit, and four steps find everything a transient solution needs:

  1. Before switching (t = 0). Assume the circuit has sat in its present configuration long enough to reach DC steady state. Replace each capacitor with an open circuit and each inductor with a short circuit, then solve for every capacitor voltage and inductor current.
  2. Just after switching (t = 0+). Redraw the circuit in its new configuration. Replace each capacitor with a voltage source equal to vC(0) and each inductor with a current source equal to iL(0). Solve this resistive circuit for any other quantity at 0+.
  3. Long after switching (t → ∞). With DC sources, replace capacitors with open circuits and inductors with short circuits again, and solve for the final values.
  4. Initial slopes, for second-order circuits. Use dvC/dt(0+) = iC(0+)/C and diL/dt(0+) = vL(0+)/L, taking iC(0+) and vL(0+) from step 2.

These open-circuit and short-circuit replacements apply only to DC steady state. With a sinusoidal source, the transient decays toward the sinusoidal steady state found by phasor analysis.

As an example, a 12 V source feeds a node through a switch and R1 = 4 kΩ. From that node, R2 = 12 kΩ and C = 10 μF each connect to ground. The switch has been open for a long time and closes at t = 0.

  • At 0: with the source disconnected, the capacitor has discharged through R2, so vC(0) = 0.
  • At 0+: the capacitor acts as a 0 V source, so no current flows in R2, and the full 12 V across R1 drives 3 mA into the capacitor. Its current has jumped from zero while its voltage has not moved, and the voltage starts rising at iC/C = 300 V/s.
  • At ∞: the capacitor is an open circuit, and the resistors form a divider, so vC(∞) = 12 V × 12 kΩ / (4 kΩ + 12 kΩ) = 9 V.

First-Order Natural Response

A first-order circuit contains one capacitor or one inductor, or several that combine into one, together with resistors and sources. Its natural response is what happens when stored energy drains away with no source driving the circuit.

Consider a capacitor charged to V0 and connected at t = 0 across a resistor R. Kirchhoff's current law at the top node gives C dv/dt + v/R = 0, or

dv/dt + v/(RC) = 0

The solution is an exponential decay:

v(t) = V0 e−t/τ for t ≥ 0, where τ = RC

Substituting confirms it: the derivative is −v/τ, and C(−v/τ) + v/R = 0 exactly when τ = RC. Ohms times farads is (volts per ampere) × (coulombs per volt), or seconds.

An inductor carrying I0 and connected at t = 0 across a resistor R obeys Kirchhoff's voltage law around the loop, L di/dt + Ri = 0, so

i(t) = I0 e−t/τ for t ≥ 0, where τ = L/R

Henries per ohm also reduce to seconds. Note the inversion: a larger resistance slows the RC discharge, because it limits the current that drains the capacitor, but speeds the RL decay, because it develops more opposing voltage for a given current.

The time constant is the time a response takes to complete 63.2 percent of its total change, since 1 − e−1 ≈ 0.632. It has two other useful readings: a tangent drawn at t = 0 reaches the final value in exactly one time constant, and in every interval of length τ the remaining distance to the final value shrinks by the same factor, e ≈ 2.718.

Progress of a first-order response
Elapsed time Change completed Change remaining
0.693τ50.0%50.0%
63.2%36.8%
86.5%13.5%
95.0%5.0%
98.2%1.8%
99.3%0.7%
99.9%0.1%

Engineers usually treat a response as settled after five time constants, when less than 1 percent of the change remains. Precision work needs more. Settling to 0.1 percent takes about 6.9τ, and settling to one part in 65,536, one least significant bit of a 16-bit converter after a full-scale step, takes about 11τ.

First-Order Step Response and the General Solution

When a DC source remains connected after switching, the response decays not toward zero but toward a new final value. Every voltage and current in a first-order circuit then follows one form:

x(t) = x(∞) + [x(0+) − x(∞)] e−t/τ for t ≥ 0

Here x is any voltage or current in the circuit, x(0+) is its value just after switching, and x(∞) is its final value. The first term is the forced response, set by the sources. The second is the natural response, whose shape the circuit fixes and whose size depends on how far the starting point lies from the final value. If switching happens at t0 rather than at zero, replace t with t − t0. Three numbers therefore settle any first-order problem: the initial value, the final value, and the time constant.

The time constant uses the resistance that the energy-storage element sees. Remove the capacitor or inductor, set every independent source to zero (voltage sources become short circuits and current sources become open circuits), and find the Thévenin resistance RTh between the two terminals the element occupied. Then τ = RThC or τ = L/RTh. Dependent sources stay in the circuit; when they are present, find RTh by applying a test source and dividing its voltage by its current.

Completing the example from the previous section:

  1. Initial value: vC(0+) = vC(0) = 0 V.
  2. Final value: vC(∞) = 9 V.
  3. Time constant: with the 12 V source shorted, the capacitor sees R1 and R2 in parallel, so RTh = 3 kΩ and τ = 3 kΩ × 10 μF = 30 ms.
  4. Response: vC(t) = 9 V × (1 − e−t/30 ms) for t ≥ 0.

The initial slope agrees with the earlier result: 9 V divided by 30 ms is 300 V/s. Using R1 alone, a common error, would give a 40 ms time constant. Now suppose the switch reopens at t1, long after the capacitor has charged. The source and R1 drop out, the capacitor discharges through R2 alone, and

vC(t) = 9 V × e−(t − t1)/120 ms for t ≥ t1

The same capacitor charges four times faster than it discharges, because it sees a different resistance in each switch position.

Timing circuits frequently need the moment a response crosses a threshold, xth. Solving the general form for t gives

t = τ ln{[x(0+) − x(∞)] / [xth − x(∞)]}

For example, a capacitor charging from 0 V toward 5 V through 10 kΩ, with C = 100 nF and τ = 1 ms, crosses 3.3 V at t = 1 ms × ln[(0 − 5)/(3.3 − 5)] = 1 ms × ln 2.94 ≈ 1.08 ms.

Rise time links the time constant to bandwidth. The 10 to 90 percent rise time of a first-order step response is tr = τ ln 9 ≈ 2.2τ. Viewed in the frequency domain, the same circuit is a single-pole low-pass filter with a −3 dB cutoff frequency fc = 1/(2πτ). Eliminating τ gives

tr ≈ 2.2/(2πfc) ≈ 0.35/fc

The relation is exact only for a single pole but serves as a common estimate; a 100 MHz bandwidth implies a rise time of about 3.5 ns.

Inductive Kick and Flyback

Continuity of inductor current matters most when a switch opens. Consider a relay coil, modeled as an inductance L in series with its winding resistance R, connected between a DC supply VS and a transistor that switches it to ground. After turn-on, the coil current rises as i(t) = I0(1 − e−tR/L) toward I0 = VS/R. At turn-off, the inductor must still carry I0 the instant after switching. With no path through the switch, the coil voltage reverses and climbs until the current finds one, driving the transistor's terminal far above the supply. This is the inductive kick.

The ideal model predicts an unbounded voltage. A real coil forces its current into the stray capacitance Cp of the winding, the wiring, and the switch, forming a parallel LC circuit. Neglecting losses, energy conservation sets the peak: ½LI02 = ½CpVpk2, so

Vpk ≈ I0 √(L/Cp)

The quantity √(L/C) is the characteristic impedance of the LC pair, and it recurs in every second-order problem here. For illustration, take a coil of 100 mH and 240 Ω on a 12 V supply, so that I0 = 50 mA and the stored energy is ½ × 0.1 H × (0.05 A)2 = 125 μJ. With 100 pF of stray capacitance, the formula predicts a peak near 1,600 V, ringing at about 50 kHz. In practice the transistor avalanches, a contact arcs, or insulation fails first, so the kick needs a controlled path.

If a clamp holds the coil at a constant voltage Vclamp after turn-off, the loop equation L di/dt = −(Ri + Vclamp) gives a current that reaches zero at

tz = (L/R) ln(1 + I0R/Vclamp)

A higher clamp voltage stops the current sooner but stresses the switch more. The table compares common choices for the illustrative coil, whose own time constant, L/R, is about 0.42 ms, treating each diode clamp as a constant voltage.

Turn-off options for an illustrative 100 mH, 240 Ω coil carrying 50 mA from 12 V
Suppression Coil voltage at turn-off Peak switch voltage Current decay
None, 100 pF stray capacitanceAbout 1,600 V (lossless estimate)Limited by breakdownRings near 50 kHz
Diode across the coilAbout 0.7 VAbout 12.7 VReaches zero in about 1.2 ms
Diode in series with a 24 V Zener diodeAbout 24.7 VAbout 36.7 VReaches zero in about 0.17 ms
1 kΩ resistor across the coil50 V at first62 V at firstExponential, τ = L/(1,240 Ω) ≈ 81 μs

A plain diode protects the switch best but lets the current, and with it the magnetic force, decay most slowly. TE Connectivity's application note Coil Suppression Can Reduce Relay Life (13C3264) explains the risk: a slowly released armature may lack the momentum to break the microweld that can form when contacts close onto a medium- or high-current load, leaving them welded. The note recommends a Zener diode in series with a general-purpose diode as the best compromise. A resistor clamp also works but draws current whenever the coil is energized, 12 mA in this example.

The same kick can be put to work. A boost converter stores energy in an inductor while its transistor conducts; at turn-off, the inductor current, which cannot stop, flows through a diode into an output capacitor held above the input voltage. A flyback converter delivers the stored energy through a coupled inductor to an isolated secondary winding, and an automotive ignition coil interrupts its primary current to produce the thousands of volts that fire a spark plug. The term flyback comes from cathode-ray-tube televisions, whose horizontal deflection circuits generated the picture tube's high voltage during the beam's rapid retrace, or flyback.

The exponential rise of coil current also assumes a constant L. If a magnetic core saturates, its inductance collapses and the current climbs far faster, so inductors in switching circuits must stay below their rated saturation current. Transistor Switching Circuits applies this result to choosing a clamp for a transistor-driven coil.

Second-Order Circuits: Series and Parallel RLC

A circuit whose energy storage reduces to one inductor and one capacitor is second order. Energy can now move back and forth between the magnetic field and the electric field, and the question becomes whether resistance dissipates it before it can oscillate.

In the series RLC circuit, one current, i, flows through R, L, and C. With no source, Kirchhoff's voltage law gives Ri + L di/dt + vC = 0. Substituting i = C dvC/dt and dividing by LC gives

d2vC/dt2 + (R/L) dvC/dt + vC/(LC) = 0

In the parallel RLC circuit, one voltage, v, appears across R, L, and C. Kirchhoff's current law gives v/R + iL + C dv/dt = 0, and substituting v = L diL/dt gives

d2iL/dt2 + [1/(RC)] diL/dt + iL/(LC) = 0

Both equations share one standard form,

d2x/dt2 + 2α dx/dt + ω02x = 0

where α is the neper frequency, or damping coefficient, in reciprocal seconds, and ω0 is the undamped natural frequency in radians per second. Trying x = Aest turns the differential equation into the characteristic equation

s2 + 2αs + ω02 = 0

whose roots are

s1, s2 = −α ± √(α2 − ω02)

These roots are the circuit's natural frequencies; in transfer-function language they are its poles. The damping ratio, ζ = α/ω0, compares the rate at which resistance removes energy with the rate at which the inductor and capacitor exchange it, and it alone decides the character of the response.

Parameters of source-free RLC circuits
Parameter Series RLC Parallel RLC
Neper frequency, αR/(2L)1/(2RC)
Undamped natural frequency, ω01/√(LC)1/√(LC)
Damping ratio, ζ = α/ω0(R/2)√(C/L)[1/(2R)]√(L/C)
Resistance for critical damping (ζ = 1)2√(L/C)½√(L/C)
Quality factor, Q = 1/(2ζ)(1/R)√(L/C)R√(C/L)
Effect of increasing RMore dampingLess damping

Resistance acts in opposite ways in the two circuits. Series resistance carries the loop current, so a larger R dissipates more energy per cycle; parallel resistance shunts the tank, so a larger R draws less current and damps less, and an ideal parallel tank with no shunt resistance rings forever. The quality factor, Q, equals 1/(2ζ) in both circuits, tying a circuit's ringing in time to the sharpness of its resonance in frequency.

Overdamped, Critically Damped, and Underdamped Responses

Whether ζ is greater than, equal to, or less than 1, which is the sign of α2 − ω02, divides second-order responses into three kinds.

Overdamped: ζ > 1

The roots are real, negative, and distinct, and the response is the sum of two decaying exponentials:

x(t) = A1es1t + A2es2t

No oscillation occurs. The root closer to zero decays slowly and dominates the tail; the other dies away quickly.

Critically Damped: ζ = 1

The roots coincide at s = −α, and the solution needs a second, independent term:

x(t) = (A1 + A2t) e−αt

Critical damping is the boundary between the other two cases. For a circuit stepped from rest, it gives the fastest response that never overshoots the final value.

Underdamped: ζ < 1

The roots form a complex-conjugate pair, s = −α ± jωd, where

ωd = √(ω02 − α2) = ω0√(1 − ζ2)

is the damped natural frequency. The response is a sinusoid inside a decaying exponential envelope:

x(t) = e−αt(B1 cos ωdt + B2 sin ωdt)

The envelope shrinks by a factor of e every 1/α seconds while the circuit rings at ωd, slightly below ω0. When damping is light, the ringing takes about Q cycles to fall to e−π, roughly 4 percent, of its starting amplitude, which gives a quick way to read Q from a waveform. With ζ = 0, as in an ideal LC circuit, the oscillation never decays, and the inductor current peaks each time the capacitor voltage passes through zero.

Fitting the Constants

In each case, the two constants come from the two initial conditions, x(0+) and dx/dt(0+). Evaluating each form and its derivative at t = 0 gives:

  • Overdamped: A1 + A2 = x(0+) and s1A1 + s2A2 = dx/dt(0+).
  • Critically damped: A1 = x(0+) and A2 − αA1 = dx/dt(0+).
  • Underdamped: B1 = x(0+) and ωdB2 − αB1 = dx/dt(0+).

A series RLC circuit with L = 1 mH and C = 10 μF shows how resistance moves a circuit between the cases. Here ω0 = 10,000 rad/s (about 1.59 kHz), √(L/C) = 10 Ω, and critical damping occurs at R = 20 Ω.

Effect of series resistance with L = 1 mH and C = 10 μF
R α (s−1) ζ Roots (s−1) Response
2 Ω1,0000.1−1,000 ± j9,950Underdamped; Q = 5, with visible ringing for about five cycles
10 Ω5,0000.5−5,000 ± j8,660Underdamped; rings at about 1.38 kHz
20 Ω10,0001.0−10,000, repeatedCritically damped
50 Ω25,0002.5−2,087 and −47,913Overdamped; slow term with a time constant of about 0.48 ms

Raising the resistance past the critical value slows the circuit, because the slow root moves toward zero; the next section quantifies the effect.

Step Response of RLC Circuits

When a DC source switches into a second-order circuit, the complete response is again the final value plus a natural response:

x(t) = x(∞) + xn(t)

Here xn(t) takes the overdamped, critically damped, or underdamped form of the circuit after switching. The constants are fitted to the complete response, not to the natural part alone, so the initial conditions for xn become xn(0+) = x(0+) − x(∞) and dxn/dt(0+) = dx/dt(0+).

The most common case is a series RLC circuit, initially at rest, connected at t = 0 to a DC voltage VS, with the output taken across the capacitor. The capacitor starts at vC(0+) = 0, and because the inductor current also starts at zero, dvC/dt(0+) = i(0+)/C = 0. The final value is VS. Fitting the constants gives:

  • Overdamped: vC(t) = VS[1 + (s2es1t − s1es2t)/(s1 − s2)]
  • Critically damped: vC(t) = VS[1 − (1 + αt)e−αt]
  • Underdamped: vC(t) = VS{1 − e−αt[cos ωdt + (α/ωd) sin ωdt]}

Each expression starts at zero with zero slope, as the inductor requires, and each approaches VS.

Only the underdamped response overshoots. Its first peak comes when the inductor current returns to zero, at the peak time tp = π/ωd, and the overshoot, as a fraction of the step, is

Mp = e−αtp = e−πζ/√(1 − ζ2)

Overshoot depends on ζ alone, which makes it the easiest way to recognize damping on a waveform.

Step-response overshoot versus damping ratio
ζ Q Overshoot ωd0
0.051085.4%0.999
0.1572.9%0.995
0.22.552.7%0.980
0.31.6737.2%0.954
0.5116.3%0.866
0.7070.7074.3%0.707
0.80.6251.5%0.600
1.00.5NoneNo oscillation

At ζ = 0.707, the damping of a second-order Butterworth low-pass filter, the overshoot is only 4.3 percent. As ζ approaches zero, the overshoot approaches 100 percent, so a lightly damped LC circuit stepped from zero rings up to nearly twice the applied voltage.

Returning to the series example with L = 1 mH and C = 10 μF, a 5 V step produces three distinct waveforms:

  • R = 10 Ω (ζ = 0.5): the capacitor voltage first reaches 5 V after 0.24 ms, peaks at 5.82 V after 0.36 ms, rings at 1.38 kHz, and stays within 2 percent of 5 V after about 0.81 ms.
  • R = 20 Ω (ζ = 1): there is no overshoot; the voltage reaches 90 percent of its final value at 0.39 ms and 98 percent at 0.58 ms.
  • R = 50 Ω (ζ = 2.5): there is no overshoot, but 90 percent takes 1.12 ms and 98 percent takes 1.90 ms.

For light to moderate damping, the envelope gives a quick estimate of the 2 percent settling time, ts ≈ 4/α = 4/(ζω0), which predicts 0.8 ms for the 10 Ω case. The underdamped circuit arrives first but overshoots and rings, and the overdamped one avoids both but is slow, so designs that value speed and overshoot together commonly aim for ζ between about 0.5 and 1.

In the dual case, a DC current source IS switched into a parallel RLC circuit at rest drives the inductor current from zero toward IS along the same three curves, with α = 1/(2RC).

Practical Cases

Each of the following circuits reduces to a first-order or second-order core.

Power-On Reset Delay

Many digital circuits hold a reset input active for a short time after power is applied, so that the supply and the clock oscillator can stabilize before the processor starts running. The simplest implementation is a first-order RC circuit: a resistor from the supply to an active-low reset pin, and a capacitor from the pin to ground. If the supply steps quickly to VDD, the pin voltage follows v(t) = VDD(1 − e−t/RC), and reset releases when that voltage crosses the input threshold. With 47 kΩ and 1 μF, τ = 47 ms, and a threshold of 0.7VDD is crossed at t = τ ln[1/(1 − 0.7)] ≈ 1.2τ ≈ 57 ms.

The calculation assumes a supply that rises much faster than τ; a slowly ramping supply drags the pin up with it and can release reset before VDD is valid. Tolerance, leakage, and any internal pull-up resistor in parallel with R shift the delay, and after a brief dropout the charged capacitor may hold the pin high. A diode across the resistor, with its anode at the pin and its cathode at VDD, discharges the capacitor as the supply falls. Because of these limits, many designs use a supervisor IC or a microcontroller's internal power-on reset and brownout detector instead; Power-On Reset and Supervisory Circuits compares the alternatives.

Switch Debouncing

Mechanical contacts bounce. In measurements of 18 assorted switches, the embedded-systems engineer and author Jack Ganssle found that 16 of them bounced for an average of about 1.6 ms, with a worst case of 6.2 ms; of the other two, one pushbutton bounced for 157 ms as it opened. An RC filter between the switch and a logic input turns a burst of bounces into one slow ramp, and a Schmitt-trigger input, whose rising and falling thresholds differ, turns the ramp back into a single clean edge.

A common arrangement connects a pull-up resistor, R1, to a grounded switch, and a second resistor, R2, from the switch node to a capacitor, C, at the Schmitt-trigger input. A press discharges C through R2 alone, with τ = R2C; a release recharges it through R1 + R2. Each threshold-crossing time should exceed the worst bounce expected.

Suppose, for illustration, that the Schmitt input switches at one-third and two-thirds of the supply; real thresholds come from the datasheet. With C = 1 μF, R2 = 18 kΩ, and R1 = 10 kΩ, a press discharges C from VDD and crosses VDD/3 after 18 ms × ln 3 ≈ 20 ms, and a release charges C through 28 kΩ and crosses 2VDD/3 after 28 ms × ln 3 ≈ 31 ms. Never feed such a slow ramp into an ordinary logic input without hysteresis: noise near its single threshold can toggle the input several times, restoring the very bounce the filter removed.

RC Snubbers for Switching Ringing

When a MOSFET or diode switches quickly, the stray inductance of its current loop and the capacitance across the device form a lightly damped series LC circuit. Each edge excites ringing, often at tens to hundreds of megahertz, that stresses the device and radiates interference. An RC snubber, a resistor in series with a capacitor across the device, supplies the missing damping.

Nexperia's application note AN11160, Designing RC Snubbers (revision 3.1, October 2024), sizes a snubber from two oscilloscope measurements, using the theory of this article:

  1. Measure the ringing frequency, f0, without a snubber.
  2. Add a known capacitor, Cadd, across the device and measure the new, lower ringing frequency, f1.
  3. Because the ringing frequency varies as 1/√C, the parasitic capacitance is Cp = Cadd/(x2 − 1), where x = f0/f1. If the added capacitor exactly halves the frequency, Cp = Cadd/3. The loop inductance then follows from Lp = 1/[(2πf0)2Cp].
  4. Choose the snubber capacitance, CS. The note suggests one to two times Cp as a starting point, since a larger capacitor damps better but costs more power.
  5. Choose the snubber resistance so that the damping ratio, ζ = RS/(2Z0) with Z0 = √(Lp/CS), lies between 0.5 and 1, which means Z0 < RS < 2Z0. Refine the value on the bench for the lowest peak voltage.
  6. Check the timing and the power. The note keeps RSCS below a tenth of the device's minimum on time, so that CS discharges fully before the next turn-off. Charging and discharging CS through the switched voltage V once per cycle costs P = CSV2fsw, whatever the value of RS.

In the note's own example, a 20 V, 300 kHz half-bridge rang at 91.74 MHz, and adding 1 nF lowered the ringing to 61.3 MHz. That gives x ≈ 1.497, Cp ≈ 807 pF, and Lp ≈ 3.73 nH. A 1.6 nF capacitor, twice Cp, with a 2.2 Ω resistor, about 1.5 times Z0, eliminated the ringing, at an added loss of about CSV2fsw = 1.6 nF × (20 V)2 × 300 kHz ≈ 0.19 W.

Ringing on Supply Rails

Supply wiring has inductance, and modern boards place low-ESR ceramic capacitors at their power inputs, forming a series RLC circuit with very little resistance. Connecting a live supply to such a board applies a voltage step to that circuit, and the input voltage can ring up to nearly twice the supply voltage.

Take, for illustration, 1 μH of cable inductance, a 10 μF ceramic input capacitor, and 55 mΩ of total resistance in the wiring, contacts, and capacitor. Then Z0 = √(L/C) ≈ 0.32 Ω, ζ = R/(2Z0) ≈ 0.087, and the overshoot is about 76 percent: a 12 V supply connected hot drives the input to about 21 V, ringing near 50 kHz. A regulator rated for 16 V, which looks generous on paper, can fail from the connection alone.

Because ζ = R/(2Z0), the cure is resistance in the ringing loop that does not carry the DC load current. A bulk electrolytic or polymer capacitor across the input, with an equivalent series resistance comparable to Z0 and several times the ceramic capacitance, provides exactly that; an inrush-current limiter or a transient voltage suppressor can also help. The same analysis underlies the damping of LC input filters ahead of switching regulators, and Decoupling and Bypassing treats the related resonances among a board's capacitors.

Measuring Time Constants and Damping with an Oscilloscope

A square-wave source and an oscilloscope are enough to measure τ and ζ and to estimate the parasitic values behind them.

Setting Up the Test

Drive the circuit with a square wave whose half-period spans at least five to ten time constants, or comfortably exceeds the expected settling time, so that each edge starts from a settled state. The generator is part of the circuit. Most bench function generators have a 50 Ω output impedance, which adds to the circuit's Thévenin resistance. Many also display the amplitude they would deliver into a 50 Ω load unless their load setting is changed, so an output driving a high-impedance circuit swings about twice the displayed value. Use DC coupling, and trigger on the input edge.

Reading a First-Order Response

For a clean exponential, place cursors on the starting and final levels, then find the time at which the waveform completes 63.2 percent of the change; that interval is τ. Alternatively, measure the 10 to 90 percent rise time and divide by 2.2. For the most careful work, plot the natural logarithm of the distance to the final value against time. A true first-order response gives a straight line with slope −1/τ, and a bend in the line reveals a second time constant, such as dielectric absorption in the capacitor or a second pole in the circuit.

Reading an Underdamped Response

For ringing, measure the period, Td, between successive peaks, which gives ωd = 2π/Td. Then measure x1 and x2, the heights of two successive peaks of the same polarity above the final value. Their ratio gives the logarithmic decrement, δ = ln(x1/x2), from which

ζ = δ / √(4π2 + δ2)

For light damping, ζ ≈ δ/(2π). If two successive peaks sit 1.20 V and 0.45 V above the final value, δ = ln 2.67 ≈ 0.98, ζ ≈ 0.15, and Q ≈ 3.2. When the ringing lasts many cycles, measuring across n periods, with δ = (1/n) ln(x1/xn+1), improves accuracy. When only a single overshoot is visible, the overshoot table gives ζ directly. Finally, ω0 = ωd/√(1 − ζ2) and α = ζω0, and if either L or C is known, ω0 = 1/√(LC) yields the other.

Measurement Pitfalls

  • Probe loading. A typical 10× passive probe adds about 10 MΩ in parallel with a capacitance on the order of 10 pF. The resistance shortens the time constant of a high-impedance RC circuit, while the capacitance adds to any small circuit capacitance, lengthening a time constant or lowering a ringing frequency. Probes and Adapters covers probe types and loading in detail.
  • Ground-lead ringing. The long ground clip on a passive probe forms a series RLC circuit with the probe's input capacitance, and a fast edge rings it. A Tektronix patent on low-inductance ground leads, U.S. Patent 4,838,802, issued in 1989, puts the inductance of conventional ground leads on the order of 200 to 300 nH and the capacitance of typical high-frequency probes at 10 to 15 pF, a combination that resonates between about 75 and 113 MHz. Use the short ground spring supplied with the probe, and distrust any ringing that changes when the ground lead moves.
  • Instrument rise time. The oscilloscope and probe have their own rise time, about 0.35 divided by their bandwidth, or somewhat more for a flat, sharply falling response. Rise times combine approximately as the square root of the sum of their squares, so an instrument three times faster than the signal adds about 5 percent to the measured rise time, and one five times faster adds about 2 percent.
  • Nonideal components. Electrolytic capacitors have significant equivalent series resistance and leakage, and Class II ceramic capacitors lose capacitance under DC bias, so a measured τ that disagrees with the nominal RC product is often reporting the truth about the part.

Simulating Transients with SPICE

SPICE transient analysis solves the same differential equations numerically, one time step at a time, including nonlinear devices beyond the reach of hand analysis. The following netlist simulates the series RLC example with R = 10 Ω. Its element lines and .tran statement use the classic Berkeley SPICE syntax that ngspice and most other simulators accept.

* Series RLC step response, zeta = 0.5
V1 in 0 PULSE(0 5 0.1m 1n 1n 10m 20m)
R1 in n1 10
L1 n1 out 1m
C1 out 0 10u
.tran 1u 3m
.end

The source steps from 0 to 5 V at 0.1 ms with 1 ns edges, and .tran 1u 3m requests 3 ms of simulated time with a 1 μs output step. A few details decide whether such a simulation can be trusted:

  • Time step. The full ngspice form is .tran tstep tstop <tstart <tmax>> <uic>. The maximum internal step, tmax, defaults to the smaller of tstep and (tstop − tstart)/50. Set it explicitly when a long run must resolve fast ringing.
  • Initial conditions. By default the simulator first computes a DC operating point, with capacitors open and inductors shorted, and starts from it; the source's initial value of 0 V gives the at-rest start used in the hand analysis. A .ic v(out)=2.5 line forces that node voltage during the operating-point solution and then releases it when the run begins. Adding uic to the .tran line skips the operating point altogether: the run starts from IC= values on individual capacitors and inductors, or from node voltages on a .ic line, and takes any node given neither as zero, a convenient way to set up a pure natural response.
  • Edges. If a pulse source omits its rise and fall times, ngspice uses tstep for both. Choose edges much faster than the circuit's response but not needlessly sharp, since sharp edges force tiny time steps.
  • Integration artifacts. By default, ngspice integrates with the trapezoidal method, and it offers Gear integration through .options method=gear. Trapezoidal integration adds no numerical damping, so a time step that is long compared with a fast time constant, typically just after an abrupt edge, can produce trap ringing: a spurious sawtooth that alternates between successive time steps. Reducing tmax removes it, while real ringing survives. Gear integration also suppresses it, but its numerical damping can hide ringing that a lightly damped circuit really has.
  • Sanity checks. Compare the result with hand analysis. For this netlist, the output should peak near 5.82 V about 0.36 ms after the edge and ring at about 1.38 kHz. A large mismatch usually means a units error, and the classic one is writing 1M for one megohm: SPICE reads M as milli, so a megohm must be written 1meg.

When Laplace Methods Are Quicker

The time-domain method suits circuits with one or two energy-storage elements, step inputs, and a single switching instant. Beyond that, the Laplace transform usually reaches the answer sooner:

  • Initial conditions become sources. In the s-domain, a charged capacitor or a current-carrying inductor becomes an impedance plus a source, so nodal or mesh analysis absorbs the initial conditions without separate derivative conditions at 0+.
  • Algebra replaces calculus. Circuits of third and higher order, or with several coupled loops, lead to simultaneous algebraic equations rather than simultaneous differential equations.
  • Inputs beyond the step. Ramps, exponentials, and sinusoids switched on at t = 0 are handled like steps, and the transient and steady-state parts emerge from one calculation.
  • Poles tell the story. The characteristic roots found here are the poles of the circuit's transfer function; their positions in the complex plane show whether a response decays, rings, or grows, and tie the transient response to the frequency response.

For first-order circuits the classical method is still quicker, and it remains the better teacher, because every step has a physical meaning.

Summary

Transient response comes down to energy that cannot move instantly. Capacitor voltage and inductor current are continuous, so they carry a circuit across each switching instant while every other quantity is free to jump. A first-order circuit then moves exponentially toward its final value with a time constant of RThC or L/RTh, completing 63 percent of the change in one time constant and more than 99 percent in five. A second-order circuit follows the roots of s2 + 2αs + ω02 = 0, and its damping ratio decides whether a step response rises slowly, rises as fast as possible without overshoot, or rings at ωd and overshoots by an amount set by ζ alone.

The same results set the timing of a power-on reset and a debounce filter, guide the choice of a relay-coil clamp, size an RC snubber, and explain why hot-plugging a supply into ceramic capacitors can nearly double the input voltage. An oscilloscope measures τ and ζ directly, SPICE checks circuits too large to solve by hand, and Laplace methods take over as circuits grow in order.

Related Topics