AUTOMATED CHEMISTRY LABORATORY CONTROL SYSTEM

THE CHALLENGE / PROJECT CHALLENGE
The laboratory required a centralized automation solution to coordinate multiple instruments from different manufacturers. Each instrument used different communication interfaces and control methods. The system needed to provide: Centralized control of laboratory equipment. Accurate monitoring of experimental parameters. Automated temperature, pressure and liquid dosing operations. Flexible experiment sequencing based on sensor conditions. Historical data recording and experiment reporting. Configurable safety limits and recovery after interruptions.
OUR SOLUTION / OUR APPROACH
Embedded Gate developed a complete STM32-based laboratory automation platform consisting of a custom interface PCB, embedded firmware and a C# WPF desktop application. The controller integrates multiple sensors and laboratory instruments through SPI, ADC, GPIO, RS232 and RS485 interfaces. A custom USB CDC communication protocol connects the embedded controller with the desktop application. The software allows users to create experiment recipes, configure operating conditions, automate equipment and monitor experimental processes in real time.
KEY FEATURES / SYSTEM CAPABILITIES
Automated temperature control using Huber circulator and thermocouple-based heater feedback. Pressure monitoring and configurable pressure regulation using hysteresis control. Bronkhorst EL-FLOW mass flow controller integration. Automatic liquid dosing using a peristaltic pump and weight measurement feedback. Variable-speed stirrer motor control. Programmable experiment sequences with multiple conditions and AND/OR logic. Live sensor graphs and configurable data logging. Recipe management, experiment history and automatic PDF/Excel reports. Configurable safety limits, fault notifications and experiment recovery.
TECHNICAL IMPLEMENTATION / TECHNOLOGY STACK
- Controller: NUCLEO-H753ZI (STM32H753ZI)
- Custom Hardware: Dedicated sensor and equipment interface PCB
- Firmware: Embedded C
- Desktop Application: C# WPF
- Database: SQLite
- PC Communication: USB CDC (Virtual COM Port)
- Equipment Interfaces: RS232, RS485, SPI, ADC and GPIO
- Temperature Measurement: PT100 and thermocouple
- Pressure Measurement: GE Druck PDCR1000-3547 (0–250 bar)
- Mass Flow Controller: Bronkhorst EL-FLOW
EMBEDDED GATE’S CONTRIBUTION / OUR ENGINEERING CONTRIBUTION
- System architecture and controller design.
- Custom interface PCB development.
- Embedded firmware and equipment communication protocols.
- Sensor integration and calibration.
- Automated process-control implementation.
- C# WPF desktop application development.
- Experiment sequencing and database integration.
- System integration, testing and debugging.
SYSTEM CAPABILITIES & IMPLEMENTATION
1. MULTI-INSTRUMENT INTEGRATION
The controller integrates laboratory equipment from multiple manufacturers through different industrial communication interfaces. Huber Circulator – RS232 communication and temperature setpoint control. Heidolph Hei-TORQUE Ultimate 200 – RS232 start/stop and variable-speed control. SK-Handy Peristaltic Pump – RS485 start, stop, reverse and speed control. Bronkhorst EL-FLOW MFC – RS232 gas flow-rate setting and feedback monitoring. Sartorius Weighing Balance – RS232 weight measurement.
2. AUTOMATED TEMPERATURE CONTROL
The system supports two temperature-control arrangements: Reactor temperature regulation using a Huber circulator, with temperature setpoints provided by the STM32 controller and continuous feedback monitoring. Independent glass-tube heating using a thermocouple and 230 V AC heater controlled through an SSR. Temperature setpoints and control offsets can be configured for automatic heating regulation. The controller also provides additional PT100 and thermocouple input channels for future equipment expansion and alternative circulators.
3. AUTOMATED LIQUID DOSING
A peristaltic pump delivers liquid into the reactor at a configured speed. The controller continuously monitors the weighing balance to calculate weight reduction during dosing. When the configured liquid quantity is reached, the pump automatically stops. This provides weight-monitored liquid dosing and quantity-based experiment sequencing.
4. GAS FLOW AND PRESSURE MANAGEMENT
Two gas-control configurations are supported according to customer requirements and budget: MFC Configuration Bronkhorst EL-FLOW mass flow controller. Programmable gas flow-rate setting and feedback. Pressure monitoring and automatic vent-valve control. Solenoid Valve Configuration Nitrogen and hydrogen inlet solenoid valves. Automatic inlet control based on pressure. Configurable pressure target and offset. Automatic vent-valve operation using pressure hysteresis.
5. PROGRAMMABLE EXPERIMENT DESIGN
The C# desktop application allows users to create multi-step experiment sequences. Each step can contain multiple equipment actions and transition conditions. Conditions can be combined using AND/OR logic. Example: Step 1: Start stirrer and run for a configured duration. Step 2: Start circulator and wait until the temperature reaches 60°C. Step 3: Start liquid dosing and stop when the required quantity is delivered. The next step executes automatically when its configured conditions are satisfied.
6. DATA MANAGEMENT AND REPORTING
Live graphs with user-selectable sensor parameters. Configurable data logging, with a minimum interval of one second. Experiment history search by date, experiment ID and chemical/reaction name. Recipe creation, editing and reuse. Automatic PDF and Excel report generation with experimental parameters and graphs. Timestamped storage of sensor readings, setpoints and equipment events.
7. SAFETY AND EXPERIMENT RECOVERY
Users can configure safety limits for sensors and equipment through a dedicated safety section. When a configured limit is breached, the application generates a notification and the controller executes the configured safety actions. The system also supports communication-loss handling and experiment recovery. After communication is restored, users can choose to resume the interrupted experiment or restart it. Current sensor readings and equipment status are checked before resuming.
PROJECT STATUS
Successfully integrated, tested and deployed in a working laboratory environment