46. Accelerate relay release

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:

  • Coil current falls to 10 mA or less within 0.7 ms after CTRL_IN changes from 5 V to 0 V.
  • MOSFET drain-source voltage remains ≤27 V during switching.
  • The relay operates normally when CTRL_IN = 5 V.

Select the Zener breakdown voltage from:

5.6 V, 8.2 V, 12 V, 18 V

Example test cases:

ConditionExpected Result
CTRL_IN = 5 V, settledCoil current ≈120 mA; lamp ON
0.7 ms after switching OFFCoil current ≤10 mA
During switchingQ1 drain-source voltage ≤27 V
30 ms after switching OFFLamp OFF