Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Aug 31;24(17):5675.
doi: 10.3390/s24175675.

Low-Cost CO2 NDIR Sensors: Performance Evaluation and Calibration Using Machine Learning Techniques

Affiliations

Low-Cost CO2 NDIR Sensors: Performance Evaluation and Calibration Using Machine Learning Techniques

Ravish Dubey et al. Sensors (Basel). .

Abstract

The study comprehensively evaluates low-cost CO2 sensors from different price tiers, assessing their performance against a reference-grade instrument and exploring the possibility of calibration using different machine learning techniques. Three sensors (Sunrise AB by Senseair, K30 CO2 by Senseair, and GMP 343 by Vaisala) were tested alongside a reference instrument (Los Gatos precision greenhouse gas analyzer). The results revealed differences in sensor performance, with the higher cost Vaisala sensors exhibiting superior accuracy. Despite its lower price, the Sunrise sensors still demonstrated reasonable accuracy. Meanwhile, the K30 sensor measurements displayed higher variability and noise. Machine learning models, including linear regression, gradient boosting regression, and random forest regression, were employed for sensor calibration. In general, linear regression models performed best for extrapolating data, whereas decision tree-based models were generally more useful in handling non-linear datasets. Notably, a stack ensemble model combining these techniques outperformed the individual models and significantly improved sensor accuracy by approximately 65%. Overall, this study contributes to filling the gap in intercomparing CO2 sensors across different price categories and underscores the potential of machine learning for enhancing sensor accuracy, particularly in low-cost sensor applications.

Keywords: collocated measurements; low-cost CO2 sensors; machine learning calibration; performance evaluation.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest.

Figures

Figure 1
Figure 1
Schematic representation of the sensor assembly.
Figure 2
Figure 2
Schematic representation of the experimental setup: (a) ambient environment test; (b) growth chamber test.
Figure 3
Figure 3
Boxplot showing the CO2_wet and CO2_dry values during the ambient environment measurements at the rooftop.
Figure 4
Figure 4
Time-series plot for the CO2_dry measurements from all of the sensors and LGR during the ambient environment measurements from August 8, 2023 to October 14, 2023.
Figure 5
Figure 5
RMSE values for all three sensors and their replicates in comparison to LGR measurements before corrections and after applying corrections using different machine learning models for the testing data.
Figure 6
Figure 6
LGR vs. (a) Vaisala (b) Sunrise, and (c) K30 sensors showing uncalibrated CO2_dry (red dots and red equation) and calibrated CO2 (green dots and green equation) using stack ensemble machine learning for testing data.
Figure 7
Figure 7
RMSE values for Sunrise sensors after calibration using different machine learning models for testing data using the training dataset: (a) ambient CO2 variations in growth chamber; (b) controlled CO2 variations in growth chamber.

References

    1. Zhang Y., Lyu M., Yang P., Lai D.Y., Tong C., Zhao G., Li L., Zhang Y., Yang H. Spatial variations in CO2 fluxes in a subtropical coastal reservoir of Southeast China were related to urbanization and land-use types. J. Environ. Sci. (China) 2021;109:206–218. doi: 10.1016/j.jes.2021.04.003. - DOI - PubMed
    1. Lapierre J.-F., Seekell D.A., Filstrup C.T., Collins S.M., Fergus C.E., Soranno P.A., Cheruvelil K.S. Continental-scale variation in controls of summer CO2 in United States lakes. J. Geophys. Res. Biogeosci. 2017;122:875–885. doi: 10.1002/2016JG003525. - DOI
    1. Li Y., Zheng J., Dong S., Wen X., Jin X., Zhang L., Peng X. Temporal variations of local traffic CO2 emissions and its relationship with CO2 flux in Beijing, China. Transp. Res. Part D Transp. Environ. 2019;67:1–15. doi: 10.1016/j.trd.2018.10.007. - DOI
    1. Feng T., Zhou B. Impact of urban spatial structure elements on carbon emissions efficiency in growing megacities: The case of Chengdu. Sci. Rep. 2023;13:9939. doi: 10.1038/s41598-023-36575-6. - DOI - PMC - PubMed
    1. Pandey S.K., Kim K.-H. The Relative Performance of NDIR-based Sensors in the Near Real-time Analysis of CO₂ in Air. Sensors. 2007;7:1683–1696. doi: 10.3390/s7091683. - DOI - PMC - PubMed

LinkOut - more resources