1. Introduction
Formation control is one of the most leading research areas in robotics. It has been extensively studied by researchers around the world on different platforms: mobile robots, aerial robots, spacecraft, and autonomous surface and underwater vehicles [
1,
2,
3,
4,
5,
6,
7,
8].
In the literature, formation control approaches can be classified into three basic strategies: leader-following, behavior-based, and virtual structure. In the leader–follower approach [
9,
10,
11], some agents are considered as leaders, while others act as followers which track the leaders with predefined offset. However, the leader’s motion is independent of the followers. When a follower fails, the leader will keep on moving as predefined and results in the break of the formation shape. In the behavior approach [
12,
13,
14], several reactive behaviors are prescribed (e.g., move-to-goal, avoid-robot, avoid-static-obstacles, and maintain-formation). The action of each agent is derived by a weighted sum of all the behaviors. The main problem with this approach is that it is difficult to formalize the group mathematically and the team of agents is not guaranteed to converge to the desired formation configuration. The virtual linkage approach considers the entire formation as a single rigid body and is able to maintain the formation shape in high precision during manoeuvers [
15,
16,
17]. Perhaps the main criticism of the virtual structure approach is that it has poor reconfiguration ability and needs to refresh the relative positions of all the team members when a different formation pattern changes.
Although these three approaches have been used in many applications, they focus more on maintaining a specified formation pattern throughout a task and few studies address the effects of formation reconfiguration. However, situations also exist where different formation patterns are needed, for example, a group of agents might need to reconfigure into different patterns to go through a gallery. A reconfigurable formation control method named virtual linkage is proposed by the authors in Reference [
18]. Instead of treating the whole formation as a single rigid body, as in the virtual structure, the virtual linkage approach considers the formation as a mechanical linkage which is a collection of rigid bodies connected by joints. A virtual linkage is defined as an assembly of virtual structures (named “virtual link”) connected by virtual joints. By coordinating the value of each virtual joint, the virtual linkage approach is able to reconfigure a group of agents into different formation shapes.
Currently, the virtual linkage approach uses hierarchical architecture. In detail, the states of the virtual linkage are implemented in a virtual linkage server and broadcast to all the virtual link servers. Each virtual link’s state is in turn calculated in the corresponding virtual link server and transmits to all its virtual link members. The principal limitation of this hierarchical architecture is that it does not scale well with the number of agents in the team. In addition, due to the communication range limitations, the virtual linkage server might lose communication with some virtual link servers when the agent group covers a large area. A possible way to solve these drawbacks is to use decentralized architecture in which each agent runs a consensus strategy and totally decides its moving action with communication with parts of the members.
The concept of consensus is an important idea in control and information theory, and it has been applied to the formation control of multiple agents [
2,
16,
19,
20,
21]. The basic idea of a consensus algorithm is that each agent updates its state’s information only based on its neighbors’ state’s information and finally enable the convergence of all the agent’s state’s information.
The main contribution of this paper is the decentralization of the virtual linkage approach via consensus strategies. Motivated by the pros and cons of the virtual linkage approach and consensus algorithm, a decentralized virtual linkage approach is presented in this paper. Instead of using hierarchical architecture, the proposed method instantiates a local copy of the virtual linkage’s state implements the same consensus algorithm on each agent to facilitate the reconfigurable formation control of a team of agents. The decentralized virtual linkage approach has several advantages as compared to the original virtual linkage approach. First, the decentralized architecture overcomes the limitations of the hierarchical architecture. In details, this approach scales well with the number of agents in the group and only requires each agent to communicate with its local neighbors. Second, with the introduction of expansion/contraction rates for each virtual link, this approach has a stronger reconfiguration ability than the traditional virtual linkage approach.
The paper is organized as follows. In
Section 2, the preliminary knowledge is presented.
Section 3 illustrates the control strategy for the formation movement. Simulation results are in
Section 4. Finally, in
Section 5, some concluding remarks of this paper are given.
2. Problem Statement
2.1. Virtual Linkage
The virtual linkage is a reconfigurable formation control method proposed by the authors in Reference [
18]. The main idea of virtual linkage is to consider the entire formation as a mechanical linkage which is a collection of rigid bodies connected by joints. It can be defined as a collection of virtual structures connected by virtual joints. Instead of specifying each agent’s desired position relative to a single reference frame, as in the virtual structure, the virtual linkage approach tells each agent the virtual link it belongs to and the relative position in the corresponding virtual link. In this way, the designed virtual linkage can be reconfigured into different formation patterns by coordinating the value of each virtual joint.
Definition 1 (Virtual Joints [18]).A virtual joint is a connection between two virtual structures and imposes constraints on their relative movement. Definition 2 (Virtual Linkage (VL) [18]).A virtual linkage is an assembly of virtual structures (named “virtual link”) connected by virtual joints. Figure 1 shows the comparison of an intuitive example of a virtual linkage. Three agents are designed into a virtual linkage composed of two virtual links. They are able to be configured into line formation and arrow formation by only changing the virtual joint angle.
2.2. Architecture of the Previous Virtual Linkage
Figure 2 shows the hierarchical architecture of the original virtual linkage approach proposed in Reference [
18]. The states of the virtual linkage are implemented in a virtual linkage server and broadcast to all the virtual link servers. Each virtual link’s state is in turn calculated in the corresponding virtual link server and transmits to all the virtual link members. As can be seen in
Figure 2, there is a demand for the virtual link server
to exchange message with all the agents which belong to the corresponding virtual link. Meanwhile, the virtual linkage server
also has to communicate with all the virtual link servers. The disadvantages of this hierarchical architecture lie in two aspects. First, it does not scale well with the number of agents in the team with limited communication bandwidth. Second, the virtual linkage server might lose communication with some virtual link servers when the agent group covers a large area.
2.3. Preliminaries of Digraphs and Consensus
To implement the decentralized formation control, the communication topology among a group of agents is represented as a diagraph . In detail, is a set of agents and are called as nodes. is a set of unordered pair of nodes and called as edge. If is an edge of the diagraph, then information flow from to is allowed and , are neighbors. Especially, self-loop edges in the form are not allowed. Another way to represent is called the adjacency matrix . The elements equals 1 if there exists an edge , otherwise .
Theorem 1 (Consensus algorithm [22]).Letbe the adjacency matrix, whereonce the agent j’s formation state estimate is available to agentand 0 otherwise.1 if agenthas knowledge of reference valueand 0 otherwise, and 0. Then the consensus algorithm
guarantees that , asymptotically if and only if the graph of has a directed spanning tree.
2.4. Agent Model
In this paper, a group of n fully actuated agents is considered. The agents are assumed to know their position in a global coordinate frame and can move in any direction with any specified velocity. The model of the agent is considered as follows:
where
and
are the position coordinate and control input of the
kth agent respectively.
3. Decentralization of Virtual Linkage Approach
This section illustrates the decentralization of virtual linkage approach. First, the decentralized architecture is introduced to illustrate the advantages as compared to the hierarchical architecture. Then the consensus formation control is presented to enable each agent to decide its movement independently with only exchanging state information with its local neighbors.
3.1. Decentralized Coordination Architecture
In this paper, instead of using hierarchical architecture in which the desired destination of each agent is informed by the corresponding virtual link server, a decentralized architecture is adopted in the proposed approach. As compared to the hierarchical architecture, there does not exist virtual linkage and virtual link servers, each agent only needs to exchange information with its local neighbors.
Figure 3 shows the architecture diagram of the proposed decentralized virtual linkage approach. Each agent instantiates a local copy of consensus module, denoted as
. The consensus module
is responsible for calculating the instantiation of virtual linkage states
for the
ith agent, with the inputs of instantiations of virtual linkage states
produced by its local neighbors. The main aim of consensus module is to drive each instantiation of virtual linkage state to converge into the desired states
.
The states of the virtual linkage are defined as a coordination variable , where and are the desired position and attitude of the virtual linkage’s reference frame, respectively, is the desired virtual joint angles, where is the number of virtual links in the virtual linkage. In addition, is a vector which represents the expansion rates of all virtual links. The benefit of introducing lies that a group of agents is able to reconfigure into more formation shapes since the length and width of each virtual link can be specified now.
3.2. Consensus Control
3.2.1. Implication of Consensus of Virtual Linkage’s State
As mentioned above, each agent has an instantiation of virtual linkage states and the consensus module implement consensus strategies to ensure each instantiation converge into the desired value. In this part, the implication of is illustrated.
In the virtual linkage approach, each agent is specified with a vector before task. The is the ID number of virtual link which the ith agent belongs to, and is the ith agent’s relative position in the th unit virtual link. Meanwhile, each agent is randomly initialized with a . With knowing the and , each agent now is able to calculate its global position in the world.
Note that each
corresponds to a state of the virtual linkage (See
Figure 4). The consensus module will ensure all the
converge into a common value
The team of agents forms virtual linkages and moves in desired formation shapes along a specified path. Note that the formation pattern can be easily reconfigured by reconfiguring the coordinate variable .
3.2.2. Consensus Module
With the previous section, each agent now is initialized with a
. This part aims to design a consensus law and drive
to the desired value
. Here, the consensus tracking algorithm in Reference [
22]
is directly used, where
are the elements of the adjacency matrix
and
. The consensus law consists of two parts. The first term uses the information of its neighbors to make all the
converge into a common value which leads to the desired formation shape. The existence of the second term is to make formation move along the desired path
. For a connected graph, consensus to the reference value is guaranteed [
22].
3.3. Local Control of Each Agent
After each agent has calculated the
, then each agent is able to update the value of
using Equation (5). Note that
represents the expansion/contraction rates of each virtual link along their coordinate frame’s axis (See Equation (6)).
Figure 5 shows the geometry definition of the virtual linkage. The position of a specified agent can be calculated using manipulation kinematics in Equation (7). Here,
is the relative position of Agent
i in the corresponding virtual link
j which it belongs to
Finally, the desired absolute position is passed onto the local controller to position the vehicle. Each agent is supposed to know its own position
, and the consensus control algorithm in Reference [
22]
is used, where
are the elements of the adjacency matrix
. For a connected graph, consensus to the reference value is guaranteed.
4. Simulation and Results
In this section, the proposed decentralized virtual linkage approach is applied to a multi-agents’ formation control scenario using MATLAB. In the scenarios, nine agents are required to move around a circle while maintaining line formation shapes with a uniform distance of 0.1 m or performing formation reconfigurations by coordinating the desired virtual joint angles and the virtual linkage extract/expansion rates .
4.1. Simulation Setup
In the scenarios, nine agents are designed as a virtual linkage which consists of two virtual links (See
Figure 6) and move around a circle with a radius of 1 m in 10 s. The states of
for each agent is predefined with Equations (9) and (10).
Recall that
is the representation of the
th point in the
th virtual link coordinate frame. The nine agents are initialized with:
Meanwhile, each agent has an instantiation of virtual linkage states
and is initialized as:
Moreover, there does not exist leader selection for each virtual link.
Figure 7 shows the communication topologies used for these two simulations. Notice that apart from agent 2, each agent only needs to exchange
and its own position
with its two neighbors.
Initially, the nine agents are required to align in a line formation with a uniform distance of 0.1 m. Then different formation shapes are reconfigured by coordinating the virtual joint angles and the virtual linkage extract expansion rates . It is worth mentioning that instead of refreshing the relative positions of all the agents, the virtual linkage approach can be reconfigured into different shapes by only changing and .
In the following simulations, the required trajectory and formation shapes are specified by:
4.2. Formation Moving Using Decentralized Virtual Linkage
In this section, the nine agents are required to align in a line formation with a uniform distance of 0.1 m and move around a circle with a radius of 1 m in 100 s. To perform such tasks, the trajectory of the virtual linkage is specified:
Meanwhile, the attitude of the virtual linkage can be expressed as the angle from the
direction of the virtual link1 to the world coordination frame
direction and is also specified as a function of time
Using the virtual linkage approach, the nine agents are able to maintain a line formation with a uniform distance of 0.1 m by specifying:
Figure 8 shows the snapshots during the simulation for 100 s.
Figure 9a,b show the reference state and desired trajectory of the virtual linkage defined in Equations (13)–(16). The individual elements of each
are plotted in
Figure 9c–h respectively. As can be seen from the figures, the nine random initialized
finally converge into reference state defined in Equations (13)–(16). Recall the implication of virtual linkage states
illustrated in
Section 3.2.1 in which the convergence of
indicates that the nine agents finally forms a specified virtual linkage and moves in desired formation shapes along the specified path. Therefore, the simulation results indicate the effectiveness of moving in formation using the virtual linkage approach.
4.3. Formation Reconfiguration Using Decentralized Virtual Linkage Approach
In this part, formation reconfiguration simulation is performed to show the virtual linkage approach’s reconfiguration ability by coordinating the desired virtual joint angle and expansion/contraction vector .
In the original virtual linkage approach [
18], the designed virtual linkage is able to present different formation shapes by coordinating the desired virtual joint angle
. Moreover, an expansion/contraction vector
is introduced in this decentralized virtual linkage approach to enable the designed virtual linkage to be reconfigured into more formation patterns, as compared to the hierarchical virtual linkage approach. In this simulation, the group of agents is designed as the virtual linkage defined in Equations (9) and (10) and move along the trajectory in Equations (13) and (14). The
and
are specified as Equations (17) and (18) to illustrate the formation reconfiguration ability.
Figure 10 shows the snapshots during the simulation for 100 s. As can be seen, the team of agents move around a circle with varying formation patterns. It is worth noting that the two virtual links have different lengths at each moment during the simulation, which indicates that the introduction of
has provided a stronger reconfiguration ability to the virtual linkage approach.
Figure 11a,b report the reference state and desired trajectory of the virtual linkage defined in Equations (13), (14), (17) and (18). The individual elements of each
are plotted in
Figure 11c–h, respectively. As can be seen from the figures, the nine random initialized
finally converge into the same value, which indicates that the nine agents finally form a specified virtual linkage and move in desired formation shapes along the specified path. Notice that
and
of each
track well with the varying function. Recall that a virtual linkage can reconfigure into different formation patterns by changing the joint anglesand extracting/expanding each link with the scale factor
. Thus, the simulation results indicate the effectiveness of formation reconfiguration using the proposed decentralized virtual linkage approach. What is important for us to recognize here, is the coordinate variable
in the proposed approach can be arbitrarily set, which provides great potential to perform complicated tasks. For example, when a group of agents is required to go through a gallery, the desired trajectory and varying formation shapes (
) can be solved by plan method.
5. Comparison with Hierarchical Virtual Linkage Approach
In this section, the advantages of the proposed decentralized virtual linkage approach are illustrated through the comparison with the hierarchical virtual linkage approach and the performance is discussed.
5.1. Role Assignments
The detailed architecture of the hierarchical virtual linkage approach when performing the same simulation in
Section 4.2 are presented in
Figure 12. In the hierarchical virtual linkage approach, there exist virtual link/linkage servers which handle part of the formation control and communicate with part of agents. In reality, the virtual link/linkage server can be implemented in a specified agent, which implies there exist some agents (virtual link/linkage server) which need to perform the formation control computations. However, other agents only need to communicate with their corresponding virtual link server and move according to the states of the corresponding virtual link. In conclusion, there exist different kinds of agents which play different roles and need extra role assignments in the previous approach.
In the decentralized virtual linkage approach, there does not need to be extra role assignment in
Figure 3 since all the agents run the same formation control algorithm in Equations (4) and (8).
5.2. Scalability
As described in
Section 3.1, each agent can completely decide its movement and only exchange states with its local neighbors. To verify the scalability of the proposed approach, five agents are required to align in a line formation with a uniform distance of 0.1 m and perform the same simulation task in
Section 4.2 using the proposed decentralized virtual linkage approach.
To perform such a task, a virtual linkage which also consists of two virtual links is designed as follows:
The extract/expansion rate is set as
.
Figure 13 shows the designed virtual linkage and communication topologies used for this simulation.
Figure 14 shows the snapshot during the simulation.
Recall that in
Figure 3, each agent exchanges its own understanding of virtual linkage states
and the individual tracking error
with its neighbors. Supposing 6
K bits are required to encode each instantiation of virtual linkage
, 2
K bits for individual tracking error
, then each agent only needs exchange these 8
K bits message with its neighbors. If an agent has
M neighbors and communicates with them for every period of time
T and then the required bandwidth in units of bits per second is:
The maximum communication bandwidth
in this five agents involved simulation occurs in agent 2, since it has three neighbors (See
Figure 13b):
Meanwhile, nine agents are involved in the simulation in
Section 4.2, the maximum communication bandwidth also occurs in agent 2:
It is worth noting that, the maximum communication bandwidth in the team is determined by the maximum number of agents’ neighbors and does not increase with the number of agents in the group.
In contrast to the decentralized virtual linkage approach, the hierarchical virtual linkage approach does not scale well with the number of agents. As illustrated in Reference [
18], the maximum communication bandwidth increases with the number of agents in the team. The results indicate that the proposed decentralized virtual linkage approach is more suitable for situations when a large number of agents and/or limited communication are involved.
5.3. Reconfiguration Ability
As compared to the virtual structure approach, an important property of the hierarchical virtual linkage approach is that it can reconfigure the group of agents into different formation patterns by coordinating the value of virtual joint angles. To evaluate the reconfiguration ability of the virtual linkage approach, the definition of reconfiguration space is proposed:
Definition 3 (Reconfiguration Space).In virtual linkage approach, the reconfiguration space is defined as the set of formation configuration that can be realized by the designed virtual linkage model. In other words, it corresponds to the formation patterns to which the designed virtual linkage can be reconfigured.
To compare the reconfiguration ability between the original and proposed approach, the reconfiguration spaces of these two approaches are evaluated. In the proposed approach, instead of using
to control the designed behavior of the team like the hierarchical virtual linkage approach (See
Figure 12),
is used as the coordinate variable. Meanwhile, each agent
i record its relative percentage position
in the corresponding virtual link
j rather than the relative position
. The benefit of this is that the virtual linkage is now able to extract/expansion the virtual link using Equation (6), which facilitates the reconfiguration ability of the proposed virtual linkage.
In detail, the reconfiguration spaces of the hierarchical and decentralized approaches are denoted as
and
respectively. Recall that
are the predefined trajectory and attitude of the virtual linkage, the formation pattern is only determined by the vectors
and
. Then the
and
can be expressed as vector spaces:
It is worth noting that
can be seen a special case of
when
and the decentralized approach has stronger reconfiguration ability than the hierarchical approach since
Figure 15 shows an intuitive way of illustrating the stronger reconfiguration ability by introducing the scale factor
. In the original approach, the designed virtual linkage corresponds to a mechanical linkage which has fixed length and width and is only able to reconfigure into different shapes by coordinating the joint angles. However, proposed approach enables each virtual link to extract/expansion its length and width by introducing the scale factor
, which allows the mechanical linkage to reconfigure into more shapes by extracting/expanding each link and changing the joint angles simultaneously.
6. Conclusions
In this paper, the decentralized virtual linkage approach is presented. Instead of using a hierarchical architecture, as with the original virtual linkage approach, the proposed approach uses decentralized architecture in which each agent can independently determine its movement with only the exchange of state information with its local neighbors. The simulation results show the effectiveness of the decentralized virtual linkage approach. There are several advantages as compared with the original virtual linkage approach. First, the proposed approach uses decentralized architecture rather than hierarchical architecture, which does not require role assignments in each virtual link. In detail, there does not exist an agent which needs to exchange with all the agent members in the same virtual link. Meanwhile, each agent can completely decide its movement with only the exchange of states with its local neighbors, which makes this approach more suitable for situations when a large number of agents and/or limited communication are involved. Last but not least, the reconfiguration ability is enhanced in this approach by introducing the scale factor .
In future work, more attention will be paid to the formation feedback of the virtual linkage approach. Furthermore, the dynamical formation pattern generation and route planning for unknown environments is also an attractive direction and is worth researching.