An Arduino-based platform for Hardware-in-the-Loop simulation and control of Continuous Stirred-Tank Reactor

An Arduino-based platform for Hardware-in-the-Loop simulation and control of Continuous Stirred-Tank Reactor

Simulación Hardware-in-the-Loop y Control en Tiempo Real de un Reactor de Tanque Continuamente Agitado basado en Arduino

Authors

  • Fabiola Cruz-Gutiérrez Instituto tecnológico Superior de Villa La Venta, México https://orcid.org/0000-0003-2577-7265
  • Héctor Daniel Hidalgo-Leal Instituto tecnológico Superior de Villa La Venta, México https://orcid.org/0000-0001-9028-8711
  • Luis David May-Burgos Instituto tecnológico Superior de Villa La Venta, México
  • Guadalupe Hernández-Hernández Instituto tecnológico Superior de Villa La Venta, México

Keywords:

Arduino, real-time simulation, HIL testing, digital controller, CSTR

Abstract

Traditional validation methods for Continuous Stirred Tank Reactor (CSTR) control systems face a critical trade-off. Commercial Hardware-in-the-Loop (HIL) platforms are prohibitively expensive, while pure software simulations lack hardware realism. This work presents a low-cost Arduino-based HIL alternative using two interconnected microcontrollers, one simulating the CSTR dynamics in real-time and the other implementing a feedforward-feedback control algorithm. To validate fidelity, HIL system is compared against a MATLAB reference model under identical control parameters and disturbance scenarios. Results demonstrate negligible deviation in temperature tracking between the Arduino HIL and MATLAB simulations. The proposed architecture maintains real-time operation at low sampling rates with negligible computational burden, making it viable for both educational laboratories and industrial prototyping.

Downloads

Download data is not yet available.

Published

2025-06-19

How to Cite

Cruz-Gutiérrez, F., Hidalgo-Leal, H. D., May-Burgos, L. D., & Hernández-Hernández, G. (2025). An Arduino-based platform for Hardware-in-the-Loop simulation and control of Continuous Stirred-Tank Reactor: Simulación Hardware-in-the-Loop y Control en Tiempo Real de un Reactor de Tanque Continuamente Agitado basado en Arduino. Scientific Research Journal CIDI, 5(9), 95–116. Retrieved from https://srjournalcidi.org/index.php/ojs/article/view/255

Most read articles by the same author(s)

Loading...