A fault diagnosis method and system for a shearer rocker arm transmission system and a medium

By mapping the vibration signal of the coal mining machine rocker arm into a two-dimensional feature map using the GAF-MSRFormer model and combining it with multi-scale residuals and Transformer encoders, the problems of nonlinear dynamic characteristics and insufficient temporal positioning of vibration signals in existing technologies are solved, and high-precision and robust fault identification is achieved.

CN123158323APending Publication Date: 2026-11-24XIAN COAL MINING MACHINERY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611342524.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies for the rocker arm transmission system of coal mining machines, the extraction of time-frequency features of vibration signals cannot fully preserve nonlinear dynamic characteristics, and lacks the ability to accurately locate the timing of critical fault periods. This results in early weak fault features being easily submerged by strong noise, leading to insufficient model robustness.

Method used

The GAF-MSRFormer model is adopted, and the vibration signal is mapped into two-dimensional GASF and GADF feature maps through the image encoding module. Combined with the multi-scale residual feature extraction module and Transformer encoder, adaptive fusion of local spatiotemporal features and global dependencies is achieved, thereby enhancing feature adaptability.

Benefits of technology

It effectively improves the accuracy and stability of fault identification of the rocker arm vibration signal of the coal mining machine, and can achieve high-precision and robust identification of early weak faults under complex working conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158323A_ABST
    Figure CN123158323A_ABST
Patent Text Reader

Abstract

This invention provides a method, system, and medium for fault diagnosis of a coal mining machine rocker arm transmission system, belonging to the field of fault diagnosis technology. The method includes: acquiring vibration signals of the coal mining machine rocker arm; inputting the vibration signals into a pre-trained GAF-MSRFormer fault diagnosis model, and outputting the fault type of the coal mining machine rocker arm; wherein the GAF-MSRFormer fault diagnosis model includes an image encoding module, a multi-scale residual feature extraction module, a Transformer encoder, and a Softmax module connected in sequence; the multi-scale residual feature extraction module includes parallel convolutional branches of different sizes constructed based on ResNet residual blocks and a feature concatenation module, with the input and output residuals of the multi-scale residual feature extraction module connected. The proposed GAF-MSRFormer model can effectively improve the accuracy and stability of fault identification of coal mining machine rocker arm vibration signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of fault diagnosis technology, specifically to a fault diagnosis method, system, and medium for a coal mining machine rocker arm transmission system. Background Technology

[0002] The coal mining machine is the core equipment of the fully mechanized mining face. Its rocker arm component is subjected to complex dynamic loads for a long time during cutting, traction, and height adjustment, resulting in frequent failures with no obvious early signs. Vibration signals contain rich information about the equipment's operating status. Its amplitude, spectrum, and energy distribution characteristics change regularly with the evolution of the fault, making it an effective physical medium for early detection of rocker arm faults.

[0003] To improve the representation capability of vibration signals, Wang Yuan et al. introduced TCN, Transformer, and LSTM in parallel after wavelet soft thresholding denoising to achieve the fusion of local spatiotemporal features, global dependencies, and dynamic evolution information to enhance feature adaptability. However, the above methods are based on the extraction of time-frequency features of one-dimensional vibration signals, which cannot fully preserve the nonlinear dynamic characteristics of the original signal. Furthermore, although LSTM is used for time-series feature extraction, it lacks the ability to accurately locate the key fault periods, resulting in early weak fault features being easily submerged by strong noise, and the model's robustness is insufficient. Summary of the Invention

[0004] This invention provides a fault diagnosis method for the rocker arm transmission system of a coal mining machine. The GAF-MSRFormer model proposed in this method can effectively improve the accuracy and stability of fault identification of the rocker arm vibration signal of the coal mining machine.

[0005] This invention proposes a fault diagnosis method for the rocker arm transmission system of a coal mining machine, which specifically includes the following steps: Acquire vibration signals from the rocker arm of the coal mining machine; The vibration signal of the coal mining machine rocker arm is input into the pre-trained GAF-MSRFormer fault diagnosis model, and the fault type of the coal mining machine rocker arm is output. The GAF-MSRFormer fault diagnosis model includes an image encoding module, a multi-scale residual feature extraction module, a Transformer encoder, and a Softmax module connected in sequence. The multi-scale residual feature extraction module includes parallel convolutional branches of different sizes and a feature concatenation module built based on ResNet residual blocks. The input and output residuals of the multi-scale residual feature extraction module are connected. The image encoding module maps the vibration signal into two-dimensional GASF and GADF feature maps using a dual-channel Gram angle field, and fuses them to obtain a dual-channel GAF feature map. The multi-scale residual feature extraction module extracts multi-scale local fault texture features from the dual-channel GAF feature map in parallel, and then stitches them together using a feature stitching module to obtain stitched features. The stitched features and the dual-channel GAF feature map are adaptively fused using residual connections to obtain fused features. The fused features are processed sequentially through the multi-head self-attention layer and feedforward network layer of the Transformer encoder, and then stacked using residual connections and layer normalization to obtain associated features. The Softmax module outputs the fault type of the coal mining machine rocker arm based on the associated features.

[0006] Preferably, the method further includes preprocessing the vibration signal of the coal mining machine rocker arm, specifically including: Based on the local extreme value distribution of the vibration signal of the coal mining machine rocker arm, the frequency band is adaptively divided, and a set of empirical wavelet filters is constructed. The vibration signal of the coal mining machine rocker arm is decomposed into several modal components by a set of empirical wavelet filters. The effective modes with high modal intensities are retained based on the amplitude intensity of each mode. A Garrote threshold function is introduced to shrink the effective modes, resulting in processed effective modes. The processed effective modes are then superimposed and reconstructed to obtain the noise-reduced vibration signal.

[0007] Preferably, the image encoding module maps the vibration signal into a two-dimensional GASF feature map and GADF feature map through a dual-channel Gram angle field, and fuses them to obtain a dual-channel GAF feature map, specifically including: The denoised continuous vibration signal is divided into fixed-length sample segments using a sliding window method, and then normalized to obtain normalized time series samples. The normalized time series samples are mapped to polar coordinate space. A two-dimensional GASF feature map is constructed by calculating the cosine of the sum of the polar angles at any two time points through the GASF channel, and a two-dimensional GADF feature map is constructed by calculating the sine of the difference between the polar angles at any two time points through the GADF channel. The GASF feature map and the GADF feature map are fused along the channel dimension to construct a dual-channel GAF feature map.

[0008] Preferably, the acquisition of the fusion features specifically includes: The initial feature map is obtained by performing shallow feature mapping on the dual-channel GAF feature map through basic convolutional layers; By extracting features from multiple ResNet residual blocks of different scales using the multi-scale residual feature extraction module, local fault texture features of different scales are obtained. The local fault texture features at different scales are stitched together to obtain stitched features, and then... Convolution integrates features to obtain integrated features; The input dual-channel GAF feature map is superimposed with the integrated feature map to obtain the fused feature map.

[0009] Preferably, the Transformer encoder includes a multi-head self-attention layer and a feedforward network layer connected in sequence.

[0010] Preferably, the extraction of the associated features specifically includes: The fused feature space is expanded into a feature sequence with a length equal to the product of the feature map's height and width, and the feature vector at each spatial location is mapped to a unified... The dimensional representation space is used as the input sequence for the Transformer encoder, and position encoding is added to the input sequence; For the input sequence, the query matrix, key matrix and value matrix are obtained through linear mapping, and multi-head self-attention calculation is performed to obtain attention-weighted features; A feedforward neural network is used to perform a nonlinear transformation on the attention-weighted features to obtain associated features.

[0011] This invention also proposes a fault diagnosis system for the rocker arm transmission system of a coal mining machine, the system comprising: The signal extraction module is used to acquire the vibration signal of the rocker arm of the coal mining machine; The fault diagnosis module is used to input the vibration signal of the coal mining machine rocker arm into the pre-trained GAF-MSRFormer fault diagnosis model and output the fault type of the coal mining machine rocker arm. The GAF-MSRFormer fault diagnosis model includes an image encoding module, a multi-scale residual feature extraction module, a Transformer encoder, and a Softmax module connected in sequence. The multi-scale residual feature extraction module includes parallel convolutional branches of different sizes and a feature concatenation module built based on ResNet residual blocks. The input and output residuals of the multi-scale residual feature extraction module are connected. The image encoding module maps the vibration signal into two-dimensional GASF and GADF feature maps using a dual-channel Gram angle field, and fuses them to obtain a dual-channel GAF feature map. The multi-scale residual feature extraction module extracts multi-scale local fault texture features from the dual-channel GAF feature map in parallel, and then stitches them together using a feature stitching module to obtain stitched features. The stitched features and the dual-channel GAF feature map are adaptively fused using residual connections to obtain fused features. The fused features are processed sequentially through the multi-head self-attention layer and feedforward network layer of the Transformer encoder, and then stacked using residual connections and layer normalization to obtain associated features. The Softmax module outputs the fault type of the coal mining machine rocker arm based on the associated features.

[0012] The present invention also proposes a computer-readable storage medium storing a data processing program, which, when executed by a processor, implements the steps of the fault diagnosis method for the rocker arm transmission system of the coal mining machine.

[0013] The beneficial effects of this invention are: This invention designs a GAF image encoding strategy that maps one-dimensional vibration signals to two-dimensional Gram angular field images, effectively preserving the phase information and nonlinear dynamic characteristics of the original signal. It extracts local fault modes under different receptive fields through parallel multi-branch convolution and uses a Transformer encoder to capture long-range temporal dependencies, achieving adaptive fusion of local and global features. This invention introduces a joint optimization mechanism of channel attention and position encoding, dynamically calibrating channel weights during multi-scale feature interaction and embedding learnable position biases to enhance the temporal positioning accuracy during critical fault periods. This enables high-precision and robust identification of early, subtle faults in the rocker arm of a coal mining machine under complex operating conditions. Attached Figure Description

[0014] Figure 1 This is a flowchart of a fault diagnosis method for the rocker arm transmission system of a coal mining machine according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the GAF-MSRFormer model architecture according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the angle field conversion process according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the architecture of the multi-scale residual feature extraction module in an embodiment of the present invention; Figure 5 This is a schematic diagram of the Transformer encoder architecture according to an embodiment of the present invention. Detailed Implementation

[0015] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0016] Example 1 This invention proposes a fault diagnosis method for the rocker arm transmission system of a coal mining machine, the flowchart of which is shown below. Figure 1 As shown, the specific model framework is as follows: Figure 2 As shown, the specific steps are as follows: S1: Acquire the vibration signal of the coal mining machine rocker arm and preprocess the vibration signal of the coal mining machine rocker arm.

[0017] S2: Input the preprocessed vibration signal of the coal mining machine rocker arm into the pre-trained GAF-MSRFormer fault diagnosis model and output the fault type of the coal mining machine rocker arm; wherein, the GAF-MSRFormer fault diagnosis model includes an image encoding module, a multi-scale residual feature extraction module, a Transformer encoder and Softmax connected in sequence; the multi-scale residual feature extraction module includes parallel convolution branches of different sizes and a feature concatenation module based on ResNet residual blocks, and the input and output residuals of the multi-scale residual feature extraction module are connected; The image encoding module maps the vibration signal into two-dimensional GASF and GADF feature maps using a dual-channel Gram angle field, and then fuses them to obtain a dual-channel GAF feature map. The multi-scale residual feature extraction module extracts multi-scale local fault texture features from the dual-channel GAF feature map in parallel, and then stitches them together using a feature stitching module to obtain stitched features. The stitched features and the dual-channel GAF feature map are adaptively fused through residual connections to obtain fused features. The fused features are processed sequentially through the multi-head self-attention layer and feedforward network layer of the Transformer encoder, and then stacked through residual connections and layer normalization to obtain associated features. Softmax outputs the fault type of the coal mining machine rocker arm based on the associated features.

[0018] Specifically, to reduce the impact of background noise and irrelevant high-frequency disturbances in the vibration signal of the coal mining machine's rocker arm on subsequent feature extraction, this invention introduces Empirical Wavelet Transform (EWT) before Gram angle field encoding to perform adaptive noise reduction processing on the original vibration signal, specifically including: Let the original vibration signal be EWT first adaptively divides the frequency band based on the local extremum distribution of the signal spectrum, and then constructs a set of empirical wavelet filters to decompose the original signal into several modal components: ; in, Indicates the first EWT modal components The number of modes obtained from the decomposition. This invention sets the number of modes. To obtain vibrational components at different frequency scales.

[0019] To preserve the main vibration components associated with fault impacts and suppress weak noise modes, this invention filters modes based on their amplitude intensity. The intensity of a mode is defined as:

[0020] ; Subsequently, a screening threshold was determined based on the distribution of modal intensities, retaining effective modes with modal intensities in the higher range. In this invention's experiment, threshold_ratio was set to 0.7. Let the screening threshold be... Then the reserved mode set can be represented as:

[0021] ; in, The modal intensity percentile is used to determine the modal intensity. Weak modes that are not retained are considered to mainly contain noise or disturbances unrelated to fault diagnosis, and therefore do not participate in subsequent signal reconstruction.

[0022] Building upon modal screening, to further reduce residual noise in the retained modes, this invention introduces a Garrote threshold function to shrink the retained EWT modes. First, the noise standard deviation is estimated using weak modes or low-amplitude components:

[0023] ; in, This represents the weak mode samples used to estimate noise. The threshold is set according to a general thresholding criterion. Defined as:

[0024] ; in, This is the signal length. For mode-preserving... The Garrote threshold function is defined as follows:

[0025] ; when When the value is small, the function will strongly suppress it; when When the amplitude is large, its amplitude information should be preserved as much as possible. Compared with the hard thresholding method, the Garrote thresholding method can reduce signal abrupt changes; compared with the soft thresholding method, it has less attenuation of the large-amplitude fault impact component, and is therefore more suitable for preserving the impact characteristics in the vibration signal.

[0026] Finally, the effective modes after thresholding are superimposed and reconstructed to obtain the noise-reduced vibration signal: ; In summary, the EWT-Garrote denoising process first uses EWT to adaptively decompose the original vibration signal into modal components at multiple frequency scales. Then, it filters out fault-related effective modes based on modal amplitude intensity and applies Garrote continuous thresholding to the retained modes. This method can suppress weak noise modes and random disturbances while preserving as much impact components and fault-sensitive information as possible in the vibration signal. Finally, by superimposing and reconstructing the processed effective modes, the denoised signal is obtained, providing a more stable input basis for subsequent GAF image encoding.

[0027] Furthermore, the image encoding module maps the vibration signal into two-dimensional GASF and GADF feature maps using a dual-channel Gram angle field, and fuses them to obtain a dual-channel GAF feature map. A schematic diagram of the Gram angle field conversion process is shown below. Figure 3 As shown, it specifically includes: Let the vibration signal after EWT-Garrote noise reduction be First, the continuous vibration signal is divided into segments of length using the sliding window method. Sample fragments:

[0028] ; in, Indicates the first in the window There are [number] sampling points. To meet the requirements of angle mapping, the signal segment needs to be normalized to [number]. Interval:

[0029] ; in, This represents the normalized sampled values. Subsequently, the normalized time series is mapped to polar coordinate space, where the angle and radius are defined as follows:

[0030] ; ; in, For the first The polar angle corresponding to each sampling point This represents the normalized time position. Through this mapping, the one-dimensional vibration signal not only retains the amplitude variation information, but also embeds the time sequence into the polar coordinate radius.

[0031] Based on this, GASF constructs a two-dimensional matrix by calculating the cosine of the sum of the polar angles at any two time points: ; GASF can reflect the amplitude correlation and overall trend of change between different time points. Its diagonal elements retain the amplitude information of the original sequence, so it is suitable for characterizing the global structural features of vibration signals.

[0032] Unlike GASF, GADF constructs a two-dimensional matrix by calculating the sine of the polar angle difference between any two time points: ; GADF focuses more on the direction of change and dynamic differences between different time points, highlighting the local non-stationary fluctuation characteristics caused by fault impacts. Therefore, GASF and GADF are complementary in feature representation: the former focuses on the global amplitude correlation structure, while the latter focuses on local dynamic change information.

[0033] To fully utilize the complementary features of the two, this invention fuses GASF and GADF in the channel dimension to construct a dual-channel GAF feature map: ; in, This represents the final generated dual-channel Gram angle field image. This image simultaneously contains global correlation, local variation trends, and time dependence information of the vibration signal, providing a richer input representation for the subsequent MSResNet module to extract multi-scale fault texture features.

[0034] After GASF / GADF dual-channel Gram angle field encoding, the one-dimensional vibration signal is converted into a two-dimensional image feature representation. This feature map not only contains amplitude correlation and dynamic change information between different sampling points, but also reflects features such as fault impact, periodic fluctuations, and non-stationary disturbances in texture form. However, the vibration signal of the coal mining machine rocker arm has obvious multi-scale characteristics under complex working conditions, and single-scale convolution is difficult to simultaneously take into account local impact details and large-scale structural texture distribution. To this end, this invention constructs a multi-scale residual feature extraction module (Multi-Scale Residual Network, MSResNet) as follows: Figure 4 As shown, it is used to enhance the model's ability to represent fault textures at different scales, specifically including:

[0035] Let the input dual-channel GAF feature map be: ; First, shallow feature mapping is performed on the input image using basic convolutional layers: ; in, This represents a feature mapping operation consisting of convolution, batch normalization, and nonlinear activation. This is the initial feature map.

[0036] To capture fault features across different receptive fields, MSResNet incorporates multi-scale parallel convolutional branches within residual units. Different branches employ convolutional kernels of varying sizes to extract features.

[0037] , , ; in, Convolution kernels are primarily used to capture localized shocks and fine-grained texture variations. Convolutional kernels are used to extract medium-scale texture structures. Convolutional kernels can cover a larger receptive field, which helps to model structural relationships over a wider range. Through multi-scale parallel convolution, the model can extract fault-sensitive information from different spatial scales simultaneously.

[0038] Subsequently, the features extracted from branches at different scales are fused along the channel dimension: ; To reduce channel redundancy after fusion and enhance information interaction between features at different scales, further methods are employed. Convolution for feature integration: ; Meanwhile, to alleviate the gradient vanishing and feature degradation problems that may occur during network deepening, this invention introduces residual connections in the multi-scale convolutional structure to superimpose the input features with the fused multi-scale features: ; in, This represents a nonlinear activation function. When the number of channels or spatial dimensions of the residual branch differs from those of the main branch, this is used... Convolutional layers perform dimension matching on the residual branches. Through this structure, MSResNet can fully extract local fault texture features at different scales while preserving shallow input information, thus providing more discriminative feature representations for subsequent Transformer modules.

[0039] MSResNet can effectively extract local multi-scale texture features from GAF images, but the convolution operation itself mainly relies on the local receptive field, limiting its ability to model the correlation between distant regions. For the vibration signal of a coal mining machine rocker arm, fault features often manifest not only as local impacts or abrupt texture changes, but also as globally correlated patterns between different regions of the GAF image. To further enhance the model's ability to model long-range dependencies and global feature distributions, this invention introduces a Transformer encoder after MSResNet, such as... Figure 5As shown, the process includes a multi-head self-attention layer and a feedforward network layer connected in sequence.

[0040] Let the feature map output by MSResNet be: ; in, For the number of channels, and These represent the height and width of the feature map, respectively. To input the 2D feature map into the Transformer, its spatial dimensions are first unfolded into a shape with a length of... Feature sequences:

[0041] ; And map the feature vector of each spatial location to a unified... 3D representation space: ; Since the Transformer itself does not contain a convolutional structure and cannot directly perceive positional information in the feature sequence, this invention adds positional encoding to the input sequence: ; in, For the position encoding matrix, This is the input sequence after fusing location information.

[0042] The core of the Transformer Encoder is the multi-head self-attention mechanism. For the input sequence First, the query matrix, key matrix, and value matrix are obtained through linear mapping:

[0043] , , ; in, , and This is the learnable parameter matrix. The self-attention calculation process is as follows:

[0044] ; in, The dimension of the key vector. This is used to scale the dot product results to improve training stability. This mechanism adaptively allocates attention weights based on the correlation between features at different spatial locations, thereby capturing dependencies between distant regions in GAF images.

[0045] To enhance the model's expressive power across different feature subspaces, this invention employs a multi-head self-attention mechanism: ; ; in, Indicates the number of heads of attention. This is the output mapping matrix. The multi-head structure enables the model to learn the correlations between fault textures from multiple representation subspaces simultaneously, improving its ability to represent complex fault modes. After the self-attention layer, the Transformer Encoder further employs a feedforward neural network to perform nonlinear transformations on the features, and combines residual connections and layer normalization to improve model training stability.

[0046] ; ; in, This represents a feedforward neural network. Through the above process, the Transformer Encoder can further learn global dependencies based on the local multi-scale features of MSResNet, enabling the model to simultaneously possess local texture perception capabilities and global correlation modeling capabilities, thereby improving the accuracy and robustness of fault diagnosis of the rocker arm vibration signal of the coal mining machine.

[0047] In this embodiment, the effectiveness of the model is demonstrated through experiments. Specifically, the experimental data comes from the iFLYTEK Rotating Machinery Challenge dataset. The rotor test bench has a load torque range of 0~6Nm, and the bearing model used is NSK6200. Vibration data is collected by a wired vibration acceleration sensor horizontally mounted on the bearing housing, with a sampling rate of 5120Hz. The dataset contains four health states: normal, inner ring fault, outer ring fault, and rolling element fault, labeled as normal, inner, outer, and roller, respectively. To simulate the operating state of the coal mining machine rocker arm under different speeds and load conditions, the data covers four typical working conditions: rpm1000_load60, rpm1000_load80, rpm2000_load60, and rpm2000_load80. The samples of each class are evenly distributed under different working conditions to reduce the impact of class imbalance on the model training and evaluation results. The label information of the samples is shown in Table 1.

[0048] Table 1 Data Distribution Table All training and testing experiments for the methods in this invention were conducted using the following environment configuration: AMD Ryzen 9 8940HX processor, 16 GB RAM, NVIDIA GeForce RTX 5060 Laptop GPU, CUDA version 13.2, Python 3.10.20, PyTorch 2.12.0+cu132, and Windows 11 Professional operating system. To ensure the rigor of model performance comparisons, all comparison models used consistent data partitioning, input formats, and training parameter settings. Subsequent experiments in this invention were conducted under the same preprocessing procedures and training strategies to reduce the impact of non-model structure factors on the results.

[0049] To verify the effectiveness of the proposed GAF-MSRFormer model, this invention selects MSResNet and Transformer as comparison models, and conducts fault classification experiments based on the same type of GAF image input. MSSResNet is mainly used to verify the ability of multi-scale convolutional residual structures to extract local texture features, while Transformer is used to verify the ability of self-attention mechanisms to model global correlation features. The proposed GAF-MSRFormer combines the multi-scale local feature extraction capability of MSSResNet with the global dependency modeling capability of Transformer to enhance the model's ability to distinguish different fault states. Due to the lack of effective extraction of local texture and impact features by convolutional structures, its validation performance is relatively low. MSSResNet can obtain better local feature representation by relying on multi-scale convolutional structures, but it still has certain limitations in global region dependency modeling. In contrast, GAF-MSRFormer performs better in both validation loss and validation accuracy, indicating that the combination of multi-scale residual feature extraction and Transformer global modeling can improve the model's feature representation capability. From the perspective of feature extraction performance, the fault feature obtained by the GAF-MSRFormer method has clear boundaries, good intra-class aggregation effect and the smallest amount of diagnostic errors, which shows that the GAF-MSRFormer method proposed in this invention can effectively improve its feature representation capability.

[0050] Based on the test set results, GAF-MSRFormer achieved a test accuracy of 98.08%, Transformer achieved 94.28%, and MSResNet achieved 91.77%. Compared to Transformer, the test accuracy improved by approximately 3.80 percentage points, and compared to MSResNet, the test accuracy of the proposed model improved by approximately 6.31 percentage points. This indicates that the proposed model not only maintains the advantages of multi-scale convolutional structures in extracting local fault textures but also enhances the discriminative representation of fault features by modeling the global dependencies between different local regions through Transformer.

[0051] The above is an embodiment of the fault diagnosis method for the rocker arm transmission system of a coal mining machine provided in this embodiment. Based on the same idea, this embodiment also provides a corresponding fault diagnosis system for the rocker arm transmission system of a coal mining machine. For specific limitations of the fault diagnosis system for the rocker arm transmission system of a coal mining machine, please refer to the limitations of the fault diagnosis method for the rocker arm transmission system of a coal mining machine mentioned above, which will not be repeated here. Specifically, it includes: The signal extraction module is used to acquire the vibration signal of the rocker arm of the coal mining machine; The fault diagnosis module is used to input the vibration signal of the coal mining machine rocker arm into the pre-trained GAF-MSRFormer fault diagnosis model and output the fault type of the coal mining machine rocker arm. The GAF-MSRFormer fault diagnosis model includes an image encoding module, a multi-scale residual feature extraction module, a Transformer encoder, and a Softmax module connected in sequence. The multi-scale residual feature extraction module includes parallel convolutional branches of different sizes and a feature concatenation module built based on ResNet residual blocks. The input and output residuals of the multi-scale residual feature extraction module are connected. The image encoding module maps the vibration signal into two-dimensional GASF and GADF feature maps using a dual-channel Gram angle field, and fuses them to obtain a dual-channel GAF feature map. The multi-scale residual feature extraction module extracts multi-scale local fault texture features from the dual-channel GAF feature map in parallel, and then stitches them together using a feature stitching module to obtain stitched features. The stitched features and the dual-channel GAF feature map are adaptively fused using residual connections to obtain fused features. The fused features are processed sequentially through the multi-head self-attention layer and feedforward network layer of the Transformer encoder, and then stacked using residual connections and layer normalization to obtain associated features. The Softmax module outputs the fault type of the coal mining machine rocker arm based on the associated features.

[0052] The various modules in the aforementioned fault diagnosis system for the rocker arm transmission system of the coal mining machine can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0053] This embodiment also provides a computer-readable storage medium storing a computer program that can be used to execute the above-described... Figure 1 The provided method for diagnosing faults in the rocker arm transmission system of a coal mining machine.

[0054] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0055] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for diagnosing faults in the rocker arm transmission system of a coal mining machine, characterized in that, Includes the following steps: Acquire vibration signals from the rocker arm of the coal mining machine; The vibration signal of the coal mining machine rocker arm is input into the pre-trained GAF-MSRFormer fault diagnosis model, and the fault type of the coal mining machine rocker arm is output. The GAF-MSRFormer fault diagnosis model includes an image encoding module, a multi-scale residual feature extraction module, a Transformer encoder, and a Softmax module connected in sequence. The multi-scale residual feature extraction module includes parallel convolutional branches of different sizes and a feature concatenation module built based on ResNet residual blocks. The input and output residuals of the multi-scale residual feature extraction module are connected. The image encoding module maps the vibration signal into two-dimensional GASF and GADF feature maps using a dual-channel Gram angle field, and fuses them to obtain a dual-channel GAF feature map. The multi-scale residual feature extraction module extracts multi-scale local fault texture features from the dual-channel GAF feature map in parallel, and then stitches them together using a feature stitching module to obtain stitched features. The stitched features and the dual-channel GAF feature map are adaptively fused using residual connections to obtain fused features. The fused features are processed sequentially through the multi-head self-attention layer and feedforward network layer of the Transformer encoder, and then stacked using residual connections and layer normalization to obtain associated features. The Softmax outputs the fault type of the coal mining machine rocker arm based on the associated features.

2. The fault diagnosis method for the rocker arm transmission system of a coal mining machine according to claim 1, characterized in that, This also includes preprocessing the vibration signal of the coal mining machine's rocker arm, specifically including: Based on the local extreme value distribution of the vibration signal of the coal mining machine rocker arm, the frequency band is adaptively divided, and a set of empirical wavelet filters is constructed. The vibration signal of the coal mining machine rocker arm is decomposed into several modal components by a set of empirical wavelet filters. The effective modes with high modal intensities are retained based on the amplitude intensity of each mode. A Garrote threshold function is introduced to shrink the effective modes, resulting in processed effective modes. The processed effective modes are then superimposed and reconstructed to obtain the noise-reduced vibration signal.

3. The fault diagnosis method for the rocker arm transmission system of a coal mining machine according to claim 2, characterized in that, The image encoding module maps the vibration signal into two-dimensional GASF and GADF feature maps using a dual-channel Gram angle field, and fuses them to obtain a dual-channel GAF feature map, specifically including: The denoised continuous vibration signal is divided into fixed-length sample segments using a sliding window method, and then normalized to obtain normalized time series samples. The normalized time series samples are mapped to polar coordinate space. A two-dimensional GASF feature map is constructed by calculating the cosine of the sum of the polar angles at any two time points through the GASF channel, and a two-dimensional GADF feature map is constructed by calculating the sine of the difference between the polar angles at any two time points through the GADF channel. The GASF feature map and the GADF feature map are fused along the channel dimension to construct a dual-channel GAF feature map.

4. The fault diagnosis method for the rocker arm transmission system of a coal mining machine according to claim 1, characterized in that, The acquisition of the fusion features specifically includes: The initial feature map is obtained by performing shallow feature mapping on the dual-channel GAF feature map through basic convolutional layers; By extracting features from multiple ResNet residual blocks of different scales using the multi-scale residual feature extraction module, local fault texture features of different scales are obtained. The local fault texture features at different scales are stitched together to obtain stitched features, and then... Convolution integrates features to obtain integrated features; The input dual-channel GAF feature map is superimposed with the integrated feature map to obtain the fused feature map.

5. The fault diagnosis method for the rocker arm transmission system of a coal mining machine according to claim 1, characterized in that, The Transformer encoder includes a multi-head self-attention layer and a feedforward network layer connected in sequence for processing.

6. The fault diagnosis method for the rocker arm transmission system of a coal mining machine according to claim 5, characterized in that, The extraction of the associated features specifically includes: The fused feature space is expanded into a feature sequence with a length equal to the product of the feature map's height and width, and the feature vector at each spatial location is mapped to a unified... The dimensional representation space is used as the input sequence for the Transformer encoder, and positional encoding is added to the input sequence; For the input sequence, the query matrix, key matrix and value matrix are obtained through linear mapping, and multi-head self-attention calculation is performed to obtain attention-weighted features; A feedforward neural network is used to perform a nonlinear transformation on the attention-weighted features to obtain associated features.

7. A fault diagnosis system for the rocker arm transmission system of a coal mining machine, characterized in that, The system includes: The signal extraction module is used to acquire the vibration signal of the rocker arm of the coal mining machine; The fault diagnosis module is used to input the vibration signal of the coal mining machine rocker arm into the pre-trained GAF-MSRFormer fault diagnosis model and output the fault type of the coal mining machine rocker arm. The GAF-MSRFormer fault diagnosis model includes an image encoding module, a multi-scale residual feature extraction module, a Transformer encoder, and a Softmax module connected in sequence. The multi-scale residual feature extraction module includes parallel convolutional branches of different sizes and a feature concatenation module built based on ResNet residual blocks. The input and output residuals of the multi-scale residual feature extraction module are connected. The image encoding module maps the vibration signal into two-dimensional GASF and GADF feature maps using a dual-channel Gram angle field, and fuses them to obtain a dual-channel GAF feature map. The multi-scale residual feature extraction module extracts multi-scale local fault texture features from the dual-channel GAF feature map in parallel, and then stitches them together using a feature stitching module to obtain stitched features. The stitched features and the dual-channel GAF feature map are adaptively fused using residual connections to obtain fused features. The fused features are processed sequentially through the multi-head self-attention layer and feedforward network layer of the Transformer encoder, and then stacked using residual connections and layer normalization to obtain associated features. The Softmax module outputs the fault type of the coal mining machine rocker arm based on the associated features.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a data processing program, which, when executed by a processor, implements the steps of the fault diagnosis method for the rocker arm transmission system of a coal mining machine as described in any one of claims 1 to 6.