International Journal of Aerospace Engineering

Volume 2016, Article ID 7657452, 8 pages

http://dx.doi.org/10.1155/2016/7657452

## Formation Control for Unmanned Aerial Vehicles with Directed and Switching Topologies

Department of Control Engineering, Naval Aeronautical and Astronautical University, Yantai 264000, China

Received 15 April 2016; Revised 2 August 2016; Accepted 15 August 2016

Academic Editor: Mahmut Reyhanoglu

Copyright © 2016 Yahui Qi et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Formation control problems for unmanned aerial vehicle (UAV) swarm systems with directed and switching topologies are investigated. A general formation control protocol is proposed firstly. Then, by variable transformation, the formation problem is transformed into a consensus problem, which can be solved by a novel matrix decomposition method. Sufficient conditions to achieve formation with directed and switching topologies are provided and an explicit expression of the formation reference function is given. Furthermore, an algorithm to design the gain matrices of the protocol is presented. Finally, numerical simulations are provided to illustrate the effectiveness of the theoretical results.

#### 1. Introduction

In the past decades, unmanned aerial vehicles (UAVs) have been widely used in civilian and military areas, such as surveillance and reconnaissance [1, 2] and target search and localization [3]. Since the performance of a team of UAVs working cooperatively exceeds the performance of individual UAVs, formation control of UAVs is of importance and has received a lot of attention.

The formation control of UAVs has been studied with many different methods, such as leader–follower [4], behavior [5], and virtual structure-based [6] approaches. Recently, with the development of consensus theory [7–15], some related methods are also used to deal with the formation control problems of UAVs. Consensus means that all agents reach a common state. The results in [16] show that consensus approaches can be used to deal with formation control problems, and leader–follower, behavior, and virtual structure-based formation control approaches are special cases of consensus-based approaches.

Based on consensus method, Abdessameud and Tayebi [17] proposed controllers for UAV swarm systems to achieve formation in the presence of communication delays. A consensus protocol together with an output feedback linearization method is presented in [18] such that the UAV swarm systems can achieve partially time-varying formation. Besides, indoor and outdoor flight experiments for quadrotor swarm systems to achieve formation by consensus approaches are carried out in [19] and [20], respectively. Based on consensus theory, we know that the achievement of formation depends on not only the individual UAV dynamics but also the structure of the networks between UAVs which can be modeled by directed and undirected graphs. However, the interaction topologies between UAVs in [19, 20] are assumed to be fixed. In practical applications, the interaction topologies of UAV swarm systems may be switching due to the fact that the communication channel may fail and new channels may be created during flight. Time-varying formation control for UAV swarm systems and high-order LTI systems with switching interaction topologies are studied by Dong [20, 21], but the topologies are assumed to be undirected. To the best of our knowledge, there is still work to do on formation control of UAV swarm systems with directed and switching topologies.

In this paper, we aim to solve the formation problem of UAV swarm systems with directed and switching topologies. Compared with the existing results, the assumptions of the communication topology are quite general. The remainder of this paper is organized as follows. In Section 2, some necessary concepts and useful results on graph theory are summarized and the problem formulation is given. Main theoretical results are proposed in Section 3. In Section 4, a numerical simulation is presented. Section 5 is the conclusion.

#### 2. Preliminaries and Problem Description

##### 2.1. Notations and Graph Theory

In this paper, the following notations will be used. and denote the set of real and complex matrices, respectively. For , the real part is . denotes the Kronecker product. is the identity matrix of order . For a square matrix , denotes the eigenvalues of matrix . () means that is positive definite (positive semidefinite). () denotes the largest (smallest) eigenvalue of the matrix .

A directed graph contains the vertex set , the directed edges set , and the adjacency matrix with nonnegative elements . if there is a directed edge from vertex to ; , otherwise. The Laplacian matrix of the graph is defined as , where and (). Zero is an eigenvalue of with the eigenvector . A directed graph is said to have a spanning tree if there is a vertex such that there is a directed path from this vertex to every other vertex.

Lemma 1 (see [8]). *Zero is a simple eigenvalue of and all the other nonzero eigenvalues have positive real parts if and only if the graph has a directed spanning tree.*

##### 2.2. Problem Description

Consider UAV swarm systems with UAVs. The interaction topology of the UAV swarm systems can be described by a directed graph , in which UAV can be denoted by a vertex and the interaction channel from UAV to UAV can be denoted by an edge. Compared with the attitude dynamics, the trajectory dynamics of each UAV have much larger time constants, which means the attitude controller and trajectory controller can be designed separately. On the formation level, only trajectory control needs to be considered. Therefore, in this brief, the dynamics of each UAV can be described by the following double integrator [18, 21, 22]: where , and denote the position and velocity vectors of UAV , respectively, and are the control inputs. In the following, for simplicity of description, it is assumed that , if not otherwise specified.

Therefore, UAV swarm systems (1) can be rewritten aswhere , , .

A formation is specified by a vector with () continuously differentiable and being the derivative of . Let and let ; then one has that if are not equal to zeros, the formation is time-varying.

*Definition 2 (see [21]). *UAV swarm systems (2) are said to achieve formation if there exists a function with being the derivative of such that where is called a formation center function.

In this paper, the communication topology is molded by a directed graph and we assume that the communication topology is time-varying. Let , , be the set of all possible directed topologies. We define the switching signal , where . denote the switching instants of . Let be the communication topology at time . stands for the corresponding Laplacian matrix of .

*Assumption 3. *Each possible graph is fixed and contains a directed spanning tree.

Let () be the eigenvalues of the Laplacian matrix . Without loss of generality, it is assumed that . Furthermore, from Lemma 1, one can obtain that and . Let .

Consider the following formation protocol:where , and are constant gain matrices, and is defined as in Section 2.1. Let , let , and let . Under protocol (4), the UAV swarm systems (2) can be written in a compact closed-loop form as follows:

This brief mainly investigates how to design the gain matrices in protocol (4) for the UAV swarm systems (5) to achieve the formation .

#### 3. Main Results

Let , . Then the UAV swarm systems can be rewritten as follows:

As for , one can obtain that

Thus (6) can be further rewritten as

It holds directly that UAV swarm systems (2) with directed and switching topologies achieve formation if and only if system (8) achieves consensus.

Before the consensus analysis of system (8), the following lemmas and definition are introduced.

Lemma 4 (see [23]). *For a Laplacian matrix of graph and a full row rank matrix defined asthere exists a matrix such that . Further, if the graph has a directed spanning tree, is of full column rank and the eigenvalues of are equal to the nonzero eigenvalues of .*

Lemma 5 (see [24]). *Suppose that the eigenvalues of have positive real parts; then there exists a positive definite matrix such that*

*Definition 6. *For a switching signal over time interval , the average dwell time of the switching signal is defined as , where denotes the number of the switches.

*Remark 7. *In [11, 25], the definition of the average dwell time of a switching signal over time interval can be described as follows. If there exist two positive numbers and such that , where denotes the number of the switches, is called the average dwell time. It is inaccurate to give the definition by an inequality, but, according to Definition 6, it can be seen that .

From Lemma 4, one can obtain that, for each , , there exists a matrix such that . Given Assumption 3 and Lemma 1, it can be known that the eigenvalues of each () have positive real parts. Based on Lemma 5, one can obtain that there exist positive definite matrices such that where . Further, one can obtain that

Let , , and let . One can obtain that , where is defined as in Lemma 4.

Premultiplying both sides of (8) by leads to where .

According to the definition of , it is obvious that if and only if . So if system (13) converges to zero, system (8) achieves consensus and UAV swarm systems (2) with directed and switching topologies achieve formation .

Theorem 8. *Suppose that Assumption 3 holds. The formation problem of UAV swarm systems (2) with directed and switching topologies can be solved by controller (4) if there exists a positive definite matrix such that where , , , , , and satisfies (12). The feedback matrix is designed as .*

*Proof. *Consider the following piecewise Lyapunov candidate of system (13):where is a solution of inequality (14) and are feasible solutions of (12).

Note that the communication topology is fixed for , . Then, the derivation of this Lyapunov candidate along the trajectory of system (13) within the interval is

Substituting into (16) yields

It then follows from (12) that

Based on (14), one has

Thus, from (15), one can obtain that

Note that the communication topology switches at ; then one can getwhere , , and .

Thus, when , from (20) and (21), one has

Since ,

From (15), one can obtain that where and .

According to (23) and (24), one has

Note that ; one has as . This means that the consensus problem of system (8) is solved. Furthermore, formation for UAV swarm systems (2) with directed and switching topologies is achieved.

Corollary 9. *If UAV swarm systems (2) achieve formation , the formation center function can be determined as follows:where is the left eigenvector of associated with eigenvalue and .*

*Proof. *From [7], there exists a left eigenvector of associated with eigenvalue 0 and . For , is fixed and so is .

Premultiplying both sides of (8) by results in

Based on Definition 2, one can obtain that

Premultiplying both sides by , one has

Therefore, a formation center function can be

It follows from (27) and (30) that

Thus, (26) can be obtained.

*Remark 10. *As can be seen, the formation center is discontinuous due to the switching of the communication topology. In addition, can be used to design the motion modes of the formation center function. If , protocol (4) becomes a totally distributed controller. has no effect on the formation center function.

*Remark 11. *Compared with [21, 22], the interaction topologies are more common. Formation for UAV swarm systems with directed and switching topologies is solved. Furthermore, the gain matrix was designed by solving an LMI, which is simpler than solving an algebraic Riccati equation in [22]. In fact, undirected topologies are just special cases of directed topologies. So the algorithms presented in this paper are applicable to those cases in [21, 22].

Based on the above results, a design procedure of protocol (4) can be summarized as follows. First, choose to design the motion modes of the formation center by assigning the eigenvalues of . Then design using the conclusion of Theorem 8.

#### 4. Examples

In this section, we provide an example to illustrate the effectiveness of the above theoretical results. UAV swarm systems consisting of four agents are considered. The system matrices are defined as where , , , and stand for east position, east velocity, north position, and north velocity. The directed communication topologies are given in Figure 1. Clearly, each topology contains a directed spanning tree. The switching signal is shown in Figure 2.