• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2021, Vol. 43 ›› Issue (05): 845-852.

Previous Articles     Next Articles

Sensor fault diagnosis and data reconstruction based on improved LSTM-RF algorithm

LIN Tao,ZHANG Da,WANG Jian-jun   

  1. (College of Artificial Intelligence and Data Science,Hebei University of Technology,Tianjin 300130,China)
  • Received:2019-11-15 Revised:2020-06-11 Accepted:2021-05-25 Online:2021-05-25 Published:2021-05-19

Abstract: Aiming at the problem of sensor fault diagnosis and fault data reconstruction, a hybrid algorithm model based on improved Long Short-Term Memory (LSTM) and Random Forest (RF) is proposed. Firstly, the improved LSTM is used to predict the output sequence of the sensor, and the residual sequence is obtained by the difference between the predicted value and the actual value. Secondly, the residual sequence is classified by the RF algorithm to identify the fault state of the sensor. When the sensor is in fault state after diagnosis, the fault data is reconstructed by using the prediction value of the improved LSTM. The improved LSTM-RF algorithm cannot only diagnose the sensor fault, but also reconstruct the fault data. The experimental results show that the accuracy of the proposed algorithm  is more than 97% on different data sets, and the RMSE of fault data reconstruction is less than 4%. Compared with the standard LSTM-RF, the improved LSTM-RF algorithm improves the convergence speed and the accuracy of fault data reconstruction by 0.4%.

Key words: sensor, fault diagnosis, fault data reconstruction, improved long short-term memory, random forest