Method, device, equipment, storage medium and product for failure classification of rotating equipment

By using a target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to extract and fuse fault information of rotating equipment, the problem of low fault detection accuracy in traditional methods is solved, and higher fault detection accuracy is achieved.

CN118035889BActive Publication Date: 2026-11-24TSINGHUA UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410173763.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-07
Publication Date
2026-11-24
Estimated Expiration
2044-02-07

AI Technical Summary

Technical Problem

Traditional graph convolutional neural networks, when used for training with a single graph network, struggle to extract sufficient information from limited training samples, resulting in low fault detection accuracy in rotating equipment fault detection.

Method used

A target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is adopted. By extracting features from fault information samples and training with fused graph feature samples, the fused graph feature samples are a combination of target output information and multiple graph feature samples. The model is trained based on the initial multi-scale multi-head self-attention GCN model.

Benefits of technology

The accuracy of fault detection has been improved, and the prediction accuracy of the target multi-scale multi-head self-attention graph convolutional neural network (GCN model) trained with rich fusion graph feature samples is higher.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118035889B_ABST
    Figure CN118035889B_ABST
Patent Text Reader

Abstract

The application relates to a rotating equipment fault classification method, device, equipment, storage medium and product. The method comprises the following steps: performing feature extraction on fault information of a rotating equipment to be measured to obtain fault features of the fault information; inputting the fault features into a target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain a fault category of the rotating equipment to be measured; the target multi-scale multi-head self-attention GCN model is obtained by training an initial multi-scale multi-head self-attention GCN model based on fusion graph feature samples; the fusion graph feature samples are obtained by fusing target output information and a plurality of graph feature samples; the target output information is determined by the initial multi-scale multi-head self-attention GCN model based on fault information samples; and the graph feature samples are determined based on the fault information samples, an adjacency matrix and the initial multi-scale multi-head self-attention GCN model. The method can improve fault detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of machine learning technology, and in particular to a method, apparatus, device, storage medium, and product for fault classification of rotating equipment. Background Technology

[0002] Common rotating equipment such as motors and engines are prone to malfunctions during operation, therefore, it is necessary to perform fault detection on rotating equipment.

[0003] With the development of machine learning technology, learning models such as support vector machines and graph convolutional neural networks are increasingly being applied to fault detection of rotating equipment.

[0004] Traditional graph convolutional neural networks (GCNNs) have low fault detection accuracy because they use a single graph network for detection during training, making it difficult to extract sufficient information from limited training samples. Summary of the Invention

[0005] Therefore, it is necessary to provide a fault classification method, apparatus, equipment, medium, and product for rotating equipment that can improve the accuracy of fault detection, addressing the aforementioned technical problems.

[0006] Firstly, this application provides a method for classifying faults in rotating equipment. The method includes:

[0007] Feature extraction is performed on the fault information of the rotating equipment under test to obtain the fault features of the fault information;

[0008] The fault features are input into the target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating device under test. The target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is trained on the initial multi-scale multi-head self-attention GCN model based on fused graph feature samples. The fused graph feature samples are obtained by fusing the target output information and multiple graph feature samples. The target output information is determined by the initial multi-scale multi-head self-attention GCN model based on the fault information samples. The graph feature samples are determined based on the fault information samples, the adjacency matrix, and the initial multi-scale multi-head self-attention GCN model.

[0009] In one embodiment, the initial multi-scale multi-head self-attention GCN model includes multiple first sub-models and a multilayer perceptron; the method further includes:

[0010] For each first sub-model, the fault information samples and the adjacency matrix corresponding to each first sub-model are input into the first sub-model to obtain the graph feature samples output by the first sub-model;

[0011] The fault information sample is input into the multilayer sensor to obtain the first output information; the target output information includes the first output information.

[0012] Based on the first output information and the feature samples of each graph, the fused graph feature samples are obtained;

[0013] The target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is obtained by training the initial multi-scale multi-head self-attention graph GCN model based on the feature samples of the fused graph.

[0014] In one embodiment, the first sub-model includes a first graph convolutional layer and a second graph convolutional layer, and the initial multi-scale multi-head self-attention GCN model includes a connection layer and a linear layer; fused graph feature samples are obtained based on the first output information and feature samples of each graph, including:

[0015] For each first sub-model, the fault information samples and the adjacency matrix corresponding to each first sub-model are input into the first graph convolutional layer of the first sub-model to obtain the first intermediate graph features;

[0016] The first intermediate graph features obtained from the first graph convolutional layer of each first sub-model are input into the connection layer to obtain the second intermediate graph features;

[0017] The second intermediate image features are input into the linear layer to obtain the second output information;

[0018] The fused image feature samples are obtained based on the first output information, the second output information, and the feature samples of each image; the target output information includes the first output information and the second output information.

[0019] In one embodiment, fused map feature samples are obtained based on first output information, second output information, and each map feature sample; the target output information includes the first output information and the second output information, including:

[0020] Based on the first output information, the second output information, the feature samples of each graph, the first weight corresponding to the first output information, the second weight corresponding to the second output information, and the third weight corresponding to the feature samples of each graph, the weighted values ​​of the first output information, the second output information, and the feature samples of each graph are obtained.

[0021] Feature samples of the fusion graph are obtained based on weighted values.

[0022] In one embodiment, the number of fused graph feature samples is multiple; the initial multi-scale multi-head self-attention GCN model includes a multi-head self-attention fusion model and a fully connected layer; the initial multi-scale multi-head self-attention GCN model is trained based on the fused graph feature samples to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model, including:

[0023] A multi-head self-attention fusion model is used to connect the feature samples of each fused graph to obtain the graph feature vector;

[0024] The predicted fault category is obtained based on graph feature vectors using a fully connected layer;

[0025] Based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample, the initial multi-scale multi-head self-attention GCN model is trained to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0026] In one embodiment, based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample, an initial multi-scale multi-head self-attention GCN model is trained to obtain a target multi-scale multi-head self-attention graph convolutional neural network GCN model, including:

[0027] The loss value is determined based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample.

[0028] If the loss value is greater than a preset threshold, the parameters of the initial multi-scale multi-head self-attention GCN model are adjusted according to the loss value to obtain an intermediate GCN model, which is then used to train the initial multi-scale multi-head self-attention GCN model until the loss value is less than the preset threshold. The intermediate GCN model with a loss value less than the preset threshold is then used as the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0029] Secondly, this application also provides a fault classification device for rotating equipment. The device includes:

[0030] The feature extraction module is used to extract features from the fault information of the rotating equipment under test, and obtain the fault features of the fault information.

[0031] The fault classification module is used to input fault features into the target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating device under test. The target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is trained on the initial multi-scale multi-head self-attention GCN model based on fused graph feature samples. The fused graph feature samples are obtained by fusing the target output information and multiple graph feature samples. The target output information is determined by the initial multi-scale multi-head self-attention GCN model based on fault information samples, and the graph feature samples are determined based on fault information samples, adjacency matrix, and the initial multi-scale multi-head self-attention GCN model.

[0032] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method described in any of the first aspects above.

[0033] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the method described in any of the first aspects above.

[0034] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the method described in any of the first aspects above.

[0035] The aforementioned fault classification method, apparatus, equipment, storage medium, and product for rotating equipment fuses target output information and multiple graph feature samples to obtain fused graph feature samples. Based on the fused graph feature samples, an initial multi-scale multi-head self-attention GCN model is trained to obtain a target multi-scale multi-head self-attention graph convolutional neural network GCN model. Since the fused graph feature samples include target output information and multiple graph feature samples, they contain richer information than a single graph feature sample in traditional techniques. Therefore, the prediction accuracy of the target multi-scale multi-head self-attention graph convolutional neural network GCN model trained based on the more information-rich fused graph feature samples is higher, thereby improving the accuracy of fault detection. Attached Figure Description

[0036] Figure 1 This is a diagram illustrating the application environment of a fault classification method for rotating equipment in one embodiment.

[0037] Figure 2 This is a flowchart illustrating a fault classification method for a rotating device in one embodiment;

[0038] Figure 3 This is a schematic diagram of the composition process in one embodiment;

[0039] Figure 4 This is a schematic diagram of the model corresponding to K=2 and the model corresponding to K=4 in one embodiment;

[0040] Figure 5 This is a flowchart illustrating the process of training a target multi-scale multi-head self-attention graph convolutional neural network (GCN) model in one embodiment.

[0041] Figure 6 This is a flowchart illustrating the process of training an initial multi-scale multi-head self-attention GCN model based on fused graph feature samples to obtain a target multi-scale multi-head self-attention graph convolutional neural network GCN model in one embodiment.

[0042] Figure 7 This is a flowchart illustrating a fault classification method for a rotating device in an exemplary embodiment.

[0043] Figure 8 This is a schematic diagram of a target multi-scale multi-head self-attention graph convolutional neural network (GCN) model as an exemplary embodiment.

[0044] Figure 9 This is a schematic diagram of a multi-head self-attention fusion model in an exemplary embodiment;

[0045] Figure 10 This is a schematic diagram of a fault classification device for a rotating device in one embodiment;

[0046] Figure 11 This is a diagram of the internal structure of a server in one embodiment;

[0047] Figure 12 This is a diagram of the internal structure of a terminal in one embodiment. Detailed Implementation

[0048] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0049] The fault classification method for rotating equipment provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, computer device 102 extracts features from the fault information of the rotating device under test to obtain fault features. These fault features are then input into a target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating device under test. The target GCN model is trained on an initial multi-scale multi-head self-attention GCN model based on fused graph feature samples. The fused graph feature samples are obtained by fusing the target output information and multiple graph feature samples. The target output information is determined by the initial multi-scale multi-head self-attention GCN model based on fault information samples, and the graph feature samples are determined based on fault information samples, the adjacency matrix, and the initial multi-scale multi-head self-attention GCN model. Computer device 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc.

[0050] In one embodiment, such as Figure 2 As shown, a fault classification method for rotating equipment is provided, which can be applied to... Figure 1 Taking computer device 102 as an example, the following steps are included:

[0051] Step 202: Extract features from the fault information of the rotating equipment under test to obtain the fault features of the fault information.

[0052] The rotating device to be tested can be any type of equipment such as a motor or engine; this embodiment does not limit this.

[0053] Optionally, firstly, fault signals of the rotating equipment under test are acquired using sensors such as vibration sensors and current sensors installed in the rotating equipment under test. These fault signals are then segmented to obtain fault information. Next, feature extraction is performed on the fault information to obtain fault features. The feature extraction method can be a fast Fourier transform or a normalization method, or other methods; this embodiment does not limit the specific method used.

[0054] Step 204: Input the fault features into the target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating device under test. The target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is trained on the initial multi-scale multi-head self-attention GCN model based on fused graph feature samples. The fused graph feature samples are obtained by fusing the target output information and multiple graph feature samples. The target output information is determined by the initial multi-scale multi-head self-attention GCN model based on fault information samples. The graph feature samples are determined based on fault information samples, adjacency matrix, and the initial multi-scale multi-head self-attention GCN model.

[0055] Optionally, since there is no explicit correlation between fault information samples, a graph needs to be constructed when using the initial multi-scale multi-head self-attention GCN model. A fault information sample can be regarded as a central node, and the pairwise distance between the central node and other fault information samples can be calculated using the KNN (K-nearest Neighbor) algorithm. The K fault information samples closest to the central node are regarded as the nearest neighbor nodes associated with the central node. The adjacency matrix A is used to describe the correlation between each fault information sample on the graph. The formula of the adjacency matrix A is shown in formula (1).

[0056] (1)

[0057] In formula (1), x i As the central node, x j These are the nearest neighbor nodes that are associated with the central node.

[0058] Optionally, different values ​​of K can be used to construct different graphs. The number of graphs constructed can be an integer greater than or equal to 2; this embodiment does not limit this. Assuming the number of graphs constructed is 2, and the values ​​of K are 2 and 4, the graph construction process is as follows: Figure 3As shown. When K=2, the fault information sample X1 is taken as the central node, and the nearest neighbor nodes associated with X1 are X2 and X3, with an adjacency matrix of A1. When K=4, the fault information sample X5 is taken as the central node, and the nearest neighbor nodes associated with X5 are X1, X2, X3, and X4, with an adjacency matrix of A2.

[0059] Figure 4 The diagrams show the models corresponding to K=2 and K=4. The model corresponding to K=2 is represented as the first sub-model 1, which includes two graph convolutional layers, namely graph convolutional layer 1-1 and graph convolutional layer 1-2. The model corresponding to K=4 is represented as the first sub-model 2, which includes two graph convolutional layers, namely graph convolutional layer 2-1 and graph convolutional layer 2-2.

[0060] Fault information samples and adjacency matrix A1 are input into the first sub-model 1 to obtain graph feature sample 1. Fault information samples and adjacency matrix A2 are input into the first sub-model 2 to obtain graph feature sample 2. The fault information samples are then input into the target network in the initial multi-scale multi-head self-attention GCN model to obtain target output information. The target network in the initial multi-scale multi-head self-attention GCN model can be a multilayer perceptron, a sub-network composed of connection layers and linear layers, or a multilayer perceptron and the sub-network. That is, the target output information can be the first output information of the multilayer perceptron, or the second output information of the sub-network, or the target output information can include both the first and second output information. This embodiment does not limit this.

[0061] The target output information and multiple graph feature samples are fused to obtain fused graph feature samples. Based on the fused graph feature samples, the initial multi-scale multi-head self-attention GCN model is trained to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model. Here, the fusion can be a weighted sum or other calculation methods, which are not limited in this embodiment.

[0062] The fault features are input into the target multi-scale multi-head self-attention map convolutional neural network (GCN) model to obtain the fault category of the rotating equipment under test.

[0063] In the above-mentioned fault classification method for rotating equipment, feature extraction is performed on the fault information of the rotating equipment under test to obtain fault features; the fault features are then input into the target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating equipment under test; the target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is obtained by training the initial multi-scale multi-head self-attention GCN model based on fused graph feature samples, the fused graph feature samples are obtained by fusing the target output information and multiple graph feature samples, the target output information is determined by the initial multi-scale multi-head self-attention GCN model based on fault information samples, and the graph feature samples are determined based on fault information samples, adjacency matrix, and the initial multi-scale multi-head self-attention GCN model. In this process, the target output information and multiple graph feature samples are fused to obtain fused graph feature samples. Then, based on the fused graph feature samples, the initial multi-scale multi-head self-attention GCN model is trained to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model. Since the fused graph feature samples include target output information and multiple graph feature samples, they contain more information than the single graph feature samples in traditional techniques. Therefore, the prediction accuracy of the target multi-scale multi-head self-attention graph convolutional neural network GCN model trained based on the more information-rich fused graph feature samples is higher, thereby improving the accuracy of fault detection.

[0064] In one embodiment, the initial multi-scale multi-head self-attention GCN model includes multiple first sub-models and a multilayer perceptron. The process for training the target multi-scale multi-head self-attention graph convolutional neural network GCN model is as follows: Figure 5 As shown, it includes:

[0065] Step 502: For each first sub-model, input the fault information sample and the adjacency matrix corresponding to each first sub-model into the first sub-model to obtain the graph feature sample output by the first sub-model.

[0066] Optionally, assuming the initial multi-scale multi-head self-attention GCN model includes two first sub-models, namely first sub-model 1 and first sub-model 2, the fault information samples and the adjacency matrix corresponding to first sub-model 1 are input into first sub-model 1 to obtain graph feature sample 1 output by the first sub-model. The fault information samples and the adjacency matrix corresponding to first sub-model 2 are input into first sub-model 2 to obtain graph feature sample 2 output by the first sub-model.

[0067] Step 504: Input the fault information sample into the multilayer sensor to obtain the first output information; the target output information includes the first output information.

[0068] Optionally, the fault information sample is input to the multilayer sensor to obtain the first output information, which is shown in formula (2).

[0069] (2)

[0070] In formula (2), The features corresponding to the fault information samples, This is the first output information.

[0071] Step 506: Obtain the fused image feature samples based on the first output information and the feature samples of each image.

[0072] Optionally, a first weight corresponding to the first output information and a third weight corresponding to each graph feature sample are determined. The product of the first weight and the first output information and the product of each graph feature sample and the third weight are summed, and the summed result is used as the fused graph feature sample.

[0073] Step 508: Train the initial multi-scale multi-head self-attention GCN model based on the feature samples of the fused graph to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0074] Optionally, the number of fused graph feature samples can be one or more, and this embodiment does not limit this. If the number of fused graph feature samples is one, the predicted fault category is obtained based on the fused graph feature samples using the fully connected layer in the initial multi-scale multi-head self-attention GCN model. Based on the error between the predicted fault category and the true fault category corresponding to the fault information sample, the initial multi-scale multi-head self-attention GCN model is trained to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0075] In this embodiment, for each first sub-model, fault information samples and the adjacency matrix corresponding to each first sub-model are input into the first sub-model to obtain graph feature samples output by the first sub-model; the fault information samples are input into a multilayer perceptron to obtain first output information; the target output information includes the first output information; fused graph feature samples are obtained based on the first output information and each graph feature sample; the initial multi-scale multi-head self-attention GCN model is trained based on the fused graph feature samples to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model. Specifically, the fused graph feature samples are obtained by fusing the first output information and multiple graph feature samples, and then the initial multi-scale multi-head self-attention GCN model is trained based on the fused graph feature samples to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model. Since the fused graph feature samples include the first output information and multiple graph feature samples, they contain richer information than a single graph feature sample in traditional techniques. Therefore, the accuracy of the target multi-scale multi-head self-attention graph convolutional neural network GCN model trained based on the more information-rich fused graph feature samples is higher.

[0076] In one embodiment, the first sub-model includes a first graph convolutional layer and a second graph convolutional layer, and the initial multi-scale multi-head self-attention GCN model includes a connection layer and a linear layer; fused graph feature samples are obtained based on the first output information and feature samples of each graph, including:

[0077] For each first sub-model, the fault information samples and the adjacency matrix corresponding to each first sub-model are input into the first graph convolutional layer of the first sub-model to obtain the first intermediate graph features;

[0078] The first intermediate graph features obtained from the first graph convolutional layer of each first sub-model are input into the connection layer to obtain the second intermediate graph features;

[0079] The features of the second intermediate image are input into the linear layer to obtain the second output information.

[0080] Optionally, assuming that the initial multi-scale multi-head self-attention GCN model includes two first sub-models, namely first sub-model 1 and first sub-model 2, the fault information sample and the adjacency matrix corresponding to the first sub-model 1 are input into the first graph convolutional layer of the first sub-model 1 to obtain the first intermediate graph feature 1. The fault information sample and the adjacency matrix corresponding to the first sub-model 2 are input into the first graph convolutional layer of the first sub-model 2 to obtain the first intermediate graph feature 2. The first intermediate graph feature 1 and the first intermediate graph feature 2 are input into the connection layer to obtain the second intermediate graph feature. The second intermediate graph feature is input into the linear layer to obtain the second output information. The formula for the second output information is shown in formula (3).

[0081] (3)

[0082] In formula (3), Feature 1 of the first intermediate image. Let W and b be the first intermediate image feature 2, and W and b be trainable parameters.

[0083] The fused image feature samples are obtained based on the first output information, the second output information, and the feature samples of each image; the target output information includes the first output information and the second output information.

[0084] Optionally, the first output information, the second output information, and the feature samples of each graph can be weighted and summed, and the result of the weighted summation can be used as the feature samples of the fused graph.

[0085] In this embodiment, for each first sub-model, the fault information samples and the adjacency matrix corresponding to each first sub-model are input into the first graph convolutional layer of the first sub-model to obtain first intermediate graph features; the first intermediate graph features obtained from the first graph convolutional layer of each first sub-model are input into the connection layer to obtain second intermediate graph features; the second intermediate graph features are input into the linear layer to obtain second output information; and a fused graph feature sample is obtained based on the first output information, the second output information, and each graph feature sample; the target output information includes the first output information and the second output information. The fused graph feature sample includes the first output information, the second output information, and each graph feature sample, containing richer information than a single graph feature sample in traditional techniques.

[0086] In one embodiment, fused map feature samples are obtained based on first output information, second output information, and feature samples of each map; the target output information includes first output information and second output information, including:

[0087] Based on the first output information, the second output information, the feature samples of each graph, the first weight corresponding to the first output information, the second weight corresponding to the second output information, and the third weight corresponding to the feature samples of each graph, the weighted values ​​of the first output information, the second output information, and the feature samples of each graph are obtained.

[0088] Feature samples of the fusion graph are obtained based on weighted values.

[0089] Optionally, the formulas for calculating the first weight corresponding to the first output information, the second weight corresponding to the second output information, and the third weight corresponding to each graph feature sample are shown in formulas (4) and (5).

[0090] (4)

[0091] (5)

[0092] In formulas (4) and (5), assuming the number of graph feature samples is 2, then the value of i is 1, 2, 3, or 4. Z1 represents graph feature sample 1, Z2 represents graph feature sample 2, Z3 represents the first output information, and Z4 represents the second output information. and The third weight is the feature sample corresponding to each graph. The first weight corresponds to the first output information. This represents the second weight corresponding to the second output information. The sum of these is 1.

[0093] Based on the first output information, the second output information, the feature samples of each graph, the first weight corresponding to the first output information, the second weight corresponding to the second output information, and the third weight corresponding to the feature samples of each graph, the weighted values ​​of the first output information, the second output information, and the feature samples of each graph are obtained. The calculation formula is shown in formula (6). The weighted values ​​are used as the fusion feature samples.

[0094] (6)

[0095] In formula (6), This represents the feature samples of the fused graph.

[0096] In this embodiment, a weighted value is obtained for the first output information, the second output information, each graph feature sample, the first weight corresponding to the first output information, the second weight corresponding to the second output information, and the third weight corresponding to each graph feature sample. The fused graph feature sample is then obtained based on this weighted value. By assigning different weights to the first output information, the second output information, and each graph feature sample, the first output information, the second output information, and each graph feature sample can be adaptively fused, enriching the information while avoiding the oversmoothing phenomenon caused by deep networks.

[0097] In one embodiment, the number of fused graph feature samples is multiple; the initial multi-scale multi-head self-attention GCN model includes a multi-head self-attention fusion model and a fully connected layer; the initial multi-scale multi-head self-attention GCN model is trained based on the fused graph feature samples to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model, as follows: Figure 6 As shown, it includes:

[0098] Step 602: Use a multi-head self-attention fusion model to connect the feature samples of each fused graph to obtain the graph feature vector.

[0099] Optionally, to enhance the representational power of the fused graph feature samples, multiple sets of trainable parameters can be set. Based on formulas (4), (5) and (6), multiple fusion map feature samples are calculated. ,in, Multiple fused graph feature samples are connected using a multi-head self-attention fusion model, as shown in formula (7), to obtain the graph feature vector.

[0100] (7)

[0101] In formula (7), The eigenvectors of the graph.

[0102] Step 604: Use the fully connected layer to obtain the predicted fault category based on the graph feature vector.

[0103] Optionally, the graph feature vector can be linearly transformed and processed by the Softmax function using a fully connected layer to obtain the predicted fault category, as shown in Equation (8).

[0104] (8)

[0105] In formula (8), Let W represent the graph feature vector, b represent the trainable parameters, and y represent the predicted fault category.

[0106] Step 606: Based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample, train the initial multi-scale multi-head self-attention GCN model to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0107] Optionally, a loss function is used to describe the error between the predicted fault category and the true fault category corresponding to the fault information sample. Based on the loss value corresponding to this error, the initial multi-scale multi-head self-attention GCN model is trained until the loss value meets a preset condition, thus obtaining the target multi-scale multi-head self-attention map convolutional neural network GCN model. Here, the loss function can be cross-entropy or other functions; this embodiment does not limit its application. The preset condition can be that the loss value is less than a preset threshold or that the loss value is equal to a preset threshold; this embodiment does not limit its application either.

[0108] In this embodiment, a multi-head self-attention fusion model is used to connect the feature samples of each fused graph to obtain a graph feature vector; a fully connected layer is used to obtain the predicted fault category based on the graph feature vector; and the initial multi-scale multi-head self-attention GCN model is trained to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model based on the error between the predicted fault category and the true fault category corresponding to the fault information sample. By introducing a multi-head self-attention fusion model, the representational ability of the fused graph feature samples is strengthened, further improving the accuracy of the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0109] In one embodiment, a target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is obtained by training an initial multi-scale multi-head self-attention GCN model based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample, including:

[0110] The loss value is determined based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample.

[0111] Optionally, cross-entropy is used to describe the error between the predicted fault category and the actual fault category corresponding to the fault information sample, and the loss value is determined based on the cross-entropy.

[0112] If the loss value is greater than a preset threshold, the parameters of the initial multi-scale multi-head self-attention GCN model are adjusted according to the loss value to obtain an intermediate GCN model, which is then used to train the initial multi-scale multi-head self-attention GCN model until the loss value is less than the preset threshold. The intermediate GCN model with a loss value less than the preset threshold is then used as the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0113] Optionally, if the loss value is greater than a preset threshold, the parameters of the initial multi-scale multi-head self-attention GCN model are adjusted to obtain an intermediate GCN model. Based on the fault information samples, the adjacency matrix corresponding to each first sub-model in the intermediate GCN model, and each first sub-model in the intermediate GCN model, the graph feature samples output by each first sub-model in the intermediate GCN model are determined. Based on the fault information samples and the intermediate GCN model, the target output information corresponding to the intermediate GCN model is determined. The graph feature samples output by each first sub-model in the intermediate GCN model and the target output information corresponding to the intermediate GCN model are fused to obtain the fused feature samples corresponding to the intermediate GCN model. The fused feature samples corresponding to multiple intermediate GCN models are connected using a multi-head self-attention fusion model to obtain the graph feature vector corresponding to the intermediate GCN model. The predicted fault category corresponding to the intermediate GCN model is obtained using a fully connected layer based on the graph feature vector corresponding to the intermediate GCN model. A new loss value is determined based on the error between the predicted fault category corresponding to the intermediate GCN model and the true fault category corresponding to the fault information samples. If the new loss value is less than a preset threshold, the intermediate GCN model is used as the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0114] In this embodiment, the loss value is determined based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample. If the loss value is greater than a preset threshold, the parameters of the initial multi-scale multi-head self-attention GCN model are adjusted according to the loss value to obtain an intermediate GCN model. This intermediate GCN model is then trained until the loss value is less than the preset threshold. The intermediate GCN model with the loss value less than the preset threshold is then used as the target multi-scale multi-head self-attention graph convolutional neural network GCN model. By comparing the magnitude of the loss value with the preset threshold, the parameters of the initial multi-scale multi-head self-attention GCN model are continuously adjusted to make the model's predicted value closer to the true value, thereby improving the accuracy of the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0115] In one exemplary embodiment, a fault classification method for rotating equipment is provided, the process of which is as follows: Figure 7 As shown, it includes:

[0116] Step 701: For each first sub-model, input the fault information sample and the adjacency matrix corresponding to each first sub-model into the first sub-model to obtain the graph feature sample output by the first sub-model.

[0117] Step 702: Input the fault information sample into the multilayer sensor to obtain the first output information; the target output information includes the first output information.

[0118] Step 703: For each first sub-model, input the fault information samples and the adjacency matrix corresponding to each first sub-model into the first graph convolutional layer of the first sub-model to obtain the first intermediate graph features.

[0119] Step 704: Input the first intermediate graph features obtained from the first graph convolutional layer of each first sub-model into the connection layer to obtain the second intermediate graph features.

[0120] Step 705: Input the features of the second intermediate image into the linear layer to obtain the second output information.

[0121] Step 706: Based on the first output information, the second output information, the feature samples of each graph, the first weight corresponding to the first output information, the second weight corresponding to the second output information, and the third weight corresponding to the feature samples of each graph, obtain the weighted value of the first output information, the second output information, and the feature samples of each graph.

[0122] Step 707: Obtain fusion map feature samples based on weighted values.

[0123] Step 708: Use a multi-head self-attention fusion model to connect the feature samples of each fused graph to obtain the graph feature vector.

[0124] Step 709: Use the fully connected layer to obtain the predicted fault category based on the graph feature vector.

[0125] Step 710: Determine the loss value based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample.

[0126] Step 711: If the loss value is greater than a preset threshold, adjust the parameters of the initial multi-scale multi-head self-attention GCN model according to the loss value to obtain an intermediate GCN model, so as to train the initial multi-scale multi-head self-attention GCN model until the loss value is less than the preset threshold, and take the intermediate GCN model corresponding to the loss value less than the preset threshold as the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0127] Step 712: Extract features from the fault information of the rotating equipment under test to obtain the fault features of the fault information.

[0128] Step 713: Input the fault features into the target multi-scale multi-head self-attention map convolutional neural network (GCN) model to obtain the fault category of the rotating device under test.

[0129] The aforementioned fault classification method for rotating equipment fuses target output information and multiple graph feature samples to obtain fused graph feature samples. Then, based on the fused graph feature samples, the initial multi-scale multi-head self-attention GCN model is trained to obtain a target multi-scale multi-head self-attention graph convolutional neural network GCN model. Since the fused graph feature samples include target output information and multiple graph feature samples, they contain richer information than the single graph feature samples in traditional techniques. Therefore, the prediction accuracy of the target multi-scale multi-head self-attention graph convolutional neural network GCN model trained based on the more information-rich fused graph feature samples is higher, thereby improving the accuracy of fault detection.

[0130] In an exemplary embodiment, a schematic diagram of a target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is provided, such as... Figure 8 As shown, fault information samples, adjacency matrix 1, and adjacency matrix 2 are used as inputs. After processing by each module in the target multi-scale multi-head self-attention graph convolutional neural network (GCN) model, the predicted fault category is obtained.

[0131] In one exemplary embodiment, a schematic diagram of a multi-head self-attention fusion model is provided, such as... Figure 9 As shown, graph feature sample 1, graph feature sample 2, first output information, and second output information are taken as inputs and processed through a linear layer, the Tanh function, and the Softmax function to obtain the graph feature vector.

[0132] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0133] Based on the same inventive concept, this application also provides a fault classification device for rotating equipment to implement the fault classification method for rotating equipment described above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more embodiments of the fault classification device for rotating equipment provided below can be found in the limitations of the fault classification method for rotating equipment above, and will not be repeated here.

[0134] In one embodiment, such as Figure 10 As shown, a fault classification device 1000 for rotating equipment is provided, including: a feature extraction module 1020 and a fault classification module 1040, wherein:

[0135] The feature extraction module 1020 is used to extract features from the fault information of the rotating equipment under test to obtain the fault features of the fault information.

[0136] The fault classification module 1040 is used to input fault features into the target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating device under test. The target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is trained on the initial graph convolutional neural network (GCN) model based on fused graph feature samples. The fused graph feature samples are obtained by fusing the target output information and multiple graph feature samples. The target output information is determined by the initial multi-scale multi-head self-attention GCN model based on fault information samples. The graph feature samples are determined based on fault information samples, adjacency matrix, and the initial multi-scale multi-head self-attention GCN model.

[0137] In one embodiment, the fault classification device 1000 for rotating equipment further includes:

[0138] The first training module is used to input fault information samples and the adjacency matrix corresponding to each first sub-model into the first sub-model to obtain graph feature samples output by the first sub-model; input the fault information samples into the multilayer perceptron to obtain the first output information; the target output information includes the first output information; obtain fused graph feature samples based on the first output information and each graph feature sample; and train the initial multi-scale multi-head self-attention GCN model based on the fused graph feature samples to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0139] In one embodiment, the fault classification device 1000 for rotating equipment further includes:

[0140] The second training module is used to input fault information samples and the adjacency matrix corresponding to each first sub-model into the first graph convolutional layer of the first sub-model to obtain first intermediate graph features; input the first intermediate graph features obtained from the first graph convolutional layer of each first sub-model into the connection layer to obtain second intermediate graph features; input the second intermediate graph features into the linear layer to obtain second output information; and obtain fused graph feature samples based on the first output information, the second output information, and the graph feature samples; the target output information includes the first output information and the second output information.

[0141] In one embodiment, the fault classification device 1000 for rotating equipment further includes:

[0142] The third training module is used to obtain the weighted values ​​of the first output information, the second output information, the feature samples of each graph, the first weight corresponding to the first output information, the second weight corresponding to the second output information, and the third weight corresponding to each feature sample of each graph, and to obtain the fused graph feature samples based on the weighted values.

[0143] In one embodiment, the fault classification device 1000 for rotating equipment further includes:

[0144] The fourth training module is used to connect the feature samples of each fused graph using a multi-head self-attention fusion model to obtain graph feature vectors; use a fully connected layer to obtain the predicted fault category based on the graph feature vectors; and train the initial multi-scale multi-head self-attention GCN model to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample.

[0145] In one embodiment, the fault classification device 1000 for rotating equipment further includes:

[0146] The fifth training module is used to determine the loss value based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample. If the loss value is greater than a preset threshold, the parameters of the initial multi-scale multi-head self-attention GCN model are adjusted according to the loss value to obtain an intermediate GCN model, which is then used to train the initial multi-scale multi-head self-attention GCN model until the loss value is less than the preset threshold. The intermediate GCN model corresponding to the loss value less than the preset threshold is then used as the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

[0147] Each module in the aforementioned fault classification device for rotating equipment can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0148] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 11 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a fault classification method for rotating equipment.

[0149] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 12 As shown. The computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a fault classification method for rotating equipment. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0150] Those skilled in the art will understand that Figure 11 and Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0151] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0152] Feature extraction is performed on the fault information of the rotating equipment under test to obtain the fault features of the fault information;

[0153] The fault features are input into the target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating device under test. The target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is trained on the initial multi-scale multi-head self-attention GCN model based on fused graph feature samples. The fused graph feature samples are obtained by fusing the target output information and multiple graph feature samples. The target output information is determined by the initial multi-scale multi-head self-attention GCN model based on the fault information samples. The graph feature samples are determined based on the fault information samples, the adjacency matrix, and the initial multi-scale multi-head self-attention GCN model.

[0154] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0155] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0156] Feature extraction is performed on the fault information of the rotating equipment under test to obtain the fault features of the fault information;

[0157] The fault features are input into the target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating device under test. The target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is trained on the initial multi-scale multi-head self-attention GCN model based on fused graph feature samples. The fused graph feature samples are obtained by fusing the target output information and multiple graph feature samples. The target output information is determined by the initial multi-scale multi-head self-attention GCN model based on the fault information samples. The graph feature samples are determined based on the fault information samples, the adjacency matrix, and the initial multi-scale multi-head self-attention GCN model.

[0158] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0159] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0160] Feature extraction is performed on the fault information of the rotating equipment under test to obtain the fault features of the fault information;

[0161] The fault features are input into the target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating device under test. The target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is trained on the initial multi-scale multi-head self-attention GCN model based on fused graph feature samples. The fused graph feature samples are obtained by fusing the target output information and multiple graph feature samples. The target output information is determined by the initial multi-scale multi-head self-attention GCN model based on the fault information samples. The graph feature samples are determined based on the fault information samples, the adjacency matrix, and the initial multi-scale multi-head self-attention GCN model.

[0162] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0163] 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. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, 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, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0164] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0165] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for classifying faults in rotating equipment, characterized in that, The methods include: Feature extraction is performed on the fault information of the rotating equipment under test to obtain the fault features of the fault information; The fault features are input into a target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating device under test. The target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is trained on an initial multi-scale multi-head self-attention GCN model based on fused graph feature samples. The fused graph feature samples are obtained by fusing the target output information and multiple graph feature samples. The target output information is determined by the initial multi-scale multi-head self-attention GCN model based on fault information samples, and the graph feature samples are determined based on fault information samples, the adjacency matrix, and the initial multi-scale multi-head self-attention GCN model. The initial multi-scale multi-head self-attention GCN model includes multiple first sub-models and a multilayer perceptron. The method further includes: For each first sub-model, the fault information samples and the adjacency matrix corresponding to each first sub-model are input into the first sub-model to obtain the graph feature samples output by the first sub-model; wherein the first sub-model includes a first graph convolutional layer and a second graph convolutional layer, and the initial multi-scale multi-head self-attention GCN model includes a connection layer, a linear layer, a multi-head self-attention fusion model and a fully connected layer; The fault information sample is input into the multilayer sensor to obtain the first output information; the target output information includes the first output information. For each first sub-model, the fault information samples and the adjacency matrix corresponding to each first sub-model are input into the first graph convolutional layer of the first sub-model to obtain the first intermediate graph features; The first intermediate graph features obtained from the first graph convolutional layer of each first sub-model are input into the connection layer to obtain the second intermediate graph features; The second intermediate image features are input into the linear layer to obtain the second output information; The fused graph feature samples are obtained based on the first output information, the second output information, and the feature samples of each graph; the target output information includes the first output information and the second output information; and the number of fused graph feature samples is multiple. A multi-head self-attention fusion model is used to connect the feature samples of each fused graph to obtain the graph feature vector; The predicted fault category is obtained based on graph feature vectors using a fully connected layer; Based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample, the initial multi-scale multi-head self-attention GCN model is trained to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

2. The method according to claim 1, characterized in that, Based on the first output information, the second output information, and the feature samples of each graph, the fused graph feature samples are obtained; The target output information includes first output information and second output information, including: Based on the first output information, the second output information, the feature samples of each graph, the first weight corresponding to the first output information, the second weight corresponding to the second output information, and the third weight corresponding to the feature samples of each graph, the weighted values ​​of the first output information, the second output information, and the feature samples of each graph are obtained. Feature samples of the fusion graph are obtained based on weighted values.

3. The method according to claim 1, characterized in that, Based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample, the initial multi-scale multi-head self-attention GCN model is trained to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model, including: The loss value is determined based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample. If the loss value is greater than a preset threshold, the parameters of the initial multi-scale multi-head self-attention GCN model are adjusted according to the loss value to obtain an intermediate GCN model, which is then used to train the initial multi-scale multi-head self-attention GCN model until the loss value is less than the preset threshold. The intermediate GCN model with a loss value less than the preset threshold is then used as the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

4. A fault classification device for rotating equipment, characterized in that, The device includes: The feature extraction module is used to extract features from the fault information of the rotating equipment under test, and obtain the fault features of the fault information. A fault classification module is used to input fault features into a target multi-scale multi-head self-attention graph convolutional neural network (GCN) model to obtain the fault category of the rotating device under test. The target multi-scale multi-head self-attention graph convolutional neural network (GCN) model is trained on an initial multi-scale multi-head self-attention GCN model based on fused graph feature samples. The fused graph feature samples are obtained by fusing target output information and multiple graph feature samples. The target output information is determined by the initial multi-scale multi-head self-attention GCN model based on fault information samples, and the graph feature samples are determined based on fault information samples, an adjacency matrix, and the initial multi-scale multi-head self-attention GCN model. The initial multi-scale multi-head self-attention GCN model includes multiple first sub-models and a multilayer perceptron. It also includes: For each first sub-model, the fault information samples and the adjacency matrix corresponding to each first sub-model are input into the first sub-model to obtain the graph feature samples output by the first sub-model; wherein the first sub-model includes a first graph convolutional layer and a second graph convolutional layer, and the initial multi-scale multi-head self-attention GCN model includes a connection layer, a linear layer, a multi-head self-attention fusion model and a fully connected layer; The fault information sample is input into the multilayer sensor to obtain the first output information; the target output information includes the first output information. For each first sub-model, the fault information samples and the adjacency matrix corresponding to each first sub-model are input into the first graph convolutional layer of the first sub-model to obtain the first intermediate graph features; The first intermediate graph features obtained from the first graph convolutional layer of each first sub-model are input into the connection layer to obtain the second intermediate graph features; The second intermediate image features are input into the linear layer to obtain the second output information; The fused graph feature samples are obtained based on the first output information, the second output information, and the feature samples of each graph; the target output information includes the first output information and the second output information; and the number of fused graph feature samples is multiple. A multi-head self-attention fusion model is used to connect the feature samples of each fused graph to obtain the graph feature vector; The predicted fault category is obtained based on graph feature vectors using a fully connected layer; Based on the error between the predicted fault category and the actual fault category corresponding to the fault information sample, the initial multi-scale multi-head self-attention GCN model is trained to obtain the target multi-scale multi-head self-attention graph convolutional neural network GCN model.

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, The steps of implementing the method of any one of claims 1 to 3 when the processor executes a computer program.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When a computer program is executed by a processor, it implements the steps of the method of any one of claims 1 to 3.

7. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method of any one of claims 1 to 3.

Citation Information

Patent Citations

  • Bearing fault diagnosis method and device, electronic equipment and storage medium

    CN115112372A

  • Fault diagnosis method and system combining multi-scale interaction graph convolution and comparison pooling

    CN116070131A