Complex system life prediction method based on symbolic expression dimensionality reduction LSTM

Through the combination of symbolic expression dimensionality reduction and multi-layer LSTM network, the problem of insufficient prediction ability of LSTM network outside the training data range is solved, and more accurate and robust complex system life prediction is achieved, especially in long-term trend prediction, which significantly improves the accuracy. Spend.

CN118568557APending Publication Date: 2024-08-30XIAN TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410596657.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing LSTM network has poor prediction effect outside the range of training data, and it is difficult to accurately capture the long-term degradation trend of complex systems, resulting in inaccurate life prediction.

Method used

Symbolic expression dimensionality reduction technology is used to process the time series into a Boolean matrix, and predictions are made through the LSTM classification network. Dropout layers and multi-layer neural networks are used to improve generalization capabilities and reconstruct the prediction results to obtain more accurate time series predictions.

Benefits of technology

It improves the accuracy and reliability of life prediction of complex systems, reduces the computational load, and enhances the robustness of long-term trend prediction. Compared with traditional methods, the root mean square error of prediction results is reduced by 53%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568557A
    Figure CN118568557A
Patent Text Reader

Abstract

The invention relates to the technical field of fault prediction and health management, in particular to a complex system life prediction method based on symbolic expression dimensionality reduction LSTM. A time sequence is represented in a symbolization mode and input into an LSTM classification network for prediction, and then a prediction result is converted into the time sequence. The method specifically comprises the following steps: firstly, performing symbolization expression on a time sequence by using a symbolic expression dimension reduction method, and processing the time sequence into a Boolean matrix form; secondly, prediction is carried out through an LSTM classification network, and a probability matrix obtained through prediction is processed into a character string to be output; secondly, reconstructing a character string serving as a prediction result into a time sequence; and finally, solving the end-of-life time and the remaining service life according to the prediction result and the failure threshold. Experiments prove that the method is simple and effective, the long-term degradation trend prediction effect can be effectively improved, and the accuracy of the complex system life prediction result is improved. Compared with the prediction result of the autoregressive moving average model, the root-mean-square error of the prediction result is reduced by 53%.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault prediction and health management, and in particular to a method for realizing the remaining service life prediction of a complex system based on a symbolic expression dimensionality reduction long short-term memory neural network (Long Short-Term Memory, LSTM). Background Art

[0002] A complex system refers to a whole that contains a large number of different kinds of components. The components are interconnected and interact with each other in various ways, presenting a highly complex system. Due to the characteristics of structure and composition, complex systems often have potential failure risks. One of the core tasks of fault prediction and health management technology is to predict the life of complex systems to support subsequent management and maintenance and improve the reliability, safety and economy of the system. Taking the hydrogen fuel cell system as an example, it is more complex than the common lithium battery because it contains more peripheral auxiliary components. As a clean energy technology, hydrogen fuel cells have many practical application scenarios. At present, the durability of fuel cells is not satisfactory, and the demand for fault prediction and health management technology is growing.

[0003] One of the key technical indicators of fault prediction and health management is the accuracy of remaining service life prediction. At present, for the problem of hydrogen fuel cell life prediction, the model-based fault prediction method is to establish a physical model containing many parameters to describe the degradation process and predict the physical phenomenon of failure. However, since the hydrogen fuel cell system is a dynamic, time-varying and nonlinear electrochemical system, its internal reaction and degradation mode are very complex, and it is difficult to establish an accurate model. The data-driven fault prediction method considers the impact of degradation of different components as a whole, constructs a high-order nonlinear relationship between input and output based on the learning of a large amount of historical monitoring data, and then predicts future trends. At present, data-driven fault prediction methods have been widely used in many fields and have received more attention. Among these methods, LSTM under the deep learning framework has powerful time series prediction capabilities. The document with application number CN202110778444.8 discloses "a lithium battery life prediction method based on LSTM", which uses LSTM networks to build local life prediction models and central server-side global life prediction models, and predicts the life of lithium batteries. However, since the LSTM network is difficult to accurately capture and predict long-term trends and changes, the long-term prediction effect of this method is not ideal. Another document with application number CN201910238129.9 discloses "a lithium-ion battery remaining life prediction method based on gray wolf pack optimization LSTM network". This invention uses the gray wolf pack algorithm to optimize the key parameters of the LSTM network and improve the prediction accuracy of the remaining life of lithium batteries, but this method fails to solve the problem that the LSTM network has poor prediction effect outside the training data range. The common problem of the above two documents is that the LSTM network used in the method usually accumulates errors and model identification uncertainties, relies heavily on historical data, and it is difficult to accurately predict degradation conditions outside the training data range, so the effect is not ideal in predicting long-term degradation trends. Summary of the invention

[0004] The present invention proposes a complex system life prediction method based on symbolic expression dimensionality reduction LSTM to solve the problem in the prior art that the prediction ability of the classic LSTM network is limited when the original training value range is exceeded.

[0005] To achieve the above object, the technical solution of the present invention is as follows: A complex system life prediction method based on symbolic expression dimensionality reduction LSTM, comprising the following steps:

[0006] Step 1: Use symbolic expression dimensionality reduction to symbolize the time series and process it into the form of a Boolean matrix to obtain the processed time series;

[0007] Step 2: Predict the processed time series through the LSTM classification network, and process the predicted probability matrix into a string output as the prediction result;

[0008] Step 3: Convert the predicted string output in step 2 into a time series through reconstruction method and use it as the final prediction result;

[0009] Step 4: Calculate the end of life time and remaining use time based on the final prediction results and failure threshold.

[0010] Furthermore, the specific steps of symbolic expression dimensionality reduction in step 1 are divided into three stages:

[0011] (1) In the compression stage, the original time series is segmented and compressed using a straight line polygon chain approximation. The Euclidean square distance between the value in the time series segment and the polygon chain must satisfy:

[0012]

[0013] Where j represents the segment number, j∈(1,2,…,n), i j is the time corresponding to the jth segment point, represents the jth segment point, i represents the time step where the actual value is located, and x i represents the actual value, and r represents the tolerance. In the jth segment, τ j is the time increment, ε j is the numerical increment;

[0014] (2) In the digitization phase, each tuple is standardized and scaled. The scaled set of tuples The calculation formula is:

[0015]

[0016] Where n is the total number of segments, and σ ε are the standard deviations of the time increment and the numerical increment of the segment, and ω ε They represent the weights of the time increment and the numerical increment respectively. They can take values ​​between 0 and 1 and their sum is 1. The scaled set of tuples is further allocated to k clusters by minimizing the within-cluster sum of squares (WCSS). The calculation formula of WCSS is:

[0017]

[0018] Among them, argmin x∈S f(x) represents the parameter x that makes f(x) reach the minimum value, ‖·‖ 2represents the Euclidean norm, k is the number of clusters, l represents the sequence number, l∈(1,2,…,k), S l represents the lth cluster, YesS l The cluster center of Represents a scaled set of tuples The lth element in ;

[0019] (3) Encode each symbol and convert the symbolic representation of the time series into the corresponding code;

[0020] Furthermore, in step 2, when prediction is made through the classification LSTM network, the time series processed in step 1 is fed into the sequence-to-sequence classification LSTM network, connected to a Dropout layer, and then connected to the second LSTM network. During the training process, the Dropout layer randomly sets the neurons of the input and hidden layers to zero with a set probability.

[0021] Furthermore, in step 2, the probability matrix is ​​obtained by connecting a second LSTM network to a fully connected layer and then classifying it using a softmax layer.

[0022] Furthermore, in step 2, when processing the probability matrix, the one with the highest probability is selected from each row of the probability matrix to obtain a predicted Boolean matrix, which is finally output as a string of prediction results.

[0023] Furthermore, the specific steps of reconstructing the time series in step 3 are divided into three stages:

[0024] (1) In the inverse digitization stage, each symbol is replaced by the corresponding cluster center to obtain a tuple sequence. The specific formula for inverse digitization is:

[0025]

[0026] in, and It is the time increment and value increment after inverse digitization. |S l | is cluster S l τ and ε represent the time increment and value increment in the string output in step 2;

[0027] (2) Quantization stage: realign the inverse digitized time increments with an integer grid and adjust the time increments to the nearest integer. The specific steps of the quantization stage are:

[0028] First, for the first time increment To round:

[0029]

[0030] in, It is the first time increment after quantization, and round indicates rounding operation;

[0031] And get the rounding error:

[0032]

[0033] The error is then added to the next time increment:

[0034]

[0035] Repeat the above steps, continue to round off the next time increment, and so on, to obtain a quantized tuple sequence;

[0036] (3) In the inverse compression stage, the linear continuous approximation of the fragments is converted into a point-like time series representation using a stitching procedure to obtain the final predicted time series.

[0037] Furthermore, in step 4, the formula for calculating RUL based on the final prediction result and the failure threshold is:

[0038] RUL=EOL-t p (8)

[0039] Among them, t p is the time when prediction starts, and EOL is the end of life.

[0040] Compared with the prior art, the present invention has the following beneficial effects:

[0041] (1) The present invention adopts an LSTM model based on symbolic expression dimensionality reduction, which represents the time series symbols and then encodes each symbol, effectively reducing the dimension of the input features, thereby simplifying the complexity and computational load of the model. This not only improves the training speed and prediction efficiency of the prediction model, but also reduces the demand for computing resources.

[0042] (2) The present invention symbolically expresses and encodes the time series, decodes the output prediction results and reconstructs the time series. While maintaining the time series prediction ability of the classic LSTM network, it solves the problem of its limited prediction ability when it exceeds the original training value range. Compared with traditional methods, the prediction results of the present invention are more robust and reliable.

[0043] (3) The present invention can better capture the key features and patterns in the data, improve the accuracy and reliability of the prediction of the remaining life of complex systems, and effectively improve the prediction effect of long-term degradation trends and improve the accuracy of the prediction results of the life of complex systems. Compared with the prediction results of the autoregressive moving average model, the root mean square error of the prediction results of the present invention is reduced by 53%. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a schematic diagram of the overall process of the present invention;

[0045] Figure 2 This is a diagram showing the effect of performing degradation prediction without using the classic LSTM network of the present invention;

[0046] Figure 3 This is a comparison chart of the RUL estimation effects of the present invention and the autoregressive moving average model. DETAILED DESCRIPTION

[0047] like Figure 1 The overall process diagram of the present invention is shown as follows. First, the time series is symbolically expressed using the dimensionality reduction method and processed into the form of a Boolean matrix. Secondly, the processed time series is predicted through the LSTM classification network, and the predicted probability matrix is ​​processed into a string output. Then, the predicted string is converted into the final time series prediction result through reconstruction. Finally, the end of life time and the remaining service life are calculated based on the prediction result. In order to realize the life prediction of complex systems, the specific implementation steps are as follows.

[0048] Step 1: Use the dimensionality reduction method to symbolize the time series and process it into the form of a Boolean matrix, which mainly includes the following steps.

[0049] Step 1.1: In the compression phase, the original time series is segmented and compressed using a straight polygon chain approximation. Each linear segment is adaptively selected according to the specified tolerance to obtain a tuple sequence consisting of the time increment of each segment and its numerical increment. The Euclidean square distance between the value in the time series segment and the polygon chain needs to satisfy:

[0050]

[0051] Where j represents the segment number, j∈(1,2,…,n), i j is the time corresponding to the jth segment point, represents the jth segment point, i represents the time step where the actual value is located, and x i represents the actual value, and r represents the tolerance. In the jth segment, τ j is the time increment, ε j Incremental value.

[0052] Step 1.2: During the digitization phase, each tuple is normalized and scaled. The scaled set of tuples The calculation formula is:

[0053]

[0054] Where n is the total number of segments. τ and σ ε are the standard deviations of the segment time increment and segment value increment respectively. τ and ω ε They represent the weights of the time increment and the numerical increment respectively. The two can take values ​​between 0 and 1, and their sum is 1.

[0055] Next, the scaled set of tuples is further assigned to k clusters by minimizing WCSS, which is calculated as:

[0056]

[0057] Among them, argmin x∈S f(x) represents the parameter x that makes f(x) reach the minimum value, ‖·‖ 2 represents the Euclidean norm, k is the number of clusters, l represents the sequence number, l∈(1,2,…,k), S l represents the lth cluster, YesS l The cluster center of Represents a scaled set of tuples The lth element in .

[0058] Finally, each tuple in the sequence is replaced with the symbol of the cluster to which it belongs, and the dimensionality reduction symbolic representation of the time series is obtained.

[0059] Step 1.3: Encode each symbol and convert the symbolic representation of the time series into the corresponding code. The jth segment in the previous step can be represented by a k-dimensional Boolean row vector, in which only one element is 1 and the rest are 0.

[0060] The original time series is processed into a Boolean matrix with n rows and k columns, where n is the total number of segments and k is the number of clusters.

[0061] Step 2: Predict the processed time series through the LSTM classification network, and process the predicted probability matrix into a string output as the prediction result.

[0062] Step 2.1: Feed the processed time series into a sequence-to-sequence classification LSTM network, connect a Dropout layer, and then connect a second LSTM network.

[0063] During the training process, the Dropout layer randomly sets the neurons in the input and hidden layers to zero with a set probability, reducing the model's dependence on specific neurons, improving the model's generalization ability, and effectively alleviating the problem of overfitting, increasing the stability and robustness of the model.

[0064] In the two LSTM layers of this embodiment, each layer includes 50 hidden units. Each LSTM hidden unit includes an input gate, a forget gate and an output gate.

[0065] Step 2.2: The second LSTM network is connected to a fully connected layer, which contains k ordinary neurons. Finally, a softmax layer is used for classification, and a probability matrix with q rows and k columns is output. q is the number of predicted time steps, and the k elements in each row are the probabilities of the k symbols predicted in the current time step. The probability matrix is ​​processed, and the one with the highest probability is selected in each row of the probability matrix to obtain the predicted Boolean matrix. It is decoded into the corresponding symbol and output, so as to obtain a string as the prediction result, which is output to the next step.

[0066] Step 3: Convert the predicted string output from step 2 into a time series through reconstruction, and use it as the final prediction result. The process of reconstructing the time series mainly includes the following steps.

[0067] Step 3.1: In the inverse digitization phase, each symbol is replaced by the corresponding cluster center. The result of the inverse digitization process is a sequence of n tuples, each tuple is a cluster center, but the obtained time increment is not necessarily an integer. The formula for inverse digitization is:

[0068]

[0069] in, and It is the time increment and value increment after inverse digitization. |S l | is cluster S l τ and ε represent the time increment and value increment in the string output from step 2.

[0070] Step 3.2: Quantization phase, the inverse digitized time increments are realigned with an integer grid and the time increments are adjusted to the nearest integer. First, the first time increment To round:

[0071]

[0072] in, It is the first time increment after quantization. Round indicates rounding operation.

[0073] And get the rounding error:

[0074]

[0075] The error is then added to the next time increment:

[0076]

[0077] Repeat the above steps, continue to round off the next time increment, and so on, to obtain a quantized tuple sequence.

[0078] Step 3.3: In the inverse compression stage, the segment linear continuous approximation is converted into a point-like time series representation using a stitching procedure to obtain the final predicted time series.

[0079] Step 4: Calculate the end of life time and remaining use time based on the final prediction results and failure threshold. The RUL formula is:

[0080] RUL=EOL-t p (8)

[0081] Among them, t p is the time when prediction starts, and EOL is the end of life.

[0082] The health index refers to the dimensionless characteristic value of the normalized output voltage or power of the battery stack, ranging from [0,1], which can characterize the degree of performance degradation of the battery stack. When the health index characterizing the operating status exceeds the failure threshold, the system is considered to have failed. The intersection time of the failure threshold and the predicted trend is the predicted end of life time.

[0083] In order to further demonstrate the prediction effect of the present invention, a comparative experiment was conducted between the method proposed in the present invention and the classic LSTM network.

[0084] Figure 2 This is a graph showing the effect of degradation prediction without using the classic LSTM network of the present invention, where the horizontal axis is time and the vertical axis is the health index. The historical data is represented by a thin solid line, the test set is represented by a dotted line, and the predicted value is represented by a thick solid line.

[0085] Figure 3The present invention and the Autoregressive Integrated Moving Average Model (ARIMA) are compared in terms of RUL estimation effects, wherein the horizontal axis is time and the vertical axis is health indicators. The historical data is represented by a solid line, the test set is represented by a dotted line, the predicted value of the present invention is represented by a solid line with a circular mark, and the predicted value using ARIMA is represented by a solid line with a triangle mark. The horizontal dotted line is the failure threshold, the distance from the point where the prediction starts to the intersection of the test set and the failure threshold is the true RUL, the distance from the point where the prediction starts to the intersection of the predicted value of the present invention and the failure threshold is the RUL predicted by the present invention, and the distance from the point where the prediction starts to the intersection of the ARIMA predicted value and the failure threshold is the RUL predicted by the ARIMA.

[0086] By comparing the effects of predicting trends, it can be clearly seen that the present invention has obvious advantages over the classic LSTM network and ARIMA method in time series prediction. Figure 2 In the prediction, the classic LSTM network model is used for prediction. There is a large deviation between the predicted value and the true value, which cannot accurately capture the changing trend of the data and is difficult to achieve RUL estimation. Figure 3 In the present invention, the prediction using ARIMA can roughly reflect the changing trend of the time series, but the prediction trend is not accurate, and the RUL estimation value is still far from the true value. However, the prediction using the present invention can effectively capture the trend information of the time series, improve the prediction effect of the long-term degradation trend, and the RUL estimation value obtained has a smaller error than the true value, and the prediction trend is more accurate.

[0087] The prediction effect of the present invention is compared with that of ARIMA, and the RUL estimation value and the root mean square error are used as indicators to reflect the difference between the predicted value and the actual value. The results show that the symbolic expression dimensionality reduction LSTM method is closer to the true value in RUL estimation than ARIMA, and the root mean square error is also significantly reduced. The specific results are shown in Table 1:

[0088] Table 1 Comparison of RUL estimation results and root mean square error of the present invention and ARIMA prediction

[0089]

[0090] The above is an explanation of the specific implementation of the present invention, rather than a limitation of the present invention. Those skilled in the relevant technical field can also make various equivalent technical solutions without departing from the scope of the present invention, so all equivalent technical solutions should be included in the patent protection scope of the present invention.

Claims

1. A complex system life prediction method based on symbolic expression dimensionality reduction LSTM, characterized by , including the following steps: Step 1: Use symbolic expression dimensionality reduction to symbolize the time series and process it into the form of a Boolean matrix to obtain the processed time series; Step 2: Predict the processed time series through the LSTM classification network, and process the predicted probability matrix into a string output as the prediction result; Step 3: Convert the predicted string output in step 2 into a time series through reconstruction method and use it as the final prediction result; Step 4: Calculate the end of life time and remaining use time based on the final prediction results and failure threshold.

2. A complex system life prediction method based on symbolic expression dimensionality reduction LSTM according to claim 1, characterized in that: In step 1, the specific steps of symbolic expression dimensionality reduction are divided into three stages: (1) In the compression stage, the original time series is segmented and compressed using a straight line polygon chain approximation. The Euclidean square distance between the value in the time series segment and the polygon chain must satisfy: Where j represents the segment number, j∈(1,2,…,n), i j is the time corresponding to the jth segment point, represents the jth segment point, i represents the time step where the actual value is located, and x i represents the actual value, and r represents the tolerance. In the jth segment, τ j is the time increment, ε j is the numerical increment; (2) In the digitization phase, each tuple is standardized and scaled: Scaled set of tuples The calculation formula is: Where n is the total number of segments. τ and σ ε are the standard deviations of the segment time increment and segment value increment respectively. τ and ω ε They represent the weights of the time increment and the numerical increment respectively. They can take values ​​between 0 and 1 and their sum is 1. The scaled set of tuples is further allocated to k clusters by minimizing the within-cluster sum of squares (WCSS). The calculation formula of WCSS is: Among them, argmin x∈S f(x) represents the parameter x that makes f(x) reach the minimum value, ‖·‖ 2 represents the Euclidean norm, k is the number of clusters, l represents the sequence number, l∈(1,2,…,k), S l represents the lth cluster, YesS l The cluster center of Represents a scaled set of tuples The lth element in ; (3) Encode each symbol and convert the symbolic representation of the time series into the corresponding code.

3. A complex system life prediction method based on symbolic expression dimensionality reduction LSTM according to claim 2, characterized in that: In the step 2, when prediction is performed through the classification LSTM network, the time series processed in step 1 is sent to the classification LSTM network from sequence to sequence, connected to a Dropout layer, and then connected to the second LSTM network. During the training process, the Dropout layer randomly sets the neurons of the input and hidden layers to zero with a set probability.

4. The method for predicting the life of a complex system based on symbolic expression dimensionality reduction LSTM according to claim 3 is characterized by: In the step 2, the probability matrix is ​​obtained by connecting a second LSTM network to a fully connected layer and then classifying it using a softmax layer.

5. A complex system life prediction method based on symbolic expression dimensionality reduction LSTM according to claim 4, characterized in that: In the step 2, when processing the probability matrix, the one with the highest probability is selected from each row of the probability matrix to obtain a predicted Boolean matrix, which is finally output as a string of prediction results.

6. A complex system life prediction method based on symbolic expression dimensionality reduction LSTM according to any one of claims 2 to 5, characterized in that: The specific steps of reconstructing the time series in step 3 are divided into three stages: (1) In the inverse digitization stage, each symbol is replaced by the corresponding cluster center to obtain a tuple sequence. The specific formula for inverse digitization is: in, and It is the time increment and value increment after inverse digitization. |S l | is cluster S l τ and ε represent the time increment and value increment in the string output from step 2; (2) Quantization stage: realign the inverse digitized time increment with an integer grid and adjust the time increment to the nearest integer. The specific steps of the quantization stage are: First, for the first time increment To round: in, It is the first time increment after quantization, and round indicates rounding operation; And get the rounding error: The error is then added to the next time increment: Repeat the above steps, continue to round off the next time increment, and so on, to obtain a quantized tuple sequence; (3) In the inverse compression stage, the linear continuous approximation of the fragments is converted into a point-like time series representation using a stitching procedure to obtain the final predicted time series.

7. A complex system life prediction method based on symbolic expression dimensionality reduction LSTM according to claim 6, characterized in that: In step 4, the formula for calculating RUL based on the final prediction result and the failure threshold is: RUL=EOL-t p (8) Among them, t p is the time when prediction starts, and EOL is the end of life.