Robot Path Planning Based on Improved A* Algorithm

Jiansheng Peng, Yiyong Huang, Guan LuoCybernetics 2015

Abstract

Due to the characteristic that A algorithm takes a long time when traversing an OPEN table and a CLOSED table, an improved method is proposed that is a new way of array storing in an OPEN table and a CLOSED table. Compared to the original A algorithm, the way of array storing accesses the array elements by locating the number ranks each time you visit a specified element, which can be done by only one operation. The original A algorithm requires the traverse of multiple nodes in order to find a specified element. The experimental results show that the comparison of the improved A algorithm with the original A algorithm shows that the operating efficiency is improved by more than 40%. Based on the improved A algorithm the method preserves the advantages of the original A algorithm, improving the operating efficiency of A algorithm.

Introduction

The A algorithm is a fundamental heuristic-based pathfinding method widely utilized in robotics. However, its performance is often bottlenecked by the management of two critical data structures: the OPEN table (discovered nodes awaiting exploration) and the CLOSED table (already evaluated nodes). In standard implementations, these tables are often stored as linked lists or binary trees, requiring costly search operations to check node status. This research proposes an improved A algorithm that utilizes direct-access array indexing to reduce these membership checks to a single operation.

Methodology

The core innovation lies in transitioning from list-based searching to array-based indexing. The researchers implemented a data structure that mirrors the dimensions of the robot's grid map. Each element in this array stores the standard A* cost metrics (F, G, and H values), a pointer to the parent node, and a state flag (0 for unvisited, 1 for OPEN, and 2 for CLOSED).

Flowchart of the A* algorithm process showing the logic for managing OPEN and CLOSED tables.

In the original algorithm, checking if a neighbor is in the CLOSED table requires a search function. In the improved version, the algorithm simply performs a direct memory access to check the state flag at the neighbor's coordinates. This reduces the complexity of membership testing to $O(1)$. During the search, the algorithm expands up to eight neighboring child nodes from the current parent node to determine the optimal path.

Illustration of the 8-neighbor expansion used to identify potential child nodes in the grid.

Experimental Results

The algorithm was evaluated using two synthetic grid-based benchmarks: a $20 \times 20$ grid with randomized obstacles and a $36 \times 36$ grid with structured geometric obstacles.

Key findings include:

  • Efficiency Gains: In the $20 \times 20$ grid, running time dropped from 0.0234s to 0.0078s, representing a 66.6% improvement. In the larger $36 \times 36$ environment, the efficiency gain was approximately 43.25%.
  • Path Quality: The improved storage method did not compromise path optimality. In fact, the improved algorithm consistently met or slightly exceeded the path quality of the original, with path length reductions of up to 10.4% in some test cases.

Conclusion

By mapping the algorithm's internal state directly onto the grid coordinates, the improved A algorithm bypasses the need for abstract data structure traversal. This approach prioritizes computational speed, achieving a general efficiency boost of more than 40% while preserving the fundamental advantages and optimality of the original A logic. Future work may explore scaling this structural data approach to high-resolution 3D environments and dynamic obstacle scenarios.

Summary updated

BibTeX
@inproceedings{peng2015robot,
  author = {Jiansheng Peng and Yiyong Huang and Guan Luo},
  title = {{Robot Path Planning Based on Improved A* Algorithm}},
  booktitle = {Cybernetics},
  year = {2015},
  doi = {10.1515/cait-2015-0036},
}
Figure