A landing gear performance prediction method based on self-attention ensemble learning

Through the self-attention ensemble learning method, redundant features and invalid features in landing gear performance prediction are eliminated, and through the heterogeneous multi-learner integration framework and weight adaptive adjustment, the efficiency and accuracy of landing gear performance prediction in the existing technology are solved. reduces problems, enabling more efficient and accurate performance predictions.

CN116050547BActive Publication Date: 2024-09-03HARBIN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310063619.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-12
Publication Date
2024-09-03
Estimated Expiration
2043-01-12

AI Technical Summary

Technical Problem

The calculation efficiency and prediction accuracy of existing landing gear performance prediction methods are not high, mainly due to the presence of redundant information and invalid information in high-dimensional parameters, and feature selection and weight allocation problems caused by differences in data distribution.

Method used

Using a method based on self-attention ensemble learning, redundant features and invalid features are eliminated through multiple correlation analysis (MCA), combined with a heterogeneous multi-learner integration framework and weight adaptive adjustment, to improve the accuracy and generalization of landing gear performance prediction. transformation.

Benefits of technology

It improves the calculation efficiency and prediction accuracy of landing gear performance prediction, enhances the generalization ability of the model, can dynamically adjust weights to adapt to changes in data distribution, and is suitable for performance evaluation of complex mechanical structures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116050547B
    Figure CN116050547B
Patent Text Reader

Abstract

A landing gear performance prediction method based on self-attention ensemble learning relates to the field of landing gear performance prediction. The present invention is to solve the problem of low computational efficiency and prediction accuracy in existing landing gear performance prediction methods. The present invention comprises: obtaining key features of the landing gear performance data to be predicted, inputting the key feature data of the landing gear performance data to be predicted into a landing gear performance prediction model to obtain the vertical load of the center of gravity and the vertical displacement of the center of gravity of the landing gear; the landing gear performance prediction model is obtained in the following manner: obtaining the landing gear performance data; using the MCA model to eliminate invalid features and redundant features in the landing gear performance data features, and obtaining the key feature data in the landing gear performance data; using the key feature data to train AMLP to obtain a trained AMLP model; using the grid search method to tune the hyperparameters of the trained AMLP model to obtain a landing gear performance prediction model. The present invention is used to predict landing gear performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of landing gear performance prediction, and in particular to a landing gear performance prediction method based on self-attention ensemble learning. Background Art

[0002] The landing gear is the main supporting component for aircraft takeoff and landing, and its health status is closely related to the flight safety of the aircraft. During the takeoff and landing mission, due to the complex structure of the landing gear, it often bears a large impact, which makes the various parts of the landing gear prone to mechanical failure; on the other hand, due to the changeable working environment, the landing gear structure bears a large load during the takeoff and landing of the aircraft, and the external load is prone to extreme peaks. Accurately evaluating the performance of the landing gear is conducive to ensuring flight safety. Therefore, it is necessary to evaluate the take-off and landing performance of the landing gear in the flight mission in combination with the working parameters and structural parameters to ensure the safety of aircraft operation.

[0003] The existing landing gear performance prediction methods based on machine learning are highly dependent on data, and the feature dimension and data distribution will have a great impact on the prediction effect. On the one hand, the feature dimension of the landing gear is high, and there is redundant information and invalid information; on the other hand, the data of the landing gear is complex and changeable, and there are distribution differences between the training data and the prediction data; the above difficulties lead to low computational efficiency and prediction accuracy of the landing gear performance prediction. Summary of the invention

[0004] The purpose of the present invention is to solve the problems of low computational efficiency and prediction accuracy in existing landing gear performance prediction methods, and to propose a landing gear performance prediction method based on self-attention ensemble learning.

[0005] A landing gear performance prediction method based on self-attention ensemble learning, the specific process is as follows:

[0006] Acquiring key features of the landing gear performance data to be predicted, and inputting the key feature data of the landing gear performance data to be predicted into a landing gear performance prediction model to obtain the center of gravity vertical load and center of gravity vertical displacement of the landing gear;

[0007] The landing gear performance prediction model is obtained by:

[0008] Step 1: Obtain landing gear performance data;

[0009] The landing gear performance data includes: input parameters X1-X15, output parameters Y1'-Y2';

[0010] The input parameters X1-X15 are: wheel vertical displacement, wheel vertical speed, wheel heading displacement, wheel heading speed, strut travel speed, buffer axial load, air spring force, oil damping force, buffer friction force, structural limiting force, strut deformation force, high pressure chamber charging, low pressure chamber punching, tire pressure, equivalent mass;

[0011] The output parameters Y1'-Y2' are: vertical load of the center of gravity, vertical displacement of the center of gravity;

[0012] Step 2: Establish an MCA model, and use the MCA model to eliminate invalid features and redundant features in the landing gear performance data to obtain key feature data in the landing gear performance data;

[0013] Step 3: Establish an AMLP model, and use the key feature data obtained in step 2 to train the AMLP to obtain a trained AMLP model;

[0014] Step 31: Establish the AMLP model:

[0015] The AMLP model includes: a base learner and a weight distribution network;

[0016] The base learner is used to obtain the initial prediction results {Y1, Y2, Y3....Yn} of the landing gear performance according to the key features of the landing gear performance data;

[0017] The weight distribution network is used to sense the distribution state of the initial prediction results of the landing gear, and adjust the weight distribution of the initial prediction results of the landing gear to obtain the final prediction results of the landing gear performance, including a Self attention layer and an MLP network;

[0018] The Self attention layer is used to perceive the distribution state of the initial prediction results of the landing gear performance;

[0019] The MLP network is used to adjust the weight distribution of the initial prediction results according to the distribution state of the initial prediction results of the landing gear performance to obtain the final prediction results of the landing gear performance;

[0020] Step 32: Use the key feature data obtained in step 2 to train AMLP to obtain a trained AMLP model;

[0021] Step 4: Use the grid search method to tune the hyperparameters of the trained AMLP model to obtain the landing gear performance prediction model.

[0022] The beneficial effects of the present invention are:

[0023] The present invention proposes an MCA-AMLP model, which improves the accuracy and generalization of landing gear performance prediction by realizing feature selection through multiple correlation analysis and weight adaptive ensemble learning through self-attention mechanism. First, in view of the feature selection problem of high-dimensional parameters, an MCA multiple correlation analysis method is proposed to eliminate redundant information and invalid information; secondly, in order to make up for the limitations of a single model, a heterogeneous multi-learner integration framework is proposed, which utilizes the differences in data observation and training principles between different learners to achieve complementary advantages; thirdly, in view of the weight distribution problem of the integration framework, an AMLP weight adaptive adjustment method is proposed to perceive data distribution and adjust the weights of each base learner, so as to realize dynamic correction of weights with data distribution, thereby improving the computational efficiency and prediction accuracy of landing gear performance prediction. The embodiment of the present invention uses the take-off and landing performance data of the landing gear to verify the MCA-AMLP model proposed by the present invention, proving its rationality and superiority. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is the landing gear take-off and landing performance prediction process based on MCA-AMLP;

[0025] Figure 2 It is the structure diagram of MCA model;

[0026] Figure 3 This is the structure diagram of the AMLP model;

[0027] Figure 4 This is the weight adaptation principle diagram;

[0028] Figure 5 This is the Pearson coefficient analysis chart;

[0029] Figure 6 This is the Spearman coefficient analysis chart;

[0030] Figure 7 This is the Kendall coefficient analysis diagram;

[0031] Figure 8 This is the effect diagram of AMLP improving the prediction accuracy of Y1';

[0032] Fig. 9 This is a diagram showing the effect of AMLP on improving the prediction accuracy of Y2'. DETAILED DESCRIPTION

[0033] Establishing an accurate landing gear performance prediction model can not only fully consider the changes in external loads in the design stage and provide a basis for optimizing the safety margin setting of the structure; it can also fully consider the mission conditions in the operation and maintenance stage and provide technical support for safety maintenance according to possible mission conditions. However, there is a complex nonlinear relationship between landing gear parameters and take-off and landing performance, which makes it very difficult to establish an accurate performance prediction model. First, the number of landing gear samples is limited and the feature dimension is high, which limits the computational efficiency and prediction accuracy of the machine learning model. The landing gear parameters related to take-off and landing performance have a high dimension, with 15 input parameters, including 11 working condition parameters (X1~X11) and 4 structural parameters (X12~X15), and 2 output parameters (Y1'~Y2'), as shown in Table 1. High-dimensional parameters add difficulty to performance prediction based on machine learning. On the one hand, high-dimensional parameters contain redundant information, that is, there is a high correlation between input features; on the other hand, high-dimensional parameters contain invalid information, that is, the input features have little effect on the output results. Therefore, key feature selection is required to eliminate redundant and invalid information in high-dimensional parameters. Commonly used high-dimensional parameter dimensionality reduction methods include linear methods and nonlinear methods. Combining parameter dimensionality reduction with machine learning can improve the prediction effect. However, a single dimensionality reduction method has limitations and has clear requirements for applicable fields. In the case of incomplete mechanism knowledge, how to select a dimensionality reduction method suitable for the current complex mechanical structure and ensure that the linear, nonlinear and other correlations between parameters can be fully explored is a difficult problem faced by the present invention.

[0034] Secondly, the structural parameters and working condition parameters of the landing gear have time gradient and uncertainty, and the data distribution state changes, which makes the deterministic modeling method unsuitable. On the one hand, with the accumulation of service time and load impact, the structural parameters of the landing gear gradually change with time, and its dynamic characteristics also change accordingly. On the other hand, due to the differences in flight missions and pilot operation behaviors, the external loads during flight are different, and the working condition parameters of the landing gear are also random. The above reasons will cause the landing gear parameters to change, and the distribution state of the data will differ with mechanical loss and working condition changes, that is, the data used for training and the data used for prediction in the future are inconsistent. This inconsistency in data distribution makes it impossible for the deterministic modeling method to achieve good results. In order to improve the generalization of the prediction model, some scholars use ensemble learning methods to fuse multiple models, use diversity to complement each other's advantages, and thus improve the overall prediction accuracy. However, the existing ensemble learning method also has shortcomings. The ability to dynamically allocate weights is weak. Basically, the results of each model are allocated according to fixed weights, and it is difficult to achieve adaptive adjustment of model weights with data according to real-time distribution changes. Therefore, how to establish a distribution-adaptive integrated learning method to automatically modify the weights of each model according to changes in the data distribution state is another difficult problem faced by the present invention.

[0035] From the above analysis, it can be seen that in order to improve the accuracy and generalization of the landing gear performance prediction method based on machine learning, two difficult problems should be focused on: (1) reduce the dimensionality of the high-dimensional parameters of the landing gear, eliminate redundant features and invalid features, and realize key feature selection; (2) adaptively perceive the distribution state of the landing gear performance data collected under the scenario of structural gradualness and load randomness, and realize the automatic adjustment of the weights of each base learner with the data distribution state through weight adaptive ensemble learning. Next, the present invention is explained in conjunction with specific embodiments.

[0036] Specific implementation method 1: Figure 1 As shown, the specific process of the landing gear performance prediction method based on self-attention ensemble learning in this embodiment is as follows: obtaining key features of the landing gear performance data to be predicted, inputting the key feature data of the landing gear performance data to be predicted into the landing gear performance prediction model to obtain the center of gravity vertical load and center of gravity vertical displacement of the landing gear;

[0037] The training data of the landing gear performance prediction model is updated incrementally, and training is performed every once in a while to update the selected features. The key features of the landing gear performance data to be predicted are consistent with the key features selected in the most recent training.

[0038] The landing gear performance prediction model is obtained by:

[0039] Step 1: Obtain landing gear performance data:

[0040] The number of landing gear samples is limited and the feature dimension is high, which limits the computational efficiency and prediction accuracy of the machine learning model. The landing gear parameters related to take-off and landing performance have high dimensions, with 15 input parameters, including 11 working condition parameters (X1~X11) and 4 structural parameters (X12~X15), and 2 output parameters (Y1'~Y2'), as shown in Table 1.

[0041] Table 1 Input and output parameters

[0042]

[0043]

[0044] Step 2: Use the MCA method to eliminate redundant features and invalid features in the landing gear performance data features, and select key features to obtain key feature data in the landing gear performance data:

[0045] Step 21: Construct the MCA model, that is, the multiple correlation analysis method, such as Figure 2 As shown:

[0046] Construct Pearson coefficient, Spearman coefficient, and Kendall coefficient for joint analysis;

[0047] The Pearson coefficient method is applicable to normally distributed continuous data and is used to calculate the linear correlation between landing gear parameters. The calculation formula is as follows:

[0048]

[0049] Among them, r p (u1,v1) represents the Pearson correlation between parameter u and parameter v, σ u1 represents the standard deviation of parameter u1, σ v1 represents the standard deviation of parameter v1, cov represents covariance, (u1,v1) can be (u,v) or (u,u'). The Spearman coefficient method is applicable to continuous data with non-normal distribution and is used to calculate the nonlinear correlation between landing gear parameters. The calculation formula is as follows:

[0050]

[0051] d i =r g (u1)-r g (v1) (3)

[0052] Among them, r s (u1,v1) is the spearman correlation between parameter u and parameter v, n is the total number of samples, d i is the difference between the order of the two parameters, r g Indicates the order of parameters;

[0053] The Kendall coefficient method is applicable to ordered categorical data and is used to calculate the hierarchical association between landing gear parameters. The calculation formula is as follows:

[0054]

[0055] Among them, N0 is the total number of element pairs, N1 is the number of element pairs with positive correlation, N2 is the number of element pairs with negative correlation, N3 is the number of parameters with equal values ​​in the input parameters, and N4 is the number of parameters with equal values ​​in the output parameters;

[0056] Step 22: Obtain invalid features in landing gear performance data:

[0057] Step 221: In the landing gear performance data, select any input parameter as u and any output parameter as v to construct an element pair (u, v); based on the MCA model established by formulas (1)-(4), calculate the Pearson coefficient, Spearman coefficient, and Kendall coefficient of each element pair to characterize the influence of the input parameter on the output parameter;

[0058] Step 222: Sort each input feature from large to small according to the size of the Pearson coefficient, Spearman coefficient, and Kendall coefficient:

[0059] The present invention uses Pearson coefficient method, Spearman coefficient method, and Kendall coefficient method to perform sensitivity analysis between input features and output results, and sorts the input features according to the degree of influence of each input feature on the output result. The calculation formula is as follows:

[0060]

[0061] Among them, C pn The input feature of the nth landing gear performance data in the sorting result of the Pearson coefficient method, C sn is the nth landing gear performance data input feature in the sorting result of the Spearman coefficient method, C kn is the nth landing gear performance data input feature in the sorting result of the Kendall coefficient method, L p is the ranking result of Pearson coefficient method, L s is the sorting result of Spearman coefficient method, L k is the ranking result of the Kendall coefficient method. The ranking result of the sensitivity analysis represents the influence of the input features on the output results.

[0062] Step 223: Use the TOP-K strategy to truncate the sorting results of step 212 and obtain s L p L k The landing gear performance data that are after item K in all three rankings are invalid features;

[0063] In L s L p L k If a feature is after K in all three rankings, it means that the feature has little effect on the output result and should be eliminated. Invalid features can be eliminated through sensitivity analysis, but there may be strong correlations between the remaining input features, that is, feature redundancy.

[0064] Step 23: Obtain redundant features in landing gear performance data:

[0065] In order to further compress the data dimension and eliminate redundant information, the present invention again uses the Pearson coefficient, Spearman coefficient, and Kendall coefficient for joint analysis, and considers that there is redundancy between two input features whose correlation coefficients exceed the threshold, which are redundant features.

[0066] Step 231: The input parameters in the landing gear performance data are formed into element pairs, that is, any input parameter is selected as u, and the other input parameter is selected as u' to form an element pair (u, u'); based on the MCA model established by formulas (1)-(4), the Pearson coefficient, Spearman coefficient, and Kendall coefficient of each element pair are calculated to characterize the redundancy between the two input parameters;

[0067] Step 232: Compare the Pearson coefficient, Spearman coefficient, and Kendall coefficient of each element pair obtained in step 231 with the preset Pearson threshold, the preset Spearman threshold, and the preset Kendall threshold respectively. If any of the Pearson coefficient, Spearman coefficient, and Kendall coefficient is greater than its corresponding preset threshold, the element pair corresponding to the current coefficient is a redundant element pair. Obtain the position of the elements in the redundant element pair in the sorting result of formula (5). p , L s , L k The elements that are ranked later in at least two sequences are redundant elements. For example, the redundant element pair (a, b) contains elements a and b in L p The order of the two is a, b, and in L s The order of the two is b, a, and in L k If the order of elements in is a, then b, then b is a redundant element.

[0068] Step 24: Remove the invalid features obtained in step 22 and the redundant features obtained in step 23 from the landing gear performance data to obtain key feature data of the landing gear performance data.

[0069] In this step, high-dimensional parameters limit the convergence speed and prediction accuracy of the machine learning model, and key feature selection is required. To this end, the present invention proposes a landing gear parameter feature selection method based on MCA multiple correlation analysis, such as Figure 2As shown, the redundant features and invalid features in the landing gear performance data after dimensionality reduction are eliminated, specifically: sensitivity analysis is performed on the input features and take-off and landing performance, and the correlation coefficient between them is used to characterize the influence of the input features on the take-off and landing performance. The lower the correlation coefficient, the weaker the influence of the input feature on the take-off and landing performance, that is, the invalid feature. Therefore, the invalid features can be eliminated by sorting the sensitivity analysis results and discarding the parameters with the lower sorting; then, redundancy analysis is performed on the input features, and the correlation coefficient between the two input features is also used to characterize the association between the two. It is worth noting that when performing redundancy analysis of input features, if the correlation coefficient between the two input features is high, it means that the two are strongly correlated, that is, there are redundant features. Therefore, the features with correlation coefficients higher than the threshold are regarded as redundant features, and the features with less influence on the take-off and landing performance are selected for elimination. After sensitivity analysis and redundancy analysis, the key features are retained.

[0070] The correlation coefficient method used in sensitivity analysis and redundancy analysis is based on statistical mining of the correlation between parameters. Since the structural parameters and operating parameters of the landing gear are relatively complex, it is difficult to conduct a comprehensive analysis using a single statistical method. In order to fully explore the linear, nonlinear, and rank correlations between parameters, the present invention proposes a multiple correlation analysis method, namely: using the Pearson coefficient, Spearman coefficient, and Kendall coefficient for joint analysis, with complementary advantages, to further enhance the objectivity of sensitivity analysis and redundancy analysis. Through sensitivity analysis and redundancy analysis, it is possible to retain features that have a greater impact on take-off and landing performance and are independent of each other, namely key features, for subsequent integrated learning predictions.

[0071] Step 3: Establish an AMLP model, and use the key feature data of the landing gear performance data obtained in step 2 to train the AMLP to obtain a trained AMLP model;

[0072] Step 3.1: Establish the AMLP model, such as Figure 3 As shown:

[0073] The AMLP model includes: a base learner and a weight distribution network;

[0074] The base learner is used to obtain an initial prediction result of the landing gear performance according to the key features of the landing gear performance data;

[0075] The weight distribution network is used to perceive the distribution state of the initial prediction results of the landing gear, and adaptively adjust the weight distribution of the initial prediction results of the landing gear to obtain the final prediction results, including a Self attention layer and an MLP network;

[0076] The Self attention layer is used to perceive the distribution state of the initial prediction results of the landing gear performance;

[0077] The MLP network is used to adaptively adjust the weight distribution of the initial prediction results according to the distribution state of the initial prediction results of the landing gear performance to obtain the final prediction results;

[0078] Since the structural parameters of the landing gear are time-varying and the operating parameters are uncertain, the distribution state of the operating data changes. However, a single model has limited learning ability for complex data distribution. At the same time, the weight allocation ability of traditional ensemble learning is weak and it is difficult to guarantee the prediction effect. To this end, the present invention proposes a new weight adaptive ensemble learning method, the so-called AMLP, which combines Self attention with MLP to achieve dynamic adjustment of weights with data distribution based on the predictions of multiple heterogeneous basis learners. Figure 3 As shown in the figure, AMLP consists of a base learner, Self attention and MLP, where the base learner is used for preliminary prediction of take-off and landing performance, Self attention is used to perceive the data distribution state, and MLP is used to adjust the weight distribution of each base learner. The specific process is described as follows. First, the key features extracted by MCA are used as input to build a variety of single models with high accuracy and differences from each other as base learners; then, a Selfattention layer is built to analyze the predicted value sequences of multiple models to perceive the distribution state of the predicted values, and an MLP layer with an attention mechanism is used to learn the output sequence distribution, and to pay more attention to the predicted values ​​with high similarity, so that the entire result is shifted to the center of the predicted distribution.

[0079] The base learner is obtained in the following way:

[0080] First, the Ridge, ElasticNet, KNN, SVM, DT, BP, and RBF models were constructed and trained to obtain the trained Ridge, ElasticNet, KNN, SVM, DT, BP, and RBF models. The key features of the landing gear performance data were used as input, and the take-off and landing performance was used as output to obtain the prediction results of each model respectively.

[0081] According to the principle of "good but different", a single machine learning model was selected, and the common models from symbolism, connectionism and statistical learning were initially considered: Ridge, ElasticNet, KNN, SVM, DT, BP, RBF. Among them, Ridge is a ridge regression model, which adds L2 regularization terms on the basis of linear regression to improve the overfitting phenomenon in the training process; ElasticNet is an elastic network model, which uses L1 and L2 regularization on the basis of linear regression to enhance the sparsity and generalization ability of the model; KNN is a K nearest neighbor model, which realizes lazy learning by measuring the limited sample points around the distance; SVM is a support vector machine model, which divides the sample points in the feature space based on the idea of ​​maximizing the margin, and has strong robustness; DT is a decision tree model, which summarizes the decision rules from the label data and constructs a tree diagram structure for prediction, which has strong mechanism explanation; BP is a fully connected neural network, which realizes the adjustment of neuron weights through reverse gradient propagation, and has strong fitting ability for nonlinear systems; RBF is a three-layer feedforward neural network with simple structure and fast learning speed. It can be seen that the commonly used models such as Ridge, ElasticNet, KNN, SVM, DT, BP, RBF, etc. have different composition structures, prediction mechanisms, and schools of thought, and have obvious differences.

[0082] Then, the predicted results and true output values ​​of each single model are used to obtain the root mean square error RMSE and regression coefficient R of each single model. 2 , mean absolute error MAE; sort the RMSE and MAE of all single models from small to large, and sort R 2 Sort from large to small and compare them separately. 2 If at least two of the MAE indicators are ranked higher than another model B, then model A is considered to be better than another model B. Based on this criterion, N models with higher accuracy (N≤5) are selected as base learners:

[0083]

[0084]

[0085]

[0086] Where m is the total number of input samples, j is the jth sample point, is the prediction result of a single model, y j is the true value ( Figure 4 RealY in is the average of the true values ​​of all input samples;

[0087] RMSE is the root mean square error, the smaller the value, the more accurate the prediction; MAE is the mean absolute error, the smaller the value, the more accurate the prediction; 2 is the coefficient of determination, and the larger the value, the more accurate the prediction.

[0088] The base learner is used to obtain the initial prediction result of the landing gear performance according to the key features of the landing gear performance data, specifically: inputting the key features of the landing gear performance data into the base learner to obtain the initial prediction result of the landing gear performance {Y1, Y2, Y3....Yn};

[0089] The weight distribution network is used to sense the distribution state of the initial prediction results of the landing gear, and adjust the weight distribution of the initial prediction results of the landing gear to obtain the final prediction results, such as Figure 4 As shown:

[0090] First, the initial prediction results {Y1, Y2, Y3....Yn} are input into Self attention to obtain the correlation of the initial prediction results of the landing gear:

[0091]

[0092] Among them, q(query), k(key), v(value) are matrices, d k is the dimension; q, k, v are matrices obtained by multiplying any element in {Y1, Y2, Y3....Yn} by the weight matrix W, W', W" respectively;

[0093] Among them, Self attention is to calculate the correlation through matrix q (query), matrix k (key) and matrix v (value). The dot multiplication operation of q and k matrices is used to obtain the internal correlation of multi-model prediction sequences; based on the dimension d k The dot product result is scaled to reduce the amount of model calculation; the softmax function is used for weight conversion and multiplied with the v matrix to output the final result; the q, k, v matrix is ​​the operation matrix of Self attention. The initial prediction result is transformed into attention through the mapping transformation of q, k, v, and then transformed into the final prediction value Y through MLP. q, k, v is similar to the neuron weights in the neural network and is stored in the form of a matrix.

[0094] Then, the correlation pairs of the initial prediction results of the landing gear are input into the MLP to adjust the weights of the initial prediction results of the landing gear until the MLP accuracy converges, and the final prediction results of the landing gear performance are obtained;

[0095] Step 32: Use the key characteristic data of the landing gear performance data obtained in step 2 to train the AMLP to obtain a trained AMLP model;

[0096] In this step, based on a single high-precision model, the idea of ​​ensemble learning is used to fuse and output N prediction results, which can achieve complementary advantages among multiple models, thereby improving the prediction accuracy and generalization ability of the overall model. In the process of ensemble learning, due to the different composition structures and prediction mechanisms of each model, there are also differences in their prediction values. In theory, the prediction values ​​of multiple models can be regarded as a set of sequence information, which is dynamically adjusted as the distribution state of the input data changes. However, in the existing ensemble learning strategies, whether it is explicit weight assignment or implicit weight learning using intelligent algorithms, it is difficult to effectively analyze the degree of change of the output sequence, and the output sequence is composed of multi-model prediction values, which is closely related to the input data distribution state. It can be seen that the existing ensemble learning method is insufficient in its perception of data distribution, and the weight allocation method of the base learner needs to be improved.

[0097] To this end, the present invention proposes a weighted adaptive integration method based on AMLP, which integrates Self attention with MLP to extract the data distribution information implicit in the multi-model prediction sequence and enhance the perception of ensemble learning for changes in data distribution. Specifically, the prediction value with the highest correlation with all other prediction values ​​is found among all the prediction values, and it is used as the center of attention. Then, weights are distributed to each prediction value according to the strength of the correlation, so that the integrated prediction value is closest to the true value, such as Figure 4 shown.

[0098] AMLP uses key features as input and uses multiple single machine learning models to make predictions respectively, obtaining a multi-model prediction sequence {Y1, Y2, Y3...Yn}. When the input data distribution changes, the prediction results of the multiple models also change accordingly, and the data distribution information is hidden in the prediction sequence. In order to effectively perceive this change, AMLP extracts the internal correlation in the prediction sequence through Selfattention, takes the prediction value with the highest correlation with all other prediction values ​​as the dominant one, and adaptively adjusts the weights of each prediction value according to the strength of the correlation, so that the ensemble learning weight changes dynamically with the data distribution, and adds MLP to improve the nonlinear fitting ability of the model.

[0099] Step 4: Use the grid search method to tune the hyperparameters of the trained AMLP model to obtain the landing gear performance prediction model.

[0100] Embodiment: To verify the prediction effect of the present invention, the following landing gear performance prediction experiment based on self-attention ensemble learning was conducted:

[0101] 1 High-dimensional parameter feature selection based on MCA

[0102] The landing gear parameters are of high dimensionality, with a total of 15 parameters, which are divided into structural parameters and operating parameters, as shown in Table 1 above. Among them, there are 11 operating parameters, which is far more than the structural parameters. At the same time, the operating mechanism of the landing gear is complex, which makes it easy to generate redundant information and invalid information between the operating parameters. There are only 4 structural parameters, which are relatively small in number and are designed by expert experience, and the physical correlation between them is weak. Therefore, the invention mainly performs feature selection on the landing gear operating parameters.

[0103] 1.1 Sensitivity analysis

[0104] First, a sensitivity analysis is performed between the input features (X1-X11) and the output results (Y1', Y2'). The specific results are shown in Tables 2 and 3. The ranking results show the degree of influence of the feature on the output results. The larger the value, the higher the degree of influence. The features ranked lower are considered invalid.

[0105] Table 2 Sensitivity analysis of Y1' (vertical load at center of gravity)

[0106]

[0107] Table 3 Sensitivity analysis of Y2' (vertical displacement of center of gravity)

[0108]

[0109]

[0110] As shown in Table 2, for the analysis of Y1' (vertical load at the center of gravity), the Pearson, Spearman, and Kendall values ​​of the input features X2, X4, X9, and X10 are very small, and the corresponding rankings are low, indicating that the above features have a weak impact on Y1'. They are used as candidate sets for dimensional compression and are removed in combination with subsequent redundancy analysis. As shown in Table 3, for the analysis of Y2' (vertical displacement at the center of gravity), the Pearson, Spearman, and Kendall values ​​of the input features X4, X7, X8, and X10 are very small, and the corresponding rankings are low, indicating that the above features have a weak impact on Y2'. They are used as candidate sets for dimensional compression and are removed in combination with subsequent redundancy analysis.

[0111] 1.2 Redundancy Analysis

[0112] Through the above sensitivity analysis, invalid information in high-dimensional parameters can be effectively eliminated and the data dimension can be reduced. In addition, there will be redundancy between input features. In order to further compress the data dimension, it is necessary to perform redundancy analysis on the input features. Therefore, the MCA method is also used to analyze the correlation between input features, that is, the Pearson, Spearman, and Kendall correlation coefficient methods are used to calculate the correlation coefficients between input features. The larger the value, the stronger the correlation, that is, there are highly coupled redundant features. The redundancy analysis results of 11 operating parameters are shown in Figure 2. Figure 5 , Figure 6 , Figure 7 shown.

[0113] Depend on Figure 5 , Figure 6 , Figure 7 It can be seen that the correlation coefficient of the dark squares in the diagonal area is 1, indicating the autocorrelation of the feature, that is, the feature is highly correlated with itself; in addition, there are still dark squares (values ​​close to 1) and white squares (values ​​close to -1) in the area outside the diagonal, indicating that the feature has a strong positive / negative correlation with other features, that is, there are redundant features. Figure 5 , Figure 6 , Figure 7 The redundant features (yellow marks) are counted and the results are shown in Table 4.

[0114] Table 4 Redundancy analysis results

[0115]

[0116] It can be seen that there is strong linear, nonlinear and rank redundancy between the input features X1 and X5; there is strong linear, nonlinear and rank redundancy between the input features X3 and X7; there is strong nonlinear and rank redundancy between X3 and X8; there is strong linear and nonlinear redundancy between X6 and X9.

[0117] Combining Table 2 and Table 4, it can be seen that when predicting Y1', the invalid features are X2, X4, X9, and X10, and the redundant feature groups are (X1-X5), (X3-X7), (X3-X8), and (X6-X9). By comparing the parameters within the redundant feature groups, it is found that X3 and X5 have little influence on the take-off and landing performance. Therefore, when predicting Y1' performance, the invalid features X2, X4, X9, and X10 and the redundant features X3 and X5 should be eliminated. The remaining features are the key features that have a greater impact on the take-off and landing performance and are independent of each other.

[0118] Combining Table 3 and Table 4, it can be seen that when predicting Y2', the invalid features are X4, X7, X8, and X10, and the redundant feature groups are (X1-X5), (X3-X7), (X3-X8), and (X6-X9). By comparing the parameters within the redundant feature groups, it is found that X5 and X9 have little impact on take-off and landing performance. Therefore, when predicting Y2' performance, invalid features X4, X7, X8, and X10 and redundant features X5 and X9 should be eliminated. The remaining features are the key features that have a greater impact on take-off and landing performance and are independent of each other.

[0119] 2 Weight Adaptive Ensemble Learning Based on AMLP

[0120] In this section, the key features selected above are used as input, and the proposed AMLP model is used to predict Y1' (vertical load at the center of gravity) and Y2' (vertical displacement at the center of gravity). During the experiment, the landing gear data was randomly divided, 60% for the training set (10210 items), 20% for the validation set (3404 items), and 20% for the test set (3404 items). Among them, the training set is used to train the internal parameters of the model; the validation set is used to adjust the manually set hyperparameters; and the test set is used to evaluate the final prediction effect of the model. The prediction effect is expressed by RMSE, MAE, R 2 The indicators are evaluated, where RMSE is the root mean square error, the smaller the value, the more accurate the prediction; MAE is the mean absolute error, the smaller the value, the more accurate the prediction; R 2 is the coefficient of determination, and the larger the value, the more accurate the prediction.

[0121] 2.1 Base Learner Selection

[0122] The ensemble learning framework proposed by the present invention is composed of multiple heterogeneous base learners, and the prediction accuracy of the base learner has a great influence on the final prediction effect of the model. Therefore, it is necessary to select a single model with higher accuracy as the base learner. The present invention adopts 7 commonly used base learners such as Ridge regression, Elastic elastic network, KNN nearest neighbor, SVM support vector machine, DT decision tree, BP neural network, RBF neural network, etc. to predict Y1' (vertical load of center of gravity) and Y2' (vertical displacement of center of gravity) separately. Then, according to the final prediction results of each base learner, the final base learner for constructing ensemble learning is selected.

[0123] Since different hyperparameters will affect the ability of feature learning and performance prediction, in order to facilitate model comparison, this paper uses the grid search method to determine the key hyperparameters of each single model (Ridge, Elastic, KNN, SVM, DT, BP, RBF) to achieve the best model effect. The single model after hyperparameter tuning is applied to the take-off and landing performance prediction of the landing gear, and the RMSE, MAE, R 2 In order to avoid the randomness of the algorithm, 10 experiments were conducted and the average was taken. The results are shown in Tables 5 and 6.

[0124] Table 5 Regression accuracy of a single model (predicting Y1')

[0125]

[0126] Table 6 Regression accuracy of a single model (predicting Y2')

[0127]

[0128] It can be seen that when predicting Y1' (vertical load at the center of gravity), the RMSE and MAE values ​​of the Elastic, KNN, SVM, and DT models are low, and R 2 The higher the value, the better the prediction effect. When predicting Y2' (vertical displacement of the center of gravity), the RMSE and MAE values ​​of the Ridge, KNN, SVM, and DT models are lower, and R 2 A higher value indicates a better prediction effect. It can be seen that when there is a distribution difference between the training data and the test data, the above base learner can still maintain a high prediction accuracy.

[0129] Therefore, when predicting Y1' (vertical load at the center of gravity), the present invention selects Elastic, KNN, SVM, and DT models as base learners; when predicting Y2' (vertical displacement at the center of gravity), the present invention selects Ridge, KNN, SVM, and DT as base learners. Through multiple base learners with high accuracy and different structures, a preliminary prediction of take-off and landing performance is made, providing a good foundation for subsequent integrated learning.

[0130] 2.2 Weight Adaptive Learning

[0131] Through the above analysis, the optimal base learner for the prediction of Y1' (vertical load at the center of gravity) and Y2' (vertical displacement at the center of gravity) has been obtained. In order to further improve the prediction accuracy of ensemble learning, the present invention uses the AMLP method to perceive the data distribution and adaptively adjust the weights of each base learner. The hyperparameters of the AMLP model are determined by the grid search method.

[0132] In order to verify the rationality and superiority of AMLP, the AMLP described in the present invention is respectively applied to the prediction of Y1' (vertical load at the center of gravity) and Y2' (vertical displacement at the center of gravity), and compared with other three mainstream integrated learning methods, including: bagging, Linear, and MLP. Bagging is a weighted averaging method, which sums and averages the predicted values ​​of multiple models; Linear is a linear regressor, which linearly fuses the predicted values ​​of multiple models; MLP is a multi-layer perceptron, which nonlinearly fuses the predicted values ​​of multiple models. In each group of experiment, the hyperparameters of the above methods are determined by the grid search method. In addition, each group of experiments is repeated 10 times, and the average value is taken as the final result. Tables 7 and 8 are respectively expressed by RMSE, MAE and R 2 The prediction results of Y1' and Y2' using the above four methods are shown.

[0133] Table 7 Ensemble learning regression accuracy (Y1' prediction)

[0134]

[0135] Table 8 Ensemble learning regression accuracy (Y2' prediction)

[0136]

[0137] As shown in Table 7, compared with the three ensemble learning methods of bagging, Linear, and MLP, the AMLP method of the present invention reduces the RMSE index by 50.36%, 53.71%, and 36.86%, respectively; the MAE index is reduced by 38.38%, 44.12%, and 25.49%, respectively; 2 The indicators increased by 2.67%, 3.06% and 1.45% respectively.

[0138] In addition, by comparing the results in Table 5 and Table 7, it can be seen that compared with seven single models, namely Ridge, Elastic, KNN, SVM, DT, BP, and RBF, the AMLP method of the present invention reduces the RMSE index by 84.65%, 78.95%, 66.00%, 75.13%, 56.78%, 80.45%, and 82.68%, respectively; the MAE index is reduced by 80.38%, 73.79%, 49.33%, 74.50%, 34.10%, 78.24%, and 82.57%, respectively; 2 The indicators increased by 17.12%, 11.29%, 4.06%, 7.93%, 3.37%, 17.41% and 17.93% respectively.

[0139] In order to intuitively demonstrate the superiority of AMLP described in the present invention, the above accuracy comparison results are presented in the form of a bar graph, as shown in Figure 8 It can be seen that the AMLP method of the present invention achieves the best effect in predicting Y1' (vertical load at the center of gravity). For a single model, the RMSE, MAE, and R 2 It has significant advantages in regression indicators such as CNN and CNN, and is also superior to other ensemble learning methods.

[0140] As shown in Table 8, compared with the three ensemble learning methods of bagging, Linear, and MLP, the AMLP method of the present invention reduces the RMSE index by 48.36%, 44.49%, and 31.52% respectively; the MAE index is reduced by 44.83%, 49.47%, and 28.89% respectively; 2 The indicators increased by 2.51%, 2.29% and 1.37% respectively.

[0141] In addition, by comparing the results in Table 6 and Table 8, it can be seen that compared with seven single machine learning models, namely Ridge, Elastic, KNN, SVM, DT, BP, and RBF, the AMLP method of the present invention reduces the RMSE index by 80.16%, 81.66%, 61.23%, 76.49%, 64.41%, 82.86%, and 81.25%, respectively; the MAE index is reduced by 78.52%, 82.80%, 51.02%, 74.87%, 60.98%, 83.53%, and 84.34%, respectively; and the R 2 The indicators increased by 14.66%, 15.31%, 3.21%, 7.37%, 4.80%, 18.79% and 16.12% respectively.

[0142] In order to intuitively demonstrate the superiority of AMLP described in the present invention, the above accuracy comparison results are presented in the form of a bar graph, as shown in Fig. 9 It can be seen that the AMLP method of the present invention achieves the best effect in predicting Y2' (vertical displacement of the center of gravity). For a single model, the RMSE, MAE, and R 2 It has significant advantages in regression indicators such as CNN and CNN, and is also superior to other ensemble learning methods.

[0143] From the above analysis, it can be seen that compared with a single model, ensemble learning achieves better prediction results. This is because ensemble learning can complement each other's advantages through the differences in data observation and training methods of each base learner, making up for the limitations of a single model. It is worth noting that compared with other ensemble learning methods, AMLP of the present invention achieves the best prediction effect. This is due to the self-attention mechanism introduced by AMLP, which makes the weight distribution of ensemble learning more reasonable, that is, dynamically adjusting the weights of each base learner as the data is distributed.

[0144] In the scenario of gradual structural changes and random loads, the landing gear performance data has distribution differences, which limits the prediction accuracy of single models and traditional ensemble learning. The AMLP method described in the present invention improves the accuracy of take-off and landing performance prediction through adaptive weight adjustment, which is of great significance in engineering practice: on the one hand, it helps to optimize parameters in the design stage and consider safety thresholds; on the other hand, it helps intelligent monitoring in the operation and maintenance stage to ensure flight safety.

Claims

1. A landing gear performance prediction method based on self-attention ensemble learning, characterized in that The specific process of the method is: obtaining key characteristic data of the landing gear performance data to be predicted, inputting the key characteristic data of the landing gear performance data to be predicted into the landing gear performance prediction model to obtain the vertical load and vertical displacement of the center of gravity of the landing gear; The key characteristic data of the landing gear performance data to be predicted is obtained by: Step 1: Obtain landing gear performance data; The landing gear performance data includes: input parameters X1-X15, output parameters Y1'-Y2'; The input parameters X1-X15 are: wheel vertical displacement, wheel vertical speed, wheel heading displacement, wheel heading speed, strut travel speed, buffer axial load, air spring force, oil damping force, buffer friction force, structural limiting force, strut deformation force, high pressure chamber charging, low pressure chamber punching, tire pressure, equivalent mass; The output parameters Y1'-Y2' are: vertical load of the center of gravity, vertical displacement of the center of gravity; Step 2: Establish an MCA model, and use the MCA model to eliminate invalid features and redundant features in the landing gear performance data to obtain key feature data in the landing gear performance data; The landing gear performance prediction model is obtained by: Step 3: Establish an AMLP model, and use the key feature data obtained in step 2 to train the AMLP to obtain a trained AMLP model; Step 31: Establish the AMLP model: The AMLP model includes: a base learner and a weight distribution network; The base learner is used to obtain the initial prediction results {Y1, Y2, Y3....Yn} of the landing gear performance according to the key characteristic data of the landing gear performance data; The weight distribution network is used to sense the distribution state of the initial prediction results of the landing gear, and adjust the weight distribution of the initial prediction results of the landing gear to obtain the final prediction results of the landing gear performance, including: a Self attention layer and an MLP network; The Self attention layer is used to perceive the distribution state of the initial prediction results of the landing gear performance; The MLP network is used to adjust the weight distribution of the initial prediction results according to the distribution state of the initial prediction results of the landing gear performance to obtain the final prediction results of the landing gear performance; Step 32: Use the key feature data obtained in step 2 to train AMLP to obtain a trained AMLP model; Step 4: Use the grid search method to tune the hyperparameters of the trained AMLP model to obtain the landing gear performance prediction model.

2. The landing gear performance prediction method based on self-attention ensemble learning according to claim 1, characterized in that: The step 2 of establishing the MCA model and using the MCA model to eliminate invalid features and redundant features in the landing gear performance data features to obtain key feature data in the landing gear performance data includes the following steps: Step 21: Establish MCA model; The MCA model includes: a Pearson coefficient building module, a Spearman coefficient building module, and a Kendall coefficient module; Step 22: Use the MCA model to obtain invalid features in the landing gear performance data: Step 221: any input parameter u and any output parameter v in the landing gear performance data form an element pair (u, v), and the MCA model established in step 21 is used to obtain the Pearson coefficient, Spearman coefficient, and Kendall coefficient of each element pair; Step 222: Sort the corresponding input parameters from large to small according to the size of the Pearson coefficient, Spearman coefficient, and Kendall coefficient to obtain the sorting result L p , L s , L k ; Step 223: Get the L s , L p、 L k The landing gear performance data that are after item K in all three sorting results are invalid features; Step 23: Use the MCA model established in step 21 to obtain the redundant features in the landing gear performance data: Step 231: The input parameters in the landing gear performance data are grouped into element pairs (u, u') in pairs, and the MCA model obtained in step 21 is used to obtain the Pearson coefficient, Spearman coefficient, and Kendall coefficient of each element pair (u, u'); Step 232: Compare the Pearson coefficient, Spearman coefficient, and Kendall coefficient of each element pair obtained in step 231 with the preset Pearson threshold, the preset Spearman threshold, and the preset Kendall threshold respectively. If any of the Pearson coefficient, Spearman coefficient, and Kendall coefficient is greater than its corresponding preset threshold, the element pair corresponding to the current coefficient is a redundant element pair; then obtain the two elements in the redundant element pair in L p , L s , L k The position on L p , L s , L k The elements that are ranked later in at least two sequences are redundant elements; Step 24: Remove the invalid features obtained in step 22 and the redundant features obtained in step 23 from the landing gear performance data to obtain key feature data in the landing gear performance data.

3. The landing gear performance prediction method based on self-attention ensemble learning according to claim 2, characterized in that: The Pearson coefficient building module is used to obtain the Pearson coefficient of each element pair, as shown in the following formula: Among them, r p (u1,v1) represents the Pearson correlation between parameter u1 and parameter v1, σ u1 represents the standard deviation of parameter u1, σ v1 represents the standard deviation of parameter v1, cov represents the covariance, and (u1,v1) can be (u,v) or (u,u').

4. The landing gear performance prediction method based on self-attention ensemble learning according to claim 3, characterized in that: The Spearman coefficient building module is used to obtain the Spearman coefficient of each element pair, as shown in the following formula: d i =r g (u1)-r g (v1) (3) Among them, r s (u1,v1) is the spearman correlation between parameter u and parameter v, n is the total number of samples, d i is the difference between the order of the two parameters, r g Indicates the order of parameters.

5. The landing gear performance prediction method based on self-attention ensemble learning according to claim 4, characterized in that: The Kendall coefficient building module is used to obtain the Kendall coefficient of each element pair, as shown in the following formula: Among them, N0 is the total number of element pairs, N1 is the number of element pairs with positive correlation, N2 is the number of element pairs with negative correlation, N3 is the number of parameters with equal values ​​in the input parameters, and N4 is the number of parameters with equal values ​​in the output parameters.

6. The landing gear performance prediction method based on self-attention ensemble learning according to claim 5, characterized in that: The sorting result L in step 222 p , L s , L k , as follows: Among them, C pn The nth landing gear performance data input parameter in the sorting result of Pearson coefficient method, C sn is the nth landing gear performance data input parameter in the sorting result of the Spearman coefficient method, C kn is the nth landing gear performance data input parameter in the sorting result of the Kendall coefficient method, L p is the ranking result of Pearson coefficient method, L s is the sorting result of Spearman coefficient method, L k This is the sorting result of the Kendall coefficient method.

7. The landing gear performance prediction method based on self-attention ensemble learning according to claim 6, characterized in that: The base learner is obtained in the following way: First, the key feature data obtained in step 2 were input into the trained Ridge, ElasticNet, KNN, SVM, DT, BP, and RBF models respectively to obtain the prediction results of each single model; Then, the predicted results and true output values ​​of each single model are used to obtain the root mean square error RMSE and regression coefficient R of each single model. 2 , mean absolute error MAE; Finally, sort the RMSE and MAE of all single models from small to large and put R 2 Sort from large to small and compare them separately. If a model A has poor RMSE, R 2 If at least two of the MAE indicators are ranked higher than another model B, then model A is considered to be better than another model B, and the single model A is used as the base learner.

8. The landing gear performance prediction method based on self-attention ensemble learning according to claim 7, characterized in that: The root mean square error RMSE and regression coefficient R of each single model are 2 , mean absolute error MAE, obtained by the following formula: Where m is the total number of input samples, j is the jth sample point, is the prediction result of a single model, y j It's true Real value, is the average of the true values ​​of all input samples.

9. The landing gear performance prediction method based on self-attention ensemble learning according to claim 8, characterized in that: The weight distribution network is used to sense the distribution state of the initial prediction result of the landing gear, and adjust the weight distribution of the initial prediction result of the landing gear to obtain the final prediction result of the landing gear performance, including the following steps: First, the initial prediction results {Y1, Y2, Y3....Yn} are input into Self attention to obtain the correlation of the initial prediction results of the landing gear; Then, the correlation of the initial prediction results of the landing gear is input into the MLP to adjust the weight of the initial prediction results of the landing gear until the MLP accuracy converges, and the final prediction results of the landing gear performance are obtained.

10. The landing gear performance prediction method based on self-attention ensemble learning according to claim 9, characterized in that: The correlation of the initial prediction results of the landing gear is as follows: Among them, q, k, v are the operation matrices of Self attention, d k It is a dimension; Among them, q, k, v are matrices obtained by multiplying any element in {Y1, Y2, Y3....Yn} by the weight matrix W, W', W", respectively.