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

A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing

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

기본 정보

저자
  1. Chunming Wu — Key Laboratory of Modern Power System Simulation and Control & Renewable Energy Technology, Ministry of Education, Northeast Electric Power University, Jilin, China|||Department of Electrical Engineering, Northeast Electric Power University, Jilin, China
  2. Zhou Zeng — Department of Electrical Engineering, Northeast Electric Power University, Jilin, China
DOI
10.1371/journal.pone.0246905
저널
PLoS ONE
발행년도
2021
발행기관
Public Library of Science
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1371/journal.pone.0246905
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W3134481555

평가 내용

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

초록

Rolling bearing fault diagnosis is one of the challenging tasks and hot research topics in the condition monitoring and fault diagnosis of rotating machinery. However, in practical engineering applications, the working conditions of rotating machinery are various, and it is difficult to extract the effective features of early fault due to the vibration signal accompanied by high background noise pollution, and there are only a small number of fault samples for fault diagnosis, which leads to the significant decline of diagnostic performance. In order to solve above problems, by combining Auxiliary Classifier Generative Adversarial Network (ACGAN) and Stacked Denoising Auto Encoder (SDAE), a novel method is proposed for fault diagnosis. Among them, during the process of training the ACGAN-SDAE, the generator and discriminator are alternately optimized through the adversarial learning mechanism, which makes the model have significant diagnostic accuracy and generalization ability. The experimental results show that our proposed ACGAN-SDAE can maintain a high diagnosis accuracy under small fault samples, and have the best adaptation performance across different load domains and better anti-noise performance.

본문 62,789자

본문 펼치기
# PLOS ONE ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0246905&domain=pdf&date_stamp=2021-03-01)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0246905&domain=pdf&date_stamp=2021-03-01)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0246905&domain=pdf&date_stamp=2021-03-01)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0246905&domain=pdf&date_stamp=2021-03-01)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0246905&domain=pdf&date_stamp=2021-03-01)</u>~~ OPEN ACCESS Citation: Wu C, Zeng Z (2021) A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing. PLoS ONE [16(3): e0246905. https://doi.org/10.1371/journal.](https://doi.org/10.1371/journal.pone.0246905) [pone.0246905](https://doi.org/10.1371/journal.pone.0246905) Editor: Tao Song, Polytechnical Universidad de Madrid, SPAIN Received: October 14, 2020 Accepted: January 27, 2021 Published: March 1, 2021 Copyright: © 2021 Wu, Zeng. This is an open access article distributed under the terms of the [Creative Commons Attribution License, which](http://creativecommons.org/licenses/by/4.0/) permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data Availability Statement: Data are available from the Case Western Reserve University Bearing [Data Centre website(http://csegroups.case.edu/](http://csegroups.case.edu/bearingdatacenter) [bearingdatacenter). Other data are uploaded as](http://csegroups.case.edu/bearingdatacenter) Supporting Information. Funding: The authors received no specific funding for this work. Competing interests: The authors have declared that no competing interests exist. RESEARCH ARTICLE ## A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing Chunming Wu <sup>1,2</sup> [, Zhou ZengID](https://orcid.org/0000-0002-2222-6807) <sup>2</sup> * 1 Key Laboratory of Modern Power System Simulation and Control & Renewable Energy Technology, Ministry of Education, Northeast Electric Power University, Jilin, China, 2 Department of Electrical Engineering, Northeast Electric Power University, Jilin, China - 1143879389@qq.com ### Abstract Rolling bearing fault diagnosis is one of the challenging tasks and hot research topics in the condition monitoring and fault diagnosis of rotating machinery. However, in practical engi neering applications, the working conditions of rotating machinery are various, and it is diffi cult to extract the effective features of early fault due to the vibration signal accompanied by high background noise pollution, and there are only a small number of fault samples for fault diagnosis, which leads to the significant decline of diagnostic performance. In order to solve above problems, by combining Auxiliary Classifier Generative Adversarial Network (ACGAN) and Stacked Denoising Auto Encoder (SDAE), a novel method is proposed for fault diagnosis. Among them, during the process of training the ACGAN-SDAE, the genera tor and discriminator are alternately optimized through the adversarial learning mechanism, which makes the model have significant diagnostic accuracy and generalization ability. The experimental results show that our proposed ACGAN-SDAE can maintain a high diagnosis accuracy under small fault samples, and have the best adaptation performance across dif ferent load domains and better anti-noise performance. 1 Introduction As a common part of rotating machinery, rolling bearing may cause great economic loss if it breaks down in the working process [1]. Therefore, it is of great significance for the normal operation of the machine to diagnose the rolling bearing effectively [2]. At present, vibration signal analysis is one of the widely employed and effective techniques for machinery fault diagnosis and health monitoring [3]. In essence, machinery fault diagnosis can be regarded as a pattern recognition problem, which includes data acquisition, feature extraction and fault classification. The diagnostic performance largely depends on the effectiveness of feature extraction and classification methods. Thus, traditional fault diagnosis methods based on vibration are generally: signal processing methods based on time domain, frequency domain and timefrequency domain. These methods include time domain statistics, short-time Fourier transform [4], wavelet transform [5], Empirical Mode Decomposition (EMD) [6], Hilbert-Huang [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 1 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing Transform (HHT) [7] and other variants [8–11]. Then, these extracted features are fed into some shallow machine learning algorithms, including Artificial Neural Network (ANN) [12], Support Vector Machine (SVM) [13], cluster analysis [14], etc. However, the fault feature representation extracted from the above methods is usually designed manually and requires a lot of professional knowledge and manpower [15]. At the same time, most of the methods are limited to the domain and can not be well extended to other new fault diagnosis fields. Instead, deep learning can effectively solve the above problems by modeling the high-level representation of data and predicting/classifying patterns through a layered architecture of multiple nonlinear processing units [16]. Since Hinton et al. [17] proposed unsupervised layer by layer training combined with supervised fine-tuning method, deep learning theory has become a hot spot in the field of machine learning and artificial intelligence, and has made brilliant achievements in computer vision, speech recognition and other fields. Some experts and scholars have also applied for deep learning theory to the field of mechanical fault diagnosis. Chen et al. [18] proposed a bearing fault diagnosis method based on Deep Belief Network (DBN). By using the advantages of DBN automatic feature extraction and classification, the original vibration signal is directly studied and stratified training, and the fault diagnosis results are automatically given. Considering the multi-scale characteristics inherent in vibration signals of a gearbox, Jiang et al. [19] proposed a new multi-scale convolutional neural network (MSCNN) architecture that can perform multi-scale features extraction and classification simultaneously. Due to the time-series characteristics of wind turbine vibration signals, Lei et al. [20] adopted the Long Short-Term Memory (LSTM) model to realize the end-to-end fault diagnosis of wind turbines. Although the above fault methods can achieve good results in some specific aspects, there is still room for improvement: (i) Most of the improvements in the traditional depth model to make the model satisfy better diagnostic accuracy for specific data sets, but it may not be suitable for practical fault diagnosis tasks. (ii) In fact, the machinery generally runs under normal working conditions for a long time, and the sensor can collect enough positive samples, while the negative samples collected under fault conditions are seriously unbalanced compared with the positive samples. Therefore, the diagnosis performance of the unbalanced data set under small sample conditions is very poor. (iii) At the same time, considering the cross domain adaptive problem with the actual variable load conditions and the influence of high background noise pollution, the diagnostic performance of the model will be further deteriorated. Goodfellow et al. [21] proposed a Generative Adversarial Network(GAN) in 2014. Due to its powerful performance, GAN has made great achievements in the field of image processing. Radford et al. [22] proposed a novel Deep Convolution Generative Adversarial Network (DCGAN) based on the GAN, which is stable in the training process and can generate highquality images.The application of GAN to the field of mechanical fault diagnosis provides a new perspective. Shao et al. [23] applied GAN as a data set enhancement technique to fault diagnosis for small fault sample sizes, and achieved good results. Han et al. [24] proposed a novel deep adversarial convolutional neural network (DACNN) framework. By introducing adversarial learning into CNN, it helps to make feature representation more robuster and enhance the generalization ability of the training model. Zhao et al. [25] proposed an improved Wassertein GAN fault diagnosis method based on K-means and applied it to aero-engine fault diagnosis. Wassertein GAN with gradient penalty was used to make the model converge process faster. Aiming at the problems that the data unbalances caused by small fault sample size, cross domain adaptive problem under variable load and the influence of high background noise pollution in the fault diagnosis of rolling bearing, we proposed a novel fault diagnosis method of rolling bearing which combines ACGAN and SDAE. Different from the traditional GAN, this [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 2 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing paper introduces the variant structure ACGAN with auxiliary classification labels. In detail, we use one-dimensional convolutional neural network (1D-CNN) as a generator, and use category labels as auxiliary information to enhance the original GAN, improve the generation effect of the generator, and generate high-quality labeled artificial samples to expand the number of fault samples. The SDAE is used as a discriminator to identify the authenticity and fault of the input samples. SDAE can automatically extract features with better robustness by adding noise to samples for sample reconstruction. At the same time, in the process of simulating the generation of false data, the generator is helpful to understand the distribution of original data, and the adversarial learning is used as a cross domain regularizer to learn the universal and domain-invariant features of data. The rest of this paper is organized as follows: in section 2, we will introduce the theoretical background of the relevant methods. Section 3 details our proposed ACGAN-SDAE method. In section 4, some experiments are performed to evaluate our method and other methods. Finally, section 5 summarizes the full text. 2 The theoretical background of related methods 2.1 SDAE SDAE [26] consists of multiple Denoising Auto Encoder (DAE) [27] by stacking. Like the standard Auto Encoder (AE), DAE consists of encoder and decoder. But different from standard AE, DAE enhances the robustness of extracted features by adding impairment noise to the input data, thereby enhancing its anti-noise ability. The encoder compresses the input data in the high-dimensional space to obtain the encode vectors in the low-dimensional space. The decoder reconstructs the encode vectors to obtain the original input data without noise. The structure principle of standard DAE is shown as Fig 1 . Given an unlabeled rolling bearing faults sample training set f _x_ <sup>_m_</sup> g _Mm_ ¼1 <sup>, the noise</sup> <sup>_qD_</sup> <sup>is added</sup> to the training sample _x_ <sup>_m_</sup> before coding to get the sample with noise ~ _x_ <sup>_m_</sup> . _x_ ~ <sup>_m_</sup> - _qD_ ð _x_ ~ <sup>_m_</sup> j _x_ <sup>_m_</sup> Þ ð1Þ where _qD_ is a binomial random hidden noise. The coding network encodes the sample with noise ~ _x_ <sup>_m_</sup> . In the coding process, the encode function _Enθ_ maps the samples ~ _x_ <sup>_m_</sup> to the encode vectors _h_ <sup>_m_</sup> . _h_ <sup>_m_</sup> ¼ _En_ yð _x_ ~ <sup>_m_</sup> Þ ¼ sð _wex_ ~ <sup>_m_</sup> þ _be_ Þ ð2Þ where _σ_ is the sigmoid activation function and _σ_ = 1/(1+exp(− _x_ )), _θ_ is the parameters set of the encoding network and _θ_ = { _we_, _be_ }, _we_ and _be_ are the weight matrix and bias vector of the coding network respectively. <u>Fig 1.</u> <u>The structure principle of DAE.</u> [https://doi.org/10.1371/journal.pone.0246905.g001](https://doi.org/10.1371/journal.pone.0246905.g001) [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 3 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 2.</u> <u>The structure principle of SDAE.</u> <u>(a) Pre-training, (b) Fine-tuning.</u> [https://doi.org/10.1371/journal.pone.0246905.g002](https://doi.org/10.1371/journal.pone.0246905.g002) The decoding network reversely transforms the encode vectors _h_ <sup>_m_</sup> into the reconstructed representation _x_ <sup>_m_</sup> of ^ _x_ <sup>_m_</sup> by decode function _Deθ_ <sup>0</sup> . ^ _x_ <sup>_m_</sup> ¼ _De_ y0 ð _h_ <sup>_m_</sup> Þ ¼ sð _wdh_ <sup>_m_</sup> þ _bd_ Þ ð3Þ where _θ_ <sup>0</sup> is the parameters set of the decoding network and _θ_ <sup>0</sup> = { _wd_, _bd_ }, _wd_ and _bd_ are the weight matrix and bias vector of the decoding network respectively. DAE aims to complete the training of the whole network by optimizing the parameters set Θ = { _θ_, _θ_ <sup>0</sup> } to minimize the reconstruction error _LDAE_ ð^ _x_ <sup>_m_</sup> _; x_ <sup>_m_</sup> Þ between ^ _x_ <sup>_m_</sup> and _x_ <sup>_m_</sup> . X _M_ _m_ ¼1 <sup>k^</sup> <sup>_xm_</sup> <sup>�</sup> <sup>_xm_</sup> <sup>k</sup> _LDAE_ ð^ _x_ <sup>_m_</sup> _; x_ <sup>_m_</sup> Þ ¼ arg Y min <sup>1</sup> _M_ 2 ð4Þ where Θ is a set of parameters for DAE and Θ = { _θ_, _θ_ <sup>0</sup> }, _M_ is the sample size. SDAE constructs deep networks by stacking multiple DAEs, and extracts deep features through unsupervised learning. SDAE training steps includes pre-training and fine-tuning, as shown in Fig 2 . The pre-training step trains each layer of DAE through unsupervised layer-by-layer greedy learning to extract sample fault features. The encode vector of the hidden layer of the previous layer of DAE is used as the input to next layer of DAE, and repeat this process until the last layer of DAEn is trained and the encoding vector _h_ <sup>_m_</sup> _n_ <sup>is obtained. Finally, supervised fine-tuning is car-</sup> ried out by using labeled sample data and adding a Solfmax classifier at the top of the network. 2.2 GAN The structure of GAN is inspired by game theory, regular GAN consists of two parts: generator _G_ and discriminator _D_ (as shown in Fig 3A ). Among them, _x_ <sup>_m_</sup> is sampled from the original sample and _z_ <sup>_k_</sup> is the input of the generator. The generator aims to capture the potential distribution of real data samples _x_ <sup>_m_</sup> and generate realistic generated data _G_ ( _z_ <sup>_k_</sup> ) from Gaussian random noise vector _z_ <sup>_k_</sup> in an attempt to deceive the discriminator. Instead, the purpose of the discriminator is to distinguish whether the input data is real data _x_ <sup>_m_</sup> or generated data _G_ ( _z_ <sup>_k_</sup> ). [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 4 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 3.</u> <u>The structure of (a) reguar GAN, and (b) ACGAN.</u> [https://doi.org/10.1371/journal.pone.0246905.g003](https://doi.org/10.1371/journal.pone.0246905.g003) GAN continuosly optimizes the generation ability of _G_ and the discrimination ability of _D_ through the adversarial learning mechanism, and finally they reach the Nash equilibrium. The optimization process is a minimax two-player game that can be formulated as: h - _x_ <sup>_m_</sup> <sup>�i</sup> min _G_ <sup>max</sup> _D_ <sup>_V_</sup> <sup>ð</sup> <sup>_D; G_</sup> <sup>Þ ¼</sup> <sup>_Ex_</sup> <sup>�</sup> <sup>_pdata_</sup> <sup>ð</sup> <sup>_x_</sup> <sup>Þ</sup> min _G_ <sup>max</sup> _D_ h log _D_ - 1 � _D_ _G_ ð _z_ <sup>_k_</sup> Þ - <sup>�i</sup> ð5Þ þ _Ez_ - _pz_ ð _z_ Þ log where _pdata_ ( _x_ ) is the real data distribution, _pz_ (z) is the prior distribution of the noise vector _z_, _Ex_ - _pdata_ ð _x_ Þ is the expected value of the real data distribution of _x_, and _Ez_ - _pz_ ð _z_ Þ is the expected value of _z_ sampled from the noise. In the process of training, one part is fixed and the parameters of the other network are updated. Training _D_ maximizes log _D_ ( _x_ <sup>_m_</sup> ) and training _G_ minimizes log(1− _D_ ( _G_ ( _z_ <sup>_k_</sup> ))). The generator defines a probability distribution function _pg_, and GAN expects _pg_ to converge to the real data distribution _pdata_ through alternating iteration. If and only if _pg_ = _pdata_ reaches Nash equilibrium, GAN can well estimate the actual distribution of real samples and generate new samples to expand the training fault sample set. 2.3 ACGAN Odena et al. [28] proposed a variant architecture of regular GAN to achieve accurate classification of images in the MNIST dataset. This variant architecture is called Auxiliary Classifier Generative Adversarial Network (ACGAN) by adding category labels to generator and discriminator(as shown in Fig 3B ). According to research, when GAN is allowed to process additional information, the original generation task of the model will be completed better. Therefore, high quality generated samples can be generated by using auxiliary category label information. For the generator, there are two inputs: random noise vector _z_ and label classification information _c_ . And the generated data is _Xfake_ = _G_ ( _c_, _z_ ). For the discriminator, it is necessary to judge whether the data source is the probability distribution of the real data and the probability distribution of the data source for the classification label, so that the discriminator can not only identify the data source but also distinguish various fault categories. Therefore, the [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 5 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing objective function of ACGAN consists of two parts, as shown in the following formula: h _source_ ¼ _real_ j _xreal_ �i _Ls_ ¼ _Ex_ - _Pdata_ log _P_ h _source_ ¼ _fake_ j _xfake_ �i ð6Þ þ _Ez_ - _Pz_ h _class_ ¼ _c_ j _xreal_ log _P_ �i _Lc_ ¼ _Ex_ - _Pdata_ log _P_ h _class_ ¼ _c_ j _xfake_ �i ð7Þ þ _Ez_ - _Pz_ log _P_ The first part _Ls_ is a cost function for the truthfulness of the data, and the second part _Lc_ is a cost function for the accuracy of data classification. In the training process, the optimization direction is to train the discriminator to maximize _Ls_ + _Lc_, and the generator to minimize _Ls_ - _Lc_ . The corresponding physical meaning is that the discriminator is called upon to distinguish between real data and generated data as far as possible and to classify the data effectively. For the generator, the generated data are considered as real data as possible and the data can be classified effectively. 3. The proposed fault diagnosis method In this paper, aiming at the data unbalance problem caused by the small fault sample size in the actual rolling bearing fault diagnosis, the cross domain adaptive problem with variable load conditions and the influence of high background noise pollution, a novel ACGAN-SDAE fault diagnosis method is proposed. 3.1 Fault diagnosis model of ACGAN-SDAE In this paper, by combining ACGAN and SDAE, we proposed an ACGAN-SDAE fault diagnosis method. The overall structure of the model as shown in Fig 4 . In detail, an one-dimensiona convolutional neural network (1D-CNN) [29] is used as the generator, and use category labels as auxiliary information to enhance the original GAN, improve the generation effect of the generator, and generate high-quality labeled artificial samples to expand the number of fault samples. By adding category labels, the generator can generate specific conditional data and make model training more stable. The SDAE is used as a discriminator to distinguish the authenticity and fault category of the input samples. 3.2 Training of discriminator The four-layer structure of the generator SDAE is 1024-800-200-10 (1), as shown in Fig 5 . The generated samples f _xfake_ <sup>_k_</sup> <sup>g</sup> _Kk_ ¼1 <sup>are labeled as 0, and the corresponding real category labels are</sup> _y_ <sup>_k_</sup> _fake_ <sup>. The real samples f</sup> <sup>_x_</sup> _real_ <sup>_m_</sup> <sup>g</sup> _Mm_ ¼1 <sup>are labeled as 1, and the corresponding real category labels are</sup> _y_ <sup>_m_</sup> _real_ <sup>. Then input them together to the discriminator SDAE for authenticity discrimination and</sup> _K_ _fake_ <sup>_k_</sup> <sup>g</sup> _k_ <sup>g</sup> _Kk_ ¼1 <sup>are labeled as 0, and the corresponding real category labels are</sup> _y_ <sup>_k_</sup> <sup>_k_</sup> _fake_ <sup>. The real samples f</sup> <sup>_x_</sup> _real_ <sup>_m_</sup> _real_ <sup>_m_</sup> <sup>g</sup> _y_ <sup>_m_</sup> _real_ <sup>. Then input them together to the discriminator SDAE for authenticity discrimination and</sup> fault identification. SDAE adds two label classifiers in the top layer. The sigmoid function is used to predict the sample source, and output the corresponding authenticity labels _dreal_ <sup>_m_</sup> <sup>,</sup> <sup>_d_</sup> _fake_ <sup>_k_</sup> <sup>.</sup> _real_ <sup>_m_</sup> <sup>,</sup> <sup>_dk_</sup> _fake_ <sup>_k_</sup> <sup>.</sup> The solfmax function is used to predict the fault category labels _c_ <sup>_m_</sup> _real_ <sup>_m_</sup> _real_ <sup>,</sup> <sup>_ck_</sup> The solfmax function is used to predict the fault category labels _c_ <sup>_m_</sup> _real_ <sup>,</sup> <sup>_ck_</sup> _fake_ <sup>.</sup> ACGAN-SDAE completes the training of discriminator by minimizing the error of authenticity labels and fault category labels through (10). _y_ <sup>_m_</sup> _real_ <sup>ln</sup> <sup>_cm_</sup> _real_ 1 _Lc_ ¼ � _M_ X _M_ _m_ ¼1 ½ _y_ <sup>_m_</sup> _real_ <sup>_cm_</sup> _real_ <sup>þ ð1 �</sup> <sup>_y_</sup> _real_ <sup>_m_</sup> _real_ <sup>_m_</sup> <sup>Þlnð1 �</sup> <sup>_cm_</sup> _real_ <sup>_m_</sup> _real_ <sup>Þ�</sup> ð8Þ <sup>_k_</sup> _fake_ <sup>ln</sup> <sup>_ck_</sup> <u>1</u> _K_ X _K_ _k_ ¼1 ½ _y_ <sup>_k_</sup> <sup>_k_</sup> _fake_ <sup>þ ð1 �</sup> <sup>_yk_</sup> _fake_ <sup>_k_</sup> <sup>Þlnð1 �</sup> <sup>_ck_</sup> <sup>_k_</sup> _fake_ <sup>Þ�</sup> [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 6 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 4.</u> <u>The overall architecture of ACGAN-SDAE fault diagnosis model.</u> [https://doi.org/10.1371/journal.pone.0246905.g004](https://doi.org/10.1371/journal.pone.0246905.g004) <u>1</u> _Ld_ ¼ � _M_ X _M_ _m_ ¼1 <u>1</u> ln _dreal_ <sup>_m_</sup> <sup>�</sup> _K_ X _K_ _k_ ¼1 lnð1 � _dfake_ <sup>_k_</sup> <sup>Þ</sup> ð9Þ _LD_ ¼ argmin Y _D_ ð _Lc_ þ _Ld_ Þ ð10Þ where _LD_ is the loss function of the discrimination in ACGAN-SDAE, Θ _D_ is the parameter set, _Lc_ is the cross-entropy loss error of the category label, _Ld_ is the cross-entropy loss error of the authenticity label. 3.3 Training of generator The generator adopts 1D-convolution operation, in which the first layer is the input layer, which is a combination of Gaussian random noise vector input and category input, and contains two up-sampling layers of size 2. Then two layers of convolution are performed separately, and each layer uses batch normalization, and its momentum is 0.8. The kernel size of the first 1D convolutional layer is 16, has 16 feature maps, and uses the Rectified Linear Unit(ReLu) activation function. The second 1D fusion layer has a kernel size of 8, including 1 feature map, and uses the hyperbolic tangent function as the activation function. Its network structure is shown as in Fig 6 . The output of the generator is one-dimensional data sample. The generated sample f _xfake_ <sup>_k_</sup> <sup>g</sup> _Kk_ ¼1 <sup>are labeled as 1 and input it to discriminator SDAE for</sup> authenticity verification. Then complete the training of the generator by minimizing the (12). _Lg_ ¼ � <sup>1</sup> _K_ X _K_ _k_ ¼1 ln _dfake_ <sup>_k_</sup> ð11Þ [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 7 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 5.</u> <u>Network structure of discriminator.</u> [https://doi.org/10.1371/journal.pone.0246905.g005](https://doi.org/10.1371/journal.pone.0246905.g005) _LG_ ¼ argmin Y _G_ ð _Lc_ þ _Lg_ Þ ð12Þ where _LG_ is the loss function of the generator in ACGAN-SDAE, Θ _G_ is the parameter set, _Lg_ is the cross-entropy loss error of the authenticity label. 3.4 Adversarial training mechanism of model The model realizes the adversarial training mechanism by alternately optimizing the generator and the discriminator. Through the zero-sum game between the them, its optimization goal has been passed as a minimum-maximization problem. Based on the above loss function, the ADAM optimizer is used for training, the learning rate of the discriminator is 0.001, the learning rate of the generator is 0.002, and updates parameters iteratively. The training process can be divided into three steps. [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 8 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 6.</u> <u>Network structure of generator.</u> [https://doi.org/10.1371/journal.pone.0246905.g006](https://doi.org/10.1371/journal.pone.0246905.g006) _Step 1_ : Firstly, generator generates fake samples from Gaussian random noise of potential space with class labels. _Step 2_ : Then, the generated samples and the original samples are input into the generator SDAE for authenticity identification and fault classification. By training the above loss function, the labels and parameters in the discriminator are able to be updated. _Step 3_ : After training the discriminator, at this stage, the discriminator is set to be untrainable and its parameters are frozen. In this stage, only the parameters in generator can be updated, and generator can be trained to generate more realistic fake samples. After a period is completed, the training process starts again from _Step 1_ . Through the above multiple alternating optimization iterations, until the generator and discriminator reach Nash equilibrium, the training of the whole model is accomplished. 3.5 Implementation of fault diagnosis algorithm The steps of fault diagnosis in this paper are mainly divided into three parts: data acquisition and pre-processing, model training, fault identification. The algorithm flow chart is shown in Fig 7 . 1. Data acquisition and pre-processing: In the rolling bearing feature extraction process, considering the complexity of the original vibration signal, the spectral signal is used as the input signal of the model. Firstly, a sensor is used to collect the original vibration signal of the rolling bearing, and the frequency spectrum sample f _xi; yi_ g _mi_ ¼1 <sup>is obtained through the</sup> Fast Fourier Transform (FFT), which is divided into training set and testing set. 2. Model training: The training set is input into the ACGAN-SDAE model. Through the adversarial training of generator and discriminator, the training of the whole model is completed by using ADMA optimizer, alternating optimization generator and discriminator until the they reaches Nash equilibrium. [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 9 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 7.</u> <u>The flowchart of ACGAN-SDAE fault diagnosis method.</u> [https://doi.org/10.1371/journal.pone.0246905.g007](https://doi.org/10.1371/journal.pone.0246905.g007) [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 10 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 8.</u> <u>Experiment platform.</u> [https://doi.org/10.1371/journal.pone.0246905.g008](https://doi.org/10.1371/journal.pone.0246905.g008) 3. Fault identification: The testing set is input into the trained discriminator SDAE, and output the diagnosis results. 4. Experimental results and analysis 4.1 Dataset description The CWRU rolling bearing data set is obtained by the Electrical Engineering Laboratory of Case Western Reserve University [30]. It is an open data set and widely used in fault diagnosis [and it can be obtained through the website: https://csegroups.case.edu/bearingdatacenter. The](https://csegroups.case.edu/bearingdatacenter) experimental platform is shown in Fig 8 . The vibration data used in this study was collected from the driving end of the motor at three speeds of 1750rpm, 1772rpm and 1797rpm. And its sampling frequency was 12kHz. The bearing with fault was machined by EDM, which caused different degrees of damage to the inner race, outer race and roller of the bearing. The damage diameter included 0.007 inches, 0.014 inches and 0.021 inches, with a total of 9 damage states. Therefore, the data contains four health states: 1) Normal condition (Normal) 2) Inner race fault (IF) 3) Outer race fault (OF) 4) Roller fault (RF). Typical time-domain waveform and frequency spectra of the original vibration signals in the 10 health conditions are shown in Fig 9 . In the experiment, FFT is used to preprocess the original signal to obtain spectrum samples, and 1024 data points are used for diagnosis each time. There are three datasets are set in the experiment, as shown in Table 1. Datasets A, B and C are data sets under the load of 1 hp, 2 hp and 3 hp respectively. Each data set contains 6600 training samples and 1000 testing samples. 4.2 Experiments settings In this paper, three groups of experiments are set up to verify the effectiveness and robustness of the proposed ACGAN-SDAE model from unbalanced fault sample size, different signal-tonoise ratio and across different load domains. Therefore, we design three kinds of experiment data settings: 4.2.1 Unbalanced fault sample size dataset. Only part of the data is used for training. Supervised learning needs a huge number of training data to achieve good performance. However, in fact, we usually cannot get enough fault samples to train a deep learning model. Therefore, it is necessary to study the robustness of different models under small fault data. In our experiments, the unbalance rate of training samples in each state mode of data set A is 100%, 40%, 20%, 10% and 5% for comparison experiments. [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 11 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 9.</u> <u>The original vibration signals in the 10 health conditions.</u> <u>(a) the time-domain waveform and (b) the corresponding frequency spectra.</u> [https://doi.org/10.1371/journal.pone.0246905.g009](https://doi.org/10.1371/journal.pone.0246905.g009) 4.2.2 Different signal-to-noise ratio dataset. In actual fault diagnosis, the sample signal usually contains a lot of noise, which makes the diagnosis performance of the model unsatisfactory. Therefore, in our experiments, Gaussian noise with different signal-to-noise ratio (SNR) from -6 to 10dB is added to data set A to test the recognition rate of the model, so as to verify the anti-noise performance of the model. SNR is defined as follows: _SNRdB_ ¼ 10log10 - _<u>Psignal</u>_ ð13Þ _Pnoise_ where _Psignal_ and _Pnoise_ are the power of signal and nosie respectively. Table 1. Description of experimental dataset. <u>Fault type</u> <u>Normal</u> <u>IF</u> <u>IF</u> <u>IF</u> <u>OF</u> <u>OF</u> <u>OF</u> <u>RF</u> <u>RF</u> <u>RF</u> <u>Load</u> <u>Fault number</u> <u>C0</u> <u>C1</u> <u>C2</u> <u>C3</u> <u>C4</u> <u>C5</u> <u>C6</u> <u>C7</u> <u>C8</u> <u>C9</u> Damage diameter <u>(inch)</u> 0 0.007 0.014 0.021 0.007 0.014 0.021 0.007 0.014 0.021 A <u>train</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> 1 <u>test</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> B <u>train</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> 2 <u>test</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> C <u>train</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> <u>660</u> 3 <u>test</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> <u>100</u> [https://doi.org/10.1371/journal.pone.0246905.t001](https://doi.org/10.1371/journal.pone.0246905.t001) [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 12 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing Fig 10. The diagnostic signal with an inner race fault size of 0.014 inches under different loads. (a) the time<u>domain waveform and (b) the corresponding frequency spectra.</u> [https://doi.org/10.1371/journal.pone.0246905.g010](https://doi.org/10.1371/journal.pone.0246905.g010) 4.2.3 Across different load domains dataset. Across different load domains problem is also called cross load domain adaptive problem. Fig 10 shows the time-domain waveform and frequency spectrum of the diagnostic signal with an inner race fault size of 0.014 inches under different loads. It can be seen from Fig 10 that under different loads, the time-domain and frequency spectrum features of the vibration signal are very different, which will cause the classifier to fail to correctly classify the extracted features, thereby reducing the fault recognition rate. Therefore, it is of great practical significance to use the diagnostic model trained with the data under a load to diagnose the vibration signal when the load changes. The ACGAN-SDAE model will be trained using samples with loads of 1hp, 2hp and 3hp respectively, and the signals under the other two loads will be used as the test set for testing. Detailed description of the across different load domains data is shown in Table 2. All the network models used in this paper are trained under the Ubuntu 16.04 operating system and Keras deep learning framework. The CPU model is Intel(R) Core(TM) i7-8700, 16GB memory, the graphics card model is NVIDIA GeForce GTX 1080 Ti. The algorithm is implemented through Python3.6 programming language. 4.3 Experimental design and result analysis 4.3.1 Noise factor selection of ACGAN-SDAE. The diagnostic performance of ACGAN-SADE is mainly affected by the discriminator SDAE, and the selection of noise factor _ρ_ directly affects the performance of SDAE. The noise factor of SDAE is expressed as the random zeroing ratio of input data. The noise factor is too large or too small will make the SDAE performance decline. If the noise factor is too large, the input signal will be masked by the noise, so that the SDAE can not extract rich fault features. If the noise factor is too small, the sample damage is too little, which leads to poor anti-noise performance. In this section, we have optimized the noise factor _ρ_ . Here, ten noise factors of different sizes are studied to determine the best noise factor. To eliminate the effect of contingency, ten tests were carried out, and the average values were taken as the results, the specific results are shown in Fig 11 . It can be seen that with the increase of noise factor, the diagnostic accuracy presents an "arch" distribution, which is consistent with the previous analysis. The highest diagnostic accuracy is 98.5% when the noise factor is 0.3. Therefore, the noise factor is finally selected as _ρ_ = 0.3. Table 2. Description of across different load domains data. <u>Dataset types</u> <u>Training set</u> <u>Testing set</u> <u>Description</u> <u>labeled signals under one signal load</u> <u>unlabeled signals under another load</u> Dataset <u>Training set A</u> <u>Testing set B</u> <u>Testing set C</u> <u>Training set B</u> <u>Testing set C</u> <u>Testing set A</u> <u>Training set C</u> <u>Testing set A</u> <u>Testing set B</u> [https://doi.org/10.1371/journal.pone.0246905.t002](https://doi.org/10.1371/journal.pone.0246905.t002) [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 13 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 11.</u> <u>Diagnosis accuracy of ACGAN-SDAE under different noise factors.</u> [https://doi.org/10.1371/journal.pone.0246905.g011](https://doi.org/10.1371/journal.pone.0246905.g011) 4.3.2 Comparison of diagnostic performance under different fault sample sizes. In this section, unbalanced fault sample size data set will be used for comparison experiments, and the _SNR_ = −4 _dB_ Gaussian noise will be added to data set to simulate the operating environment under noise interference. We compared the diagnostic accuracy of our method with GAN-SAE, SAE, SDAE, MLP and SVM respectively. Among them, the generator of GAN-SAE uses BPNN with a 256-512-1024 structure, and the discriminator uses SAE, which structure is 1024-512256-10. Both SAE and SDAE are 4-layer with the structure of 1024-512-256-10. The noise factor of SDAE is 0.3. The inputs of GAN-SAE, SAE and SDAE are all spectrum samples. The kernel function of SVM adopts Radial Basis Function (RBF), and the penalty factor and related parameters of the kernel function are optimized through the method of cross validation.The number of hidden nodes set by MLP is 50. And 59 artificial extracted features [31] are selected from time domain and frequency domain as inputs to shallow model SVM and MLP. In order to decrease the influence of randomness, repeat the experiment ten times and use the average value as the final diagnosis result. The diagnosis results of different models under different fault sample sizes are given in Fig 12 and Table 3. As can be seen from Fig 12 and Table 3, with the increase of the proportion of fault samples, the diagnosis accuracy of deep network model is significantly improved, while the diagnosis accuracy of shallow model has little change. This is because the deep network model can mine rich information from big data, which significantly improve the diagnostic accuracy of the model. In addition, the diagnostic accuracy of GAN-SAE is higher than the SAE and SDAE, which indicate that GAN can improve the generalization ability of the model under limited fault sample size. Under different fault sample sizes, ACGAN-SDAE obtains better results than other comparison methods. In addition, although only 25% of the fault samples were used in our method, the accuracy can reach 78.67%, which proved the good robustness of our method. ACGAN-SDAE combines the generator and discriminator with the adversarial learning mechanism, and use category labels as auxiliary information to enhance the original GAN, improve the generation effect of the generator, and generate high-quality labeled artificial samples to expand the number of fault samples, which greatly improves the fault diagnosis performance in the case of small samples. [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 14 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 12.</u> <u>Diagnosis results of different models in different fault sample proportions.</u> [https://doi.org/10.1371/journal.pone.0246905.g012](https://doi.org/10.1371/journal.pone.0246905.g012) 4.3.3 Comparison of diagnostic performance under different SNRs and across different load domains. In this section, different SNRs data set are used to verify ACGAN-SDAE antinoise performance. The results are shown in Fig 13 and Table 4. As can be seen from Fig 13 and Table 4, with the decrease of SNRs, the diagnostic performance of different models will also decline. This is because with the increase of noise intensity, the sample damage is more serious, which makes it difficult for the model to extract effective features. In addition, although the diagnostic results of SVM are better than MLP, the anti-noise performance of both models is very weak. For example, in the environment with weak noise _SNR_ = 4 _dB_, the diagnostic accuracy of both models is less than 90%. In contrast, the diagnostic accuracy of ACGAN-SDAE under different SNRs is higher than 90%, and even in the environment with _SNR_ = −6 _dB_, it is 8.76% and 10.48% higher than GAN-SAE and SDAE, respectively. Benefiting from the adversarial learning mechanism and the denoising principle, ACGAN-SDAE have the best anti-noise robustness in a strong noise environment. Next, we used across different load domains data set to simulate fault diagnosis under variable working conditions, and further test domain adaptation performance of ACGAN-SDAE. The results are shown in Fig 14 and Table 5. As can be seen from Fig 14 and Table 5, the average accuracy of SVM and MLP is less than 80%, the performance of GAN-SAE is better than SAE and SDAE, and the average diagnostic accuracy can reach 90.61%. GAN-SAE can learn more sample features through adversarial training. ACGAN-SDAE helps to understand the original data distribution during the generator’s simulation of the generation of fake data. The Table 3. Diagnosis accuracy of different models in different fault sample proportions (%). <u>Method</u> <u>25%</u> <u>40%</u> <u>50%</u> <u>75%</u> <u>100%</u> <u>MLP</u> <u>39.40</u> <u>40.64</u> <u>46.81</u> <u>51.40</u> <u>55.35</u> <u>SVM</u> <u>41.25</u> <u>45.92</u> <u>52.33</u> <u>51.56</u> <u>60.92</u> <u>SAE</u> <u>39.82</u> <u>56.44</u> <u>69.49</u> <u>77.63</u> <u>83.89</u> <u>SDAE</u> <u>41.41</u> <u>58.18</u> <u>75.56</u> <u>78.33</u> <u>86.23</u> <u>GAN-SAE</u> <u>63.28</u> <u>79.26</u> <u>83.61</u> <u>85.47</u> <u>89.75</u> <u>ACGAN-SDAE</u> <u>78.67</u> <u>82.88</u> <u>89.81</u> <u>92.25</u> <u>94.32</u> [https://doi.org/10.1371/journal.pone.0246905.t003](https://doi.org/10.1371/journal.pone.0246905.t003) [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 15 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 13.</u> <u>Diagnosis results of six diagnosis models under different SNRs.</u> [https://doi.org/10.1371/journal.pone.0246905.g013](https://doi.org/10.1371/journal.pone.0246905.g013) adversarial learning can be used as a cross domain regularizer, and the universal and domaininvariant features of data can be better learned. As a result, the model has significant cross domain adaptive ability, with the average accuracy reaching the highest 95.75%. In addition, we can observe that the diagnostic accuracy of all models from C to A and A to C is significantly lower than that of other cross domain conditions. This result is consistent with intuition. When there are big differences between the two working conditions, the diagnostic performance of the model is poor, that is, domain adaptability of the model are not good. 4.3.4 Feature extraction and generate samples visual analysis of ACGAN-SDAE. In order to better understand the feature extraction ability of ACGAN-SDAE, by using t-SNE [32] dimension reduction technology, the features of dataset A at the input layer and the last hidden layer of the discriminator SDAE were reduced to two dimensions and visualized. It can be seen from Fig 15 that the original feature distribution of the input signal is scattered before feature extraction, and different categories are mixed with each other. It is difficult to distinguish them. Through the feature extraction of the discriminator SDAE, we can clearly see that the features of the same fault type have been well aggregated, and the features of different fault types have been well separated. This indicates that ACGAN-SDAE has excellent feature extraction capabilities and can effectively distinguish various fault types. Fig 16 shows the training loss of confrontation and classification in each epoch. It can be observed that with the increase Table 4. Diagnosis accuracy of six diagnosis models under different SNRs (%). Method <u>SNR(dB)</u> <u>-6</u> <u>-4</u> <u>-2</u> <u>0</u> <u>2</u> <u>4</u> <u>6</u> <u>8</u> <u>10</u> <u>MLP</u> <u>45.32</u> <u>53.62</u> <u>58.17</u> <u>61.06</u> <u>66.82</u> <u>70.37</u> <u>75.51</u> <u>80.14</u> <u>83.45</u> <u>SVM</u> <u>52.48</u> <u>68.25</u> <u>75.83</u> <u>83.11</u> <u>86.92</u> <u>89.90</u> <u>92.04</u> <u>93.26</u> <u>94.55</u> <u>SAE</u> <u>78.51</u> <u>82.54</u> <u>86.15</u> <u>90.70</u> <u>93.46</u> <u>94.16</u> <u>95.30</u> <u>96.81</u> <u>97.31</u> <u>SDAE</u> <u>80.64</u> <u>85.26</u> <u>90.89</u> <u>93.25</u> <u>94.79</u> <u>95.81</u> <u>96.52</u> <u>97.26</u> <u>98.01</u> <u>GAN-SAE</u> <u>82.36</u> <u>88.43</u> <u>92.31</u> <u>94.45</u> <u>95.38</u> <u>96.20</u> <u>96.81</u> <u>97.92</u> <u>98.35</u> <u>ACGAN-SDAE</u> <u>91.12</u> <u>93.36</u> <u>95.47</u> <u>96.86</u> <u>97.41</u> <u>97.92</u> <u>98.27</u> <u>98.96</u> <u>99.80</u> [https://doi.org/10.1371/journal.pone.0246905.t004](https://doi.org/10.1371/journal.pone.0246905.t004) [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 16 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 14.</u> <u>Diagnosis accuracy of different models under across different load domains.</u> [https://doi.org/10.1371/journal.pone.0246905.g014](https://doi.org/10.1371/journal.pone.0246905.g014) of the number of epochs, the training loss of the generator and the discriminator gradually converges and finally stays around the Nash equilibrium, and the classification loss also tends to be convergent and stable. After training, generated samples from ACGAN-SDAE are obtained. Fig 17 shows the frequency spectrum of the original samples and the corresponding generated samples under nine fault conditions. From the figure shown, we can see that the original samples and the corresponding generated samples are highly similar, that is, the samples are different but the distributions are similar. Therefore, ACGAN-SDAE can effectively learn the data distribution by adding auxiliary category label information to generate high-quality generated samples similar to the original samples, so as to expand the number of fault samples, and further improve the robustness of the model. 5. Conclusions and future work In this paper, a novel ACGAN-SDAE fault diagnosis method is proposed to solve the problem of data unbalance caused by small sample size, cross domain adaptive problem under variable load and the influence of high background noise pollution in the fault diagnosis of rolling bearing. Through the analysis of the experimental results, the following conclusions can be drawn: Table 5. Diagnosis accuracy of different models under across different load domains (%). <u>Method</u> <u>A-B</u> <u>A-C</u> <u>B-A</u> <u>B-C</u> <u>C-A</u> <u>C-B</u> <u>AVG</u> <u>MLP</u> <u>73.24</u> <u>70.89</u> <u>73.86</u> <u>84.61</u> <u>75.47</u> <u>79.05</u> <u>76.18</u> <u>SVM</u> <u>65.31</u> <u>64.55</u> <u>73.05</u> <u>61.44</u> <u>68.65</u> <u>63.92</u> <u>66.15</u> <u>SAE</u> <u>80.53</u> <u>79.92</u> <u>82.33</u> <u>83.65</u> <u>78.11</u> <u>83.73</u> <u>81.37</u> <u>SDAE</u> <u>82.51</u> <u>83.47</u> <u>89.58</u> <u>91.28</u> <u>80.40</u> <u>90.62</u> <u>86.31</u> <u>GAN-SAE</u> <u>90.02</u> <u>89.25</u> <u>91.50</u> <u>95.31</u> <u>84.52</u> <u>93.06</u> <u>90.61</u> <u>ACGAN-SDAE</u> <u>96.47</u> <u>93.90</u> <u>97.62</u> <u>98.53</u> <u>89.81</u> <u>98.22</u> <u>95.75</u> [https://doi.org/10.1371/journal.pone.0246905.t005](https://doi.org/10.1371/journal.pone.0246905.t005) [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 17 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 15.</u> <u>Feature visualization via t-SNE.</u> <u>(a) features of original input data, (b) features extracted by ACGAN-SDAE.</u> [https://doi.org/10.1371/journal.pone.0246905.g015](https://doi.org/10.1371/journal.pone.0246905.g015) 1. ACGAN can adaptively learn the data distribution to generate high-quality artificial samples by adding auxiliary category label information, so as to expand the number of training fault samples and improve the fault feature extraction ability of the model under the condition of small fault samples. 2. SDAE can be used as discriminator to automatically extract features with better robustness, which makes the model have stronger anti-noise capability. At the same time, in the process of simulating the generation of fake data, the generator is helpful to understand the distribution of original data, and the adversarial learning is used as cross domain regularizer to learn the universal and domain-invariant features of data, which makes the model have significant cross domain adaptive ability. <u>Fig 16.</u> <u>ACGAN-SDAE training loss.</u> <u>(a) adversarial loss, (b) classification loss.</u> [https://doi.org/10.1371/journal.pone.0246905.g016](https://doi.org/10.1371/journal.pone.0246905.g016) [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 18 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing <u>Fig 17.</u> <u>The spectrum of original samples and corresponding generated samples under nine fault conditions.</u> [https://doi.org/10.1371/journal.pone.0246905.g017](https://doi.org/10.1371/journal.pone.0246905.g017) 3. Compared with other fault diagnosis models (GAN-SAE, SDAE, SAE, MLP and SVM), ACGAN-SDAE has better diagnosis performance and stronger robustness. At present, spiking neural P systems(in short, SNP systems) [33] is in full swing, and it is commonly used in the power system fault diagnosis field [34]. SNP systems are a type of membrane computing model, which is abstracted from the neurophysiological behavior of biological neurons sending out electronic pulses along synapses. SNP systems are a distributed and parallel computing model in which neurons work in parallel. Therefore, in the future work, we will apply SNP systems and variant structure to mechanical fault diagnosis to solve the uncertainty and incomplete problems in mechanical fault. Supporting information [S1 Data.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0246905.s001) (RAR) Acknowledgments The authors would like to thank the anonymous reviewers for their critical and constructive comments, their thoughtful suggestions have helped improve this paper substantially. Author Contributions Conceptualization: Chunming Wu. Data curation: Zhou Zeng. Formal analysis: Chunming Wu. Funding acquisition: Chunming Wu. Methodology: Zhou Zeng. Software: Zhou Zeng. Supervision: Chunming Wu. Writing – original draft: Zhou Zeng. Writing – review & editing: Chunming Wu. [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 19 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing References 1. Hui K H, Ooi C S, Lim M H, Leong M S, Al-Obaidi S M. An improved wrapper-based feature selection method for machinery fault diagnosis. PLoS One. 2017; [12(12): 10. https://doi.org/10.1371/journal.](https://doi.org/10.1371/journal.pone.0189143) [pone.0189143 PMID: 29261689](https://doi.org/10.1371/journal.pone.0189143) 2. Lu C, Wang Y, Ragulskis M, Cheng Y J. Fault Diagnosis for Rotating Machinery: A Method based on Image Processing. PLoS One. 2016; [11(10): 22. https://doi.org/10.1371/journal.pone.0164111](https://doi.org/10.1371/journal.pone.0164111) 3. Zhang L, Lang Z-Q. Wavelet Energy Transmissibility Function and Its Application to Wind Turbine Bearing Condition Monitoring. IEEE Transactions on Sustainable Energy. 2018; [9(4): 1833–1843. https://](https://doi.org/10.1109/TSTE.2018.2816738) [doi.org/10.1109/TSTE.2018.2816738](https://doi.org/10.1109/TSTE.2018.2816738) 4. Wang WJ, McFadden PD. EARLY DETECTION OF GEAR FAILURE BY VIBRATION ANALYSIS .1. CALCULATION OF THE TIME-FREQUENCY DISTRIBUTION. Mechanical Systems and Signal Processing. 1993; [7(3): 193–203. https://doi.org/10.1006/mssp.1993.1008](https://doi.org/10.1006/mssp.1993.1008) 5. Seshadrinath J, Singh B, Panigrahi BK. Incipient Turn Fault Detection and Condition Monitoring of Induction Machine Using Analytical Wavelet Transform. IEEE Transactions on Industry Applications. 2014; [50(3): 2235–2242. https://doi.org/10.1109/tia.2013.2283212](https://doi.org/10.1109/tia.2013.2283212) 6. Lu S, Wang J, Xue Y. Study on multi-fractal fault diagnosis based on EMD fusion in hydraulic engineering. Applied Thermal Engineering. 2016; [103: 798–806. https://doi.org/10.1016/ j.](https://doi.org/10.1016/) applthermaleng.2016.04.036. 7. Espinosa A G, Rosero J A, Cusido J, Romeral L, Ortega J A. Fault Detection by Means of Hilbert-Huang Transform of the Stator Current in a PMSM With Demagnetization. IEEE Trans Energy Convers. 2010; [25(2): 312–318. https://doi.org/10.1109/tec.2009.2037922](https://doi.org/10.1109/tec.2009.2037922) 8. Sadeghian A, Ye Z M, Wu B. Online Detection of Broken Rotor Bars in Induction Motors by Wavelet Packet Decomposition and Artificial Neural Networks. IEEE Transactions on Instrumentation and Measurement. 2009; [58(7): 2253–2263. https://doi.org/10.1109/tim. 2009.2013743](https://doi.org/10.1109/tim) 9. Lei Y G, He Z J, Zi Y Y. Application of the EEMD method to rotor fault diagnosis of rotating machinery. Mechanical Systems and Signal Processing. 2009; [23(4): 1327–1338. https://doi.org/10.1016/j.ymssp.](https://doi.org/10.1016/j.ymssp.2008.11.005) [2008.11.005](https://doi.org/10.1016/j.ymssp.2008.11.005) 10. Wang Y X, Markert R, Xiang J W, Zheng W G. Research on variational mode decomposition and its application in detecting rub-impact fault of the rotor system. Mechanical Systems and Signal Processing. 2015; [60–61: 243–251. https://doi.org/10.1016/j.ymssp.2015.02.020](https://doi.org/10.1016/j.ymssp.2015.02.020) 11. Teng W, Ding X, Cheng H, Han C, Liu Y, Mu H. Compound faults diagnosis and analysis for a wind turbine gearbox via a novel vibration model and empirical wavelet transform. Renewable Energy. 2019; [136: 393–402. https://doi.org/10.1016/j.renene.2018.12.094](https://doi.org/10.1016/j.renene.2018.12.094) 12. Wanderley Neto E T, da Costa E G, Maia M J A. Artificial Neural Networks Used for ZnO Arresters Diagnosis. IEEE Transactions on Power Delivery. 2009; [24(3): 1390–1395. https://doi.org/ 10.1109/](https://doi.org/) tpwrd.2009.2013402 13. Zhu X T, Xiong J B, Liang Q. Fault Diagnosis of Rotation Machinery Based on Support Vector Machine Optimized by Quantum Genetic Algorithm. IEEE Access. 2018; [6: 33583–8. https://doi.org/10.1109/](https://doi.org/10.1109/access.2018.2789933) [access.2018.2789933](https://doi.org/10.1109/access.2018.2789933) 14. Song L, Yan R. Bearing fault diagnosis based on Cluster-contraction Stage-wise Orthogonal-MatchingPursuit. Measurement. 2019; [140: 240–253. https://doi.org/10.1016/ j.measurement.2019.03.061](https://doi.org/10.1016/) 15. Shao H D, Jiang H K, Zhao H W, Wang F A. A novel deep autoencoder feature learning method for rotating machinery fault diagnosis. Mechanical Systems and Signal Processing. 2017; 95: 187–204. [https://doi.org/10.1016/j.ymssp.2017.03.034](https://doi.org/10.1016/j.ymssp.2017.03.034) 16. Yuan J, Tian Y. A Multiscale Feature Learning Scheme Based on Deep Learning for Industrial Process Monitoring and Fault Diagnosis. IEEE Access. 2019; [7: 151189–151202. https://doi.org/10.1109/](https://doi.org/10.1109/access.2019.2947714) [access.2019.2947714](https://doi.org/10.1109/access.2019.2947714) 17. Hinton G E, Salakhutdinov R R. Reducing the dimensionality of data with neural networks. Science. 2006; [313(5786): 504–507. https://doi.org/10.1126/science.1127647 PMID: 16873662](https://doi.org/10.1126/science.1127647) 18. Chen Z Y, Zeng X Q, Li W H, Liao G L. Machine Fault Classification Using Deep Belief Network. Proceedings of 2016 IEEE International Instrumentation and Measurement Technology Conference; USA. New York: [IEEE; 2016. p.831–836. https://doi.org/10.1109/I2MTC.2016.7520473](https://doi.org/10.1109/I2MTC.2016.7520473) 19. Jiang G, He H, Yan J, Xie P. Multiscale Convolutional Neural Networks for Fault Diagnosis of Wind Turbine Gearbox. IEEE Transactions on Industrial Electronics. 2019; [66(4): 3196–3207. https://doi.org/10.](https://doi.org/10.1109/tie.2018.2844805) [1109/tie.2018.2844805](https://doi.org/10.1109/tie.2018.2844805) 20. Lei J H, Liu C, Jiang D X. Fault diagnosis of wind turbine based on Long Short-term memory networks. Renewable Energy. 2019; [133: 422–432. https://doi.org/10.1016/j.renene.2018.10.031](https://doi.org/10.1016/j.renene.2018.10.031) [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 20 / 21 PLOS ONE A fault diagnosis method based on Auxiliary Classifier Generative Adversarial Network for rolling bearing 21. Goodfellow I J, Pouget-Abadie J, Mirza M, Xu B, Warde-Farley D, Ozair S, et al. Generative Adversarial Nets. Proceedings of 28th Conference on Neural Information Processing Systems (NIPS); Canada. Montreal: Neural information processing systems foundation; 2014. p.2672–2680. 22. Radford A, Metz L. Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks. Proceedings of 4th International Conference on Learning Representations; Puerto rico. San Juan: ICLR; 2016. 23. Shao S Y, Wang P, Yan R Q. Generative adversarial networks for data augmentation in machine fault diagnosis. Computer Ind. 2019; [106: 85–93. https://doi.org/10.1016/j.compind.2019.01.001](https://doi.org/10.1016/j.compind.2019.01.001) 24. Han T, Liu C, Yang W, Jiang D. A novel adversarial learning framework in deep convolutional neural network for intelligent diagnosis of mechanical faults. Knowledge-Based Systems. 2019; 165: 474– [487. https://doi.org/10.1016/j.neucom.201 6.01.120](https://doi.org/10.1016/j.neucom.201) 25. Zhao Z, Zhou R, Dong Z. Aero-engine faults diagnosis based on K-means improved Wasserstein GAN and relevant vector machine. Proceedings of the 38th Chinese Control Conference; China.Guangzhou: [IEEE; 2019. p.4795–4800. https://doi.org/10.23919/ChiCC.2019.8865682](https://doi.org/10.23919/ChiCC.2019.8865682) 26. Vincent P, Larochelle H, Lajoie I, Bengio Y, Manzagol P-A. Stacked Denoising Autoencoders: Learning Useful Representations in a Deep Network with a Local Denoising Criterion. Journal of Machine Learning Research. 2010; [11: 3371–408. https://doi.org/10.1016/j.mechatronics.2010. 09.004](https://doi.org/10.1016/j.mechatronics.2010) 27. Vincent P, Larochelle H, Bengio Y, Manzago P A. Extracting and composing robust features with denoising autoencoders. Proceedings of the 25th International Conference on Machine Learning; Finland. Helsinki: [ACM; 2008. p.1096–1103. https://doi.org/10.1145/1390156.1390294](https://doi.org/10.1145/1390156.1390294) 28. Odena A, Olah C, Shlens J. Conditional image synthesis with auxiliary classifier GANs. Proceedings of 34th International Conference On Machine Learning, ICML 2017; Australia.Sydney: IMLS; 2017. p.4043–4055. 29. Abdeljaber O, Avci O, Kiranyaz S, Gabbouj M, Inman DJ. Real-time vibration-based structural damage detection using one-dimensional convolutional neural networks. Journal of Sound and Vibration. 2017; [388: 154–170. https://doi.org/10.1016/j.jsv.2016.10.043](https://doi.org/10.1016/j.jsv.2016.10.043) 30. These Data Comes From Case Western Reserve University Bearing Data Center, Dec. 2018, [online] [Available from: https://csegroups.case.edu/bearingdatacenter](https://csegroups.case.edu/bearingdatacenter) 31. Rauber T W, Boldt F d A, Varejao F M. Heterogeneous Feature Models and Feature Selection Applied to Bearing Fault Diagnosis. IEEE Transactions on Industrial Electronics. 2015; [62(1): 637–646. https://](https://doi.org/10.1109/tie.2014.2327589) [doi.org/10.1109/tie.2014.2327589](https://doi.org/10.1109/tie.2014.2327589) 32. van der Maaten L, Hinton G. Visualizing Data using t-SNE. Journal of Machine Learning Research. 2008; 9: 2579–2605. 33. Ionescu M, Paun G, Yokomori T. Spiking Neural P Systems. Fundamenta Informaticae. 2011; 71(2): [279–308. https://doi.org/ 10.1109/BICTA.2010.5645192](https://doi.org/) 34. Tu M, Wang J, Peng H, et al. Application of Adaptive Fuzzy Spiking Neural P Systems in Fault Diagnosis of Power Systems. Chinese Journal of Electronics. 2014, [23(1): 87–92. https://doi.org/ 10.3233/](https://doi.org/) JAE-131740 [PLOS ONE | https://doi org/10 1371/journal pone 0246905](https://doi.org/10.1371/journal.pone.0246905) March 1 2021 21 / 21

섹션 본문 55문단 · 31,584자

(제목 없음)

1Rolling bearing fault diagnosis is one of the challenging tasks and hot research topics in the condition monitoring and fault diagnosis of rotating machinery. However, in practical engineering applications, the working conditions of rotating machinery are various, and it is difficult to extract the effective features of early fault due to the vibration signal accompanied by high background noise pollution, and there are only a small number of fault samples for fault diagnosis, which leads to the significant decline of diagnostic performance. In order to solve above problems, by combining Auxiliary Classifier Generative Adversarial Network (ACGAN) and Stacked Denoising Auto Encoder (SDAE), a novel method is proposed for fault diagnosis. Among them, during the process of training the ACGAN-SDAE, the generator and discriminator are alternately optimized through the adversarial learning mechanism, which makes the model have significant diagnostic accuracy and generalization ability. The experimental results show that our proposed ACGAN-SDAE can maintain a high diagnosis accuracy under small fault samples, and have the best adaptation performance across different load domains and better anti-noise performance.

Introduction

2As a common part of rotating machinery, rolling bearing may cause great economic loss if it breaks down in the working process [1]. Therefore, it is of great significance for the normal operation of the machine to diagnose the rolling bearing effectively [2]. At present, vibration signal analysis is one of the widely employed and effective techniques for machinery fault diagnosis and health monitoring [3]. In essence, machinery fault diagnosis can be regarded as a pattern recognition problem, which includes data acquisition, feature extraction and fault classification. The diagnostic performance largely depends on the effectiveness of feature extraction and classification methods. Thus, traditional fault diagnosis methods based on vibration are generally: signal processing methods based on time domain, frequency domain and timefrequency domain. These methods include time domain statistics, short-time Fourier transform [4], wavelet transform [5], Empirical Mode Decomposition (EMD) [6], Hilbert-Huang a1111111111 a1111111111 a1111111111 a1111111111 a1111111111

3Transform (HHT) [7] and other variants [8][9][10][11]. Then, these extracted features are fed into some shallow machine learning algorithms, including Artificial Neural Network (ANN) [12], Support Vector Machine (SVM) [13], cluster analysis [14], etc. However, the fault feature representation extracted from the above methods is usually designed manually and requires a lot of professional knowledge and manpower [15]. At the same time, most of the methods are limited to the domain and can not be well extended to other new fault diagnosis fields. Instead, deep learning can effectively solve the above problems by modeling the high-level representation of data and predicting/classifying patterns through a layered architecture of multiple nonlinear processing units [16].

4Since Hinton et al. [17] proposed unsupervised layer by layer training combined with supervised fine-tuning method, deep learning theory has become a hot spot in the field of machine learning and artificial intelligence, and has made brilliant achievements in computer vision, speech recognition and other fields. Some experts and scholars have also applied for deep learning theory to the field of mechanical fault diagnosis. Chen et al. [18] proposed a bearing fault diagnosis method based on Deep Belief Network (DBN). By using the advantages of DBN automatic feature extraction and classification, the original vibration signal is directly studied and stratified training, and the fault diagnosis results are automatically given. Considering the multi-scale characteristics inherent in vibration signals of a gearbox, Jiang et al. [19] proposed a new multi-scale convolutional neural network (MSCNN) architecture that can perform multi-scale features extraction and classification simultaneously. Due to the time-series characteristics of wind turbine vibration signals, Lei et al. [20] adopted the Long Short-Term Memory (LSTM) model to realize the end-to-end fault diagnosis of wind turbines.

5Although the above fault methods can achieve good results in some specific aspects, there is still room for improvement: (i) Most of the improvements in the traditional depth model to make the model satisfy better diagnostic accuracy for specific data sets, but it may not be suitable for practical fault diagnosis tasks. (ii) In fact, the machinery generally runs under normal working conditions for a long time, and the sensor can collect enough positive samples, while the negative samples collected under fault conditions are seriously unbalanced compared with the positive samples. Therefore, the diagnosis performance of the unbalanced data set under small sample conditions is very poor. (iii) At the same time, considering the cross domain adaptive problem with the actual variable load conditions and the influence of high background noise pollution, the diagnostic performance of the model will be further deteriorated.

6Goodfellow et al. [21] proposed a Generative Adversarial Network(GAN) in 2014. Due to its powerful performance, GAN has made great achievements in the field of image processing. Radford et al. [22] proposed a novel Deep Convolution Generative Adversarial Network (DCGAN) based on the GAN, which is stable in the training process and can generate highquality images.The application of GAN to the field of mechanical fault diagnosis provides a new perspective. Shao et al. [23] applied GAN as a data set enhancement technique to fault diagnosis for small fault sample sizes, and achieved good results. Han et al. [24] proposed a novel deep adversarial convolutional neural network (DACNN) framework. By introducing adversarial learning into CNN, it helps to make feature representation more robuster and enhance the generalization ability of the training model. Zhao et al. [25] proposed an improved Wassertein GAN fault diagnosis method based on K-means and applied it to aero-engine fault diagnosis. Wassertein GAN with gradient penalty was used to make the model converge process faster.

7Aiming at the problems that the data unbalances caused by small fault sample size, cross domain adaptive problem under variable load and the influence of high background noise pollution in the fault diagnosis of rolling bearing, we proposed a novel fault diagnosis method of rolling bearing which combines ACGAN and SDAE. Different from the traditional GAN, this paper introduces the variant structure ACGAN with auxiliary classification labels. In detail, we use one-dimensional convolutional neural network (1D-CNN) as a generator, and use category labels as auxiliary information to enhance the original GAN, improve the generation effect of the generator, and generate high-quality labeled artificial samples to expand the number of fault samples. The SDAE is used as a discriminator to identify the authenticity and fault of the input samples. SDAE can automatically extract features with better robustness by adding noise to samples for sample reconstruction. At the same time, in the process of simulating the generation of false data, the generator is helpful to understand the distribution of original data, and the adversarial learning is used as a cross domain regularizer to learn the universal and domain-invariant features of data.

8The rest of this paper is organized as follows: in section 2, we will introduce the theoretical background of the relevant methods. Section 3 details our proposed ACGAN-SDAE method. In section 4, some experiments are performed to evaluate our method and other methods. Finally, section 5 summarizes the full text.

SDAE

9SDAE [26] consists of multiple Denoising Auto Encoder (DAE) [27] by stacking. Like the standard Auto Encoder (AE), DAE consists of encoder and decoder. But different from standard AE, DAE enhances the robustness of extracted features by adding impairment noise to the input data, thereby enhancing its anti-noise ability. The encoder compresses the input data in the high-dimensional space to obtain the encode vectors in the low-dimensional space. The decoder reconstructs the encode vectors to obtain the original input data without noise. The structure principle of standard DAE is shown as Fig 1. Given an unlabeled rolling bearing faults sample training set fx m g M m¼1 , the noise qD is added to the training sample x m before coding to get the sample with noisex m .

10where qD is a binomial random hidden noise. The coding network encodes the sample with noisex m . In the coding process, the encode function En θ maps the samplesx m to the encode vectors h m .

11where σ is the sigmoid activation function and σ = 1/(1+exp(−x)), θ is the parameters set of the encoding network and θ = {w e ,b e }, w e and b e are the weight matrix and bias vector of the coding network respectively.

PLOS ONE

12The decoding network reversely transforms the encode vectors h m into the reconstructed representation x m ofx m by decode function De θ 0 .

13where θ 0 is the parameters set of the decoding network and θ 0 = {w d ,b d }, w d and b d are the weight matrix and bias vector of the decoding network respectively. DAE aims to complete the training of the whole network by optimizing the parameters set Θ = {θ,θ 0 } to minimize the reconstruction error L DAE ðx m ; x m Þ betweenx m and x m .

14where Θ is a set of parameters for DAE and Θ = {θ,θ 0 }, M is the sample size. SDAE constructs deep networks by stacking multiple DAEs, and extracts deep features through unsupervised learning. SDAE training steps includes pre-training and fine-tuning, as shown in Fig 2. The pre-training step trains each layer of DAE through unsupervised layer-by-layer greedy learning to extract sample fault features. The encode vector of the hidden layer of the previous layer of DAE is used as the input to next layer of DAE, and repeat this process until the last layer of DAE n is trained and the encoding vector h m n is obtained. Finally, supervised fine-tuning is carried out by using labeled sample data and adding a Solfmax classifier at the top of the network.

GAN

15The structure of GAN is inspired by game theory, regular GAN consists of two parts: generator G and discriminator D (as shown in Fig 3A). Among them, x m is sampled from the original sample and z k is the input of the generator. The generator aims to capture the potential distribution of real data samples x m and generate realistic generated data G(z k ) from Gaussian random noise vector z k in an attempt to deceive the discriminator. Instead, the purpose of the discriminator is to distinguish whether the input data is real data x m or generated data G(z k ).

16GAN continuosly optimizes the generation ability of G and the discrimination ability of D through the adversarial learning mechanism, and finally they reach the Nash equilibrium. The optimization process is a minimax two-player game that can be formulated as:

17where p data (x) is the real data distribution, p z (z) is the prior distribution of the noise vector z, E x�p data ðxÞ is the expected value of the real data distribution of x, and E z�p z ðzÞ is the expected value of z sampled from the noise.

18In the process of training, one part is fixed and the parameters of the other network are updated. Training D maximizes logD(x m ) and training G minimizes log(1−D(G(z k ))). The generator defines a probability distribution function p g , and GAN expects p g to converge to the real data distribution p data through alternating iteration. If and only if p g = p data reaches Nash equilibrium, GAN can well estimate the actual distribution of real samples and generate new samples to expand the training fault sample set.

ACGAN

19Odena et al. [28] proposed a variant architecture of regular GAN to achieve accurate classification of images in the MNIST dataset. This variant architecture is called Auxiliary Classifier Generative Adversarial Network (ACGAN) by adding category labels to generator and discriminator(as shown in Fig 3B). According to research, when GAN is allowed to process additional information, the original generation task of the model will be completed better. Therefore, high quality generated samples can be generated by using auxiliary category label information.

20For the generator, there are two inputs: random noise vector z and label classification information c. And the generated data is X fake = G(c,z). For the discriminator, it is necessary to judge whether the data source is the probability distribution of the real data and the probability distribution of the data source for the classification label, so that the discriminator can not only identify the data source but also distinguish various fault categories. Therefore, the

PLOS ONE

21objective function of ACGAN consists of two parts, as shown in the following formula:

22The first part L s is a cost function for the truthfulness of the data, and the second part L c is a cost function for the accuracy of data classification. In the training process, the optimization direction is to train the discriminator to maximize L s +L c , and the generator to minimize L s −L c . The corresponding physical meaning is that the discriminator is called upon to distinguish between real data and generated data as far as possible and to classify the data effectively. For the generator, the generated data are considered as real data as possible and the data can be classified effectively.

The proposed fault diagnosis method

23In this paper, aiming at the data unbalance problem caused by the small fault sample size in the actual rolling bearing fault diagnosis, the cross domain adaptive problem with variable load conditions and the influence of high background noise pollution, a novel ACGAN-SDAE fault diagnosis method is proposed.

Fault diagnosis model of ACGAN-SDAE

24In this paper, by combining ACGAN and SDAE, we proposed an ACGAN-SDAE fault diagnosis method. The overall structure of the model as shown in Fig 4. In detail, an one-dimensiona convolutional neural network (1D-CNN) [29] is used as the generator, and use category labels as auxiliary information to enhance the original GAN, improve the generation effect of the generator, and generate high-quality labeled artificial samples to expand the number of fault samples. By adding category labels, the generator can generate specific conditional data and make model training more stable. The SDAE is used as a discriminator to distinguish the authenticity and fault category of the input samples.

Training of discriminator

25The four-layer structure of the generator SDAE is 1024-800-200-10 (1), as shown in Fig 5. The generated samples fx k fake g K k¼1 are labeled as 0, and the corresponding real category labels are y k fake . The real samples fx m real g M m¼1 are labeled as 1, and the corresponding real category labels are y m real . Then input them together to the discriminator SDAE for authenticity discrimination and fault identification. SDAE adds two label classifiers in the top layer. The sigmoid function is used to predict the sample source, and output the corresponding authenticity labels d m real , d k fake . The solfmax function is used to predict the fault category labels c m real , c k fake . ACGAN-SDAE completes the training of discriminator by minimizing the error of authenticity labels and fault category labels through (10).

26where L D is the loss function of the discrimination in ACGAN-SDAE, Θ D is the parameter set, L c is the cross-entropy loss error of the category label, L d is the cross-entropy loss error of the authenticity label.

Training of generator

27The generator adopts 1D-convolution operation, in which the first layer is the input layer, which is a combination of Gaussian random noise vector input and category input, and contains two up-sampling layers of size 2. Then two layers of convolution are performed separately, and each layer uses batch normalization, and its momentum is 0.8. The kernel size of the first 1D convolutional layer is 16, has 16 feature maps, and uses the Rectified Linear Unit(ReLu) activation function. The second 1D fusion layer has a kernel size of 8, including 1 feature map, and uses the hyperbolic tangent function as the activation function. Its network structure is shown as in Fig 6. The output of the generator is one-dimensional data sample.

28The generated sample fx k fake g K k¼1 are labeled as 1 and input it to discriminator SDAE for authenticity verification. Then complete the training of the generator by minimizing the (12).

PLOS ONE

29where L G is the loss function of the generator in ACGAN-SDAE, Θ G is the parameter set, L g is the cross-entropy loss error of the authenticity label.

Adversarial training mechanism of model

30The model realizes the adversarial training mechanism by alternately optimizing the generator and the discriminator. Through the zero-sum game between the them, its optimization goal has been passed as a minimum-maximization problem. Based on the above loss function, the ADAM optimizer is used for training, the learning rate of the discriminator is 0.001, the learning rate of the generator is 0.002, and updates parameters iteratively. The training process can be divided into three steps.

PLOS ONE

31Step 1: Firstly, generator generates fake samples from Gaussian random noise of potential space with class labels.

32Step 2: Then, the generated samples and the original samples are input into the generator SDAE for authenticity identification and fault classification. By training the above loss function, the labels and parameters in the discriminator are able to be updated.

33Step 3: After training the discriminator, at this stage, the discriminator is set to be untrainable and its parameters are frozen. In this stage, only the parameters in generator can be updated, and generator can be trained to generate more realistic fake samples. After a period is completed, the training process starts again from Step 1.

34Through the above multiple alternating optimization iterations, until the generator and discriminator reach Nash equilibrium, the training of the whole model is accomplished.

Implementation of fault diagnosis algorithm

35The steps of fault diagnosis in this paper are mainly divided into three parts: data acquisition and pre-processing, model training, fault identification. The algorithm flow chart is shown in Fig 7. 1. Data acquisition and pre-processing: In the rolling bearing feature extraction process, considering the complexity of the original vibration signal, the spectral signal is used as the input signal of the model. Firstly, a sensor is used to collect the original vibration signal of the rolling bearing, and the frequency spectrum sample fx i ; y i g m i¼1 is obtained through the Fast Fourier Transform (FFT), which is divided into training set and testing set.

Model training:

36The training set is input into the ACGAN-SDAE model. Through the adversarial training of generator and discriminator, the training of the whole model is completed by using ADMA optimizer, alternating optimization generator and discriminator until the they reaches Nash equilibrium.

Fault identification:

37The testing set is input into the trained discriminator SDAE, and output the diagnosis results.

Dataset description

38The CWRU rolling bearing data set is obtained by the Electrical Engineering Laboratory of Case Western Reserve University [30]. It is an open data set and widely used in fault diagnosis and it can be obtained through the website: https://csegroups.case.edu/bearingdatacenter. The experimental platform is shown in Fig 8. The vibration data used in this study was collected from the driving end of the motor at three speeds of 1750rpm, 1772rpm and 1797rpm. And its sampling frequency was 12kHz. The bearing with fault was machined by EDM, which caused different degrees of damage to the inner race, outer race and roller of the bearing. The damage diameter included 0.007 inches, 0.014 inches and 0.021 inches, with a total of 9 damage states. Therefore, the data contains four health states: In the experiment, FFT is used to preprocess the original signal to obtain spectrum samples, and 1024 data points are used for diagnosis each time. There are three datasets are set in the experiment, as shown in Table 1. Datasets A, B and C are data sets under the load of 1 hp, 2 hp and 3 hp respectively. Each data set contains 6600 training samples and 1000 testing samples.

Experiments settings

39In this paper, three groups of experiments are set up to verify the effectiveness and robustness of the proposed ACGAN-SDAE model from unbalanced fault sample size, different signal-tonoise ratio and across different load domains. Therefore, we design three kinds of experiment data settings:

Unbalanced fault sample size dataset.

40Only part of the data is used for training. Supervised learning needs a huge number of training data to achieve good performance. However, in fact, we usually cannot get enough fault samples to train a deep learning model. Therefore, it is necessary to study the robustness of different models under small fault data. In our experiments, the unbalance rate of training samples in each state mode of data set A is 100%, 40%, 20%, 10% and 5% for comparison experiments.

Different signal-to-noise ratio dataset.

41In actual fault diagnosis, the sample signal usually contains a lot of noise, which makes the diagnosis performance of the model unsatisfactory. Therefore, in our experiments, Gaussian noise with different signal-to-noise ratio (SNR) from -6 to 10dB is added to data set A to test the recognition rate of the model, so as to verify the anti-noise performance of the model. SNR is defined as follows:

42where P signal and P noise are the power of signal and nosie respectively.

Across different load domains dataset.

43Across different load domains problem is also called cross load domain adaptive problem. Fig 10 shows the time-domain waveform and frequency spectrum of the diagnostic signal with an inner race fault size of 0.014 inches under different loads. It can be seen from Fig 10 that under different loads, the time-domain and frequency spectrum features of the vibration signal are very different, which will cause the classifier to fail to correctly classify the extracted features, thereby reducing the fault recognition rate. Therefore, it is of great practical significance to use the diagnostic model trained with the data under a load to diagnose the vibration signal when the load changes. The ACGAN-SDAE model will be trained using samples with loads of 1hp, 2hp and 3hp respectively, and the signals under the other two loads will be used as the test set for testing. Detailed description of the across different load domains data is shown in Table 2.

44All the network models used in this paper are trained under the Ubuntu 16.04 operating system and Keras deep learning framework. The CPU model is Intel(R) Core(TM) i7-8700, 16GB memory, the graphics card model is NVIDIA GeForce GTX 1080 Ti. The algorithm is implemented through Python3.6 programming language.

Noise factor selection of ACGAN-SDAE.

45The diagnostic performance of ACGAN-SADE is mainly affected by the discriminator SDAE, and the selection of noise factor ρ directly affects the performance of SDAE. The noise factor of SDAE is expressed as the random zeroing ratio of input data. The noise factor is too large or too small will make the SDAE performance decline. If the noise factor is too large, the input signal will be masked by the noise, so that the SDAE can not extract rich fault features. If the noise factor is too small, the sample damage is too little, which leads to poor anti-noise performance. In this section, we have optimized the noise factor ρ.

46Here, ten noise factors of different sizes are studied to determine the best noise factor. To eliminate the effect of contingency, ten tests were carried out, and the average values were taken as the results, the specific results are shown in Fig 11. It can be seen that with the increase of noise factor, the diagnostic accuracy presents an "arch" distribution, which is consistent with the previous analysis. The highest diagnostic accuracy is 98.5% when the noise factor is 0.3. Therefore, the noise factor is finally selected as ρ = 0.3.

Comparison of diagnostic performance under different fault sample sizes.

47In this section, unbalanced fault sample size data set will be used for comparison experiments, and the SNR = −4dB Gaussian noise will be added to data set to simulate the operating environment under noise interference. We compared the diagnostic accuracy of our method with GAN-SAE, SAE, SDAE, MLP and SVM respectively. Among them, the generator of GAN-SAE uses BPNN with a 256-512-1024 structure, and the discriminator uses SAE, which structure is 1024-512- In order to decrease the influence of randomness, repeat the experiment ten times and use the average value as the final diagnosis result. The diagnosis results of different models under different fault sample sizes are given in Fig 12 and Table 3. As can be seen from Fig 12 and Table 3, with the increase of the proportion of fault samples, the diagnosis accuracy of deep network model is significantly improved, while the diagnosis accuracy of shallow model has little change. This is because the deep network model can mine rich information from big data, which significantly improve the diagnostic accuracy of the model. In addition, the diagnostic accuracy of GAN-SAE is higher than the SAE and SDAE, which indicate that GAN can improve the generalization ability of the model under limited fault sample size. Under different fault sample sizes, ACGAN-SDAE obtains better results than other comparison methods. In addition, although only 25% of the fault samples were used in our method, the accuracy can reach 78.67%, which proved the good robustness of our method. ACGAN-SDAE combines the generator and discriminator with the adversarial learning mechanism, and use category labels as auxiliary information to enhance the original GAN, improve the generation effect of the generator, and generate high-quality labeled artificial samples to expand the number of fault samples, which greatly improves the fault diagnosis performance in the case of small samples. Table 4. As can be seen from Fig 13 and Table 4, with the decrease of SNRs, the diagnostic performance of different models will also decline. This is because with the increase of noise intensity, the sample damage is more serious, which makes it difficult for the model to extract effective features. In addition, although the diagnostic results of SVM are better than MLP, the anti-noise performance of both models is very weak. For example, in the environment with weak noise SNR = 4dB, the diagnostic accuracy of both models is less than 90%. In contrast, the diagnostic accuracy of ACGAN-SDAE under different SNRs is higher than 90%, and even in the environment with SNR = −6dB, it is 8.76% and 10.48% higher than GAN-SAE and SDAE, respectively. Benefiting from the adversarial learning mechanism and the denoising principle, ACGAN-SDAE have the best anti-noise robustness in a strong noise environment.

48Next, we used across different load domains data set to simulate fault diagnosis under variable working conditions, and further test domain adaptation performance of ACGAN-SDAE. The results are shown in Fig 14 and Table 5. As can be seen from Fig 14 and Table 5, the average accuracy of SVM and MLP is less than 80%, the performance of GAN-SAE is better than SAE and SDAE, and the average diagnostic accuracy can reach 90.61%. GAN-SAE can learn more sample features through adversarial training. ACGAN-SDAE helps to understand the original data distribution during the generator's simulation of the generation of fake data. The

PLOS ONE

49adversarial learning can be used as a cross domain regularizer, and the universal and domaininvariant features of data can be better learned. As a result, the model has significant cross domain adaptive ability, with the average accuracy reaching the highest 95.75%. In addition, we can observe that the diagnostic accuracy of all models from C to A and A to C is significantly lower than that of other cross domain conditions. This result is consistent with intuition. When there are big differences between the two working conditions, the diagnostic performance of the model is poor, that is, domain adaptability of the model are not good.

Feature extraction and generate samples visual analysis of ACGAN-SDAE.

50In order to better understand the feature extraction ability of ACGAN-SDAE, by using t-SNE [32] dimension reduction technology, the features of dataset A at the input layer and the last hidden layer of the discriminator SDAE were reduced to two dimensions and visualized. It can be seen from Fig 15 that the original feature distribution of the input signal is scattered before feature extraction, and different categories are mixed with each other. It is difficult to distinguish them. Through the feature extraction of the discriminator SDAE, we can clearly see that the features of the same fault type have been well aggregated, and the features of different fault types have been well separated. This indicates that ACGAN-SDAE has excellent feature extraction capabilities and can effectively distinguish various fault types.

PLOS ONE

51of the number of epochs, the training loss of the generator and the discriminator gradually converges and finally stays around the Nash equilibrium, and the classification loss also tends to be convergent and stable. After training, generated samples from ACGAN-SDAE are obtained. Fig 17 shows the frequency spectrum of the original samples and the corresponding generated samples under nine fault conditions. From the figure shown, we can see that the original samples and the corresponding generated samples are highly similar, that is, the samples are different but the distributions are similar. Therefore, ACGAN-SDAE can effectively learn the data distribution by adding auxiliary category label information to generate high-quality generated samples similar to the original samples, so as to expand the number of fault samples, and further improve the robustness of the model.

Conclusions and future work

52In this paper, a novel ACGAN-SDAE fault diagnosis method is proposed to solve the problem of data unbalance caused by small sample size, cross domain adaptive problem under variable load and the influence of high background noise pollution in the fault diagnosis of rolling bearing. Through the analysis of the experimental results, the following conclusions can be drawn:

PLOS ONE

531. ACGAN can adaptively learn the data distribution to generate high-quality artificial samples by adding auxiliary category label information, so as to expand the number of training fault samples and improve the fault feature extraction ability of the model under the condition of small fault samples.

542. SDAE can be used as discriminator to automatically extract features with better robustness, which makes the model have stronger anti-noise capability. At the same time, in the process of simulating the generation of fake data, the generator is helpful to understand the distribution of original data, and the adversarial learning is used as cross domain regularizer to learn the universal and domain-invariant features of data, which makes the model have significant cross domain adaptive ability. At present, spiking neural P systems(in short, SNP systems) [33] is in full swing, and it is commonly used in the power system fault diagnosis field [34]. SNP systems are a type of membrane computing model, which is abstracted from the neurophysiological behavior of biological neurons sending out electronic pulses along synapses. SNP systems are a distributed and parallel computing model in which neurons work in parallel. Therefore, in the future work, we will apply SNP systems and variant structure to mechanical fault diagnosis to solve the uncertainty and incomplete problems in mechanical fault.

55Supporting information S1 Data. (RAR)

참고문헌 37건

  1. Spiking Neural P Systems Fundamenta Informaticae · IOS Press · 2006 10.3233/fun-2006-712-308
  2. Heterogeneous Feature Models and Feature Selection Applied to Bearing Fault Diagnosis IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tie.2014.2327589
  3. Research on variational mode decomposition and its application in detecting rub-impact fault of the rotor system Mechanical Systems and Signal Processing · Elsevier BV · 2015 10.1016/j.ymssp.2015.02.020
  4. Extracting and composing robust features with denoising autoencoders 2008 10.1145/1390156.1390294
  5. Application of the EEMD method to rotor fault diagnosis of rotating machinery Mechanical Systems and Signal Processing · Elsevier BV · 2008 10.1016/j.ymssp.2008.11.005
  6. Early detection of gear failure by vibration analysis i. calculation of the time-frequency distribution Mechanical Systems and Signal Processing · Elsevier BV · 1993 10.1006/mssp.1993.1008
  7. GAN(Generative Adversarial Nets) Journal of Japan Society for Fuzzy Theory and Intelligent Informatics · Japan Society for Fuzzy Theory and Intelligent Informatics · 2017 10.3156/jsoft.29.5_177_2
  8. Reducing the Dimensionality of Data with Neural Networks Science · American Association for the Advancement of Science · 2006 10.1126/science.1127647
  9. Fault Detection by Means of Hilbert–Huang Transform of the Stator Current in a PMSM With Demagnetization IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2010 10.1109/tec.2009.2037922
  10. Stacked Denoising Autoencoders: Learning Useful Representations in a Deep Network with a Local Denoising Criterion Journal of Machine Learning Research · The MIT Press · 2010
  11. Artificial Neural Networks Used for ZnO Arresters Diagnosis IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2009 10.1109/tpwrd.2009.2013402
  12. Online Detection of Broken Rotor Bars in Induction Motors by Wavelet Packet Decomposition and Artificial Neural Networks IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2009 10.1109/tim.2009.2013743
  13. Incipient Turn Fault Detection and Condition Monitoring of Induction Machine Using Analytical Wavelet Transform IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2013 10.1109/tia.2013.2283212
  14. Visualizing Data using t-SNE Journal of Machine Learning Research · The MIT Press · 2008
  15. Study on multi-fractal fault diagnosis based on EMD fusion in hydraulic engineering Applied Thermal Engineering · Elsevier BV · 2016 10.1016/j.applthermaleng.2016.04.036
  16. Machine fault classification using deep belief network 2016 10.1109/i2mtc.2016.7520473
  17. Fault Diagnosis for Rotating Machinery: A Method based on Image Processing PLoS ONE · Public Library of Science · 2016 10.1371/journal.pone.0164111
  18. Conditional image synthesis with auxiliary classifier GANs International Conference on Machine Learning · 2017
  19. Real-time vibration-based structural damage detection using one-dimensional convolutional neural networks Journal of Sound and Vibration · Elsevier BV · 2016 10.1016/j.jsv.2016.10.043
  20. Proceedings of the 25th international conference on Machine learning - ICML '08 the 10th international conference · 2008 10.1145/1390156
  21. Application of Adaptive Fuzzy Spiking Neural P Systems in Fault Diagnosis of Power Systems Chinese Journal of Electronics · Institution of Engineering and Technology · 2014 10.23919/cje.2014.10848023
  22. 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
  23. Intrarater and interrater reliability of three classifications for scapular dyskinesis in athletes PLoS ONE · Public Library of Science · 2017 10.1371/journal.pone.0181518
  24. An improved wrapper-based feature selection method for machinery fault diagnosis PLoS ONE · Public Library of Science · 2017 10.1371/journal.pone.0189143
  25. Wavelet Energy Transmissibility Function and Its Application to Wind Turbine Bearing Condition Monitoring IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2018 10.1109/tste.2018.2816738
  26. Fault Diagnosis of Rotation Machinery Based on Support Vector Machine Optimized by Quantum Genetic Algorithm IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2789933
  27. Multiscale Convolutional Neural Networks for Fault Diagnosis of Wind Turbine Gearbox IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2844805
  28. Fault diagnosis of wind turbine based on Long Short-term memory networks Renewable Energy · Elsevier BV · 2018 10.1016/j.renene.2018.10.031
  29. A novel adversarial learning framework in deep convolutional neural network for intelligent diagnosis of mechanical faults Knowledge-Based Systems · Elsevier BV · 2018 10.1016/j.knosys.2018.12.019
  30. Compound faults diagnosis and analysis for a wind turbine gearbox via a novel vibration model and empirical wavelet transform Renewable Energy · Elsevier BV · 2019 10.1016/j.renene.2018.12.094
  31. Generative adversarial networks for data augmentation in machine fault diagnosis Computers in Industry · Elsevier BV · 2019 10.1016/j.compind.2019.01.001
  32. Bearing fault diagnosis based on Cluster-contraction Stage-wise Orthogonal-Matching-Pursuit Measurement · Elsevier BV · 2019 10.1016/j.measurement.2019.03.061
  33. Unsupervised Representation Learning with Deep Convolutional Generative\n Adversarial Networks arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1511.06434
  34. A Multiscale Feature Learning Scheme Based on Deep Learning for Industrial Process Monitoring and Fault Diagnosis IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2947714
  35. Aero-Engine Faults Diagnosis Based on K-Means Improved Wasserstein GAN and Relevant Vector Machine 2019 10.23919/chicc.2019.8865682
  36. Stacked Denoising Autoencoders: Learning Useful Representations in a Deep Network with a Local Denoising Criterion Journal of Machine Learning Research · The MIT Press · 2010 10.5555/1756006.1953039
  37. Spiking Neural P Systems IGI Global eBooks · IGI Global · 2011 10.4018/9781599049960.ch004.ch000