DRV-9 Relays without flyback diode¶
| Severity | Status | Implementation |
|---|---|---|
| error | runs in better_erc | easy, depends on netlist |
Data it needs: graph, part classes, rails.
Looks at. Relay coils (part class), the switch driving them.
What it catches. An electromechanical relay coil switched by a transistor or IC with no diode (or diode and zener, TVS, RC) across the coil.
Why it matters. The coil's inductance keeps the current flowing when the switch opens: the voltage at the switch rises until something conducts, usually the transistor in avalanche at hundreds of volts. It dies after a number of cycles, or at once. A plain diode across the coil fixes that but slows the contact release, which wears contacts switching heavy loads; a diode plus zener releases fast and still clamps.
Example. A 12 V relay driven by a BC817 (45 V) with no diode: the collector flies to well over 100 V at every turn-off, and the transistor fails after days. On B153A U101 is a photo-MOS relay (ISOM8600): its LED input needs a resistor (R106, 1 kΩ) and no flyback diode, since there is no coil.
How to check. Relays by class (symbol, designator K, library) whose coil pins have no diode, TVS or RC across them (or from the switched pin to the coil supply).
Fix. A diode across the coil (cathode to the supply side), with a zener in series for fast release; a TVS where the driver has the voltage headroom.
References. TE coil suppression ("Effects of Coil Suppression on Relay Dynamics and Life", "Suggested Methods for Relay Coil Suppression": diode plus zener); Wikipedia, Flyback diode "Operation"; B153A review notes §10 (photo-MOS relay U101).
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only DRV-9 reports on it.
drv-9_relay_flyback¶
error DRV-9 #bec relay K1 is switched on /K1_COIL by Q1 with no flyback diode, TVS or RC: the coil's kick takes the switch into avalanche
net /K1_COIL, part K1
fix: a diode across the coil (cathode to the supply side), with a Zener in series for fast release; or a TVS where the driver has the headroom