Low-altitude unmanned aerial vehicle emergency scheduling and situation deduction method based on digital twinning
By constructing a comprehensive situational data system and a virtual-real two-way closed-loop control, the problem of real-time simulation and intelligent response in emergency scenarios in existing technologies has been solved, enabling efficient and accurate decision-making for emergency dispatch and situational simulation of low-altitude UAVs.
Patent Information
- Application Number
- CN202611519111.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-29
- Publication Date
- 2026-11-24
AI Technical Summary
Existing digital twin systems struggle to achieve real-time simulation and intelligent response in emergency scenarios. They lack self-learning capabilities, cannot adapt to dynamic changes, and cannot achieve efficient state perception, scenario modeling, and decision output in low-altitude drone swarms. Furthermore, they cannot achieve dynamic trade-offs among multiple objectives such as safety, task completion, and energy consumption.
By constructing a comprehensive situational awareness database, combining it with a risk database and a historical emergency case library for feature comparison, emergency triggering judgment results and initial boundary constraints are generated. Multi-candidate strategy space discretization decomposition is performed, virtual flight dynamics simulation is executed in parallel, multi-dimensional comprehensive quantitative evaluation is carried out based on prediction data, target emergency strategies are generated, and virtual and real two-way closed-loop control and strategy optimization are performed.
It significantly improves the foresight and adaptive response capabilities of emergency dispatch decisions, enables real-time corrective control and continuous strategy optimization, and meets the requirements of efficiency and accuracy in emergency scenarios.
Smart Images

Figure CN123159136A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the intersection of low-altitude UAV emergency dispatch and digital twin simulation, and in particular to a method for low-altitude UAV emergency dispatch and situation simulation based on digital twins. Background Technology
[0002] With the rapid development of the low-altitude economy in logistics, emergency rescue, and aerial surveying, low-altitude drone activity is becoming increasingly frequent, posing severe challenges to drone dispatch and situational control in emergency scenarios. In emergency rescue, disaster surveying, and material delivery missions, drones often face unforeseen circumstances such as sudden weather changes, limited battery power, airspace conflicts, and communication interruptions, placing extremely high demands on the timeliness and safety of emergency responses. Digital twin technology, with its advantages of virtual-real mapping, real-time interaction, and full lifecycle management, provides a technical path to achieve synchronous linkage between physical drones and virtual models, and to improve the intelligence level of emergency dispatch.
[0003] In recent years, academia and industry have conducted extensive research in the field of digital twin drones, mostly focusing on 3D modeling and visualization to display drone models, simulate flight trajectories, or verify control algorithms. This primarily serves the design verification and offline analysis stages, and is insufficient to support real-time simulation and intelligent response in emergency scenarios. Furthermore, in terms of scheduling and decision-making, mainstream methods rely on predefined rules, fixed thresholds, or traditional optimization algorithms. These methods offer limited response strategies and cannot comprehensively determine the optimal solution based on task status, environmental constraints, and remaining energy. Moreover, the fixed threshold settings make it difficult to adapt to dynamic changes in different task scenarios.
[0004] More importantly, existing digital twin systems are mostly one-way mappings, that is, data synchronization from physical entities to virtual models. They lack the closed-loop control capability to drive the actions of physical machines from the results of the twin model's deduction. They also generally lack self-learning capabilities, and the data, strategies, and results of each emergency response are not effectively accumulated and reused. In addition, the dynamic interaction of large-scale UAV swarms in low-altitude scenarios places higher demands on modeling accuracy and computational efficiency. Existing deduction mechanisms are unable to complete state perception, scenario modeling, strategy deduction, and decision output in a very short time, and cannot achieve dynamic trade-offs among multiple objectives such as safety, task completion, and energy consumption. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this application provides a method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles (UAVs) based on digital twins, including the following steps:
[0006] The process involves acquiring a UAV physical entity dataset, parsing and processing the dataset to obtain UAV model parameters and low-altitude 3D environmental scene data; acquiring a UAV real-time flight status dataset, aligning the dataset to obtain UAV real-time status data; and performing fusion calculations based on the UAV model parameters and UAV real-time status data to obtain global situational awareness data.
[0007] Based on feature comparison between the global situational data, risk database, and historical emergency case database, emergency trigger determination results and initial boundary constraints are obtained; based on the emergency trigger determination results and global situational data, a multi-candidate strategy space discretization decomposition operation is performed to obtain a set of multi-candidate action sequences.
[0008] Based on a set of multiple candidate action sequences, parallel simulation and deduction are performed in low-altitude three-dimensional environment scene data to obtain prediction data. The prediction data includes prediction trajectory data, prediction energy consumption data, and prediction conflict probability data. Based on the prediction data, a multi-dimensional comprehensive quantitative evaluation is performed to obtain comprehensive score data.
[0009] The target emergency strategy data is obtained by sorting and comparing the comprehensive scoring data; the specific flight control command set data is obtained by converting the flight control command into flight control command data based on the target emergency strategy data.
[0010] Commands are issued and executed based on specific flight control command set data to obtain actual motion state data; the actual motion state data is compared with the predicted trajectory data to obtain state deviation data.
[0011] Online correction calculations are performed based on state deviation data to obtain flight control command fine-tuning compensation data; the flight control command fine-tuning compensation data is then fed back into the specific flight control command set data.
[0012] The twin model parameters are calibrated based on the state deviation data to obtain the updated UAV model parameters; the updated UAV model parameters are then fed back into the global situational awareness data to form an adaptive learning closed loop.
[0013] Preferably, the UAV physical entity dataset is parsed and processed to obtain UAV model parameters and low-altitude 3D environment scene data, including:
[0014] Multi-scale feature decomposition is performed on the UAV physical entity dataset to obtain the original set of UAV physical parameters; physical parameter identification is performed on the original set of UAV physical parameters to obtain the UAV airframe inertial tensor, aerodynamic derivative, propulsion system efficiency mapping relationship and battery discharge characteristic curve.
[0015] The parameters of the UAV model are obtained by performing parameter coupling and correlation operations on the UAV airframe inertial tensor, aerodynamic derivative, propulsion system efficiency mapping relationship and battery discharge characteristic curve;
[0016] The raw low-altitude environmental mapping data is extracted from the UAV physical entity dataset to obtain low-altitude obstacle point cloud data, terrain elevation data, and airspace restriction boundary data. The low-altitude obstacle point cloud data, terrain elevation data, and airspace restriction boundary data are then processed into three-dimensional voxels to obtain low-altitude three-dimensional environmental scene data.
[0017] Preferably, the real-time flight status dataset of the UAV is aligned to obtain real-time UAV status data, including:
[0018] Clock drift compensation was performed on the real-time flight status dataset of the UAV to obtain time-stamped inertial measurement data, global positioning data, visual odometry data, and battery management system telemetry data.
[0019] Federated Kalman filtering fusion is performed on time-stamped inertial measurement data, global positioning data, and visual odometry data to obtain the real-time position coordinates, real-time attitude angles, and real-time flight speed of the UAV.
[0020] Perform a state of charge estimation operation on the telemetry data of the battery management system to obtain the remaining power.
[0021] The inertial measurement data and environmental perception sensor data are correlated to obtain environmental disturbance data; the real-time position coordinates, real-time attitude angles, real-time flight speed, remaining battery power and environmental disturbance data of the UAV are serialized and encapsulated to obtain the real-time status data of the UAV.
[0022] Preferably, based on the fusion calculation of UAV model parameters and UAV real-time status data, the overall situational awareness data is obtained, including:
[0023] Based on the UAV model parameters, state estimation extrapolation is performed on the real-time state data of the UAV to obtain the UAV periodic predicted state data.
[0024] The residual calculation operation is performed on the UAV periodic predicted state data and the UAV real-time state data to obtain the state estimation error matrix; based on the state estimation error matrix, the optimal estimation weighting operation is performed on the UAV real-time state data to obtain the current flight state of the UAV.
[0025] Spatial topology relationship calculation is performed on the current flight status of the UAV and the low-altitude three-dimensional environment scene data to obtain the surrounding airspace environment status; spatiotemporal correlation encapsulation operation is performed on the current flight status of the UAV, the surrounding airspace environment status and the state estimation error matrix to obtain global situation data.
[0026] Preferably, based on feature comparison between the overall situational awareness data, the risk database, and the historical emergency case database, the emergency trigger determination result and initial boundary constraints are obtained, including:
[0027] Feature extraction is performed on the global situation data to obtain situation feature components; the situation feature components are then concatenated and encoded to obtain the situation feature vector.
[0028] The similarity measurement operation is performed between the situation feature vector and the risk level feature pattern pre-stored in the risk database to obtain the trigger probability distribution; the nearest neighbor search operation is performed between the situation feature vector and the case features in the historical emergency case database to obtain the set of historical emergency cases.
[0029] The maximum value filtering and adaptive threshold determination operations are performed on the trigger probability distribution to obtain the emergency trigger determination result;
[0030] Constraint extraction is performed on a set of historical emergency cases to obtain task constraint information; airspace reachability analysis is performed based on global situational data to obtain airspace constraint information; and battery endurance boundary calculation is performed based on global situational data to obtain battery constraint information.
[0031] The task constraint information, spatial constraint information, and electrical constraint information are integrated to obtain the initial boundary constraint conditions.
[0032] Preferably, based on the emergency trigger determination result and the overall situational data, a multi-candidate strategy spatial discretization decomposition operation is performed to obtain a set of multi-candidate action sequences, including:
[0033] Perform an emergency mode determination operation on the emergency trigger determination result to obtain an emergency mode confirmation identifier;
[0034] Based on the global situational data and initial boundary constraints, the space for actionable actions is defined to obtain a set of feasible flight actions.
[0035] By performing a strategy space constraint binding operation on the emergency mode confirmation identifier, the set of feasible flight actions, the global situation data and the initial boundary constraints, a set of constrained feasible actions is obtained.
[0036] The time dimension expansion operation is performed on the set of constrained actions to obtain multiple sets of candidate action combinations; the action parameters of each set of candidate action combinations are discretized and sampled to obtain a set of multiple candidate action sequences.
[0037] Preferably, based on a set of multiple candidate action sequences, parallel simulation and deduction are performed on low-altitude three-dimensional environment scene data to obtain prediction data, including:
[0038] Each candidate action sequence in the multi-candidate action sequence set is loaded into the low-altitude three-dimensional environment scene data, and multi-branch virtual flight dynamics simulation is performed in parallel to obtain the complete predicted flight trajectory corresponding to each candidate action sequence; at the same time, environmental collision detection is performed during the simulation to obtain the airspace collision probability distribution along the trajectory.
[0039] Trajectory feature extraction is performed on the complete predicted flight trajectory to obtain predicted trajectory data; energy consumption is estimated by combining the complete predicted flight trajectory with UAV model parameters to obtain predicted energy consumption data; and spatiotemporal integration is performed on the airspace conflict probability distribution to obtain predicted conflict probability data.
[0040] Preferably, a comprehensive quantitative evaluation is performed based on the predicted data to obtain comprehensive score data, including:
[0041] The predicted data are normalized to obtain the normalized trajectory safety index, energy consumption economy index, and task completion index.
[0042] Dynamic weight allocation is performed based on the risk event type corresponding to the emergency trigger judgment result to obtain trajectory safety weight, energy consumption economy weight and task completion weight.
[0043] The normalized trajectory safety index, energy consumption economy index, and task completion index are weighted and summed with the trajectory safety weight, energy consumption economy weight, and task completion weight, respectively, to obtain comprehensive score data.
[0044] Preferably, online correction calculations are performed based on state deviation data to obtain flight control command fine-tuning compensation data, including:
[0045] Perform a time-series difference operation on the state deviation to obtain the deviation change rate data;
[0046] Multi-stage feedback control calculations are performed on the deviation change rate data and the state deviation to obtain the control quantity correction value.
[0047] Based on the control quantity correction value, the control surface deflection and throttle increment are mapped to obtain flight control command fine-tuning compensation data.
[0048] Preferably, the twin model parameters are calibrated based on the state deviation data to obtain updated UAV model parameters; the updated UAV model parameters are then fed back into the global situational awareness data to form an adaptive learning closed loop, including:
[0049] Based on the state deviation data, parameter error sensitivity analysis is performed to obtain the error Jacobian matrix of each model parameter; based on the error Jacobian matrix and the state deviation, least squares estimation is performed to obtain the model parameter correction; based on the model parameter correction, the UAV model parameters are superimposed and updated to obtain the updated UAV model parameters.
[0050] The flight control command fine-tuning compensation data and the specific flight control command set data are vector superimposed to obtain the updated specific flight control command set data; the updated specific flight control command set data is used to continuously control the UAV to perform flight operations and continuously output new actual motion state data;
[0051] After feeding the updated UAV model parameters back into the global situation data, the corresponding original model parameters in the global situation data are replaced with the updated UAV model parameters to obtain the updated global situation data. The updated global situation data is then used as the input basis for the next round of parallel simulation and the situation simulation and strategy update process is continuously iterated.
[0052] In summary, this application includes at least one of the following beneficial technical effects:
[0053] 1. This application constructs a global situational awareness database and performs feature comparison based on a risk database and a historical emergency case database to dynamically generate emergency trigger judgment results and initial boundary constraints. On this basis, it performs spatial discretization decomposition of multiple candidate strategies and executes multi-branch virtual flight dynamics simulation in parallel in low-altitude three-dimensional environment scene data. Simultaneously, it obtains predicted trajectory data, predicted energy consumption data, and predicted conflict probability data. Based on the type of emergency event, it performs dynamic weight allocation and multi-dimensional comprehensive quantitative evaluation, which significantly improves the foresight and adaptive handling capability of emergency dispatch decision-making in complex scenarios.
[0054] 2. This application compares actual motion state data with predicted trajectory data to obtain state deviation. Based on the state deviation, online correction calculations are performed to generate flight control command fine-tuning compensation data, which is then fed back into the specific flight control command set to achieve real-time correction control of the physical UAV. Furthermore, twin model parameter calibration is performed to obtain updated UAV model parameters, which are then fed back into the global situational awareness data. This forms an adaptive learning closed loop from virtual simulation to physical execution, and then from physical feedback to virtual model updates, achieving bidirectional virtual-real closed-loop control and continuous strategy optimization.
[0055] 3. This application utilizes a parallel simulation and deduction mechanism based on a set of multiple candidate action sequences to simultaneously generate prediction data for multiple candidate strategies within a unified 3D environmental scene, significantly shortening the emergency decision-making cycle. Simultaneously, it combines state estimation extrapolation and optimal estimation weighted calculation methods to construct high-precision global situational data, providing reliable input for rapid deduction, meeting the real-time requirements of emergency scenarios, and ensuring the efficiency and accuracy of low-altitude UAV emergency dispatch and situational deduction. Attached Figure Description
[0056] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0057] Figure 1 This is a flowchart illustrating the overall process of the low-altitude unmanned aerial vehicle (UAV) emergency dispatch and situation simulation method based on digital twins, as described in this application.
[0058] Figure 2 This is a detailed flowchart of parallel simulation and multi-dimensional comprehensive quantitative evaluation in the embodiments of this application.
[0059] Figure 3 This is a flowchart of the adaptive learning closed-loop process driven by state deviation in an embodiment of this application.
[0060] Figure 4 This is a flowchart of the emergency mode determination and strategy space discretization decomposition in an embodiment of this application. Detailed Implementation
[0061] The following description, in conjunction with the implementation of the present invention, is merely an example and illustration of the concept of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described, or use similar methods to replace them, as long as they do not deviate from the concept of the invention, and all such modifications and additions should fall within the protection scope of the present invention.
[0062] Example
[0063] This application is applicable to emergency management scenarios for urban low-altitude logistics drones, particularly suitable for situations where logistics delivery drones encounter sudden strong winds, unexpected airspace obstacles, or rapid battery depletion during flight. It enables real-time situational awareness, parallel multi-strategy simulation, adaptive emergency dispatch, and virtual-real closed-loop optimization. The core idea is not to rely on fixed threshold alarms and pre-set emergency rules to generate response commands, but rather to construct a two-way mapping architecture between the physical drone and a virtual twin. This involves integrating multi-source flight status data to build a comprehensive situational awareness, combining a risk database with historical emergency cases to complete emergency judgments, generating multiple candidate action sequences for parallel virtual simulation, and dynamically allocating multi-objective evaluation weights based on risk type to select the optimal emergency strategy. Simultaneously, based on the deviation between actual flight data and predicted trajectories, online correction of flight control commands and self-calibration of twin model parameters are performed, forming a virtual-real two-way closed-loop self-learning mechanism. With this approach, even when faced with multiple coupled emergencies such as low-altitude meteorological disturbances, dynamic airspace obstacles, and limited power, it can still quickly output emergency dispatch solutions that take into account flight safety, energy efficiency, and mission continuity. This overcomes the shortcomings of traditional emergency dispatch strategies, such as being simplistic, lacking a virtual-real closed loop, being unable to dynamically balance multiple objectives, and being unable to continuously self-optimize.
[0064] This application discloses a method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles based on digital twins.
[0065] Reference Figure 1-4 The method for emergency dispatch and situation simulation of low-altitude UAVs based on digital twins includes the following steps:
[0066] The process involves acquiring a UAV physical entity dataset, parsing and processing the dataset to obtain UAV model parameters and low-altitude 3D environmental scene data; acquiring a UAV real-time flight status dataset, aligning the dataset to obtain UAV real-time status data; and performing fusion calculations based on the UAV model parameters and UAV real-time status data to obtain global situational awareness data.
[0067] Furthermore, the UAV physical entity dataset is parsed and processed to obtain UAV model parameters and low-altitude 3D environment scene data, including:
[0068] Multi-scale feature decomposition is performed on the UAV physical entity dataset to obtain the original set of UAV physical parameters; physical parameter identification is performed on the original set of UAV physical parameters to obtain the UAV airframe inertial tensor, aerodynamic derivative, propulsion system efficiency mapping relationship and battery discharge characteristic curve.
[0069] The parameters of the UAV model are obtained by performing parameter coupling and correlation operations on the UAV airframe inertial tensor, aerodynamic derivative, propulsion system efficiency mapping relationship and battery discharge characteristic curve;
[0070] The raw low-altitude environmental mapping data is extracted from the UAV physical entity dataset to obtain low-altitude obstacle point cloud data, terrain elevation data, and airspace restriction boundary data. The low-altitude obstacle point cloud data, terrain elevation data, and airspace restriction boundary data are then processed into three-dimensional voxels to obtain low-altitude three-dimensional environmental scene data.
[0071] The real-time flight status dataset of the UAV is then aligned to obtain the real-time status data of the UAV, including:
[0072] Clock drift compensation was performed on the real-time flight status dataset of the UAV to obtain time-stamped inertial measurement data, global positioning data, visual odometry data, and battery management system telemetry data.
[0073] Federated Kalman filtering fusion is performed on time-stamped inertial measurement data, global positioning data, and visual odometry data to obtain the real-time position coordinates, real-time attitude angles, and real-time flight speed of the UAV.
[0074] Perform a state of charge estimation operation on the telemetry data of the battery management system to obtain the remaining power.
[0075] The inertial measurement data and environmental perception sensor data are correlated to obtain environmental disturbance data; the real-time position coordinates, real-time attitude angles, real-time flight speed, remaining battery power and environmental disturbance data of the UAV are serialized and encapsulated to obtain the real-time status data of the UAV.
[0076] Finally, based on the UAV model parameters and the UAV's real-time status data, a fusion calculation is performed to obtain the overall situational awareness data, including:
[0077] Based on the UAV model parameters, state estimation extrapolation is performed on the real-time state data of the UAV to obtain the UAV periodic predicted state data.
[0078] The residual calculation operation is performed on the UAV periodic predicted state data and the UAV real-time state data to obtain the state estimation error matrix; based on the state estimation error matrix, the optimal estimation weighting operation is performed on the UAV real-time state data to obtain the current flight state of the UAV.
[0079] Spatial topology relationship calculation is performed on the current flight status of the UAV and the low-altitude three-dimensional environment scene data to obtain the surrounding airspace environment status; spatiotemporal correlation encapsulation operation is performed on the current flight status of the UAV, the surrounding airspace environment status and the state estimation error matrix to obtain global situation data.
[0080] In one specific implementation, data acquisition and initialization are carried out to obtain a UAV physical entity dataset encompassing UAV factory design drawings, ground calibration test records, historical flight logs, and digital maps and real-time reconnaissance data of the mission area. Multi-scale feature decomposition is performed on the UAV physical entity dataset to separate macroscopic geometric dimensions from microscopic dynamic response information, yielding a set of original physical parameters for the UAV, including mass, dimensions, initial values of moment of inertia, and power system specifications. Based on this, physical parameter identification is performed. Using ground taxiing test and wind tunnel calibration data, the least squares method is employed to fit the dynamic equations, extracting the UAV airframe inertia tensor, aerodynamic derivative, propulsion system efficiency mapping relationship, and battery discharge characteristic curves. Based on the mechanical connections and energy transfer links between the airframe, actuators, and energy system, these four types of parameters are coupled and integrated into UAV model parameters that characterize the UAV's flight dynamics response. Simultaneously, low-altitude obstacle point cloud data, terrain elevation data, and airspace restriction boundary data are extracted from the UAV physical entity dataset. These data are then processed into 3D voxels, dividing the continuous geographic space into equally spaced 3D grid cells with side lengths ranging from 0.5m to 2m. Each cell is assigned an occupancy status attribute, such as indicating whether an obstacle exists within the cell, whether it belongs to a restricted flight area, or terrain height information. This yields low-altitude 3D environmental scene data suitable for subsequent rapid collision detection.
[0081] Real-time flight status datasets of the UAV are acquired from airborne inertial measurement units, GPS receivers, visual sensors, battery management systems, and other environmental perception sensors. Alignment processing is performed on the UAV real-time flight status dataset to eliminate time misalignment caused by differences in sampling frequencies and clock sources between different sensors. Specifically, the offset of each sensor's clock relative to the system's master clock is calculated and interpolated for resampling to obtain time-stamped inertial measurement data, GPS data, visual odometry data, and battery management system telemetry data. The error covariance matrix calibrated according to the factory specifications of each sensor is read. This matrix is obtained by calculating the variance and covariance of the measurement error from the output data of each sensor under known conditions collected through ground static calibration tests. It is used to characterize the measurement uncertainty of the inertial measurement data, GPS data, and visual odometry data. The error covariance matrix is used to perform federated Kalman filtering weighted fusion on the time-stamped data. A zero-reset federated filtering structure is adopted, with the information sharing coefficient β=0 between the main filter and the sub-filter. This increases the fusion weight of inertial measurement data in high dynamic environments and the fusion weight of global positioning data in open environments, thereby obtaining the real-time position coordinates, real-time attitude angles and real-time flight speed of the UAV.
[0082] The remaining battery capacity is estimated by performing a state of charge (SOC) estimation operation on the telemetry data from the battery management system. The SOC estimation operation employs an ampere-hour integration method combined with an open-circuit voltage lookup table method. Specifically, real-time discharge current data collected by the battery management system is read, and the discharged current is integrated over time to obtain the consumed capacity. This consumed capacity is then subtracted from the initial remaining capacity to obtain a real-time estimated value. Simultaneously, after the battery has been allowed to settle and reach a voltage stabilization state before each flight, the battery terminal voltage is read. A calibration value is obtained by looking up the correspondence between open-circuit voltage and remaining capacity in the battery discharge characteristic curve. This calibration value is used to correct the initial remaining capacity calculated by the ampere-hour integration method, suppressing accumulated integration errors, and finally outputting the remaining capacity. The relative motion information perceived by visual or laser sensors is compared with the airframe motion information calculated from inertial measurement data to obtain environmental disturbance data reflecting the influence of the external wind field. The above position coordinates, attitude angles, flight speed, remaining capacity, and environmental disturbance data are packaged into a state vector containing timestamps according to a predefined protocol format to obtain the UAV's real-time state data.
[0083] The model parameters of the UAV are fused with real-time UAV state data for calculation. Based on the dynamic equations in the model parameters, the real-time state data is extrapolated to predict the UAV's attitude and velocity in the next control cycle, obtaining the UAV's periodic predicted state data. The dynamic equations are established based on the following conventions: an NED coordinate system is used, with the body coordinate system satisfying x-axis pointing along the nose, y-axis pointing along the right wing, and z-axis vertically downward; Euler angles are used in the ZYX rotation sequence, yaw around the z-axis, pitch around the y-axis, and roll around the x-axis, with pitch angle θ and roll angle φ; it is assumed that the body coordinate system is aligned with the principal axes of inertia, and the UAV body inertia tensor is represented as a diagonal matrix in the body coordinate system. Based on this, the following three equations are obtained:
[0084] Translational dynamics equations
[0085] in, It is the component of the drone's real-time flight speed along the three axes of the aircraft; It is the thrust component calculated from the propulsion system efficiency mapping relationship; The aerodynamic components are calculated from the aerodynamic derivative and real-time flight speed; m is the mass of the UAV, derived from the original set of physical parameters of the UAV; g is the acceleration due to gravity. These are the pitch and roll angles in the real-time attitude angles.
[0086] Rotational dynamics equations
[0087] in, Roll, pitch, and yaw angular velocities are derived from real-time UAV status data; M is the aerodynamic torque and thrust torque of each axis calculated from the aerodynamic derivatives. This represents the component of the UAV's inertial tensor along the principal axis.
[0088] Kinematic update equations
[0089] in, The Euler angle change rate is used as the time integral; the attitude angle in the next control cycle is obtained by integrating the Euler angle change rate over time. The aforementioned dynamic equations and kinematic update equations together constitute a six-degree-of-freedom flight dynamics model for the UAV, used for predictive calculations in state extrapolation, virtual simulation, and parameter calibration.
[0090] The extrapolated result is subtracted from the corresponding component of the real-time state data acquired at the next moment to obtain the state estimation error matrix used to quantify the uncertainty of model prediction. Using the state estimation error matrix as weighting coefficients, a weighted average is calculated between sensor observations and model predictions to suppress noise interference, resulting in a smooth and highly accurate current UAV flight state. The neighborhood of the UAV's current position coordinates in the 3D voxel grid of the low-altitude 3D environment scene data is queried, and the nearest distance and relative azimuth to obstacle point clouds and airspace boundary restrictions are calculated to obtain the surrounding airspace environment state. The UAV's current flight state, the surrounding airspace environment state, and the state estimation error matrix are bound and integrated under the same time reference to form global situational awareness data reflecting the complete battlefield environment at the current moment.
[0091] Based on feature comparison between the global situational data, risk database, and historical emergency case database, emergency trigger determination results and initial boundary constraints are obtained; based on the emergency trigger determination results and global situational data, a multi-candidate strategy space discretization decomposition operation is performed to obtain a set of multi-candidate action sequences.
[0092] Furthermore, based on feature comparisons between the overall situational awareness data, the risk database, and the historical emergency case database, emergency trigger determination results and initial boundary constraints are obtained, including:
[0093] Feature extraction is performed on the global situation data to obtain situation feature components; the situation feature components are then concatenated and encoded to obtain the situation feature vector.
[0094] The similarity measurement operation is performed between the situation feature vector and the risk level feature pattern pre-stored in the risk database to obtain the trigger probability distribution; the nearest neighbor search operation is performed between the situation feature vector and the case features in the historical emergency case database to obtain the set of historical emergency cases.
[0095] The maximum value filtering and adaptive threshold determination operations are performed on the trigger probability distribution to obtain the emergency trigger determination result;
[0096] Constraint extraction is performed on a set of historical emergency cases to obtain task constraint information; airspace reachability analysis is performed based on global situational data to obtain airspace constraint information; and battery endurance boundary calculation is performed based on global situational data to obtain battery constraint information.
[0097] The task constraint information, spatial constraint information, and electrical constraint information are integrated to obtain the initial boundary constraint conditions.
[0098] Then, based on the emergency trigger determination results and the overall situational data, a multi-candidate strategy space discretization decomposition operation is performed to obtain a set of multi-candidate action sequences, including:
[0099] Perform an emergency mode determination operation on the emergency trigger determination result to obtain an emergency mode confirmation identifier;
[0100] Based on the global situational data and initial boundary constraints, the space for actionable actions is defined to obtain a set of feasible flight actions.
[0101] By performing a strategy space constraint binding operation on the emergency mode confirmation identifier, the set of feasible flight actions, the global situation data and the initial boundary constraints, a set of constrained feasible actions is obtained.
[0102] The time dimension expansion operation is performed on the set of constrained actions to obtain multiple sets of candidate action combinations; the action parameters of each set of candidate action combinations are discretized and sampled to obtain a set of multiple candidate action sequences.
[0103] In one specific implementation, feature comparison is performed based on global situational awareness data, a risk database, and a historical emergency case database to obtain emergency trigger determination results and initial boundary constraints. Global situational awareness data includes the UAV's current flight status, the surrounding airspace environment status, and a state estimation error matrix. The risk database pre-stores risk level feature patterns obtained through historical flight accident statistics and simulation experiments, while the historical emergency case database stores marked records of past emergency responses.
[0104] The real-time position coordinates, attitude angles, flight speed, remaining battery power, environmental disturbance data, and distances to obstacles in the surrounding airspace are extracted from the overall situational awareness data. The variances of position estimation error, velocity estimation error, and attitude estimation error in the state estimation error matrix are also extracted as situational feature components. These components are arranged into a numerical array in a fixed order, and the environmental disturbance data and distance data are normalized to unify components with different dimensions into the same numerical range, resulting in a situational feature vector. The Euclidean distance between the situational feature vector and the feature patterns of each risk level is calculated, and the distance values are converted into probability values; the smaller the distance, the higher the probability. The probability values corresponding to all risk levels together constitute the trigger probability distribution. A KD-tree index structure is used to calculate the distance between the situational feature vector and the feature vectors of each case, and the top few cases with the smallest distances are selected to form a historical emergency case set. The system selects the maximum probability value from the trigger probability distribution and compares it with an adaptive threshold. If the maximum probability value is greater than the adaptive threshold, the emergency mode is triggered; otherwise, it is not triggered. The emergency trigger determination result is then output. The adaptive threshold is obtained through statistical learning of positive and negative samples in a historical emergency case database. Specifically, it calculates the classification boundary between all positive and negative samples in the risk level feature pattern space, uses the probability value corresponding to the boundary as the adaptive threshold, and updates it incrementally as the case database expands. The emergency trigger determination result is then subjected to an emergency mode determination operation to obtain an emergency mode confirmation identifier. This identifier is an enumerated value representing the specific emergency mode type, including return-to-base mode, forced landing mode, or circling and waiting mode.
[0105] Cases with a similarity higher than a preset similarity threshold to the current situation feature vector are selected from the historical emergency case set. The task retention targets, prohibited areas, and task priorities in these cases are extracted to obtain task constraint information. The preset similarity threshold is obtained through distance statistics between case feature vectors in the historical emergency case database. Specifically, the distance distribution between all pairs of cases is calculated, and the 90th percentile of the distance distribution is used as the preset similarity threshold. Using the UAV's real-time position coordinates, real-time attitude angles, real-time flight speed, surrounding airspace environment status, and UAV model parameters from the global situation data, the spatial boundary that the UAV can reach in the current state is estimated to obtain airspace constraint information. Using the remaining battery power, battery discharge characteristic curve, current real-time flight speed, and environmental disturbance data from the global situation data, the remaining flight time or remaining range that the UAV can continue flying at the current power consumption level is estimated to obtain battery constraint information. The intersection of the prohibited areas in the task constraint information and the reachable range in the airspace constraint information is taken, and the remaining range in the battery constraint information is used as an additional restriction on the reachable range. These are then integrated to obtain the initial boundary constraint conditions.
[0106] Based on the emergency mode confirmation identifier in the emergency trigger judgment result, the specific type of the current emergency mode is determined, including return-to-home mode, forced landing mode, or hovering and waiting mode. Using the current flight status of the UAV in the global situational awareness data, the surrounding airspace environment status, and the airspace and battery constraints in the initial boundary constraints, feasible flight maneuvers within the constraints are selected, including horizontal turns, climbs, descents, accelerations, decelerations, and hovering, forming a set of feasible flight maneuvers. The emergency response requirements corresponding to the emergency mode confirmation identifier are matched with the set of feasible flight maneuvers, eliminating maneuvers that conflict with the emergency mode requirements. The accuracy of the maneuver execution is then corrected using the state estimation error matrix in the global situational awareness data, and the initial boundary constraints are used as the range limit for maneuver execution, resulting in a set of constrained feasible maneuvers. At fixed time step intervals, the maneuvers in the set of constrained feasible maneuvers are arranged in execution order, generating multiple maneuver timing combinations covering different time lengths. The motion parameters in each candidate motion combination are discretely selected. Within the feasible range, multiple discrete values are selected at fixed intervals, with a velocity interval of 1 m / s and an angle interval of 5°. After parameter sampling, each time sequence combination generates multiple specific motion parameter combinations. All parameter combinations together form a set of multiple candidate motion sequences.
[0107] Based on a set of multiple candidate action sequences, parallel simulation and deduction are performed in low-altitude three-dimensional environment scene data to obtain prediction data. The prediction data includes prediction trajectory data, prediction energy consumption data, and prediction conflict probability data. Based on the prediction data, a multi-dimensional comprehensive quantitative evaluation is performed to obtain comprehensive score data.
[0108] Furthermore, based on a set of multiple candidate action sequences, parallel simulations are performed on low-altitude 3D environment scene data to obtain prediction data, including:
[0109] Each candidate action sequence in the multi-candidate action sequence set is loaded into the low-altitude three-dimensional environment scene data, and multi-branch virtual flight dynamics simulation is performed in parallel to obtain the complete predicted flight trajectory corresponding to each candidate action sequence; at the same time, environmental collision detection is performed during the simulation to obtain the airspace collision probability distribution along the trajectory.
[0110] Trajectory feature extraction is performed on the complete predicted flight trajectory to obtain predicted trajectory data; energy consumption is estimated by combining the complete predicted flight trajectory with UAV model parameters to obtain predicted energy consumption data; and spatiotemporal integration is performed on the airspace conflict probability distribution to obtain predicted conflict probability data.
[0111] Then, based on the predicted data, a multi-dimensional comprehensive quantitative evaluation is performed to obtain comprehensive score data, including:
[0112] The predicted data are normalized to obtain the normalized trajectory safety index, energy consumption economy index, and task completion index.
[0113] Dynamic weight allocation is performed based on the risk event type corresponding to the emergency trigger judgment result to obtain trajectory safety weight, energy consumption economy weight and task completion weight.
[0114] The normalized trajectory safety index, energy consumption economy index, and task completion index are weighted and summed with the trajectory safety weight, energy consumption economy weight, and task completion weight, respectively, to obtain comprehensive score data.
[0115] In one specific implementation, multiple candidate action sequences are simulated in parallel to simulate the flight process of the UAV executing each candidate action sequence in a virtual environment. The number of candidate action sequences generated in a single emergency dispatch ranges from 10 to 50. The flight control cycle, determined by reading flight control response test data from ground calibration tests, is 50ms. This flight control cycle is used as the simulation time step, and the virtual flight dynamics simulation is progressively advanced according to the simulation time step. The total number of simulation steps is determined based on the ratio of the candidate action sequence's duration to the simulation time step. Starting from the simulation start time, the following operations are performed after each simulation time step: the current UAV state is calculated using the dynamic equations in the UAV model parameters to obtain the UAV's position coordinates, attitude angles, and attitude angle change rate at the end of the time step; the occupancy status of the voxel unit corresponding to the position coordinates is queried in the 3D voxelized environment; if the voxel unit is marked as being occupied by an obstacle, a conflict is recorded for that time step; if the voxel unit is marked as being vacant, no conflict is recorded; the number of conflicts in each time step is counted against the total number of simulation steps, and the conflict ratio of each trajectory segment is calculated. The conflict ratios of all time steps together constitute the airspace conflict probability distribution.
[0116] Additional notes: The simulation computation time for a single candidate action sequence is less than 10ms, with a total computation time limit of 500ms. Simulation operations are performed on a ground station GPU parallel computing platform or an embedded multi-core processor. The flight control cycle is 50ms. When computational resources are limited, a candidate sequence pruning strategy is adopted: initial screening is performed based on a coarse dynamic model, retaining the top 20% of candidate sequences based on comprehensive scores, followed by refined simulation of the retained sequences.
[0117] A trajectory feature extraction operation is performed on the complete predicted flight trajectory to obtain predicted trajectory data. The trajectory feature extraction operation extracts the total trajectory length, maximum trajectory curvature, trajectory altitude variation range, and the distance between the trajectory endpoint and the mission target point from the complete predicted flight trajectory. These extracted results together constitute the predicted trajectory data. An energy consumption estimation operation is performed on the complete predicted flight trajectory in conjunction with UAV model parameters to obtain predicted energy consumption data. The energy consumption estimation operation uses the UAV's real-time flight speed, real-time attitude angle, and environmental disturbance data at each time step in the complete predicted flight trajectory. It substitutes the propulsion system efficiency mapping relationship and battery discharge characteristic curve from the UAV model parameters, progressively calculates the motor power consumption at each time step, and performs time integration. The integration result is the predicted energy consumption data. A spatiotemporal integration operation is performed on the airspace conflict probability distribution. The conflict probability value at each time step is multiplied by the corresponding time step weight and then accumulated. The accumulated result is the predicted conflict probability data. The time step weight is calculated based on the UAV's real-time flight speed within that time step. Specifically, the real-time flight speed of the UAV corresponding to the time step is read, and the real-time flight speed is divided by the maximum flight speed of the entire simulation process to obtain a normalized speed value. The normalized speed value is used as the time step weight for that time step, so that the collision probability corresponding to the time step with higher flight speed occupies a larger proportion in the accumulation. The maximum flight speed of the entire simulation process is determined by the maximum throttle command in the candidate action sequence combined with the propulsion system efficiency mapping relationship.
[0118] A multi-dimensional comprehensive quantitative evaluation is performed based on the predicted data to obtain a comprehensive score. Feature normalization is then applied to the predicted data to obtain normalized trajectory safety, energy efficiency, and task completion indices. The feature normalization operation uses the predicted conflict probability data as the original safety value, subtracting it from the original safety value by a constant of 1 to obtain the trajectory safety index; a higher value indicates greater safety. The predicted energy consumption data is divided by the drone's current remaining battery power to obtain the energy efficiency index; a lower value indicates greater efficiency. The distance between the trajectory endpoint and the task target point in the predicted trajectory data is inversely proportional to obtain the task completion index; a smaller distance results in a higher index value. Maximum and minimum value normalization is then applied to each of the above three indices, mapping the values to the interval between zero and one. The mapped results are, in order, the normalized trajectory safety, energy efficiency, and task completion indices.
[0119] Dynamic weight allocation is performed based on the risk event types corresponding to the emergency trigger judgment results to obtain trajectory safety weight, energy consumption economy weight, and task completion weight. The risk event types corresponding to the emergency trigger judgment results include obstacle approach events, insufficient power events, and communication interruption events. The dynamic weight allocation operation retrieves weight configuration records for similar events from the historical emergency case database according to the risk event type. When the risk event type is an obstacle approach event, the trajectory safety weight is set to the highest value, while the energy consumption economy weight and task completion weight are correspondingly reduced. When the risk event type is a insufficient power event, the energy consumption economy weight is set to the highest value, while the trajectory safety weight and task completion weight are correspondingly reduced. When the risk event type is a communication interruption event, the task completion weight is set to the highest value, while the trajectory safety weight and energy consumption economy weight are correspondingly reduced. The weight values are determined by the statistical ratio of successful and failed cases of similar events in the historical emergency case database. Specifically, the ratio of the mean of each indicator in successful cases to the mean of each indicator in failed cases is calculated, and the ratio is normalized to obtain the final weight value.
[0120] Finally, a weighted summation operation is used to multiply the normalized trajectory safety index by the trajectory safety weight, the normalized energy consumption economy index by the energy consumption economy weight, and the normalized task completion index by the task completion weight. The products of these three items are then added together, and the result is the comprehensive score data. This comprehensive score data is used to quantitatively evaluate the overall quality of each candidate action sequence.
[0121] The target emergency strategy data is obtained by sorting and comparing the comprehensive scoring data; the specific flight control command set data is obtained by converting the flight control command into flight control command data based on the target emergency strategy data.
[0122] In one specific implementation, the comprehensive score data corresponding to each candidate action sequence in the multi-candidate action sequence set are arranged in descending order of value, with a larger value indicating a better overall evaluation performance of the candidate action sequence. After sorting, the candidate action sequence with the largest comprehensive score value is selected as the target emergency strategy data. During the selection process, if multiple candidate action sequences have the same comprehensive score value, and all of them are the maximum value, then the predicted conflict probability data of these candidate action sequences are further compared, and the one with the smallest predicted conflict probability value is selected as the target emergency strategy data. If the predicted conflict probability values are still the same, then the predicted energy consumption data is compared, and the one with the smallest predicted energy consumption value is selected as the target emergency strategy data.
[0123] Subsequently, a flight control command conversion operation is performed, mapping each action parameter contained in the target emergency strategy data into control quantities recognizable by the flight control system. The mapping process utilizes the propulsion system efficiency mapping relationship and aerodynamic derivatives in the UAV model parameters to convert the desired flight speed in the target emergency strategy data into motor speed commands, the desired attitude angle into servo yaw angle commands, and the desired rate of change of heading into a combination of roll and yaw commands. Each command is accompanied by an execution time stamp, determined according to the action sequence arrangement in the target emergency strategy data, ensuring that commands are issued sequentially according to the predetermined time order. After command generation, the command values are corrected by combining the state estimation error matrix in the global situational awareness data. The correction amount is obtained by proportional calculation of the attitude angle error components and velocity error components in the state estimation error matrix. The proportionality coefficient is determined through flight control response test data in ground calibration experiments; specifically, the actual response deviation of the flight control system under different error conditions is recorded, and the average deviation is taken as the proportionality coefficient. After correction, all commands are encapsulated according to the format specified in the flight control communication protocol; the encapsulated data constitutes the specific flight control command set data. The specific flight control command set data is sent to the UAV flight control actuator via a data link, driving the aircraft to perform the corresponding emergency flight maneuvers.
[0124] Commands are issued and executed based on specific flight control command set data to obtain actual motion state data; the actual motion state data is compared with the predicted trajectory data to obtain state deviation data.
[0125] In one specific implementation, commands are issued and executed based on a specific flight control command set to obtain actual motion state data. During command execution, onboard sensors continuously collect real-time flight state datasets of the UAV, with the collection frequency consistent with the flight control cycle, thereby obtaining actual motion state data.
[0126] The actual motion state data is compared with the predicted trajectory data to obtain state deviation data. The comparison is performed step-by-step according to time steps. Within each time step, the real-time position coordinates of the UAV in the actual motion state data are extracted and compared with the predicted position coordinates of the corresponding time step in the predicted trajectory data. The difference between the three-dimensional coordinate components of the two is calculated to obtain the position deviation component. The square root of the sum of the squares of the position deviation components yields the position deviation. Simultaneously, the real-time attitude angles in the actual motion state data are extracted and compared with the predicted attitude angles of the corresponding time step in the predicted trajectory data. The absolute value of the difference between the corresponding axis angles is taken to obtain the attitude angle deviation. The position deviation and attitude angle deviation are arranged in order of time steps to form a deviation sequence, which constitutes the state deviation data. The state deviation data reflects the degree of deviation between the actual motion state of the UAV after command execution and the simulation prediction, providing a basis for subsequent strategy updates.
[0127] Online correction calculations are performed based on state deviation data to obtain flight control command fine-tuning compensation data; the flight control command fine-tuning compensation data is then fed back into the specific flight control command set data.
[0128] In one specific implementation, online correction calculations are performed based on state deviation data to obtain flight control command fine-tuning compensation data. A time-series difference operation is then performed on the state deviation data to obtain deviation change rate data. The deviation change rate data characterizes the trend of state deviation over time; a larger change rate indicates a faster deviation increase, requiring a stronger correction force.
[0129] Multi-stage feedback control operations are performed on the deviation change rate data and state deviation data to obtain the control quantity correction value. The multi-stage feedback control operations include three stages: proportional operation, integral operation, and derivative operation. The proportional operation multiplies the state deviation data by a preset proportional gain to obtain the proportional correction; the larger the state deviation, the larger the proportional correction. The integral operation sums the state deviation data from all historical moments and then multiplies the sum by a preset integral gain to obtain the integral correction. The integral correction is used to eliminate long-term steady-state deviations. The derivative operation multiplies the deviation change rate data by a preset derivative gain to obtain the derivative correction, which is used to suppress rapid deviation growth. The proportional, integral, and derivative corrections are then added together to obtain the control quantity correction value.
[0130] The preset proportional gain, preset integral gain, and preset derivative gain were determined using flight control response test data from ground calibration experiments. Specifically, in a simulation environment, the UAV model parameters were used as the controlled object, and the Ziegler-Nichols critical proportional gain method was employed for testing. The proportional gain was gradually increased until the system exhibited sustained constant-amplitude oscillations, and the critical gain and oscillation period at this point were recorded. Based on the empirical formula table of the Ziegler-Nichols critical proportional gain method, the preset proportional gain, preset integral gain, and preset derivative gain were obtained by referring to the table. The proportional gain was 60% of the critical gain, the integral gain was the critical gain multiplied by 1.2 and divided by the oscillation period, and the derivative gain was the critical gain multiplied by 0.075 and then multiplied by the oscillation period. After calibration, fine-tuning verification was performed in an actual flight environment. Multiple sets of flight test data under different wind disturbance conditions were selected, and the convergence time of the state deviation under the control correction value was calculated. When the convergence time met the preset convergence requirement, the gain value was confirmed as valid. The preset convergence requirement was that the convergence time should not exceed two flight control cycles; this value was determined based on the response time statistics of successful handling cases in the historical emergency case database.
[0131] Based on the control quantity correction values, a mapping operation is performed between control surface deflection and throttle increment to obtain flight control command fine-tuning compensation data. The control surface deflection and throttle increment mapping operation utilizes the mapping relationship between aerodynamic derivatives and propulsion system efficiency in the UAV model parameters. The pitch, roll, and yaw components in the control quantity correction values are multiplied by their corresponding control surface deflection conversion coefficients to obtain the control surface deflection compensation for each channel. The control surface deflection conversion coefficients are determined through wind tunnel testing data on control surface effectiveness, specifically by recording the airframe angular acceleration generated per unit control surface deflection angle and taking the reciprocal of the angular acceleration as the conversion coefficient. The velocity component in the control quantity correction values is multiplied by the throttle conversion coefficient to obtain the throttle increment compensation. The throttle conversion coefficient is determined through propulsion system bench testing data, specifically by recording the thrust change generated per unit throttle increment and taking the ratio of the thrust change to the current flight speed as the throttle conversion coefficient. The control surface deflection compensation and throttle increment compensation are encapsulated according to the command format specified in the flight control communication protocol. The encapsulated data constitutes the flight control command fine-tuning compensation data.
[0132] The flight control command fine-tuning compensation data is injected back into the specific flight control command set data. The injection operation algebraically adds the control surface deflection compensation amount in the flight control command fine-tuning compensation data to the corresponding servo deflection angle command in the specific flight control command set data, and algebraically adds the throttle increment compensation amount to the corresponding motor speed command in the specific flight control command set data. If the summed command value exceeds the physical travel range of the actuator, it is truncated to the travel boundary value. The travel boundary value is derived from the actuator specification parameters in the UAV physical entity dataset, including the maximum servo deflection angle and the maximum motor speed. After injection, the updated specific flight control command set data undergoes integrity verification. The verification method involves recalculating the cyclic redundancy check (CRC) code of the command frame and comparing it with the check code at the end of the frame. If the comparison matches, the injection is confirmed as valid; otherwise, the injection operation is re-executed. After the number of re-executions reaches the preset retransmission limit, the last injection result is retained and an anomaly marker is recorded. The injected specific flight control command set data is immediately sent to the flight control actuator for execution, causing the UAV's motion state to converge towards the predicted trajectory.
[0133] The twin model parameters are calibrated based on the state deviation data to obtain the updated UAV model parameters; the updated UAV model parameters are then fed back into the global situational awareness data to form an adaptive learning closed loop.
[0134] Furthermore, based on the state deviation data, a twin model parameter calibration operation is performed to obtain updated UAV model parameters; the updated UAV model parameters are then fed back into the global situational awareness data to form an adaptive learning closed loop, including:
[0135] Based on the state deviation data, parameter error sensitivity analysis is performed to obtain the error Jacobian matrix of each model parameter; based on the error Jacobian matrix and the state deviation, least squares estimation is performed to obtain the model parameter correction; based on the model parameter correction, the UAV model parameters are superimposed and updated to obtain the updated UAV model parameters.
[0136] The flight control command fine-tuning compensation data and the specific flight control command set data are vector superimposed to obtain the updated specific flight control command set data; the updated specific flight control command set data is used to continuously control the UAV to perform flight operations and continuously output new actual motion state data;
[0137] After feeding the updated UAV model parameters back into the global situation data, the corresponding original model parameters in the global situation data are replaced with the updated UAV model parameters to obtain the updated global situation data. The updated global situation data is then used as the input basis for the next round of parallel simulation and the situation simulation and strategy update process is continuously iterated.
[0138] In one specific implementation, parameter error sensitivity analysis is performed based on state deviation data to obtain the error Jacobian matrix for each model parameter. The specific process of parameter error sensitivity analysis is as follows: Small perturbation increments are applied sequentially to each parameter in the UAV model parameters. The state estimation extrapolation operation is then re-performed using the perturbed model parameters to obtain the perturbed predicted state data. This predicted state data is compared with the actual motion state data containing state deviation data, and the ratio of the change in state deviation to the parameter perturbation increment is calculated. This ratio is the sensitivity coefficient of the corresponding parameter. All sensitivity coefficients are arranged in matrix form according to parameter order to obtain the error Jacobian matrix. The value of the small perturbation increment is determined through ground calibration experiments. Specifically, the measurement error range of each parameter in wind tunnel and bench tests is recorded, and one-tenth of the maximum measurement error range is taken as the small perturbation increment. Based on the error Jacobian matrix and the state deviation, a least-squares estimation operation is performed to obtain the model parameter correction. The least squares estimation operation uses the state deviation data as the observation residuals and the error Jacobian matrix as the coefficient matrix to construct a system of linear equations. Solving this system minimizes the sum of squares of the observation residuals. The solution process employs matrix pseudo-inverse operations, and the result is the model parameter correction. Based on these corrections, the UAV model parameters are updated by superposition to obtain the updated UAV model parameters.
[0139] During parameter updates, the model parameter correction is multiplied by a forgetting factor λ as the actual update step size to avoid excessive corrections in least squares estimation when noise is high, which could lead to model parameter oscillations or divergence. The forgetting factor λ is set between 0.1 and 0.5. This range was obtained by injecting parameter errors of different magnitudes into the simulation environment to test the convergence speed and stability under different λ values. When λ > 0.5, parameter updates are prone to overshoot oscillations, and when λ < 0.1, the convergence speed is too slow to meet the real-time requirements of emergency scenarios. Therefore, a range of 0.1 to 0.5 is selected to balance convergence speed and stability. When the correction amount of 10 consecutive updates is less than the threshold ε, the model parameters are considered to have converged, and updates are stopped. The threshold ε is set to 1% of the factory calibration value of each parameter. This value is determined based on the reasonable variation range of physical parameters. 1% of the factory calibration value represents the normal fluctuation range of parameters caused by manufacturing tolerances, environmental changes, etc. When the correction amount is less than this value, it indicates that the model parameters are close enough to the true value, and continuing to update will only increase noise interference. The parameter update frequency is once every 10 control cycles, or in batches after an emergency event ends; the parameter update boundary is limited to the updated parameters not exceeding ±20% of the factory calibration value; when the observation data is insufficient, the update is skipped.
[0140] A vector overlay operation is performed on the flight control command fine-tuning compensation data and the specific flight control command set data to obtain the updated specific flight control command set data. The vector overlay operation algebraically adds the compensation values of each channel in the flight control command fine-tuning compensation data to the corresponding command values of the specific flight control command set data. The sum of these sums constitutes the updated specific flight control command set data. The updated specific flight control command set data is used to continuously control the UAV to perform flight operations, continuously outputting new actual motion state data. The updated specific flight control command set data is sent to the flight control actuators via a data link to drive the aircraft to perform flight maneuvers. Simultaneously, onboard sensors continuously collect the UAV's real-time flight state dataset, which undergoes the same alignment processing and fusion calculation as described above to obtain new actual motion state data.
[0141] After the updated UAV model parameters are fed back into the global situational awareness data, the corresponding original model parameters in the global situational awareness data are replaced with the updated UAV model parameters to obtain the updated global situational awareness data. The feedback operation writes the UAV airframe inertial tensor, aerodynamic derivative, propulsion system efficiency mapping relationship, and battery discharge characteristic curve from the updated UAV model parameters into the corresponding storage area of the global situational awareness data, overwriting the original parameter values, thus updating the UAV dynamic characteristics in the global situational awareness data. The updated global situational awareness data is used as the input basis for the next round of parallel simulation and inference, and the situational awareness inference and strategy update process is continuously iterated. In the next control cycle, using the updated global situational awareness data as the initial condition, the multi-candidate strategy space discretization decomposition operation, parallel simulation and inference operation, multi-dimensional comprehensive quantitative evaluation operation, sorting and comparison operation, flight control command conversion operation, command issuance and execution operation, state deviation comparison operation, and twin model parameter calibration operation described in this section are re-executed, forming a continuously running adaptive learning closed loop, so that the UAV model parameters continuously approach the real physical entity with the actual flight state, improving the accuracy of subsequent emergency dispatch strategies.
[0142] The above content is merely an example and illustration of the concept of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described or use similar methods to replace them, as long as they do not deviate from the concept of the invention, they should all fall within the protection scope of the present invention.
[0143] In the description of this specification, references to terms such as "an embodiment," "example," "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0144] The preferred embodiments of the present invention disclosed above are merely illustrative of the invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the invention to any specific implementation. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention.
Claims
1. A method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles based on digital twins, characterized in that, Includes the following steps: The process involves acquiring a UAV physical entity dataset, parsing and processing the dataset to obtain UAV model parameters and low-altitude 3D environmental scene data; acquiring a UAV real-time flight status dataset, aligning the dataset to obtain UAV real-time status data; and performing fusion calculations based on the UAV model parameters and UAV real-time status data to obtain global situational awareness data. Based on feature comparison with the global situational data, risk database and historical emergency case library, emergency trigger determination results and initial boundary constraints are obtained. Based on the emergency trigger determination results and the overall situation data, a multi-candidate strategy spatial discretization decomposition operation is performed to obtain a set of multi-candidate action sequences. Based on a set of multiple candidate action sequences, parallel simulation and deduction are performed in low-altitude three-dimensional environment scene data to obtain prediction data. The prediction data includes prediction trajectory data, prediction energy consumption data, and prediction conflict probability data. Based on the prediction data, a multi-dimensional comprehensive quantitative evaluation is performed to obtain comprehensive score data. The target emergency strategy data is obtained by sorting and comparing the comprehensive scoring data; the specific flight control command set data is obtained by converting the flight control command into flight control command data based on the target emergency strategy data. Commands are issued and executed based on specific flight control command set data to obtain actual motion state data; the actual motion state data is compared with the predicted trajectory data to obtain state deviation data. Online correction calculations are performed based on state deviation data to obtain flight control command fine-tuning compensation data; the flight control command fine-tuning compensation data is then fed back into the specific flight control command set data. The twin model parameters are calibrated based on the state deviation data to obtain the updated UAV model parameters; the updated UAV model parameters are then fed back into the global situational awareness data to form an adaptive learning closed loop.
2. The method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles based on digital twins according to claim 1, characterized in that, The UAV physical entity dataset is parsed and processed to obtain UAV model parameters and low-altitude 3D environment scene data, including: Multi-scale feature decomposition is performed on the UAV physical entity dataset to obtain the original set of UAV physical parameters; physical parameter identification is performed on the original set of UAV physical parameters to obtain the UAV airframe inertial tensor, aerodynamic derivative, propulsion system efficiency mapping relationship and battery discharge characteristic curve. The parameters of the UAV model are obtained by performing parameter coupling and correlation operations on the UAV airframe inertial tensor, aerodynamic derivative, propulsion system efficiency mapping relationship and battery discharge characteristic curve; The raw low-altitude environmental mapping data is extracted from the UAV physical entity dataset to obtain low-altitude obstacle point cloud data, terrain elevation data, and airspace restriction boundary data. The low-altitude obstacle point cloud data, terrain elevation data, and airspace restriction boundary data are then processed into three-dimensional voxels to obtain low-altitude three-dimensional environmental scene data.
3. The method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles based on digital twins according to claim 1, characterized in that, Alignment processing is performed on the real-time flight status dataset of the UAV to obtain real-time UAV status data, including: Clock drift compensation was performed on the real-time flight status dataset of the UAV to obtain time-stamped inertial measurement data, global positioning data, visual odometry data, and battery management system telemetry data. Federated Kalman filtering fusion is performed on time-stamped inertial measurement data, global positioning data, and visual odometry data to obtain the real-time position coordinates, real-time attitude angles, and real-time flight speed of the UAV. Perform a state of charge estimation operation on the telemetry data of the battery management system to obtain the remaining power. The inertial measurement data and environmental perception sensor data are correlated to obtain environmental disturbance data; the real-time position coordinates, real-time attitude angles, real-time flight speed, remaining battery power and environmental disturbance data of the UAV are serialized and encapsulated to obtain the real-time status data of the UAV.
4. The method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles based on digital twins according to claim 1, characterized in that, Based on the fusion calculation of UAV model parameters and real-time UAV status data, the overall situational awareness data is obtained, including: Based on the UAV model parameters, state estimation extrapolation is performed on the real-time state data of the UAV to obtain the UAV periodic predicted state data. The residual calculation operation is performed on the UAV periodic predicted state data and the UAV real-time state data to obtain the state estimation error matrix; based on the state estimation error matrix, the optimal estimation weighting operation is performed on the UAV real-time state data to obtain the current flight state of the UAV. Spatial topology relationship calculation is performed on the current flight status of the UAV and the low-altitude three-dimensional environment scene data to obtain the surrounding airspace environment status; spatiotemporal correlation encapsulation operation is performed on the current flight status of the UAV, the surrounding airspace environment status and the state estimation error matrix to obtain global situation data.
5. The method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles based on digital twins according to claim 1, characterized in that, Based on feature comparison with the overall situational awareness data, risk database, and historical emergency case database, the emergency trigger determination results and initial boundary constraints are obtained, including: Feature extraction is performed on the global situation data to obtain situation feature components; the situation feature components are then concatenated and encoded to obtain the situation feature vector. The similarity measurement operation is performed between the situation feature vector and the risk level feature pattern pre-stored in the risk database to obtain the trigger probability distribution; the nearest neighbor search operation is performed between the situation feature vector and the case features in the historical emergency case database to obtain the set of historical emergency cases. The maximum value filtering and adaptive threshold determination operations are performed on the trigger probability distribution to obtain the emergency trigger determination result; Constraint extraction is performed on a set of historical emergency cases to obtain task constraint information; airspace reachability analysis is performed based on global situational data to obtain airspace constraint information; and battery endurance boundary calculation is performed based on global situational data to obtain battery constraint information. The task constraint information, spatial constraint information, and electrical constraint information are integrated to obtain the initial boundary constraint conditions.
6. The method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles based on digital twins according to claim 1, characterized in that, Based on the emergency trigger determination results and the overall situational awareness data, a multi-candidate strategy spatial discretization decomposition operation is performed to obtain a set of multi-candidate action sequences, including: Perform an emergency mode determination operation on the emergency trigger determination result to obtain an emergency mode confirmation identifier; Based on the global situational data and initial boundary constraints, the space for actionable actions is defined to obtain a set of feasible flight actions. By performing a strategy space constraint binding operation on the emergency mode confirmation identifier, the set of feasible flight actions, the global situation data and the initial boundary constraints, a set of constrained feasible actions is obtained. The time dimension expansion operation is performed on the set of constrained actions to obtain multiple sets of candidate action combinations; the action parameters of each set of candidate action combinations are discretized and sampled to obtain a set of multiple candidate action sequences.
7. The method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles based on digital twins according to claim 1, characterized in that, Based on a set of multiple candidate action sequences, parallel simulation and deduction are performed on low-altitude 3D environment scene data to obtain prediction data, including: Each candidate action sequence in the multi-candidate action sequence set is loaded into the low-altitude three-dimensional environment scene data, and multi-branch virtual flight dynamics simulation is performed in parallel to obtain the complete predicted flight trajectory corresponding to each candidate action sequence; at the same time, environmental collision detection is performed during the simulation to obtain the airspace collision probability distribution along the trajectory. Trajectory feature extraction is performed on the complete predicted flight trajectory to obtain predicted trajectory data; energy consumption is estimated by combining the complete predicted flight trajectory with UAV model parameters to obtain predicted energy consumption data; and spatiotemporal integration is performed on the airspace conflict probability distribution to obtain predicted conflict probability data.
8. The method for emergency dispatching and situational simulation of low-altitude unmanned aerial vehicles based on digital twins according to claim 1, characterized in that, A comprehensive quantitative evaluation based on the predicted data is conducted to obtain comprehensive score data, including: The predicted data are normalized to obtain the normalized trajectory safety index, energy consumption economy index, and task completion index. Dynamic weight allocation is performed based on the risk event type corresponding to the emergency trigger judgment result to obtain trajectory safety weight, energy consumption economy weight and task completion weight. The normalized trajectory safety index, energy consumption economy index, and task completion index are weighted and summed with the trajectory safety weight, energy consumption economy weight, and task completion weight, respectively, to obtain comprehensive score data.
9. The method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles based on digital twins according to claim 1, characterized in that, Online correction calculations are performed based on state deviation data to obtain flight control command fine-tuning compensation data, including: Perform a time-series difference operation on the state deviation to obtain the deviation change rate data; Multi-stage feedback control calculations are performed on the deviation change rate data and the state deviation to obtain the control quantity correction value. Based on the control quantity correction value, the control surface deflection and throttle increment are mapped to obtain flight control command fine-tuning compensation data.
10. The method for emergency dispatching and situation simulation of low-altitude unmanned aerial vehicles based on digital twins according to claim 1, characterized in that, The twin model parameters are calibrated based on the state deviation data to obtain the updated UAV model parameters. The updated UAV model parameters are fed back into the global situational awareness data to form an adaptive learning loop, including: Based on the state deviation data, parameter error sensitivity analysis is performed to obtain the error Jacobian matrix of each model parameter; based on the error Jacobian matrix and the state deviation, least squares estimation is performed to obtain the model parameter correction; based on the model parameter correction, the UAV model parameters are superimposed and updated to obtain the updated UAV model parameters. The flight control command fine-tuning compensation data and the specific flight control command set data are vector superimposed to obtain the updated specific flight control command set data; the updated specific flight control command set data is used to continuously control the UAV to perform flight operations and continuously output new actual motion state data; After feeding the updated UAV model parameters back into the global situation data, the corresponding original model parameters in the global situation data are replaced with the updated UAV model parameters to obtain the updated global situation data. The updated global situation data is then used as the input basis for the next round of parallel simulation and the situation simulation and strategy update process is continuously iterated.
