Path Planning Algorithms of Sweeping Robots
Path Planning Algorithms of Sweeping Robots
DOI: 10.54254/2755-2721/41/20230716
Abstract. Different categories of path planning algorithms for sweeping robot are introduced,
including Dijkstra algorithm and A*Algorithm in Traditional path-planning Algorithm, PRM
Algorithm and RRT Algorithm in sampling algorithm, and Ant Colony Optimization
Algorithms and Genetic algorithms in Intelligent bionic algorithm. Each algorithm has its
principles and features introduced. At the same time, several algorithms are compared, and
summarized, each algorithm has its advantages and disadvantages, in the future development
should be combined with their strengths to optimize the path planning algorithm of the
sweeping robot.
1. Introduction
As technology continues to advance, various devices have become increasingly integral to our daily
lives, such as washing machines, computers, TVs, and more. These devices have profoundly
transformed our way of life. In this context, our discussion centers around the sweeper.
To begin, let’s delve into the history of the sweeper. In 1996, the Swedish appliance manufacturer
Electrolux introduced the trilobite, marking the world’s maiden venture into sweeping robots. This
innovative sweeper featured a single roller brush for floor cleaning, along with automatic recharge and
anti-drop functions. Nonetheless, the Trilobite sweeping robot exhibited several shortcomings. Firstly,
it suffered from sluggish reaction, operation, and travel speeds, resulting in lower cleaning efficiency.
Secondly, its lofty design limited its ability to clean beneath furniture. Lastly, the steep price made it
unaffordable for many.
In 2002, iRobot, an American technology company initially specializing in military and security
robots, diversified its focus by introducing the Roomba, a sweeping robot. Originally dedicated to
providing robots for diverse purposes like space exploration, battlefield rescue, explosive ordnance
disposal (EOD), reconnaissance, security, and research and development for the US government,
military, universities, and research institutions worldwide, iRobot made its first foray into the home
automation sector with the Roomba in 2002 [1].
After Dyson, a renowned traditional vacuum cleaner brand, faced a sweeping robot project failure
over a decade ago, it re-entered the sweeping robot market in 2014 with the launch of the high-end
sweeping robot 360Eye. This advanced device employs a top-mounted camera to comprehensively
© 2023 The Authors. This is an open access article distributed under the terms of the Creative Commons Attribution License 4.0
(https://creativecommons.org/licenses/by/4.0/).
99
Proceedings of the 2023 International Conference on Machine Learning and Automation
DOI: 10.54254/2755-2721/41/20230716
observe and analyze its surroundings. It utilizes sophisticated algorithms to create a room map for
navigation, adapting its current route based on positional changes among various landmarks in before-
and-after images. It continually updates and fine-tunes its environmental model [2].
Despite undergoing numerous changes and improvements, sweepers still exhibit several drawbacks.
Notably, they often collide with objects within our homes. To address this issue, it is essential to
explore the path planning algorithms.
2.2. A* Algorithm
The A* algorithm is a type of heuristic search algorithm, and it extends the Dijkstra algorithm through
heuristic search. This algorithm can determine the shortest path among multiple nodes (vertices) on a
graph by identifying the lowest cost. It combines certain advantages of both Dijkstra’s and greedy
search algorithms. The A* algorithm was developed by Peter Hart, Nils Nilsson, and Bertram Raphael
in 1968 and has had a significant impact on the field of artificial intelligence [4].
This algorithm also finds applications in guiding sweeping robots to identify the shortest path. Due
to its extension of the Dijkstra algorithm, it offers improved efficiency.
The A* algorithm takes into account the cost already incurred from the starting vertex to the
current vertex and estimates the cost required to reach the end vertex. This is calculated using the
formula
𝐹(𝑛) = 𝐺(𝑛) + 𝐻(𝑛) (1)
The process begins at the starting point, and at each step, it aims to identify the best vertex with the
minimum value of ‘f.’ It then proceeds from the best vertex to find the next best vertex in a similar
manner until it reaches the endpoint [5].
Using the A* algorithm to find the shortest path in an AB graph involves considering the entire
graph as a grid of squares. It maintains two lists: the open list (which includes squares to be examined)
and the close list (which contains squares that have already been identified). The A* algorithm takes
into account both past and potential future costs, as expressed by (1).
100
Proceedings of the 2023 International Conference on Machine Learning and Automation
DOI: 10.54254/2755-2721/41/20230716
Figure 1. The example of how to find the shortest path by A* algorithm: a: configuration 1; b:
configuration 2.
101
Proceedings of the 2023 International Conference on Machine Learning and Automation
DOI: 10.54254/2755-2721/41/20230716
counted in the network diagram [6]. Figure 2 is a simple schematic diagram of the principle of PRM
algorithm.
102
Proceedings of the 2023 International Conference on Machine Learning and Automation
DOI: 10.54254/2755-2721/41/20230716
within an obstacle, based on robot collision detection. This iterative approach continues until the final
path is determined [8]. Figure 4 provides a simple diagram illustrating the RRT algorithm.
While the RRT algorithm is relatively straightforward, it has limitations when it comes to finding
the optimal path. It relies on a fixed step size, which can pose challenges in complex, obstacle-rich
environments. To navigate such environments using the RRT algorithm, multiple iterations are often
required, involving node screening based on collision obstacles. This process can be time-consuming
and may not yield the shortest path [9].
3.3. Summary
PRM algorithm relies on the establishment of network graph, the probability of the algorithm is
complete, but the collision detection time is long and the efficiency is low. The RRT algorithm relies
on the establishment of a tree graph, and the strategy is random sampling, so the efficiency is not high.
They both need sampling to plan the path, and the advantage of both is obvious, they can get the final
solution, but they need a lot of sampling points. This is also their disadvantage, too much sampling
leads to a large number of operations, and they all need robot collision to eliminate the wrong line,
which makes the work efficiency low. In practical application, once the complex environment is
encountered, the two can get the route, but it will take a long time, and it is not necessarily the optimal
solution.
103
Proceedings of the 2023 International Conference on Machine Learning and Automation
DOI: 10.54254/2755-2721/41/20230716
Darwin’s theory of evolution and replicates the genetic mechanisms of natural selection. Essentially,
it’s a method for discovering the best solutions by mimicking natural evolutionary processes. Its core
nature lies in being an efficient, parallel, global search method that autonomously acquires and
accumulates knowledge about the search space during the exploration process. It also adaptively
controls the search for the optimal solution.
In the operational range of an intelligent sweeping robot, obstacle data is typically three-
dimensional, while environmental data is two-dimensional. Consequently, the robot itself is treated as
a point, and the obstacle information is transformed from a three-dimensional representation to a
flattened one. Additionally, the size of the obstacles is increased by half of the robot’s radius. This
transformation simplifies the robot’s ability to identify and assess obstacles.
The simulation of the sweeping robot’s surrounding environment involves fitting the working path
𝑇 by connecting it with several tangential paths ⃗𝑙𝑖 .
𝑇 = ⃗⃗𝑙1 + ⃗⃗𝑙1 +. . . +𝑙⃗⃗⃗⃗⃗⃗⃗⃗
𝑛−1 (2)
In the process of storing path data, a coordinate point storage method is employed. The value ‘x’ in
two-dimensional coordinates represents the precise position of the sweeping robot within the current
path. Following genetic principles, the process of path determination is referred to as encoding the
acquired chromosomes. In the actual path planning process, the sweeping robot’s path can be
systematically generated through repetitive problem-solving operations [12].
1
𝑓(𝑙⃗𝑖 ) = { (3)
0
The mentioned function operates as follows: when a specific elementary motion unit doesn’t
intersect any obstacles, its value is set to 0. Conversely, when the chosen elementary motion unit
intersects any spatial obstacle, its value becomes 1. Additionally, 𝑔𝑖 is utilized to signify that during
the path planning process, there may be a possibility of intersecting obstacle ranges between the ‘i-th’
and ‘i+1-th’ elementary motion units. Therefore, an expression for 𝑔𝑖 can be formulated [13].
𝑔𝑖 = 𝑓(𝑙⃗⃗⃗⃗⃗⃗⃗ ⃗
𝑖+1 ) − 𝑓(𝑙𝑖 ) (4)
In different real-life situations, there can be three values for 𝑔𝑖 .𝑔𝑖 takes the value 0 when neither
the front side nor the back side intersects with the obstacle. It assumes the value 1 when the front side
intersects the obstacle and -1 when the back side intersects the obstacle.
5. Conclusion
Above, various path planning algorithms have been introduced. Now, a question arises: which type of
path planning algorithm should be chosen? This question is indeed challenging.
In the case of the Intelligent Bionic Algorithm, it possesses the ability to generate a path and adapt
it as needed during operation. Essentially, it has memory and draws inspiration from ant behavior. On
the other hand, other path planning algorithms rely on mathematical models to determine the most
efficient route for the sweeping robot to follow. When comparing these two categories of path
planning algorithms, each has its own set of advantages and disadvantages.
The Intelligent Bionic Algorithm requires time for planning and selecting the optimal path.
However, it significantly reduces the occurrence of accidents once the plan is in place. On the other
hand, algorithms using mathematical models can quickly identify the closest path, but the potential
risk of accidents remains a concern, especially when unforeseen emergencies arise that neither the
robot nor humans can predict.
In summary, it is essential to continually compare different types of path planning algorithms to
find one that meets the specific requirements and needs of users.
To conclude, the optimal approach is to learn from each path planning algorithm and strive to
identify the most suitable one. In summary, this covers the topic of path planning algorithms and their
implementation in sweeping robots. In these aspects, there is still room for improvement in the
104
Proceedings of the 2023 International Conference on Machine Learning and Automation
DOI: 10.54254/2755-2721/41/20230716
performance of sweeping robots. Looking ahead, continuous comparisons of different path planning
algorithms and ongoing enhancements to the algorithms and robot functions are necessary for the
future.
Authors Contribution
All the authors contributed equally and their names were listed in alphabetical order.
References
[1] Tan Dingzhong, Wang Qiming, Li Jinshan, Li Lin. (2004). Research and Development Status of
Cleaning Robot.
[2] Cheng Qian, Gao Song, Cao Kai, Chen Chaobo. (2019). Path Planning of Mobile Robot Based
on PRM Optimization Algorithm. Journal of Computer Applications and Software, 37(12).
[3] N. Jasika, N. Alispahic, A. Elma, K. llvana, L. Elma and N. Nosovic,”Dijkstra’s shortestpath
algorithm serial and parallel execution performance analysis,” 2012 Proceedingsof the 35th
International Convent.
[4] Bai Zhiqiang, Xin Zhou, Zhang Xueqi. (2022). Research on Robot Path Planning Based on
Improved Traditional RRT Algorithm. Machine Building & Automation, pp. 177-179.
[5] Wang Hao, Fang Lu, Zhuang Kui, et al. (2021). Path Planning of Sweeping Robot Design based
on Genetic Algorithm. China-Arab States Science and Technology Forum, 4(3).
[6] Yan Qin, Tian Zhumei, Ren Guofeng, et al. (2020). Path Planning of Intelligent Sweeping
Robot Based on Genetic Algorithm. Journal of Science, 40(3), pp. 5.
[7] Zhang H., Hong W., and Chen M. (2019). A Path Planning Strategy for Intelligent Sweeping
Robots. IEEE International Conference on Mechatronics and Automation (ICMA), Tianjin,
China, pp. 11-15.
[8] Sen K. and Liqiang Z. (2019) A Path Planning Algorithm for Sweeping Robot Based on
Improved Neural Network. The 3rd International Conference on Electronic Information
Technology and Computer Engineering (EITCE), Xiamen, China, pp. 359-362.
[9] Ge B., Hu S. and Zheng P. (2020). Research on Full Traversal Path Planning Based on
Improved Reciprocating Algorithm. IEEE 9th Joint International Information Technology
and Artificial Intelligence Conference (ITAIC), Chongqing, China, pp. 922-926.
[10] Wang Z., Xie H., Lin Z., Wen T., Guo C. and Chen H. (2020). The Robot Path Planning
Algorithm In Indoor Environment. The 46th Annual Conference of the IEEE Industrial
Electronics Society, Singapore, pp. 5350-5355.
[11] Luo B., Huang Y., Deng F., Li W. and Yan Y., (2021). Complete Coverage Path Planning for
Intelligent Sweeping Robot. IEEE Asia-Pacific Conference on Image Processing, Electronics
and Computers (IPEC), Dalian, China, pp. 316-321.
[12] Hasan K. M., Abdullah-Al-Nahid and Reza K. J. (2014) Path Planning Algorithm Development
for Autonomous Vacuum Cleaner Robots. International Conference on Informatics,
Electronics & Vision (ICIEV), Dhaka, Bangladesh, pp. 1-6.
[13] P. Bogdan, “Diikstra algorithm in parallel- Case study” Proceedings of the 2015 16 th
international Carpathian Control Conference (ICCC), Szilvasvarad, Hungary, 2015, pp.0-53.
105