1. Introduction
UAVs are increasingly valuable for diverse civilian areas. Their advantages, such as portability, low-altitude flight capacity, operation in hazardous environments, high-precision sensors, and cost-effectiveness [
1], enable various applications. This encompasses remote sensing, crop surveillance, search and rescue operations, and monitoring tasks [
2,
3,
4,
5,
6,
7]. Moreover, UAVs offer expansive and cost-effective application possibilities due to their ability to conduct multiple tasks in complex environments. Nonetheless, the limited battery capacity and small UAV size can limit the individual performance of the single node. To mitigate these constraints, using multiple UAV systems is an effective solution. Collaborating with a team of UAVs can offer a more economical and effective solution than a single UAV, resulting in benefits such as saving time, reducing costs, improving fault tolerance, and more.
Using UAVs to separately process tasks [
8,
9,
10,
11] considerably drains their energy and reduces overall efficiency. Therefore, we must treat multiple drones as a concrete realization of swarm intelligence. By applying specific control strategies, we can achieve collective motion coordination and task optimization, enabling the UAV swarm system to display emergent characteristics at the biological community level. Recent studies on nonlinear multi-agent systems enhance swarm robustness through simplified stability analysis and adaptive control frameworks [
12].
Table 1 shows some methods for UAV formation control.
The virtual structure method was first introduced in the [
13] to control the formation of mobile robots. In [
13], the researchers defined virtual structures as collections of elements that maintain strict geometric relationships with each other and maintain relationships with a reference system. They implemented the idea through a bidirectional control scheme. In [
14], a UAV formation tracking method with a dual virtual structure is proposed. It designs such structures to solve formation trajectory guidance and formation control issues in target tracking. Recent advancements [
15] extend this method with fixed-time adaptive control for directed topologies, reducing computational demands in real-time operations. Based on loosely coupled structures inspired by traditional virtual structure methods, ref. [
16] presented a new formation control method for formation keeping and motion control using centralized control in the base station. The proposed algorithm effectively handles UAV formation control while reducing computational load and communication overhead. The document in [
17] used a virtual leader structure-based method to solve the problem of uncertain disturbances in the formation control of fixed-wing UAVs. Adaptive projection operators can ensure uniform asymptotic stability of formation systems under uncertainties and disturbances, enhancing transient performance and robustness. In [
18], the formation control of multiple missiles was studied, and a new sliding-mode control theory is proposed in the paper. Researchers designed constant altitude and velocity control laws and then applied the virtual structure methods in the lateral plane. This formation control method could achieve multi-missile networking and was robust against initial and process deviations. The document in [
19] proposed a method combining virtual structures and artificial potential fields to track each quadrotor’s flight path based on flatness feedback control.
Intelligent algorithms have become an effective solution to complex system control problems. In [
20], two kinds of UAV formation communication techniques were proposed. One enabled data exchange between a pair of UAVs simultaneously; the other adopted a dynamic time slot assignment strategy. This strategy let UAVs use time slots alternately for information sharing. Reference [
21] further advanced this field by integrating time-domain mapping with fuzzy logic systems (FLSs) to address input saturation, ensuring asymptotic convergence of tracking errors within a predefined time—a key requirement for mission-critical UAV applications. The document in [
22] studied the formation holding control of UAVs relying on multi-agent system consensus. A model predictive controller was introduced. This controller empowered followers to forecast the leader’s state and keep relative positions within the formation, eventually achieving consensus with the leader. Simulation tests ultimately validated the accuracy of the conclusions. The studies in [
23] proposed an improved virtual structure method in which the control commands were calculated based on the location of the neighbors, and only passive sensors were needed to determine the location of the neighbors. The synchronization gain of the control law is obtained through fuzzy inference. The literature has also extensively studied neural networks and adaptive learning methods. The paper in [
24] proposed a framework for the leader–follower scheme, which used the neural network containing unmodeled dynamics and learning the dynamics of UAVs. Reference [
25] extended these efforts by incorporating nonlinear disturbance observers and Nussbaum functions to address unknown disturbances and nonlinear control coefficients, achieving prescribed performance for containment errors—a valuable approach for UAV swarm resilience. The document in [
26] proposed an adaptive leader–follower protocol using radial basis function neural networks to compensate for uncertainty. The document in [
27] proposed a swarm optimization collaborative localization algorithm. This algorithm in [
28] obtained an excellent convergence and can ensure the accuracy of collaborative positioning. Therefore, a UAV is a nonlinear, complex, nonholonomic dynamic system. Rapid tracking control of UAVs must be considered after reviewing the existing literature. Sliding Mode Control (SMC), a nonlinear control approach, is recognized for its resilience towards unmodelled system behaviors, parametric uncertainties, and external interferences [
29]. Considerable research attention has been directed toward applying SMC in the control of quadrotors and other Vertical take-off and Landing (VTOL) aircraft. For instance, Sira-Ramirez et al. [
30] proposed SMC for the altitude regulation of a small-scale radio-controlled helicopter. Xu and Ozguner [
31] introduced a novel design technique for the flight control of an autonomous quadrotor helicopter using SMC. In [
32], an SMC was developed to robustly control a quadrotor’s position and attitude. SMC has been proposed in the context of UAV systems, which need to reach a desired location within a specific time frame. It can stabilize a category of cascaded underactuated systems, enabling the quadrotor helicopter to be robustly stabilized and maneuvered to any position with any yaw orientation.
When the system reaches sliding mode, the system is unaffected by changes in the controlled object variables or external disturbances, and the sliding mode system has strong rigidity. Sliding mode control has demonstrated efficacy in tracking control scenarios across numerous domains. While it offers benefits such as finite-time convergence and interference immunity, issues like the chattering problem and sensitivity to steady-state errors remain. The majority of prevalent formation control methods generally only take into account obstacle-free conditions or basic obstacle-filled environments. Lu et al. [
33] introduced a potential-field-centered formation control strategy for a collection of agents. The agents can realize formation control by managing their relative positions through this strategy.
Most artificial potential fields’ applications in multi-UAV systems focus on obstacle avoidance and path planning. Reference [
34] proposes an improved artificial potential field (APF), which effectively solves the problem of unmanned vehicles getting in “local minima” and improves the reliability of their movement, but its motion process can cause oscillations. In [
35], a practical path-planning approach for multi-UAV systems founded on artificial APF is presented. By incorporating a rotating potential field, it efficiently resolves typical local minima problems. However, the problem of oscillations still awaits an effective resolution.
We design a new reaching law, integrate the artificial potential field method, and propose a novel stable controller for UAV formation to address the oscillation in traditional SMC [
32]. Since the fixed repulsion coefficient in the traditional artificial potential field method [
33] can destabilize the system and cause oscillation, we develop a new controller with a segmented repulsion coefficient to smooth the impact of sudden repulsion changes. The contributions made in this paper can be encapsulated as follows:
- (1)
Addressing the issue about inevitable oscillation phenomena that occur with traditional sliding mode control proximity laws, especially while the swarm is clustering, we are the first to find this chattering phenomenon and introduce a new proximity law (CL-RCO) designed to mitigate this undesirable tremor.
- (2)
Sliding mode control relies on the switching characteristics of high-frequency switching, which results in high-frequency oscillations of the control signal around the actual value [
32]. We develop a novel approach, CL-RCO, to mitigate oscillations in the traditional sliding mode control system. Furthermore, we design a new SMC to regulate the formation of the UAV swarm with an artificial potential field during the clustering stage of the UAV swarm.
- (3)
In a conventional artificial potential field, multiple intelligences are sensitive to the action of repulsive forces, which leads to the problem of oscillations of multiple intelligences [
33]. A segmented repulsion coefficient method has been proposed to address the instability in formations that rely solely on traditional artificial potential fields for clustering. This method involves gradually decreasing the repulsion coefficient as the distance between the UAVs decreases, thereby subjecting the UAVs to smoother repulsive forces and enabling them to achieve a stable state.
The structure of this paper is arranged in the following manner.
Section 2 sets forth the key conceptual model of the overall system.
Section 3 presents oscillation cancellation during the cruising stage of the UAV swarm.
Section 4 includes the formation of a new scenario based on the APF and the strategy for eliminating the rhythmic oscillations of UAVs. In
Section 5, several simulation examples are presented to demonstrate the validity of the theoretical findings. Ultimately, in
Section 6, the conclusions of this paper are presented.
2. Scenario Model
Figure 1 shows a diagram of the example scenario controlling the UAV to cruise and cluster. At the initial moment, the UAV cluster is in a dispersed state. Assume that topology G1 is formed, UAV1 is one of the UAVs, and red dot O is the target node of the cluster. According to the virtual force model, O is attractive to G1 cluster, UAV1 is attractive to O as Fa1, and UAV1 receives repulsive forces from other UAVs in the cluster as
. When G1 cruises close to the target point O, the formation of G1 becomes more compact, thus forming the formation topology G2. Currently, the attractive force received by UAV1 becomes Fa2, and the repulsive force received by UAV1 is Fr2. When G2 gathers into a compact cluster of spheres at the target point, forming the static topology G3, the attractive force Fa3 of UAV1 is balanced by the repulsive force and Fr3. The closer the attraction of U1 is to the target point O, the smaller it is, so there is Fa1 > Fa2 > Fa3, and the repulsive force gradually increases as the cluster becomes more compact, so there is Fr1 < Fr2 < Fr3.
Proposition 1. Under the artificial potential field framework, UAV swarms with fixed repulsion coefficients exhibit inherent instability post-clustering. Specifically, infinitesimal disturbances induce oscillations, with outer-ring UAVs experiencing larger amplitude oscillations than inner-ring UAVs.
Proof. Assuming there are UAVs in the system, the present location of the UAV is denoted as , and the coordinates of the target center point are . The distance of the UAV relative to the target center point is expressed as:
We define a target point O, which exerts an attractive force on the agent, guiding the agent toward the target point. As shown in
Figure 2, the target point generates an attractive force, while the agents generate a repulsive force. Within a specific range, there is a mutual repulsive force between agents, which prevents collisions among them. The force analysis of the UAV is shown in
Figure 3.
The gravitational field exerted on the UAV by the target center point is defined as:
The attraction force exerted by the target center point on the UAV is the derivative of the gravitational field:
where
is the attraction coefficient and
is the unit vector pointing towards the target center point.
The repulsive field between adjacent UAVs is defined as:
where
is the repulsion coefficient,
is the relative distance between adjacent UAVs,
is range of influence of the repulsive field.
The repulsive force is defined as:
where
is the unit vector pointing about UAV
to UAV
.
The variation of attraction and repulsion in artificial potential fields with distance is shown in
Figure 4. The blue line represents attraction, which increases linearly with distance, in line with Equation (3). The red dashed line indicates repulsion, which follows an inverse-square law within the repulsion range (
). Beyond
, repulsion is zero. This also corresponds exactly to Equation (5). Parameters are set as
,
,
, and a minimum safe distance
.
The dynamics equation of UAV
is:
In this context, represents the acceleration of UAV , denotes the repulsive force from other UAVs acting on UAV , indicates the external disturbance force applied to UAV , and is the damping force proportional to the velocity.
Assuming a small disturbance
is applied, the displacement
of each UAV can be expressed as follows. The new position can be represented as:
The equilibrium equation after the disturbance is:
In the steady state before the disturbance,
and
. Therefore, the equilibrium condition is:
Substituting the equilibrium conditions into Equation (8), we obtain:
The repulsive force term can be expanded and approximated to the first order for small disturbances.
Substituting into Equation (9), we obtain:
Neglecting the second-order small quantities, the above equation can be simplified to:
Combining the terms involving
and rearranging, we obtain:
Thus, the displacement change for each UAV is:
Since
:
According to Equation (15), the UAVs near the target point experience less oscillation than those farther away.
Thus, the proof is complete. □
3. Cruising Stage of UAV Swarm
3.1. Basic Principle of the Proposed Sliding Mode Controller
Sliding mode control employs discontinuous signals to force system dynamics onto a designed sliding surface, ensuring ideal behavior. It involves two phases: rapid convergence to the surface (approach) and trajectory-following motion, repeated alternately until objectives are achieved.
Consider the nonlinear system shown below:
where
represents the state variable of the sliding mode system;
is the control input about the sliding mode system;
f(.,.),
g(.,.) are different continuous functions related to
.
The control inputs for the sliding mode system are devised in the following way:
where
;
is a switching function. Therefore, during the sliding mode motion, the transition from the convergence phase of the system to the reciprocating motion phase on the sliding mode surface depends on the function
, also known as the sliding mode surface. The switching function
can change the control input of the system from
to
, thereby altering the sliding mode structure.
So, during the sliding motion, the switching function helps the system transition from the convergence stage towards the sliding surface to the oscillatory motion stage on the sliding surface. The switching function , or sliding surface, enables the transformation of the system’s control input from point to point , thus achieving a change in the structure of the sliding mode system.
First, construct appropriate switching functions. Due to different switching functions, the dynamic quality of the system is also different. Choosing a suitable sliding surface can ensure the sliding surface is in a stable state. In current practical designs, the most commonly used sliding surface is:
where
represents the error;
represents the derivative of error, indicating the rate of change of tracking error.
Regarding the reaching law for sliding mode control, there are three traditional approaches: the constant velocity reaching law, the exponential reaching law, and the power reaching law. Taking the exponential approach law as an example, when the rate at which the system approaches the sliding surface is extremely high, the system oscillation effect is strong. If the system oscillation effect is weakened, the convergence speed decreases correspondingly, and the convergence time increases.
3.2. Design and Analysis of Novel Approach Laws
The expression of the traditional exponential approach law is given as follows:
Taking the exponential approach law as an example, when the system is distant from the sliding surface, both the exponential approach and the constant-speed approach contribute to controlling the system’s velocity, facilitating its convergence to the sliding surface. As the system nears it, the significance of the exponential approach diminishes to the point of being negligible, leaving only the constant-speed approach effective. Composed of a sign function and a non-zero parameter , the constant-speed approach ensures that the system maintains a non-zero velocity, oscillating on the sliding surface. This analysis implies that the effectiveness of sliding mode control depends on the appropriate tuning of parameters and . Larger values about and lead to a more rapid convergence rate. However, this comes at the cost of more pronounced chattering effects. Conversely, smaller values of and mitigate chattering but also decelerate convergence. Its limitations can be ascertained by computing the exponential approach law’s convergence time.
In the exponential approach law, if
, we obtain:
The duration it takes for the system to arrive at the sliding surface is:
The resulting outcome is:
It can be clearly observed that increasing the value of can accelerate the system’s convergence speed, but the velocity at which it reaches the sliding surface will be higher. Consequently, during the reciprocating motion phase on the sliding surface, the velocity will also be higher, leading to more significant oscillations in the system. By decreasing the value of , the velocity during the reciprocating motion phase on the sliding surface can be reduced. Nevertheless, the convergence rate of the system will decrease accordingly, causing an elongation in the system’s convergence time.
To address the limitations of the traditional exponential convergence law, the CL-RCO put forward in this paper is presented as follows:
where
is the SMC switch function, and parameters of CL-RCO satisfy
,
.
Based on theoretical analysis, the existence and feasibility of the improved exponential reaching law were verified through numerical simulation. As shown in
Figure 5, where the yellow line is the reference value as the system nears the sliding surface, the exponential reaching law causes the system’s convergence speed to decelerate. However, the CL-RCO demonstrates a faster convergence speed.
3.3. Modeling UAV Swarm Cruising with CT-Control
The fundamental task of UAV formation control lies in guiding the multi-UAV system in diverse scenarios. For instance, the controller can generate diverse formations or execute varied maneuvers to maintain and reconstitute the multi-UAV formation. Thus, these control functionalities are implemented within the controller framework.
The controller initially gathers positional feedback from each UAV and issues desired position information to individual UAVs. Upon receiving the controller’s input, UAVs move towards their desired positions. Furthermore, the design of the UAV’s desired position controller does not account for the positions of neighboring UAVs. It solely guides each UAV to its intended position. Consequently, incorporating information regarding the positions of surrounding UAVs and modifying the desired positions is necessary for the UAV system to converge to an equilibrium state due to the repulsive forces exerted by neighboring agents.
To address this, once the desired-position controller of the UAV generates an output, the UAV equilibrium controller takes into account the UAV’s actual position as well as the positions of adjacent UAVs. By transforming coordinates, it computes the UAV’s desired position, enabling it to achieve motion toward the balanced formation state.
3.4. UAV Desired Position Controller
The motion state description equation of the UAV system is:
In the equation, and indicate the UAV’s horizontal and vertical positions, respectively. The velocities in the - and -directions are denoted by and . Control inputs for maneuvering along these axes correspond to and .
The angle of the current motion direction of the UAV is
, which can be obtained by Equation (28):
The desired angle of the UAV is the angle of the line joining the current position of the UAV and the target point, i.e.,
Thus, the angular error of the UAV can be calculated by Equation (30):
Indeed, in the context of multi-UAV system control based on artificial potential fields, as it essentially revolves around virtual target tracking, the switching function formula for the sliding mode controller about the
i-th UAV is presented as follows, relying on Equation (31):
In this context,
signifies the disparity between the real-time location and the intended destination, while
denotes the derivative of the positional variance between the actual and intended locations, effectively capturing acceleration discrepancies.
encompasses the coordinates of the anticipated position for the
i-th UAV at the given moment
.
. In this context,
represents the acceleration imparted by the desired target point,
signifies input for the
i-th UAV, and
embodies the acceleration induced by repulsive forces from
neighboring UAVs. The formulation can be summarized as follows:
Upon substituting the CL-RCO into the current text, the resulting expression is as follows:
After reorganization, the resulting expression is as follows:
Proposition 2. The cruising-stage controller integrates CL-RCO and APF, which guarantees asymptotic stability for the UAV swarm.
Proof. We choose a Lyapunov function as follows:
Take the derivative of the above equation:
where
;
belong to the open interval (0, 1).
In the next step, we need to verify the system’s stability.
Given
,
, it can be deduced with relative ease.
From the above analysis, it follows that , according to the Lyapunov principle. It is known that when , the system will stabilize. □
4. Clustering Stage of UAV Swarm
The exclusive reliance on UAV desired position controller outputs for motion regulation enables positional targeting but fails to maintain systemic stability. This limitation necessitates the integration of a formation balancing controller into the control architecture. The enhanced mechanism incorporates positional data from adjacent UAVs to dynamically recalibrate target coordinates, thereby enhancing positional convergence accuracy. Such a methodology effectively promotes equilibrium attainment in multi-UAV configurations through coordinated spatial adjustments.
Within the conventional artificial virtual force field approach, virtual forces of attraction and repulsion are harnessed to direct the formation of UAV swarms. The forces of attraction prompt the UAVs to converge, whereas the forces of repulsion safeguard against collisions between them. However, when using this method to form swarms, the UAVs exhibit certain levels of jitter. A segmented repulsion coefficient method has been proposed to address this issue. This method gradually decreases the repulsion coefficient as the distance between the UAVs decreases, thereby subjecting the UAVs to smoother repulsive forces and enabling them to achieve a stable state.
Simplified kinematics model for two-dimensional UAV motion:
In the model, , and denote the UAV’s heading angle, angular velocity, and linear velocity, respectively. Its position is defined by the coordinates and .
The UAV’s current coordinates
and the target point’s position
define their relative distance and angle, calculated as follows:
Then, we define an angle error:
By differentiating Equation (41) and then substituting the result into Equation (39), we obtain:
Upon rearrangement, we obtain:
The artificial potential field’s attractive and repulsive forces are mathematically formulated in Equations (2)–(5). According to Equation (6), the repulsive force exerted on the UAV is large at this time. Therefore, the UAVs are prone to significant oscillations. To address this issue, a method of variable repulsion coefficient is proposed. This method dynamically adjusts the repulsion coefficient based on the distance between UAVs to smooth out the repulsive force, thereby reducing and eliminating oscillations.
Therefore, the repulsion coefficient is designed as follows:
In the division of the repulsive range, an initial safety distance
= 0.3 m is set to prevent collisions, followed by an interval of 2 m to define d1 as 2.3 m. This pattern continues with a 2 m gap between each subsequent segment, sequentially increasing the subscript of d, resulting in
= 14.3 m. With an initial repulsive coefficient
= 1, the repulsive coefficients for each segment can be calculated using Equation (44).
Table 2 presents the resulting repulsive coefficients. This description is formatted under standard scientific paper writing conventions.
Next is the design of the controller. First, we construct a Lyapunov function:
Taking the derivative of
yields:
After substituting Equation (38) and rearranging, we obtain:
where we define:
Thus, Equation (47) can be simplified to:
According to Lyapunov stability theory,
and
are required. Therefore, the velocity control law
is formulated through the following:
where
is the gain coefficient, a positive constant, and
represents the centroid coordinates of all UAVs generating repulsion force on the current UAV.
Proposition 3. The clustering-stage controller, employing variable repulsion coefficients and backstepping control, ensures the global asymptotic stability of the UAV swarm topology.
Proof. The resultant expression is derived through the substitution of Equation (51) into Equation (50), yielding:
Therefore, we can deduce that and ; hence, stability of the closed-loop system is rigorously guaranteed through Lyapunov’s direct method.
When the UAV is within the repulsion field, and its position is
, we define a new angle error
, where
; the angle controller is designed accordingly so that the angle error tends to zero. The derivative of the angle error
is:
Regarding the angle error, we set a Lyapunov function as:
Clearly, , and to ensure that , we set . The angle control law’s gain parameter , defined as a strictly positive scalar constant, ensures satisfaction of Lyapunov’s asymptotic stability criterion. This configuration guarantees closed-loop convergence with asymptotic reduction in angular tracking error to zero.
Substituting
into Equation (52), we obtain the angle control law:
To measure the cohesion and compactness of UAV distribution, we define a quantity called clustering metric .The main idea is to calculate the distance between each pair of UAVs in the UAV cluster. Sum up all these distances to obtain the total distance. The cohesion is then defined as the reciprocal of the total distance. The specific calculation method for is as follows:
Assuming that the positions of the UAVs are represented by coordinates
, the distance can be calculated using Equation (57):
Then, the clustering metric
is given by:
□