Continuous remaining service life prediction method based on SGACNN and MCA

By adopting the continuous remaining service life prediction method of SGACNN and MCA mechanisms in rolling bearings, the problem of insufficient prediction accuracy under different components and working conditions in the existing technology is solved, and high-accuracy RUL prediction and the mitigation of catastrophic forgetting are achieved.

CN118733986AActive Publication Date: 2024-10-01CHONGQING UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410714789.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-10-01
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

The existing remaining service life prediction model of rolling bearings lacks adaptability under different components and dynamically changing working conditions. It is difficult to continuously and adaptively learn degradation information under different components and working conditions, resulting in insufficient prediction accuracy.

Method used

A continuous remaining service life prediction method based on the Self-Guided Attention Convolutional Neural Network (SGACNN) and the Memory Awareness Adjustment (MCA) mechanism is adopted to construct the SGACNN model through continuous acquisition and dimensionality reduction processing of condition monitoring data, and use the MCA mechanism to mitigate disasters Sexual forgetfulness enables RUL prediction for different components and working conditions.

Benefits of technology

It improves the prediction accuracy of rolling bearings, can successfully handle RUL prediction tasks under different components and working conditions, alleviates catastrophic forgetting, and enhances the model's generalization ability and the accuracy of continuous predictions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733986A_ABST
    Figure CN118733986A_ABST
Patent Text Reader

Abstract

The invention relates to a continuous residual service life prediction method based on SGACNN and MCA, and belongs to the technical field of rolling bearing residual service life prediction. The method comprises the steps of S1, continuously collecting state monitoring data of a rolling bearing under different working conditions, extracting required features from the state monitoring data, and then performing dimension reduction processing on the extracted features; s2, performing normalization processing on the features after dimension reduction; s3, an SGACNN model is constructed, a loss function based on an MAC mechanism is adopted to train and optimize the SGACNN model, the SGACNN represents a self-guiding attention convolutional neural network, and MAC represents memory awareness adjustment; and S4, predicting the remaining service life of the rolling bearing by using the optimized SGACNN model. According to the invention, lifelong learning of the RUL prediction task and RUL prediction are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of remaining service life prediction of rolling bearings, and relates to a continuous remaining service life prediction method based on a self-guided attention convolutional neural network (SGACNN) and memory consciousness adjustment (MCA). Background Art

[0002] The safe and reliable operation of equipment is the core content to ensure the production activities of the factory. In order to ensure the operating status of the equipment and formulate a reasonable maintenance plan, it is very important to study a life prediction method with high accuracy and high robustness. As one of the core components, rolling bearings are widely used in aircraft, high-speed rail, etc. However, bearings are often in harsh working environments, which can easily cause bearings to fail, such as wear and pitting, and thus affect the normal operation of the equipment. Therefore, it is necessary to make a high-precision prediction of the remaining service life of rolling bearings.

[0003] Existing research mainly focuses on the remaining useful life (RUL) prediction task of a single component, aiming to improve the accuracy of RUL prediction of a single component under specific operating conditions. Some studies focus on the cross-operating condition RUL prediction task of the same component. In other words, these models are often only applicable to specific components and operating conditions. However, in actual engineering, it is common to continuously collect condition monitoring data of various components under different operating conditions. Current RUL prediction models are generally trained on data sets with specific distributions, which limits their ability to continuously and adaptively learn degradation information in dynamic environments such as different components and dynamically changing operating conditions. Therefore, there is an urgent need to develop a new RUL prediction method to effectively achieve lifelong RUL prediction task learning and RUL prediction. Summary of the invention

[0004] In view of this, the object of the present invention is to provide a continuous remaining useful life prediction method based on a self-guided attention convolutional neural network (SGACNN) and memory awareness adjustment (MCA), so as to realize RUL prediction when continuously providing mission data of different components and working conditions, thereby improving the prediction accuracy of components.

[0005] In order to achieve the above object, the present invention provides the following technical solutions:

[0006] A method for predicting the continuous remaining useful life based on SGACNN and MCA, specifically comprising the following steps:

[0007] S1: Continuously collect the condition monitoring data of rolling bearings under different working conditions, extract the required features from them, and then perform dimensionality reduction processing on the extracted features;

[0008] S2: Normalize the features after dimensionality reduction;

[0009] S3: Construct the SGACNN model and use the MAC-based loss function to train and optimize the SGACNN model, where SGACNN stands for self-guided attention convolutional neural network and MAC stands for memory awareness adjustment.

[0010] S4: Use the optimized SGACNN model to predict the remaining service life of rolling bearings.

[0011] Furthermore, in step S1, a convolutional autoencoder is used to reduce the dimensions of original feature signals of different lengths to the same dimension.

[0012] Further, in step S2, the expression of normalization processing is:

[0013]

[0014] Among them, F norm and F are the normalized and original features respectively, F μ and F σ Represent the mean and standard deviation of the original features respectively.

[0015] Further, in step S3, the structure of the constructed SGACNN model includes a one-dimensional convolution layer, a maximum pooling layer, three HAAS stacks and a fully connected layer; the one-dimensional convolution layer uses a large convolution kernel to capture extensive information from the original input data; after the one-dimensional convolution layer, a maximum pooling layer is introduced to reduce the dimension of the extracted features; the SGACNN input data is represented as a two-dimensional tensor of dimension (C, L), where C is the number of channels and L is the length of the one-dimensional feature sequence data of each channel;

[0016] The structure of HAAS is as follows: first, MFCWSA is used to capture the interdependence and interaction between various channel features; in addition, by focusing on important features, the model's ability to extract meaningful information from input features is enhanced; subsequently, the convolutional subnetwork is responsible for extracting relevant degraded features from the MFCWSA output and reducing the input dimension; the output features of the convolutional subnetwork are input into the SE network to improve the discriminative ability of the feature map generated by the convolutional subnetwork; CBAM is integrated into the identity path of the residual convolution module; wherein MFCWSA represents multi-head focal channel self-attention, and HAAS represents the hybrid attention enhancement subnetwork.

[0017] Furthermore, in step S3, the structure of the MFCWSA mechanism is as follows: the features of all channels are concatenated into a new global feature vector in channel order to obtain a global perspective containing all channels; then, the global query vector, global key vector, and global value vector can be calculated through linear transformation; in this perspective, the cosine similarity is used to measure the similarity between the global query vector and the global key vector; to ensure proper scaling, the similarity score will be divided by a scaling factor Where D is the feature dimension of a single channel, N c is the number of channels in the convolutional layer; to determine the threshold of the similarity score, the global feature vector is trained through a fully connected layer; then, the obtained threshold is expanded to match the shape of the similarity matrix; by comparing the similarity matrix and the threshold matrix, the feature positions with scores below the threshold are filtered out, and attention is focused on important features; the obtained sparse similarity matrix is ​​then processed by the Softmax function to obtain a sparse attention matrix; the sparse attention matrix is ​​multiplied with the global value vector to obtain a weighted global value vector; finally, the attention-processed result is generated according to the channel order.

[0018] Further, in step S3, the output representation adopted by the MFCWSA mechanism is:

[0019]

[0020] in, d v =D / h, where h is the number of attention heads;

[0021]

[0022]

[0023] in, represents the output of FCWSA, FCWSA represents focal channel self-attention; α represents the attention sparse coefficient matrix; represents the similarity threshold matrix; represents the similarity score; are the global query vectors Global Key Vector Global value vector The weight matrix of ; reshape is the matrix reshaping function, and F represents the characteristics of a single channel.

[0024] Further, in step S3, the expression of the loss function loss based on the MAC mechanism is:

[0025]

[0026] Among them, lossw is the weight constraint loss term, PRul is the predicted RUL value, ARul is the actual RUL value, λ is the weight coefficient; Ω ij is the importance weight; is the model ψ of the previous task old About parameter θ ij The gradient of , t is the data sample; g i is the gradient vector of the i-th layer network; is old The jth parameter of the i-th layer in .

[0027] Further, in step S4, in the process of predicting the remaining useful life of rolling bearings, the initial weights of the SGACNN model are randomly generated; the model is trained using only the MSE loss, which produces the difference between the actual and predicted RUL values; in the subsequent RUL prediction task, the initial SGACNN model weight parameters are provided by the model trained in the previous task; during the training process, the MCA mechanism is applied to mitigate catastrophic forgetting; the training data used is the training set of the current task; during testing, the model is evaluated using a combination of the test set from the current task and the test sets from all previous tasks; wherein RUL represents the remaining useful life.

[0028] Furthermore, in step S4, the actual RUL label is produced: the RUL value is normalized to the RUL percentage to enhance the generalization ability of the model, which is defined as:

[0029] RUL t =R t / R T ×100%

[0030] Among them, RUL t is the RUL percentage at time t, ranging from 0 to 1; R t is the actual rule at time t; R T It is the total life of mechanical equipment.

[0031] The beneficial effects of the present invention are: when the present invention continuously provides task data of different components and working conditions, the single SGACNN model designed by the present invention can successfully handle the RUL prediction task; in addition, the MCA mechanism introduced by the present invention can alleviate catastrophic forgetting. Therefore, the present invention can realize RUL prediction when task data of different components and working conditions are continuously provided, and at the same time improve the prediction accuracy of the components.

[0032] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

[0034] Figure 1 Schematic diagram of SA and FCWSA, where (a) is SA and (b) is FCWSA;

[0035] Figure 2 Schematic diagram of the structures of HAAS and SGACNN, where (a) is HAAS and (b) is SGACNN;

[0036] Figure 3 RUL prediction results of SGACNN: (a) Task 1; (b) Task 2. DETAILED DESCRIPTION

[0037] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and the features in the embodiments can be combined with each other without conflict.

[0038] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.

[0039] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "front", "rear", etc. indicate the orientation or position relationship, they are based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as limiting the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.

[0040] See also Figure 1 to Figure 3 The embodiment of the present invention provides a continuous remaining useful life prediction method based on SGACNN and MCA, which can realize continuous RUL prediction tasks. The RUL prediction process is summarized as follows:

[0041] 1) Data dimensionality reduction: Since the sampling frequency and sampling times of monitoring data of different components are different, feature extraction is first performed, and the convolutional autoencoder is used to reduce the original signals of different lengths to the same dimension. The feature dimension after dimensionality reduction is 64.

[0042] 2) Feature normalization: Normalize the extracted features to reduce the negative impact of significant differences between features on the network and promote network training convergence:

[0043]

[0044] Among them, F norm and F are the normalized and original features respectively, while F μ and F σ Represent the mean and standard deviation of the original features respectively.

[0045] 3) Actual RUL labeling: There are obvious differences in the RUL values ​​of mechanical equipment in actual scenarios. Therefore, the RUL values ​​are normalized to RUL percentages to enhance the generalization ability of the model, which is defined as:

[0046] RUL t =R t / R T ×100%

[0047] Among them, RUL t is the RUL percentage at time t, ranging from 0 to 1; R t is the actual rule at time t; R T It is the total life of mechanical equipment.

[0048] 4) Model construction: The network details of SGACNN (Self-Guided Attention Convolutional Neural Network) are shown in Table 1, where the shape of input and output size is (channel, feature) and N_H is the number of attention heads in MFCWSA.

[0049] Table 1 Network details of SGACNN

[0050]

[0051] The constructed SGACNN model includes:

[0052] (1)MFCWSA

[0053] like Figure 1 As shown in (a), the self-attention (SA) mechanism limits the degradation feature extraction capability of the one-dimensional convolutional neural network (1D-CNN) model. In addition, it cannot capture a large amount of degradation information that may be distributed across different channels. Therefore, the model's ability to extract comprehensive degradation features will be hindered. In addition, this SA mechanism makes it difficult to achieve attention focus, resulting in the inclusion of redundant information in the attention process, which in turn affects the accuracy of RUL prediction. Therefore, the traditional SA mechanism limits the overall performance of the RUL prediction model.

[0054] Therefore, a Multi-Head Focal Channel Self-Attention (MFCWSA) mechanism was developed to overcome this limitation. This mechanism is able to model feature dependencies across all channels, helping to focus on the most relevant and important features for the current task while ignoring irrelevant or redundant information. Therefore, the features of all channels are concatenated into a new global feature vector in channel order to obtain a global perspective that includes all channels. Subsequently, the global query vector, global key vector, and global value vector can be calculated through linear transformations. In this perspective, the cosine similarity is used to measure the similarity between the global query vector and the global key vector. To ensure proper scaling, the similarity score is divided by a scaling factor Where D is the feature dimension of a single channel, and Nc is the number of channels in the convolutional layer. In order to determine the threshold of the similarity score, the global feature vector is trained through a fully connected layer. Then, the obtained threshold is expanded to match the shape of the similarity matrix. By comparing the similarity matrix and the threshold matrix, the feature positions with scores below the threshold are filtered out, and attention is focused on important features. The resulting sparse similarity matrix is ​​then processed by the Softmax function to obtain a sparse attention matrix. The sparse attention matrix is ​​multiplied by the global value vector to obtain a weighted global value vector. Finally, the attention-processed result is generated according to the channel order. The schematic diagram of the FCWSA mechanism is shown in Figure 1 (b), its expression can be written as:

[0055]

[0056] Among them, reshape is the matrix reshaping function, and F represents the features of a single channel. Global query vector Global Key Vector Global value vector They are calculated as:

[0057]

[0058] Similarly, the global key vector and global value vector can be obtained by:

[0059]

[0060] In the formula, are the weight matrices of Q, K, and V respectively. The similarity score is calculated as follows:

[0061]

[0062] Further obtain the similarity threshold matrix for:

[0063]

[0064] The goal of the expansion function is to expand the threshold to match the similarity matrix Note that the sparse coefficient matrix is ​​computed using the following expression:

[0065]

[0066] in, The task of the filter function is to remove the similarity scores below the threshold. The output of FCWSA can be obtained:

[0067]

[0068] In order to mitigate the potential bias caused by a single attention head and enhance the expressiveness of the model, the multi-head FCWSA (MFCWSA) mechanism adopts an approach similar to the multi-head SA (MSA) mechanism. The output of MFCWSA can be written as:

[0069]

[0070] in, d v=D / h, where h is the number of attention heads. Compared with MSA, MFCWSA ensures that the attention mechanism takes into account the full feature space on all channels when calculating the attention weights. This consideration enables the model to capture the interdependence and interaction between various channel features, thereby utilizing the large amount of degradation information present in the entire monitoring signal. In addition, MFCWSA uses the network to determine an adaptive threshold that can be used to construct a sparse attention matrix to facilitate attention focus.

[0071] (2) SGACNN

[0072] In order to further improve the degradation feature extraction capability of RUL prediction models at all levels, HAAS is designed based on MFCWSA, SE mechanism, CBAM and convolutional sub-network. Figure 2 (a)). First, the developed MFCWSA is used to capture the interdependence and interaction between various channel features. In addition, by focusing on important features, the model’s ability to extract meaningful information from input features is enhanced.

[0073] Subsequently, the convolutional subnetwork is responsible for extracting relevant degraded features from the MFCWSA output and reducing the input dimensionality. The output features of the convolutional subnetwork are fed into the SE network to improve the discriminative power of the feature maps generated by the convolutional subnetwork. It adaptively assigns attention weights to different channels, enabling the network to consider their interdependencies. In traditional residual convolutional modules, channel changes are usually done using 1×1 convolutions in the unit path. However, this operation may affect the representation of input features along the identity path. To alleviate this problem, CBAM is integrated into the identity path of the residual convolutional module. By combining CBAM, the model can selectively focus on important channels and regions on the identity path, optimizing feature learning from both channel and spatial representations.

[0074] Use HAAS to build SGACNN (Self-Guided Attention Convolutional Neural Network), such as Figure 2 (b) shows the SGACNN architecture. The SGACNN architecture consists of the following key components: a one-dimensional convolutional layer, a maximum pooling layer, three HAAS stacks, and a fully connected layer. The one-dimensional convolutional layer uses large convolution kernels to capture a wide range of information from the original input data. This helps the model retain the important features and patterns presented in the input. After the one-dimensional convolutional layer, a maximum pooling layer is introduced to reduce the dimensionality of the extracted features. The SGACNN input data is represented as a two-dimensional tensor of dimension (C, L), where C is the number of channels and L is the length of the one-dimensional feature sequence data for each channel.

[0075] (3) Knowledge weight constraint loss

[0076] In order to save computing and storage resources in continuous RUL prediction tasks, the goal of the present invention is to avoid joint training of previous and current data. In essence, the update direction of the network parameters determined by the neural network gradient plays a vital role in guiding the descent direction of the loss function. However, in the case where there is a large difference between the new task data and the previous task data, the direction of the network update during the new task learning process may deviate significantly from the direction of the previous learning task. This deviation will cause the loss of the previous task to increase, affecting the accuracy of the model in the previous RUL prediction task.

[0077] In order to solve the catastrophic forgetting problem caused by the significant difference in the update direction of the new and old tasks, the author synthesized a new gradient direction to control the update of network parameters by integrating the network gradient directions of the current task and the previous task. This synthesis effectively suppresses the tendency of the neural network to forget previously learned information.

[0078] Since before learning a new task, we have already learned the model ψ for the previous task old , so it is easy to obtain the gradient information of the entire network, including the gradient magnitude and gradient direction. The gradient magnitude is expressed as The gradient direction is expressed as In order to obtain the gradient information of the current task, a small batch of data of the current task is input into the model ψ before formal training. old Therefore, the gradient direction of the current task can be expressed as The gradient magnitude of the current task can be expressed as To evaluate the difference in gradient direction between the previous task and the current task, we calculated and The cosine value between can be expressed as If the cosine value If the cosine is greater than zero, it means that the angle between the two directions is acute, which means that the difference between the two is not significant. This ensures that the loss of the previous task is reduced to a certain extent when learning the current task. Therefore, in this case, there is no need to modify the current update direction. If the cosine value Less than zero, it means and The angle between them is greater than 90°. In this case, the difference between the tasks is large, which means that learning the current task will seriously interfere with the previously acquired knowledge. In this case, a new gradient direction needs to be found to replace it, that is, The new gradient direction can be initially synthesized using the following expression:

[0079]

[0080] The gradient size is an indicator of the degree of network update; it reflects the importance of the task at hand. A larger gradient means that the current update direction has a greater weight and contributes more to task optimization. This further indicates that the network places more emphasis on capturing the relevant patterns and features required to achieve the expected task performance. Therefore, the new gradient direction can be obtained as follows:

[0081]

[0082] In summary, the new synthetic network gradient direction can be determined as follows:

[0083]

[0084] In order to strike a balance between retaining previously acquired knowledge and accurately meeting the requirements of the current task, a weight constraint loss term is designed and incorporated into the gradient importance calculation based on MCA (Memory Aware Adjustment). The weight constraint loss term can impose larger constraints on the parameters that are important for the previous task when learning the current task. Model ψ old The parameter can be expressed as θ * , and can directly affect the prediction performance of the model. When a small change in parameter Δ occurs due to network update, ψ old The output of will also change accordingly. The change in model output can be approximately expressed as:

[0085]

[0086] Among them, t is the data sample, is the model ψ old About parameter θ ij gradient.

[0087] The above formula shows that parameters with larger gradients are more sensitive to data changes. When learning the current task, it is crucial to reduce the update amplitude of these parameters, mainly to ensure that the prediction model remains unchanged for each output of the previous task sample. By minimizing the update of these sensitive parameters, the potential interference with the learned knowledge can be reduced. Therefore, the author uses the absolute value of the gradient of each parameter as the importance weight, calculated as:

[0088]

[0089] In addition, to address the potential problem of information imbalance due to large numerical differences, the absolute value of the gradient is normalized. Therefore, the importance weight can be written as:

[0090]

[0091] The weight-constrained loss term when learning a new task can be written as:

[0092]

[0093] Next, add this loss term to the task loss term to form a new loss function for learning a new task, which can be written as:

[0094]

[0095] Among them, the first term is the task loss term, which uses the mean square error (MSE), PRul is the predicted RUL value, ARul is the actual RUL value, and λ is the weight coefficient.

[0096] 5) RUL prediction: For the first RUL prediction task, the initial weights of the SGACNN model are randomly generated. The model is trained using only the MSE loss, which produces the difference between the actual and predicted RUL values. In subsequent RUL prediction tasks, the initial SGACNN model weight parameters are provided by the model trained on the previous task. During training, the MCA mechanism is applied to mitigate catastrophic forgetting. The training data used is the training set of the current task. However, during testing, the model is evaluated using a combination of the test set from the current task and the test sets from all previous tasks.

[0097] 6) Performance evaluation: Mean absolute error (MAE) is used to measure the average absolute difference between the predicted and actual RUL, which can quantify the overall degree of deviation of the model in RUL prediction. The lower the MAE value, the closer the model's prediction results are to the actual RUL value, and the higher the MAE value, the greater the prediction error. The Score function is used to evaluate overestimated or underestimated prediction results, and a larger penalty is imposed on overestimated results. This is because overestimating RUL predictions can lead to more serious consequences or losses than underestimating. Their formulas are defined as follows:

[0098]

[0099] where Y i is defined as:

[0100]

[0101] Experimental verification:

[0102] 1) Data Introduction

[0103] (1) XJSY bearing dataset

[0104] Through the accelerated bearing degradation experiment, the XJSY bearing data set was collected. The sampling frequency is 25.6kHz, the sampling time is 1.28s, and the sampling interval is 1min. This paper uses the bearing data of the first two conditions. In the first case, the radial force is set to 12kN and the speed is 2100r / min. In the second case, the radial force is increased to 13kN and the speed is set to 2250r / min.

[0105] (2) Full life gear dataset

[0106] In this experiment, multiple fatigue life tests were carried out using the gear contact fatigue test bench at Newcastle University, UK. The test bench includes a gear test platform, a cooling and lubrication system, a measurement and control platform, and two gear pairs (experimental gearboxes). The experimental gearboxes are placed symmetrically on the test bench. Accelerometers are placed in the horizontal and vertical directions of the gearbox to collect vibration signals with a sampling frequency of 25kHz, a sampling time of 0.2 seconds, and a sampling interval of 1 minute. Four sets of vibration signal data sets from operation to failure were collected under two different working conditions. Table 2 provides further details of the experimental conditions.

[0107] Table 2 Full life gear data information

[0108]

[0109] (2) SGACNN Verification

[0110] The SGACNN model is used to accurately predict the RUL of the bearing. The RUL predictions for Task 1 and Task 2 are shown in the figure below. Figure 3 (a) and Figure 3 (b) The results show that the RUL prediction curves obtained from the two tasks are in good agreement with the actual RUL trend. In addition, the fitted straight lines for predicting RUL values ​​are close to the actual values. In addition, the 95% prediction interval of the fitted straight line includes the actual RUL value, proving that the SGACNN model can accurately predict RUL.

[0111] The performance of the SGACNN model is compared with that of the above six models; the calculation results of the evaluation indicators are shown in Table 3. Table 3 shows that the proposed SGACNN model outperforms the other models and obtains the lowest MAE value and the highest Score value. This indicates that SGACNN exhibits the highest prediction accuracy and the best overall performance on the XJSY orientation dataset. By comparing the prediction results of CNN, CNN-MFCWSA, CNN-SE, and SGACNN for the two tasks, a clear trend can be observed that the accuracy of the prediction is improving. This highlights the effectiveness and rationality of using HAAS in the SGACNN model.

[0112] Furthermore, when comparing the prediction results of CNN-MSA and CNN-MFCWSA, we found that CNN-MFCWSA had a significant improvement, most likely due to the significantly reduced prediction error. Among them, the MAE of Task 1 was reduced by 0.017, and the MAE of Task 2 was reduced by 0.029. In addition, the scores of Task 1 and Task 2 were improved by 0.021 and 0.054, respectively. These improvements highlight the effectiveness of combining the MFCWSA mechanism to improve the prediction accuracy of the model. In summary, the combination of HAAS and MFCWSA has a strong ability to learn degradation information. This, in turn, enhances the performance of the SGACNN model in accurately predicting the RUL of bearings.

[0113] Table 3 Comparison results

[0114]

[0115] 2) Validation of the sustained RUL prediction method

[0116] Under the specified task sequence, SGACNN and MCA mechanism are applied to continuously predict the remaining useful life (RUL) based on the given task sequence. The mean absolute error (MAE) values ​​of the prediction results are calculated and presented in Table 5. Comparing Table 5 with Table 4, it can be found that when the MCA mechanism is adopted, the algorithm has achieved significant improvements in the prediction performance of the continuous prediction task. The MAE value of the previous task is greatly reduced, indicating that the continuous prediction is more accurate. The MAE value of the current task is very close to that of a single RUL prediction task. In addition, even if four tasks are learned consecutively, the knowledge gained from the first learning task is still retained. These improved results provide strong evidence for the effectiveness of the MCA mechanism in alleviating the catastrophic forgetting problem. By retaining the knowledge gained in the previous task while adapting to the new task, SGACNN is able to accurately predict and reduce the performance degradation of the previous RUL prediction task.

[0117] Table 4 MAE values ​​of RULs predicted without using KWC mechanism

[0118]

[0119] Table 5 MAE values ​​of RULs predicted using KWC mechanism

[0120]

[0121] To demonstrate the effectiveness of the MCA mechanism, it is compared with other CL methods, including L2 regularization, EWC, and MAS. The MAE values ​​of the predicted RUL obtained using these CL methods are calculated and listed, while the MAE values ​​of a single RUL prediction task are also shown in Table 6 for a more intuitive comparison. MCA has the most accurate overall performance. It is able to reduce the MAE value to a greater extent, demonstrating its ability to retain knowledge of previous tasks while learning new tasks, which is more prominent than other algorithms. In addition, it is worth noting that MCA is able to achieve prediction accuracy on the current task comparable to single-task training. In short, SGACNN with MCA effectively adapts to new tasks. Therefore, it is concluded that the MCA mechanism is able to retain knowledge and mitigate performance degradation when learning multiple tasks continuously.

[0122] Table 6 MAE values ​​of RULs predicted by different CL methods

[0123]

[0124]

[0125] In summary, a single SGACNN model can successfully handle the RUL prediction task when task data of different parts and working conditions are continuously provided. In addition, the experimental results strongly support the effectiveness of the MCA mechanism in mitigating catastrophic forgetting.

[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.

Claims

1. A method for predicting the continuous remaining useful life based on SGACNN and MCA, characterized in that: The method specifically comprises the following steps: S1: Continuously collect the condition monitoring data of rolling bearings under different working conditions, extract the required features from them, and then perform dimensionality reduction processing on the extracted features; S2: Normalize the features after dimensionality reduction; S3: Construct the SGACNN model and use the MAC-based loss function to train and optimize the SGACNN model, where SGACNN stands for self-guided attention convolutional neural network and MAC stands for memory awareness adjustment. S4: Use the optimized SGACNN model to predict the remaining service life of rolling bearings.

2. The method for predicting the continuous remaining useful life according to claim 1, characterized in that: In step S1, a convolutional autoencoder is used to reduce the dimensions of original feature signals of different lengths to the same dimension.

3. The method for predicting the continuous remaining useful life according to claim 1, characterized in that: In step S2, the expression for normalization processing is: Among them, F norm and F are the normalized and original features respectively, F μ and F σ Represent the mean and standard deviation of the original features respectively.

4. The method for predicting the continuous remaining useful life according to claim 1, characterized in that: In step S3, the structure of the constructed SGACNN model includes a one-dimensional convolutional layer, a maximum pooling layer, three HAAS stacks, and a fully connected layer; the one-dimensional convolutional layer uses a large convolution kernel to capture extensive information from the original input data; After the one-dimensional convolution layer, the maximum pooling layer is introduced to reduce the dimension of the extracted features; the SGACNN input data is represented as a two-dimensional tensor of dimension (C, L), where C is the number of channels and L is the length of the one-dimensional feature sequence data of each channel; The structure of HAAS is as follows: first, MFCWSA is used to capture the interdependence and interaction between various channel features; in addition, by focusing on important features, the model's ability to extract meaningful information from input features is enhanced; subsequently, the convolutional subnetwork is responsible for extracting relevant degraded features from the MFCWSA output and reducing the input dimension; the output features of the convolutional subnetwork are input into the SE network to improve the discriminative ability of the feature map generated by the convolutional subnetwork; CBAM is integrated into the identity path of the residual convolution module; wherein MFCWSA represents multi-head focal channel self-attention, and HAAS represents the hybrid attention enhancement subnetwork.

5. The method for predicting the continuous remaining useful life according to claim 4, characterized in that: In step S3, the structure of the MFCWSA mechanism is as follows: the features of all channels are concatenated into a new global feature vector in channel order to obtain a global perspective containing all channels; then, the global query vector, global key vector, and global value vector are calculated through linear transformation; in this perspective, the cosine similarity is used to measure the similarity between the global query vector and the global key vector; to ensure proper scaling, the similarity score is divided by a scaling factor Where D is the feature dimension of a single channel, N c is the number of channels in the convolutional layer; to determine the threshold of the similarity score, the global feature vector is trained through a fully connected layer; then, the obtained threshold is expanded to match the shape of the similarity matrix; by comparing the similarity matrix and the threshold matrix, the feature positions with scores below the threshold are filtered out to focus on the important features; The obtained sparse similarity matrix is ​​then processed by the Softmax function to obtain a sparse attention matrix; The sparse attention matrix is ​​multiplied by the global value vector to obtain the weighted global value vector; finally, the attention-processed result is generated according to the channel order.

6. The method for predicting the continuous remaining useful life according to claim 5, characterized in that: In step S3, the output representation adopted by the MFCWSA mechanism is: in, d v =D / h, where h is the number of attention heads; in, represents the output of FCWSA, FCWSA represents focal channel self-attention; α represents the attention sparse coefficient matrix; represents the similarity threshold matrix; represents the similarity score; are the global query vectors Global Key Vector Global value vector The weight matrix of ; reshape is the matrix reshaping function, and F represents the characteristics of a single channel.

7. The method for predicting the continuous remaining useful life according to claim 1, characterized in that: In step S3, the expression of the loss function loss based on the MAC mechanism is: Among them, loss w is the weight constraint loss term, PRul is the predicted RUL value, ARul is the actual RUL value, λ is the weight coefficient; Ω ij is the importance weight; is the model ψ of the previous task old About parameter θ ij The gradient of , t is the data sample; g i is the gradient vector of the i-th layer network; is old The jth parameter of the i-th layer in .

8. The method for predicting the continuous remaining useful life according to claim 1, characterized in that: In step S4, during the prediction of the remaining useful life of rolling bearings, the initial weights of the SGACNN model are randomly generated; the model is trained using only the MSE loss, which produces the difference between the actual and predicted RUL values; in the subsequent RUL prediction task, the initial SGACNN model weight parameters are provided by the model trained in the previous task; during the training process, the MCA mechanism is applied to mitigate catastrophic forgetting; the training data used is the training set of the current task; During testing, the model is evaluated using a combination of the test set from the current task and the test sets from all previous tasks; where RUL stands for Remaining Useful Life.

9. The method for predicting the continuous remaining useful life according to claim 8, characterized in that: In step S4, the actual RUL label is produced: the RUL value is normalized to the RUL percentage to enhance the generalization ability of the model, which is defined as: NUMBER t =R t R T ×100% Among them, RUL t is the RUL percentage at time t, ranging from 0 to 1; R t is the actual rule at time t; R T It is the total life of mechanical equipment.

Citation Information

Patent Citations

  • Method for predicting residual life of bearing based on GDAU neural network

    CN111581892A

  • Motor imagery electroencephalogram signal classification method based on channel attention and multi-scale time domain convolution

    CN114266276A

  • Transform-based feature fusion modulation identification method

    CN115238749A

  • Bearing fault diagnosis method and system based on multi-scale features of cross attention

    CN118094334A

  • Deep neural network compression based on filter importance

    US20220253708A1