Aircraft simulation data generation and situation deduction method based on flight plan
By generating aircraft simulation data based on flight plans, the problem of difficult-to-predict aircraft situations in traditional flight plans is solved, real-time monitoring and decision support of aircraft operating situations are achieved, and the response capabilities of controllers and pilots are improved.
Patent Information
- Application Number
- CN202510988117.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-17
- Publication Date
- 2025-09-16
AI Technical Summary
Traditional flight plans lack accurate descriptions of aircraft performance parameters, and the operating environment is complex, making it difficult for pilots and controllers to accurately predict flight status. The existing performance database is costly and inconsistent with my country's operating conditions.
Generate aircraft simulation data based on the flight plan, establish a real-time correlation mapping between aircraft status and airspace structure by calculating parameters such as distance, heading, speed, etc. between waypoints, generate dynamic data of aircraft real-time operation, and realize real-time situation deduction through callback functions.
It provides immediacy and predictability of aircraft operation status, improves controllers' situational awareness and pilots' autonomous decision-making capabilities, and enhances information interaction and response time.
Smart Images

Figure CN120656343A_ABST
Abstract
Description
Technical field:
[0001] The present invention designs a method for generating aircraft simulation data and deducing situation based on a flight plan, and belongs to the technical fields of air traffic control, aircraft simulation data generation, aircraft situation deduction, etc. Background technology:
[0002] Traditional flight plans only contain static route information and lack accurate descriptions of aircraft performance parameters (such as climb rate and descent angle). At the same time, the real-time status of aircraft operation is subject to many uncertainties, a complex operating environment, and the possibility of force majeure, which prevents pilots and controllers from having a good flight forecast before takeoff. Existing navigation systems usually rely on additional performance databases, but such data are expensive and are all developed based on foreign flight rules, which deviate from my country's actual operating conditions. Therefore, the present invention proposes a method for generating aircraft simulation data and situation deduction based on my country's domestic flight flight plans. Based on the received flight plan, it can quickly, accurately and in real time generate dynamic data of the real-time operation of the aircraft during the entire flight process, and establish a real-time correlation mapping between the aircraft status (climb / cruise / descent) and the airspace structure (sector / waypoint). It aims to solve the problem of helping controllers to grasp the flight situation of the flight in advance and conveniently based on the input information of the flight plan. Summary of the invention:
[0003] The present invention provides a method for generating aircraft simulation data and performing situation deduction based on a flight plan, which solves the problems disclosed in the background technology.
[0004] To solve the above technical problems, the technical solution adopted by the present invention is a method for generating aircraft simulation data and situation deduction based on flight plans, the main steps of which include:
[0005] Step 1: Analytical preprocessing model based on front-end flight plan
[0006] Step 1.1: Build an analysis model based on the flight plan generated by the front end
[0007] Based on the flight plan received by the front end, an analysis model is established to first format the flight plan and extract the basic aircraft information and waypoint information contained in the flight plan, including: aircraft name, waypoint name, waypoint latitude and longitude coordinates, estimated time of passing the waypoint, and estimated altitude of passing the waypoint.
[0008] Step 1.2: Calculate other state parameters
[0009] The distance between waypoints is calculated based on the basic information obtained through formatting, using the longitude and latitude conversion distance formula:
[0010]
[0011] Where R represents the radius of the Earth, φ represents latitude in radians, and λ represents longitude in radians. The aircraft's flight speed and heading are calculated. When calculating the flight heading, the formula for converting longitude and latitude into heading angles is used:
[0012]
[0013] where lon A.B ,lat A.B Represents the longitude and latitude of two points, Represents extremely small numbers, prevents the denominator from being 0, and pi.
[0014] Step 1.3: Organize the data format
[0015] Step 2: Aircraft situation deduction based on information of each flight segment
[0016] The aircraft situation deduction method based on the information of each flight segment includes: generating an aircraft object, calculating the current aircraft position, determining the current flight status, determining the current flight segment (between waypoints), calculating the current flight altitude, determining the current aircraft heading, and other process sequences.
[0017] Step 2.1: Create a flight class based on the flight plan, which contains multiple flight objects and basic attributes: flight call sign, original flight plan, waypoint name, current position, current heading, current speed, current altitude, and current flight status.
[0018] Step 2.2: Calculate the aircraft's attributes. Based on the current timestamp, aircraft speed, and the latitude and longitude of the segment's starting waypoint, determine the aircraft's current latitude and longitude, and obtain the latitude and longitude attributes and segment attributes. Calculate the climb / descent time required to reach the planned altitude based on the climb and descent rates. Determine the aircraft's flight status based on the current timestamp and calculate the current altitude attribute. Substitute the aircraft's current latitude and longitude coordinates and the next waypoint's coordinates into the heading angle conversion formula to obtain the aircraft's current heading attribute.
[0019] Step 2.3: Organize all flight attribute parameters and return them in a dictionary format to facilitate subsequent data loop output.
[0020] Step 3: Loop output based on real-time simulation data of aircraft situation
[0021] The loop output of real-time aircraft simulation situation data involves creating a callback function to process all generated flight object track points, generating a real-time parameter output format corresponding to the flight name, setting the output interval and number of times, and configuring the data output format. Specifically, the aircraft situation simulation is performed every four seconds and output in real time as a flight object and flight status.
[0022] The beneficial effects of the present invention are:
[0023] 1. Assisting controllers in their work and improving situational awareness and real-time status monitoring during aircraft operations;
[0024] 2. Assist aircraft pilots in making autonomous decisions, enhance their control over their aircraft, and enhance information exchange with air traffic controllers;
[0025] 3. The output of aircraft simulation situation data has a certain degree of immediacy and predictability. Compared with real-time situation monitoring and perception, it can leave pilots and controllers with sufficient reaction time in emergency situations. Description of the drawings:
[0026] Figure 1 A roadmap for a method of generating aircraft simulation data and performing situation deduction based on flight planning according to the present invention;
[0027] Figure 2 Generate an aircraft object schematic based on the flight plan;
[0028] Figure 3 Aircraft cycle output basic structure. Specific implementation method:
[0029] The following examples are only used to more clearly illustrate the technical solutions of the present invention and are not intended to limit the scope of protection of the present invention.
[0030] like Figure 1 As shown, the present invention discloses a method for generating aircraft simulation data and situation deduction based on flight plans, which includes the following main steps: Step 1: an analysis preprocessing model based on the front-end flight plan; Step 2: aircraft situation deduction based on information of each flight segment; Step 3: cyclic output based on real-time simulation situation data of the aircraft.
[0031] Step 1: Analytical preprocessing model based on front-end flight plan
[0032] Step 1.1: Establish an analysis model based on the flight plan generated by the front end and format it
[0033] Create a function to analyze the flight plan generated by the front-end. First, use the dictionary key to retrieve the aircraft callsign and waypoint list in the flight plan. The waypoint list includes each waypoint's name, latitude and longitude coordinates, altitude, and estimated time of arrival. Then, based on the output target and the attributes to be calculated later, organize them by name, convert the format, and rename them. This yields the basic flight plan attributes: the flight callsign and the waypoint list. The list includes the waypoint name, longitude and latitude, estimated altitude (alt), and estimated time of arrival (estimated_time).
[0034] Step 1.2: Calculate other state parameters
[0035] The basic attributes obtained from the analysis model are used to calculate the aircraft operation status attribute parameters: distance between waypoints, aircraft true heading, and aircraft operation speed.
[0036] (1) Distance between waypoints
[0037] The distance between an aircraft and a waypoint involves the conversion between latitude and longitude coordinates and the actual distance. Considering the long-distance flight of civil aircraft and the Earth as a sphere, it needs to be converted into spherical distance. Therefore, the Haversine formula is used for calculation:
[0038]
[0039] Here, R represents the Earth's radius, approximately 6,371 km; φ represents latitude in radians; and λ represents longitude in radians. In Python, we use A0, A1, B0, and B1 to store the longitude and latitude coordinates for each radian, respectively, to obtain Δφ = B1 - A1 and Δλ = B0 - A0. This is then calculated using the trigonometric functions included in the NumPy library. The real-time distance between the aircraft and the waypoint can also be calculated by inputting the aircraft's real-time longitude and latitude coordinates and the waypoint's coordinates.
[0040] (2) Aircraft true heading
[0041] Calculate the true heading of the aircraft using the function that converts latitude and longitude to heading angle:
[0042]
[0043] where lon A.B ,lat A.B Represents the longitude and latitude of two points, Represents a very small number, preventing the denominator from being zero, and pi. The function considers four different scenarios, depending on the position of B relative to A. By inputting the aircraft's real-time latitude and longitude coordinates and the target waypoint, the true heading of the aircraft at the current timestamp can be calculated.
[0044] (3) Aircraft operating speed
[0045] Without considering weather conditions, environmental factors, or detours to restricted areas, the aircraft's real-time operating speed is approximately equal to: Where d represents the distance between the previous and next waypoints in the segment, and time_diff represents the estimated arrival time of the previous and next waypoints.
[0046] Step 1.3: Organize the data format
[0047] All data are converted into floating point numbers and put into a new dictionary as a database for subsequent steps.
[0048] Step 2: Aircraft situational analysis based on the information of each flight segment includes generating independent aircraft classes, attaching different state attributes to the aircraft classes, and establishing aircraft climb and descent models. The state attributes of the aircraft classes are then continuously updated based on real-time analysis data.
[0049] Step 2.1: Create a flight class classAircraft based on the flight plan, and set the attributes according to the target output: flight callsign, original flight plan flightplan, waypoint names waypoints, current position current_position, current heading current_heading, current speed current_speed, current altitude height, and current flight status status.
[0050] Step 2.2: Calculate the aircraft attributes.
[0051] (4) According to step 1, the attributes that can be directly extracted are: flight callsign, original flight plan, and waypoint names. The corresponding data in the dictionary formed in step 1 can be directly extracted.
[0052] (5) Calculate the longitude and latitude coordinates of the current position current_position.
[0053] Given the latitude and longitude coordinates of the aircraft's starting airport, starting speed, and starting heading, and the goal of outputting the aircraft's status every 4 seconds, mathematically simplify the calculation, assuming x and y are the aircraft's real-time latitude and longitude coordinates. Then, x = aircraft longitude + time interval * velocity component in the longitude direction, and y = aircraft latitude + time interval * velocity component in the latitude direction, yielding:
[0054]
[0055] Among them cp lon 、cp latIndicates the current latitude and longitude coordinates of the aircraft, timeinterval is 4s, cv represents the current speed current_speed, ch represents the current heading current_heaing, and pi is π.
[0056] (6) Current heading current_heading and current speed current_speed.
[0057] In real-world situations, aircraft heading is adjusted based on environmental factors, wind direction, and other factors. This invention simplifies this by substituting the aircraft's current position and the next waypoint's location into the latitude and longitude-to-heading angle formula. The current speed requires the pilot to adjust it in real time based on commands from the air traffic controller. This invention also directly uses the average speed for the current segment.
[0058] (4) Current altitude and current flight status.
[0059] Given the climb rate and the altitude of each waypoint, the aircraft's climb and descent times (climb_time) can be calculated. Comparing the time past the starting waypoint of the segment with the current time indicates whether the aircraft has exited the climb / descent phase or is still in it, thereby determining the aircraft's flight status (status). The climb time is calculated based on the current time and the time past the starting waypoint. Multiplying this by the climb rate yields the climb altitude, which is then added to the altitude at the waypoint to obtain the current altitude (height). If the aircraft has exited the climb / descent phase and is in the cruise phase, the cruise altitude is used.
[0060] Step 2.3: Organize all flight status parameters, including the flight callsign, the aircraft's current latitude / longitude coordinates, the aircraft's current altitude, the aircraft's current speed, the aircraft's current heading, the aircraft's current segment waypoints (waypoint_from / waypoint_to), and the aircraft's current status, and return them as a string dictionary to facilitate subsequent data output.
[0061] The overall process of the aircraft situation deduction algorithm based on the information of each flight segment is shown in the following pseudo code:
[0062] Aircraft situation deduction algorithm based on information of each flight segment
[0063]
[0064] Step 3: Loop output based on real-time simulation data of aircraft situation
[0065] After completing the aircraft situation deduction algorithm based on information from each flight segment, aircraft status information (s) is available. However, to achieve real-time situation deduction for multiple aircraft, a multi-flight real-time output mode is required. The basic concept of this multi-flight real-time output mode is to loop through the current time as the basis for real-time situation acquisition, continuously update the real-time situation information of each flight based on the current time, and output it. The next time acquisition is interrupted at regular intervals to ensure data practicality and a moderate size. The final output is in Jason format, which facilitates direct application in subsequent ports.
[0066] The cyclic output based on the real-time simulation situation data of the aircraft mainly includes the following steps: creating an initialization function to process the flight situation information dictionary s, building a real-time parameter output matrix W corresponding to the flight name out , set the output interval and number of times, and set the data output format.
[0067] The pseudo code for the loop output based on the real-time simulation situation data of the aircraft is shown in the following table:
[0068] Pseudo code of loop output algorithm based on real-time simulation situation data of aircraft
[0069]
[0070] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of the claims of the present invention for which special approval is applied.
Claims
1. A method for generating aircraft simulation data and situation deduction based on flight plan, characterized in that: The following steps are involved: Step 1: Analytical preprocessing model based on front-end flight plan; Step 2: Aircraft situation deduction based on the information of each flight segment; Step 3: Circular output based on real-time simulation data of aircraft situation.
2. The method for generating aircraft simulation data and performing situation deduction based on flight plan according to claim 1, characterized in that: Step 1 specifically includes the following steps: Step 1.1: Build an analysis model based on the flight plan generated by the front-end to format and extract aircraft information and each leg information in the flight plan, including aircraft name, waypoint name, waypoint latitude and longitude coordinates, estimated time of passing the waypoint, and estimated altitude of passing the waypoint; Step 1.2: Calculate the distance between waypoints, the aircraft's flight speed, and flight direction; Step 1.3: Organize the data format.
3. The method for generating aircraft simulation data and performing situation deduction based on flight plan according to claim 2, characterized in that: In step 1.2, Waypoint latitude and longitude conversion distance formula: Where R represents the radius of the earth; φ represents the latitude in radians; λ represents the longitude in radians; The formula for converting longitude and latitude into heading angle is: where lon A.B ,lat A.B Represents the longitude and latitude of two points, Represents the extremely small number, pi.
4. The method for generating aircraft simulation data and performing situation deduction based on flight plan according to claim 1, characterized in that: Step 2 includes: generating an aircraft object, calculating the current aircraft position, determining the current flight state, determining the current flight segment, calculating the current flight altitude, and determining the current aircraft heading.
5. The method for generating aircraft simulation data and performing situation deduction based on flight plan according to claim 4, characterized in that: Specifically include: (1) Directly extracted attributes: flight callsign, original flight plan, waypoint names; (2) Calculate the current position's longitude and latitude coordinates: Given the latitude and longitude coordinates of the aircraft's starting airport, starting speed, starting heading, and the goal of outputting the aircraft status every 4 seconds, simplify the calculation based on mathematical principles. Let x and y be the aircraft's real-time latitude and longitude coordinates. Then, x = aircraft longitude + time interval * velocity component in the longitude direction, and y = aircraft latitude + time interval * velocity component in the latitude direction, resulting in: Among them cp lon 、cp lat Indicates the current latitude and longitude coordinates of the aircraft, timeinterval is 4s, cv represents the current speed current_speed, ch represents the current heading current_heaing, and pi is π; (3) The heading is directly obtained by substituting the aircraft's current position and the next waypoint's position into the above latitude and longitude to convert the heading angle formula; the current speed requires the pilot to receive real-time commands from the controller to adjust, and directly take the average speed of the current segment; (4) Current altitude and current flight status; Given the climb rate and the altitude of each waypoint in each segment, the aircraft's climb and descent times (climb_time) can be calculated. By comparing the transit time at the starting waypoint of the segment with the current time, we can determine whether the aircraft has exited the climb / descent process or is still in the climb / descent phase, thereby obtaining the aircraft's flight status (status). The climb time can be calculated based on the current time and the transit time at the starting waypoint. Multiplying this by the climb rate yields the climb altitude, which is then added to the altitude at the waypoint to obtain the current altitude (height). If the aircraft has exited the climb / descent phase and is in the cruise phase, the cruise altitude is used directly.
6. The method for generating aircraft simulation data and performing situation deduction based on flight plan according to claim 4, characterized in that: Generate independent aircraft classes, attach different status attributes to the aircraft classes, and continuously update the status attributes of the aircraft classes based on real-time simulation data.
7. The method for generating aircraft simulation data and performing situation deduction based on flight plan according to claim 1, characterized in that: Step three includes: cyclically obtaining the current time as the basis for the real-time situation, continuously updating the real-time situation information of the flight according to the current time and outputting it, and then interrupting it for the next time acquisition at a certain interval; specifically, performing a situation simulation on the aircraft every 4 seconds and outputting it in real time in the form of flight object plus flight status.
Citation Information
Cited By
ADS-B-based aircraft flight state identification method and system
CN121366508A
An aircraft flight state recognition method and system based on ADS-B
CN121366508B