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.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call