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

A new intelligent bearing fault diagnosis model based on triplet network and SVM

관련 모빌리티 소재 · (4) 카시트 모듈

기본 정보

저자
  1. Kaisi Yang — School of Computer Science and Engineering, Tianjin University of Technology, Tianjin, 300384, China
  2. Lianyu Zhao — School of Computer Science and Engineering, Tianjin University of Technology, Tianjin, 300384, China
  3. Chenglin Wang — Tianjin Key Laboratory of Advanced Mechatronic System Design and Intelligent Control, School of Mechanical Engineering, Tianjin University of Technology, Tianjin, 300384, China. 163109306@stud.tjut.edu.cn|||Tianjin Key Laboratory of Advanced Mechatronic System Design and Intelligent Control, School of Mechanical Engineering, Tianjin University of Technology, Tianjin, 300384, China
DOI
10.1038/s41598-022-08956-w
저널
Scientific Reports
발행년도
2022
발행기관
Nature Portfolio
피인용수
31
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-022-08956-w
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4220795705

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Separating sensitive characteristic signals from original vibration data is an important challenge for rolling bearing fault diagnosis. Because it is difficult to obtain large number of damaged bearings, Rolling bearing fault datasets are often small sample datasets. For the classification of small sample rolling bearing fault datasets, we propose a coupling vibration data classification method based on triplet embedding. The method is divided into two steps: feature extraction and fault identification. First, build a triple embedding based on the CNN model to reduce the original vibration signal, and then train the SVM model for classification. Compared with traditional features and autoencoder, triplet network can learn the differences between samples. Make classification training easier and more accurate. We have evaluated the performance of this method through two bearing experiment examples. The experimental results show that this method is superior to stacked autoencoder, stacked denoising autoencoder and CNN.

본문 46,514자

본문 펼치기
## OPEN # A new intelligent bearing fault diagnosis model based on triplet network and SVM Kaisi Yang <sup>1</sup> , Lianyu Zhao <sup>1</sup> & Chenglin Wang <sup>2</sup> <sup>*</sup> Separating sensitive characteristic signals from original vibration data is an important challenge for rolling bearing fault diagnosis. Because it is difficult to obtain large number of damaged bearings, Rolling bearing fault datasets are often small sample datasets. For the classification of small sample rolling bearing fault datasets, we propose a coupling vibration data classification method based on triplet embedding. The method is divided into two steps: feature extraction and fault identification. First, build a triple embedding based on the CNN model to reduce the original vibration signal, and then train the SVM model for classification. Compared with traditional features and autoencoder, triplet network can learn the differences between samples. Make classification training easier and more accurate. We have evaluated the performance of this method through two bearing experiment examples. The experimental results show that this method is superior to stacked autoencoder, stacked denoising autoencoder and CNN. Research status of bearing fault diagnosis. Bearing is a typical component of rotating machinery. The quality of bearing directly determines the performance of rotating machinery. Accurate and timely fault detection is the key technology to ensure the reliability and safety of bearings. Due to the wide application of bearing in various industries, the maintenance cost of bearing fault is high, the consequences of bearing fault are serious. So the fault diagnosis of bearing and condition monitoring are very active research fields, which is very helpful for the early warning and fault location of rotating machinery. At present, on-line diagnosis and prediction of machine condition are used for fault early warning and maintenance. With the progress of sensor technology and signal processing technology, we can obtain higher precision vibration signal, acoustic signal, current signal, voltage signal, temperature signal and so on. In recent years, the research of bearing fault diagnosis is gradually increasing, and the research based on Shaw learning is in-depth <sup>1–8</sup> . In order to solve over decomposition and the problem of information loss, Li et al. <sup>9</sup> have proposed Independenceoriented VMD to identify wheelset bearing faults orderly. For early fault prediction of bearings, Li et al. <sup>10</sup> have proposed adaptive multi-scale morphological analysis and bandwidth empirical mode decomposition. Zhang et al. <sup>11</sup> have proposed A bearing fault diagnosis method using variational mode decomposition. Through the analysis of the failure mechanism, they established the fault signal calculation model of the defects in different positions of the rolling bearing. In order to realize the adaptive separation of Fourier spectrum, Zheng et al. <sup>12</sup> have proposed the adaptive parameterless EWT method. Wu et al. <sup>13</sup> have used the fully integrated empirical mode decomposition of adaptive noise and the Hilbert-Huang transform method to extract multiple degraded features in the degraded feature extraction stage. They selected monotonous, robust, and fault-related degradation characteristics, and merged them with the Mahalanobis distance health index as the main component. Yan et al. <sup>14</sup> have proposed a fault classification algorithm based on SVM optimized by multiple features. The fault feature information is extracted from time domain by VMD, FFT and statistical analysis, frequency domain and time-frequency domain respectively. There are also a lot of researches on bearing fault diagnosis models based on deep ­learning <sup>15–23</sup> . Xia et al. <sup>24</sup> have proposed a multi-sensor-based CNN model, and classification accuracy of the model on the Case Western Reserve University bearing dataset reached 99.41%. Liu et al. <sup>25</sup> have proposed a dislocated time series CNN model, which uses the dislocated time series of the original signal to train CNN. Jiang et al. <sup>26</sup> have proposed a multi-scale CNN, and the classification accuracy on the Case Western Reserve bearing dataset reached 98.53%. Zhang et al. <sup>27</sup> have proposed a long short memory recurrent neural network model to evaluate the bearing 1School of Computer Science and Engineering, Tianjin University of Technology, Tianjin 300384, China. 2Tianjin Key Laboratory of Advanced Mechatronic System Design and Intelligent Control, School of Mechanical Engineering, Tianjin University of Technology, Tianjin 300384, China. <sup>*</sup> email: 163109306@stud.tjut.edu.cn performance degradation. Zhao et al. <sup>28</sup> have developed a variant of the deep residual network model, which uses dynamic weighted wavelet coefficients to optimize the deep residual network to improve the diagnostic performance. The input of the network is a series of wavelet packet coefficient sets in different frequency bands. Wang et al. <sup>29</sup> have proposed a method to transform the vibration information of multiple sensors into image information. This method can integrate the information and obtain more abundant features than single sensor vibration signal. Yan et al. has done a lot of research in this field, The models they studied including a novel architecture named multiscale cascading deep belief network(MCDBN) for identify the fault location of the rotating machinery; a novel approach called multi-domain indicator-based optimized stacked denoising autoencoder for automatic fault identification of rolling bearing and a novel hybrid deep learning model for multistep forecasting of diurnal wind ­speed <sup>30–32</sup> . There are also a lot of researches on transfer learning and small sample model ­prediction <sup>33–37</sup> . Problems of existing models. 1. Traditional feature extraction methods, such as empirical mode decomposition, wavelet transform, fast Fourier transform, etc. need a lot of expert experience. Because of the sensor noise, interference, shafting misalignment, etc. the initial fault is easy to be covered by clutter, difficult to show in the time-frequency spectrum. This makes it difficult to find the initial bearing fault; 2. The end-to-end network has strong nonlinear fitting capabilities, but requires a large amount of sample data. Different from the image classification task, the test conditions of the industrial bearing dataset are harsh. It requires high-precision vibration sensors, servo motors, a set of high-precision shafting, and a stable data acquisition and control system. And it is difficult to obtain a large number of samples of damaged bearings. The public datasets are generally small sample datasets. However, the advantages of end-to-end networks on small sample datasets are not obvious, and it is difficult to learn the distribution of samples; 3. Widely used autoencoder networks(AE) such as stacked autoencoders(SAE), stacked denoising autoencoders(SDAE), etc. can map data to lower dimensions. Then use traditional classification algorithms, such as SVM, random forest, etc. to classify, and you can get better results on small sample datasets. But the prime objective of the autoencoder is to encode data into low-dimensional expression, and then restore the low-dimensional expression to the original signal as much as possible. Only pay attention to whether the restored signal is slightly different from the original signal, and some important information used for classification may be discarded as noise, which makes the classification results of algorithms such as SVM and random forest inaccurate; Fault diagnosis using the triplet network and SVM This paper mainly studies the problem of bearing fault diagnosis. These damaged parts include the inner ring of the bearing, the balls, and the outer ring of the bearing. Use the vibration sensor to collect the vibration of the shaft system and analyze the vibration signal changes caused by the damage of different parts of the bearing. Because the bearing will produce a certain amount of vibration during high-speed rotation due to shaft deflection, machining error, etc., it is difficult to identify early fault signals. Moreover, because the bearing failure dataset is generally a small sample dataset, it is difficult to obtain lots of bearing data of different parts of the failure. This further challenges the possibility of using a single feature in bearing fault classification. Basic SAE and SDAE. AE is a kind of artificial neural network. AE updates network weights through unsupervised learning to learn the mapping of input data to feature space. AE consists of an encoder and a decoder. The encoder _f_ maps the input data to a low dimensional space through function h = f (x) . To obtain a low dimensional representation _h_ of the original data. The decoder _g_ maps _h_ back to the input space through the function xˆ = g(h) to obtain the reconstructed data xˆ of _x_ . Generally, the loss function of a network can be defined as: L = <sup><u>1</u></sup> �xi − Net(xi)� (1) n n n �i=1 �xi − Net(xi)� The loss function calculates the Euclidean distance between _x_ and xˆ to reduce the reconstruction error and obtain the reconstructed data closer to the original data. The output _h_ of the encoder can be used as a low dimensional representation of the input data. The encoder and decoder of SAE are composed of multiple AE nested to form a structure with multiple hidden layers. Compared with AE, SAE can better learn the deep features of the original data.The structure of SAE is shown in Fig. 1. The basic idea of DAE is to reconstruct the original input from a damaged input to obtain a robust representation of the original input. This can prevent AE from learning only the mapping between input and construction output, and capture more informative hidden patterns. In general, the input _x_ is added to the noise σ to get the damage signal x˜ form _x_, and then x˜ is input to the DAE to get the reconstructed data of xˆ, Formula 2 calculates the loss function: L = <sup><u>1</u></sup> �xi − Net(xi + σi)� (2) n n n �i=1 �xi − Net(xi + σi)� The network structure of DAE is shown in the Fig. 2. Figure 1. Hierarchical framework of SAE. Figure 2. Hierarchical framework of DAE. SDAE stacks the DAEs into a deep network to obtain deep features of input data. The SDAE model destroys the original data _x_ into x˜ by adding Gaussian noise σ, and then trains the SDAE model to get a better reconstructed signal. 1DCNN based on triplet loss. We believe that in a small sample of bearing fault dataset, in order to extract the deep information in the waveform, the CNN model needs to have sufficient depth. The performance of endto-end learning in small sample datasets is not stable enough, and it is difficult to learn a better distribution law. In order to better classify bearing faults, this paper proposes a SVM fault classification method using trplet network as data preprocessing. The triplet network converts the problem of the mapping relationship between learning data to classification into a problem of different relationships between learning data. This method has a good performance in small sample data. The established one-dimensional CNN model has 8 hidden layers, and the model structure is shown in Fig. 3. Establish a triplet network based on the 1DCNN model. In order to train triplet network, the data is classified according to labels: Figure 3. Hierarchical framework of 1DCNN. Figure 4. Easy triplets. - _a_ : anchor, any sample in the training set - _p_ : positive, a sample of the same category as _a_ - _n_ : negative, a sample different from _a_ The triplet network output layer generally has fewer dimensions, which is equivalent to the high-order feature representation of the original signal. Input the same batch of data into the model, and calculate the triplet loss based on the sample label. the goal of triplet loss is to reduce The distance between _a_ and _p_, and increases the distance between _a_ and _n_ in the embedding space. We need to introduce _margin_ to make the distance between samples of different categories larger than _margin_, which can make the network encode samples of different categories farther. the loss of a triplet ( _a_, _p_, _n_ ) is: loss = max - (3) In the formula, distance between _a_ sample and _n_ sample. The goal of the algorithm is to reduce the value of ��a − p�� is the Euclidean distance between _a_ sample and _p_ sample, and �a − n� is the Euclidean possible to make the distance between _a_ and _p_ closer, and increase the value of �a − n� as much as possible to ��a − p�� as much as In the formula, ���a − p�� −�a − n�+ margin, 0� distance between _a_ sample and _n_ sample. The goal of the algorithm is to reduce the value of ��a − p�� is the Euclidean distance between _a_ sample and _p_ sample, and �a − n� is the Euclidean possible to make the distance between _a_ and _p_ closer, and increase the value of �a − n� as much as possible to ��a − p�� as much as make the distance between _a_ and _n_ longer. Make the value of �a − n�− make the distance between _a_ and _n_ longer. Make the value of �a − n�− goal of the algorithm. By calculating max, we can control the aggregation ��a − p�� small enough to achieve the degree of positive samples and the dispersion degree of negative samples in the feature space, so that the distance ���a − p�� −�a − n�+ m arg in, 0� goal of the algorithm. By calculating max, we can control the aggregation ��a − p�� small enough to achieve the degree of positive samples and the dispersion degree of negative samples in the feature space, so that the distance ���a − p�� −�a − n�+ m arg in, 0� between positive samples and negative samples is greater than the margin value as much as possible. There are three situations when calculating triplet loss: 1. easy triplets: loss = 0, tance between _a_ and _p_ is very close, and the distance between _a_ and _n_ is far and greater than the sum of the ��a − p�� + margin < �a − n� . This situation does not need to be optimized. The disdistance between _a_ and _p_ and the margin, as shown in the Fig. 4. 2. hard triplets: �a − n� < greater loss. As shown in Fig. 5. ��a − p��, The distance between _a_ and _p_ is long, and this situation will produce a 3. semi-hard triplets: distance between _a_ and _n_ is long, but the distance between _a_ and _n_ is less than the distance between _a_ and _p_ ��a − p�� < �a − n� < ��a − p�� + margin, The distance between _a_ and _p_ is short, and the plus _margin_ . This situation will produce less loss. As shown in Fig. 6. Figure 5. Hard triplets. Figure 6. Semi-hard triplets. Input all the training set data into the network to calculate the corresponding 64-dimensional embedding. Take one of the samples _a_ . There are a total of _m_ samples with the same label as sample _a_, forming set P = {p1, p2, p3 · · · pm}, There are a total of _n_ samples with labels different from sample _a_, forming set N = {n1, n2, n3 · · · nn} . Calculate the distance Dp between _a_ and all positive samples: ���a − _a_ and all negative samples to form set p1��, ��a − p2��, ��a − p3��, . . ., ��a − Dpkn��:, . . ., ��a − pm��� Dp = (4) Calculate the distance between _a_ and all negative samples to form set Dn: Dn = {�a − n1�, �a − n2�, �a − n3�, · · ·, �a − ns�, · · ·, �a − nn�} (5) Take one element in set Dp and set Dn respectively, and combine them with _a_ to form a triplet. All possible combinations form set _T_ : T = - d|d = max �� (6) - d|d = max ���p and a −Dpkn��, the total number of samples is −�a − ns�+ margin, 0�� There are m × n combinations of elements in Dp and Dn, the total number of samples is m + n + 1, and the value of _a_ has m + n + 1 possibilities, so the size of the set _T_ is m × n × (m + n + 1) . Select semi-hard triplets in set _T_, get set Ts = {d1, d2, d3 · · · da}, and calculate triplet loss: loss = <sup><u>1</u></sup> di (7) a a a �i=1 di Figure 7 shows the training process of triplet network and SVM. Figure 8 is block diagram of the proposed method. Firstly, input the labeled vibration data into the model. Then, initialize the triplet network model parameters, and input the collected bearing data set into triplrt network for training. The loss function of the model is defined as triplet loss, and the output of the model is a 64 dimensional vector. The trained model maps the samples to the high-dimensional feature space, and the distance between similar samples is small, and the distance between different samples is large. Finally, using high-dimensional features for SVM classification, we can judge whether the bearing fault and the fault location. Different from AE, Triplet loss calculates the difference between the same sample and different samples, and backpropagates to update weights of the network so that the distance between the same samples is closer and the distance between different samples is longer. Validation of proposed method Data Castle bearings dataset. _Dataset introduction._ This paper uses the bearing data set provided by Data Castle to verify the ­method <sup>38</sup> . Data Castle collected the vibration information of normal and faulty bearings. There are three types of bearing faults, including inner race, outer race and ball. The bearings include three different diameters, so there are nine different bearing fault labels. The dataset we used is shown in Table 1. Figure 7. Training flow of triplet network and SVM. Figure 8. Block diagram of the proposed model. In order to verify the robustness of the algorithm, we add white noise with mean value of 0 and standard deviation of 0.2 to the original data, and use the data after adding noise for model training to test whether the model can accurately judge the samples with insignificant features. The data after adding noise is shown in the Fig. 9. After adding noise, the characteristics of data have become less obvious, and the similarity of similar characteristics decreases after adding random noise, which requires the model to have good robustness to deal with these changes. _Experiment._ Experimental steps: 1. Process the vibration data of the bearing and add appropriate labels to the vibration data. 2. Add white noise to the vibration data to make the data characteristics less obvious. <u>Diameter</u> <u>Fault location</u> <u>Samples</u> <u>Label</u> <u>Normal</u> <u>177</u> <u>0</u> <u>Diameter1</u> <u>Outer race</u> <u>141</u> <u>1</u> <u>Inner race</u> <u>140</u> <u>2</u> <u>Ball</u> <u>52</u> <u>3</u> <u>Diameter2</u> <u>Outer race</u> <u>51</u> <u>4</u> <u>Inner race</u> <u>50</u> <u>5</u> <u>Ball</u> <u>47</u> <u>6</u> <u>Diameter3</u> <u>Outer race</u> <u>46</u> <u>7</u> <u>Inner race</u> <u>45</u> <u>8</u> <u>Ball</u> <u>43</u> <u>9</u> Table 1. Data Castle bearings dataset. Figure 9. Fault bearing vibration data waveform. 3. Divided the collected raw vibration data into training dataset and test dataset, and trained the network. 4. Inputed all training samples into the model, calculated the high-order features of all training samples, and used the high-order features to train the SVM classifier. 5. Test samples are input into the model to train high-order features, and inputed the high-order features into the trained SVM classifier for classification to verify the effectiveness of the proposed method. In order to verified feasibility and superiority of the method, standard SAE, SDAE, and CNN were used for comparison. All the following experiments were performed in python code. - The key parameters of SAE: Encoder contains a 6-layer neural network, including three convolutional layers and three down-sampling layers. To map the original vibration data into a 64-dimensional space vector, <u>Method</u> <u>Dimension of input data</u> <u>Diagnosis result</u> <u>SAE+SVM</u> <u>6000</u> <u>86.50%</u> <u>SDAE+SVM</u> <u>6000</u> <u>84.66%</u> <u>CNN</u> <u>6000</u> <u>89.01%</u> <u>Triplet network+SVM</u> <u>6000</u> <u>96.31%</u> Table 2. Test accuracy of each model. decoder contains 3 deconvolution layers to restore the 64-dimensional space vector to vibration data. We use Gaussian kernel function, the penalty coefficient is 1, and the Gamma value is 1/64. The 64-dimensional space vector output by the Encoder is input to the SVM classifier for classification. - The key parameter of SDAE: Gaussian noise is added to the original data. The mean value of the added Gaussian noise is 0, and the standard deviation is 0.05. Other parameters of SDAE are the same as SAE. - The key parameters of the CNN model: The end-to-end CNN model has 6 hidden layers, the first layer is One-dimensional convolutional layer which has 32 convolution kernels, the second layer is down-sampling layer, the third layer is One-dimensional convolutional layer which has 64 convolution kernels. The fourth layer is down-sampling layer. The fifth layer is One-dimensional convolutional layer which has 128 convolution kernels. The sixth layer is global average pooling layer. The seventh layer is fully connected layer with 64 neurons. The output layer activation function is softmax. Optimizer is RMSprop. Learning efficiency is set to 0.0003, and the loss function uses sparse categorical crossentropy. - The first layer of the Triplet network is convolutional layer with 32 convolution kernels. The second layer is downsampling layer. The third layer is convolutional layer with 64 convolution kernels. The fourth layer is downsampling layer. The fifth layer is convolutional layer with 128 convolution kernels. The sixth layer is global average pooling layer. The seventh layer is fully connected layer with 64 neurons. The eighth layer is L2 regular layer. Margin value is 1. Optimizer is RMSprop. The learning rate is 0.0003. The trained triplet network is equipped with feature mapping capabilities. SVM classifier are used for classification in the feature space. The kernel function of SVM is set to linear kernel, the penalty coefficient is 10. Table 2 lists the average test accuracy of each model. Through analysis of the training results, it is found that the classification accuracy of triplet network+SVM reaches 96.31%, and the classification accuracy is much higher than SAE+SVM and DAE+SVM. Due to the lack of inter-sample reference, the traditional encoder network only pays attention to the difference between the decoded signal and the original signal, and may discard some subtle features. These features may have high weights when doing classification. The end-to-end CNN network is not as good as triplet network+SVM due to the small sample size. As shown in Fig. 10, it can be seen from the confusion matrix that the signals misclassified by SAE+SVM and DAE+SVM are similar to their correct classification, which means that the signal compressed by the autoencoder loses some information for classification. This causes the accuracy of the SVM classifier to decrease. the classification error of end-to-end CNN model reaches 89.01%. However, due to the insufficient sample size, it is difficult to further improve the predictive ability of the model. Training triplet network on a small sample dataset, the network learned how to distinguish samples with different labels. This makes the distance between samples of the same type smaller in the feature space, and samples of different types become larger in the feature space. In order to compare the feature extraction capabilities of the methods, PCA dimensionality reduction was performed on the output of the three models. Select the first two principal components to visualize the features. It can be seen from Fig. 11 that the different types of data that have been reduced by the Triplet network are far apart in the feature space, and the network has learned the differences between the data. However, the highdimensional features learned by SAE and DAE cannot find the difference between different types of data well. The Calinski-Harabaz Index(CH) is used to evaluate classification of feature spaces. The tightness within the class is measured by calculating the sum of the squares of the distance between each point in the class and the class center. The degree of separation of the dataset is measured by calculating the sum of squared distances from various center points. The function is: CH(k) = <sup><u>BGSS</u></sup> (8) - <u>WGSS</u> K - 1 - <u>WGSSn −</u> K _n_ represents the number of samples in dataset, _K_ represents the number of categories. The values of _WGSS_ and _BGSS_ are obtained by formula 9 and 10: WGSS = <sup><u>1</u></sup> (n1 − 1)d21 <sup>+ · · · + (nk</sup> <sup>−</sup> <sup>1)d</sup> 2k (9) - 2 (n1 − 1)d 2 2 1 <sup>+ · · · + (nk</sup> <sup>−</sup> <sup>1)d</sup> k BGSS = <sup><u>1</u></sup> �(K - 1)d ~~2~~ + (n − K)AK - (10) ~~2~~ + (n − K)AK 2 (K - 1)d Figure 10. Multi-class confusion matrix of the proposed method: ( a ) SAE+SVM; ( b ) SDAE+SVM; ( c ) CNN; ( d ) Triplet network+SVM. Figure 11. PCA dimension reduction feature visualization: ( a ) SAE; ( b ) SDAE; ( c ) Triplet network. K �i AK = <u>1</u> (ni − 1)(d2 − d ~~2~~ i <sup>)</sup> (11) n − K (ni − 1)(d 2 − d ~~2~~ i <sup>)</sup> i ~~2~~ dj <sup>represents the average distance between samples of type</sup> <sup>_j_</sup> <sup>, j = 1, 2, · · ·</sup> <sup>, k .</sup> <sup>d</sup> ~~2~~ is the average distance between all samples. d ~~2~~ j <sup>represents the average distance between samples of type</sup> <sup>_j_</sup> <sup>, j = 1, 2, · · ·</sup> <sup>, k .</sup> <sup>d</sup> <u>Method</u> <u>CH Index</u> <u>SAE</u> <u>36.42</u> <u>SDAE</u> <u>73.74</u> <u>Triplet network</u> <u>1015.91</u> Table 3. CH index of each algorithm. Figure 12. Testbed of rolling element bearings. The larger the CH index value, the smaller the intra cluster distance, the larger the intra cluster distance, the higher the degree of intra-class aggregation, the higher the degree of distinction between classes, and the easier it is to classify. The smaller the CH index value, the larger the distance within the class, and the smaller the distance between the classes, which makes it difficult to classify. The CH index values of SAE, SDAE, and triplet network are shown in Table 3. XJTU‑SY bearing dataset. _Introduce._ The bearing testbed consists of supporting shaft, motor governor, AC induction motor, hydraulic loading system and two supporting bearings. The testbed is designed for accelerated degradation test of bearings under different working condition. The radial force is exerted on the shell of the tested bearing by the hydraulic loading system, and the speed controller of AC induction motor sets and maintains the speed of the whole shaft ­system <sup>39</sup> . As shown in Fig. 12. The acceleration sensor used in the experiment is PCB 352c33. The sensor is installed on the magnetic base, which is fixed on the vertical and horizontal direction of the test bearing. The dynamic signal collector uses DT 9837. the sampling frequency of the original data is 25.6 khz, the sampling interval of the original data is 1 min, and the sampling time of the original data is 1.28 s. Table 4 shows the detailed information of each tested bearing, including its corresponding operating conditions, bearing lifetime and failure location. Figure 13 shows the failure bearings. It can be observed that the bearing failure is mainly caused by outer race wear, inner race wear, outer race fracture and cage fracture. More than two types of composite damage may occur to the bearing. Compound damage has multiple waveform characteristics of damage locations, which increases the difficulty of classification. The method adopted in this paper is to assign separate labels for compound damage. _Experiment._ XJTU-SY Bearing Dataset contains the full lifecycle vibration signals of 15 bearings. In order to divide the dataset, we take the data with amplitude less than 3g as the vibration data of normal bearing and the data greater than 5g as the vibration data of faulty bearing. Since the collected signals are vibration signals in both the vertical and horizontal directions, the two channels of the vertical vibration signal and the horizontal vibration signal are used as the input of the model. In order to verify the robustness of the four models, we add white noise with mean value of 0 and standard deviation of 2 to the original data, as shown in the Fig. 14, in which the blue curve is horizontal vibration data and the Yellow curve is vertical vibration data. <u>Operating condition</u> <u>Dataset</u> <u>Lifetime</u> <u>Fault location</u> <u>Label</u> <u>Bearing1</u> <u>2h3min</u> <u>Outer race</u> <u>1000</u> <u>Bearing2</u> <u>2h41min</u> <u>Outer race</u> <u>1000</u> Condition 1(35Hz/12kN) Condition 2(37.5Hz/11kN) Condition 3(40Hz/10kN) <u>Bearing3</u> <u>2h38min</u> <u>Outer race</u> <u>1000</u> <u>Bearing4</u> <u>2h2min</u> <u>Cage</u> <u>0100</u> <u>Bearing5</u> <u>52min</u> <u>outer race and Inner race</u> <u>1010</u> <u>Bearing6</u> <u>8h11min</u> <u>Inner race</u> <u>0010</u> <u>Bearing7</u> <u>2h41min</u> <u>Outer race</u> <u>1000</u> <u>Bearing8</u> <u>8h53min</u> <u>Cage</u> <u>0001</u> <u>Bearing9</u> <u>42min</u> <u>Outer race</u> <u>1000</u> <u>Bearing10</u> <u>5h39min</u> <u>Outer race</u> <u>1000</u> <u>Bearing11</u> <u>42h18min</u> <u>Outer race</u> <u>1000</u> <u>Bearing12</u> <u>41h36min</u> <u>Outer race, ball, cage and Inner race</u> <u>1111</u> <u>Bearing13</u> <u>6h11min</u> <u>Inner race</u> <u>0010</u> <u>Bearing14</u> <u>25h15min</u> <u>Inner race</u> <u>0010</u> <u>Bearing15</u> <u>1h54min</u> <u>Outer race</u> <u>1000</u> Table 4. XJTU-SY bearing dataset. Figure 13. Failure bearings: ( a ) inner race wear; ( b ) cage fracture; ( c ) outer race wear; ( d ) outer race fracture. Train SAE, SDAE, CNN and triplet network models, and input test dataset into the model. The results are shown in Table 5. It can be seen that the results of triplet network+SVM on XJTU-SY Bearing Dataset are better than CNN, DAE+SVM and SAE+SVM. The classification accuracy of the triplet network+SVM reached 97.09%. The selfencoder is better than the end-to-end CNN. Conclusion We propose a bearing faults classification method based on triplet network and SVM. In this paper, the proposed method consists of two main steps. First, we propose a one-dimensional convolution model based on Triplet loss. The input of the model is original vibration data of bearings and the output is 64-dimensional high-order features. The loss function calculates the L2 norm distance between samples in the high-order feature space. this makes the distance between the same category closer, the distance between different category farther. Second, use SVM to classify in the high-order feature space. Two examples were given to illustrate the superiority of this method in dealing with small sample classification problems. The triplet network based on the CNN model can well extract the high-order features of the one-dimensional vibration signal, and these features can well express the difference between the signals. Compared with CNN, DAE+SVM, SAE+SVM, the algorithm performs better on small sample classification problems, and can accurately determine the fault category of bearing. Figure 14. Fault bearing vibration data waveform. <u>Method</u> <u>Dimention of input data</u> <u>Diagnosis result</u> <u>SAE+SVM</u> <u>2000*2</u> <u>88.49%</u> <u>SDAE+SVM</u> <u>2000*2</u> <u>89.41%</u> <u>CNN</u> <u>2000*2</u> <u>86.72%</u> <u>Triplet network+SVM</u> <u>2000*2</u> <u>97.09%</u> Table 5. Diagnosis result of each algorithm. Although the existing algorithms have conducted in-depth research on the fault classification of rotating machinery, there is still a lack of systematic research on the early warning of fault. Next, we will study the early fault diagnosis and fault location identification of bearing, so as to predict the possible faults of bearing earlier. Early warning can avoid equipment damage caused by bearing failure. For data citations of datasets uploaded to e.g. _figshare_, please use the `howpublished` option in the bib entry to specify the platform and the link, as in the `Hao:gidmaps:2014` example in the sample bibliography file. Received: 23 June 2021; Accepted: 15 March 2022 References 1. Qin, Y. A new family of model-based impulsive wavelets and their sparse representation for rolling bearing fault diagnosis. _IEEE_ _Trans. Ind. Electron._ 65 [, 2716–2726. https://​doi.​org/​10.​1109/​tie.​2017.​27365​10 (2018).](https://doi.org/10.1109/tie.2017.2736510) 2. Zhang, X., Miao, Q., Zhang, H. & Wang, L. A parameter-adaptive VMD method based on grasshopper optimization algorithm to analyze vibration signals from rotating machinery. _Mech. Syst. Signal Process._ 108 [, 58–72. https://​doi.​org/​10.​1016/j.​ymssp.​2017.​](https://doi.org/10.1016/j.ymssp.2017.11.029) [11.​029 (2018).](https://doi.org/10.1016/j.ymssp.2017.11.029) 3. Zhao, M. & Jia, X. D. A novel strategy for signal denoising using reweighted SVD and its applications to weak fault feature enhance ment of rotating machinery. _Mech. Syst. Signal Process._ 94 [, 129–147. https://​doi.​org/​10.​1016/j.​ymssp.​2017.​02.​036 (2017).](https://doi.org/10.1016/j.ymssp.2017.02.036) 4. Wang, L., Liu, Z. W., Miao, Q. & Zhang, X. Time-frequency analysis based on ensemble local mean decomposition and fast kur togram for rotating machinery fault diagnosis. _Mech. Syst. Signal Process._ 103 [, 60–75. https://​doi.​org/​10.​1016/j.​ymssp.​2017.​09.​042](https://doi.org/10.1016/j.ymssp.2017.09.042) (2018). 5. Delgado-Arredondo, P. A. _et al._ Methodology for fault detection in induction motors via sound and vibration signals. _Mech. Syst._ _Signal Process._ 83 [, 568–589. https://​doi.​org/​10.​1016/j.​ymssp.​2016.​06.​032 (2017).](https://doi.org/10.1016/j.ymssp.2016.06.032) 6. Li, Y. B., Li, G. Y., Yang, Y. T., Liang, X. H. & Xu, M. Q. A fault diagnosis scheme for planetary gearboxes using adaptive multi-scale morphology filter and modified hierarchical permutation entropy. _Mech. Syst. Signal Process._ 105 [, 319–337. https://​doi.​org/​10.​](https://doi.org/10.1016/j.ymssp.2017.12.008) [1016/j.​ymssp.​2017.​12.​008 (2018).](https://doi.org/10.1016/j.ymssp.2017.12.008) 7. Li, Z. X., Jiang, Y., Guo, Q., Hu, C. & Peng, Z. X. Multi-dimensional variational mode decomposition for bearing-crack detection in wind turbines with large driving-speed variations. _Renew. Energy_ 116 [, 55–73. https://​doi.​org/​10.​1016/j.​renene.​2016.​12.​013](https://doi.org/10.1016/j.renene.2016.12.013) (2018). 8. Wang, D., Zhao, Y., Yi, C., Tsui, K. L. & Lin, J. H. Sparsity guided empirical wavelet transform for fault diagnosis of rolling element bearings. _Mech. Syst. Signal Process._ 101 [, 292–308. https://​doi.​org/​10.​1016/j.​ymssp.​2017.​08.​038 (2018).](https://doi.org/10.1016/j.ymssp.2017.08.038) 9. Li, Z. P., Chen, J. L., Zi, Y. Y. & Pan, J. Independence-oriented VMD to identify fault feature for wheel set bearing fault diagnosis of high speed locomotive. _Mech. Syst. Signal Process._ 85 [, 512–529. https://​doi.​org/​10.​1016/j.​ymssp.​2016.​08.​042 (2017).](https://doi.org/10.1016/j.ymssp.2016.08.042) 10. Li, Y. B., Xu, M. Q., Liang, X. H. & Huang, W. H. Application of bandwidth EMD and adaptive multiscale morphology analysis for incipient fault diagnosis of rolling bearings. _IEEE Trans. Ind. Electron._ 64 [, 6506–6517. https://​doi.​org/​10.​1109/​tie.​2017.​26508​](https://doi.org/10.1109/tie.2017.2650873) [73 (2017).](https://doi.org/10.1109/tie.2017.2650873) 11. Zhang, M., Jiang, Z. N. & Feng, K. Research on variational mode decomposition in rolling bearings fault diagnosis of the multistage centrifugal pump. _Mech. Syst. Signal Process._ 93 [, 460–493. https://​doi.​org/​10.​1016/j.​ymssp.​2017.​02.​013 (2017).](https://doi.org/10.1016/j.ymssp.2017.02.013) 12. Zheng, J. D., Pan, H. Y., Yang, S. B. & Cheng, J. S. Adaptive parameterless empirical wavelet transform based time-frequency analysis method and its application to rotor rubbing fault diagnosis. _Signal Process._ 130 [, 305–314. https://​doi.​org/​10.​1016/j.​sigpro.​2016.​07.​](https://doi.org/10.1016/j.sigpro.2016.07.023) [023 (2017).](https://doi.org/10.1016/j.sigpro.2016.07.023) 13. Wu, J. _et al._ Degradation data-driven time-to-failure prognostics approach for rolling element bearings in electrical machines. _IEEE Trans. Ind. Electron._ 66 [, 529–539. https://​doi.​org/​10.​1109/​tie.​2018.​28113​66 (2019).](https://doi.org/10.1109/tie.2018.2811366) 14. Yan, X. A. & Jia, M. P. A novel optimized SVM classification algorithm with multi-domain feature and its application to fault diagnosis of rolling bearing. _Neurocomputing_ 313 [, 47–64. https://​doi.​org/​10.​1016/j.​neucom.​2018.​05.​002 (2018).](https://doi.org/10.1016/j.neucom.2018.05.002) 15. Jing, L. Y., Zhao, M., Li, P. & Xu, X. Q. A convolutional neural network based feature learning and fault diagnosis method for the condition monitoring of gearbox. _Measurement_ 111 [, 1–10. https://​doi.​org/​10.​1016/j.​measu​rement.​2017.​07.​017 (2017).](https://doi.org/10.1016/j.measurement.2017.07.017) 16. Jing, L. Y., Wang, T. Y., Zhao, M. & Wang, P. An adaptive multi-sensor data fusion method based on deep convolutional neural networks for fault diagnosis of planetary gearbox. _Sensors_ [https://​doi.​org/​10.​3390/​s1702​0414](https://doi.org/10.3390/s17020414) _(2017)._ 17. Lu, C., Wang, Z. Y. & Zhou, B. Intelligent fault diagnosis of rolling bearing using hierarchical convolutional network based health state classification. _Adv. Eng. Inf._ 32 [, 139–151. https://​doi.​org/​10.​1016/j.​aei.​2017.​02.​005 (2017).](https://doi.org/10.1016/j.aei.2017.02.005) 18. Pan, J., Zi, Y. Y., Chen, J. L., Zhou, Z. T. & Wang, B. Liftingnet: A novel deep learning network with layerwise feature learning from noisy mechanical data for fault classification. _IEEE Trans. Ind. Electron._ 65 [, 4973–4982. https://​doi.​org/​10.​1109/​tie.​2017.​27675​40](https://doi.org/10.1109/tie.2017.2767540) (2018). 19. Verstraete, D., Ferrada, A., Droguett, E. L., Meruane, V. & Modarres, M. Deep learning enabled fault diagnosis using time-frequency image analysis of rolling element bearings. _Shock Vib._ [https://​doi.​org/​10.​1155/​2017/​50676​51](https://doi.org/10.1155/2017/5067651) _(2017)._ 20. Wang, S. H., Xiang, J. W., Zhong, Y. T. & Zhou, Y. Q. Convolutional neural network-based hidden Markov models for rolling ele ment bearing fault identification. _Knowl. Based Syst._ 144 [, 65–76. https://​doi.​org/​10.​1016/j.​knosys.​2017.​12.​027 (2018).](https://doi.org/10.1016/j.knosys.2017.12.027) 21. Hoang, D. T. & Kang, H. J. Rolling element bearing fault diagnosis using convolutional neural network and vibration image. _Cognit._ _Syst. Res._ 53 [, 42–50. https://​doi.​org/​10.​1016/j.​cogsys.​2018.​03.​002 (2019).](https://doi.org/10.1016/j.cogsys.2018.03.002) 22. Han, T., Liu, C., Yang, W. G. & Jiang, D. X. A novel adversarial learning framework in deep convolutional neural network for intelligent diagnosis of mechanical faults. _Knowl. Based Syst._ 165 [, 474–487. https://​doi.​org/​10.​1016/j.​knosys.​2018.​12.​019 (2019).](https://doi.org/10.1016/j.knosys.2018.12.019) 23. Wang, L. H., Zhao, X. P., Wu, J. X., Xie, Y. Y. & Zhang, Y. H. Motor fault diagnosis based on short-time Fourier transform and convolutional neural network. _Chin. J. Mech. Eng._ 30 [, 1357–1368. https://​doi.​org/​10.​1007/​s10033-​017-​0190-5 (2017).](https://doi.org/10.1007/s10033-017-0190-5) 24. Xia, M., Li, T., Xu, L., Liu, L. Z. & de Silva, C. W. Fault diagnosis for rotating machinery using multiple sensors and convolutional neural networks. _IEEE ASME Trans. Mech._ 23 [, 101–110. https://​doi.​org/​10.​1109/​tmech.​2017.​27283​71 (2018).](https://doi.org/10.1109/tmech.2017.2728371) 25. Liu, R. N., Meng, G. T., Yang, B. Y., Sun, C. & Chen, X. F. Dislocated time series convolutional neural architecture: An intelligent fault diagnosis approach for electric machine. _IEEE Trans. Ind. Inf._ 13 [, 1310–1320. https://​doi.​org/​10.​1109/​tii.​2016.​26452​38 (2017).](https://doi.org/10.1109/tii.2016.2645238) 26. Jiang, G. Q., He, H. B., Yan, J. & Xie, P. Multiscale convolutional neural networks for fault diagnosis of wind turbine gearbox. _IEEE_ _Trans. Ind. Electron._ 66 [, 3196–3207. https://​doi.​org/​10.​1109/​tie.​2018.​28448​05 (2019).](https://doi.org/10.1109/tie.2018.2844805) 27. Zhang, B., Zhang, S. H. & Li, W. H. Bearing performance degradation assessment using long short-term memory recurrent network. _Comput. Ind._ 106 [, 14–29. https://​doi.​org/​10.​1016/j.​compi​nd.​2018.​12.​016 (2019).](https://doi.org/10.1016/j.compind.2018.12.016) 28. Zhao, M. H., Kang, M., Tang, B. P. & Pecht, M. Deep residual networks with dynamically weighted wavelet coefficients for fault diagnosis of planetary gearboxes. _IEEE Trans. Ind. Electron._ 65 [, 4290–4300. https://​doi.​org/​10.​1109/​tie.​2017.​27626​39 (2018).](https://doi.org/10.1109/tie.2017.2762639) 29. Wang, H. Q., Li, S., Song, L. Y. & Cui, L. L. A novel convolutional neural network based fault recognition method via image fusion of multi-vibration-signals. _Comput. Ind._ 105 [, 182–190. https://​doi.​org/​10.​1016/j.​compi​nd.​2018.​12.​013 (2019).](https://doi.org/10.1016/j.compind.2018.12.013) 30. Yan, X., Liu, Y., Xu, Y. & Jia, M. Multistep forecasting for diurnal wind speed based on hybrid deep learning model with improved singular spectrum decomposition. _Energy Convers. Manag._ 225 [, 1–22. https://​doi.​org/​10.​1016/j.​encon​man.​2020.​113456 (2020).](https://doi.org/10.1016/j.enconman.2020.113456) 31. Yan, X., Liu, Y. & Jia, M. Health condition identification for rolling bearing using a multi-domain indicator-based optimized stacked denoising autoencoder. _Struct. Health Monit. Int. J._ 19 [, 1602–1626. https://​doi.​org/​10.​1177/​14759​21719​893594 (2020).](https://doi.org/10.1177/1475921719893594) 32. Yan, X., Liu, Y. & Jia, M. Multiscale cascading deep belief network for fault identification of rotating machinery under various working conditions. _Knowl. Based Syst._ 193 [, 1–20. https://​doi.​org/​10.​1016/j.​knosys.​2020.​105484 (2020).](https://doi.org/10.1016/j.knosys.2020.105484) 33. Li, X., Zhang, W. & Ding, Q. Cross-domain fault diagnosis of rolling element bearings using deep generative neural networks. _IEEE Trans. Ind. Electron._ 66 [, 5525–5534. https://​doi.​org/​10.​1109/​tie.​2018.​28680​23 (2019).](https://doi.org/10.1109/tie.2018.2868023) 34. Zhang, R., Tao, H. Y., Wu, L. F. & Guan, Y. Transfer learning with neural networks for bearing fault diagnosis in changing working conditions. _IEEE Access_ 5 [, 14347–14357. https://​doi.​org/​10.​1109/​access.​2017.​27209​65 (2017).](https://doi.org/10.1109/access.2017.2720965) 35. Cao, P., Zhang, S. L. & Tang, J. Preprocessing-free gear fault diagnosis using small datasets with deep convolutional neural network based transfer learning. _IEEE Access_ 6 [, 26241–26253. https://​doi.​org/​10.​1109/​access.​2018.​28376​21 (2018).](https://doi.org/10.1109/access.2018.2837621) 36. Wang, Z. R., Wang, J. & Wang, Y. R. An intelligent diagnosis scheme based on generative adversarial learning deep neural networks and its application to planetary gearbox fault pattern recognition. _Neurocomputing_ 310 [, 213–222. https://​doi.​org/​10.​1016/j.​neucom.​](https://doi.org/10.1016/j.neucom.2018.05.024) [2018.​05.​024 (2018).](https://doi.org/10.1016/j.neucom.2018.05.024) 37. Shao, S. Y., Wang, P. & Yan, R. Q. Generative adversarial networks for data augmentation in machine fault diagnosis. _Comput. Ind._ 106 [, 85–93. https://​doi.​org/​10.​1016/j.​compi​nd.​2019.​01.​001 (2019).](https://doi.org/10.1016/j.compind.2019.01.001) 38. Data castle bearings dataset (2012). 39. Wang, B., Lei, Y. G., Li, N. P. & Li, N. B. A hybrid prognostics approach for estimating remaining useful life of rolling element bearings. _IEEE Trans. Reliab._ 69 [, 401–412. https://​doi.​org/​10.​1109/​tr.​2018.​28826​82 (2020).](https://doi.org/10.1109/tr.2018.2882682) Author contributions K.Y. conceived the experiments, K.Y. and C.W. conducted the experiments, K.Y. analysed the results. All authors reviewed the manuscript. Competing interests This work was supported by the Ministry of Science and Technology of the People’s Republic of China (Grant Number [2017YFF0108104]). The authors have no relevant financial or non-financial interests to disclose. The authors have no conflicts of interest to declare that are relevant to the content of this article. All authors certify that they have no affiliations with or involvement in any organization or entity with any financial interest or nonfinancial interest in the subject matter or materials discussed in this manuscript. The authors have no financial or proprietary interests in any material discussed in this article. Additional information Correspondence and requests for materials should be addressed to C.W. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from [the copyright holder. To view a copy of this licence, visit http://​creat​iveco​mmons.​org/​licen​ses/​by/4.​0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2022

섹션 본문 34문단 · 25,352자

(제목 없음)

1Separating sensitive characteristic signals from original vibration data is an important challenge for rolling bearing fault diagnosis. Because it is difficult to obtain large number of damaged bearings, Rolling bearing fault datasets are often small sample datasets. For the classification of small sample rolling bearing fault datasets, we propose a coupling vibration data classification method based on triplet embedding. The method is divided into two steps: feature extraction and fault identification. First, build a triple embedding based on the CNN model to reduce the original vibration signal, and then train the SVM model for classification. Compared with traditional features and autoencoder, triplet network can learn the differences between samples. Make classification training easier and more accurate. We have evaluated the performance of this method through two bearing experiment examples. The experimental results show that this method is superior to stacked autoencoder, stacked denoising autoencoder and CNN. Research status of bearing fault diagnosis. Bearing is a typical component of rotating machinery. TheOPEN

2quality of bearing directly determines the performance of rotating machinery. Accurate and timely fault detection is the key technology to ensure the reliability and safety of bearings. Due to the wide application of bearing in various industries, the maintenance cost of bearing fault is high, the consequences of bearing fault are serious. So the fault diagnosis of bearing and condition monitoring are very active research fields, which is very helpful for the early warning and fault location of rotating machinery. At present, on-line diagnosis and prediction of machine condition are used for fault early warning and maintenance.

3With the progress of sensor technology and signal processing technology, we can obtain higher precision vibration signal, acoustic signal, current signal, voltage signal, temperature signal and so on. In recent years, the research of bearing fault diagnosis is gradually increasing, and the research based on Shaw learning is in-depth [1][2][3][4][5][6][7][8] . In order to solve over decomposition and the problem of information loss, Li et al. 9 have proposed Independenceoriented VMD to identify wheelset bearing faults orderly. For early fault prediction of bearings, Li et al. 10 have proposed adaptive multi-scale morphological analysis and bandwidth empirical mode decomposition. Zhang et al. 11 have proposed A bearing fault diagnosis method using variational mode decomposition. Through the analysis of the failure mechanism, they established the fault signal calculation model of the defects in different positions of the rolling bearing. In order to realize the adaptive separation of Fourier spectrum, Zheng et al. 12 have proposed the adaptive parameterless EWT method. Wu et al. 13 have used the fully integrated empirical mode decomposition of adaptive noise and the Hilbert-Huang transform method to extract multiple degraded features in the degraded feature extraction stage. They selected monotonous, robust, and fault-related degradation characteristics, and merged them with the Mahalanobis distance health index as the main component. Yan et al. 14 There are also a lot of researches on bearing fault diagnosis models based on deep learning [15][16][17][18][19][20][21][22][23] . Xia et al. 24 have proposed a multi-sensor-based CNN model, and classification accuracy of the model on the Case Western Reserve University bearing dataset reached 99.41%. Liu et al. 25 have proposed a dislocated time series CNN model, which uses the dislocated time series of the original signal to train CNN. Jiang et al. 26 have proposed a multi-scale CNN, and the classification accuracy on the Case Western Reserve bearing dataset reached 98.53%. Zhang et al. 27 have proposed a long short memory recurrent neural network model to evaluate the bearing www.nature.com/scientificreports/ performance degradation. Zhao et al. 28 have developed a variant of the deep residual network model, which uses dynamic weighted wavelet coefficients to optimize the deep residual network to improve the diagnostic performance. The input of the network is a series of wavelet packet coefficient sets in different frequency bands. Wang et al. 29 have proposed a method to transform the vibration information of multiple sensors into image information. This method can integrate the information and obtain more abundant features than single sensor vibration signal. Yan et al. has done a lot of research in this field, The models they studied including a novel architecture named multiscale cascading deep belief network(MCDBN) for identify the fault location of the rotating machinery; a novel approach called multi-domain indicator-based optimized stacked denoising autoencoder for automatic fault identification of rolling bearing and a novel hybrid deep learning model for multistep forecasting of diurnal wind speed [30][31][32] .

4There are also a lot of researches on transfer learning and small sample model prediction 33-37 . Problems of existing models. 1. Traditional feature extraction methods, such as empirical mode decomposition, wavelet transform, fast Fourier transform, etc. need a lot of expert experience. Because of the sensor noise, interference, shafting misalignment, etc. the initial fault is easy to be covered by clutter, difficult to show in the time-frequency spectrum. This makes it difficult to find the initial bearing fault; 2. The end-to-end network has strong nonlinear fitting capabilities, but requires a large amount of sample data.

5Different from the image classification task, the test conditions of the industrial bearing dataset are harsh. It requires high-precision vibration sensors, servo motors, a set of high-precision shafting, and a stable data acquisition and control system. And it is difficult to obtain a large number of samples of damaged bearings. The public datasets are generally small sample datasets. However, the advantages of end-to-end networks on small sample datasets are not obvious, and it is difficult to learn the distribution of samples; 3. Widely used autoencoder networks(AE) such as stacked autoencoders(SAE), stacked denoising autoencoders(SDAE), etc. can map data to lower dimensions. Then use traditional classification algorithms, such as SVM, random forest, etc. to classify, and you can get better results on small sample datasets. But the prime objective of the autoencoder is to encode data into low-dimensional expression, and then restore the low-dimensional expression to the original signal as much as possible. Only pay attention to whether the restored signal is slightly different from the original signal, and some important information used for classification may be discarded as noise, which makes the classification results of algorithms such as SVM and random forest inaccurate;

Fault diagnosis using the triplet network and SVM

6This paper mainly studies the problem of bearing fault diagnosis. These damaged parts include the inner ring of the bearing, the balls, and the outer ring of the bearing. Use the vibration sensor to collect the vibration of the shaft system and analyze the vibration signal changes caused by the damage of different parts of the bearing. Because the bearing will produce a certain amount of vibration during high-speed rotation due to shaft deflection, machining error, etc., it is difficult to identify early fault signals. Moreover, because the bearing failure dataset is generally a small sample dataset, it is difficult to obtain lots of bearing data of different parts of the failure. This further challenges the possibility of using a single feature in bearing fault classification.

7Basic SAE and SDAE. AE is a kind of artificial neural network. AE updates network weights through unsupervised learning to learn the mapping of input data to feature space. AE consists of an encoder and a decoder. The encoder f maps the input data to a low dimensional space through function h = f (x) . To obtain a low dimensional representation h of the original data. The decoder g maps h back to the input space through the function x = g(h) to obtain the reconstructed data x of x. Generally, the loss function of a network can be defined as:

8The loss function calculates the Euclidean distance between x and x to reduce the reconstruction error and obtain the reconstructed data closer to the original data. The output h of the encoder can be used as a low dimensional representation of the input data. The encoder and decoder of SAE are composed of multiple AE nested to form a structure with multiple hidden layers. Compared with AE, SAE can better learn the deep features of the original data.The structure of SAE is shown in Fig. 1.

9The basic idea of DAE is to reconstruct the original input from a damaged input to obtain a robust representation of the original input. This can prevent AE from learning only the mapping between input and construction output, and capture more informative hidden patterns. In general, the input x is added to the noise σ to get the damage signal x form x, and then x is input to the DAE to get the reconstructed data of x , Formula 2 calculates the loss function:

10The network structure of DAE is shown in the Fig. 2. 1DCNN based on triplet loss. We believe that in a small sample of bearing fault dataset, in order to extract the deep information in the waveform, the CNN model needs to have sufficient depth. The performance of endto-end learning in small sample datasets is not stable enough, and it is difficult to learn a better distribution law. In order to better classify bearing faults, this paper proposes a SVM fault classification method using trplet network as data preprocessing. The triplet network converts the problem of the mapping relationship between learning data to classification into a problem of different relationships between learning data. This method has a good performance in small sample data. The established one-dimensional CNN model has 8 hidden layers, and the model structure is shown in Fig. 3.

11Establish a triplet network based on the 1DCNN model. In order to train triplet network, the data is classified according to labels: The triplet network output layer generally has fewer dimensions, which is equivalent to the high-order feature representation of the original signal. Input the same batch of data into the model, and calculate the triplet loss based on the sample label. the goal of triplet loss is to reduce The distance between a and p, and increases the distance between a and n in the embedding space. We need to introduce margin to make the distance between samples of different categories larger than margin, which can make the network encode samples of different categories farther. the loss of a triplet (a, p, n) is:

12In the formula, a − p is the Euclidean distance between a sample and p sample, and �a − n� is the Euclidean distance between a sample and n sample. The goal of the algorithm is to reduce the value of a − p as much as possible to make the distance between a and p closer, and increase the value of �a − n� as much as possible to make the distance between a and n longer. Make the value of �a − n� − a − p small enough to achieve the goal of the algorithm. By calculating max a − p − �a − n� + m arg in, 0 , we can control the aggregation degree of positive samples and the dispersion degree of negative samples in the feature space, so that the distance between positive samples and negative samples is greater than the margin value as much as possible. There are three situations when calculating triplet loss:

131. easy triplets: loss = 0 , a − p + margin < �a − n� . This situation does not need to be optimized. The distance between a and p is very close, and the distance between a and n is far and greater than the sum of the distance between a and p and the margin, as shown in the Fig. 4. 2. hard triplets: �a − n� < a − p , The distance between a and p is long, and this situation will produce a greater loss. As shown in Fig. 5. 3. semi-hard triplets: a − p < �a − n� < a − p + margin , The distance between a and p is short, and the distance between a and n is long, but the distance between a and n is less than the distance between a and p plus margin. This situation will produce less loss. As shown in Fig. 6. www.nature.com/scientificreports/ Input all the training set data into the network to calculate the corresponding 64-dimensional embedding. Take one of the samples a. There are a total of m samples with the same label as sample a, forming set P = {p 1 , p 2 , p 3 · · · p m } , There are a total of n samples with labels different from sample a, forming set N = {n 1 , n 2 , n 3 · · · n n } . Calculate the distance D p between a and all positive samples:

14Calculate the distance between a and all negative samples to form set D n :

15Take one element in set D p and set D n respectively, and combine them with a to form a triplet. All possible combinations form set T:

16There are m × n combinations of elements in D p and D n , the total number of samples is m + n + 1 , and the value of a has m + n + 1 possibilities, so the size of the set T is m × n × (m + n + 1) . Select semi-hard triplets in set T, get set T s = {d 1 , d 2 , d 3 · · · d a } , and calculate triplet loss: Figure 7 shows the training process of triplet network and SVM. Figure 8 is block diagram of the proposed method. Firstly, input the labeled vibration data into the model. Then, initialize the triplet network model parameters, and input the collected bearing data set into triplrt network for training. The loss function of the model is defined as triplet loss, and the output of the model is a 64 dimensional vector. The trained model maps the samples to the high-dimensional feature space, and the distance between similar samples is small, and the distance between different samples is large. Finally, using high-dimensional features for SVM classification, we can judge whether the bearing fault and the fault location.

17Different from AE, Triplet loss calculates the difference between the same sample and different samples, and backpropagates to update weights of the network so that the distance between the same samples is closer and the distance between different samples is longer.

Validation of proposed method

18Data Castle bearings dataset. Dataset introduction. This paper uses the bearing data set provided by Data Castle to verify the method 38 . Data Castle collected the vibration information of normal and faulty bearings. There are three types of bearing faults, including inner race, outer race and ball. The bearings include three different diameters, so there are nine different bearing fault labels. The dataset we used is shown in Table 1.

19(4) D p = a − p 1 , a − p 2 , a − p 3 , . . . , a − p k , . . . , a − p m (5) D n = {�a − n 1 �, �a − n 2 �, �a − n 3 �, · · · , �a − n s �, · · · , �a − n n �} (6) T = d|d = max a − p k − �a − n s � + margin, 0 www.nature.com/scientificreports/ In order to verify the robustness of the algorithm, we add white noise with mean value of 0 and standard deviation of 0.2 to the original data, and use the data after adding noise for model training to test whether the model can accurately judge the samples with insignificant features. The data after adding noise is shown in the Fig. 9.

20After adding noise, the characteristics of data have become less obvious, and the similarity of similar characteristics decreases after adding random noise, which requires the model to have good robustness to deal with these changes.

Experiment. Experimental steps:

211. Process the vibration data of the bearing and add appropriate labels to the vibration data. 2. Add white noise to the vibration data to make the data characteristics less obvious. In order to verified feasibility and superiority of the method, standard SAE, SDAE, and CNN were used for comparison. All the following experiments were performed in python code.

22• The key parameters of SAE: Encoder contains a 6-layer neural network, including three convolutional layers and three down-sampling layers. To map the original vibration data into a 64-dimensional space vector, www.nature.com/scientificreports/ decoder contains 3 deconvolution layers to restore the 64-dimensional space vector to vibration data. We use Gaussian kernel function, the penalty coefficient is 1, and the Gamma value is 1/64. The 64-dimensional space vector output by the Encoder is input to the SVM classifier for classification. • The key parameter of SDAE: Gaussian noise is added to the original data. The mean value of the added Gaussian noise is 0, and the standard deviation is 0.05. Other parameters of SDAE are the same as SAE. • The key parameters of the CNN model: The end-to-end CNN model has 6 hidden layers, the first layer is One-dimensional convolutional layer which has 32 convolution kernels, the second layer is down-sampling layer, the third layer is One-dimensional convolutional layer which has 64 convolution kernels. The fourth layer is down-sampling layer. The fifth layer is One-dimensional convolutional layer which has 128 convolution kernels. The sixth layer is global average pooling layer. The seventh layer is fully connected layer with 64 neurons. The output layer activation function is softmax. Optimizer is RMSprop. Learning efficiency is set to 0.0003, and the loss function uses sparse categorical crossentropy. • The first layer of the Triplet network is convolutional layer with 32 convolution kernels. The second layer is downsampling layer. The third layer is convolutional layer with 64 convolution kernels. The fourth layer is downsampling layer. The fifth layer is convolutional layer with 128 convolution kernels. The sixth layer is global average pooling layer. The seventh layer is fully connected layer with 64 neurons. The eighth layer is L2 regular layer. Margin value is 1. Optimizer is RMSprop. The learning rate is 0.0003. The trained triplet network is equipped with feature mapping capabilities. SVM classifier are used for classification in the feature space. The kernel function of SVM is set to linear kernel, the penalty coefficient is 10. Table 2 lists the average test accuracy of each model. Through analysis of the training results, it is found that the classification accuracy of triplet network+SVM reaches 96.31%, and the classification accuracy is much higher than SAE+SVM and DAE+SVM. Due to the lack of inter-sample reference, the traditional encoder network only pays attention to the difference between the decoded signal and the original signal, and may discard some subtle features. These features may have high weights when doing classification. The end-to-end CNN network is not as good as triplet network+SVM due to the small sample size.

23As shown in Fig. 10, it can be seen from the confusion matrix that the signals misclassified by SAE+SVM and DAE+SVM are similar to their correct classification, which means that the signal compressed by the autoencoder loses some information for classification. This causes the accuracy of the SVM classifier to decrease. the classification error of end-to-end CNN model reaches 89.01%. However, due to the insufficient sample size, it is difficult to further improve the predictive ability of the model. Training triplet network on a small sample dataset, the network learned how to distinguish samples with different labels. This makes the distance between samples of the same type smaller in the feature space, and samples of different types become larger in the feature space.

24In order to compare the feature extraction capabilities of the methods, PCA dimensionality reduction was performed on the output of the three models. Select the first two principal components to visualize the features.

25It can be seen from Fig. 11 that the different types of data that have been reduced by the Triplet network are far apart in the feature space, and the network has learned the differences between the data. However, the highdimensional features learned by SAE and DAE cannot find the difference between different types of data well.

26The Calinski-Harabaz Index(CH) is used to evaluate classification of feature spaces. The tightness within the class is measured by calculating the sum of the squares of the distance between each point in the class and the class center. The degree of separation of the dataset is measured by calculating the sum of squared distances from various center points. The function is: n represents the number of samples in dataset, K represents the number of categories. The values of WGSS and BGSS are obtained by formula 9 and 10: The larger the CH index value, the smaller the intra cluster distance, the larger the intra cluster distance, the higher the degree of intra-class aggregation, the higher the degree of distinction between classes, and the easier it is to classify. The smaller the CH index value, the larger the distance within the class, and the smaller the distance between the classes, which makes it difficult to classify. The CH index values of SAE, SDAE, and triplet network are shown in Table 3.

XJTU-SY bearing dataset.

27Introduce. The bearing testbed consists of supporting shaft, motor governor, AC induction motor, hydraulic loading system and two supporting bearings. The testbed is designed for accelerated degradation test of bearings under different working condition. The radial force is exerted on the shell of the tested bearing by the hydraulic loading system, and the speed controller of AC induction motor sets and maintains the speed of the whole shaft system 39 . As shown in Fig. 12.

28The acceleration sensor used in the experiment is PCB 352c33. The sensor is installed on the magnetic base, which is fixed on the vertical and horizontal direction of the test bearing. The dynamic signal collector uses DT 9837. the sampling frequency of the original data is 25.6 khz, the sampling interval of the original data is 1 min, and the sampling time of the original data is 1.28 s. Table 4 shows the detailed information of each tested bearing, including its corresponding operating conditions, bearing lifetime and failure location. Figure 13 shows the failure bearings. It can be observed that the bearing failure is mainly caused by outer race wear, inner race wear, outer race fracture and cage fracture. More than two types of composite damage may occur to the bearing. Compound damage has multiple waveform characteristics of damage locations, which increases the difficulty of classification. The method adopted in this paper is to assign separate labels for compound damage.

29Experiment. XJTU-SY Bearing Dataset contains the full lifecycle vibration signals of 15 bearings. In order to divide the dataset, we take the data with amplitude less than 3g as the vibration data of normal bearing and the data greater than 5g as the vibration data of faulty bearing. Since the collected signals are vibration signals in both the vertical and horizontal directions, the two channels of the vertical vibration signal and the horizontal vibration signal are used as the input of the model.

30In order to verify the robustness of the four models, we add white noise with mean value of 0 and standard deviation of 2 to the original data, as shown in the Fig. 14, in which the blue curve is horizontal vibration data and the Yellow curve is vertical vibration data. Table 5.

31It can be seen that the results of triplet network+SVM on XJTU-SY Bearing Dataset are better than CNN, DAE+SVM and SAE+SVM. The classification accuracy of the triplet network+SVM reached 97.09%. The selfencoder is better than the end-to-end CNN.

Conclusion

32We propose a bearing faults classification method based on triplet network and SVM. In this paper, the proposed method consists of two main steps. First, we propose a one-dimensional convolution model based on Triplet loss. The input of the model is original vibration data of bearings and the output is 64-dimensional high-order features. The loss function calculates the L2 norm distance between samples in the high-order feature space. this makes the distance between the same category closer, the distance between different category farther. Second, use SVM to classify in the high-order feature space. Two examples were given to illustrate the superiority of this method in dealing with small sample classification problems. The triplet network based on the CNN model can well extract the high-order features of the one-dimensional vibration signal, and these features can well express the difference between the signals. Compared with CNN, DAE+SVM, SAE+SVM, the algorithm performs better on small sample classification problems, and can accurately determine the fault category of bearing. www.nature.com/scientificreports/ Although the existing algorithms have conducted in-depth research on the fault classification of rotating machinery, there is still a lack of systematic research on the early warning of fault. Next, we will study the early fault diagnosis and fault location identification of bearing, so as to predict the possible faults of bearing earlier.

33Early warning can avoid equipment damage caused by bearing failure.

34For data citations of datasets uploaded to e.g. figshare, please use the howpublished option in the bib entry to specify the platform and the link, as in the Hao:gidmaps:2014 example in the sample bibliography file.

참고문헌 38건

  1. Methodology for fault detection in induction motors via sound and vibration signals Mechanical Systems and Signal Processing · Elsevier BV · 2016 10.1016/j.ymssp.2016.06.032
  2. Adaptive parameterless empirical wavelet transform based time-frequency analysis method and its application to rotor rubbing fault diagnosis Signal Processing · Elsevier BV · 2016 10.1016/j.sigpro.2016.07.023
  3. Independence-oriented VMD to identify fault feature for wheel set bearing fault diagnosis of high speed locomotive Mechanical Systems and Signal Processing · Elsevier BV · 2016 10.1016/j.ymssp.2016.08.042
  4. Multi-dimensional variational mode decomposition for bearing-crack detection in wind turbines with large driving-speed variations Renewable Energy · Elsevier BV · 2016 10.1016/j.renene.2016.12.013
  5. Dislocated Time Series Convolutional Neural Architecture: An Intelligent Fault Diagnosis Approach for Electric Machine IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2016 10.1109/tii.2016.2645238
  6. Application of Bandwidth EMD and Adaptive Multiscale Morphology Analysis for Incipient Fault Diagnosis of Rolling Bearings IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2650873
  7. Research on variational mode decomposition in rolling bearings fault diagnosis of the multistage centrifugal pump Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.02.013
  8. An Adaptive Multi-Sensor Data Fusion Method Based on Deep Convolutional Neural Networks for Fault Diagnosis of Planetary Gearbox Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17020414
  9. Intelligent fault diagnosis of rolling bearing using hierarchical convolutional network based health state classification Advanced Engineering Informatics · Elsevier BV · 2017 10.1016/j.aei.2017.02.005
  10. A novel strategy for signal denoising using reweighted SVD and its applications to weak fault feature enhancement of rotating machinery Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.02.036
  11. Transfer Learning With Neural Networks for Bearing Fault Diagnosis in Changing Working Conditions IEEE Access · Institute of Electrical and Electronics Engineers · 2017 10.1109/access.2017.2720965
  12. Fault Diagnosis for Rotating Machinery Using Multiple Sensors and Convolutional Neural Networks IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tmech.2017.2728371
  13. A convolutional neural network based feature learning and fault diagnosis method for the condition monitoring of gearbox Measurement · Elsevier BV · 2017 10.1016/j.measurement.2017.07.017
  14. A New Family of Model-Based Impulsive Wavelets and Their Sparse Representation for Rolling Bearing Fault Diagnosis IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2736510
  15. Sparsity guided empirical wavelet transform for fault diagnosis of rolling element bearings Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.08.038
  16. Time–frequency analysis based on ensemble local mean decomposition and fast kurtogram for rotating machinery fault diagnosis Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.09.042
  17. Deep Residual Networks With Dynamically Weighted Wavelet Coefficients for Fault Diagnosis of Planetary Gearboxes IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2762639
  18. Deep Learning Enabled Fault Diagnosis Using Time-Frequency Image Analysis of Rolling Element Bearings Shock and Vibration · Hindawi Publishing Corporation · 2017 10.1155/2017/5067651
  19. LiftingNet: A Novel Deep Learning Network With Layerwise Feature Learning From Noisy Mechanical Data for Fault Classification IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2767540
  20. Preprocessing-Free Gear Fault Diagnosis Using Small Datasets With Deep Convolutional Neural Network-Based Transfer Learning IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2837621
  21. Motor Fault Diagnosis Based on Short-time Fourier Transform and Convolutional Neural Network Chinese Journal of Mechanical Engineering · China Machine Press · 2017 10.1007/s10033-017-0190-5
  22. A fault diagnosis scheme for planetary gearboxes using adaptive multi-scale morphology filter and modified hierarchical permutation entropy Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.12.008
  23. Convolutional neural network-based hidden Markov models for rolling element bearing fault identification Knowledge-Based Systems · Elsevier BV · 2017 10.1016/j.knosys.2017.12.027
  24. Rolling element bearing fault diagnosis using convolutional neural network and vibration image Cognitive Systems Research · Elsevier BV · 2018 10.1016/j.cogsys.2018.03.002
  25. Degradation Data-Driven Time-To-Failure Prognostics Approach for Rolling Element Bearings in Electrical Machines IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2811366
  26. A parameter-adaptive VMD method based on grasshopper optimization algorithm to analyze vibration signals from rotating machinery Mechanical Systems and Signal Processing · Elsevier BV · 2018 10.1016/j.ymssp.2017.11.029
  27. An intelligent diagnosis scheme based on generative adversarial learning deep neural networks and its application to planetary gearbox fault pattern recognition Neurocomputing · Elsevier BV · 2018 10.1016/j.neucom.2018.05.024
  28. Multiscale Convolutional Neural Networks for Fault Diagnosis of Wind Turbine Gearbox IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2844805
  29. A novel optimized SVM classification algorithm with multi-domain feature and its application to fault diagnosis of rolling bearing Neurocomputing · Elsevier BV · 2018 10.1016/j.neucom.2018.05.002
  30. Cross-Domain Fault Diagnosis of Rolling Element Bearings Using Deep Generative Neural Networks IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2868023
  31. A novel adversarial learning framework in deep convolutional neural network for intelligent diagnosis of mechanical faults Knowledge-Based Systems · Elsevier BV · 2018 10.1016/j.knosys.2018.12.019
  32. A Hybrid Prognostics Approach for Estimating Remaining Useful Life of Rolling Element Bearings IEEE Transactions on Reliability · Institute of Electrical and Electronics Engineers · 2018 10.1109/tr.2018.2882682
  33. A novel convolutional neural network based fault recognition method via image fusion of multi-vibration-signals Computers in Industry · Elsevier BV · 2018 10.1016/j.compind.2018.12.013
  34. Bearing performance degradation assessment using long short-term memory recurrent network Computers in Industry · Elsevier BV · 2018 10.1016/j.compind.2018.12.016
  35. Generative adversarial networks for data augmentation in machine fault diagnosis Computers in Industry · Elsevier BV · 2019 10.1016/j.compind.2019.01.001
  36. Health condition identification for rolling bearing using a multi-domain indicator-based optimized stacked denoising autoencoder Structural Health Monitoring · SAGE Publishing · 2019 10.1177/1475921719893594
  37. Multiscale cascading deep belief network for fault identification of rotating machinery under various working conditions Knowledge-Based Systems · Elsevier BV · 2020 10.1016/j.knosys.2020.105484
  38. Multistep forecasting for diurnal wind speed based on hybrid deep learning model with improved singular spectrum decomposition Energy Conversion and Management · Elsevier BV · 2020 10.1016/j.enconman.2020.113456