Next Article in Journal
A Comparative Study of Meta-Modeling for Response Estimation of Stochastic Nonlinear MDOF Systems Using MIMO-NARX Models
Previous Article in Journal
Effectiveness of Food Processing By-Products as Dust Suppressants for Exposed Mine Soils: Results from Laboratory Experiments and Field Trials
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Intelligent Fault Diagnosis of Broken Wires for Steel Wire Ropes Based on Generative Adversarial Nets

1
College of Mechanical and Automotive Engineering, Liaocheng University, Liaocheng 252000, China
2
College of Mechanical and Automotive Engineering, Qingdao University of Technology, Qingdao 266520, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(22), 11552; https://doi.org/10.3390/app122211552
Submission received: 24 October 2022 / Revised: 8 November 2022 / Accepted: 12 November 2022 / Published: 14 November 2022
(This article belongs to the Section Mechanical Engineering)

Abstract

:
The quantitative identification of broken wires is of great significance to maintain the safety of mechanical systems, such as steel wire ropes. However, in order to achieve high accuracy recognition results, a large number of fault samples are necessary, which is difficult to achieve in practical industrial detection. In this paper, a novel quantitative identification approach, based on generative adversarial nets (GANs) and a convolutional neural network (CNN), is proposed to solve the broken wire recognition problem in situations where real inspections have generated only a small sample of broken wires for analysis. One-dimensional original signals of broken wires are transformed into two-dimensional time-frequency images by continuous wavelet transform (CWT). Next, these time-frequency images are used for quantitative identification of various defects by combing GANs and CNN with limited samples. The main innovation of this paper is that the identification accuracy of broken wires can be improved by generating fault samples through GANs. The experimental results demonstrate that the proposed method achieves better recognition rates for broken wires compared with the existing detection methods.

1. Introduction

Steel wire ropes play an important load-bearing role in many mechanical systems [1]. The occurrence of broken wires may lead to unexpected security issues [2]. Regular replacement is a commonly used in engineering to avoid wire rope accidents, as such accidents usually cause huge economic waste [3]. However, the rope is still potentially safety hazard before the replacement period [4,5], therefore, it is necessary to explore an intelligent diagnosis method to safely maintain the operation of steel wire ropes.
In recent years, many studies have been carried out to realize the quantitative identification of broken wires, which includes signal processing methods, feature extraction, recognition models, and so on [6,7,8,9]. Zhang et al. [6] proposed a denoising method based on ensemble empirical mode decomposition (EEMD) to reduce the noise of the remanence signals caused by the defects. A back propagation (BP) neural network was used for the identification of different broken wires. Zhang et al. [7] built a two-step neural network to distinguish internal and surface defects of the wire rope, in which the MFL signals of broken wires are received by both the induction coil and Hall sensor. Liu et al. [8] present a surface detection method for steel wire ropes using deep learning and computer vision techniques. Liu et al. [9] combined signal analysis and a convolutional neural network (CNN) for the identification of wire rope defects.
However, a large number of fault samples are required for the methods mentioned above to find the relationship between damage information and various defects, which is difficult to implement in practical detection. The testing process must be controlled to minimize machine downtime and ensure orderly production. Therefore, intelligent fault diagnosis methods are urgently demanded to monitor the condition of steel wire ropes in the case of small samples of faults.
Generative adversarial networks (GANs) have been attracting considerable attention since they were proposed in 2014 [10,11]. New samples, different from the original data but with similar distribution, can be generated through the GANs, which provides a new method for fault diagnosis under the condition of small samples [12]. GANs have been successfully applied in the domain of machine fault diagnosis [13,14]. Liang et al. [13] proposed an intelligent fault diagnosis for rotating machinery based on wavelet transform (WT), GANs, and a convolutional neural network (CNN). Langevin A et al. [14] developed an auxiliary classifier GAN framework for machine fault diagnosis, which was verified through induction motor vibration signal datasets. However, there are few related studies in the field of wire rope fault diagnosis. Hence, in this paper, the GANs are first attempted for the wire rope detection, and the effectiveness of the network is evaluated through commonly broken wire experiments.
The main contributions of this paper can be summarized as follows:
(1)
A novel intelligent detection method is presented by combing GANs and CNN, which can be applied to the quantitative identification of surface and inner broken wires of wire ropes in the case of small samples.
(2)
By using the GANs for the expansion of the fault data set to achieve higher accuracy of quantitative detection, which can adapt to the actual complex conditions of broken wire inspection.
The remaining part of the paper is organized as follows. The theory of GANs is introduced in Section 2. In Section 3, the detailed description of the whole framework based on GANs is illustrated. Section 4 presents the experimental results of the proposed method. Finally, the conclusions and discussion are drawn in Section 5.

2. Theoretical Background

2.1. Generative Adversarial Nets (GANs)

Due to the great success in data generation, GANs have become one of the deep network models that has the most potential [15,16]. GANs are inspired by a competitive game [10]. It consists of two networks trained together, a generative model (generator, G) and a discriminative model (discriminator, D), shown in Figure 1. The generator is trained by using random noise to produce fake samples, trying to deceive the discriminator, while the discriminator is trained to distinguish between generated and real data. Through the continuous adversarial learning of the two models, the performance of the generator and the discriminator can be improved simultaneously. The goal of the optimization is to achieve Nash equilibrium between G and D [17,18]. The objective function can be expressed as follows:
min G max D V ( D , G ) = E x p d a t a ( x ) [ log D ( x ) ] + E z p z ( z ) [ log ( 1 D ( G ( z ) ) ) ]
where G and D represent the generator and the discriminator; p d a t a is the distribution of real sample; and p z is the prior distribution of the input noise variables. During the training process, D is trained to maximize the probability of the discriminator to distinguish both real and generated data, while G is trained to minimize log ( 1 D ( G ( z ) ) ) to generate realistic data.

2.2. Convolutional Neural Network

Convolutional neural networks (CNN) have become one of the most commonly used deep network models, as they can automatically extract feature information from the original data [19]. CNN is mainly composed of a convolutional layer, a pooling layer and a fully connected layer. Its typical structure is displayed in Figure 2.
As feature extractors, the convolutional layers can learn the feature information of the input images. The core idea of convolution is to reduce the number of parameters to be trained by using local receptive fields and sharing weights. The calculation process of the convolutional layer can be expressed as follows [20]:
x j l = f ( i M j x i l 1 × k i j l + b j l )
where the × represents the convolution operation; x is the input image; k i j l represents the weight matrix; M j represents the selection of the input feature map; b j l is the bias.
Followed by one or more convolution layers, the pooling layer is used to reduce the dimension of the feature maps and ensure the spatial invariance of the feature. The most commonly used pooling functions are max pooling function and average pooling function. Average pooling refers to calculating the average value of all units in the pooled receptive field as the new eigenvalue, while max pooling refers to selecting the maximum value as the new eigenvalue in the pooled receptive field [21].
After several combined convolution layers and pooling layers, there is usually a fully connected layer to realize classification or logical regression [22]. In order to distinguish T categories, the number of neurons in the fully connected layer should be set to T .

3. Proposed Method

Usually, it is necessary to train the deep learning model with enough fault samples, which is difficult to implement in practical detection. Since the wire rope works properly most of the time, it is easy to acquire normal samples, while it is relatively difficult to obtain fault data. Therefore, it is difficult to achieve accurate recognition from the limited sample size of fault data.
In this paper, a new method is proposed for quantitative identification of broken wires based on GANs. The framework of the proposed method is illustrated in Figure 3. The specific process of fault diagnosis is displayed as follows:
(a)
The broken wire signals of the steel wire rope are collected by a probe using the magnetic flux leakage (MFL) method.
(b)
In order to make the broken wire signals suitable for model training, these original damage signals are transformed into time-frequency images through continuous wavelet transform (CWT).
(c)
This image data are divided into a training set and a testing set. In order to meet the requirements of deep learning model training, the training set is used to generate more fault samples based on GANs. These generated data and original data are combined and input into the CNN model for training.
(d)
The trained CNN model is used to classify the testing set to achieve broken wire diagnosis of the wire rope.
For the purpose of data generation, a deep convolutional generative adversarial networks (DCGANs) are selected in this paper because of its advantage in generating high-quality images [18]. The structure of DCGANs can be seen in Figure 4. The training process of GANs is very unstable, which often leads to meaningless output of the generator [23]. Compared with GANs, some structural changes were made in DCGANs to improve the quality of samples. The CNN is used in the discriminator and generator of the DCGANs to replace the multi-layer perceptron in the GANs. At the same time, to make the whole network differentiable, the pooling layer in the CNN is removed. In DCGANs, deconvolution is used in the generator and the convolution architecture is adopted in the discriminator.
As shown in Figure 5, a CNN is used in this paper for fault classification [9]. This CNN consists of three convolutional layers with the convolution kernel size of 11 × 11. Between the convolutional layers, the max pooling layer is deployed for feature dimensionality reduction. Following the convolution layers and pooling layers, there is a fully connected layer to realize classification of T-type defects.

4. Experimental Study

4.1. Experimental Setup

To validate the effectiveness of the proposed method, the steel wire rope broken wire experiment of is conducted on the safety detection test rig in Qingdao University of Technology. Six various defects are hand-crafted on the wire rope: the first three injuries are surface broken wires and the last three injuries are the internal broken wires, which is illustrated in Figure 6. The fracture length of each broken wire is 13 mm, and the number of broken wires varies from 1 to 3. According to the number of broken wires and different positions, these defects are divided into six patterns, shown in Table 1.
The steel wire rope test rig is shown in Figure 7, which is composed of the framework, a movable tray, a detector, and a loading device. During the testing process, the damaged wire rope is fixed to the framework and loaded through the loading device. The detector follows the movable tray to scan the rope and collect signals. This detector is designed and manufactured by our laboratory based on the magnetic flux leakage principle [4]. It is a magnetic concentrating sensor, which is used to collect the magnetic flux leakage (MFL) signals generated by broken wires. The damage signals obtained by the detector are analog-to-digital (A/D) converted by National Instrument (NI) 4496 Card, and displayed and stored in real time by a designed LabVIEW program, shown in Figure 8.

4.2. Data Preprocessing

The original oscillation signal collected in the experiment is shown in Figure 9. It can be clearly seen that there are 6 mutations (MFL signals) in the figure below, corresponding to 6 kinds of defects in Figure 6. However, it is very difficult to distinguish the different faults in the time domain. In order to realize the identification of various broken wires, each MFL signal with 1024 data points is cut into a data segment. Then, these data segments are transformed into time-frequency images by continuous wavelet transform (CWT). The conversion is implemented in MATLAB through the “cwtfilterbank” function, where the analytic Morse wavelet is used in the filter bank. The conversion result is shown in Figure 10.
A total of 200 groups of oscillation signals were collected in the detection experiment. Therefore, for each pattern in Table 1, the MFL signals are converted into 200 time-frequency images. There are 1200 samples in total for 6 kinds of injuries, of which 900 samples are used for data generation and CNN training, and the remaining 300 samples are used for testing.
The training set is used for generating more samples by the GANs mentioned in Section 3. For each type of damage, 50 fake images are generated, which is shown in Figure 11. As can been seen from Figure 11, these generated images are similar to the original images. At the same time, these fake pictures contain some new features. By this operation, the fault sample is expanded, the training of the classifier can be strengthened, and the recognition accuracy of the model can be further improved.
The training set and the generated data are used to train the CNN. After the training, the testing set is used to test the effectiveness of fault recognition. As shown in Figure 12, a confusion matrix is employed to visualize the fault classification effect of the proposed method. Obviously, almost all faults have been correctly identified, the recognition accuracy is 99.3%.
In addition, the proposed method is compared with the back propagation (BP) neural network and the traditional CNN. For the BP network, some artificial features are extracted from MFL signals (Figure 9) for training. For the conventional CNN, the training set in this paper is used for training without generating data, and the testing set is used for identification. The accuracy of each fault and the total identification accuracy are revealed in Figure 13. Obviously, there is a fluctuation in the identification accuracy of different fault cases. However, the proposed method has the highest classification accuracy for each fault. Compared with the BP network and the traditional CNN, the GAN+CNN method has the best recognition accuracy.
In order to show the powerful ability of the proposed GAN-based model in broken wire recognition, the features learned by the sofmax layer of the CNN are represented by t-distributed stochastic neighbor embedding (t-SNE), which is compared with manual features in the BP and a single CNN, as shown in Figure 14. It can be seen from Figure 14 that artificial features failed to cluster different faults, and a serious coverage occurs between different broken wire samples. For a single CNN, the clustering of faults is more obvious, and only a few errors occur. For the proposed GAN+CNN method, the boundaries of different faults are more clearly distinguished. At the same time, compared with the other two methods, the coverage phenomenon of various fault samples is lowest using the proposed method.

5. Conclusions

In this paper, an intelligent fault diagnosis method based on GAN is proposed to identify various broken wires of steel wire ropes. The MFL signals of broken wires are transformed into time–frequency images by CWT. Data generation is carried out through the GAN, and fault identification is realized by a CNN. By combining GAN and CNN, the recognition accuracy of broken wires is improved when compared with a BP network or a conventional CNN. The experimental results show that the accuracy of the proposed method can reach 100% for 6 kinds of internal and external broken wires. The GAN-CNN based model has great application prospects for faults diagnosis of steel wire ropes.
As for the GAN based model, this paper only studies the identification effect of several internal and external faults under laboratory conditions. The recognition performance of the model for more faults under complex working conditions has not been explored. The effective application of this model to practical detection will be the key research content in future work.

Author Contributions

Conceptualization, Y.Z. and L.J.; methodology, Y.Z.; software, L.Z; validation, C.W., J.H.; formal analysis, Y.Z.; investigation, Y.Z.; resources, L.J.; data curation, C.W.; writing—original draft preparation, Y.Z.; writing—review and editing, L.J.; visualization, J.H.; supervision, Y.Z.; project administration, L.Z.; funding acquisition, L.J. All authors have read and agreed to the published version of the manuscript.

Funding

The research is supported by the Natural Science Foundation of Shandong Province, China (Grant No. ZR2020QE158) and the Key Research and Development Project of Qingdao, China (Grant No. 21-38-04-0002) and University Cooperation Project, China (Grant No. HJ20191C070657).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Liu, S.; Sun, Y.; Jiang, X.; Kang, Y. A Review of Wire Rope Detection Methods, Sensors and Signal Processing Techniques. J. Nondestruct. Eval. 2020, 39, 1–18. [Google Scholar] [CrossRef]
  2. Zhang, J.; Peng, F.; Chen, J. Quantitative detection of wire rope based on three-dimensional magnetic flux leakage color imaging technology. IEEE Access 2020, 8, 104165–104174. [Google Scholar] [CrossRef]
  3. Zhang, Y.; Jing, L.; Xu, W.; Zhan, W.; Tan, J. A sensor for broken wire detection of steel wire ropes based on the magnetic concentrating principle. Sensors 2019, 19, 3763. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Liu, S.; Sun, Y.; Jiang, X.; Kang, Y. Comparison and analysis of multiple signal processing methods in steel wire rope defect detection by hall sensor. Measurement 2021, 171, 108768. [Google Scholar] [CrossRef]
  5. Zhang, D.; Zhang, E.; Pan, S. A new signal processing method for the nondestructive testing of a steel wire rope using a small device. NDT E Int. 2020, 114, 102299. [Google Scholar] [CrossRef]
  6. Zhang, J.; Zheng, P.; Tan, X. Recognition of broken wire rope based on remanence using EEMD and wavelet methods. Sensors 2018, 18, 1110. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Zhang, D.; Zhang, E.; Yan, X. Quantitative method for detecting internal and surface defects in wire rope. NDT E Int. 2021, 119, 102405. [Google Scholar] [CrossRef]
  8. Huang, X.; Liu, Z.; Zhang, X.; Kang, J.; Zhang, M.; Guo, Y. Surface damage detection for steel wire ropes using deep learning and computer vision techniques. Measurement 2020, 161, 107843. [Google Scholar] [CrossRef]
  9. Liu, S.; Wang, Q.; Sun, Y.; He, L.; Kang, Y. Wire Rope Defect Recognition Based on Signal Analysis and Convolutional Neural Networks. Available at SSRN 4084721. Available online: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4084721 (accessed on 23 October 2022).
  10. Goodfellow, I.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative adversarial nets. Adv. Neural Inf. Process. Syst. 2014, 27, 139–144. [Google Scholar]
  11. Creswell, A.; White, T.; Dumoulin, V.; Arulkumaran, K.; Sengupta, B.; Bharath, A.A. Generative adversarial networks: An overview. IEEE Signal Proc. Mag. 2018, 35, 53–65. [Google Scholar] [CrossRef] [Green Version]
  12. Zhang, T.; Chen, J.; Li, F.; Pan, T.; He, S. A small sample focused intelligent fault diagnosis scheme of machines via multi-modules learning with gradient penalized generative adversarial networks. IEEE Trans. Ind. Electron. 2020, 68, 10130–10141. [Google Scholar] [CrossRef]
  13. Liang, P.; Deng, C.; Wu, J.; Yang, Z. Intelligent fault diagnosis of rotating machinery via wavelet transform, generative adversarial nets and convolutional neural network. Measurement 2020, 159, 107768. [Google Scholar] [CrossRef]
  14. Langevin, A.; Cody, T.; Adams, S.; Beling, P. Generative adversarial networks for data augmentation and transfer in credit card fraud detection. J. Oper. Res. Soc. 2021, 73, 153–180. [Google Scholar] [CrossRef]
  15. Gui, J.; Sun, Z.; Wen, Y.; Tao, D.; Ye, J. A review on generative adversarial networks: Algorithms, theory, and applications. IEEE Trans. Knowl. Data Eng. 2021. [Google Scholar] [CrossRef]
  16. Zhang, W.; Li, X.; Jia, X.; Ma, H.; Luo, Z.; Li, X. Machinery fault diagnosis with imbalanced data using deep generative adversarial networks. Measurement 2020, 152, 107377. [Google Scholar] [CrossRef]
  17. Wang, K.; Gou, C.; Duan, Y.; Lin, Y.L.; Zheng, X.H.; Wang, F.Y. Generative adversarial networks: The state of the art and beyond. Acta Autom. Sin. 2017, 43, 321–332. [Google Scholar]
  18. Liang, P.; Deng, C.; Wu, J.; Li, G.; Yang, Z.; Wang, Y. Intelligent fault diagnosis via semisupervised generative adversarial nets and wavelet transform. IEEE Trans. Instrum. Meas. 2019, 69, 4659–4671. [Google Scholar] [CrossRef]
  19. Jing, L.; Zhao, M.; Li, P.; Xu, X. A convolutional neural network based feature learning and fault diagnosis method for the condition monitoring of gearbox. Measurement 2017, 111, 1–10. [Google Scholar] [CrossRef]
  20. Tang, S.; Yuan, S.; Zhu, Y. Convolutional neural network in intelligent fault diagnosis toward rotatory machinery. IEEE Access 2020, 8, 86510–86519. [Google Scholar] [CrossRef]
  21. Rawat, W.; Wang, Z. Deep convolutional neural networks for image classification: A comprehensive review. Neural Comput. 2017, 29, 2352–2449. [Google Scholar] [CrossRef]
  22. Jiao, J.; Zhao, M.; Lin, J.; Liang, K. A comprehensive review on convolutional neural network in machine fault diagnosis. Neurocomputing 2020, 417, 36–63. [Google Scholar] [CrossRef]
  23. Wu, Q.; Chen, Y.; Meng, J. DCGAN-based data augmentation for tomato leaf disease identification. IEEE Access 2020, 8, 98716–98728. [Google Scholar] [CrossRef]
Figure 1. The structure of GANs.
Figure 1. The structure of GANs.
Applsci 12 11552 g001
Figure 2. The typical structure of a CNN.
Figure 2. The typical structure of a CNN.
Applsci 12 11552 g002
Figure 3. The framework of the proposed method.
Figure 3. The framework of the proposed method.
Applsci 12 11552 g003
Figure 4. The structure of the DCGANs.
Figure 4. The structure of the DCGANs.
Applsci 12 11552 g004
Figure 5. The classification model of the CNN.
Figure 5. The classification model of the CNN.
Applsci 12 11552 g005
Figure 6. The wire rope with different defects.
Figure 6. The wire rope with different defects.
Applsci 12 11552 g006
Figure 7. The wire rope test rig.
Figure 7. The wire rope test rig.
Applsci 12 11552 g007
Figure 8. The data acquisition system.
Figure 8. The data acquisition system.
Applsci 12 11552 g008
Figure 9. Signals received by the MFL sensor.
Figure 9. Signals received by the MFL sensor.
Applsci 12 11552 g009
Figure 10. The time-frequency images converted by MFL signals: (a) 1 external broken wire; (b) 2 external broken wires; (c) 3 external broken wires; (d) 1 internal broken wire; (e) 2 internal broken wires; (f) 3 internal broken wires.
Figure 10. The time-frequency images converted by MFL signals: (a) 1 external broken wire; (b) 2 external broken wires; (c) 3 external broken wires; (d) 1 internal broken wire; (e) 2 internal broken wires; (f) 3 internal broken wires.
Applsci 12 11552 g010
Figure 11. Fake time-frequency images generated by GAN: (a) 1 external broken wire; (b) 2 external broken wires; (c) 3 external broken wires; (d) 1 internal broken wire; (e) 2 internal broken wires; (f) 3 internal broken wires.
Figure 11. Fake time-frequency images generated by GAN: (a) 1 external broken wire; (b) 2 external broken wires; (c) 3 external broken wires; (d) 1 internal broken wire; (e) 2 internal broken wires; (f) 3 internal broken wires.
Applsci 12 11552 g011
Figure 12. The confusion matrix using the proposed method.
Figure 12. The confusion matrix using the proposed method.
Applsci 12 11552 g012
Figure 13. The comparison of each fault and the total identification accuracy of different methods.
Figure 13. The comparison of each fault and the total identification accuracy of different methods.
Applsci 12 11552 g013
Figure 14. Feature visualization for BP, CNN and GAN by using t-SNE.
Figure 14. Feature visualization for BP, CNN and GAN by using t-SNE.
Applsci 12 11552 g014
Table 1. Data description.
Table 1. Data description.
LabelFault Description
11 surface broken wire
22 surface broken wires
33 surface broken wires
41 internal broken wire
52 internal broken wires
63 internal broken wires
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, Y.; Han, J.; Jing, L.; Wang, C.; Zhao, L. Intelligent Fault Diagnosis of Broken Wires for Steel Wire Ropes Based on Generative Adversarial Nets. Appl. Sci. 2022, 12, 11552. https://doi.org/10.3390/app122211552

AMA Style

Zhang Y, Han J, Jing L, Wang C, Zhao L. Intelligent Fault Diagnosis of Broken Wires for Steel Wire Ropes Based on Generative Adversarial Nets. Applied Sciences. 2022; 12(22):11552. https://doi.org/10.3390/app122211552

Chicago/Turabian Style

Zhang, Yiqing, Jialin Han, Luyang Jing, Chengming Wang, and Ling Zhao. 2022. "Intelligent Fault Diagnosis of Broken Wires for Steel Wire Ropes Based on Generative Adversarial Nets" Applied Sciences 12, no. 22: 11552. https://doi.org/10.3390/app122211552

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop