Small sample fault diagnosis method and system based on double-structure space-time framework

By using a dual-structure spatio-temporal framework in small sample fault diagnosis, constructing physical graphs and functional graphs, and combining the graph convolution network to extract the spatio-temporal features of rotating machinery, the problems of low generalization and over-fitting in the existing technology are solved. Efficient fault diagnosis is achieved.

CN118626931APending Publication Date: 2024-09-10CHONGQING UNIV

Patent Information

Application Number
CN202410766821.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing small-sample fault diagnosis methods can easily lead to overfitting when the amount of training data is small, and existing graph convolution methods are constructed from a single angle when building a graph model, resulting in low generalization and inability to effectively extract the characteristics of rotating machinery. spatiotemporal characteristics.

Method used

A small-sample fault diagnosis method based on a dual-structure spatio-temporal framework is used to construct physical graphs and functional graphs, combined with graph convolution networks to extract spatial and temporal information features, and perform fault reasoning through adaptive classifiers, integrating dual-view features to improve fault diagnosis Feature extraction capabilities to avoid overfitting and underfitting.

Benefits of technology

It improves the quality and diagnostic performance of fault feature extraction, enhances fault diagnosis capabilities in small sample scenarios, and achieves accurate description and fault detection of rotating machinery status information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626931A
    Figure CN118626931A
Patent Text Reader

Abstract

The invention provides a small sample fault diagnosis method and system based on a double-structure space-time framework. The method comprises the following steps: constructing a physical diagram and a functional diagram based on the physical position of a multi-dimensional sensor arranged on a target object to be monitored and the similarity of different sensing channel signals in function; extracting spatial domain information features and time sequence information features of graph data in the physical graph and the functional graph by using a graph convolutional network; fault reasoning is carried out on the features obtained after space-time diagram convolution is carried out on the physical diagram and the functional diagram, the features obtained after space-time diagram convolution is carried out on the physical diagram and the functional diagram are fused, and fault reasoning is carried out on the fused features; and regularizing the fusion reasoning result to obtain a fault diagnosis result. According to the method, the quality of fault feature extraction is improved, dynamic balance of over-fitting and under-fitting of the whole network is realized, and relatively high fault diagnosis performance in a small sample scene is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of fault diagnosis, and in particular relates to a small sample fault diagnosis method and system based on a dual-structure space-time framework. Background Art

[0002] Existing deep learning-based fault diagnosis methods for rotating machinery often require the use of a large amount of data and corresponding fault labels to optimize the parameters of the deep learning model through supervised training. However, in industrial scenarios, some rotating parts that need to be monitored are located deep inside the equipment, making it difficult to arrange sensors to obtain their vibration signals; some equipment involves industry secrets, resulting in a large amount of condition monitoring data for key rotating parts, but the data is not publicly available, with only a small amount of available data. In the above scenarios, directly using a small amount of available data to train the fault diagnosis method can easily lead to overfitting of the method on the training data, that is, the diagnostic accuracy of the diagnostic method is very high on the training data set, but very low on the test data set, making it difficult to obtain an effective diagnostic model. In the field of fault diagnosis research, a small amount of training data is defined as a small sample scenario. Existing fault diagnosis methods in small sample scenarios mainly include (1) methods based on transfer learning, (2) methods based on data enhancement, and (3) methods based on feature learning. Among them, the feature learning-based method directly extracts features with good generalization from the only small sample, thereby achieving accurate diagnosis of the test data in the scenario of small training data samples. Since the feature learning-based method can complete accurate fault diagnosis in small sample scenarios without the help of other modules (such as transfer learning module or data enhancement module), its network structure is simpler and the method is more integrated.

[0003] In recent years, fault diagnosis strategies based on feature learning methods have been widely used. Since the vibration signal of rotating machinery contains a large amount of periodic impact information during operation. When a fault occurs or the state changes, the statistical indicators of the vibration signal of the rotating machinery, such as the amplitude, peak-to-peak value, and kurtosis, may change. These statistical information are defined as spatial features extracted from the vibration signal in some studies. The above spatial features can be perceived through operations such as one-dimensional convolution, two-dimensional convolution, and graph convolution. At the same time, the timing information of the rotating machinery during operation will also change, such as the period length of the impact feature, the periodic law of the impact feature, and the correlation of the periodic information. Therefore, by extracting the time domain and spatial domain information of the vibration signal, it can be used to analyze the operating state of the rotating machinery. Most existing methods use one-dimensional convolution, two-dimensional convolution, or graph convolution to extract spatial features, and then input the extracted spatial features into a temporal feature extraction module, such as LSTM, GRU, RNN, etc., to obtain the temporal and spatial characteristics of the vibration signal. However, this method of stacking spatial and temporal modules does not complete the extraction of temporal and spatial features synchronously, resulting in poor spatiotemporal correlation of the extracted features. Therefore, it is necessary to innovate the design of the existing spatiotemporal feature extraction module to improve the fault feature extraction capability. In addition, compared with one-dimensional convolution and two-dimensional convolution, graph convolution can obtain richer spatial features by fusing information of multi-dimensional channel vibration signals and extracting relevant information between multi-channel sensors. Therefore, graph convolution helps to extract spatiotemporal features with more information. However, most of the existing graph convolution-based methods often only build from a single perspective when constructing graph models, that is, constructing KNNGraph, or constructing Path Graph, etc. However, different modeling methods have different feature extraction capabilities when facing different mechanical fault states, resulting in low generalization of the methods on different data sets. Therefore, it is very necessary to make innovative designs based on the existing graph convolution and spatiotemporal feature extraction networks to further improve the feature extraction capability in order to better solve the fault diagnosis task in small sample scenarios. Summary of the invention

[0004] In order to overcome the defects existing in the above-mentioned prior art, the purpose of the present invention is to provide a small sample fault diagnosis method and system based on a dual-structure spatiotemporal framework.

[0005] In order to achieve the above-mentioned object of the present invention, the present invention provides a small sample fault diagnosis method based on a dual-structure spatiotemporal framework, characterized in that it includes the following steps:

[0006] A plurality of sensors are arranged on the target object to be monitored to collect vibration signals of each operating state thereof;

[0007] Taking each sensor channel as a node of the graph data and the frequency spectrum of the vibration signal of the node as the node feature, a physical graph is constructed based on the physical location of the sensor, and a functional graph is constructed based on the functional similarity of signals of different sensor channels;

[0008] Constructing a graph convolutional network, and extracting spatial information features and temporal information features of the graph data in the physical graph and the functional graph in the graph convolutional network;

[0009] An adaptive classifier is constructed to perform fault reasoning on the features after the spatiotemporal graph convolution is performed on the physical graph, and the reasoning result I1 is obtained; fault reasoning is performed on the features after the spatiotemporal graph convolution is performed on the functional graph, and the reasoning result I2 is obtained; the features after the spatiotemporal graph convolution is performed on the physical graph and the features after the spatiotemporal graph convolution is performed on the functional graph, and the fault reasoning is performed on the fused features to obtain the fused reasoning result I f ; Use the inference results I1 and I2 to fuse the inference results I f Regularize and get the regularized fusion reasoning Get the fault diagnosis results.

[0010] This method starts from the perspective of physical signals and functional information of rotating machinery. After functional graph modeling and physical graph modeling, the vibration signals from multi-channel sensors at the same time can be constructed into graph models from two perspectives, which helps the subsequent modules to fuse the features extracted from the graph data under the two perspectives, making up for the disadvantage of weak generalization brought by single-perspective graph modeling. At the same time, by extracting the features of the temporal and spatial information of the physical graph and functional graph, the disadvantage of low spatiotemporal correlation caused by stacking the temporal and spatial modules is avoided, and the spatiotemporal features from the dual perspectives are extracted, which improves the quality of fault feature extraction; fault reasoning is performed on the spatiotemporal features under the dual perspectives respectively, and fault reasoning is performed on the fused dual perspective features; and the fused reasoning is dynamically regularized to achieve a dynamic balance between overfitting and underfitting of the overall network, ensuring high fault diagnosis performance in small sample scenarios.

[0011] In an optional scheme of the small sample fault diagnosis method based on the dual-structure space-time framework, when constructing the physical graph, any adjacent nodes that can be reached through the physical surface of the rotating machinery are defined as adjacent nodes with connections; based on this definition, an adjacency matrix describing the topology of the physical graph is obtained to complete the graph modeling of the physical graph.

[0012] When constructing a functional graph, an initial adjacency matrix of the graph data is constructed. The elements in the initial adjacency matrix are the connection relationships between two nodes, and the initial relationship is 0.

[0013] Calculate the cosine distance between all nodes in the graph data. If the cosine distance between the two nodes is greater than the threshold, set the elements corresponding to the two nodes in the initial adjacency matrix to 0; if the cosine distance between the two nodes is not greater than the threshold, set the elements corresponding to the two nodes in the initial adjacency matrix to 1.

[0014] The method of constructing physical diagrams and functional diagrams in this optional solution is simple and intuitive, and can effectively construct graph models from two perspectives.

[0015] In an optional solution of the small sample fault diagnosis method based on the dual-structure spatiotemporal framework, when extracting the spatial information features and the temporal information features of the graph data in the physical graph or the functional graph,

[0016] Combining the physical graph or the functional graph of the graph data of three consecutive moments into a physical space-time graph or a functional space-time graph;

[0017] Connect the same nodes of the physical or functional graphs at adjacent moments in the physical or functional space-time graph, construct a space-time adjacency matrix, and extract the features of the spatial domain information and temporal information in the space-time adjacency matrix based on graph convolution;

[0018] The extracted spatial information and temporal information features are added with learnable spatial position tensors and temporal position tensors to obtain the spatial information features and temporal information features of the graph data in the physical graph or the functional graph.

[0019] This optional solution constructs the information transmission path of graph convolution along the time sequence and in the spatial domain through spatiotemporal graph modeling, and simultaneously realizes the extraction of features implicit in the spatial information and time sequence information of graph data based on graph convolution. Through the learnable time sequence and spatial position embedding tensors, the graph convolution completes the distinction between time sequence and spatial domain information; improves the spatiotemporal correlation of the features extracted from the spatiotemporal network, and more accurately describes the state information of the rotating machinery.

[0020] In an optional solution of the small sample fault diagnosis method based on the dual-structure spatiotemporal framework, the spatiotemporal adjacency matrix includes a spatial adjacency matrix and a temporal adjacency matrix;

[0021] The spatial adjacency matrix is ​​expressed as:

[0022]

[0023] The temporal adjacency matrix is ​​expressed as

[0024]

[0025] The spatiotemporal adjacency matrix is ​​expressed as

[0026] in, They are physical or functional diagrams at time t1, time t2, and time t3 respectively. They are all matrices of size N×N, with all diagonal elements being 1 and all other elements being 0. N is the number of nodes, which respectively represent the connections between the same nodes in the physical or functional diagrams at time t1 and time t2, time t2 and time t1, time t2 and time t3, and time t3 and time t2 in the timing direction.

[0027] In an optional solution of the small sample fault diagnosis method based on the dual-structure spatiotemporal framework, the adaptive classifier includes a physical classifier, a functional classifier and a fusion classifier;

[0028] The physical classifier performs fault reasoning on the features after the spatiotemporal graph convolution is performed on the physical graph, and the functional classifier performs fault reasoning on the features after the spatiotemporal graph convolution is performed on the functional graph. Both the physical classifier and the functional classifier are composed of a fully connected layer with a kernel size of 128×Class, where Class is the number of fault categories;

[0029] The fusion classifier performs fault reasoning on the fusion features. The fusion classifier consists of a fully connected layer with a kernel size of 256×Class. The weights of the first 50% of the fully connected layer of the fusion classifier are shared with the weight W1 of the fully connected layer of the physical classifier, and the weights of the last 50% of the fully connected layer of the fusion classifier are shared with the weight W2 of the fully connected layer of the functional classifier. The three classifiers share a set of bias parameters B f .

[0030] This optional solution achieves a dynamic balance between underfitting and overfitting in the fault diagnosis network during the training process. That is, it can not only expand the amount of information through feature fusion, but also effectively avoid overfitting, thus ensuring effective fault diagnosis in small sample scenarios.

[0031] In an alternative approach to the small sample fault diagnosis method based on the dual-structure spatiotemporal framework, the fusion reasoning Among them, α1 and α2 are weights, and λ is a hyperparameter, which is used to balance the contribution of single view reasoning and fusion view reasoning to gradient descent.

[0032] In an alternative scheme of the small sample fault diagnosis method based on the dual-structure spatiotemporal framework,

[0033] Fusion reasoning based on regularization Calculate the cross entropy loss function:

[0034]

[0035] Among them, Num is the number of training samples, Class represents the number of fault categories, and y i,crepresents the true probability value that the i-th sample belongs to fault category c, represents the probability value of the i-th sample belonging to the fault category c obtained by the regularized fusion reasoning;

[0036] Based on this loss function, the gradient descent algorithm is used to update the parameters of the graph convolutional network and the adaptive classifier.

[0037] Based on this optional scheme, the ability of graph convolutional networks to accurately diagnose faults in small sample scenarios can be improved.

[0038] The present application also proposes a small sample fault diagnosis system, comprising a processing module, a storage module and a plurality of sensors arranged on a target object to be monitored for collecting vibration signals of various operating states of the target object to be monitored;

[0039] The sensor is connected to a processing module and sends the collected vibration signal to the processing module. The processing module is communicatively connected to a storage module. The storage module is used to store at least one executable instruction. The executable instruction enables the processing module to perform operations corresponding to the small sample fault diagnosis method based on the dual-structure space-time framework according to the vibration signal to diagnose the fault of the monitored target object.

[0040] The system possesses all the advantages of the above-mentioned small sample fault diagnosis method based on the dual-structure spatiotemporal framework.

[0041] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0043] Figure 1 It is a schematic diagram of the dual-structure space-time framework in the first embodiment;

[0044] Figure 2 It is a schematic diagram of timing diagram modeling;

[0045] Figure 3 It is the physical diagram corresponding to time t1, time t2, and time t3;

[0046] Figure 4 is based on Figure 3 The resulting physical space-time diagram;

[0047] Figure 5 is based on Figure 4 The spatial adjacency matrix of the spatial connectivity relationship;

[0048] Figure 6 is based on Figure 4 The temporal adjacency matrix of the temporal connectivity relationship. DETAILED DESCRIPTION

[0049] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0050] In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a mechanical connection or an electrical connection, or it can be the internal connection between two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.

[0051] Embodiment 1

[0052] The present invention provides an embodiment of a small sample fault diagnosis method based on a dual-structure space-time framework. The embodiment is applied to state monitoring of rotating machinery and fault diagnosis of rotating machinery.

[0053] Before introducing this embodiment, the reasons for small sample fault diagnosis are introduced: rotating machinery is used in many devices. Since most of the in-service equipment operates in a normal state, it is necessary to shut down the equipment in time after a equipment failure occurs, which makes the signal under the fault state scarce; in other cases, due to the influence of data security / publicity, the status monitoring data of some equipment is not convenient for large-scale disclosure, resulting in a small number of normal samples and fault samples.

[0054] The embodiment is introduced below:

[0055] This embodiment relies on a dual-structure space-time framework, such as Figure 1 As shown in the figure, the dual-structure spatiotemporal framework mainly includes three parts: dual-structure graph modeling, spatiotemporal graph convolution, and adaptive classifier, which can realize fault diagnosis in small sample scenarios. The method specifically includes the following steps:

[0056] 1. Signal collection

[0057] Multi-dimensional sensors are installed on rotating machinery to collect vibration signals of various operating states. Multi-dimensional sensors collect vibration signals from different parts of rotating machinery, and provide more abundant information describing the operating state of the equipment.

[0058] 2. Dual-structure graph modeling

[0059] Constructing a multi-sensor graph. In this embodiment, when constructing a multi-sensor graph, dual-structure graph modeling is proposed, and graph modeling is carried out based on the physical position of the multi-dimensional sensor arranged on the rotating machinery and based on the functional similarity of the signals of different sensor channels. Specifically, the graph model constructed based on the physical position of the multi-dimensional sensor arranged on the rotating machinery is called a physical graph, and the graph constructed based on the functional similarity of the signals of different sensor channels is called a functional graph.

[0060] Before constructing the physical and functional diagrams, Figure 2 As shown, each sensor channel is first defined as a node in the graph data, and the vibration signal in each node is fast Fourier transformed to obtain the signal spectrum, and the spectrum is used as the feature of the node.

[0061] When constructing a physical graph, any adjacent nodes that can be reached through the physical surface of the rotating machine are defined as connected adjacent nodes; if a three-axis sensor is used, then the three nodes of the three-axis sensor are mutually connected adjacent nodes; based on this definition, the adjacency matrix that describes the topology of the physical graph is obtained to complete the graph modeling of the physical graph.

[0062] When constructing a functional graph, first construct an initial adjacency matrix A of the graph data. The elements in the initial adjacency matrix are the connection relationships between two nodes, and the initial relationship is 0. In this embodiment, the initial adjacency matrix A is an all-zero matrix of size N×N, where N is the number of nodes. That is:

[0063]

[0064] Then, the cosine distance between all nodes in the graph data is calculated. If the cosine distance between the two nodes is greater than the threshold ε, the elements corresponding to the two nodes in the initial adjacency matrix are set to 0; if the cosine distance between the two nodes is not greater than the threshold ε, the elements corresponding to the two nodes in the initial adjacency matrix are set to 1. Taking the calculation of the cosine distance between node i and node j as an example, cos(z i ,z j ) is the cosine distance between the two points, z i and z j are the node features of node i and node j respectively. Based on the cosine distance between the two node features and the preset threshold ε, it is defined that when the cosine distance between node i and node j is less than or equal to ε, node i and node j are connected, and the corresponding element A of the adjacency matrix ij is set to 1. If the cosine distance between node i and node j is greater than ε, there is no connection between node i and node j, and the corresponding element A of the adjacency matrix ij is set to 0. That is:

[0065]

[0066] Through functional graph modeling and physical graph modeling, the vibration signals from multi-channel sensors at the same time can be constructed into graph models from two perspectives, which helps the subsequent modules to fuse the features extracted from the graph data from the two perspectives, and makes up for the disadvantage of poor generalization brought by single-perspective graph modeling.

[0067] 3. Spatiotemporal Graph Convolution

[0068] A graph convolutional network is constructed, and spatial information features and temporal information features of the graph data in the physical graph and the functional graph are extracted from the graph convolutional network.

[0069] In this embodiment, a spatiotemporal graph convolution module is proposed, which is based on graph convolution and simultaneously realizes the extraction of features implicit in the spatial domain information and temporal information of graph data. The steps of the spatiotemporal graph convolution module to extract the spatial domain information features and temporal information features of graph data in the physical graph or functional graph are as follows:

[0070] The physical graph or functional graph of graph data at three consecutive moments is synthesized into a physical space-time graph or a functional space-time graph.

[0071] Connect the same nodes of the physical space-time graph or the functional space-time graph at adjacent moments, construct the space-time adjacency matrix, and obtain the information transmission path of the graph along the time direction. The space-time adjacency matrix includes a spatial adjacency matrix and a temporal adjacency matrix; the spatial adjacency matrix is ​​used to describe the spatial structure of the physical space-time graph or the functional space-time graph, and the temporal adjacency matrix is ​​used to describe the temporal structure of the physical space-time graph or the functional space-time graph. In this embodiment, the size of the space-time adjacency matrix and the spatial adjacency matrix are both 3N×3N.

[0072] The spatial adjacency matrix is ​​expressed as:

[0073]

[0074] The temporal adjacency matrix is ​​expressed as

[0075]

[0076] The spatiotemporal adjacency matrix is ​​expressed as

[0077] in, They are physical or functional diagrams at time t1, time t2, and time t3 respectively. They are all matrices of size N×N, with all diagonal elements being 1 and all other elements being 0. N is the number of nodes, which respectively represent the connections between the same nodes in the physical or functional diagrams at time t1 and time t2, time t2 and time t1, time t2 and time t3, and time t3 and time t2 in the timing direction.

[0078] Taking the physical space-time diagram as an example, assuming there are three sensors, the corresponding physical diagrams at time t1, time t2, and time t3 are as follows: Figure 3 As shown,

[0079] The physical diagrams at time t1, time t2, and time t3 are:

[0080]

[0081] like Figure 4 As shown, the same nodes of three physical graphs at adjacent moments are connected, and the dotted lines represent the edges obtained by the new connections. Finally, a space-time graph is obtained. The nodes in the space-time graph need to be reordered, and the nodes under the original three moments are reordered as nodes 1 to nodes 9.

[0082] Figure 5 The matrix shown is the spatial adjacency matrix A representing the spatial connection relationship of the physical space-time graph spatial The yellow, green, and gray parts in the figure correspond to A t1 , A t2 , A t3 .

[0083] Since the connection relationship of the physical graph is determined by the actual layout of the sensor, the spatial adjacency matrix of the physical graph at different times is the same. However, since the functional graph at different times is determined by the similarity between node features, the responses of different nodes at different times may be different. Therefore, the spatial adjacency matrix of the functional graph at different times may be different, but it is only necessary to correspond the functional graph at time t1, time t2, and time t3 to the spatial adjacency matrix A. spatial A t1 , A t2 , A t3 That's it.

[0084] In order to describe the temporal connection relationship of the physical space-time graph, that is, Figure 4 The dotted line in the middle represents the connection relationship, and the temporal adjacency matrix A of the physical space-time graph is calculated. temporal .like Figure 4 , Figure 6 As shown, taking node 1 and node 4 as an example: Node 1 and node 4 are actually the same nodes in adjacent time steps, and there is a connection between them, so A temporal The value of row 1 and column 4 is 1. Because the connection between them is mutual, A temporal The value of row 4 and column 1 is also 1. temporal The blue parts in the figure represent the connection relationship of the same nodes along the time series direction at different times, that is, A t1→t2 , A t2→t1 , A t2→t3 , A t3→t2The temporal adjacency matrix of the functional graph at different times is the same as the temporal adjacency matrix of the physical graph.

[0085] In order to simultaneously represent the temporal connection relationship and spatial connection relationship of the physical space-time graph, A spatial and A temporal Add together to get the spatiotemporal adjacency matrix A of the physical graph st .

[0086] Similarly, the spatiotemporal adjacency matrix A of the functional graph can be obtained st .

[0087] The connection channels between the same nodes of the physical graph or functional graph at different times constitute the information transmission path of the graph convolution along the time series direction, and the original spatial topology inside each physical graph or functional graph constitutes the information transmission path of the graph convolution in the spatial domain. spatial With A temporal The space-time adjacency matrix A obtained by adding st At the same time, it has the information transmission path of graph convolution along the time sequence and in the spatial domain. st , can simultaneously realize the extraction of spatial and temporal information features. Therefore, the features of spatial information and temporal information in the spatiotemporal adjacency matrix are extracted based on graph convolution.

[0088] Although graph convolution can simultaneously extract features from spatial and temporal information, it cannot automatically identify which nodes aggregate information as temporal information and which nodes aggregate information as spatial information. Therefore, in order to allow graph convolution to aggregate information from temporal and spatial domains differently, the node feature matrix of the nth spatiotemporal graph (including physical spatiotemporal graph and functional spatiotemporal graph) obtained by graph convolution is N represents the number of nodes, T represents the number of time steps3, C represents the dimension of the spectral features in the node, and a learnable spatial position tensor is added and a temporal position tensor The feature matrix is ​​obtained by adding the spatial and temporal position tensors to the node feature matrix, that is, obtaining the spatial information features and temporal information features of the graph data in the physical graph or functional graph.

[0089] 4. Adaptive Classifier

[0090] After extracting the spatial information features and temporal information features of the graph data in the physical graph or functional graph, an adaptive classifier is constructed to reason about fault diagnosis.

[0091] In this embodiment, the adaptive classifier includes a physical classifier, a functional classifier and a fusion classifier.

[0092] The physical classifier is used to perform fault reasoning on the spatial information features and temporal information features obtained after implementing spatiotemporal graph convolution on the physical graph, and the reasoning result I1 is obtained.

[0093] The function classifier is used to perform fault reasoning on the spatial information features and temporal information features obtained after implementing spatiotemporal graph convolution on the function graph, and the reasoning result I2 is obtained.

[0094] The fusion classifier is used to fuse the spatial information features and temporal information features after the spatial-temporal graph convolution of the physical graph and the functional graph, and the fault reasoning is performed on the fusion features to obtain the fusion reasoning result I f . Use the inference results I1 and I2 to integrate the inference results I f Regularize and get the regularized fusion reasoning Get the fault diagnosis results.

[0095] In this embodiment, both the physical classifier and the functional classifier are composed of a fully connected layer with a kernel size of 128×Class, where Class is the number of fault categories; the fusion classifier is composed of a fully connected layer with a kernel size of 256×Class, the weights of the first 50% of the fully connected layer constituting the fusion classifier are shared with the weight W1 of the fully connected layer of the physical classifier, and the weights of the last 50% of the fully connected layer constituting the fusion classifier are shared with the weight W2 of the fully connected layer of the functional classifier, and the three classifiers share a set of bias parameters B f .

[0096] Fusion Reasoning in:

[0097]

[0098] I1=softmax(Z physical ·W1+B f ),

[0099] I2=softmax(Z function ·W2+B f ),

[0100] α1 and α2 are weights, and the calculation formula is as follows:

[0101]

[0102] λ is a hyperparameter used to balance the contribution of single view reasoning and fusion view reasoning to gradient descent, Z physical is the node feature matrix obtained by graph convolution of the physical graph, Z functionis the node feature matrix obtained by graph convolution of the function graph, W1 is the weight vector of the fully connected layer of the physical classifier, W2 is the weight vector of the fully connected layer of the functional classifier, B f is the bias parameter vector of the fusion classifier.

[0103] And based on the regularized fusion reasoning Calculate the cross entropy loss function:

[0104]

[0105] Among them, Num is the number of training samples, which includes a small number of normal samples and samples of known fault categories, Class represents the number of fault categories, and y i,c represents the true probability value that the i-th sample belongs to fault category c, It represents the probability value of the i-th sample belonging to fault category c obtained by regularized fusion reasoning.

[0106] Based on this loss function, the gradient descent algorithm is used to update the parameters of the graph convolutional network and the adaptive classifier to improve the ability of the graph convolutional network to accurately diagnose faults in small sample scenarios.

[0107] Before fault diagnosis, the graph convolutional network and adaptive classifier are trained and their parameters are updated. Then the status of the rotating machinery is monitored and the fault is diagnosed when a fault occurs.

[0108] Embodiment 2

[0109] The present invention also proposes a small sample fault diagnosis system, which includes a processing module, a storage module and a plurality of sensors arranged on the target object to be monitored for collecting vibration signals of various operating states of the target object to be monitored. These sensors are connected to the processing module and send the collected vibration signals to the processing module. The processing module and the storage module are in communication connection. The storage module is used to store at least one executable instruction. The executable instruction enables the processing module to perform the operation corresponding to the small sample fault diagnosis method based on the dual-structure space-time framework as described in Example 1 according to the vibration signal, and diagnose the fault of the target object to be monitored. The target object to be monitored is preferably, but not limited to, a rotating machinery.

[0110] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0111] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A small sample fault diagnosis method based on a dual-structure spatiotemporal framework, characterized in that: The following steps are involved: A plurality of sensors are arranged on the target object to be monitored to collect vibration signals of each operating state thereof; Taking each sensor channel as a node of the graph data and the frequency spectrum of the vibration signal of the node as the node feature, a physical graph is constructed based on the physical location of the sensor, and a functional graph is constructed based on the functional similarity of signals of different sensor channels; Constructing a graph convolutional network, and extracting spatial information features and temporal information features of the graph data in the physical graph and the functional graph in the graph convolutional network; An adaptive classifier is constructed to perform fault reasoning on the features after the spatiotemporal graph convolution is performed on the physical graph, and the reasoning result I1 is obtained; fault reasoning is performed on the features after the spatiotemporal graph convolution is performed on the functional graph, and the reasoning result I2 is obtained; the features after the spatiotemporal graph convolution is performed on the physical graph and the features after the spatiotemporal graph convolution is performed on the functional graph, and the fault reasoning is performed on the fused features to obtain the fused reasoning result I f ; Use the inference results I1 and I2 to fuse the inference results I f Regularize and get the regularized fusion reasoning I f , and obtain the fault diagnosis result.

2. The small sample fault diagnosis method based on the dual-structure spatiotemporal framework according to claim 1 is characterized in that: When constructing a physical graph, any adjacent nodes that can be reached through the physical surface of the rotating machine are defined as adjacent nodes with connections. Based on this definition, an adjacency matrix describing the topology of the physical graph is obtained to complete the graph modeling of the physical graph.

3. The small sample fault diagnosis method based on dual-structure spatiotemporal framework according to claim 1 is characterized in that: When constructing a functional graph, an initial adjacency matrix of the graph data is constructed. The elements in the initial adjacency matrix are the connection relationships between two nodes, and the initial relationship is 0. Calculate the cosine distance between all nodes in the graph data. If the cosine distance between the two nodes is greater than the threshold, set the elements corresponding to the two nodes in the initial adjacency matrix to 0; if the cosine distance between the two nodes is not greater than the threshold, set the elements corresponding to the two nodes in the initial adjacency matrix to 1.

4. The small sample fault diagnosis method based on dual-structure spatiotemporal framework according to claim 1 is characterized in that: When extracting the spatial information features and temporal information features of the graph data in the physical graph or functional graph, Combining the physical graph or the functional graph of the graph data of three consecutive moments into a physical space-time graph or a functional space-time graph; Connect the same nodes of the physical or functional graphs at adjacent moments in the physical or functional space-time graph, construct a space-time adjacency matrix, and extract the features of the spatial domain information and temporal information in the space-time adjacency matrix based on graph convolution; The extracted spatial information and temporal information features are added with learnable spatial position tensors and temporal position tensors to obtain the spatial information features and temporal information features of the graph data in the physical graph or the functional graph.

5. The small sample fault diagnosis method based on dual-structure spatiotemporal framework according to claim 4 is characterized in that: The spatiotemporal adjacency matrix includes a spatial adjacency matrix and a temporal adjacency matrix; The spatial adjacency matrix is ​​expressed as: The temporal adjacency matrix is ​​expressed as The spatiotemporal adjacency matrix is ​​expressed as in, They are physical or functional diagrams at time t1, time t2, and time t3 respectively. They are all matrices of size N×N, with all diagonal elements being 1 and all other elements being 0. N is the number of nodes, which respectively represent the connections between the same nodes in the physical or functional diagrams at time t1 and time t2, time t2 and time t1, time t2 and time t3, and time t3 and time t2 in the timing direction.

6. The small sample fault diagnosis method based on dual-structure spatiotemporal framework according to claim 1 is characterized in that: The adaptive classifier includes a physical classifier, a functional classifier and a fusion classifier; The physical classifier performs fault reasoning on the features after the spatiotemporal graph convolution is performed on the physical graph, and the functional classifier performs fault reasoning on the features after the spatiotemporal graph convolution is performed on the functional graph. Both the physical classifier and the functional classifier are composed of a fully connected layer with a kernel size of 128×Class, where Class is the number of fault categories; The fusion classifier performs fault reasoning on the fusion features. The fusion classifier consists of a fully connected layer with a kernel size of 256×Class. The weights of the first 50% of the fully connected layer of the fusion classifier are shared with the weight W1 of the fully connected layer of the physical classifier, and the weights of the last 50% of the fully connected layer of the fusion classifier are shared with the weight W2 of the fully connected layer of the functional classifier. The three classifiers share a set of bias parameters B f .

7. The small sample fault diagnosis method based on dual-structure spatiotemporal framework according to claim 1 is characterized in that: Fusion Reasoning Among them, α1 and α2 are weights, and λ is a hyperparameter.

8. The small sample fault diagnosis method based on dual-structure spatiotemporal framework according to claim 1 is characterized in that: Fusion reasoning based on regularization Calculate the cross entropy loss function: Among them, Num is the number of training samples, Class represents the number of fault categories, and y i,c represents the true probability value that the i-th sample belongs to fault category c, represents the probability value of the i-th sample belonging to the fault category c obtained by the regularized fusion reasoning; Based on this loss function, the gradient descent algorithm is used to update the parameters of the graph convolutional network and the adaptive classifier.

9. A small sample fault diagnosis system, characterized in that: It includes a processing module, a storage module and a plurality of sensors arranged on the target object to be monitored and used to collect vibration signals of various operating states of the target object to be monitored; The sensor is connected to a processing module and sends the collected vibration signal to the processing module. The processing module is communicatively connected to a storage module. The storage module is used to store at least one executable instruction. The executable instruction enables the processing module to perform operations corresponding to the small sample fault diagnosis method based on a dual-structure space-time framework as described in any one of claims 1 to 8 according to the vibration signal to diagnose the fault of the monitored target object.

Citation Information

Patent Citations

  • Transmission system fault diagnosis method and system in small sample and noise environment, and medium

    CN117232844A

  • Small sample cross-domain fault diagnosis method and system based on adaptive graph topology perception

    CN117909829A

  • Cross-domain mechanical fault diagnosis method based on multi-channel feature fusion of CBAM and use thereof

    US20240142342A1

Cited By

  • Partition graph and node graph fusion-based graph convolution complex equipment fault diagnosis method

    CN120724105A

  • Intelligent outburst risk prediction method and system based on spatio-temporal evolution analysis

    CN121561594A

  • Intelligent Prediction Method and System for Outstanding Hazards Based on Spatiotemporal Evolution Analysis

    CN121561594B