56. Industrial input interface

Circuit

Loading simulator…

Design Approach

The input must tolerate normal 24 V operation, 30 V excursions, brief HIGH pulses, and −12 V reversal, while presenting a safe 0–3.3 V signal to the controller. The solution combines one-way input protection, resistive scaling, and RC filtering in a single passive interface.

How the Circuit Works

  1. Block negative polarity. The solution adds D1 in series with FIELD_IN, oriented to conduct for positive field voltage and block a −12 V reversal. During negative input, R_BOTTOM pulls the sense node toward ground.
  2. Scale the DC voltage. After D1, R_TOP = 82 kΩ feeds SENSE_IN and R_BOTTOM = 10 kΩ connects it to ground. Accounting for approximately 0.635 V diode drop:VSENSE_IN≈(VFIELD_IN−0.635V)×1082+10V_{\mathrm{SENSE\_IN}}\approx\left(V_{\mathrm{FIELD\_IN}}-0.635\,\mathrm{V}\right)\times\frac{10}{82+10}

    At 24 V this is about 2.54 V; at 30 V about 3.19 V—both within the required limits.

  3. Reject brief pulses. The added C1 = 1 µF connects from SENSE_IN to ground. The effective charging resistance seen by the capacitor is approximately RTOP∥RBOTTOM=8.91kΩR_{\mathrm{TOP}}\parallel R_{\mathrm{BOTTOM}}=8.91\,\mathrm{k}\Omega, giving τ≈8.91ms\tau \approx 8.91\,\mathrm{ms}. For a 1 ms 24 V pulse, the output rises only to about 2.54(1−e−1/8.91)V≈0.27V2.54\left(1-e^{-1/8.91}\right)\,\mathrm{V}\approx0.27\,\mathrm{V}, well below 0.8 V.
  4. Allow sustained signals. After 35 ms of constant 24 V, the node reaches approximately 2.54(1−e−35/8.91)V≈2.49V2.54\left(1-e^{-35/8.91}\right)\,\mathrm{V}\approx2.49\,\mathrm{V}, above the 2.4 V minimum.

Verify the Circuit

Check FIELD_IN at 24 V settled, 30 V settled, and −12 V settled. Expect SENSE_IN of 2.4–3.2 V, ≤3.3 V, and approximately 0 V. Test a 1 ms HIGH pulse (≤0.8 V) and a sustained 24 V input for 35 ms (≥2.4 V).

Key Learnings

  • A practical sensor interface often needs protection, scaling, and filtering together.
  • DC accuracy and transient response impose different constraints on the same resistor network.