计算机工程与应用 ›› 2025, Vol. 61 ›› Issue (19): 302-310.DOI: 10.3778/j.issn.1002-8331.2503-0300

• 工程与应用 • 上一篇    下一篇

改进A*算法的无人机城市低空物流路径规划

祝文杰,李维,王子炎   

  1. 南京航空航天大学 民航学院,南京 211106
  • 出版日期:2025-10-01 发布日期:2025-09-30

Improved A* Algorithm for UAV Path Planning in Urban Low-Altitude Logistics

ZHU Wenjie, LI Wei, WANG Ziyan   

  1. School of Civil Aviation, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China
  • Online:2025-10-01 Published:2025-09-30

摘要: 以城市复杂建筑群为应用场景,为了解决无人机低空物流配送的效率及安全性问题,提出了一种改进的A*算法。针对传统A*算法存在重复搜索节点而影响算法运行效率的问题,对启发式函数进行改进。通过引入三维向量叉积,消除了搜索进程中出现的决策不确定性,缩小了向周围节点的扩展范围。对代价函数进行优化处理,根据节点与目标点的相对距离动态调整启发式函数权重,通过有效平衡搜索速度与路径质量,实现安全且高效的路径规划。采用栅格法构建三维地图进行仿真验证,结果表明改进A*算法与传统A*算法相比,运行时间缩短57.40%,遍历栅格数减少54.75%,路径转折点减少78.16%。进一步基于ROS(robot operating system)搭建无人机控制平台,在真实环境中进行实验,验证了改进的A*算法在实际应用中的准确性和高效性。

关键词: 复杂环境决策优化, 低空物流配送, 改进A*算法, 动态权重优化, 三维向量叉积, 无人机

Abstract: To address the efficiency and safety challenges of UAVs in low-altitude logistics distribution within urban complex building clusters, an improved A* algorithm is proposed. First, the heuristic function is refined to resolve the inefficiency caused by redundant node searches in traditional A* algorithms. The three-dimensional vector cross product is introduced to eliminate decision-making uncertainties during the search process, thereby constraining the expansion scope of neighboring nodes. Second, the cost function is optimized by dynamically adjusting the heuristic weight coefficient based on the relative distance between nodes and the target, achieving a balance between search speed and path quality for safe and efficient planning. The algorithm is validated through grid-based 3D map simulations, demonstrating a 57.40% reduction in runtime, a 54.75% decrease in traversed grid nodes, and a 78.16% decline in path inflection points compared to the traditional A* algorithm. Furthermore, a UAV control platform is implemented using the ROS (robot operating system), and real-world experiments confirm the enhanced accuracy and operational efficiency of the improved algorithm in practical applications.

Key words: complex environment decision optimization, low-altitude logistics delivery, improved A* algorithm, dynamic weight optimization, three-dimensional vector cross product, unmanned aerial vehicle (UAV)