Next Article in Journal
ScanGuard-YOLO: Enhancing X-ray Prohibited Item Detection with Significant Performance Gains
Previous Article in Journal
Enhancing the Performance of a Large Aperture Ultrasound System (LAUS): A Combined Approach of Simulation and Measurement for Transmitter–Receiver Optimization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Safe Heuristic Path-Planning Method Based on a Search Strategy

1
School of Information Science and Engineering, Harbin Institute of Technology at WeiHai, No. 2 Wenhua West Road, Weihai 264209, China
2
Shandong Institute of Shipbuilding Technology, Ltd., Weihai 264209, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(1), 101; https://doi.org/10.3390/s24010101
Submission received: 3 November 2023 / Revised: 1 December 2023 / Accepted: 22 December 2023 / Published: 24 December 2023
(This article belongs to the Topic Advances in Mobile Robotics Navigation, 2nd Volume)

Abstract

:
In industrial production, it is very difficult to make a robot plan a safe, collision-free, smooth path with few inflection points. Therefore, this paper presents a safe heuristic path-planning method based on a search strategy. This method first expands the scope of the search node, then calculates the node state based on the search strategy, including whether it is a normal or dangerous state, and calculates the danger coefficient of the corresponding point to select the path with a lower danger coefficient. At the same time, the optimal boundary is obtained by incorporating the environmental facilities, and the optimal path between the starting point, the optimal boundary point and the end point is obtained. Compared to the traditional A-star algorithm, this method achieved significant improvements in various aspects such as path length, execution time, and path smoothness. Specifically, it reduced path length by 2.89%, decreased execution time by 13.98%, and enhanced path smoothness by 93.17%. The resulting paths are more secure and reliable, enabling robots to complete their respective tasks with reduced power consumption, thereby mitigating the drain on robot batteries.

1. Introduction

As an intelligent system with advanced technology, an unmanned system can independently perform complex tasks without human intervention. In various unmanned systems, mobile robots, as an important part of life and work, have been widely used in industrial manufacturing, logistics, and medical fields [1]. Path planning, as a key technology for finding a safe and collision-free optimal path from the starting point to the target point in a given obstacle environment, has an important impact on the function and performance of unmanned systems. For example, it can help robots transport materials faster and more safely and complete the handling of goods and other operations [2]. Autonomous robots can reduce human work in the evacuation process and guide people to the best path to an exit [3]. Paddy field seeding robots improve the quality and efficiency of human work [4]. In these application scenarios, mobile robots often need to perform tasks in complex environments, such as narrow canals, factory workshops, or hospital corridors, so it is particularly important to ensure the safety of the robot.
As computer technology and artificial intelligence continue to advance, the field of path planning is evolving as well. From the earliest rule-based path-planning methods to research in path planning that incorporates graph theory [5], search algorithms [6], neural networks [7], and deep reinforcement learning [8], these technologies have driven continuous improvements in path planning. For example, in reference [9], the authors introduced a directional guidance strategy on top of traditional Rapidly exploring Random Trees (RRTs), simplifying invalid paths through linear processing and optimizing threshold parameters to balance the path length and planning time. Simulation experiments validated the algorithm’s superiority. Reference [10] combines the strengths of the A-star algorithm and interpolation algorithms, optimizing the A-star algorithm through geometric rules. It introduces the geometric A-star algorithm, which applies filtering functions to the paths generated by the A-star algorithm to address issues like excessive turning angles and irregular paths. Reference [11] introduces a mobile robot path-planning algorithm that combines the use of water flow potential fields and the beetle antennae search. This method divides the global path into multiple segments by using beetle genetic algorithms to set segmented waypoints. It employs a natural water flow approach for obstacle avoidance routing and optimizes the station coordinates using the beetle antennae search algorithm, thereby enhancing path quality. In reference [12], a hybrid solution method for mobile robot path planning is proposed, combining the ant colony optimization and artificial bee colony algorithms (IACO-IABC). This method reduces the number of turns in the planned path by incorporating three mechanisms within the IACO-IABC algorithm.
During task execution, the robot’s energy consumption significantly affects its operational time and performance. Therefore, energy conservation is crucial. To achieve energy efficiency and environmental friendliness during robot task execution, researchers have integrated data modeling, optimization algorithms, and neural networks into path-planning algorithms. For instance, reference [13] considers the discharging process of lithium batteries and converts the robot’s motion energy consumption into the occupancy time of a path grid. Reference [14] utilizes an energy consumption estimation model to estimate the energy consumption between neighboring positions and the destination using distance integration estimation models, combining both models to determine the path cost. Simulation experiments demonstrated that the proposed method generates optimal paths, saving a substantial amount of energy. Reference [15] takes into account different terrain conditions and turning angles as constraint factors. It adjusts the heuristic function weight of the A-star algorithm to reduce energy consumption in complex environments.
Furthermore, path smoothness significantly impacts robot motion. Path smoothing is vital for handling robots, as it not only reduces energy consumption and improves motion stability but also extends the equipment’s lifespan. For example, in reference [16], adaptive fractional velocity is introduced within a particle swarm algorithm to enhance its capability to escape local minima, while simultaneously employing continuous high-order Bézier curves to smooth the robot’s path. Improved particle swarm optimization is validated through simulation experiments. Reference [17] proposes a local block path-planning method, which utilizes intersection points between straight lines and obstacles as centers for finding intersections between lines and circles. These two intersection points serve as local starting and target points, followed by employing the A-star algorithm to find the optimal path. Finally, the straight lines and local paths are merged. Experiments show that this method solves the issue of excessive path reversal caused by the A-star algorithm. Reference [18] introduces a path-planning method based on cubic spline interpolation to maintain the smoothness of robot motion paths. The control points of the path, including the start point, control points, and destination point, are interpolated to form a complete path. Chaotic adaptive particle swarm optimization is used to optimize the control points, and the simulation results confirm the algorithm’s effectiveness. Reference [19] emphasizes the importance of smoothness in robot motion and combined genetic algorithms with B-spline curve generation techniques to create continuous obstacle avoidance curves.
The aforementioned research has introduced a variety of methods into the field of robot path planning, expanding the applicability of robots. However, as path planning constitutes a pivotal component of robot motion control, it necessitates a more comprehensive evaluation system to ensure the generation of higher-quality paths. It is worth noting that the aforementioned studies often focus on singular or limited factors, failing to fully consider the multidimensional aspects of path assessment. Particularly in complex environments, leveraging environmental features can aid in generating more rational path-planning solutions. Yet, the previous research has not delved deeply into this aspect, neglecting elements such as environmental infrastructure. This study adopts a holistic approach, taking into account several critical factors, including safety, path feasibility, and energy consumption. By introducing heuristic functions like the risk coefficient, it effectively enhances the accuracy and efficiency of path planning.
Our research primarily focuses on warehouse handling robots, with a specific emphasis on their application in warehousing environments. Within warehouses, numerous shelves pose as implicit obstacles for robots. Therefore, ensuring that robots can navigate accurately through these shelves and reach designated storage locations requires the design of an effective path. We particularly address the performance requirements of paths in the storage areas of warehouses, dedicating our research efforts to optimizing these performances. The goal is to obtain a more applicable path-planning solution for warehouse environments.
Within the warehouse milieu, the pivotal role of handling robots lies in their capacity to concurrently elevate logistical and handling efficiency while minimizing the burdens associated with manual operations. For the robot, multiple shelves within the warehouse serve as potential impediments. Consequently, ensuring that the robot reaches its designated shelf without encountering collisions with others becomes imperative, establishing a prerequisite for the secure storage of goods and the expeditious selection of items. Moreover, precise path planning contributes to the reduction in the robot’s movements within the warehouse, thereby augmenting the overall operational efficiency. Through the optimization of paths, the robot’s travel distance can be diminished, consequently lowering energy consumption and extending both the operational time and battery lifespan of the robot.
In response to these requirements, this paper introduces a safe heuristic path-planning method based on a search strategy. What sets this method apart is its ability to evaluate the danger coefficient of search nodes during the path-planning process, enabling the selection of safe, collision-free paths while reducing unnecessary turning points for smoother paths. Through this method, the energy consumption of handling robots is successfully reduced. Moreover, by considering the characteristics of the environmental facilities, the method achieves optimal boundary identification, resulting in the determination of the best path from the starting point to the optimal boundary point and then to the destination point.
The remainder of this article is organized as follows. Section 2 introduces the safe heuristic path-planning method. Section 3 presents the experimental simulation environment and performance evaluation. Section 4 gives the simulation results and a discussion of the system, and Section 5 summarizes this paper.

2. Methods

In this section, we first explain the framework of the method proposed in this paper. Then, the details of each submodule are presented, including the theoretical basis and implementation details.

2.1. Safe Heuristic Framework Based on a Search Strategy

The framework of the safe heuristic path-planning method based on a search strategy is shown in Figure 1. It mainly consists of three parts: neighborhood expansion, path selection using the hazard coefficient, and the determination of the optimal boundary points of obstacles. First, the A-star search algorithm is extended to obtain multi-neighborhood search nodes. Then, the hazard coefficient of each node is calculated to select a safe and effective path. Finally, according to the environmental information, the optimal boundary point is obtained, and the optimal path between the starting point, the optimal boundary point and the end point is obtained by using the safe heuristic method.
Neighborhood expansion: Due to the low search freedom of the A-star algorithm, the planned path has many turning points, so we expand the search neighborhood.
Path selection with the danger coefficient: According to the corresponding location information of the expanded node, the danger coefficient is calculated, and the node with the lower danger coefficient is selected as the specific path point.
Determination of the optimal boundary point: The starting point and the end point are connected to obtain a straight line segment. The straight line segment is intersected with the obstacle to obtain the intersection point, and the boundary point set of the intersecting obstacle is obtained. The distance between each boundary point and the intersection point is used as a criterion to find the optimal boundary point; the improved algorithm is used to find the local path between the starting point, the optimal boundary point and the end point. We combine the respective local paths as a global path.

2.2. Neighborhood Extension

The traditional A-star algorithm usually selects the point with the smallest evaluation function value as the next computation node [20] to optimize the search path. The evaluation function is expressed as:
f ( n ) = g ( n ) + h ( n )
In the formula, f ( n ) represents the total travel cost from the current node to the destination node; g ( n ) represents the actual travel cost from the current node to the starting node; and h ( n ) represents the estimated travel cost from the current node to the destination node. The Manhattan distance, Euclidean distance, and Chebyshev distance are commonly used to calculate h ( n ) [21]. The corresponding formulas are shown in Equations (2)–(4):
h M ( n ) = x n x g o a l + y n y g o a l
h E ( n ) = ( x n x g o a l ) 2 + ( y n y g o a l ) 2
h C ( n ) = max x n x g o a l , y n y g o a l
where h M ( n ) , h E ( n ) , and h C ( n ) represent the heuristic functions obtained by using the Manhattan distance, Euclidean distance and Chebyshev distance, respectively; ( x n , y n ) are the coordinates of the current node; and ( x g o a l , y g o a l ) are the coordinates of the target node.
When the A-star algorithm employs the Manhattan distance for path exploration, the degrees of freedom in search are limited to four directions—namely, upwards, downwards, leftwards, and rightwards—from the current node. Conversely, the A-star algorithm utilizing the Euclidean distance can discern one of eight adjacent nodes as the next search direction as illustrated in Figure 2. From Figure 2a, it is evident that the Manhattan distance search directions exhibit a 45° angle at each corner, thereby restricting exploration along the diagonal directions and introducing constraints on optimal paths involving certain diagonal movements. In Figure 2b, the Euclidean distance search directions feature a 22.5° angle at each corner, taking into account the diagonal directions and thereby fostering a greater array of possibilities in the search outcomes. The Chebyshev distance defines the distance between two points as the maximum absolute difference between their respective coordinate values. It calculates the number of moves required from the current node to the target node, commonly applied in highly specific scenarios such as warehouse and logistics environments. Consequently, the utilization of the Chebyshev distance as a general distance metric proves challenging.
The paths planned by the A-star algorithm using three different distances are shown in Figure 3. Given the same start and end points, the red path is planned by the A-star algorithm using the Manhattan distance, the blue path is planned using the Euclidean distance, and the green path is planned using the Chebyshev distance. The corresponding path lengths are shown in Table 1. According to the planned paths, it can be seen that the path obtained by the A-star algorithm using the Euclidean distance is shorter, and the turning point is smaller. Additionally, to be more consistent with the actual distance when the robot moves, this paper adopts the Euclidean distance.
It can be seen from Figure 2b that the Euclidean distance uses an 8-neighborhood search; that is, there is an angle of 45° in each direction. When searching in this way, the distance between each search direction point and the current node is relatively singular. This single search method limits the planning of the path, and it is easy to obtain too many turning points in the final planned path as well as an insufficiently smooth trajectory. To address these problems, this paper presents an extended 16-neighborhood search method as shown in Figure 4. It can be seen from the figure that the angle of the extended search direction is 22.5°; the distance between the current node and the search node that is used in the traditional search method is too restricted. In the proposed method, the distance is diversified, and the degrees of freedom of the search increase, so the planned path is smoother and better, reducing unnecessary turning points and power consumption.

2.3. Selecting the Path by Using the Risk Coefficient

In a real scene, the movement of the robot must not only consider the shortest path but also ensure that the path is safe and effective. As shown in Figure 5, when calculating the optimal path, the A-star search algorithm generates a path that is too close to the obstacle when passing the obstacle, which is not feasible in actual production and logistics. In addition, the robot itself has a certain shape and size, so it is necessary to consider the safety factors and dynamic constraints of the robot when planning the path.
To address these problems, this paper presents an improved scheme. Comprehensively considering various factors such as robot kinematics constraints, environmental obstacle information, and objective functions, it is assumed that the internal radius of the robot is r r o b o t , and R represents the distance between the robot and the obstacle. Considering the safety of the robot path, the minimum safe distance R 1 = 1.5 r r o b o t is set. If the distance between a node in the search environment and an obstacle is less than the minimum safe distance, we determine that the node is in a dangerous state and calculate the corresponding danger coefficient. The formula of the danger coefficient is as follows:
ψ = 0 R > R 1 i = 1 n q ( x n x o b s i ) 2 + ( y n y o b s i ) 2 C R R 1
where ψ sets the hazard coefficient between the robot and the obstacle, ( x o b s i , y o b s i ) is the coordinate of the obstacle whose distance from the robot is less than the minimum safe distance, q sets the affected area according to the physical size of the obstacle, and the effective range of the obstacle is determined by the positive integer C. The general parameters q and C are usually set to 2 and 1, respectively. The hazard coefficient is added to the heuristic function to generate a safer and more effective path-planning scheme. We change the heuristic function to:
h ( n ) = h E ( n ) + ψ
Algorithm 1 shows the pseudocode for the extended A-star algorithm, which takes the robot’s start point, target point, and map information as input and generates the optimized path b e s t _ p a t h as output.
Algorithm 1 Improved A-star algorithm
  1:
function A-STAR( s t a r t , g o a l , m a p )
  2:
    c l o s e N U L L
  3:
    o p e n s t a r t
  4:
    G [ s t a r t ] g [ s t a r t ] = 0 , H [ s t a r t ] h [ s t a r t ]
  5:
    F [ s t a r t ] H [ s t a r t ]
  6:
   while  o p e n  do
  7:
       n e i g h b o r _ N o d e Select the node with the lowest F value in the open list
  8:
       o p e n o p e n { c u r r e n t _ N o d e }
  9:
       c l o s e c l o s e { c u r r e n t _ N o d e }
10:
      if  c u r r e n t _ N o d e = g o a l  then
11:
         return  b e s t _ p a t h
12:
      end if
13:
       c u r r e n t _ N o d e Compute the set of vertices surrounding the current vertex
14:
      for  N n e i g h b o r _ N o d e s  do
15:
         if  N c l o s e  then
16:
            do nothing
17:
         else if  N o p e n  then
18:
             G [ N _ n e w _ c a l c u l a t e d ] , H , F Calculate the G, H, and F values of N
19:
            if  G [ N o p e n ] > G [ N _ n e w _ c a l c u l a t e d ]  then
20:
               Parent node of N c u r r e n t _ N o d e
21:
            end if
22:
         else
23:
            Parent node of N c u r r e n t _ N o d e
24:
         end if
25:
      end for
26:
   end while
27:
end function

2.4. Calculating the Optimal Boundary Point

In this paper, the idea of local environment block planning is used to analyze the environment information based on the principle of the shortest two-point line segments, and the boundary points of obstacles connecting the starting point and the end point are obtained. Local path planning is performed between the starting point, the boundary point and the end point, and then the local paths are merged. The principle of calculating the optimal boundary point is introduced below.
Suppose the start point in the environmental information is A ( x s t a r t , y s t a r t ) , the end point is B ( x g o a l , y g o a l ) , and the start and end points are connected. The line A B ¯ is obtained, and the equation of the analytic geometry line A B ¯ is:
( y y s t a r t ) ( x g o a l x s t a r t ) = ( x x s t a r t ) ( y g o a l y s t a r t )
Assuming that the line segment A B ¯ does not pass through an obstacle, the shortest path planned by the starting point and the destination point is the line segment A B ¯ shown in Figure 6a.
If the line segment A B ¯ passes through an obstacle, for the sake of simplicity, we assume that the number of obstacles passed through is 2 as shown in Figure 6b. First, the intersection points C 1 and C 2 of the obstacle and the line A B ¯ are obtained. Using the first intersection C 1 ( x C 1 , y C 1 ) , the boundary point D i ( x D i , y D i ) ( i = 1 , 2 , 3 , ) of the first obstacle is obtained. We calculate the distance between the boundary point and the intersection C 1 ( x C 1 , y C 1 ) :
d i = ( x C 1 x D i ) 2 + ( y C 1 y D i ) 2
We find the boundary point corresponding to the minimum distance. In Figure 6b, this point is D 1 ( x D 1 , y D 1 ) . We abandon D 2 ( x D 2 , y D 2 ) , take D 1 ( x D 1 , y D 1 ) as a new starting point, connect the starting point and the end point, obtain the line D 1 B ¯ , find the intersection coordinate C 3 ( x C 3 , y C 3 ) of the obstacle passing through the line segment D 1 B ¯ , obtain the boundary point of the obstacle corresponding to the first intersection, calculate the distance from the intersection C 3 ( x C 3 , y C 3 ) , and find the optimal boundary point corresponding to the minimum distance D 3 ( x D 3 , y D 3 ) in the figure. Using this point as a new starting point, we continue to connect the starting point to the target point, obtain the line segment D 3 B ¯ , and determine whether the line passes through the obstacle. Considering that the robot itself has a certain shape and size, the distance between the border point and the obstacle cannot be too small. Assuming that the border point is E ( x 0 , y 0 ) , the safe distance is also set to R 1 , and an obstacle whose distance from E ( x 0 , y 0 ) is less than the safe distance is set as a threatening obstacle. The formula of the corresponding obstacle coefficient X is shown in Equation (9):
X = i = 0 n 1 E E o b s i 1 R 1
where E o b s i ( i = 0 , 1 , , n ) represents the threatening obstacle encountered by the robot point E ( x 0 , y 0 ) , and E E o b s i represents the distance between the limit point and the obstacle; according to the obstacle coefficient, a new limit point E ( x 1 , y 1 ) is obtained. The relationship between E ( x 1 , y 1 ) and E ( x 0 , y 0 ) is shown in Equation (10), and represents the angle between E ( x 0 , y 0 ) and E o b s . The correspondence analysis is shown in Figure 7:
x 1 = x 0 + X cos θ y 1 = y 0 + X sin θ
In Figure 6b, it can be seen that straight line D 3 B ¯ does not pass through the obstacle, and the last boundary point D 3 ( x D 3 , y D 3 ) is maintained. The obstacle coefficient between D 3 ( x D 3 , y D 3 ) and the obstacle is calculated, and the optimal boundary point D 3 ( x D 3 , y D 3 ) is obtained.
Taking the point A ( x s t a r t , y s t a r t ) as the starting point and the optimal boundary point D 3 ( x D 3 , y D 3 ) as the destination point, the improved A-star algorithm is used for path planning to obtain local path 1. Then, taking the boundary point D 3 ( x D 3 , y D 3 ) as the starting point and the end point B ( x g o a l , y g o a l ) as the destination point, according to the principle of the shortest line segment between the two points, path 2 is obtained, that is, the line segment D 3 B ¯ . Combining the local paths, the optimal path from the starting point A ( x s t a r t , y s t a r t ) to the destination point B ( x g o a l , y g o a l ) is obtained, shown as the blue line in Figure 6b.
Algorithm 2 shows the pseudocode for obtaining the optimal border point. It takes as input the start point, target point, map and obstacle information of the robot and outputs the optimal border point as l o c a l _ s t a r t .
Algorithm 2 Obtain the best boundary point
  1:
function OBP( s t a r t , g o a l , m a p , o b s t a c l e )
  2:
    L i n e Calculate the straight line from the start point to the end point
  3:
    c r o s s _ p , b o u n d a r y _ p , d i s , l o c a l _ s t a t
  4:
    i 0
  5:
   for each o b s o b s t a c l e  do
  6:
       c r o s s _ p i s p a s s _ l i n e [ o b s , L i n e ]
  7:
   end for
  8:
   if  c r o s s _ p =  then
  9:
       l o c a l _ s t a r t s t a r t
10:
   else
11:
       b o u n d a r y _ p b o u n d a r y ( c r o s s _ p ( 1 ) )
12:
      for each b o u n d a r y _ p  do
13:
          d i s ( b o u n d a r y _ p c r o s s _ p ( 1 ) ) 2
14:
      end for
15:
      for each d i s  do
16:
          i f i n d ( d i s = m i n ( d i s ) )
17:
      end for
18:
       l o c a l _ s t a r t b o u n d a r y _ p ( i )
19:
   end if
20:
   return  l o c a l _ s t a r t
21:
end function
Algorithm 3 is the pseudocode for local path fusion. It takes as input the optimal border point, the target point, and the local path information of the robot, and outputs the optimal path as p a t h .
Algorithm 3 Merge local paths
1:
function Merge( g o a l _ s t a r t , g o a l , b e s t _ p a t h )
2:
    p a t h 1 Computes the line between the l o c a l _ s t a r t and end points
3:
    p a t h [ b e s t _ p a t h ; p a t h 1 ]
4:
   return  p a t h
5:
end function

2.5. Regularized Obstacles

In the case of irregular obstacles, due to their intricate shapes, mathematical modeling becomes exceedingly complex, particularly when confronted with the formidable challenge of identifying the model’s boundary points. To effectively address this issue, a series of strategies are employed in this study to streamline the process of handling irregular obstacles. The following provides a detailed description of these strategies.
As depicted in Figure 8a, we illustrate a typical irregular obstacle. Initially, we conduct a comprehensive analysis of the obstacle to extract its outer contour as demonstrated by the black line in Figure 8b. Subsequently, the search is initiated for the two farthest points on the outer contour, denoted as X 1 ( x 1 , y 1 ) and X 2 ( x 2 , y 2 ) , with their connecting line referred to as X 1 - X 2 . This line’s equation is represented as per Equation (11), where K signifies the slope as specified in Equation (12). The midpoint X 3 ( x 2 + x 1 2 , y 2 + y 1 2 ) between these two points is computed, and the distance from point X 3 to both points is defined as d 1 as portrayed in Figure 8b:
y = K ( x x 1 ) + y 1
K = y 2 y 1 x 2 x 1
The line X 1 - X 2 effectively bifurcates the obstacle into left and right segments as delineated in Figure 8b on the left and right sides, respectively. Subsequently, we individually determine the maximum distances from each point on the outer contour to the line X 1 - X 2 for both the left and right segments, as indicated by the blue lines in Figure 8c. These utmost distances are designated as d 2 and d 3 , with corresponding points on the outer contour identified as X 4 ( x 4 , y 4 ) and X 5 ( x 5 , y 5 ) . Assuming that d 3 surpasses d 2 , a line segment designated as l1 is created, traversing through point X 5 ( x 5 , y 5 ) and perpendicular to the line X 1 - X 2 , with its linear equation articulated in Equation (13), where the slope is 1 K :
y = 1 K ( x x 5 ) + y 5
Moving forward, the quest to ascertain point X 6 ( x 6 , y 6 ) ensues, situated at a distance of d 2 from X 5 ( x 5 , y 5 ) and positioned on the line l 1 as elucidated in Figure 8d. At this juncture, the distance from X 6 ( x 6 , y 6 ) to the line X 1 - X 2 is determined as d 4 , where d 4 = d 3 d 2 as portrayed in Figure 8d. Subsequently, lines denoted as l 2 and l 3 are established, with l 2 having X 6 ( x 6 , y 6 ) as the central point and a slope of K, while l 3 emanates from X 3 as the central point with a slope of 1 K . The intersection point of these two lines is identified as X 7 as illustrated in Figure 8e. Finally, with X 7 as the center point, we construct a rectangle with a length of 2 d 1 and a width of d 2 + d 3 , where the tilt angles of the two sides are arctan ( K ) and arctan ( 1 K ) , respectively, as shown in Figure 8f. This rectangular area represents a processed obstacle with a regular shape.
Through the employment of this strategic approach, we adeptly transform irregular obstacles into regular shapes, all the while ensuring that these regular-shaped obstacles wholly encapsulate the original irregular obstacles. This, in turn, serves to reduce the complexity associated with determining the boundary points of obstacles and effectively mitigates the risk of collisions with said obstacles.

3. Simulation Environment and Parameters

3.1. Evaluation Platform Configuration

This section introduces the map environment of robot path planning and its related settings, the robot parameters, the evaluation indicators and the simulation environment.
In this section, the mobile robot map environment is set up as a grid map with a length and width of 200 m. If the index value corresponding to a position in the grid map is 1, it indicates that there is an obstacle, and if the index value corresponding to a position in the grid map is 0, it indicates that there is no obstacle. The map layout is designed in two test scenarios. The computer configuration used in the simulation test experiment is the Windows 10 operating system, i5-7200U processor and 8 GB RAM, Dell Inc., Kunshan, China.

3.2. Scene Settings

In this paper, two different map layouts are created based on a flat ground design.
For the first type of environmental information, to better evaluate the performance of the proposed algorithm in terms of security and effectiveness, two different map environments are set up in this section. The map environment is shown in Figure 9. One map contains convex-tip obstacles, while the other map contains narrow channels. These different map environments are designed to examine whether the handling robot can safely navigate through these challenges to fully evaluate the algorithm. The robot’s starting position coordinates are set to (10,10), and the goods must be transported to the target position with coordinates (190,190).
For the second type of environmental information, to test the robustness of the algorithm in the case of random changes in the environmental information, this section presents an experiment that sets random changes in the obstacle environment. Specifically, three different maps are randomly generated, with obstacles accounting for 20% of each map. These randomly generated maps contain a combination of multiple obstacle locations to verify whether the algorithm can adapt to random changes in different environmental information. Through this experiment, the ability of the algorithm to detect and avoid randomly changing obstacle information can be evaluated, and the reliability and practicality of the algorithm can be further improved. The coordinates of the robot’s start position are set to (25,35), and the goods must be transported to the target position with coordinates (140,190).

3.3. Performance Indicators

In order to authentically assess the performance of the algorithm presented in this study, we adopt the differentially driven motion modelproposed in the referenced literature [22]. As illustrated in Figure 10, the robotic platform is equipped with an omnidirectional wheel and two drive wheels. In the model, v l , v r , and v c denote the linear velocities of the left drive wheel, right drive wheel, and overall robot, respectively. Symbol L represents the wheelbase between the left and right drive wheels. The robot’s angular velocity is denoted by w c . Consequently, the kinematic equations governing the robot’s motion are expressed as follows:
v c ω c = 1 2 1 2 1 L 1 L v r v l
x ˙ c y ˙ c θ ˙ = cos θ 0 sin θ 0 0 1 v c ω c
Here, x c , y c , and θ respectively signify the velocities of the robot in the x-axis, y-axis, and angular directions.
The PID controller stands as a classical feedback control methodology, continually adjusting the output to approximate the system’s actual output to the desired output [23]. Consequently, this manuscript employs the PID controller to govern the motion of a differentially driven two-wheeled vehicle, ensuring that the vehicle adheres to the planned trajectory. Under the assumption of a robot with a wheelbase of 60 cm and a travel speed of 1 m/s, the trajectory tracked by the differentially driven two-wheeled robot under PID control is illustrated in Figure 11. Figure 12 portrays the magnitudes of the robot’s angular velocity and center velocity on this trajectory.
The original path length is 73.73 m, and under PID control, the robot traverses this path in 79.4 s. Subsequently, this model is applied to path planning, and the simulated path is evaluated in the latter part of this paper.
The primary objective of the path planning endeavors to formulate an optimal collision-free trajectory. The consumption of electrical energy by the mobile robot serves as a pivotal determinant for the successful execution of its tasks. A superior trajectory holds the potential to abbreviate the robot’s traversal time, consequently mitigating power consumption. This, in turn, guarantees that the robot maintains an ample reserve of electrical energy to effectively accomplish its designated tasks, thereby augmenting the overall operational efficiency of the robot. Hence, it becomes imperative to mandate that the paths devised prioritize safety and smoothness while concurrently minimizing their length. This paper conducts a comprehensive assessment and discourse of the planned trajectories, evaluating and discussing them across six fundamental facets: path length, collision risk, path search duration, traversal duration, trajectory smoothness, and energy consumption.
(1) Path length
The goal is to achieve the shortest path possible. Assuming that the start position and target position are S 0 and S 1 , respectively, the path length calculation formula is:
L ( S ) = i = 0 N ( S i + 1 S i )
where L ( S ) represents the path length and the unit is m. S i + 1 S i denotes the Euclidean distance between S i + 1 and S i .
(2) Collision risk value
The collision risk value refers to the possibility of collision with the robot at a given point on the robot’s trajectory. If the robot collides while moving, it may cause equipment damage, mission failure, robot damage, or environmental pollution and may even cause injury to people or endanger human safety. Therefore, it is very important to evaluate and control the collision risk in robot motion control. In this paper, a two-dimensional Gaussian model is used to establish a collision safety function to estimate the collision safety value. The specific formula is as follows:
R ( S r o b o t , S o b s ) = i = 0 n e 0.5 S r o b o t S o b s i q C
where S o b s represents an obstacle whose distance from the robot is less than the safe distance, and the general parameters q and C are usually set to 2 and 1, respectively.
(3) Exercise time
In practical tasks, the robot must complete the task on time, and when moving in a dangerous environment, shortening the time can reduce the risk of damage or danger to the robot. The time calculation formula is as follows:
T = i = 1 N 1 t i = i = 1 N 1 V r o b o t i S i + 1 S i
where t i is the movement time at the corresponding position S i , Y o b s represents the movement speed of the robot at position S i , and the robot speed is as given above.
(4) Path smoothness
The smoother the planned path is, the fewer the turning points of the path, and the less energy and time consumed by the mobile robot. The smoothness of the path is mainly calculated by the turning angle of the mobile robot along the target path. The specific formula is
A ( S ) = i = 1 N γ i = i = 1 N arccos ( ( S i S i 1 ) · ( S i + 1 S i ) S i S i 1 × S i + 1 S i )
where γ i is the value of the i-th corner of the obtained path (calculated in radians, varies from 0 to π ), N is the number of points of the path motion of the mobile robot, and ( S i S i 1 ) · ( S i + 1 S i ) is the inner product of two vectors.
(5) Power consumption
Robots with low power consumption can work more efficiently, reduce charging time and improve working efficiency. In this paper, it is assumed that the initial power of the robot is 100% in each test experiment, and when the 50 kg weight of the goods is carried, the robot will exhaust its power by moving 1000 m on a straight path. In the linear motion of the mobile robot, constant acceleration is used to control the speed to reduce the number of speed changes, which can effectively reduce the energy consumption. According to [24], the set speed changes every five time periods to consume 1% of the power. In addition, every time the rotation angle of the robot reaches 360°, it will consume 1% of the power. The formula for the quantity of power E remaining after the robot has completed the handling task is shown in Equation (20), where N v is the number of speed changes:
E = 100 % L ( s ) 1000 + N v 500 + A ( s ) 200 π × 100 %
In order to conduct a comprehensive evaluation of the algorithm, this study compares these metrics using percentages to better evaluate the performance of the algorithm. The calculation method is shown in Equations (21) to (26):
P l e n g t h = l e n g t h r e f l e n g t h p r o l e n g t h r e f × 100 %
P c o l l i s i o n = C o l l i s i o n r e f C o l l i s i o n p r o C o l l i s i o n r e f × 100 %
P S _ t i m e = S _ t i m e r e f S _ t i m e p r o S _ t i m e r e f × 100 %
P R _ t i m e = R _ t i m e r e f R _ t i m e p r o R _ t i m e r e f × 100 %
P s m o o t h n e s s = S m o o t h n e s s r e f S m o o t h n e s s p r o S m o o t h n e s s r e f × 100 %
P p o w e r = ( 1 P o w e r r e f ) ( 1 P o w e r p r o ) 1 P o w e r r e f × 100 %
In the equations, l e n g t h r e f , C o l l i s i o n r e f , S _ t i m e r e f , R _ t i m e r e f , S m o o t h n e s s r e f , and P o w e r r e f represent the path length, collision risk value, searching time, run time, smoothness, and residual power obtained by the reference methods, respectively. l e n g t h r e f , C o l l i s i o n r e f , S _ t i m e r e f , R _ t i m e r e f , S m o o t h n e s s r e f , and P o w e r r e f represent the corresponding metrics for the path planned by the algorithm proposed in this study. P l e n g t h , P c o l l i s i o n , P S _ t i m e , P R _ t i m e , P s m o o t h n e s s , and P p o w e r represent the percentage reductions in path length, collision risk value, searching time, run time, smoothness, and residual power achieved by the algorithm proposed in this study compared to the reference methods.

4. Simulation Results and Discussion

This section discusses the feasibility and effectiveness of the safe heuristic algorithm based on the search strategy to design the map layout under different conditions. The proposed safe heuristic algorithm based on a search strategy (SHA-star), the traditional A-star algorithm [25] (T_A-star), the A-star algorithm after adding the danger coefficient in this paper [S_A-star], and the method of [17] (R_[17]) are taken as reference methods to evaluate the performance of the proposed algorithm. It is worth noting that the S_A-star algorithm does not originate from previous references but represents an enhancement built upon the foundation of the conventional A-star algorithm. This enhancement process involves the integration of the hazard coefficients introduced in this paper into the traditional A-star algorithm, aiming to seek optimal path planning while taking into full consideration the hazardous factors. The key objective of this approach is to verify whether the introduction of hazard coefficients, in comparison to the conventional A-star algorithm, effectively enhances the safety of robot path planning. To ensure the accuracy of the results, we repeated the same experiment 100 times and calculated the average of these repeated experiments.

4.1. Simulation Results and Discussion for the First Map Environment Category

Figure 13 and Figure 14 delineate the simulation outcomes of the four algorithms within the first environmental category. The map denotes the starting point with red markers and the destination with green markers. Figure 13a–c and Figure 14a–c represent the results of the T_A-star, S_A-star, and R_[17] algorithms in the first environment, while Figure 13d and Figure 14d depict the paths derived by the SHA-star algorithm. It is conspicuous from the figures that all four algorithms successfully navigate without colliding with obstacles. The paths generated by SHA-star exhibit a notable safety margin from obstacles and remarkable smoothness. Table 2 encompasses a comprehensive analysis, comparing results in terms of path length, collision risk, search time, motion duration, path smoothness, and remaining power.

4.1.1. Discussion on Convex Obstacles

The SHA-star algorithm amalgamates the local and linear paths, effectively reducing the path inflection points by increasing the search freedom. This dual effect results in shorter path lengths and enhanced path smoothness. In the context of convex obstacles, SHA-star excels with the optimal path length of 369.5521 and path smoothness of 6.1191. T_A-star and S_A-star adhere to the conventional 8-neighborhood method for pathfinding, which often leads to paths with numerous inflection points and suboptimal smoothness. Additionally, due to S_A-star’s need to select paths with lower danger coefficients, its optimal path length is slightly longer than that of T_A-star. Therefore, T_A-star’s optimal path length and path smoothness are 380.5584 and 89.5353, respectively, while S_A-star’s optimal path length and path smoothness are 384.0731 and 89.5353. R_[17], which leverages the A-star algorithm to find the shortest path between intersections of circles and lines, offering a hybrid approach that can reduce the path length in simpler environments. However, in complex environments, the path length significantly increases due to the time required to calculate these intersections. While R_[17] improves path smoothness by including straight-line segments, it does not consider collision risks. Consequently, R_[17] achieves an optimal path length of 446.3637 and a path smoothness of 15.3482 within convex obstacles.
Both SHA-star and S_A-star rely on danger coefficients to select safe paths, resulting in low collision risks. Specifically, in the context of convex obstacles, SHA-star and S_A-star exhibit collision risks of 10.6796 and 18.1278, respectively. T_A-star and R_[17], on the other hand, fail to account for path safety, leading to paths in close proximity to obstacles and high collision risks. Their collision risks within convex obstacles are 309.0022 and 674.88, respectively.
While both SHA-star and S_A-star continuously evaluate node danger coefficients, the former’s search time is increased, compared to T_A-star. However, SHA-star significantly reduces the search time for straight-line segments, resulting in shorter overall search times compared to S_A-star. R_[17], on the other hand, expends significant time in complex environments to find intersections between circles and lines, wasting search time. Nevertheless, the total runtime (total time = search time + motion duration) for SHA-star within convex obstacles is notably shorter than the other three algorithms. Specifically, SHA-star, T_A-star, S_A-star, and R_[17] exhibit total runtimes of 409.811 s, 414.515 s, 481.108 s, and 398.264 s, respectively.
Given that SHA-star’s path exhibits minimal length, enhanced smoothness, and low collision risks, it conserves energy within convex obstacles. Thus, in such scenarios, SHA-star retains a substantial power reserve of 62.07%, while T_A-star, S_A-star, and R_[17] have power reserves of 47.69%, 47.34%, and 52.92%, respectively. In conclusion, SHA-star excels in environments with convex obstacles.

4.1.2. Discussion on Narrow Passages

The data in Table 2 reveal that in environments characterized by narrow passages, SHA-star outperforms T_A-star, S_A-star, and R_[17] in various performance aspects. Specifically, SHA-star reduces the path length by 1.74%, 2.93%, and 25.63% compared to T_A-star, S_A-star, and R_[17], respectively. It significantly mitigates collision risks by 98.79%, 89.7%, and 98.81%. Furthermore, it enhances path smoothness by 87.72%, 87.12%, and 56.65%. Energy consumption is reduced by 19.21%, 19.23%, and 27.24% when compared to T_A-star, S_A-star, and R_[17], respectively. Although SHA-star’s evaluation of node danger coefficients increases the search time compared to T_A-star, the total runtime (total time = search time + motion duration) for SHA-star is shorter. When considering the search time and runtime together, SHA-star outperforms S_A-star and R_[17] within the context of narrow passages.
In summary, SHA-star exhibits distinct superiority in environments characterized by narrow passages.

4.2. Simulation Results and Discussion for the Second Map Environment Category

The simulation results under the second category of environmental information are depicted in Figure 15. In this context, the red markers represent the starting points, the green markers signify the endpoints, and the different-colored lines within the graph represent the paths generated by T_A-star, S_A-star, R_[17], and SHA-star. All four algorithms successfully navigate from the starting point to the endpoint without encountering obstacles. Figure 15a–c reveal that within an environment characterized by randomly changing obstacles, SHA-star, by increasing the search freedom and integrating danger coefficients, effectively reduces the number of path inflection points. These paths maintain a certain safe distance from obstacles. In contrast, T_A-star, which does not account for path collision risk, leads to paths in close proximity to obstacles and features a higher number of inflection points due to its 8-directional search. Even with the incorporation of danger coefficients, S_A-star retains multiple inflection points. R_[17], due to its combination of linear and search paths, exhibits notably high path smoothness in Figure 15a–c. However, it too fails to consider collision risks during path planning, resulting in paths closely following obstacles.
Table 3 offers a comprehensive comparison of the four algorithms concerning path length, collision risk, search time, motion duration, path smoothness, and remaining power. The data clearly demonstrate that SHA-star excels by achieving the shortest paths, lowest collision risks, shorter runtime, smoother paths, and enhanced efficiency. While the search time increases slightly compared to T_A-star, SHA-star’s overall runtime is the shortest. When considering all aspects, SHA-star emerges as the superior choice in environments characterized by random obstacles.

4.3. Comparison of Irregular Obstacles

To evaluate the performance of enhanced algorithms in handling environments with irregular obstacles, a comparative path-planning experiment was devised. In the experimental setup, the initial coordinates of the robot were set at (10,10), while the destination coordinates were set at (170,190). Figure 16a illustrates the layout of these irregular obstacles, while Figure 16b outlines the results after the regularization of the same obstacles. Figure 16c showcases the simulation outcomes of the improved algorithms within a context of regularized obstacles, whereas Figure 16d displays the paths generated by the other three algorithms within an environment featuring irregular obstacles, juxtaposed with the paths created by the SHA-star algorithm in the context of regularized obstacles. The relevant data are documented in Table 4.
Upon a close examination of the paths displayed in Figure 16d, it becomes evident that, post regularization of the obstacles, the paths obtained through the SHA-star algorithm maintain a considerable distance from the irregular obstacles. This characteristic significantly reduces collision risks. In contrast, the T_A-star algorithm and the R_[17] algorithm, which fail to account for the safety of robot navigation, produce paths that closely track the obstacles, resulting in a high susceptibility to collisions. The data in Table 5 further corroborate that SHA-star is capable of generating collision-free paths. In comparison to T_A-star, S_A-star, and R_[17], SHA-star’s optimal path length is reduced by 0.63%, 1.53%, and 3.16%, respectively. While regularizing the obstacles consumes some additional time, leading to a relatively longer path search time when compared to T_A-star and S_A-star, it still surpasses the search time required by R_[17]. Furthermore, SHA-star attains the shortest total runtime, even in this scenario. Additionally, SHA-star generates paths characterized by greater smoothness, decreasing path inflection points by 95.38%, 94.23%, and 84.62% in comparison to T_A-star, S_A-star, and R_[17]. The enhancement of path smoothness contributes to improved path continuity, eliminating the need for the robot to frequently change directions, thereby shortening the total runtime required for material-handling tasks. In conclusion, the paths created by the SHA-star algorithm retain the highest remaining energy.
Figure 17 illustrates the simulation results of the four algorithms under regularized obstacles, with specific data comparisons presented in Table 5. From Figure 17, it is evident that without safety distance measures, the results obtained by T_A-star and R_[17] closely adhere to obstacles, while SHA-star and S_A-star algorithms yield safe paths. According to the data in Table 5, due to the increase in obstacle area after regularization, the path lengths obtained by T_A-star, R_[17], and S_A-star under regularized obstacles experience an increment. Moreover, since the regularization of obstacles requires a certain amount of time, the path search times for these three algorithms are greater than those for paths under irregular obstacles. In the remaining performance metric comparisons, the SHA-star algorithm outperforms T_A-star, R_[17], and S_A-star.
Considering these multifaceted factors, the SHA-star algorithm demonstrates outstanding path-planning performance in environments with irregular obstacles.

4.4. Simulation Comparison of Warehouse Storage Area

Throughout the entire logistics process, spanning from the entry of goods into the warehouse to their final dispatch, a sequence of crucial steps encompasses key facets such as receiving, storage, picking, packing, and shipping. Typically, warehousing systems partition the facility into two main segments, one exclusively designated for the storage of goods and the other tailored for merchants, encompassing areas such as receiving and dispatch zones [26]. This paper centers its attention on the storage area, presuming its total area to be 50 × 50 m as illustrated in the designed model in Figure 18. The gray region in the figure represents shelves, the red area signifies the robot parking zone where the robot docks when not engaged in handling tasks, and the green area serves as the exit. Upon receiving instructions, the robot maneuvers from the parking zone to the specified shelf for cargo handling, subsequently transporting the goods to the exit. This study sets the target positions for cargo handling at (29, 19) and (21, 35). When computing time, the loading and unloading times are disregarded, with the focus solely being on the planning time and robot travel time. The simulation results, as depicted in Figure 19, encompass comparative data regarding path length, collision risk, path search time, operation time, smoothness, and remaining battery capacity in Table 6.
The simulation graphs allow us to observe that all four algorithms have successfully determined paths for the handling tasks. From the data presented in Table 6, it is evident that, across different task points, the SHA-star algorithm showcases a minimum reduction of 1.26% in path length, a significant decrease of 41.14% in collision risk, and a minimum improvement of 54.6% in path smoothness, concurrently minimizing energy consumption by 1.16%, when compared to the T_A-star, S_A-star, and R_[17] algorithms. Although the path search time is increased by 0.06 s compared to T_A-star, the overall path operation time remains the shortest.
The above simulation results and data analysis affirm that SHA-star can be effectively applied in warehousing scenarios. Furthermore, in the context of warehouse handling, the SHA-star algorithm consistently outperforms the other three algorithms as evidenced by the superior performance metrics.

4.5. Comparison with Multi-Objective Optimization Algorithms

In order to comprehensively assess the superiority of the improved A-star algorithm, this study elected to conduct a further comparative analysis involving particle swarm optimization (PSO) and genetic algorithm (GA). The algorithms from references [18] (CAPSO) and [19] (GA) were chosen as the benchmark algorithms for replication. Reference [18] underscored the impact of the number of control points on path planning. The experimental evidence suggests that a range of three to six control points produced favorable results. Consequently, in this investigation, a population size of 30 was chosen, and the number of control points was set between three and six. This experiment was repeated 50 times to establish an average outcome. The results are depicted in Figure 20, where Figure 20a showcases the paths planned by the CAPSO algorithm under various control point configurations, and Figure 20b illustrates the iteration curves for different control points. The outcomes indicate that the optimal results are achieved when six control points are employed.
Consequently, this study fixed the number of control points at 6, mimicking the parameters of literature [18], and used a population size of 30 and 100 iterations, with all other parameters consistent with literature [18]. For literature [19], the number of control points was also set at 6, with a population size of 30, and 100 iterations, with the remaining parameters consistent with literature [19].
Both of these algorithms were then applied to optimize multiple objectives, such as path length, collision risk, runtime, path smoothness, and energy consumption. However, in practical applications, certain performance metrics may lead to conflicts in robot path optimization. Additionally, the mentioned five indicators are on different orders of magnitude. To balance the impact of different objective functions, a single-objective standardization method [27] was adopted to select suitable weighting coefficients. The fitness function was defined as follows:
f = k 1 L ( s ) + k 2 R ( S r o b o t , S o b s ) + k 3 T + k 4 A ( S ) k 5 E
wherein one of the five weighting coefficients was set to 1, while the others were set to 0 for simulation experiments to obtain the minimum path length L m i n , minimum collision risk R m i n , minimum runtime T m i n , minimum angle A m i n , and maximum remaining energy E m a x . Let k 1 = 1 , then k 2 = L m i n / R m i n , k 3 = L m i n / T m i n , k 4 = L m i n / A m i n , and k 5 = L m i n / E m a x . The weighting coefficient selection for literature [18] and literature [19] is presented in Table 7. Due to the minimum collision risk R m i n = 0 obtained by the two algorithms, k 2 is set to 100.
Figure 21a showcases the paths planned by CAPSO, GA, and the improved A-star algorithm, with the corresponding data recorded in Table 8. Moreover, Figure 21b visually illustrates the changes in fitness function values after 100 iterations for CAPSO and GA.
From Figure 21, it is evident that CAPSO, GA, and SHA-star algorithms can all identify optimal paths while maintaining a certain safe distance from obstacles. Based on the data analysis in Table 8, it can be concluded that the CAPSO algorithm outperforms SHA-star in terms of path length, collision risk, and operation time. In terms of smoothness, SHA-star exhibits lower smoothness due to the straight-line connections in the latter part of the planned path, resulting in fewer corners. Consequently, CAPSO surpasses SHA-star in terms of smoothness. Additionally, SHA-star excels over CAPSO in remaining battery capacity.
The GA algorithm demonstrates lower collision risk than SHA-star, but when compared to SHA-star, it lags behind in path length, operation time, path smoothness, and remaining energy. Notably, after 50 simulation experiments with averaged results, SHA-star’s path search time is merely 0.054 s, whereas the CAPSO and GA algorithms require a substantial amount of time for path searching. This extended search time significantly diminishes path-planning efficiency.
Based on the data analysis above, it can be concluded that CAPSO and GA are more suitable for scenarios with strict collision risk requirements and lenient planning time requirements. In a warehousing environment, considerations extend beyond collision risk to encompass planning time, path smoothness, and more. Therefore, taking a holistic perspective, the SHA-star algorithm proves to be more suitable for path planning in warehousing environments.

5. Conclusions

This study introduces a search strategy-based safety heuristic approach to address challenges in traditional robot path planning. Leveraging risk coefficients to select safe paths and employing an environmental partitioning strategy, this method aims to overcome limitations inherent in conventional algorithms. Extensive simulation experiments consistently validate its capability to generate safe and smooth paths across various map environments, effectively enhancing both the operational efficiency and safety of the robot.
The core algorithm in this research is the A-star algorithm, and while it has undergone significant enhancements, we acknowledge that there is room for further improvement. Firstly, a major drawback of the A-star algorithm lies in its exponential space growth. Recognizing substantial room for improvement in this regard, we commit to ongoing research to overcome this issue. Secondly, this study employs a relatively simplified robot motion model, not fully considering the robot’s dynamic model. Such simplification may lead to decreased path-planning accuracy in certain complex scenarios. Future research directions will involve introducing more precise robot dynamic models to enhance path accuracy and feasibility. Additionally, in dealing with environments filled with irregular obstacles, the obstacle normalization process consumes a considerable amount of time. In future research, we will strive to identify more efficient methods to handle such irregular obstacles, further improving the efficiency of path planning.

Author Contributions

Conceptualization, X.Y.; methodology, X.Y. and X.Z.; software, X.Y., X.Z. and Q.L.; validation, Q.L.; formal analysis, X.Y. and X.Z.; data curation, X.Z.; writing—original draft preparation, X.Z.; writing—review and editing, X.Y. and Q.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work is partly supported by the National Natural Science Foundation of China (62271164, 62101158), the Major Scientific and technological innovation project of Shandong Province of China (2020CXGC010705, 2021ZLGX-05 and 2022ZLGX04), Shandong Provincial Natural Science Foundation (ZR2020MF017, ZR2022MF255, ZR2023MF051), the engineering research center of Shandong province, and the joint innovation center of Shandong province. Shandong Provincial Key Laboratory of Marine Electronic Information and Intelligent Unmanned Systems, Key Laboratory of Cross-Domain Synergy and Comprehensive Support for Unmanned Marine Systems, Ministry of Industry and Information Technology, Discipline construction fund (2023SYLHY05).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

Author Qinghua Luo was employed by the company Shandong Institute of Shipbuilding Technology, Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Liu, C.; Xie, S.; Sui, X.; Huang, Y.; Ma, X.; Guo, N.; Yang, F. PRM-D* Method for Mobile Robot Path Planning. Sensors 2023, 23, 3512. [Google Scholar] [CrossRef] [PubMed]
  2. Lin, S.; Liu, A.; Wang, J.; Kong, X. An intelligence-based hybrid PSO-SA for mobile robot path planning in warehouse. J. Comput. Sci. 2023, 67, 101938. [Google Scholar] [CrossRef]
  3. Sriniketh, K.; Le, A.V.; Mohan, R.E.; Sheu, B.J.; Tung, V.D.; Van Duc, P.; Vu, M.B. Robot-aided human evacuation optimal path planning for fire drill in buildings. J. Build. Eng. 2023, 72, 106512. [Google Scholar] [CrossRef]
  4. Li, Y.; Wu, T.; Xiao, Y.; Gong, L.; Liu, C. Path planning in continuous adjacent farmlands and robust path-tracking control of a rice-seeding robot in paddy field. Comput. Electron. Agric. 2023, 210, 107900. [Google Scholar] [CrossRef]
  5. Hao, Y.; Shen, Z.; Zhao, Y. Path planning for aircraft based on MAKLINK graph theory and multi colony ant algorithm. In Proceedings of the 2009 International Joint Conference on Computational Sciences and Optimization, Sanya, China, 24–26 April 2009; IEEE: Piscataway, NJ, USA, 2009; Volume 2, pp. 232–235. [Google Scholar]
  6. Wang, Z.; Sun, G.; Zhou, K.; Zhu, L. A parallel particle swarm optimization and enhanced sparrow search algorithm for unmanned aerial vehicle path planning. Heliyon 2023, 9, e14784. [Google Scholar] [CrossRef] [PubMed]
  7. Liu, Y.; Zheng, Z.; Qin, F.; Zhang, X.; Yao, H. A residual convolutional neural network based approach for real-time path planning. Knowl.-Based Syst. 2022, 242, 108400. [Google Scholar] [CrossRef]
  8. Wu, X.; Chen, H.; Chen, C.; Zhong, M.; Xie, S.; Guo, Y.; Fujita, H. The autonomous navigation and obstacle avoidance for USVs with ANOA deep reinforcement learning method. Knowl.-Based Syst. 2020, 196, 105201. [Google Scholar] [CrossRef]
  9. Wang, Y.; Jiang, W.; Luo, Z.; Yang, L.; Wang, Y. Path planning of a 6-DOF measuring robot with a direction guidance RRT method. Expert Syst. Appl. 2023, 238, 122057. [Google Scholar] [CrossRef]
  10. Tang, G.; Tang, C.; Claramunt, C.; Hu, X.; Zhou, P. Geometric A-star algorithm: An improved A-star algorithm for AGV path planning in a port environment. IEEE Access 2021, 9, 59196–59210. [Google Scholar] [CrossRef]
  11. Yu, Z.; Yuan, J.; Li, Y.; Yuan, C.; Deng, S. A path planning algorithm for mobile robot based on water flow potential field method and beetle antennae search algorithm. Comput. Electr. Eng. 2023, 109, 108730. [Google Scholar] [CrossRef]
  12. Li, G.; Liu, C.; Wu, L.; Xiao, W. A mixing algorithm of ACO and ABC for solving path planning of mobile robot. Appl. Soft Comput. 2023, 148, 110868. [Google Scholar] [CrossRef]
  13. Lian, Y.; Zhang, L.; Xie, W.; Wang, K. An Improved Heuristic Path Planning Algorithm for Minimizing Energy Consumption in Distributed Multi-AGV Systems. In Proceedings of the 2020 International Symposium on Autonomous Systems (ISAS), Guangzhou, China, 6–8 December 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 70–75. [Google Scholar]
  14. Huang, G.; Yuan, X.; Shi, K.; Liu, Z.; Wu, X. A 3-d multi-object path planning method for electric vehicle considering the energy consumption and distance. IEEE Trans. Intell. Transp. Syst. 2021, 23, 7508–7520. [Google Scholar] [CrossRef]
  15. Zhao, X.; Su, Z.; Dou, L. A path planning method with minimum energy consumption for multi-joint mobile robot. In Proceedings of the 33rd Chinese Control Conference, Nanjing, China, 28–30 July 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 8326–8330. [Google Scholar]
  16. Song, B.; Wang, Z.; Zou, L. An improved PSO algorithm for smooth path planning of mobile robots using continuous high-degree Bezier curve. Appl. Soft Comput. 2021, 100, 106960. [Google Scholar] [CrossRef]
  17. Ju, C.; Luo, Q.; Yan, X. Path planning using an improved a-star algorithm. In Proceedings of the 2020 11th International Conference on Prognostics and System Health Management (PHM-2020 Jinan), Jinan, China, 23–25 October 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 23–26. [Google Scholar]
  18. Lian, J.; Yu, W.; Xiao, K.; Liu, W. Cubic spline interpolation-based robot path planning using a chaotic adaptive particle swarm optimization algorithm. Math. Probl. Eng. 2020, 2020, 1849240. [Google Scholar] [CrossRef]
  19. Sundaran, K. Genetic algorithm based optimization technique for route planning of wheeled mobile robot. In Proceedings of the 2018 Fourth International Conference on Advances in Electrical, Electronics, Information, Communication and Bio-Informatics (AEEICB), Chennai, India, 27–28 February 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1–5. [Google Scholar]
  20. Dong, G.; Yang, F.; Tsui, K.L.; Zou, C. Active balancing of lithium-ion batteries using graph theory and A-star search algorithm. IEEE Trans. Ind. Inform. 2020, 17, 2587–2599. [Google Scholar] [CrossRef]
  21. Wang, X.; Liu, X.; Wang, Y. A Research on Task Scheduling and Path Planning of Mobile Robot in Warehouse Logistics Based on Improved A* algorithm. Ind. Eng. J. 2019, 22, 34. [Google Scholar]
  22. Xin, H.; Wang, P.; Zhao, Y.; Xiao, Y.; Song, B.; Zang, E. Kinematic modeling and motion base library design for autonomous guided trolley for warehouse handling. In Proceedings of the 2023 8th International Conference on Intelligent Computing and Signal Processing (ICSP), Xi’an, China, 21–23 April 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1072–1076. [Google Scholar]
  23. Moshayedi, A.J.; Li, J.; Liao, L. Simulation study and PID tune of automated guided vehicles (AGV). In Proceedings of the 2021 IEEE International Conference on Computational Intelligence and Virtual Environments for Measurement Systems and Applications (CIVEMSA), Hong Kong, China, 18–20 June 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 1–7. [Google Scholar]
  24. Barili, A.; Ceresa, M.; Parisi, C. Energy-saving motion control for an autonomous mobile robot. In Proceedings of the 1995 IEEE International Symposium on Industrial Electronics, Athens, Greece, 10–14 July 1995; IEEE: Piscataway, NJ, USA, 1995; Volume 2, pp. 674–676. [Google Scholar]
  25. Hart, P.E.; Nilsson, N.J.; Raphael, B. A formal basis for the heuristic determination of minimum cost paths. IEEE Trans. Syst. Sci. Cybern. 1968, 4, 100–107. [Google Scholar] [CrossRef]
  26. Wang, W. The Field of Logistics Warehouse Layout Analysis and Research. J. Appl. Math. Phys. 2016, 4, 1120–1123. [Google Scholar] [CrossRef]
  27. Miao, C.; Chen, G.; Yan, C.; Wu, Y. Path planning optimization of indoor mobile robot based on adaptive ant colony algorithm. Comput. Ind. Eng. 2021, 156, 107230. [Google Scholar] [CrossRef]
Figure 1. Framework of the safe heuristic path-planning method based on the search strategy.
Figure 1. Framework of the safe heuristic path-planning method based on the search strategy.
Sensors 24 00101 g001
Figure 2. (a) Manhattan distance search directions, (b) Euclidean distance search directions.
Figure 2. (a) Manhattan distance search directions, (b) Euclidean distance search directions.
Sensors 24 00101 g002
Figure 3. Comparison of the paths obtained by different distance measures.
Figure 3. Comparison of the paths obtained by different distance measures.
Sensors 24 00101 g003
Figure 4. Extended 16-neighborhood search.
Figure 4. Extended 16-neighborhood search.
Sensors 24 00101 g004
Figure 5. The path of the traditional A-star algorithm when passing obstacles.
Figure 5. The path of the traditional A-star algorithm when passing obstacles.
Sensors 24 00101 g005
Figure 6. Algorithm planning path schematic diagrams. (a) Obstacle-free path, (b) path with obstacles.
Figure 6. Algorithm planning path schematic diagrams. (a) Obstacle-free path, (b) path with obstacles.
Sensors 24 00101 g006
Figure 7. Obtaining a new boundary point.
Figure 7. Obtaining a new boundary point.
Sensors 24 00101 g007
Figure 8. Steps for handling irregular obstacles. (a) Irregular obstacles, (b) find the midpoint X 3 , (c) draw a perpendicular, (d) find the midpoint X 6 of the perpendicular, (e) find the center point X 7 of the obstacle, and (f) find the regularized obstacle.
Figure 8. Steps for handling irregular obstacles. (a) Irregular obstacles, (b) find the midpoint X 3 , (c) draw a perpendicular, (d) find the midpoint X 6 of the perpendicular, (e) find the center point X 7 of the obstacle, and (f) find the regularized obstacle.
Sensors 24 00101 g008
Figure 9. Maps for test scenario 1. (a) The environment of sharp obstacles, (b) the environment of narrow passages.
Figure 9. Maps for test scenario 1. (a) The environment of sharp obstacles, (b) the environment of narrow passages.
Sensors 24 00101 g009
Figure 10. Schematic diagram of differential three-wheeled robot model.
Figure 10. Schematic diagram of differential three-wheeled robot model.
Sensors 24 00101 g010
Figure 11. PID control differential two-wheeled robot-tracking path.
Figure 11. PID control differential two-wheeled robot-tracking path.
Sensors 24 00101 g011
Figure 12. The angular velocity w and center velocity v c of the small car.
Figure 12. The angular velocity w and center velocity v c of the small car.
Sensors 24 00101 g012
Figure 13. Path planning using different algorithms in sharp obstacle environments. (a) T_A-star, (b) S_A-star, (c) R_[17], (d) SHA-star.
Figure 13. Path planning using different algorithms in sharp obstacle environments. (a) T_A-star, (b) S_A-star, (c) R_[17], (d) SHA-star.
Sensors 24 00101 g013
Figure 14. Planning results of different methods for a narrow channel. (a) T_A-star, (b) S_A-star, (c) R_[17], (d) SHA-star.
Figure 14. Planning results of different methods for a narrow channel. (a) T_A-star, (b) S_A-star, (c) R_[17], (d) SHA-star.
Sensors 24 00101 g014
Figure 15. The second map-planning results. (a) Map 1, (b) Map 2, (c) Map 3.
Figure 15. The second map-planning results. (a) Map 1, (b) Map 2, (c) Map 3.
Sensors 24 00101 g015
Figure 16. Simulation results of irregular obstacles. (a) Irregular obstacle environment, (b) Regularized obstacle environment, (c) SHA star algorithm simulation results, (d) simulation results of four algorithms.
Figure 16. Simulation results of irregular obstacles. (a) Irregular obstacle environment, (b) Regularized obstacle environment, (c) SHA star algorithm simulation results, (d) simulation results of four algorithms.
Sensors 24 00101 g016
Figure 17. Simulation results of four algorithms in a regularized obstacle environment.
Figure 17. Simulation results of four algorithms in a regularized obstacle environment.
Sensors 24 00101 g017
Figure 18. Map of cargo storage area.
Figure 18. Map of cargo storage area.
Sensors 24 00101 g018
Figure 19. Comparison of simulation results. (a) Target Location 1. (b) Target Location 2.
Figure 19. Comparison of simulation results. (a) Target Location 1. (b) Target Location 2.
Sensors 24 00101 g019
Figure 20. Simulation results under different control points of CAPSO. (a) Simulation result, (b) iterative curve.
Figure 20. Simulation results under different control points of CAPSO. (a) Simulation result, (b) iterative curve.
Sensors 24 00101 g020
Figure 21. Comparison of simulation results between SHA-star, CAPSO, and GA. (a) Simulation result, (b) iterative curves of CAPSO and GA.
Figure 21. Comparison of simulation results between SHA-star, CAPSO, and GA. (a) Simulation result, (b) iterative curves of CAPSO and GA.
Sensors 24 00101 g021
Table 1. Comparison of the experimental data for the three distance formulas.
Table 1. Comparison of the experimental data for the three distance formulas.
MethodManhattanEuclideanChebyshev
Length/m7061.79961.799
Turning point6511
Table 2. The first kind of map-planning data.
Table 2. The first kind of map-planning data.
MapPath ParametersT_A-StarS_A-StarR_[17]SHA-Star
Convex obstaclePath length/m380.5584384.0731446.3637369.5521
P l e n g t h 2.89%3.78%17.21%-
Collision risk value309.002218.1278674.8810.6796
P c o l l i s i o n 96.54%41.09%98.42%-
Searching time/s0.8211.7251.6381.084
P S _ t i m e −12.03%37.16%33.82%-
Run time/s408.99412.79479.74397.18
P R _ t i m e 2.89%3.78%17.21%-
Smoothness/radian89.535389.535315.34826.1191
P s m o o t h n e s s 93.17%93.17%60.13%-
Residual power47.69%47.34%52.92%62.07%
P p o w e r 27.49%27.97%19.44%-
Narrow direction of leg gapPath length/m421.7056426.8772557.1755414.3527
P l e n g t h 1.74%2.93%25.63%-
Collision risk value1032.9641121.55721052.630512.5214
P c o l l i s i o n 98.79%89.70%98.81%-
Searching time/s0.7461.9881.7581.322
P S _ t i m e −17.21%33.50%24.80%-
Run time/s453.26458.82598.87445.3636
P R _ t i m e 1.74%2.93%25.63%-
Smoothness/radian67.544264.402619.13338.2937
P s m o o t h n e s s 87.72%87.12%56.65%-
Residual power47.07%47.06%41.23%57.24%
P p o w e r 19.21%19.23%27.24%-
Table 3. The second kind of map-planning data.
Table 3. The second kind of map-planning data.
MapPath ParametersT_A-StarS_A-StarR_[17]SHA-Star
Map 1Path length/m202.6345202.6345200.2812196.5703
P l e n g t h 2.99%2.99%1.85%-
Collision risk value144.36580113.45130
P c o l l i s i o n 100.00%-100.00%-
Searching time/s0.4441.9211.7581.662
P S _ t i m e −174.32%13.48%5.46%-
Run time/s217.80217.63215.27211.27
P R _ t i m e 3.00%2.92%1.86%-
Smoothness/radian18.849514.13713.14332.1136
P s m o o t h n e s s 88.79%85.05%32.76%-
Residual power76.73%77.48%79.47%80.00%
P p o w e r 14.05%11.19%2.58%-
Map 2Path length/m209.0782215.1787205.7177202.2907
P l e n g t h 3.25%5.99%1.67%-
Collision risk value319.270874.6585241.01640.493
P c o l l i s i o n 99.85%99.34%99.80%-
Searching time/s0.4321.5711.4671.441
P S _ t i m e −133.56%8.27%1.77%-
Run time/s224.73231.10221.12217.42
P R _ t i m e 3.25%5.92%1.67%-
Smoothness/radian26.703534.55758.46183.9394
P s m o o t h n e s s 85.25%88.60%53.44%-
Residual power74.84%72.98%78.08%79.14%
P p o w e r 17.09%22.80%4.84%-
Map 3Path length/m215.5218217.865217.815206.8147
P l e n g t h 4.04%5.07%5.05%-
Collision risk value402.67080383.61580
P c o l l i s i o n 100.00%-100.00%-
Searching time/s0.5691.9982.0471.669
P S _ t i m e −193.32%16.47%18.47%-
Run time/s231.65233.99234.12222.28
P R _ t i m e 4.04%5.00%5.05%-
Smoothness/radian9.424740.84079.34526.4203
P s m o o t h n e s s 31.88%84.28%31.30%-
Residual power76.94%71.71%76.73%78.29%
P p o w e r 5.85%23.26%6.70%-
Table 4. Comparison data of irregular obstacles.
Table 4. Comparison data of irregular obstacles.
MapPath ParametersT_A-StarS_A-StarR_[17]SHA-Star
Irregular obstaclesPath length/m256.2325258.5756262.9066254.6071
P l e n g t h 0.63%1.53%3.16%-
Collision risk value93.36210141.05020
P c o l l i s i o n 100.00%-100.00%-
Searching time/s0.6222.1814.3672.639
P S _ t i m e −124.28%−11.00%39.57%-
Run time/s275.41277.71282.58273.65
P R _ t i m e 0.64%1.46%3.16%-
Smoothness/radian31.415925.13279.43151.4507
P s m o o t h n e s s 95.38%94.23%84.62%-
Residual power69.37%70.14%72.20%73.90%
P p o w e r 14.79%12.59%6.12%-
Table 5. The simulation data of the four algorithms under the regular obstacles.
Table 5. The simulation data of the four algorithms under the regular obstacles.
MapPath ParametersT_A-StarS_A-StarR_[17]SHA-Star
Four algorithms for data under regularized obstaclesPath length/m267.9482270.2914272.8028254.6071
P l e n g t h 4.98%5.80%6.67%-
Collision risk value361.06850579.69190
P c o l l i s i o n 100.00%-100.00%-
Searching time/s1.4822.9525.2912.639
P S _ t i m e −18.07%10.60%50.12%-
Run time/s288.00290.29293.22273.65
P R _ t i m e 4.98%5.73%6.67%-
Smoothness/radian18.849510.99558.48291.4507
P s m o o t h n e s s 92.30%86.81%82.90%-
Residual power70.20%71.22%71.36%73.90%
P p o w e r 12.42%9.31%8.87%-
Table 6. Planning data in the warehouse environment.
Table 6. Planning data in the warehouse environment.
MapPath ParametersT_A-StarS_A-StarR_[17]SHA-Star
Location of goods: (29, 19)Path length/m69.597972.095172.887668.7244
P l e n g t h 1.26%4.68%5.71%-
Collision risk value138.144242.4914113.389325.0093
P c o l l i s i o n 81.90%41.14%77.94%-
Searching time/s0.0050.0680.3080.059
P S _ t i m e −1080.0%11.76%80.52%-
Run time/s74.8177.4378.3473.86
P R _ t i m e 1.26%4.60%5.72%-
Smoothness/radian10.99558.175715.25963.7121
P s m o o t h n e s s 66.24%54.60%75.67%-
Residual power91.29%91.48%90.28%92.53%
P p o w e r 14.24%12.32%23.15%-
Location of goods: (21, 35)Path length/m70.769569.498471.320268.7627
P l e n g t h 2.84%1.06%3.59%-
Collision risk value127.421843.8785139.065615.2428
P c o l l i s i o n 88.04%65.26%89.04%-
Searching time/s0.0060.0760.3590.066
P S _ t i m e −1000.0%13.16%81.62%-
Run time/s76.0774.6476.6673.91
P R _ t i m e 2.84%0.98%3.59%-
Smoothness/radian25.13279.670611.36253.4535
P s m o o t h n e s s 86.26%64.29%69.61%-
Residual power88.92%91.51%91.05%92.57%
P p o w e r 32.94%12.49%16.98%-
Table 7. Weight coefficient value.
Table 7. Weight coefficient value.
k 1 k 2 k 3 k 4 k 5
CAPSO11000.9416.760.69
GA11000.9710.360.75
Table 8. Comparative data between SHA-star and PSO algorithms.
Table 8. Comparative data between SHA-star and PSO algorithms.
Path ParametersCAPSOGASHA-Star
Path length/m64.5367.9864.93
Collision risk value0019.87
Path-searching time/s19.4520.820.054
Run time/s68.2569.9569.79
Smoothness/radian4.7456.5623.853
Residual power92.37%91.16%92.53%
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.

Share and Cite

MDPI and ACS Style

Yan, X.; Zhou, X.; Luo, Q. A Safe Heuristic Path-Planning Method Based on a Search Strategy. Sensors 2024, 24, 101. https://doi.org/10.3390/s24010101

AMA Style

Yan X, Zhou X, Luo Q. A Safe Heuristic Path-Planning Method Based on a Search Strategy. Sensors. 2024; 24(1):101. https://doi.org/10.3390/s24010101

Chicago/Turabian Style

Yan, Xiaozhen, Xinyue Zhou, and Qinghua Luo. 2024. "A Safe Heuristic Path-Planning Method Based on a Search Strategy" Sensors 24, no. 1: 101. https://doi.org/10.3390/s24010101

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop