Application and Optimization of NDIR Technology in Indoor Formaldehyde Detection
In order to overcome the shortcomings of indoor formaldehyde NDIR detection accuracy being easily affected by temperature and humidity,a research method combining theoretical research,experimental research,and chart analysis is comprehensively applied to discuss the principle of NDIR detection technology,analyze the influence of temperature and humidity on formaldehyde detection accuracy,and establish a temperature and humidity compensation optimization model based on LSTM.The research results show that under the experimental environment,the maximum absolute errors in formaldehyde detection concentration caused by temperature and humidity changes are 990×10-6 and 1 020×10-6,respectively.As the environmental humidity increases,the formaldehyde detection concentration shows a trend of"first decreasing and then increasing",and a turning point appears at a humidity of 50%.After the improvement of LSTM algorithm,the maximum absolute error between formaldehyde concentration detection value and actual value in different detection environments has been reduced to within 100×10-6,with an average relative error of 8.35%,and the compensation effect is significant.