Literature DB >> 36091994

An enhanced CNN-LSTM remaining useful life prediction model for aircraft engine with attention mechanism.

Hao Li1, Zhuojian Wang2, Zhe Li2.   

Abstract

Remaining useful life (RUL) prediction is one of the key technologies of aircraft prognosis and health management (PHM) which could provide better maintenance decisions. In order to improve the accuracy of aircraft engine RUL prediction under real flight conditions and better meet the needs of PHM system, we put forward an improved CNN-LSTM model based on the convolutional block attention module (CBAM). First, the features of aircraft engine operation data are extracted by multi-layer CNN network, and then the attention mechanism is processed by CBAM in channel and spatial dimensions to find key variables related to RUL. Finally, the hidden relationship between features and service time is learned by LSTM and the predicted RUL is output. Experiments were conducted using C-MPASS dataset. Experimental results indicate that our prediction model has feasibility. Compared with other state-of-the-art methods, the RMSE of our method decreased by 17.4%, and the score of the prediction model was improved by 25.9%. ©2022 Li et al.

Entities:  

Keywords:  Aircraft engine; Convolutional block attention module; Convolutional neural network; LSTM; Remaining useful life

Year:  2022        PMID: 36091994      PMCID: PMC9455287          DOI: 10.7717/peerj-cs.1084

Source DB:  PubMed          Journal:  PeerJ Comput Sci        ISSN: 2376-5992


Introduction

The aircraft engine is one of the core equipment of aircraft, which largely determines the flight performance and flight safety of aircraft. With the development of maintenance theory, sensing and communication technology, aircraft prognosis and health management (PHM) is increasingly a significant way to improve the reliability and safety of aircraft (Li, Verhagen & Curran, 2020). PHM collects operational data in real time through sensors, and realizes the functions of aircraft condition monitoring, fault prediction and maintenance planning, among which the remaining useful life(RUL) prediction is a vital part of PHM system (Che et al., 2019). At present, the RUL prediction methods can be roughly divided into two categories. They are methods based on the physical model and methods based on monitoring data (Peng, Ye & Chen, 2019; Singh et al., 2020; Ren et al., 2018; Shankar kumar, Kumaraswamidhas & Laha, 2021). The physical model-based method is usually for constructing and estimating the degradation model of equipment mathematically by summarizing the rules of failure mechanism (Lei et al., 2018). This method is more suitable for the crack propagation of metal components, etc. Ye et al. (2018) studied a fatigue life prediction method based on multi-scale crack propagation model, and the prediction ability of this method was verified by nickel-based GH4169 alloy. However, for complex systems and equipment, the method based on physical model is no longer applicable, mainly because in industrial practice, we don’t fully grasp the failure mechanism of equipment, and the process of establishing mathematical model is very complicated. Therefore, more studies on RUL prediction mainly focus on data-based methods, which could be divided into three categories (Muneer et al., 2021; Sun et al., 2021; Shankar kumar, Kumaraswamidhas & Laha, 2021). One is to describe the degradation of equipment through stochastic process. Gao et al. (2019) studied the characteristics of light-emitting diode driving power, and proposed a RUL prediction method based on Wiener process. Lin et al. (2021) proposed a novel method to model two-phase degenerate behavior of products based on the nonlinear Wiener process. The second is to establish RUL prediction model by machine learning. Ordez et al. (2019) proposed a RUL prediction model which combined support vector regression model (SVM) and auto-regressive integrated moving average (ARIMA) model. Pan et al. (2020) put forward a two-stage prediction method based on extreme learning machine (ELM). Their method could quickly and accurately predict the RUL of rolling bearings. Kamat, Sugandhi & Kumar (2021) used the unsupervised machine learning for anomaly trend analysis of bearings, and the semi-supervised method for RUL prediction. The third category is the deep learning prediction method that has emerged with the development of artificial intelligence. Wen et al. (2021) established a deep learning architecture based on bidirectional gated recurrent unit (BGRU), and proposed a domain-adaptive RUL prediction model. Guo et al. (2017), Kim & Liu (2021) and Khumprom, Grewell & Yodo (2020), respectively use three network models, deep belief network (DBN), bayesian deep learning framework, and feedforward neural network(FNN) to establish different RUL prediction models, and all of them achieved good prediction results. Aircraft engine monitoring data has the features of large amount of data and high dimensionality, and deep learning has better feature extraction ability in processing such data (Mao et al., 2022; Zhao & Wang, 2021), so the prediction method of deep learning is more suitable for aircraft engine RUL prediction. At present, some scholars have also conducted relevant research. Hu et al. (2021) built several new DBRNNs with new network configurations and designed a new customized loss function for RUL prediction of aircraft engine. Chui, Gupta & Vasant (2021) proposed a RUL prediction algorithm in combination with RNN and LSTM, used non-dominated sorting genetic algorithm II (NSGA-II) to optimize it, and achieved better results. Li et al. (2021) proposed a new Bayesian deep learning nework considering the epistemic uncertainty and aleatoric uncertainty to solve the prognostic uncertainty problem. Ragab et al. (2021) addressed the domain shift problem based on contrastive adversarial domain adaptation and got better results in experiments. However, the above methods are all based on the research under the stable working condition; without considering the influence of the working condition change of the aircraft engine on the prediction accuracy of RUL under the real flight condition, it still faces the following problems in the practical application process: At present, the prediction models of aircraft engines are all based on a snapshot of flight data, the advantages of real-time monitoring data of aircraft engines are not fully utilized; Because the deep learning network can’t be explained, the RUL prediction model can only be used as a black box, and the problems in the use of aircraft engines can’t be found through the prediction results; In some RUL prediction models, complex signal processing is needed to extract features artificially in advance, which fails to give full play to the features of deep model learning. In order to effectively provide reliable RUL information for PHM system to better manage the aircraft engines and reduce the maintenance cost, we propose an improved CNN-LSTM aircraft engine RUL prediction method based on convolutional block attention module (CBAM). This method firstly learns all the data in one cycle of aircraft engine by two dimensional convolutional neural network, extracts the potential relationship between feature sequences to generate a feature map, then deduces the attention weight along the two dimensions of spatial and channel by CBAM, and multiplies it with original feature map to adjust the features adaptively. Finally, LSTM has a good learning ability to time series information to predict aircraft engine. Compared with other methods, this RUL prediction model has higher prediction accuracy. In addition, our model can analyze the effect of the original input data on the final prediction result by visualizing the attention weight, and provide suggestions for the use and maintenance of aircraft engines. Our work is arranged as follows. Section 2 briefed the basic theories needed to build the model described respectively. Section 3 introduced the structure of our RUL prediction model in detail. The experiment is carried out through C-MPASS simulation data, and the experimental results are discussed in Section 4. In Section 5, a summary is given.

Theoretical methods

Convolutional Neural Network (CNN)

CNN is a special multi-layer perceptron (MLP), which has the traits of local connection and weight sharing. Because of its advantages in image processing, it is widely used in computer vision, image classification and other applications (Zhou, 2020). CNN can be divided into one dimensional, two dimensional and three dimensional CNN (1-D CNN, 2-D CNN and 3-D CNN). We mainly use 2-D CNN, which usually includes convolution layer, activation layer and pooling layer. Figure 1 shows a simple convolutional neural network.
Figure 1

The network structure of convolutional neural network.

The crucial part of CNN is convolution layer. Convolution layer convolves input data through local connection and weight sharing, and its function is to extract features by shifting convolution filters on original data. Convolution filter is also called receptive field. Convolution filter moves along all dimensions of input data, calculates the weight and the dot product of input, and then adds bias to realize convolution operation. The specific convolution operation is: where w and b ∈ R represent the weight and bias of the m-th filter, respectively, and their sizes h × w are specified when designing the network, x is the n-th region of the input data, and y is the convolution output of the filter. As can be seen from Eq. (1), each convolution filter can generate a corresponding feature map. When multiple filters are specified in a convolution layer, a corresponding number of feature maps can be generated, and the output of the convolution layer can be obtained by stacking all the feature maps in the channel dimension. The role of activation function is to introduce nonlinear factors to enhance the feature expression ability of the model. At present, the Rectified Linear Unit (ReLU) is the most versatile and effective activation function (Dubey & Chakraborty, 2021), which can improve the network sparsity and reduce the network over-fitting. The expression of ReLU is: where x is the input of the activation function. The role of pooling layer is to gradually shrink the feature space size, decrease the amount of parameters of the network and speed up the calculation. The pooling layer is similar to the convolution layer, and it is also performed by filters. The difference is that the filters of the pooling layer do not perform convolution operation on the input data, but perform pooling operation, which is also called downsamples. Generally, the pooling layer can be divided into average pooling layer and max pooling layer. The average pooling layer is to extract the average value from the filter, and The max pooling layer is to extract the max value from the filter. The existing studies indicate that the max pooling layer is preferable in model training (Raj & Kannan, 2022).

Convolutional block attention module (CBAM)

Attention mechanism is a data processing method in deep learning, which can learn how different parts of the input affect the output (Chaudhari et al., 2021). CBAM is a kind of attention mechanism which could be used in CNN. CBAM is designed as a simple and competent module to be applied to CNN (Woo et al., 2018). Figure 2 shows the structure of CBAM. CBAM is composed of the Channel Attention Module (CAM) and Spatial Attention Module (SAM). CAM and SAM can perform attention operations in the channel and spatial respectively. This structure design enables CBAM to be quickly combined with existing model, saving parameters and computing resources.
Figure 2

The network structure of CBAM.

As shown in Fig. 3, the CAM firstly performs global average pooling and global max pooling on the input data map D(h × w × c) to output two vectors of size 1 × 1 × c, and inputs them into two-layer MLP respectively which has c/r neurons in the first layer ,where r is reduction rate and c neurons in the second layer. The parameters of these two-layer MLP are shared. Next, add up the outputs of MLP by elements. After that, the result will be activated by sigmoid function to obtain the channel attention A. Finally, A and D are multiplied by elements to obtain the weighted output D′.D′, and the D′ is input of SAM.
Figure 3

Channel attention module.

The channel attention mechanism can be expressed by the formula: where Pmax and P are the results of global max pooling and global average pooling of input features, σ is sigmoid activation function, W0 and W1 are the weights of the first and second layers of MLP, and their sizes are c/r × c and c × c/r respectively. As shown in Fig. 4, the SAM uses the data map D′ as input which is the output of CAM, and gets two feature maps with the size of h × w × 1 through max pooling and average pooling operation in channel, and takes these two feature maps as input of convolution layer containing a filter. And the output is activated by sigmoid to get spatial attention A. Finally, D′ is multiplied with A to get the final feature.
Figure 4

Spatial attention module.

The spatial attention can be expressed as: where f is convolution operation, maxpool and avgpool are max pooling and average pooling respectively.

Long and short term memory network (LSTM)

Unlike the general forward feedback network, LSTM is a idiosyncratic kind of recurrent neural network (RNN) (Livieris, Pintelas & Pintelas, 2020). Compared with RNN, LSTM can analyze the input in time series, and it can solve the problem of long-term dependence of the series, avoiding the problems of gradient disappearance and gradient explosion, so it can be used for the analysis of long-term data (Jang et al., 2020). Figure 5 shows the internal structure of an LSTM unit which can be mainly divided into three parts: forget gate, input gate, output gate. In each unit, the cell state C and the output hidden state h will be updated through the 3 internal gates. The forget gate determines the forgotten message f according to the input x and the previous hidden state h, the input gate selects the candidate memory message through the input control i to determine the updated content of the previous state C, and the output gate determines the hidden state h that the current cell state passes to the next cell through the output control o.
Figure 5

Network structure of LSTM.

The specific calculation process in LSTM network unit is as follows: where f, i, c, o are the weights of f, i, , o respectively, and f, i, c, o are the biases of f, i, , o respectively, tanh is tanh activation function.

Proposed methodology

Our proposed RUL prediction model contains a variety of deep learning layers. Figure 6 shows the network structure of our model. First, input data is converted into the data map as shown in Fig. 6, and then the CNN module will extract the features of the input data firstly. In this process, we use three CNN blocks with the same structure. In addition, we introduce the batch normalization layer into the CNN network, its function is to independently normalize the small batch data of all observations in each channel, improve the training speed and effect of CNN and reduce the influence of initialization parameters on training process. Then, the CBAM module infers attention, and carries out adaptive weighting processing. Finally, the obtained feature map is input into LSTM network to mine the hidden relationship between features and service time. Finally, the predicted RUL value is obtained through a fully connected layer and activated by sigmoid function.
Figure 6

The network structure of the proposed method.

The above is the design process of our model. For the training, verification and deployment of the model, our process is shown in Fig. 7. After the design of our model is completed, the training data set and test data set should be prepare after. Training data is used as input data to train RUL prediction model and get the trained model. After that the trained model will be verified with the test data, and the performance will be evaluated by the specified evaluation method. If the trained model can meet the available standards, we can deploy the model to the aircraft fleet. After each flight, we collect the real-time monitoring data for the same preprocessing, and input it into the RUL prediction model. And then according to the prediction results and the set maintenance threshold, we can make a reasonable decision on engine maintenance, and improve the accuracy of aircraft engine maintenance activities.
Figure 7

Realization process of aircraft engine RUL prediction with proposed method.

Experimental study

Dataset description

The dataset used in our experiment is the latest Aircraft Engine Run-to-Failure data set published by NASA Ames Research Center in 2020. The dataset was obtained through C-MPASS platform which could simulate the working process of turbofan aircraft engine, its structure is shown in Fig. 8. Compared with the previous run-to-failure trajectories, it considered the performance degradation behavior of the aircraft engine in real flight conditions, and recorded all the flight environment parameters, operation data and degradation data (Chao et al., 2021).
Figure 8

Schematic representation of C-MAPSS model (Chao et al., 2021).

In order to compare with other methods, we use DS02, the most widely used data set in this data set, which contains the run-to-failure simulation data of nine engines, of which six (unit =2,5,10,16,18,20) are the training set data and three (unit =11, 14, 15) are the test set data. The recorded data of each engine contains four scenario descriptors (W), 13 measured physical properties (X), 18 virtual sensors data (X) and 10 model health parameters (θ). Table 1 shows the description of monitoring parameters. The units are divided into three flight classes (Flight class 1, Flight class 2, and Flight class 3) according to the length of operation time (short-length flights, medium-length flights, and long-length flights). Figure 9 shows the working conditions of different flight classes of engines in the flight envelope, and the green area in the figure is the flight envelope of the engine.
Table 1

The description of aircraft engine measurement data.

SymbolDescriptionUnits
1altAltitudeft
2MachFlight Mach number
3TRAThrottle-resolver angle%
4T2Total temperature at fan inlet° R
5WfFuel flowpps
6NfPhysical fan speedrpm
7NcPhysical core speedrpm
8T24Total temperature at LPC outlet° R
9T30Total temperature at HPC outlet° R
10T48Total temperature at HPT outlet° R
11T50Total temperature at LPT outlet° R
12P15Total pressure in bypass-ductpsia
13P21Total pressure at fan outletpsia
14P24Total pressure at LPC outletpsia
15Ps30Static pressure at HPC outletpsia
16P40Total pressure at burner outletpsia
17P50Total pressure at LPT outletpsia
18T40Total temp. at burner outlet° R
19P30Total pressure at HPC outletpsia
20P45Total pressure at HPT outletpsia
21W21Fan flowpps
22W22Flow out of LPClbm/s
23W25Flow into HPClbm/s
24W31HPT coolant bleedlbm/s
25W32HPT coolant bleedlbm/s
26W48Flow out of HPTlbm/s
27W50Flow out of LPTlbm/s
28eprEngine pressure ratio (P50/P2)
29SmFanFan stall margin
30SmLPCLPC stall margin
31SmHPCHPC stall margin
32NRfCorrected fan speedrpm
33NRcCorrected core speedrpm
34PCNfRPercent corrected fan speedpct
35phiRatio of fuel flow to Ps30pps/psi
36fan_eff_modFan efficiency modifier
37fan_flow_modFan flow modifier
38LPC_eff_modLPC efficiency modifier
39LPC_flow_modLPC flow modifier
40HPC_eff_modHPC efficiency modifier
41HPC_flow_modHPC flow modifier
42HPT_eff_modHPT efficiency modifier
43HPT_flow_modHPT flow modifier
44LPT_eff_modLPT efficiency modifier
45LPT_flow_modHPT flow modifier
Figure 9

Flight envelope.

Figure 10 shows the kernel density estimations of scenario descriptors (W) of each engine. From the distribution, we can see that the working environment of different engines is different. Especially, compared with other engines, the working altitude of unit14 is lower. Under this more realistic condition, the RUL of the aircraft engine is harder to predict.
Figure 10

Kernel density estimations of scenario descriptors of different aircraft engines.

Experimental process

Data preprocessing

The preprocessing of the monitoring data includes slicing and normalization. Slicing refers to selecting a part of the recorded data of the aircraft engine as the input data of RUL prediction. This is because the monitoring data of aircraft engine in one service cycle contains a large amount of repeated and redundant information. We divide it into 400 copies equally according to the total time in one service cycle, and the data of the corresponding time is extracted and recombined into input data, which can ensure that the input data can describe the RUL information of the aircraft engine, reduce the computing resources and improve the learning speed. In order to eliminate the training error caused by different measuring units of monitoring data, we normalize the data monitored by different sensors. The normalization method adopted in this article is Min-Max normalization, and the calculation formula is: d, d are the maximum and minimum value of the variable, and d, are the original and normalized values of the variable.

Evaluation metric

In order to quantify the performance of our proposed RUL prediction model, we select the RMSE and Score to measure the prediction accuracy of the model (Custode et al., 2022). RMSE is the root mean square error, which is often used as a measure of error in deep learning models, and can reflect the overall deviation between the predicted RUL and true RUL. It can be expressed as following formula: where R is the ith engine predicted value of RUL , R is the ith engine true value of RUL, and n is the number of predicted RUL. Score function is an evaluation function designed by the data set provider. The lower the score, the better the prediction effect of the model. Its mathematical expression is:

Parameter settings of the model

In our prediction model, some parameters of network layers need to manually set, e.g., the size and number of filters in convolution layer. For C-MPASS data set, the parameter settings of some network layers in our RUL prediction model are shown in Table 2. Under this setting, there are about 3 × 106 learnable parameters in our network.
Table 2

RUL prediction model parameter setting.

Layer name Parameters
SequenceInput Layersize: (400,42,1)
Convolution_2d layer 1filter size: (10, 3); number of filters: 10; step size: (10, 3)
Maxpooling_2d Layer 1filter size: (5, 5); padding: same
Convolution_2d layer 2filter size: (3, 3); number of filters: 10
Maxpooling_2d Layer 2filter size: (5, 5); padding: same
Convolution_2d layer 3filter size: (5, 5); number of filters: 10
Maxpooling_2d Layer 3filter size: (5, 5); padding: same
Channel attention Layernumber of channels: 10; reduction rate: 2
Spatial attention Layerfilter size: (3, 3)
Lstm Layernumber of hidden units: 128
FullyConnected Layeroutput size: 1
As for the setting of training options, we set the number of iterations to 400, optimize the network parameters by using the adaptive moment estimation (Adam) optimization algorithm, and the batch size is six, the initial learning rate is 0.01, and set the gradient threshold to two to prevent the gradient explosion.

Experimental results and analysis

Comparison and discussion of prediction results

After the training process, input the test set data into the trained model and get the predicted RUL values. Figure 11 shows our RUL prediction results. As shown in Fig. 11, the predicted RUL values of our RUL prediction model are generally distributed near the true values during the whole aircraft engine service life. Therefore, our model can be applied to predict aircraft engine RUL, and the prediction results can provide reliable suggestions for the use and maintenance of aircraft engines.
Figure 11

RUL prediction result of test data set.

After the RUL prediction result is obtained, the result is evaluated by the evaluation function provided previously to quantify the model performance. In addition, we also use MLP, FNN, CNN and CNN-LSTM (Kong et al., 2019) to predict the test data set. The comparison results are shown in Table 3. Judging from the comparison results in the table, our improved CNN-LSTM based on CBAM prediction model has better performance. Its Score is improved by about 25.9% and its RMSE is reduced by 17.4% compared with other best methods.
Table 3

Performance comparison with other neural network methods.

Method RMSE Score (×105)
MLP8.3413.43
FNN7.899.21
CNN7.147.60
CNN-LSTM6.667.80
Ours 5.50 5.78

Analysis of prediction process

In the process of RUL prediction, different variables have different influences on the prediction results in the input data map, and this difference can be described by CBAM’s spatial attention in our model. Therefore, we extracted the spatial attention matrix in the 5th, 15th, 25th, 35th, 45th and 55th cycles of unit 11, mapped it into the size of the input data, and the result is displayed in the form of the hot map in Fig. 12.
Figure 12

Visualization of spatial attention.

In the figure, we are able to distinctly see that the weights of different variables are obviously different. A larger weight means that the network will focus more on the changes of the corresponding variables in RUL prediction, while a smaller weight means the opposite. We found four variables with the largest weights, namely HPT_eff_mod, HPT_flow_mod, LPT_eff_mod and LPT_flow_mod, and showed the changes of their values with the service time in Fig. 13. The results show that in the whole life cycle, the changes of the values of most variables are strongly correlated with the service time, so their values also reflect the health of aircraft engines to some extent.
Figure 13

Traces of the degradation imposed on the the four variables.

Conclusions

This article presents an enhanced RUL prediction method of aircraft engine based on CBAM. It mainly combines CBAM attention mechanism in the CNN-LSTM network. The experimental verification is carried out by C-MPASS engine degradation data set, and the following conclusions are obtained: The CNN-LSTM network with attention mechanism has better feature extraction ability and time series analysis ability. Compared with the existing methods, it can analyze all the data of aircraft engine running under different working conditions. The experimental results indicate that the performance of the proposed prediction model is good, and most of predicted RUL values are near the true RUL values, which has high feasibility. Compared with the current methods with high prediction accuracy, the RMSE of our method decreased by 17.4%, and the score of the prediction model was improved by 25.9%; CBAM module can effectively find the key variables that reflect the health condition of aircraft engine. By paying more attention to these key variables, the CNN-LSTM network can have better prediction accuracy. Furthermore, CBAM makes the model interpretable to some extent, which can provide some help for sensor arrangement and troubleshooting of aircraft engines; Our proposed RUL prediction method doesn’t involve any analysis on aircraft engine composition, fault mechanism, etc., so the model can be deployed and applied quickly. The RUL information provided by our method can assist the maintenance management system to make decisions, in order to ensure the reliability of the aircraft engine and reduce the maintenance cost.
  3 in total

1.  Deep learning-based anomaly-onset aware remaining useful life estimation of bearings.

Authors:  Pooja Vinayak Kamat; Rekha Sugandhi; Satish Kumar
Journal:  PeerJ Comput Sci       Date:  2021-11-26
  3 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.