Constrained Tiny Machine Learning for Predicting Gas Concentration with I4.0 Low-cost Sensors

Author:

Adoui Mohammed El1,Herpoel Thomas2,Frénay Benoît3

Affiliation:

1. Postdoctoral researcher, Faculty of Computer Sciences, University of Namur, Belgium

2. Research Engineer, CeREF-Technique, École d’ingénieurs HELHa, Mons, Belgium

3. Professor, Faculty of Computer Sciences, University of Namur, Belgium

Abstract

Low-cost gas sensors (LCS) often produce inaccurate measurements due to varying environmental conditions that are not consistent with laboratory settings, leading to inadequate productivity levels compared to high-quality sensors. To address this issue, we propose the use of Machine Learning (ML) to predict accurate concentrations of pollutant gases acquired by LCS integrated into an embedded Internet of Things platform. However, a key challenge is to optimize an accurate ML design under low memory and computation power constraints of microcontrollers (MCUs) while maintaining accurate ML scores. After data analysis and pre-processing, we assess and analyze the performance of five ML algorithms to predict the concentration of pollutants gases from multiple specifications (weather, presence of other gases etc.). To support the experiments, datasets from three sources are used: 1- VOCSens, 2- Belgian Interregional Environment Agency cell (IRCELINE), and 3- Visual-Crossing. Once the best model was optimized and validated, multiple hard constraints were added to the selected ML structure to satisfy material and expert requirements. Trained models were ported in order to be implemented locally in a microcontroller (MCU) after comparing several porting libraries. The assembled code obtained is evaluated based on two metrics: storage memory consumption and inference time, relative to the highest attainable capacities. The improved Random Forest (RF) is the best ML model for the used data set with an R2 score meeting of 0.72 and Root Means Square Error (RMSE) of 0.0028 ppm. The best generated Tiny ML model needs 3% of RAM and 98% of Flash storage. The empirical results prove that the developed ML algorithm applied to LCS provides high accuracy to predict pollutant gases. This algorithm can also be used to adjust the LCS systems to provide calibrated data in real-time, even if the platform being used is not particularly advanced or powerful.

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Software

Reference44 articles.

1. Low cost sensor with IoT LoRaWAN connectivity and machine learning-based calibration for air pollution monitoring;Ali Sharafat;IEEE Transactions on Instrumentation and Measurement,2020

2. Alphasense. Copyright © 2013-2022. Company Registered in England and Wales. No. 03264282. https://www.alphasense.com/products. Alphasense. Copyright © 2013-2022. Company Registered in England and Wales. No. 03264282. https://www.alphasense.com/products.

3. Ambiq. [online] 2022. Ambiq Apollo 3 Blue. available on September 19, 2022 : https://ambiq.com/apollo3-blue/. Ambiq. [online] 2022. Ambiq Apollo 3 Blue. available on September 19, 2022 : https://ambiq.com/apollo3-blue/.

4. Arduino. [online] 2022. Arduino Mega 2560 Rev3. available on September 19, 2022 : https://store.arduino.cc/products/arduino-mega-2560-rev3. Arduino. [online] 2022. Arduino Mega 2560 Rev3. available on September 19, 2022 : https://store.arduino.cc/products/arduino-mega-2560-rev3.

5. Eloquent Arduino . [online] 2020. micromlgen. available on September 19, 2022 : https://github.com/eloquentarduino/micromlgen. Eloquent Arduino. [online] 2020. micromlgen. available on September 19, 2022 : https://github.com/eloquentarduino/micromlgen.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3