Next Article in Journal
Neuroadaptive Fixed-Time Bipartite Containment Tracking of Networked UAVs Under Switching Topologies
Previous Article in Journal
A Reinforcement Learning-Based Adaptive Grey Wolf Optimizer for Simultaneous Arrival in Manned/Unmanned Aerial Vehicle Dynamic Cooperative Trajectory Planning
Previous Article in Special Issue
A Self-Adaptive Improved Slime Mold Algorithm for Multi-UAV Path Planning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Collision-Free Formation-Containment Control Based on Adaptive Sliding Mode Strategy for a Quadrotor Fleet Under Disturbances

Tecnologico de Monterrey, School of Sciences and Engineering, Av. Eugenio Garza Sada 2501 Sur, Col. Tecnológico, Monterrey 64849, NL, Mexico
*
Author to whom correspondence should be addressed.
Drones 2025, 9(10), 724; https://doi.org/10.3390/drones9100724
Submission received: 20 August 2025 / Revised: 14 October 2025 / Accepted: 15 October 2025 / Published: 18 October 2025
(This article belongs to the Special Issue Swarm Intelligence-Inspired Planning and Control for Drones)

Abstract

Highlights

What are the main findings?
  • The controller is based on adaptive sliding mode control to ensure finite-time convergence under uncertainties.
  • Practical finite-time performance was demonstrated through Lyapunov-based stability analysis.
What is the implication of the main finding?
  • Enables robust control without overestimating gains, improving efficiency and adaptability.
  • Provides a scalable framework for formation control with integrated inter-agent collision avoidance.

Abstract

This manuscript presents a robust formation and collision-free containment control system designed for a quadrotor fleet operating under turbulent wind conditions. Emphasizing collision avoidance, we introduce a two-layer strategy in which a virtual leader defines a trajectory, and leaders and followers maintain their positions while avoiding collisions among them. A graph convention is used to illustrate the roles of leaders and followers, as well as their interactions. Inter-agent collision avoidance is proposed by expanding the desired distance relative to all neighboring agents, thereby guaranteeing the convergence stage. Moreover, the approach employs a class of adaptive sliding mode strategies to ensure finite-time convergence, as well as non-overestimation of the control gain in the presence of uncertainties and perturbations. A stability analysis demonstrates the practical finite-time stability of the system using the Lyapunov methodology. Results from the simulation underscore the effectiveness of our proposal in adhering to the desired time-varying trajectories and ensuring sensor-less inter-agent collision avoidance for the followers, even in the presence of turbulent wind conditions.

1. Introduction

Recently, the incorporation of robotics into social functions has garnered significant attention, leading to the practical deployment of multi-robot systems in diverse areas, including entertainment, agricultural automation, and defense applications [1]. This surge in interest has prompted significant attention towards cooperative robotic systems, which present complex challenges, notably in guiding these robotic ensembles effectively toward their intended objectives. Cooperative control is the key to ensuring seamless interaction and coordination between system components, enabling the successful navigation of the environment and execution of tasks. Rotary-wing unmanned aerial vehicles (UAVs), with their inherent stability, vertical take-off and landing capabilities, and precise hovering abilities, exemplify the potential of such systems, particularly in tasks such as surveillance, inspection, and target tracking [2]. Thus, interest in cooperative robotics continues to expand across various sectors, including agriculture [3], industrial production [1], and inventory management [4]. The versatility of UAVs has been increasingly recognized for their ability to cover expansive territories and access remote or challenging locations.
In light of this, as the number of robots interacting with each other increases, we see an escalation in system complexity and data load. Distributed control strategies, such as consensus, containment, and formation control, provide an effective solution to mitigate these challenges. Consensus algorithms enable all agents in a network to agree on a common state using only the information exchanged through the communication network, as elaborated in [5,6]. In systems without defined leaders, the primary control objective is to ensure consensus formation on the estimated states of the neighboring elements of the system, as discussed in [7,8,9].
The leader–follower approach helps to manage the amount of information shared within a system. For instance, in situations requiring constant communication with a base of operations, limiting the number of agents who send or receive data can prevent communication overload. To achieve this, a smaller group of agents is designated as the leaders. These leaders receive trajectory information and guide the rest of the agents, considered followers, through a consensus process. Several issues have been identified in this kind of system—such as convergence coordination in [10]—when considering uncertainties in the trajectory and the system in [11], addressing communication reliability [12,13,14], robustness to disturbances [15], and control of heterogeneous systems [16]. Given the complexity inherent in multi-agent system applications, effective task execution necessitates adaptive and dynamic interactions among the agents. When multiple leaders are used to define the shape of the formation, this is known as containment control. In this setup, followers do not send information back to leaders, meaning that the consensus does not directly control the leaders; instead, it uses them as reference points. This introduces uncertainty, especially when guiding followers through dynamic formations or unfamiliar paths. Regardless of this new challenge, the flexibility to transmit information exclusively to leaders and adjust the formation as required provides significant advantages. Hence, the formation-containment strategy offers a more practical implementation by directing the leaders to achieve a predefined formation while ensuring that the followers remain confined within the convex hull defined by the leaders. In [17,18] , a dynamic strategy for implementing formation-containment control in linear multi-agent systems is proposed. Reacting to the environment presents the problem of formation, which changes over time, as a crucial topic [19].
Implementing UAV systems in confined indoor environments presents challenges, including size limitations and a high risk of collisions with obstacles. Micro air vehicles (MAVs) are well-suited for such settings due to their compact design. Still, their limited size and weight restrict the integration of complex sensor systems within a single unit. In addition, MAVs are highly sensitive to external disturbances. When multiple agents operate in the same space, the risk of mutual interference increases significantly. As a result, robust solutions are crucial for effectively managing external perturbations and system uncertainties. Adaptive control schemes have been investigated to effectively address this issue in linear systems, particularly in first- and second-order multi-agent systems [20,21,22,23]. However, they often fail to consider the full dynamics of the agents and do not account for perturbations.
Another challenging issue when working with multi-agent systems is the need for agents to avoid collisions with one another. As with numerous MAVs, the possibility of collision poses a significant threat that could result in the loss of multiple agents. Solutions to coordinate trajectories and avoid collisions of low-complexity multi-agent systems were presented in [24,25,26]. In [27,28], the formation problem of multi-agent systems was studied while avoiding collision, but perturbations were not considered.
This paper presents a novel and robust formation-containment control framework for a fleet of quadrotor micro aerial vehicles (MAVs) operating in uncertainty and susceptible to disturbance environments. The key innovation lies in a single-gain adaptive sliding mode control (SGASMC) strategy that guarantees practical finite-time convergence in the presence of external disturbances—modeled using the Von Kármán turbulence model—and system uncertainties. Unlike traditional approaches, the proposed method enables follower agents to track a dynamically evolving convex hull defined by leader agents with unknown control inputs, while also ensuring real-time sensor-less inter-agent collision avoidance and trajectory tracking within confined, time-varying environments.
The controller adaptively estimates and minimizes control gains. This approach avoids overestimation, thereby improving control efficiency and responsiveness. A Lyapunov-based stability analysis confirms finite-time convergence and robustness. Simulation results incorporating the full nonlinear quadrotor dynamics of the quadrotor to validate the framework’s effectiveness. The system achieves robust containment, integrated collision avoidance, and accurate trajectory tracking under realistic aerodynamic disturbances.
The proposed method offers a scalable and adaptable control solution for real-world MAV applications, particularly in dynamic and uncertain indoor environments.
The rest of this work is organized as follows: Section 2 covers preliminary concepts and the problem formulation. Section 3 presents the proposed formation-containment controller and the stability analysis. Simulation results are presented in Section 4. Finally, in Section 5, conclusions are drawn.

2. Preliminaries and Problem Statement

This section covers the fundamental principles of graph theory required to establish an interaction network for the quadrotor fleet and introduces the concept of the Hadamard product. Additionally, the paper presents the problem formulation.

2.1. Graph Theory

For an easy representation of the interaction between the quadrotor fleet, this paper uses graph theory. The essential concepts of graph theory are presented in the following paragraphs. The system consists of n followers and m leaders. Let a graph 𝒢 ( V , ε ) represents the directed flow of information among elements of the system. 𝒱 = { v 1 , , v n + m } is a set of nodes that represent the elements, and ε ( i , j ) 𝒱 × 𝒱 is the edge set for the interactions. The interactions of the system can be represented by an adjacency matrix A = [ a i j ] , where a i j = 1 i j if there is an edge connecting nodes v i and v j , and a i j = 0 otherwise. Denote a diagonal degree matrix D = d i a g ( d 1 , d 2 , , d n + m ) , where d i i = j = 1 n + m a i j . A Laplacian Matrix L = [ l i j ] associated with 𝒢 is obtained by L = D A . In the formation-containment context, we assume that leaders send only position information to their connected followers but do not receive any information from them, and the followers can send and receive information from the elements connected to them. Consequently, it is possible to divide the Laplacian matrix as follows:
L = L N L M 0 m × n 0 m × m
where L N n × n and L M n × m denote submatrices that represent the interactions follower-to-follower and leader-to-follower, respectively.
Assumption 1.
For any follower agent on the graph  𝒢 , there exists a directed path such that it can receive information from at least one leader agent.
Under Assumption 1
  • All the eigenvalues of L N are positive, as it is a positive-definite Hermitian matrix.
  • For matrix multiplication L N 1 L M , the sum of each row is equal to 1, and all its elements are non-negative.

2.2. Hadamard Product

Hadamard product ⊙ or element-wise product is a matrix product of two matrices of the same dimension. For two matrices A and B, of the same dimension m × n , the Hadamard product is defined as ( A B ) i j = ( A ) i j ( B ) i j . Any vector x can be expressed as its corresponding diagonal matrix D x that has x as the main diagonal. The Hadamard product of two vectors x and y equals the matrix multiplication of the corresponding diagonal matrix of one of the vectors by the other vector: x y = D x y = D y x . This allows the use of roots D x 1 / 2 , powers D x 2 , and performs other useful functions, such as the absolute value D | x | .

2.3. Problem Formulation

Consider a quadrotor fleet consisting of n + m agents, where n are followers, and m are leaders. Each agent is modeled as
χ ¨ i = f ( χ i , t ) + g ( χ i ) U i + Δ i ( t ) ,
with χ n denoting the state, U is the controller and Δ represents perturbations/uncertainties. The formation-containment requires that every follower i adheres to a position inside of a convex hull generated by the leaders j. This formation is coordinated using the reference position of a virtual leader.
The control objective is to develop a robust formation and collision-free containment control for each agent to achieve the following tasks:
1.
Trajectory tracking. To drive the state of each leader agent χ j , with j = n + 1 , , n + m , to move along a desired trajectory such that
| | χ j χ j d | | 0 ,
in finite time, where χ j d is a desired position relative to a virtual leader χ 0 .
2.
Coordinated containment. To ensure that the state of each follower agent χ i , with i = 1 , , n , moves towards a desired position χ i d that lies inside of a convex hull defined according to the leader’s position, ensuring
| | χ i χ i d | | 0 ,
in finite time. These convex hulls are defined as
C o ( χ h ) = j = n + 1 n + m a j χ j a j 0 , j = n + 1 n + m a j = 1
and
C o ( χ h ˙ ) = j = n + 1 n + m b j χ ˙ j b j 0 , j = n + 1 n + m b j = 1
where the positions and velocities of the n followers are constrained by the states χ j of the m leaders. a and b represent scalar sets defining a convex linear combination for position and velocity. Therefore, such a convex hull represents the linear combination of the states of the leaders.
3.
Containment Collision avoidance. To control the state of each agent χ k , with k = 1 , , n + m , to avoid other agents in the system such that
| | χ k χ n | | γ s
where n k and γ s is a defined safety distance relative to the other agents.

3. Formation Collision-Free Containment Control Design

In this section, the design of the proposed formation and collision-free containment controller is described, where control law designs were based on a class of adaptive sliding mode controllers. This implementation employs a two-layer strategy. Initially, the leaders track a desired trajectory using a virtual leader as a reference. Then, the followers converge within the convex hull formed by the leaders. Figure 1 presents the interactions among followers, leaders, and a virtual leader.
The system considers a virtual leader. Using its position as a reference for the formation of the leader subgroup, the reference state is defined as
χ 0 = [ x 0 , x ˙ 0 , y 0 , y ˙ 0 , z 0 , z ˙ 0 ] T
We denote a formation matrix h = [ h n + 1 T , h n + 2 T , , h n + m T ] T within h j = [ h p , j , h v , j ] 6 , j = n + 1 , n + 2 , , n + m , describing the desired formation of the leaders. Since this work evaluates the problem of time-varying formations, let us define the following assumption.
Assumption 2.
The formation vectors h j for all j = n + 1 , n + 2 , , n + m are piecewise continuously differentiable.
To achieve formation tracking, for all leaders with any initial conditions, the system should satisfy the following:
l i m t inf ( χ j h j χ 0 ) = 0 , j = n + 1 , n + 2 , , n + m
As such, desired formation positions are defined as χ d , j = χ 0 + h j j = n + 1 , n + 2 , , n + m . Thus, a tracking error is established as
e t = χ 1 , 0 + h p j χ 1 , j , e ˙ t = χ 2 , 0 + h v j χ 2 , j ,
Then, to lay the foundation of containment, the following assumption is stated:
Assumption 3.
The complete state of MAVs is assumed to be available to its neighbors.
This study focuses on the control strategy to ensure collision-free containment of a MAV fleet, integrating the dynamics of each follower and the corresponding containment control law. To establish formation and collision-free containment, considering the flight capabilities of the quadrotors, such as their ability to vertically take-off and land, hover, and perform high-maneuverability maneuvers within a 3D workspace, it is assumed that each agent is equipped with a low-level controller enabling free maneuverability. A reduced tracking model is used to determine the desired positions for formation and containment with respect to the inertial frame I [29]:
x ¨ = a x cos ψ a y sin ψ ψ ˙ ( v x sin ψ + v y cos ψ )
y ¨ = a x sin ψ + a x cos ψ + ψ ˙ ( v x cos ψ v y sin ψ )
z ¨ = a z
ψ ¨ = Ω
with accelerations a x , a y , a z in x , y , z coordinates, while v x and v y denote velocities with respect to the body frame {Bi} and Ω is the angular acceleration in yaw.
From the model (10),(11),(12),(13), and considering a vector state as ξ = [ x , y , z , ψ ] T of each agent, the system is rewritten as follows:
ξ i ¨ = F ( ξ i , t ) + g ( ξ i ) U i + Δ i ( t ) ,
with
F ( ξ i , t ) = ψ i ˙ ( x ˙ i sin ψ i + y ˙ i cos ψ i ) ψ i ˙ ( x ˙ i cos ψ i y ˙ i sin ψ i ) 0 0 ,
g ( ξ i ) = c o s ψ i s i n ψ i 0 0 s i n ψ i c o s ψ i 0 0 0 0 1 0 0 0 0 1 ,
where U i = [ a x , a y , a z , α ] T is the control command. The perturbations and uncertainties are represented by Δ i ( t ) = [ δ x , δ y , δ z , δ ω ] T satisfying | Δ i ( t ) | L , with L > 0 denoting the perturbation boundary. Now, based on Assumption 1, to satisfy coordinated containment, the positions and velocities desired for the i-th follower are defined as follows:
ξ d c i = j = 1 m [ L N 1 L M ] i j ξ n + j = x d c i y d c i z d c i ψ d c i T
ξ ˙ d c i = j = 1 m [ L N 1 L M ] i j ξ ˙ n + j = x ˙ d c i y ˙ d c i z ˙ d c i ψ ˙ d c i T
where ξ n + j and ξ ˙ n + j are the leader ( n + j ) -th states. Subsequently, the containment error is formulated as
e c = ξ d c i ξ i = j = 1 m [ L N 1 L M ] i j ξ n + j ξ i ,
and their derivative corresponds to
e ˙ c = ξ ˙ d c i ξ i ˙ = j = 1 m [ L N 1 L M ] i j ξ ˙ n + j ξ i ˙ ,
Now, since the containment error is calculated individually for each follower based on the current positions of the leaders, the actual trajectories of the followers to reach the desired position may generate collisions during the convergence phase. Thus, to guarantee collision-free convergence for the followers, the following strategy is adopted:
e a c i = e c i + h c i
where the error is expanded by the desired distance relative to all neighbor agents h c i , this adds a repelling effect, making agents pursue their desired positions while maintaining proportional distances from each other, thus assuring (6). Using the same information as that for the containment error, we construct h c i . To simplify computation, the containment error is expressed as matrix multiplication:
e c i = L ζ I s ξ ( I n + m I s ) ξ
L ζ = 0 L N 1 L M 0 I m
where ξ describes the states of all agents in the system, I is an identity matrix whose size is ∗, and s is the number of states of each agent. The desired distance relative to the neighbors is given by
h c i = ( D I s ) L ζ I s ξ ( A I s ) L ζ I s ξ ( L I s ) ξ
By substituting Equations (21) and (23) into (20), we obtain the following:
e a c i = L ζ I n + m I s ξ + D L ζ A L ζ L I s ξ = L ζ I n + m + ( D A ) L ζ L I s ξ = L ζ I n + m + L L ζ L I s ξ = L ζ I n + m L I s ξ
Due to the fact that L ζ I n + m L I s is a constant matrix and judging by the properties established in the Assumption 1, we know that all its eigenvalues are non-positive. Now, the error time derivative result is as follows:
e ˙ a c i = L ζ I n + m L I s ξ ˙
Then, to design the formation and collision-free containment control, using the SGASMC strategy, a containment sliding surface is denoted as:
σ c = e ˙ a c + D λ e a c
where D λ is the diagonal matrix representation of the vector λ such that λ i > 0 i and the time derivative of (26) is given by
σ c ˙ = e ¨ + D λ e ˙ = ( F i ( ξ i ˙ , ξ i ) + g ( ξ i ) U + Δ ( t ) ) + D λ e ˙
The control aims to achieve σ = σ ˙ = 0 . Thus, the next feedback control is adopted:
U i = g ( ξ i ) 1 ( F i ( ξ ˙ i , ξ i ) u i ( t ) + D λ e c ) ,
where the auxiliary controller u i is applied using a single-gain adaptive sliding mode strategy, as detailed in
u i = 2 K c ( t ) | σ c | 1 / 2 s i g n ( σ c ) K c 2 2 σ c ,
whose adaptation of K c ( t ) is governed by
K ˙ c ( t ) = α c 1 / 2 | σ | 1 / 2 β c 1 / 2 K c ( t ) 2
with α c and β c being positive and representing the precision and control effort parameters, respectively. β c is usually a small value as it helps minimize oscillation and smooth the control action. α c is generally larger, controlling the rate at which the adaptive gain grows; however, as its value increases, the adaptation becomes more aggressive, leading to higher energy consumption. The advantages of the proposed controller (29) and adaptation (30) include robustness against external disturbances, avoidance of overestimation of controller gains, reduction in control parameters and achieving finite-time convergence.

Stability Analysis

The stability of the formation-containment closed-loop system is presented. Let us first consider the following definition and lemma, respectively.
Definition 1
([30]). Considering a nonlinear system
ξ ˙ = f ( ξ , U )
where ξ is a state vector, U is the input vector. The solution is practical finite-time stable if for all ξ 0 there exists a ϵ > 0 and a time t c ( ϵ , ξ 0 ) < , such that | | ξ ( t ) | | < ϵ , for all t t 0 + t c .
Lemma 1
([30]). Consider a nonlinear system (31), and assume there exists a continuous positive-definite function V ( σ ) and scalars η > 0 , 0 < α < 1 and 0 < ς < such that
V ˙ ( σ ) η V α ( σ ) + ς ,
the system is practical finite-time stable. Therefore, the trajectories of the closed-loop system are bounded in finite time as
lim ϑ ϑ 0 σ V α ( σ ) ς ( 1 ϑ ) η
where  0 < ϑ 0 < 1 . Therefore, the trajectories of the closed-loop system are bounded in finite time by
t c V 1 α ( σ 0 ) η ϑ 0 ( 1 α )
Now, the stability of the system can be expressed by the following theorem.
Theorem 1.
A system considering the formation-containment controller (28) with adaptive law (30) in a closed-loop with a 3D tracking model (10),(11),(12),(13) for a mini quadrotor fleet is practical finite-time stable and converges at time t t c .
Proof. 
The closed-loop stability can be assessed by examining the dynamics of the formation-containment sliding surface when integrated with the controller (28), which is expressed by
σ ˙ c = ( F i ( ξ ˙ i , ξ i ) + g i ( ξ i ) ( g i ( ξ i ) 1 ( F i ( ξ ˙ i , ξ i ) u i ( t ) + D λ e ˙ ) + Δ ( t ) ) + D λ e ˙ = u i ( t ) Δ ( t ) = 2 K c | σ c | 1 / 2 s i g n ( σ c ) K c 2 2 σ c + Δ ( t )
To simplify the analysis, and since K c ( t ) is a diagonal matrix, each of its values individually affects only one of the states of the system; it is possible to continue the closed-loop stability analysis as follows:
σ ˙ c = 2 K c | σ c | 1 / 2 D s i g n ( σ c ) K c 2 2 σ c + D δ ( t )
Now, consider the following Lyapunov function candidate:
V = 1 2 σ c T σ c + 1 2 ( K c K c ) T ( K c K c )
where K c is a gain upper-bound, which exists but is unknown, and counteracts the perturbation, such that Δ K c = K c K c < 0 . Then, by differentiating such a Lyapunov function candidate, we have
V ˙ = σ c T σ c ˙ + Δ K c T K c ˙
where introducing (36) into (37) leads to
V ˙ σ c T ( 2 K c | σ c | 1 / 2 D s i g n ( σ c ) K c 2 2 σ c + D δ ( t ) ) + Δ K c T K c ˙ ( 39 ) | σ c | T ( 2 K c | σ c | 1 / 2 K c 2 2 | σ c | + L ) + Δ K c T K c ˙ ( 40 )
Given this includes only dot products and Hadamard products, it can be rewritten as
V ˙ i = 1 n + m { | σ c i | ( 2 K c i | σ c i | 1 / 2 K c i 2 2 | σ c i | + L i ) + Δ K c i K c i ˙ } ( 41 ) i = 1 n + m { 2 K c i | σ c i | 3 / 2 K c i 2 2 | σ c i | 2 + L i | σ c i | + Δ K c i K c i ˙ 2 K c * | σ c | 3 / 2 + 2 K c * | σ c | 3 / 2 } ( 42 ) i = 1 n + m { | σ c i | ( 2 K c i * | σ c i | 1 / 2 K c i 2 2 | σ c i | + L i ) + Δ K c i ( K c i ˙ 2 | σ c i | 3 / 2 ) } ( 43 ) | σ c | T ( 2 K c * | σ c | 1 / 2 K c 2 2 | σ c | + L ) + Δ K c T ( K c ˙ 2 | σ c | 3 / 2 ) ( 44 )
Now, by introducing the following parameters and knowing that Δ K c = | Δ K c |
η k 0
η s = 2 K c * | σ c | 1 / 2 + K c 2 2 | σ c | L ,
one can express the above equation as
V ˙ η s T | σ c | η k T | Δ K c | + η k T | Δ K c | + Δ K c T ( K c ˙ 2 | σ c | 3 / 2 )
η s T | σ c | η k T | Δ K c | + | Δ K c | T ( K c ˙ + 2 | σ c | 3 / 2 + η k )
Consider
η s T | σ c | = i = 1 n + m ( η s ) i | σ c i | = i = 1 n + m | σ c i | 1 / 2 ( η s ) i | σ c i | 1 / 2 = ( | σ c | 1 / 2 ) T D η s | σ c | 1 / 2
and let ς = | Δ K c | T ( K c ˙ + | σ c | 3 / 2 + η k ) = | K c K c * | ( α c 1 / 2 | σ | 1 / 2 + β c 1 / 2 K c 2 + | σ c | 3 / 2 + η k ) , then
V ˙ ( | σ c | 1 / 2 ) T D η s | σ c | 1 / 2 ( | Δ K c | 1 / 2 ) T D η k | Δ K c | 1 / 2 + ς
From the definition of η s and η k , it is possible to conclude that D η s and D η k are positive-definite symetric matrices. Thus, by Rayleigh’s principle,
( | σ c | 1 / 2 ) T D η s | σ c | 1 / 2 λ m i n ( D η s ) ( | σ c | 1 / 2 ) T | σ c | 1 / 2 λ m i n ( D η s ) i = 1 n + m | σ c i | ( | Δ K c | 1 / 2 ) T D η k | Δ K c | 1 / 2 λ m i n ( D η k ) i = 1 n + m | K c i K c i * |
where λ m i n ( ) is the minimum eigenvalue of *. Then,
V ˙ λ m i n ( D η s ) i = 1 n + m { | σ c i | } λ m i n ( D η k ) i = 1 n + m { | K c i K c i * | } + ς ( 51 ) λ m i n ( D η s ) 2 i = 1 n + m { | σ c i | 2 } λ m i n ( D η k ) 2 i = 1 n + m { | K c i K c i | 2 } + ς ( 52 ) η i = 1 n + m | σ c i | 2 + | K c i K c i | 2 + ς ( 53 ) η | σ c | 2 + | K c K c | 2 + ς ( 54 )
with η = m i n { 2 λ m i n ( D η s ) , 2 λ m i n ( D η k ) . The above equation can be rewritten according to Lemma 1, resulting in the following:
V ˙ η V α + ς ,
where α = 1 / 2 . Thus, σ is practical finite-time stable if 0 < ς < . Notice that ς must be positive to guarantee stability; in that way, two cases arise:
  • Case 1. When the sliding mode is achieved, i.e., | σ | = 0 and ς > 0 if β c 1 / 2 K c 2 + η k > 0 due to the fact that β c , and K c are positive defined, then ς > 0 η k > 0 .
  • Case 2. For the reaching phase | σ | 0 and ς > 0 if α c 1 / 2 | σ | 1 / 2 + β c 1 / 2 k 2 + 2 | σ | 3 / 2 + η k > 0 , one can choose η k = ( α c 1 / 2 ( α c 1 / 2 / 6 ) 1 / 2 2 ( α c 1 / 2 / 6 ) 3 / 2 ) to allow ς > 0 .
This completes the proof. □
For low-level control and modeling, the results from [31] guided the development of a control strategy for a six-degree-of-freedom quadrotor model, which reflects the cross configuration and uses these parameters: l = 0.058 m, g = 9.81 m/s2, m = 0.060 kg, I x x = 3.073 × 10 5 kgm2, I y y = 3.084 × 10 5 kgm2, I z z = 5.968 × 10 5 kgm2, J r = 8.801 × 10 8 kgm2. The flight controller is divided into two parts: an attitude controller for the ϕ , θ , ψ angles in the body frame, and a position controller for the x , y , z coordinates in the inertial frame. The controllers are implemented as presented in [29]. This approach enables the calculation of the torques, thrusts, and desired angles required for free maneuverability in a 3D workspace.

4. Simulation Results

This section presents the evaluation of the proposed three-dimensional formation-containment control strategy for a fleet of quadrotor micro aerial vehicles. The simulation was implemented in the MATLAB/Simulink R2020b environment, incorporating both the control algorithm and a dynamic quadrotor model for each agent. Figure 3 illustrates the control loop that integrates the two control layers. The proposed SGASMC controls the tracking model to set the trajectory of each agent, and low-level attitude and position control ensures maneuverability. The simulated system consists of eight agents: four followers, denoted as F 1 F 4 , and four leaders, as L 1 L 4 . The interactions among the agents are depicted in Figure 1.
Simulations were conducted using a fixed step size of 0.01 s. To demonstrate the effectiveness of the proposed approach, the test trajectory was designed to represent several common scenarios in multi-agent systems missions, including static and dynamic convergence, robustness to perturbations, and time-varying formations.
The Von Kármán turbulence model is used to simulate atmospheric wind disturbances affecting unmanned aerial vehicles. It provides a realistic representation of wind turbulence by modeling the power spectral density of velocity fluctuations based on assumptions of homogeneous turbulence. Compared to simpler models, this model more accurately captures the spatial and temporal characteristics of wind disturbances encountered by UAVs, making it suitable for high-fidelity simulation, flight dynamics analysis, and control system design. The dedicated block for Von Karman wind turbulence provided by Simulink was used in this simulation.
The complete description of the test is presented in Figure 4. The inicial conditions of the system are as follows: F 1 ( 0 ) = ξ 1 ( 0 ) = [ 0.7 , 1 , 0 , 0 ] T , F 2 ( 0 ) = ξ 2 ( 0 ) = [ 2 , 0 , 0 , 0 ] T , F 3 ( 0 ) = ξ 3 ( 0 ) = [ 0.7 , 1 , 0 , 0 ] T , F 4 ( 0 ) = ξ 4 ( 0 ) = [ 1 , 1 , 0 , 0 ] T , L 1 ( 0 ) = ξ 5 ( 0 ) = [ 1 , 0 , 0 , π ] T , L 2 ( 0 ) = ξ 6 ( 0 ) = [ 1 , 0 , 0 , π ] T , L 3 ( 0 ) = ξ 7 ( 0 ) = [ 0 , 1 , 0 , π ] T , L 4 ( 0 ) = ξ 8 ( 0 ) = [ 0 , 1 , 0 , π ] T . All agents are considered to have the same characteristics, and as such, the control parameters are the same for each agent: α i = 4 , β i = 0.125 , and λ i = 3 . The first phase involves followers converging to their designated reference point within a region defined by the leaders. During this phase, the leaders are arranged in a square formation, and the followers are expected to converge to the containment while avoiding collisions with both each other and the leaders. Once containment is achieved, the second phase commences. In this phase, the leaders follow a trajectory in the shape of a 3D infinity, as shown in Figure 5 and Figure 6. Furthermore, to evaluate robustness, a turbulent wind perturbation using the Von Kármán model is applied starting at t = 45 s and for the remainder of the test. Its magnitude is presented in Figure 7. Under such perturbations, and given the quadrotor’s small size, the disturbance magnitude presents a considerable challenge not only to maintain a stable flight but also to avoid collisions along the trajectory. At t = 62.5 s, the leaders’ formation changes from a square to a tetrahedral shape. In this phase, followers pursue new desired positions that reflect the modification of the leader’s formation, while maintaining the same interaction network. Finally, in the last phase, the system continues to follow the trajectory with the new formation and under the turbulent wind perturbation. A video of the simulation is attached to illustrate the system’s dynamic response. This video (Video S1) visualizes results by importing simulation data for a full 6-degree of freedom quadrotor model for each agent and disturbances using the Von Kármán wind turbulent model from MATLAB/Simulink into the CoppeliaSim Edu, Version 4.3.0 environment.
To clarify the distinction between the normal containment error and the proposed collision avoidance error, Figure 8 and Figure 9 display the convergence phase behaviors side by side for each control approach, using data from the first 5 s of the experiment. With the standard containment strategy, followers aim for their target positions by the shortest path. This can result in collisions, especially if the initial setup causes their paths to cross. For demonstration, the initial conditions were specifically chosen to create intersecting trajectories, illustrating how followers often reach their assigned altitude simultaneously and cross paths, which increases the risk of collision. In contrast, subsection (b) of the figures demonstrates the effects of the proposed collision avoidance error. Here, followers do not move directly to their desired positions. Instead, the control adjusts each follower’s trajectory to avoid the expected desired positions of nearby agents. For example, follower F1 approaches its desired position from above, overshooting the required altitude before descending to it. F4, in turn, stays lower and follows a rising arc to join the formation from below. F2 and F3 show milder adjustments; F2 adds a slight curve to its path, giving F3 enough space to approach its position almost directly. This coordinated avoidance is achieved without relying on external sensors. Each follower maintains a safe distance using only the interaction network matrices and information shared by its neighbors. The followers’ desired positions are determined by the submatrix L N 1 L M from L ζ , which remains constant unless the network topology changes. As a result, any follower with access to the leaders’ positions can calculate both its own and its neighbors’ desired positions, enabling decentralized and collision-free convergence.
Key system performance parameters are illustrated in the figures that follow. Figure 10 shows the norm of the position error and control input for the follower agents. The error represents the deviation between the actual follower positions and the desired positions defined by the convex hull formed by the leaders. This serves as an indicator of the containment performance, which is also illustrated in the lower panel of the figure, demonstrating that the magnitude of the control effort is within the capabilities of the MAVs. Figure 11 displays the evolution of the adaptive control gains for the followers under turbulent wind conditions. The variations in these gains reflect the controller’s real-time adaptation to external disturbances, highlighting its ability to maintain stability and performance despite environmental perturbations. Figure 12 presents the tracking error norm for both followers and leaders. This error quantifies each agent’s deviation from its respective reference trajectory, providing a measure of the overall system tracking performance. While the error exhibits spike increases, these are primarily due to the inertial effects inherent in the quadrotor dynamics. Importantly, these fluctuations remain within the allowable performance bounds of the vehicles. Notably, the leaders experience greater deviations than the followers under wind disturbances. This disparity occurs because the convex hull, which defines the formation, moves in response to leader displacement caused by disturbance. Conversely, the virtual leader, unaffected by atmospheric turbulence, continues along its predetermined trajectory, causing the leaders to exhibit a greater deviation from the ideal path under turbulent conditions.
To further validate the effectiveness of the proposed controller, Figure 13 compares the performance of three control strategies in terms of the error norm, control effort norm, and integral absolute error (IAE) norm. All controllers were implemented within the same feedback linearization framework, with the control input u i replaced by a conventional PID controller, an adaptive sliding mode controller (ASMC) [29], and the proposed SGASMC. As shown in the figure, all three controllers successfully maintained system stability under moderate Von Kármán wind disturbances. However, notable differences in performance are observed. The PID controller, lacking adaptive ability, exhibited greater difficulty in compensating for disturbances, resulting in higher error and control effort. In contrast, the two adaptive controllers, ASMC and SGASMC, demonstrated significantly better disturbance rejection, as reflected in their lower control effort norms. Among the adaptive strategies, the SGASMC exhibited a clear advantage in terms of adaptation speed. This is particularly evident in the IAE plot, where SGASMC shows a consistently lower growth rate, indicating faster convergence and more effective error suppression. These results highlight the superior performance of SGASMC in dynamic and uncertain environments compared to both ASMC and PID controllers.

5. Conclusions

A formation and collision-free containment control strategy has been developed for a fleet of mini quadrotors. This control methodology was formulated using a class of adaptive sliding mode techniques, which ensures robustness against external disturbances and guarantees inter-agent collision avoidance during convergence. The control gain dynamically adapted its magnitude to counteract perturbations as they arose. Additionally, the practical finite-time stability of the system was proven using the Lyapunov approach. Simulation tests were conducted to assess the feasibility and performance of the proposed formation-containment strategy, using a realistic, complete quadrotor model and perturbations based on the Von Kármán turbulence model. The results demonstrated that the followers converged to the convex hull while avoiding collisions, and the leaders successfully tracked a time-varying formation trajectory subjected to complex disturbances.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/drones9100724/s1.

Author Contributions

Conceptualization, C.K. and H.C.; methodology, C.K. and H.C.; software, C.K.; validation, H.C.; writing—original draft preparation, C.K.; writing—review and editing, C.K. and H.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors upon request.

Acknowledgments

Thanks are extended to the multi-robot system laboratory at Tecnológico de Monterrey and the CONACyT scholarship for support to develop this project.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Feng, Z.; Hu, G.; Sun, Y.; Soon, J. An overview of collaborative robotic manipulation in multi-robot systems. Annu. Rev. Control 2020, 49, 113–127. [Google Scholar] [CrossRef]
  2. Gupte, S.; Mohandas, P.; Conrad, J. A survey of quadrotor Unmanned Aerial Vehicles. In Proceedings of the 2012 Proceedings of IEEE Southeastcon, Orlando, FL, USA, 15–18 March 2012; pp. 1–6. [Google Scholar]
  3. Kim, J.; Kim, S.; Ju, C.; Son, H.I. Unmanned Aerial Vehicles in Agriculture: A Review of Perspective of Platform, Control, and Applications. IEEE Access 2019, 7, 105100–105115. [Google Scholar] [CrossRef]
  4. Beul, M.; Droeschel, D.; Nieuwenhuisen, M.; Quenzel, J.; Houben, S.; Behnke, S. Fast Autonomous Flight in Warehouses for Inventory Applications. IEEE Robot. Autom. Lett. 2018, 3, 3121–3128. [Google Scholar] [CrossRef]
  5. Jadbbaie, A.; Lin, J.; Morse, A. Coordination of groups of mobile autonomous agents using nearest neighbor rules. IEEE Trans. Autom. Control 2003, 48, 988–1001. [Google Scholar] [CrossRef]
  6. Ji, M.; Ferrari-Trecate, J.; Egerstedt, M.; Buffa, A. Containment control in mobile networks. IEEE Trans. Autom. Control 2008, 53, 1972–1975. [Google Scholar] [CrossRef]
  7. Meng, Z.; Ren, W.; Cao, Y.; You, Z. Leaderless and leader-following consensus with communication and input delays under a directed network topology. IEEE Trans. Syst. Man Cybern. Part B Cybern. 2011, 41, 75–88. [Google Scholar] [CrossRef] [PubMed]
  8. Meng, Y.; Chen, Q.; Chu, X.; Rahmani, A. Maneuver Guidance and Formation Maintenance for Control of Leaderless Space-Robot Teams. IEEE Trans. Aerosp. Electron. Syst. 2019, 55, 289–302. [Google Scholar] [CrossRef]
  9. Ren, W. Distributed leaderless consensus algorithms for networked Euler-Lagrange systems. Int. J. Control 2009, 82, 2137–2149. [Google Scholar] [CrossRef]
  10. Ning, B.; Zuo, Z.; Jin, J.; Zheng, J. Distributed Fixed-Time Coordinated Tracking for Nonlinear Multi-Agent Systems Under Directed Graphs. Asian J. Control 2017, 20, 646–658. [Google Scholar] [CrossRef]
  11. Parsa, M.; Danesh, M. Containment control of high-order multi-agent systems with heterogeneous uncertainties, dynamic leaders, and time delay. Asian J. Control 2019, 23, 799–810. [Google Scholar] [CrossRef]
  12. Liu, Y.; Su, H. Some necessary and sufficient conditions for containment of second-order multi-agent systems with intermittent sampled data. ISA Trans. 2020, 108, 154–163. [Google Scholar] [CrossRef] [PubMed]
  13. Wang, F.; Ni, Y.; Liu, Z.; Chen, Z. Containment Control for General Second-Order Multiagent Systems with Switched Dynamics. IEEE Trans. Cybern. 2020, 50, 550–560. [Google Scholar] [CrossRef]
  14. AL-Madani, B.; Elkhider, S.M.; El-Ferik, S. DDS-Based Containment Control of Multiple UAV Systems. Appl. Sci. 2020, 10, 4572. [Google Scholar] [CrossRef]
  15. Wang, L.; Han, T.; Zhan, X.; Wu, J.; Yan, H. Bipartite containment for linear multi-agent systems subject to unknown exogenous disturbances. Asian J. Control 2021, 24, 1836–1845. [Google Scholar] [CrossRef]
  16. Mazouchi, M.; Naghibi-Sistani, M.B.; Hosseini Sani, S.K.; Tatari, F.; Modares, H. Observer-based adaptive optimal output containment control problem of linear heterogeneous Multiagent systems with relative output measurements. Int. J. Adapt. Control Signal Process. 2019, 33, 262–284. [Google Scholar] [CrossRef]
  17. Amini, A.; Asif, A.; Mohammadi, A. Formation-containment control using dynamic event-triggering mechanism for multi-agent systems. IEEE/CAA J. Autom. Sin. 2020, 7, 1235–1248. [Google Scholar] [CrossRef]
  18. Jiang, W.; Wen, G.; Peng, Z.; Huang, T.; Rahmani, A. Fully Distributed Formation-Containment Control of Heterogeneous Linear Multiagent Systems. IEEE Trans. Autom. Control 2019, 64, 3889–3896. [Google Scholar] [CrossRef]
  19. Liu, D.; Liu, H.; Valavanis, K.P. Fully Distributed Time-Varying Formation Control for Multiple Uncertain Missiles. IEEE Trans. Aerosp. Electron. Syst. 2021, 57, 1646–1656. [Google Scholar] [CrossRef]
  20. Fu, J.; Wan, Y.; Wen, G.; Huang, T. Distributed Robust Global Containment Control of Second-Order Multiagent Systems with Input Saturation. IEEE Trans. Control Netw. Syst. 2019, 6, 1426–1437. [Google Scholar] [CrossRef]
  21. Xiao, S.; Dong, J. Distributed Adaptive Fuzzy Fault-Tolerant Containment Control for Heterogeneous Nonlinear Multiagent Systems. IEEE Trans. Syst. Man Cybern. Syst. 2020, 52, 954–965. [Google Scholar] [CrossRef]
  22. Zhao, L.; Yu, J.; Shi, P. Command Filtered Backstepping-Based Attitude Containment Control for Spacecraft Formation. IEEE Trans. Syst. Man Cybern. Syst. 2021, 51, 1278–1287. [Google Scholar] [CrossRef]
  23. Kuang, J.; Chen, M. Adaptive Sliding Mode Control for Trajectory Tracking of Quadrotor Unmanned Aerial Vehicles Under Input Saturation and Disturbances. Drones 2024, 8, 614. [Google Scholar] [CrossRef]
  24. Tedesco, F.; Raimondo, D.M.; Casavola, A. Collision avoidance command governor for multi-vehicle unmanned systems. Int. J. Robust Nonlinear Control 2014, 24, 2309–2330. [Google Scholar] [CrossRef]
  25. Yang, H.; Li, Q.; Zuo, Z.; Zhao, H. Event-triggered model predictive control for multi-vehicle systems with collision avoidance and obstacle avoidance. Int. J. Robust Nonlinear Control 2021, 31, 5476–5494. [Google Scholar] [CrossRef]
  26. Bechlioulis, C.P. Robust Distributed Containment Control with Adaptive Performance and Collision Avoidance for Multi-Agent Systems. Electronics 2024, 13, 1439. [Google Scholar] [CrossRef]
  27. Cong, Y.; Du, H.; Jin, Q.; Zhu, W.; Lin, X. Formation control for multiquadrotor aircraft: Connectivity preserving and collision avoidance. Int. J. Robust Nonlinear Control 2020, 30, 2352–2366. [Google Scholar] [CrossRef]
  28. Babazadeh, R.; Selmic, R. Distance-Based Multiagent Formation Control with Energy Constraints Using SDRE. IEEE Trans. Aerosp. Electron. Syst. 2020, 56, 41–56. [Google Scholar] [CrossRef]
  29. Katt, C.; Castañeda, H.; Castillo, P. Formation-Containment for a MAV Fleet Under Perturbations via Adaptive Sliding Mode Approach. In Proceedings of the 2021 International Conference on Unmanned Aircraft Systems (ICUAS), Athens, Greece, 5–18 June 2021; pp. 1530–1537. [Google Scholar] [CrossRef]
  30. Zhu, Z.; Xia, Y.; Fu, M. Attitude stabilization of rigid spacecraft with finite-time convergence. Int. J. Robust Nonlinear Control 2011, 21, 686–702. [Google Scholar] [CrossRef]
  31. Castañeda, H.; Gordillo, J.L. Spatial Modeling and Robust Flight Control Based on Adaptive Sliding Mode Approach for a Quadrotor MAV. J. Intell. Robot. Syst. 2019, 93, 101–111. [Google Scholar] [CrossRef]
Figure 1. Two-layer structure and interaction network of the quadrotor fleet.
Figure 1. Two-layer structure and interaction network of the quadrotor fleet.
Drones 09 00724 g001
Figure 2. Tracking model for each follower.
Figure 2. Tracking model for each follower.
Drones 09 00724 g002
Figure 3. General control scheme: Leaders and followers.
Figure 3. General control scheme: Leaders and followers.
Drones 09 00724 g003
Figure 4. Description of the complete test.
Figure 4. Description of the complete test.
Drones 09 00724 g004
Figure 5. Quadrotors fleet response tracking a 3D trajectory.
Figure 5. Quadrotors fleet response tracking a 3D trajectory.
Drones 09 00724 g005
Figure 6. Top and front views of the fleet trajectories.
Figure 6. Top and front views of the fleet trajectories.
Drones 09 00724 g006
Figure 7. Applied wind perturbation profile.
Figure 7. Applied wind perturbation profile.
Drones 09 00724 g007
Figure 8. 3D view of convergence of all agents: (a) Followers collision during convergence; (b) Followers collision avoided during convergence.
Figure 8. 3D view of convergence of all agents: (a) Followers collision during convergence; (b) Followers collision avoided during convergence.
Drones 09 00724 g008
Figure 9. Top view of convergence of all agents: (a) Followers collision during convergence; (b) Followers collision avoided during convergence.
Figure 9. Top view of convergence of all agents: (a) Followers collision during convergence; (b) Followers collision avoided during convergence.
Drones 09 00724 g009
Figure 10. Containment error response (top) and containment control input norm (bottom), respectively.
Figure 10. Containment error response (top) and containment control input norm (bottom), respectively.
Drones 09 00724 g010
Figure 11. Adaptive gains of the containment scheme.
Figure 11. Adaptive gains of the containment scheme.
Drones 09 00724 g011
Figure 12. Tracking error of the formation-containment.
Figure 12. Tracking error of the formation-containment.
Drones 09 00724 g012
Figure 13. Comparison of the norm of the error, control, and integral absolute error for different controllers.
Figure 13. Comparison of the norm of the error, control, and integral absolute error for different controllers.
Drones 09 00724 g013
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Katt, C.; Castañeda, H. Collision-Free Formation-Containment Control Based on Adaptive Sliding Mode Strategy for a Quadrotor Fleet Under Disturbances. Drones 2025, 9, 724. https://doi.org/10.3390/drones9100724

AMA Style

Katt C, Castañeda H. Collision-Free Formation-Containment Control Based on Adaptive Sliding Mode Strategy for a Quadrotor Fleet Under Disturbances. Drones. 2025; 9(10):724. https://doi.org/10.3390/drones9100724

Chicago/Turabian Style

Katt, Carlos, and Herman Castañeda. 2025. "Collision-Free Formation-Containment Control Based on Adaptive Sliding Mode Strategy for a Quadrotor Fleet Under Disturbances" Drones 9, no. 10: 724. https://doi.org/10.3390/drones9100724

APA Style

Katt, C., & Castañeda, H. (2025). Collision-Free Formation-Containment Control Based on Adaptive Sliding Mode Strategy for a Quadrotor Fleet Under Disturbances. Drones, 9(10), 724. https://doi.org/10.3390/drones9100724

Article Metrics

Back to TopTop