A Fusion Approach for UAV Onboard Flight Trajectory Management and Decision Making Based on the Combination of Enhanced A* Algorithm and Quadratic Programming
Abstract
:1. Introduction
- Highly complex, dynamic, and dense airspace. Low-altitude airspace in which UAVs fly includes known static obstacles and unexpected dynamic obstacles such as birds, weather, balloons, etc. demanding flexible trajectory management based on these factors and other stakeholder activity in the airspace volume;
- Multiple safety and feasibility restrictions and constraints. Not only the airspace environment and the dynamic and kinematic characteristics of a certain UAV type are essential concerns, but the performance degradation of onboard navigation systems in the case of the Global Positioning System (GPS) being denied or masked should be considered to ensure the safety and feasibility of the planned trajectory;
- Trajectory planning and optimization algorithms would consume large onboard calculation resources and may have poor real-time performance at a large airspace scale with high complexity, while onboard autonomous flight trajectory management needs to adjust the trajectory in time to ensure the spatiotemporal coordination of UAV operation.
- The proposed optimization framework divides the problem of large-scale real-time optimization in limited time into two steps with a distributed time allocation. An enhanced A* algorithm is used to generate a global optimal flight path intermittently with respect to a self-defined cost function, while quadratic programming is used to smooth the short-term trajectory suitable for UAV kinematic characteristics and dynamic constraints in real time. The fusion approach splits the multiple constraints into the A* algorithm and quadratic programming based on their respective features, reducing the computational complexity and resource consumption, and enhancing the system’s real-time performance;
- Navigation performance is introduced as a soft constraint to guarantee a safety margin and the feasibility of the planned trajectory. To discourage the planned trajectory from approaching the boundary of its constraint set too closely, a navigation system estimated position uncertainty (EPU) heuristic cost is employed in the A* algorithm to inflate the UAV voxels to guarantee safety margins. This can prevent the UAV from traversing narrow passages, while avoiding navigation performance degradation caused by GPS masking as much as possible;
- Quadratic programming based on the UAV’s current position and local dynamic environment information is used for real-time trajectory optimization under the constraints of the UAV’s maneuver performance and dynamic obstacles within its detection range, with reduced computation consumption and improved trajectory optimization response efficiency.
2. Methods
2.1. Fusing Approach of Flight Trajectory Management
2.2. Strategical Path Planner
Algorithm 1: The Enhanced A* Algorithm |
Input: , , , , Result: A path from to Initialization: Initialize the priority queue with and assign = 0 and = infinite for all other nodes in Map. Repeat: Remove the node “n” with the lowest f(n) = g(n) + h(n) from the priority queue; If the node “n” = , return TRUE; break; Mark node “n” as expanded; For all unexpanded neighbor nodes “m” of node n: If node check (m, n) then If g(m)==infinite Push node “m” into the queue; g(m)=g(n)+Cnm; Calculate heuristic distance cost ; Calculate obstacle density cost ; Calculate navigation performance cost ; ; If g(m)>g(n)+ Cnm then g(m)=g(n)+Cnm; Calculate navigation performance cost ; ; end end |
2.2.1. Enhancement on Node Check of A* Algorithm
- ;
- .
- ;
- .
2.2.2. Enhancement of Cost Function of A* Algorithm
2.3. Tactical Trajectory Optimizer
2.3.1. Waypoints Adjustment Based on Real-Time Local Environment Update
2.3.2. Quadratic Programming Implementation
3. Simulation Results
3.1. Simulation Test for Front-End Path Planner
3.1.1. Verification of the Effects of Enhancement of Node Check
3.1.2. Simulation Test for the Enhanced A* Algorithm
3.2. Simulation Test for Back-End Trajectory Optimizer
3.2.1. Trajectory Generated by the Fusing Approach
3.2.2. Local View of Collision Avoidance Maneuver
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Correction Statement
References
- National Academies of Sciences, Engineering, and Medicine. Advancing Aerial Mobility: A National Blueprint, 1st ed.; The National Academies Press: Washington, DC, USA, 2020; ISBN 978-0-309-67026-5. [Google Scholar] [CrossRef]
- Karr, D.A.; Wing, D.J.; Barney, T.L.; Sharma, V.; Etherington, T.J.; Sturdy, J.L. Initial Design Guidelines for Onboard Automation of Flight Path Management. In Proceedings of the AIAA AVIATION 2021 Forum, Online, 2–6 August 2021. [Google Scholar]
- Karaman, S.; Frazzoli, E. Sampling-based algorithms for optimal motion planning. Int. J. Robot. Res. 2011, 30, 846–894. [Google Scholar] [CrossRef]
- Gammell, J.D.; Barfoot, T.D.; Srinivasa, S.S. Informed sampling for asymptotically optimal path planning. IEEE Trans. Robot. 2018, 34, 966–984. [Google Scholar] [CrossRef]
- Alam, M.M.; Nishi, T.; Liu, Z.; Fujiwara, T. A novel sampling-based optimal motion planning algorithm for energy-efficient robotic pick and place. Energies 2023, 16, 6910. [Google Scholar] [CrossRef]
- Chen, L.; Shan, Y.; Tian, W.; Li, B.; Cao, D. A fast and efficient double-tree RRT*-like sampling-based planner applying on mobile robotic systems. IEEE/ASME Trans. Mechatron. 2018, 23, 2568–2578. [Google Scholar] [CrossRef]
- Gao, M.; Yan, T.; Fu, W.; Feng, Z.; Guo, H. Automated flight technology for integral path planning and trajectory tracking of the UAV. Drones 2024, 8, 9. [Google Scholar] [CrossRef]
- Gao, F.; Wu, W.; Gao, W.; Shen, S. Flying on point clouds: Online trajectory generation and autonomous navigation for quadrotors in cluttered environments. J. Field Robot. 2019, 36, 710–733. [Google Scholar] [CrossRef]
- Candra, A.; Budiman, M.A.; Hartanto, K. Dijkstra’s and A-star in finding the shortest path: A tutorial. In Proceedings of the 2020 International Conference on Data Science, Artificial Intelligence, and Business Analytics (DATABIA), Medan, Indonesia, 16–17 July 2020. [Google Scholar]
- Dechter, R.; Pearl, J. Generalized best-first search strategies and the optimality of A*. J. ACM 1985, 32, 505–536. [Google Scholar] [CrossRef]
- Likhachev, M.; Gordon, G.J.; Thrun, S. ARA*: Anytime A* with provable bounds on sub-optimality. In Proceedings of the Conference and Workshop on Neural Information Processing Systems (NIPS), Vancouver and Whistler, BC, Canada, 8–13 December 2003. [Google Scholar]
- Harabor, D.; Grastien, A. Online graph pruning for pathfinding on grid maps. In Proceedings of the AAAI Conference on Artificial Intelligence 2011, San Francisco, CA, USA, 7–11 August 2011. [Google Scholar]
- Chen, P.; Jiang, Y.; Dang, Y.; Yu, T.; Liang, R. Real-time efficient trajectory planning for quadrotor based on hard constraints. J. Intell. Robot. Syst. 2022, 105, 52. [Google Scholar] [CrossRef]
- Szczerba, R.J.; Galkowski, P.; Glicktein, I.S.; Ternullo, N. Robust algorithm for real-time route planning. IEEE Trans. Aerosp. Electron. Syst. 2000, 36, 869–878. [Google Scholar] [CrossRef]
- Liu, S.; Watterson, M.; Mohta, K.; Sun, K.; Bhattacharya, S.; Taylor, C.J.; Kumar, V. Planning dynamically feasible trajectories for quadrotors using safe flight corridors in 3-D complex environments. IEEE Robot. Autom. Lett. 2017, 2, 1688–1695. [Google Scholar] [CrossRef]
- Zhang, X.; Duan, H. An improved constrained differential evolution algorithm for unmanned aerial vehicle global route planning. Appl. Soft. Comput. 2015, 26, 270–284. [Google Scholar] [CrossRef]
- Cao, Y.; Wei, W.; Bai, Y.; Qiao, H. Multi-base multi-UAV cooperative reconnaissance path planning with genetic algorithm. Clust. Comput. 2019, 22, 5175–5184. [Google Scholar] [CrossRef]
- Ma, Y.; Zhang, H.; Zhang, Y.; Gao, R.; Xu, Z.; Yang, J. Coordinated optimization algorithm combining GA with cluster for multi-UAVs to multi-tasks task assignment and path planning. In Proceedings of the 2019 IEEE 15th International Conference on Control and Automation (ICCA), Edinburgh, UK, 16–19 July 2019. [Google Scholar]
- Park, C.; Kim, G.S.; Park, S.; Jung, S.; Kim, J. Multi-agent reinforcement learning for cooperative air transportation services in city-wide autonomous urban air mobility. IEEE Trans. Intell. Veh. 2023, 8, 4016–4030. [Google Scholar] [CrossRef]
- Pivtoraiko, M.; Kelly, A. Generating near minimal spanning control sets for constrained motion planning in discrete state spaces. In Proceedings of the 2005 IEEE/RSJ International Conference on Intelligent Robots and Systems, Edmonton, AB, Canada, 2–6 August 2005. [Google Scholar] [CrossRef]
- Mueller, M.W.; Hehn, M.; D’Andrea, R. A computationally efficient motion primitive for quadcopter trajectory generation. IEEE Trans. Robot. 2015, 31, 1294–1310. [Google Scholar] [CrossRef]
- Liu, S.; Atanasov, N.; Mohta, K.; Kumar, V. Search-based motion planning for quadrotors using linear quadratic minimum time control. In Proceedings of the 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Vancouver, BC, Canada, 24–28 September 2017. [Google Scholar] [CrossRef]
- Mellinger, D.; Kumar, V. Minimum snap trajectory generation and control for quadrotors. In Proceedings of the 2011 IEEE International Conference on Robotics and Automation, Shanghai, China, 9–13 May 2011. [Google Scholar] [CrossRef]
- Wang, Z.; Zhou, X.; Xu, C.; Gao, F. Geometrically constrained trajectory optimization for multicopters. IEEE Trans. Robot. 2022, 38, 3259–3278. [Google Scholar] [CrossRef]
- Shen, Z.; Zhou, G.; Huang, H.; Huang, C.; Wang, Y.; Wang, F.-Y. Convex optimization-based trajectory planning for quadrotors landing on aerial vehicle carriers. IEEE Trans. Intell. Veh. 2023, 9, 138–150. [Google Scholar] [CrossRef]
- Blasi, L.; D’Amato, E.; Notaro, I.; Raspaolo, G. Clothoid-Based Path Planning for a Formation of Fixed-Wing UAVs. Electronics 2023, 12, 2204. [Google Scholar] [CrossRef]
- Ippolito, C.; Hening, S.; Sankararaman, S.; Stepanyan, V. A modeling, simulation and control framework for small unmanned multicopter platforms in urban environments. In Proceedings of the 2018 AIAA Modeling and Simulation Technologies Conference, Kissimmee, FL, USA, 8–12 January 2018. [Google Scholar] [CrossRef]
- Baculi, J.E.; Ippolito, C.A. Onboard decision-making for nominal and contingency sUAS flight. In Proceedings of the AIAA Scitech 2019 Forum, San Diego, CA, USA, 7–11 January 2019. [Google Scholar] [CrossRef]
- Luo, X.; Zhang, T.; Xu, W.; Fang, C.; Lu, T.; Zhou, J. Multi-tier 3D trajectory planning for cellular-connected UAVs in complex urban environments. Symmetry 2023, 15, 1628. [Google Scholar] [CrossRef]
- Ma, Z.; Wang, Z.; Ma, A.; Liu, Y.; Niu, Y. A low-altitude obstacle avoidance method for UAVs based on polyhedral flight corridor. Drones 2023, 7, 588. [Google Scholar] [CrossRef]
- Shen, S. Autonomous Navigation in Complex Indoor and Outdoor Environments with Micro Aerial Vehicles. Ph.D. Dissertation, University of Pennsylvania, Philadelphia, PA, USA, 2014. [Google Scholar]
- Zhou, B.; Gao, F.; Wang, L.; Liu, C.; Shen, S. Robust and efficient quadrotor trajectory generation for fast autonomous flight. IEEE Robot. Autom. Lett. 2019, 4, 3529–3536. [Google Scholar] [CrossRef]
- Zhou, X.; Wang, Z.; Ye, H.; Xu, C.; Gao, F. EGO-Planner: An ESDF-free gradient-based local planner for quadrotors. IEEE Robot. Autom. Lett. 2021, 6, 478–485. [Google Scholar] [CrossRef]
- Kwon, W.H.; Han, S. Receding horizon schemes for controls, estimations, and optimizations. In Proceedings of the 2007 International Conference on Control, Automation and Systems, Seoul, Republic of Korea, 17–20 October 2017. [Google Scholar] [CrossRef]
- Moon, M.Y.; Lee, J.Y.; Park, J.B.; Choi, Y.H. Action-dependent updated terminal cost receding horizon control for discrete-time linear systems. In Proceedings of the 2012 12th International Conference on Control, Automation and Systems, Jeju, Republic of Korea, 17–21 October 2012. [Google Scholar]
- ICAO. Performance-Based Navigation (PBN) Manual; International Civil Aviation Organization: Montreal, QC, Canada, 2008. [Google Scholar]
- Cadena, C.; Carlone, L.; Carrillo, H.; Latif, Y.; Scaramuzza, D.; Neira, J.; Reid, I.; Leonard, J.J. Past, present, and future of simultaneous localization and mapping: Toward the robust-perception age. IEEE Trans. Robot. 2016, 32, 1309–1332. [Google Scholar] [CrossRef]
- Zhang, N.; Zhang, Y.; Ma, C.; Wang, B. Path planning of six-DOF serial robots based on improved artificial potential field method. In Proceedings of the 2017 IEEE International Conference on Robotics and Biomimetics (ROBIO), Macau, China, 5–8 December 2017. [Google Scholar] [CrossRef]
- Manfredi, G.; Jestin, Y. An introduction to ACAS Xu and the challenges ahead. In Proceedings of the 2016 IEEE/AIAA 35th Digital Avionics Systems Conference (DASC), Sacramento, CA, USA, 25–29 September 2016. [Google Scholar] [CrossRef]
- Freire, V.; Xu, X. Flatness-based quadcopter trajectory planning and tracking with continuous-time safety guarantees. IEEE Trans. Control. Syst. Technol. 2023, 31, 2319–2334. [Google Scholar] [CrossRef]
- Mellinger, D.; Michael, N.; Kumar, V. Trajectory generation and control for precise aggressive maneuvers with quadrotors. Int. J. Robot. Res. 2012, 31, 664–674. [Google Scholar] [CrossRef]
- Srigrarom, S.; Chew, K.H.; Lee, D.M.D.; Ratsamee, P. Drone versus Bird Flights: Classification by Trajectories Characterization. In Proceedings of the 2020 59th Annual Conference of the Society of Instrument and Control Engineers of Japan (SICE), Chiang Mai, Thailand, 23–26 September 2020. [Google Scholar] [CrossRef]
- Fang, G.; Wang, X.; Wang, K.; Lee, K.-H.; Ho, J.D.L.; Fu, H.-C.; Fu, D.K.C.; Kwok, K.-W. Vision-Based Online Learning Kinematic Control for Soft Robots Using Local Gaussian Process Regression. IEEE Robot. Autom. Lett. 2019, 4, 1194–1201. [Google Scholar] [CrossRef]
- Phadke, A.; Medrano, F.A.; Chu, T.; Sekharan, C.N.; Starek, M.J. Modeling Wind and Obstacle Disturbances for Effective Performance Observations and Analysis of Resilience in UAV Swarms. Aerospace 2024, 11, 237. [Google Scholar] [CrossRef]
- Wang, B.H.; Wang, D.B.; Ali, Z.A.; Ting, T.B.; Wang, H. An overview of various kinds of wind effects on unmanned aerial vehicle. Meas. Control. 2019, 52, 731–739. [Google Scholar] [CrossRef]
- Jayaweera, H.M.P.C.; Hanoun, S. Path Planning of Unmanned Aerial Vehicles (UAVs) in Windy Environments. Drones 2022, 6, 101. [Google Scholar] [CrossRef]
Heuristic Distance | Algorithm | Path Length (m) | Number of Expanded Nodes | Runtime (s) |
---|---|---|---|---|
Manhattan | A* | 2237.793 | 56 | 0.07 |
A* + angle constraints | 2210.534 | 33 | 0.12 | |
Euclidean | A* | 2214.438 | 6538 | 42.28 |
A* + angle constraints | 2149.743 | 2607 | 10.65 | |
Diagonal | A* | 2214.438 | 1709 | 3.08 |
A* + angle constraints | 2162.328 | 504 | 1.10 |
Weight Ratio | Number of Expanded Nodes | Runtime (s) | Path Length (m) | GPS Denial Rate (%) | Avg. Safety Margin (m) | ||
---|---|---|---|---|---|---|---|
1.00 | 0.00 | 0.00 | 504 | 3.52 | 2161.995 | 3.125 | 15.9263 |
0.90 | 0.00 | 0.10 | 6079 | 137.25 | 2206.698 | 2.778 | 19.7855 |
0.90 | 0.02 | 0.08 | 4998 | 84.41 | 2359.587 | 0 | 52.7426 |
0.90 | 0.04 | 0.06 | 4237 | 53.87 | 2409.132 | 0 | 63.4888 |
0.90 | 0.05 | 0.05 | 4493 | 46.91 | 2403.651 | 0 | 57.3843 |
0.80 | 0.00 | 0.20 | 12,338 | 457.12 | 2174.499 | 3.125 | 23.1908 |
0.80 | 0.04 | 0.16 | 8670 | 144.60 | 2316.483 | 6.061 | 37.8717 |
0.80 | 0.07 | 0.13 | 6856 | 100,19 | 2412.645 | 0 | 49.0596 |
0.80 | 0.10 | 0.10 | 5667 | 78.22 | 2474.637 | 0 | 65.4700 |
0.70 | 0.00 | 0.30 | 18,982 | 1023.76 | 2388.690 | 3.125 | 44.1877 |
0.70 | 0.05 | 0.25 | 11,019 | 286.17 | 2688.516 | 3.125 | 44.1543 |
0.70 | 0.10 | 0.20 | 8413 | 195.77 | 2769.345 | 0 | 47.5405 |
0.70 | 0.15 | 0.15 | 5892 | 113.70 | 2747.397 | 0 | 60.5496 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Sun, S.; Wang, H.; Xu, Y.; Wang, T.; Liu, R.; Chen, W. A Fusion Approach for UAV Onboard Flight Trajectory Management and Decision Making Based on the Combination of Enhanced A* Algorithm and Quadratic Programming. Drones 2024, 8, 254. https://doi.org/10.3390/drones8060254
Sun S, Wang H, Xu Y, Wang T, Liu R, Chen W. A Fusion Approach for UAV Onboard Flight Trajectory Management and Decision Making Based on the Combination of Enhanced A* Algorithm and Quadratic Programming. Drones. 2024; 8(6):254. https://doi.org/10.3390/drones8060254
Chicago/Turabian StyleSun, Shuguang, Haolin Wang, Yanzhi Xu, Tianguang Wang, Ruihua Liu, and Wantong Chen. 2024. "A Fusion Approach for UAV Onboard Flight Trajectory Management and Decision Making Based on the Combination of Enhanced A* Algorithm and Quadratic Programming" Drones 8, no. 6: 254. https://doi.org/10.3390/drones8060254
APA StyleSun, S., Wang, H., Xu, Y., Wang, T., Liu, R., & Chen, W. (2024). A Fusion Approach for UAV Onboard Flight Trajectory Management and Decision Making Based on the Combination of Enhanced A* Algorithm and Quadratic Programming. Drones, 8(6), 254. https://doi.org/10.3390/drones8060254