Next Article in Journal
Multi-UAV Autonomous Path Planning in Reconnaissance Missions Considering Incomplete Information: A Reinforcement Learning Method
Previous Article in Journal
Evolutionary Optimization of Drone-Swarm Deployment for Wireless Coverage
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved Spanning Tree-Based Algorithm for Coverage of Large Areas Using Multi-UAV Systems

1
Department of Cybernetics, Czech Technical University in Prague (CTU), 121 35 Prague, Czech Republic
2
Natalnet Associate Laboratories, Universidade Federal do Rio Grande do Norte (UFRN), Natal 59078-970, RN, Brazil
3
Laboratory of Systems Engineering and Robotics (LASER), Department of Computer Systems, Universidade Federal da Paraíba (UFPB), João Pessoa 58055-000, PB, Brazil
*
Author to whom correspondence should be addressed.
Submission received: 16 November 2022 / Revised: 14 December 2022 / Accepted: 20 December 2022 / Published: 23 December 2022

Abstract

:
In this work, we propose an improved artificially weighted spanning tree coverage (IAWSTC) algorithm for distributed coverage path planning of multiple flying robots. The proposed approach is suitable for environment exploration in cluttered regions, where unexpected obstacles can appear. In addition, we present an online re-planner smoothing algorithm with unexpected detected obstacles. To validate our approach, we performed simulations and real robot experiments. The results showed that our proposed approach produces sub-regions with less redundancy than its previous version.

1. Introduction

Drones (unmanned aerial vehicles (UAVs)) have gained popularity in recent years due to their ability to perform a diverse range of tasks. Environmental surveillance [1], object transportation [2], and historical site documentation [3], are among such tasks. A common commercial UAV is a small, lightweight helicopter with a minimum of four propellers (see Figure 1). The advantage of a UAV is the capability of an agile flight and a small size. In contrast, the biggest weakness is its short autonomy and its limited computational capability. Frequently, applications tend to use multiple UAVs.
In multi-robotics, a commonly encountered problem in various applications consists of determining an optimal path involving all points of a given area of interest while avoiding sub-regions with specific characteristics, such as obstacles or no-fly zones [5]. One of these problems is the coverage path planning (CPP) problem. It consists of covering a large area through the application of path-planning approaches that minimize time-of-flight. One technique often employed is the use of a multi-robot system.
To deal with more sophisticated requirements, multi-robot systems with proper path planning provide a promising solution that can significantly enhance effectiveness and robustness when compared with a single-robot system [6]. In contrast, addressing the CPP problem is more difficult when working with multiple robots [5].
The work of Huang et al. [7] explained that although the state-of-the-art literature presents different multi-robot coverage path planning (MCPP) algorithms to solve the coverage path planning (CPP) problem of robots in specific areas, in outdoor environments, complex geographic environments reduce the task execution efficiency of robots. The same authors further explain that existing CPP approaches have hardly considered environmental complexity, while other studies have considered robot applications but had a small study area and a single cover type, such as a sweeping robot. Thus, robots are always assumed to have a constant visual field and moving speed in the entire area in existing multi-robot coverage path planning (MCPP) algorithms. The performance efficiency of robots in emergency search and rescue tasks is seriously affected due to the complexity and variation of the environmental surface, so a robot may have different visual fields and moving speeds in different environments. In the case of this study, we tackled not only a large area with a considered variation of the environment complexity but also the speed of the UAVs and the implications of that on the resulting trajectory.
A common approach to deal with the MCPP problem is the spanning tree coverage (STC) algorithm. This approach guarantees an optimal covering path in linear time when certain conditions are met [5]. Despite the impressive contributions from previous works [5,6,8], the STC algorithms are still an active research topic with promising development opportunities. In this work we proposed an improved artificially weighted spanning tree coverage (IAWSTC) approach designed to minimize the redundancy regions for the coverage area of the multi-UAV system and to enable the UAVs to handle unexpected obstacles. Thus, the main contributions are:
  • an Overlapping Region Reduction approach designed to minimize the redundancy regions for the coverage area;
  • a trajectory smoothing approach based on last square solutions that we call trajectory smoothing using least squares solution (TSULSS). This approach enables a fast smoothing of long trajectories;
  • An obstacle avoidance and replanning approach for unexpected obstacles (i.e., moving obstacles or fixed obstacles that exist but are unknown due to the absence of a map).

2. Related Works

In 2006, Agmon et al. [9] presented one of the early works that tried to solve the CPP problem. The authors had proposed to construct spanning trees. The drawback of their approach was the coverage of the desired regions was not guaranteed to be performed more than once, causing redundancy on the planned path.
Many other approaches for the CPP problem have been proposed. Some approaches use a single robot, others multiple robots. Methods that use a single robot to solve the CPP problem used geometric approaches such as the decomposed polygon [10] and polygonal environments with geometric vector algorithm [11], game-theory approaches [12], Dubins traveling salesman problem [1], and so on. Most of the approaches in the literature either perform only simulations or do not consider obstacles or uncertainties.
When investigating multi-robot system approaches to solve the CPP problem, an example is the work of Avellar et al. [13]. When involving a multi-robot system to solve the CPP, the problem of CPP is then expanded to a MCPP problem. In their work, Avellar et al. [13] adopted a more practical perspective, taking into account environmental factors that exist in real-world scenarios such as maximum time-of-flight, setup time, and the state of the battery of the robot. In addition, Kapoutsis et al. [5] presented an approach to deal with the path planning problem of a team of mobile robots, to cover an area of interest with prior-defined obstacles. The proposed technique transformed the original MCPP into several single-robot CPP problems, the solutions of which constitute the optimal MCPP solution, alleviating the original MCPP explosive combinatorial complexity.
Recently, Dong et al. [6] extended the work of Kapoutsis et al. [5], proposing the artificially weighted spanning tree coverage (AWSTC) algorithm as a suitable solution for multi-UAV area coverage in a distributed manner. The algorithm decomposes the environment in cells. The robots take turns and insert a new cell into their coverage subregion iteratively, using a formula to assign a score to each cell. This formula tries to ensure that each robot visits the uncovered cells while avoiding cells already explored by its partners. After this, a STC algorithm converts the subregion into a trajectory. Since the generated path contains many rough turns, a trajectory smoothing algorithm minimizes this issue using Bézier curves. In addition, the authors performed experiments with real robots in a controlled environment, with no unexpected obstacles.
In the AWSTC, the environment is divided, such that:
C u = c i | c i C , c i A = , c i O = ,
in which A is an obstacle occupied area O divided into equal-sized cells C.
When using multiple robots, the coverage problem involves finding a suitable path for each agent such that:
min max P j , s . t . j = 1 N P j = C u ,
in which the P j is the obtained path for the jth robot, and N is the number of robots.
As indicated in Equation (2), to ensure efficient coverage, the algorithm must minimize the lengths of the resulting trajectories. However, the AWSTC approach ends up with several redundancies within the calculated trajectory and does not take re-planing into account. Furthermore, the smoothing algorithm the authors used could be further improved.
Thus, we modified the algorithm of Dong et al. [6] aiming to minimize the redundancy of the calculated trajectories. We also focused on a decentralized version that ensures equal distribution of computational load and trajectory length. Finally, we treated the unexpected obstacle problem while smoothing the trajectories to be performed by the UAV.

3. Problem Formulation

Generally, the abstraction of the problem depends on the sensors and actuators installed on the robot. However, we assumed that the area to be covered is inside a 2D rectangle, which we can discretize into a finite set of cells with equal size. The position of each obstacle inside the area is known, and the robot can accurately locate itself, traveling from its current location to any unblocked adjacent cell without any motion uncertainty [5]. The environment division and its terminologies can be seen in Figure 2 and Figure 3.
For ease of understanding, we formally added the required terminology and definitions for accurate descriptions of the algorithms.
Definition 1.
An environment is a workspace used to perform the coverage task and the grid division of the environment is called environment representation. The objective of our approach is to perform a full coverage of the environment.
Definition 2.
A cell is considered as explored after a robot passes above its center or above each sub-cell center that is part of the respective cell. A cell is unexplored if it is not visited by the robot.
Definition 3.
A trajectory is defined as a path that is composed of a sequence of points in a 2D workspace.
Definition 4.
The Manhattan distance of cells C 1 , C 2 is a metric defined as:
D C 1 , C 2 = | x C 1 x C 2 | + | y C 1 y C 2 | ,
where x C 1 , y C 1 are the first cell center coordinates, x C 2 , y C 2 are the second cell center coordinates, and D C 1 , C 2 is the resulting Manhattan distance.
Definition 5.
Two cells C 1 , C 2 are neighbor cells if:
D C 1 , C 2 = C S ,
where C S is the side length of a cell.
Definition 6.
Two C 1 , C 2 cells are diagonal neighbor cells if:
d C 1 , C 2 C D ,
where C D is the diagonal length of a cell. For every adjacent cell, there is a diagonal neighbor cell, but not the reverse.
Definition 7.
The status of exploration of a cell is the binary information on whether the cell is explored (i.e., either already visited by the robot or containing an obstacle), or unexplored.

4. Improved Artificially Weighted Spanning Tree Coverage

We addressed the MCPP problem in the same way as Dong et al. [6], using a STC algorithm. As formally described in Section 3, the main objective of the coverage process is to divide the environment into a workspace represented by subregions. These subregions must be covered by each robot. Finally, each robot generates its trajectories such that each subregion is fully explored.

4.1. Partition of the Environment

In this step, each robot selects its subregion of exploration S in a distributed manner. Iteratively, the robots take turns evaluating all unexplored cells, choosing the cells with the highest calculated scores. Then, these cells are included in the subregion S and marked as explored. This process repeats until all cells in the workspace are explored. We outline the complete process in Algorithm 1. To improve the behavior of the previous environment partitioning [6], we modified the formula used to calculate the score of the suitable cells. The original evaluation formula taken over from the previous work [6] consists of three terms E j a , E j , k b , and E j c . Here, the ith robot calculates the score E i , j of the jth cell through the equation below.
Algorithm 1 Partition of the Environment
  • Create a workspace by performing a cell C j division of the environment
  • for each C j , j 1 , 2 , , M  do
  •       C j u n e x p l o r e d
  • end for
  • Initialize subregions S i
  • for each subregion S i , i 1 , N  do
  •      S i i th starting point of the UAV SP i
  •      SP i e x p l o r e d
  • end for
  • while u n e x p l o r e d and C i exists do
  •     for each UAV i , i 1 , N  do
  •         Analyze if each cell with one or more adjacent cells belongs to the region S i , by using Equation (10)
  •         find C b e s t = arg j max E i , j
  •          Add C b e s t to S i
  •          C b e s t e x p l o r e d
  •     end for
  • end while
E i , j = E j a + k = 1 , k i N E j , k b + E j c .
where E j a is the distance between the visited cell and the center of the unexplored workspace.
E j a is used to ensure that cells that are located on the border of the unexplored workspace are given higher scores. E j a can be calculated as:
E j a = σ a | x i x c e | + | y i y c e | ,
in which x i , y i are coordinates of the center of the cell currently being explored, x c e , y c e are the coordinates of the center of the environment (a fixed referential), and σ a > 0 is a positive constant used as a function gain.
Furthermore, E j , k b is the distance between the jth cell and the region S k belonging to the kth agent. It increases the score of cells that are distant from the other UAVs, and is given as:
E j , k b = σ b min x j , y j S k | x j x i | + | y j y i | ,
in which x j , y j are the region S k cell coordinates that belongs to the kth agent, and σ b > 0 is a positive constant used as a function gain.
Finally, the last term E j c specifies the status of exploration of the jth cell. It decreases the score of visited cells, and it can be calculated as:
E j c = 0 if the cells are u n e x p l o r e d E M if the cells are e x p l o r e d ,
in which E M > 0 is a large positive constant value.

4.2. Proposed Approach

Thus, here we propose modifications on the AWSTC algorithm, such that the score calculated for the ith cell to be visited by the jth agent will now, be estimated as:
E i , j = E j a + k = 1 , k i N E j , k b + E j , m c + E i , j d ,
where E j , m c is a penalty term used to avoid redundancy in the coverage, and E i , j d is a positive term applied to reward cluttered regions.
Note that the first and second terms, E j a and E j , k b respectively, remain the same from the previous work [6]. However, the third term E j , m c , which is responsible for decreasing the score of already explored cells, was modified. More formally:
E j , m c = 0 for unexplored cells E M D j , u for explored cells ,
where D j , u is the Manhattan distance between the C j cell and the closest unexplored cell.
Our approach starts by analyzing the unexplored cells first, where E j , m c = 0 . Furthermore, we included a new reward term E i , j d that increases the score of cells from clusters. In other words, we estimate how many diagonal adjacent cells of the jth cell are found in the same region. More precisely:
E i , j d = σ d NC i , j ,
where the number of diagonal adjacent cells of the cell C j that belong to the region S i corresponding to the ith robot is NC i , j , and σ d > 0 is a positive constant used as a function gain.
Our proposed approach also adds a mechanism to minimize the overlapping of different regions, while counting the cells similarly. Every cell C j that belongs to two or more regions is removed from every S i region if it does not violate the continuity of S i . Then, if the cell C j does not belong to any region, it is listed as unexplored. Furthermore, the robots take turns analyzing all unexplored cells using Equation (10) and picking the highest-scored cell. At every turn, the respective robot will be the one in which the corresponding region has the smallest set of cells. The algorithm repeats this process until no solvable conflicts emerge. We summarize the entire process in Algorithm 2.
After the environment partitioning, the agent creates a trajectory that includes all cells of its subregion by using STC. By combining the partition of the environment algorithm with STC, we obtain the same AWSTC previous algorithm described [6]. However, if we instead combine STC with our modified version of the partition of the environment algorithm, we obtain our proposed IAWSTC algorithm.
Algorithm 2 Reduction of Overlapping Regions
  • for each cell C j , j 1 , M  do
  •     if  NR C j > 1 , where NR C j is the number of regions S i , i 1 , N which satisfy C j S i  then
  •         for each region  S i , C j S i  do
  •            if  S i C j is continuous then
  •                remove C j from S i
  •            end if
  •         end for
  •         if  NR C j = 0  then
  •                C j unexplored
  •         end if
  •     end if
  • end for
  • whileunexplored C j exists do
  •      i agent with the least cells in its region S i
  •     Analyse each cell with one or more adjacent cells that belong to region S i using Equation (10) as viewed by agent i
  •     find C b e s t = arg j max E i , j
  •      Add C b e s t to S i
  •      C b e s t e x p l o r e d
  • end while

4.3. Complexity

Both the classic and improved versions of the partition of the environment (Algorithm 1) algorithm’s time complexity is O ( N 2 ) . In addition, the STC time complexity is O ( N ) . Therefore, as a result, we have a O ( N 2 ) for both the AWSTC by Dong et al. [6] and our proposed IAWSTC.

5. Trajectory Smoothing Using Least Squares Solution

The trajectories generated by both algorithms contain many rough turns. Generally, a smoothing algorithm attenuates these turns to enable the controller of the UAV to track the resulting path. Note here that we do not tackle the well-known “smoothing problem” [14,15], which is the problem of estimating an unknown probability density function recursively over time using incremental incoming measurements. In the path planning field of research, there is another definition of “smoothing problem”, which is the problem of generating polyline segments after the initial path points are obtained (or generated) from a path planning algorithm (such as A*, RTT, and so on) [16,17,18]. Thus, one must consider that the UAV usually deviates from the given reference due to the controller’s inability to perfectly follow the desired trajectory, especially when there is a turn exceptionally sharp. Thus, a smoothing algorithm is decisive in keeping the UAV closer to the planned path and exploring the environment adequately.
Several trajectory smoothing approaches have been proposed in the past and they can be divided into three classifications: special curves, interpolation-based, and optimization [19]. The interpolation-based methods use polynomial interpolation [20], Bézier curves [21], cubic splines [22], B-splines [23], or NURBS curves [24]. Special curves usually use Dubin’s curves [25], Clothoid [26], Hypocycloid [27], and other types of curves [19]. Optimization methods treat trajectory smoothing as a problem in which energy, time of execution, and other criteria are minimized.
In this work, we propose, along with other contributions, a smoothing algorithm that aims for simplicity and low computational cost, while going through each of the original trajectory points. The final smoothened trajectory is sent to the UAV control system that is composed of an MPC tracker and a SE(3) controller. This control pipeline was proposed by our group in the past [4]. It is interesting to note that the MPC tracker checks the feasibility of the given trajectory based on the UAV dynamics. However, our smoothing approach “easy up” the computational processing for this tracker since the smoothing approach already gives a more feasible path for the UAV to follow. Thus, the visit to all points must be ensured in order to explore all the desired cells. Thus, we proposed the TSULSS. Our approach is based on the addition of equally distant p points between every couple of points from the original trajectory (see Figure 4). Then, we minimize the function of the curvature of the entire new trajectory τ . For this function, we use the sum of squared angles between pairs of consecutive vectors v i , v i + 1 τ . Nevertheless, we are not able to formulate this function as the least squares solution of a system of linear equations. Thus, we decompose the vectors v i , v i + 1 into three consecutive points P i , P i + 1 , P i + 2 , while the distance d m i d , i from the middle point P i + 1 to the center of mass of the three points are used to describe the angle between the two vectors v i , v i + 1 . Finally, we can describe the function of the curvature of τ as the sum of the squared distances d m i d , i for every three consecutive points from the resulting path τ . This function is calculated as:
f ( τ ) = i = 0 N 2 [ P i , x + P i + 1 , x + P i + 2 , x 3 P i + 1 , x 2 + P i , y + P i + 1 , y + P i + 2 , y 3 P i + 1 , y 2 ] .
The equation of the trajectory curvature τ is presented by Equation (13) below. However, one must also consider the shift of individual points. Thus, for each P i point, we replace it with P i + λ i δ i , where λ i is a binary variable that ensures the points of the original trajectory will not be changed during the smoothing process, and therefore, the UAV will explore all the cells, δ i is the change of the ith point of the trajectory, and
λ i = 0 P i   comes from the original trajectory 1 P i added on the first phase .
The final function can be seen in Equation (14).
f ( τ ) = i = 0 N 2 [ ( P i , x + λ i δ i , x 3 2 P i + 1 , x + λ i + 1 δ i + 1 , x 3 + P i + 2 , x + λ i + 2 δ i + 2 , x 3 ) 2 + ( P i , y + λ i δ i , y 3 + 2 P i + 1 , y + λ i + 1 δ i + 1 , y 3 + P i + 2 , y + λ i + 2 δ i + 2 , y 3 ) 2 ] .
f f ( τ ) = f ( τ ) + ( P N 1 , x + λ N 1 δ N 1 , x 3 2 P 1 , x + λ 1 δ 1 , x 3 + P 2 , x λ 2 δ 2 , x 3 ) 2 + ( P N 1 , y + λ N 1 δ N 1 , y 3 2 P 1 , y + λ 1 δ 1 , y 3 + P 2 , y λ 2 δ 2 , y 3 ) 2 .
f f ( τ ) = A x b 2 ,
where
A = λ 1 3 0 2 λ 2 3 0 λ 3 3 0 0 0 0 λ 1 3 0 2 λ 2 3 0 λ 3 3 0 0 0 0 λ N 2 3 0 2 λ N 1 3 0 λ N 3 0 0 0 λ N 2 3 0 2 λ N 1 3 0 λ N 3 2 λ 1 3 0 λ 2 3 0 0 λ N 1 3 0 0 0 2 λ 1 3 0 λ 2 3 0 0 λ N 1 3 0 0 ,
x = δ 1 , x δ 1 , y δ 2 , x δ 2 , y δ 3 , x δ 3 , y δ N , x δ N , y T ,
b = 1 3 P 1 , x + 2 3 P 2 , x 1 3 P 3 , x 1 3 P 1 , y + 2 3 P 2 , y 1 3 P 3 , y 1 3 P N 2 , x + 2 3 P N 1 , x 1 3 P N , x 1 3 P N 2 , y + 2 3 P N 1 , y 1 3 P N , y .
For trajectories in which P 1 = P N , we added another term to round off the connection between the beginning and the end of the trajectory. The resulting function to be minimized can be seen in Equation (15). Note that we can rewrite this equation in matrix form for better clarity, as presented in Equation (16). Thus, our optimization problem is formulated as:
min x R 2 N A x b 2 .
Finally, to improve the UAV control capability over the trajectory resulting from our approach, we used the Tikhonov regularization to penalize significant changes and introduced a μ parameter that set up the level of the smoothing that we desired on the trajectory. Thus, the final function is given by:
min x R 2 N A x b 2 + μ x 2 .
Either singular value decomposition, QR decomposition, or normal equations solve this optimization problem. We have chosen the last one due to its lower computational complexity.

6. Online Obstacle Avoidance and Re-Planning

After generating the trajectory, each UAV goes to its starting position and follows the planned path. During this process, they inform the others about cells that were explored and periodically check for obstacles within their path. Whenever the UAV detects an obstacle, it immediately stops, observes it for t o seconds, and then classifies the object as static if its position does not change during the waiting time or dynamic otherwise.
Definition 8.
An obstacle is the representation of any object that blocks the UAV from entering a cell. The robot is not allowed to explore a cell that is within an obstacle. Thus, a cell that contains an obstacle is considered by our algorithm as visited on the first run of the algorithm that the robot performs.
Definition 9.
A moving obstacle is the representation of any object that temporarily blocks the UAV from entering a cell. A moving obstacle is only considered after the resulting path is generated. The moving obstacle is considered to be aware of its surroundings (e.g., an autonomous robot, a human, an animal, etc.).
As above stated, as the moving obstacles are aware of their surroundings, the UAV does not need to consider an obstacle-avoiding procedure. Upon the moving obstacle detection, the UAV suspends the execution of the trajectory tracking temporarily and waits for the moving obstacle to pass and the pass to be clear.
Alternatively, the appearance of a new static obstacle triggers the information exchange between the robots and the suspension of the current trajectory execution. After including it on the map, each agent replans its trajectory with the new obstacle, revising the exploration status of each cell and re-executing the coverage algorithm.

7. Quantitative Tests

Multiple quantitative tests were performed to validate our approach. We performed mainly two quantitative tests: improvement of the environment partition, and evaluation of the trajectory smoothing. All quantitative tests were performed numerically in Matlab 2020a.

7.1. Improvement of the Environment Partition

First, we have launched the original (AWSTC [6]) and modified (IAWSTC) versions on 1000 worlds with dimensions 10 × 10 cells, on 500 worlds with dimensions 20 × 20 cells, and on 200 worlds with dimensions 30 × 30 cells with 2, 4, and 8 agents. The worlds and the robot starting points were generated in a random fashion.
Definition 10.
The redundancy ratio ζ r is a metric that describes the coverage redundancy of the resulting trajectory. he redundancy ratio ζ r is as follows:
ζ r = i = 1 N card S i card ( E f r e e ) ,
where card S i is the number of cells within the ith region S i , N is the number of robots, and card ( E f r e e ) is the number of cells from the environment representation where there is no obstacle.
Definition 11.
The ratio of equality ζ e is a metric that measures the difference between the sizes of the subregions corresponding to each individual robot. This metric can be calculated as:
ζ e = max i 1 , , N card S i 1 N card ( E f r e e ) ,
Definition 12.
The increased length ratio ζ i is a metric that defines the growth of the length of the resulting trajectory due to the smoothing step. It can be estimated as:
ζ i = length τ s length τ ,
in which length τ s is the smoothed trajectory length τ s , and length τ is the original trajectory length τ.
We used both the redundancy ratio ζ r and the equality ratio ζ e as metrics for the comparison. As shown in Figure 5, the IAWSTC algorithm improves both ratios.

7.2. Evaluation of the Trajectory Smoothing

We also analyzed the performance of our TSULSS algorithm with respect to the values given to the p and μ parameters. We tested an average of 100 random worlds with different sizes, such that s { 10 × 10 , 11 × 11 , , 25 × 25 } with the number of exploring robots varying according to N { 2 , 3 , , 6 } .
Definition 13.
The turn intensity ζ t is a metric that specifies the intensity of the smoothness of each turn present in the resulting trajectory. An increase in turn intensity means an increase in the sharpness of the turns. It can be calculated as:
ζ t = i = 1 M 2 arccos v i · v i + 1 | v i | | v i + 1 | 2 M 2 ,
in which M is the number of points P 1 , , P M τ . Furthermore, v i , v i + 1 can be calculated as:
v i = P i + 1 P i
v i + 1 = P i + 2 P i + 1
Finally, this definition can be extended to consider closed trajectories. Thus, we append points P M + 1 = P 1 and P M + 2 = P 2 to the end of the resulting trajectory.
We used the ratio of length increase ζ i , and the turn intensity ζ t , as indicated in Figure 6. We verified that the results proved that the higher the value of either the μ or the p parameter, the smoother will be the trajectory and the shorter it will be its length. We also saw that the contrary is also valid.

8. Results

We performed simulations using the realistic simulator of robotic operating system (ROS) and Gazebo [28]. The parameter values used in the simulation and real-world experiments are presented in Table 1.

8.1. Simulation

In this subsection we present the results from both numeric and realistic simulations. We performed several simulations on a computer with Intel Core i7, 8 GB RAM. Two case studies of numerical simulations are presented and three other cases of realistic gazebo simulations are also further presented.

8.1.1. Numeric Simulation

The numeric simulations aimed to demonstrate the robustness of our approach with a larger environment and with more UAVs. These simulations used a world with a size of 93 m × 93 m, resulting in a 31 × 31 cell grid. From the several performed simulations, we present here two special cases. The first special case used 5 UAVs with a total of 15 fixed obstacles known a priori Figure 7a. The second special case used 7 UAVs with a total of 4 fixed obstacles known a priori Figure 7b. Note that in both cases there is an almost even distribution of regions allowing the coverage of the large area to be performed much easier.

8.1.2. Realistic Simulation

The three realistic simulations were performed using the MRS system [4] and the ROS/Gazebo realistic simulator. We used three drones in the first realistic simulation and two drones in the other two cases of study to validate our approach. In this first simulation, the world explored by the UAVs contained fixed obstacles known a priori. The simulated world had a size of 45 m × 45 m, resulting in a 15 × 15 cell grid. The trajectories resulting from the IAWSTC algorithm are shown in Figure 8.
In this first simulation we had 13 fixed known obstacles that occupied the grid spaces seen in yellow in the figure above. These were a priori known obstacles. After the generated trajectory was performed by our approach, the complete coverage was achieved by the UAVs.
In the second realistic simulation, the two UAVs begin their fly in a world with a 30 m × 30 m of size, resulting in a 10 × 10 grid. This world had 8 fixed obstacles known a priori. The UAVs started moving according to the resulting trajectory (Figure 9a). During the simulation, one of the UAVs encounter a fixed obstacle that was unknown a priori. This obstacle was detected using sensors onboard the UAV. After detection, the UAV stops its movement and waits 5 s to check if it is moving or stationary. As UAV detected that it was a fixed obstacle, both UAVs stopped so that our approach could replan the whole coverage giving new trajectories to both UAVs (Figure 9b).
In the third realistic simulation, the two UAVs begin their fly in a world with a 30 m × 30 m of size, resulting in a 10 × 10 grid. This world had 2 fixed obstacles known a priori. The UAVs started moving according to the resulting trajectory (Figure 10a). During the movement of the UAVs, a moving obstacle appears crossing the path of one of the UAVs (Figure 10b). Once more the obstacle is detected using sensors onboard the UAV. After detection, the UAV stops its movement and waits 5 s to check if it is moving or stationary. As it is a moving obstacle, eventually it moves out of the path of the UAV, and thus the UAV resumes its movement to track the planned trajectory (Figure 10c). The object is moving in an oscillating manner, going forward and back and the path of the obstacle is given by the blue line in the figures. Even with this oscillating movement, after the object clears the path the drone restarts to track the planned trajectory (Figure 10d).

8.2. Real Robot Experiments

We also performed real robot experiments with three UAVs based on the F450 frame. The UAVs have a GPS receiver for localization, 2D RPLiDAR for detecting obstacles, an Intel i7-based onboard computer, and a down-facing Garmin LIDAR for altitude estimation.
The IAWSTC was validated on a field with 40 m × 40 m of area. This resulted in a 10 × 10 cell grid. Some snapshots of the real robot experiments can be seen in Figure 11.
We set the cell size to a 4 m × 4 m area so that the mechanism to predict collision with obstacles would not affect the resulting trajectories. The results from the implementation of IAWSTC are presented in Figure 12.
In the real robot experiments we had 5 fixed known obstacles that occupied the grid spaces seen in yellow in the figure above. These were also a priori known obstacles. After the generated trajectory was performed by our approach, the complete coverage was achieved by the UAVs.

9. Conclusions

In this work, we proposed an improvement of the AWSTC algorithm proposed by Dong et al. [6]. As a second contribution, we introduced an algorithm for smoothing with an online re-planner that avoids detected unexpected obstacles. Our modified version of the algorithm produces subregions with less redundancy than the original paper, using a mechanism to reduce intersections on multiple trajectories and with the ability to handle unexpected obstacles.
We performed experiments in simulation and also using real drones. The results of these tests verified that the IAWSTC algorithm produces subregions with less redundancy than its previous version. Our proposed approach can be applied in environment exploration in cluttered regions with the possibility of having dynamic obstacles. Further works are to perform a sequence of tests in real scenarios and statistically analyze the coverage rate using images acquired from the environments.

Author Contributions

Software, J.C.; experiments, J.C.; writing, T.A. and A.M.N.; writing–revision, supervision and project administration, T.P.N. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by CTU grant no SGS20/174/OHK3/3T/13, by the Ministry of Education of the Czech Republic has funded my research by OP VVV funded project CZ.02.1.01/0.0/0.0/16 019/0000765 “Research Center for Informatics”, and by the Technology Innovation Institute—Sole Proprietorship LLC, UAE, under the Research Project Contract No. TII/ARRC/2055/2021.

Informed Consent Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AWSTCartificially weighted spanning tree coverage
IAWSTCimproved artificially weighted spanning tree coverage
STCspanning tree coverage
CPPcoverage path planning
MCPPmulti-robot coverage path planning
MAVmicro air vehicle
UAVunmanned aerial vehicle
ROSrobotic operating system
TSULSStrajectory smoothing using least squares solution

References

  1. Faigl, J.; Váňa, P.; Pěnička, R.; Saska, M. Unsupervised learning-based flexible framework for surveillance planning with aerial vehicles. J. Field Robot. 2019, 36, 270–301. [Google Scholar] [CrossRef] [Green Version]
  2. Feng, K.; Li, W.; Ge, S.; Pan, F. Packages delivery based on marker detection for UAVs. In Proceedings of the 2020 Chinese Control And Decision Conference (CCDC), Hefei, China, 22–24 August 2020; pp. 2094–2099. [Google Scholar] [CrossRef]
  3. Smrčka, D.; Báča, T.; Nascimento, T.; Saska, M. Admittance Force-Based UAV-Wall Stabilization and Press Exertion for Documentation and Inspection of Historical Buildings. In Proceedings of the 2021 International Conference on Unmanned Aircraft Systems (ICUAS), Athens, Greece, 15–18 June 2021; pp. 552–559. [Google Scholar] [CrossRef]
  4. Baca, T.; Petrlik, M.; Vrba, M.; Spurny, V.; Penicka, R.; Hert, D.; Saska, M. The MRS UAV System: Pushing the Frontiers of Reproducible Research, Real-world Deployment, and Education with Autonomous Unmanned Aerial Vehicles. J. Intell. Robot. Syst. 2021, 102, 26. [Google Scholar] [CrossRef]
  5. Kapoutsis, A.C.; Chatzichristofis, S.A.; Kosmatopoulos, E.B. DARP: Divide Areas Algorithm for Optimal Multi-Robot Coverage Path Planning. J. Intell. Robot. Syst. 2017, 86, 663–680. [Google Scholar] [CrossRef] [Green Version]
  6. Dong, W.; Liu, S.; Ding, Y.; Sheng, X.; Zhu, X. An Artificially Weighted Spanning Tree Coverage Algorithm for Decentralized Flying Robots. IEEE Trans. Autom. Sci. Eng. 2020, 17, 1689–1698. [Google Scholar] [CrossRef]
  7. Huang, X.; Sun, M.; Zhou, H.; Liu, S. A Multi-Robot Coverage Path Planning Algorithm for the Environment With Multiple Land Cover Types. IEEE Access 2020, 8, 198101–198117. [Google Scholar] [CrossRef]
  8. Gabriely, Y.; Rimon, E. Spanning-tree based coverage of continuous areas by a mobile robot. In Proceedings of the 2001 ICRA. IEEE International Conference on Robotics and Automation, Seoul, Republic of Korea, 21–26 May 2001; Volume 2, pp. 1927–1933. [Google Scholar] [CrossRef]
  9. Agmon, N.; Hazon, N.; Kaminka, G. Constructing spanning trees for efficient multi-robot coverage. In Proceedings of the 2006 IEEE International Conference on Robotics and Automation, Orlando, FL, USA, 15–19 May 2006; pp. 1698–1703. [Google Scholar] [CrossRef]
  10. Jiao, Y.S.; Wang, X.M.; Chen, H.; Li, Y. Research on the coverage path planning of UAVs for polygon areas. In Proceedings of the 2010 5th IEEE Conference on Industrial Electronics and Applications, Taichung, Taiwan, 15–17 June 2010; pp. 1467–1472. [Google Scholar] [CrossRef]
  11. Kang, Z.; Ling, H.; Zhu, T.; Luo, H. Coverage Flight Path Planning for Multi-rotor UAV in Convex Polygon Area. In Proceedings of the 2019 Chinese Control And Decision Conference (CCDC), Nanchang, China, 3–5 June 2019; pp. 1930–1937. [Google Scholar] [CrossRef]
  12. Ruan, L.; Wang, J.; Chen, J.; Xu, Y.; Yang, Y.; Jiang, H.; Zhang, Y.; Xu, Y. Energy-efficient multi-UAV coverage deployment in UAV networks: A game-theoretic framework. China Commun. 2018, 15, 194–209. [Google Scholar] [CrossRef]
  13. Avellar, G.; Pereira, G.; Pimenta, L.; Iscold, P. Multi-UAV Routing for Area Coverage and Remote Sensing with Minimum Time. Sensors 2015, 15, 27783–27803. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Kim, M.; Ali Memon, S.; Shin, M.; Son, H. Dynamic based trajectory estimation and tracking in an uncertain environment. Expert Syst. Appl. 2021, 177, 114919. [Google Scholar] [CrossRef]
  15. Memon, S.A.; Ullah, I. Detection and tracking of the trajectories of dynamic UAVs in restricted and cluttered environment. Expert Syst. Appl. 2021, 183, 115309. [Google Scholar] [CrossRef]
  16. Li, F.F.; Du, Y.; Jia, K.J. Path planning and smoothing of mobile robot based on improved artificial fish swarm algorithm. Sci. Rep. 2022, 12, 659. [Google Scholar] [CrossRef] [PubMed]
  17. Kurenkov, M.; Potapov, A.; Savinykh, A.; Yudin, E.; Kruzhkov, E.; Karpyshev, P.; Tsetserukou, D. NFOMP: Neural Field for Optimal Motion Planner of Differential Drive Robots With Nonholonomic Constraints. IEEE Robot. Autom. Lett. 2022, 7, 10991–10998. [Google Scholar] [CrossRef]
  18. Kim, T.; Park, G.; Kwak, K.; Bae, J.; Lee, W. Smooth Model Predictive Path Integral Control without Smoothing. IEEE Robot. Autom. Lett. 2022, 7, 10406–10413. [Google Scholar] [CrossRef]
  19. Ravankar, A.; Ravankar, A.; Kobayashi, Y.; Hoshino, Y.; Peng, C.C. Path Smoothing Techniques in Robot Navigation: State-of-the-Art, Current and Future Challenges. Sensors 2018, 18, 3170. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  20. Huh, U.Y.; Chang, S.R. A G2 Continuous Path-smoothing Algorithm Using Modified Quadratic Polynomial Interpolation. Int. J. Adv. Robot. Syst. 2014, 11, 25. [Google Scholar] [CrossRef]
  21. Zhou, F.; Song, B.; Tian, G. Bézier curve based smooth path planning for mobile robot. J. Inf. Comput. Sci. 2011, 8, 2441–2450. [Google Scholar]
  22. Li, X.; Gao, X.; Zhang, W.; Hao, L. Smooth and collision-free trajectory generation in cluttered environments using cubic B-spline form. Mech. Mach. Theory 2022, 169, 104606. [Google Scholar] [CrossRef]
  23. Biagiotti, L.; Melchiorri, C. Online trajectory planning and filtering for robotic applications via B-spline smoothing filters. In Proceedings of the 2013 IEEE/RSJ International Conference on Intelligent Robots and Systems, Tokyo, Japan, 3–7 November 2013; pp. 5668–5673. [Google Scholar] [CrossRef]
  24. Hashemian, A.; Hosseini, S.F.; Nabavi, S.N. Kinematically smoothing trajectories by NURBS reparameterization—An innovative approach. Adv. Robot. 2017, 31, 1296–1312. [Google Scholar] [CrossRef]
  25. Lin, Y.; Saripalli, S. Path planning using 3D Dubins Curve for Unmanned Aerial Vehicles. In Proceedings of the 2014 International Conference on Unmanned Aircraft Systems (ICUAS), Orlando, FL, USA, 27–30 May 2014; pp. 296–304. [Google Scholar] [CrossRef]
  26. Brezak, M.; Petrović, I. Path Smoothing Using Clothoids for Differential Drive Mobile Robots. IFAC Proc. Vol. 2011, 44, 1133–1138. [Google Scholar] [CrossRef] [Green Version]
  27. Ravankar, A.; Ravankar, A.A.; Kobayashi, Y.; Emaru, T. SHP: Smooth Hypocycloidal Paths with Collision-Free and Decoupled Multi-Robot Path Planning. Int. J. Adv. Robot. Syst. 2016, 13, 133. [Google Scholar] [CrossRef]
  28. Quigley, M.; Conley, K.; Gerkey, B.; Faust, J.; Foote, T.; Leibs, J.; Wheeler, R.; Ng, A.Y. ROS: An Open-Source Robot Operating System; ICRA Workshop on Open Source Software: Kobe, Japan, 2009; p. 5. [Google Scholar]
Figure 1. An example of multi-rotor UAV platform [4].
Figure 1. An example of multi-rotor UAV platform [4].
Drones 07 00009 g001
Figure 2. An agent is a UAV performing the desired task.
Figure 2. An agent is a UAV performing the desired task.
Drones 07 00009 g002
Figure 3. Environment and grid definitions.
Figure 3. Environment and grid definitions.
Drones 07 00009 g003
Figure 4. The meaning of the p parameter—with higher values of p, more points are inserted into the trajectory, which leads to smoother turns.
Figure 4. The meaning of the p parameter—with higher values of p, more points are inserted into the trajectory, which leads to smoother turns.
Drones 07 00009 g004
Figure 5. The relation between the redundancy ratio and equality ratio with respect to the number of drones and world size.
Figure 5. The relation between the redundancy ratio and equality ratio with respect to the number of drones and world size.
Drones 07 00009 g005
Figure 6. The effect of the increase on the length ratio and turn intensity on the parameters p and μ .
Figure 6. The effect of the increase on the length ratio and turn intensity on the parameters p and μ .
Drones 07 00009 g006
Figure 7. Numerical simulations with large worlds.
Figure 7. Numerical simulations with large worlds.
Drones 07 00009 g007
Figure 8. IAWSTC algorithm in simulation.
Figure 8. IAWSTC algorithm in simulation.
Drones 07 00009 g008
Figure 9. Realistic Simulation with unknown fixed obstacle. VIDEO: https://youtu.be/4wocoYXDiz4, accessed on 17 December 2022.
Figure 9. Realistic Simulation with unknown fixed obstacle. VIDEO: https://youtu.be/4wocoYXDiz4, accessed on 17 December 2022.
Drones 07 00009 g009
Figure 10. Realistic Gazebo Simulation with unknown moving obstacle. VIDEO: https://youtu.be/KP-xCtVwBQs, accessed on 17 December 2022.
Figure 10. Realistic Gazebo Simulation with unknown moving obstacle. VIDEO: https://youtu.be/KP-xCtVwBQs, accessed on 17 December 2022.
Drones 07 00009 g010
Figure 11. Snapshots of the performed real robot experiment. VIDEO: https://youtu.be/EjyLa0kJFaE, accessed on 17 December 2022.
Figure 11. Snapshots of the performed real robot experiment. VIDEO: https://youtu.be/EjyLa0kJFaE, accessed on 17 December 2022.
Drones 07 00009 g011
Figure 12. IAWSTC algorithm on real UAV.
Figure 12. IAWSTC algorithm on real UAV.
Drones 07 00009 g012
Table 1. Used values of the parameters of our proposed algorithms.
Table 1. Used values of the parameters of our proposed algorithms.
ParameterValue
Partition of the Environment σ a 1
σ b 100
σ d 10
E M 10,000
Smoothingp5
μ 0.15
Replanning t o 2 [s]
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

Chleboun, J.; Amorim, T.; Nascimento, A.M.; Nascimento, T.P. An Improved Spanning Tree-Based Algorithm for Coverage of Large Areas Using Multi-UAV Systems. Drones 2023, 7, 9. https://doi.org/10.3390/drones7010009

AMA Style

Chleboun J, Amorim T, Nascimento AM, Nascimento TP. An Improved Spanning Tree-Based Algorithm for Coverage of Large Areas Using Multi-UAV Systems. Drones. 2023; 7(1):9. https://doi.org/10.3390/drones7010009

Chicago/Turabian Style

Chleboun, Jan, Thulio Amorim, Ana Maria Nascimento, and Tiago P. Nascimento. 2023. "An Improved Spanning Tree-Based Algorithm for Coverage of Large Areas Using Multi-UAV Systems" Drones 7, no. 1: 9. https://doi.org/10.3390/drones7010009

APA Style

Chleboun, J., Amorim, T., Nascimento, A. M., & Nascimento, T. P. (2023). An Improved Spanning Tree-Based Algorithm for Coverage of Large Areas Using Multi-UAV Systems. Drones, 7(1), 9. https://doi.org/10.3390/drones7010009

Article Metrics

Back to TopTop