Low-Cost CO Sensor Calibration Using One Dimensional Convolutional Neural Network
Abstract
:1. Introduction
- This paper proposes applying 1DCNN and GBR for calibrating low-cost CO sensors. As far as we know, this is the first work that benchmarked these algorithms against NN-based algorithms.
- Furthermore, this work, in contrast to most studies reported in the literature, evaluates the calibration models across multiple datasets, enabling us to draw more robust conclusions.
- We show that 1DCNN-based calibration is consistently accurate compared to several Machine Learning (ML) based techniques across three large CO datasets.
- We also highlight that GBR, an ML technique that has not been investigated widely for low-cost gas sensor calibration, performs quite accurately for all three datasets.
2. Dataset Description
2.1. Dataset 1
2.2. Dataset 2
2.3. Dataset 3
3. Methodology
3.1. Scenarios 1–3
3.1.1. Scenario 1 (SC1)
3.1.2. Scenario 2 (SC2)
3.1.3. Scenario 3 (SC3)
3.2. Machine Learning Algorithms
ML Algorithms for Benchmarking
- MLP has been employed in many reported works on gas sensor calibration. Please note that in the literature, it is sometimes referred to as an Artificial Neural Network (ANN), Feedforward Neural Network (FNN), Back Propagation Neural Network (BPNN), or simply Neural Network.
- Recent literature suggests that Recurrent Neural Networks, or RNNs, are well suited for sensor calibration due to their ability to exploit temporal correlation in the data. After some preliminary investigation, we selected Long Short-Term Memory (LSTM) as the RNN-based technique for our benchmark work.
- Random Forest Regressor, or RFR, is an ensemble learning technique that has shown good performance in several works for low-cost gas sensor calibration and was, therefore, also selected to benchmark against.
- Furthermore, linear regression is the most commonly employed technique for calibrating low-cost gas sensors and is, therefore, also utilized for benchmarking purposes.
3.3. Performance Metrics
4. Result & Discussion
- The accuracy of every calibration algorithm improves (lower RMSE, higher R2) as we go from SC1 (CO only) to SC2 (CO with T & RH) to SC3 (all inputs). The accuracy improves when temperature and humidity are included (SC2) alongside the raw CO data. There is further improvement in accuracy when the other pollutant data are also introduced (SC3) to exploit the dependencies arising from cross-sensitivity. This clearly emphasizes the importance of deploying low-cost sensors as multi-sensor platforms. Not only that allows for monitoring multiple pollutants with a single unit, but the accuracy of the measured data also improves.
- Every ensemble and neural network-based algorithm outperforms linear regression-based calibration methods for all scenarios. In almost every instance, 1DCNN is the best-performing algorithm. This shows that 1DCNN could potentially improve the relative accuracy of low-cost multi-sensor air pollutant monitors. GBR and LSTM are the subsequent most accurate algorithms. While LSTM has gained much attraction for gas sensor calibration, GBR-based calibration appears to have received far less attention and warrants further investigation.
- The accuracy of any given algorithm is better for the 90/10 split (TTS1) compared to the 20/80 split (TTS2). Interestingly, the accuracy improvement from SC1 (CO only) to SC3 (all inputs) is more noticeable than from TTS2 (20/80) to TTS1 (90/10). The covariate factors appear more important than longer training/co-location time. For example, consider the performance of 1DCNN for Dataset 1. The RMSE improves from 0.599 ppm to 0.393 ppm from SC1 (CO only) to SC3 (all inputs) for TTS2 (or from 0.542 ppm to 0.349 ppm for TTS1). Whereas for SC3 (all inputs) models, the RMSE improves from 0.393 ppm to 0.349 ppm when going from TTS2 (20/80) to TTS1 (90/10) (for SC1, it is from 0.599 ppm to 0.542 ppm).
- The accuracy of the models derived and evaluated with TTS2 (20/80) is not significantly worse than those for TTS1 (90/10). This seems to suggest that with sophisticated calibration models, such as the ones presented in this work, not only the low-cost sensor platforms could be utilized as a backup for a reference grade monitor (TTS1), but they can also be deployed for reasonably accurate CO monitoring for a long duration after a short co-location (TTS2). It should be noted that the accuracy of the calibration models could be further improved by further periodic co-location and recalibration (please see [44]).
- The accuracy of the algorithms appears to be the best for dataset 3. It could be due to the comparatively small number of low-concentration CO readings in dataset 3. The low-cost sensors typically struggle to register low gas concentrations. This is corroborated later in the section with box plots of residuals. Dataset 3 covers a considerably shorter time; therefore, the sensor may have experienced lower drift and degradation than the sensors of the other two measurement campaigns. It should be noted that the sensor platforms used to collect datasets 2 and 3 are constructed from the same CO sensors and therefore presents an opportunity for a reasonably objective evaluation of this effect.
- All points lie within the unit circle (radius = 1); therefore, the variance of the residuals is smaller than the variance of the reference measurements. It is an essential characteristic of a functional calibration model [15], indicating that the variability of the dependent variable (calibrated output) is explained by the independent variable (the reference data) and not the residual [27]. It should be noted that all calibration algorithms presented in this work fulfill this criterion.
- The distance from the origin, which measures the normalized RMSE (RMSE/) clearly show that the SC3 (all covariate inputs) regressors are more accurate than the SC2 (CO with T and RH) regressors, which are more accurate than the SC1 (CO only) regressors. This once again demonstrates the importance of the availability of covariate factors, such as temperature, relative humidity, and other pollutants.
- The majority of the points lie on the left plane, indicating that the standard deviation of the calibrated sensor data for most models is smaller than the ground truth standard deviation.
- For TTS1 (90/10), the points lie above the x-axis, indicating that the models, on average, slightly overestimate the CO concentration. For TTS2 (20/80), a few models also slightly underestimate the CO concentration.
Computational Cost
5. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Kampa, M.; Castanas, E. Human health effects of air pollution. Environ. Pollut. 2008, 151, 362–367. [Google Scholar] [CrossRef]
- Cohen, A.J.; Brauer, M.; Burnett, R.; Anderson, H.R.; Frostad, J.; Estep, K.; Balakrishnan, K.; Brunekreef, B.; Dandona, L.; Dandona, R. Estimates and 25-year trends of the global burden of disease attributable to ambient air pollution: An analysis of data from the Global Burden of Diseases Study 2015. Lancet 2017, 389, 1907–1918. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Alshamsi, A.; Anwar, Y.; Almulla, M.; Aldohoori, M.; Hamad, N.; Awad, M. Monitoring pollution: Applying IoT to create a smart environment. In Proceedings of the 2017 International Conference on Electrical and Computing Technologies and Applications (ICECTA), Ras Al Khaimah, United Arab Emirates, 21–23 November 2017; pp. 1–4. [Google Scholar]
- Castell, N.; Dauge, F.R.; Schneider, P.; Vogt, M.; Lerner, U.; Fishbain, B.; Broday, D.; Bartonova, A. Can commercial low-cost sensor platforms contribute to air quality monitoring and exposure estimates? Environ. Int. 2017, 99, 293–302. [Google Scholar] [CrossRef] [PubMed]
- Hu, K.; Sivaraman, V.; Luxan, B.G.; Rahman, A. Design and Evaluation of a Metropolitan Air Pollution Sensing System. IEEE Sens. J. 2016, 16, 1448–1459. [Google Scholar] [CrossRef]
- Jiao, W.; Hagler, G.; Williams, R.; Sharpe, R.; Brown, R.; Garver, D.; Judge, R.; Caudill, M.; Rickard, J.; Davis, M. Community Air Sensor Network (CAIRSENSE) project: Evaluation of low-cost sensor performance in a suburban environment in the southeastern United States. Atmos. Meas. Technol. 2016, 9, 5281–5292. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Mead, M.I.; Popoola, O.; Stewart, G.; Landshoff, P.; Calleja, M.; Hayes, M.; Baldovi, J.; McLeod, M.; Hodgson, T.; Dicks, J. The use of electrochemical sensors for monitoring urban air quality in low-cost, high-density networks. Atmos. Environ. 2013, 70, 186–203. [Google Scholar] [CrossRef] [Green Version]
- Borrego, C.; Costa, A.M.; Ginja, J.; Amorim, M.; Coutinho, M.; Karatzas, K.; Sioumis, T.; Katsifarakis, N.; Konstantinidis, K.; De Vito, S.; et al. Assessment of air quality microsensors versus reference methods: The EuNetAir joint exercise. Atmos. Environ. 2016, 147, 246–263. [Google Scholar] [CrossRef] [Green Version]
- Maag, B.; Zhou, Z.; Thiele, L. A Survey on Sensor Calibration in Air Pollution Monitoring Deployments. IEEE Internet Things J. 2018, 5, 4857–4870. [Google Scholar] [CrossRef] [Green Version]
- Yi, W.; Lo, K.; Mak, T.; Leung, K.; Leung, Y.; Meng, M. A Survey of Wireless Sensor Network Based Air Pollution Monitoring Systems. Sensors 2015, 15, 29859. [Google Scholar] [CrossRef] [Green Version]
- Fine, G.F.; Cavanagh, L.M.; Afonja, A.; Binions, R. Metal Oxide Semi-Conductor Gas Sensors in Environmental Monitoring. Sensors 2010, 10, 5469–5502. [Google Scholar] [CrossRef]
- Cross, E.S.; Williams, L.R.; Lewis, D.K.; Magoon, G.R.; Onasch, T.B.; Kaminsky, M.L.; Worsnop, D.R.; Jayne, J.T. Use of electrochemical sensors for measurement of air pollution: Correcting interference response and validating measurements. Atmos. Meas. Technol. 2017, 10, 3575–3588. [Google Scholar] [CrossRef] [Green Version]
- Popoola, O.A.; Stewart, G.B.; Mead, M.I.; Jones, R.L. Development of a baseline-temperature correction methodology for electrochemical sensors and its implications for long-term stability. Atmos. Environ. 2016, 147, 330–343. [Google Scholar] [CrossRef] [Green Version]
- Spinelle, L.; Gerboles, M.; Villani, M.G.; Aleixandre, M.; Bonavitacola, F. Field calibration of a cluster of low-cost available sensors for air quality monitoring. Part A: Ozone and nitrogen dioxide. Sens. Actuators B Chem. 2015, 215, 249–257. [Google Scholar] [CrossRef]
- Spinelle, L.; Gerboles, M.; Villani, M.G.; Aleixandre, M.; Bonavitacola, F. Field calibration of a cluster of low-cost commercially available sensors for air quality monitoring. Part B: NO, CO and CO2. Sens. Actuators B Chem. 2017, 238, 706–715. [Google Scholar] [CrossRef]
- Brienza, S.; Galli, A.; Anastasi, G.; Bruschi, P. A Low-Cost Sensing System for Cooperative Air Quality Monitoring in Urban Areas. Sensors 2015, 15, 12242. [Google Scholar] [CrossRef] [Green Version]
- De Vito, S.; Piga, M.; Martinotto, L.; Di Francia, G. CO, NO2 and NOx urban pollution monitoring with on-field calibrated electronic nose by automatic bayesian regularization. Sens. Actuators B Chem. 2009, 143, 182–191. [Google Scholar] [CrossRef]
- Fang, X.; Bate, I. Using multi-parameters for calibration of low-cost sensors in urban environment. Networks 2017, 7, 33. [Google Scholar]
- Wang, Y.; Chen, G. Efficient Data Gathering and Estimation for Metropolitan Air Quality Monitoring by Using Vehicular Sensor Networks. IEEE Trans. Veh. Technol. 2017, 66, 7234–7248. [Google Scholar] [CrossRef]
- Heimann, I.; Bright, V.B.; McLeod, M.W.; Mead, M.I.; Popoola, O.A.M.; Stewart, G.B.; Jones, R.L. Source attribution of air pollution by spatial scale separation using high spatial density networks of low cost air quality sensors. Atmos. Environ. 2015, 113, 10–19. [Google Scholar] [CrossRef] [Green Version]
- De Vito, S.; Massera, E.; Piga, M.; Martinotto, L.; Di Francia, G. On field calibration of an electronic nose for benzene estimation in an urban pollution monitoring scenario. Sens. Actuators B Chem. 2008, 129, 750–757. [Google Scholar] [CrossRef]
- Hagan, D.H.; Isaacman-VanWertz, G.; Franklin, J.P.; Wallace, L.M.; Kocar, B.D.; Heald, C.L.; Kroll, J.H. Calibration and assessment of electrochemical air quality sensors by co-location with regulatory-grade instruments. Atmos. Meas. Technol. 2018, 11, 315–328. [Google Scholar] [CrossRef]
- De Vito, S.; Fattoruso, G.; Pardo, M.; Tortorella, F.; Di Francia, G. Semi-supervised learning techniques in artificial olfaction: A novel approach to classification problems and drift counteraction. IEEE Sens. J. 2012, 12, 3215–3224. [Google Scholar] [CrossRef]
- Masey, N.; Gillespie, J.; Ezani, E.; Lin, C.; Wu, H.; Ferguson, N.S.; Hamilton, S.; Heal, M.R.; Beverland, I.J. Temporal changes in field calibration relationships for Aeroqual S500 O3 and NO2 sensor-based monitors. Sens. Actuators B Chem. 2018, 273, 1800–1806. [Google Scholar] [CrossRef]
- Esposito, E.; De Vito, S.; Salvato, M.; Bright, V.; Jones, R.L.; Popoola, O. Dynamic neural network architectures for on field stochastic calibration of indicative low cost air quality sensing systems. Sens. Actuators B Chem. 2016, 231, 701–713. [Google Scholar] [CrossRef] [Green Version]
- Holstius, D.M.; Pillarisetti, A.; Smith, K.R.; Seto, E. Field calibrations of a low-cost aerosol sensor at a regulatory monitoring site in California. Atmos. Meas. Technol. 2014, 7, 1121–1131. [Google Scholar] [CrossRef] [Green Version]
- Topalović, D.B.; Davidović, M.D.; Jovanović, M.; Bartonova, A.; Ristovski, Z.; Jovašević-Stojanović, M. In search of an optimal in-field calibration method of low-cost gas sensors for ambient air pollutants: Comparison of linear, multilinear and artificial neural network approaches. Atmos. Environ. 2019, 213, 640–658. [Google Scholar] [CrossRef]
- De Vito, S.; Esposito, E.; Massera, E.; Formisano, F.; Fattoruso, G.; Ferlito, S.; Del Giudice, A.; D’Elia, G.; Salvato, M.; Polichetti, T. Crowdsensing IoT Architecture for Pervasive Air Quality and Exposome Monitoring: Design, Development, Calibration, and Long-Term Validation. Sensors 2021, 21, 5219. [Google Scholar] [CrossRef] [PubMed]
- Liang, Y.; Wu, C.; Jiang, S.; Li, Y.J.; Wu, D.; Li, M.; Cheng, P.; Yang, W.; Cheng, C.; Li, L.; et al. Field comparison of electrochemical gas sensor data correction algorithms for ambient air measurements. Sens. Actuators B Chem. 2021, 327, 128897. [Google Scholar] [CrossRef]
- Badura, M.; Batog, P.; Drzeniecka-Osiadacz, A.; Modzel, P. Low- and Medium-Cost Sensors for Tropospheric Ozone Monitoring—Results of an Evaluation Study in Wrocław, Poland. Atmosphere 2022, 13, 542. [Google Scholar]
- Hofman, J.; Nikolaou, M.; Shantharam, S.P.; Stroobants, C.; Weijs, S.; La Manna, V.P. Distant calibration of low-cost PM and NO2 sensors; evidence from multiple sensor testbeds. Atmos. Pollut. Res. 2022, 13, 101246. [Google Scholar] [CrossRef]
- Rogulski, M.; Badyda, A.; Gayer, A.; Reis, J. Improving the Quality of Measurements Made by Alphasense NO2 Non-Reference Sensors Using the Mathematical Methods. Sensors 2022, 22, 3619. [Google Scholar] [CrossRef] [PubMed]
- Zuidema, C.; Schumacher, C.S.; Austin, E.; Carvlin, G.; Larson, T.V.; Spalt, E.W.; Zusman, M.; Gassett, A.J.; Seto, E.; Kaufman, J.D.; et al. Deployment, Calibration, and Cross-Validation of Low-Cost Electrochemical Sensors for Carbon Monoxide, Nitrogen Oxides, and Ozone for an Epidemiological Study. Sensors 2021, 21, 4214. [Google Scholar] [CrossRef]
- Cordero, J.M.; Borge, R.; Narros, A. Using statistical methods to carry out in field calibrations of low cost air quality sensors. Sens. Actuators B Chem. 2018, 267, 245–254. [Google Scholar] [CrossRef]
- Djedidi, O.; Djeziri, M.A.; Morati, N.; Seguin, J.-L.; Bendahan, M.; Contaret, T. Accurate detection and discrimination of pollutant gases using a temperature modulated MOX sensor combined with feature extraction and support vector classification. Sens. Actuators B Chem. 2021, 339, 129817. [Google Scholar] [CrossRef]
- Bigi, A.; Mueller, M.; Grange, S.K.; Ghermandi, G.; Hueglin, C. Performance of NO, NO2 low cost sensors and three calibration approaches within a real world application. Atmos. Meas. Technol. 2018, 11, 3717–3735. [Google Scholar] [CrossRef] [Green Version]
- De Vito, S.; Esposito, E.; Salvato, M.; Popoola, O.; Formisano, F.; Jones, R.; Di Francia, G. Calibrating chemical multisensory devices for real world applications: An in-depth comparison of quantitative machine learning approaches. Sens. Actuators B Chem. 2018, 255, 1191–1210. [Google Scholar] [CrossRef] [Green Version]
- Esposito, E.; De Vito, S.; Salvato, M.; Fattoruso, G.; Bright, V.; Jones, R.L.; Popoola, O. Stochastic Comparison of Machine Learning Approaches to Calibration of Mobile Air Quality Monitors. Springer Int. Publ. 2018, 294–302. [Google Scholar] [CrossRef]
- Esposito, E.; De Vito, S.; Salvato, M.; Fattoruso, G.; Di Francia, G. Computational Intelligence for Smart Air Quality Monitors Calibration. In Computational Science and Its Applications—ICCSA 2017, Proceedings of the 17th International Conference, Trieste, Italy, 3–6 July 2017; Springer: Cham, Switzerland, 2017; pp. 443–454. [Google Scholar] [CrossRef]
- Zimmerman, N.; Presto, A.A.; Kumar, S.P.; Gu, J.; Hauryliuk, A.; Robinson, E.S.; Robinson, A.L.; Subramanian, R. A machine learning calibration model using random forests to improve sensor performance for lower-cost air quality monitoring. Atmos. Meas. Technol. 2018, 11, 291–313. [Google Scholar] [CrossRef] [Green Version]
- Bagkis, E.; Kassandros, T.; Karatzas, K. Learning Calibration Functions on the Fly: Hybrid Batch Online Stacking Ensembles for the Calibration of Low-Cost Air Quality Sensor Networks in the Presence of Concept Drift. Atmosphere 2022, 13, 416. [Google Scholar] [CrossRef]
- Bittner, A.S.; Cross, E.S.; Hagan, D.H.; Malings, C.; Lipsky, E.; Grieshop, A.P. Performance characterization of low-cost air quality sensors for off-grid deployment in rural Malawi. Atmos. Meas. Technol. 2022, 15, 3353–3376. [Google Scholar] [CrossRef]
- Malings, C.; Tanzer, R.; Hauryliuk, A.; Kumar, S.P.; Zimmerman, N.; Kara, L.B.; Presto, A.A.; Subramanian, R. Development of a general calibration model and long-term performance evaluation of low-cost sensors for air pollutant gas monitoring. Atmos. Meas. Technol. 2019, 12, 903–920. [Google Scholar] [CrossRef]
- De Vito, S.; Di Francia, G.; Esposito, E.; Ferlito, S.; Formisano, F.; Massera, E. Adaptive machine learning strategies for network calibration of IoT smart air quality monitoring devices. Pattern Recognit. Lett. 2020, 136, 264–271. [Google Scholar] [CrossRef]
- Athira, V.; Geetha, P.; Vinayakumar, R.; Soman, K.P. DeepAirNet: Applying Recurrent Networks for Air Quality Prediction. Procedia Comput. Sci. 2018, 132, 1394–1403. [Google Scholar]
- Fonollosa, J.; Sheik, S.; Huerta, R.; Marco, S. Reservoir computing compensates slow response of chemosensor arrays exposed to fast varying gas concentrations in continuous monitoring. Sens. Actuators B Chem. 2015, 215, 618–629. [Google Scholar] [CrossRef]
- Tariq, O.B.; Lazarescu, M.T.; Lavagno, L. Neural networks for indoor person tracking with infrared sensors. IEEE Sens. Lett. 2021, 5, 6000204. [Google Scholar] [CrossRef]
- Cho, H.; Yoon, S.M. Divide and conquer-based 1D CNN human activity recognition using test data sharpening. Sensors 2018, 18, 1055. [Google Scholar] [CrossRef] [Green Version]
- Cavalli, S.; Amoretti, M. CNN-based multivariate data analysis for bitcoin trend prediction. Appl. Soft Comput. 2021, 101, 107065. [Google Scholar] [CrossRef]
- Kureshi, R.R.; Mishra, B.K.; Thakker, D.; John, R.; Walker, A.; Simpson, S.; Thakkar, N.; Wante, A.K. Data-Driven Techniques for Low-Cost Sensor Selection and Calibration for the Use Case of Air Quality Monitoring. Sensors 2022, 22, 1093. [Google Scholar] [CrossRef]
- Vajs, I.; Drajic, D.; Cica, Z. COVID-19 Lockdown in Belgrade: Impact on Air Pollution and Evaluation of a Neural Network Model for the Correction of Low-Cost Sensors’ Measurements. Appl. Sci. 2021, 11, 10563. [Google Scholar] [CrossRef]
- Johnson, N.E.; Bonczak, B.; Kontokosta, C.E. Using a gradient boosting model to improve the performance of low-cost aerosol monitors in a dense, heterogeneous urban environment. Atmos. Environ. 2018, 184, 9–16. [Google Scholar] [CrossRef] [Green Version]
- Persson, C.; Bacher, P.; Shiga, T.; Madsen, H. Multi-site solar power forecasting using gradient boosted regression trees. Sol. Energy 2017, 150, 423–436. [Google Scholar] [CrossRef]
- Johnson, N.E.; Ianiuk, O.; Cazap, D.; Liu, L.; Starobin, D.; Dobler, G.; Ghandehari, M. Patterns of waste generation: A gradient boosting model for short-term waste prediction in New York City. Waste Manag. 2017, 62, 3–11. [Google Scholar] [CrossRef] [PubMed]
- Idrees, Z.; Zou, Z.; Zheng, L. Edge Computing Based IoT Architecture for Low Cost Air Pollution Monitoring Systems: A Comprehensive System Analysis, Design Considerations & Development. Sensors 2018, 18, 3021. [Google Scholar] [PubMed] [Green Version]
- World Health Organization. Ambient (Outdoor) Air Pollution. Available online: https://www.who.int/news-room/fact-sheets/detail/ambient-(outdoor)-air-quality-and-health (accessed on 1 January 2023).
- Gu, J.; Wang, Z.; Kuen, J.; Ma, L.; Shahroudy, A.; Shuai, B.; Liu, T.; Wang, X.; Wang, G.; Cai, J. Recent advances in convolutional neural networks. Pattern Recognit. 2018, 77, 354–377. [Google Scholar] [CrossRef] [Green Version]
- Kiranyaz, S.; Avci, O.; Abdeljaber, O.; Ince, T.; Gabbouj, M.; Inman, D.J. 1D convolutional neural networks and applications: A survey. Mech. Syst. Signal Process. 2021, 151, 107398. [Google Scholar] [CrossRef]
- Ince, T.; Kiranyaz, S.; Eren, L.; Askar, M.; Gabbouj, M. Real-time motor fault detection by 1-D convolutional neural networks. IEEE Trans. Ind. Electron. 2016, 63, 7067–7075. [Google Scholar] [CrossRef]
- Kiranyaz, S.; Ince, T.; Gabbouj, M. Real-time patient-specific ECG classification by 1-D convolutional neural networks. IEEE Trans. Biomed. Eng. 2015, 63, 664–675. [Google Scholar] [CrossRef]
- Liu, X.; Zhou, Q.; Zhao, J.; Shen, H.; Xiong, X. Fault diagnosis of rotating machinery under noisy environment conditions based on a 1-D convolutional autoencoder and 1-D convolutional neural network. Sensors 2019, 19, 972. [Google Scholar] [CrossRef] [Green Version]
- Géron, A. Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow; O’Reilly Media, Inc.: Sebastopol, CA, USA, 2022. [Google Scholar]
- Zhu, S.; Lian, X.; Liu, H.; Hu, J.; Wang, Y.; Che, J. Daily air quality index forecasting with hybrid models: A case in China. Environ. Pollut. 2017, 231, 1232–1244. [Google Scholar] [CrossRef]
- Zhu, J.; Wu, P.; Chen, H.; Zhou, L.; Tao, Z. A Hybrid Forecasting Approach to Air Quality Time Series Based on Endpoint Condition and Combined Forecasting Model. Int. J. Environ. Res. Public Health 2018, 15, 1941. [Google Scholar] [CrossRef] [Green Version]
- Wang, P.; Liu, Y.; Qin, Z.; Zhang, G. A novel hybrid forecasting model for PM10 and SO2 daily concentrations. Sci. Total Environ. 2015, 505, 1202–1212. [Google Scholar] [CrossRef] [PubMed]
- Jiang, P.; Li, C.; Li, R.; Yang, H. An innovative hybrid air pollution early-warning system based on pollutants forecasting and Extenics evaluation. Knowl. Based Syst. 2019, 164, 174–192. [Google Scholar] [CrossRef]
- Colls, J.; Tiwary, A. Air Pollution: Measurement, Modelling and Mitigation, 3rd ed.; CRC Press: London, UK, 2017. [Google Scholar]
- Wang, J.; Niu, T.; Wang, R. Research and Applicaton of an Air Quality Early Warning System Based on a Modified Least Squares Support Vector Machine and a Cloud Model. Int. J. Environ. Res. Public Health 2017, 14, 249. [Google Scholar] [CrossRef] [Green Version]
- Wu, Q.; Lin, H. Daily urban air quality index forecasting based on variational mode decomposition, sample entropy and LSTM neural network. Sustain. Cities Soc. 2019, 50, 101657. [Google Scholar] [CrossRef]
- Rai, A.C.; Kumar, P.; Pilla, F.; Skouloudis, A.N.; Di Sabatino, S.; Ratti, C.; Yasar, A.; Rickerby, D. End-user perspective of low-cost sensors for outdoor air pollution monitoring. Sci. Total Environ. 2017, 607, 691–705. [Google Scholar] [CrossRef] [PubMed]
ML Technique | Key Aspects | References |
---|---|---|
Multiple Linear Regression (MLR) | Classical statistical regression technique that uses a linear combination of several explanatory variables (e.g., temperature, relative humidity, etc.) to compute the calibrated sensor output. | [6,27,28,29,30,31,32,33] |
Random Forest Regression (RFR) | An ensemble learning method for regression that develops a nonlinear regression model that uses several explanatory variables (e.g., temperature, relative humidity, etc.) to compute the calibrated sensor output. | [8,34,36,40,41,42,43] |
Support Vector Regression (SVR) | A supervised learning algorithm that uses several explanatory variables (e.g., temperature, relative humidity, etc.) to compute the calibrated sensor output. | [34,35,36,37,38,39] |
Multilayer Perceptron (MLP) | A classical neural network that uses backpropagation for training to develop a model that uses several explanatory variables (e.g., temperature, relative humidity, etc.) to compute the calibrated sensor output. | [25,27,28,37,38,39,43,44] |
Recurrent Neural Networks (RNN) | A neural network that extracts data’s sequential characteristics and then uses backpropagation through time algorithm develops a model that uses several explanatory variables (e.g., temperature, relative humidity, etc.) to compute the calibrated sensor output. | [37,38,39,40,45,46] |
Dataset | Time Span (Days) | Location | Number of Samples | Low-Cost Sensor Array | Other Pollutant Measured | Reference CO Sensor |
---|---|---|---|---|---|---|
1 [37] | 391 | Lombardy Region, Italy | 6941 | MOX | NO2, O3, NMHC, NOX | Fixed conventional monitoring station equipped with spectrometer analyzers |
2 [44] | 965 | Naples, Italy | 13595 | EC | NO2, O3 | Teledyne T300 |
3 [29] | 152 | Guangzhou, China | 3639 | EC | NO2, O3 | Thermo Scientific 48i-TLE |
Algorithm | List of Hyperparameters |
---|---|
RFR | Maximum depth of the tree, maximum number of leaf nodes, and number of trees in the forest. |
GBR | Maximum depth of the individual regression estimators, minimum number of samples required to be at a leaf node, minimum number of samples required to split an internal node. |
MLP | Number of hidden layers, number of neurons in the hidden layer, activation function in the hidden layer, dropout rate in the dropout layer, the learning rate of the optimizer, and batch size. |
LSTM | Number of LSTM layers, time steps, number of units in the LSTM layers, activation function, the dropout rate in dropout layers, the learning rate of the optimizer, and batch size. |
1DCNN | Number of 1D convolution layers, lookback, number of filters in the convolution layer, activation function in the convolution layer, kernel size, pool size in max pooling layer, the dropout rate in the dropout layer, number of neurons in the dense layer, activation function in the dense layer, the learning rate of the optimizer, batch size. |
Dataset | Test Train Split | Scenario | Performance Metric | Algorithm | |||||
---|---|---|---|---|---|---|---|---|---|
LR/MLR | RFR | GBR | MLP | LSTM | 1DCNN | ||||
Dataset 1 | TTS1 | SC1 | RMSE | 0.554 | 0.554 | 0.556 | 0.551 | 0.545 | 0.541 |
SC2 | 0.543 | 0.508 | 0.506 | 0.526 | 0.501 | 0.502 | |||
SC3 | 0.384 | 0.346 | 0.349 | 0.350 | 0.344 | 0.344 | |||
TTS2 | SC1 | 0.613 | 0.609 | 0.609 | 0.613 | 0.600 | 0.598 | ||
SC2 | 0.597 | 0.594 | 0.594 | 0.588 | 0.572 | 0.564 | |||
SC3 | 0.437 | 0.404 | 0.409 | 0.415 | 0.405 | 0.396 | |||
TTS1 | SC1 | R2 | 0.803 | 0.806 | 0.805 | 0.810 | 0.808 | 0.811 | |
SC2 | 0.812 | 0.837 | 0.838 | 0.833 | 0.838 | 0.841 | |||
SC3 | 0.905 | 0.924 | 0.923 | 0.923 | 0.925 | 0.924 | |||
TTS2 | SC1 | 0.767 | 0.770 | 0.771 | 0.768 | 0.780 | 0.781 | ||
SC2 | 0.779 | 0.781 | 0.781 | 0.786 | 0.798 | 0.805 | |||
SC3 | 0.882 | 0.899 | 0.897 | 0.896 | 0.900 | 0.904 | |||
Dataset 2 | TTS1 | SC1 | RMSE | 0.305 | 0.175 | 0.172 | 0.252 | 0.175 | 0.173 |
SC2 | 0.254 | 0.132 | 0.127 | 0.219 | 0.130 | 0.124 | |||
SC3 | 0.234 | 0.129 | 0.120 | 0.204 | 0.119 | 0.117 | |||
TTS2 | SC1 | 0.300 | 0.187 | 0.182 | 0.238 | 0.183 | 0.185 | ||
SC2 | 0.249 | 0.147 | 0.145 | 0.217 | 0.147 | 0.145 | |||
SC3 | 0.229 | 0.143 | 0.141 | 0.188 | 0.134 | 0.136 | |||
TTS1 | SC1 | R2 | 0.507 | 0.837 | 0.842 | 0.713 | 0.837 | 0.841 | |
SC2 | 0.658 | 0.907 | 0.914 | 0.755 | 0.909 | 0.918 | |||
SC3 | 0.710 | 0.910 | 0.923 | 0.868 | 0.924 | 0.927 | |||
TTS2 | SC1 | 0.443 | 0.784 | 0.795 | 0.675 | 0.792 | 0.789 | ||
SC2 | 0.616 | 0.865 | 0.869 | 0.713 | 0.870 | 0.871 | |||
SC3 | 0.674 | 0.873 | 0.877 | 0.842 | 0.890 | 0.887 | |||
Dataset 3 | TTS1 | SC1 | RMSE | 0.075 | 0.075 | 0.072 | 0.073 | 0.074 | 0.072 |
SC2 | 0.060 | 0.046 | 0.044 | 0.049 | 0.045 | 0.044 | |||
SC3 | 0.054 | 0.043 | 0.038 | 0.049 | 0.039 | 0.038 | |||
TTS2 | SC1 | 0.080 | 0.082 | 0.082 | 0.082 | 0.080 | 0.079 | ||
SC2 | 0.067 | 0.064 | 0.063 | 0.063 | 0.062 | 0.062 | |||
SC3 | 0.060 | 0.060 | 0.053 | 0.056 | 0.053 | 0.049 | |||
TTS1 | SC1 | R2 | 0.920 | 0.919 | 0.926 | 0.926 | 0.922 | 0.926 | |
SC2 | 0.948 | 0.970 | 0.972 | 0.965 | 0.971 | 0.973 | |||
SC3 | 0.958 | 0.974 | 0.980 | 0.971 | 0.978 | 0.979 | |||
TTS2 | SC1 | 0.895 | 0.890 | 0.890 | 0.897 | 0.894 | 0.901 | ||
SC2 | 0.927 | 0.933 | 0.936 | 0.936 | 0.937 | 0.937 | |||
SC3 | 0.941 | 0.941 | 0.954 | 0.957 | 0.954 | 0.967 |
Dataset | Algorithm | Number of Learnable Parameters |
---|---|---|
Dataset 1 | LR/MLR | 8 |
GBR | 1,750,000 | |
LSTM | 35,371 | |
1DCNN | 227,241 | |
Dataset 2 | LR/MLR | 9 |
GBR | 22,500,000 | |
LSTM | 137,021 | |
1DCNN | 393,551 | |
Dataset 3 | LR/MLR | 9 |
GBR | 14,400,000 | |
LSTM | 287,701 | |
1DCNN | 520,591 |
Dataset | Scenario | Number of Learnable Parameters |
---|---|---|
Dataset 1 | SC1 | 48,191 |
SC2 | 58,921 | |
SC3 | 227,241 | |
Dataset 2 | SC1 | 73,241 |
SC2 | 129,681 | |
SC3 | 393,551 | |
Dataset 3 | SC1 | 187,841 |
SC2 | 400,601 | |
SC3 | 520,591 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ali, S.; Alam, F.; Arif, K.M.; Potgieter, J. Low-Cost CO Sensor Calibration Using One Dimensional Convolutional Neural Network. Sensors 2023, 23, 854. https://doi.org/10.3390/s23020854
Ali S, Alam F, Arif KM, Potgieter J. Low-Cost CO Sensor Calibration Using One Dimensional Convolutional Neural Network. Sensors. 2023; 23(2):854. https://doi.org/10.3390/s23020854
Chicago/Turabian StyleAli, Sharafat, Fakhrul Alam, Khalid Mahmood Arif, and Johan Potgieter. 2023. "Low-Cost CO Sensor Calibration Using One Dimensional Convolutional Neural Network" Sensors 23, no. 2: 854. https://doi.org/10.3390/s23020854
APA StyleAli, S., Alam, F., Arif, K. M., & Potgieter, J. (2023). Low-Cost CO Sensor Calibration Using One Dimensional Convolutional Neural Network. Sensors, 23(2), 854. https://doi.org/10.3390/s23020854