Automated Chemical Dipping System
Designed and built for a printed circuit board manufacturer requiring precise sequential wet chemical processing, this system is a fully custom-engineered solution integrating multi-axis motion control, chemical-resistant actuation, and safety-critical process management across a twelve-bath production line. At its core, the mechanism uses a pair of NEMA 23 stepper motors driving a synchronised gantry over a 1200 mm × 800 mm work envelope, achieving positioning repeatability of ±0.3 mm across the full bath array. Motor control is handled by Trinamic TMC2209 drivers operating in interpolated 256-step microstepping mode, commanded over UART from an STM32F4 microcontroller running a custom RTOS task scheduler with deterministic 1 ms tick resolution. The chemical bath management subsystem monitors temperature in all twelve baths via PT100 RTD sensors read through MAX31865 SPI interfaces, with individual PID loops maintaining ±0.5 °C setpoint stability. Bath replenishment is automated via peristaltic pump drivers controlled by a dedicated STM32F1 satellite node communicating over RS-485 Modbus RTU at 115,200 baud. The HMI is a 7-inch capacitive touchscreen running a custom Qt 5.15 interface, allowing operators to configure dip sequences, soak durations, agitation parameters, and rinse cycles. Recipe management supports up to 128 stored profiles with full audit logging to an onboard industrial SD card and optional SFTP export to a plant historian server. Safety architecture includes dual-channel hardwired E-stop, electrochemical fume detection via an MQ-135 array, and a watchdog-supervised relay PLC layer that enforces safe states on any communication timeout or sensor fault. The IP65-rated control enclosure uses custom cable management with chemical-resistant conduit, and was validated in a live production environment over a 90-day trial period before final handoff with full IQ/OQ documentation.