DRV-14 Inductive load switched without a freewheel path¶
| Severity | Status | Implementation |
|---|---|---|
| warning | runs in better_erc | easy, depends on netlist (CFG-2 for loads behind connectors |
Data it needs: graph, part classes, rails.
Looks at. Inductive loads (part class, project data for connectors).
What it catches. A solenoid, motor, coil, valve or transformer switched by a transistor with no freewheel diode, TVS or snubber across the load or the switch. The relay case is DRV-9.
Why it matters. Same physics as the relay: interrupting an inductor's current makes the voltage rise until something conducts. Motors and solenoids store far more energy than a relay coil, so the switch fails faster, and the spike couples into everything sharing its ground.
Example. A 12 V solenoid valve on a connector, switched by a low-side NMOS with no diode: the FET avalanches at every turn-off; it survives only if its avalanche energy rating covers the solenoid's stored energy.
How to check. Switches whose load is an inductive part (by class) or a connector declared as inductive in the project; look for a diode, TVS or RC across the load or the switch.
Fix. A freewheel diode (fast or Schottky) across the load, or a TVS across the switch where a fast decay is needed.
References. Wikipedia, Flyback diode "Operation", "Applications"; AN11158 §2.4 (avalanche ratings); catalogue DRV-9.
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only DRV-14 reports on it.
drv-14_inductive_loads¶
warning DRV-14 #tht solenoid SOL1 is switched on /VALVE_SW by Q1 with no freewheel diode, TVS or snubber: interrupting its current drives the switch into avalanche
net /VALVE_SW, part SOL1
fix: a freewheel diode (fast or Schottky) across the load, or a TVS across the switch where a fast decay is needed