Design andImplementation of Non-dispersive Infrared Carbon Dioxide Sensor
Aiming at the problems of small range and large size of CO2 sensors in the market,a CO2 gas sensor based on non-dis-persive infrared technology was developed by leveraging the absorption principle of infrared spectrum.On the basis of the Lambert-Beer law,the impact of non-absorbing peaks of gases on concentration detection was introduced,and the corresponding concentration calculation equation was established.Regarding the gas chamber,a reflective structure was proposed,and the feasibility of it was ver-ified by simulation.In terms of hardware and software,a microcontroller served as the control core,implementing temperature com-pensation and concentration fitting functionalities internally.To test the performance,a temperature test chamber was used to build the test platform.The results showed that the sensor could accurately measure CO2 in the range of 0-5%at different temperatures,and the full-scale accuracy was 2.8%,which fulfills the requirements for real-time CO2 detection in industrial production and other fields.