Device residual life prediction method based on hypergraph neural network
The combination of dynamically constructed hypergraph structure and time information capture layer through hypergraph neural network solves the problem of difficulty in capturing high-order interaction relationships of sensor nodes, improves the accuracy of equipment remaining life prediction, and improves the maintenance efficiency and productivity of industrial systems. .
Patent Information
- Application Number
- CN202410836711.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Existing equipment remaining life prediction methods are difficult to effectively capture the complex high-order interactions between sensor nodes, resulting in insufficient prediction accuracy and affecting the maintenance efficiency and productivity of industrial systems.
A method based on hypergraph neural network is used to dynamically construct a hypergraph structure to capture the high-order interactive relationships between nodes, and combine the time information capture layer and the fully connected layer to predict the remaining life of the equipment.
Significantly improves the accuracy of equipment remaining life prediction, reduces downtime caused by maintenance operations and failures, and improves overall productivity.
Smart Images

Figure CN118733964A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of mechanical equipment failure prediction, and specifically relates to a method for predicting the remaining life of equipment based on a hypergraph neural network and a time-space fusion mechanism. Background Art
[0002] With the development of Industrial Internet of Things (IIoT), the field of Predictive Health Management (PHM) for industrial system maintenance has attracted great attention from researchers. In PHM, accurate prediction of remaining useful life (RUL) is of great significance. Due to the rapid development of modern sensor technology, condition monitoring data can now be easily obtained from operating equipment. Condition-based maintenance (CBM) mainly revolves around formulating maintenance plans based on the health status of monitored components. By analyzing sensor degradation signals, CBM can effectively identify early indicators of potential component failures. Therefore, it reduces maintenance costs and minimizes industrial system downtime caused by maintenance operations or failures, thereby improving overall productivity.
[0003] Typically, two main approaches are used when studying remaining useful life (RUL) prediction: model-based methods and data-driven methods. Model-based techniques involve dynamically modeling the degradation process of equipment using accurate physical models. However, due to the complex structure of modern industrial large-scale equipment, which is characterized by complex nonlinear interactions between components, it is a major challenge to establish a single physical failure model. Data-driven methods for remaining useful life (RUL) prediction involve extracting feature information from monitoring data signals, thereby avoiding the expertise required to build complex models that conform to the physical characteristics of the equipment. Some traditional machine learning techniques, such as support vector regression (SVR) and random forest (RF), have been applied to RUL prediction tasks. However, with the surge in data volume, the effectiveness of traditional machine learning methods has decreased, prompting the use of deep learning (DL)-based methods. DL-based methods are good at processing large amounts of data, automatically extracting relevant information from degradation signals, and performing well in RUL prediction tasks.
[0004] Deep neural network models effectively capture the temporal and spatial information present in the degradation signal. Convolutional neural network (CNN) models are well known for their proficiency in extracting multi-dimensional spatial information and are widely used in RUL prediction tasks. Another popular model is the recurrent neural network (RNN), which excels in extracting valuable information from time series data, a capability that CNN does not possess. However, RNN models have shortcomings in effectively learning long-term dependencies in sequence data. The Transformer architecture, originally developed for natural language processing tasks, has gained attention due to its ability to effectively process serialized data. Many studies have demonstrated the advantages of Transformer in processing long sequences, using self-attention mechanisms to comprehensively model the interactions between data elements. Some research works have applied Transformer in RUL prediction tasks. However, directly applying the Transformer model ignores the structural information inherent in sensor data.
[0005] To address the above challenges, recent studies have proposed a spatiotemporal fusion strategy. This strategy uses graph neural networks (GNNs) to capture structured information between sensor nodes. Subsequently, models that can process time series data are used to effectively capture temporal information. However, most existing models rely on graph neural networks (GNNs), which usually capture simple pairwise interactions in graph structures and have difficulty handling complex high-order interactions between multiple sensors. Summary of the invention
[0006] In view of the shortcomings of the prior art, the present invention provides a method for predicting the remaining life of equipment based on a hypergraph neural network, with the aim of improving the accuracy of predicting the remaining life of equipment, minimizing the downtime of industrial systems caused by maintenance operations or failures, and thus improving overall productivity.
[0007] A method for predicting the remaining life of equipment based on a hypergraph neural network comprises the following steps:
[0008] S1. Select sensors to collect relevant data according to the type of equipment to be predicted, and perform data preprocessing operations. The preprocessing includes: removing useless data, data clustering, and data normalization; after preprocessing, perform sliding window processing and divide the data into training sets and test sets;
[0009] S2, dynamically build a hypergraph structure to capture high-order interactions between nodes;
[0010] S3, based on the dynamically constructed hypergraph structure, the hypergraph neural network layer is used to learn the node embedding representation with spatial structure information;
[0011] S4. The node embedding representation with spatial structure information is processed through the time information capture layer, and finally the equipment remaining life prediction result is obtained through the fully connected layer output.
[0012] S5. Train the equipment remaining life prediction model using the training set constructed in S1.
[0013] The equipment remaining life prediction model consists of a hypergraph neural network layer, a time information capture layer and a fully connected layer.
[0014] S6. After the model training is completed, the remaining life will be predicted and the model will be evaluated based on the input serialized data.
[0015] Furthermore, the specific operations of step S1 are as follows:
[0016] Select sensors according to the type of equipment to be predicted, and build a custom data set through the data collected by the sensors in real time. The requirements for the custom data set are: a variety of different sensors are needed to collect data. The more types of sensors collected, the higher the accuracy of the remaining life prediction. The collection of sensors is related to the type of equipment. For example, rotating mechanical equipment (such as motors, pumps, fans, etc.) requires vibration sensors, temperature sensors, acceleration sensors, noise sensors, etc.; internal combustion engines and gas turbines require pressure sensors, temperature sensors, emission sensors, and vibration sensors.
[0017] Since some sensor data may remain unchanged during the entire degradation process and will not affect the final prediction results, the first step is to delete these irrelevant sensor data (i.e., sensor data that remains unchanged during the degradation process). Then, considering that the data returned by different sensors have differences in units, the data needs to be normalized. For multi-working mode data, a clustering method is used and then normalized, where clustering uses the K-nearest neighbor algorithm, while for single working mode data, normalization is performed directly. The working mode refers to the characteristics and behavior patterns exhibited by the equipment when it is operating under specific conditions and operating states. In an actual production environment, for multi-state operating equipment, that is, the equipment may be in different characteristics and behavior modes in different time periods (such as no load, partial load, full load, etc.), it is necessary to use a clustering method and then normalization, otherwise it is directly normalized;
[0018] The normalization formula is as follows:
[0019]
[0020] Where S represents the set of sensors, O represents the set of working modes, and s i,j represents the original input, μ i,j represents the mean of the input data, σ i,jrepresents the variance of the input data, z i,j Indicates score value.
[0021] Furthermore, the sliding window processing in step S1 is specifically as follows:
[0022] The raw data is processed through a sliding window. A fixed window length with a step size of one is used to divide the training data into smaller multidimensional time series, and the corresponding remaining life is used as the prediction label. The length of the sliding window is a customizable hyperparameter. For the data obtained by sliding window processing, each data has a remaining life label value (RUL). The RUL of the device conforms to a piecewise function and remains unchanged at the beginning. This corresponds to the RUL obtained by sliding window processing at the beginning. The initial value is set to 125, but the RUL of the device will gradually decrease over time. This corresponds to the RUL obtained by sliding window processing over time. The rate of decrease is 1 per moment. Therefore, the time point when the RUL starts to decrease can be calculated based on the RUL value of the device at the beginning. The piecewise function is as follows: Figure 1 , the horizontal axis is the time point and the vertical axis is RUL;
[0023] Furthermore, in step S2, the process of dynamically constructing a hypergraph structure is as follows:
[0024] SuperGraph To represent, where V t represents a node set, E t represents the set of hyperedges, and H t Represents the adjacency matrix of the hypergraph, and the subscript t represents the tth moment. Since the number of sensor nodes remains constant, while the relationship between sensors is different at different times, the hypergraph structure should be dynamically changing. The data obtained by sliding window processing is a data fragment intercepted by sliding a fixed-size window in the time series data. Each window corresponds to a period of time and a RUL label value, reflecting the RUL value of the device during that period of time. In actual processing, the position of the last time point in the sliding window is used to represent the entire time period. The RUL value is based on the RUL value at the last time point in the window. The hypergraph structure is different at different time points, so each data obtained by sliding window processing has a corresponding hypergraph structure. The change in the hypergraph structure is mainly reflected in the change in the nodes contained in different hyperedges. The overall number of nodes remains unchanged. The node is the representation of the sensor in the feature space. The node information contained in a hyperedge at a certain moment can be expressed by e t = {v1, v2, ..., v n}, which means that this hyperedge contains n different nodes, and the hyperedge is obtained using the K-nearest neighbor algorithm. Furthermore, in order to represent the information contained in all hyperedges, the adjacency matrix H of the hypergraph is needed t In H t Each element h(v, e) on is expressed by the following formula:
[0025]
[0026] Adjacency matrix H t is a matrix composed of 0 and 1. When it is 1, it means that the node is included in the hyperedge, and when it is 0, it means that the node does not belong to the hyperedge. Therefore, the degree of the node is defined as:
[0027]
[0028] The degree of a hyperedge is defined as:
[0029]
[0030] Finally, the degree of all nodes will be represented by a diagonal matrix D with n rows and n columns. v (denoted by, where n is the number of nodes, and the diagonal elements are d(v), which is the degree of node v; and the degree of the hyperedge will use the m-row and m-column diagonal matrix D e Represented by , where m is the number of hyperedges and the element on the diagonal is d(e), which is the degree of the hyperedge e.
[0031] Furthermore, in step S3, the hypergraph learning process is as follows:
[0032] Each data captured by the sliding window corresponds to a hypergraph. Information propagation between nodes in the hypergraph is carried out through shared hyperedges. To complete such message transmission, a hypergraph convolution mechanism is required. The formula for hypergraph convolution is as follows:
[0033] X (l+1) =σ(H t WH t T X (l) P)
[0034] Among them, σ() is the activation function, H t is the adjacency matrix of the hypergraph, and H t T is the transpose of the adjacency matrix, represents the feature matrix of the sensor node in the lth layer, that is, the feature matrix of the sensor node after all nodes have completed message transmission l times, and represents the feature matrix of the sensor nodes in the l+1th layer. Since the sizes of sensor nodes in different layers are consistent, F (l) =F(l+1) W is the diagonal matrix of hyperedge weights, that is, the diagonal elements of the matrix represent the weights of the corresponding hyperedges. At the initial moment, it is assumed that all hyperedges are equally important, that is, the weights of all hyperedges are 1. Represents the learnable parameter matrix. The final hypergraph convolution process will be symmetric normalized, and the final formula after symmetric normalization is as follows:
[0035] X (l+1) =σ(D v -1 / 2 H t D e -1 H t T D v -1 / 2 X (l) P)
[0036] The activation function σ() can use ReLU or LeakyReLU;
[0037] After completing the message transmission between sensor nodes three times, different sensor nodes will contain the information of third-order neighbor nodes, and a matrix consisting of node embedding representation with spatial structure information is obtained. The embedding representation of each node is a vector, which contains the structure and feature information of the node and its neighbor nodes. These vectors can be stored in a matrix, where each row corresponds to the embedding representation of a node, and the columns represent the dimensions of the vector. The data is in the form of a matrix, where the rows represent different sensor nodes and the columns represent the dimensions of the node embedding vector.
[0038] Furthermore, in step S4, the time information capture layer process is as follows:
[0039] The temporal information capture layer will use N sequentially connected multi-layer perceptron (MLP) modules to learn the temporal information in the features. The data represented by the node embedding with spatial structure information is input into the MLP module for learning. The MLP module contains two different sub-modules: MLP Time Module and MLP Feature Module. The MLP Time Module is used to capture temporal information, while the MLP Feature Module is used to capture feature domain information.
[0040] The MLP Time Module is a 2-layer MLP structure consisting of a fully connected (FC) layer, a ReLU layer, a Dropout layer, a FC layer, and a Dropout layer. Considering the impact of the independent variable on the experiment, another MLP module is needed to enhance the model. The MLP Feature Module is a 3-layer MLP structure consisting of a fully connected (FC) layer, a ReLU layer, a Dropout layer, a FC layer, a Dropout layer, a FC layer, and a Dropout layer to capture information in the feature domain. In order to improve the performance of the model, a layer normalization operation is added before each MLP submodule. In addition, a residual connection is used before layer normalization and after the MLP module submodule. The use of residual connections between layer normalization and MLP modules can significantly improve the training efficiency and performance of the neural network, making the model more suitable for complex tasks and data sets.
[0041] Furthermore, the fully connected layer described in step S4 adopts a single-layer MLP structure, which is composed of a fully connected (FC) layer, a ReLU layer, a Dropout layer, and a FC layer. It aims to learn the mapping relationship between the sequence data and the RUL prediction value by learning the intermediate hidden layer, and output the remaining life prediction result of the equipment through the fully connected layer.
[0042] Furthermore, the specific method of S5 model training is as follows:
[0043] The equipment remaining life prediction model consisting of a hypergraph neural network layer and a time information capture layer is trained through the training set constructed by S1. In addition, considering that predicting RUL is a classic regression task, the mean square error (MSE) is used as the final loss function.
[0044] The formula is as follows:
[0045]
[0046] where y i is the actual remaining life value, and represents the predicted remaining life value, and N represents the number of samples in the training set.
[0047] Use the back-propagation algorithm to adjust the overall model training parameters so that the loss value calculated by the loss function becomes smaller and smaller, and the model training ends when the loss value finally stabilizes.
[0048] All model parameters are jointly trained using the batch gradient descent algorithm, and an early stopping mechanism is used to prevent overfitting. The batch gradient descent algorithm relies on backpropagation to calculate the gradient, and backpropagation makes batch gradient descent one of the core optimization algorithms for neural network training. They work together in the training process of the neural network to achieve the goal of parameter optimization and loss function minimization.
[0049] Further, the specific method of step S6 is as follows:
[0050] Input the test set data into the trained model to predict the remaining life and evaluate the model performance;
[0051] Two evaluation metrics are used to evaluate the performance of the model. The first metric is the root mean square error (RMSE), which is widely used in prediction tasks. The specific calculation formula is as follows:
[0052]
[0053] in, Represents the predicted remaining life value, y i is the true remaining life value, and N is the number of samples in the training set. The second metric is the scoring function (SF). The core of the SF metric is that it will more severely penalize predicted items that are greater than the true value. This is achieved by changing the base number. The specific calculation formula is as follows:
[0054]
[0055] The beneficial effects of the present invention are as follows:
[0056] The present invention is a method for predicting the remaining life of equipment based on a hypergraph neural network. Compared with the prior art, it takes into account the high-order interaction relationship between sensor nodes, effectively utilizes the spatial structure information between sensor nodes, and adopts an efficient MLP model in the time information capture layer. Compared with traditional models, it has obvious advantages in predicting the remaining life of equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 It is a schematic diagram of piecewise function;
[0058] Figure 2 is a flow chart of an embodiment of the present invention;
[0059] Figure 3 A diagram of the overall model training process of an embodiment of the present invention;
[0060] Figure 4 This is a structural principle diagram of a hypergraph neural network layer according to an embodiment of the present invention;
[0061] Figure 5 4 is a structural principle diagram of the time information capture layer according to an embodiment of the present invention. DETAILED DESCRIPTION
[0062] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.
[0063] In the embodiment, a C-MAPSS dataset is used. The C-MAPSS dataset is generated by the National Aeronautics and Space Administration of the United States through simulation software. The dataset includes four sub-datasets: FD001, FD002, FD003, and FD004. Each sub-dataset has a different working mode and failure mode.
[0064] Table 1C-MAPSS dataset composition table
[0065] Dataset FD001 FD002 FD003 FD004 Training set engine 100 260 100 249 Test Suite Engine 100 259 100 248 Working Mode 1 6 1 6 Failure Mode 1 1 2 2
[0066] Each dataset includes a training set and a test set, in which the data from the sensors record the entire degradation process of each turbofan engine from normal operation to failure. The statistics of C-MAPSS are shown in Table 1.
[0067] like Figure 2 As shown, the present invention is a flow chart of a method for predicting the remaining life of equipment based on a hypergraph neural network, and the specific steps are as follows:
[0068] Step 1: Perform data preprocessing operations based on the data input by the sensor;
[0069] Data preprocessing includes: removing useless data, data clustering, data normalization, building labels, and dividing training sets and test sets. Specific operations:
[0070] (1) Removing useless data: There are 21 sensors used to monitor the working status of the turbofan engine. Observing the original data, it is found that 7 sensors remain unchanged during the engine degradation process. These 7 sensors will not provide information for the final prediction, so these data should be removed.
[0071] (2) Data clustering: According to the description of the original data set, the sensor data collected in different working modes are independent of each other. Therefore, for the sub-datasets of multiple working modes, the data needs to be clustered according to their respective working modes. The clustering adopts the K-nearest neighbor algorithm to cluster different data according to data characteristics.
[0072] (3) Data normalization: Based on a basic assumption: the data of the same sub-data set under the same working mode are independent and identically distributed, so the data is mainly normalized by the mean and variance. The formula is as follows:
[0073]
[0074] Where S represents the set of registers, O represents the set of working modes, and s i,j represents the original input, μ i,j represents the mean of the input data, σ i,j represents the variance of the input data, zi,j Indicates score value.
[0075] (4) Sliding window processing, setting of remaining life label value, and division of training set and test set: The original data is processed by sliding window. A fixed window length with a step size of one is used to divide the training data into smaller multidimensional time series, and the corresponding remaining life is used as the prediction label. The length of the sliding window is a customizable hyperparameter. For the data obtained by sliding window processing, each data has a remaining life label value (RUL). The RUL of the device conforms to a piecewise function. It remains unchanged at the beginning, which corresponds to the RUL obtained by sliding window processing at the beginning. However, the RUL of the device will gradually decrease over time, which corresponds to the RUL obtained by sliding window processing over time. The rate of decrease is 1 at each moment. The test set is divided from the original training set, and the ratio of training set to test set is 80% and 20%.
[0076] Step 2: Dynamically construct a hypergraph structure to capture high-order interactions between nodes;
[0077] (1) Construct a dynamic hypergraph structure to capture high-order interactions between nodes: Each sensor node should be a node in the hypergraph, and the dimension of the node is the intercept length of the sliding window. Use the K-nearest neighbor algorithm for clustering to obtain hyperedges. The number of points contained in the hyperedge is the K-nearest neighbor clustering coefficient. In this step, duplicate hyperedges need to be removed. After the hypergraph structure is constructed, there are high-order interactions between different nodes, which will be captured through message passing between nodes.
[0078] Step 3: Obtain node embedding representation with spatial structure information through hypergraph neural network learning;
[0079] The model training process is as follows Figure 3 It is mainly composed of a hypergraph neural network layer responsible for capturing spatial structural information and a temporal information capture layer responsible for capturing temporal structural information. The details of the hypergraph neural network layer are as follows Figure 4 The specific implementation process is as follows:
[0080] Information propagation between nodes is carried out through shared hyperedges. To complete such message passing, a hypergraph convolution mechanism is required. The formula for hypergraph convolution is as follows:
[0081] X (l+1) =σ(H t WH t T X (l) P)
[0082] Among them, H t is the adjacency matrix of the hypergraph, and H tT is the transpose of the adjacency matrix, represents the feature matrix of the sensor node in the lth layer, that is, the feature matrix of the sensor node after all nodes have completed message transmission l times, and represents the feature matrix of the sensor nodes in the l+1th layer. Since the sizes of sensor nodes in different layers are consistent, F (l) =F (l+1) W is the diagonal matrix of hyperedge weights, that is, the diagonal elements of the matrix represent the weights of the corresponding hyperedges. For simplicity, it is assumed that all hyperedges are equally important at the initial moment, that is, the weights of all hyperedges are 1. represents the learnable parameter matrix. During training, the equation may increase the risk of gradient explosion / vanishing due to numerical instability, so it will be normalized. The final formula after symmetric normalization is as follows:
[0083] X (l+1) =σ(D v -1 / 2 H t D e -1 H t T D v -1 / 2 X (l) P)
[0084] The activation function σ() can use ReLU or LeakyReLU;
[0085] Step 4: The obtained node embedding representation with spatial structure information is processed through the time information capture layer, and finally the equipment remaining life prediction result is obtained through the full connection layer. Figure 5 Specific process:
[0086] (1) The obtained node embedding representation with spatial structure information is processed through the temporal information capture layer:
[0087] The MLP module is used to learn the temporal information in the features. The main purpose is to input the data containing spatial structure information into the MLP module for learning. The temporal information capture layer will use N sequentially connected MLP modules to learn the temporal information in the features and input the data represented by the node embedding with spatial structure information into the MLP module for learning, where N is Figure 5 The number of MLP Modules in the MLP module, the MLP module contains two different sub-modules: MLP Time Module and MLP Feature Module. The MLP Time Module is used to capture time information, while the MLP Feature Module is used to capture feature domain information.
[0088] The MLP Time Module is a 2-layer MLP structure, consisting of a fully connected (FC) layer, a ReLU layer, a Dropout layer, a FC layer, and a Dropout layer. Considering the impact of the independent variable on the experiment, another MLP module is needed to enhance the model. The MLP Feature Module is a 3-layer MLP structure, consisting of a fully connected (FC) layer, a ReLU layer, a Dropout layer, a FC layer, a Dropout layer, a FC layer, and a Dropout layer to capture information in the feature domain. In order to improve the performance of the model, a layer normalization operation is added before each MLP module. Finally, the residual connection technology is also used, which is located after the layer normalization to the end of the MLP module. The use of residual connections between layer normalization and MLP modules can significantly improve the training efficiency and performance of neural networks, making the model more suitable for complex tasks and data sets.
[0089] (2) Processing through the fully connected layer:
[0090] The final fully connected layer is a single-layer MLP model. The structure of the fully connected layer includes: FC layer, ReLU layer, Dropout layer, and FC layer. It aims to learn the mapping relationship between sequence data and RUL prediction values by learning the intermediate hidden layer, and output the remaining life prediction results of the equipment through the fully connected layer.
[0091] Step 5: Train the equipment remaining life prediction model using the training set constructed in step 1.
[0092] (1) Model training:
[0093] The mean square error (MSE) is used as the final loss function for model training.
[0094] The formula is as follows:
[0095]
[0096] where y i is the actual remaining life value, and represents the predicted remaining life value, and N represents the number of samples in the training set.
[0097] After the fully connected layer, the model will use the back-propagation algorithm to adjust the training parameters so that the loss value calculated by the loss function becomes smaller and smaller. The training of the model ends when the loss value tends to be stable.
[0098] All models were built using the Pytorch framework, all model parameters were jointly trained using the batch gradient descent algorithm, and an early stopping mechanism was used to prevent overfitting.
[0099] The hyperparameters in the experiment are set as follows: the number of nodes contained in each hyperedge in the hypergraph is set to 4, the sliding window length is 30 / 45 / 30 / 40, the Dropout rate is 0.2, the batch size is 128, the learning rate is 0.001, the hidden layer dimension is 256, and the number of MLP Modules N is 2.
[0100] Step 6: After the model training is completed, the remaining life will be predicted and the model will be evaluated after data preprocessing based on the input serialized data.
[0101] In the actual production environment, it is only necessary to train the training error of the existing data until the loss value reaches a stable level. For the data collected later, the collected data needs to be preprocessed and input into the trained model to obtain the remaining life prediction value. When the remaining life is shorter than the set threshold, the alarm system will be triggered to remind the user to repair the equipment in time. In the experimental data set, it is only necessary to input the data of the test set into the model to obtain the predicted value of the remaining life of the equipment, compare it with the actual value of the remaining life of the equipment, and finally evaluate the model performance through evaluation indicators.
[0102] Two evaluation metrics are used to evaluate the performance of the model. The first metric is the root mean square error (RMSE), which is widely used in prediction tasks. The specific calculation formula is as follows:
[0103]
[0104] in, Represents the predicted remaining life value, y i is the true remaining life value, and N is the number of samples in the training set. The second metric is the scoring function (SF). The core of the SF metric is that it will more severely penalize predicted items that are greater than the true value. This is achieved by changing the base number. The specific calculation formula is as follows:
[0105]
[0106] The final training effect of the model and the comparison with other models are shown in Table 2:
[0107]
[0108] Compared with newer methods, the main advantage of the present invention is that the final effect is significantly better than other models on multi-working mode data sets and better than most models in single working condition data sets.
[0109] The above contents are further detailed descriptions of the present invention in combination with specific / preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, they can also make several substitutions or modifications to these described embodiments without departing from the concept of the present invention, and these substitutions or modifications should be regarded as belonging to the protection scope of the present invention.
[0110] Parts of the present invention that are not described in detail belong to the well-known technologies of those skilled in the art.
Claims
1. A method for predicting the remaining life of equipment based on a hypergraph neural network, characterized in that: The steps include: S1. Select sensors to collect relevant data according to the type of equipment to be predicted, and perform data preprocessing operations. The preprocessing includes: removing useless data, data clustering, and data normalization; after preprocessing, perform sliding window processing and divide the data into training sets and test sets; S2, dynamically build a hypergraph structure to capture high-order interactions between nodes; S3, based on the dynamically constructed hypergraph structure, the hypergraph neural network layer is used to learn the node embedding representation with spatial structure information; S4, the obtained node embedding representation with spatial structure information is processed through the time information capture layer, and finally the equipment remaining life prediction result is obtained through the full connection layer output; S5, training the equipment remaining life prediction model through the training set constructed in S1; The equipment remaining life prediction model is composed of a hypergraph neural network layer, a time information capture layer, and a fully connected layer; S6. After the model training is completed, the remaining life will be predicted and the model will be evaluated based on the input serialized data.
2. The method for predicting the remaining life of equipment based on a hypergraph neural network according to claim 1, characterized in that: The specific operation of step S1 is as follows: Select sensors based on the type of equipment to be predicted, and build a custom data set through the data collected by the sensors in real time. The custom data set requires: a variety of different sensors to collect data. The more types of sensors collected, the higher the accuracy of the remaining life prediction. Delete irrelevant sensor data, that is, sensor data that remains unchanged during the degradation process; then normalize the data; use clustering methods for multi-working mode data and then normalize them, where clustering uses the K-nearest neighbor algorithm, and directly normalize the single working mode data; the working mode refers to the characteristics and behavior patterns exhibited by the equipment when it is running under specific conditions and operating states; in actual production environments, for multi-state operating equipment, that is, the equipment may be in different characteristics and behavior modes in different time periods, it is necessary to use clustering methods and then normalize them, otherwise it is directly normalized; The normalization formula is as follows: Where S represents the set of sensors, O represents the set of working modes, and s i,j represents the original input, μ i,j represents the mean of the input data, σ i,j represents the variance of the input data, z i,j Indicates score value.
3. The method for predicting the remaining life of equipment based on a hypergraph neural network according to claim 2, characterized in that: The sliding window processing in step S1 is specifically as follows: The original data is processed through a sliding window. The training data is divided into smaller multidimensional time series using a fixed window length with a step size of one, and the corresponding remaining life is used as the prediction label. The length of the sliding window is a customizable hyperparameter. For the data processed by the sliding window, each data has a remaining life label value RUL, and the RUL of the device conforms to a piecewise function.
4. The method for predicting the remaining life of equipment based on a hypergraph neural network according to claim 3 is characterized in that: In step S2, the process of dynamically constructing a hypergraph structure is as follows: SuperGraph To represent, where V t represents a node set, E t represents the set of hyperedges, and H t Represents the adjacency matrix of the hypergraph, and the subscript t represents the tth moment. Since the number of sensor nodes remains constant, while the relationship between sensors is different at different times, the hypergraph structure should be dynamically changing. The data obtained by sliding window processing is a data fragment intercepted by sliding a fixed-size window in the time series data. Each window corresponds to a period of time and a RUL label value. The position of the last time point in the sliding window is used to represent the entire time period. The RUL value is based on the RUL value of the last time point in the window. The hypergraph structure is different at different time points, so each data obtained by sliding window processing has a corresponding hypergraph structure. The change of the hypergraph structure is mainly reflected in the change of the nodes contained in different hyperedges, and the overall number of nodes remains unchanged. The node is the representation of the sensor in the feature space. The node information contained in a hyperedge at a certain moment can be expressed by e t = {v1, v2, ..., v n }, which means that this hyperedge contains n different nodes, and the K-nearest neighbor algorithm is used to obtain the hyperedge; further, in order to represent the information contained in all hyperedges, it is necessary to use the adjacency matrix H of the hypergraph t ; in H t Each element h(v, e) on is expressed by the following formula: Adjacency matrix H t is a matrix composed of 0 and 1. When it is 1, it means that the node is included in the hyperedge, and when it is 0, it means that the node does not belong to the hyperedge; therefore, the degree of the node is defined as: The degree of a hyperedge is defined as: Finally, the degree of all nodes will be represented by a diagonal matrix D with n rows and n columns. v (denoted by, where n is the number of nodes, and the diagonal elements are d(v), which is the degree of node v; and the degree of the hyperedge will use the m-row and m-column diagonal matrix D e Represented by , where m is the number of hyperedges and the element on the diagonal is d(e), which is the degree of the hyperedge e.
5. The method for predicting the remaining life of equipment based on a hypergraph neural network according to claim 4 is characterized in that: In step S3, the hypergraph learning process is as follows: Each data captured by the sliding window corresponds to a hypergraph. Information propagation between nodes in the hypergraph is carried out through shared hyperedges. To complete such message transmission, a hypergraph convolution mechanism is required. The formula for hypergraph convolution is as follows: X (l+1) =σ(H t WH t T X (l) P) Among them, σ() is the activation function, H t is the adjacency matrix of the hypergraph, and H t T is the transpose of the adjacency matrix, represents the feature matrix of the sensor node in the lth layer, that is, the feature matrix of the sensor node after all nodes have completed message transmission l times, and represents the feature matrix of the sensor nodes in the l+1th layer; since the sizes of sensor nodes in different layers are consistent, F (l) =F (l+1) ; W is the diagonal matrix of hyperedge weights, that is, the diagonal elements of the matrix represent the weights of the corresponding hyperedges. At the initial moment, it is assumed that all hyperedges are equally important, that is, the weights of all hyperedges are 1; Represents a learnable parameter matrix; the final hypergraph convolution process will be symmetric normalized, and the final formula after symmetric normalization is as follows: X (l+1 )=σ(D v -1 / 2 H t D e -1 H t T D v -1 / 2 X (l) P) The activation function σ() can use ReLU or LeakyReLU; After completing the message transmission between sensor nodes three times, different sensor nodes will contain the information of third-order neighbor nodes, and a matrix consisting of node embedding representation with spatial structure information is obtained.
6. The method for predicting the remaining life of equipment based on a hypergraph neural network according to claim 5, characterized in that: In step S4, the time information capture layer process is as follows: The time information capture layer will use N sequentially connected multi-layer perceptron MLP modules to learn the time information in the features. The data represented by the node embedding with spatial structure information is input into the MLP module for learning. The MLP module contains two different sub-modules: MLP Time Module and MLP Feature Module. MLP Time Module is used to capture time information, while MLP Feature Module is used to capture feature domain information. The MLP Time Module is a 2-layer MLP structure consisting of a fully connected FC layer, a ReLU layer, a Dropout layer, a FC layer, and a Dropout layer; considering the impact of the independent variable on the experiment, another MLP module is needed to enhance the model; the MLPFeature Module is a 3-layer MLP structure consisting of a FC layer, a ReLU layer, a Dropout layer, a FC layer, a Dropout layer, a FC layer, and a Dropout layer to capture information in the feature domain; in order to improve the performance of the model, a layer normalization operation is added before each MLP sub-module; in addition, a residual connection is used before layer normalization to after the MLP module sub-module.
7. A method for predicting the remaining life of equipment based on a hypergraph neural network according to any one of claims 1 to 6, characterized in that: The fully connected layer described in step S4 adopts a single-layer MLP structure, which is composed of a fully connected FC layer, a ReLU layer, a Dropout layer, and an FC layer. It aims to learn the mapping relationship between sequence data and RUL prediction values by learning the intermediate hidden layer, and output the remaining life prediction result of the equipment through the fully connected layer.
8. The method for predicting the remaining life of equipment based on a hypergraph neural network according to claim 7, characterized in that: The specific method of S5 model training is as follows: The equipment remaining life prediction model consisting of a hypergraph neural network layer and a time information capture layer is trained using the training set constructed by S1, and the mean square error (MSE) is used as the final loss function. The formula is as follows: where y i is the actual remaining life value, and represents the predicted remaining life value, and N represents the number of samples in the training set; Use the back propagation algorithm to adjust the overall model training parameters so that the loss value calculated by the loss function becomes smaller and smaller, and the model training ends when the loss value tends to be stable; All model parameters are jointly trained using the batch gradient descent algorithm, and an early stopping mechanism is used to prevent overfitting.
9. The method for predicting the remaining life of equipment based on a hypergraph neural network according to claim 8, characterized in that: The specific method of step S6 is as follows: Input the test set data into the trained model to predict the remaining life and evaluate the model performance; Two evaluation metrics are used to evaluate the performance of the model; the first metric is the root mean square error RMSE, which is calculated as follows: in, Represents the predicted remaining life value, y i is the true remaining life value, N represents the number of samples in the training set; the second metric is the scoring function SF, and the specific calculation formula is as follows:
Citation Information
Patent Citations
Turbofan engine remaining service life prediction method based on spatiotemporal feature fusion
CN112580263A
Residual life prediction method based on convolutional neural network and long short-term memory network
CN117010263A
Individual treatment effect estimation under high-order interference in hypergraphs
US11710139B1
Multi-view human action recognition method based on hypergraph learning
US20240177525A1
Deep-learning-based method for predicting residual life of aero-engine
WO2024045377A1
Cited By
Bearing residual life prediction method and system based on dual-scale space-time hybrid hypergraph
CN122433016A
