Research Article | Open Access

Yahui Qi, Shaolei Zhou, Yuhang Kang, Shi Yan, "Formation Control for Unmanned Aerial Vehicles with Directed and Switching Topologies", *International Journal of Aerospace Engineering*, vol. 2016, Article ID 7657452, 8 pages, 2016. https://doi.org/10.1155/2016/7657452

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

**Academic Editor:**Mahmut Reyhanoglu

#### 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.

Thus, we can obtain and then choose . Further, we can get that , , and . From Figure 2, we can get that the average dwell time is 1.25 s and then choose .

Assign the eigenvalues of at ; we get

Solve LMI (14) with and ; a feasible solution can be obtained. Accordingly, we can get

Choose the following time-varying formation:

If is achieved, both the positions and velocities of the four UAVs locate at the vertexes of a rotating parallelogram, respectively. Choose initial states of four UAVs as , , , and .

Figure 3 shows the trajectories of the difference of UAV states and time-varying formation, which are denoted by solid line, dotted line, dash-dotted line, and dashed line. And the bold dotted line denotes the formation center trajectory. It is obvious that the differences achieve consensus after about s and converge to the formation center. From Definition 2, one can obtain that the time-varying formation problem is solved. Figure 4 shows the snapshots of four UAV positions at different time. It can be seen that, after s, the UAV swarm systems achieve a time-varying parallelogram formation. Therefore, the time-varying formation is achieved under the directed and switching topologies.

**(a) East position**

**(b) East velocity**

**(c) North position**

**(d) North velocity**

**(a) = 4 s**

**(b) = 6 s**

**(c) = 8 s**

**(d) = 10 s**

#### 5. Conclusions

Formation problems for UAV swarm systems with directed and switching topologies are studied. The average dwell time of the switching topologies is introduced, based on which an LMI-based method to design the protocol is proposed. Though the UAV swarm systems can achieve the specified formation with the presented method, there are still problems in real application. As mentioned in Assumption 3, each of the switching topologies is supposed to have a spanning tree, which may not be applicable, so there is still work to do in our future work.

#### Competing Interests

The authors declare that they have no competing interests.

#### References

- T. Kopfstedt, M. Mukai, M. Fujita, and C. Ament, “Control of formations of UAVs for surveillance and reconnaissance missions,” in
*Proceedings of the 17th IFAC World Congress*, pp. 6–11, Seoul, South Korea, July 2008. View at: Publisher Site | Google Scholar - N. Nigam, S. Bieniawski, I. Kroo, and J. Vian, “Control of multiple UAVs for persistent surveillance: algorithm and flight test results,”
*IEEE Transactions on Control Systems Technology*, vol. 20, no. 5, pp. 1236–1251, 2012. View at: Publisher Site | Google Scholar - D. Pack, P. DeLima, G. Toussaint, and G. York, “Cooperative control of UAVs for localization of intermittently emitting mobile targets,”
*IEEE Transactions on Systems, Man, and Cybernetics B*, vol. 39, no. 4, pp. 959–970, 2009. View at: Publisher Site | Google Scholar - Z. Lin, W. Ding, G. Yan, C. Yu, and A. Giua, “Leader-follower formation via complex Laplacian,”
*Automatica*, vol. 49, no. 6, pp. 1900–1906, 2013. View at: Publisher Site | Google Scholar | MathSciNet - T. Balch and R. C. Arkin, “Behavior-based formation control for multirobot teams,”
*IEEE Transactions on Robotics and Automation*, vol. 14, no. 6, pp. 926–939, 1998. View at: Publisher Site | Google Scholar - M. A. Lewis and K.-H. Tan, “High precision formation control of mobile robots using virtual structures,”
*Autonomous Robots*, vol. 4, no. 4, pp. 387–403, 1997. View at: Publisher Site | Google Scholar - W. Ren and E. Atkins, “Distributed multi-vehicle coordinated control via local information exchange,”
*International Journal of Robust and Nonlinear Control*, vol. 17, no. 10-11, pp. 1002–1033, 2007. View at: Publisher Site | Google Scholar | MathSciNet - W. Ren, “On consensus algorithms for double-integrator dynamics,”
*IEEE Transactions on Automatic Control*, vol. 53, no. 6, pp. 1503–1509, 2008. View at: Publisher Site | Google Scholar | MathSciNet - Z. Li, Z. Duan, G. Chen, and L. Huang, “Consensus of multiagent systems and synchronization of complex networks: a unified viewpoint,”
*IEEE Transactions on Circuits and Systems. I. Regular Papers*, vol. 57, no. 1, pp. 213–224, 2010. View at: Publisher Site | Google Scholar | MathSciNet - S. Su and Z. Lin, “Distributed consensus control of multi-agent systems with higher order agent dynamics and dynamically changing directed interaction topologies,”
*IEEE Transactions on Automatic Control*, vol. 61, no. 2, pp. 515–519, 2016. View at: Google Scholar | MathSciNet - I. Saboori and K. Khorasani, “${H}_{\infty}$ consensus achievement of multi-agent systems with directed and switching topology networks,”
*IEEE Transactions on Automatic Control*, vol. 59, no. 11, pp. 3104–3109, 2014. View at: Publisher Site | Google Scholar | MathSciNet - Y. Zhu, C. Chen, X. Guan, and X. Luo, “Finite-time consensus of leader-follower multi-agent systems with fixed and switching topologies,” in
*Proceedings of the 11th World Congress on Intelligent Control and Automation (WCICA '14)*, pp. 226–231, Shenyang, China, July 2014. View at: Publisher Site | Google Scholar - Y. Su and J. Huang, “Stability of a class of linear switching systems with applications to two consensus problems,”
*IEEE Transactions on Automatic Control*, vol. 57, no. 6, pp. 1420–1430, 2012. View at: Publisher Site | Google Scholar | MathSciNet - G. Wen, W. Yu, J. Cao, G. Hu, and G. Chen, “Consensus control of switching directed networks with general linear node dynamics,” in
*Proceedings of the 9th Asian Control Conference (ASCC '13)*, pp. 1–6, IEEE, Istanbul, Turkey, June 2013. View at: Publisher Site | Google Scholar - G. Wen and V. Ugrinovskii, “Distributed consensus of linear multi-agent systems with switching directed topologies,” in
*Proceedings of the Australian Control Conference*, pp. 146–151, IEEE, Canberra, Australia, November 2014. View at: Google Scholar - W. Ren, “Consensus strategies for cooperative control of vehicle formations,”
*IET Control Theory & Applications*, vol. 1, no. 2, pp. 505–512, 2007. View at: Publisher Site | Google Scholar - A. Abdessameud and A. Tayebi, “Formation control of VTOL unmanned aerial vehicles with communication delays,”
*Automatica*, vol. 47, no. 11, pp. 2383–2394, 2011. View at: Publisher Site | Google Scholar | MathSciNet - J. Seo, Y. Kim, S. Kim, and A. Tsourdos, “Consensus-based reconfigurable controller design for unmanned aerial vehicle formation flight,”
*Proceedings of the Institution of Mechanical Engineers, Part G: Journal of Aerospace Engineering*, vol. 226, no. 7, pp. 817–829, 2012. View at: Publisher Site | Google Scholar - M. Turpin, N. Michael, and V. Kumar, “Decentralized formation control with variable shapes for aerial robots,” in
*Proceedings of the IEEE International Conference on Robotics and Automation (ICRA '12)*, pp. 23–30, IEEE, St. Paul, Minn, USA, May 2012. View at: Publisher Site | Google Scholar - B. Yu, X. Dong, Z. Shi, and Y. Zhong, “Formation control for quadrotor swarm systems: algorithms and experiments,” in
*Proceedings of the 32nd Chinese Control Conference (CCC '13)*, pp. 7099–7104, Xi'an, China, July 2013. View at: Google Scholar - Y. Zhou, X. Dong, G. Lu, and Y. Zhong, “Time-varying formation control for unmanned aerial vehicles with switching interaction topologies,” in
*Proceedings of the International Conference on Unmanned Aircraft Systems (ICUAS '14)*, pp. 1203–1209, Orlando, Fla, USA, May 2014. View at: Publisher Site | Google Scholar - X. Dong, B. Yu, Z. Shi, and Y. Zhong, “Time-varying formation control for unmanned aerial vehicles: theories and applications,”
*IEEE Transactions on Control Systems Technology*, vol. 23, no. 1, pp. 340–348, 2015. View at: Publisher Site | Google Scholar - S. Zhou, W. Liu, Q. Wu, and G. Yin, “Leaderless consensus of linear multi-agent systems: matrix decomposition approach,” in
*Proceedings of the 7th International Conference on Intelligent Human-Machine Systems and Cybernetics (IHMSC '15)*, pp. 327–331, Hangzhou, China, August 2015. View at: Publisher Site | Google Scholar - C. T. Cben,
*Linear System Theory and Design*, Holt, Rinehart and Winston, Inc, New York, NY, USA, 1970. - D. Liberzon,
*Switching in Systems and Control*, Birkhauser, Boston, Mass, USA, 2003. View at: Publisher Site | MathSciNet

#### Copyright

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.