ARDUINO OPEN HARDWARE TEST THROUGH CHEMICAL SYSTEM SIMULATION UNDER LUMPED MODEL DYNAMICS

R. D. PEREIRA FILHO, V. B. FURLONG, J. A. V. COSTA
2015 Anais do XX Congresso Brasileiro de Engenharia Química   unpublished
RESUMO -Arduino boards are interesting computing tool due to low cost and power consumption, as well as I/O ports, both analogs and digitals. Yet, small memory and clock frequency with truncation errors may disrupt numerical processing. This study aimed to design and evaluate the performance of a dynamic simulation based on ODEs in the Arduino, with three evaluated microprocessors; ATMEGA 328P and 2560, both 8 bits, and SAM3X8E Atmel ARM CORTEX -32 bits. The study case was a batch reactor
more » ... c simulation. The Runge-Kutta 4th order algorithm was written in C++ and compiled for EPROM utilization. The output was a 115000bit/s serial connection. Processing time was almost identical for 8 bits architectures, while 32 bits was 25% faster. Without the serial connection the 8 bits architectures were 16 times faster and the 32 bits was 42 times faster. Error truncation was similar, since the floating points is done through software. The Arduino platform, despite its modest hardware, allows simple chemical systems simulation.
doi:10.5151/chemeng-cobeq2014-0331-25973-155876 fatcat:6uztp7wxz5bkhdmqhkjstwyqza