Online residual life prediction method for mechanical equipment under time-varying working condition

Through tensor decomposition model and deep learning technology, teacher and student models are constructed to solve the problem of data distribution differences in online mechanical equipment prediction, achieve high-quality prediction under time-varying working conditions, and improve the accuracy and stability of prediction. sex.

CN118643601APending Publication Date: 2024-09-13HENAN NORMAL UNIV
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202310918726.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-25
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

When the target domain does not have full-life historical data, the existing technology cannot effectively solve the difference in data distribution between offline operating conditions and target online operating conditions, causing the accuracy and stability of online mechanical equipment remaining life prediction to be affected, especially in In extreme scenarios where data distribution drift occurs.

Method used

The tensor decomposition model is combined with deep learning to construct an unsupervised regression teacher model and a deep regression student model. Through pre-training of the teacher model and incremental update of the student model, tensor decomposition is used to extract essential knowledge and temporal information in high-dimensional data. , generate pseudo labels, dynamically update the online prediction model, and achieve high-quality time-series domain-independent representation under time-varying operating conditions.

Benefits of technology

It improves the accuracy and stability of online remaining life prediction, can provide high-quality timing feature representation under time-varying operating conditions, enhances the accuracy and robustness of knowledge distillation, and reduces model error accumulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643601A
    Figure CN118643601A
Patent Text Reader

Abstract

The invention relates to an online residual life prediction method for mechanical equipment under a time-varying working condition, and belongs to the technical field of life prediction of mechanical products. The method comprises the following steps: firstly, constructing a pre-training teacher network adaptive to a deep tensor, calculating core tensors of offline degradation data and target domain early failure data, carrying out multilevel tensor field adaptation by utilizing constructed meta-degradation knowledge information, and carrying out alternate optimization on the basis, so as to obtain a multi-level tensor field adaptation model; obtaining an optimal core tensor representation and a high-quality domain-independent time sequence feature representation; and secondly, tensor field adaptation is carried out by using a sequential arrival data block and an offline degradation sequence, and the context incremental tendency of an online degradation sequence is calculated to construct time sequence self-supervision information, so that high-quality time sequence mutual information is provided for an online model. And finally, the online network performs incremental updating by utilizing the teacher model distillation degradation knowledge to realize online RUL prediction under variable working conditions. According to the method, the accuracy and the stability of RUL prediction under the time-varying working condition can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an online remaining life prediction method for mechanical equipment under time-varying working conditions, and belongs to the technical field of mechanical product life prediction. Background Art

[0002] At present, intelligent bearings have emerged as the times require. By implanting temperature, vibration and other sensors in the internal structure of the bearing, the bearing operation status and remaining life prediction can be detected in real time from the status monitoring stream data, and faults can be discovered in time to a large extent, thus avoiding major accidents. Therefore, in order to ensure the safety and stability of rolling bearings, real-time fault prediction and health management (PHM) has gradually become the research focus of domestic and foreign academic and industrial circles. Among them, the remaining useful life prediction (RUL) of rolling bearings is one of the key issues of PHM technology. How to establish a real-time and reliable RUL prediction model for the sequentially arriving online data, improve the preventive maintenance of mechanical equipment and reduce economic losses has clear practical significance.

[0003] In actual engineering applications, bearing condition monitoring data has the following specific characteristics: (1) Online monitoring data arrives sequentially in the form of streaming data, and the RUL value needs to be evaluated in real time and efficiently; (2) There is a concept drift phenomenon in online working conditions, and it is difficult to determine the failure threshold of online bearings. If offline data is directly used for model training, it is easy to cause model deviation; (3) Online sequential degradation data has a time-varying data distribution, and the prediction model needs to be updated adaptively to improve the RUL prediction accuracy. These problems and characteristics have seriously restricted the development of online RUL prediction in the industrial field.

[0004] In recent years, with the rapid development of artificial intelligence, data-driven prediction methods have been successfully used to solve the RUL prediction problem. Among them, shallow machine learning algorithms such as support vector machine (SVM), artificial neural network (ANN, random forest) and deep learning methods such as convolutional neural network (CNN) and long short-term memory (LSTM) networks are widely used to build nonlinear mapping models between fault features and RUL labels. Although such methods have achieved good results in RUL prediction, they often rely on a large amount of monitoring data for model training.

[0005] To this end, some people have proposed using transfer learning (especially deep transfer learning) to solve the RUL prediction problem in cross-operating scenarios. This type of method relies on the powerful feature extraction capabilities of deep neural networks. By adopting strategies such as model fine-tuning, domain adaptation, and domain confrontation, the model information in one domain (called the source domain) is applied to another related but different domain (called the target domain), thereby effectively realizing the migration and extraction of domain knowledge. Although deep transfer learning technology has solved the problem of insufficient data in the target domain to a certain extent, for the requirement of real-time evaluation of the RUL value of the equipment for the sequentially arriving streaming data in online scenarios, there are still problems such as large error accumulation and unclear adaptation effect. This is because deep transfer learning often uses static and repeatedly trained prediction models, and does not dynamically update the model according to the specific characteristics of the problem.

[0006] In summary, although the existing RUL prediction research has achieved certain results, in the absence of full-life historical data in the target domain, the difference in data distribution between offline conditions and target online conditions cannot be solved, resulting in prediction deviations. In addition, in extreme scenarios where data distribution drifts, the model will have accumulated errors, which will affect the accuracy and stability. Summary of the invention

[0007] The purpose of the present invention is to provide an online remaining life prediction method for mechanical equipment under time-varying working conditions to solve the problem that the current prediction accuracy and stability cannot be guaranteed.

[0008] In order to solve the above technical problems, the present invention provides a method for predicting the online remaining life of mechanical equipment under time-varying working conditions. The prediction method comprises the following steps:

[0009] 1) Obtain the full life degradation data and corresponding labels of mechanical equipment under offline working conditions, and use them as source domain data to obtain early failure data in the target domain;

[0010] 2) Establish an unsupervised regression teacher model, use the teacher model to extract features from source domain data and target domain early fault data, map the source domain and target domain to the same high-dimensional space, and capture the time series information in the deep features; use the tensor decomposition model to decompose the time series information in the deep features extracted by the teacher model, solve the core tensor, and use the core tensor to pre-train the teacher model;

[0011] 3) Construct a deep regression student model, use the source domain data as the input of the student model, use the prediction value of the teacher model to perform knowledge distillation, realize the pre-training of the student model, and enable the student model to learn the fault evolution knowledge of offline degradation data;

[0012] 4) Using the pre-trained teacher model and student model to build an online distillation framework network, obtain the online mechanical equipment full life degradation data as the online data block, input the online data block and source domain data into the online distillation framework network, and use the pre-trained teacher model and tensor decomposition model to obtain the pseudo label of the online data block;

[0013] 5) Based on the pseudo-labels, the student model in the online distillation framework network is trained and incrementally updated. The online data blocks are input into the trained and updated student model to achieve prediction of the online data blocks.

[0014] The present invention can effectively extract the essential knowledge in high-dimensional data with the help of tensor decomposition. By pre-training the unsupervised tensor regression adaptation teacher model, the common fault evolution knowledge of the offline degradation sequence and the online early fault stage is fully mined, pseudo labels are generated for unlabeled online streaming data blocks, and the long-term degradation knowledge of the source domain is transferred. The dynamic tensor domain adaptation method is used to incrementally distill high-quality short-term degradation knowledge to the online network, providing high-quality time-domain-independent representation for the online stage, improving the accuracy and robustness of knowledge distillation in the online stage, and thus effectively improving the accuracy and stability of RUL prediction under time-varying conditions.

[0015] Furthermore, the teacher model includes a feature extractor and a fully connected regressor, the feature extractor adopts SAE and stacked LSTM; SAE is composed of an encoder and a decoder, the encoder is used to extract features from the input data, and the decoder maps the output of the encoder to the space of the input data; the stacked LSTM includes at least three LSTM modules for extracting deep time series features.

[0016] The present invention adopts SAE and stacked LSTM jointly as the feature extractor in the teacher model. SAE maps the source domain and the target domain to the same high-dimensional space through AE, and uses stacked LSTM to capture the timing information in the deep features.

[0017] Furthermore, the tensor decomposition model is used to convert the deep time series features extracted by the stacked LSTM into high-order tensors, obtain the core tensor from the high-order tensor using Tucker decomposition, and construct a multi-level tensor domain adaptation by obtaining the core tensor to achieve meta-degradation knowledge extraction of offline features and online early fault features.

[0018] The present invention can effectively extract the high-dimensional essential information of data with the help of the tensor decomposition module. The present invention uses tensor decomposition to extract the meta-degradation knowledge of the source domain data and the early fault data of the target data, and performs multi-level domain adaptation on the extracted core tensor, so that while obtaining the optimal core tensor representation, a high-quality temporal feature representation of the domain-independent evolution information is obtained.

[0019] Furthermore, the loss function used in the teacher model pre-training is:

[0020]

[0021] in represents the RUL regression loss of the source domain fast-degrading data, are the LSTM feature extractor parameters of the teacher model, the model parameters of the fully connected regressor, the encoder and decoder parameters of the SAE, γ, α, β, ρ are the regularization coefficient hyperparameters, L Adaptation is the domain adaptation loss, L AE is the reconstruction loss of SAE, L Trend is the degradation trend loss, L tensor is the optimal core tensor loss.

[0022] Furthermore, the pre-training of the teacher model and the solution of the core tensor adopt an alternating optimization algorithm:

[0023] First, the tensor factor matrix is ​​fixed, and the parameters of the feature extractor in the teacher network are updated using the stochastic gradient descent method; then the parameters of the feature extractor in the teacher network are fixed, and the tensor factor matrix is ​​updated using the iterative gradient descent algorithm; this process is repeated to achieve alternating calculations.

[0024] In order to solve the differences between the optimization methods of feature extractor parameters and the solution methods of core tensors, the present invention adopts an alternating optimization method to optimize the feature extractor and solve the core tensor.

[0025] Furthermore, the losses used by the student model during pre-training include soft loss and hard loss. Soft loss refers to the difference between the student model prediction and the teacher model prediction; hard loss refers to the difference between the student model prediction and the true RUL value.

[0026] Furthermore, the update process of the incremental update is as follows:

[0027] When a new online data block is detected, a LSTM-based incremental feature extractor is randomly initialized;

[0028] Calculate the loss of the online distillation framework network and fine-tune the parameters of the incremental feature extractor and the regression predictor parameters of the student model in the online distillation framework network based on the loss;

[0029] The parameters of the fine-tuned incremental feature extractor and the last layer weights in the feature extractor of the student model in the online distillation framework network are weighted fused as the weights of the last layer of the feature extractor in the student model in the online distillation framework network to achieve incremental update.

[0030] Furthermore, the overall optimization target of the online distillation framework network during the online distillation stage in step 5) is:

[0031]

[0032] L KD_online =λL Soft +(1-λ)L Hard

[0033] Where L online is the total network loss of the online distillation framework, L self_online is the self-supervision loss, L KD_online is the knowledge distillation loss during the online distillation stage.

[0034] Furthermore, the calculation formula used for the self-supervision loss is:

[0035]

[0036] f i is the feature output of the fully connected regressor of the online network, The header that indicates the features that are already online. and Respectively represent the feature points on both sides of the middle position.

[0037] Taking into account that in the degradation process of general bearings, the amplitude of the signal is in an overall trend of gradually increasing, the present invention constructs time series self-supervision information for the degradation trend of online data as a priori trend change constraint on the extracted features, and adds it to the overall optimization objective of the line distillation framework network to constrain it to learn the mutual information between online data to reduce the interference of degradation data distribution drift caused by time-varying conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a flow chart of the method for predicting the online remaining life of mechanical equipment under variable working conditions of the present invention;

[0039] Figure 2 is the incremental update flow chart adopted by the present invention;

[0040] Figure 3a It is the characteristic scatter distribution of the target bearing B2-1 in Task 1 before multi-level domain adaptation;

[0041] Figure 3b is the probability density distribution of the target bearing B2-1 in Task 1 before multi-level domain adaptation;

[0042] Figure 3c It is the characteristic scatter distribution of the target bearing B2-1 in Task 1 after multi-level domain adaptation;

[0043] Figure 3d It is the probability density distribution of the target bearing B2-1 in Task 1 after multi-level domain adaptation;

[0044] Figure 4a It is the characteristic scatter distribution of the intermediate process of the teacher model performing one-level domain adaptation and tensor optimization during the experiment;

[0045] Figure 4b It is the characteristic scatter distribution of the intermediate process of the teacher model performing two-level domain adaptation and tensor optimization during the experiment;

[0046] Figure 4c It is the characteristic scatter distribution of the intermediate process of the teacher model performing three-level domain adaptation and tensor optimization during the experiment;

[0047] Figure 4d It is the characteristic scatter distribution of the intermediate process of the teacher model performing four-level domain adaptation and tensor optimization during the experiment;

[0048] Figure 5a It is the probability density distribution of the intermediate process of the teacher model performing one-level domain adaptation and tensor optimization during the experiment;

[0049] Figure 5b It is the probability density distribution of the intermediate process of two-level domain adaptation and tensor optimization of the teacher model during the experiment;

[0050] Figure 5c It is the probability density distribution of the intermediate process of the teacher model performing three-level domain adaptation and tensor optimization during the experiment;

[0051] Figure 5d It is the probability density distribution of the intermediate process of the teacher model performing four-level domain adaptation and tensor optimization during the experiment;

[0052] Figure 6a This is a comparison chart of the prediction results of the target bearing B2-1 in Task 1 using the experimental process migration method and the non-migrated method;

[0053] Figure 6b This is a comparison chart of the prediction results of the target bearing B2-2 in Task 1 using the experimental process migration method and the non-migrated method;

[0054] Figure 6c This is a comparison chart of the prediction results of the target bearing XJ2-1 in Task 2 using the experimental process migration method and the non-migration method;

[0055] Figure 6d This is a comparison chart of the prediction results of the target bearing XJ2-2 in Task 2 using the experimental process migration method and the non-migration method;

[0056] Figure 7aIt is a comparison chart of the prediction results of the bearing B2-1 in Task 1 between the present invention and the non-migrated method;

[0057] Figure 7b This is a comparison chart of the prediction results of the present invention and the shallow migration method for the bearing B2-1 in Task 1;

[0058] Figure 7c It is a comparison chart of the prediction results of the bearing B2-1 in Task 1 by the present invention and the deep migration method. DETAILED DESCRIPTION

[0059] The specific implementation of the present invention will be further described below in conjunction with the accompanying drawings.

[0060] The present invention first constructs a pre-trained teacher network for deep tensor adaptation, calculates the core tensors of offline degradation data and target domain early fault data, uses the constructed meta-degradation knowledge information to perform multi-level tensor domain adaptation, and performs alternating optimization on this basis to obtain the optimal core tensor representation and high-quality domain-independent time series feature representation; secondly, the sequentially arrived data blocks are used to perform tensor domain adaptation with the offline degradation sequence, and the contextual incremental trend of the online degradation sequence is calculated to construct time series self-supervision information, providing high-quality time series mutual information for the online model. Finally, the online network uses the teacher model to distill the degradation knowledge for incremental updates to achieve online RUL prediction under variable working conditions. The implementation process of this method is as follows: Figure 1 As shown, the following is a detailed explanation taking the bearing life prediction as an example.

[0061] Assume that the full life degradation data of the bearing under offline conditions is Where M is the number of offline bearings, n j is the number of samples of the jth offline bearing, for The label is the corresponding RUL value. The target bearing early fault data collected under online conditions is The kth online sequential data block is Where n is the number of samples of early faults, and m is the number of samples of online sequential data blocks.

[0062] Source domain data D S is the full life degradation data of the bearing under offline working conditions, and the sample space X S and its marginal distribution P(X S ) is composed of S ={X S ,P(X S )}, which aims to provide degradation trend information for online RUL prediction of target bearings. T From the sample space X T and its marginal distribution P(X T) is composed of T ={X T ,P(X T )}, in addition to the early fault data collected under online conditions, it also includes the degradation period data blocks collected sequentially subsequently, and it is necessary to predict the RUL value of each data block in real time.

[0063] 1. Construct an unsupervised regression teacher model based on tensor domain adaptation.

[0064] like Figure 1 As shown, the unsupervised regression teacher model constructed by the present invention includes a feature extractor and a fully connected regressor (also called a fully connected layer), wherein the feature extractor includes SAE and stacked LSTM, and SAE is composed of an encoder and a decoder. The encoder is used to extract features from the input data, which is expressed as: in represents the encoder in SAE, X={D s ,D te}, D S The data representing the early failure stage and rapid degradation stage of the source domain, D Te represents the data of the early failure stage of the target domain, θ En Represents the model weight of the encoder; the decoder maps the encoder input to the space of the input data. Since noise is a high-order complex feature, it is difficult for the model to learn. The reconstructed data has the effect of eliminating noise. The above mapping can be expressed as: in is the reconstructed data, represents the decoder function, θ De represents the modulus weight of the decoder; the activation function usually adopts the sigmoid function. To alleviate the gradient vanishing phenomenon, the present invention adopts ReLU as the activation function of the fully connected layer. By minimizing formula (1), the source domain data and the target domain early fault data are mapped to the common subspace, and the domain depth feature F = {F Te ,F S}∈R m×n .

[0065]

[0066] in represents the Frobenius norm, L AE is the reconstruction loss of SAE.

[0067] The stacked LSTM of the present invention adopts a four-layer LSTM structure, which can not only effectively extract the temporal features of the data, but also serve as the output of the next LSTM hidden layer. The SLSTM will use the encoder feature F of SAE to learn the domain-independent temporal representation, expressed as: in represents the stacked LSTM parameters, θ L represents the model weight, H = {H s ,H te}∈R (m-τ+1)×τ×n Represents the deep time series features extracted by stacked LSTM.

[0068] 2. Perform tensor field adaptation.

[0069] Since the degradation process of mechanical equipment is random and non-stationary, this characteristic is more obvious under time-varying working conditions. In order to mine high-quality and robust public time series degradation information, the advantage of tensor decomposition can effectively extract the high-dimensional essential information of data. The present invention uses tensor decomposition to extract the meta-degradation knowledge of the source domain data and the early fault data of the target data, and uses MK-MMD for the extracted core tensor; multi-level domain adaptation is performed with CORAL to establish an alternating optimization mechanism, and while obtaining the optimal core tensor representation, a high-quality time series feature representation of domain-independent evolution information is obtained.

[0070] First, the multi-way delay embedding transformation (MDT) technology is used to transform the feature H proposed by the feature extractor into s ,H te}Convert to a high-order tensor The formula is as follows:

[0071]

[0072] Among them, τ is the embedding dimension, C represents the order of the high-order tensor, m is the sample length, m-τ+1 is the sample length of the high-order tensor, and S is the mapping matrix on the sample dimension.

[0073] Although high-order tensors can better represent the mutual information between sequences than raw data, the computational difficulty increases with the increase of dimensions. Therefore, based on the high-order tensor conversion, Tucker decomposition is used to obtain high-order tensors. The core tensor G = {G s ,G te} and a set of common factor matrices U = {U (c)} c=1,2,...,C-1 , the formula is as follows:

[0074]

[0075] Among them, U={U (c)} c=1,2,...,C-1Represents the important components in each dimension, and together constitutes the mapping matrix from the high-order tensor to the core tensor space, where C-1 means that the tensor is not decomposed in the sample dimension. In order to obtain the optimal core tensor that represents the essential information of the original high-order tensor, by minimizing the tensor reconstruction error, we can solve U = {U (c)} c=1,2,...,C-1 When the optimal factor matrix U is obtained, the optimal core tensor G can be obtained, as shown in formula (4) and formula (5).

[0076]

[0077] st U (c)T U (c) =I,c=1,…,C-1 (4)

[0078]

[0079] Where I is the identity matrix and λ is the regularization parameter.

[0080] Therefore, by obtaining the optimal core tensor G, multi-level tensor domain adaptation is constructed to achieve meta-degradation knowledge extraction of offline features and online early fault features. The domain adaptation loss formula is as follows:

[0081] L Adaptation =L MMD +L CORAL (6)

[0082]

[0083]

[0084] Among them, G te is the optimal core tensor for early fault feature extraction in the target domain, G s is the optimal core tensor of the source domain degradation feature, is the mapping function, n S With n T Represents the number of samples in the source domain and the target domain respectively, d represents the dimension of the deep feature, and C s (C T ) represents the feature covariance matrix, represents the Frobenius norm, ||·|| H represents the norm in the reproducing Hilbert space.

[0085] 3. Determine the loss for pre-training the teacher model.

[0086] In order to obtain high-quality time series representation, the present invention introduces the prior trend information of the bearing to enhance the quality of SAE time series feature extraction. The corresponding formula is as follows:

[0087]

[0088] Among them, F represents the hidden layer features of the encoder in SAE, T represents the time point corresponding to the feature, K represents K moments, and f k and t k They represent the hidden layer features at time k and their corresponding time points respectively.

[0089] The total optimization loss during the pre-training phase of the teacher model is as follows:

[0090]

[0091] in, represents the RUL regression loss of the source domain fast-degrading data, are the LSTM feature extractor parameters of the teacher model, the model parameters of the fully connected regressor, the encoder and decoder parameters of the SAE, γ, a, β, ρ are the regularization term coefficient hyperparameters, and the overall optimization target is solved using the Adam optimization algorithm.

[0092] 4. Pre-train the teacher model and solve the core tensor.

[0093] Formula (10) includes both the optimization of feature extractor parameters and the solution of core tensors. Since the two methods of solution are different, the former is solved by SGD and the latter uses iterative gradient descent, so it is impossible to optimize directly. Therefore, the present invention designs an alternating optimization algorithm: First, the tensor factor matrix U = {U (c)} c=1,2,…,C-1 , SGD is used to update the parameters of the teacher network feature extractor Secondly, fix Use iterative gradient descent algorithm to update U = {U (c)} c=1,2,…,C-1 , and finally the above two steps are performed alternately. The specific process is as follows:

[0094] (1) Update θ fT ,θ yT ,θ En ,θ De

[0095] This item uses the stochastic gradient descent method to update parameters. The specific calculation is shown in formulas (11)-(14).

[0096]

[0097]

[0098]

[0099]

[0100] (2) Update U={U (c)} c=1,2,…,C-1

[0101] According to the properties of tensor norm, formulas (4) and (5) can be transformed into formula (15).

[0102]

[0103] Therefore, the above minimization problem is equivalent to the following maximization problem, as shown in formula (16).

[0104]

[0105] Because U={U (c)} c=1,2,…,C-1 is an orthogonal factor matrix, so formula (4-16) can be rewritten in vectorized form as formula (17).

[0106]

[0107] Where W represents the expansion matrix of tensor h in the cth dimension. (c) is the left singular vector of the singular value decomposition in each dimension. However, since this factor matrix is ​​not optimal, the alternating least squares method is used to solve it, that is, the factor matrix in each direction is fixed in turn.

[0108] 5. Build a student model and train it using the prediction results of the teacher model.

[0109] The student model constructed by the present invention is the same as the teacher model. The student model receives the encoder hidden layer output of SAE and uses stacked LSTM as a feature extractor. In order to achieve lightweight update and efficient reasoning in the online stage, the stacked LSTM only uses two layers of LSTM units.

[0110] Since incremental learning in the online stage requires the effective integration of historical knowledge and new knowledge, pre-distillation of the offline student network is required, aiming to allow the student network to learn the fault evolution knowledge of offline degradation data, which serves as the old knowledge of incremental learning to better learn the new online knowledge.

[0111] To construct a deep regression student model for bearing RUL prediction, the present invention uses the prediction value of the teacher network for knowledge distillation, which is similar to the logits output or soft label in the classification task. Specifically, the soft loss is defined as the difference between the student model prediction and the teacher model prediction; the hard loss is defined as the difference between the student model prediction and the true RUL value. The formula is as follows:

[0112]

[0113] in, represents the soft label loss of the student network, represents the hard label loss, represents the prediction of the student network, represents the prediction of the teacher network, and y represents the RUL value corresponding to the rapid degradation period data of the bearing under offline working conditions. Therefore, the loss function of the student model is:

[0114]

[0115] 6. Build a self-supervised online regression distillation model.

[0116] In order to solve the RUL prediction problem under online time-varying conditions, considering that the online degradation sequence arrives sequentially in the form of data blocks, the present invention, based on the pre-trained teacher model and student model, copies its architecture and corresponding parameters to construct an online distillation framework network (also called a self-supervised online regression distillation model), and introduces an incremental update mechanism to transfer degradation mechanism knowledge to the online model from multiple angles, so as to achieve fast, dynamic and lightweight online RUL prediction. Without loss of generality, the present invention takes the i-th online sequential data block as an example for explanation.

[0117] 1) Dynamic domain adaptation of teacher model

[0118] With the help of a multi-level adaptation strategy, the present invention inputs the sequentially arriving unlabeled data blocks and offline degradation sequences into the pre-trained teacher model for dynamic domain adaptation, obtains domain-independent online temporal feature representation, constructs dynamic pseudo-labels for online data blocks, and distills short-term degradation mechanism knowledge to the online network. The optimization goal of the teacher model is:

[0119]

[0120] Among them, θ fT ,θ yT ,θ En ,θ De They are the LSTM feature extractor parameters of the teacher model, the model parameters of the fully connected regressor, and the encoder and decoder parameters of the SAE; is the RUL regression loss under offline conditions; L Adaptation_online is the online domain adaptation loss, as shown in formulas (21)-(23). Different from pre-training, in online domain adaptation, the optimal factor matrix U={U (c)} c=1,2,...,C-1 The optimal core tensor G is obtained by performing Tucker decomposition on the offline degraded data and the arrived data blocks using formula (5): s and Gtq , and use them to perform multi-level domain adaptation; L AE is the reconstruction loss of SAE, as shown in formula (1), in the online stage, the offline degraded data and the online accumulated data blocks are reconstructed simultaneously; L Trend It is the degradation trend loss, which is calculated using the encoder features of SAE and formula (9); γ, α, β are the corresponding hyperparameters.

[0121] L Adaptation_oneline =L MMD +L CORAL (twenty one)

[0122]

[0123]

[0124] 2) Online pseudo-label generation

[0125] Considering that it is difficult to collect complete historical degradation data in advance in the online scenario, and the online data blocks arrive sequentially in the form of unlabeled streaming data, the teacher model in the pre-training stage is frozen to generate pseudo-supervision information of the online data blocks for the online model, aiming to transfer the long-term degradation knowledge of offline working conditions. Input into the pre-trained teacher network to get the corresponding pseudo label The formula is as follows:

[0126]

[0127] 3) Time series self-supervisory trend information construction

[0128] Considering that in the degradation process of general bearings, the amplitude of the signal is in a gradual increase trend as a whole, and as the degree of bearing degradation increases, the amplitude changes from slow increase to sharp increase. Therefore, the amplitude change in a shorter time interval at any moment is smaller, while the amplitude difference with the longer time interval is larger. Based on this, the time series self-supervision information is constructed for the degradation trend of online data as a priori trend change constraint on the extracted features. The specific implementation is shown in formula (25).

[0129]

[0130] Among them, f i is the feature output of the fully connected layer of the online network, The header that indicates the features that are already online. and They represent the feature points on both sides of the middle position. To reduce the amount of calculation, five points are randomly selected for calculation each time. self_onlineIt is added to the loss of the online network to constrain it to learn the mutual information between online data, so as to reduce the interference of the distribution drift of degraded data caused by time-varying conditions.

[0131] 4) Incremental update mechanism

[0132] Since in online scenarios, bearing degradation data arrives sequentially in the form of streaming data, in order to enable the model to dynamically adapt to the distribution changes of online bearing data, the present invention constructs an incremental update mechanism to fine-tune the online network, which can reduce the computing cost and effectively utilize the previously learned degradation knowledge to quickly learn new data, thereby improving the generalization of the online RUL prediction regression model.

[0133] The incremental update mechanism is divided into three steps:

[0134] 1) Every time a new online data block is detected, a LSTM-based incremental feature extractor (also called incremental feature layer) is randomly initialized;

[0135] 2) Calculate the loss L of the online network KD_online , fine-tune the incremental feature layer parameters and the regression predictor parameters of the online model Where μ is the online model learning rate;

[0136] 3) Set the weight of the incremental feature layer to The weight of the last layer of the original feature extractor is according to The two are weighted and fused, and then migrated to the last layer of the original feature extractor to complete the incremental update. Figure 2 shown.

[0137] Therefore, in the online distillation stage, the overall optimization objective of the online network is as shown in formula (26).

[0138]

[0139]

[0140] Among them, L KD_online =λL Soft +(1-λ)L Hard , the specific formula is shown in (27), which is different from pre-distillation in that y P The pseudo label is calculated by formula (24); λ and ε are the distillation weight and regularization term hyperparameters, respectively. They are consistent with the previous solutions and are solved using the Adam optimization algorithm.

[0141] Experimental verification

[0142] To further verify the effectiveness of the present invention, the prediction method of the present invention is experimentally verified on the IEEE PHM Challenge 2012 dataset. The experimental environment is Matlab R2021b, Python 3.8 and Pytorch deep learning framework, and the hardware configuration used is AMD 5600G processor, 32G memory and RTX3060Ti graphics card.

[0143] The IEEE PHM Challenge 2012 dataset and the XJTU-SY dataset are full-life vibration data collected from different types of bearings under multiple working conditions using an accelerated life test bench. The sampling frequency of both datasets is 25.6 kHz. The sampling interval of the PHM Challenge 2012 dataset is 10 seconds, and 2560 vibration signals are collected each time (0.1 second collection time); the sampling interval of the XJTU-SY dataset is 1 minute, and 32768 vibration signals are collected each time (1.28 second collection time). The working condition information of the two datasets is shown in Table 1.

[0144] Table 1

[0145]

[0146]

[0147] In this experiment, two online migration RUL prediction tasks are designed on two bearing life degradation datasets. The experimental settings are shown in Table 2. For the IEEE PHM Challenge 2012 dataset, B2-1 and B2-2 are selected as the test bearings for online RUL prediction, and bearing B1-7 is set as the validation set. Similarly, the XJTU-SY dataset selects XJ2-1 and XJ2-2 under working condition 2 as the test bearings for online RUL prediction, and bearing XJ1-5 is used as the validation set. Generally speaking, the life cycle of rolling bearings can be divided into three stages: normal operation stage, early failure stage, and rapid degradation stage, and the starting point of bearing RUL prediction starts from the starting point of the rapid degradation stage.

[0148] Table 2

[0149]

[0150]

[0151] To simplify the experiment, the offline bearings in this experiment selected 100 data samples after early faults and all data samples in the rapid degradation stage. In the pre-training stage, the online target bearings only have data in the early fault stage, so only 100 samples after the early fault stage are selected for the experiment. For data preprocessing, the present invention uses the Hilbert-Huang transform to perform preliminary feature extraction on the original data, and then uses maximum and minimum normalization for preprocessing. Among them, for the teacher model using unsupervised domain adaptation, the step size of its LSTM feature extractor is set to 8 or 10, the optimizer uses Adam, and the learning rate is 0.001. The parameter settings of the teacher model and the online model in this experiment are shown in Table 3.

[0152] Table 3

[0153]

[0154]

[0155] Bearing RUL prediction is essentially a regression problem of non-stationary time series, so this experiment uses root mean square error (RMSE) and mean absolute error (MAE) as error indicators. As shown in formulas (28) and (29), y i represents the true label, is the predicted value, and n is the sample length.

[0156]

[0157]

[0158] The characteristic scatter points and probability density distribution of the target bearing B2-1 in Task 1 before multi-level domain adaptation are as follows: Figure 3a and Figure 3b As shown. It can be seen that due to the differences between working conditions, before multi-level domain adaptation, the scatter distribution of the degradation data in the source domain and the early fault data of the target bearing is relatively scattered, the distribution trends of the two are not aligned, and there are obvious differences in the distribution of the probability density function. The feature scatter plot uses PCA to reduce the dimension of the deep features of the middle layer of the model, and selects the first two principal components for drawing; the probability density distribution diagram of the feature is to first splice multiple bearing data, and PCA reduces the deep features to one-dimensional principal components to estimate the probability density distribution.

[0159] After pre-training domain adaptation, the feature scatter points and probability density distribution of the target bearing B2-1 in task 1 are as follows: Figure 3c and Figure 3dAs shown in the figure, the offline degradation features and the online early fault features are clustered together, and their probability density distributions are approximately consistent before adaptation. This shows that multi-level domain adaptation helps the teacher network learn the common degradation knowledge between the source domain and the target domain, and provides a domain-invariant representation of the degradation knowledge for the online distillation stage.

[0160] It can be seen that before domain adaptation, the feature scatter point distribution and probability density distribution of the two domains are significantly different. With the alternation of domain adaptation and tensor optimization, the feature scatter point diagrams from the early data of the target domain gradually converge, and the distribution of the probability density diagram gradually tends to be consistent.

[0161] The distribution of characteristic points in the process of multi-level domain adaptation and tensor optimization of the teacher network is as follows: Figure 4a , Figure 4b , Figure 4c and Figure 4d As shown, the probability density distribution is Figure 5a , Figure 5b , Figure 5c and Figure 5d As shown in . It can be seen that when the tensor is optimized too much, such as Figure 4d and Figure 5d As shown in the figure, the probability density graph began to drift, and its feature scatter points failed to fully gather. It can be seen that the process of tensor domain adaptation makes the features more diverse, making it easier to extract representative features. This also shows that tensors can more fully mine fault evolution mechanism knowledge from the source domain, but excessive tensor decomposition will destroy the trend of features and cause side effects on knowledge transfer.

[0162] The prediction results of target bearings B2-1 and B2-2 in task 1 are as follows: Figure 6a and Figure 6b As shown in the figure, the prediction results of the target bearings XJ2-1 and XJ2-2 in task 2 are as follows: Figure 6c and Figure 6d As shown. The non-migrated method uses LSTM to build a regression model after performing AE deep feature extraction on the degradation data in the source domain. The sequentially arriving data blocks also enter AE and are input into the trained model for prediction. As can be seen from the figure, the error of the method in this chapter is generally smaller than that of the non-migrated method, that is, the area enclosed by the red square needle graph and the coordinate axis with RUL value = 0 in the figure is much smaller than that of the blue square. As the online data blocks arrive sequentially, the prediction error of the non-migrated method gradually increases, which means that the non-migrated method cannot learn the common degradation knowledge of the source domain, thereby exacerbating the model bias.

[0163] To further verify the superiority of the method of the present invention, the present invention is compared with 11 representative RUL prediction methods, and the results are shown in Table 4.

[0164] Table 4

[0165]

[0166] Methods 1-3 are deep learning methods that do not use transfer. They all extract deep degradation features and construct regression models with the remaining life value. Among them, method 1 uses DBN to build a RUL prediction model. The model has two hidden layers, 100 neurons in each layer, and the number of iterations is 20 and 300 respectively, and the learning rate is 0.0001; method 2 uses the deep features extracted by DSAE as the input of the LSTM prediction model to predict its RUL value. For the LSTM model, the time step is 8, the input dimension is 25, the output dimension is 1, the number of hidden layers is [100,50,25], the Adam optimizer is used, and the learning rate is 0.001; method 3 uses wavelet transform to extract multi-dimensional scaling feature sets, and then uses a multi-scale CNN network to build a RUL prediction model. The model input is 30*30, 2 channels, 3 convolutional layers of size 3*3, 5*5, 3*3, 2 pooling layers, and 1 full connection layer.

[0167] Methods 4-8 are shallow transfer learning methods, all of which start from the migration of feature level, and use KMM, SA, GFK and TCA domain adaptation methods to extract the common features of source domain and target domain data, and then input them into the LIBSVM model to achieve RUL prediction. Among them, method 4 selects samples with weights greater than 50% as training samples; in method 7, the regularization parameter is set to 1, and the bandwidth parameter of the RBF kernel is set to 0.5; in method 8, TCN features and TensorLSTM are used to make pseudo labels, and TCA is used to extract the common feature representation of online data and offline data, and the obtained common features and pseudo labels are input into the SVR model to achieve RUL prediction.

[0168] Methods 9-11 are the latest deep RUL prediction methods, all of which are used to solve the RUL migration prediction under cross-working conditions. Among them, method 9 uses CNN with MMD constraints to extract common features, and then inputs them into the LSTM prediction model to realize RUL migration prediction. Its network structure is consistent with that of method 2; method 10 uses the DANN model to realize the adversarial migration of domain information under different working conditions and perform RUL regression prediction. The model uses 2 layers of convolution, 2 layers of pooling and 1 fully connected layer; the above methods are all optimized using SGD to obtain the optimal model parameters, and the learning rate is 0.001.

[0169] Considering that the data to be tested in the target domain are all unlabeled stream data that arrive in sequence, the 11 comparison methods in this experiment all input each batch of online data blocks into the regression model trained with the source domain data to obtain their RUL values. Taking the bearing B2-1 in Task 1 as an example, the comparison experiments are conducted in three aspects: the non-migrated method, the shallow migration method, and the deep migration method. The prediction results of the bearing B2-1 in Task 1 obtained by the present invention and the non-migrated method are as follows: Figure 7a As shown, the prediction result of bearing B2-1 in task 1 obtained by the present invention and the shallow migration method is as follows Figure 7b As shown, the prediction result of the bearing B2-1 in task 1 obtained by the present invention and the depth migration method is as follows Figure 7c shown.

[0170] It can be seen that for the non-migrated method, although the use of the deep model can well extract deep degradation features, it does not take into account the differences in data distribution between the source domain and the target domain, which leads to the problem of model bias, so the prediction accuracy is not high. For the shallow migration method, although the public relations feature extraction of the source domain and the target domain is achieved, the representation ability of the shallow model is limited and it is unable to fully extract deep time series information, so it is difficult to achieve accurate online RUL prediction. For the deep migration method, in the online scenario, the model needs to be retrained, which increases the computational cost and does not have the ability to predict the RUL online in real time. Although it has certain improvements compared to the shallow migration method, it does not pay attention to the time series self-supervision information of the data itself for the problem of data distribution drift under variable conditions, and the accuracy is lower than the prediction method of the present invention.

[0171] Therefore, the present invention can fully mine the common fault evolution knowledge of offline degradation sequence and online early fault stage through tensor deep domain adaptation, provide high-quality time-domain-independent representation for the online stage, and improve the accuracy and robustness of knowledge distillation in the online stage; at the same time, the present invention also introduces the time-series self-supervision information of the online sequence, fully mines the time-series mutual information between sequences, and improves the stability of online RUL prediction. And this method is simple and easy to deploy under variable working conditions, and has high engineering practicality.

Claims

1. A method for predicting the remaining service life of mechanical equipment online under time-varying working conditions, characterized in that: The prediction method includes the following steps: 1) Obtain the full life degradation data and corresponding labels of mechanical equipment under offline working conditions, and use them as source domain data to obtain early failure data in the target domain; 2) Establish an unsupervised regression teacher model, use the teacher model to extract features from source domain data and target domain early fault data, map the source domain and target domain to the same high-dimensional space, and capture the time series information in the deep features; use the tensor decomposition model to decompose the time series information in the deep features extracted by the teacher model, solve the core tensor, and use the core tensor to pre-train the teacher model; 3) Construct a deep regression student model, use the source domain data as the input of the student model, use the prediction value of the teacher model to perform knowledge distillation, realize the pre-training of the student model, and enable the student model to learn the fault evolution knowledge of offline degradation data; 4) Using the pre-trained teacher model and student model to build an online distillation framework network, obtain the online mechanical equipment full life degradation data as the online data block, input the online data block and source domain data into the online distillation framework network, and use the pre-trained teacher model and tensor decomposition model to obtain the pseudo label of the online data block; 5) Based on the pseudo-labels, the student model in the online distillation framework network is trained and incrementally updated. The online data blocks are input into the trained and updated student model to achieve prediction of the online data blocks.

2. The method for predicting the online remaining life of mechanical equipment under time-varying working conditions according to claim 1 is characterized in that: The teacher model includes a feature extractor and a fully connected regressor. The feature extractor uses SAE and stacked LSTM. SAE is composed of an encoder and a decoder. The encoder is used to extract features from input data, and the decoder maps the output of the encoder to the space of the input data. The stacked LSTM includes at least three LSTM modules, which are used to extract deep time series features.

3. The method for predicting the online remaining life of mechanical equipment under time-varying working conditions according to claim 2 is characterized in that: The tensor decomposition model is used to convert the deep time series features extracted by the stacked LSTM into high-order tensors, obtain the core tensor from the high-order tensor using Tucker decomposition, and construct multi-level tensor domain adaptation by obtaining the core tensor to realize the meta-degradation knowledge extraction of offline features and online early fault features.

4. The method for predicting the online remaining life of mechanical equipment under time-varying working conditions according to claim 2 is characterized in that: The loss function used in the teacher model pre-training is: in represents the RUL regression loss of the source domain fast-degrading data, θ En ,θ De are the LSTM feature extractor parameters of the teacher model, the model parameters of the fully connected regressor, the encoder and decoder parameters of the SAE, γ, α, β, ρ are the regularization coefficient hyperparameters, L Adaptation is the domain adaptation loss, L AE is the reconstruction loss of SAE, L Trend is the degradation trend loss, L tensor is the optimal core tensor loss.

5. The method for predicting the online remaining service life of mechanical equipment under time-varying working conditions according to any one of claims 1 to 4, characterized in that: The pre-training of the teacher model and the solution of the core tensor adopt an alternating optimization algorithm: First, the tensor factor matrix is ​​fixed, and the parameters of the feature extractor in the teacher network are updated using the stochastic gradient descent method; then the parameters of the feature extractor in the teacher network are fixed, and the tensor factor matrix is ​​updated using the iterative gradient descent algorithm; this process is repeated to achieve alternating calculations.

6. The method for predicting the online remaining service life of mechanical equipment under time-varying working conditions according to claim 2 is characterized in that: The losses used by the student model during pre-training include soft loss and hard loss. Soft loss refers to the difference between the student model prediction and the teacher model prediction; hard loss refers to the difference between the student model prediction and the true RUL value.

7. The method for predicting the online remaining service life of mechanical equipment under time-varying working conditions according to claim 1 or 2, characterized in that: The update process of the incremental update is as follows: When a new online data block is detected, a LSTM-based incremental feature extractor is randomly initialized; Calculate the loss of the online distillation framework network and fine-tune the parameters of the incremental feature extractor and the regression predictor parameters of the student model in the online distillation framework network based on the loss; The parameters of the fine-tuned incremental feature extractor and the last layer weights in the feature extractor of the student model in the online distillation framework network are weighted fused as the weights of the last layer of the feature extractor in the student model in the online distillation framework network to achieve incremental update.

8. The method for predicting the online remaining service life of mechanical equipment under time-varying working conditions according to claim 2 is characterized in that: The total optimization target of the online distillation framework network during the online distillation stage in step 5) is: THE KD_online =λL Soft +(1-λ)L Hard Where L online is the total network loss of the online distillation framework, L self_online is the self-supervision loss, L KD_online is the knowledge distillation loss during the online distillation stage.

9. The method for predicting the online remaining service life of mechanical equipment under time-varying working conditions according to claim 8 is characterized in that: The calculation formula used for the self-supervision loss is: f i is the feature output of the fully connected regressor of the online network, The header that indicates the existing features online. and Respectively represent the feature points on both sides of the middle position.

Citation Information

Cited By

  • Method for predicting residual life under small sample based on task increment element learning

    CN119416174A

  • Photovoltaic power generation performance self-adaptive improvement method and system based on multi-mode perception

    CN120222479A

  • A Method and System for Adaptive Improvement of Photovoltaic Power Generation Performance Based on Multimodal Sensing

    CN120222479B

  • Method for predicting residual life of composite material structure based on domain self-adaption under digital-analog combined driving

    CN120781692A