An industrial signal FIELD_IN operates at 24 V but may reach 30 V or be reversed to −12 V.
Design an interface for a controller input rated for 0–3.3 V, using resistors, one 1 µF capacitor, and one diode.
FIELD_IN = 24 V, SENSE_IN must remain between 2.4 V and 3.2 V.SENSE_IN ≤ 3.3 V.SENSE_IN ≤ 0.8 V.SENSE_IN ≥ 2.4 V within 35 ms.SENSE_IN must remain approximately 0 V.Example test cases:
FIELD_IN / Condition | Required SENSE_IN |
|---|---|
| 24 V, 1 ms HIGH pulse | ≤0.8 V |
| 24 V, continuous for 35 ms | 2.4–3.2 V |
| 30 V, settled | ≤3.3 V |
| −12 V, settled | −0.05 to +0.05 V |