以深度學習演算法應用於馬達故障檢測與故障程度之分析
Motor Fault Detection and Fault Level Analysis by Using Deep Learning
摘要
本研究使用自行架設之馬達平台進行實驗,將所得的數據以機器學習與深度學習之方法提出馬達故障檢測與故障程度之分析。論文內容包括三個模型,模型A利用遞歸神經網路之變分自編碼器( RNN-Autoencoter)對原始資料進行資料壓縮,而非利用一般自編碼器,目的為在資料壓縮的過程中能依然保有時間序列特徵。再分別以RNN、LSTM以及GRU結合自編碼器並進行彼此間之比較後,選擇GRU為最適合之神經元,再針對所有超參數(Hyperparameters)進行模擬測試,得到最佳化之所有超參數來建置模型。模型B利用類神經網路(ANN)、支援向量機(SVM)以及隨機叢林(Random Forest)將已壓縮之資料進行分類,利用主成分分析(Principal Components Analysis)與線性判別分析(Linear Discriminant Analysis)進行第二次的降維並將其可視化。進行18種故障類別與1種正常類別分類後,準確率可達99%以上,且可視化結果在圖片中可清楚判別各種故障與正常的類別。模型C建置一以RNN為基礎之回歸模型,預測8種故障程度(包含一正常),並與模型A同樣進行RNN、LSTM與GRU的比較,且進行超參數之調整,選擇最佳模型並將其可視化,所得故障程度之MAPE值為3%左右。本研究成果綜整如下:模型A可對原始資料進行資料壓縮並保有原始資料之大部分特徵;模型B與模型C分別對故障檢測與故障程度都有極高之預測能力,表示此架構適合用於有時間序列特徵之資料分析。
關鍵字:馬達、故障檢測、故障程度、數據降維,RNN、LSTM、GRU、 自編碼器、回歸模型
關鍵字:馬達、故障檢測、故障程度、數據降維,RNN、LSTM、GRU、 自編碼器、回歸模型
This research utilized a motor to conduct experiments to collect the corresponding data. It proposed an architecture to detect the motor fault categories and predict motor fault levels by using machine learning and deep learning techniques. The entire architecture included three models, which are named as Model A, B and C, respectively. Model A is used to reduce the dimension of original data by using Autoencoder based on RNN (Recurrent Neural Network) instead of the general one. It can make data dimension lower and still contain time sequence. RNN, LSTM and GRU are separately incorporated with the Autoencoder. After comparing the corresponding results, GRU is chosen as the best neuron. All Hyperparameters are tested in order to get the optimal one to build the model. Model B utilizes Artificial Neural Network (ANN), Support Vector Machine (SVM) and Random Forest (RF) to categorize the dimension-reduction data. PCA (Principal Components Analyses) and LDA (Linear Discriminant Analyses) are applied to reduce dimension further so that the results can be visualized in a plane. After conducting classification of eighteen fault categories and one normal category, accuracy can be achieved to 99% above, and the result of visualization can identify the different fault categories and normal one clearly. Model C is used to build a regression model based on RNN to predict eight fault levels (including the normal one). The same as Model A, it compares the results from the respective incorporation of RNN, LSTM and GRU and conducts the adjustment of Hyperparameters to select optimal model and makes the results be able to be visualized. The result of fault level shows that MAPE can be approached to 3%. The conclusions in this research are as follows: Model A can reduce original dimension and maintain the original information; Model B and Model C have excellent prediction abilities for detecting the fault categories and levels, respectively. These demonstrate that the architecture proposed by this study is a proper way to apply to time-series data analysis.
Keywords: motor, fault detection, data dimension reduction, RNN, LSTM, GRU, Autoencoder, regression model
Keywords: motor, fault detection, data dimension reduction, RNN, LSTM, GRU, Autoencoder, regression model