A method for predicting maintenance time of key parts of aircraft engines

Deep learning technology is used to integrate multiple data types of aircraft engines, and the multi-head sparse self-attention coding module is used to predict the maintenance time of key parts of the engine. This solves the problem of insufficient prediction accuracy and efficiency in the existing technology and achieves more accurate and timely results. Maintenance time prediction.

CN114332474BActive Publication Date: 2024-08-27CHINA JILIANG UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111411750.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2024-08-27
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively utilize the heterogeneous time series feature data and image data of aircraft engines to predict the maintenance time of key parts. Especially when there are few samples in case of failure, the prediction accuracy and efficiency are insufficient.

Method used

A long-term series prediction model based on deep learning is used to fuse the static attribute data, dynamic time series data, historical time series data and image data of the aircraft engine, and the multi-head sparse self-attention coding module and fully connected network are used to predict the key points of the engine. Part maintenance time.

Benefits of technology

It achieves accurate prediction of the maintenance time of key parts of the aircraft engine, improves the prediction effect, provides timely maintenance reminders and updates the model in case of failure, and improves maintenance efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114332474B
    Figure CN114332474B
Patent Text Reader

Abstract

A method for predicting the maintenance time of key parts of an aircraft engine, the specific steps of which include: obtaining aircraft engine data, which is divided into static attribute data, dynamic time series data, historical time series data and image data; splicing the dynamic time series data and the historical time series data to obtain a long time series data x, and adding the data at each moment in x to obtain x′ t ; The image data is processed to obtain the corresponding vector p t , p t and x′ t After adding, we get the encoder input vector z0; z0 is sent to the encoder to get the feature vector, and combined with the parameter vector in the encoder to output the predicted feature vector p out ; The static attribute data is processed to obtain the corresponding vector s′, and p out Add s′ and input into the fully connected network to obtain the predicted state of the key parts of the engine. Subtract the predicted fault time from the current time to obtain the predicted maintenance time of the key parts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of deep learning time series prediction, and in particular relates to a method for predicting the maintenance time of key parts of an aircraft engine based on a long time series prediction model. Background Art

[0002] Aircraft health management mainly involves accurate monitoring, diagnosis and evaluation of the health status of its key parts, and the formulation of scientific and reasonable aircraft maintenance strategies to control maintenance costs, improve safety rates, reduce flight delays, and ensure flight punctuality. Technically, commercial aircraft engines will generate a large amount of heterogeneous time series feature data (data generated by various sensors) and non-time series feature data (production date, operating status, last maintenance time, etc.) during operation. In addition to time series data, image data can sometimes more intuitively reflect the engine operating status. In addition, the failure rate of aircraft engines is low, and there are fewer engine sensor parameter samples when failure occurs. Therefore, the research idea is mainly to focus on combining image information and sensor information into a new long time series and designing a maintenance time prediction method for key parts of aircraft engines based on a long time series prediction model. Summary of the invention

[0003] The present invention overcomes the shortcomings of the prior art and proposes a method for predicting the maintenance time of key parts of an aircraft engine based on a long time series prediction model. It aims to use deep learning, time series data processing and other technologies to analyze sensor data and engine image data to predict the maintenance time of key parts of an aircraft engine.

[0004] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme:

[0005] A method for predicting maintenance time of key parts of an aircraft engine, the specific steps of which include:

[0006] Step (1): Obtain aircraft engine data and divide the aircraft engine data into static attribute data s, dynamic time series data e, and historical time series data h according to their characteristics. i ,i∈[0,n-1] and image data p;

[0007] Step (2): Combine dynamic time series data e and historical time series data h i , i∈[0,n-1] is spliced ​​in the order of flight times to obtain the long time series data x, and the data at each moment in x is embedded and position-coded and then added to obtain x′ t ,t∈[0,n]; the engine image data p is obtained by downsampling feature extraction network and x′ t Image feature vector p of the same length t ,t∈[0,n], and p t and x′t The vectors of the corresponding time period positions are added together to obtain the encoder input vector z0;

[0008] Step (3): Send the encoder input vector z0 to the encoder formed by stacking multiple sparse self-attention encoding modules to obtain the feature vector z′, and combine the parameter vector obtained in the encoder to output the predicted feature vector p out ; The static attribute data s is passed through the feedforward neural network to obtain the static attribute feature vector s′, and p out The sum of s and s′ by element position is used as the input of the fully connected network, and finally the predicted state of the key parts of the engine at each moment in the future is obtained. The predicted maintenance time of the key parts can be obtained by subtracting the predicted fault time from the current time.

[0009] Furthermore, the method further includes step (4): if the predicted maintenance time is less than the warning value d1, the predicted information is transmitted to the maintenance department, and the predicted data is screened and cleaned and then put into the training data set for updating the model.

[0010] Furthermore, in step (1), the aircraft engine data acquisition is to retrieve from the database the data generated by the engine sensors during the previous flights of the aircraft and the relevant attribute parameters of the corresponding aircraft engine, and to collect the data generated by the engine sensors in real time during the operation of the aircraft, and to take images of the outside of the aircraft engine after the aircraft lands.

[0011] Furthermore, the static attribute data s in step (1) are the relevant attribute parameters of the aircraft engine, including the last maintenance date and the engine factory date. The dynamic time series data e includes the engine vibration data, the overall drive generator data, the fuel flow rate and other sensor data recorded by the flight sensor. The historical time series data h i ,i∈[0,n-1] includes the time series data generated by the engine sensor during the previous n flights, and the image data p includes the external images of the aircraft engine.

[0012] Furthermore, the encoder in step (3) is implemented as follows:

[0013] Multi-head sparse self-attention mechanism: Each bit in the encoder input vector z0 is a data vector, that is

[0014]

[0015]

[0016] With the parameter matrix W q , W k , W v After multiplying them respectively, we get the query vector q, key vector k, and value vector v, and randomly sample U = LK LqCy Q query vectors q to calculate the sparse metric for each q Right now

[0017]

[0018] The parameter matrix W q , W k , W v The number of rows is equal to The length of the matrix is ​​equal to the length of the query vector q, the key vector k, and the value vector v, and the internal parameters of the matrix are randomly initialized at the beginning of training; d is the vector q i and k j Length, L K is the k in K matrix j The number of vectors, L Q is the q in the Q matrix i The number of vectors;

[0019] Select u=c·lnL Q indivual The matrix with the highest value of q The rest of the matrix positions are set to 0, and the self-attention calculation method is

[0020]

[0021] Execute each self-attention module multiple times simultaneously and let U be randomly sampled each time to form a multi-head sparse self-attention mechanism;

[0022] The encoder input vector z0 undergoes multiple one-dimensional convolutions at input to reduce the input dimension to the original Multiple data of different scales are input into the corresponding network branches at the same time, and finally the output of each branch is concatenated to obtain the final encoding result z′.

[0023] Furthermore, the self-attention distillation in the multi-head sparse self-attention mechanism is as follows: a one-dimensional convolution and a maximum pooling layer are connected after each sub-attention module to reduce the output size of the self-attention module to half of the original size, that is,

[0024]

[0025] in It represents the j-th multi-head sparse self-attention operation on the r-th branch, Conv1d represents the one-dimensional convolution in the time dimension, and MaxPool is the maximum pooling layer.

[0026] Furthermore, the decoder in step (3) is implemented as follows:

[0027] The encoder output z′ and Wv and W k The first set of input matrices K and V of the decoder are obtained by multiplying the parameter matrices, and x is sampled from the encoder input z0. token , and then concatenate a long sequence x0 to form the second set of input [x token ,x0], where each bit in x0 is initialized to 0, and the length of the x0 sequence is the same as the length of the final predicted target sequence; token ,x0] is input into the multi-head sparse self-attention module to calculate the Q matrix, which is combined with the first set of input matrices K and V to form the input of the subsequent multi-head self-attention module; the multi-head self-attention is

[0028]

[0029] The multi-head self-attention module is followed by a fully connected layer, and the decoder finally outputs the predicted feature vector p out .

[0030] Furthermore, the aircraft engine key parts maintenance time prediction network in step (2) and step (3) is trained as follows:

[0031] Step (3.1) Data preparation: The training data is annotated by the computer. The annotated information is the status of the key parts of the aircraft engine, that is, (c1, c2, c3, ..., c n ), where c1 represents the predicted state of the variable bleed valve, c1=0 represents that the variable bleed valve is normal, c1=1 represents that the variable bleed valve is faulty and needs to be replaced, c2 and c3 represent the predicted state of the engine starter and the predicted state of the fuel metering valve respectively; the labeled data samples are divided into a training set, a validation set, and a test set according to 8:1:1;

[0032] Step (3.2) Network structure design: The algorithm uses a downsampling feature extraction network composed of stacked convolutional layers to extract image features and represent them in vector form. It uses embedding and position encoding to enhance the correlation between sequence data. The position encoding is expressed as:

[0033]

[0034] Where pos is the position of the data in the long sequence, 2j and 2j+1 represent different dimensions, and v model Represents the vector dimension after each data is embedded, L x Indicates the length of the input long time series x;

[0035] The backbone network uses the encoding-decoding method to calculate the attention between each position data and the other position data in the long time series, and finally uses the fully connected network to predict the state of the key parts of the engine;

[0036] Step (3.3) Training: Input is dynamic time series data e and historical time series data h i ,i∈[0,n-1], image data p, static attribute data s, input sampling data [x token ,x0], the learning rate is 10 -4 , each epoch reduces the learning rate to half of the original one, and uses the Adam optimizer for optimization;

[0037] Step (3.4) Model testing: input image data and time series data, and output the predicted status and predicted maintenance time of key engine parts.

[0038] Furthermore, the specific steps of data screening, cleaning and model updating in step (4) are as follows:

[0039] Step (4.1): First, use the traditional method to let the computer automatically label to obtain the first training data set;

[0040] Step (4.2): Use the first training data set to train the first model, and let the traditional detection method participate in the judgment each time the model performs the last step of judging the status of the key parts of the engine;

[0041] Step (4.3): If the detection results of the deep learning model and the traditional detection method are the same, the data with the same detection results will be put into the training data set for later model updates; if the detection results of the deep learning model and the traditional detection method are different, the data with different detection results will be manually cleaned and labeled and stored in the training data set for model updates and iterations.

[0042] The beneficial effects of the present invention are as follows: it is possible to utilize deep learning, time series data processing and other technologies to analyze sensor data and engine image data to predict the maintenance time of key parts of an aircraft engine, and the prediction effect is good. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a flow chart of the present invention.

[0044] Figure 2 It is a schematic diagram of the encoder structure of the present invention.

[0045] Figure 3 It is a schematic diagram of the decoder structure of the present invention. DETAILED DESCRIPTION

[0046] The present invention is further described below in conjunction with specific embodiments, but the present invention is not limited to these specific embodiments. Those skilled in the art should recognize that the present invention covers all possible alternatives, improvements and equivalents within the scope of the claims.

[0047] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are 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 operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, the meaning of "multiple" is two or more, unless otherwise clearly defined.

[0048] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0049] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.

[0050] See also Figure 1 This embodiment provides a method for predicting the maintenance time of key parts of an aircraft engine, and the specific implementation mainly includes the following steps:

[0051] Step (1): retrieve the data generated by the engine sensors during the previous flights of the aircraft and the relevant attribute parameters of the corresponding aircraft engines from the database. The data generated by the engine sensors are collected in real time during the operation of the aircraft, and images of the outside of the aircraft engine are taken after the aircraft lands. The aircraft engine data is divided into static attribute data s (relevant attribute parameters of the aircraft engine: the last maintenance date, the engine factory date, etc.), dynamic time series data e (engine vibration data recorded by the flight sensor, overall drive generator data, fuel flow and other sensor data, etc.), and historical time series data h according to the characteristics. i ,i∈[0,n-1] (the time series data generated by the engine sensor during the previous n flights) and the image data p (the external image of the aircraft engine).

[0052] Step (2): Dynamic time series data e and historical time series data h i , i∈[0,n-1] is spliced ​​in the order of flight times to obtain the long time series data x, and the data at each moment in x is embedded and position-coded and then added to obtain x′ t ,t∈[0,n](this flight data vector plus the previous n historical flight data vectors). The engine image data p is obtained by downsampling feature extraction network and is consistent with x′ t Image feature vector p of the same length t ,t∈[0,n](the feature vector of the aircraft engine casing image this time and the feature vector of the engine casing image taken n times before), t and x′ t The encoder input vector z0 is obtained by adding the vectors of the corresponding time period positions.

[0053] Step (3): Send z0 to the encoder formed by stacking multiple sparse self-attention encoding modules to obtain the feature vector z′, and combine the parameter vector obtained in the encoder to output the predicted feature vector p out The static attribute data s is fed through a feedforward neural network to obtain the static attribute feature vector s′. out The sum of s′ by element position is used as the input of the fully connected network, and finally the predicted state of the key parts of the engine at each moment in the future is obtained. The predicted maintenance time of the key parts (the remaining flight hours of engine starter, starter air valve, instantaneous bleed valve, etc.) can be obtained by subtracting the time when the fault is predicted from the current time.

[0054] The encoder is as follows Figure 2 As shown in the implementation:

[0055] Multi-head sparse self-attention mechanism: Each bit in z0 is a data vector, that is

[0056]

[0057] With the parameter matrix W q , W k , W v After multiplying them respectively, we get the query vector q, key vector k, and value vector v, and randomly sample U = L K LqCy Q query vectors q to calculate the sparse metric for each q (Used to determine whether the distribution of q of each element in the sequence after multiplication with other k points is far from the average distribution. The larger the value).

[0058]

[0059] The parameter matrix W q , W k , W v The number of rows is equal to The length of the matrix is ​​equal to the length of the query vector q, the key vector k, and the value vector v, and the internal parameters of the matrix are randomly initialized at the beginning of training; d is the vector q i and k j Length, L K is the k in K matrix j The number of vectors, L Q is the q in the Q matrix i The number of vectors;

[0060] Select u=c·lnL Q indivual The matrix with the highest value of q The rest of the matrix positions are set to 0, and the self-attention calculation method is

[0061]

[0062] Each self-attention module 1 is executed multiple times at the same time and U is randomly sampled each time, forming a multi-head sparse self-attention mechanism. z0 is input through multiple one-dimensional convolutions 2 to reduce the input dimension to the original Multiple data of different scales are input into the corresponding network branches at the same time, and finally the output of each branch is concatenated to obtain the final encoding result z′.

[0063] Self-attention distillation: A one-dimensional convolution 2 and a maximum pooling layer 3 are connected after each sub-attention module 1 to reduce the output size of the self-attention module 1 to half of the original size, that is,

[0064]

[0065] in It represents the j-th multi-head sparse self-attention operation on the r-th branch, Conv1d represents the one-dimensional convolution (convolution kernel size = 3) performed in the time dimension, and MaxPool is the maximum pooling layer.

[0066] The decoder is implemented as shown in 3:

[0067] The encoder output z′ and W v and W k The parameter matrices are multiplied to obtain the first set of input matrices K and V for the decoder. Sampling from the encoder input z0 obtains x token , and then concatenate a long sequence x0 to form the second set of input [x token ,x0], where each bit in x0 is initialized to 0, and the length of the x0 sequence is the same as the length of the final predicted target sequence. token ,x0] is input into the multi-head sparse self-attention module 4 to calculate the Q matrix, which is combined with the first set of input matrices K and V to form the input of the subsequent multi-head self-attention module 5. The multi-head self-attention is

[0068]

[0069] The multi-head self-attention module 5 is followed by a fully connected layer 6, and the decoder finally outputs the predicted feature vector p out .

[0070] The aircraft engine key parts maintenance time prediction network in step (2) and step (3) of this embodiment is trained as follows:

[0071] Step (3.1) Data preparation: Since aircraft engine sensors generate a large amount of data, it is time-consuming and laborious to manually label all the data. The training data is labeled by the computer using the existing traditional method. The labeled information is the status of the key parts of the aircraft engine, that is, (c1, c2, c3, ..., c n ), where c1 represents the predicted state of the variable bleed valve, c1=0 represents the normal state of the variable bleed valve, c1=1 represents the fault of the variable bleed valve and needs to be replaced, c2, c3... respectively represent the predicted state of the engine starter and the predicted state of the fuel metering valve, etc. The labeled data samples are divided into training set, validation set, and test set according to 8:1:1.

[0072] Step (3.2) Network structure design: The algorithm uses a downsampling feature extraction network composed of stacked convolutional layers to extract image features and represent them in vector form. It uses embedding and position encoding to enhance the correlation between sequence data. The position encoding is expressed as:

[0073]

[0074] Where pos is the position of the data in the long sequence, 2j and 2j+1 represent different dimensions, and v model Represents the vector dimension after each data is embedded, L x Represents the length of the input long time series x.

[0075] The backbone network uses the encoding-decoding form to calculate the attention between each position data and the other position data in the long time series, and finally uses the fully connected network to predict the state of the key parts of the engine.

[0076] Step (3.3) Training: Input is dynamic time series data e and historical time series data h i ,i∈[0,n-1], image data p, static attribute data s, input sampling data [x token ,x0], the learning rate is 10 -4 , the learning rate is reduced to half of the original in each epoch, and the Adam optimizer is used for optimization.

[0077] Step (3.4) Model testing: input image data and time series data, and output the predicted status and predicted maintenance time of key engine parts.

[0078] Step (4): If the predicted maintenance time is less than the warning value d1, the prediction information is passed to the maintenance department, and the predicted data is screened and cleaned and put into the training data set for updating the model.

[0079] Data screening, cleaning and model updating are carried out as follows:

[0080] Every time the aircraft flies, the engine sensors will generate a large amount of data. Manual labeling is time-consuming and laborious. In order to train the first model, the traditional method is used to let the computer automatically label to obtain the first training data set. The first model is trained with the first training data set, but because it is a training data set labeled with traditional methods, continuous use will cause the model's effect to tend to the traditional prediction method. In order to improve the generalization ability of the model, each time the model performs the last step to determine the status of the key parts of the engine, the traditional detection method is allowed to participate in the judgment. If the deep learning model and the traditional detection method have the same detection results, this part of the data is put into the training data set for later model updates; if the deep learning model and the traditional detection method have different detection results, the data is manually cleaned and labeled and stored in the training data set for model updates and iterations to improve the model prediction effect.

Claims

1. A method for predicting maintenance time of key parts of an aircraft engine, the specific steps of which include: Step (1): Obtain aircraft engine data and divide the aircraft engine data into static attribute data s, dynamic time series data e, and historical time series data h according to their characteristics. i , i∈[0,n-1] and image data p; Step (2): Combine dynamic time series data e and historical time series data h i , i∈[0, n-1] are spliced ​​in the order of flight times to obtain long time series data x, and the data at each moment in x are embedded and position encoded and then added to obtain x′ t , t∈[0,n]; the engine image data p is obtained by downsampling feature extraction network and x′ t Image feature vector p of the same length t , t∈[0,n], p t and x′ t The vectors of the corresponding time period positions are added together to obtain the encoder input vector z0; Step (3): Send the encoder input vector z0 to the encoder formed by stacking multiple sparse self-attention encoding modules to obtain the feature vector z′, and combine the parameter vector obtained in the encoder to output the predicted feature vector p out ; The static attribute data s is passed through the feedforward neural network to obtain the static attribute feature vector s′, and p out The sum of s and s′ by element position is used as the input of the fully connected network, and finally the predicted state of the key parts of the engine at each moment in the future is obtained. The predicted maintenance time of the key parts can be obtained by subtracting the predicted fault time from the current time.

2. The method for predicting maintenance time of key parts of an aircraft engine according to claim 1, characterized in that: The method also includes step (4): if the predicted maintenance time is less than the warning value d1, the predicted information is transmitted to the maintenance department, and the predicted data is screened and cleaned and then put into the training data set for updating the model.

3. The method for predicting maintenance time of key parts of an aircraft engine according to claim 1, characterized in that: The aircraft engine data acquisition in step (1) is to retrieve the data generated by the engine sensors during the previous flights of the aircraft and the relevant attribute parameters of the corresponding aircraft engine from the database, and collect the data generated by the engine sensors in real time during the operation of the aircraft, and take images of the outside of the aircraft engine after the aircraft lands.

4. The method for predicting maintenance time of key parts of an aircraft engine according to claim 2, characterized in that: In step (1), the static attribute data s are the relevant attribute parameters of the aircraft engine, including the last maintenance date and the engine factory date. The dynamic time series data e includes the engine vibration data, the overall drive generator data, and the fuel flow sensor data recorded by the flight sensor. The historical time series data h i , i∈[0,n-1] includes the time series data generated by the engine sensor during the previous n flights, and the image data p includes the external image of the aircraft engine taken.

5. The method for predicting maintenance time of key parts of an aircraft engine according to claim 1, characterized in that: The encoder in step (3) is implemented as follows: Multi-head sparse self-attention mechanism: Each bit in the encoder input vector z0 is a data vector, that is With the parameter matrix W q , W k , W v After multiplying them respectively, we get the query vector q, key vector k, and value vector v, and randomly sample U = L K LqCy Q query vectors q to calculate the sparse metric for each q Right now The parameter matrix W q , W k , W v The number of rows is equal to The length of the matrix and the number of columns are equal to the length of the query vector q, the key vector k, and the value vector v, and the internal parameters of the matrix are randomly initialized at the beginning of training; d is the vector q i and k j Length, L K is the k in K matrix j The number of vectors, L Q is the q in the Q matrix i The number of vectors; Select u=c·lnL Q indivual The matrix with the highest value of q The rest of the matrix positions are set to 0, and the self-attention calculation method is Execute each self-attention module multiple times simultaneously and let U be randomly sampled each time to form a multi-head sparse self-attention mechanism; The encoder input vector z0 undergoes multiple one-dimensional convolutions at input to reduce the input dimension to the original Multiple data of different scales are input into the corresponding network branches at the same time, and finally the output of each branch is concatenated to obtain the final encoding result z′.

6. The method for predicting maintenance time of key parts of an aircraft engine according to claim 5, characterized in that: The self-attention distillation in the multi-head sparse self-attention mechanism is as follows: a one-dimensional convolution and a maximum pooling layer are connected after each sub-attention module to reduce the output size of the self-attention module to half of the original size, that is, in It represents the j-th multi-head sparse self-attention operation on the r-th branch, Convld represents the one-dimensional convolution in the time dimension, and MaxPool is the maximum pooling layer.

7. The method for predicting maintenance time of key parts of an aircraft engine according to claim 5, characterized in that: The decoder in step (3) is implemented as follows: The encoder output z′ and W v and W k The first set of input matrices K and V of the decoder are obtained by multiplying the parameter matrices, and x is sampled from the encoder input z0. token , and then concatenate a long sequence x0 to form the second set of input [x token , x0], where each bit in x0 is initialized to 0, and the length of the x0 sequence is the same as the length of the final predicted target sequence; token , x0] is input into the multi-head sparse self-attention module to calculate the Q matrix, which is combined with the first set of input matrices K and V to form the input of the subsequent multi-head self-attention module; Multi-head self-attention is The multi-head self-attention module is followed by a fully connected layer, and the decoder finally outputs the predicted feature vector p out .

8. The method for predicting maintenance time of key parts of an aircraft engine according to claim 1, characterized in that: The aircraft engine key parts maintenance time prediction network in step (2) and step (3) is trained as follows: Step (3.1) Data preparation: The training data is annotated by the computer. The annotated information is the status of the key parts of the aircraft engine, that is, (c1, c2, c3, ..., c n ), where c1 represents the predicted state of the variable bleed valve, c1=0 represents that the variable bleed valve is normal, c1=1 represents that the variable bleed valve is faulty and needs to be replaced, c2 and c3 represent the predicted state of the engine starter and the predicted state of the fuel metering valve respectively; the labeled data samples are divided into a training set, a validation set, and a test set according to 8:1:1; Step (3.2) Network structure design: The algorithm uses a downsampling feature extraction network composed of stacked convolutional layers to extract image features and represent them in vector form. It uses embedding and position encoding to enhance the correlation between sequence data. The position encoding is expressed as: Where pos is the position of the data in the long sequence, 2j and 2j+1 represent different dimensions, and v model Represents the vector dimension after each data is embedded, L x Indicates the length of the input long time series x; The backbone network uses the encoding-decoding method to calculate the attention between each position data and the other position data in the long time series, and finally uses the fully connected network to predict the state of the key parts of the engine; Step (3.3) Training: Input is dynamic time series data e and historical time series data h i , i∈[0,n-1], image data p, static attribute data s, input sampling data [x token , x0], and the learning rate is 10 -4 , each epoch reduces the learning rate to half of the original one, and uses the Adam optimizer for optimization; Step (3.4) Model testing: input image data and time series data, and output the predicted status and predicted maintenance time of key engine parts.

9. The method for predicting maintenance time of key parts of an aircraft engine according to claim 2, characterized in that: The specific steps of data screening, cleaning and model updating in step (4) are as follows: Step (4.1): First, use the traditional method to let the computer automatically label to obtain the first training data set; Step (4.2): Use the first training data set to train the first model, and let the traditional detection method participate in the judgment each time the model performs the last step of judging the status of the key parts of the engine; Step (4.3): If the detection results of the deep learning model and the traditional detection method are the same, the data with the same detection results are put into the training data set for later model updating; If the detection results of the deep learning model and the traditional detection method are different, the data with different detection results will be manually cleaned and labeled and stored in the training data set for model updating and iteration.