Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-06T07:18:50.185Z Has data issue: false hasContentIssue false

A novel intelligent fault diagnosis method of bearing based on multi-head self-attention convolutional neural network

Published online by Cambridge University Press:  17 May 2024

Hang Ren
Affiliation:
College of Mechatronic Engineering, Harbin Engineering University, Harbin 150001, China
Shaogang Liu
Affiliation:
College of Mechatronic Engineering, Harbin Engineering University, Harbin 150001, China
Bo Qiu
Affiliation:
CSSC Fire Equipment Co., Ltd, Jiangxi 332000, China
Hong Guo
Affiliation:
College of Mechatronic Engineering, Harbin Engineering University, Harbin 150001, China
Dan Zhao*
Affiliation:
College of Mechatronic Engineering, Harbin Engineering University, Harbin 150001, China
*
Corresponding author: Dan Zhao; Email: heuzhaodan@outlook.com
Rights & Permissions [Opens in a new window]

Abstract

Deep learning (DL) has been widely used in bearing fault diagnosis. In particular, convolutional neural networks (CNNs) improve diagnosis accuracy by extracting excellent fault features. However, CNN lacks an explicit learning mechanism to distinguish between different fault characteristics in the input signal to the diagnosis results. This article presents a new end-to-end depth framework called multi-head self-attention convolution neural network (MSA-CNN) for bearing fault diagnosis. Firstly, we adopt a data pre-processing method that directly converts one-dimensional (1D) original signals into two-dimensional (2D) grayscale images, which is simple to implement and preserves the complete information of the original signal. Secondly, multi-head self-attention (MSA) is first constructed to aggregate the global information and adaptively assign weights to the input signal's features. Thirdly, the CNN with small-scale kernels extracted detailed local features. Finally, the learned high-level representations are fed into the full connect (FC) layer for fault diagnosis. The performance of the MSA-CNN is validated on different datasets. The results show that the proposed MSA-CNN can significantly improve fault diagnosis accuracy compared with the other state-of-the-art methods and has excellent noise immunity performance.

Information

Type
Research Article
Copyright
Copyright © The Author(s), 2024. Published by Cambridge University Press
Figure 0

Figure 1. The data partition process.

Figure 1

Table 1. Description of bearing datasets

Figure 2

Figure 2. The original signal is converted to 2D image.

Figure 3

Figure 3. Grayscale images for different health status.

Figure 4

Figure 4. Patch embedding.

Figure 5

Figure 5. The architecture of the MSA-CNN.

Figure 6

Figure 6. (Left) Scaled dot-product attention. (Right) Multi-head attention consists of several attention layers running in parallel.

Figure 7

Figure 7. The training process for the MSA-CNN.

Figure 8

Table 2. Parameter configuration of the MSA-CNN

Figure 9

Table 3. Datasets of different loads

Figure 10

Figure 8. CWRU bearing test rig.

Figure 11

Figure 9. Ten types of the original signals.

Figure 12

Figure 10. Loss and accuracy of MSA-CNN.

Figure 13

Table 4. Accuracy of different models

Figure 14

Figure 11. Visualization of MSA-CNN based on t-SNE.

Figure 15

Figure 12. Envelope spectrum of the original signals and the signals aggregated by the attention layer.

Figure 16

Table 5. Parameter configuration of 2DCNN

Figure 17

Table 6. Accuracy of different 2DCNN and MSA-CNN

Figure 18

Table 7. Accuracy of MSA-CNN configured with different parameters

Figure 19

Figure 13. The number of total trainable parameters of different models.

Figure 20

Figure 14. Signals for different SNRs.

Figure 21

Figure 15. Accuracy of MSA-CNN on Dataset E.

Figure 22

Table 8. Accuracy under different degrees of noise

Figure 23

Figure 16. Loss and accuracy of MSA-CNN on the SU dataset.

Figure 24

Figure 17. Loss and accuracy of MSA-CNN on the JU dataset.