A 12 V relay K1 is controlled by N-channel MOSFET Q1. A conventional flyback diode protects the MOSFET but allows the relay coil current to decay slowly.
Design a faster flyback protection circuit using a diode and Zener diode so that:
CTRL_IN changes from 5 V to 0 V.CTRL_IN = 5 V.Select the Zener breakdown voltage from:
5.6 V, 8.2 V, 12 V, 18 V
Example test cases:
| Condition | Expected Result |
|---|---|
CTRL_IN = 5 V, settled | Coil current ≈120 mA; lamp ON |
| 0.7 ms after switching OFF | Coil current ≤10 mA |
| During switching | Q1 drain-source voltage ≤27 V |
| 30 ms after switching OFF | Lamp OFF |