Aiming at the problem that the air temperature and humidity sensor in the greenhouse IoT measurement and control system is prone to failure due to the harsh environment,the fault diagnosis of the air temperature and humidity sensor in the greenhouse IoT measurement and control system is studied to ensure the stability and reliability of the overall work of the greenhouse IoT measurement and control system.A fault diagnosis method of air temperature and humidity sensor based on principal component analysis is proposed.Firstly,the principal component analysis of the air temperature and humidity sensor data is carried out,and the fault detection of the sensor is realized by monitoring the change of the square prediction error statistics.Then,for the detected air temperature and humidity sensor fault data,the weighted squared prediction error statistics are used to calculate the cumulative contribution rate of the sensor,and it is used as an indicator of sensor fault identification to identify the faulty air temperature and humidity sensor.The sensor fault diagnosis method is verified by using the data of air temperature and humidity sensor under different fault conditions.The verification results show that the proposed method can be used to detect the deviation fault and drift fault of air temperature and humidity sensor in the measurement and control system of greenhouse IoT.The detection effect of deviation fault is better than that of drift fault.The comprehensive detection rate of deviation fault is 100%,and the comprehensive detection rate of drift fault is 51.25%.At the same time,the proposed method can correctly identify the fault sensor,and effectively improve the accuracy of the fault diagnosis results of the air temperature and humidity sensor in the greenhouse IoT measurement and control system.
关键词
温室/物联网/空气温湿度传感器/故障诊断/主元分析/测控系统
Key words
greenhouse/IoT/air temperature and humidity sensors/fault diagnosis/principal components analysis/measurement and control system