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

A graph neural network-based bearing fault detection method

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Xiaoxia Lü — China University of Mining and Technology, Xuzhou, 221116, China. xiaolu_hit@163.com|||Xinjiang Tianchi Energy Co., Ltd., Changji, 831100, China. xiaolu_hit@163.com|||China University of Mining and Technology, Xuzhou, 221116, China
  2. Xiaoxin Yang — China University of Mining and Technology, Xuzhou, 221116, China|||Xinjiang Tianchi Energy Co., Ltd., Changji, 831100, China
  3. Xiaodong Yang — China University of Mining and Technology, Xuzhou, 221116, China|||Xinjiang Tianchi Energy Co., Ltd., Changji, 831100, China
DOI
10.1038/s41598-023-32369-y
저널
Scientific Reports
발행년도
2023
발행기관
Nature Portfolio
피인용수
45
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-023-32369-y
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4362506827

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Bearings are very important components in mechanical equipment, and detecting bearing failures helps ensure healthy operation of mechanical equipment and can prevent catastrophic accidents. Most of the well-established detection methods do not take into account the correlation between signals and are difficult to accurately identify those fault samples that have a low degree of failure. To address this problem, we propose a graph neural network-based bearing fault detection (GNNBFD) method. The method first constructs a graph using the similarity between samples; secondly the constructed graph is fed into a graph neural network (GNN) for feature mapping, and the samples outputted by the GNN network fuse the feature information of their neighbors, which is beneficial to the downstream detection task; then the samples mapped by the GNN network are fed into base detector for fault detection; finally, the results determined by the integrated base detector algorithm are determined, and the top n samples with the highest outlier scores are the faulty samples. The experimental results with five state-of-the-art algorithms on publicly available datasets show that the GNNBFD algorithm improves the AUC by 6.4% compared to the next best algorithm, proving that the GNNBFD algorithm is effective and feasible.

본문 47,154자

본문 펼치기
## OPEN # A graph neural network‑based bearing fault detection method Lu Xiao <sup>1,2</sup> <sup>*</sup> , Xiaoxin Yang <sup>1,2</sup> & Xiaodong Yang <sup>2</sup> Bearings are very important components in mechanical equipment, and detecting bearing failures helps ensure healthy operation of mechanical equipment and can prevent catastrophic accidents. Most of the well-established detection methods do not take into account the correlation between signals and are difficult to accurately identify those fault samples that have a low degree of failure. To address this problem, we propose a graph neural network-based bearing fault detection (GNNBFD) method. The method first constructs a graph using the similarity between samples; secondly the constructed graph is fed into a graph neural network (GNN) for feature mapping, and the samples outputted by the GNN network fuse the feature information of their neighbors, which is beneficial to the downstream detection task; then the samples mapped by the GNN network are fed into base detector for fault detection; finally, the results determined by the integrated base detector algorithm are determined, and the top _n_ samples with the highest outlier scores are the faulty samples. The experimental results with five state-of-the-art algorithms on publicly available datasets show that the GNNBFD algorithm improves the AUC by 6.4% compared to the next best algorithm, proving that the GNNBFD algorithm is effective and feasible. With the rapid development of science and technology, mechanical equipment is widely used in modern industry. And the health monitoring technology of mechanical systems is also an essential issue in modern ­industry <sup>1</sup> . Rotating machinery is frequently used in industrial machinery and equipment, and its condition detection and fault diagnosis are of great significance in ensuring the reliability and safety of machinery in modern industrial ­systems <sup>2</sup> . Rolling bearing is a crucial component of rotating machinery. Due to its particular working environment, rolling bearing is prone to accidental failure and damage under high speed and heavy load as well as repeated high-temperature con-tact, which will directly affect the whole machine’s performance, thus leading to serious safety hazards and high maintenance ­costs <sup>3</sup> . Bearing failure is the most common type of failure in rotating machinery systems, and according to statistics, 30–40% of rotating machinery failures are caused by bearing ­defects <sup>4</sup> . Therefore, efficiently intelligent fault diagnosis techniques for rolling bearings have been a vital research element in mechanical failures in the past decades. Bearing fault diagnosis technology has undergone three stages: manual experience, signal processing, and ­intelligence <sup>5</sup> . Traditional mechanical fault diagnosis methods and theories can play a good role for simple systems with a single process, single fault, and gradual fault, but for multi-process, multi-fault, and sudden fault, as well as complex, large, highly automated large equipment and systems have more significant ­limitations <sup>6</sup> . Nowadays, with the development of sensors and computer systems, the amount of data describing the status of mechanical equipment has increased exponentially. Artificial intelligence methods can extract hidden fault features from these large-scale data sets and learn new fault types, significantly improving fault diagnosis accuracy while reducing the labor cost and diagnostic uncertainty of traditional ­methods <sup>7–10</sup> . However, the deep learning-based method considers the objects to be independently distributed and cannot take into account the correlation between objects during the training process, so it is still difficult to identify some of the early fault signals. In this paper, we propose a graph neural network-based bearing fault detection method in order to improve the accuracy of bearing fault detection. Our main contributions are summarized as follows: 1. We convert the time-series signal of vibration into non-Euclidean structured graph data by methods such as feature transformation and similarity measurement. 2. A method for extracting features of vibration signals using graph neural networks is proposed. By feeding the vibration signal with the constructed graph into the graph neural network for training, the object after the training is completed can contain a wider range of neighborhood information. 1China University of Mining and Technology, Xuzhou 221116, China. 2Xinjiang Tianchi Energy Co., Ltd., Changji 831100, China. <sup>*</sup> email: xiaolu_hit@163.com 3. In order to improve the usability of the algorithm in the real world, an ensemble learning approach is proposed to improve the robustness of the proposed algorithm. Related work Up to now, a lot of research has been conducted on the intelligent diagnosis of bearing faults. Early widely used machine learning algorithms, such as PCA (Principal Component Analysis), SVM (Support Vector Machine), KNN (K-Nearest Neighbor), etc., have achieved satisfactory results in intelligent diagnosis, and the classification accuracy has improved significantly compared with the traditional methods. However, classical machine learning algorithms cannot learn nonlinear ­relationships <sup>11</sup>, and it isn’t easy to find suitable shallow machine learning methods when there are highly complex and difficult to understand nonlinear relationships between input data (samples) and output data (labels). As a branch of machine learning, deep learning is highly capable of modeling nonlinearities with high flexibility and performs much better in dealing with realistic and complex problems. Therefore, deep learning has been introduced into bearing fault diagnosis to obtain a higher correct rate of fault diagnosis in complex ­environments <sup>12,13</sup> . Many deep learning-based bearing fault diagnosis algorithms have been proposed as deep learning evolves. CNN (Convolutional Neural Networks) is the most representative model of deep learning. Janssens et al. <sup>14</sup> was the first paper to apply convolutional neural networks to bearing fault diagnosis, using the spatial structure in the data to effectively capture the covariance of the frequency decomposition of accelerometer signals; to balance the training speed and accuracy of the model, Guo et al. <sup>15</sup> improved the traditional convolutional neural networks model by adding adaptive learning rate and momentum components to the weight update process; Xia et al. <sup>16</sup> in the training process of convolutional neural networks both temporal and spatial information of the raw data from multiple sensors are considered; To deal with mechanical vibration signals with variable sequence length, Zhang et al. <sup>17</sup> proposed a bearing fault diagnosis method based on residual learning algorithm, and the whole network uses a 1-dimensional convolutional layer to obtain local sequence features of the data information stream; For data that are difficult to obtain labels in practical situations, Meng et al. <sup>18</sup> proposed a data enhancement technique, using deep convolutional neural network with residual learning algorithm as the main structure to obtain higher diagnostic accuracy with limited training data; Zhang et al. <sup>19</sup> used a deep full convolutional neural network (DFCNN) containing four pairs of convolutional pooling layer pairs to convert vibration signals into images as input; Choudhary et al. <sup>8</sup> proposed a fault diagnosis method for rotating machinery bearings combining CNN and thermal images, using various fault conditions explored the availability of thermal imaging in bearing fault diagnosis; Xu et al. <sup>20</sup> proposed a rolling bearing fault diagnosis model based on online transfer convolutional neural network (OTCNN) with pre-trained network model and source domain features. AE (Autoencoder) is an unsupervised approach to deep learning. ­In <sup>21</sup>, the maximum correlation entropy was used as the loss function of the deep autoencoder and the critical parameters of the deep autoencoder were optimized to fit the signal characteristics using an artificial fish swarm algorithm; Wang et al. <sup>22</sup> used a Gaussian radial basis kernel function and acoustic emission method for fault diagnosis of bearings with high diagnostic accuracy and applicability; Shao et al. <sup>23</sup> proposed an ensemble deep autoencoder for intelligent fault diagnosis of rolling bearings (EDAEs) method for unsupervised feature learning from measured vibration signals; similar ­to <sup>24–26</sup> also improved on SAEs (Stacked Autoencoders) for fault diagnosis of bearings, both with improved detection results compared to traditional SAEs; Zhang et al. <sup>27</sup> proposed a semi-supervised learning method based on a depth generating model of variational autoencoder (VAE), The VAE generation function is used to improve the classification performance when only a tiny portion of the data has labels; Cui et al. <sup>28</sup> proposed a rolling bearing fault detection and classification method combining feature distance stacked autoencoder (FD-SAE) and support vector machines by organically combining machine learning and deep learning methods; Shao et al. <sup>29</sup> used Morlet wavelet activation function to establish an accurate non-smooth vibration data based on stacked autoencoder with an accurate nonlinear mapping between the original non-stationary vibration data and various fault states using Morlet wavelet activation function; Ma et al. <sup>30</sup> applied the weak magnetic detection method to rolling bearing whole life cycle monitoring with an improved variational autoencoder; Li et al. <sup>31</sup> proposed a unified framework combining predictive generative denoising autoencoder (PGDAE) and deep coral network (DCN). DBN (Deep Belief Network) is a simple combination of unsupervised networks. Chen and ­Li <sup>32</sup> first applied deep belief network to bearing fault diagnosis and proposed a multi-sensor feature fusion diagnosis method for bearing faults based on stacked autoencoder and deep belief network; Hoang et al. <sup>33</sup> automatically extracted bearing fault features from signals by DBN and then used Dempster-Shafer evidence theory combined with information from different sensors to predict bearing fault types; Liang et al. <sup>34</sup> implemented a four-layer DBN that processes sensor data through multiple DBNs for feature extraction; Xu et al. <sup>35</sup> combined clustering model affinity propagation (AP) with a DBN containing multiple hidden layers for fault diagnosis; Yu et al. <sup>36</sup> combined maximum overlap discrete wavelet packet transform (MODWPT) and deep belief network methods to analyze rolling bearing fault features and identify fault states; Zhu et al. <sup>37</sup> used principal component analysis to extract fault features and then used DBN for bearing fault diagnosis; Gao et al. <sup>38</sup> focused on the structure and momentum of neural networks and used summary optimization algorithm to optimize the network structure of DBN; Niu et al. <sup>39</sup> used particle swarm optimization (PSO) and adaptive training strategy to improve DBN to achieve higher accuracy and faster convergence speed. In addition to CNN, AE and DBN, some common deep learning methods have also been applied to bearing fault diagnosis. For ­example <sup>40–42</sup>, used generative adversarial networks and their variants for bearing fault diagnosis; with the birth of LSTM (Long Short Term Memory network), ­References <sup>43–45</sup> improved RNN (Recurrent Neural Network) and applied it to bearing fault diagnosis; and Refs. <sup>46,47</sup> proposed a bearing fault diagnosis method with higher diagnostic accuracy based on reinforcement learning. In recent years, researchers have borrowed ideas from convolutional networks, recurrent networks, and deep autoencoders to define and design neural network structures for processing graph data, and graph neural networks have come into being, but up to now, there is almost no research related to the application of graph neural networks to bearing fault diagnosis. Model Among the collected bearing vibration signals, there are normal vibration signals and faulty vibration signals. The vibration signals are converted into nodes in the graph by means of data slicing and feature transformation. This converts the fault detection of bearings into a node classification task in machine learning. For the problem that early bearing fault signals are weak and difficult to distinguish from normal signals, we propose a graph neural network-based bearing fault detection method (GNNBFD). This method contains five main parts, which are: (1) dataset process, (2) construct graph, (3) graph neural network, (4) ensemble, and (5) outlier score. In this section, we will describe each part of the method in detail. Figure 1 represents the detection process of GNNBFD algorithm. Dataset process. Since it is more difficult for neural networks to extract features from the original dataset, the dataset needs to be processed first to improve the detection accuracy of the algorithm. The processing of the dataset consists of two main steps: (1) slicing the dataset; (2) feature transformation. The flow chart of dataset process are shown in Fig. 2. _Slice and dice the dataset._ The data set for bearing fault detection is usually _N_ *1 of time-series data, and the data set is sliced in a segment of 300 data points, after which the original data is transformed into a matrix of 300*( _N_ /300). The transformed data set contains a total of _N_ /300 subsamples, and each subsample consists of 300 data points. It is worth noting that our slicing method for the dataset is obtained using a non-overlapping moving window. _Feature transformation._ For each subsample, 23 features in the time and frequency domains are calculated and used as input to the subsequent model. Based on Table 1, the index is calculated for each sample. Four steps are required. (1) Nine time domain indexes are calculated as follows: I=[I1, I2, I3, I4, I5, I6, I7, I8, I9] (1) (2) _E_ WPD is obtained by calculating WPD energy (parameters _j_ = 3 and wavelet Db20). (2) WWPD= EWPD <sup>1</sup> <sup>, E</sup> WPD <sup>2</sup> <sup>, E</sup> WPD <sup>3</sup> <sup>, E</sup> WPD <sup>4</sup> <sup>, E</sup> WPD <sup>5</sup> <sup>, E</sup> WPD <sup>6</sup> <sup>, E</sup> WPD <sup>7</sup> <sup>, E</sup> WPD <sup>8</sup> - �E <sup>1</sup> WPD <sup>1</sup> <sup>, E2</sup> WPD <sup>2</sup> <sup>, E3</sup> WPD <sup>3</sup> <sup>, E4</sup> WPD <sup>4</sup> <sup>, E5</sup> WPD <sup>5</sup> <sup>, E6</sup> WPD <sup>6</sup> <sup>, E7</sup> WPD <sup>7</sup> <sup>, E8</sup> WPD <sup>8</sup> Graph Relu Relu Graph neural network The data of output layer Data collection sensors input input Construct Base detectors Graph Integration of the outliers determined by each detector Outlier Scoer Feature conversion _X_ 11 _X_ 21 _X_ 31 ... _X_ _X_ 12 _X_ 22 ... ... _X_ _X_ 11 _X_ 21 _X_ 31 ... _X_ _m_ 1 _X_ 12 _X_ 22 ... ... _X_ _m_ 2 ... ... ... ... ... ... ... _X_ _ij_ ... ... _X_ 1 _d_ _X_ 2 _d_ _X_ 3 _d_ ... _X_ _md_ 11 21 31 _m_ 1 12 _X_ 22 ... ... _X_ _m_ 2 _m_ 1 _m_ 2 ... ... _X_ _ij_ ... _X_ 1 _d_ _X_ 2 _d_ _X_ 3 _d_ ... _X_ _ij_ 1 _d_ 2 _d_ 3 _d_ ... _md_ 1 _d_ 2 _d_ 3 Tabular data Figure 1. Flow chart of bearing fault detection based on graph neural network. ### Raw data Slicing the raw data Figure 2. Flow chart of data process. <u>Indexes</u> <u>Formulas</u> Tabular dataset X Feature transformation 300 23 rows rows 1. Standard deviation I1 = ~~<u>�</u>~~ <u>�nN=1</u> <sup>(x(n) −</sup> <sup><u>x)2/N</u></sup> <u>2. Peak</u> I2 = max |x(n)| <u>3. Skewness4. Kurtosis</u> I3 = <sup><u>�</u></sup> n <sup>N</sup> n= 1 n <sup>N</sup> n <sup>N</sup> ==11 <sup>((xx((nn)) − −</sup> <sup><u>xx))34/(/(NN</u></sup> <sup>−−</sup> <sup>11))II</sup> 11 <sup>34</sup> <u>4. Kurtosis</u> II34 == <sup><u>��</u></sup> n <sup>N</sup> n <sup>N</sup> ==11 <sup>((xx((nn)) − −</sup> <sup><u>xx))34/(/(NN</u></sup> <sup>−−</sup> <sup>11))II</sup> 11 <sup>34</sup> 5. Root mean square 5. Root mean square I5 = ~~<u>�</u>~~ <u>�nN=1</u> <sup>x(n)2/N</sup> ~~<u>�</u>~~ <u>�nN=1</u> <sup>x(n)2/N</sup> 6. Crest factor I6 = I2/ 7. Square I7 = I2/ <u>�2</u> ~~√~~ x(n)/N / n=1 <sup>|x(n)|/N</sup> <u>��N</u> 8. Shape factor I8 = ~~<u>�</u>~~ N <sup><u>�N</u></sup> n n=1 <u>��N</u> <sup>N</sup> n=1 <sup>x(n)2/ �</sup> n <sup>N</sup> = n=1 <sup>|x(n)|</sup> <u>�</u> 9. Impulse factor I9 = max |x(n)|/ 2 10. WPD energy11. EEMD energy II1011 == <sup><u>��N</u></sup> i <sup>N</sup> n= i=0 <sup>N</sup> i=1 <sup>|xi(n)|2/ �2j−1</sup> 2 i=0 <u>�nN=1</u> <sup>|xi(n)|</sup> i=1 <sup>N</sup> n=1 <sup>|IMFi(n)|2/ �NI</sup> i=1 2 <u>�nN=1</u> <sup>|IMFi(n)|</sup> Table 1. Indexes and the calculation formulas. _x_ (n)and x denote the data sequence and mean of the data sequence, respectively; _N_ is the number of the data points. _xi_ ( _n_ ) is the decomposition coefficient sequence of the ith ( _i_ = 0, 1,…, ­2 <sup>_j_</sup> - 1, _j_ is the WPD decomposition level) frequency band using WPD; _IMFi_ ( _n_ ) is the _i_ th data sequence after EEMD, and _NI_ is the decomposition level using EEMD. (3) EEMD energy is calculated to obtain a dataset as follows: �E <sup>1</sup> EEMD <sup>1</sup> <sup>, E2</sup> EEMD <sup>2</sup> <sup>, E3</sup> EEMD <sup>3</sup> <sup>, E4</sup> EEMD <sup>4</sup> <sup>, E5</sup> EEMD <sup>5</sup> <sup>, E6</sup> EEMD <sup>6</sup> WEEMD= EEEMD <sup>1</sup> <sup>, E</sup> EEMD <sup>2</sup> <sup>, E</sup> EEMD <sup>3</sup> <sup>, E</sup> EEMD <sup>4</sup> <sup>, E</sup> EEMD <sup>5</sup> <sup>, E</sup> EEMD <sup>6</sup> (3) - (4) _I_, _WWPD_, _WEEMD_ are combined into a dataset as follows: X = [I, WWPD, WEEMD] (4) The feature transformation of the sliced dataset reduces the redundant information of the subsamples and can effectively reduce the computational effort of the subsequent model. The extracted 23 time-domain and frequency-domain features can adequately reflect the information contained in the samples and facilitate further processing of the subsequent model. Construct graph. Since the subsamples processed by Section “Dataset process” are independent of each other, there is no interconnectivity between the subsamples. Traditional deep learning methods would input the subsamples directly into the model for training, but this method does not consider the correlation between the subsamples. For this reason, we propose a method for constructing correlations between subsamples, called construct graph. Construct graph mainly considers the similarity between subsamples, and the higher the similarity, the greater the weight of the connection between them. Construct graph consists of (1) calculating the similarity between subsamples, (2) assigning weights, and (3) outputting the graph. The flow chart of construct graph are show in Fig. 3. _Similarity._ Let _X_ = { _X_ 1, _X_ 2, _X_ 3…, _Xm_ } indicate the processed dataset, where _Xi_ ≤ _Xi_ 1, _Xi_ 2, _Xi_ 3…. _Xid_ - indicates a subsamples in _X_, and _d_ indicates the dimension of _X_ . _Xid_ indicates the value of subsamples _Xi_ in the _d_ th dimension. We use the normalized Euclidean distance as a measure of similarity between subsamples. _Dist_ ( _xi_, _xj_ ) represents the similarity between subsamples _xi_ and _xj_ and is calculated as shown in the following equation: Dist�xi, xj� = (xi − xj)V <sup>−1</sup> (xi − xj)′ (5) �xi, xj - = (xi − xj)V <sup>−1</sup> (xi − xj)′ where _V_ is the _n_ -by _n_ diagonal matrix whose _j_ th diagonal element is _xi_ 2, where _xj_ is a vector of scaling factors for each dimension. When the value between _Dist_ ( _xi_, _xj_ ) is larger, it means that the similarity between two objects is higher. _Assigning weights._ First, the top _k_ subsamples with the highest similarity to _xi_ subsamples are selected, and they form the set of neighbors of _xi_, which is denoted as _Nk_ ( _xi_ ). Then calculate the weights between these _k_ subsamples and _xi_, which are calculated as shown in the following equation. , Xj ∈ Nk(Xi)    <u>Dist(Xi, Xj)</u> j�=k1 Dist(Xi, Xj) W(Xi, Xj) =  �k Dist(Xi, Xj) (6) 0, Xj ∈/ Nk(Xi) _Output graph._ By calculating the similarity and assigning weights in the first two steps, we can connect the subsamples to each other. If the weights between subsamples are greater than 0, there is a connected edge between them; otherwise there is no connection between them. The subsamples are connected to each other to form the graph, and we represent the constructed graph by the adjacency matrix _A_ . ��������� A= ��������� 1 W(X2, X1) ... ... W(Xm, X1) W(X1, X2) 1 ... ... W(Xm, X2) ... ... ... ... ... ... ... W(Xi, Xj) ... ... W(X1, Xm) W(X2, Xm) ... ... 1 The values of the diagonal elements in the adjacency matrix _A_ are all 1, which indicates that the subsample itself is connected to itself. In this way, the feature information of the subsample itself can be effectively prevented from being lost during the training process of the subsequent model. Graph neural network. Traditional neural network structures such as convolutional neural networks, recurrent neural network, etc. receive data in Euclidean space as input, and they cannot handle data structures in non-Euclidean space, such as graphs. Therefore, we will use graph neural networks to handle graph data. GNN a framework to learn directly from graph structured data using deep learning. We use a recurrent neural structure to propagate the neighbor information until reach a stable immobility point to learn the representation of the target node, that is facilitate the subsequent fault detection task. After feature extraction by the graph neural network, each graph node contains not only its own information, but also the feature information of its neighbors. Our forward model then takes the simple form: Graph neural network. Traditional neural network structures such as convolutional neural networks, recurrent neural network, etc. receive data in Euclidean space as input, and they cannot handle data structures in non-Euclidean space, such as graphs. Therefore, we will use graph neural networks to handle graph data. GNN a framework to learn directly from graph structured data using deep learning. Tabular dataset _X_ Figure 3. Flow chart of construct graph. Assigning weights <u>Output graph</u> Z = f (X, A) = ReLU((ReLU(XAW <sup>(0)</sup> - b <sup>(0)</sup> )AW <sup>(1)</sup> - b <sup>(1)</sup> ) (7) Here, W ∈ R <sup>D×H</sup> is an input-to-hidden weight matrix for a hidden layer with _H_ feature maps, and b ∈ R <sup>H</sup> is an input-to-hidden biases matrix. The GNN weights _W_ <sup>(0)</sup>, _W_ <sup>(1)</sup> and biases _b_ <sup>(0)</sup>, _b_ <sup>(1)</sup> are trained using the gradient descent. As shown in Fig. 4, the GNN model is based on an information propagation mechanism, where each node exchanges information (propagates) with other nodes through continuous iterative updates to reach a stable state. When the information flow of the whole graph smooth’s out, each node has information about itself and its neighboring nodes. Ensemble. In this paper, we combine the detection of Z-matrices using multiple outlier detection algorithms, a process called ensemble. Each subsample of the Z matrix output by the GNN network contains not only its own eigenvalues, but also those of its neighbors. Inputting the Z-matrix into the outlier detection algorithm for detection helps to maximize the separation of normal objects from outliers in the dataset. We use three classical outlier detection algorithms, LOF (Local Outlier Factor), KNN (K-Nearest Neighbor), and AE (Autoencoder), to detect the Z matrix. LOF is the classical density-based outlier detection algorithm, KNN is the distance-based outlier detection algorithm, and AE is the neural network-based outlier detection algorithm. Different types of outlier detection algorithms focus on detecting outliers with different distributions. Combining the above three types of algorithms can maximize the robustness of GNNBFD. Meanwhile, LOF, KNN, and AE are all unsupervised outlier detection algorithms, and the first two do not require training process. When training the AE algorithm, we set its learning rate to 0.0001, the hidden layer depth of the network to three layers, and the Adam optimizer is used for back propagation. Each algorithm eventually outputs an outlier value for each subsample in the Z matrix. The outlier value indicates the probability that the subsample is a faulty sample, and the higher the outlier value, the more likely the sample is a faulty sample, and vice versa. Figure 4. The structure of GNN. Outlier score (OS). We define the outlier value of the _i_ th subsample as Outlier Score ( _OS_ ), _OS_ is calculated as shown in the following equation: m j�=1 OFj j�=1 (8) OSi = m In the above equation, _OFj_ denotes the outlier factor assigned to the _i_ th subsample by the _j_ th outlier detection algorithm. _OSi_ denotes the average outlier score of the _i_ th subsample over the _m_ outlier detection algorithms. By averaging the values in this way, the misclassification rate of the algorithm is reduced and the reliability and robustness of the final detection results of the algorithm are improved. <u>Algorithm2</u> <u>Estimate the outlier score</u> Input : The matrix of outliers for each algorithm for subsamples in the dataset. _n_ (the number of outliers). <u>Output</u> <u>: The set of outliers</u> _<u>O</u>_ <u>.</u> 1. Use equation (8) to calculate the _OS_ of the object. 2. [value, index] = Sort( _OS_, ’descend’). 3. _O_ =index(1: _n_, :). <u>4. return</u> _<u>O</u>_ _<u>.</u>_ Experiments In this section, we will demonstrate the effectiveness of the proposed algorithm for bearing fault detection in detail in four parts. These four sections are: (a) introduction to the experimental environment and data set; (b) evaluation method and comparison algorithm; (c) experimental results and (d) effectiveness analysis. In (a) Introduction to the experimental environment and dataset, we describe in detail the experimental platform, hardware and software configurations, and the introduction and processing of the dataset; in (b) valuation method and comparison algorithm section, we use four evaluation metrics to measure the performance of each algorithm in a comprehensive manner. In (c) Experimental results, we report the final detection results of the algorithms in detail and analyze the reasons for them. In (d) effectiveness analysis, we verified the effectiveness of the GNNBFD algorithm using k-fold cross-validation. Experimental environment and dataset. The hardware environment for the experiments is an Intel(R) Core(TM) i7-7700 3.60 GHz CPU with 8 GB of RAM. The software side contains the platform and operating system required for the experiments, and we implemented the code required for the model using Matlab 2020, and the operating system is Windows 10 Professional. The dataset is the publicly available Case Western Reserve University (CWRU) dataset. The advantage of using a publicly available dataset is that it is easy for other researchers to reproduce our experimental results. The bearing type is SKF6250, bearing location is Drive-end, Sample frequency (Hz) is 12000 Hz and the motor speed (rpm) is 1797. We divided the collected experimental data into 3 groups, each group contains 4 states, which are: (1) 0.1778 mm inner race fault, 0.3556 mm inner race fault, 0.5334 mm inner race fault and normal base; (2) 0.1778 mm ball fault, 0.3556 mm ball fault, 0.5334 mm ball fault and normal base; (3) 0.1778 mm outer race fault, 0.3556 mm outer race fault, 0.5334 mm outer race fault and normal base. Figure 5 shows the normal bearing and the three faulty bearing states. Taking the first set of inner circle faults as an example, the normal sample contains a total of 240,000 data points and the faulty sample contains 120,000 data points. We divide the normal sample and the faulty sample into a sub-sample with 300 data points. Among the divided fault samples, 20 samples are randomly selected as outliers and form the first data set together with the normal objects. They were processed with the two data sets according to the same method, and thus three data sets were obtained, and the details of the data sets are summarized in Table 2. Figure 5. Normal and fault state of bearings ( a ) normal ( b ) inner race fault ( c ) outer race fault ( d ) ball fault. <u>Group 1</u> <u>Group 2</u> <u>Group 3</u> Fault diameter <u>(mm)</u> <u>Sample number</u> <u>Fault type</u> Fault diameter <u>(mm)</u> <u>Sample number</u> <u>Fault type</u> Fault diameter <u>(mm)</u> <u>Sample number</u> <u>Fault type</u> <u>Normal</u> <u>0</u> <u>800</u> <u>Normal</u> <u>0</u> <u>800</u> <u>Normal</u> <u>0</u> <u>800</u> <u>0.1778</u> <u>20</u> <u>0.1778</u> <u>20</u> <u>0.1778</u> <u>20</u> Inner race fault <u>Algorithms</u> <u>Positive</u> <u>True positive (TP)</u> <u>False negative (FN)</u> <u>Negative</u> <u>False positive (FP)</u> <u>True negative (TN)</u> Table 3. Confusion matrix. _k_ (number of nearest <u>neighbors)</u> <u>Learning rate</u> <u>Number of iterations</u> <u>Number of layers</u> <u>0.3556</u> <u>20</u> Ball fault <u>0.3556</u> <u>20</u> Outer race fault <u>0.3556</u> <u>20</u> <u>0.5334</u> <u>20</u> <u>0.5334</u> <u>20</u> <u>0.5334</u> <u>20</u> Table 2. Summary of datasets. Ball fault Outer race fault Evaluation methods and comparison algorithms. We use the receiver operating characteristic (ROC) curve and corresponding area under the curve (AUC), accuracy (ACC), detection rate (DR), and false alarm rate (FAR) to measure the detection performance. Higher AUC, ACC, and DR values and lower FAR indicate better performance. The calculation method of ACC, DR, FAR can be obtained from the confusion matrix in Table 3. <u>TP + TN</u> ACC = (9) TP + TN + FP + FN <u>TP</u> DR = (10) TP + FN <u>FP</u> FAR = (11) TN + FP We compare GNNBFD with five representative outlier detection algorithms. These algorithms are common types in the outlier detection field, and they are used as comparison algorithms in most of the related literature. They can be divided into five categories: (i) Neuron network-based, SO-GAAL (Single Objective Generative Adversarial Active Learning); (ii) Graph-based, CutPC (graph-based clustering method using noise cutting); (iii) Local outlier factor-based, LOF; (iv) Distance-based, KNN; (v) Isolation-based, IForest. The parameter settings are summarized in Table 4. Experiment results. Experimental results on real-world datasets are shown in Fig. 6. We adjust the parameters 10 different times for all algorithms and choose the best result among the 10 times as the evaluation of the final performance of the algorithm. Observing the experimental results, some interesting information can be found. <u>Predicted class</u> <u>True class</u> <u>Positive</u> <u>Negative</u> _xi_ (relative decrease in <u>density)</u> Number of isolation trees and subsample <u>size</u> minpts (number of points required to <u>form a cluster)</u> <u>GNNBFD</u> <u>2–100</u> <u>0.0001–0.002</u> <u>10–100</u> <u>3</u> <u>–</u> <u>–</u> <u>–</u> <u>SO-GAAL</u> <u>–</u> <u>0.0001–0.002</u> <u>10–100</u> <u>3</u> <u>–</u> <u>–</u> <u>–</u> <u>CutPC</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>LOF</u> <u>2–100</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>KNN</u> <u>2–100</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>IForest</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>100–256</u> Table 4. Parameter setting. ����� ����� ����� ��� ��� ��� ��� ��� ����� ����� ����� ����� ����� ����� ������ ����� ��� ��� ��� ��� ��� ��� ��� ��� ��� ��� ����� ���� ����� ����� ����� ����� ����� ��� ������ ������� ����� ��� ��� ������� ������ ��� ������ ������� ����� ��� ��� ������� ������ (a) AUC ��� ������ ������� ����� ��� ��� ������� ������ ��� �� �� �� �� ������ ������ ������ ������ ������ ������ ��� �� �� �� �� ��� �� �� �� �� ������ ������ ������ ������ ������ ������ ������ ������ ������ ������ ������ ������ ������ ������� ����� ��� ��� ������� ������ ������ ������� ����� ��� ��� ������� ������ (b) ACC ��� �� ������ ������� ����� ��� ��� ������� ������ �� ��� �� �� �� �� �� ��� �� �� �� �� �� ����� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� ������ ������� ����� ��� ��� ������� ������ ������ ������� ����� ��� ��� ������� ������ (c) DR ������ ������� ����� ��� ��� ������� ������ ��� ����� ��� ���� ��� ��� ��� ��� ��� ��� ��� ��� ����� ���� ���� ����� ��� ����� ����� ����� ��� ��� ��� ���� ����� ����� ��� ��� ��� ��� ��� ��� ������ ������� ����� ��� ��� ������� ������ Figure 6. Experimental results. ������ ������� ����� ��� ��� ������� ������ (d) FAR ��� ������ ������� ����� ��� ��� ������� ������ (1) Among the four evaluation methods, the GNNBFD achieves the best results. Compared with the next best IForest algorithm, GNNBFD improves the AUC value by 6.4% on average, which proves the validity of the proposed algorithm. (2) In the Group2 dataset, most algorithms have poor detection results. This is due to the weak fault vibration signal of the ball and the low degree of deviation of the normal signal from the fault signal. Since the GNNBFD method can learn the broader neighborhood information of the object, which enables the fault <u>k-fold</u> <u>Group 1</u> <u>Group 2</u> <u>Group 3</u> <u>1</u> <u>0.986</u> <u>0.971</u> <u>0.994</u> <u>2</u> <u>0.982</u> <u>0.977</u> <u>0.993</u> <u>3</u> <u>0.974</u> <u>0.982</u> <u>0.988</u> <u>4</u> <u>0.991</u> <u>0.963</u> <u>0.989</u> <u>5</u> <u>0.987</u> <u>0.981</u> <u>0.991</u> <u>Avg</u> <u>0.984</u> <u>0.975</u> <u>0.991</u> Table 5. K-fold cross validation. signal with low degree of deviation to produce a greater degree of deviation after the graph neural network embedding. (3) In the process of converting the vibration signals into graphs, connectivity relations are constructed for the objects. After training with the graph neural network, the low-dimensional embedding of the objects contains more valuable information and changes the distribution pattern from the original one. Therefore, the base detector is able to detect the faulty and normal objects more accurately when performing detection. The experimental results prove that the GNNBFD is effective and feasible. Effectiveness analysis. K-fold cross-validation is a commonly used technique for evaluating the performance of machine learning models. By using K-fold cross-validation, a more accurate estimate of a model’s performance can be obtained. Furthermore, K-fold cross-validation can help detect whether a model is over fitting, as it enables evaluation of the model on a larger amount of data. To analyze the effectiveness of the GNNBFD algorithm proposed in this paper, we performed K-fold crossvalidation. Specifically, we performed a fivefold cross-validation on each of the three datasets. Each time, 150 normal objects and 30 faulty objects were selected from each dataset, and the performance of the proposed algorithm was measured by the AUC value. The experimental results are shown in Table 5. To ensure that when performing fault detection, GNNBFD is blind to the samples. We used random sampling and randomly sorted these samples. Observing the experimental results in Table 5, it can be seen that the GNNBFD algorithm still has good detection results with a small number of samples. The average AUC values in the three datasets are 0.984, 0.975 and 0.991, it proves that the proposed algorithm can effectively detect the bearing fault signals. Conclusion In this paper, a graph neural network-based bearing fault detection method is proposed to improve the accuracy of bearing fault detection. The graph neural network has a very powerful feature mapping capability, which can fit the feature values of the sample and its neighbors simultaneously. The samples outputted by the GNN network after mapping can be more easily separated from normal samples and fault samples by the base detector algorithm. Considering the higher requirements for algorithm robustness in real production environments, we use an integrated technique to synthesize the detection results of the base detector to make the GNNBFD algorithm more stable and efficient. Experiments on publicly available datasets show that the GNNBFD algorithm can successfully detect most of the fault samples in the dataset. In the future work, we will mainly study how to improve the detection performance of the GNNBFD with a deeper network structure. Data availability The datasets generated and/or analyzed during the current study are available in the Case Western Reserve [University (CWRU) repository, https://​github.​com/​yyxyz/​CaseW​ester​nRese​rveUn​ivers​ityDa​ta.](https://github.com/yyxyz/CaseWesternReserveUniversityData) Received: 30 October 2022; Accepted: 27 March 2023 References 1. Gangsar, P. & Tiwari, R. Signal based condition monitoring techniques for fault detection and diagnosis of induction motors: A state-of-the-art review. _Mech. Syst. Signal Process._ 144, 106908 (2020). 2. Zhang, Y. _et al._ Fault diagnosis of rotating machinery based on recurrent neural networks. _Measurement_ 171, 108774 (2021). 3. Wang, Z. _et al._ Mahalanobis semi-supervised mapping and beetle antennae search based support vector ma-chine for wind turbine rolling bearings fault diagnosis. _Renew. Energy_ 155, 1312–1327 (2020). 4. Zhao, X., Jia, M. & Lin, M. Deep Laplacian autoencoder and its application into imbalanced fault diagnosis of rotating machinery. _Measurement_ 152, 107320 (2020). 5. Jiao, J. _et al._ A comprehensive review on convolutional neural network in machine fault diagnosis. _Neurocomputing_ 417, 36–63 (2020). 6. Chen, X., Zhang, B. & Gao, D. Bearing fault diagnosis base on multi-scale CNN and LSTM model. _J. Intell. Manuf._ 32 (4), 971–987 (2021). 7. Xu, X. _et al._ Application of neural network algorithm in fault diagnosis of mechanical intelligence. _Mech. Syst. Signal Process._ 141, 106625 (2020). 8. Choudhary, A., Mian, T. & Fatima, S. Convolutional neural network based bearing fault diagnosis of rotating machine using thermal images. _Measurement_ 176, 109196 (2021). 9. Iqbal, M. & Madan, A. K. CNC machine-bearing fault detection based on convolutional neural network using vibration and acoustic signal. _J. Vib. Eng. Technol._ 10, 1613–1631 (2022). 10. Du, X. & Yu, J. _Graph Neural Network-based Early Bearing Fault Detection_ [. http://​arxiv.​org/​abs/​2204.​11220 (2022).](http://arxiv.org/abs/2204.11220) 11. Niazian, M. & Niedbała, G. Machine learning for plant breeding and biotechnology. _Agriculture_ 10 (10), 436 (2020). 12. Tao, Q. _et al._ Piecewise linear neural networks and deep learning. _Nat. Rev. Methods Primers_ 2 (1), 1–17 (2022). 13. Du, X. _et al._ Graph autoencoder-based unsupervised outlier detection. _Inf. Sci._ 608, 532–550 (2022). 14. Janssens, O. _et al._ Convolutional neural network based fault detection for rotating machinery. _J. Sound Vib._ 377, 331–345 (2016). 15. Guo, X., Chen, L. & Shen, C. Hierarchical adaptive deep convolution neural network and its application to bearing fault diagnosis. _Measurement_ 93, 490–502 (2016). 16. Xia, M. _et al._ Fault diagnosis for rotating machinery using multiple sensors and convolutional neural networks. _IEEE/ASME Trans._ _Mechatron._ 23 (1), 101–110 (2017). 17. Zhang, W., Li, X. & Ding, Q. Deep residual learning-based fault diagnosis method for rotating machinery. _ISA Trans._ 95, 295–305 (2019). 18. Meng, Z. _et al._ Data segmentation and augmentation methods based on raw data using deep neural networks approach for rotating machinery fault diagnosis. _IEEE Access_ 7, 79510–79522 (2019). 19. Zhang, W. _et al._ Fault state recognition of rolling bearing based fully convolutional network. _Comput. Sci. Eng._ 21 (5), 55–63 (2018). 20. Xu, Q. _et al._ Fault diagnosis of rolling bearing based on online transfer convolutional neural network. _Appl. Acoust._ 192, 108703 (2022). 21. Shao, H. _et al._ A novel deep autoencoder feature learning method for rotating machinery fault diagnosis. _Mech. Syst. Signal Process._ 95, 187–204 (2017). 22. Wang, F. _et al_ . A deep neural network based on kernel function and auto-encoder for bearing fault diagnosis. In _2018 IEEE Inter-_ _national Instrumentation and Measurement Technology Conference (I2MTC)_, 1–6. (IEEE, 2018). 23. Shao, H. _et al._ A novel method for intelligent fault diagnosis of rolling bearings using ensemble deep autoencoders. _Mech. Syst._ _Signal Process._ 102, 278–297 (2018). 24. Haidong, S. _et al._ Intelligent fault diagnosis of rolling bearing using deep wavelet autoencoder with extreme learning machine. _Knowl. Based Syst._ 140, 1–14 (2018). 25. Jia, F. _et al._ A neural network constructed by deep learning technique and its application to intelligent fault diagnosis of machines. _Neurocomputing_ 272, 619–628 (2018). 26. Pan, H. _et al._ Rolling bearing fault diagnosis based on stacked autoencoder network with dynamic learning rate. _Adv. Mater. Sci._ _Eng._ 2020, 1–12 (2020). 27. Zhang, S. _et al_ . _Semi-supervised Learning of Bearing Anomaly Detection via Deep Variational Autoencoders_ [. http://​arxiv.​org/​abs/​](http://arxiv.org/abs/1912.01096) [1912.​01096 (2019).](http://arxiv.org/abs/1912.01096) 28. Cui, M. _et al._ Fault diagnosis of rolling bearings based on an improved stack autoencoder and support vector machine. _IEEE Sens._ _J._ 21 (4), 4927–4937 (2020). 29. Shao, H. _et al._ Modified stacked autoencoder using adaptive Morlet wavelet for intelligent fault diagnosis of rotating machinery. _IEEE/ASME Trans. Mechatron._ 27 (1), 24–33 (2021). 30. Ma, J., Li, C. & Zhang, G. Rolling bearing fault diagnosis based on deep learning and autoencoder information fusion. _Symmetry_ 14 (1), 13 (2021). 31. Li, X. _et al._ A unified framework incorporating predictive generative denoising autoencoder and deep coral network for rolling bearing fault diagnosis with unbalanced data. _Measurement_ 178, 109345 (2021). 32. Chen, Z. & Li, W. Multi-sensor feature fusion for bearing fault diagnosis using sparse autoencoder and deep belief network. _IEEE_ _Trans. Instrum. Meas._ 66 (7), 1693–1702 (2017). 33. Hoang, D. T. & Kang, H. J. Deep belief network and dempster-shafer evidence theory for bearing fault diagnosis. In _2018 IEEE_ _27th international symposium on industrial electronics (ISIE)_, 841–846 (IEEE, 2018). 34. Liang, T. _et al._ Bearing fault diagnosis based on improved ensemble learning and deep belief net-work. _J. Phys. Conf. Ser._ 1074 (1), 012154 (2018). 35. Xu, F. & Tse, P. W. Combined deep belief network in deep learning with affinity propagation clustering algorithm for roller bearings fault diagnosis without data label. _J. Vib. Control_ 25 (2), 473–482 (2019). 36. Yu, X. _et al_ . Rolling bearing fault feature extraction and diagnosis method based on MODWPT and DBN. In _2019 11th International_ _Conference on Wireless Communications and Signal Processing (WCSP)_, 1–7 (IEEE, 2019). 37. Zhu, J. _et al._ Intelligent bearing fault diagnosis using PCA–DBN framework. _Neural Comput. Appl._ 32 (14), 10773–10781 (2020). 38. Gao, S. _et al._ Rolling bearing fault diagnosis based on SSA optimized self-adaptive DBN. _ISA Trans._ 128, 485–502 (2022). 39. Niu, G. _et al._ An optimized adaptive PReLU-DBN for rolling element bearing fault diagnosis. _Neurocomputing_ 445, 26–34 (2021). 40. Suh, S. _et al._ Generative oversampling method for imbalanced data on bearing fault detection and diagnosis. _Appl. Sci._ 9 (4), 746 (2019). 41. Zhou, F. _et al._ Deep learning fault diagnosis method based on global optimization GAN for unbalanced data. _Knowl. Based Syst._ 187, 104837 (2020). 42. Liu, J., Zhang, C. & Jiang, X. Imbalanced fault diagnosis of rolling bearing using improved MsR-GAN and feature enhancement driven CapsNet. _Mech. Syst. Signal Process._ 168, 108664 (2022). 43. Guo, L. _et al._ A recurrent neural network based health indicator for remaining useful life prediction of bearings. _Neurocomputing_ 240, 98–109 (2017). 44. Liu, H. _et al._ Fault diagnosis of rolling bearings with recurrent neural network-based autoencoders. _ISA Trans._ 77, 167–178 (2018). 45. Shenfield, A. & Howarth, M. A novel deep learning model for the detection and identification of rolling element-bearing faults. _Sensors_ 20 (18), 5112 (2020). 46. Wang, R. _et al._ A reinforcement neural architecture search method for rolling bearing fault diagnosis. _Measurement_ 154, 107417 (2020). 47. Wang, S. _et al._ Few-shot rolling bearing fault diagnosis with metric-based meta learning. _Sensors_ 20 (22), 6437 (2020). Acknowledgements This research was supported by the National Natural Science Foundation of China under Grants 71961029 and Key R&D of intelligent manufacturing technology and its application in Xinjiang Uygur Autonomous Region (Project No.: 2020B02013). Author contributions L.X. and X.Y. wrote the main manuscript text, L.X. and X.Y. prepared all the figures. X.Y. and X.Y. conducted a thorough review of the manuscript. All authors reviewed the manuscript. Competing interests The authors declare no competing interests. Additional information Correspondence and requests for materials should be addressed to L.X. 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) 2023

섹션 본문 89문단 · 51,527자

(제목 없음)

1Bearings are very important components in mechanical equipment, and detecting bearing failures helps ensure healthy operation of mechanical equipment and can prevent catastrophic accidents. Most of the well-established detection methods do not take into account the correlation between signals and are difficult to accurately identify those fault samples that have a low degree of failure. To address this problem, we propose a graph neural network-based bearing fault detection (GNNBFD) method. The method first constructs a graph using the similarity between samples; secondly the constructed graph is fed into a graph neural network (GNN) for feature mapping, and the samples outputted by the GNN network fuse the feature information of their neighbors, which is beneficial to the downstream detection task; then the samples mapped by the GNN network are fed into base detector for fault detection; finally, the results determined by the integrated base detector algorithm are determined, and the top n samples with the highest outlier scores are the faulty samples. The experimental results with five state-of-the-art algorithms on publicly available datasets show that the GNNBFD algorithm improves the AUC by 6.4% compared to the next best algorithm, proving that the GNNBFD algorithm is effective and feasible.OPEN

2With the rapid development of science and technology, mechanical equipment is widely used in modern industry. And the health monitoring technology of mechanical systems is also an essential issue in modern industry 1 . Rotating machinery is frequently used in industrial machinery and equipment, and its condition detection and fault diagnosis are of great significance in ensuring the reliability and safety of machinery in modern industrial systems 2 . Rolling bearing is a crucial component of rotating machinery. Due to its particular working environment, rolling bearing is prone to accidental failure and damage under high speed and heavy load as well as repeated high-temperature con-tact, which will directly affect the whole machine's performance, thus leading to serious safety hazards and high maintenance costs 3 . Bearing failure is the most common type of failure in rotating machinery systems, and according to statistics, 30-40% of rotating machinery failures are caused by bearing defects 4 . Therefore, efficiently intelligent fault diagnosis techniques for rolling bearings have been a vital research element in mechanical failures in the past decades.

3Bearing fault diagnosis technology has undergone three stages: manual experience, signal processing, and intelligence 5 . Traditional mechanical fault diagnosis methods and theories can play a good role for simple systems with a single process, single fault, and gradual fault, but for multi-process, multi-fault, and sudden fault, as well as complex, large, highly automated large equipment and systems have more significant limitations 6 . Nowadays, with the development of sensors and computer systems, the amount of data describing the status of mechanical equipment has increased exponentially. Artificial intelligence methods can extract hidden fault features from these large-scale data sets and learn new fault types, significantly improving fault diagnosis accuracy while reducing the labor cost and diagnostic uncertainty of traditional methods [7][8][9][10] . However, the deep learning-based method considers the objects to be independently distributed and cannot take into account the correlation between objects during the training process, so it is still difficult to identify some of the early fault signals. In this paper, we propose a graph neural network-based bearing fault detection method in order to improve the accuracy of bearing fault detection.

4Our main contributions are summarized as follows:

51. We convert the time-series signal of vibration into non-Euclidean structured graph data by methods such as feature transformation and similarity measurement. 2. A method for extracting features of vibration signals using graph neural networks is proposed. By feeding the vibration signal with the constructed graph into the graph neural network for training, the object after the training is completed can contain a wider range of neighborhood information.

Related work

6Up to now, a lot of research has been conducted on the intelligent diagnosis of bearing faults. Early widely used machine learning algorithms, such as PCA (Principal Component Analysis), SVM (Support Vector Machine), KNN (K-Nearest Neighbor), etc., have achieved satisfactory results in intelligent diagnosis, and the classification accuracy has improved significantly compared with the traditional methods. However, classical machine learning algorithms cannot learn nonlinear relationships 11 , and it isn't easy to find suitable shallow machine learning methods when there are highly complex and difficult to understand nonlinear relationships between input data (samples) and output data (labels). As a branch of machine learning, deep learning is highly capable of modeling nonlinearities with high flexibility and performs much better in dealing with realistic and complex problems. Therefore, deep learning has been introduced into bearing fault diagnosis to obtain a higher correct rate of fault diagnosis in complex environments 12,13 . Many deep learning-based bearing fault diagnosis algorithms have been proposed as deep learning evolves. CNN (Convolutional Neural Networks) is the most representative model of deep learning. Janssens et al. 14 was the first paper to apply convolutional neural networks to bearing fault diagnosis, using the spatial structure in the data to effectively capture the covariance of the frequency decomposition of accelerometer signals; to balance the training speed and accuracy of the model, Guo et al. 15 improved the traditional convolutional neural networks model by adding adaptive learning rate and momentum components to the weight update process; Xia et al. 16 in the training process of convolutional neural networks both temporal and spatial information of the raw data from multiple sensors are considered; To deal with mechanical vibration signals with variable sequence length, Zhang et al. 17 proposed a bearing fault diagnosis method based on residual learning algorithm, and the whole network uses a 1-dimensional convolutional layer to obtain local sequence features of the data information stream; For data that are difficult to obtain labels in practical situations, Meng et al. 18 proposed a data enhancement technique, using deep convolutional neural network with residual learning algorithm as the main structure to obtain higher diagnostic accuracy with limited training data; Zhang et al. 19 used a deep full convolutional neural network (DFCNN) containing four pairs of convolutional pooling layer pairs to convert vibration signals into images as input; Choudhary et al. 8 proposed a fault diagnosis method for rotating machinery bearings combining CNN and thermal images, using various fault conditions explored the availability of thermal imaging in bearing fault diagnosis; Xu et al. 20 proposed a rolling bearing fault diagnosis model based on online transfer convolutional neural network (OTCNN) with pre-trained network model and source domain features. AE (Autoencoder) is an unsupervised approach to deep learning. In 21 , the maximum correlation entropy was used as the loss function of the deep autoencoder and the critical parameters of the deep autoencoder were optimized to fit the signal characteristics using an artificial fish swarm algorithm; Wang et al. 22 used a Gaussian radial basis kernel function and acoustic emission method for fault diagnosis of bearings with high diagnostic accuracy and applicability; Shao et al. 23 proposed an ensemble deep autoencoder for intelligent fault diagnosis of rolling bearings (EDAEs) method for unsupervised feature learning from measured vibration signals; similar to 24-26 also improved on SAEs (Stacked Autoencoders) for fault diagnosis of bearings, both with improved detection results compared to traditional SAEs; Zhang et al. 27 proposed a semi-supervised learning method based on a depth generating model of variational autoencoder (VAE), The VAE generation function is used to improve the classification performance when only a tiny portion of the data has labels; Cui et al. 28 proposed a rolling bearing fault detection and classification method combining feature distance stacked autoencoder (FD-SAE) and support vector machines by organically combining machine learning and deep learning methods; Shao et al. 29 used Morlet wavelet activation function to establish an accurate non-smooth vibration data based on stacked autoencoder with an accurate nonlinear mapping between the original non-stationary vibration data and various fault states using Morlet wavelet activation function; Ma et al. 30 applied the weak magnetic detection method to rolling bearing whole life cycle monitoring with an improved variational autoencoder; Li et al. 31 proposed a unified framework combining predictive generative denoising autoencoder (PGDAE) and deep coral network (DCN).

7DBN (Deep Belief Network) is a simple combination of unsupervised networks. Chen and Li 32 first applied deep belief network to bearing fault diagnosis and proposed a multi-sensor feature fusion diagnosis method for bearing faults based on stacked autoencoder and deep belief network; Hoang et al. 33 automatically extracted bearing fault features from signals by DBN and then used Dempster-Shafer evidence theory combined with information from different sensors to predict bearing fault types; Liang et al. 34 implemented a four-layer DBN that processes sensor data through multiple DBNs for feature extraction; Xu et al. 35 combined clustering model affinity propagation (AP) with a DBN containing multiple hidden layers for fault diagnosis; Yu et al. 36 combined maximum overlap discrete wavelet packet transform (MODWPT) and deep belief network methods to analyze rolling bearing fault features and identify fault states; Zhu et al. 37 used principal component analysis to extract fault features and then used DBN for bearing fault diagnosis; Gao et al. 38 focused on the structure and momentum of neural networks and used summary optimization algorithm to optimize the network structure of DBN; Niu et al. 39 used particle swarm optimization (PSO) and adaptive training strategy to improve DBN to achieve higher accuracy and faster convergence speed.

8In addition to CNN, AE and DBN, some common deep learning methods have also been applied to bearing fault diagnosis. For example [40][41][42] , used generative adversarial networks and their variants for bearing fault diagnosis; with the birth of LSTM (Long Short Term Memory network), References [43][44][45] improved RNN (Recurrent Neural Network) and applied it to bearing fault diagnosis; and Refs. 46 www.nature.com/scientificreports/ neural network structures for processing graph data, and graph neural networks have come into being, but up to now, there is almost no research related to the application of graph neural networks to bearing fault diagnosis.

Model

9Among the collected bearing vibration signals, there are normal vibration signals and faulty vibration signals. The vibration signals are converted into nodes in the graph by means of data slicing and feature transformation. This converts the fault detection of bearings into a node classification task in machine learning. For the problem that early bearing fault signals are weak and difficult to distinguish from normal signals, we propose a graph neural network-based bearing fault detection method (GNNBFD). This method contains five main parts, which are: (1) dataset process, (2) construct graph, (3) graph neural network, (4) ensemble, and (5) outlier score.

10In this section, we will describe each part of the method in detail. Figure 1 represents the detection process of GNNBFD algorithm.

Dataset process.

11Since it is more difficult for neural networks to extract features from the original dataset, the dataset needs to be processed first to improve the detection accuracy of the algorithm. The processing of the dataset consists of two main steps: (1) slicing the dataset; (2) feature transformation. The flow chart of dataset process are shown in Fig. 2.

12Slice and dice the dataset. The data set for bearing fault detection is usually N*1 of time-series data, and the data set is sliced in a segment of 300 data points, after which the original data is transformed into a matrix of 300*(N/300). The transformed data set contains a total of N/300 subsamples, and each subsample consists of 300 data points. It is worth noting that our slicing method for the dataset is obtained using a non-overlapping moving window.

13Feature transformation. For each subsample, 23 features in the time and frequency domains are calculated and used as input to the subsequent model. Based on Table 1, the index is calculated for each sample. Four steps are required.

14(1) Nine time domain indexes are calculated as follows:

15(2) E WPD is obtained by calculating WPD energy (parameters j = 3 and wavelet Db20).

16(1) I=[I 1 , I 2 , I 3 , I 4 , I 5 , I 6 , I 7 , I 8 , I 9 ]

17(2) (4) I, W WPD , W EEMD are combined into a dataset as follows:

18The feature transformation of the sliced dataset reduces the redundant information of the subsamples and can effectively reduce the computational effort of the subsequent model. The extracted 23 time-domain and frequency-domain features can adequately reflect the information contained in the samples and facilitate further processing of the subsequent model. Table 1. Indexes and the calculation formulas. x(n)and x denote the data sequence and mean of the data sequence, respectively; N is the number of the data points. x i (n) is the decomposition coefficient sequence of the ith (i = 0, 1,…, 2 j − 1, j is the WPD decomposition level) frequency band using WPD; IMF i (n) is the ith data sequence after EEMD, and NI is the decomposition level using EEMD. www.nature.com/scientificreports/ Construct graph. Since the subsamples processed by Section "Dataset process" are independent of each other, there is no interconnectivity between the subsamples. Traditional deep learning methods would input the subsamples directly into the model for training, but this method does not consider the correlation between the subsamples. For this reason, we propose a method for constructing correlations between subsamples, called construct graph. Construct graph mainly considers the similarity between subsamples, and the higher the similarity, the greater the weight of the connection between them. Construct graph consists of (1) calculating the similarity between subsamples, (2) assigning weights, and (3) outputting the graph. The flow chart of construct graph are show in Fig. 3.

EEMD energy

19Similarity. Let X = {X 1 , X 2 , X 3 …, X m } indicate the processed dataset, where X i ≤ X i1 , X i2 , X i3 …. X id > indicates a subsamples in X, and d indicates the dimension of X. X id indicates the value of subsamples X i in the dth dimension.

20We use the normalized Euclidean distance as a measure of similarity between subsamples. Dist (x i , x j ) represents the similarity between subsamples x i and x j and is calculated as shown in the following equation:

21where V is the n-by n diagonal matrix whose jth diagonal element is x i 2 , where x j is a vector of scaling factors for each dimension. When the value between Dist (x i , x j ) is larger, it means that the similarity between two objects is higher.

22Assigning weights. First, the top k subsamples with the highest similarity to x i subsamples are selected, and they form the set of neighbors of x i , which is denoted as N k (x i ). Then calculate the weights between these k subsamples and x i , which are calculated as shown in the following equation.

23Output graph. By calculating the similarity and assigning weights in the first two steps, we can connect the subsamples to each other. If the weights between subsamples are greater than 0, there is a connected edge between them; otherwise there is no connection between them. The subsamples are connected to each other to form the graph, and we represent the constructed graph by the adjacency matrix A.

24The values of the diagonal elements in the adjacency matrix A are all 1, which indicates that the subsample itself is connected to itself. In this way, the feature information of the subsample itself can be effectively prevented from being lost during the training process of the subsequent model.

Graph neural network.

25Traditional neural network structures such as convolutional neural networks, recurrent neural network, etc. receive data in Euclidean space as input, and they cannot handle data structures in non-Euclidean space, such as graphs. Therefore, we will use graph neural networks to handle graph data. GNN a framework to learn directly from graph structured data using deep learning.

26We use a recurrent neural structure to propagate the neighbor information until reach a stable immobility point to learn the representation of the target node, that is facilitate the subsequent fault detection task. After feature extraction by the graph neural network, each graph node contains not only its own information, but also the feature information of its neighbors. Our forward model then takes the simple form: www.nature.com/scientificreports/ Here, W ∈ R D×H is an input-to-hidden weight matrix for a hidden layer with H feature maps, and b ∈ R H is an input-to-hidden biases matrix. The GNN weights W (0) , W (1) and biases b (0) , b (1) are trained using the gradient descent.

27As shown in Fig. 4, the GNN model is based on an information propagation mechanism, where each node exchanges information (propagates) with other nodes through continuous iterative updates to reach a stable state. When the information flow of the whole graph smooth's out, each node has information about itself and its neighboring nodes.

28Ensemble. In this paper, we combine the detection of Z-matrices using multiple outlier detection algorithms, a process called ensemble. Each subsample of the Z matrix output by the GNN network contains not only its own eigenvalues, but also those of its neighbors. Inputting the Z-matrix into the outlier detection algorithm for detection helps to maximize the separation of normal objects from outliers in the dataset.

29We use three classical outlier detection algorithms, LOF (Local Outlier Factor), KNN (K-Nearest Neighbor), and AE (Autoencoder), to detect the Z matrix. LOF is the classical density-based outlier detection algorithm, KNN is the distance-based outlier detection algorithm, and AE is the neural network-based outlier detection algorithm. Different types of outlier detection algorithms focus on detecting outliers with different distributions. Combining the above three types of algorithms can maximize the robustness of GNNBFD. Meanwhile, LOF, KNN, and AE are all unsupervised outlier detection algorithms, and the first two do not require training process. When training the AE algorithm, we set its learning rate to 0.0001, the hidden layer depth of the network to three layers, and the Adam optimizer is used for back propagation.

30Each algorithm eventually outputs an outlier value for each subsample in the Z matrix. The outlier value indicates the probability that the subsample is a faulty sample, and the higher the outlier value, the more likely the sample is a faulty sample, and vice versa. www.nature.com/scientificreports/ Outlier score (OS). We define the outlier value of the ith subsample as Outlier Score (OS), OS is calculated as shown in the following equation:

31In the above equation, OF j denotes the outlier factor assigned to the ith subsample by the jth outlier detection algorithm. OS i denotes the average outlier score of the ith subsample over the m outlier detection algorithms. By averaging the values in this way, the misclassification rate of the algorithm is reduced and the reliability and robustness of the final detection results of the algorithm are improved.

32Algorithm2 Estimate the outlier score Input: The matrix of outliers for each algorithm for subsamples in the dataset. n (the number of outliers).

33Output: The set of outliers O.

Experiments

34In this section, we will demonstrate the effectiveness of the proposed algorithm for bearing fault detection in detail in four parts. These four sections are: (a) introduction to the experimental environment and data set; (b) evaluation method and comparison algorithm; (c) experimental results and (d) effectiveness analysis. In (a) Introduction to the experimental environment and dataset, we describe in detail the experimental platform, hardware and software configurations, and the introduction and processing of the dataset; in (b) valuation method and comparison algorithm section, we use four evaluation metrics to measure the performance of each algorithm in a comprehensive manner. In (c) Experimental results, we report the final detection results of the algorithms in detail and analyze the reasons for them. In (d) effectiveness analysis, we verified the effectiveness of the GNNBFD algorithm using k-fold cross-validation.

35Experimental environment and dataset. The hardware environment for the experiments is an Intel(R) Core(TM) i7-7700 3.60 GHz CPU with 8 GB of RAM. The software side contains the platform and operating system required for the experiments, and we implemented the code required for the model using Matlab 2020, and the operating system is Windows 10 Professional.

36The dataset is the publicly available Case Western Reserve University (CWRU) dataset. The advantage of using a publicly available dataset is that it is easy for other researchers to reproduce our experimental results. The bearing type is SKF6250, bearing location is Drive-end, Sample frequency (Hz) is 12000 Hz and the motor speed (rpm) is 1797. We divided the collected experimental data into 3 groups, each group contains 4 states, which are: (1) Figure 5 shows the normal bearing and the three faulty bearing states.

37Taking the first set of inner circle faults as an example, the normal sample contains a total of 240,000 data points and the faulty sample contains 120,000 data points. We divide the normal sample and the faulty sample into a sub-sample with 300 data points. Among the divided fault samples, 20 samples are randomly selected as outliers and form the first data set together with the normal objects. They were processed with the two data sets according to the same method, and thus three data sets were obtained, and the details of the data sets are summarized in Table 2. Table 3.

38We compare GNNBFD with five representative outlier detection algorithms. These algorithms are common types in the outlier detection field, and they are used as comparison algorithms in most of the related literature. They can be divided into five categories: (i) Neuron network-based, SO-GAAL (Single Objective Generative Adversarial Active Learning); (ii) Graph-based, CutPC (graph-based clustering method using noise cutting); (iii) Local outlier factor-based, LOF; (iv) Distance-based, KNN; (v) Isolation-based, IForest. The parameter settings are summarized in Table 4.

Experiment results.

39Experimental results on real-world datasets are shown in Fig. 6. We adjust the parameters 10 different times for all algorithms and choose the best result among the 10 times as the evaluation of the final performance of the algorithm.

40Observing the experimental results, some interesting information can be found. www.nature.com/scientificreports/ signal with low degree of deviation to produce a greater degree of deviation after the graph neural network embedding. (3) In the process of converting the vibration signals into graphs, connectivity relations are constructed for the objects. After training with the graph neural network, the low-dimensional embedding of the objects contains more valuable information and changes the distribution pattern from the original one. Therefore, the base detector is able to detect the faulty and normal objects more accurately when performing detection.

41The experimental results prove that the GNNBFD is effective and feasible.

42Effectiveness analysis. K-fold cross-validation is a commonly used technique for evaluating the performance of machine learning models. By using K-fold cross-validation, a more accurate estimate of a model's performance can be obtained. Furthermore, K-fold cross-validation can help detect whether a model is over fitting, as it enables evaluation of the model on a larger amount of data.

43To analyze the effectiveness of the GNNBFD algorithm proposed in this paper, we performed K-fold crossvalidation. Specifically, we performed a fivefold cross-validation on each of the three datasets. Each time, 150 normal objects and 30 faulty objects were selected from each dataset, and the performance of the proposed algorithm was measured by the AUC value. The experimental results are shown in Table 5.

44To ensure that when performing fault detection, GNNBFD is blind to the samples. We used random sampling and randomly sorted these samples. Observing the experimental results in Table 5, it can be seen that the GNNBFD algorithm still has good detection results with a small number of samples. The average AUC values in the three datasets are 0.984, 0.975 and 0.991, it proves that the proposed algorithm can effectively detect the bearing fault signals.

Conclusion

45In this paper, a graph neural network-based bearing fault detection method is proposed to improve the accuracy of bearing fault detection. The graph neural network has a very powerful feature mapping capability, which can fit the feature values of the sample and its neighbors simultaneously. The samples outputted by the GNN network after mapping can be more easily separated from normal samples and fault samples by the base detector algorithm. Considering the higher requirements for algorithm robustness in real production environments, we use an integrated technique to synthesize the detection results of the base detector to make the GNNBFD algorithm more stable and efficient. Experiments on publicly available datasets show that the GNNBFD algorithm can successfully detect most of the fault samples in the dataset. In the future work, we will mainly study how to improve the detection performance of the GNNBFD with a deeper network structure.

(제목 없음)

46With the rapid development of science and technology, mechanical equipment is widely used in modern industry. And the health monitoring technology of mechanical systems is also an essential issue in modern industry 1 . Rotating machinery is frequently used in industrial machinery and equipment, and its condition detection and fault diagnosis are of great significance in ensuring the reliability and safety of machinery in modern industrial systems 2 . Rolling bearing is a crucial component of rotating machinery. Due to its particular working environment, rolling bearing is prone to accidental failure and damage under high speed and heavy load as well as repeated high-temperature con-tact, which will directly affect the whole machine's performance, thus leading to serious safety hazards and high maintenance costs 3 . Bearing failure is the most common type of failure in rotating machinery systems, and according to statistics, 30-40% of rotating machinery failures are caused by bearing defects 4 . Therefore, efficiently intelligent fault diagnosis techniques for rolling bearings have been a vital research element in mechanical failures in the past decades.

47Bearing fault diagnosis technology has undergone three stages: manual experience, signal processing, and intelligence 5 . Traditional mechanical fault diagnosis methods and theories can play a good role for simple systems with a single process, single fault, and gradual fault, but for multi-process, multi-fault, and sudden fault, as well as complex, large, highly automated large equipment and systems have more significant limitations 6 . Nowadays, with the development of sensors and computer systems, the amount of data describing the status of mechanical equipment has increased exponentially. Artificial intelligence methods can extract hidden fault features from these large-scale data sets and learn new fault types, significantly improving fault diagnosis accuracy while reducing the labor cost and diagnostic uncertainty of traditional methods [7][8][9][10] . However, the deep learning-based method considers the objects to be independently distributed and cannot take into account the correlation between objects during the training process, so it is still difficult to identify some of the early fault signals. In this paper, we propose a graph neural network-based bearing fault detection method in order to improve the accuracy of bearing fault detection.

48Our main contributions are summarized as follows:

491. We convert the time-series signal of vibration into non-Euclidean structured graph data by methods such as feature transformation and similarity measurement. 2. A method for extracting features of vibration signals using graph neural networks is proposed. By feeding the vibration signal with the constructed graph into the graph neural network for training, the object after the training is completed can contain a wider range of neighborhood information.

Related work

50Up to now, a lot of research has been conducted on the intelligent diagnosis of bearing faults. Early widely used machine learning algorithms, such as PCA (Principal Component Analysis), SVM (Support Vector Machine), KNN (K-Nearest Neighbor), etc., have achieved satisfactory results in intelligent diagnosis, and the classification accuracy has improved significantly compared with the traditional methods. However, classical machine learning algorithms cannot learn nonlinear relationships 11 , and it isn't easy to find suitable shallow machine learning methods when there are highly complex and difficult to understand nonlinear relationships between input data (samples) and output data (labels). As a branch of machine learning, deep learning is highly capable of modeling nonlinearities with high flexibility and performs much better in dealing with realistic and complex problems. Therefore, deep learning has been introduced into bearing fault diagnosis to obtain a higher correct rate of fault diagnosis in complex environments 12,13 . Many deep learning-based bearing fault diagnosis algorithms have been proposed as deep learning evolves. CNN (Convolutional Neural Networks) is the most representative model of deep learning. Janssens et al. 14 was the first paper to apply convolutional neural networks to bearing fault diagnosis, using the spatial structure in the data to effectively capture the covariance of the frequency decomposition of accelerometer signals; to balance the training speed and accuracy of the model, Guo et al. 15 improved the traditional convolutional neural networks model by adding adaptive learning rate and momentum components to the weight update process; Xia et al. 16 in the training process of convolutional neural networks both temporal and spatial information of the raw data from multiple sensors are considered; To deal with mechanical vibration signals with variable sequence length, Zhang et al. 17 proposed a bearing fault diagnosis method based on residual learning algorithm, and the whole network uses a 1-dimensional convolutional layer to obtain local sequence features of the data information stream; For data that are difficult to obtain labels in practical situations, Meng et al. 18 proposed a data enhancement technique, using deep convolutional neural network with residual learning algorithm as the main structure to obtain higher diagnostic accuracy with limited training data; Zhang et al. 19 used a deep full convolutional neural network (DFCNN) containing four pairs of convolutional pooling layer pairs to convert vibration signals into images as input; Choudhary et al. 8 proposed a fault diagnosis method for rotating machinery bearings combining CNN and thermal images, using various fault conditions explored the availability of thermal imaging in bearing fault diagnosis; Xu et al. 20 proposed a rolling bearing fault diagnosis model based on online transfer convolutional neural network (OTCNN) with pre-trained network model and source domain features. AE (Autoencoder) is an unsupervised approach to deep learning. In 21 , the maximum correlation entropy was used as the loss function of the deep autoencoder and the critical parameters of the deep autoencoder were optimized to fit the signal characteristics using an artificial fish swarm algorithm; Wang et al. 22 used a Gaussian radial basis kernel function and acoustic emission method for fault diagnosis of bearings with high diagnostic accuracy and applicability; Shao et al. 23 proposed an ensemble deep autoencoder for intelligent fault diagnosis of rolling bearings (EDAEs) method for unsupervised feature learning from measured vibration signals; similar to 24-26 also improved on SAEs (Stacked Autoencoders) for fault diagnosis of bearings, both with improved detection results compared to traditional SAEs; Zhang et al. 27 proposed a semi-supervised learning method based on a depth generating model of variational autoencoder (VAE), The VAE generation function is used to improve the classification performance when only a tiny portion of the data has labels; Cui et al. 28 proposed a rolling bearing fault detection and classification method combining feature distance stacked autoencoder (FD-SAE) and support vector machines by organically combining machine learning and deep learning methods; Shao et al. 29 used Morlet wavelet activation function to establish an accurate non-smooth vibration data based on stacked autoencoder with an accurate nonlinear mapping between the original non-stationary vibration data and various fault states using Morlet wavelet activation function; Ma et al. 30 applied the weak magnetic detection method to rolling bearing whole life cycle monitoring with an improved variational autoencoder; Li et al. 31 proposed a unified framework combining predictive generative denoising autoencoder (PGDAE) and deep coral network (DCN).

51DBN (Deep Belief Network) is a simple combination of unsupervised networks. Chen and Li 32 first applied deep belief network to bearing fault diagnosis and proposed a multi-sensor feature fusion diagnosis method for bearing faults based on stacked autoencoder and deep belief network; Hoang et al. 33 automatically extracted bearing fault features from signals by DBN and then used Dempster-Shafer evidence theory combined with information from different sensors to predict bearing fault types; Liang et al. 34 implemented a four-layer DBN that processes sensor data through multiple DBNs for feature extraction; Xu et al. 35 combined clustering model affinity propagation (AP) with a DBN containing multiple hidden layers for fault diagnosis; Yu et al. 36 combined maximum overlap discrete wavelet packet transform (MODWPT) and deep belief network methods to analyze rolling bearing fault features and identify fault states; Zhu et al. 37 used principal component analysis to extract fault features and then used DBN for bearing fault diagnosis; Gao et al. 38 focused on the structure and momentum of neural networks and used summary optimization algorithm to optimize the network structure of DBN; Niu et al. 39 used particle swarm optimization (PSO) and adaptive training strategy to improve DBN to achieve higher accuracy and faster convergence speed.

52In addition to CNN, AE and DBN, some common deep learning methods have also been applied to bearing fault diagnosis. For example [40][41][42] , used generative adversarial networks and their variants for bearing fault diagnosis; with the birth of LSTM (Long Short Term Memory network), References [43][44][45] improved RNN (Recurrent Neural Network) and applied it to bearing fault diagnosis; and Refs. 46 www.nature.com/scientificreports/ neural network structures for processing graph data, and graph neural networks have come into being, but up to now, there is almost no research related to the application of graph neural networks to bearing fault diagnosis.

Model

53Among the collected bearing vibration signals, there are normal vibration signals and faulty vibration signals. The vibration signals are converted into nodes in the graph by means of data slicing and feature transformation. This converts the fault detection of bearings into a node classification task in machine learning. For the problem that early bearing fault signals are weak and difficult to distinguish from normal signals, we propose a graph neural network-based bearing fault detection method (GNNBFD). This method contains five main parts, which are: (1) dataset process, (2) construct graph, (3) graph neural network, (4) ensemble, and (5) outlier score.

54In this section, we will describe each part of the method in detail. Figure 1 represents the detection process of GNNBFD algorithm.

Dataset process.

55Since it is more difficult for neural networks to extract features from the original dataset, the dataset needs to be processed first to improve the detection accuracy of the algorithm. The processing of the dataset consists of two main steps: (1) slicing the dataset; (2) feature transformation. The flow chart of dataset process are shown in Fig. 2.

56Slice and dice the dataset. The data set for bearing fault detection is usually N*1 of time-series data, and the data set is sliced in a segment of 300 data points, after which the original data is transformed into a matrix of 300*(N/300). The transformed data set contains a total of N/300 subsamples, and each subsample consists of 300 data points. It is worth noting that our slicing method for the dataset is obtained using a non-overlapping moving window.

57Feature transformation. For each subsample, 23 features in the time and frequency domains are calculated and used as input to the subsequent model. Based on Table 1, the index is calculated for each sample. Four steps are required.

58(1) Nine time domain indexes are calculated as follows:

59(2) E WPD is obtained by calculating WPD energy (parameters j = 3 and wavelet Db20).

60(1) I=[I 1 , I 2 , I 3 , I 4 , I 5 , I 6 , I 7 , I 8 , I 9 ]

61(2) (4) I, W WPD , W EEMD are combined into a dataset as follows:

62The feature transformation of the sliced dataset reduces the redundant information of the subsamples and can effectively reduce the computational effort of the subsequent model. The extracted 23 time-domain and frequency-domain features can adequately reflect the information contained in the samples and facilitate further processing of the subsequent model. Table 1. Indexes and the calculation formulas. x(n)and x denote the data sequence and mean of the data sequence, respectively; N is the number of the data points. x i (n) is the decomposition coefficient sequence of the ith (i = 0, 1,…, 2 j − 1, j is the WPD decomposition level) frequency band using WPD; IMF i (n) is the ith data sequence after EEMD, and NI is the decomposition level using EEMD. www.nature.com/scientificreports/ Construct graph. Since the subsamples processed by Section "Dataset process" are independent of each other, there is no interconnectivity between the subsamples. Traditional deep learning methods would input the subsamples directly into the model for training, but this method does not consider the correlation between the subsamples. For this reason, we propose a method for constructing correlations between subsamples, called construct graph. Construct graph mainly considers the similarity between subsamples, and the higher the similarity, the greater the weight of the connection between them. Construct graph consists of (1) calculating the similarity between subsamples, (2) assigning weights, and (3) outputting the graph. The flow chart of construct graph are show in Fig. 3.

EEMD energy

63Similarity. Let X = {X 1 , X 2 , X 3 …, X m } indicate the processed dataset, where X i ≤ X i1 , X i2 , X i3 …. X id > indicates a subsamples in X, and d indicates the dimension of X. X id indicates the value of subsamples X i in the dth dimension.

64We use the normalized Euclidean distance as a measure of similarity between subsamples. Dist (x i , x j ) represents the similarity between subsamples x i and x j and is calculated as shown in the following equation:

65where V is the n-by n diagonal matrix whose jth diagonal element is x i 2 , where x j is a vector of scaling factors for each dimension. When the value between Dist (x i , x j ) is larger, it means that the similarity between two objects is higher.

66Assigning weights. First, the top k subsamples with the highest similarity to x i subsamples are selected, and they form the set of neighbors of x i , which is denoted as N k (x i ). Then calculate the weights between these k subsamples and x i , which are calculated as shown in the following equation.

67Output graph. By calculating the similarity and assigning weights in the first two steps, we can connect the subsamples to each other. If the weights between subsamples are greater than 0, there is a connected edge between them; otherwise there is no connection between them. The subsamples are connected to each other to form the graph, and we represent the constructed graph by the adjacency matrix A.

68The values of the diagonal elements in the adjacency matrix A are all 1, which indicates that the subsample itself is connected to itself. In this way, the feature information of the subsample itself can be effectively prevented from being lost during the training process of the subsequent model.

Graph neural network.

69Traditional neural network structures such as convolutional neural networks, recurrent neural network, etc. receive data in Euclidean space as input, and they cannot handle data structures in non-Euclidean space, such as graphs. Therefore, we will use graph neural networks to handle graph data. GNN a framework to learn directly from graph structured data using deep learning.

70We use a recurrent neural structure to propagate the neighbor information until reach a stable immobility point to learn the representation of the target node, that is facilitate the subsequent fault detection task. After feature extraction by the graph neural network, each graph node contains not only its own information, but also the feature information of its neighbors. Our forward model then takes the simple form: www.nature.com/scientificreports/ Here, W ∈ R D×H is an input-to-hidden weight matrix for a hidden layer with H feature maps, and b ∈ R H is an input-to-hidden biases matrix. The GNN weights W (0) , W (1) and biases b (0) , b (1) are trained using the gradient descent.

71As shown in Fig. 4, the GNN model is based on an information propagation mechanism, where each node exchanges information (propagates) with other nodes through continuous iterative updates to reach a stable state. When the information flow of the whole graph smooth's out, each node has information about itself and its neighboring nodes.

72Ensemble. In this paper, we combine the detection of Z-matrices using multiple outlier detection algorithms, a process called ensemble. Each subsample of the Z matrix output by the GNN network contains not only its own eigenvalues, but also those of its neighbors. Inputting the Z-matrix into the outlier detection algorithm for detection helps to maximize the separation of normal objects from outliers in the dataset.

73We use three classical outlier detection algorithms, LOF (Local Outlier Factor), KNN (K-Nearest Neighbor), and AE (Autoencoder), to detect the Z matrix. LOF is the classical density-based outlier detection algorithm, KNN is the distance-based outlier detection algorithm, and AE is the neural network-based outlier detection algorithm. Different types of outlier detection algorithms focus on detecting outliers with different distributions. Combining the above three types of algorithms can maximize the robustness of GNNBFD. Meanwhile, LOF, KNN, and AE are all unsupervised outlier detection algorithms, and the first two do not require training process. When training the AE algorithm, we set its learning rate to 0.0001, the hidden layer depth of the network to three layers, and the Adam optimizer is used for back propagation.

74Each algorithm eventually outputs an outlier value for each subsample in the Z matrix. The outlier value indicates the probability that the subsample is a faulty sample, and the higher the outlier value, the more likely the sample is a faulty sample, and vice versa. www.nature.com/scientificreports/ Outlier score (OS). We define the outlier value of the ith subsample as Outlier Score (OS), OS is calculated as shown in the following equation:

75In the above equation, OF j denotes the outlier factor assigned to the ith subsample by the jth outlier detection algorithm. OS i denotes the average outlier score of the ith subsample over the m outlier detection algorithms. By averaging the values in this way, the misclassification rate of the algorithm is reduced and the reliability and robustness of the final detection results of the algorithm are improved.

76Algorithm2 Estimate the outlier score Input: The matrix of outliers for each algorithm for subsamples in the dataset. n (the number of outliers).

77Output: The set of outliers O.

Experiments

78In this section, we will demonstrate the effectiveness of the proposed algorithm for bearing fault detection in detail in four parts. These four sections are: (a) introduction to the experimental environment and data set; (b) evaluation method and comparison algorithm; (c) experimental results and (d) effectiveness analysis. In (a) Introduction to the experimental environment and dataset, we describe in detail the experimental platform, hardware and software configurations, and the introduction and processing of the dataset; in (b) valuation method and comparison algorithm section, we use four evaluation metrics to measure the performance of each algorithm in a comprehensive manner. In (c) Experimental results, we report the final detection results of the algorithms in detail and analyze the reasons for them. In (d) effectiveness analysis, we verified the effectiveness of the GNNBFD algorithm using k-fold cross-validation.

79Experimental environment and dataset. The hardware environment for the experiments is an Intel(R) Core(TM) i7-7700 3.60 GHz CPU with 8 GB of RAM. The software side contains the platform and operating system required for the experiments, and we implemented the code required for the model using Matlab 2020, and the operating system is Windows 10 Professional.

80The dataset is the publicly available Case Western Reserve University (CWRU) dataset. The advantage of using a publicly available dataset is that it is easy for other researchers to reproduce our experimental results. The bearing type is SKF6250, bearing location is Drive-end, Sample frequency (Hz) is 12000 Hz and the motor speed (rpm) is 1797. We divided the collected experimental data into 3 groups, each group contains 4 states, which are: (1) Figure 5 shows the normal bearing and the three faulty bearing states.

81Taking the first set of inner circle faults as an example, the normal sample contains a total of 240,000 data points and the faulty sample contains 120,000 data points. We divide the normal sample and the faulty sample into a sub-sample with 300 data points. Among the divided fault samples, 20 samples are randomly selected as outliers and form the first data set together with the normal objects. They were processed with the two data sets according to the same method, and thus three data sets were obtained, and the details of the data sets are summarized in Table 2. Table 3.

82We compare GNNBFD with five representative outlier detection algorithms. These algorithms are common types in the outlier detection field, and they are used as comparison algorithms in most of the related literature. They can be divided into five categories: (i) Neuron network-based, SO-GAAL (Single Objective Generative Adversarial Active Learning); (ii) Graph-based, CutPC (graph-based clustering method using noise cutting); (iii) Local outlier factor-based, LOF; (iv) Distance-based, KNN; (v) Isolation-based, IForest. The parameter settings are summarized in Table 4.

Experiment results.

83Experimental results on real-world datasets are shown in Fig. 6. We adjust the parameters 10 different times for all algorithms and choose the best result among the 10 times as the evaluation of the final performance of the algorithm.

84Observing the experimental results, some interesting information can be found. www.nature.com/scientificreports/ signal with low degree of deviation to produce a greater degree of deviation after the graph neural network embedding. (3) In the process of converting the vibration signals into graphs, connectivity relations are constructed for the objects. After training with the graph neural network, the low-dimensional embedding of the objects contains more valuable information and changes the distribution pattern from the original one. Therefore, the base detector is able to detect the faulty and normal objects more accurately when performing detection.

85The experimental results prove that the GNNBFD is effective and feasible.

86Effectiveness analysis. K-fold cross-validation is a commonly used technique for evaluating the performance of machine learning models. By using K-fold cross-validation, a more accurate estimate of a model's performance can be obtained. Furthermore, K-fold cross-validation can help detect whether a model is over fitting, as it enables evaluation of the model on a larger amount of data.

87To analyze the effectiveness of the GNNBFD algorithm proposed in this paper, we performed K-fold crossvalidation. Specifically, we performed a fivefold cross-validation on each of the three datasets. Each time, 150 normal objects and 30 faulty objects were selected from each dataset, and the performance of the proposed algorithm was measured by the AUC value. The experimental results are shown in Table 5.

88To ensure that when performing fault detection, GNNBFD is blind to the samples. We used random sampling and randomly sorted these samples. Observing the experimental results in Table 5, it can be seen that the GNNBFD algorithm still has good detection results with a small number of samples. The average AUC values in the three datasets are 0.984, 0.975 and 0.991, it proves that the proposed algorithm can effectively detect the bearing fault signals.

Conclusion

89In this paper, a graph neural network-based bearing fault detection method is proposed to improve the accuracy of bearing fault detection. The graph neural network has a very powerful feature mapping capability, which can fit the feature values of the sample and its neighbors simultaneously. The samples outputted by the GNN network after mapping can be more easily separated from normal samples and fault samples by the base detector algorithm. Considering the higher requirements for algorithm robustness in real production environments, we use an integrated technique to synthesize the detection results of the base detector to make the GNNBFD algorithm more stable and efficient. Experiments on publicly available datasets show that the GNNBFD algorithm can successfully detect most of the fault samples in the dataset. In the future work, we will mainly study how to improve the detection performance of the GNNBFD with a deeper network structure.

참고문헌 45건

  1. Convolutional Neural Network Based Fault Detection for Rotating Machinery Journal of Sound and Vibration · Elsevier BV · 2016 10.1016/j.jsv.2016.05.027
  2. Hierarchical adaptive deep convolution neural network and its application to bearing fault diagnosis Measurement · Elsevier BV · 2016 10.1016/j.measurement.2016.07.054
  3. A recurrent neural network based health indicator for remaining useful life prediction of bearings Neurocomputing · Elsevier BV · 2017 10.1016/j.neucom.2017.02.045
  4. A novel deep autoencoder feature learning method for rotating machinery fault diagnosis Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.03.034
  5. Multisensor Feature Fusion for Bearing Fault Diagnosis Using Sparse Autoencoder and Deep Belief Network IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2017 10.1109/tim.2017.2669947
  6. 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
  7. A neural network constructed by deep learning technique and its application to intelligent fault diagnosis of machines Neurocomputing · Elsevier BV · 2017 10.1016/j.neucom.2017.07.032
  8. Intelligent fault diagnosis of rolling bearing using deep wavelet auto-encoder with extreme learning machine Knowledge-Based Systems · Elsevier BV · 2017 10.1016/j.knosys.2017.10.024
  9. A novel method for intelligent fault diagnosis of rolling bearings using ensemble deep auto-encoders Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.09.026
  10. Fault State Recognition of Rolling Bearing Based Fully Convolutional Network Computing in Science & Engineering · AIP Publishing · 2018 10.1109/mcse.2018.110113254
  11. Fault diagnosis of rolling bearings with recurrent neural network-based autoencoders ISA Transactions · Elsevier BV · 2018 10.1016/j.isatra.2018.04.005
  12. A deep neural network based on kernel function and auto-encoder for bearing fault diagnosis 2022 IEEE International Instrumentation and Measurement Technology Conference (I2MTC) · 2018 10.1109/i2mtc.2018.8409574
  13. Combined deep belief network in deep learning with affinity propagation clustering algorithm for roller bearings fault diagnosis without data label Journal of Vibration and Control · SAGE Publishing · 2018 10.1177/1077546318783886
  14. Deep Belief Network and Dempster-Shafer Evidence Theory for Bearing Fault Diagnosis 2018 10.1109/isie.2018.8433778
  15. Bearing fault diagnosis based on improved ensemble learning and deep belief network Journal of Physics Conference Series · IOP Publishing · 2018 10.1088/1742-6596/1074/1/012154
  16. Deep residual learning-based fault diagnosis method for rotating machinery ISA Transactions · Elsevier BV · 2018 10.1016/j.isatra.2018.12.025
  17. Generative Oversampling Method for Imbalanced Data on Bearing Fault Detection and Diagnosis Applied Sciences · Multidisciplinary Digital Publishing Institute · 2019 10.3390/app9040746
  18. Data Segmentation and Augmentation Methods Based on Raw Data Using Deep Neural Networks Approach for Rotating Machinery Fault Diagnosis IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2923417
  19. Deep learning fault diagnosis method based on global optimization GAN for unbalanced data Knowledge-Based Systems · Elsevier BV · 2019 10.1016/j.knosys.2019.07.008
  20. Intelligent bearing fault diagnosis using PCA–DBN framework Neural Computing and Applications · Springer Science+Business Media · 2019 10.1007/s00521-019-04612-z
  21. Deep Laplacian Auto-encoder and its application into imbalanced fault diagnosis of rotating machinery Measurement · Elsevier BV · 2019 10.1016/j.measurement.2019.107320
  22. Rolling Bearing Fault Feature Extraction and Diagnosis Method Based on MODWPT and DBN 2021 13th International Conference on Wireless Communications and Signal Processing (WCSP) · 2019 10.1109/wcsp.2019.8927859
  23. A reinforcement neural architecture search method for rolling bearing fault diagnosis Measurement · Elsevier BV · 2019 10.1016/j.measurement.2019.107417
  24. Application of neural network algorithm in fault diagnosis of mechanical intelligence Mechanical Systems and Signal Processing · Elsevier BV · 2020 10.1016/j.ymssp.2020.106625
  25. A comprehensive review on convolutional neural network in machine fault diagnosis Neurocomputing · Elsevier BV · 2020 10.1016/j.neucom.2020.07.088
  26. Mahalanobis semi-supervised mapping and beetle antennae search based support vector machine for wind turbine rolling bearings fault diagnosis Renewable Energy · Elsevier BV · 2020 10.1016/j.renene.2020.04.041
  27. Signal based condition monitoring techniques for fault detection and diagnosis of induction motors: A state-of-the-art review Mechanical Systems and Signal Processing · Elsevier BV · 2020 10.1016/j.ymssp.2020.106908
  28. Bearing fault diagnosis base on multi-scale CNN and LSTM model Journal of Intelligent Manufacturing · Springer Science+Business Media · 2020 10.1007/s10845-020-01600-2
  29. A Novel Deep Learning Model for the Detection and Identification of Rolling Element-Bearing Faults Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20185112
  30. Machine Learning for Plant Breeding and Biotechnology Agriculture · Multidisciplinary Digital Publishing Institute · 2020 10.3390/agriculture10100436
  31. Few-Shot Rolling Bearing Fault Diagnosis with Metric-Based Meta Learning Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20226437
  32. Fault diagnosis of rotating machinery based on recurrent neural networks Measurement · Elsevier BV · 2020 10.1016/j.measurement.2020.108774
  33. Rolling Bearing Fault Diagnosis Based on Stacked Autoencoder Network with Dynamic Learning Rate Advances in Materials Science and Engineering · Hindawi Publishing Corporation · 2020 10.1155/2020/6625273
  34. Modified Stacked Autoencoder Using Adaptive Morlet Wavelet for Intelligent Fault Diagnosis of Rotating Machinery IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2021 10.1109/tmech.2021.3058061
  35. Fault Diagnosis of Rolling Bearings Based on an Improved Stack Autoencoder and Support Vector Machine IEEE Sensors Journal · IEEE Sensors Council · 2020 10.1109/jsen.2020.3030910
  36. Convolutional neural network based bearing fault diagnosis of rotating machine using thermal images Measurement · Elsevier BV · 2021 10.1016/j.measurement.2021.109196
  37. An optimized adaptive PReLU-DBN for rolling element bearing fault diagnosis Neurocomputing · Elsevier BV · 2021 10.1016/j.neucom.2021.02.078
  38. A unified framework incorporating predictive generative denoising autoencoder and deep Coral network for rolling bearing fault diagnosis with unbalanced data Measurement · Elsevier BV · 2021 10.1016/j.measurement.2021.109345
  39. Rolling Bearing Fault Diagnosis Based on Deep Learning and Autoencoder Information Fusion Symmetry · Multidisciplinary Digital Publishing Institute · 2021 10.3390/sym14010013
  40. Rolling bearing fault diagnosis based on SSA optimized self-adaptive DBN ISA Transactions · Elsevier BV · 2021 10.1016/j.isatra.2021.11.024
  41. Imbalanced fault diagnosis of rolling bearing using improved MsR-GAN and feature enhancement-driven CapsNet Mechanical Systems and Signal Processing · Elsevier BV · 2021 10.1016/j.ymssp.2021.108664
  42. CNC Machine-Bearing Fault Detection Based on Convolutional Neural Network Using Vibration and Acoustic Signal Journal of Vibration Engineering & Technologies · Springer Science+Business Media · 2022 10.1007/s42417-022-00468-1
  43. Fault diagnosis of rolling bearing based on online transfer convolutional neural network Applied Acoustics · Elsevier BV · 2022 10.1016/j.apacoust.2022.108703
  44. Piecewise linear neural networks and deep learning Nature Reviews Methods Primers · Nature Portfolio · 2022 10.1038/s43586-022-00125-7
  45. Graph autoencoder-based unsupervised outlier detection Information Sciences · Elsevier BV · 2022 10.1016/j.ins.2022.06.039