Universal I/O Controller Design
Table
| Block | Components | Main Nets | Purpose |
|---|---|---|---|
| Field power protection | U1, R31-R36, C22, C26, C27 | FIELD_24V_IN, FIELD_24V_PROT, FIELD_FLT_N | LM76202 protected field-power path and fault status |
| Logic supply | U10, C18-C20 | 5V_IN, 3V3 | Generates local 3.3 V logic/analog rail from external 5 V |
| ADC/reference/clock | U2, IC1, Y1, C21, C23, C24 | UI1_ADC, 2V5_REF, ADC_XTAL1, ADC_XTAL2, SPI_* | AD7708 measurement core with 2.5 V reference and SPI interface |
| Mode expansion | U4 | CTRL_VOLTAGE_MODE, CTRL_CURRENT_MODE, CTRL_RESISTANCE_MODE, CTRL_DIGITAL_MODE | HC595 output bits drive the CD4066 switch controls |
| Analog switch matrix | U6 | UI1_PROT, UI1_ADC, UI1_0_10V_DIV, UI1_EXCITE_SRC, UI1_DIG_SENSE | Selects the measurement path for the single input |
| Digital threshold | U3A, R25, R29, R30 | DIG_THRESHOLD, UI1_DIG_SENSE, UI1_DIG_OUT | Comparator-backed digital input output |
| Field connector/protection | J1, D1, R1 | UI1_FIELD, UI1_PROT | Screw terminal input, TVS clamp, and input series limiting |
Table
| Function | Components / Path | Notes |
|---|---|---|
| Field input | J1 pin 1 -> UI1_FIELD | J1 pin 2 is GND/return |
| TVS clamp | D1 from UI1_FIELD to GND | SM6T18A protects the field terminal |
| Series protection | R1 1 kΩ from UI1_FIELD to UI1_PROT | Limits fault/input current into the front end |
| 0-10 V divider | R2 30 kΩ / R3 10 kΩ -> UI1_0_10V_DIV | 4:1 nominal scaling before ADC selection |
| 0-20 mA shunt | R4 165 Ω from UI1_PROT to GND | 20 mA produces about 3.3 V |
| Resistance/RTD/thermistor excitation | R5 10 kΩ to UI1_PROT via UI1_EXCITE_SRC | Supports resistance-based sensors with firmware calibration tables |
| ADC filter | C10 100 nF from UI1_ADC to GND | Local low-pass / charge bucket at ADC input |
| Digital input | UI1_PROT -> U6 switch -> UI1_DIG_SENSE -> U3A | Compared against DIG_THRESHOLD |
Table
| HC595 Output | Net | CD4066 Control | Mode |
|---|---|---|---|
| QA | CTRL_VOLTAGE_MODE | U6 CONTROL_A | 0-10 V / scaled analog path |
| QB | CTRL_CURRENT_MODE | U6 CONTROL_B | 0-20 mA shunt path |
| QC | CTRL_RESISTANCE_MODE | U6 CONTROL_C | Resistance / RTD / thermistor excitation path |
| QD | CTRL_DIGITAL_MODE | U6 CONTROL_D | Digital comparator-sense path |
| QE-QH, QH' | No connect | Not used | Spare for future expansion |
Table
| Net | Direction | Description |
|---|---|---|
| 5V_IN | Input | External 5 V rail for U10 and logic support |
| 3V3 | Output/local rail | Regulated logic/analog rail |
| FIELD_24V_IN | Input | Field-power input to LM76202 |
| FIELD_24V_PROT | Output/local rail | Protected field-power rail |
| FIELD_FLT_N | Output | LM76202 active-low fault status |
| SPI_SCLK | Input | Host clock to AD7708 and HC595 shift clock |
| SPI_MOSI | Input | Host data to AD7708 DIN and HC595 SER |
| SPI_MISO | Output | AD7708 DOUT |
| ADC_CS_N | Input | AD7708 chip select |
| ADC_RDY_N | Output | AD7708 data-ready |
| HC595_LATCH | Input | HC595 register latch |
| HC595_SRCLR_N | Input | HC595 shift-register clear |
| HC595_OE_N | Input | HC595 output enable |
| UI1_DIG_OUT | Output | Comparator-backed digital input status |
| UI1_ADC | Internal | Selected analog measurement node into AD7708 AIN1 |
Scope
Retained Functional Blocks
Channel Front-End Mapping
HC595 Control Mapping
External Interface Nets
Cleanup and Validation Notes
Production Follow-Up