Meteorological parameter prediction method based on genetic algorithm optimized Elman neural network

Through the Elman neural network optimized based on genetic algorithms, the problem of real-time prediction of aircraft icing meteorological parameters has been solved, the prediction accuracy and reliability have been improved, and effective support has been provided for aircraft anti-icing systems and airworthiness certification.

CN114880947BActive Publication Date: 2024-09-20NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210612575.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-09-20
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

Existing technology is difficult to accurately detect aircraft icing meteorological parameters in real time, resulting in the activation of the anti-icing system and improper energy distribution of the fuselage. The variability of the atmospheric icing test environment makes airworthiness certification difficult.

Method used

The Elman neural network optimized based on genetic algorithm is used to calculate the wing icing ice shape and ice rate data under different icing conditions, establish an icing database, and train the neural network to predict the meteorological parameters mean effective water droplet diameter MVD and liquid water content LWC. .

Benefits of technology

It improves the accuracy of meteorological parameter prediction, reduces errors, realizes real-time measurement, and provides reliable technical support for anti-icing systems and icing airworthiness certification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114880947B
    Figure CN114880947B
Patent Text Reader

Abstract

The present invention discloses a method for predicting aircraft icing meteorological parameters MVD and LWC, including obtaining the icing thickness and icing rate at the measuring point according to the icing ice shape calculated by icing, establishing a database of effective icing ice thickness and icing rate; using the flight speed, ambient temperature, wing angle of attack, icing effective thickness and icing rate as input parameters, training the Elman neural network with genetic algorithm optimized initial weights and thresholds, and predicting the output meteorological parameters of average effective water droplet diameter MVD and liquid water content LWC. The method for predicting icing meteorological parameters MVD and LWC based on genetic algorithm optimized Elman neural network of the present invention has improved accuracy, reduced error, and can perform real-time prediction, providing effective and reliable technical support for the improvement of anti-icing system and icing airworthiness certification, and has considerable application prospects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of aircraft anti-icing and de-icing, and in particular to a method for predicting aircraft icing meteorological parameters MVD and LWC by optimizing an Elman neural network with a genetic algorithm. Background Art

[0002] Aircraft icing has always been one of the main threats to aviation safety. Ice on the wings of an aircraft will cause changes in the aerodynamic shape of the aircraft, resulting in a decrease in the aircraft's aerodynamic performance and operational performance, which seriously threatens the flight safety of the aircraft. Real-time and accurate detection of icing meteorological parameters can provide accurate guidance for the opening and closing of the aircraft's anti-icing and de-icing system and the rational allocation of fuselage energy. In addition, in the aircraft icing airworthiness certification, there are certain requirements for the atmospheric icing test environment. The variability of the atmospheric environment often creates great difficulties for airworthiness certification, and it is not easy to produce a corresponding test environment. Real-time and effective detection of meteorological parameters in the atmospheric icing environment can provide certain technical support for the aircraft icing airworthiness certification. Summary of the invention

[0003] In order to solve the problems in the above background technology, a prediction method for aircraft icing meteorological parameters including average effective water droplet diameter MVD and liquid water content LWCLWC based on genetic algorithm optimized Elman neural network is provided.

[0004] Technical solution: The present invention is based on the genetic algorithm to optimize the Elman neural network aircraft icing meteorological parameters MVD and LWC prediction method as follows:

[0005] First, the icing shape of the wing under different icing conditions is calculated, the data of effective ice thickness and icing rate are obtained, and an icing database is established. The Elman neural network optimized by the genetic algorithm is trained based on the established icing database. The flight speed, ambient temperature, wing angle of attack, effective icing thickness, and icing rate at the top and bottom moments are used as input parameters. The trained network model predicts and outputs the meteorological parameters of average effective water droplet diameter MVD and liquid water content LWC in real time. The training and prediction steps are as follows:

[0006] Furthermore, according to the relationship between LWC, MVD and T listed in Appendix C of the China Airworthiness Standards for Transport Category Airplanes [CCAR-25-R4], combined with other flight parameters, different icing conditions are set by random values;

[0007] Furthermore, according to the above conditions, a large number of wing ice shapes under different icing conditions are calculated, and according to the different icing shapes, the measurement point positions are selected to obtain the effective icing thickness at the measurement point on the wing and the icing rate at the upper and lower time intervals, and establish an icing ice thickness and icing rate database;

[0008] Furthermore, the neural network input conditions are the parameters such as flight speed, ambient temperature, wing angle of attack, ice thickness and ice rate in the icing database, and the meteorological parameters MVD and LWC are used as the neural network output conditions to train the Elman neural network based on genetic algorithm optimization;

[0009] Furthermore, during the training process, the genetic algorithm optimizes the initial weights and thresholds of the Elman neural network, and the training is stopped after the number of iterations is met after setting the number of genetic algorithm evolutions;

[0010] Furthermore, after obtaining the optimal weights and thresholds optimized by the above algorithm, the weights and thresholds are assigned to the Elman neural network for training, and the trained network model is used to predict new data, thereby realizing the prediction of real-time icing meteorological parameters MVD and LWC.

[0011] Beneficial effects of the present invention: The present invention obtains ice thickness and ice rate according to the icing shape obtained by numerical calculation of the two-dimensional airfoil, and establishes an ice thickness and ice rate database, with flight speed, ambient temperature, wing angle of attack, ice effective thickness and ice rate as input parameters. For the simple Elman neural network, the initial weights and thresholds are difficult to determine during training, and the random initial weights and thresholds may cause the network to converge locally during the training process and fall into a local optimal situation. The genetic algorithm optimizes the initial weights and thresholds of the Elman neural network, and after several groups of initial weights and thresholds form an iterative evolution of the population, the optimal individual in the final new population that meets the number of iterative evolutions is selected, that is, the initial weights and thresholds of the optimal group in the population, and then the optimal weights and thresholds optimized by the algorithm are introduced into the Elman neural network for training and prediction of the average effective water droplet diameter MVD and liquid water content LWC of meteorological parameters. The method proposed by the present invention improves the prediction accuracy, reduces the error, and can realize real-time measurement, providing effective and reliable technical support for the improvement of the anti-icing system and icing airworthiness certification. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is the relationship diagram between LWC, temperature T and MVD in the interrupted maximum icing state in Appendix C of [CCAR-25-R4];

[0013] Figure 2 It is a schematic diagram of five-point measurement of effective ice thickness of ice shape;

[0014] Figure 3 It is the flow chart of genetic algorithm optimization of Elman neural network;

[0015] Figure 4 It is a topological structure diagram of the neural network model;

[0016] Figure 5It is a schematic diagram of the Elman neural network structure;

[0017] Figure 6 It is a comparison chart of mean square error of different numbers of neurons in the hidden layer;

[0018] Figure 7 This is a comparison chart of MVD predicted output and expected output;

[0019] Figure 8 This is a comparison chart of LWC predicted output and expected output. DETAILED DESCRIPTION

[0020] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings:

[0021] Different icing conditions are set according to the relationship between LWC, MVD and temperature T in the maximum icing state in Appendix C of the "China Transport Aircraft Airworthiness Standards [CCAR-25-R4]", as well as flight parameters.

[0022] The icing of the wing is mainly concentrated on the leading edge of the wing. Ice thickness measurement points are set at the leading edge stagnation point of the two-dimensional wing and at the 0.5% and 1% positions of the upper and lower wing surfaces along the chord length. The present invention takes the NACA0012 two-dimensional airfoil as an example. The ice thickness measurement points are 1% and 0.5% of the upper edge chord length and the lower edge chord length and the leading edge stagnation point, a total of 5 measurement points, the chord length c = 0.303m, the flight altitude is 2km, the total icing time is 240s, the single-step icing time is 30s, and the icing conditions are set as shown in Table 1:

[0023] Table 1 Icing conditions

[0024]

[0025] According to the relationship between LWC, MVD and temperature T in the intermittent maximum icing state in Appendix C of the "China Transport Aircraft Airworthiness Standards [CCAR-25-R4]", as follows Figure 1 As shown in the figure, LWC can be obtained by looking up the temperature T and MVD graph, and the other parameters are randomly selected within the set range.

[0026] The present invention calculates a total of 188 groups of ice shapes under icing conditions, takes ice thickness values ​​at five measuring points for each group of calculated ice shapes, and calculates the icing rate at the measuring point position, and establishes a database corresponding to meteorological parameters MVD, LWC, wing angle of attack, ambient temperature, flight speed, ice thickness and icing rate, wherein 165 groups of data are used for training the neural network model, and 23 groups of data are used for verification after the model training is completed.

[0027] Normalization and denormalization are required before data training and prediction to reduce the large difference in the order of magnitude of different data, which leads to poor network performance. The figure is a schematic diagram of the basic process of genetic algorithm optimization of Elman neural network. Figure 3 As shown in the figure, it mainly consists of two parts: one is the genetic algorithm to optimize the initial weights and thresholds; the other is to import the optimal initial weights and thresholds into the neural network for training and prediction. Among them, the steps of optimizing the initial weights and thresholds of the Elman neural network by the genetic algorithm mainly include population initialization, determination of fitness function, selection operation, crossover operation and mutation operation. (1) Population initialization: a set of four parts of the neural network, namely, the input layer and hidden layer connection weights, hidden layer threshold, hidden layer and output layer connection weights, and output layer threshold, are encoded as an individual, that is, the individual contains all the weights and thresholds of the neural network, and then a population is composed of multiple individuals. Here, the size of the population is selected as 25. (2) Determine the fitness function: In order to achieve the replacement of inferior individuals with excellent individuals in the population, the sum of the absolute errors between the predicted output and the expected output of the trained Elman neural network is used as the fitness criterion F for judging the quality of individuals. The calculation formula is as follows:

[0028]

[0029] Where: n is the number of nodes output by the network, which here refers to the total number of the 23 test samples mentioned above; P i is the predicted output of the i-th node of the neural network, which refers to the values ​​of meteorological parameters MVD and LWC predicted by the i-th data in the test sample through the neural network model; E i is the expected output of the ith node of the neural network, which refers to the actual values ​​of the meteorological parameters MVD and LWC of the ith data in the test sample; k is the coefficient, which is selected as 1 here.

[0030] (3) Selection operation: The selection operation refers to selecting individuals from the old population to the new population with a certain probability. The probability of individual selection is related to the fitness value. The better the individual fitness value, the greater the probability of being selected. The selection operation here is an initial population composed of 25 groups of random initial weights and thresholds. All individuals in the initial population, that is, 25 groups of initial weights and thresholds, are subjected to preliminary neural network training to obtain the fitness value corresponding to each group of initial weights and thresholds. The initial weights and thresholds are then sorted according to the fitness value and divided into 5 parts on average. One-fifth of the initial weights and thresholds with the smallest fitness values ​​are copied and saved as one-fifth of the individuals in the next generation of the new population. This can prevent the loss of excellent individuals due to the randomness of the selection operation. Then the initial weights and thresholds of this generation are subjected to a roulette selection operation to select four-fifths of the individuals in the next generation of the new population. The selection operation formula is:

[0031] fi = k / F i (2)

[0032]

[0033] Where P i is the probability of selecting the initial weights and thresholds for this group; F i is the fitness value obtained by the initial training of the initial weights and thresholds of this group; k is the coefficient, which is 1 here; N is the number of individuals in the population.

[0034] (4) Crossover operation: The crossover operation is to select two individuals from the population, that is, two sets of initial weights and thresholds, and generate new individuals by exchanging the same parts of the strings encoded by the two sets of initial weights and thresholds. The crossover operation of the genetic algorithm calls the same parts of the strings encoded by the two sets of initial weights and thresholds chromosomes. The crossover operation method is: k and chromosome a l The crossover at position j is given by the following formula:

[0035]

[0036] Where b is a random number between [0, 1].

[0037] (5) Mutation operation: Randomly select an individual from the group of all initial weights and thresholds, that is, a set of initial weights and thresholds, and mutate a point of the string encoded by the real number of the selected initial weights and thresholds to produce a better individual. The mutation operation formula is as follows:

[0038]

[0039] In the formula, a max Gene a ij The upper limit of a min for a ij The lower limit of f(g) = r2(1-g / G max ) 2 ; r is a random number; g is the current iteration number; G max is the maximum number of evolutions; r is a random number between [0, 1].

[0040] The standard genetic algorithm uses fixed crossover and mutation probabilities during selection, crossover, and mutation operations. In practice, it is difficult to adjust to the optimal probability, so during the operation of the algorithm, an improved adaptive crossover and mutation probability is selected to avoid evolution from going to local convergence. The formula for the crossover and mutation probability of the adaptive genetic algorithm is:

[0041]

[0042]

[0043] Where P C is the crossover probability; P m is the mutation probability; represents the similarity coefficient of the current population; k1~k8 are adaptive control parameters; f max is the maximum fitness in the population; f avg is the average fitness value of the population; f′ is the larger fitness value of the two individuals in the crossover operation; f is the fitness value of the mutated individual in the mutation operation. Adaptive crossover probability P c Set to between 0.3 and 0.6; mutation probability P m Set to between 0.001 and 0.1, so k1 = 0.3, k2 = 1, k3 = 0.3, k4 = 0.6, k5 = 0.198, k6 = 1, k7 = 0.001, k8 = 0.1

[0044] After the above selection, crossover, and mutation operations, the optimal initial weights and thresholds are obtained by iterating and evolving 80 times.

[0045] Furthermore, the initial weights and thresholds iteratively optimized by the genetic algorithm are assigned to the Elman neural network for further training. The Elman neural network is generally divided into four layers: input layer, hidden layer, successor layer and output layer. The connection between the input layer, hidden layer and output layer is similar to that of a feedforward neural network. The successor layer is also called the context layer or state layer. It is used to memorize the output value of the hidden layer unit at the previous moment and return it to the input of the network. According to the structure of the Elman neural network, when building the model, the flight speed, ambient temperature, wing angle of attack, ice thickness and ice rate in the icing database are used as the input layer; the meteorological parameters MVD and LWC are used as the output layer; the successor layer returns the network model at this moment for the meteorological parameters MVD and LWC predicted at the previous moment as two inputs added to the input layer. The topological structure diagram of the neural network construction model is shown in the figure below. Figure 4 As shown, the Elman network structure is as follows Figure 5 As shown, the mathematical expression of the network is:

[0046] y(k)=g(w 3 x(k)) (8)

[0047] x(k)=f(w 1 x c (k)+w 2 (u(k-1)))

[0048] x c (k) = x(k-1)

[0049] Where y is the m-dimensional output node vector; x is the n-dimensional intermediate layer node unit vector; u is the r-dimensional input vector; x c is the n-dimensional feedback state vector; w 3 is the connection weight from the intermediate layer to the output layer; w 2 is the connection weight from the input layer to the middle layer; w 1 is the connection weight from the receiving layer to the middle layer; g(*) is the transfer function of the output neuron, which is a linear combination of the output of the middle layer; f(*) is the transfer function of the middle layer neuron, and the S function is often used.

[0050] Elman neural network uses error back propagation algorithm to correct weights.

[0051] In addition, for the Elman neural network, the number of neurons in the hidden layer is crucial to the prediction accuracy of the neural network. Too many neurons in the hidden layer will lead to overfitting, too long training time, etc., and too few neurons will lead to underfitting, so it is necessary to determine the number of neurons in the hidden layer. In order to further determine the optimal number of neurons in the hidden layer, it is necessary to compare the accuracy of MVD and LWEC predicted by neural networks constructed with different neurons. The comparison criterion uses the mean square error MSE, and the formula is as follows:

[0052]

[0053] Where n is the total number of 23 test samples, E i and P i Represent the actual meteorological parameter MVD, LWC values ​​of each sample and the neural network predicted values ​​of meteorological parameters MVD, LWC. In order to ensure the accuracy of the results, the network training and prediction process with the same number of neurons was repeated 10 times, and the average of the 10 mean square errors was calculated. The figure shows the mean square error of the number of hidden layer neurons, which can be seen from Figure 6 It can be seen that when the number of neurons is 11, the mean square error of the predicted meteorological parameters MVD and LWC is the smallest, and the network performance is better.

[0054] In order to verify the effectiveness and reliability of this method, 23 sets of test data were imported into the final neural network training model for testing. The error analysis of each parameter of the prediction results is shown in Table 2 and Table 3. The comparison between the neural network prediction output of meteorological parameters MVD and LWC and the actual expected output value of the test sample is shown in Table 3. Figure 7 , Figure 8 shown.

[0055] Table 2. MVD prediction errors

[0056]

[0057] Table 3. LWC prediction errors

[0058]

[0059] It can be seen from the above table that the predicted MVD and LWC values ​​are relatively accurate with small errors, and the results obtained by this method are effective and reliable.

[0060] The present invention can be applied to two-dimensional or three-dimensional problems, and can also be applied to the situation of determining MVD and LWC by measuring ice thickness at multiple points, thereby improving the reliability and accuracy of the present invention.

[0061] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. A person skilled in the art can make several changes and adjustments within the technical scope disclosed by the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A meteorological parameter prediction method based on genetic algorithm optimization of Elman neural network, characterized in that: include: Acquiring wing icing ice shape data under different icing conditions, and inputting the wing icing ice shape data into a trained Elman neural network model to obtain a prediction result of a meteorological parameter; The Elman neural network model uses flight speed, ambient temperature, wing attack angle, ice effective thickness and ice rate as input parameters, and meteorological parameters mean effective water droplet diameter MVD and liquid water content LWC as output; The Elman neural network model is trained based on a genetic algorithm to optimize weights and threshold assignment neural networks; The Elman neural network comprises two parts, the first part is to optimize the initial weights and thresholds by using a genetic algorithm, and the first part imports the optimized initial weights and thresholds into the neural network for training and prediction; The first part of the neural network includes: A set of initial weights and thresholds of the Elman neural network is defined as an individual, and several sets of initial weights and thresholds, i.e., several individuals, together constitute the population of the genetic algorithm; The genetic algorithm optimizes the initial weights and thresholds of the Elman neural network, and determines the initial weights and thresholds as individuals in the population of the genetic algorithm. Multiple groups of initial weights and thresholds form multiple individuals, which together constitute a population.

2. The meteorological parameter prediction method based on genetic algorithm optimization of Elman neural network according to claim 1 is characterized in that: The wing icing ice shape data is obtained by the following process: according to the relationship between LWC, MVD and temperature T listed in Appendix C of the "China Transport Aircraft Airworthiness Standards [CCAR-25-R4]", combined with flight parameters, randomly set different icing conditions, perform numerical calculations on the icing ice shapes, and obtain the wing icing ice shape data.

3. The meteorological parameter prediction method based on genetic algorithm optimization of Elman neural network according to claim 1 is characterized in that: Set the measuring points of the wing icing ice shape data, and obtain the ice thickness data of each measuring point at the selected measuring point position; The ice thickness of the two-dimensional airfoil is numerically calculated to obtain the icing shape of the wing as the ice accumulates with the time step. The ice thickness of each measuring point after each time step is measured at the measuring point close to the leading edge of the two-dimensional airfoil, and an ice thickness and icing rate database is established.

4. The meteorological parameter prediction method based on genetic algorithm optimization of Elman neural network according to claim 1 is characterized in that: Ice thickness measuring points are set at the leading edge stagnation point of the two-dimensional airfoil and at 0.5% and 1% positions of the upper and lower wing surfaces along the chord length.

5. The meteorological parameter prediction method based on genetic algorithm optimization of Elman neural network according to claim 1 is characterized in that: The genetic algorithm includes population initialization, determination of fitness function, selection operation, crossover operation and mutation operation.