Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

26 January 2025

31 Pages

Multi-Patch Time Series Transformer for Robust Bearing Fault Detection with Varying Noise

and
Department of Computer Science, Semyung University, Jecheon 27136, Republic of Korea
*
Author to whom correspondence should be addressed.

Abstract

In time-series studies involving bearing sensor data, Gaussian noise and white noise techniques are commonly employed to evaluate model robustness. However, these conventional noise techniques are limited in their applicability to real-world industrial environments. This paper proposes three novel noise techniques—electrical interference noise, harmonic noise, and random shock noise—that more accurately reflect the complex noise encountered in industrial settings. Additionally, a new deep learning model, MultiPatchTST, is introduced, demonstrating robust performance under various noise conditions. Experimental results reveal that Gaussian noise has minimal impact on model performance, whereas the proposed noise techniques significantly affect performance, providing a more realistic evaluation of noise robustness. The proposed MultiPatchTST model achieves superior performance across all metrics in the presence of all four noise types, confirming its robustness and reliability.

1. Introduction

Bearings are a critical component in mechanical systems, significantly influencing the performance and reliability of machines. Consequently, anomaly detection and condition classification based on sensor data have become key areas of research. However, industrial environments present various forms of noise that adversely affect data analysis and model performance, posing a significant challenge to the effectiveness of current methodologies.
Previous studies have primarily employed Gaussian noise [1] and white noise techniques to evaluate model robustness to noise. While useful in controlled scenarios, these techniques fail to capture the complexity and variability of real-world industrial noise. Industrial environments introduce a diverse range of noise sources, including electrical interference, machine wear, mechanical vibration, harmonic disturbances, and environmental factors. These noise types are difficult to represent accurately using simple noise models, highlighting the need for new approaches that better simulate realistic noise conditions.
To address this gap, this study proposes novel noise techniques that overcome the limitations of conventional Gaussian and white noise methods. These techniques aim to reflect the complex noise patterns encountered in industrial environments, enabling the generation of more realistic data. Furthermore, we introduce a new deep learning model specifically designed to classify bearing-sensor anomalies effectively, even when subjected to these noise conditions.
The significance of this study lies in addressing the challenges posed by complex industrial noise, which has been insufficiently explored in previous research. The proposed noise techniques and deep learning model contribute to the development of robust systems capable of maintaining a stable performance across various noisy environments. In addition, we analyze the impact of different noise types on sensor data and evaluate the robustness of the proposed model under these conditions.
The main objectives of this study are twofold:
  • To develop novel noise techniques that accurately reflect the diverse and realistic noise characteristics of industrial environments, generating synthetic data that closely mirrors real-world conditions.
  • To propose and evaluate a new deep learning model capable of effectively classifying bearing-sensor anomalies in noisy environments, demonstrating the utility and robustness of the proposed techniques and model.

3. Noise Techniques

3.1. Novel Noise Techniques Reflecting Industrial Noise

There are various causes and types of noise generated in actual industrial sites. Mechanical factors include wear and tear, defects, imbalance, misalignment, and misalignment of mechanical components, and electrical factors include electromagnetic interference caused by poor power supply quality, motor transformers, etc. Finally, environmental factors are external impacts, such as temperature and humidity changes in the environment where the equipment is installed. While general noise usually means that numerical data fluctuates irregularly, such as noise caused by external shocks, noise caused by mechanical and electrical factors is often more periodic because the source of noise is generated by repetitive and periodic motions or patterns. To address the limitations of existing noise methods, this study introduces three new noise techniques that better represent the characteristics of industrial noise environments by reflecting one source of each of the three factors described above.

3.1.1. Electrical Interference Noise

Electrical interference noise is a periodic noise commonly observed near electronic devices or power facilities. It manifests as a sine wave with specific frequency and amplitude, appearing as a periodic signal concentrated at certain frequencies, distinguishable from other signals. This type of noise can be modeled as:
E t = A · sin ⁡ 2 π f t + ∅
  • A : Amplitude of the interference.
  • f : Frequency of the interfering signal.
  • t : Time, corresponding to each data point.
  • ∅ : Phase offset, indicating the starting point of the sine wave.

3.1.2. Harmonic Noise

Harmonic noise comprises signal components that are integer multiples of a fundamental frequency, creating a complex periodic signal. These components increase in frequency but decrease in amplitude as the harmonic order rises, contributing to a wider frequency spectrum. Harmonic noise can blur or complicate the original signal by overlapping multiple frequency components. It can be represented as:
H t = ∑ n N = 1 A n · sin ⁡ 2 π f · n · t + ∅ n
  • A : Base amplitude.
  • n : Order of harmonics.
  • f : Fundamental frequency.
  • ∅ n : Phase offset for each harmonic component.

3.1.3. Random Shock Noise

Random shock noise simulates sudden and localized anomalies that disrupt the signal briefly before returning to the original pattern. It introduces shocks at random points, affecting a few data values rather than altering the overall signal pattern. This noise is modeled by:
S t = A · U t · I ( t )
I t = 1 ,       w i t h   p r o b a b i l i t y   p 0 ,       w i t h   p r o b a b i l i t y   p
  • A : Maximum magnitude of the shock.
  • U t : Random variable defining the size and direction of the shock.
  • I t : Indicator function determining the occurrence of the shock based on probability p .
These techniques capture the diverse and complex noise patterns present in industrial environments, providing a more realistic basis for evaluating fault detection models.

3.2. Causes of Noise and the Necessity of Its Reflection

Industrial noise arises from various factors, each impacting system behavior in unique ways. This section discusses the causes of three types of noise—electrical interference noise, harmonic noise, and random shock noise—and highlights the necessity of reflecting them in fault detection systems.
  • Electrical Interference Noise
    • Electrical interference noise is caused by uneven fluctuations in current flow due to bearing failures such as pitting or wear. These failures alter the electrical contact area and resistance, leading to inconsistent contact between the bearing race and rolling elements. This inconsistency increases the load required for operation, impacting the entire system and altering its vibration pattern. Simulating these conditions using electrical interference noise techniques aids in developing early fault detection and classification systems, offering insights into system anomalies.
  • Harmonic Noise
    • Harmonic noise arises from factors such as component wear, cracks, or misalignment, often triggered by excessive loads, thermal expansion in high-temperature environments, or prolonged usage. These conditions produce not only fundamental frequencies but also harmonic frequencies (e.g., doubles, triples) of the fundamental frequency. By utilizing harmonic noise techniques, early abnormal conditions can be detected, and harmonic component analysis can help predict failures, enabling proactive maintenance in industrial settings.
  • Random Shock Noise
    • Random shock noise results from sudden shocks or collisions between machine parts due to abnormal forces. These impacts often precede machine failures, creating strong disturbances in sensor data. Simulating random shock noise facilitates the design of systems capable of preventing accidents or mitigating the impact of such events. This noise type is particularly useful for triggering emergency responses, such as system shutdowns, to prevent large-scale damage.
Although these noise types may originate from similar sources, they exhibit distinct signal characteristics, such as varying frequency bands and patterns. Electrical interference noise enables early warning systems by identifying initial anomalies. Harmonic noise supports fault progression monitoring and maintenance scheduling to optimize system responses. Random shock noise allows for immediate emergency measures, such as halting system operations to prevent extensive damage. By analyzing these noise types in a multidimensional manner, a fine-grained response system can be built, enhancing the ability to address industrial site failures effectively and efficiently.

4. Deep Learning Models for Anomaly Classification

This study utilizes six RNN-based and five CNN-based deep learning models, along with a newly proposed model based on the best-performing model, for bearing sensor data anomaly classification. A total of 12 models are evaluated in the experiments.

4.1. RNN-Based Deep Learning Models

The RNN-based models include LSTM [9], GRU [10], LSTMAttention [11], GRUAttention [12], TSSequencer [13], and PatchTST [14]. Each model offers distinct features and advantages for handling time-series data:
  • LSTM and GRU Models
    • LSTM (Long Short-Term Memory) models address the long-term dependency problem by utilizing a cell state and gate structure (Forget, Input, and Output gates). These gates control how much information is retained, added, or discarded, allowing LSTMs to efficiently process sequential data with complex dependencies. GRUs (Gated Recurrent Units) simplify this structure by using only two gates (Reset and Update), making them more computationally efficient while still capable of learning long-term dependencies. However, GRUs may struggle with highly complex dependencies compared to LSTMs.
  • LSTMAttention and GRUAttention Models
    • These models enhance LSTM and GRU architectures by incorporating an attention mechanism, which assigns weights to specific time steps, enabling the model to focus on the most important hidden states for extracting relevant information.
  • TSSequencer Model
    • The TSSequencer model processes input data in non-overlapping patches using a BiLSTM (Bidirectional LSTM) layer and MLP (Multilayer Perceptron) for channel mixing. Unlike Transformers, which explicitly compute dependencies between all tokens, the BiLSTM layer captures temporal dependencies sequentially, making it a lightweight alternative for time-series data.
  • PatchTST Model
    • PatchTST is a Transformer-based architecture designed for multivariate time-series prediction and representation learning. It separates each time series into independent channels and uses a Transformer encoder to process each channel individually. The key innovation lies in its patching mechanism, which divides each channel into patch sequences of length PPP and stride SSS, reducing computational complexity while preserving long-term temporal correlations. The Multi-Head Attention mechanism learns dependencies between patches, and the final output is refined using BatchNorm and residual concatenation.
Additionally, PatchTST employs a self-supervised learning approach using a Masked Autoencoder, which masks patches instead of individual time steps, enabling deeper learning of temporal patterns. This method enhances the model’s ability to generalize by learning robust feature representations from unlabeled data.

4.2. CNN-Based Deep Learning Models

For CNN-based deep learning models, we utilized the Fully Convolutional Network (FCN) [15], ResNet [16], InceptionTime [17], XceptionTime [18], and an Explainable Convolutional Neural Network (XCM) [19]. Each model offers unique approaches for handling time-series data:
  • Fully Convolutional Network (FCN)
    • FCN is designed for time-series classification using convolutional layers exclusively. Unlike traditional CNNs, FCN removes fully connected layers, passing outputs through global average pooling, significantly reducing the number of model parameters while retaining performance.
  • ResNet
    • ResNet addresses the vanishing gradient problem in deep neural networks by introducing residual connections. These connections allow the output of one layer to bypass intermediate layers and feed directly into subsequent layers, enabling stable learning even in very deep networks.
  • InceptionTime
    • Inspired by the Inception module, InceptionTime utilizes bottleneck layers to reduce the dimensionality of time-series data before applying multiple convolutional filters of varying lengths in parallel. This architecture captures both short- and long-term dependencies, with MaxPooling applied in parallel to enhance feature extraction. InceptionTime is an ensemble of five Inception networks trained with different initial weights, improving robustness and accuracy.
  • XceptionTime
    • Based on InceptionTime and the Xception architecture, XceptionTime incorporates depthwise separable convolutions to improve efficiency. It applies multiple 1D filters to extract features of varying lengths and utilizes three depthwise separable convolution filters to process short- and long-term features in parallel. By separating input channels and recombining them, XceptionTime reduces computational overhead. Additionally, a bottleneck layer is used to decrease the dimensionality of input data, enhancing parametric efficiency.
  • Explainable Convolutional Neural Network (XCM)
    • XCM is designed for multivariate time-series classification, prioritizing both high prediction performance and interpretability. It employs 2D and 1D convolutional filters in parallel to extract observation-specific and time-dependent features, ensuring comprehensive learning without information loss. Grad-CAM is integrated into XCM to provide clear and precise explanations for prediction results, enhancing its applicability in scenarios where interpretability is critical.

4.3. MultiPatchTST Model

This paper proposes the MultiPatchTST model, a model based on the previously introduced PatchTST architecture, for bearing sensor data anomaly classification. The MultiPatchTST model addresses key limitations of the original PatchTST model, where patch length is arbitrarily set by the user, potentially overlooking optimal configurations. Additionally, the best-performing patch lengths may vary across different datasets, making it labor intensive to experiment with multiple patch lengths manually.
The MultipatchTST model solves this problem by generating multiple PatchTST models with patch lengths from one to the user-set sequence length (seq_len). For example, if seq_len=120, the model generates 120 PatchTST models, each corresponding to a patch size from one to one-hundred-and-twenty. Each model processes the data independently, and the results from each model are passed to the MLP layer to produce the final output value, which is called the result. This is the output of the MultiPatchTST model.
This approach eliminates the need for users to manually specify patch lengths, automatically identifying and applying the optimal patch size for each dataset. Consequently, the MultiPatchTST model enhances performance by adapting to the characteristics of the data without additional experimentation. Figure 1 shows the architecture of the MultiPatchTST model. The bottom left image is an example image of the input time-series data, the top box is the backbone of the PatchTST model, the purple box in the bottom center represents the PatchTST models with sizes up to n, and the dotted box on the right represents the MLP structure that receives the output of each PatchTST model as an input. and Algorithm 1 is the pseudocode for the MultiPatchTST model.
Algorithm 1: Pseudocode for MultiPatchTST model.
Input: DataLoader (dls), Input channels (c_in), Output channels (c_out), Sequence length (seq_len), Hidden dimensions (hidden_dim)
Output: Final model predictions
Steps:
1. Initialize the parent class.
2. Generate valid patch lengths based on the sequence length:
  Set self.patch_lengths to valid patch lengths derived from seq_len.
3. Create multiple PatchTST models with different patch lengths:
  For each patch length in self.patch_lengths:
    Create a PatchTST model with the given parameters.
4. Define an MLP to combine outputs from all PatchTST models:
  Set self.hidden_dim to hidden_dim.
  Initialize self.mlp as:
    A linear layer with input size (len(patch_lengths) * c_out) and output size (hidden_dim).
    A ReLU activation.
    A linear layer with input size (hidden_dim) and output size (c_out).
5. Define the forward function:
  Initialize outputs as an empty list.
  For each model in self.patch_models:
    Append model’s prediction on x to outputs.
  Concatenate all outputs into a single tensor.
  Apply self.mlp on concatenated outputs to generate final output.
  Return the final output.
6. Define the get_valid_patch_lengths function:
  Generate valid patch lengths based on the sequence length.
  Return a list of integers from 1 to seq_len (inclusive).
Figure 1. MultiPatchTST model architecture. Top Box: components of the PatchTST backbone. Bottom left image: visualization of the input time-series data. Purple boxes: represent the PatchTST modules configured for various patch sizes. Dashed box: shows the process of combining the predicted outputs from each PatchTST module through the MLP structure.

5. Experiments

5.1. Dataset

The Case Western Reserve University Bearing Data Centre (CWRU) dataset [20] is a widely used standard for bearing sensor data research. It records changes in vibration signals based on the presence, location, and severity of bearing damage. The dataset includes three failure types: inner race failure, ball failure, and outer race failure. Each failure type is artificially induced and measured at defect sizes of 7, 14, 21, and 28 mils. The data, sampled at 12,000 vibrations per second, includes measurements from sensors at the drive end and fan end of the test apparatus. For outer race defects, the data considers defect positions at 3 o’clock, 6 o’clock, and 12 o’clock to account for location-specific impacts. Some data exclusions apply, such as the absence of ball and inner race defect data at 28 mils and limited outer race defect data at 14 mils for specific positions. All measurements are labeled for anomaly classification tasks. Figure 2 is an image of an example bearing element and bearing system from the CWRU data set.
Figure 2. Bearing elements and an experimental setup of the CWRU bearing test rig for a ball bearing system. Reprinted with permission from Ref. [21]. Copyright 2021, IEEE.
The MFPT dataset [22], provided by the Society for Machinery Failure Prevention Technology, was collected using a test rig with NICE bearings (roller diameter: 0.235 inches; pitch diameter: 1.245 inches; number of elements: 8; contact angle: 0). The dataset includes data for tops, inner race defects, and outer race defects. Tops were sampled at a rate of 97,656 samples per second (SPS) for 6 s, while inner and outer race defects were sampled at 48,828 SPS for 3 s. Figure 3 is an image to illustrate the defects in the MFPT dataset.
Figure 3. MFPT dataset types of bearing defects. Left image: inner race defects, right image: outer race defects [22,23].
The Paderborn University (PU) dataset [24] contains high-resolution vibration data from experiments on six healthy bearings and 26 damaged bearings. Of the damaged bearings, 12 were artificially damaged, and 14 were subjected to accelerated life tests to simulate real-world damage conditions. Figure 4 is an image that describes each element of the equipment that collected the PU data set.
Figure 4. Experimental setup of the PU dataset test rig. (1) Electric motor, (2) torque measuring shaft, (3) rolling bearing test module, (4) flywheel, and (5) load motor Reprinted with permission from Ref. [25]. Copyright 2020, IEEE.

5.2. Experimental Setup

The experiments were conducted using the CWRU, MFPT, and PU datasets introduced earlier. Raw data served as the input for all models, with only MinMax normalization and a sliding window applied as preprocessing techniques. A sliding window of 0.01 s was used for all datasets to enable precise analysis.
For the CWRU dataset, which has a sampling rate of 12,000 measurements per second, the window size was set to 120, and the step size was set to 60. For the MFPT dataset, healthy data was originally sampled at 97,656 samples per second (SPS), while defect data was sampled at 48,828 SPS. To ensure consistency, the healthy data was downsampled to match the defect data’s sampling rate. The window size was set to 488, and the step size to 244. For the PU dataset, sampled at 64,000 SPS (64 kHz), the window size was set to 640, and the step size to 320.
The training parameters were set as follows: 10 epochs, a batch size of 2048, and a learning rate of 1 × 10 − 3 . To evaluate the model’s robustness against noise, experiments were conducted using electrical interference noise, harmonic noise, and random shock noise, each applied at four intensity levels. Gaussian noise was also added for comparison purposes. And we ran these tests on Ubuntu 20.04, Intel (R) Core (TM) i9-10900X CPU @ 3.70 GHz, 192 GB of RAM, and one RTX 3090 (Intel, Santa Clara, CA, USA).

5.3. Experimental Results

Experiments were conducted using the CWRU, MFPT, and PU datasets, and the detailed performance metrics for each model under various noise conditions—including noiseless original data, Gaussian noise, electrical interference noise, harmonic noise, and random shock noise—are summarized in Table 2, Table 3 and Table 4.
Table 2. Experimental results on CWRU dataset with mixed noise.
Table 3. Experimental results on MFPT dataset with mixed noise.
Table 4. Experimental results on PU dataset with mixed noise.
The experiments on the original noiseless datasets demonstrated that all models achieved high performance on the CWRU and MFPT datasets, with accuracy, precision, recall, and F1 metrics exceeding 0.98. These results indicate no significant performance differences between the models under noiseless conditions. Notably, the TSSequencer model showed the best performance on the CWRU dataset, whereas the MultiPatchTST model achieved the highest scores on both the MFPT and PU datasets.
When a Gaussian noise of amplitude 0.5 was applied, the performance degradation across all datasets was minimal. The top-performing models achieved metrics above 97%, indicating that the impact of Gaussian noise on classification performance was negligible. However, the minimal effect of Gaussian noise highlights its limitations as a method for evaluating the noise robustness of models. Among the models, PatchTST and MultiPatchTST, which utilize patch-based learning, consistently exhibited superior performance, reinforcing their robustness.
To evaluate the validity of the models under more realistic industrial noise conditions, the original datasets were combined with noise reflecting electrical interference, harmonic, and random shock noise at four intensity levels. The CWRU dataset consistently maintained strong performance across all noise conditions. Similarly, the MFPT dataset demonstrated high performance, sustaining metrics above 95% in most scenarios. However, the PU dataset exhibited higher sensitivity to noise. Under electrical interference noise, the PU dataset’s performance dropped below 80%, and although it improved slightly under harmonic noise, it still remained below 85%. In contrast, random shock noise had a different impact, with the PU dataset achieving over 92% performance when processed with the MultiPatchTST model, demonstrating its robustness to aperiodic noise.
Across all datasets and experimental conditions, the MultiPatchTST model consistently achieved the highest scores on accuracy, precision, recall, and F1 metrics. These findings emphasize that the inclusion of raw and noisy data enhances robustness against random shock noise compared to periodic noise. Moreover, the high sensitivity of the PU dataset to noise underscores its vulnerability in mixed-noise environments.
The results suggest that aperiodic noise, such as random shock noise, can be effectively handled when mixed with original data, while periodic noise poses greater challenges. This experiment reaffirms the efficacy of patch-based learning, as implemented in the MultiPatchTST model, establishing it as a reliable methodology for bearing fault classification in noisy environments. The detailed experiments and results are shown in Appendix A.

6. Conclusions

This paper addresses the limitations of Gaussian noise and white noise, which have been predominantly used in bearing sensor-based fault classification research, highlighting their inadequacy for representing real-world industrial noise. To overcome these limitations, three novel noise techniques—electrical interference noise, harmonic noise, and random shock noise—were proposed, reflecting noise characteristics observed in industrial environments. Additionally, the study compared the performance of RNN-based and CNN-based deep learning models, and introduced a new deep learning model, MultiPatchTST, for bearing sensor data anomaly classification.
The experimental results demonstrate that all three proposed noise types significantly impact model performance. Among these, random shock noise causes the greatest performance degradation when applied independently. However, when mixed with original data, models perform best under random shock noise, debunking the notion that periodic noise inherently leads to overfitting due to the model learning its periodicity.
The proposed MultiPatchTST model outperforms all other models across various noise environments, confirming its robustness to noise. The models used in this study can be categorized into three groups: sequential models (LSTM, GRU, LSTMAttention, GRUAttention), CNN-based models (e.g., FCN, ResNet), and patch-based models (PatchTST, MultiPatchTST). The MultiPatchTST model consistently delivered superior performance, while LSTMAttention and GRUAttention performed the worst in some experiments, indicating that attention mechanisms alone are insufficient for optimal performance. Instead, patch-based learning emerged as a key factor for effective bearing fault classification in vibration sensor data.
The main strength of the MultiPatchTST model is its ability to capture the temporal and frequency patterns of data in detail through a learning strategy that utilizes multiple patch sizes, which is a fundamental difference from traditional models that rely on a single patch size, enabling it to reliably learn the key characteristics of data, especially in complex and atypical industrial noise environments. By using a combination of different patch sizes to learn the multi-layered nature of the data, it effectively overcomes the noise sensitivity issues of traditional RNN and CNN-based models.
In addition, the MultiPatchTST model demonstrated high information extraction capability even in noisy data through the combination of a self-attention mechanism and patch-based learning, which contributed to its excellent performance even in complex noise environments such as electrical interference noise, harmonic noise, and random impact noise. The experimental results showed that the MultiPatchTST model outperformed all other comparison models, with the largest performance advantage in the random impulse noise environment. The model’s multi-patch ensemble learning approach has a practical advantage in that it can automatically learn the optimal patch size based on the characteristics of the data without requiring the user to manually set the patch size.
The findings of this study provide valuable insights for developing robust fault classification models and are expected to contribute significantly to industrial field systems, improving their efficiency and reliability. In future research, more diverse data sets will be used to verify and improve the performance of the model in different environments. In addition, the noise technique proposed in this paper will be tested using datasets of other mechanical elements as noise that can affect not only bearings but also other mechanical equipment elements, so that it can be developed into a general-purpose model that shows good performance in various mechanical equipment rather than a bearing-specific model.

Author Contributions

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

Funding

This paper was supported by Semyung University’s University Innovation Support Project in 2023.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The datasets used in this study are openly available as follows: The CWRU Dataset can be accessed at the Case Western Reserve University Bearing Data Center website [19] (http://csegroups.case.edu/bearingdatacenter, accessed on 25 November 2024). The MFPT Dataset is available through the Condition-Based Maintenance Fault Database for Testing of Diagnostic and Prognostics Algorithms [20] (https://www.mfpt.org/fault-data-sets/, accessed on 25 November 2024). The PU Dataset is provided by the Paderborn University Bearing Data Center website [21] (https://mb.uni-paderborn.de/kat/forschung/kat-datacenter/bearing-datacenter/data-sets-and-download, accessed on 25 November 2024).

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Appendix A.1. Experimental Results After Applying Electrical Interference Noise

Electrical interference noise was configured at four levels (Levels 1, 2, 3, and 4) with a fixed frequency of 50 and amplitudes of 0.03, 0.1, 0.2, and 0.5, respectively. The experimental results indicate that the CWRU and MFPT datasets maintained high performance (over 90%), while the PU dataset achieved over 80% accuracy. Across all three datasets, performance degradation increased with higher noise intensity, but the differences between RNN-based and CNN-based approaches were not significant.
The GRUAttention model performed the worst on the CWRU dataset, the LSTMAttention model on the MFPT dataset, and the XceptionTime model on the PU dataset. While the TSSequencer model narrowly achieved the highest Level 4 precision metric on the MFPT dataset, the MultiPatchTST model consistently outperformed other models on all remaining metrics for the MFPT dataset and on all metrics for the CWRU and PU datasets.
These results suggest that patch-based learning and self-attention structures, as implemented in the MultiPatchTST model, are robust to electrical interference noise. These structures enable the retention of critical information even in the presence of significant noise, whereas other models without these features show more pronounced performance degradation. Detailed performance metrics for each model are presented in Table A1, Table A2 and Table A3, with noise levels converted to Signal-to-Noise Ratio (SNR).
Table A1. Experimental results on CWRU dataset with electrical interference noise.
Table A2. Experimental results on MFPT dataset with electrical interference noise.
Table A3. Experimental results on PU dataset with electrical interference noise.

Appendix A.2. Experimental Results After Applying Harmonic Noise

Experiments with harmonic noise were conducted across four levels (Levels 1–4) with varying parameters: Level 1 (amplitude 0.03, fundamental frequency 20, harmonic set [2,3]), Level 2 (amplitude 0.1, fundamental frequency 40, harmonic set [2,3,4]), Level 3 (amplitude 0.2, fundamental frequency 40, harmonic set [2,3,4]), and Level 4 (amplitude 0.5, fundamental frequency 60, harmonic set [2,3,4,5]). The experimental results, as illustrated in Figure A1 and Figure A2, and Table A4, show a significant decrease in model performance as noise intensity increases.
In the MFPT and PU datasets, there was no substantial difference in performance among the models. However, in the CWRU dataset, the TSSequencer model performed the worst, with performance degradation becoming more pronounced as noise intensity increased. Additionally, the FCN model showed the poorest performance for the MFPT and PU datasets. At Level 3 on the CWRU dataset, the XCM model achieved the best performance, while the MultiPatchTST model consistently outperformed others at Levels 1, 2, and 4 across all metrics for all three datasets.
Sequential models such as LSTM and GRU were significantly affected by harmonic noise, particularly at Levels 3 and 4, showing considerable performance degradation. While GRUAttention and LSTMAttention, enhanced with self-attention mechanisms, performed better than standard sequential models, they remained more sensitive to noise compared to Transformer-based models. The PatchTST and MultiPatchTST models, leveraging patch-based learning and Transformer architectures, demonstrated superior accuracy and stability, particularly at higher noise levels (Levels 3 and 4).
In Table A4, the noise level is expressed as a signal-to-noise ratio (SNR).
Figure A1. Experimental results by harmonic noise level for the CWRU dataset.
Figure A2. Experimental results by harmonic noise level for the MFPT dataset.
Table A4. Experimental results on PU dataset with harmonic noise.

Appendix A.3. Experimental Results After Applying Random Shock Noise

Random shock noise experiments were conducted with a fixed shock occurrence probability of 0.1 and shock amplitudes set to 1.0, 1.5, 2.0, and 3.0 for Levels 1, 2, 3, and 4, respectively. The results indicate that, unlike periodic noise methods, random shock noise, as a non-periodic noise type, has a significantly greater impact on model performance. Performance decreases as noise intensity increases, with the degradation being more pronounced than that observed with the previous two noise methods.
For the MFPT and PU datasets, the performance differences between the models are minimal. However, for the CWRU dataset, the MultipatchTST model shows superior performance as the noise intensity increases. The PU dataset shows a significant performance degradation for all models in the Level 4 condition, indicating increased sensitivity to random impulse noise. Nevertheless, the patch-based learning models, PatchTST and MultipatchTST, show greater resilience to random impulse noise compared to the other models, highlighting the effectiveness of patch-based learning in mitigating the adverse effects of aperiodic noise.
Figure A3 and Figure A4 show graphs of the experimental results for the CWRU and PU datasets, and Table A5 shows a table of the experimental results performance metrics for the mfpt dataset.
Figure A3. Experimental results by random shock noise level for the CWRU dataset.
Figure A4. Experimental results by random shock noise level for the PU dataset.
Table A5. Experimental results on MFPT dataset with random shock noise.

References

  1. Wen, Q.; Sun, L.; Yang, F.; Song, X.; Gao, J.; Wang, X.; Xu, H. Time series data augmentation for deep learning: A survey. arXiv 2020, arXiv:2002.12478. [Google Scholar] [CrossRef] [Scilit]
  2. Moysidis, D.A.; Karatzinis, G.D.; Boutalis, Y.S.; Karnavas, Y.L. A Study of Noise Effect in Electrical Machines Bearing Fault Detection and Diagnosis Considering Different Representative Feature Models. Machines 2023, 11, 1029. [Google Scholar] [CrossRef] [Scilit]
  3. Li, F.; Wang, L.; Wang, D.; Wu, J.; Zhao, H. An adaptive multiscale fully convolutional network for bearing fault diagnosis under noisy environments. Measurement 2023, 216, 112993. [Google Scholar] [CrossRef] [Scilit]
  4. Kulevome, D.K.B.; Wang, H.; Cobbinah, B.M.; Mawuli, E.S.; Kumar, R. Effective time-series Data Augmentation with Analytic Wavelets for bearing fault diagnosis. Expert Syst. Appl. 2024, 249, 123536. [Google Scholar] [CrossRef] [Scilit]
  5. Chen, X.; Zhang, Y.; Su, Y.; Zhou, Y.; Gong, W. A short time series rolling bearing fault diagnosis method based on FMTF-CNN. Eng. Res. Express 2024, 6, 025346. [Google Scholar] [CrossRef] [Scilit]
  6. Knap, P.; Lalik, K.; Bałazy, P. Boosted Convolutional Neural Network Algorithm for the Classification of the Bearing Fault Form 1-D Raw Sensor Data. Sensors 2023, 23, 4295. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Ahsan, M.; Salah, M.M. Efficient DCNN-LSTM model for fault diagnosis of raw vibration signals: Applications to variable speed rotating machines and diverse fault depths datasets. Symmetry 2023, 15, 1413. [Google Scholar] [CrossRef] [Scilit]
  8. Yu, T.; Li, C.; Huang, J.; Xiao, X.; Zhang, X.; Li, Y.; Fu, B. ReF-DDPM: A novel DDPM-based data augmentation method for imbalanced rolling bearing fault diagnosis. Reliab. Eng. Syst. Saf. 2024, 251, 110343. [Google Scholar] [CrossRef] [Scilit]
  9. Graves, A. Long short-term memory. In Supervised Sequence Labelling with Recurrent Neural Networks; Springer: Berlin/Heidelberg, Germany, 2012; pp. 37–45. [Google Scholar] [CrossRef] [Scilit]
  10. Chung, J.; Gulcehre, C.; Cho, K.; Bengio, Y. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv 2014, arXiv:1412.3555. [Google Scholar] [CrossRef] [Scilit]
  11. Zhao, B.; Xing, H.; Wang, X.; Song, F.; Xiao, Z. Rethinking attention mechanism in time series classification. Inf. Sci. 2023, 627, 97–114. [Google Scholar] [CrossRef] [Scilit]
  12. Jia, Y.; Fan, S.; Li, Z.; Xia, K. A Fast Detection Method of Turbulent Gases Based on Gated Recurrent Unit and Attention Mechanism. IEEE Sens. J. 2023, 23, 5974–5987. [Google Scholar] [CrossRef] [Scilit]
  13. Tatsunami, Y.; Taki, M. Sequencer: Deep lstm for image classification. Adv. Neural Inf. Process. Syst. 2022, 35, 38204–38217. [Google Scholar] [CrossRef] [Scilit]
  14. Nie, Y.; Nguyen, N.H.; Sinthong, P.; Kalagnanam, J. A time series is worth 64 words: Long-term forecasting with transformers. arXiv 2022, arXiv:2211.14730. [Google Scholar] [CrossRef] [Scilit]
  15. Wang, Z.; Yan, W.; Oates, T. Time series classification from scratch with deep neural networks: A strong baseline. In Proceedings of the 2017 International Joint Conference on Neural Networks (IJCNN), Anchorage, AK, USA, 14–19 May 2017; pp. 1578–1585. [Google Scholar]
  16. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016. [Google Scholar] [CrossRef] [Scilit]
  17. Fawaz, H.I.; Lucas, B.; Forestier, G.; Pelletier, C.; Schmidt, D.F.; Weber, J.; Webb, G.I.; Idoumghar, L.; Muller, P.-A.; Petitjean, F. Inceptiontime: Finding alexnet for time series classification. Data Min. Knowl. Discov. 2020, 34, 1936–1962. [Google Scholar] [CrossRef] [Scilit]
  18. Rahimian, E.; Zabihi, S.; Atashzar, S.F.; Asif, A.; Mohammadi, A. Xceptiontime: A novel deep architecture based on depthwise separable convolutions for hand gesture classification. arXiv 2019, arXiv:1911.03803. [Google Scholar] [CrossRef] [Scilit]
  19. Fauvel, K.; Lin, T.; Masson, V.; Fromont, É.; Termier, A. XCM: An explainable convolutional neural network for multivariate time series classification. Mathematics 2021, 9, 3137. [Google Scholar] [CrossRef] [Scilit]
  20. Case Western Reserve University Bearing Data Center Website. Available online: http://csegroups.case.edu/bearingdatacenter (accessed on 25 November 2024).
  21. Neupane, D.; Kim, Y.; Seok, J. Bearing fault detection using scalogram and switchable normalization-based CNN (SN-CNN). IEEE Access 2021, 9, 88151–88166. [Google Scholar] [CrossRef] [Scilit]
  22. Bechhoefer, E. Condition Based Maintenance Fault Database for Testing of Diagnostic and Prognostics Algorithms. Available online: https://www.mfpt.org/fault-data-sets/ (accessed on 25 November 2024).
  23. Zhang, Q.; Deng, L. An intelligent fault diagnosis method of rolling bearings based on short-time Fourier transform and convolutional neural network. J. Fail. Anal. Prev. 2023, 23, 795–811. [Google Scholar] [CrossRef] [Scilit]
  24. Lessmeier, C.; Kimotho, J.K.; Zimmer, D.; Sextro, W. Condition monitoring of bearing damage in electromechanical drive systems by using motor current signals of electric motors: A benchmark data set for data-driven classification. In Proceedings of the European Conference of the Prognostics and Health Management Society, Bilbao, Spain, 5–8 July 2016; Citeseer: Princeton, NJ, USA, 2016; pp. 5–8. [Google Scholar]
  25. Hou, L.; Jiang, R.; Tan, Y.; Zhang, J. Input feature mappings-based deep residual networks for fault diagnosis of rolling element bearing with complicated dataset. IEEE Access 2020, 8, 180967–180976. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.