Abstract
A double-layer formation control is proposed to solve the repeated tasks for multiple quadrotor unmanned aerial vehicle systems. The first layer aims at achieving a formation target in which the iterative learning control is designed based on relative distance with neighbor unmanned aerial vehicles and absolute distance with virtual leader unmanned aerial vehicle. The formation controller is responsible for keeping the formation shape and generating the desired flying trajectories for each drones. The second layer control aims at achieving a high-precision tracking to desired flying trajectories which are generated from the formation controller. A double closed-loop proportional–derivative strategy is designed to ensure the accuracy of trajectory tracking for each individual drone. Simulations for the circle formation mission of the multiple quadrotor unmanned aerial vehicle system are given to verify the efficiency of the proposed method.
Keywords
Introduction
The formation control of multiple quadrotor unmanned aerial vehicles (UAVs) is a central branch of research in recent years because of its potential applications in military, civilian, science, and technology.
1
–3
In a formation control system, a group of UAVs are assembled to complete a task cooperatively, which is called as formation cooperation control.
4
It is noted that leader–follower strategy is one of the most commonly used methods due to its ease of implementation and analysis for the formation control system.
5,6
It guarantees that each UAV follows a leader with a desired trajectory which is based on the local information.
7,8
To solve the leader–follower formation problem, Hua et al. have proposed a finite-time control scheme and a prescribed performance control method for a group of quadrotors UAVs.
9
Dong et al. have studied time-varying formation tracking analysis and design problems for second-order multi-agent systems with switching interaction topologies, where the states of the followers form a predefined time-varying formation while tracking the state of the leader.
10
Based on the measurement of relative information, a combined controller–estimator has been designed for unmanned aircraft systems.
11
In the presence of external disturbances, a leader–follower formation control problem has been studied for multiple quadrotors UAVs.
12
A novel
The approaches mentioned above are studied to solve tasks over an infinite time. However, in some repeated tasks, such as forest fire detection and power inspection, UAVs have to fly back after a period of time due to the limitation of the battery power. 15 For this situation, the accomplishment of task depends on the repeated operation in finite time. Note that the iterative learning control (ILC) is an effective approach in dealing with the control tasks which are repeated in a finite duration. 16 ILC approach improves the performance of the system that executes the same task from time to time by learning from previous execution. 17 Moreover, ILC approach does not strictly require the precise system model and parameters, which is helpful in the real applications. 18 There are some publications to design ILC algorithm to control multi-agent systems. 19 –21 The consensus seeking problem based on ILC strategy has been studied, 22 and the multi-agent networks can achieve consensus and improve the system performance through multiple times. An ILC algorithm based on leader–follower formation tracking problem has been presented for a multi-agent system. 23 An ILC algorithm has been studied for all agents who track a time-varying desired trajectory in a directed graph. 24 However, in most of the above-cited literature, the formation system requires that each drone should be controlled by the same control method, thereby limiting the diversity of the system. It is noted that proportional–integral–derivative control strategy has been applied in engineering due to its convenience and flexibility. 25,26 Therefore, it is meaningful to a double-layer control structure, where an ILC formation controller and a proportional–derivative (PD) controller are in the outer-loop layer and in the inner-loop layer, respectively.
In this article, an ILC-based formation control problem is studied to track a time-varying reference trajectory in a directed graph for the multiple quadrotor UAV system. The whole control scheme consists of a double-layer control strategy. The first layer which is also called outer-loop layer contains an ILC formation controller. The ILC-based formation controller is designed according to the relative distance with other neighbors and the absolute distance with the virtual leader UAV. The second control layer which is also called inner-loop layer contains a double closed-loop PD controller for the trajectory tracking of the individual quadrotor UAV. Main contributions of this article are demonstrated as follows:
In many literature, the formation system requires that each drone should be controlled by the same control method which limits the diversity of the system. Facing this problem, a double-layer control structure is designed.
In the first layer, an ILC formation controller is designed to keep the formation shape and generate desired flying trajectories for each drones. In the second layer, a double closed-loop PD controller is designed to keep every drone tracking its trajectory.
Preliminaries and problem formulation
Quadrotor UAV system description
Figure 1 clearly shows the motion situation of a quadrotor UAV. The body frame B and the earth frame E are assumed to be at the center of gravity of the quadrotor UAV. It is a complex nonlinear system with multiple-input and multiple-output, strong coupling, and under-actuated characteristics. Its actuator number is less than its degree of freedom, and only four actuators (control inputs) are required to control six variables: the coordinates x, y, and z and Euler angles variables

The structure of quadrotor UAV. UAV: unmanned aerial vehicle.
Therefore, the rotation matrix from the body frame B to the earth frame E is defined as
where ck
stands for
where m is the weight of the UAV.
The inertia matrix of the quadrotor UAV is
where
Usually the quadrotor UAV flies with a small Euler angle, so
According to equation (5), let
Linking the equations (2), (4), (6), and (7), the model of the quadrotor UAV is described as
Graph-based interaction of multiple quadrotor UAVs
The graph theory is often used to describe the communication interaction among the multiple quadrotor UAVs. The vertices of the graph are the quadrotor UAVs, and the edges are used to describe the information flow from one quadrotor UAV to another. Each UAV has right to access the information with its neighbors depending on the communication interaction for a multiple quadrotor UAV system. Suppose
The formation system model and control problem statement
The mission of the formation controller is to generate the desired motion trajectory for each UAV based on the desired formation shape. This formation shape is described the relative deviation from the reference trajectory of the virtual leader. According to the knowledge of graph theory, we abstract each quadrotor in the formation system into a rigid body as a vertex in the graph, the position and attitude are controlled by the velocity and angular velocity.
The dynamic model can be described as
where
In the formation system, the reference trajectory
where
Control strategy
ILC formation control for multiple quadrotor UAVs
Figure 2 shows the whole control structure for the formation system. The formation controller in the first layer is designed based on ILC strategy to solve the repeat mission. It generates the desired motion trajectories

The control structure of formation system.

The control structure for individual quadrotor UAV. UAV: unmanned aerial vehicle.
Consider a directed network of n quadrotor UAVs. Each quadrotor UAV obtains information by the onboard sensors and the communication device. Since the reference trajectory
[A1] Reference trajectory
[A2] Assume the nonnegative scalar
[A3] The initial state satisfying
It is noted that each UAV has right to access the information with its neighbors depending on the communication interaction for the multiple quadrotor UAV system. The objective considered in this article is to find an appropriate ILC algorithm to keep the formation shape and generate the desired trajectories for each quadrotor UAV in the formation system. Therefore, ILC controller should make sure that the actual relative distance between UAV i and UAV j converges to the desired relative distance to guarantee the desired formation shape for all the time, that is,
The multiple quadrotor UAVs formation controller is designed as
where
M,
There are two cases in the ILC control law:
If Yr
is available to UAV i, the control law is constructed by two parts. The first part is determined by the relative distance
If Yr
is not available to UAV i, the control law is only constructed by relative distance
Theorem 1
Give the multiple quadrotor UAVs formation system (9) in the directed graph G and design the ILC algorithm (11), the formation objective (10) will be attained if there exist gain matrices K, P satisfy
Proof
Let
Thus
Due to
The proof is completed, the formation control system will converge gradually with the learning process repeats.
Thus, the formation shape can be kept and desired trajectories are generated for individual quadrotor UAVs.
Control strategy for individual quadrotor UAV
ILC law is designed for formation system to generate the desired trajectory for each quadrotor UAV in ILC formation control for multiple quadrotor UAVs subsection. The desired motion trajectories
To design the PD controller,
Then
Replace the actual Euler angles with the desired Euler angles, and the desired pitch angle is obtained
Multiply both sides of equation (16) by
Thus, the PD control inputs for quadrotor UAV are
where
Simulation results
This section presents the simulation tests of the ILC formation control for multiple quadrotor UAVs formation system and PD control for individual quadrotor UAV.
ILC formation control results for multiple quadrotor UAVs
For multiple quadrotor UAVs which consists of six quadrotor UAVs, Figure 4 shows the directed graph of the formation system. The reference trajectory

The directed graph of the formation system.
It is noted that communication resources are limited and the quality of communication is affected by practical environments. Moreover, each UAV communicates with neighboring UAVs is dependent on its mission requirements in practice. Considering the practical limited communication resources and the mission requirements, a directed graph with variable topologies is used to describe the communication interactions among multiple quadrotor UAVs.
The reference time-varying trajectory of the virtual leader is
The desired deviations from the virtual leader are
The initial states of the six quadrotor UAVs are
The weighted adjacency matrix is
The learning gain matrices are chosen as
The ILC formation test results are shown as Figures 5 and 6. Figure 5 shows the formation trajectory in 3D; Figure 6 shows the snapshot of the position trajectories of the six quadrotor UAV at

ILC formation trajectory in xyz-axis. ILC: iterative learning control.

ILC formation trajectory in xy-axis. ILC: iterative learning control.

Tracking errors of the ILC formation system. ILC: iterative learning control.

Leader–follower formation trajectory in xyz-axis.

Leader–follower formation trajectory in xy-axis.
The comparison of performance index by ILC.
ILC: iterative learning control; MSE: mean square error; MAE: mean absolute error.
The comparison of performance index by leader–follower.
MSE: mean square error; MAE: mean absolute error.
PD control results for individual quadrotor UAVs
Table 3 lists the parameters of the quadrotor UAV. Simulation results of the PD control for individual quadrotor UAV are shown in Figures 10 to 13. Figures 10 and 11 show the trajectories of the six individual quadrotor UAVs and the snapshot
The quadrotor UAV system parameters.
UAV: unmanned aerial vehicle; MSE: mean square error; MAE: mean absolute error.

Trajectories in xyz-axis by PD Control. PD: proportional–derivative.

Trajectories in xy-axis by PD Control. PD: proportional–derivative.

Evolution of the Euler angles by PD control. PD: proportional–derivative.

Tracking errors in positions by PD control. PD: proportional–derivative.

Tracking errors in Euler angles by PD control. PD: proportional–derivative.
The comparison of performance index by PD control.
PD: proportional–derivative; MSE: mean square error; MAE: mean absolute error.
Conclusions
A double-layer control method for the formation control of a multiple quadrotor UAV system is presented. In the first layer, a formation controller is responsible to keep the formation shape and generate the desired motion trajectories for the second layer. ILC method is designed to keep a time-varying shape for the repeated mission. The reference trajectory was generated by a virtual leader quadrotor UAV, and it was not available to all quadrotor UAVs. Compared with leader–follower formation control, iterative learning is carried out in two directions: time axis and iteration axis, and the formation shape can be kept well by ILC based on the relative distance with other neighbor UAVs and absolute distance with the virtual leader UAV. In the second layer, the double closed-loop PD control structure is applied for the tracking of the position subsystem and the Euler angles subsystem of the individual quadrotor UAV. Simulation results show the formation shape can be kept well and individual quadrotor UAV all tracks their desired trajectories in a finite time.
The generality of the formation system allows ILC formation control algorithm to be applied in a formation system with more quadrotor UAVs or other agents so that tasks of higher complexity can be completed. Facing more complexity tasks, the formation system may be constructed by different types of UAV with different control methods, and the underlying controller of the individual quadrotor UAV need not to be changed because of the double-layer control of the formation system. A variety of formation shapes can be achieved by neighbor-to-neighbor communication interaction through the iteration learning process. For further application, the way to realize collision avoidance and topologies switching for multiple quadrotor UAVs formation system should be taken into consideration.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work is supported by the National Natural Science Foundation of China (61973023, 61573050) and Beijing Natural Science Foundation (4202052).
