30. Protect negative input

Signal SIGNAL_IN normally ranges from 0 V to 3.3 V, but may fall to −12 V during a fault.

The provided circuit has a fixed R_LOAD = 100 kΩ.

Using one resistor and one diode, design an input protection circuit so that:

  • At SIGNAL_IN = 3.3 V, PROTECTED_IN ≥ 3.1 V.
  • At SIGNAL_IN = −12 V, PROTECTED_IN ≥ −0.9 V.
  • Diode current magnitude I_D must not exceed 2 mA during the fault.

Example test cases:

SIGNAL_INRequired PROTECTED_INRequired |I_D|
+3.3 V3.1–3.3 V<1 µA
0 V≈0 V<1 µA
−12 V−0.9–0 V≤2 mA