AUTHOR=Su Maoyuan , Chen Yumin , Li Qian , Wei Yang , Liu Jiansheng , Chang Zhengwei , Liu Xueyuan , Zhang Anan TITLE=Temperature compensation model for non-dispersive infrared CO2 gas sensor based on WOA-BP algorithm JOURNAL=Frontiers in Energy Research VOLUME=12 YEAR=2024 URL=https://www.frontiersin.org/journals/energy-research/articles/10.3389/fenrg.2024.1407630 DOI=10.3389/fenrg.2024.1407630 ISSN=2296-598X ABSTRACT=

Temperature compensation is the main measure to solve the problem that the detection accuracy of non-dispersive infrared CO2 gas sensor is affected by temperature. As the measurement accuracy of the non-dispersive infrared CO2 gas sensor is easily affected by the ambient temperature, this article analyzes the reasons why the sensor is affected by temperature, and proposes a temperature compensation method that integrates the Whale Algorithm (WOA) and BP neural network. The whale algorithm is used to optimize the weights and thresholds of the BP neural network to build a temperature compensation model for the non-dispersive infrared CO2 gas sensor and compare the superiority with the traditional BP neural network model and particle swarm optimization (PSO) BP neural network model. The experimental results show that the temperature compensation model error of WOA-BP algorithm is lower than 30 ppm, and the average absolute error percentage is 3.86%, which is far better than BP neural network and PSO-BP neural network, and effectively reduces the influence of temperature on the accuracy of the sensor.