Next Article in Journal
Research on Cavitation Characteristics of Two-Throat Nozzle Submerged Jet
Next Article in Special Issue
UAV-Cooperative Penetration Dynamic-Tracking Interceptor Method Based on DDPG
Previous Article in Journal
An Inductively Coupled Plasma Optical Emission Spectrometric Method for the Determination of Toxic and Nutrient Metals in Spices after Pressure-Assisted Digestion
Previous Article in Special Issue
Fully Distributed Control for a Class of Uncertain Multi-Agent Systems with a Directed Topology and Unknown State-Dependent Control Coefficients
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Formation Control Technology of Fixed-Wing UAV Swarm Based on Distributed Ad Hoc Network

1
AVIC Xi’an Flight Automatic Control Research Institute, Xi’an 710076, China
2
School of Astronautics, Northwestern Polytechnical University, Xi’an 710072, China
3
Science and Technology on Complex System Control and Intelligent Agent Cooperation Laboratory, Beijing 100074, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(2), 535; https://doi.org/10.3390/app12020535
Submission received: 30 November 2021 / Revised: 20 December 2021 / Accepted: 30 December 2021 / Published: 6 January 2022

Abstract

:
The formation control technology of the unmanned aerial vehicle (UAV) swarm is a current research hotspot, and formation switching and formation obstacle avoidance are vital technologies. Aiming at the problem of formation control of fixed-wing UAVs in distributed ad hoc networks, this paper proposed a route-based formation switching and obstacle avoidance method. First, the consistency theory was used to design the UAV swarm formation control protocol. According to the agreement, the self-organized UAV swarm could obtain the formation waypoint according to the current position information, and then follow the corresponding rules to design the waypoint to fly around and arrive at the formation waypoint at the same time to achieve formation switching. Secondly, the formation of the obstacle avoidance channel was obtained by combining the geometric method and an intelligent path search algorithm. Then, the UAV swarm was divided into multiple smaller formations to achieve the formation obstacle avoidance. Finally, the abnormal conditions during the flight were handled. The simulation results showed that the formation control technology based on distributed ad hoc network was reliable and straightforward, easy to implement, robust in versatility, and helpful to deal with the communication anomalies and flight anomalies with variable topology.

1. Introduction

The fixed-wing UAV swarm has essential application prospects and has become a current research hotspot. Completing combat missions such as coordinated reconnaissance, early warning, strike, and evaluation in the military field; and realizing disaster emergency, geological survey, and pesticide-spraying tasks in the civilian field [1,2,3,4]. Formation control is one of the key issues to achieve UAV swarm flight [5,6]. Its primary con-tents include formation maintenance, formation switching, formation obstacle avoidance, and exception handling. The distributed wireless ad hoc network [7] is the core of realizing the cluster unmanned system [8]. The formation control based on the distributed ad hoc network can better reflect the distributed, networked, and centerless characteristics of the cluster system, which is the future development trend of cluster control.
The formation control technology for UAV swarm behavior has been extensively studied. Wang [9] proposed the leader–follower method. Its basic idea is that other UAVs follow a leader UAV as followers. Luo et al. [10] and Gu et al. [11] also adopted the leader–follower method to design a control method for the leader and followers in the formation. CamPa et al. [12], based on the leader–follower method, proposed a virtual leader method. Its main idea was to treat the formation of a multi-UAV formation as a rigid virtual structure. When the formation moved as a whole, the UAV only needed to track the movement of the fixed point corresponding to the rigid body. Li and Liu [13] designed a synchronized position tracking controller to improve the effectiveness of using a virtual structure method to maintain formation geometry. Yun and Albayrak [14] applied behavior-control methods to study the formation of multiplatform formations, such as linear formation and circular formation. Chen and Luh [15] applied behavior-control methods to achieve the purpose of object transportation. Ginlietti et al. [16] used behavior methods to define the concept of the formation geometric center. When flying in formation, each aircraft needs to maintain a prescribed distance from the geometric center, and be able to perceive the movements of other aircraft and reconstruct the formation, similar to the behavior of migratory birds in nature. Joongbo et al. [17] proposed a feedback linearization method based on consistency for multi-UAV systems to maintain a specific time-varying formation flight geometry. Glavas et al. [18] applied the consistency research strategy to study the situation when there were random communication noise and information packet loss constraints in the network, and used the polygon method based on information exchange to achieve formation control. Yasuhiro and Toru [19] studied the cooperative control problem of multi-UAV systems, and proposed a cooperative formation control strategy with collision-avoidance capability using decentralized model predictive control (MPC) and consensus-based control. Zhao et al. [20] studied the problem of formation control of multiaircraft formation with time-varying formation characteristics when there was a spanning tree in the network topology based on the consistency theory, and obtained the stability conditions of the system. Dong et al. [21] designed a distributed formation controller based on the consistency theory, proving that as long as the network topology was guaranteed to have directional strong connectivity, even if the aircraft was lost during the formation flight, the multiaircraft system could still achieve stable formation control. Seo et al. [22] designed a consistent control protocol for the situation in which the network topology had fixed connectivity, and studied the problem of cooperative formation control of multiaircraft systems forming geometric formations. Tang et al. [23] used evolutionary control theory to complete distributed collaborative control of UAV formations. He and Lu [24] proposed a decentralized design method based on a UAV distributed-formation maintenance controller, decomposing the UAV formation model into decoupled parts and associated parts using robust control methods, and improved the distributed control method of the associated system designs of the controller to control the UAV formation flying. However, most of the research content was based on the formation controller design coupled with the UAV’s underlying control system. It was assumed that the UAV had a three-channel autopilot and had the ability of instantaneous response [25]. These assumptions made it difficult to apply the formation algorithm to an actual UAV swarm control. Furthermore, the research content was insufficient in the control algorithm of real flight environments such as network topology jump, communication delay, and even weak communication.
Based on the consistency theory, this paper proposes a method for formation switching and obstacle avoidance based on waypoint planning for the problem of formation control of a fixed-wing UAV swarm in a distributed ad hoc networks. The organizational structure of the paper is as follows. The first part gives a general description of the problem of a fixed-wing UAV swarm formation in a distributed ad hoc network; the second part proposes a method for switching the formation of the UAV swarm based on the consistency theory; the third part designs a UAV swarm formation obstacle avoidance algorithm; the fourth part deals with the problems of flight abnormality and communication abnormality of the UAV swarm during the flight; the fifth part simulates and verifies the formation switching of the UAV swarm, the formation obstacle avoidance, and handling of anomalies during the flight; the sixth part analyzes and discusses the results; and finally, the seventh part summarizes the article.

2. Problem Formulation

This paper focuses on two critical problems of formation switching and formation obstacle avoidance in a distributed ad hoc network for UAV swarm formation control.
Definition 1.
Formation switch in distributed ad hoc network.
For n UAV, given an initial position X i ( 0 ) of UAV i , a UAV swarm forms a communication topology in the ad hoc network (as shown in Figure 1). Plan the waypoint P i = { P i 1 , , P i k , } of the UAV i under the dynamic constraints of the maximum turning angle constraint β max and minimum route length constraint d s , so that the distance between UAV i and other UAVs reaches the expected value Δ X j i r e f within the time T :
| X j ( t ) X i ( t ) Δ X j i r e f | 0 i = 1 , 2 , , n
Definition 2.
Formation obstacle avoidance in distributed ad hoc network.
For n UAV, given an initial position X of UAV i , intelligently split the UAV swarm into N c formation; the number of UAVs in the p th subformation is N p . Plan the waypoint P i = { P i 1 , , P i k , } of the UAV i under the dynamic constraints of the maximum turning angle β max and the minimum direct flying distance d s , so that the UAVs will not collide through the rectangular obstacle avoidance area S containing the circular obstacle O , and the distance between UAV i the and other UAVs will eventually reach the expected value Δ X jiref ; namely, reconstructed into the required formation.
Where n = p = 1 N c N p , O is a collection of obstacles, and O = { o 1 , o 2 , , o o N } , o N is the number of obstacles, each obstacle o m can be described as a dyadic array < R om , R m > ; R o m is the center point of the m th circle; R m is the radius of the m th circle; S is the rectangular obstacle avoidance area described as a ternary array < S o , L , W > , where S o is the center point of the rectangular obstacle avoidance area; L is the length of the rectangle; and W is the width of the rectangle.
A reasonable formation-switching control method requires that the UAV can perform online formation switching based on the neighboring UAV information, and can meet the UAV dynamic constraints and can handle communication delays and flight anomalies, eliminating track deviation. Formation obstacle avoidance requires that a UAV swarm can effectively avoid obstacles, and can form a desired formation after the avoidance is completed. The UAV studied in this paper was a highly dynamic fixed-wing UAV with a uniform speed. The dynamic constraints were required to satisfy the minimum turning radius constraints and minimum track length constraints. The research space of this paper was the two-dimensional Euclidean horizontal plane.

3. Waypoint-Based Formation-Switching Method

The UAV studied in this paper was a highly dynamic fixed-wing UAV. Due to its high speed, it was difficult for the control system to update flight parameters in real time, and the errors were relatively large. Therefore, this article mainly considered the waypoint-based formation switching, and the online design of a small number of waypoints to complete the flight process of the UAV swarm formation, without the need to participate and change the design of the aircraft control system.

3.1. Consensus-Based Design for UAV Swarm Formation Control Protocol

The algebraic graph theory was used to describe the UAV swarm system and its behavior. Assume that the ad hoc network UAV swarm system has n UAVs, and each UAV is regarded as a node, then the communication relationship is seen as an edge. An undirected graph G = ( V , E , A ) represents the UAV swarm system, where V = { s 1 , s 2 , , s n } is a collection of nodes, E = { ( s i , s j ) s × s , i j } is a collection of edges, and A = [ a i j ] n × n represents an adjacency matrix with weights. The edge of the graph is indicated by e i j = ( s i , s j ) . For an undirected graph, UAV i and UAV j can receive the information sent by each other, namely ( s i , s j ) E ( s j , s i ) E . The adjacency matrix is defined as a i i = 0 , and a i j = a j i 0 , when e i j E , a i j > 0 . The neighbor set of the node s i is defined as N i = { s i V | ( s i , s j ) E } .
An undirected graph G n was used to describe the communication topology relationship in the UAV swarm. At each moment t , the communication connection between the ad hoc network and UAV swarm forms a communication topology. For the vertex i of graph G , let x i ( t ) R q and u i ( t ) R q denote the state variable and state information input variable of the UAV swarm, respectively, at the time t . The classic first-order continuous-time consistency protocol [26] is:
x ˙ i ( t ) = u i ( t ) i = 1 , 2 , , n
u i ( t ) = j = 1 n a i j ( t ) ( x i ( t ) x j ( t ) )
For any UAV i , the initial state is x ( 0 ) R P , when t , there is | x i ( t ) x j ( t ) | 0 , which is called the state of UAV swarm system reaching consensus.
In this paper, the consensus algorithm needed to be applied to the formation switching of the UAV swarm. The distance between UAVs needed to reach the expected value eventually. Therefore, to improve the classic first-order consistency protocol, the first-order consistency protocol with reference location information was proposed, and the specific form was as follows:
x ˙ i ( t ) = u i ( t ) = j = 1 m ( a i j ( t ) [ ( X j ( t ) X i ( t ) ) X jiref ] ) j = 1 m a i j ( t ) i = 1 , 2 , , n
where X jiref is the expected formation relative distance between UAV j and UAV i .

3.2. Consensus-Based Waypoints Planning

3.2.1. Formation Waypoints

The UAV speed studied in this paper was constant, and the UAV swarm formation was controlled based on the route. Therefore, the consistency control protocol in Equation (4) needed to be discretized. First, the communication time of the UAV swarm was discretized, then the position status of each UAV was updated in real time according to the difference equation, and the discrete consistency control protocol can be given by:
X i [ k + 1 ] = X i [ k ] + Δ X i [ k ] + D
Δ X i [ k ] = j = 1 m ( a i j [ k ] ( ( X j [ k ] X i [ k ] ) X j i r e f ) ) j = 1 m a i j [ k ]
where k represents a communication event, which is a formation process of the UAV swarm formation waypoint; D is the distance required to switch the formation, and is selected according to actual needs; X j [ k ] and X i [ k ] are the position status of the UAV j and UAV i at time k , also called formation waypoint; a i j [ k ] R × R is the adjacency weight matrix of the communication topology, and its elements are defined as:
a i j = { 1 ( v j , v i ) E 0 ( v j , v i ) E
The undirected graph in this article did not allow self-loops, so a i j = 0 .
During the flight, UAV i established a communication connection with other UAVs in the ad hoc network, forming a formation waypoint X i [ k ] within each communication event k according to Equations (5) and (6).
According to the consistency theory, it can be proved that for any UAV i with an initial value X i [ 0 ] R P , the time-varying communication topology union is fully connected in a formation transformation [27], namely k = 0 N k a i j [ k ] > 0   ( i j ) , when k N k , there is | Δ X j i [ k ] Δ X jiref [ k ] | 0 ; that is, the relative distance between the UAV swarm reached the desired value, and the formation switch was realized. If the initial state of the communication topology a i j [ 0 ] was full connectivity; namely, the communication was in the normal state, the formation fly could be achieved as the expected formation when k = 0 .

3.2.2. Flying to Formation Waypoint in Consistent Time

Once the formation waypoints were obtained, only local waypoints from the current position of the UAV i to its formation waypoint needed to be designed so that the flight time of each UAV was equal. In this section, a distributed UAV swarm flying method based on time consistency is proposed, and local waypoints are designed under dynamic constraints to achieve UAV swarm formation switching when flying at a constant speed.
(1)
Dynamic constraints
Maximum turning angle constraint: when the UAV turns according to the waypoint, the turning angle β (as shown in Figure 2) needs to be lower than the maximum turning angle β max :
β β max
Minimum route length constraint [28]: assuming that the UAV was flying under the available overload at the turn, the turning radius R was a fixed value. As shown in Figure 2, the turning angle of the UAV in this section of the route was β . For the UAV to make two consecutive turns, the route of this section needed to be lower than the minimum track length constraint d s :
d s = 2 × R × tan β 2
(2)
Waypoint design
When a UAV flew to formation waypoint, we first took the UAV that was going to fly the longest path as the time base, and then planned for other UAVs to fly around in the horizontal plane so that the final time to reach the formation waypoint was consistent.
The longest path C max is:
C max = max ( C i ) + d y
where d y is the vertical flight distance margin to ensure that the vertical distance meets the constraint of the minimum route length d s . The turning angle of this method is a fixed value β = 90 ° , so we set d y = 2 × d s = 4 × R , C i as the route distance that the UAV i needed to fly:
C i = Δ x i + Δ y i + Δ t i × V
where Δ x i and Δ y i are the horizontal distance and vertical distance of UAV i from the current position to the formation waypoint; V is the flight speed of the UAV; and Δ t i is the waiting time of UAV i , which can be selected according to the actual project. If it was a formation switch scenario, Δ t i = 0 . If it was a formation assembly scenario, Δ t i was the launch interval of UAV i from the first UAV.
The dynamic constraints of the flight plan needed to consider the maximum turning angle constraint and the minimum route length constraint. The flight project was divided into the following sections:
As shown in Figure 3, the flight project was composed of four right-angle turning sections. The solid line is the planned route, which was sections ①, ②, ③, ④, and ⑤. The dashed line is the actual flight route considering the UAV turning process. The solid point is the UAV waypoint. To make the flying distance the same, the length of the distances of ①, ②, ③, ④, and ⑤ were designed as:
{ L 1 x , i = L 5 x , i = r L 3 x , i = Δ x i 4 × r L 2 y , i = L 4 y , i = C max Δ x i Δ y i 2
where L 1 x , i , L 3 x , i , and L 5 x , i are the horizontal distances of UAV i in segments ①, ③, ⑤; and L 2 y , i , L 4 y , i are the vertical distances of UAV i in segments ② and ④, respectively.
The local waypoints of the UAV i could be calculated according to the starting waypoint and the distance lengths of ①, ②, ③, ④, and ⑤:
{ P i 1 ( x i 1 , y i 1 ) = P i 0 ( x i 0 + L 1 x , i , y i 0 ) P i 2 ( x i 2 , y i 2 ) = P i 1 ( x i 1 , y i 1 + L 2 y , i ) P i 3 ( x i 3 , y i 3 ) = P i 2 ( x i 2 + L 3 x , i , y i 2 ) P i 4 ( x i 4 , y i 4 ) = P i 3 ( x i 3 , y i 3 L 4 y , i )
At this point, all local route points could be obtained. The UAVs could arrive at the formation waypoints at the same time, thus forming the expected formation.
In this section, a waypoint-based distributed ad hoc network formation-switching control method, derived from the consistency theory, only needed to obtain the formation waypoint from the position information of the UAVs, and then plan the local waypoint from the current waypoint to the formation waypoint under dynamic constraints. The UAV only needed to reach the online planned waypoint under the control of its flight control system. It did not need to call the UAV’s control system to track flight parameters in real time, and only required the design of four local waypoints. This method has a small amount of calculation, is practical and straightforward, and is conducive to implementation in engineering. It can also realize dynamic formation control of UAVs when some communication networks are lost and the topology structure changes.

4. Waypoint-Based Formation Obstacle Avoidance Algorithm

The traditional formation obstacle avoidance method uses an artificial potential field method for obstacle avoidance or an intelligent algorithm to search for waypoints. Still, considering the real-time nature of obstacle avoidance and engineering applications, the artificial potential field method needs to participate in the design of the control system. When facing a high-dynamics UAV, it is challenging to update flight parameters in real time, as it presents significant errors and low reliability. Using the intelligent algorithm to plan trajectories, if high precision is required, planning the trajectory of a single UAV is still too slow, and if there are many planned waypoints, it cannot meet the dynamic constraints of the UAV.
In this paper, the intelligent path search algorithm was used to search for obstacle avoidance channels through which UAVs could pass, and the UAV swarm was divided into multiple smaller formations according to the number of UAVs that could pass through the avoidance channel.

4.1. Consensus-Based Design for UAV Swarm Formation Control Protocol

Obstacle-avoidance principles include the A* algorithm and the smallest enclosing convex polygon of a set of points (SECP) decision principle.
(1)
A* algorithm
The A* algorithm [29,30] is the most effective direct search method for solving the shortest path in a static road network. We only needed to search for the formation channel between the obstacle circles, and there was no need to search for high-precision track points, so we could use the traditional A* algorithm:
f ( o ) = g ( o ) + h ( o )
where f ( n ) is the cost estimate from the initial state to the target state via state n ; g ( n ) is the actual cost from the initial state to state n in the state space; and h ( n ) is the estimated cost of the best path from state to the target state. The shortest path could be determined by searching from the starting point according to the valuation function in Equation (14) to the ending point.
(2)
SECP determination method
Given a plane point set A = { ( x i , y i ) | x i , y i R } , we determined the smallest enclosing convex polygon of a set of points A i (SECP): we connected the points two by two to form a line segment set S = { ( A i , A j ) | A i , A j A , i j } . If all the other line segments were on the side of the line where a line segment S convex was located, then the line segment S convex where this line (e.g., the dotted line in Figure 4) lay was a side of the required convex polygon SECP.

4.2. Formation Obstacle Avoidance Algorithm

To obtain multiple formation passage paths, firstly, it was necessary to determine the entry points and the exit points according to the SECP determination method; secondly, to determine the formation obstacle avoidance path in combination with the A* search method; and finally, to determine the obstacle avoidance waypoint of the UAV swarm. The algorithm flow is shown in Figure 5; the specific steps were as follows:
Step 1. Determine entry and exit points.
As shown in Figure 6, we connected the center points of circles two by two to get the connecting line set CirSeg = { CirSegment k | k = 1 , 2 , N k } , and obtained the entry and exit line segments according to the SECP determination method, and further obtained the in-point set EnPoint and the out-point set ExPoint . The specific process of the algorithm was as follows Algorithm 1:
Algorithm1. Get the entry points and exit points
Input:  O : Obstacle collection S : Obstacle avoidance area
Output: E x P o i n t = { E x i t P o i n t j | j = 1 , 2 }   E n P o i n t = { E n t r y P o i n t i | i = 1 , 2 }
1: C i r S e g connect the two-point in R o = { R o m | m = 1 , , n }
2: M i d L i n e connect the maximum and minimum of point R o m in y -direction
3: for  k = 1  to  N k  do
4:   C i r L i n e k C i r S e g m e n t k
5:  if  { CirSeg C i r S e g m e n t k } in the same side of C i r L i n e k  then
6:    C i r S e g m e n t k S C E P (e.g., SCEP in Figure 6)
7:    P a t h S e g e m e n t   { C i r S e g m e n t k C i r S e g m e n t k O }
8:   if  P a t h S e g e m e n t on the left side of M i d L i n e  then
9:      E n P o i n t the middle point of P a t h S e g e m e n t (e.g., A in Figure 6)
10:    else E x P o i n t the middle point of P a t h S e g e m e n t (e.g., B in Figure 6)
11:    end if
12:  end if
13: end for
14: return  E n P o i n t , E x P o i n t
Step 2. Determine formation avoidance path.
As shown in Figure 7, we combined the entry and exit points set E n P o i n t E x P o i n t from Algorithm 1 and the processed channel segment C i r S e g (e.g., M in Figure 7) to find the obstacle avoidance path set A v o i d P a t h with the A* method. The specific process of the algorithm was as follows Algorithm 2:
Algorithm 2. Get the avoidance path
Input: O , S , E x P o i n t , E n P o i n t
Output: A v o i d P a t h = { A v o i d P a t h ( i j ) , q | q = 1 , 2 , , N q }
1: for  k = 1  to  N k  do
2:  if  C i r S e g m e n t k O  then erase C i r S e g m e n t k
3:  else if C i r S e g m e n t k { CirSeg C i r S e g m e n t k }  then erase C i r S e g m e n t k
4:  end if
5: end for
6: use O and S initialize A* map
7: for  i = 1  to  N i  do
8:   for  j = 1  to  N j  do
9:   search P a t h i j from E n t r y P o i n t i to E x i t P o i n t j by A* (e.g., S in Figure 7)
10:   for  k = 1  to  N k  do
11:    if  P a t h i j C i r S e g m e n t k  then
12:      P a t h s e g e m e n t   { C s e g m e n t k C s e g m e n t k O }
13:      A v o i d P a t h ( i j ) , q the middle point of P a t h s e g e m e n t
14:    end if
15:   end for
16:  end for
17: end for
18: return  A v o i d P a t h (e.g., the blue line in Figure 7)
Step 3. Determining the UAV formation obstacle avoidance waypoint.
As shown in Figure 8, we extended A v o i d P a t h to the boundary of the obstacle avoidance area (e.g., P in Figure 8), deleted the formation obstacle avoidance path that did not meet the UAV dynamic constraints, and calculated the number of UAVs that the path of the i th entry point could pass through:
n i j = min ( ω × L ( i j ) , q 2 × d s a f e d + 1 )   q = 1 , 2 , , N q
{ n i = max n i j j = 1 , 2 , , N j j m a x = argmax ( n i ) N p a s s = i = 1 N i n i
where d is the vertical interval distance of the UAV, d s a f e is the safe distance of the UAV, L ( i j ) , q is the length of the q th formation channel segment from the i th formation path to j th formation path, n j is the number of UAV that can be passed by the j th formation path, ω is the scaling scale, and 0 < ω 1 is to adjust the number of UAVs through the channels.
Then, we calculated the obstacle avoidance waypoint P a t h P o i n t of UAV i based on A v o i d P a t h obtained from n i and Algorithm 2; the specific process was as follows Algorithm 3:
Algorithm 3. Get fly path point
Input: O , S , X ( 0 ) , A v o i d P a t h , v
Output: P a t h P o i n t = { P a t h P o i n t u a v i | u a v i = 1 , , N }
1: extent A v o i d P a t h i j to S ’s boundary (e.g., P in Figure 8)
2: if A v o i d P a t h i j do not satisfy constraints R r e s and d s  then erase
3: end if
4: calculate n i by Equation (15)
5:    C i r L i n e k C i r S e g m e n t k
6: split UAV swarm into N i sub-forms
7: P a t h P o i n t calculate P a t h P o i n t u a v i based A v o i d P a t h ( i j m a x ) , q
8: if N p a s s N  then
9: P a t h P o i n t { N N p a s s } UAV fly around the obstacle area
10: end if
11: for u a v i = 1  to  N
12:   T u a v i = | P a t h P o i n t u a v i | / v
13: end for
14: P a t h P o i n t use formation conversion algorithm with T u a v i and P a t h P o i n t
15: return  P a t h P o i n t

5. Handling Exceptions

This paper dealt with two kinds of abnormal situations: flight abnormity and communication abnormalities during the formation flight of distributed ad hoc network UAV swarm. The processing methods of each category were shown in Figure 9, and the detailed processing methods were shown below.

5.1. Flight Abnormity

For the abnormal situation in which the tracking error was too large, the above-mentioned distributed ad hoc network online formation switch algorithm could be used for dynamic adjustment, and had the characteristics of not being related to the initial position of the UAV. In response to the falling of the UAV during the flight, the remaining UAVs switched formation online using the formation switch algorithm; that is, formation reconstruction.

5.2. Communication Abnormalities

Communication abnormalities mainly considered three situations. First, the excessive communication delay included two cases, which were the entire UAV swarm’s delay and some members’ delay of the UAV swarm. Second, the communication was completely disconnected; that is, the other UAV communication links in the UAV swarm were completely disconnected and could not be restored. Third, the communication was partially interrupted; that is, the UAV communication link of other parts of the UAV swarm was temporarily disconnected, and it could be restored after some time.
If the communication of some UAVs was completely disconnected, this could be regarded as the situation of UAV formation to reconstruct the formation. If there was a delay in communication, the offset error could be eliminated according to the online formation-switching algorithm. If the communication of some UAVs was temporarily interrupted, multiple iterative formation flights could be performed based on the distributed ad hoc network online formation-switching algorithm.

6. Simulation Analysis

In this paper, 12 UAVs were used for formation assembly, switching, and formation flight simulation under abnormal flight and communication environments, and 8 UAVs were used for formation obstacle avoidance simulation. In the simulation experiment, the algorithm was programmed in the C++ language, the platform tool was Microsoft Visual Studio 2016, and the hardware environment was a PC with an inter-core i5-4210 CPU, 2.60 GHz dual-core processor, and 8 GB memory.

6.1. Formation Assembly and Formation Switching

The 12 UAVs took off in succession. After each UAV passed the assembly point A, the formation-switching algorithm began to take over the UAV, planning the trajectory of the UAV; the formation was assembled into an inverted V-shape; and then the formation-switching algorithm was enabled again to change the swarm into a V-shaped formation, as shown in Figure 10. The simulation parameters that had to be set are shown in Table 1. The simulation results of formation assembly and formation switching in the horizontal plane are shown in Figure 11 and Figure 12.
The assembly formation was V-shaped, the formation switching was changed from V-shaped to column formation, the vertical formation interval in the y-direction was 100 m, and other parameters remain unchanged. The simulation is shown in Figure 13 and Figure 14.
It can be seen in Figure 12 and Figure 14 that when the communication topology of UAV swarm was fully connected, formation aggregation and formation switching could make the distance between each UAV meet the desired requirements after a formation interval correction; namely, the communication event was k = 0 . If the communication topology was partially interrupted, the formation interval had to be corrected again. This method could simply and quickly converge to the final expected formation interval value. It can be seen in Figure 11 and Figure 13 that this formation method could quickly plan the route to the formation waypoints under the constraints of the UAV dynamics, and has a high engineering application value.

6.2. Formation Obstacle Avoidance

The obstacle avoidance area was rectangular, and the relevant parameters are shown in Table 2. Eight UAVs formed a column formation to enter the obstacle avoidance area. The obstacle information is shown in Table 3. The initial position information of UAVs is shown in Table 4. The maximum turning angle constraint was 90°, and the minimum direct flight distance constraint was calculated according to Equation (9). The UAV swarm passed through the obstacle and was reconstructed into a V-shape. Other parameters of UAV swarm are shown in Table 1. The horizontal plane simulation results are shown in Figure 15.
We reset obstacles for simulation, and the obstacle information is shown in Table 5. Other parameters remain unchanged; the horizontal plane simulation results are shown in Figure 16.
As can be seen in Figure 15 and Figure 16, the UAV swarm could be intelligently divided into multiple smaller formations to pass obstacles or fly around to avoid obstacles. Finally, it could be reconstructed into the expected formation. The simulations showed that the algorithm could quickly and flexibly plan the cooperative obstacle avoidance path and had the ability of online formation to avoid obstacles.

6.3. Handle Exceptions

6.3.1. Flight Abnormity

Suppose the number of UAV swarm was 12, and the assembly formation was an inverted V-shaped formation. After the formation assembly, four UAVs were randomly dropped or lost. Then, the remaining eight UAVs were reconstructed into a column formation. Other simulation parameters were still as shown in Table 1, and the simulation results are shown in Figure 17 and Figure 18:
It can be seen in Figure 17 and Figure 18 that after the UAV flight abnormally fell, then the required formation could be reconstructed according to this plan.

6.3.2. Communication Abnormity

In actual flight, the communication topology may be temporarily interrupted. At this time, a communication event, k = 0 , is insufficient to meet the expected formation, and formation interval distance correction is required again.
In this simulation, a formation switch was performed from an inverted V-shape to a V-shape. It was assumed that in the initial communication event, namely k = 0 , the communication failure rate reached 18%, and in the second communication event, namely k = 1 , the communication failure rate reached 9%. Other parameters were as shown in Table 1, and the results are shown in Figure 19 and Figure 20.
It can be seen in Figure 19 and Figure 20 that in the case in which some UAVs and other UAVs were lost in the communication network, the first formation interval distance correction could not obtain the desired formation. In the second correction, the communication network still had local faults, but eventually formed the expected formation. So, the formation-switching algorithm was effective in dealing with communication abnormity.

6.4. Simulation Comparison

6.4.1. Formation-Switching Method

The formation-switching control method proposed in this paper mainly dealt with the communication abnormalities of the UAVs during the flight. Therefore, the classic consistency control method [31], which could handle changes in the communication topology, was selected to compare to illustrate the effectiveness of the algorithm.
We selected six UAVs for simulation, and used the simulation scenario in Section 6.3.2 to set the consistency control step to meet the minimum algorithm stability requirement, which was 0.2 s. The simulation of the classical consistency control method is shown in Figure 21, and the method proposed in this paper is shown in Figure 22.
The algorithm performance during the simulation process was recorded, as shown in Table 6.
The simulation results showed that when the step length was 0.5 s, in the case of abnormal communication, the classic consistent formation control method needed to communicate with neighboring UAVs 200 times before the formation could be changed from an inverted V to a V-shape. The route-based formation-switching method proposed in this paper only needed two communications to obtain the required formation waypoints, which greatly reduced the pressure on the airborne communication system.
In addition, the classic consensus algorithm obtained the coordinated route of the UAV by controlling the deflection angle of the track. The average solution time per communication took a longer time, and required high control system performance, which could not guarantee the real-time performance of online formation flying. The solution proposed in this paper was time-consuming, and only required the UAV to perform direct flight and turning maneuvers. It was easy to control during the flight and easy to implement in engineering. However, the disadvantage was that the planned path distance was relatively long.

6.4.2. Formation Obstacle Avoidance Method

The sparse A * algorithm [30] was selected and compared with the formation obstacle avoidance algorithm proposed in this paper to illustrate the effectiveness of the algorithm. The simulation scenario used scenario 2 as given in Section 6.2. The sparse A* simulation results are shown in Figure 23.
In order to analyze the complexity of the two algorithms, the number of UAVs in the formation was increased successively, and the two algorithms were used to simulate the formation obstacle avoidance simulation. The relationship between the algorithm running time and the number of drones was obtained as shown in Figure 24.
We concluded from Figure 16 and Figure 24 that the sparse A* algorithm was basically the same as the obstacle avoidance path planned by the algorithm in this paper, but the running time of the sparse A* algorithm was much longer than that of the algorithm in this paper, and it doubled with the increase in the number of UAV formations. However, the obstacle avoidance algorithm proposed in this paper based on geometry had a shorter running time and did not change significantly with the increase in the number of UAVs. It could meet online real-time trajectory planning, and has strong engineering applicability.

7. Conclusions

This paper proposed a method of fixed-wing UAV swarm formation control based on distributed ad hoc networks. This method included the formation switching of UAVs, formation obstacle avoidance, and handling of abnormal conditions during flight.
Simulation results showed that in formation switching, the ad hoc network, high-dynamics, fixed-wing UAV could form formation switching only by position information. The method was not sensitive to the initial position information of the UAV, which could eliminate errors during flight, and handle temporarily interrupted communication topologies and UAV drop, as well as other abnormal flight situations. In formation obstacle avoidance, the UAVs could be clustered into multiple subformations to pass through the obstacle avoidance area, and could be reconstructed as required formation. The formation technology was designed based on the waypoints, which was versatile, simple, and reliable, and is easy to realize in engineering.
Compared with the classic consistent formation control algorithm and obstacle avoidance algorithm, it was shown that the formation technology method proposed in this paper had lower complexity and higher timeliness, and is suitable for online formation flying of highly dynamic UAVs in an ad hoc network. However, the route planned by the method did not consider optimality, and it was only suitable for high-speed and constant-speed formation missions. For obstacle avoidance algorithms, the obstacle model is too simple, and there may be scenarios for obstacle avoidance that are not covered by the algorithm. Next, we will consider the optimal route planning problem and extend the algorithm to three-dimensional flight scenes to increase its practicability.

8. Patents

Suo, W.B., Zhang, D., and Wang, M.Y. “A distributed unmanned aerial vehicle flying around formation method based on time consistency”, C.N. Patent, 202010226440.4, issued 10 July 2020.
Zhang, D., Suo, W.B., and Wang, M.Y. “A distributed unmanned aerial vehicle dynamic formation switching method based on waypoints”, C.N. Patent, 202010226439.1, issued 10 July 2020.

Author Contributions

Conceptualization, W.S. and D.Z.; methodology, W.S.; software, W.S.; validation, W.S.; formal analysis, W.S.; investigation, W.S. and D.Z.; resources, D.Z. and Z.Q.; data curation, W.S., M.W. and L.Y.; writing—original draft preparation, W.S.; writing—review and editing, W.S.; visualization, W.S.; supervision, D.Z.; project administration, Z.Q.; funding acquisition, Z.Q. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available upon request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. International Civil Aviation Organization. Unmanned Aircraft Systems (UAS); International Civil Aviation Organization: Montreal, QC, Canada, 2011; p. 8. [Google Scholar]
  2. Duan, H.B.; Shen, Y.K.; Wang, Y.; Luo, D.L.; Niu, Y.F. Review of technological hot spots of unmanned aerial vehicle in 2018. Sci. Technol. Rev. 2019, 37, 82. [Google Scholar]
  3. Plett, G.L.; Lima, P.D.; Pack, D.J. Target Localization using Multiple UAVs with Sensor Fusion via Sigma-Point Kalman Filtering. In Proceedings of the AIAA Infotech Aerospace Conference and Exhibit, Rohnert Park, CA, USA, 7–10 May 2007. [Google Scholar] [CrossRef] [Green Version]
  4. Toussaint, G.J.; Lima, P.D.; Pack, D.J. Localizing RF Targets with Cooperative Unmanned Aerial Vehicles. In Proceedings of the American Control Conference, New York, NY, USA, 9–13 July 2007; pp. 5928–5933. [Google Scholar] [CrossRef]
  5. Duan, H.B.; Qiu, H.X.; Chen, L. Prospects on unmanned aerial vehicle autonomous swarm technology. Sci. Technol. Rev. 2018, 36, 90. [Google Scholar]
  6. Zong, Q.; Wang, D.D.; Shao, S.K.; Zhang, B.; Han, Y. Research status and development of multi UAV coordinated formation flight control. J. Harbin Inst. Technol. 2017, 49, 1–14. [Google Scholar] [CrossRef]
  7. Perkins, C.E.; Belding-Royer, E.M. Ad-hoc On-Demand Distance Vector Routing. In Proceedings of the IEEE Workshop on Mobile Computing Systems & Applications, New Orleans, LA, USA, 25–26 February 1999; pp. 90–100. [Google Scholar] [CrossRef] [Green Version]
  8. Bekmezci, L.; Sahingoz, O. Flying Ad-Hoc Networks (FANETs): A survey. Ad Hoc Netw. 2013, 11, 1254–1270. [Google Scholar] [CrossRef]
  9. Wang, P.K.C. Navigation strategies for multiple autonomous mobile robots moving in formation. J. Robot. Syst. 1991, 8, 177–195. [Google Scholar] [CrossRef]
  10. Luo, D.; Zhou, T.; Wu, S. Obstacle Avoidance and Formation Regrouping Strategy and Control for UAV Formation Flight. In Proceedings of the 10th IEEE International Conference on Control and Automation, Hangzhou, China, 12–14 June 2013; pp. 1921–1926. [Google Scholar] [CrossRef]
  11. Gu, Y.; Seanor, B.; Campa, G.; Napolitano, M.R.; Rowe, L.; Gururajan, S.; Wan, S. Design and Flight Testing Evaluation of Formation Control Laws. IEEE Trans. Control Syst. Technol. 2006, 14, 105–1112. [Google Scholar] [CrossRef]
  12. CamPa, G.; Napolitano, M.R.; Brad, S.; Perhinschi, M.G. Design of Control Laws for Maneuvered Formation Flight. In Proceedings of the 2004 American Control Conference, Boston, MA, USA, 30 June–2 July 2004; pp. 2344–2349. [Google Scholar] [CrossRef]
  13. Li, N.H.M.; Liu, H.H.T. Formation UAV Flight Control using Virtual Structure and Motion Synchronization. In Proceedings of the American Control Conference, Seattle, WA, USA, 11–13 June 2008; pp. 11–13. [Google Scholar] [CrossRef]
  14. Yun, X.; Alptekin, G.; Albayrak, O. Line and Circle Formation of Distributed Physical Mobile Robots. J. Robot. Syst. 1997, 14, 63–76. [Google Scholar] [CrossRef]
  15. Chen, Q.; Luh, J.Y.S. Coordination and Control of a Group of Small Mobile Robots. In Proceedings of the IEEE International Conference on Robotics and Automation, San Diego, CA, USA, 8–13 May 1994; pp. 2315–2320. [Google Scholar] [CrossRef]
  16. Ginlietti, F.; Pollini, L.; Innoeenti, M. Formation Flight Control: A Behavioral Approach. In Proceedings of the AIAA Guidance, Navigation and Control Conferenee, Montreal, QC, Canada, 6–9 August 2001. [Google Scholar] [CrossRef]
  17. Joongbo, S.; Chaeik, A.; Youdan, K. Controller Design for UAV Formation Flight Using Consensus Based Decentralized Approach. In Proceedings of the AIAA Aerospace Conference, Seattle, WA, USA, 6–9 April 2009; p. 1826. [Google Scholar] [CrossRef] [Green Version]
  18. Glavas, K.L.S.; Chaves, M.; Day, R.; Nag, P.; Williams, A.; Zhang, W. Vehicle Networks: Achieving Regular Formation. In Proceedings of the IEEE American Control Conference, Denver, CO, USA, 4 July 2003; pp. 4095–4100. [Google Scholar] [CrossRef]
  19. Yasuhiro, K.; Toru, N. Consensus-based cooperative formation control with collision avoidance for a multi-UAV system. In Proceedings of the IEEE American Control Conference, Portland, OR, USA, 4–6 June 2014; pp. 4–6. [Google Scholar] [CrossRef]
  20. Zhao, S.; Lin, F.; Peng, K.; Chen, B.M.; Lee, T.H. Finite-time Stabilization of Circular Formations using Bearing-only Measurements. In Proceedings of the 10th IEEE International Conference on Control and Automation, Hangzhou, China, 12–14 June 2013; pp. 840–845. [Google Scholar] [CrossRef] [Green Version]
  21. Dong, X.W.; Yu, B.C.; Shi, Z.Y.; Zhong, Y.S. Time-varying formation control for unmanned aerial vehicles: Theories and applications. IEEE Trans. Control Syst. Technol. 2014, 23, 340–348. [Google Scholar] [CrossRef]
  22. Seo, J.; Kim, Y.; Kim, S.; Tsourdos, A. Consensus-based reconfigurable controller design for unmanned aerial vehicle formation flight. Proc. Inst. Mech. Eng. Part G J. Aerosp. Eng. 2012, 226, 817–829. [Google Scholar] [CrossRef]
  23. Tang, Y.; Gao, H.J.; Jürgen, K.; Fang, J. Evolutionary Pinning Control and Its Application in UAV Coordination. IEEE Trans. Ind. Inform. 2012, 8, 828–838. [Google Scholar] [CrossRef]
  24. He, Z.; Lu, Y.P. Decentralized Design Method of UAV Formation Controllers for Formation Keeping. Acta Aeronaut. Astronaut. Sin. 2008, 29, 55–60. [Google Scholar] [CrossRef]
  25. Bai, C.; Duan, H.B.; Li, C.; Zhang, Y.P. Dynamic multi-UAVs formation reconfiguration based on hybrid diversity-PSO and time optimal control. In Proceedings of the IEEE Intelligent Vehicles Symposium, Xi’an, China, 5 July 2009; pp. 775–779. [Google Scholar] [CrossRef] [Green Version]
  26. Ren, W.; Randal, W.B. Distributed Consensus in Multi-Vehicle Cooperative Control; Springer: London, UK, 2008; p. 21. [Google Scholar]
  27. Xavier, D.; Konagaya, A. Circle Formation for Oblivious Anonymous Mobile Robots with no Common Sense of Orientation. In Proceedings of the 2002 Workshop on Principles of Mobile Computing, Toulouse, France, 30–31 October 2002; pp. 30–31. [Google Scholar] [CrossRef]
  28. Yao, D.D.; Wang, X.F.; Tian, Z. A Cooperative Path Planning with Constraints of Impact Time and Impact Angle. J. Proj. Rock Miss. Guid. 2019, 39, 111–114. [Google Scholar]
  29. Hart, P.E.; Nilsson, N.J.; Raphael, B. A Formal Basis for the Heuristic Determination of Minimum Cost Paths. IEEE Trans. Syst. Sci. Cybern. 1968, 4, 100–107. [Google Scholar] [CrossRef]
  30. Li, J.; Sun, X.X. A Route Planning’s Method for Unmanned Aerial Vehicles Based on Improved A-Star Algorithm. ACTA Armamentarii 2008, 29, 788–792. [Google Scholar] [CrossRef]
  31. Xue, R.B. Research on Distributed Cooperative Formation Flight Control Technology for Multi-UAV. Ph.D. Thesis, Beijing Institute of Technology, Beijing, China, June 2016. [Google Scholar]
Figure 1. UAV swarm formation problem.
Figure 1. UAV swarm formation problem.
Applsci 12 00535 g001
Figure 2. Dynamic constraints.
Figure 2. Dynamic constraints.
Applsci 12 00535 g002
Figure 3. Dynamic constraints.
Figure 3. Dynamic constraints.
Applsci 12 00535 g003
Figure 4. Determination method.
Figure 4. Determination method.
Applsci 12 00535 g004
Figure 5. Principle flow chart of obstacle avoidance algorithm.
Figure 5. Principle flow chart of obstacle avoidance algorithm.
Applsci 12 00535 g005
Figure 6. Determination of entry and exit points.
Figure 6. Determination of entry and exit points.
Applsci 12 00535 g006
Figure 7. Determination of the formation avoidance path.
Figure 7. Determination of the formation avoidance path.
Applsci 12 00535 g007
Figure 8. Determining the UAV formation obstacle avoidance waypoint.
Figure 8. Determining the UAV formation obstacle avoidance waypoint.
Applsci 12 00535 g008
Figure 9. Handling exceptions.
Figure 9. Handling exceptions.
Applsci 12 00535 g009
Figure 10. UAV swarm formation assembly and formation switching.
Figure 10. UAV swarm formation assembly and formation switching.
Applsci 12 00535 g010
Figure 11. Formation assembly and formation switching.
Figure 11. Formation assembly and formation switching.
Applsci 12 00535 g011
Figure 12. Assembly formation and switch formation.
Figure 12. Assembly formation and switch formation.
Applsci 12 00535 g012
Figure 13. Formation assembly and formation switching—scene 2.
Figure 13. Formation assembly and formation switching—scene 2.
Applsci 12 00535 g013
Figure 14. Assembly formation and switch formation—scene 2.
Figure 14. Assembly formation and switch formation—scene 2.
Applsci 12 00535 g014
Figure 15. UAV formation obstacle avoidance.
Figure 15. UAV formation obstacle avoidance.
Applsci 12 00535 g015
Figure 16. UAV formation obstacle avoidance—scene 2.
Figure 16. UAV formation obstacle avoidance—scene 2.
Applsci 12 00535 g016
Figure 17. Formation reconstruction.
Figure 17. Formation reconstruction.
Applsci 12 00535 g017
Figure 18. Formation reconstruction process.
Figure 18. Formation reconstruction process.
Applsci 12 00535 g018
Figure 19. Formation switch under abnormal communication.
Figure 19. Formation switch under abnormal communication.
Applsci 12 00535 g019
Figure 20. Formation change process under abnormal communication.
Figure 20. Formation change process under abnormal communication.
Applsci 12 00535 g020
Figure 21. Formation switching of the classical consistency control method.
Figure 21. Formation switching of the classical consistency control method.
Applsci 12 00535 g021
Figure 22. Formation switching.
Figure 22. Formation switching.
Applsci 12 00535 g022
Figure 23. The sparse A * algorithm for formation obstacle avoidance.
Figure 23. The sparse A * algorithm for formation obstacle avoidance.
Applsci 12 00535 g023
Figure 24. The algorithm running time.
Figure 24. The algorithm running time.
Applsci 12 00535 g024
Table 1. Simulation parameters.
Table 1. Simulation parameters.
UAV Swarm AttributesParameter Value
Number of UAVs n 12
Launch interval5 s
UAV speed V 30 m/s
Maximum turning angle constraint β max 90°
Turning radius R 300 m
Minimum track length constraint d s 600 m
Assembly point A(0 m, 2000 m)
Communication topologyFully Connected
Assembled formationInverted V-Shape
Switch formationV-Shape
Formation interval in x direction100 m
Half vertex angle of V-shaped45°
Formation-switching distance DAdaptive (met the minimum switching distance)
Table 2. Obstacle avoidance area parameters.
Table 2. Obstacle avoidance area parameters.
Obstacle Avoidance Area PropertiesParameter Value
Rectangle center point(7000 m, 5000 m)
Rectangular area length10,000 m
Rectangular area width10,000 m
Table 3. Obstacle parameters.
Table 3. Obstacle parameters.
Obstacle IndexX/mY/mRadius/m
130007000500
240003000500
365005000500
411,0003000900
511,0006000600
Table 4. Initial position of UAV.
Table 4. Initial position of UAV.
UAV IndexX/mY/m
110003000
210006500
310003500
410006000
510004000
610005500
710004500
810005000
Table 5. Obstacle parameters—scene 2.
Table 5. Obstacle parameters—scene 2.
Obstacle IndexX/mY/mRadius/m
130005000700
2600014,0001000
365005000700
4700085001300
511,0004000900
Table 6. Simulation comparison.
Table 6. Simulation comparison.
MethodClassical Consistency Control MethodProposed Method
Number of communication requests200 times2 times
Average solution time per communication125 ms53 ms
Total running time of the algorithm1521 ms131 ms
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Suo, W.; Wang, M.; Zhang, D.; Qu, Z.; Yu, L. Formation Control Technology of Fixed-Wing UAV Swarm Based on Distributed Ad Hoc Network. Appl. Sci. 2022, 12, 535. https://doi.org/10.3390/app12020535

AMA Style

Suo W, Wang M, Zhang D, Qu Z, Yu L. Formation Control Technology of Fixed-Wing UAV Swarm Based on Distributed Ad Hoc Network. Applied Sciences. 2022; 12(2):535. https://doi.org/10.3390/app12020535

Chicago/Turabian Style

Suo, Wenbo, Mengyang Wang, Dong Zhang, Zhongjun Qu, and Lei Yu. 2022. "Formation Control Technology of Fixed-Wing UAV Swarm Based on Distributed Ad Hoc Network" Applied Sciences 12, no. 2: 535. https://doi.org/10.3390/app12020535

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