Next Article in Journal
Ultra-Broadband Ultraviolet–Visible Light–Short Wavelength Infrared InGaAs Focal Plane Arrays via n-InP Contact Layer Removal
Previous Article in Journal
Inertial Measuring System to Evaluate Gait Parameters and Dynamic Alignments for Lower-Limb Amputation Subjects
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Improved RRT* Algorithm for Disinfecting Robot Path Planning

Mechanical Engineering College, Beihua University, Jilin 132021, China
*
Authors to whom correspondence should be addressed.
Sensors 2024, 24(5), 1520; https://doi.org/10.3390/s24051520
Submission received: 20 December 2023 / Revised: 13 February 2024 / Accepted: 20 February 2024 / Published: 26 February 2024
(This article belongs to the Section Sensors and Robotics)

Abstract

:
In this paper, an improved APF-GFARRT* (artificial potential field-guided fuzzy adaptive rapidly exploring random trees) algorithm based on APF (artificial potential field) guided sampling and fuzzy adaptive expansion is proposed to solve the problems of weak orientation and low search success rate when randomly expanding nodes using the RRT (rapidly exploring random trees) algorithm for disinfecting robots in the dense environment of disinfection operation. Considering the inherent randomness of tree growth in the RRT* algorithm, a combination of APF with RRT* is introduced to enhance the purposefulness of the sampling process. In addition, in the context of RRT* facing dense and restricted environments such as narrow passages, adaptive step-size adjustment is implemented using fuzzy control. It accelerates the algorithm’s convergence and improves search efficiency in a specific area. The proposed algorithm is validated and analyzed in a specialized environment designed in MATLAB, and comparisons are made with existing path planning algorithms, including RRT, RRT*, and APF-RRT*. Experimental results show the excellent exploration speed of the improved algorithm, reducing the average initial path search time by about 46.52% compared to the other three algorithms. In addition, the improved algorithm exhibits faster convergence, significantly reducing the average iteration count and the average final path cost by about 10.01%. The algorithm’s enhanced adaptability in unique environments is particularly noteworthy, increasing the chances of successfully finding paths and generating more rational and smoother paths than other algorithms. Experimental results validate the proposed algorithm as a practical and feasible solution for similar problems.

1. Introduction

In recent years, the continuous advancement of robotic technology has found widespread applications in various fields. During the global pandemic, robots have taken on tasks such as temperature measurement, drug delivery, and disinfection, effectively alleviating the pressure of workforce shortages and reducing the risk of cross-infections [1,2]. The related technologies mainly involve real-time localization, environment sensing, path planning, and autonomous control technologies, among which path planning and autonomous obstacle avoidance have been the focus of research [3,4]. The path-planning technology of the robot collects external information mainly through sensors such as radars and visual cameras, and the controller of the robot can build reliable travel routes [5,6,7]. However, in practical disinfection tasks, the effectiveness of path planning is affected by various factors [8]. For example, when there are obstacles around the target point, it will increase the computational load, leading to less efficient execution of the algorithm. Similarly, existing algorithms may have robots stalling or wandering when they need to pass through a narrow passage and are unable to plan paths efficiently. The above two special cases make the existing disinfection robots not fully effective in some specific environments. Hence, it is crucial to enhance the performance of disinfection robots with the optimization and improvement of path-planning algorithms.
Currently, the path planning algorithms based on grid search (Dijkstra, A*), the path planning algorithm based on virtual potential field (APF), the path planning algorithms based on probabilistic sampling (probabilistic roadmap method, RRT), and the path planning algorithms based on bionic intelligence (simulated annealing, genetic algorithm, particle swarm optimization) are the widely used ones for mobile robots. Among them, the A* algorithm has a strong search capability but is affected by mesh modeling in complex environments [9,10,11]. The APF algorithm has a simple structure with high real-time performance, but path oscillations may occur in dense obstacle regions [12,13,14,15,16]. The simulated annealing algorithm can get rid of the local optimum and converge to the global optimum solution, but its convergence is relatively slow due to the influence of the temperature cooling rate [17,18]. Genetic algorithms are easily combined with other optimization algorithms or heuristics to improve performance but have a high computational complexity [19,20]. The PSO algorithm has the characteristics of memory and fast convergence, but it also suffers from obvious shortcomings such as poor detection ability, insufficient particle diversity, and susceptibility to local minima [21,22,23]. Accordingly, the RRT algorithm, employing a globally uniform random sampling strategy for rapidly expanding new nodes, stands out as an optimal choice for scenarios requiring rapid path planning [24,25,26,27]. However, as task complexity increases, researchers have identified some limitations in RRT, such as low node utilization [28,29] and path instability [30,31].
Several scholars have conducted in-depth studies to deal with these shortcomings, proposing effective methods to enhance RRT algorithms. Incorporating the bidirectional search concept, Kuffner introduced the RRT-Connect algorithm [32]. This algorithm uses heuristic steps to reduce futile searches in blank areas, ultimately saving overall search time. Building upon this, Karaman proposed an enhanced RRT algorithm [33]. RRT* contains a ‘Rewire’ process during tree growth, optimizing tree structure through parent node reselection and pruning operations. After several iterations, RRT* converges to an asymptotically optimal solution. Gammell et al. proposed the Informed-RRT* algorithm based on RRT* [34]. This algorithm decreases the search for unnecessary areas by limiting the sampling space to an elliptical region and gradually decreasing the sampling area as the path length decreases. The cost of the route is lower than RRT*.
While numerous researchers have been quite effective in improving the sampling and expansion methods and limiting the sampling domain of RRT algorithms, these improved algorithms still cannot be directly applied to disinfecting robot systems. For example, the RRT-Connect algorithm is not sufficiently goal-directed when constructing a two-way tree, which might lead to more random paths despite fast convergence. RRT* introduces a “rewire” process to optimize the structure of the search tree, but in dense obstacles, which have narrow passages and entrances, the reconnection process is limited to converge, which prolongs the time to obtain the global optimal solution. Furthermore, although the Informed-RRT* algorithm improves the search efficiency by limiting the sampling range, the performance of the algorithm depends mainly on the setting of ellipsoidal region parameters, which need to be continuously adjusted in different scenarios to achieve the best results, which increases the complexity of the practical application to a certain extent. In order to solve the above problems, this paper proposes an improved RRT* algorithm based on APF guided sampling and combined with fuzzy adaptive extension, aiming to solve the path planning problem of disinfecting robots better.
The remaining structure of this paper is as follows: Section 2 provides a detailed exposition of the proposed method and relevant knowledge. Additionally, Section 3 presents a comprehensive overview of the experimental design and implementation results, validating the performance and advantages of the proposed method. Finally, Section 4 discusses the experimental results and concludes with a summary of the research question.

2. Method

2.1. Basic RRT* Algorithm

The basic RRT search process resembles the growth of a tree expanding in all directions, with the initial node X i n i t representing the root of the tree. The random function generates a random node X r a n d within the free space. Using the nearest function, it calculates Euclidean distance and selects the node X n e a r , which is closest to X r a n d .
Subsequently, along the direction from X n e a r to X r a n d , the expansion occurs with S t e p . The algorithm uses the resulting new X n e w node for collision detection. If the line segment between X n e w and X n e a r is collision-free, the algorithm adds X n e w to the tree T as a child node. Otherwise, the algorithm discards X n e w , and the current iteration ends, moving on to the next iteration. Figure 1 illustrates the process of expanding a new node.
The RRT* algorithm enhances the basic RRT algorithm by introducing an accumulated cost attribute, which records the sum of the lengths of all edges along the path from the starting point to the respective node. A new strategy is implemented that involves the re-selection of the parent node for X n e w instead of using X n e a r as the parent node. The selection process evaluates all nodes within a certain radius, with X n e w as the center, and selects the node with the lowest cost as the best parent node for X n e w . Once the optimal parent node is determined, the algorithm traverses the remaining tree nodes, calculating the path cost from each node to both X n e w and root node X i n i t . The algorithm reconstructs the tree by choosing the path with the minimum accumulated cost. Figure 2 illustrates the entire process of optimizing the parent node and reconstructing the backtracking.

2.2. Implementation of the Improved Algorithm

The RRT* algorithm undergoes the two key processing steps described above, significantly improving the selection of nearby nodes and path optimization compared to the RRT algorithm. However, it performs consistently with RRT in areas with narrow passages and entrances and is prone to local growth difficulties. Aiming at the low exploration efficiency of the RRT* algorithm in particular areas and the redundant nodes that still exist in the search path, this paper proposes the improved APF-GFARRT* (artificial potential field-guided fuzzy adaptive rapidly exploring random trees) algorithm. The algorithm consists of two key modules: the sampling point guidance module and the adaptive step-size adjustment module. The sampling point guidance module uses the APF and sets the target point as a potential field attractive point to attract sampling points. In addition, in order to improve the speed of the algorithm searching for the first executable path, the adaptive step-size adjustment module is introduced, which applies fuzzy control for adaptive step-size adjustment to accelerate the convergence speed of the algorithm. Finally, the fuzzy controller introduces the contract expansion factor to adaptively adjust the step-size output outside the target area to decrease the exploration of unnecessary areas.

2.2.1. Sampling Point Guidance Module

RRT expands new nodes with a globally uniform random sampling strategy to generate a feasible path quickly. However, the random nature of the algorithm can lead to path search becoming blind and inefficient in dense environments. Therefore, introducing a sampling point guidance module is particularly important to improve the algorithm’s guidance in narrow passages and entrances.
Khatib first proposed the classical APF [16]. The core idea of this method is to model the robot’s surroundings as a virtual potential field in which the target point generates a continuous attraction force, and obstacles generate a repulsive force. Planning a route using the attraction force of the target point and the repulsive force of the obstacles is expressed as follows:
The total potential field U is expressed as a superposition of the attractive field function U a t t and the repulsive field function U r e q :
U ( x ) = U a t t ( x ) + U r e q ( x )
The following equation expresses the attractive field function U a t t :
U a t t ( X ) = 1 2 K a t t ( X X t a r g e t ) 2
where K a t t is the attractive factor, which regulates the magnitude of the potential energy of the attractive field, and the target point coordinates are X t a r g e t . The following equation then describes the repulsive field function U r e q ( x ) :
U r e p ( X ) = 1 2 η 1 ρ X , X o b s 1 p 0 2 X X t a r g e t , ρ X , X o b s < p 0 0 , ρ X , X o b s p 0
where ρ X , X o b s denotes the shortest distance between the current position of the robot and the position of the obstacle, η is the position gain function, p 0 is the maximum distance at which the obstacle acts as a repulsive force on the robot, and the repulsive force will be 0 when it exceeds the distance of the action. Suppose the number of practical obstacles on the search path is m . The APF generates a superimposed force on the robot, expressed as:
F ( X ) = F a t t ( X ) + i = 1 m F r e p ( X )
The APF has the advantages of a simple structure and fast information processing speed. In order to improve the goal orientation of node expansion, the APF is introduced in the RRT* expansion process. Considering that the APF is prone to local constraints in the path search process, the potential field strength decreases to 0. Therefore, only the effect of the attractive field is retained in the search process to avoid APF-GFARRT* falling into the local minimum point.
After obtaining the coordinate information of the random point X r a n d , the sampling point guidance module will set the target point X t a r g e t as the attractive point. The sampling point guidance module calculates the attraction level and direction received by X r a n d to generate the corresponding guide point, and the guide point will replace the random point. The process is as follows:
Set the coordinates of the current random point X r a n d = ( x r a n d , y r a n d ) , then the displacement vector of the target point relative to the random point is v = ( v x , v y ) , where:
v x = x t a r g e t x r a n d
v y = y t a r g e t y r a n d
Then the angle vector θ can be calculated using the inverse tangent function:
θ = a c t a n 2 ( v x , v y )
Suppose the random point does not overlap with the target point. In that case, the potential attraction force function is inversely proportional to the distance from the above Equation (2), so the attraction force function F a t t ( X ) :
F a t t ( X ) = U a t t ( X ) = K a t t ( X X t a r g e t )
Suppose the Euclidean distance between two points is d and attractive factor is K a t t r . Then the attraction force F a t t r on the random point is:
F a t t r = K a t t r d
The distance d is:
d = ( x t a r g e t x r a n d ) 2 + ( y t a r g e t y r a n d ) 2
By combining (6)–(9), we can calculate the components of the attraction force F a t t r amid the Cartesian coordinate system:
F a t t r , x = F a t t r cos θ
F a t t r , y = F a t t r sin θ
The coordinates of the final guiding point x g u i d e d can be calculated using the following equation:
x g u i d e d = x r a n d + ξ F a t t r , x
y g u i d e d = y r a n d + ξ F a t t r , y
Here, ξ is the guiding coefficient, which controls the generated position of the guiding point.
After setting up the attractive field, the process of generating bootstrap points is shown in Figure 3. Although sampling points still have a certain degree of randomness, the random tree will be more inclined to grow in the direction of the target point under the influence of the potential field.

2.2.2. Adaptive Step-Size Adjustment Module

In RRT*, the tree growth length is determined by the parameter step size, too large or too small will affect the search performance. In order to balance the depth and breadth of the path search process, this subsection introduces fuzzy control to adaptively adjust the step size.
There are two main points to consider when designing a fuzzy controller: the density of obstacles in the neighborhood of the sampling point (ObsDensity) and the distance from the current node to the target point (PointDist). Firstly, the obstacle density is used as one of the input variables to evaluate environmental complexity. For areas with dense environments, the step size should be reduced accordingly for accurate search in small spaces. On the contrary, in areas with fewer obstacles, the step size can be increased, which improves search efficiency. Secondly, the distance from the current point to the target point is taken as another control parameter, and the step size is adjusted according to the distance size. The schematic diagram of the adaptive step length adjustment is shown in Figure 4 below.
In the fuzzy system, ObsDensity and PointDist inputs are configured as identical fuzzy subsets {NL, NM, ZE, PM, PL}. After normalization, their value ranges are (0, 1) and (0, 10), respectively. In addition, five membership function (MF) statuses, PL, PS, ZE, NS, and NL, are assigned for the AdaptiveStep output. Here, ‘L’, ‘M’, and ‘S’ represent ‘Large’, ‘Medium’, and ‘Small’, respectively. The MF adopts symmetrical, uniformly distributed triangular and Gaussian shapes. The shapes of the input and output MF are illustrated in Figure 5. Subsequently, twenty-five fuzzy rules are designed, as shown in Table 1. Mamdani and Centroid methods are employed for fuzzy inference and defuzzification in the fuzzy system, enhancing its adaptive adjustment performance.
During the RRT* iteration, even if the first feasible path is successfully found, the global uniform sampling strategy remains unchanged, which may lead to repeated sampling in the low-value area and make it difficult to converge quickly. To solve this problem, a scaling factor α is designed which effectively adjusts the output range of the fuzzy controller. The fuzzy subset of this factor contains {VB, B, M, S, V, VS} and sets the output domain to be only related to its variation. The α expression is as follows:
α = e k 1 D l i n e
Here, k 1 is a proportional constant, and D l i n e represents the vertical distance from the sampling point to the line L (the line defined by the starting and target point). The expression is given by:
D l i n e = ( y g u i d e d y s t a r ) ( x t a r g e t x s t a r ) ( x g u i d e d x s t a r ) ( y t a r g e t y s t a r ) ( x t a r g e t x s t a r ) 2 + ( y t a r g e t y s t a r ) 2
The role of α is to accelerate the convergence of the algorithm. Specifically, it determines whether a sampling point is located in a low-value region by calculating the D l i n e . If D l i n e exceeds a set threshold, α will change the output range of the fuzzy controller, thus affecting the rapid decrease in a d a p t i v e S t e p as the distance from D l i n e increases, and effectively preventing the random tree from exploring the low-value region during the reconstruction process.
Up to this point, the primary controller design is completed, and the variation of the adaptive step under different input conditions is illustrated in Figure 6.

2.2.3. Implementation of the Improved Algorithm

By combining the sampling point guidance module and the adaptive step-size adjustment module, this paper obtain the improved APF-GFARRT* algorithm based on guidance sampling and fuzzy adaptive extension. The overall flow of the path planning algorithm is shown in Figure 7.
The pseudocode (Algorithm 1) describes the process of APF-GFARRT* searching for the path, and its main steps are as follows:
  • Initialization (lines 1–2): Initiate the whole program, set the start point X i n i t , the target point X t a r g e t , and other parameters, and create an empty tree T with X i n i t as the root node.
  • Main loop (iterative loop, lines 3–28):
    Lines 4–6: Generate a random point X r a n d , calculate the attraction force apf_force , and get the coordinates of the guidance point.
    Lines 7–8: Calculate D l i n e and search for node X n e a r in tree T.
    Lines 9–24: Call C o l l i s i o n F r e e function to check if the line from X n e a r to x g u i d e d crosses the obstacle.
    Line 10–11: Call the function to calculate the obstacle density level at the guided point and output a d a p t i v e S t e p according to the fuzzy rules.
    Line 12–17: Check whether the first feasible path has been searched, if f i n d P a t h is 1, then it is currently in the path optimization stage, adjust the extended step size according to the scaling factor α . Next, expand the X n e w .
    Lines 18–23: Select the parent node and update the tree structure.
    Lines 25–27: Check if the new node reaches the target point or nearby area, if yes, add the target point into the tree structure and backtrack the final path.
  • Return result (line 29): If the maximum number of iterations is reached and no path is found, then return no path.
Algorithm 1  APF-GFARRT Algorithm
01: Initialize X i n i t , X g o a l , and other parameters.
02: Initialize an empty tree T with the root node as X i n i t
03: for  i = 1 to M a x I t e r a t i o n s  do
04:   X r a n d NewRandPoint
05:   apf_force APF_att X r a n d , X g o a l
06:   X g u i d e d GenerateGuided X r a n d , apf_force
07:   D l i n e Distance X g u i d e d , X s t a r t , X g o a l
08:   X n e a r Nearest T , X g u i d e d
09:  If  CollisionFree X n e a r ,   X g u i d e d  then
10:    o b s D e n s i t y ObstacleDensity X g u i d e d ,   fixedRadius
11:    a d a p t i v e S t e p FuzzyAdaptiveStep o b s D e n s i t y S t e p
12:   If  findPath = = 0  then
13:     X n e w Steer X n e a r , X g u i d e d , a d a p t i v e S t e p
14:   else
15:     α D l i n e D T h r e s h o l d ?   ComputeAlpha K , D l i n e : 1
16:     X n e w Steer X n e a r , X g u i d e d , a d a p t i v e S t e p α
17:   end if
18:    X n e a r e s t NearC T , X n e w , r
19:    X m i n ChooseBestParent ( X n e a r e s t , X n e w )
20:    AddNodeEdge ( T , X m i n )
21:    X n e a r n e w p a r e n t UpdateParent ( X n e w , X n e a r e s t )
22:    PruneNodes X n e a r n e w p a r e n t , X n e a r e s t
23:    Rewire T
24:  end if
25:  if  GoalReached X n e w ,   X g u i d e d  then
26:   return  ReconstructPath T , X i n i t , X g o a l
27:  end if
28: end for
29: return  NoPathFound

3. Experiment and Analysis

In this section, the APF-GFARRT* algorithm will be experimentally validated by comparing it with the existing RRT, RRT*, and APF-RRT* [35] algorithms in the same 2D environment to verify the performance of the APF-GFDARRT* algorithm. The simulation platform and configuration include MATLAB R2022a, 64-bit Windows 10, and AMD Ryzen3 5600 processor with a CPU frequency of 3.6 GHz and 8 GB RAM.
During the experiments, the maximum number of iterations is set to 1000, the attractive factor is 50, and the step size is fixed at 2.5 M. In the APF-GFARRT* algorithm, a crucial adjustment is made by setting the minimum step size to 1 M to avoid unnecessary redundant nodes resulting from the small step size. To maintain consistency and comparability, other relevant parameters are kept unchanged in the experiments. Additionally, the map size for all experimental environments is standardized at [100, 100], with the start and end points defined as [0, 0] and [90, 90], respectively. Considering the collision volume of the disinfecting robot, the robot is simplified to a material point, and the obstacles are moderately inflated. Figure 8 shows the distribution of obstacles and start and end nodes of both maps.

3.1. Narrow Passage Testing

The RRT and RRT* algorithms may be limited in narrow passages due to the lack of effective bootstrapping, and their expansion may be stagnant or significantly slow. To verify the reliability of algorithms such as APF-GFRRT* in restricted environments, a narrow passage was set up in Map 1, and 100 sets of experiments were conducted. The experimental results are shown in Figure 9 and the experimental data are summarized in Table 2.
In Figure 9, the red curve represents the final path, and the blue lines represent the individual branch points derived during the random tree expansion process. Comparing the four planning results in Figure 9, it can be concluded that APF-GFARRT* performs best in finding paths to narrow areas. Furthermore, Figure 9d demonstrates that the improved algorithm has a denser distribution of sampling points near the narrow passage. This is because the addition of the sampling guidance module has a stronger orientation and the random tree tends to grow more toward the target point.
To validate the effectiveness of the proposed algorithm in overcoming narrow-area constraints, two restricted passages were set up in the Map 1 environment, and four algorithms were used for planning. The results are shown in Figure 10:
Compared with Figure 9, Figure 10 shows that when adding constrained areas in the map, the growth rate of the random tree is significantly reduced, and creates more forks. Furthermore, it can be derived from the data in Table 3 that the success probabilities of the RRT and RRT* algorithms also decrease. Meanwhile, the average path cost also increases. In contrast, after the addition of artificial potential field guidance, the sampling points of APF-RRT* and APF-GFRRT* are more inclined to the target point, but as can be seen in Figure 10c, APF-RRT* still stagnates at narrow passages and the success rate decreases. The success rate of APF-GFRRT* with fuzzy adaptive step-size adjustment strategy stays above 85%. In addition, the random tree is more directional and faster in the process of expanding to the target point, as shown in Figure 10d.
From the convergence curves of the path lengths of the APF-GFRRT* algorithm and the traditional algorithm in Figure 11, it can be seen that the improved algorithm still has a shorter path length and converges to the asymptotically optimal path with fewer iterations, which verifies the reliability of the algorithm.

3.2. Dense Obstacle Testing

Dense obstacles were set up in Map 2 to verify the APF-GFARRT* algorithm’s reliability in dense environments. There were two hundred experiments conducted for each algorithm to record data, for instance, the time taken to find the path for the first time, the average number of path nodes, and the average path cost during the experiments. Table 4 provides a comparative analysis of these data for various algorithms.
Figure 12a shows the RRT algorithm’s path results. The RRT* algorithm planning results are shown in Figure 12b. The outcomes of the iterative experiment of the APF-RRT* algorithm are shown in Figure 12c, and the improved planning effect of the APF-GFARRT* algorithm is shown in Figure 12d. By observing Figure 12d, it can be found that the improved APF-GFARRT* algorithm adopts a larger step size for expansion in the area with fewer obstacles in the lower left corner and more open terrain, while in the area with dense obstacles in the center of the map, the step size is adjusted and reduced accordingly (the program sets the minimum step size to 1 m to prevent expansion caused by too small a step size). Compared with other algorithms, the improved algorithm has improved adaptive capability after introducing the adaptive adjustment module, and the number of path nodes has been significantly decreased. Comparing Figure 12c with Figure 12d, the APF-GFARRT* algorithm limits the expansion rate beyond the specified sampling area by contracting expanding factors. The algorithm focuses on sampling optimization in the region near the initial path, leading to a smoother final path and requiring a smaller path cost. Comparing the planning results of other algorithms in Figure 12, it can be found that the APF-GFARRT* algorithm has a better final planning effect with the same number of iterations.
According to the data in Table 4, it can be concluded that both RRT and RRT* have a probability of failure during the search process, with success rates of 73% and 84%, respectively. The reason is that both algorithms use global random sampling, which brings large-scale sampling costs to find feasible paths in complex environments. In addition, the dense obstacles create many narrow areas, which seriously affect the search rate of RRT and RRT* algorithms, and the search times for the first path are 6.8701 s and 6.6804 s, respectively.
After comparative analysis, the average path cost and the average number of path nodes of the original RRT algorithm are 160.6656 and 81.1864, respectively, but with the addition of the ‘rewire’ mechanism, these two values are decreased to 142.4439 and 46.3722, respectively. The APF-RRT* algorithm with the help of an artificial potential field-oriented strategy decreases the average path length and the average number of path nodes to 138.9890 and 45.8793, which further improves the search performance. Compared with the traditional RRT, RRT*, and APF-RRT* algorithms, the APF-GFARRT* algorithm spends the shortest time to find feasible paths, which is only 3.5721 s. In addition, benefitting from the artificial potential field sampling guidance, the APF-GFARRT* algorithm has more outstanding search rate in dense environments, and it is equipped with adaptive step-size adjustment, which ultimately decreases the average path cost and the average number of path nodes to a lower level: 128.35 and 29.2977.
The RRT*, APF-RRT*, and APF-GFARRT* algorithms are all asymptotically optimal, so there is no significant difference in their average path costs in the same iterations. However, the APF-GFARRT* algorithm performs faster in finding the first feasible path. As can be seen in Figure 13, although there is no significant difference in cost at the later stage of the path, the path length of the APF-GFARRT* algorithm after 500 iterations is much smaller than that of the RRT* algorithm after 1500 iterations, which is closer to the optimal path. It is verified that the proposed sampling guide module and adaptive step-size adjustment module effectively improve the algorithm’s convergence rate so that the path closer to the optimal solution can be found with fewer iterations.

4. Conclusions and Future Work

Currently, in the face of the severe challenges of global public health problems, disinfection robots, as an epidemic prevention method, are gradually widely used in major public places. This study is dedicated to improving the efficiency of path planning for disinfecting robots, and the APF-GFARRT* algorithm is proposed by improving the RRT* algorithm, which integrates the APF, fuzzy control, and the concept of restricted sampling domain. The superiority of the algorithm is mainly reflected in the following aspects.
The APF-GFARRT* algorithm performs well in dense environments, with an average feasible path search time of only 3.5721 s, which is much better than both RRT and RRT*, and in comparison, it saves nearly 48% of the time compared to RRT and 47% of the time resources compared to RRT*. Comparison with the original RRT and RRT* shows that the average path cost of APF-GFARRT* is decreased by 20% and 10%, respectively. In addition, the APF-GFARRT* algorithm is also able to significantly eliminate redundant nodes in the path by about 64% compared to RRT and about 37% for RRT*.
The above study confirms that APF-GFARRT* is significantly more effective in finding paths in dense environments, and is able to quickly find feasible paths with lower final path costs and fewer nodes. Due to time and capacity constraints, this simulation experiment was only completed in MATLAB. In the future, to better test the algorithm and its performance, it should be further investigated and deployed in a natural disinfection robot system for validation.

Author Contributions

H.W., X.Z. and Z.Y. conceived and designed this paper. J.L. and L.C. offered advanced suggestions about the paper. J.L. and X.Z. analyzed the data. H.W. wrote a draft of the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research was founded by the Jilin Science and Technology Development Plan Project (no. 20210203047SF), the Science and Technology Research Project of Jilin Provincial Department of Education (no. JJKH20220047KJ and JJKH20230060KJ), and the Graduate Innovation Project of Beihua University (2022041).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Astrid, F.; Beata, Z.; Miriam, N.; Julia, E.; Elisabeth, P.; Magda, D.-E. The use of a UV-C disinfection robot in the routine cleaning process: A field study in an Academic hospital. Antimicrob. Resist. Infect. Control 2021, 10, 84. [Google Scholar] [CrossRef]
  2. Luo, S.; Tsai, R.-G.; Xu, C.; Chen, X.; Weng, Y.; Lai, K.; Yu, Y. UV*: A Boustrophedon Pattern-Based Path Planning and Opti-mization Strategy for an Ultraviolet Disinfection Robot. IEEE Access 2023, 11, 52603–52613. [Google Scholar] [CrossRef]
  3. Conroy, J.; Thierauf, C.; Rule, P.; Krause, E.A.; Akitaya, H.A.; Gonczi, A.; Korman, M.; Scheutz, M. Robot Development and Path Planning for Indoor Ultraviolet Light Disinfection. In Proceedings of the 2021 IEEE International Conference on Robotics and Automation (ICRA), Xi’an, China, 30 May–5 June 2021; pp. 7795–7801. [Google Scholar]
  4. Dogru, S.; Marques, L. Path and Trajectory Planning for UV-C Disinfection Robots. IEEE Robot. Autom. Lett. 2023, 8, 4099–4106. [Google Scholar] [CrossRef]
  5. Fuchs, F.M.; Bibinov, N.K.; Blanco, E.V.; Pfaender, S.; Theiß, S.; Wolter, H.; Awakowicz, P. Characterization of a robot-assisted UV-C disinfection for the inactivation of surface-associated microorganisms and viruses. J. Photochem. Photobiol. 2022, 11, 100123. [Google Scholar] [CrossRef] [PubMed]
  6. McGinn, C.; Scott, R.; Donnelly, N.; Roberts, K.L.; Bogue, M.; Kiernan, C.; Beckett, M. Exploring the Applicability of Robot-Assisted UV Disinfection in Radiology. Front. Robot. AI 2021, 7, 590306. [Google Scholar] [CrossRef] [PubMed]
  7. Tiseni, L.; Chiaradia, D.; Gabardi, M.; Solazzi, M.; Leonardis, D.D.; Frisoli, A. UV-C Mobile Robots with Optimized Path Planning: Algorithm Design and On-Field Measurements to Improve Surface Disinfection Against SARS-CoV-2. IEEE Robot. Autom. Mag. 2021, 28, 59–70. [Google Scholar] [CrossRef]
  8. Guettari, M.; Gharbi, I.; Hamza, S. UVC disinfection robot. Environ. Sci. Pollut. Res. Int. 2021, 28, 40394–40399. [Google Scholar] [CrossRef] [PubMed]
  9. Jiang, H.; Sun, Y. Research on global path planning of electric disinfection vehicle based on improved A* algorithm. Energy Rep. 2021, 7, 1270–1279. [Google Scholar] [CrossRef]
  10. Shen, Z.; Wilson, J.P.; Gupta, S. An Online Coverage Path Planning Algorithm for Curvature-Constrained AUVs. In Proceedings of the OCEANS 2019 MTS/IEEE SEATTLE, Seattle, WA, USA, 27–31 October 2019; pp. 1–5. [Google Scholar]
  11. Cai, C.; Ferrari, S. Information-Driven Sensor Path Planning by Approximate Cell Decomposition. IEEE Trans. Syst. Man Cybern. Part B 2009, 39, 672–689. [Google Scholar]
  12. Tong, X.; Yu, S.; Liu, G.; Niu, X.; Xia, C.; Chen, J.; Yang, Z.; Sun, Y. A hybrid formation path planning based on A* and mul-ti-target improved artificial potential field algorithm in the 2D random environments. Adv. Eng. Inform. 2022, 54, 101755. [Google Scholar] [CrossRef]
  13. Song, A.L.; Su, B.Y.; Dong, C.Z.; Shen, D.W.; Xiang, E.Z.; Mao, F.P. A two-level dynamic obstacle avoidance algorithm for unmanned surface vehicles. Ocean Eng. 2018, 170, 351–360. [Google Scholar] [CrossRef]
  14. Wu, Z.; Dai, J.; Jiang, B.; Karimi, H.R. Robot path planning based on artificial potential field with deterministic annealing. ISA Trans. 2023, 138, 74–87. [Google Scholar] [CrossRef]
  15. Shankar, M.; Sushnigdha, G. A Hybrid Path planning approach combining Artificial Potential Field and Particle Swarm Op-timization for Mobile Robot. IFAC-PapersOnLine 2022, 55, 242–247. [Google Scholar] [CrossRef]
  16. Khatib, O. Real-time obstacle avoidance for manipulators and mobile robots. In Proceedings of the IEEE International Conference on Robotics and Automation, St. Louis, MO, USA, 25–28 March 1985. [Google Scholar]
  17. Pan, Q.; Wang, X. Independent travel recommendation algorithm based on analytical hierarchy process and simulated annealing for professional tourist. Appl. Intell. 2018, 48, 1565–1581. [Google Scholar] [CrossRef]
  18. Rodrigo, D.V.; Sierra-García, J.E.; Santos, M. Glasius bio-inspired neural networks based UV-C disinfection path planning improved by preventive deadlock processing algorithm. Adv. Eng. Softw. 2023, 175, 103330. [Google Scholar] [CrossRef] [PubMed]
  19. Ramalingam, B.; Yin, J.; Elara, M.R.; Tamilselvam, Y.K.; Rayguru, M.M.; Muthugala, V.J.; Gómez, B.F. A Human Support Robot for the Cleaning and Maintenance of Door Handles Using a Deep-Learning Framework. Sensors 2020, 20, 3543. [Google Scholar] [CrossRef] [PubMed]
  20. Li, J.; Deng, G.; Luo, C.; Lin, Q.; Yan, Q.; Ming, Z. A Hybrid Path Planning Method in Unmanned Air/Ground Vehicle (UAV/UGV) Cooperative Systems. IEEE Trans. Veh. Technol. 2016, 65, 9585–9596. [Google Scholar] [CrossRef]
  21. 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]
  22. Chen, M.; Wang, H.; Chen, X. Path planning optimization of medical service robots based on PSO. In Proceedings of the 2022 6th International Conference on Wireless Communications and Applications (ICWCAPP), Haikou, China, 20–21 August 2022; pp. 139–141. [Google Scholar]
  23. Nayeem, G.M.; Fan, M.; Daiyan, G.M.; Fahad, K.S. UAV Path Planning with an Adaptive Hybrid PSO. In Proceedings of the 2023 International Conference on Information and Communication Technology for Sustainable Development (ICICT4SD), Dhaka, Bangladesh, 21–23 September 2023; pp. 139–143. [Google Scholar]
  24. LaValle, S.M. Rapidly-Exploring Random Trees: A New Tool for Path Planning; The Annual Research Report; Department of Computer Science, Iowa State University: Ames, IA, USA, 1998. [Google Scholar]
  25. Chiang, H.T.L.; Tapia, L. COLREG-RRT: An RRT-Based COLREGS-Compliant Motion Planner for Surface Vehicle Navigation. IEEE Robot. Autom. Lett. 2018, 3, 2024–2031. [Google Scholar] [CrossRef]
  26. Enevoldsen, T.T.; Galeazzi, R. Grounding-aware RRT* for Path Planning and Safe Navigation of Marine Crafts in Confined Waters. IFAC-PapersOnLine 2021, 54, 195–201. [Google Scholar] [CrossRef]
  27. Gao, Q.; Yuan, Q.; Sun, Y.; Xu, L. Path planning algorithm of robot arm based on improved RRT* and BP neural network algorithm. J. King Saud Univ. Comput. Inf. Sci. 2023, 35, 101650. [Google Scholar] [CrossRef]
  28. Maseko, B.B.; van Daalen, C.E.; Treurnicht, J. Optimised Informed RRTs for Mobile Robot Path Planning. IFAC-PapersOnLine 2021, 54, 157–162. [Google Scholar] [CrossRef]
  29. Chen, Y.; Zhang, Z.; Wu, Z.; Miao, Z.; Zhang, H.; Wang, Y. SET: Sampling-Enhanced Exploration Tree for Mobile Robot in Restricted Environments. IEEE Trans. Ind. Inform. 2023, 19, 10467–10477. [Google Scholar] [CrossRef]
  30. Liu, T.; Chen, X.; He, M.; Fu, X.; Wu, X.; Shao, G. Improved Artificial Potential Field based Parallel RRT Star for Fast Path Planning. In Proceedings of the 2021 China Automation Congress (CAC), Beijing, China, 22–24 October 2021; pp. 5801–5806. [Google Scholar]
  31. Ma, G.; Duan, Y.; Li, M.; Xie, Z.; Zhu, J. A probability smoothing Bi-RRT path planning algorithm for indoor robot. Future Gener. Comput. Syst. 2023, 143, 349–360. [Google Scholar] [CrossRef]
  32. Kuffner, J.J.; LaValle, S.M. RRT-connect: An efficient approach to single-query path planning. In Proceedings of the Proceedings 2000 ICRA. Millennium Conference. IEEE International Conference on Robotics and Automa-tion. Symposia Proceedings (Cat. No.00CH37065), San Francisco, CA, USA, 24–28 April 2000; Volume 1002, pp. 995–1001. [Google Scholar]
  33. Karaman, S.; Frazzoli, E. Sampling-based algorithms for optimal motion planning. Int. J. Robot. Res. 2011, 30, 846–894. [Google Scholar] [CrossRef]
  34. Gammell, J.D.; Srinivasa, S.S.; Barfoot, T.D. Informed RRT*: Optimal sampling-based path planning focused via direct sampling of an admissible ellipsoidal heuristic. In Proceedings of the 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems, Chicago, IL, USA, 14–18 September 2014; pp. 2997–3004. [Google Scholar]
  35. Ma, B.; Wei, C.; Huang, Q.; Hu, J. APF-RRT*: An Efficient Sampling-Based Path Planning Method with the Guidance of Arti-ficial Potential Field. In Proceedings of the 2023 9th International Conference on Mechatronics and Robotics Engineering (ICMRE), Shenzhen, China, 10–12 February 2023; pp. 207–213. [Google Scholar]
Figure 1. Schematic diagram of RRT expansion.
Figure 1. Schematic diagram of RRT expansion.
Sensors 24 01520 g001
Figure 2. Schematic diagram of RRT* algorithm expansion.
Figure 2. Schematic diagram of RRT* algorithm expansion.
Sensors 24 01520 g002
Figure 3. (a) Calculate the gravitational force. (b) Generate the guiding point.
Figure 3. (a) Calculate the gravitational force. (b) Generate the guiding point.
Sensors 24 01520 g003
Figure 4. Adaptive step-size adjustment: (a) open areas; (b) narrow.
Figure 4. Adaptive step-size adjustment: (a) open areas; (b) narrow.
Sensors 24 01520 g004
Figure 5. Membership function setting for inputs and output.
Figure 5. Membership function setting for inputs and output.
Sensors 24 01520 g005
Figure 6. Adaptive step variation illustration in fuzzy control systems.
Figure 6. Adaptive step variation illustration in fuzzy control systems.
Sensors 24 01520 g006
Figure 7. Flow chart of APF-GFARRT* path-planning algorithm based on adaptive step size.
Figure 7. Flow chart of APF-GFARRT* path-planning algorithm based on adaptive step size.
Sensors 24 01520 g007
Figure 8. Two different environmental map models: (a) Map 1; (b) Map 2. In these maps, the starting point is represented by a circle, and the end point is represented by a diamond.
Figure 8. Two different environmental map models: (a) Map 1; (b) Map 2. In these maps, the starting point is represented by a circle, and the end point is represented by a diamond.
Sensors 24 01520 g008
Figure 9. Different algorithms generate the path in the same map (Map 1): (a) RRT; (b) RRT*; (c) APF-RRT*; (d) APF-GFARRT*.
Figure 9. Different algorithms generate the path in the same map (Map 1): (a) RRT; (b) RRT*; (c) APF-RRT*; (d) APF-GFARRT*.
Sensors 24 01520 g009
Figure 10. Different algorithms generate the path in the same obstacle environment: (a) RRT; (b) RRT*; (c) APF-RRT*; (d) APF-GFARRT*.
Figure 10. Different algorithms generate the path in the same obstacle environment: (a) RRT; (b) RRT*; (c) APF-RRT*; (d) APF-GFARRT*.
Sensors 24 01520 g010
Figure 11. Path length convergence curves for APF-GFRRT* and other algorithms.
Figure 11. Path length convergence curves for APF-GFRRT* and other algorithms.
Sensors 24 01520 g011
Figure 12. Different algorithms generate the path in the same map (Map 2): (a) RRT; (b) RRT*; (c) APF-RRT*; (d) APF-GFARRT*.
Figure 12. Different algorithms generate the path in the same map (Map 2): (a) RRT; (b) RRT*; (c) APF-RRT*; (d) APF-GFARRT*.
Sensors 24 01520 g012
Figure 13. Variation of cost along iterations for different algorithmic paths.
Figure 13. Variation of cost along iterations for different algorithmic paths.
Sensors 24 01520 g013
Table 1. Fuzzy control rules of AdaptiveStep.
Table 1. Fuzzy control rules of AdaptiveStep.
ObsDensity PointDist
NLNSZEPSPL
NLZEPSPSPLPL
NMNSZEPSPSPL
ZENSNSZEPSPS
PMNLNSNSZEPS
PLNLNLNSNSZE
Table 2. Comparison of algorithms under Map 1.
Table 2. Comparison of algorithms under Map 1.
Algorithm NameAvg Path NodesAvg Path CostSearch Success Rate
RRT63.4727159.069675.48%
RRT*58.3754145.845671.67%
APF-RRT*57.2992143.248186.55%
APF-GFARRT*26.7362121.037790.21%
Table 3. Comparison of algorithms in the same obstacle environment.
Table 3. Comparison of algorithms in the same obstacle environment.
Algorithm NameAvg Path NodesAvg Path CostSearch Success Rate
RRT69.4068187.398846.25%
RRT*64.8138174.534647.23%
APF-RRT*56.3792152.384565.92%
APF-GFARRT*28.2977128.417885.76%
Table 4. Algorithm comparison.
Table 4. Algorithm comparison.
Algorithm NameAvg 1st Path Time/sAvg Path NodesAvg Path CostSearch Success Rate
RRT6.870181.1864160.665673.48%
RRT*6.680446.3722142.443984.98%
APF-RRT*4.7445.8793138.989087.16%
APF-GFARRT*3.572129.2977128.18497.62%
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

Wang, H.; Zhou, X.; Li, J.; Yang, Z.; Cao, L. Improved RRT* Algorithm for Disinfecting Robot Path Planning. Sensors 2024, 24, 1520. https://doi.org/10.3390/s24051520

AMA Style

Wang H, Zhou X, Li J, Yang Z, Cao L. Improved RRT* Algorithm for Disinfecting Robot Path Planning. Sensors. 2024; 24(5):1520. https://doi.org/10.3390/s24051520

Chicago/Turabian Style

Wang, Haotian, Xiaolong Zhou, Jianyong Li, Zhilun Yang, and Linlin Cao. 2024. "Improved RRT* Algorithm for Disinfecting Robot Path Planning" Sensors 24, no. 5: 1520. https://doi.org/10.3390/s24051520

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