Hot-plugging a 12V adapter spikes the input toward 24V: LC resonance of a ceramic capacitor and the cable

Plugging in a live adapter can destroy an input rated for 30V. The cable inductance and a low-ESR MLCC form a series LC circuit that resonates on the voltage step at the moment of plug-in, and the input voltage briefly jumps to nearly twice the supply voltage.

Last updated: 2026-10-09 Hot plugLC resonanceMLCCInrush currentTVS

Plugging in a live cable nearly doubles the input voltage

Take an AC adapter that is already putting out 12V and plug it into the jack of an unpowered board. From the board's side, 12V is suddenly connected: a step input.

A 1m power cable has about 0.5 to 1µH of inductance. The board input usually carries a few µF to tens of µF of low-ESR multilayer ceramic capacitors (MLCCs), so the cable's L and the input's C form a series LC circuit.

With only an aluminum electrolytic capacitor, or a battery, the resonance dies out quickly. An MLCC has an ESR of only a few mΩ and almost no damping, so the closer the resistance gets to zero, the closer the peak voltage gets to twice the input voltage. Plug in a 12V adapter and the input node briefly jumps to the 20V range.

This effect is reported in Linear Technology application note AN88.

Hot-plugging forms a series LC circuitPlugging in a live 12V adapter makes the cable's inductance L and resistance R and the input MLCC's C a series LC circuit. The formulas for resonant frequency and damping ratio. Equivalent circuit: cable L and R with input MLCC C At plug-in, 12V enters the circuit as a step 12V AC adapter Already live Plug-in Cable (equivalent) R L L ≈ 0.6µH, R ≈ 0.05Ω (1m) Input node MLCC 10µF, ESR few mΩ Load Series LC Resonance formulas f₀ = 1 / (2π√LC) Independent of R ζ = (R/2)√(C/L) Smaller ζ, bigger spike ζ → 0: Vpeak → 2V₀ MLCC ESR is only a few mΩ and adds almost no damping. Most of R is the cable's conductor resistance.
Figure 1: the cable's L and R and the input MLCC's C form a series LC circuit. f₀ = 1/(2π√LC), ζ = (R/2)√(C/L).

Why the peak approaches twice the supply

When a step voltage V₀ is applied to a series RLC circuit, the capacitor voltage (the input node voltage) peaks at:

Vpeak = V₀ × (1 + e−ζπ/√(1−ζ²)) (ζ < 1, the oscillating case)

ζ is the damping ratio, ζ = (R/2)√(C/L), where R is the cable resistance plus the MLCC's ESR. As ζ approaches zero, Vpeak approaches 2V₀.

R cannot be counted on, though. A low-ESR MLCC has an ESR of a few mΩ, and a 1m power cord has only about 0.05Ω. The low ESR the MLCC is chosen for works against you here.

At plug-in the voltage spikes, then settlesStable at 12V before plug-in. At plug-in the series LC circuit is excited, and the voltage jumps to 20.7V briefly before settling to 12V. Before plug-in: stable at 12VSteady state, no current At plug-in: LC ringingThe step excites the LC circuit 12V R L C Steady, no current Charging current flows in 12V Absolute max (e.g. 20V) Time 20.7V At plug-in the voltage rises to 20.7V in about 7.7µs (fn ≈ 65kHz).It then settles to 12V over several cycles, exceeding the absolute max only at the peak. Before plug-in, the node stays at 12V.
Figure 2: stable at 12V before plug-in. At the moment of plug-in the LC circuit is excited, and the voltage jumps into the 20V range before settling to 12V.

Peak voltage and resonant frequency for L, C and R

Take a 1m power cable (L ≈ 0.6µH) and a board with a 10µF MLCC at the input, and vary R (V₀ = 12V).

Varying R with L = 0.6µH, C = 10µF, V₀ = 12V (calculated in node)
Total RDamping ratio ζResonant frequency f₀Peak voltageTypical case
0.02Ω0.04165kHz22.6VThick cable, low-ESR MLCC alone
0.05Ω0.10265kHz20.7VTypical 1m power cord
0.1Ω0.20465kHz18.2VThin cable, or 2m
0.2Ω0.40865kHz14.9VResistance added on purpose
0.5Ω1.0265kHz12.0VBeyond critical damping, no oscillation

f₀ = 1/(2π√LC) does not depend on R. Raising R does not change the resonant frequency; it only lowers the peak voltage.

Where it breaks real hardware: USB PD at 20V and 24V industrial equipment

The effect does real damage when the margin to the input's absolute maximum rating is thin. Here are common conditions on a DC-DC input rated for 30V.

Peak voltage and margin on a DC-DC input rated for 30V (calculated in node)
SystemConditionsPeak voltageAgainst 30V rating
12V1m cable (0.6µH), 10µF MLCC, R = 0.05Ω20.7VMargin left
USB PD 20V1m cable (1.0µH, thin), 10µF MLCC, R = 0.15Ω29.3VRight at the rating
24V industrial2m cable (1.2µH), 22µF MLCC, R = 0.05Ω41.1VMore than 10V over

On USB PD at 20V, the cable tends to be long and thin and the source is already live when you connect, so the effect occurs as is. A 30V rating looks comfortable, but the overshoot uses up most of the 10V static margin.

24V industrial equipment is worse. Cables of 2m or 3m from the distribution panel are common, and many machines put MLCCs at the input for high-frequency noise. 41V exceeds the absolute maximum rating of many DC-DC controllers. Damage happens only when you plug in at a bad moment, so finding the cause tends to take a long time.

DC bias on the MLCC makes it worse

An MLCC loses capacitance under DC voltage. A 10µF X7R at 12V can fall to under half its rated value, and on some parts to 3 to 4µF. When C drops, ζ = (R/2)√(C/L) drops too, so the overshoot gets worse with R and L unchanged.

R = 0.05Ω and L = 0.6µH fixed, MLCC effective capacitance varied (calculated in node)
MLCC effective capacitanceResonant frequency f₀Peak voltage
10µF (catalog value)65kHz20.7V
4µF (example after DC bias)103kHz21.8V

The peak differs by only about 1V, but the resonant frequency rises by about 1.6 times. The real resonance sits higher than f₀ calculated from the datasheet capacitance, so allow for it when you set the scope's time base.

Inrush current: worn contacts and a dropped upstream supply

Seen as current, the same effect is inrush current. As the voltage jumps, a large current briefly flows in the cable to charge C.

Standards with frequent plugging, such as USB, limit the local bulk capacitance to hold inrush down. USB 2.0 allows a bus-powered device at most 10µF directly on VBUS, and requires an inrush-limiting circuit beyond that.

Peak inrush current for VBUS 5V, C = 10µF (the USB 2.0 limit) and L = 0.2µH, by cable plus contact resistance R (calculated in node)
Total RPeak inrush current
0.05Ω (thick cable, good contact)27.5A
0.1Ω (typical cable)22.4A
0.2Ω (thin cable, slightly worn contact)16.1A

A single USB connector pin is rated for only about 1.5 to 3A continuous, so the currents in the table are an order of magnitude higher. They last only a few µs, so the connector will rarely melt on the spot. The problem is repetition. Each plug-in roughens the contact surface with tiny arcs (fretting, blackening), and the contact resistance creeps up. R rises and the overshoot falls, but it only trades into a heat and voltage-drop problem.

The other symptom is a brief drop in the upstream supply. A fuse, polyswitch or current-limited power IC can mistake the inrush peak for an overcurrent and trip. If the power LED goes out at plug-in, or the power IC's PG goes low briefly, suspect this inrush first.

Fix 1: add an aluminum electrolytic in parallel

The easiest fix is to add an aluminum electrolytic capacitor, which has ESR, in parallel with the MLCC. Low ESR is the problem, so use ESR to supply the damping.

There are two reference resistances. The characteristic impedance Z0 = √(L/C) is about 0.245Ω for L = 0.6µH and C = 10µF. At R = Z0, ζ = 0.5, and the overshoot drops a lot but does not vanish. Above critical damping Rcrit = 2√(L/C) ≈ 0.49Ω (ζ = 1), the oscillation stops altogether.

The ESR of a small 100µF-class aluminum electrolytic is often 0.2 to 0.3Ω around 100kHz, right between Z0 and Rcrit. Bringing the peak below the absolute maximum rating is enough in practice, so aim for an ESR between Z0 and Rcrit. The electrolytic turns the energy of one resonance into heat in its ESR. Figure 3 treats the ESR as a series R as an estimate.

A parallel electrolytic damps itWith the MLCC alone the voltage jumps to 20.7V. With an ESR-bearing aluminum electrolytic in parallel, the same inrush energy is dissipated as heat in the ESR and the peak stays at 13.1V. MLCC onlyLow ESR, no damping Aluminum electrolytic addedESR ≈ 0.3Ω (between Z0 and Rcrit) Input node MLCC Electrolytic 100µF ESR ≈ 0.3Ω Resonance energy to heat in ESR No electrolytic 12V Absolute max (e.g. 20V) Time 20.7V 13.1V With the MLCC alone (R ≈ 0.05Ω) the peak reaches 20.7V. With the electrolytic R ≈ 0.3Ω and the peak stays at 13.1V.The resonant frequency is unchanged. The ESR absorbs only the peak height.
Figure 3: with the MLCC alone (left) the voltage jumps to 20.7V. With a 100µF electrolytic of about 0.3Ω ESR in parallel (right), the peak stays at 13.1V.

Peak voltage versus R

Figure 4 sweeps R on a log axis. Right of Z0 and Rcrit the overshoot almost vanishes, and left of them it rises steeply.

Total resistance R versus peak voltageThe smaller R is, the more steeply the peak rises. 20.7V for the MLCC alone (R ≈ 0.05Ω), 13.1V with an electrolytic added (R ≈ 0.3Ω). The characteristic impedance Z0 = √(L/C) and critical damping Rcrit = 2√(L/C) (ζ = 1, no overshoot) are marked. Total resistance R and peak voltage L = 0.6µH, C = 10µF, V₀ = 12V, R swept on a log axis 0.01Ω 0.03Ω 0.1Ω 0.3Ω 1Ω 2Ω 12V 16V 20V 24V Total resistance R (log) Peak voltage Absolute max (e.g. 20V) Z0 = √(L/C) ≈ 0.245Ω (ζ = 0.5) Critical: R = 2√(L/C) ≈ 0.49Ω (ζ = 1) MLCC only Electrolytic added Z0 = √(L/C) is the characteristic impedance. At R = Z0, ζ = 0.5 and some overshoot remains. Past R = 2Z0 (critical, ζ = 1) the oscillation stops, and raising R further barely lowers the peak (overdamped). An electrolytic ESR of 0.2 to 0.3Ω lies between Z0 and Rcrit and cuts the overshoot enough in practice.
Figure 4: the red dot is the MLCC alone (R ≈ 0.05Ω, 20.7V), the green dot the case with an electrolytic added (R ≈ 0.3Ω, 13.1V).

Fix 2: TVS. Fix 3: load switch or hot-swap controller

A TVS diode does not stop the resonance. It conducts once the voltage passes its clamping voltage and lets the voltage rise no further. On a 12V rail, choose a standoff voltage (for example 15V) above the maximum steady voltage including ripple and tolerance. The clamping voltage of such a TVS at its rated surge current is often 1.3 to 1.4 times the standoff voltage (around 24V for a 15V part), so it can cap the overshoot in the 20V range. But the TVS absorbs current and heats up while clamping. The resonance energy does not shrink, so the TVS takes it on every time.

A load switch or hot-swap controller takes a fundamentally different approach. An electronic switch deliberately slows the rise of the output. The resonant period here is 1/f₀ = 1/65kHz ≈ 15µs. If the rise time is much longer than that (about 1 to 10ms), there is no step to excite the circuit and almost no resonance occurs.

Abrupt turn-on versus a slow rampConnected abruptly, the voltage acts as a step and jumps to 20.7V. Ramped up over 1ms by a hot-swap controller, the rise is slow against the 15µs resonant period and the overshoot almost vanishes. Abrupt connection (contact) The step excites the LC circuit 12V Absolute max (e.g. 20V) Time Solid: input node. Dashed: drive voltage. Peak 20.7V The rise is too fast for the 15µs period and excites it. Hot-swap IC ramps over 1ms Much slower than the 15µs period 12V Absolute max (e.g. 20V) Time Solid: input node. Dashed: drive voltage. Peak 12.0V Much slower than the period, so it follows the ramp. Both sides use L = 0.6µH, C = 10µF, R = 0.05Ω. Only the rise time differs. With a rise time well above the 15µs period, the LC circuit is barely excited.
Figure 5: connected abruptly (left), the voltage jumps to 20.7V. Ramped up over 1ms (right), the rise is slow against the 15µs resonant period and the overshoot almost vanishes.

Effects and side effects of each fix

The three fixes act differently and have different side effects, so they are usually combined.

  1. Estimate the cable's L at 0.5 to 1µH per metre and calculate f₀ and ζ from the MLCC's effective capacitance after DC bias.
  2. If ζ is 0.2 or less, assume the peak can reach 1.5 to 2 times the input voltage and compare it with the absolute maximum ratings of the input parts.
  3. If the margin is short, first consider the inexpensive parallel aluminum electrolytic. Choose one whose ESR falls between Z0 and Rcrit.
  4. If the voltage is still too high or there is no board area, cap it with a TVS. Estimate the TVS's average loss from the plug-in rate.
  5. If plugging is frequent and you also worry about contact wear and false upstream protection, use a load switch or hot-swap controller.
Effects and side effects of each fix
FixHow it worksSide effects and cautions
Parallel aluminum electrolyticESR between Z0 and 2Z0 (critical damping) damps the resonance and turns its energy into heatTakes board area. ESR can rise several times at low temperature, so the effect varies with the environment. Electrolytics have a service life
TVSAbsorbs only the part above the clamping voltage. Resonant period and damping are unchangedThe resonance energy is not reduced, so the TVS heats on every plug-in. Watch average power with frequent plugging. Slight leakage even in normal operation
Load switch / hot-swap controllerMakes the rise much longer than the resonant period, so nothing is excitedAdds cost and board area. On-resistance causes voltage drop and heat. Fast transients such as contact bounce need separate measures

Frequently asked questions

Does adding MLCC capacitance solve it?
No. More C raises ζ and lowers the peak slightly, but the effect is limited. Raising R with deliberate ESR works much better on the peak.
What about tantalum or polymer capacitors instead of an MLCC?
Their ESR of tens to hundreds of mΩ is higher than an MLCC's, so they damp somewhat on their own. Stopping the oscillation almost fully takes an ESR near critical damping, 2√(L/C), so a parallel electrolytic or a TVS may still be needed. Some tantalum types are weak against surge and reverse voltage, so check the surge rating.
Isn't it fine if nobody hot-plugs?
Even if the intended procedure is to plug in first and then power on, people will plug in live cables. They carry an adapter plugged into the unit, swap a battery pack, or use a connector specified for live insertion. Leave margin on the circuit side.
Any tips for checking this on a scope?
The resonant frequency is tens to hundreds of kHz and can fall near the switching frequency. To avoid confusing it with supply ripple, set the time base wider than one or two resonant periods. A long probe ground lead adds to L and changes the waveform, so keep the ground connection short.

Standards and references

  • Linear Technology (Analog Devices), Application Note AN88, "Ceramic Input Capacitors Can Cause Overvoltage Transients" — Overshoot from the series resonance of cable inductance and a low-ESR ceramic capacitor
  • USB Implementers Forum, Universal Serial Bus Specification Revision 2.0 — The limit on local capacitance directly on VBUS for bus-powered devices, and the idea of inrush limiting
  • Manufacturers' TVS and aluminum electrolytic capacitor datasheets and application notes — Standoff versus clamping voltage of TVS; ESR frequency characteristics of aluminum electrolytics

← All columns