원시데이터 수집 시스템
선정목록으로

A Low-Delay Lightweight Recurrent Neural Network (LLRNN) for Rotating Machinery Fault Diagnosis

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (3) 자동차 인테리어 소재(4) 카시트 모듈

기본 정보

저자
  1. Wenkai Liu — Chongqing Key Laboratory of Software Theory and Technology, Chongqing University, Chongqing 400044, China|||College of Computer Science, Chongqing University, Chongqing 400044, China
  2. Ping Guo — Chongqing Key Laboratory of Software Theory and Technology, Chongqing University, Chongqing 400044, China|||College of Computer Science, Chongqing University, Chongqing 400044, China
  3. Lian Ye — Chongqing Key Laboratory of Software Theory and Technology, Chongqing University, Chongqing 400044, China|||College of Computer Science, Chongqing University, Chongqing 400044, China
DOI
10.3390/s19143109
저널
Sensors
발행년도
2019
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
38
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s19143109
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W2960996736

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(3) 자동차 인테리어 소재, (4) 카시트 모듈
R&D 측면
분석·모델링
확신도
0.70
근거 용어
fault diagnosis, rotating machinery, vibration signal, recurrent neural network, real-time monitoring
판단 근거
본 논문은 회전 기계(베어링 등)의 진동 신호를 분석하여 고장을 진단하는 경량화된 딥러닝 모델(LLRNN)을 제안합니다. 이는 코오롱인더스트리의 직접적인 제품 연구는 아니나, 자동차 부품(카시트 모듈 등)이나 엔지니어링 플라스틱 성형 공정 내 회전 기계 설비의 상태 모니터링 및 예지 보전(Predictive Maintenance) 시스템 구축에 응용될 수 있습니다.
R&D 활용 포인트
생산 설비(컴파운딩/성형기) 및 자동차 부품 모듈의 실시간 고장 진단 및 상태 모니터링 알고리즘 개발에 활용 가능합니다.
평가 입력
본문 59,400자 중 30,032자 발췌

초록

Fault diagnosis is critical to ensuring the safety and reliable operation of rotating machinery systems. Long short-term memory networks (LSTM) have received a great deal of attention in this field. Most of the LSTM-based fault diagnosis methods have too many parameters and calculation, resulting in large memory occupancy and high calculation delay. Thus, this paper proposes a low-delay lightweight recurrent neural network (LLRNN) model for mechanical fault diagnosis, based on a special LSTM cell structure with a forget gate. The input vibration signal is segmented into several shorter sub-signals in order to shorten the length of the time sequence. Then, these sub-signals are sent into the network directly and converted into the final diagnostic results without any manual participation. Compared with some existing methods, our experiments illustrate that the proposed method has less memory space occupancy and lower computational delay while maintaining the same level of accuracy.

본문 59,400자

본문 펼치기
# _sensors_ _Article_ ## A Low-Delay Lightweight Recurrent Neural Network (LLRNN) for Rotating Machinery Fault Diagnosis Wenkai Liu <sup>1,2</sup> , Ping Guo <sup>1,2,</sup> * and Lian Ye <sup>1,2</sup> 1 Chongqing Key Laboratory of Software Theory and Technology, Chongqing University, Chongqing 400044, China 2 College of Computer Science, Chongqing University, Chongqing 400044, China * Correspondence: guoping@cqu.edu.cn Received: 15 May 2019; Accepted: 5 July 2019 ; Published: 14 July 2019 [���������](http://www.mdpi.com/1424-8220/19/14/3109?type=check_update&version=1) [�������](http://www.mdpi.com/1424-8220/19/14/3109?type=check_update&version=1) Abstract: Fault diagnosis is critical to ensuring the safety and reliable operation of rotating machinery systems. Long short-term memory networks (LSTM) have received a great deal of attention in this field. Most of the LSTM-based fault diagnosis methods have too many parameters and calculation, resulting in large memory occupancy and high calculation delay. Thus, this paper proposes a low-delay lightweight recurrent neural network (LLRNN) model for mechanical fault diagnosis, based on a special LSTM cell structure with a forget gate. The input vibration signal is segmented into several shorter sub-signals in order to shorten the length of the time sequence. Then, these sub-signals are sent into the network directly and converted into the final diagnostic results without any manual participation. Compared with some existing methods, our experiments illustrate that the proposed method has less memory space occupancy and lower computational delay while maintaining the same level of accuracy. Keywords: recurrent neural network; data-driven fault diagnosis; lightweight network; deep learning; bearing faults 1. Introduction Mechanical fault diagnosis—analysing data collected by sensors and predicting the health of mechanical systems—has become a research hotspot in industry [1,2]. The existing methods can be approximately divided into three categories: physics-based “white-box” models, data-driven artificial intelligence (AI) methods (“black-box”), and the combination of above two kinds, referred to as “grey-box” models. The performance of physics-based models is heavily dependent on the quality of domain knowledge about the practical mechanical systems. In reality, mechanical equipment works in complex production environments, and the collected data are seriously disturbed by a variety of noise. The models built in an ideal environment may not work in such a complex environment. A data-driven model can update parameters using real-time data [3]. This flexibility has made them become the focus of fault diagnosis research. Although white-box models are dependent on the quality of domain knowledge, this additional information could reduce the solution space and enhance the performance of black-box models. Some grey-box models have earned relatively good results in fault diagnosis. Zhou et al. [4] used neighbourhood components analysis to reduce the dimensionality of original features, then applied coupled hidden Markov model (CHMM) to bearing fault diagnosis. Jung et al. [5] exploit the multi-scale energy analysis of discrete wavelet transformation to obtain a low-dimensional feature subset of data as the input of a k-nearest neighbours ( k-NN) algorithm for bearing fault classification. Gangsar et al. [6] proposed a method for the fault diagnosis of induction motors by combining the wavelet packet transform (WPT) and support vector machine (SVM). _Sensors_ 2019, _19_ [, 3109; doi:10.3390/s19143109](http://dx.doi.org/10.3390/s19143109) [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2019, _19_, 3109 2 of 17 The traditional AI methods are also shallow models and always work on the original feature representation without creating new features during the learning process [7]. It is difficult to characterise the inherent non-linear relationship of complex mechanical systems effectively while using them. In order to further improve the diagnostic performance, deep learning has recently been applied to mechanical fault diagnosis [8]. Deep learning can automatically extract advanced features from the original data through hierarchical learning, and achieve end-to-end learning without any manual participation. Compared with the traditional AI methods, the deep learning method has lower dependence on the knowledge of feature design. At present, there are three main methods that are widely used in the field of mechanical fault diagnosis: automatic encoder (AutoEncoder), convolutional neural network (CNN), and recurrent neural network (RNN). The AutoEncoder can learn rich representation features and reduce data dimensionality, and has has received a great deal of attention in this research field. Ahmed et al. [9] proposed an unsupervised feature learning algorithm using stacked AutoEncoders to learn feature representations from compressed measurements. Lu et al. [10] presented a detailed empirical study of stacked denoising AutoEncoders with three hidden layers for fault diagnosis. Junbo et al. [11] used a digital wavelet frame and nonlinear soft threshold method to process vibration signals and used an AutoEncoder on the preprocessed signal to carry out roller bearing fault diagnosis. However, adjusting the model parameters requires a large amount of data and time, and it is difficult to judge whether the learned features are related to the target task. CNNs can automatically select the feature of data without any artificial designs, and has been widely applied in fault diagnosis. Wen et al. [12] transformed a raw signal into a square matrix through non-overlapping cutting and normalised the value to 0–255, which was regarded as an image directly using 2D LeNet-5 for the fault prediction of gears and bearings. Liu et al. [13] cut the raw signal into a square matrix by changing the interval distance, which was used directly for fault detection in the 2D-CNN structure training. Sun et al. [14] used multi-scale information extracted by dual tree-complex wavelet transform (DT-CWT) to form a matrix and combined it with a CNN for gear fault diagnosis. Guo et al. [15] used a novel diagnosis method involving a CNN to directly classify a continuous wavelet transform scalogram (CWTS). CNNs can effectively extract local features of data and process high-dimensional data, but most CNN architectures are heavily over-parametrised and computationally complex, taking a lot of time to train the network [16]. The initial parameter values affect the final performance of a CNN. Besides, CNNs are unable to remember historical data information. When predicting, a CNN must process historical input data repeatedly, bringing unnecessary computational consumption. The RNN is a framework for processing sequence data. It analyses the combination of historical data feature and current input data, then extracts the new feature information and makes decisions. The processing form of RNNs is more suitable for mechanical fault diagnosis. RNNs have the ability to memorise historical information, and only need to process the input data once. Therefore, they can detect the health status of mechanical systems in real time. However, the vanishing gradient problem during the back-propagation of model training hinders the performance of RNNs. This means that traditional RNNs may not capture long-term dependencies. Long short-term memory networks (LSTMs), which can extract long-term dependence features, avoid the gradient disappearance problem cleverly through the gate mechanism and have been successfully applied in various fields, including image captioning [17], speech recognition [18], and natural language processing [19]. Nevertheless, it is also difficult to train LSTMs when the data sequence is too long. LSTM-based methods also have the problem of excessive parameters and computational complexity. The LSTM structure can be further simplified to reduce the calculation time. In order to solve the above problems, this paper proposes a low-delay lightweight recurrent neural network (LLRNN) model for mechanical fault diagnosis, making the following two main contributions: (1) The design of a lightweight network structure based on a special LSTM cell with only a forget gate, reducing the parameters and calculation of the network. (2) It studies the influence of step length (i.e., the length of each sub-segment of a sequence signal, as shown in Figure 1 _Dx_ ) and step number (number of sub-segment of a sequence signal as shown in Figure 1 _L_ / _Dx_ ) of the sequence _Sensors_ 2019, _19_, 3109 3 of 17 data on the performance of the model, including accuracy, noise immunity, and calculation delay, on the basis of the characteristics of the vibration signal. Two bearing data sets, provided by Case Western Reserve University (CWRU)’s Bearing Data Center and the Center for Intelligent Maintenance Systems (IMS), University of Cincinnati, respectively, were used to verify the performance of the proposed algorithm. Compared with the LSTM-based methods and some CNN-based models, in our experiments the proposed algorithm took up less storage space and had shorter calculation delay under the same accuracy and noise immunity, and was more suitable for real-time fault diagnosis. Figure 1. The step length ( _Dx_ ) and step number (L/ _Dx_ ) of a data sequence. The rest of this paper is arranged as follows. In Section 2, the RNN variants and their applications are reviewed. Then, the LLRNN and its analysis are presented in Section 3. In the following Section 4, the experimental results using two data sets are illustrated. Finally, the conclusion is provided in Section 5. 2. Related Work _2.1._ _Application of RNN in Fault Detection_ RNNs are mainly used to process sequence data, because they can store the feature information of historical data in the internal state (i.e., memory). Then, they combine current input data with memory and extract new features, as shown in Figure 2a. RNNs can be trained via backpropagation through time, but the vanishing gradient problem during backpropagation makes it difficult to capture long-term dependencies. The LSTM is an efficient RNN variant structure to solve this problem. It avoids long-term dependence problems through the gate mechanism and has the ability to extract long-term dependent feature information effectively [20]. The LSTM cell structure is shown in Figure 2b, and the calculation process is shown in Equation (1). _f_ _t_ = _σ_ ( _W_ _f_ <sup>_h_</sup> _i_ _t_ = _σ_ ( _W_ _i_ <sup>_h_</sup> _f_ <sup>_h_</sup> <sup>_·_</sup> <sup>_h_</sup> <sup>_t−_</sup> <sup>1 +</sup> <sup>_W_</sup> <sup>_x_</sup> _f_ _i_ <sup>_h_</sup> <sup>_·_</sup> <sup>_h_</sup> <sup>_t−_</sup> <sup>1 +</sup> <sup>_W_</sup> _i_ <sup>_x_</sup> <sup>_x_</sup> _f_ <sup>_·_</sup> <sup>_x_</sup> <sup>_t_</sup> <sup>+</sup> <sup>_b_</sup> <sup>_f_</sup> <sup>)</sup> _i_ <sup>_x_</sup> <sup>_·_</sup> <sup>_x_</sup> <sup>_t_</sup> <sup>+</sup> <sup>_b_</sup> <sup>_i_</sup> <sup>)</sup> _g_ _t_ = tanh( _W_ _g_ <sup>_h_</sup> _g_ <sup>_h_</sup> <sup>_·_</sup> <sup>_h_</sup> _t−_ 1 <sup>+</sup> <sup>_W_</sup> _g_ <sup>_x_</sup> _g_ <sup>_x_</sup> <sup>_·_</sup> <sup>_x_</sup> <sup>_t_</sup> <sup>+</sup> <sup>_b_</sup> <sup>_g_</sup> <sup>)</sup> (1) _o_ _t_ = _σ_ ( _W_ _o_ <sup>_h_</sup> _o_ <sup>_h_</sup> <sup>_·_</sup> <sup>_h_</sup> _t−_ 1 <sup>+</sup> <sup>_W_</sup> _o_ <sup>_x_</sup> _o_ <sup>_x_</sup> <sup>_·_</sup> <sup>_x_</sup> <sup>_t_</sup> <sup>+</sup> <sup>_b_</sup> <sup>_o_</sup> <sup>)</sup> _C_ _t_ = _f_ _t ⊙_ _C_ _t−_ 1 + _i_ _t ⊙_ _g_ _t_ _h_ _t_ = _o_ _t ⊙_ tanh ( _C_ _t_ ) where _f_ _t_ denotes the forget gate, _i_ _t_ the input gate, _o_ _t_ the output gate, and _g_ _t_ the new candidate memory state. _h_ _t−_ 1 and _h_ _t_ denote the hidden states of the previous moment and the current moment. _x_ _t_ denotes the input of the current moment. _C_ _t−_ 1 and _C_ _t_ denote the memory states of the previous moment and the current moment. _W_ _∗_ <sup>_h_</sup> and _W_ _∗_ <sup>_x_</sup> denote the parameters related to _h_ _t−_ 1 and _x_ _t_ in the corresponding gate. and _b_ _∗_ denotes the bias in the corresponding gate. “ _·_ ” and “ _⊙_ ” denote the operations of matrix multiplication and point multiplication, respectively. _Sensors_ 2019, _19_, 3109 4 of 17 Figure 2. The inner structures of different recurrent neural network (RNN) cells: ( a ) RNN; ( b ) Long short-term memory network (LSTM); ( c ) Gated recurrent unit (GRU) The gate mechanism of LSTM is redundant, causing excessive parameters and calculations. In order to solve this problem, researchers have proposed several variants [21–24]. Gated recurrent unit (GRU) [24], the most successful variant, combines the forget gate and the input gate into an update gate and mixes the memory state and the hidden state. The GRU cell structure is shown in Figure 2c and the calculation process is shown in Equation (2): _z_ _t_ = _σ_ ( _W_ _z_ <sup>_h_</sup> _r_ _t_ = _σ_ ( _W_ _r_ <sup>_h_</sup> _z_ <sup>_h_</sup> <sup>_·_</sup> <sup>_h_</sup> _t−_ 1 <sup>+</sup> <sup>_W_</sup> _z_ <sup>_x_</sup> _r_ <sup>_h_</sup> <sup>_·_</sup> <sup>_h_</sup> _t−_ 1 <sup>+</sup> <sup>_W_</sup> _r_ <sup>_x_</sup> _z_ <sup>_x_</sup> <sup>_·_</sup> <sup>_x_</sup> <sup>_t_</sup> <sup>+</sup> <sup>_b_</sup> <sup>_z_</sup> <sup>)</sup> _r_ <sup>_x_</sup> <sup>_·_</sup> <sup>_x_</sup> <sup>_t_</sup> <sup>+</sup> <sup>_b_</sup> <sup>_r_</sup> <sup>)</sup> _g_ _t_ = tanh( _W_ _g_ <sup>_h_</sup> _g_ <sup>_h_</sup> <sup>_·_</sup> <sup>(</sup> <sup>_r_</sup> <sup>_t_</sup> <sup>_⊙_</sup> <sup>_h_</sup> _t−_ 1 <sup>) +</sup> <sup>_W_</sup> _g_ <sup>_x_</sup> _g_ <sup>_x_</sup> <sup>_·_</sup> <sup>_x_</sup> <sup>_t_</sup> <sup>+</sup> <sup>_b_</sup> <sup>_g_</sup> <sup>)</sup> (2) _h_ _t_ = (1 _−_ _z_ _t_ ) _⊙_ _h_ _t−_ 1 + _z_ _t ⊙_ _g_ _t_, where _r_ _t_ denotes the reset gate, controlling the influence level of _h_ _t−_ 1 on _g_ _t_ . _z_ _t_ denotes the update gate, controlling the update of the memory state. The GRU can achieve performance comparable to LSTM with one less gate. LSTMs have been successfully applied in many fields, and have also received much attention in the field of mechanical fault detection. Zhao et al. [25] combined a CNN with a bi-directional LSTM to propose a novel machine health monitoring system used for tool wearing prediction. Park et al. [26] employed an LSTM model in an edge device for industrial robot manipulator fault detection. Yuan et al. [27] applied an LSTM for aero engine fault diagnosis and remaining useful life (RUL) prediction. Zhang et al. [28] combined LSTM with Monte Carlo simulation for lithium-ion batteries’ RUL prediction. Cui et al. [29] combined fast Fourier transform (FFT) and RNN for bearing fault diagnosis. Wang et al. [30] applied LSTM to gear fault diagnosis. Liu et al. [31] proposed a GRU-based method for rolling bearings fault diagnosis by comparing the reconstruction errors generated from multiple-dimension time-sequence data. This paper proposes a lightweight model with low delay based on a special LSTM cell structure for rotating mechanism fault diagnosis. _2.2._ _Introduction of JANET_ Der Westhuizen et al. [32] proposed a new LSTM cell structure with only one forget gate, namely, “just another network” (JANET). Not only does JANET provide computational savings, but also outperforms the standard LSTM on multiple benchmark data sets and competes with some of the best contemporary models. The JANET cell structure is shown in Figure 3, and the calculation process is shown in Equation (3). _f_ _t_ = _σ_ ( _W_ _f_ <sup>_h_</sup> _f_ <sup>_h_</sup> <sup>_·_</sup> <sup>_h_</sup> <sup>_t−_</sup> <sup>1 +</sup> <sup>_W_</sup> <sup>_x_</sup> _f_ <sup>_x_</sup> _f_ <sup>_·_</sup> <sup>_x_</sup> <sup>_t_</sup> <sup>+</sup> <sup>_b_</sup> <sup>_f_</sup> <sup>)</sup> _g_ _t_ = tanh( _W_ _g_ <sup>_h_</sup> _g_ <sup>_h_</sup> <sup>_·_</sup> <sup>_h_</sup> _t−_ 1 <sup>+</sup> <sup>_W_</sup> _g_ <sup>_x_</sup> _g_ <sup>_x_</sup> <sup>_·_</sup> <sup>_x_</sup> <sup>_t_</sup> <sup>+</sup> <sup>_b_</sup> <sup>_g_</sup> <sup>)</sup> (3) _C_ _t_ = _f_ _t ⊙_ _C_ _t−_ 1 + (1 _−_ _f_ _t_ ) _⊙_ _g_ _t_ _h_ _t_ = _C_ _t_ _Sensors_ 2019, _19_, 3109 5 of 17 JANET retains the most important forget gate _f_ _t_ in LSTM. Since _f_ _t_ determines which information should be discarded, the information that _f_ _t_ does not suggest to drop should be retained. Therefore, (1 _−_ _f_ _t_ ) is approximately regarded as _i_ _t_, reducing both the parameters and calculation caused by the input gate. The output gate selects the useful information in the memory state _C_ _t_ and passes it to the hidden state _h_ _t_ . In fact, this task can be handed over to the forget gate of the next moment. Based on this idea, JANET cancels the output gate and merges the hidden state _h_ _t_ and memory state _C_ _t_, just like the GRU. JANET has a simpler structure and less calculation. Figure 3. The inner structures of JANET. 3. The Proposed Method _3.1._ _Model Structure_ In this paper, a low-delay lightweight recurrent neural network (LLRNN) model for rotating machinery fault diagnosis is designed based on a JANET cell, and the overall flowchart is shown in Figure 4a. The input vibration signal is segmented into several shorter sub-signals. Then, these sub-signals are sent to the network directly and converted into the final classification results, as shown in Figure 4b. As an end-to-end model, the proposed model can turn the data collected by sensors into the finally desired prediction results without any manual participation, which could be used for real-time monitoring and has two improvements: (1) It is based on a simpler cell structure with fewer parameters, and the proposed model consumes less storage space while maintaining its performance. (2) Segmenting the signal before sending it into the network not only reduces the training difficulty of the network, but also improves the noise immunity. Figure 4. ( a ) Flowchart of the proposed method. ( b ) Diagnostic process of the proposed method. LLRNN: low-delay lightweight recurrent neural network. _Sensors_ 2019, _19_, 3109 6 of 17 _3.2._ _Network Structure_ Using the output of the previous layer as the input of next layer, an RNN can also be stacked to form a deeper structure similar to a CNN, as shown in Figure 5a. The feature extraction ability of the model can be improved and the learned features have more semantic information. However, this operation brings a risk of over-fitting and more calculation. After logically expanding, the actual calculation process of an _l_ - _layer_ RNN is described in Figure 5b. The length of each _xt_ is _Dx_, and _T_ = _steps_ = _L_ / _Dx_ . In subsequent experiments, the effects of various parameters on the performance of the model are verified, including accuracy, noise immunity and computational delay. Figure 5. LLRNN network structure: ( a ) The real structure; ( b ) The logically expanding structure. _3.3._ _Model Analysis_ 3.3.1. The Parameters and Calculation of Different Cell Structures As shown in Equation (3), the calculation process of each gate is essentially a fully connected layer. Let _Dh_ denote the quantity of hidden units in each gate, and _Dx_ denote the input data dimension. The parameters and calculation cost are defined as in Equations (4) and (5): _Paramsgate_ = ( _Dh_ + _Dx_ ) _· Dh_ + _Dh_ (4) _FLOPsgate_ = 2 _·_ ( _Dh_ + _Dx_ ) _· Dh_ (5) where _Paramsgate_ and _FLOPsgate_ (FLOP: floating-point operations) denote the parameters and calculation amount of each gate, respectively. The parameter quantity of the cell is the sum of that of all the gates inside it. LSTM has four gates, GRU has three, and JANET has only two. Their parameters are shown in Equations (6)–(8). JANET has only half the number of parameters that LSTM does, and two-thirds those of GRU: _ParamsLSTM_ = 4 _· Paramsgate_ (6) _ParamsGRU_ = 3 _· Paramsgate_ (7) _ParamsJANET_ = 2 _· Paramsgate_ (8) The calculation of the cell in each moment equals to the sum of the that of all the gates, plus the calculation cost of information interaction between the respective gates, which essentially are some _Sensors_ 2019, _19_, 3109 7 of 17 point addition and point multiplication operations. LSTM has four multiplication interactions, GRU has five, and JANET has four. The total calculations are shown in Equations (9)–(11): _FLOPsLSTM_ = (4 _· FLOPsgate_ + 4 _· Dh_ ) _· steps_ (9) _FLOPsGRU_ = (3 _· FLOPsgate_ + 5 _· Dh_ ) _· steps_ (10) _FLOPsJANET_ = (3 _· FLOPsgate_ + 4 _· Dh_ ) _· steps_ (11) where _steps_ denotes the number of sub-segments of a sequence signal, and _steps_ = _L_ / _Dx_, as shown in Figure 1. 3.3.2. Analysis of Step Length As shown in Equations (8) and (11), _Dh_ and _Dx_ affect both the calculation and parameters, and steps affects only the calculation. When the signal length _L_ of the input model is fixed, _steps_ = _L_ / _Dx_ and the Equations (12) and (13) can be obtained by substituting it into Equations (8) and (11): _ParamsJANET_ = 2 _· Dh · Dx_ + 2 _· Dh ·_ ( _Dh_ + 1) (12) _FLOPsJANET_ = <sup><u>4</u></sup> <sup>_<u>· Dh ·</u>_</sup> <sup><u>(</u></sup> <sup>_<u>Dh</u>_</sup> <sup><u>+ 1)</u></sup> _Dx_ _· L_ + 4 _· Dh · L_ (13) Equation (12) shows that the total parameters of the model are positively correlated with _Dx_, and the occupancy of parameters and storage space increases with _Dx_ . On the contrary, Equation (13) shows that the total calculation of the model is negatively correlated with _Dx_, and the increment of _Dx_ will reduce the calculation. In addition to the computation, the waiting time caused by data dependencies also affects the total computing time of the model. The RNN has a serious problem of calculation delay when processing long sequence data. Because the calculation of _h_ _t_ must wait for _h_ _t−_ 1, the parallel computing power of the GPU cannot solve it. When training the network using a vibration signal _⃗_ _x_ = _{x_ 1, _x_ 2, ..., _xt_, ..., _xL}_, the model takes a long time to process such a long time sequence if every point is used as the input of each moment. It is difficult to train the network. In addition, there is too little effective information that can be extracted, and the extracted features are seriously disturbed by noise if the input vibration signal is single-point. Noise interference not only changes the amplitude information of the signal, but may even change the direction information of the vibration. As a result, the accuracy of the algorithm is reduced. In order to solve these problems, we segment the vibration signal of length L into steps-segment sub-signals of length _Dx_, as shown in Figure 1. When _Dx_ -point vibration information is used as the input of each moment, the step number of the time sequence will reduce from _L_ to _L_ / _Dx_ and the total calculation decreases according to Equation (13). Both the fault shock signal and noise signal are superimposed on the normal signal. The operation of each gate in the cell is a vector multiplied by a matrix, which is essentially a weighted summation of each point of input. It plays a certain smoothing effect, the same as a mean operation, as shown in Equation (14): _S_ _data_ = _S_ _vibration_ + _S_ _noise_ _S_ _vibration_ = _S_ _nornaml_ + _S_ _f ault_ (14) _Dx_ ### ∑ _i_ _w_ ( _i_ ) _·_ _S_ _f ault_ ( _i_ ) + _Dx_ ### ∑ _i_ _w_ ( _i_ ) _·_ _S_ _noise_ ( _i_ ) _Operationgate_ = _Dx_ ### ∑ _i_ _w_ ( _i_ ) _·_ _S_ _nornaml_ ( _i_ ) + where _S_ _data_ denotes the signal of input data, _S_ _vibration_ and _S_ _noise_ denote the signal of vibration part and noise part in _S_ _data_, and _S_ _normal_ and _S_ _f ault_ denote the signal of the normal part and the fault part in _S_ _vibration_ . Most noise is subject to the zero-mean distribution and _E_ [ _S_ _noise_ ] = 0. This means that the larger _Dx_ is, the closer ∑ _i_ <sup>_Dx_</sup> _w_ ( _i_ ) _·_ _S_ _noise_ ( _i_ ) is to 0. Although the _E_ [ _S_ _f ault_ ] _̸_ = 0, for the most part the value _Sensors_ 2019, _19_, 3109 8 of 17 of _S_ _f ault_ is 0, except for the moments where a fault shock happens. If _Dx_ is too large, ∑ _i_ <sup>_Dx_</sup> _w_ ( _i_ ) _·_ _S_ _noise_ ( _i_ ) will be very small. It is difficult for a model to extract the feature of faults. Consequently, the _Dx_ should be appropriate—not too large or too small. These analyses were verified in the subsequent experiments. 4. Experiment and Analysis Two bearing data sets were used to verify the performance of the proposed algorithm and the previous analyses. The data sets were provided by Case Western Reserve University (CWRU)’s Bearing Data Center [33] and the Center for Intelligent Maintenance Systems (IMS), University of Cincinnati [34]. The hardware resources of the computing device used for the experiment were as follows, CPU: Intel Core i7-8700k, 3.7 GHz, six-core twelve threads; GPU: NVIDIA 1080Ti, 11G _×_ 2; Memory: 32 GB; Storage: 2 TB. The software environment was as follows, Ubuntu 16.04 system; TensorFlow 1.10 framework, Python programming language. _4.1._ _The Impact of Model Structure on Performance_ 4.1.1. Introduction of the CWRU Data Set To validate the previous analyses, 12-kHz drive-end data collected by Case Western Reserve University (CWRU)’s Bearing Data Center were used. Figure 6 shows the test rig used for data collection. The data set contains four different categories, namely, normal bearings, bearings with a faulty ball (ball), bearings with a faulty inner race (inner) and bearings with a faulty outer race (outer). For each type of fault, there are three fault diameters, 0.007 inch, 0.014 inch and 0.021 inch, respectively. Thus, there are 10 classifications in this dataset. Figure 6. Fault simulation test rig of the Case Western Reserve University (CWRU) data set. Due to the limited experimental data, the overlapping sampling method was used to enhance the data according to references [35,36], as shown in Figure 7. Figure 7. Diagram of overlapping sampling. The data set was divided into four subsets, corresponding to four different loads, namely load 0, load 1, load 2, and load 3. As shown in Table 1, every category of data subset under each load contained _Sensors_ 2019, _19_, 3109 9 of 17 800 training samples, 100 test samples, and 100 validation samples, for a total of 8000 training samples, 1000 test samples, and 1000 validation samples. Table 1. Classification of the CWRU bearing fault data subsets under each load. Training <u>Samples</u> Validation <u>Samples</u> Test <u>Samples</u> Fault Types Labels <u>(Inches)</u> 800 100 100 Normal 1 800 100 100 Ball 0.007 2 800 100 100 Ball 0.014 3 800 100 100 Ball 0.021 4 800 100 100 Inner 0.007 5 800 100 100 Inner 0.014 6 800 100 100 Inner 0.021 7 800 100 100 Outer 0.007 8 800 100 100 Outer 0.014 9 800 100 100 Outer 0.021 10 Under normal circumstances, bearing vibration signals are affected by the surrounding ambient noise. The CWRU dataset selected in this study was collected in an environment with a relatively low level of ambient noise and therefore cannot reflect the performance of the fault diagnosis algorithm in an actual environment. In addition, there are a number of noise sources in an actual environment, and it is impossible to obtain training samples under all the conditions in various noise environments. Therefore, noise was added to the samples in the raw test set to simulate data from actual conditions. Using the resultant data for testing could produce results closer to those obtained under actual industrial production conditions. Accordingly, white Gaussian noise from 10 dB to _−_ 4 dB was added to the data to simulate actual conditions. Signal-to-noise ratio (SNR) is defined as in Equation (15), and was used when adding noise: _SNR_ = 10 log10 - _P_ _<u>signal</u>_ _P_ _noise_ (15) where _P_ _signal_ and _P_ _noise_ are the intensities of the raw and noise signals, respectively. To examine the noise immunity of the proposed algorithm, the learning model with the highest accuracy for the validation set in 1000 iterations was selected. Noise-containing data were randomly generated 10 times for each sample in the test set of the dataset, and were used for testing and statistically analysing the experimental results, which were represented in the form of the mean. 4.1.2. Experimental Results and Analysis To verify the analysis of the impact of step length on performance in Section 3.3.2, the data subset under load 0 was selected for experimentation, with the network structure having 128 hidden units and 1 layer. We repeated the experiment 10 times with each parameter configuration, and calculated the mean value of the results, as shown in Table 2. As the _Dx_ increased, the validation accuracy and test accuracy slightly increased. When _Dx_ exceeded 256, the accuracy began to decrease due to the smoothing effect caused by the lengthening of _Dx_, which made the model less sensitive to the detail change information of the vibration signal. When _Dx_ increased from 512 to 1024, the increment of noise immunity was greater than the decrement of feature extraction capability, so the noise immunity ability rebounded. The _Dx_ was set to 64 to preserve the noise immunity of the model. The number of hidden units determines the ability of the RNN model to extract feature information; too few leads to under-fitting, and too many causes over-fitting. The extracted feature is finally transformed into a vector, which represents the category, through a fully connected layer as shown in Figure 4b. This process also has a smoothing effect and an impact on noise immunity. _Sensors_ 2019, _19_, 3109 10 of 17 As shown in Table 3, as the number of hidden units increased, the test accuracy first rose and then fell. The reason for this is that the generalisation ability increased with the complexity of the model, then decreased due to over-fitting when the number of cells exceeded 128. Unlike the impact of _Dx_, the decrement of noise immunity was not due to the reduced feature extraction capabilities, but to the over-fitting to noise-free training data. Table 2. Experimental results for the effects of different step lengths. Params _Dx_ (KB) FLOPs (10 <sup>5</sup> ) Training Time Test Time (s) Validation Acc(%) Test Acc (%) 10 dB Acc (%) 5 dB Acc (%) 0 dB Acc (%) _−_ 4 dB Acc (%) 1 130 682 6 h 33 m 29 s 2.562 97.1 95.9 84.4 60.5 44.0 18.4 2 131 343 3 h 01 m 48 s 1.194 97.8 96.6 94.1 80.7 47.3 21.6 4 133 174 1 h 32 m 12 s 0.552 98.6 97.1 94.4 81.6 52.4 28.1 8 137 89.8 46 m 14 s 0.312 99.2 98.2 94.8 82.9 56.2 29.2 16 145 47.5 23 m 59 s 0.184 99.3 99.1 98.6 97.3 85.5 49.6 32 161 26.4 13 m 04 s 0.097 99.3 99.3 98.3 97.5 91.0 68.6 64 193 15.8 7 m 58 s 0.054 99.4 99.3 99.0 97.8 91.8 75.5 128 257 10.5 4 m 39 s 0.050 99.4 99.4 98.9 97.2 89.9 74.1 256 385 7.88 3 m 48 s 0.048 99.4 98.9 98.3 96.3 88.8 73.5 512 641 6.56 2 m 30 s 0.048 96.9 96.5 95.6 93.4 85.9 71.2 1024 1153 5.90 2 m 13 s 0.048 96.2 96.0 95.7 94.9 90.7 79.3 Training time denotes the time of training the network on the GPU with batch size equaling 100; Test time denotes the time of testing the network on the CPU using all the test samples of load 0. Table 3. Experimental results for the effects of different hidden units. FLOPs (10 <sup>4</sup> ) Training Time (s) Test Time (s) Validation Acc (%) Test Acc (%) 10 dB Acc (%) 5 dB Acc (%) 0 dB Acc (%) _−_ 4 dB Acc (%) _Dh_ Params (KB) 16 5.06 4.10 471 0.047 99.2 98.1 95.4 87.9 70.6 47.4 32 12.13 9.83 471 0.048 99.4 98.9 97.9 94.0 82.4 58.9 48 21.19 17.2 472 0.051 99.4 99.1 98.7 96.7 87.7 67.0 64 32.25 26.2 473 0.051 99.3 99.2 98.6 96.6 88.7 69.5 80 45.31 36.9 475 0.053 99.4 99.2 98.8 97.1 89.5 70.9 96 60.38 49.2 476 0.053 99.4 99.2 98.8 97.2 90.1 72.7 128 96.50 78.6 478 0.054 99.3 99.3 99.0 97.8 91.8 75.5 160 140.63 115 480 0.063 99.4 99.2 98.8 97.4 90.4 74.0 192 192.75 157 482 0.071 99.3 99.1 98.8 97.5 90.3 73.9 224 252.88 206 485 0.075 99.3 99.0 98.8 97.5 90.6 73.8 256 321.00 262 486 0.090 99.1 99.0 98.7 97.6 90.6 73.5 When hidden units increased from 16 to 256, the theoretical calculation increased by 50 times, but the real training time only increased by less than three percent, and the test time nearly doubled. These gaps were caused by the following two reasons: (1) The increment of hidden units only brought the calculation for each moment without increasing the waiting time. (2) The GPU has parallel computing power; 16 units or 256 units were calculated synchronously, and the time consumed was the same as that for calculating only one unit. Only when calculating the sum of all the results of each unit did the calculating time increase slightly. RNNs can also be stacked like CNNs to build deeper models, as shown in Figure 5b. The number of hidden units in the network was set to 128 for the experiment due to the highest noise immunity performance, and the effects of different layer numbers on the model performance are shown in Table 4. Table 4. Experimental results for the effects of different numbers of layers. Params Layer (KB) FLOPs (10 <sup>6</sup> ) Training Time (s) Test Time (s) Validation Acc (%) Test Acc (%) 10 dB Acc (%) 5 dB Acc (%) 0 dB Acc (%) _−_ 4 dB Acc (%) 1 193 1.58 478 0.054 99.3 99.3 99.0 97.8 91.8 75.5 2 386 3.16 684 0.076 99.5 99.3 99.1 98.4 93.6 79.0 3 579 4.74 1126 0.103 99.3 99.0 98.6 97.3 90.6 72.8 4 772 6.32 1332 0.123 99.0 98.7 98.1 96.6 89.8 73.2 5 965 7.91 1792 0.146 98.3 98.0 97.4 96.1 89.6 73.4 _Sensors_ 2019, _19_, 3109 11 of 17 The model had the highest test accuracy and noise immunity at two layers due to the appropriate model complexity. The model with more layers had lower performance caused by over-fitting, and both space occupancy and calculation delay increased without any increment of test accuracy or noise immunity. As shown in the above experiments, all the analyses of the impact of network structure and step length on performance were verified. As _Dx_ increased, the calculation delay decreased, the accuracy first rose then fell, and the noise immunity increased. As _Dh_ increased, the calculation delay on the CPU decreased, and both the accuracy and noise immunity increased then decreased. As the number of layers increased, the calculation delay increased, and both the accuracy and noise immunity increased then decreased. The trend of performance was almost the same as assumed in Section 3. The proposed method had the most satisfactory result for fault diagnosis on the CWRU data set in the condition that _Dx_ was equal to 64, _Dh_ was equal to 128, and _layer_ was equal to 2. _4.2._ _The Universality of the Proposed Method_ In the previous experiments, the analyses of the impact of network parameters on the performance were verified, and the proposed method had a satisfactory result on the CWRU data set. However, the mechanical system in the CWRU bearing data experiment was relatively simple, and the fault was also caused by human damage, whose vibration characteristics may be different from that of natural wear in an actual production environment. To verify the universality of the model, extra experiments were performed using the IMS data set, which was collected in a more complex mechanical system with natural wear faults. LSTM and GRU were used for experimental comparison to verify whether the simplification of the cell structure would reduce the network performance. 4.2.1. Introduction of the IMS Data Set This dataset was provided by the Center for Intelligent Maintenance Systems (IMS), University of Cincinnati, and shared on the website of the Prognostic Data Repository of NASA [37]. The structure of the mechanical system is shown in Figure 8, and the data records the entire wear process of the bearing. Figure 8. Test rig and sensor placement of the Center for Intelligent Maintenance Systems (IMS) dataset. _Sensors_ 2019, _19_, 3109 12 of 17 The bearings experienced “increase–decrease–increase” degradation trends. This behaviour was due to the “self-healing” nature of the damage [38]. First, the amplitude of vibration increased because of the impact caused by the initial surface defect (e.g., spalling or cracks). Then, the initial defect was smoothed by continuous rolling contact, leading to the decrease of the impact amplitude. Finally, the damage spread over a broader area, and the vibration amplitude increased again. During the self-healing period, the amplitude of the fault bearing was similar to that of the normal bearing, making it difficult to detect the fault during the self-healing period, as shown in Figure 9. Figure 9. The root mean square (RMS) values in dataset 2 of IMS. At the end of the experiment, the inner race defect, outer race defect, and roller element defect were detected manually [34]. As shown in Figure 9, the red curve indicates the wear process of the outer race defect in bearing 1. The self-healing appeared after the failure on the fifth day, and its amplitude was basically the same as that of the normal bearing (green curve). In order to increase the difficulty of diagnosis, we chose the bearings in the self-healing period as fault data, and the normal bearing with similar amplitude as normal data. Also, a length of 1024 was directly sampled as a sample instead of overlapping sampling due to the relatively sufficient size of the IMS data set. The fault data categories are shown in Table 5. Table 5. Classification of the IMS bearing fault data set. Training Validation Test Fault Types Labels 1600 200 200 Normal 1 1600 200 200 Roller 2 1600 200 200 Outer 3 1600 200 200 Inner 4 4.2.2. Experimental Results and Analysis In order to verify whether the simplification of the cell structure had too much of a negative impact on performance, a comparison experiment was performed using GRU and LSTM with the same number of hidden units and almost-calculated quantities. The comparison results of the CWRU data set are shown in Tables 6 and 7. When the number of hidden units was 128 and the number of layers was 1, neither the test accuracy nor noise immunity of GRU1 and LSTM1 were improved much compared with LLRNN. However, the parameter quantity of GRU1 increased by one-half and that of LSTM1 increased by one time, the test delay of GRU1 increased by 50%, and that of LSTM1 increased by 25%. The GRU1 had less calculation than the LSTM1 but the _Sensors_ 2019, _19_, 3109 13 of 17 calculation delay of GRU1 was higher than that of LSTM1. This is because the four gates of the LSTM1 were independent and could be calculated in parallel, while the calculation of _g_ _t_ in GRU1 must wait for the output of _r_ _t_, as shown in Figure 2c, resulting in more calculation time than LSTM1. Table 6. Experimental results of various methods in the CWRU dataset. FLOPs (10 <sup>6</sup> ) Training Time (s) Test Time (s) Load 0 Acc (%) Load 1 Acc (%) Load 3 Acc (%) Load 4 Acc (%) Method Layer _Dh_ Params (KB) LLRNN 1 128 193 1.58 478 0.054 99.3 99.7 99.8 99.7 GRU1 1 128 289 2.37 518 0.081 99.2 99.2 99.5 99.6 LSTM1 1 128 386 3.15 486 0.068 99.7 99.7 99.8 99.8 GRU2 1 100 193 1.58 502 0.070 99.2 99.1 99.2 99.4 LSTM2 1 84 195 1.60 467 0.061 99.2 99.4 99.7 99.6 GRU3 2 64 193 1.58 987 0.074 99.3 99.3 99.6 99.6 LSTM3 2 53 195 1.59 788 0.067 99.4 99.5 99.7 99.7 Reference [12] - - 50371 145 876 0.865 99.6 99.6 99.7 99.8 Reference [13] - - 565 80.8 586 0.584 99.7 99.6 99.8 99.7 Reference [14] - - 206 10.1 873 0.515 99.8 99.7 99.7 99.8 Reference [15] - - 367 200 2992 5.752 99.7 99.6 99.8 99.7 Reference [6] - - - - 37 7.288 82.3 83.5 85.8 88.3 LLRNN denotes the network structure using JANET cell with _Dx_ = 64, _Dh_ = 128, and _layer_ = 1. GRU1 and LSTM1 denotes the network structure using GRU and LSTM cells with the same _Dx_, _Dh_ and _layer_ as LLRNN. GRU2 and LSTM2 denote the network structure using GRU and LSTM cells under _layer_ = 1 and _Dx_ = 64 with approximately the same amount of calculation as LLRNN. GRU3 and LSTM3 denote the network structure using GRU and LSTM cells under _layer_ = 2 and _Dx_ = 64 with approximately the same amount of calculation as LLRNN. Table 7. Noise immunity of various methods in the CWRU dataset. Method load 0 Acc (%) load 1 Acc (%) load 2 Acc (%) load 3 Acc (%) 10 dB 5 dB 0 dB 10 dB 5 dB 0 dB 10 dB 5 dB 0 dB 10 dB 5 dB 0 dB LLRNN 99.0 97.8 91.5 99.5 98.7 94.0 99.7 99.4 95.1 99.5 98.3 91.2 GRU1 99.0 97.9 91.8 99.2 98.9 94.1 99.5 99.0 91.8 99.6 98.9 90.3 LSTM1 99.1 98.1 92.1 99.5 99.3 93.5 99.9 99.7 93.1 99.7 99.7 91.5 GRU2 98.1 97.1 89.9 99.0 98.5 91.4 99.1 98.1 91.5 99.1 97.7 89.1 LSTM2 98.3 96.7 89.5 99.3 98.5 91.6 99.2 98.7 92.1 99.0 98.2 89.3 GRU3 99.0 97.8 91.1 99.2 98.5 92.5 99.3 98.8 93.0 99.3 98.4 91.5 LSTM3 99.1 97.8 90.6 99.3 98.7 92.2 99.4 99.1 94.4 99.3 98.5 92.7 Reference [12] 92.9 78.3 33.3 93.5 82.4 35.6 95.9 86.3 37.5 96.9 88.3 38.3 Reference [13] 97.5 92.4 56.0 98.2 93.4 57.4 98.5 94.4 57.8 98.9 95.2 58.1 Reference [14] 96.2 86.4 61.2 96.7 87.6 61.7 97.1 88.4 62.1 97.2 88.7 63.8 Reference [15] 77.1 54.8 36.9 78.6 58.1 35.3 75.3 55.8 37.9 79.6 54.6 39.2 Reference [6] 80.5 77.4 43.8 81.5 73.4 40.5 80.5 77.4 43.8 81.5 74.8 42.3 Under a structure of one layer with parameter quantity and calculation amount similar to LLRNN, the performances of GRU2 and LSTM2 were slightly lower than that of LLRNN, while the delay of LSTM2 was 13% higher and that of GRU2 was 30% higher. In the cell structure work flow, the calculation of the LSTM2 activation function tanh brought calculation and computational delays, resulting in the calculation time of LSTM2 being longer than that of LLRNN. Under the structure of two layers with the parameter quantity and calculation amount similar to LLRNN, the performances of GRU3 and LSTM3 were improved compared with GRU2 and LSTM2. Although the performance was similar to that of LLRNN, the delay of LSTM3 increased by 24% and that of GRU3 increased by 37%. As shown in Table 6, CNN-based models [12–15] gained competitive performance in no-noise test data, but they took up more storage and consumed more computing time due mainly to the over-complexity of the network structure. Although reference [14] had similar parameters to LLRNN, its theoretical calculation was six times greater and its real computing time was approximately ten times greater compared with the proposed method. Besides, the accuracies of CNN models fell rapidly in the noisy environment while the accuracy of LLRNN still exceeded 90%, as shown in Table 7. The model structure and training method of SVM both differ from those for neural networks, so it is meaningless _Sensors_ 2019, _19_, 3109 14 of 17 to discuss the training time of reference [6]. Not only were the test accuracies and noise immunities of SVM much lower than those of LLRNN, but also the test time of the former was dozens of times greater than that of the latter. The primary reason is that the multi-category task of SVM is broken down into several binary tasks, which results in extra computation. The experimental results of the IMS data set are shown in Table 8. The self-repair of the mechanical system made the data characteristics of the faulty bearing similar to those of the normal bearing. Although the test accuracy gained satisfactory results, the complexity of the system made the data more difficult to distinguish in high-noise environments. The test accuracy in the simulation environment of 0 dB was lower than that of the CWRU data set at least 6%. Like the experimental results of the CWRU dataset, the performance of LLRNN was not worse than any structure using LSTM or GRU. Table 8. Experimental results of various methods in the IMS dataset. Test Time (s) Test Acc (%) 10 dB Acc (%) 5 dB Acc (%) 0 dB Acc (%) _−_ 4 dB Acc (%) FLOPs (10 <sup>6</sup> ) Training Time (s) Method Layer _Dh_ Params (KB) LLRNN 1 128 193 1.58 360 0.052 99.5 99.1 97.6 85.2 63.6 GRU1 1 128 289 2.37 462 0.075 99.6 99.7 98.6 84.2 60.8 LSTM1 1 128 386 3.15 373 0.063 99.6 99.3 97.9 85.1 63.7 GRU2 1 100 193 1.58 462 0.067 99.3 98.6 98.4 82.4 59.0 LSTM2 1 84 195 1.60 357 0.056 99.3 98.3 97.0 84.5 62.4 GRU3 2 64 193 1.58 790 0.062 99.5 98.8 98.0 83.8 59.2 LSTM3 2 53 195 1.59 638 0.058 99.6 99.5 98.3 85.5 63.6 Reference [12] - - 50,371 145 1006 1.344 99.7 98.5 97.0 87.1 60.3 Reference [13] - - 565 80.8 615 0.473 99.8 97.9 95.4 87.2 61.2 Reference [14] - - 206 10.1 723 0.436 99.8 89.6 60.6 26.1 25.3 Reference [15] - - 367 200 2441 4.657 99.7 96.6 82.4 61.1 35.6 Reference [6] - - - - 32 3.497 76.0 72.8 57.7 50.2 28.9 In contrast to the experimental results of the CWRU data, two CNN models gained competitive noise immunity. However, their computing time was still much higher than that of proposed method. The other two still could not work in a noisy environment—especially reference [14], whose prediction accuracy was similar to random guess in a severely noisy environment, at around 25%. The SVM model also behaved poorly; its performance was similar to that in the CWRU data set. However, its test time was much lower than that in the CWRU data set. Because there are four categories of IMS data and the quantity of decomposed binary tasks is only four-tenths that of CWRU, it had much less calculation. According to the results of the above experiments, the ingenious simplification of the JANET cell did not cause serious performance degradation. The calculation delay of LLRNN was at least 10% lower than any network structure using LSTM or GRU while maintaining a satisfactory performance. Compared with some CNN and SVM models, the proposed method not only gained higher prediction accuracy and noise immunity, but also spent the least amount of computing time. 5. Conclusions In this paper, a low-delay lightweight recurrent neural network (LLRNN) model is proposed for mechanical fault diagnosis, which is an end-to-end processing model. From input data to output diagnostics, the process executes automatically without any manual involvement. Thus, the diagnostic quality is not dependent on expert experience. According to the work flow of the JANET cell structure, this paper analysed the influence of several factors (e.g., _Dx_, _steps_, _Dh_, and _layers_ ) on the performance of the model, including accuracy, noise immunity, and calculation delay. The relationship between these factors and performance was verified in the experiment. The proposed method obtained the highest accuracy and noise immunity performance when _layer_ = 2, _Dx_ = 64, and _Dh_ = 128. This could give some guidance to model design in related fields. The experimental results of the two data sets CWRU and IMS prove that the simplified structure of LLRNN could achieve performance comparable to any network model using LSTM or GRU, and the computational delay decreased by at least 10%, which is more suitable for real-time fault detection systems. _Sensors_ 2019, _19_, 3109 15 of 17 The proposed method still requires some improvements due to the data dependencies of the RNN work flow. As shown in Figure 5b and Equation (3), the calculation of _h_ _t_ must wait for _h_ _t−_ 1. Let _tgate_ denote the time consumed in calculating each gate. Although the GPU has parallel computing power, it could only calculate each gate synchronously with the limitation of data dependencies. Ignoring the consumption of communication between each gate, the time consumed each moment could approximate _tgate_ . When dealing with time series data with length of steps, the GPU must wait steps times caused by the data dependencies, so the time of calculating each data sample is _tgate× steps_ . If the dependence between _h_ _t_ and _h_ _t−_ 1 could be eliminated, the calculation of each moment could be performed independently and the GPU could fully utilise its parallel computing power without any waiting. The calculation of steps moments could be dealt with at the same time. Consequently, the time of calculating each data sample could be further reduced to approximately _tgate_ . Now that the CPU of the edge device is basically multi-core and has certain parallel computing capabilities, it means that the test time could decrease as well. Author Contributions: Conceptualization, W.L.; Validation, W.L.; Writing—original draft, W.L.; Writing—review and editing, L.Y., and P.G. Conflicts of Interest: The authors declare no conflicts of interest. Abbreviations LLRNN Low-Delay Lightweight Recurrent Neural Network LSTM Long Short-Term Memory Network AutoEncoder Automatic Encoder DT-CWT Dual Tree-Complex Wavelet Transform CWTS Continuous Wavelet Transform Scalogram AI Artificial Intelligence CHMM Coupled Hidden Markov Model k-NN k-Nearest Neighbour WPT Wavelet Packet Transform SVM Support Vector Machine CNN Convolutional Neural Network RNN Recurrent Neural Network GRU Gated Recurrent Unit RUL Remaining Useful Life FFT Fast Fourier Transform JANET Just Another NETwork FLOPs FLOating-Point Operations CPU Central Processing Unit GPU Graphics Processing Unit References 1. Yin, S.; Li, X.; Gao, H.; Kaynak, O. Data-Based Techniques Focused on Modern Industry: An Overview. _IEEE Trans._ _Ind._ _Electron._ 2015, _62_, 657–667. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2014.2308133) 2. Qiao, W.; Lu, D. A Survey on Wind Turbine Condition Monitoring and Fault Diagnosis—Part I: Components and Subsystems. _IEEE Trans._ _Ind._ _Electron._ 2015, _62_, 6536–6545. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2015.2422112) 3. Khan, S.; Yairi, T. A review on the application of deep learning in system health management. _Mech._ _Syst._ _Signal Process._ 2018, _107_, 241–265. [[CrossRef]](http://dx.doi.org/10.1016/j.ymssp.2017.11.024) 4. Zhou, H.; Chen, J.; Dong, G.; Wang, H.; Yuan, H. Bearing fault recognition method based on neighbourhood component analysis and coupled hidden Markov model. _Mech._ _Syst._ _Signal Process._ 2016, _66–67_, 568–581. [[CrossRef]](http://dx.doi.org/10.1016/j.ymssp.2015.04.037) 5. Jung, U.; Koh, B.H. Wavelet energy-based visualization and classification of high-dimensional signal for bearing fault detection. _Knowl._ _Inf._ _Syst._ 2015, _44_, 197–215. [[CrossRef]](http://dx.doi.org/10.1007/s10115-014-0761-z) _Sensors_ 2019, _19_, 3109 16 of 17 6. Gangsar, P.; Tiwari, R. Multi-fault Diagnosis of Induction Motor at Intermediate Operating Conditions using Wavelet Packet Transform and Support Vector Machine. _J. Dyn._ _Syst._ _Meas._ _Control_ 2018, _140_, 081014. [[CrossRef]](http://dx.doi.org/10.1115/1.4039204) 7. Zhou, Z.; Feng, J. Deep Forest. _arXiv_ 2018, arXiv:1702.08835v1. 8. Liu, R.; Yang, B.; Zio, E.; Chen, X. Artificial intelligence for fault diagnosis of rotating machinery: A review. _Mech._ _Syst._ _Signal Process._ 2018, _108_, 33–47. [[CrossRef]](http://dx.doi.org/10.1016/j.ymssp.2018.02.016) 9. Ahmed, H.; Wong, M.; Nandi, A. Intelligent condition monitoring method for bearing faults from highly compressed measurements using sparse over-complete features. _Mech._ _Syst._ _Signal Process._ 2018, _99_, 459–477. [[CrossRef]](http://dx.doi.org/10.1016/j.ymssp.2017.06.027) 10. Lu, C.; Wang, Z.Y.; Qin, W.L.; Ma, J. Fault diagnosis of rotary machinery components using a stacked denoising autoencoder-based health state identification. _Signal Process._ 2017, _130_, 377–388. [[CrossRef]](http://dx.doi.org/10.1016/j.sigpro.2016.07.028) 11. Junbo, T.; Weining, L.; Juneng, A.; Xueqian, W. Fault diagnosis method study in roller bearing based on wavelet transform and stacked auto-encoder. In Proceedings of the 27th Chinese Control and Decision Conference (2015 CCDC), Qingdao, China, 23–25 May 2015; pp. 4608–4613. [[CrossRef]](http://dx.doi.org/10.1109/CCDC.2015.7162738) 12. Wen, L.; Li, X.; Gao, L.; Zhang, Y. A New Convolutional Neural Network-Based Data-Driven Fault Diagnosis Method. _IEEE Trans._ _Ind._ _Electron._ 2018, _65_, 5990–5998. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2017.2774777) 13. Liu, R.; Meng, G.; Yang, B.; Sun, C.; Chen, X. Dislocated Time Series Convolutional Neural Architecture: An Intelligent Fault Diagnosis Approach for Electric Machine. _IEEE Trans._ _Ind._ _Electron._ 2017, _13_, 1310–1320. [[CrossRef]](http://dx.doi.org/10.1109/TED.2017.2654460) 14. Sun, W.; Yao, B.; Zeng, N.; Chen, B.; He, Y.; Cao, X.; He, W. An Intelligent Gear Fault Diagnosis Methodology Using a Complex Wavelet Enhanced Convolutional Neural Network. _Materials_ 2017, _10_, 790. [[CrossRef]](http://dx.doi.org/10.3390/ma10070790) [[PubMed]](http://www.ncbi.nlm.nih.gov/pubmed/28773148) 15. Guo, S.; Yang, T.; Gao, W.; Zhang, C. A Novel Fault Diagnosis Method for Rotating Machinery Based on a Convolutional Neural Network. _Sensors_ 2018, _18_, 1429. [[PubMed]](http://www.ncbi.nlm.nih.gov/pubmed/29734704) 16. Denil, M.; Shakibi, B.; Dinh, L.; Ranzato, M.; De Freitas, N. Predicting Parameters in Deep Learning. In Proceedings of the Advances in Neural Information Processing Systems 26 (NIPS 2013), Lake Tahoe, NV, USA, 5–8 December 2013, pp. 2148–2156. 17. Gao, L.; Guo, Z.; Zhang, H.; Xu, X.; Shen, H.T. Video Captioning With Attention-Based LSTM and Semantic Consistency. _IEEE Trans._ _Multimed._ 2017, _19_, 2045–2055. [[CrossRef]](http://dx.doi.org/10.1109/TMM.2017.2729019) 18. Zhang, Y.; Lu, X. A Speech Recognition Acoustic Model Based on LSTM -CTC. In Proceedings of the 2018 IEEE 18th International Conference on Communication Technology (ICCT), Chongqing, China, 8–11 October 2018; pp. 1052–1055. [[CrossRef]](http://dx.doi.org/10.1109/ICCT.2018.8599961) 19. Palangi, H.; Deng, L.; Shen, Y.; Gao, J.; He, X.; Chen, J.; Song, X.; Ward, R. Deep Sentence Embedding Using Long Short-Term Memory Networks: Analysis and Application to Information Retrieval. _IEEE/ACM Trans._ _Audio Speech Lang._ _Process._ 2016, _24_, 694–707. [[CrossRef]](http://dx.doi.org/10.1109/TASLP.2016.2520371) 20. Hochreiter, S.; Schmidhuber, J. Long short-term memory. _Neural Comput._ 1997, _9_, 1735–1780. [[CrossRef]](http://dx.doi.org/10.1162/neco.1997.9.8.1735) 21. Zhang, S.; Wu, Y.; Che, T.; Lin, Z.; Memisevic, R.; Salakhutdinov, R.; Bengio, Y. Architectural complexity measures of recurrent neural networks. In Proceedings of the Advances in Neural Information Processing Systems 29 (NIPS 2016), Barcelona, Spain, 5–10 December 2016; pp. 1830–1838. 22. Arjovsky, M.; Shah, A.; Bengio, Y. Unitary evolution recurrent neural networks. In Proceedings of the 33rd International Conference on Machine Learning (ICML 2016), New York, NY, USA, 19–24 June 2016; pp. 1120–1128. 23. Ororbia, A.G.; Mikolov, T.; Reitter, D. Learning Simpler Language Models with the Differential State Framework. _Neural Comput._ 2017, _29_, 3327–3352. [[CrossRef]](http://dx.doi.org/10.1162/neco_a_01017) 24. Chung, J.; Gulcehre, C.; Cho, K.; Bengio, Y. Gated Feedback Recurrent Neural Networks. In Proceedings of the 32nd International Conference on Machine Learning (ICML 2015), Lille, France, 6–11 July 2015; pp. 2067–2075. 25. Zhao, R.; Yan, R.; Wang, J.; Mao, K. Learning to Monitor Machine Health with Convolutional Bi-Directional LSTM Networks. _Sensors_ 2017, _17_, 273. [[CrossRef]](http://dx.doi.org/10.3390/s17020273) 26. Park, D.; Kim, S.; An, Y.; Jung, J. LiReD: A Light-Weight Real-Time Fault Detection System for Edge Computing Using LSTM Recurrent Neural Networks. _Sensors_ 2018, _18_, 2110. [[CrossRef]](http://dx.doi.org/10.3390/s18072110) _Sensors_ 2019, _19_, 3109 17 of 17 27. Yuan, M.; Wu, Y.; Lin, L. Fault diagnosis and remaining useful life estimation of aero engine using LSTM neural network. In Proceedings of the 2016 IEEE International Conference on Aircraft Utility Systems (AUS), Beijing, China, 10–12 October 2016; pp. 135–140. 28. Zhang, Y.; Xiong, R.; He, H.; Pecht, M.G. Long Short-Term Memory Recurrent Neural Network for Remaining Useful Life Prediction of Lithium-Ion Batteries. _IEEE Trans._ _Veh._ _Technol._ 2018, _67_, 5695–5705. [[CrossRef]](http://dx.doi.org/10.1109/TVT.2018.2805189) 29. Cui, Q.; Li, Z.; Yang, J.; Liang, B. Rolling bearing fault prognosis using recurrent neural network. In Proceedings of the 29th Chinese Control And Decision Conference (CCDC), Chongqing, China, 28–30 May 2017; pp. 1196–1201. [[CrossRef]](http://dx.doi.org/10.1109/CCDC.2017.7978700) 30. Wang, W.; Qiu, X.; Chen, C.; Lin, B.; Zhang, H. Application Research on Long Short-Term Memory Network in Fault Diagnosis. In Proceedings of the 2018 International Conference on Machine Learning and Cybernetics (ICMLC), Chengdu, China, 15–18 July 2018; Volume 2, pp. 360–365. [[CrossRef]](http://dx.doi.org/10.1109/ICMLC.2018.8527031) 31. Liu, H.; Zhou, J.; Zheng, Y.; Jiang, W.; Zhang, Y. Fault diagnosis of rolling bearings with recurrent neural network-based autoencoders. _ISA Trans._ 2018, _77_, 167–178. [[CrossRef]](http://dx.doi.org/10.1016/j.isatra.2018.04.005) 32. Der Westhuizen, J.V.; Lasenby, J. The unreasonable effectiveness of the forget gate. _arXiv_ 2018, arXiv:1804.04849. 33. Case Western Reserve University. Bearing Data Center. Available online: [http://csegroups.case.edu/](http://csegroups.case.edu/bearingdatacenter/pages/welcome-case-western-reserve-university-bearing-data-center-website) [bearingdatacenter/pages/welcome-case-western-reserve-university-bearing-data-center-website (accessed](http://csegroups.case.edu/bearingdatacenter/pages/welcome-case-western-reserve-university-bearing-data-center-website) on 10 July 2019). 34. Qiu, H.; Lee, J.; Lin, J.; Yu, G. Wavelet filter-based weak signature detection method and its application on rolling element bearing prognostics. _J. Sound Vib._ 2006, _289_, 1066–1090. [[CrossRef]](http://dx.doi.org/10.1016/j.jsv.2005.03.007) 35. Jia, F.; Lei, Y.; Lin, J.; Zhou, X.; Lu, N. Deep neural networks: A promising tool for fault characteristic mining and intelligent diagnosis of rotating machinery with massive data. _Mech._ _Syst._ _Signal Process._ 2016, _72_, 303–315. [[CrossRef]](http://dx.doi.org/10.1016/j.ymssp.2015.10.025) 36. Chen, K.; Zhou, X.; Fang, J.; Zheng, P.; Wang, J. Fault Feature Extraction and Diagnosis of Gearbox Based on EEMD and Deep Briefs Network. _Int._ _J. Rotating Mach._ 2017, _2017_, 9602650. [[CrossRef]](http://dx.doi.org/10.1155/2017/9602650) 37. Acoustics and Vibration Database. NASA Bearing Dataset. Available online: [https://ti.arc.nasa.gov/tech/](https://ti.arc.nasa.gov/tech/dash/groups/pcoe/prognostic-data-repository/) [dash/groups/pcoe/prognostic-data-repository/ (accessed on 10 July 2019).](https://ti.arc.nasa.gov/tech/dash/groups/pcoe/prognostic-data-repository/) 38. Williams, T.; Ribadeneira, X.; Billington, S.A.; Kurfess, T.R. Rolling element bearing diagnostics in run-to-failure lifetime testing. _Mech._ _Syst._ _Signal Process._ 2001, _15_, 979–993. [[CrossRef]](http://dx.doi.org/10.1006/mssp.2001.1418) _⃝_ c 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 38문단 · 34,833자

(제목 없음)

1Fault diagnosis is critical to ensuring the safety and reliable operation of rotating machinery systems. Long short-term memory networks (LSTM) have received a great deal of attention in this field. Most of the LSTM-based fault diagnosis methods have too many parameters and calculation, resulting in large memory occupancy and high calculation delay. Thus, this paper proposes a low-delay lightweight recurrent neural network (LLRNN) model for mechanical fault diagnosis, based on a special LSTM cell structure with a forget gate. The input vibration signal is segmented into several shorter sub-signals in order to shorten the length of the time sequence. Then, these sub-signals are sent into the network directly and converted into the final diagnostic results without any manual participation. Compared with some existing methods, our experiments illustrate that the proposed method has less memory space occupancy and lower computational delay while maintaining the same level of accuracy.

Introduction

2Mechanical fault diagnosis-analysing data collected by sensors and predicting the health of mechanical systems-has become a research hotspot in industry [1,2]. The existing methods can be approximately divided into three categories: physics-based "white-box" models, data-driven artificial intelligence (AI) methods ("black-box"), and the combination of above two kinds, referred to as "grey-box" models. The performance of physics-based models is heavily dependent on the quality of domain knowledge about the practical mechanical systems. In reality, mechanical equipment works in complex production environments, and the collected data are seriously disturbed by a variety of noise. The models built in an ideal environment may not work in such a complex environment. A data-driven model can update parameters using real-time data [3]. This flexibility has made them become the focus of fault diagnosis research. Although white-box models are dependent on the quality of domain knowledge, this additional information could reduce the solution space and enhance the performance of black-box models. Some grey-box models have earned relatively good results in fault diagnosis. Zhou et al. [4] used neighbourhood components analysis to reduce the dimensionality of original features, then applied coupled hidden Markov model (CHMM) to bearing fault diagnosis. Jung et al. [5] exploit the multi-scale energy analysis of discrete wavelet transformation to obtain a low-dimensional feature subset of data as the input of a k-nearest neighbours ( k-NN) algorithm for bearing fault classification. Gangsar et al. [6] proposed a method for the fault diagnosis of induction motors by combining the wavelet packet transform (WPT) and support vector machine (SVM).

3The traditional AI methods are also shallow models and always work on the original feature representation without creating new features during the learning process [7]. It is difficult to characterise the inherent non-linear relationship of complex mechanical systems effectively while using them. In order to further improve the diagnostic performance, deep learning has recently been applied to mechanical fault diagnosis [8]. Deep learning can automatically extract advanced features from the original data through hierarchical learning, and achieve end-to-end learning without any manual participation. Compared with the traditional AI methods, the deep learning method has lower dependence on the knowledge of feature design. At present, there are three main methods that are widely used in the field of mechanical fault diagnosis: automatic encoder (AutoEncoder), convolutional neural network (CNN), and recurrent neural network (RNN). The AutoEncoder can learn rich representation features and reduce data dimensionality, and has has received a great deal of attention in this research field. Ahmed et al. [9] proposed an unsupervised feature learning algorithm using stacked AutoEncoders to learn feature representations from compressed measurements. Lu et al. [10] presented a detailed empirical study of stacked denoising AutoEncoders with three hidden layers for fault diagnosis. Junbo et al. [11] used a digital wavelet frame and nonlinear soft threshold method to process vibration signals and used an AutoEncoder on the preprocessed signal to carry out roller bearing fault diagnosis. However, adjusting the model parameters requires a large amount of data and time, and it is difficult to judge whether the learned features are related to the target task.

4CNNs can automatically select the feature of data without any artificial designs, and has been widely applied in fault diagnosis. Wen et al. [12] transformed a raw signal into a square matrix through non-overlapping cutting and normalised the value to 0-255, which was regarded as an image directly using 2D LeNet-5 for the fault prediction of gears and bearings. Liu et al. [13] cut the raw signal into a square matrix by changing the interval distance, which was used directly for fault detection in the 2D-CNN structure training. Sun et al. [14] used multi-scale information extracted by dual tree-complex wavelet transform (DT-CWT) to form a matrix and combined it with a CNN for gear fault diagnosis. Guo et al. [15] used a novel diagnosis method involving a CNN to directly classify a continuous wavelet transform scalogram (CWTS). CNNs can effectively extract local features of data and process high-dimensional data, but most CNN architectures are heavily over-parametrised and computationally complex, taking a lot of time to train the network [16].

5The initial parameter values affect the final performance of a CNN. Besides, CNNs are unable to remember historical data information. When predicting, a CNN must process historical input data repeatedly, bringing unnecessary computational consumption. The RNN is a framework for processing sequence data. It analyses the combination of historical data feature and current input data, then extracts the new feature information and makes decisions. The processing form of RNNs is more suitable for mechanical fault diagnosis. RNNs have the ability to memorise historical information, and only need to process the input data once. Therefore, they can detect the health status of mechanical systems in real time. However, the vanishing gradient problem during the back-propagation of model training hinders the performance of RNNs. This means that traditional RNNs may not capture long-term dependencies. Long short-term memory networks (LSTMs), which can extract long-term dependence features, avoid the gradient disappearance problem cleverly through the gate mechanism and have been successfully applied in various fields, including image captioning [17], speech recognition [18], and natural language processing [19]. Nevertheless, it is also difficult to train LSTMs when the data sequence is too long. LSTM-based methods also have the problem of excessive parameters and computational complexity. The LSTM structure can be further simplified to reduce the calculation time. In order to solve the above problems, this paper proposes a low-delay lightweight recurrent neural network (LLRNN) model for mechanical fault diagnosis, making the following two main contributions: (1) The design of a lightweight network structure based on a special LSTM cell with only a forget gate, reducing the parameters and calculation of the network. (2) It studies the influence of step length (i.e., the length of each sub-segment of a sequence signal, as shown in Figure 1 D x ) and step number (number of sub-segment of a sequence signal as shown in Figure 1 L/D x ) of the sequence data on the performance of the model, including accuracy, noise immunity, and calculation delay, on the basis of the characteristics of the vibration signal. Two bearing data sets, provided by Case Western Reserve University (CWRU)'s Bearing Data Center and the Center for Intelligent Maintenance Systems (IMS), University of Cincinnati, respectively, were used to verify the performance of the proposed algorithm. Compared with the LSTM-based methods and some CNN-based models, in our experiments the proposed algorithm took up less storage space and had shorter calculation delay under the same accuracy and noise immunity, and was more suitable for real-time fault diagnosis. The rest of this paper is arranged as follows. In Section 2, the RNN variants and their applications are reviewed. Then, the LLRNN and its analysis are presented in Section 3. In the following Section 4, the experimental results using two data sets are illustrated. Finally, the conclusion is provided in Section 5.

Application of RNN in Fault Detection

6RNNs are mainly used to process sequence data, because they can store the feature information of historical data in the internal state (i.e., memory). Then, they combine current input data with memory and extract new features, as shown in Figure 2a. RNNs can be trained via backpropagation through time, but the vanishing gradient problem during backpropagation makes it difficult to capture long-term dependencies. The LSTM is an efficient RNN variant structure to solve this problem. It avoids long-term dependence problems through the gate mechanism and has the ability to extract long-term dependent feature information effectively [20]. The LSTM cell structure is shown in Figure 2b, and the calculation process is shown in Equation (1).

7where f t denotes the forget gate, i t the input gate, o t the output gate, and g t the new candidate memory state. h t−1 and h t denote the hidden states of the previous moment and the current moment. x t denotes the input of the current moment. C t−1 and C t denote the memory states of the previous moment and the current moment. W h * and W x * denote the parameters related to h t−1 and x t in the corresponding gate. and b * denotes the bias in the corresponding gate. "·" and " " denote the operations of matrix multiplication and point multiplication, respectively. The gate mechanism of LSTM is redundant, causing excessive parameters and calculations. In order to solve this problem, researchers have proposed several variants [21][22][23][24]. Gated recurrent unit (GRU) [24], the most successful variant, combines the forget gate and the input gate into an update gate and mixes the memory state and the hidden state. The GRU cell structure is shown in Figure 2c and the calculation process is shown in Equation (2):

8where r t denotes the reset gate, controlling the influence level of h t−1 on g t . z t denotes the update gate, controlling the update of the memory state. The GRU can achieve performance comparable to LSTM with one less gate.

9LSTMs have been successfully applied in many fields, and have also received much attention in the field of mechanical fault detection. Zhao et al. [25] combined a CNN with a bi-directional LSTM to propose a novel machine health monitoring system used for tool wearing prediction. Park et al. [26] employed an LSTM model in an edge device for industrial robot manipulator fault detection. Yuan et al. [27] applied an LSTM for aero engine fault diagnosis and remaining useful life (RUL) prediction. Zhang et al. [28] combined LSTM with Monte Carlo simulation for lithium-ion batteries' RUL prediction. Cui et al. [29] combined fast Fourier transform (FFT) and RNN for bearing fault diagnosis. Wang et al. [30] applied LSTM to gear fault diagnosis. Liu et al. [31] proposed a GRU-based method for rolling bearings fault diagnosis by comparing the reconstruction errors generated from multiple-dimension time-sequence data. This paper proposes a lightweight model with low delay based on a special LSTM cell structure for rotating mechanism fault diagnosis.

Introduction of JANET

10Der Westhuizen et al. [32] proposed a new LSTM cell structure with only one forget gate, namely, "just another network" (JANET). Not only does JANET provide computational savings, but also outperforms the standard LSTM on multiple benchmark data sets and competes with some of the best contemporary models. The JANET cell structure is shown in Figure 3, and the calculation process is shown in Equation (3).

11JANET retains the most important forget gate f t in LSTM. Since f t determines which information should be discarded, the information that f t does not suggest to drop should be retained. Therefore, (1 − f t ) is approximately regarded as i t , reducing both the parameters and calculation caused by the input gate. The output gate selects the useful information in the memory state C t and passes it to the hidden state h t . In fact, this task can be handed over to the forget gate of the next moment. Based on this idea, JANET cancels the output gate and merges the hidden state h t and memory state C t , just like the GRU. JANET has a simpler structure and less calculation.

Model Structure

12In this paper, a low-delay lightweight recurrent neural network (LLRNN) model for rotating machinery fault diagnosis is designed based on a JANET cell, and the overall flowchart is shown in Figure 4a. The input vibration signal is segmented into several shorter sub-signals. Then, these sub-signals are sent to the network directly and converted into the final classification results, as shown in Figure 4b. As an end-to-end model, the proposed model can turn the data collected by sensors into the finally desired prediction results without any manual participation, which could be used for real-time monitoring and has two improvements: (1) It is based on a simpler cell structure with fewer parameters, and the proposed model consumes less storage space while maintaining its performance.

13(2) Segmenting the signal before sending it into the network not only reduces the training difficulty of the network, but also improves the noise immunity.

Network Structure

14Using the output of the previous layer as the input of next layer, an RNN can also be stacked to form a deeper structure similar to a CNN, as shown in Figure 5a. The feature extraction ability of the model can be improved and the learned features have more semantic information. However, this operation brings a risk of over-fitting and more calculation. After logically expanding, the actual calculation process of an l-layer RNN is described in Figure 5b. The length of each x t is D x , and T = steps = L/D x . In subsequent experiments, the effects of various parameters on the performance of the model are verified, including accuracy, noise immunity and computational delay.

The Parameters and Calculation of Different Cell Structures

15As shown in Equation (3), the calculation process of each gate is essentially a fully connected layer. Let D h denote the quantity of hidden units in each gate, and D x denote the input data dimension. The parameters and calculation cost are defined as in Equations (4) and (5):

16where Params gate and FLOPs gate (FLOP: floating-point operations) denote the parameters and calculation amount of each gate, respectively. The parameter quantity of the cell is the sum of that of all the gates inside it. LSTM has four gates, GRU has three, and JANET has only two. Their parameters are shown in Equations (6)- (8). JANET has only half the number of parameters that LSTM does, and two-thirds those of GRU:

17Params GRU = 3 · Params gate (7)

18The calculation of the cell in each moment equals to the sum of the that of all the gates, plus the calculation cost of information interaction between the respective gates, which essentially are some point addition and point multiplication operations. LSTM has four multiplication interactions, GRU has five, and JANET has four. The total calculations are shown in Equations (9)-(11):

19where steps denotes the number of sub-segments of a sequence signal, and steps = L/D x , as shown in Figure 1.

Analysis of Step Length

20As shown in Equations (8) and (11), D h and D x affect both the calculation and parameters, and steps affects only the calculation. When the signal length L of the input model is fixed, steps = L/D x and the Equations (12) and (13) can be obtained by substituting it into Equations (8) and (11):

21Equation (12) shows that the total parameters of the model are positively correlated with D x , and the occupancy of parameters and storage space increases with D x . On the contrary, Equation (13) shows that the total calculation of the model is negatively correlated with D x , and the increment of D x will reduce the calculation. In addition to the computation, the waiting time caused by data dependencies also affects the total computing time of the model. The RNN has a serious problem of calculation delay when processing long sequence data. Because the calculation of h t must wait for h t−1 , the parallel computing power of the GPU cannot solve it. When training the network using a vibration signal x = {x 1 , x 2 , ..., x t , ..., x L }, the model takes a long time to process such a long time sequence if every point is used as the input of each moment. It is difficult to train the network. In addition, there is too little effective information that can be extracted, and the extracted features are seriously disturbed by noise if the input vibration signal is single-point. Noise interference not only changes the amplitude information of the signal, but may even change the direction information of the vibration. As a result, the accuracy of the algorithm is reduced.

22In order to solve these problems, we segment the vibration signal of length L into steps-segment sub-signals of length D x , as shown in Figure 1. When D x -point vibration information is used as the input of each moment, the step number of the time sequence will reduce from L to L/D x and the total calculation decreases according to Equation (13).

23Both the fault shock signal and noise signal are superimposed on the normal signal. The operation of each gate in the cell is a vector multiplied by a matrix, which is essentially a weighted summation of each point of input. It plays a certain smoothing effect, the same as a mean operation, as shown in Equation (14):

24where S data denotes the signal of input data, S vibration and S noise denote the signal of vibration part and noise part in S data , and S normal and S f ault denote the signal of the normal part and the fault part in S vibration . Most noise is subject to the zero-mean distribution and E[S noise ] = 0. This means that the larger D x is, the closer ∑ i w(i) · S noise (i) will be very small. It is difficult for a model to extract the feature of faults. Consequently, the D x should be appropriate-not too large or too small. These analyses were verified in the subsequent experiments.

Experiment and Analysis

25Two bearing data sets were used to verify the performance of the proposed algorithm and the previous analyses. The data sets were provided by Case Western Reserve University (CWRU)'s Bearing Data Center [33] and the Center for Intelligent Maintenance Systems (IMS), University of Cincinnati [34]. The hardware resources of the computing device used for the experiment were as follows, CPU: Intel Core i7-8700k, 3.7 GHz, six-core twelve threads; GPU: NVIDIA 1080Ti, 11G ×2; Memory: 32 GB; Storage: 2 TB.

26The software environment was as follows, Ubuntu 16.04 system; TensorFlow 1.10 framework, Python programming language. To validate the previous analyses, 12-kHz drive-end data collected by Case Western Reserve University (CWRU)'s Bearing Data Center were used. Figure 6 shows the test rig used for data collection. The data set contains four different categories, namely, normal bearings, bearings with a faulty ball (ball), bearings with a faulty inner race (inner) and bearings with a faulty outer race (outer). For each type of fault, there are three fault diameters, 0.007 inch, 0.014 inch and 0.021 inch, respectively. Thus, there are 10 classifications in this dataset. Due to the limited experimental data, the overlapping sampling method was used to enhance the data according to references [35,36], as shown in Figure 7. The data set was divided into four subsets, corresponding to four different loads, namely load 0, load 1, load 2, and load 3. As shown in Table 1, every category of data subset under each load contained 800 training samples, 100 test samples, and 100 validation samples, for a total of 8000 training samples, 1000 test samples, and 1000 validation samples. Under normal circumstances, bearing vibration signals are affected by the surrounding ambient noise. The CWRU dataset selected in this study was collected in an environment with a relatively low level of ambient noise and therefore cannot reflect the performance of the fault diagnosis algorithm in an actual environment. In addition, there are a number of noise sources in an actual environment, and it is impossible to obtain training samples under all the conditions in various noise environments. Therefore, noise was added to the samples in the raw test set to simulate data from actual conditions. Using the resultant data for testing could produce results closer to those obtained under actual industrial production conditions. Accordingly, white Gaussian noise from 10 dB to −4 dB was added to the data to simulate actual conditions. Signal-to-noise ratio (SNR) is defined as in Equation (15), and was used when adding noise: SNR = 10 log 10 P signal P noise (15) where P signal and P noise are the intensities of the raw and noise signals, respectively. To examine the noise immunity of the proposed algorithm, the learning model with the highest accuracy for the validation set in 1000 iterations was selected. Noise-containing data were randomly generated 10 times for each sample in the test set of the dataset, and were used for testing and statistically analysing the experimental results, which were represented in the form of the mean.

Experimental Results and Analysis

27To verify the analysis of the impact of step length on performance in Section 3.3.2, the data subset under load 0 was selected for experimentation, with the network structure having 128 hidden units and 1 layer. We repeated the experiment 10 times with each parameter configuration, and calculated the mean value of the results, as shown in Table 2.

28As the D x increased, the validation accuracy and test accuracy slightly increased. When D x exceeded 256, the accuracy began to decrease due to the smoothing effect caused by the lengthening of D x , which made the model less sensitive to the detail change information of the vibration signal. When D x increased from 512 to 1024, the increment of noise immunity was greater than the decrement of feature extraction capability, so the noise immunity ability rebounded. The D x was set to 64 to preserve the noise immunity of the model.

29The number of hidden units determines the ability of the RNN model to extract feature information; too few leads to under-fitting, and too many causes over-fitting. The extracted feature is finally transformed into a vector, which represents the category, through a fully connected layer as shown in Figure 4b. This process also has a smoothing effect and an impact on noise immunity. Table 3, as the number of hidden units increased, the test accuracy first rose and then fell. The reason for this is that the generalisation ability increased with the complexity of the model, then decreased due to over-fitting when the number of cells exceeded 128. Unlike the impact of D x , the decrement of noise immunity was not due to the reduced feature extraction capabilities, but to the over-fitting to noise-free training data. When hidden units increased from 16 to 256, the theoretical calculation increased by 50 times, but the real training time only increased by less than three percent, and the test time nearly doubled. These gaps were caused by the following two reasons: (1) The increment of hidden units only brought the calculation for each moment without increasing the waiting time. (2) The GPU has parallel computing power; 16 units or 256 units were calculated synchronously, and the time consumed was the same as that for calculating only one unit. Only when calculating the sum of all the results of each unit did the calculating time increase slightly.

As shown in

30RNNs can also be stacked like CNNs to build deeper models, as shown in Figure 5b. The number of hidden units in the network was set to 128 for the experiment due to the highest noise immunity performance, and the effects of different layer numbers on the model performance are shown in Table 4. The model had the highest test accuracy and noise immunity at two layers due to the appropriate model complexity. The model with more layers had lower performance caused by over-fitting, and both space occupancy and calculation delay increased without any increment of test accuracy or noise immunity.

31As shown in the above experiments, all the analyses of the impact of network structure and step length on performance were verified. As D x increased, the calculation delay decreased, the accuracy first rose then fell, and the noise immunity increased. As D h increased, the calculation delay on the CPU decreased, and both the accuracy and noise immunity increased then decreased. As the number of layers increased, the calculation delay increased, and both the accuracy and noise immunity increased then decreased. The trend of performance was almost the same as assumed in Section 3. The proposed method had the most satisfactory result for fault diagnosis on the CWRU data set in the condition that D x was equal to 64, D h was equal to 128, and layer was equal to 2.

The Universality of the Proposed Method

32In the previous experiments, the analyses of the impact of network parameters on the performance were verified, and the proposed method had a satisfactory result on the CWRU data set. However, the mechanical system in the CWRU bearing data experiment was relatively simple, and the fault was also caused by human damage, whose vibration characteristics may be different from that of natural wear in an actual production environment. To verify the universality of the model, extra experiments were performed using the IMS data set, which was collected in a more complex mechanical system with natural wear faults. LSTM and GRU were used for experimental comparison to verify whether the simplification of the cell structure would reduce the network performance.

Introduction of the IMS Data Set

33This dataset was provided by the Center for Intelligent Maintenance Systems (IMS), University of Cincinnati, and shared on the website of the Prognostic Data Repository of NASA [37]. The structure of the mechanical system is shown in Figure 8, and the data records the entire wear process of the bearing. The bearings experienced "increase-decrease-increase" degradation trends. This behaviour was due to the "self-healing" nature of the damage [38]. First, the amplitude of vibration increased because of the impact caused by the initial surface defect (e.g., spalling or cracks). Then, the initial defect was smoothed by continuous rolling contact, leading to the decrease of the impact amplitude. Finally, the damage spread over a broader area, and the vibration amplitude increased again. During the self-healing period, the amplitude of the fault bearing was similar to that of the normal bearing, making it difficult to detect the fault during the self-healing period, as shown in Figure 9. At the end of the experiment, the inner race defect, outer race defect, and roller element defect were detected manually [34]. As shown in Figure 9, the red curve indicates the wear process of the outer race defect in bearing 1. The self-healing appeared after the failure on the fifth day, and its amplitude was basically the same as that of the normal bearing (green curve). In order to increase the difficulty of diagnosis, we chose the bearings in the self-healing period as fault data, and the normal bearing with similar amplitude as normal data. Also, a length of 1024 was directly sampled as a sample instead of overlapping sampling due to the relatively sufficient size of the IMS data set. The fault data categories are shown in Table 5.

Experimental Results and Analysis

34In order to verify whether the simplification of the cell structure had too much of a negative impact on performance, a comparison experiment was performed using GRU and LSTM with the same number of hidden units and almost-calculated quantities.

35The comparison results of the CWRU data set are shown in Tables 6 and 7. When the number of hidden units was 128 and the number of layers was 1, neither the test accuracy nor noise immunity of GRU 1 and LSTM 1 were improved much compared with LLRNN. However, the parameter quantity of GRU 1 increased by one-half and that of LSTM 1 increased by one time, the test delay of GRU 1 increased by 50%, and that of LSTM 1 increased by 25%. The GRU 1 had less calculation than the LSTM 1 but the calculation delay of GRU 1 was higher than that of LSTM 1 . This is because the four gates of the LSTM 1 were independent and could be calculated in parallel, while the calculation of g t in GRU 1 must wait for the output of r t , as shown in Figure 2c, resulting in more calculation time than LSTM 1 . Under a structure of one layer with parameter quantity and calculation amount similar to LLRNN, the performances of GRU 2 and LSTM 2 were slightly lower than that of LLRNN, while the delay of LSTM 2 was 13% higher and that of GRU 2 was 30% higher. In the cell structure work flow, the calculation of the LSTM 2 activation function tanh brought calculation and computational delays, resulting in the calculation time of LSTM 2 being longer than that of LLRNN. Under the structure of two layers with the parameter quantity and calculation amount similar to LLRNN, the performances of GRU 3 and LSTM 3 were improved compared with GRU 2 and LSTM 2 . Although the performance was similar to that of LLRNN, the delay of LSTM 3 increased by 24% and that of GRU 3 increased by 37%. As shown in Table 6, CNN-based models [12][13][14][15] gained competitive performance in no-noise test data, but they took up more storage and consumed more computing time due mainly to the over-complexity of the network structure. Although reference [14] had similar parameters to LLRNN, its theoretical calculation was six times greater and its real computing time was approximately ten times greater compared with the proposed method. Besides, the accuracies of CNN models fell rapidly in the noisy environment while the accuracy of LLRNN still exceeded 90%, as shown in Table 7. The model structure and training method of SVM both differ from those for neural networks, so it is meaningless to discuss the training time of reference [6]. Not only were the test accuracies and noise immunities of SVM much lower than those of LLRNN, but also the test time of the former was dozens of times greater than that of the latter. The primary reason is that the multi-category task of SVM is broken down into several binary tasks, which results in extra computation.

36The experimental results of the IMS data set are shown in Table 8. The self-repair of the mechanical system made the data characteristics of the faulty bearing similar to those of the normal bearing. Although the test accuracy gained satisfactory results, the complexity of the system made the data more difficult to distinguish in high-noise environments. The test accuracy in the simulation environment of 0 dB was lower than that of the CWRU data set at least 6%. Like the experimental results of the CWRU dataset, the performance of LLRNN was not worse than any structure using LSTM or GRU. In contrast to the experimental results of the CWRU data, two CNN models gained competitive noise immunity. However, their computing time was still much higher than that of proposed method. The other two still could not work in a noisy environment-especially reference [14], whose prediction accuracy was similar to random guess in a severely noisy environment, at around 25%. The SVM model also behaved poorly; its performance was similar to that in the CWRU data set. However, its test time was much lower than that in the CWRU data set. Because there are four categories of IMS data and the quantity of decomposed binary tasks is only four-tenths that of CWRU, it had much less calculation. According to the results of the above experiments, the ingenious simplification of the JANET cell did not cause serious performance degradation. The calculation delay of LLRNN was at least 10% lower than any network structure using LSTM or GRU while maintaining a satisfactory performance. Compared with some CNN and SVM models, the proposed method not only gained higher prediction accuracy and noise immunity, but also spent the least amount of computing time.

Conclusions

37In this paper, a low-delay lightweight recurrent neural network (LLRNN) model is proposed for mechanical fault diagnosis, which is an end-to-end processing model. From input data to output diagnostics, the process executes automatically without any manual involvement. Thus, the diagnostic quality is not dependent on expert experience. According to the work flow of the JANET cell structure, this paper analysed the influence of several factors (e.g., D x , steps, D h , and layers) on the performance of the model, including accuracy, noise immunity, and calculation delay. The relationship between these factors and performance was verified in the experiment. The proposed method obtained the highest accuracy and noise immunity performance when layer = 2, D x = 64, and D h = 128. This could give some guidance to model design in related fields. The experimental results of the two data sets CWRU and IMS prove that the simplified structure of LLRNN could achieve performance comparable to any network model using LSTM or GRU, and the computational delay decreased by at least 10%, which is more suitable for real-time fault detection systems.

38The proposed method still requires some improvements due to the data dependencies of the RNN work flow. As shown in Figure 5b and Equation (3), the calculation of h t must wait for h t−1 . Let t gate denote the time consumed in calculating each gate. Although the GPU has parallel computing power, it could only calculate each gate synchronously with the limitation of data dependencies. Ignoring the consumption of communication between each gate, the time consumed each moment could approximate t gate . When dealing with time series data with length of steps, the GPU must wait steps times caused by the data dependencies, so the time of calculating each data sample is t gate × steps. If the dependence between h t and h t−1 could be eliminated, the calculation of each moment could be performed independently and the GPU could fully utilise its parallel computing power without any waiting. The calculation of steps moments could be dealt with at the same time. Consequently, the time of calculating each data sample could be further reduced to approximately t gate . Now that the CPU of the edge device is basically multi-core and has certain parallel computing capabilities, it means that the test time could decrease as well.

참고문헌 37건

  1. Bearing fault recognition method based on neighbourhood component analysis and coupled hidden Markov model Mechanical Systems and Signal Processing · Elsevier BV · 2015 10.1016/j.ymssp.2015.04.037
  2. Fault diagnosis method study in roller bearing based on wavelet transform and stacked auto-encoder 2022 34th Chinese Control and Decision Conference (CCDC) · 2015 10.1109/ccdc.2015.7162738
  3. A Survey on Wind Turbine Condition Monitoring and Fault Diagnosis—Part I: Components and Subsystems IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tie.2015.2422112
  4. Data-Based Techniques Focused on Modern Industry: An Overview IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tie.2014.2308133
  5. Wavelet filter-based weak signature detection method and its application on rolling element bearing prognostics Journal of Sound and Vibration · Elsevier BV · 2005 10.1016/j.jsv.2005.03.007
  6. Wavelet energy-based visualization and classification of high-dimensional signal for bearing fault detection Knowledge and Information Systems · Springer Science+Business Media · 2014 10.1007/s10115-014-0761-z
  7. ROLLING ELEMENT BEARING DIAGNOSTICS IN RUN-TO-FAILURE LIFETIME TESTING Mechanical Systems and Signal Processing · Elsevier BV · 2001 10.1006/mssp.2001.1418
  8. Long Short-Term Memory Neural Computation · The MIT Press · 1997 10.1162/neco.1997.9.8.1735
  9. Deep Sentence Embedding Using Long Short-Term Memory Networks: Analysis and Application to Information Retrieval IEEE/ACM Transactions on Audio Speech and Language Processing · Institute of Electrical and Electronics Engineers · 2016 10.1109/taslp.2016.2520371
  10. Deep neural networks: A promising tool for fault characteristic mining and intelligent diagnosis of rotating machinery with massive data Mechanical Systems and Signal Processing · Elsevier BV · 2015 10.1016/j.ymssp.2015.10.025
  11. Architectural Complexity Measures of Recurrent Neural Networks arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1602.08210
  12. Fault diagnosis of rotary machinery components using a stacked denoising autoencoder-based health state identification Signal Processing · Elsevier BV · 2016 10.1016/j.sigpro.2016.07.028
  13. Fault diagnosis and remaining useful life estimation of aero engine using LSTM neural network 2016 10.1109/aus.2016.7748035
  14. Learning to Monitor Machine Health with Convolutional Bi-Directional LSTM Networks Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17020273
  15. Automatic Hot Test of Gyrotron-Traveling Wave Tubes by Adaptive PID Feedback Control IEEE Transactions on Electron Devices · Institute of Electrical and Electronics Engineers · 2017 10.1109/ted.2017.2654460
  16. Fault Feature Extraction and Diagnosis of Gearbox Based on EEMD and Deep Briefs Network International Journal of Rotating Machinery · Hindawi Publishing Corporation · 2017 10.1155/2017/9602650
  17. Intelligent condition monitoring method for bearing faults from highly compressed measurements using sparse over-complete features Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.06.027
  18. An Intelligent Gear Fault Diagnosis Methodology Using a Complex Wavelet Enhanced Convolutional Neural Network Materials · Multidisciplinary Digital Publishing Institute · 2017 10.3390/ma10070790
  19. Rolling bearing fault prognosis using recurrent neural network 2022 34th Chinese Control and Decision Conference (CCDC) · 2017 10.1109/ccdc.2017.7978700
  20. Video Captioning With Attention-Based LSTM and Semantic Consistency IEEE Transactions on Multimedia · Institute of Electrical and Electronics Engineers · 2017 10.1109/tmm.2017.2729019
  21. Learning Simpler Language Models with the Differential State Framework Neural Computation · The MIT Press · 2017 10.1162/neco_a_01017
  22. A New Convolutional Neural Network-Based Data-Driven Fault Diagnosis Method IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2774777
  23. Multifault Diagnosis of Induction Motor at Intermediate Operating Conditions Using Wavelet Packet Transform and Support Vector Machine Journal of Dynamic Systems Measurement and Control · ASM International · 2018 10.1115/1.4039204
  24. Long Short-Term Memory Recurrent Neural Network for Remaining Useful Life Prediction of Lithium-Ion Batteries IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2018 10.1109/tvt.2018.2805189
  25. Artificial intelligence for fault diagnosis of rotating machinery: A review Mechanical Systems and Signal Processing · Elsevier BV · 2018 10.1016/j.ymssp.2018.02.016
  26. A review on the application of deep learning in system health management Mechanical Systems and Signal Processing · Elsevier BV · 2018 10.1016/j.ymssp.2017.11.024
  27. The unreasonable effectiveness of the forget gate arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1804.04849
  28. Fault diagnosis of rolling bearings with recurrent neural network-based autoencoders ISA Transactions · Elsevier BV · 2018 10.1016/j.isatra.2018.04.005
  29. A Novel Fault Diagnosis Method for Rotating Machinery Based on a Convolutional Neural Network Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18051429
  30. LiReD: A Light-Weight Real-Time Fault Detection System for Edge Computing Using LSTM Recurrent Neural Networks Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18072110
  31. Application Research On Long Short-Term Memory Network In Fault Diagnosis 2018 10.1109/icmlc.2018.8527031
  32. A Speech Recognition Acoustic Model Based on LSTM -CTC 2018 10.1109/icct.2018.8599961
  33. Predicting Parameters in Deep Learning arXiv (Cornell University) · Cornell University · 2013 10.48550/arxiv.1306.0543
  34. Gated Feedback Recurrent Neural Networks arXiv (Cornell University) · Cornell University · 2015
  35. Unitary Evolution Recurrent Neural Networks arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1511.06464
  36. Deep Sentence Embedding Using Long Short-Term Memory Networks: Analysis and Application to Information Retrieval IEEE/ACM Transactions on Audio Speech and Language Processing · Institute of Electrical and Electronics Engineers · 2016 10.1109/taslp.2016.2520371
  37. Deep forest National Science Review · Oxford University Press · 2018 10.1093/nsr/nwy108