Driving an inductive load
The equations, the datasheet numbers, and the one trade-off that every clamp choice sits on.
The two equations
Time constant τ = L / R. Current reaches ~99% of final in 5τ.
The one rule
Current in an inductor cannot stop instantly. At turn-off it will flow somewhere. The coil raises the switch-node voltage until something conducts.
You are not choosing whether current flows. You are choosing what conducts. If you don't choose, the coil picks your transistor.
The trade-off
Decay rate is proportional to the voltage the clamp holds:
- Low clamp → gentle on the switch, slow release.
- High clamp → fast release, more stress on the switch.
Every clamp type is a point on this one line. There is no free option.
Clamp options, ranked by clamp voltage
| Clamp | Node sits at | Release |
|---|---|---|
| Plain diode | VS + 0.7 | slowest |
| Diode + resistor | VS + 0.7 + IR | faster |
| Zener / TVS | VS + VZ | fast |
| Active clamp | set by design | fast |
| Nothing | switch breakdown | fastest — once |
Detail and sizing: Lesson 02.
Diode orientation
Across the coil, cathode to the positive rail, anode to the switch node.
Sanity check: while the load is on, the diode must be reverse-biased and carrying nothing. If it conducts when the load is energised, it is backwards and you have built a short circuit.
Reading a coil datasheet
- Coil resistance → steady current = V / R.
- Inductance is often two numbers — armature on and off. For turn-off analysis use armature on (the larger one). The relay is pulled in at the moment you switch it off.
- Many relays publish no inductance at all. Omron's G5V series does.
- Values are typically ±10% at 23 °C. Copper resistance rises with temperature, so a hot coil draws less current.
Worked example — Omron G5V-2, 12 V
| VS | 12 V |
|---|---|
| Rcoil | 288 Ω |
| I | 41.7 mA |
| L (armature on) | 0.74 H |
| τ = L/R | 2.57 ms |
| E = ½LI² | 640 µJ |
| Decay, 0.7 V clamp | 7.4 ms |
| Decay, 60 V clamp | 0.57 ms |
Order-of-magnitude checks
- Node rise time to clamp ≈ Cstray × Vclamp / I. Tens of nanoseconds — too fast for a multimeter to ever show you.
- Unclamped “pressure” if current died in 1 µs: L × I / 1µs. For the G5V-2 that is ~31 kV. It never gets there — the number tells you how hard the coil is pushing, not what you'd measure.
- A signal relay stores hundreds of µJ; a big solenoid or motor stores hundreds of mJ. The arithmetic is identical, the consequences are not.
Failure signatures
- Transistor shorted after N cycles → unclamped, or clamp too slow to catch the edge.
- MCU resets when the load switches → the transient is coupling into the supply or a signal line.
- Relay drops out sluggishly → clamp voltage too low. This is the plain diode's cost, not a fault.