Design Notes
Architecture
- Mains input: 220 VAC nominal with +/-15% tolerance.
- Protection: PCB fuse holder with cartridge fuse, MOV across line and neutral, isolated AC-DC module.
- Low-voltage rail: isolated 5 V rail from AC-DC module for controller and accessories.
- Logic rail: local 3.3 V LDO from 5 V for ESP32 and RTD interface.
- Controller: ESP32-WROOM module.
- Outputs: 8 isolated AC SSR channels implemented as zero-cross optotriac plus 25 A triac per channel.
- RTD input: MAX31865 SPI RTD front-end for one RTD connector.
Wiring choices
- ESP32 SSR outputs:
- IO32..IO27, IO14, IO13, IO15 used as SSR1..SSR8 control GPIOs.
- ESP32 RTD SPI:
- IO18 -> SCLK
- IO23 -> MOSI
- IO19 -> MISO
- IO5 -> CS
- IO4 -> DRDY
- ESP32 boot control:
- EN pull-up to 3.3 V with 100 nF to GND
- IO0 pull-up to 3.3 V for default normal boot
- MAX31865 configured as a single RTD front-end on 3.3 V.
Safety and layout constraints
- Maintain minimum 6 mm clearance and creepage between mains and low-voltage circuitry.
- Maintain minimum 3 mm clearance between AC line and neutral copper.
- Add routed isolation slot between mains switching zone and controller zone.
- Keep all AC mains copper on outer layers only.
- Use very wide copper, polygons, or off-board current handling strategy for 20 A paths.
- Treat the currently selected terminal blocks as provisional because library current rating is below the design requirement.
Known limitations to resolve in layout/BOM review
- The selected 2-position terminal block is a schematic placeholder and does not satisfy the final >=20 A interconnect requirement.
- SSR thermal design must assume external heatsinking or large copper area for sustained high current.
- Snubber values and per-channel surge suppression remain to be finalized.