Next Article in Journal
Spatio-Temporal Coherence of mmWave/THz Channel Characteristics and Their Forecasting Using Video Frame Prediction Techniques
Next Article in Special Issue
A Population-Based Local Search Algorithm for the Identifying Code Problem
Previous Article in Journal
Autonomous Trajectory Tracking and Collision Avoidance Design for Unmanned Surface Vessels: A Nonlinear Fuzzy Approach
Previous Article in Special Issue
Biased Random-Key Genetic Algorithm with Local Search Applied to the Maximum Diversity Problem
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Edge-Weighted Consensus-Based Formation Control with Collision Avoidance for Mobile Robots Based on Multi-Strategy Mutation Differential Evolution

by
Jesus Hernandez-Barragan
1,
Tonatiuh Hernandez
2,
Jorge D. Rios
1,
Marco Perez-Cisneros
3 and
Alma Y. Alanis
1,*
1
Departamento de Innovación Basada en la Información y el Conocimiento, Centro Universitario de Ciencias Exactas e Ingenierías, Universidad de Guadalajara, Guadalajara 44430, Mexico
2
Departamento de Ciencias Computacionales, Centro Universitario de Ciencias Exactas e Ingenierías, Universidad de Guadalajara, Guadalajara 44430, Mexico
3
Departamento de Electro-Fotónica, Centro Universitario de Ciencias Exactas e Ingenierías, Universidad de Guadalajara, Guadalajara 44430, Mexico
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(17), 3633; https://doi.org/10.3390/math11173633
Submission received: 28 July 2023 / Revised: 16 August 2023 / Accepted: 18 August 2023 / Published: 23 August 2023

Abstract

:
An edge-weighted consensus-based formation control strategy is presented for mobile robots. In the edge-weighted strategy, a desired formation pattern is achieved by adjusting gain weights related to the distance between robots. Moreover, the edge-weighted formation control exploits the properties of weighted graphs to allow the formation to rotate and adapt its shape to avoid collision among robots. However, formation patterns are commonly defined by biases with respect to the centroid of the consensus rather than gain weights. This work proposes to optimize the gain weights in edge-weighted graphs, given a formation pattern in terms of biases. A multi-strategy mutation differential evolution algorithm is introduced to solve the optimization problem. Simulation and real-world experiments are performed considering multi-robot systems composed of differential drive robots. Additionally, the experimental setup includes Turtlebot3® Waffle Pi robots and an OptiTrack® motion capture system for control purposes. The experimental results verify the effectiveness of the proposed approach.

1. Introduction

Cooperative work is the main advantage of multi-agent systems. A network of mobile robots is used for many applications, such as search-and-rescue (SaR) operations, cooperative transportation of objects, collaborative exploration, and mapping, along with others [1,2]. There is more than one strategy to solve the formation problem. Most of the time is solved as a consensus problem in which the states of all the agents converge to a common value [3]. In the case of mobile robots, this value defines the centroid of the desired formation.
Several works deal with formation problems based on the Laplacian properties [4]. The most common algorithms exploit the following control law x ¯ ˙ = L x ¯ , where x ¯ R n corresponds to the position of the ith robot translated by a bias with respect to the centroid of the formation, and L R n × n stands for the Laplacian matrix. One of the main advantages of this approach is that the formation is achieved even in the presence of delays in the communication if the communication topology is static, undirected, and connected [5]. Different approaches using a bias-based strategy have been proposed. For example, in [6], a hybrid technique to drive a group of mobile robots to a desired formation is presented, and Particle Swarm Optimization is applied for the exploration of unknown environments. In [7], a full consensus-formation is reached by a switching control law. Other examples under this strategy use single-integrator dynamics [8], pinning control of complex networks [9], and persistency of excitation to deal with non-holonomic constraints [10].
Nevertheless, solving the formation problem through a bias-based strategy does not void collisions while moving in unknown environments [11], and incorporates artificial potential fields for collision avoidance, producing an unstable behavior in the presence of communication delays [12]. The weighted graph strategy overcomes these drawbacks. In [11,13], an edge-weighted graph strategy is implemented to include collision avoidance among the robots.
This paper extends the results presented in [11], where an edge-weighted formation control is proposed. In this strategy, the distance between the ith robot and the jth robot is given by the minimum of the edge-tension function; thus, the choice of a constant gain in this function defines the desired distance for each couple of robots. However, a desired formation is usually given in cartesian coordinates rather than in terms of a gain related to the distance between robots. Optimization algorithms are applied under the edge-weighted graph scheme to find the best constant gain value corresponding to the desired formation given in cartesian coordinates.
Evolutionary Algorithms (EAs) have been widely used for intelligent optimization in many research areas such as electrical and electronics, path planning, trajectory design and tracking, automation control systems, interdisciplinary applications, and formation control [14,15]. In [15], the authors discussed the application of EAs to engineering problems. Particularly, the Differential Evolution (DE) algorithm stands out in the automation control and engineering civil areas.
Differential Evolution (DE) is commonly used to solve complex optimization problems [16]. Its flexibility and versatility have promoted several customized variants to solve real-world problems. Recently, many works have modified the conventional DE algorithm to enhance its effectiveness and efficiency [17]. In [17], the authors presented a recent review based on the state-of-the-art DE variants. The strengths and weaknesses of several DE modifications were carefully reviewed, followed by their potential application in solving real-world engineering problems. Among the reviewed variants, the multi-strategy different dimensional mutation differential evolution version stands out for its enhanced converge speed and exploitation search capacities, overcoming stagnation in local optima regions [18]. All these benefits motivated the authors to use the multi-strategy mutation scheme to deal with the drawbacks of conventional DE.
The contributions of this paper are summarized below: Given a desired formation in cartesian coordinates, it is proposed to optimize the constant gains of the edge-weighted graph, such that the edge-weight formation control drives the robots to the desired formation, keeping its capacities of collision avoidance among robots. Based on [18], a multi-strategy mutation differential evolution (MMDE) algorithm is proposed to solve this problem. MMDE enhances convergence speed rates and avoids premature convergence of the conventional DE algorithm. The proposed approach is called the MMDE-based formation pattern for edge-weighted formation control.
This article is organized as follows: The next section presents the kinematics model formulation for differential drive non-holonomic robots. Then, the edge-weighted formation control is described in Section 3. In Section 4, the description of the MMDE algorithm is provided. Moreover, the proposed MMDE-based formation pattern strategy is presented with details in Section 5. Simulation experiments and real-world implementation are performed in Section 6. An analysis of the reported results and the future research directions are given in Section 7. Finally, conclusions are presented in Section 8.

2. Kinematics Model Formulation

Consider a set of N differential drive non-holonomic robots, like the one depicted in Figure 1, each of them modeled as the unicycle kinematics (1) under the assumption that wheels are rolling without slippage, the steering axis is orthogonal to the x y -plane, and the geometry center Q coincides with the center of mass. The kinematics model is given by
x ˙ i = cos ( θ i ) v i y ˙ i = sin ( θ i ) v i θ ˙ i = ω i ,
where x i , y i R stands as the cartesian coordinates, θ i R is the orientation with respect to the z-axis, and v i and ω i R are the linear and angular velocities, respectively. To deal with the non-holonomic constraints, the input/output linearization feedback in [19] is employed. Defining point B, from Figure 1, located along the sagittal axis of the robot at a distance b i from the contact point of the wheel with the ground, the cartesian coordinates are given by
x i b = x i + b i cos ( θ i ) y i b = y i + b i sin ( θ i ) ,
with b i 0 . After evaluating the time derivative of (2) yields
x ˙ i b y ˙ i b = cos ( θ i ) b i sin ( θ i ) sin ( θ i ) b i cos ( θ i ) v i ω i = T ( θ i ) v i ω i ,
where the matrix T ( θ i ) is invertible as long as b i 0 .
To drive the robot, the input control ( u i x , u i y ) is designed such as x ˙ i b = u i x and y ˙ i b = u i y . Then, using the following input transformation
v i ω i = T 1 ( θ i ) u i x u i y = cos ( θ i ) sin ( θ i ) sin ( θ i ) / b i cos ( θ i ) / b i u i x u i y ,
the input/output linearization feedback is achieved
x ˙ i b = u i x y ˙ i b = u i y θ ˙ i = ( u i y cos ( θ i ) u i x sin ( θ i ) ) / b i .
The communication topology is modeled as an undirected, static, connected, and weighted graph defined as a pair G = ( V , E ) , where E V × V is the edge set of cardinality M and V stands for the vertex set of cardinality N. Given a graph the Laplacian matrix, L R N × N can be defined as
L = I · I ,
where I R N × M is the incidence matrix whose components are given by
i i j = { 1 if vertex v i is incident with edge ( i , j ) E 0 otherwise ,
an edge ( i , j ) represents the bidirectional communication between agents i and j. By construction, L 1 N = 0 , such that 1 N = [ 1 , , 1 ] , L is symmetric, it has a unique zero eigenvalue, and the rest of its spectrum is strictly positive [20].

3. Edge-Weighted Formation Control

The consensus problem for N agents to drive the robots to a final common state can be solved with the Laplacian-based feedback method [11]. The feedback control is in the form
z ˙ i = j N i w i j ( z ) ( z i z j ) ,
where z i : = [ x i b , y i b ] , N i = { v j V ( i , j ) E } is the Neighbors subset of the ith robot, and  w i j ( z ) is a positive edge-weight function in terms of z : = [ z 1 , , z N ] . Defining a weight matrix as
W ( z ) = diag ( { w i j ( z ) ( i , j ) E } ) R M × M ,
and the weighted Laplacian matrix as follows
L W ( z ) = I · W ( z ) · I ;
then the control law (8) can be recast as
z ˙ = ( L W I 2 ) z ,
where I 2 R 2 × 2 is an identity matrix, and ⊗ is the Kronecker product.
Regarding collision avoidance, the weight function is designed with a safety distance parameter δ > 0 among the robots. Therefore, the edge-weight function is defined as
w i j ( z ) = α i j 1 k i j csch 2 z i j δ k i j + 1 ,
where α i j > 0 defines the inter-robot influence, z i j : = z i z j stands for the position error, and  k i j > 0 is a constant related to the distance between robots.
The edge-weight function (12) was designed based on an edge-tension function that guarantees collision avoidance between agents i and j, if the δ parameter is strictly greater than the distance z i j [11].
The distance between robots i and j is given by
z i j = δ + k i j acsch k i j .
The selection of the k i j values determines the final formation. It means that the edge-weight control requires the appropriate selection of the k i j values to drive the robots to a desired formation. Thus, given a formation pattern in cartesian coordinates, the goal is to adjust the k i j gain such that
h i h j z i j = 0 ,
where h i is the desired bias of agent i, and  h j is the desired bias of agent j, both biases defined with respect to the centroid of the desired formation.
This work proposes to solve the problem statement in (14), as an optimization problem. An objective function to deal with the optimization is described in the next subsection.
For further details of the Laplacian-based feedback method and collision avoidance, the reader is referred to read [11].

Objective Function Formulation

A candidate solution x n composed of a set of k i j n gains is defined as
x n = { k i j n ( i , j ) E } ,
where x n R M , since the cardinality of E defines the dimension of the optimization problem.
Based on the edge-weight graph strategy, each element k i j n x n is related to a distance d i j n between agents i and j. The distance d i j n ( k i j n ) is computed as
d i j n ( k i j n ) = δ + k i j n acsch k i j n .
On the other hand, a desired distance d i j * between agents i and j can be defined based on the desired formation pattern in cartesian coordinates. Distance d i j * is given by
d i j * = h i h j ,
An objective function can be designed such that ( d i j * d i j n ( k i j n ) ) 0 . Then, an error e i j n ( k i j n ) = d i j * d i j n ( k i j n ) is defined, ( i , j ) E .
Finally, the following objective function f x n is proposed
f x n = 1 M e x n T e x n ,
where e x n R M is a set of errors given by e x n = { e i j n ( k i j n ) ( i , j ) E } .
The optimization problem is expressed as
arg min x n f x n , subject to k i j n > 0 , k i j n x n ,
where each element k i j n x n is considered a feasible solution if k i j n > 0 . Otherwise, unfeasible solutions k i j n < = 0 cause system instability while performing the formation control task.
In this work, the MMDE algorithm is used to solve this optimization problem stated in (19).

4. Multi-Strategy Mutation Differential Evolution

DE is a population-based stochastic algorithm for global optimization [21]. The DE algorithm uses N P D-dimensional parameter vectors x 1 g , x 2 g , , x N P g , where x n g = x n 1 g , x n 2 g , , x n D g , and  n = 1 , 2 , , N P denotes the nth individual in the gth generation. Every individual improves through three principal operations: mutation, crossover, and selection, performed every generation.
In conventional DE, the mutation strategy DE/rand/1 is utilized for global optimization, but its convergence ability is often insufficient with low convergence speed. On the other hand, the mutation strategy DE/best/1 is utilized for local optimization, but it suffers from premature convergence. Based on [18], this work presents the MMDE scheme to enhance the convergence speed while avoiding premature convergence of the conventional DE algorithm. The procedure of MMDE to solve minimization problems is shown below.
In the mutation operation, a mutant vector v n g = v n 1 g , v n 2 g , , v n D g is generated for each individual n according to
v n g = x b e s t g + F x r 2 g x 3 g if 1 g G / 4 x r 1 g + 1 F x r 2 g x r 3 g if G / 4 < g G / 2 x b e s t g + 1 F x r 2 g x 3 g if G / 2 < g 3 G / 2 x r 1 g + F x r 2 g x r 3 g if 3 G / 2 < g G ,
where x r 1 g , x r 2 g , and x r 3 g are randomly selected individuals such as r 1 , r 2 , r 3 1 , N P and n r 1 r 2 r 3 . The parameter F 0 , 1 is called the amplification factor, and it controls the amplification of the differential variation ( x r 2 g x r 3 g ) . Moreover, b e s t is the best individual in the population at generation g, and G is the total number of generations.
As shown in (20), the mutation scheme is divided into four generation units. The first and the third generation promote exploitation search and speed convergence. The second and fourth generation units prevent population stagnation in local optima regions [18].
A trial vector u n g = u n 1 g , u n 2 g , , u n D g is generated based on the following binomial crossover operation
u n m g = v n m g if r m C R or m = m r a n d x n m g otherwise ,
where m = 1 , 2 , 3 , , D and C R [ 0 , 1 ] is the crossover constant. r m and m r a n d are uniform random numbers defined as r m [ 0 , 1 ] and m r a n d 1 , D . The number m r a n d ensures that the trial vector u n g obtains at least one element from the mutation vector v n g to avoid evolutionary stagnation [22].
In the selection operation, the trial vector u n g is compared to the actual vector x n g based on the evaluation of an objective function f. If  f ( u n g ) yields a better solution than f ( x n g ) , then u n g replaces x n g . Otherwise, x n g is retained to the next iteration g + 1 . The selection scheme is defined as
x n g + 1 = u n g if f ( u n g ) f ( x n g ) x n g otherwise .
A detailed description of conventional DE and its modifications can be found in [17,21,22].

5. Description of the Mmde-Based Formation Pattern Algorithm

In consensus-based formation control strategies using bias h i , the formation patterns are defined by translating (in cartesian coordinates) the position of the ith robot with respect to the centroid of the formation. The advantage of bias-based strategies is the easy proposal of formation patterns. However, these strategies do not allow the formation to rotate and adapt its shape to avoid collisions [11].
In edge-weighted formation control, the formation patterns are defined by edge-weighted values w i j ( z ) . Given the appropriate k i j values, ( i , j ) E , the desired formation is achieved without the definition of any bias, with the advantage of collision avoidance [11]. However, the choice of k i j values can be difficult to propose for some formation patterns. Moreover, the more edge-weighted values w i j the graph contains, the more difficult it will be to propose the k i j values.
This work proposes to optimize the k i j values for the edge-weighted formation control, ( i , j ) E , such that each robot i achieves the desired formation defined with cartesian coordinates.
The description of the proposed approach is illustrated in Figure 2. The MMDE-based formation pattern scheme consists of two stages: The first stage involves offline optimization. In this phase, the MMDE algorithm determines the corresponding k i j values based on a desired formation pattern h i with respect to the centroid of the formation. In the second stage, the edge-weighted control strategy is employed to achieve the desired formation using the calculated k i j values.
The following subsections provide a detailed description of the MMDE-based formation pattern algorithm presented in Figure 2.

Mmde-Based Formation Pattern Algorithm

This work proposes to optimize the objective function (18) using the MMDE algorithm. The MMDE algorithm requires the initialization of each individual x n in the population. Usually, individuals are randomly initialized considering lower and upper bounds.
To generate random individuals x n , it is proposed to use the following equation
k i j n = k i j m i n + r ( k i j m a x k i j m i n ) , k i j n x n ,
where k i j m i n and k i j m a x are the lower and upper bounds, respectively. Moreover, r [ 0 , 1 ] is a uniform random number. This boundary must be selected such as k i j m a x > k i j m i n > 0 .
It is important to notice that some elements k i j n of the trial vector u n g may represent unfeasible solutions due to the impact of the mutation operation. To deal with unfeasible solutions, it is proposed to follow the next scheme
k i j n = k i j m i n + r ( k i j m a x k i j m i n ) if k i j n < = 0 k i j n otherwise , k i j n u n g ,
where each k i j n value is randomly computed to make it feasible. A summary of the MMDE algorithm to adjust the k i j values, ( i , j ) E for the edge-weighted formation control is shown in Algorithm 1.
Algorithm 1 MMDE algorithm to adjust the k i j values, ( i , j ) E for the edge-weighted formation control
   1:
define each bias h i for each robot
   2:
set G, N P , F [ 0 , 1 ] and C R [ 0 , 1 ] parameters
   3:
set safety distance parameter δ and boundary [ k i j m i n , k i j m a x ]
   4:
f ( x n ) objective function defined in (18)
   5:
for each individual n 1 , N P do
   6:
      define individual position x n = { k i j n ( i , j ) E }
   7:
      /* Perform initialization based on (23) */
   8:
       k i j n = k i j m i n + r ( k i j m a x k i j m i n ) , k i j n x n
   9:
end
 10:
for each generation g 1 , G do
 11:
      for each individual n 1 , N P do
 12:
            /* Generate the mutant vector v n g based on (20) */
 13:
            randomly choose r 1 , r 2 , r 3 1 , N P such as n r 1 r 2 r 3
 14:
             b e s t find the best individual
 15:
            if 1 g G / 4 then
 16:
                   v n g = x b e s t g + F x r 2 g x 3 g
 17:
            else if G / 4 < g G / 2 then
 18:
                   v n g = x r 1 g + 1 F x r 2 g x r 3 g
 19:
            else if G / 2 < g 3 G / 2 then
 20:
                   v n g = x b e s t g + 1 F x r 2 g x 3 g
 21:
            else if 3 G / 2 < g G then
 22:
                   v n g = x r 1 g + F x r 2 g x r 3 g
 23:
            end
 24:
            /* Generate the trial vector u n g based on (21) */
 25:
            randomly choose m r a n d 1 , D
 26:
            for each dimensional parameter m 1 , D do
 27:
                  randomly choose r m [ 0 , 1 ]
 28:
                  if r m C R or m = m r a n d then
 29:
                         u n m g = v n m g
 30:
                  else
 31:
                         u n m g = x n m g
 32:
                  end
 33:
            end
 34:
            /* Deal with unfeasible solutions k i j n < = 0 , k i j n u n g based on (24) */
 35:
            if k i j n < = 0 then
 36:
                   k i j n = k i j m i n + r ( k i j m a x k i j m i n )
 37:
            end
 38:
            /* Perform the selection operation based on (22) */
 39:
            if f u n g < f x n g then
 40:
                   x n g + 1 = u n g
 41:
            else
 42:
                   x n g + 1 = x n g
 43:
            end
 44:
      end
 45:
end
 46:
b e s t find the best individual
 47:
report the optimal k i j b e s t x b e s t values related to the best individual

6. Experimental Results

The applicability of the proposed approach is demonstrated through simulation and real-world experiments. All parameter settings used for both experiments are provided below.
The settings of the MMDE algorithm are defined as follows: The amplification factor F = 0.5 and the crossover constant C R = 0.5 , as suggested in [17]. Moreover, a total of G = 150 iterations and N = 30 population members were selected. With respect to the edge-weight formation strategy settings, the safety distance was set to δ = 0.15 , and the inter-robot influence was fixed to α = 0.05 . These parameters were experimentally selected.
For simplicity, the physical parameter b i is set to 0.08 meters for all robots. Additionally, the linear and angular velocities ( v i , ω i ) have been bounded to 0.2 v i 0.2 and 0.9 ω i 0.9 . This saturation is imposed to protect the equipment, especially for real-world implementations.
All experiments are conducted as follows: First, a desired formation pattern is provided in cartesian coordinates h i with respect to the centroid of the formation. Then, the MMDE algorithm optimizes offline the k i j values ( i , j ) E for the edge-weighted formation control. Finally, the edge-weighted formation control was performed online to achieve the desired formation.
For real-world experimentation, up to five Turtlebot3 (Turtlebot3 is a registered trademark of ROBOTIS Inc. USA) Waffle Pi mobile robots have been considered. The Turtlebot3® Waffle Pi is a modular differential drive mobile robot, compact and customizable, programmable and ROS-based platform for education, research, and product development applications [23] (see Figure 3).
The ROS (ROS is a registered trademark of Open Robotics, Mountain View, CA, USA) packages of Turtlebot3® provide access to send velocity control inputs and read its odometry. However, odometry measures lack precision due to the sensor’s tell, terrain conditions, and slipping. To deal with this problem, it is proposed to use an OptiTrack (OptiTrack is a registered trademark of NaturalPoint Inc., Corvallis, OR, USA) tracking system to estimate the poses of the robots with precision, instead of reading the robot’s odometry.
The OptiTrack® system is composed of six cameras Flex3 (OptiTrack Flex 3 is a registered trademark of NaturalPoint Inc., Corvallis, OR, USA) and a computer with the software Motive for streaming. Tracking information is sent using ROS® packages. The space for real-world implementations is presented in Figure 4.
Another computer is used to receive the poses of the robots from the OptiTrack® system, and it sends the respective control signals to each Turtlebot3®. The proposed scheme is programmed on this computer using MATLAB (MATLAB is a registered trademark of Mathworks Inc., Torrance, CA, USA) and its ROS® toolbox.

6.1. Simulation Experiments

The simulation experiments were carried out using a network of four robots interconnected as illustrated in Figure 5, where the dimensionality of the problem is D = 6 . Moreover, two tests were performed called Simulations 1 and 2 Simulation 2. The desired formation patterns for the considered tests are shown in Figure 6.
Table 1 reports the optimal k i j values of both simulation tests. In the case of Simulation 1, the values k 13 = k 23 and k 14 = k 24 were expected to be equal due to the shape of its desired formation pattern (see Figure 6). Similarly, the values k 14 = k 23 and k 13 = k 24 were expected to be the same for Simulation 2.
Table 1 also shows the objective function evaluation at the final generation called f b e s t . The performance of MMDE is similar in both tests. After a total of 150 generations, the algorithms report an objective function evaluation of 1.7184 × 10 25 and 1.5517 × 10 24 , for Simulations 1 and 2 2, respectively. The reported f b e s t values are small enough to consider the k i j values optimal for the edge-weighted formation control.
The convergence curves results for simulation experiments are illustrated in Figure 7. These results exhibit the fast convergence speed of the MMDE algorithm. Moreover, the algorithm also demonstrates its exploitation search capability.
As it may be appreciated from Figure 8, the robots converge to the desired formation pattern for Simulation 1. Figure 8a reports the position trajectories of each robot, in cartesian coordinates. Additionally, the achieved formation pattern is drawn in Figure 8b. Notice that the formation shape rotates to avoid collision among robots, reaching the desired formation from Figure 6a.
The formation control results along time of Simulation 1 are reported in Figure 9. The position trajectories show smooth displacements (see Figure 9a). The control signals are also smooth, as can be seen in Figure 9b. Moreover, the robot reached its formation after 30 s.
Cartesian paths followed by the robots reached the desired formation (see Figure 10a). Notice that Robot 2 and Robot 3 avoid a possible collision. Moreover, the achieved formation in Figure 10b is the one expected in Figure 6b. As can be observed, the final formation is rotated since the formation adapts its shape to avoid collisions.
Figure 11 presents the results of Simulation 2, which are the position trajectories and the input control signals along time. Both the position displacements and the control signals of each robot are smooth, as shown in Figure 11a and Figure 11b, respectively. In this case, the robots reached the desired formation after 25 s.

6.2. Real-World Experiments

Two tests were performed in real-world experiments called Experiment 1 and Experiment 2. Experiment 1 considers a network of three robots interconnected as illustrated in Figure 12a, and Experiment 2 considers five interconnected robots, as shown in Figure 12b. Notice that the dimensionality of these tests is quite different since D = 3 in Experiment 1, while D = 10 in Experiment 2. Moreover, the desired formation patterns for Experiments A and B, are included in Figure 13a and Figure 13b, respectively.
Table 2 reports the optimal k i j values of Experiment 1. In this case, k 12 k 13 k 23 as expected (see Figure 13a). The result f b e s t = 1.6435 × 10 34 is smaller than the previous tests since the formation pattern is easier with lower dimensionality.
Table 3 shows the optimal k i j values of Experiment 2. The obtained results are k 13 = k 15 = k 34 = k 45 , k 12 = k 23 = k 24 = k 25 , and k 14 = k 35 , as required by the desired formation pattern in Figure 13b. Notice that f b e s t = 1.1843 × 10 16 is the most significant result among tests since the required formation pattern is more challenging to solve. However, the optimal k i j values are still small enough for the formation control task.
The convergence curve results for real-world experiments are illustrated in Figure 14. As can be seen, the convergence curve looks similar in both tests. These curves are also similar to the simulation experiment results (see Figure 7). However, previous objective function evaluations suggest that more generations are required for more complex communications topologies.
Figure 15 illustrates that robots reached the desired formation pattern for Experiment 1. In this case, Figure 15a shows that position trajectories in the plane are smooth. Moreover, there was no risk of collision. However, the edge-weight control still rotates the center of the formation to best achieve the desired formation pattern (see Figure 15b).
Figure 16 presents the position trajectories and input control signals along time of Experiment 1. As it may be appreciated from Figure 16a, trajectories reached the formation pattern around 20 s. Clearly, the control signals start saturated, but after 10 s their performance becomes smooth (see Figure 16b).
Regarding Experiment 2, the formation pattern results are provided in Figure 17. In this case, the initial positions of robots 2 and 4 are proposed in a way that their trajectories cross to show that the controller avoids the collision. However, the cartesian path followed by the robots reported that the collision is avoided (see Figure 17a). Moreover, the formation pattern is achieved successfully, as illustrated in Figure 17b.
Figure 18 reports the formation control results along time of Experiment 2. The desired formation is reached after 30 s. Figure 18a shows that the robots converge smoothly to the desired formation pattern at around 30 s. However, input control signals reported in Figure 18b are not smooth as previous tests. Although this test is more complex than the previous ones, many drawbacks of the real-world implementations arose, such as non-modeled dynamics, external perturbations, robot wear conditions, and imperfections in the surface. Moreover, ROS® packages pass through a local network via Wi-Fi communications involving loss of packages and delays. Despite all these drawbacks, the control strategy succeeds in achieving the required formation.
Finally, the results of the real-world implementations using Turtlebot3® Waffle Pi robots are included in Figure 19. The achieved formations patterns are highlighted with green lines which approximate the reached formations.

7. Discussion

Desired formation patterns are often given in cartesian coordinates instead of providing gain weights since cartesian coordinates are easier to define with respect to the center of the formation. The formation pattern choosing the gain weights in edge-weighted graphs can be complicated, especially for complex robot networks. The proposed MMDE-based formation pattern algorithm has successfully provided optimal gain weights given cartesian coordinates, which was the main contribution of the paper.
It has been shown that the edge-weighted formation control exploits the properties of weighted graphs to allow the formation to rotate and adapt its shape to avoid collision among robots.
Moreover, all experiments were performed based on a complete graph topology. However, not all the vertices are required to be connected, since the communication topology only requires an undirected, static, connected, and weighted graph [11]. It is let as a future work to study the impact of the MMDE-based formation pattern, varying the vertices connections.
The performance of the edge-weight control scheme was admirable in real-world implementations since ROS® packages pass through a local network via Wi-Fi communications involving loss of packages and delays. Additionally, the results of simulations and real-world experiments indicate that the robots reached the desired formation patterns with smooth trajectories in the x y -plane. However, the input control signals of the experiments were not as smooth as in the simulation. This is mainly due to non-modeled dynamics, external perturbations, loss of packages, and other drawbacks of the physical implementations which are not considered in simulated scenarios. Despite all these inconveniences, the edge-weight control performs well.
In this work, the MMDE-based formation pattern algorithm is performed offline, while the edge-weighted formation control drives the mobile robots online. It is left to future work to propose an online optimization-based formation pattern. In this manner, the desired formation pattern can be changed during online operation.
Moreover, the collision avoidance capacities of edge-weighted formation control can be combined with pin control of complex networks, adding a dynamic topology without restricting complete graph connection in complex networks [9].

8. Conclusions

This paper addressed an edge-weighted consensus-based formation control for differential drive robots. An MMDE-based formation pattern algorithm was proposed to provide the gain weights in edge-weighted graphs, given a desired formation in cartesian coordinates. Then, the edge-weighted formation control drives the mobile robots to the desired formation control, based on the adjusted gain weights. Simulation and real-world experiments were performed to verify the effectiveness and applicability of the proposed approach. Experiments considered a communication topology for multi-robot systems composed of three, four, and five mobile robots.
For the MMDE-based formation pattern algorithm, MMDE demonstrated its exploitation capacities with fast learning rates. MMDE has provided objective function evaluations below to 1.1843 × 10−16 for a network of five robots, which was the most challenging experiment. The smaller the objective function evaluations, the better precision the formation achieved will have.
Moreover, the reported optimal gain weights were adequate in all experiments. With respect to the edge-weighted formation control, the simulation and real-world implementation demonstrates the capacity of the control scheme to avoid collision among robots.
The applicability of the proposed method was tested with an experimental setup composed of an OptiTrack® motion capture system and up to five Turtlebot3® Waffle Pi. The main difference between simulation and real-world experiments was the computed control signals. The control signals results of real experiments were not smooth as the simulation results, due to non-modeled dynamics, external perturbation, imperfection in the surface, and robot wear conditions. However, mobile robots converge to the desired formation pattern performing smooth position trajectories in the x y -plane.
Finally, besides using different robots in the network topology, more future studies can be proposed, including trajectory tracking in formation with collision avoidance in the presence of dynamic objects.

Author Contributions

Conceptualization, J.H.-B. and T.H.; Data curation, J.D.R. and J.H.-B.; Funding acquisition, A.Y.A. and M.P.-C.; Investigation and software, J.D.R. and T.H.; Methodology, J.H.-B. and T.H.; Project administration and supervision, A.Y.A. and M.P.-C.; Validation, J.H.-B., T.H. and J.D.R.; Visualization and Writing, J.H.-B., J.D.R., T.H. and A.Y.A. All authors read and agreed to the published version of the manuscript.

Funding

This research was funded by CONAHCYT Mexico, through Project PCC-2022-319619.

Data Availability Statement

The data analyzed are available from the authors upon request.

Acknowledgments

The authors also thank Universidad de Guadalajara for their support in this research.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
EAsEvolutionary Algorithms
DEDifferential Evolution
MMDE Multi-strategy Mutation Differential Evolution
ROSRobot Operating System

References

  1. Issa, B.A.; Rashid, A.T. A survey of multi-mobile robot formation control. Int. J. Comput. Appl. 2019, 181, 12–16. [Google Scholar]
  2. Latora, V.; Nicosia, V.; Russo, G. Complex Networks: Principles, Methods and Applications; Cambridge University Press: Cambridge, UK, 2017. [Google Scholar]
  3. Jadbabaie, A.; Lin, J.; Morse, A.S. Coordination of groups of mobile autonomous agents using nearest neighbor rules. IEEE Trans. Autom. Control. 2003, 48, 988–1001. [Google Scholar] [CrossRef]
  4. Godsil, C.; Royle, G.F. Algebraic Graph Theory; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2001; Volume 207. [Google Scholar]
  5. Ren, W.; Beard, R.W.; Atkins, E.M. Information consensus in multivehicle cooperative control. IEEE Control. Syst. Mag. 2007, 27, 71–82. [Google Scholar]
  6. Grandi, R.; Falconi, R.; Melchiorri, C. Coordination and control of autonomous mobile robot groups using a hybrid technique based on particle swarm optimization and consensus. In Proceedings of the 2013 IEEE International Conference on Robotics and Biomimetics (ROBIO), Shenzhen, China, 12–14 December 2013; IEEE: Piscataway, NJ, USA, 2013; pp. 1514–1519. [Google Scholar]
  7. Jin, J.; Kim, Y.G.; Wee, S.G.; Gans, N. Consensus based attractive vector approach for formation control of non-holonomic mobile robots. In Proceedings of the 2015 IEEE International Conference on Advanced Intelligent Mechatronics (AIM), Busan, Republic of Korea, 7–11 July 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 977–983. [Google Scholar]
  8. Molinari, F.; Raisch, J. Efficient consensus-based formation control with discrete-time broadcast updates. In Proceedings of the 2019 IEEE 58th Conference on Decision and Control (CDC), Nice, France, 11–13 December 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 4172–4177. [Google Scholar]
  9. Rios, J.D.; Ríos-Rivera, D.; Hernandez-Barragan, J.; Pérez-Cisneros, M.; Alanis, A.Y. Formation Control of Mobile Robots Based on Pin Control of Complex Networks. Machines 2022, 10, 898. [Google Scholar] [CrossRef]
  10. Nuno, E.; Loria, A.; Hernández, T.; Maghenem, M.; Panteley, E. Distributed consensus-formation of force-controlled non-holonomic robots with time-varying delays. Automatica 2020, 120, 109114. [Google Scholar] [CrossRef]
  11. Falconi, R.; Sabattini, L.; Secchi, C.; Fantuzzi, C.; Melchiorri, C. Edge-weighted consensus-based formation control strategy with collision avoidance. Robotica 2015, 33, 332–347. [Google Scholar] [CrossRef]
  12. Secchi, C.; Fantuzzi, C. Formation control over delayed communication networks. In Proceedings of the 2008 IEEE International Conference on Robotics and Automation, Pasadena, CA, USA, 19–23 May 2008; IEEE: Piscataway, NJ, USA, 2008; pp. 563–568. [Google Scholar]
  13. Falconi, R.; Sabattini, L.; Secchi, C.; Fantuzzi, C.; Melchiorri, C. A graph–based collision–free distributed formation control strategy. IFAC Proc. Vol. 2011, 44, 6011–6016. [Google Scholar] [CrossRef]
  14. Darvishpoor, S.; Darvishpour, A.; Escarcega, M.; Hassanalian, M. Nature-Inspired Algorithms from Oceans to Space: A Comprehensive Review of Heuristic and Meta-Heuristic Optimization Algorithms and Their Potential Applications in Drones. Drones 2023, 7, 427. [Google Scholar] [CrossRef]
  15. Slowik, A.; Kwasnicka, H. Evolutionary algorithms and their applications to engineering problems. Neural Comput. Appl. 2020, 32, 12363–12379. [Google Scholar] [CrossRef]
  16. Bilal; Pant, M.; Zaheer, H.; Garcia-Hernandez, L.; Abraham, A. Differential Evolution: A review of more than two decades of research. Eng. Appl. Artif. Intell. 2020, 90, 103479. [Google Scholar] [CrossRef]
  17. Ahmad, M.F.; Isa, N.A.M.; Lim, W.H.; Ang, K.M. Differential evolution: A recent review based on state-of-the-art works. Alex. Eng. J. 2022, 61, 3831–3872. [Google Scholar] [CrossRef]
  18. Xiao, P.; Zou, D.; Xia, Z.; Shen, X. Multi-strategy different dimensional mutation differential evolution algorithm. Proc. AIP Conf. Proc. 2019, 2073, 020102. [Google Scholar]
  19. Siciliano, B.; Sciavicco, L.; Villani, L.; Oriolo, G. Force Control; Springer: Berlin/Heidelberg, Germany, 2009. [Google Scholar]
  20. Ren, W.; Cao, Y. Distributed Coordination of Multi-Agent Networks: Emergent Problems, Models, and Issues; Springer: Berlin/Heidelberg, Germany, 2011; Volume 1. [Google Scholar]
  21. Storn, R.; Price, K. Differential evolution-a simple and efficient heuristic for global optimization over continuous spaces. J. Glob. Optim. 1997, 11, 341. [Google Scholar] [CrossRef]
  22. Simon, D. Evolutionary Optimization Algorithms; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar]
  23. Amsters, R.; Slaets, P. Turtlebot 3 as a robotics education platform. In Robotics in Education: Current Research and Innovations 10; Springer: Berlin/Heidelberg, Germany, 2020; pp. 170–181. [Google Scholar]
Figure 1. Differential drive robot model.
Figure 1. Differential drive robot model.
Mathematics 11 03633 g001
Figure 2. Proposed MMDE-based formation pattern scheme.
Figure 2. Proposed MMDE-based formation pattern scheme.
Mathematics 11 03633 g002
Figure 3. Turtlebot3® Waffle Pi. Onboard cubes of silver reflective fabric are used for tracking purposes.
Figure 3. Turtlebot3® Waffle Pi. Onboard cubes of silver reflective fabric are used for tracking purposes.
Mathematics 11 03633 g003
Figure 4. OptiTrack® setup for real-world implementations. The six cameras Flex3® are installed on the ceiling.
Figure 4. OptiTrack® setup for real-world implementations. The six cameras Flex3® are installed on the ceiling.
Mathematics 11 03633 g004
Figure 5. Communication topology among robots for simulation experiments. Each k i j value must be adjusted to define a desired formation.
Figure 5. Communication topology among robots for simulation experiments. Each k i j value must be adjusted to define a desired formation.
Mathematics 11 03633 g005
Figure 6. Desired formation patterns in cartesian coordinates h i used for simulation. The x y frame represents the centroid of the formation pattern. (a) Formation pattern for Simulation 1. (b) Formation pattern for Simulation 2.
Figure 6. Desired formation patterns in cartesian coordinates h i used for simulation. The x y frame represents the centroid of the formation pattern. (a) Formation pattern for Simulation 1. (b) Formation pattern for Simulation 2.
Mathematics 11 03633 g006
Figure 7. Convergence curve results of simulations. The fitness value represents the objective function evaluation. (a) Convergence curve of Simulation 1. (b) Convergence curve of Simulation 2.
Figure 7. Convergence curve results of simulations. The fitness value represents the objective function evaluation. (a) Convergence curve of Simulation 1. (b) Convergence curve of Simulation 2.
Mathematics 11 03633 g007
Figure 8. Results of position trajectories and achieve formation pattern, in cartesian x y -plane of Simulation 1. The initial robot’s positions are identified with asterisk markers. m: meters. (a) Position trajectories of Simulation 1. (b) Achieved formation of Simulation 1.
Figure 8. Results of position trajectories and achieve formation pattern, in cartesian x y -plane of Simulation 1. The initial robot’s positions are identified with asterisk markers. m: meters. (a) Position trajectories of Simulation 1. (b) Achieved formation of Simulation 1.
Mathematics 11 03633 g008
Figure 9. Results of position trajectories and input control signals, along time of Simulation 1. m: meters, s: seconds. (a) Position trajectories of Simulation 1. (b) Input control signals of Simulation 2.
Figure 9. Results of position trajectories and input control signals, along time of Simulation 1. m: meters, s: seconds. (a) Position trajectories of Simulation 1. (b) Input control signals of Simulation 2.
Mathematics 11 03633 g009
Figure 10. Results of position trajectories and achieve formation pattern, in cartesian x y -plane of Simulation 2. The initial robot’s positions are identified with asterisk markers. m: meters. (a) Position trajectories of Simulation 2. (b) Achieved formation of Simulation 2.
Figure 10. Results of position trajectories and achieve formation pattern, in cartesian x y -plane of Simulation 2. The initial robot’s positions are identified with asterisk markers. m: meters. (a) Position trajectories of Simulation 2. (b) Achieved formation of Simulation 2.
Mathematics 11 03633 g010
Figure 11. Results of position trajectories and input control signals, along time of Simulation 2. m: meters, s: seconds. (a) Position trajectories of Simulation 2. (b) Input control signals of Simulation 2.
Figure 11. Results of position trajectories and input control signals, along time of Simulation 2. m: meters, s: seconds. (a) Position trajectories of Simulation 2. (b) Input control signals of Simulation 2.
Mathematics 11 03633 g011
Figure 12. Communication topology among robots for real-world experiments. Each k i j value must be adjusted to define a desired formation. (a) Communication topology for Experiment 1. (b) Communication topology for Experiment 2.
Figure 12. Communication topology among robots for real-world experiments. Each k i j value must be adjusted to define a desired formation. (a) Communication topology for Experiment 1. (b) Communication topology for Experiment 2.
Mathematics 11 03633 g012
Figure 13. Desired formation patterns in cartesian coordinates h i used for real-world experiments. The x y frame represents the centroid of the formation pattern. (a) Formation pattern for Experiment 1. (b) Formation pattern for Experiment 2.
Figure 13. Desired formation patterns in cartesian coordinates h i used for real-world experiments. The x y frame represents the centroid of the formation pattern. (a) Formation pattern for Experiment 1. (b) Formation pattern for Experiment 2.
Mathematics 11 03633 g013
Figure 14. Convergence curve results of real-world experiments. The fitness value represents the objective function evaluation. (a) Convergence curve of Experiment 1. (b) Convergence curve of Experiment 2.
Figure 14. Convergence curve results of real-world experiments. The fitness value represents the objective function evaluation. (a) Convergence curve of Experiment 1. (b) Convergence curve of Experiment 2.
Mathematics 11 03633 g014
Figure 15. Results of position trajectories and achieve formation pattern, in cartesian x y -plane of Experiment 1. The initial robot’s positions are identified with asterisk markers. m: meters. (a) Position trajectories of Experiment 1. (b) Achieved formation of Experiment 1.
Figure 15. Results of position trajectories and achieve formation pattern, in cartesian x y -plane of Experiment 1. The initial robot’s positions are identified with asterisk markers. m: meters. (a) Position trajectories of Experiment 1. (b) Achieved formation of Experiment 1.
Mathematics 11 03633 g015
Figure 16. Results of position trajectories and input control signals, along time of Experiment 1. m: meters, s: seconds. (a) Position trajectories of Experiment 1. (b) Input control signals of Experiment 1.
Figure 16. Results of position trajectories and input control signals, along time of Experiment 1. m: meters, s: seconds. (a) Position trajectories of Experiment 1. (b) Input control signals of Experiment 1.
Mathematics 11 03633 g016
Figure 17. Results of position trajectories and achieve formation pattern, in cartesian x y -plane of Experiment 2. The initial robot’s positions are identified with asterisk markers. m: meters. (a) Position trajectories of Experiment 2. (b) Achieved formation of Experiment 2.
Figure 17. Results of position trajectories and achieve formation pattern, in cartesian x y -plane of Experiment 2. The initial robot’s positions are identified with asterisk markers. m: meters. (a) Position trajectories of Experiment 2. (b) Achieved formation of Experiment 2.
Mathematics 11 03633 g017
Figure 18. Results of position trajectories and input control signals, along time of Experiment 2. m: meters, s: seconds. (a) Position trajectories of Experiment 2. (b) Input control signals of Experiment 2.
Figure 18. Results of position trajectories and input control signals, along time of Experiment 2. m: meters, s: seconds. (a) Position trajectories of Experiment 2. (b) Input control signals of Experiment 2.
Mathematics 11 03633 g018
Figure 19. Achieved formation pattern in the real-world implementation using Turtlebot3® Waffle Pi robots. Green lines approximate the reached formation pattern. Each number indicates the ith robot. (a) Achieved formation of Experiment 1. (b) Achieved formation of Experiment 2.
Figure 19. Achieved formation pattern in the real-world implementation using Turtlebot3® Waffle Pi robots. Green lines approximate the reached formation pattern. Each number indicates the ith robot. (a) Achieved formation of Experiment 1. (b) Achieved formation of Experiment 2.
Mathematics 11 03633 g019
Table 1. Optimization results of MMDE. The table reports the optimal k i j values. Moreover, f b e s t is the objective function evaluation at the final generation.
Table 1. Optimization results of MMDE. The table reports the optimal k i j values. Moreover, f b e s t is the objective function evaluation at the final generation.
Test k 12 k 13 k 14 k 23 k 24 k 34 f best
Simulation 13.90424.86381.99264.86381.99261.03561.7184 × 10 25
Simulation 21.03567.75654.86384.86387.75658.72431.5517 × 10 24
Table 2. Optimization results of MMDE in Experiment 1. The table reports the optimal k i j values. Moreover, f b e s t is the objective function evaluation at the final generation.
Table 2. Optimization results of MMDE in Experiment 1. The table reports the optimal k i j values. Moreover, f b e s t is the objective function evaluation at the final generation.
k 12 k 13 k 23 f best
0.94144.65143.71491.6435  × 10 34
Table 3. Optimization results of MMDE in Experiment 2. The table reports the optimal k i j values. Moreover, f b e s t is the objective function evaluation at the final generation.
Table 3. Optimization results of MMDE in Experiment 2. The table reports the optimal k i j values. Moreover, f b e s t is the objective function evaluation at the final generation.
k 12 k 13 k 14 k 15 k 23 f best
1.05632.09044.18252.09041.05631.1843 × 10 16
k 24 k 25 k 34 k 35 k 45
1.05631.05632.09044.18252.0904
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

Hernandez-Barragan, J.; Hernandez, T.; Rios, J.D.; Perez-Cisneros, M.; Alanis, A.Y. Edge-Weighted Consensus-Based Formation Control with Collision Avoidance for Mobile Robots Based on Multi-Strategy Mutation Differential Evolution. Mathematics 2023, 11, 3633. https://doi.org/10.3390/math11173633

AMA Style

Hernandez-Barragan J, Hernandez T, Rios JD, Perez-Cisneros M, Alanis AY. Edge-Weighted Consensus-Based Formation Control with Collision Avoidance for Mobile Robots Based on Multi-Strategy Mutation Differential Evolution. Mathematics. 2023; 11(17):3633. https://doi.org/10.3390/math11173633

Chicago/Turabian Style

Hernandez-Barragan, Jesus, Tonatiuh Hernandez, Jorge D. Rios, Marco Perez-Cisneros, and Alma Y. Alanis. 2023. "Edge-Weighted Consensus-Based Formation Control with Collision Avoidance for Mobile Robots Based on Multi-Strategy Mutation Differential Evolution" Mathematics 11, no. 17: 3633. https://doi.org/10.3390/math11173633

APA Style

Hernandez-Barragan, J., Hernandez, T., Rios, J. D., Perez-Cisneros, M., & Alanis, A. Y. (2023). Edge-Weighted Consensus-Based Formation Control with Collision Avoidance for Mobile Robots Based on Multi-Strategy Mutation Differential Evolution. Mathematics, 11(17), 3633. https://doi.org/10.3390/math11173633

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