Gearbox compound fault diagnosis method and system

Through the wavelet packet decomposition and attention mechanism fusion network, combined with the Swin Transformer network, the problem of difficulty in diagnosing gearbox compound faults with traditional methods is solved, and accurate identification and efficient diagnosis of compound faults are achieved.

CN116628591BActive Publication Date: 2024-08-23ANHUI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310620421.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-26
Publication Date
2024-08-23
Estimated Expiration
2043-05-26

AI Technical Summary

Technical Problem

Traditional fault diagnosis methods are difficult to accurately diagnose compound faults of gearboxes, especially weak, low signal-to-noise ratio, nonlinear, and non-stationary fault features caused by the interaction of multiple factors are difficult to extract and identify.

Method used

Wavelet packet decomposition is used to convert the vibration signal into a three-dimensional tensor, and a multi-working condition information fusion network is constructed through the channel attention fusion module and the position attention fusion module. It is combined with the Swin Transformer network to construct a multi-scale feature fusion module. Through the multi-label classifier Realize the diagnosis of compound faults.

Benefits of technology

It improves the accuracy and robustness of fault diagnosis, can effectively identify compound faults, improves the generalization and calculation speed of the model, and is suitable for gearbox fault diagnosis under variable working conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116628591B
    Figure CN116628591B
Patent Text Reader

Abstract

The present application provides a gearbox composite fault diagnosis method and system, which includes collecting vibration signals of the gearbox under various working conditions; using wavelet packets to decompose the vibration signals to obtain a wavelet packet coefficient matrix, and obtaining a three-dimensional tensor by stacking the wavelet packet coefficient matrix; using a channel attention fusion module and a position attention fusion module in parallel to construct a multi-working condition information fusion network, and the three-dimensional tensor is input into the multi-working condition information fusion network; obtaining the sum of the output value of the channel attention fusion module and the output value of the position attention fusion module; constructing a multi-scale feature fusion module, and inputting the sum of the output values ​​into the multi-scale feature fusion module; extracting and fusing multi-scale features; constructing a multi-label classifier, and the multi-scale features are input into the multi-label classifier and the output results are obtained, so as to solve the technical problem that a single working condition data and a single-scale feature are difficult to accurately diagnose the composite fault type of the gearbox.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of composite fault diagnosis of gearboxes, and in particular to a composite fault diagnosis method and system for gearboxes based on an attention mechanism and a multi-scale feature fusion network. Background Art

[0002] Gearbox is a key component used to connect and transmit power in mechanical equipment. By using gearbox, mechanical equipment can achieve functions such as transmitting power, changing speed, adjusting direction, etc. Since gearbox has strong bearing capacity, compact structure, stable and accurate power transmission and high transmission efficiency, it has been widely used in large and complex mechanical equipment such as wind turbines, helicopters, automobiles, agricultural machinery, metallurgical machinery, etc.

[0003] However, affected by the harsh working environment, high load, high speed, long-term continuous operation and other working conditions, some typical parts in the gearbox, such as gears and rolling bearings, are prone to various types of failures, which in turn affect the safety and reliability of the overall operation of the mechanical system, which may lead to a decline in product or service quality, or even cause huge economic losses and casualties. Therefore, it is of great significance to carry out research on gearbox fault diagnosis technology, identify fault modes in a timely and accurate manner, and provide guidance for subsequent repairs and maintenance, in order to ensure the safe and reliable operation of the mechanical system and avoid major accidents.

[0004] Since the working environment of the gearbox is relatively harsh, it is affected by many factors such as vibration, impact, overload, high temperature, etc. These factors will interact with each other, causing changes in the working relationship between the components inside the gearbox, thus causing multiple faults to occur simultaneously. In addition, the gearbox is usually assembled with multiple gears and bearings and other different components. Once one of the components fails, it is likely to cause changes in the load and working state of other components, eventually leading to compound failures.

[0005] Traditional fault diagnosis methods mostly use signal processing technology to extract information related to the fault from complex measurement signals. However, due to the fact that the fault feature information in actual conditions is often weak, low signal-to-noise ratio, nonlinear, non-stationary, etc., the fault features are not obvious, the features are difficult to extract, and the noise interference is large. At the same time, the various faults inside the gearbox often interact with each other, and there is also coupling between different faults. Therefore, it is difficult to effectively diagnose the compound faults of the gearbox by relying solely on traditional signal processing methods. Summary of the invention

[0006] The present application provides a gearbox composite fault diagnosis method and system to solve the technical problem that single operating condition data and single scale features are difficult to accurately diagnose the composite fault types of the gearbox.

[0007] The present application provides a gearbox composite fault diagnosis method, comprising:

[0008] Collect vibration signals of gearbox under various working conditions;

[0009] Decomposing the vibration signal using wavelet packets to obtain a wavelet packet coefficient matrix, and obtaining a three-dimensional tensor by stacking the wavelet packet coefficient matrix;

[0010] A multi-operating condition information fusion network is constructed by connecting a channel attention fusion module and a position attention fusion module in parallel, and the three-dimensional tensor is input into the multi-operating condition information fusion network;

[0011] Obtaining the sum of the output value of the channel attention fusion module and the output value of the position attention fusion module;

[0012] Constructing a multi-scale feature fusion module, and inputting the sum of the output values ​​into the multi-scale feature fusion module;

[0013] Extract and fuse multi-scale features;

[0014] Constructing a multi-label classifier, the multi-scale features are input into the multi-label classifier;

[0015] Get the output of the multi-label classifier.

[0016] Optionally, the step of decomposing the vibration signal using wavelet packets to obtain a wavelet packet coefficient matrix includes:

[0017] The vibration signal is decomposed into six layers using a wavelet packet decomposition algorithm, and the wavelet packet decomposition algorithm is:

[0018]

[0019] in, are the wavelet packet decomposition coefficients, h k-2l is the low-pass filter bank of wavelet packet decomposition, g k-2l A high-pass filter bank for wavelet packet decomposition.

[0020] Optionally, the self-attention mechanism of the multi-operating condition information fusion network is:

[0021]

[0022] Wherein, Q represents the query vector, K represents the key vector, and V represents the value vector. Q, K and V are all obtained by linear transformation of the three-dimensional tensor. k Represents a scalar, usually the number of dimensions K.

[0023] Optionally, the step of obtaining the output value of the position attention fusion module includes:

[0024] The three-dimensional tensor is passed through three convolution layers with convolution kernels of 1x1 to obtain three feature maps B1, C1, and D1;

[0025] Perform matrix transformation on the three feature maps B1, C1, and D1 respectively;

[0026] Multiply the transpose of the transformed feature map B1 with the transformed feature map C1, and obtain a channel attention matrix S through normalization function processing;

[0027] Multiply the transformed feature map D1 by the transpose of the channel attention matrix S and multiply by the scale factor α to obtain the first intermediate matrix;

[0028] The first intermediate matrix is ​​transformed and matrix-added with the three-dimensional tensor to obtain an output value E1.

[0029] Optionally, the step of obtaining the output value of the channel attention fusion module includes:

[0030] Perform matrix transformation on the three-dimensional tensor to obtain three feature maps B2, C2, and D2;

[0031] Multiply the matrix-transformed feature map B2 by the transpose of the feature map C2, and obtain a channel attention matrix X through normalization function processing;

[0032] Multiply the channel attention matrix X by the feature map D2 and multiply by the scale coefficient β to obtain a second intermediate matrix;

[0033] The second intermediate matrix is ​​transformed and matrix-added with the three-dimensional tensor to obtain an output value E2.

[0034] Optionally, the step of constructing a multi-scale feature fusion module includes:

[0035] Construct a multi-scale feature fusion module based on the Swin Transformer backbone network;

[0036] The Swin Transformer network backbone includes the patch partition module, the Linear Embedding module, the Patch Merging module, and the Swin Transformer Block module.

[0037] Optionally, the step of extracting and fusing multi-scale features includes:

[0038] Use the patch partition module to split the sum of output values ​​into a sequence of non-overlapping patches of equal size;

[0039] Use the Patch Merging module to merge each group of adjacent patch sequences;

[0040] Use the Linear Embedding module to project the merged patch sequence to any dimension to obtain a low-dimensional patch sequence;

[0041] Embed the low-dimensional patch sequence into several Swin Transformer Block modules with self-attention and extract multi-scale features;

[0042] The multi-scale features are fused using Fusion Block.

[0043] Optionally, the step of constructing a multi-label classifier includes:

[0044] A label classifier is constructed based on the logistic function, which is:

[0045]

[0046] Among them, P i represents the probability of each failure type, Z i Indicates the weight of the fault type.

[0047] Optionally, the step of obtaining the output result of the multi-label classifier includes:

[0048] It is determined whether the probability of the fault type is greater than or equal to a preset threshold. If so, the multi-label classifier identifies and outputs the fault type.

[0049] Correspondingly, the present application also provides a gearbox composite fault diagnosis system, which includes a memory and a processor, the memory being used to store executable program code; the processor is connected to the memory, and runs a computer program corresponding to the executable program code by reading the executable program code to execute the steps in any of the aforementioned gearbox composite fault diagnosis methods.

[0050] The present application provides a gearbox composite fault diagnosis method and system, which utilizes wavelet packet decomposition to cleverly transform the collected one-dimensional signal into a two-dimensional wavelet packet coefficient matrix, and obtains a three-dimensional tensor by superimposing the wavelet packet coefficient matrix, thereby achieving a leap in the dimension of the data signal and facilitating subsequent further processing of the data.

[0051] The gearbox composite fault diagnosis method constructs a multi-condition information fusion module by connecting the channel attention fusion module and the position attention fusion module in parallel. The channel attention fusion module integrates the information differences between different working condition data sources, and the position attention fusion module mainly focuses on the time-frequency information within each data source. The sum of the outputs of the two fusion modules is regarded as the multi-condition fusion information. The effective fusion of multi-condition information through the dual-channel attention mechanism can improve the generalization and robustness of the fault diagnosis model.

[0052] The multi-scale feature fusion module uses the Swin Transformer network as the backbone and combines it with the Fusion Block to fuse multi-scale features to achieve the extraction and fusion of features of different scales. This module extracts features of different scales from multi-condition fusion information, making the fault features more complete and the feature information contained in the multi-scale fusion features more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0054] Figure 1 It is a flow chart of the gearbox composite fault diagnosis method provided by the present application;

[0055] Figure 2 It is a schematic diagram of the process of obtaining the output value of the position attention fusion module in the gearbox composite fault diagnosis method provided by the present application;

[0056] Figure 3 It is a schematic diagram of the process of obtaining the output value of the channel attention fusion module in the gearbox composite fault diagnosis method provided by the present application;

[0057] Figure 4 It is a schematic diagram of the process of extracting and fusing multi-scale features in the gearbox composite fault diagnosis method provided in this application. DETAILED DESCRIPTION

[0058] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. In addition, it should be understood that the specific implementation methods described herein are only used to illustrate and explain the present application and are not used to limit the present application. In the present application, unless otherwise stated, the directional words used, such as "up", "down", "left", and "right", generally refer to the up, down, left, and right of the device in actual use or working state, specifically the drawing direction in the accompanying drawings.

[0059] The present application provides a gearbox composite fault diagnosis method and system, which are described in detail below. It should be noted that the description order of the following embodiments does not limit the preferred order of the embodiments of the present application. In the following embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0060] See also Figure 1 The present application provides a gearbox composite fault diagnosis method, which is a method based on parallel processing of attention mechanism and multi-scale feature fusion network. The method first fuses multi-operating condition data information through position self-attention and channel attention, and then fuses features of different scales through a multi-scale feature fusion module with Swin Transformer as the backbone network, thereby realizing the diagnosis of gearbox composite faults.

[0061] See also Figure 1 , the gearbox composite fault diagnosis method includes the following steps:

[0062] S100, collecting vibration signals of the gearbox under various working conditions;

[0063] When one or more components inside the gearbox fail, multiple faults will occur simultaneously due to the interaction between the components inside the gearbox. Once one component fails, it is likely to cause changes in the load and working state of other components, eventually leading to compound failures.

[0064] Collecting the vibration signals of the gearbox under various working conditions and randomly dividing the samples of the vibration signals into training sets and test sets can improve the accuracy of gearbox compound fault diagnosis.

[0065] S200, decomposing the vibration signal using wavelet packets to obtain a wavelet packet coefficient matrix, and obtaining a three-dimensional tensor by stacking the wavelet packet coefficient matrices;

[0066] Wavelet packet decomposition is a signal time-frequency analysis method. The decomposition result of wavelet packet decomposition is to map the original signal to 2 j (j is the number of decomposition layers) wavelet packet subspaces, forming a complete binary tree in structure. Compared with wavelet analysis, wavelet packet decomposition can enhance the resolution of the high-frequency part of the signal and can more finely decompose nonlinear and non-stationary fault signals.

[0067] In step S200, the vibration signal is decomposed into six layers using a wavelet packet decomposition algorithm, and the wavelet packet coefficients obtained from each layer of decomposition are used as row elements of the coefficient matrix. The wavelet packet decomposition algorithm is:

[0068]

[0069] in, are the wavelet packet decomposition coefficients, h k-2l is the low-pass filter bank of wavelet packet decomposition, g k-2l A high-pass filter bank for wavelet packet decomposition.

[0070] S300, constructing a multi-condition information fusion network by using a channel attention fusion module and a position attention fusion module in parallel, and the three-dimensional tensor is input into the multi-condition information fusion network;

[0071] The self-attention mechanism can rely on limited attention resources to focus on the information to be processed, so as to quickly obtain more important details while shielding the interference of irrelevant information. The self-attention mechanism of the aforementioned multi-condition information fusion network is:

[0072]

[0073] Wherein, Q represents the query vector, K represents the key vector, and V represents the value vector. Q, K and V are all obtained by linear transformation of the three-dimensional tensor. k Represents a scalar, usually K in dimension, used to scale the attention scores to reduce their variance.

[0074] First, we perform a dot product of the query vector Q and the key vector K to calculate the relevance scores between all elements. Then we divide these scores by It is scaled and converted into probability weights using the softmax function (normalized exponential function), and finally the probability weights are weighted and summed with the value vector V to obtain the output result.

[0075] The Position Attention Fusion module (PAF) mainly focuses on the time-frequency information inside each data source, which selectively aggregates the features at each position by the weighted sum of the features at all positions, so that similar features will be related to each other regardless of the distance.

[0076] The channel attention fusion (CAF) module integrates the information differences between different working condition data sources by integrating the relevant features between all channel maps to selectively emphasize the channel maps that are interdependent.

[0077] S400, obtaining the sum of the output value of the channel attention fusion module and the output value of the position attention fusion module;

[0078] The multi-condition information fusion network is constructed by connecting the channel attention fusion module and the position attention fusion module in parallel. The spatial interdependence of information is learned through the position attention fusion module, and the channel interdependence is simulated through the channel attention fusion module. The global feature dependency in the spatial and channel dimensions can be effectively captured under the dual network. The sum of the outputs of the two fusion modules is regarded as the multi-condition fusion information. The effective fusion of multi-condition information through the dual-channel attention mechanism can improve the generalization and robustness of the fault diagnosis model.

[0079] Step S400 specifically includes the following steps:

[0080] S410, obtaining the output value E1 of the position attention fusion module;

[0081] S420, obtaining the output value E2 of the channel attention fusion module;

[0082] S430, summing the output value E1 of the position attention fusion module and the output value E2 of the channel attention fusion module;

[0083] See also Figure 2 S410, obtaining the output value E1 of the position attention fusion module includes the following steps:

[0084] S411, respectively pass the three-dimensional tensor through three convolution layers with convolution kernels 1x1 to obtain three feature maps B1, C1, and D1;

[0085] S412, performing matrix transformation on the three feature graphs B1, C1, and D1 respectively;

[0086] S413, multiplying the transpose of the transformed feature map B1 by the transformed feature map C1, and obtaining a channel attention matrix S through normalization function processing;

[0087] S414, multiplying the transformed feature map D1 by the transpose of the channel attention matrix S, and multiplying by the scale coefficient α, to obtain a first intermediate matrix; wherein the scale coefficient α is initialized to 0, and gradually learns to obtain a larger weight;

[0088] S415, performing matrix transformation on the first intermediate matrix, and performing matrix addition on the three-dimensional tensor to obtain an output value E1;

[0089] See also Figure 3 S420, obtaining the output value E2 of the channel attention fusion module specifically includes the following steps:

[0090] S421, performing matrix transformation on the three-dimensional tensor to obtain three feature graphs B2, C2, and D2;

[0091] S422, multiplying the feature map B2 after matrix transformation by the transpose of the feature map C2, and processing by a normalization function to obtain a channel attention matrix X;

[0092] S423, multiplying the channel attention matrix X by the feature map D2 and multiplying by the scale coefficient β to obtain a second intermediate matrix, wherein β is initialized to 0 and gradually learns to obtain a larger weight;

[0093] S424, performing matrix transformation on the second intermediate matrix, and performing matrix addition on the three-dimensional tensor to obtain an output value E2;

[0094] The position attention fusion module selectively aggregates the features at each position by weighting the features of all positions; the channel attention fusion module selectively emphasizes the interdependent channel mappings by integrating the relevant features between all channel mappings. Finally, the output feature information E1 and E2 of the two attention modules are added as the final multi-condition fusion information E3, which is used as the input of the multi-scale feature fusion network.

[0095] S500, constructing a multi-scale feature fusion module, and inputting the sum of the output values ​​into the multi-scale feature fusion module;

[0096] A multi-scale feature fusion module is built based on the Swin Transformer backbone network; it uses a shift window strategy to extract multi-scale features. The Swin Transformer network backbone includes a patch partition module, a LinearEmbedding module, a Patch Merging module, and a Swin Transformer Block module.

[0097] Among them, the Patch Partition module splits the input multi-condition fusion information E3 into non-overlapping and equal-sized patch sequences, and each patch sequence is regarded as a patch token. The Patch Merging module merges each group of adjacent patch sequences according to certain rules to obtain higher-level and more global feature information. The function of the LinearEmbedding module is to map each channel into a low-dimensional vector space and maintain the information independence between different channels. The Swin Transformer Block module extracts features of different scales and interacts and integrates features of different scales, which is conducive to the transmission and fusion of information and can improve the performance of the model.

[0098] S600, extract and fuse multi-scale features;

[0099] The Patch Merging module in the Swin Transformer backbone network is used to splice adjacent patch sequences to achieve multi-scale feature extraction, and then the multi-scale features are fused through the Fusion Block and input into the multi-label classifier.

[0100] See also Figure 4 Step S600 specifically includes the following steps:

[0101] S610, using a patch partition module to split the sum of the output values ​​into a sequence of non-overlapping patches of equal size;

[0102] The sum of the output values ​​of the channel attention fusion module and the position attention fusion module is input into the multi-scale feature fusion module, and the input E3 (N′×64×64) is split into patch sequences, each of which contains 4N′ elements, so that the three-dimensional tensor is converted into a two-dimensional patch sequence. At this time, the size of the two-dimensional patch sequence is

[0103] S620, using a Patch Merging module to merge each group of adjacent patch sequences;

[0104] Use the Patch Merging module to splice each group of adjacent patch sequences, and the number of patch sequences becomes the original The dimension of the patch sequence is expanded by 4 times, that is, 4C.

[0105] S630, using a Linear Embedding module to project the merged patch sequence to an arbitrary dimension to obtain a low-dimensional patch sequence;

[0106] Through the Linear Embedding module, the dimension at this time is The tensor of is projected to any dimension C, and the dimension is Therefore, a Linear Embedding module is used to reduce the 4C-dimensional patch sequence concatenation feature output dimension to 2C. At this time, the patch sequence size is

[0107] S640, embed the low-dimensional patch sequence into several Swin TransformerBlock modules with self-attention, and extract multi-scale features;

[0108] The Linear Embedding module is used to embed into several Swin TransformerBlock modules with self-attention to extract and interact with different scale features. At this time, the patch sequence size is

[0109] S650, using Fusion Block to fuse the multi-scale features;

[0110] Direct upsampling using Fusion Block and The characteristics of The spatial sizes of the layers are aligned, the features of the same size are concatenated, and the number of channels is reduced by using 1×1 convolution to achieve multi-scale feature fusion.

[0111] The multi-scale feature fusion module uses the Swin Transformer network as the backbone and combines the Fusion Block to fuse multi-scale features to achieve the extraction and fusion of features of different scales. The multi-scale feature fusion module extracts features of different scales from multi-condition fusion information, making the fault features more complete and the feature information contained in the multi-scale fusion features more accurate.

[0112] S700, constructing a multi-label classifier, the multi-scale features being input into the multi-label classifier;

[0113] A label classifier is constructed based on the logistic function, which is:

[0114]

[0115] Among them, P i represents the probability of each failure type, Zi Indicates the weight of the fault type.

[0116] The multi-label classifier is used to calculate the probability of each fault type and realize the fault classification of the gearbox. The sigmoid function is used to map the probability of each label to [0,1] and perform binary classification on each label independently.

[0117] S800, obtaining the output result of the multi-label classifier;

[0118] It is determined whether the probability of the fault type is greater than or equal to a preset threshold. If so, the multi-label classifier identifies and outputs the fault type.

[0119] In this embodiment, the preset threshold is set to 0.6. When the probability of a fault type is greater than or equal to 0.6, the model considers that there is a corresponding fault in this signal; otherwise, there is no fault. The above preset threshold is only an example and does not limit the protection range.

[0120] When the model training is completed, the test set data is input into the model, and the diagnosis of the gearbox compound fault is completed according to the output results of the prediction classification.

[0121] For the problem of gearbox compound fault diagnosis, since it is difficult to accurately diagnose the compound fault types of gearboxes with single operating condition data and single-scale features, the gearbox compound fault diagnosis method is based on the combination of attention mechanism and multi-scale feature fusion network to realize the diagnosis of gearbox compound faults.

[0122] The gearbox composite fault diagnosis method uses wavelet packet decomposition to cleverly transform the collected one-dimensional signal into a two-dimensional wavelet packet coefficient matrix. By superimposing the wavelet packet coefficient matrix, a three-dimensional tensor is obtained, thereby achieving a leap in the dimension of the data signal, which facilitates subsequent further processing of the data.

[0123] The gearbox composite fault diagnosis method constructs a multi-condition information fusion module by connecting the channel attention fusion module and the position attention fusion module in parallel. The channel attention fusion module integrates the information differences between different working condition data sources, and the position attention fusion module mainly focuses on the time-frequency information within each data source. The sum of the outputs of the two fusion modules is regarded as the multi-condition fusion information. The effective fusion of multi-condition information through the dual-channel attention mechanism can improve the generalization and robustness of the fault diagnosis model.

[0124] At the same time, compared with other methods, the gearbox composite fault diagnosis method has faster calculation speed and better performance. It can effectively diagnose the composite faults of the gearbox under variable working conditions, can adaptively extract fusion feature information from the vibration signal, and accurately and efficiently diagnose the composite faults of the gearbox, providing an effective new way for the diagnosis of composite faults of gearboxes in the big data era.

[0125] The present application also provides a gearbox composite fault diagnosis system, which includes a memory and a processor, wherein the memory is used to store executable program code; the processor is connected to the memory, and runs a computer program corresponding to the executable program code by reading the executable program code to execute the steps in the aforementioned gearbox composite fault diagnosis method.

[0126] The above is a detailed introduction to a gearbox composite fault diagnosis method and system provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A gearbox composite fault diagnosis method, characterized in that: include: Collect vibration signals of gearbox under various working conditions; Decomposing the vibration signal using wavelet packets to obtain a wavelet packet coefficient matrix, and obtaining a three-dimensional tensor by stacking the wavelet packet coefficient matrix; A multi-operating condition information fusion network is constructed by connecting a channel attention fusion module and a position attention fusion module in parallel, and the three-dimensional tensor is input into the multi-operating condition information fusion network; Obtaining the sum of the output value of the channel attention fusion module and the output value of the position attention fusion module; Constructing a multi-scale feature fusion module, and inputting the sum of the output values ​​into the multi-scale feature fusion module; Extract and fuse multi-scale features; Constructing a multi-label classifier, the multi-scale features are input into the multi-label classifier; Get the output of the multi-label classifier, Among them, the self-attention mechanism of the multi-condition information fusion network is: Wherein, Q represents the query vector, K represents the key vector, and V represents the value vector. Q, K and V are all obtained by linear transformation of the three-dimensional tensor. k represents a scalar, usually the number of dimensions K, Wherein, the step of obtaining the output value of the position attention fusion module includes: The three-dimensional tensor is passed through three convolution layers with convolution kernels of 1x1 to obtain three feature maps B1, C1, and D1; Perform matrix transformation on the three feature maps B1, C1, and D1 respectively; Multiply the transpose of the transformed feature map B1 with the transformed feature map C1, and obtain a channel attention matrix S through normalization function processing; Multiply the transformed feature map D1 by the transpose of the channel attention matrix S and multiply by the scale factor α to obtain the first intermediate matrix; The first intermediate matrix is ​​transformed and matrix-added with the three-dimensional tensor to obtain an output value E1. Wherein, the step of obtaining the output value of the channel attention fusion module includes: Performing matrix transformation on the three-dimensional tensor to obtain three feature maps B2, C2, and D2; Multiply the matrix-transformed feature map B2 by the transpose of the feature map C2, and obtain a channel attention matrix X through normalization function processing; Multiply the channel attention matrix X by the feature map D2 and multiply by the scale coefficient β to obtain a second intermediate matrix; The second intermediate matrix is ​​transformed and matrix-added with the three-dimensional tensor to obtain an output value E2. The step of constructing a multi-scale feature fusion module includes: Construct a multi-scale feature fusion module based on the Swin Transformer backbone network; The Swin Transformer network backbone includes the patch partition module, the Linear Embedding module, the Patch Merging module, and the Swin Transformer Block module. The step of extracting and fusing multi-scale features includes: Use the patch partition module to split the sum of output values ​​into a sequence of non-overlapping patches of equal size; Use the Patch Merging module to merge each group of adjacent patch sequences; Use the Linear Embedding module to project the merged patch sequence to any dimension to obtain a low-dimensional patch sequence; Embed the low-dimensional patch sequence into several Swin Transformer Block modules with self-attention and extract multi-scale features; The multi-scale features are fused using Fusion Block.

2. The gearbox composite fault diagnosis method according to claim 1, characterized in that: The step of using wavelet packets to decompose the vibration signal to obtain a wavelet packet coefficient matrix comprises: The vibration signal is decomposed into six layers using a wavelet packet decomposition algorithm, and the wavelet packet decomposition algorithm is: in, are the wavelet packet decomposition coefficients, h k-2l is the low-pass filter bank of wavelet packet decomposition, g k-2l A high-pass filter bank for wavelet packet decomposition.

3. The gearbox composite fault diagnosis method according to claim 1, characterized in that: The steps of constructing a multi-label classifier include: A label classifier is constructed based on the logistic function, which is: Among them, P i represents the probability of each failure type, Z i Indicates the weight of the fault type.

4. The gearbox composite fault diagnosis method according to claim 3, characterized in that: The step of obtaining the output result of the multi-label classifier comprises: It is determined whether the probability of the fault type is greater than or equal to a preset threshold. If so, the multi-label classifier identifies and outputs the fault type.

5. A gearbox composite fault diagnosis system, characterized in that: include: A memory for storing executable program codes; as well as A processor is connected to the memory, and runs a computer program corresponding to the executable program code by reading the executable program code, so as to execute the steps in the gearbox composite fault diagnosis method according to any one of claims 1 to 4.