Aircraft height prediction method, computer program and storage medium
Using a genetic programming algorithm to learn altitude expressions from historical flight data and combining it with skyward velocity solves the problem of low accuracy of aircraft altitude measurement in harsh environments and achieves higher altitude prediction accuracy and robustness.
Patent Information
- Application Number
- CN202411074556.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-29
AI Technical Summary
The aircraft altitude measurement method in the existing technology is easily affected by factors such as the external environment and flight attitude, resulting in measurement errors. Especially when the GPS signal quality is poor under bad weather and terrain obstacles, it is difficult to obtain high-precision altitude.
Genetic programming algorithms are used to learn accurate altitude expressions from a large amount of historical flight data, and are combined with inertial navigation information for sensor fusion to obtain the aircraft's skyward speed, and the air pressure altitude error is compensated through the fuselage pressure and angle of attack pressure values. Improving the robustness of height prediction models.
By discarding flight parameters that have little impact, the altitude prediction method is simplified, which improves the accuracy of altitude prediction, reduces dimension traps, improves calculation efficiency, and significantly improves the accuracy of altitude prediction in harsh environments.
Smart Images

Figure CN118857230A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of testing, and in particular to an aircraft altitude prediction method, a computer program and a storage medium. Background Art
[0002] Altitude data is crucial for tasks such as aircraft navigation planning, air traffic management, and flight control. Accurate altitude data helps ensure that aircraft are on the correct route and avoid collisions between aircraft and between aircraft and the ground.
[0003] The methods for measuring altitude on an aircraft can be mainly divided into two categories: satellite altitude based on the global positioning system (GPS) and pressure altitude based on the airborne atmospheric system. Pressure altitude is calculated using an airborne pressure altitude sensor and is one of the most widely used altitude measurement methods. Pressure altitude has the characteristics of high real-time performance, strong resistance to external interference, and independent operation. However, the accuracy of pressure altitude is easily affected by temperature, gusts, and aircraft attitude. Satellite altitude based on the global positioning system is obtained by parsing signals from multiple satellites by an airborne satellite receiver, and is one of the most accurate altitude measurement methods currently available. However, GPS-based altitude is heavily dependent on the quality of external GPS signals. Due to the limited resources and energy of the satellite platform, the satellite cannot transmit high-power signals throughout the airspace, and there are losses on the transmission path. This results in poor GPS signal quality in environments such as severe weather and terrain obstacles. In addition, there is a risk of GPS signals being spoofed and interfered with by other devices. Incorrect GPS may cause the aircraft to change its route and make an emergency landing, or even trigger the terrain awareness warning system. Therefore, it is still a major challenge to obtain high-precision altitude under conditions where GPS is invalid.
[0004] In summary, the method of directly using tests to obtain the height of an aircraft is always susceptible to factors such as the external environment and flight attitude. Currently, there is no particularly effective method for measuring the height of an aircraft that can cope with changes in the external environment. Summary of the invention
[0005] The purpose of the present invention is to provide an aircraft altitude prediction method, computer program and storage medium, aiming to solve the technical problem of test errors caused by factors such as the external environment and flight attitude in direct testing in the prior art. The present invention utilizes the strong coupling between multiple flight parameters, uses a genetic programming algorithm to learn from a large amount of historical flight data to obtain an accurate altitude expression, combines inertial navigation information to carry out sensor fusion (obtain the celestial velocity of the aircraft), and further improves the robustness of the altitude prediction model.
[0006] One aspect of the present invention provides an aircraft altitude prediction method, comprising: Get the fuselage pressure f of the aircraft at time t 1t , angle of attack pressure f 2t , the atmospheric pressure altitude of the aircraft’s environment , and the celestial velocity v of the aircraft t ; The predicted height at time t is calculated by the following height prediction function: : .
[0007] The altitude prediction function uses a genetic programming algorithm to learn an accurate altitude expression from a large amount of historical flight data.
[0008] As a preferred method, by integrating the celestial velocity v of the aircraft t Get the predicted altitude of the aircraft at the next moment : ; ; in, is the time interval, is the weight coefficient, .
[0009] Compared with the prior art, the aircraft altitude prediction method of the present application has at least the following beneficial effects: This application uses a genetic programming algorithm to learn from a large amount of historical flight data to obtain an accurate altitude expression. In the process of training and optimization, a large number of flight parameters with little influence are discarded through the algorithm, and only three useful flight parameters are left. The altitude value of the aircraft can be calculated using these three flight parameters. This greatly simplifies the method of predicting the altitude of an aircraft through other flight parameters. In addition, since the error of the pressure altitude is compensated by the fuselage pressure and the angle of attack pressure value in the altitude prediction function, the predicted altitude is closer to the actual altitude, thereby improving the accuracy of altitude prediction.
[0010] This application further improves the prediction accuracy by integrating the celestial velocity of the aircraft.
[0011] This application performs mapping processing on the training samples during the training and optimization of the highly predictive function to avoid dimensional traps that may exist when the training samples are large, thereby improving the efficiency of model training and optimization. DETAILED DESCRIPTION
[0012] The following description provides many different embodiments or examples for implementing different features of the present invention. The components and arrangements described in the following specific examples are only used to simplify the present invention and are only used as examples, not to limit the present invention.
[0013] Normally, flight data records the operating status of the aircraft in real time. However, due to factors such as aircraft structural design, sensor layout, aerodynamics, etc., there are complex coupling relationships in flight data. When some flight data is unavailable, the remaining flight data can be used to carry out prediction work on the unavailable flight data.
[0014] This application takes advantage of the strong coupling between flight data and uses a genetic programming algorithm to learn accurate altitude expressions from a large amount of historical flight data.
[0015] Specifically, an embodiment of the present application provides a training method for an aircraft altitude prediction function, specifically: Obtain multiple sets of training samples, the training samples including M historical flight parameters and a corresponding satellite altitude; wherein the M historical flight parameters are input values and the corresponding satellite altitude is an output value; the flight parameters include at least fuselage pressure, angle of attack pressure and pressure altitude; Multiple groups of training samples are input into the genetic programming algorithm model for training, and the optimal function obtained according to the optimization objective is the height prediction function.
[0016] These training samples can be obtained from historical data through sliding window processing. Since sliding window processing is a conventional technology in the field, it will not be described here.
[0017] If the sliding window length is not large, the samples processed by the sliding window can be directly input into the genetic programming algorithm model for training; if the sliding window length is large, it may fall into the dimension trap and reduce the computational efficiency. Therefore, when the sliding window length is greater than the set value, the input samples in the training samples are randomly mapped to reduce the dimension of the training samples to improve the computational efficiency.
[0018] Specifically, the input sample Divide into sets according to flight parameters ;X i is the value of flight parameter i, W is the sliding window length; For each flight parameter X i Generate a random matrix P respectively i , ; , N(0,1) is a normal distribution; Calculate the flight parameter characteristics for each flight parameter , ; Connect the characteristics of all flight parameters to form ; ; Finally, With the original input sample The last column of is expanded to obtain the input value of the processed training sample : ; in, Indicates the expansion operation. is the original input sample The last column of .
[0019] This gives us a training sample set , , where Y n is the nth output sample value.
[0020] The processed training sample set is input into the genetic programming algorithm for training. , f(.) is the genetic programming algorithm, express The genetic algorithm used in this embodiment is a conventional algorithm and will not be described in detail here.
[0021] During the training process, the optimization objective function is ;in represents the distance function, including but not limited to Manhattan distance and Euclidean distance. When the genetic programming algorithm reaches the stopping condition, the optimal .
[0022] In this embodiment, 41 flight parameters are used, including fuselage pressure, indicated total pressure, angle of attack estimate, calibrated airspeed, pressure altitude, relative pressure altitude, true sideslip angle, true total pressure, true static pressure, true angle of attack, true airspeed, static pressure estimate, Mach number, X-axis acceleration, X-axis angular velocity, Y-axis acceleration, Y-axis angular velocity, Z-axis acceleration, Z-axis angular velocity, pitch angle, angle of attack pressure, pitch angle cosine, north speed, ground speed, celestial speed, celestial speed, pressure altitude, roll angle, sideslip angle estimate, roll angle cosine, roll angle sine, true heading angle, latitude, longitude, track angle, west speed, flight track angle, total pressure estimate, vertical speed, field pressure binding altitude, and total atmospheric temperature. After training, the optimal for: ,in is the pressure altitude, is the fuselage pressure, Angle of attack pressure.
[0023] That is to say, after the training model of the present application is trained, the optimization function obtained automatically discards the flight parameters that have little effect on the predicted height, and only retains the three flight parameters with the greatest impact. It is worth noting that the optimal function obtained by the present application is automatically retained by the genetic algorithm during the training process, and the remaining 38 functions are automatically discarded by the genetic algorithm, so that the optimal function finally obtained can predict the height of the aircraft by collecting the least number of parameters during actual use, which is convenient and has high prediction accuracy.
[0024] Therefore, the optimal function can be directly used to predict the altitude of the aircraft.
[0025] In one embodiment of the present application, a method for predicting aircraft altitude is provided, using the optimal prediction function obtained in the above embodiment, specifically: Get the fuselage pressure f of the aircraft at time t 1t , angle of attack pressure f 2t , the atmospheric pressure altitude of the aircraft’s environment , and the celestial velocity v of the aircraft t ; The celestial velocity of the aircraft can be understood as the vertical component of the aircraft velocity; The predicted height at time t is calculated by the following height prediction function: : .
[0026] That is, the current aircraft altitude can be predicted by collecting the current flight parameters. Since the two parameters of fuselage pressure and angle of attack pressure are added, the error of the collected pressure altitude can be compensated. Through comparative analysis (as shown in Table 1), it can be seen from this embodiment that the MAE error between the predicted GPS altitude value and the actual GPS altitude obtained by adopting the prediction method of this application is between 17.70 and 47.01, which is much lower than the MAE error of 216.38 to 279.78 between the pressure altitude and the actual GPS altitude, which proves the effectiveness and superiority of the method proposed in this article (the smaller the MSE and MAE, the closer the predicted value is to the actual value, and the better the algorithm effect).
[0027] As a preferred method, the celestial velocity of the aircraft can be further integrated to obtain the predicted altitude of the aircraft at the next moment. : ; ; in, is the time interval, is the error parameter, . It can be set manually based on experience or obtained through measurement. In this embodiment, it is set in the following way: ; is the noise variance of the genetic programming algorithm, is the prediction variance of the height prediction function; , is the noise variance of the acquisition channel of the celestial velocity.
[0028] The fused prediction method provided in this embodiment is compared with the pressure altitude and several other conventional algorithms, as shown in Table 1. The predicted value and the real satellite altitude are used to calculate the evaluation index, and the present invention uses two evaluation indicators, MSE and MAE. The smaller the MSE and MAE, the closer the predicted value is to the real value, and the better the algorithm effect is.
[0029] Table 1 Comparison results of test sets
[0030] It can be seen from Table 1 that the evaluation index obtained by the prediction method of the present application is the smallest, indicating that the prediction method of the present application is significantly better than the directly collected pressure altitude and several other methods, and the prediction result of the fusion of celestial velocity is relative to the prediction result of the aforementioned embodiment of the present application without fusion of celestial velocity, which can also significantly improve the accuracy of aircraft altitude prediction.
[0031] In one embodiment of the present application, a computer-readable storage medium is provided, on which a program is stored. The stored program includes a method that can be loaded by a processor and process any of the above embodiments.
[0032] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0033] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for predicting aircraft altitude, characterized in that: Get the fuselage pressure f of the aircraft at time t 1t , angle of attack pressure f 2t , the atmospheric pressure altitude of the aircraft’s environment , and the celestial velocity v of the aircraft t ; The predicted height at time t is calculated by the following height prediction function: : 。 2. The method for predicting aircraft altitude according to claim 1, characterized in that: By integrating the celestial velocity v of the aircraft t Get the predicted altitude of the aircraft at the next moment : ; ; in, is the time interval, is the weight coefficient, .
3. The method for predicting aircraft altitude according to claim 2, characterized in that: The height prediction function is obtained in the following way: Obtain multiple sets of training samples, the training samples including M historical flight parameters and a corresponding satellite altitude; wherein the M historical flight parameters are input values and the corresponding satellite altitude is an output value; the flight parameters include at least fuselage pressure, angle of attack pressure and pressure altitude; Multiple groups of training samples are input into the genetic programming algorithm model for training, and the optimal function obtained according to the optimization objective is the height prediction function.
4. The method for predicting aircraft altitude according to claim 3, characterized in that: The optimization objective function is: ;in represents the distance function, Y is the output value in the training sample, is the predicted value.
5. The method for predicting aircraft altitude according to claim 4, characterized in that: The training samples are obtained from historical data through sliding window processing.
6. The method for predicting aircraft altitude according to claim 5, characterized in that: When the sliding window length is greater than the set value, random mapping is performed on the input samples in the training samples: Input sample Divide into sets according to flight parameters ;X i is the value of flight parameter i, W is the sliding window length; For each flight parameter X i Generate a random matrix P respectively i , ; , N(0,1) is a normal distribution; Calculate the flight parameter characteristics for each flight parameter , ; Connect the characteristics of all flight parameters to form ; Will With the original input sample The last column of is expanded to obtain the input value of the processed training sample.
7. The method for predicting aircraft altitude according to any one of claims 3 to 6, characterized in that: The value of is set by: ; is the noise variance of the genetic programming algorithm, is the prediction variance of the height prediction function.
8. A computer program for aircraft altitude prediction, characterized in that The program can be loaded by a processor to execute the aircraft altitude prediction method as described in any one of claims 1-7.
9. A storage medium, characterized in that: The storage medium stores a program, which can be loaded by a processor and execute the aircraft altitude prediction method as described in any one of claims 1-7.
