Next Article in Journal
Physics-Informed Neural Networks and Fourier Methods for the Generalized Korteweg–de Vries Equation
Previous Article in Journal
Task-Oriented Local Feature Rectification Network for Few-Shot Image Classification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Nonlinear Mathematical Modeling and Robust Control of UAV Formation Under Parametric Variations and External Disturbances

by
Claudia Verónica Vera Vaca
1,2,
Stefano Di Gennaro
3,4,
Claudia Carolina Vaca García
1 and
Cuauhtémoc Acosta Lúa
1,4,*
1
Centro Universitario de la Ciénega, Universidad de Guadalajara, Ocotlán 47820, Jalisco, Mexico
2
Centro Universitario de Tlaquepaque, Universidad de Guadalajara, San Pedro Tlaquepaque 45599, Jalisco, Mexico
3
Department of Information Engineering, Computer Science and Mathematics of University of L’Aquila, Coppito, 67100 L’Aquila, Italy
4
Center of Excellence DEWS, University of L’Aquila, Coppito, 67100 L’Aquila, Italy
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(9), 1520; https://doi.org/10.3390/math13091520
Submission received: 7 March 2025 / Revised: 1 May 2025 / Accepted: 3 May 2025 / Published: 5 May 2025
(This article belongs to the Special Issue Advances in Nonlinear Control Theory Applied to Dynamic Systems)

Abstract

:
This paper introduces a robust formation control strategy for Unmanned Aerial Vehicles (UAVs) designed to maintain coordinated trajectories and relative positioning in three-dimensional space. The proposed methodology addresses the challenges of parametric uncertainties and external disturbances by employing a backstepping-based framework with integrated proportional-integral virtual controls. The control strategy stabilizes tracking errors in the x, y, and z axes, ensuring that the UAVs maintain a cohesive formation even in the presence of dynamic model variations and environmental perturbations. The approach combines dynamic models of UAV motion, incorporating translational and rotational behaviors, with a decomposition of relative distances in the leader’s local reference frame to ensure precise formation control. This framework enhances stability, trajectory tracking, and disturbance rejection. Validation through MATLAB-Simulink simulations demonstrates the effectiveness of the proposed strategy, showcasing its ability to maintain formation and trajectory adherence under diverse operating conditions. The results emphasize the robustness and flexibility of the control approach, making it suitable for demanding applications requiring precise multi-UAV coordination.

1. Introduction

Unmanned Aerial Vehicles (UAVs) have become essential in modern industries, revolutionizing tasks such as surveillance, exploration, package delivery, and emergency response. Their ability to operate autonomously or be remotely piloted enables applications that exceed the limitations of manned vehicles, often performing in environments too hazardous for human presence [1,2]. However, the capabilities of single UAVs, while substantial, are significantly amplified when operating in groups. Cooperative UAV operations enhance area coverage, increase payload capacity, and enable more precise interventions—key in fields like agriculture and disaster management. Operating in formation also promotes cost-effectiveness and time efficiency, essential for complex missions such as comprehensive traffic monitoring and critical search-and-rescue operations [3,4,5,6,7,8,9].
The operation of UAVs in groups, however, introduces several complex challenges, including unreliable communication, dynamic environmental variations, and the requirement for fault-tolerant behaviors [10,11,12,13,14,15]. These challenges demand robust control mechanisms capable of ensuring effective coordination and adaptability under varying conditions.
Formation control significantly enhances the collaborative capabilities of UAV groups, enabling precise and coordinated operations that are essential for complex tasks such as surveillance and payload delivery. By employing strategies such as the leader–follower approach and virtual structures, UAVs maintain flexible formations, thereby improving efficiency and resilience against environmental challenges. This capability is particularly important in sectors such as agriculture and disaster response, where high coordination accuracy and operational reliability are paramount [16,17,18,19]. However, many existing studies on UAV formation control primarily concentrate on preserving relative positions in two-dimensional space, focusing only on the x and y coordinates while neglecting vertical displacement along the z-axis [20,21,22,23,24]. Although this simplification may be adequate for some scenarios, it fails to capture the complexities of real-world three-dimensional environments where altitude regulation plays a crucial role. Additionally, certain methodologies treat UAVs as point-mass particles, overlooking their nonlinear dynamics and actuator limitations—factors that are critical for realistic modeling and effective control. In contrast, this work introduces a comprehensive dynamic model that incorporates full three-dimensional formation control, thus providing a more accurate and practical solution for coordinated UAV missions. These distinctions highlight the novelty of our approach, which goes beyond existing methods by addressing the complete dynamics of UAVs and their spatial coordination in all axes.
Also, despite recent advancements in formation control techniques, many existing approaches do not adequately address the simultaneous mitigation of parametric uncertainties and external disturbances [25,26,27,28,29,30]. This limitation can significantly impair UAV performance, particularly under adverse conditions, where unmodeled dynamics and environmental factors may deteriorate tracking accuracy and stability. To overcome these challenges, this study adopts a robust control architecture based on the backstepping methodology [31,32,33,34,35], which is well-suited for nonlinear systems with a strict feedback structure, such as UAVs. Backstepping provides a recursive and systematic design framework that allows the incorporation of error dynamics and compensatory terms at each step of the controller design. This makes it particularly advantageous for applications involving model uncertainties and external disturbances. Compared to other nonlinear techniques like sliding mode control [36,37,38,39], backstepping offers greater flexibility to embed observer-based estimators and is less sensitive to measurement noise.
Building upon this foundation, the proposed control structure integrates High-Order Sliding Mode (HOSM) estimators to enhance disturbance rejection and ensure stable and reliable formation control. HOSM estimators are well-suited for this type of application due to their robustness and finite-time convergence capabilities, which enable accurate real-time estimation of external disturbances and parametric uncertainties. Unlike traditional observers such as Extended Kalman Filters (EKFs), Luenberger observers, or adaptive techniques that rely on linear approximations, statistical assumptions, or persistent excitation, HOSM estimators operate effectively without requiring prior knowledge of disturbance bounds, maintaining performance under strong nonlinearities and noisy measurements. Their ability to reconstruct unknown inputs and reject disturbances makes them particularly suitable for UAV formation scenarios, where fast response and resilience to environmental variability are critical. By integrating these estimators into the control architecture, the proposed method achieves improved robustness and precision in trajectory tracking, even in the presence of external perturbations and modeling discrepancies. As a result, the developed strategy not only handles three-dimensional motion but also effectively compensates for uncertainties and disturbances, offering a more comprehensive and reliable solution compared to traditional formation control approaches.
Therefore, the main contributions of this work are as follows:
  • The proposal of a fully dynamic three-dimensional tracking framework that accounts for both formation maintenance and orientation coordination.
  • The development of a robust formation control scheme based on backstepping that guarantees stability under varying parametric uncertainties and external disturbances.
  • The integration of HOSM estimators for real-time disturbance rejection, enhancing robustness and precision to ensure accurate trajectory tracking even in the presence of external disturbances and parametric variations.
  • The validation of the proposed approach through comprehensive simulations, demonstrating its effectiveness in maintaining UAV formations across diverse scenarios and under heterogeneous conditions.
The remainder of this paper is organized as follows. Section 2 introduces the mathematical model of UAV dynamics and formulates the problem statement. Section 3 presents the design of the robust formation control strategy using backstepping. Section 4 details the design of the High-Order Sliding Mode (HOSM) estimator and its integration into the control strategy, including the closed-loop stability analysis. Section 5 provides simulation results and analysis, highlighting the robustness of the proposed methodology. Finally, Section 6 concludes the paper.

2. Mathematical Model

Dynamic Model of the UAV

For practicality, the model in this study focuses on a quadrotor. As illustrated in Figure 1, it is equipped with four rotors that generate lift and control its motion. Each rotor produces a thrust force F i 0 and rotates at an angular velocity ω i 0 , where i = 1 , 2 , 3 , 4 . The total thrust is adjusted to control altitude, while differential thrust between opposing rotors governs pitch and roll motions, enabling movement along the longitudinal and lateral axes. Yaw rotation is achieved through variations in torque balance between counter-rotating rotor pairs, leveraging the reactive moments produced by the spinning propellers. However, the proposed model can be generalized to UAVs with an even number of rotors, starting from four, while preserving the same fundamental principles of motion and control.
For accurate representation of motion and control, the quadrotor’s dynamics are described using two coordinate frames: the Earth-fixed frame {E} ( O E , X E , Y E , Z E ) , which is stationary and serves as a global reference, and the body-fixed frame {B} ( O B , X B , Y B , Z B ) , which is centered at the UAV’s center of mass and moves with it. In this work, we consider an X-configuration, where motors 1 and 3 rotate counterclockwise, while motors 2 and 4 rotate clockwise with respect to the positive Z B -axis. While the proposed control strategy does not directly actuate each rotor individually, this configuration is relevant for understanding the vehicle’s dynamic behavior and how rotational torques are generated for attitude control.
The state vector of each UAV consists of its position P = [ x , y , z ] T , velocity V = [ u , v , w ] T , orientation η = [ ϕ , θ , ψ ] T (representing roll, pitch, and yaw, respectively), and angular velocity ω = [ p , q , r ] T . The roll angle ϕ is constrained within the range ϕ ( π / 2 , π / 2 ) and defines the rotation about the X E -axis. Similarly, the pitch angle θ varies between ( π / 2 , π / 2 ) and governs the rotation around the Y E -axis, while the yaw angle ψ spans ( π , π ) and dictates the rotation about the Z E -axis [40,41,42].
Remark 1. 
In this work, instead of using the velocity components [ u , v , w ] in the body-fixed frame to describe translational motion, we express the UAV’s movement directly through the second derivatives of position in the Earth-fixed frame, namely x ¨ , y ¨ , z ¨ . This approach facilitates the design and analysis of the control law, as it aligns more naturally with the desired trajectory references, which are typically defined in global coordinates.
Transformations between the body-fixed frame { B } and the Earth-fixed frame { E } are computed using the rotation matrix R ( η ) and the angular transformation matrix W ( η ) . These matrices are parameterized by the Euler angles ϕ , θ , and ψ , where the trigonometric functions are defined as c γ = cos ( γ ) , s γ = s i n ( γ ) , t g γ = tan ( γ ) , and s c γ = sec ( γ ) with γ = ϕ , θ , ψ . The matrices are given by:
R ( η ) = c ψ c θ c ψ s θ s ϕ s ψ c ϕ c ψ s θ c ϕ + s ψ s ϕ s ψ c θ s ψ s θ s ϕ + c ψ c ϕ s ψ s θ c ϕ c ψ s ϕ s θ c θ s ϕ c θ c ϕ
W ( η ) = 1 t g θ s ϕ t g θ c ϕ 0 c ϕ s ϕ 0 s c θ s ϕ s c θ c ϕ
The UAV dynamics are derived using the Newton–Euler formalism, which describes translational and rotational motion as while considering the effects of forces and torques acting on the system. These equations incorporate the transformation matrices, previously defined in Equations (1) and (2), which map the UAV’s motion between the body-fixed and Earth-fixed frames [43,44,45]. The resulting dynamic model is expressed as follows:
P ˙ = V , V ˙ = 1 m R ( η ) F p r o p + 1 m F g r a v + 1 m F a e r o , η ˙ = W ( η ) ω , ω ˙ = I 1 S ω I ω + T p r o p + T g y r o + T a e r o ,
where m is the UAV’s mass, I = d i a g ( I x x , I y y , I z z ) is its inertia matrix, and S ω ( ω ) denotes the skew-symmetric matrix associated with the angular velocity vector. The forces and torques acting on the UAV include the thrust force F p r o p , gravitational force F g r a v , aerodynamic forces F a e r o , propeller-generated torque T p r o p , gyroscopic torque T g y r o , and aerodynamic torque T a e r o .
Under the assumption that the Euler angles ( ϕ , θ , ψ ) remain small ( ϕ , θ , ψ 0 ), the transformation matrix (2) simplifies to the identity matrix I 3 x 3 . This approximation holds because UAVs generally execute smooth and gradual maneuvers [46]. Consequently, the body rate equations can be approximated as [ ϕ ˙ , θ ˙ , ψ ˙ ] [ p , q , r ] , facilitating mathematical simplifications in the control design [41,47].
Therefore, the quadrotor’s dynamics can be summarized as:
m x ¨ = s ψ s ϕ + c ψ s θ c ϕ U 1 + F x m y ¨ = c ψ s ϕ + s ψ s θ c ϕ U 1 + F y m z ¨ = m g + c θ c ϕ U 1 + F z I x x ϕ ¨ = θ ˙ ψ ˙ ( I y y I z z ) I r θ ˙ Ω r + l U 2 + T ϕ I y y θ ¨ = ϕ ˙ ψ ˙ ( I z z I x x ) + I r ϕ ˙ Ω r + l U 3 + T θ I z z ψ ¨ = ϕ ˙ θ ˙ ( I x x I y y ) + U 4 + T ψ
Here, the control inputs U = [ U 1 , U 2 , U 3 , U 4 ] T are determined by the forces and moments generated by the UAV rotors. The input U 1 represents the collective thrust, while U 2 , U 3 , and U 4 correspond to the control torques about the roll, pitch, and yaw torques, respectively. The term I r represents the moment of inertia of the rotating parts (typically the propellers) about the UAV’s vertical axis, and Ω r denotes the total angular velocity of the rotors. This gyroscopic effect couples the roll and pitch dynamics and must be accounted for to ensure accurate attitude control.
This simplified model forms the basis for the robust formation control strategy proposed in this work.

3. Robust Formation Control Design Based on Backstepping

In this section, we present a robust formation control strategy for two follower UAVs to maintain specified distances from a leader UAV while accurately tracking its trajectory in a 3D environment, considering the presence of disturbances and parametric uncertainties. The backstepping control methodology is employed to achieve precise formation control by systematically addressing the tracking errors in position and orientation, while compensating for external disturbances acting on the leader and the followers.
The proposed methodology introduces virtual control inputs for velocities in the x, y, and z axes to stabilize the tracking errors along each dimension. This control framework takes into account the dynamic interactions between the leader and both follower UAVs, incorporating disturbance rejection through High-Order Sliding Mode (HOSM) estimators. These estimators enhance the robustness of the system by effectively compensating for model uncertainties and environmental disturbances. Consequently, the follower UAVs maintain the desired formation configuration while tracking the leader’s trajectory even under adverse conditions.
Assumption 1. 
It is assumed that all state variables required for UAV control are accurately measured.
This assumption is supported by advancements in sensor technologies that enable precise state estimation for UAVs. In outdoor operations, GPS provides high-accuracy global positioning, while indoor environments benefit from motion capture systems and ultra-wideband (UWB) localization for precise spatial tracking. Attitude estimation, encompassing roll, pitch, and yaw angles, is obtained from Inertial Measurement Units (IMUs), which integrate accelerometers, gyroscopes, and magnetometers. Sensor fusion techniques, such as Kalman filtering, further improve measurement accuracy. Linear velocity is obtained through differentiation of position data or integration of accelerometer readings, while angular velocity is directly measured by gyroscopes within the IMU. Additionally, aerodynamic forces ( F x , F y , F z ) and moments ( T ϕ , T θ , T ψ ) are determined from pitot tube measurements, which provide airspeed data relative to the UAV. These modern sensing mechanisms ensure reliable and accurate state estimation, forming the basis for stable and effective UAV control.
The relative distances between each follower and the leader UAV, as illustrated in in Figure 2, are decomposed into components in the x, y, and z directions. Using the rotation matrix R ( η ) , parameterized by the Euler angles ϕ (roll), θ (pitch), and ψ (yaw), these distances are formulated as:
L i x L i y L i z = R ( η ) 1 x L x F i y L y F i z L z F i , i = 1 , 2 , , n
where L i x , L i y , and L i z represent the relative distances of the i-th follower UAV in the x, y, and z directions, respectively.
Remark 2. 
The index i = 1 , 2 , , n denotes the number of follower UAVs in the formation, where n is the total number of followers. This formulation is designed to be applicable for any arbitrary number of UAVs because the relative distance equations are defined in a generalized manner, ensuring the scalability of the system. The control strategy does not depend on a fixed number of agents but rather on the ability to compute and regulate each follower’s relative position with respect to the leader. Such generalization is crucial for flexible multi-agent formations, enabling the framework to be applied to various applications, including swarm robotics, cooperative aerial missions, and distributed sensing.
The explicit expressions for the relative distances are given as:
L i x = c ψ L c θ L ( x L x F i ) + s ψ L c θ L ( y L y F i ) s θ L ( z L z F i ) ,
L i y = ( c ψ L s θ L s ϕ L s ψ L c ϕ L ) ( x L x F i ) + ( s ψ L s θ L s ϕ L + c ψ L c ϕ L ) ( y L y F i ) + c θ L s ϕ L ( z L z F i ) ,
L i z = ( c ψ L s θ L c ϕ L + s ψ L s ϕ L ) ( x L x F i ) + ( s ψ L s θ L c ϕ L c ψ L s ϕ L ) ( y L y F i ) + c θ L c ϕ L ( z L z F i ) .
To express the time evolution of the relative distances, we introduce the angular error terms defined as ϵ ψ = ψ L ψ F , ϵ θ = θ L θ F , and ϵ ϕ = ϕ L ϕ F . These errors quantify the difference between the leader and follower UAV orientations. Using trigonometric identities, the derivatives of the relative distances are computed as:
L ˙ i x = L ˙ y ψ ˙ L x ˙ L + x ˙ F c ϵ θ + y ˙ F s ϵ θ
L ˙ i y = x ˙ L s ϵ ϕ + x ˙ F c ϵ ϕ y ˙ L + y ˙ F z ˙ F s ϵ θ
L ˙ i z = z ˙ L x ˙ L c ϵ ϕ y ˙ L s ϵ ϕ + z ˙ F c ϵ θ
where x ˙ L , y ˙ L , z ˙ L are the leader’s linear velocities in the x, y, and z directions, and x ˙ F i , y ˙ F i , z ˙ F i are the corresponding velocities of the i-th follower UAV.

Error Dynamics and Control Design

Our control approach is divided into two main parts: position control and attitude control. The position controller is responsible for managing the relative distances in the x, y, and z directions to maintain the UAV formation within a three-dimensional space, even in the presence of external disturbances.
Remark 3. 
Without loss of generality, we consider the relative distances between the leader and a single follower. These formulations can be applied to any follower within the formation, ensuring a consistent approach to maintaining the desired configuration. From this point forward, L x i , L y i , and L z i will be denoted as L x , L y , and L z , respectively. Similarly, x F i , y F i , and z F i will be referred to as x F , y F , and z F , and the follower’s velocities x ˙ F i , y ˙ F i , and w F i will be written as x ˙ F , y ˙ F , and w F .
The position errors are defined as the differences between the actual relative distances and their desired values. Specifically, the errors are calculated as follows:
e x = L x L x , d ,
e y = L y L y , d ,
e z = L z L z , d .
where L x , d , L y , d , and L z , d are the desired distances between the follower and the leader along the x, y, and z axes, respectively. These desired distances are components of the overall desired separation L d , which defines the target spacing between the leader and follower UAVs in three-dimensional space. By minimizing the tracking errors e x , e y , and e z , the control strategy ensures stable and precise formation maintenance while compensating for disturbances.
The dynamics of these errors are given by:
e ˙ x = L ˙ x L ˙ x , d ,
e ˙ y = L ˙ y L ˙ y , d ,
e ˙ z = L ˙ z L ˙ z , d .
e ˙ x = L ˙ y ψ ˙ L x ˙ L + x ˙ F c ϵ θ + y ˙ F s ϵ θ L ˙ x , d
e ˙ y = x ˙ L s ϵ ϕ + x ˙ F c ϵ ϕ y ˙ L + y ˙ F z ˙ F s ϵ θ L ˙ y , d
e ˙ z = z ˙ L x ˙ L c ϵ ϕ y ˙ L s ϵ ϕ + z ˙ F c ϵ θ L ˙ z , d
Assumption 2. 
The desired relative distances L x , d , L y , d , and L z , d , along with their time derivatives L ˙ x , d , L ˙ y , d , and L ˙ z , d , are bounded.
In Assumption 2, the relative distances L x , d , L y , d , L z , d , and their time derivatives L ˙ x , d , L ˙ y , d and L z , d , are assumed to be bounded. This assumption is fundamental in real-world UAV applications, as it ensures controlled formation and smooth trajectory tracking, while preventing unbounded velocity changes, which would otherwise result in physically infeasible or unsafe maneuvers. In waypoint-based navigation, such bounded values mitigate abrupt changes in relative positioning, enabling smooth and dynamically consistent trajectory transitions. Furthermore, constraining the time derivatives limits velocity fluctuations, preventing excessive accelerations that could destabilize the system or degrade control performance. This requirement is particularly critical in applications such as autonomous surveillance, cooperative UAV operations, and payload transport, where maintaining precise inter-vehicle spacing and ensuring smooth motion transitions are crucial for operational success.
Now considering the following virtual controls:
k x e x k 0 , x I e x = L ˙ y ψ ˙ L x ˙ L + x ˙ F , d c ϵ θ + y ˙ F s ϵ θ L ˙ x , d
k y e y k 0 , y I e y = x ˙ L s ϵ ϕ + x ˙ F c ϵ ϕ y ˙ L + y ˙ F , d z ˙ F s ϵ θ L ˙ y , d
k z e z k 0 , z I e z = z ˙ L x ˙ L c ϵ ϕ y ˙ L s ϵ ϕ + z ˙ F , d c ϵ θ L ˙ z , d
where I e j is an integrative term defined by I e ˙ j = e j , k j corresponds to the proportional gain, and k 0 , j is the integral gain, with j = x , y , z . In this manner, it is feasible to get x ˙ d , y ˙ d and z ˙ d as follows
x ˙ d = x ˙ F , d = k x e x + k 0 , x I e x + L ˙ x , d L ˙ y ψ ˙ L + x ˙ L y ˙ F s ϵ θ c ϵ θ
y ˙ d = y ˙ F , d = k y e y + k 0 , y I e y + L ˙ y , d x ˙ L s ϵ ϕ x ˙ F c ϵ ϕ + y ˙ L + z ˙ F s ϵ θ
z ˙ d = z ˙ F , d = k z e z + k 0 , z I e z + L ˙ z , d z ˙ L + x ˙ L c ϵ ϕ + y ˙ L s ϵ ϕ c ϵ θ
Now we can define the errors e x ˙ = x ˙ x ˙ d , e y ˙ = y ˙ y ˙ d , and e z ˙ = z ˙ z ˙ d , and upon derivation, we obtain e ˙ x ˙ = x ¨ x ¨ d , e ˙ y ˙ = y ¨ y ¨ d , and e ˙ z ˙ = z ¨ z ¨ d , where the terms x ¨ d , y ¨ d , and z ¨ d are obtained numerically from (24), (25) and (26), respectively.
Therefore, the dynamics of the tracking error can be expressed as
e ˙ x ˙ = 1 m s ψ s ϕ + c ψ s θ c ϕ U 1 + F x m x ¨ d
e ˙ y ˙ = 1 m c ψ s ϕ + s ψ s θ c ϕ U 1 + F y m y ¨ d
e ˙ z ˙ = g + 1 m c θ c ϕ U 1 + F z m z ¨ d
However, to ensure the robustness of the closed-loop system against parameter variations, external disturbances, and unmodeled dynamics, these effects must be explicitly incorporated into the tracking error dynamics. By rewriting the system equations using nominal parameters and forces, the unknown terms influencing the dynamics become evident, which allows for a more accurate modeling and control of the follower’s response to external influences, thus ensuring the effectiveness of the control strategy under varying conditions. Therefore, denoting m as the nominal mass of the UAV and F x , F y , F z as the nominal values of the aerodynamic force components in the x , y , z directions, respectively, the dynamic system described in (27)–(29) can be rewritten as follows:
e ˙ x ˙ = 1 m s ψ s ϕ + c ψ s θ c ϕ U 1 + F x m x ¨ d + δ x
e ˙ y ˙ = 1 m c ψ s ϕ + s ψ s θ c ϕ U 1 + F y m y ¨ d + δ y
e ˙ z ˙ = g + 1 m c θ c ϕ U 1 + F z m z ¨ d + δ z
with
δ x = 1 m 1 m s ψ s ϕ + c ψ s θ c ϕ U 1 + F x m F x m δ y = 1 m 1 m s ψ s θ c ϕ c ψ s ϕ U 1 + F y m F y m δ z = 1 m 1 m c θ c ϕ U 1 + F z m F z m
Remark 4. 
Within the vectors δ j , j = x , y , z are included the parametric variations and the external disturbances that affect the drone.
To achieve stable tracking, the desired pitch angle θ d and roll angle ϕ d of the follower UAV are adjusted to align the UAV’s velocities with the desired trajectory. The desired pitch and roll angles are then calculated as follows:
s θ d = m c ϕ c ψ U 1 x ¨ d δ x 1 m ( s ϕ s ψ ) U 1 F x m k x ˙ e x ˙ k 0 , x ˙ I e x ˙
s ϕ d = m c ψ U 1 y ¨ d δ y 1 m ( c ϕ s θ s ψ ) U 1 F y m k y ˙ e y ˙ k 0 , y ˙ I e y ˙
In this way, to impose the references, θ and ϕ are now treated as tracking errors, as depicted below
e ϕ = s ϕ s ϕ d
e θ = s θ s θ d
Here, s ϕ d and s θ d represent the desired values of the sine of the roll and pitch angles, respectively. Therefore, the corresponding angles are obtained as ϕ d = arcsin ϕ d and θ d = arcsin θ d .
By differentiating (36) and (37), and applying the chain rule, we obtain the error dynamics, which are given by:
e ˙ ϕ = c ϕ ϕ ˙ d dt s ϕ d
e ˙ θ = c θ θ ˙ d dt s θ d
By the utilization of the virtual controls k ϕ e ϕ k 0 , ϕ I e ϕ = c ϕ ϕ ˙ d d dt s ϕ d for (36) and k θ e θ k 0 , θ I e θ = c θ θ ˙ d d dt s θ d for (37), where I e k is an integrative term defined by I e ˙ k = e k , k k 1 corresponds to the proportional gain, and k 0 , k 1 is the integral gain with k = ϕ , θ , it is feasible to get ϕ ˙ d and θ ˙ d as follows
ϕ ˙ d = 1 c ϕ d dt s ϕ d k ϕ e ϕ k 0 , ϕ I e ϕ
θ ˙ d = 1 c θ d dt s θ d k θ e θ k 0 , θ I e θ
Now, by defining the tracking errors e ϕ ˙ = ϕ ˙ ϕ ˙ d , e θ ˙ = θ ˙ θ ˙ d along with their corresponding derivatives e ˙ ϕ ˙ = ϕ ¨ ϕ ¨ d and e ˙ θ ˙ = θ ¨ θ ¨ d , the error dynamics are obtained
e ˙ ϕ ˙ = I y y I z z I x x θ ˙ ψ ˙ I r I x x θ ˙ Ω r + l I x x U 2 + T ϕ I x x ϕ ¨ d
e ˙ θ ˙ = I z z I x x I y y ϕ ˙ ψ ˙ + I r I y y p Ω r + l I y y U 3 + T θ I y y θ ¨ d
Unlike the pitch and roll angles, the reference for the yaw angle is not derived from a virtual control law but is directly given by the leader UAV’s orientation. Therefore, the tracking error is defined as e ψ = ψ ψ L , where ψ L denotes the leader’s yaw angle. The time derivative of this error is e ˙ ψ = ψ ˙ ψ ˙ L . To stabilize this error, a virtual control is defined as k ψ e ψ k 0 , ψ I e ψ = ψ ˙ d ψ ˙ L , where I e ψ is an integral term defined by I e ˙ ψ = e ψ . This formulation allows for the computation of the desired angular velocity ψ ˙ d , which is used in the error dynamics defined below:
e ˙ ψ ˙ = I x x I y y I z z ϕ ˙ θ ˙ + U 4 I z z + T ψ I z z ψ ¨ d + δ ψ
To ensure the robustness of the closed-loop system against parameter variations, external disturbances, and unmodeled dynamics, these effects must be explicitly incorporated into the tracking error dynamics. Accordingly, following the approach used in Equations (30)–(32) and considering the perturbations affecting the drone, Equations (42)–(44) can be reformulated as follows.
e ˙ ϕ ˙ = I y y I z z I x x θ ˙ ψ ˙ I r I x x θ ˙ Ω r + l I x x U 2 + T ϕ I x x ϕ ¨ d
e ˙ θ ˙ = I z z I x x I y y ϕ ˙ ψ ˙ + I r I y y p Ω r + l I y y U 3 + T θ I y y θ ¨ d + δ θ
e ˙ ψ ˙ = I x x I y y I z z ψ ˙ θ ˙ + U 4 I z z + T ψ I z z ψ ¨ d + δ ψ
where I x x , I y y , I z z are the nominal value of the inertia terms and I r is the nominal value of the rotor inertia and
δ ϕ = I y y I z z I x x I y y I z z I x x θ ˙ ψ ˙ I r I x x I r I x x θ ˙ Ω r + l I x x l I x x U 2 + T ϕ I x x T ϕ I x x δ θ = I z z I x x I y y I z z I x x I y y ϕ ˙ ψ ˙ + I r I y y I r I y y ϕ ˙ Ω r + l I y y l I y y U 3 + T θ I y y T θ I y y δ ψ = I x x I y y I z z I x x I y y I z z ϕ ˙ θ ˙ + 1 I z z 1 I z z U 4 + T ψ I z z T ψ I z z
Remark 5. 
Within the vectors δ k , k = ϕ , θ , ψ are included the parametric variations and the external disturbances that affect the drone.

4. Design of Robust Control of UAV Formation Under Parametric Variations and External Disturbances

To achieve robustness of the system (9)–(11) with respect to parametric uncertainties and external disturbance, an HOSM estimator will be used for the estimation of the unknown external disturbances δ x , δ y , δ z , δ ϕ , δ θ , δ ψ . The HOSM estimator provides a finite-time estimate of parametric uncertainties and external perturbations, assuming their derivatives are bounded. It has been demonstrated [48] that this estimator ensures robust performance under these conditions. The HOSM estimator employs the operators · 1 / 2 = | · | 1 / 2 sign ( · ) and · 0 = sign ( · )
The HOSM estimators are defined as follows:
ξ ˙ x = λ x ξ x e x 1 / 2 + ξ x ˙ + 1 m s ψ s ϕ + c ψ s θ c ϕ U 1 + F x m x ¨ d ξ ˙ x ˙ = λ x ˙ ξ x e x 0 ξ ˙ y = λ y ξ y e y 1 / 2 + ξ y ˙ + 1 m s ψ s θ c o s ϕ c ψ s ϕ U 1 + F y m y ¨ d ξ ˙ y ˙ = λ y ˙ ξ y e y 0 ξ ˙ z = λ z ξ z e z 1 / 2 + ξ z ˙ + 1 m c θ c ϕ U 1 + F z m g z ¨ d ξ ˙ z ˙ = λ z ˙ ξ z e z 0
ξ ˙ ϕ = λ ϕ ξ ϕ e ϕ 1 / 2 + ξ ϕ ˙ + I y y I z z I x x θ ˙ ψ ˙ I r I x x θ ˙ Ω r + l I x x U 2 + T ϕ I x x ϕ ¨ d ξ ˙ ϕ ˙ = λ ϕ ˙ ξ ϕ e ϕ 0 ξ ˙ θ = λ θ ξ θ e θ 1 / 2 + ξ θ ˙ + I z z I x x I y y ϕ ˙ ψ ˙ + I r I y y ϕ ˙ Ω r + l I y y U 3 + T θ I y y θ ¨ d ξ ˙ θ ˙ = λ θ ˙ ξ θ e θ 0 ξ ˙ ψ = λ ψ ξ ψ e ψ 1 / 2 + ξ ψ ˙ + I x x I y y I z z ϕ ˙ θ ˙ + 1 I z z U 4 + T ψ I z z ψ ¨ d ξ ˙ ψ ˙ = λ ψ ˙ ξ ψ e ψ 0
Using the HOSM estimators (49) and (50) and to ensure that the estimation errors E x ˙ = ξ x ˙ δ x , E y ˙ = ξ y ˙ δ y , E z ˙ = ξ z ˙ δ z , E ϕ ˙ = ξ ϕ ˙ δ ϕ , E θ ˙ = ξ θ ˙ δ θ , and E ψ ˙ = ξ ψ ˙ δ ψ converge to zero in finite time, the following conditions must be satisfied
λ j , 1 > 0 , λ j , 2 > 3 Δ j , m a x + 2 Δ j , m a x 2 / λ j , 1 2 λ k , 1 > 0 , λ k , 2 > 3 Δ k , m a x + 2 Δ k , m a x 2 / λ k , 1 2 k j 2 > 0 , k 0 , j 2 > 0 , k k 2 > 0 , k 0 , k 2 > 0
for j = x , y , z and k = ϕ , θ , ψ , ensuring that Δ j , m a x , Δ k , m a x R remain bounded within appropriate limits.
The dynamics of the estimation errors E x ˙ = ξ x ˙ δ x , E y ˙ = ξ y ˙ δ y , E z ˙ = ξ z ˙ δ z , E ϕ ˙ = ξ ϕ ˙ δ ϕ , E θ ˙ = ξ θ ˙ δ θ , and E ψ ˙ = ξ ψ ˙ δ ψ using the HOSM estimators (49) and (50) along with the tracking errors (30), (31), (32), (45), (46) and (47) can be rewritten as
e ˙ x = λ x e x 1 / 2 + e x ˙ e ˙ x ˙ = λ x ˙ e x 0 δ ˙ x e ˙ y = λ y e y 1 / 2 + e y ˙ e ˙ y ˙ = λ y ˙ e y 0 δ ˙ y e ˙ z = λ z e z 1 / 2 + e z ˙ e ˙ z ˙ = λ z ˙ e z 0 δ ˙ z e ˙ ϕ = λ ϕ e ϕ 1 / 2 + e ϕ ˙ e ˙ ϕ ˙ = λ ϕ ˙ e ϕ 0 δ ˙ ϕ e ˙ θ = λ θ e θ 1 / 2 + e θ ˙ e ˙ θ ˙ = λ θ ˙ e θ 0 δ ˙ θ e ˙ ψ = λ ψ e ψ 1 / 2 + e ψ ˙ e ˙ ψ ˙ = λ ψ ˙ e ψ 0 δ ˙ ψ
These are six decoupled subsystems. Now, considering the subsystem decoupled subsystem
e ˙ x = λ x e x 1 / 2 + e x ˙ e ˙ x ˙ = λ x ˙ e x 0 δ ˙ x
we evaluate its stability by defining the Lyapunov candidate function as:
V x = 1 2 E x T P x E x
where
P x = ( λ x 2 + 4 λ x ˙ λ x λ x 2 ) = P x T > 0 , E x = ( e x 1 / 2 e x ˙ )
The time derivative of E x becomes
E ˙ x = 1 2 | e x | 1 / 2 λ x E z δ ˙ x 2 | e x | 1 / 2 e x 0 λ x 0 E x ,
where
λ x = ( λ x 1 2 λ x ˙ 0 ) ; λ x 0 = ( 0 0 2 0 )
Therefore, the Lyapunov derivative is
V ˙ x = λ x 2 | e x | 1 / 2 E x T Q x E x δ ˙ x 2 | e x | 1 / 2 e x 0 E x T Q x 0 E x
with
Q x = P 1 λ x + λ x 0 T P x 2 λ x = λ x 2 + 2 λ x ˙ λ x λ x 1
Q x 0 = P x λ x 0 = 2 λ x 2 2 0
Since the derivatives of the external perturbations are assumed to be bounded, it follows that δ ˙ x is also bounded over any finite time interval. Let Δ x , max be a positive constant such that | δ ˙ x | Δ x , max . This bound allows us to estimate V ˙ x as follows:
V ˙ x = λ x 2 | e x | 1 / 2 E x T Q x E x δ ˙ x 2 | e x | 1 / 2 e x 0 E x T Q x 0 E x λ x 2 | e x | 1 / 2 E x T Q x E x Δ x , max 2 | e x | 1 / 2 E x T Q x 0 E x = λ x 2 | e x | 1 / 2 E x T Q x E x λ x 2 | e x | 1 / 2 λ min Q x E x 2 2 γ x V x 1 / 2
where
γ x = λ x λ min P x 2 λ max P x λ min Q x E x = ( | e x 1 / 2 | | e x ˙ | Q x = λ x 2 + 2 λ x ˙ 2 Δ x , max λ x + 2 Δ x , max λ x λ x + 2 Δ x , max λ x 1
with λ x > 0 , λ x ˙ > 0 , Q x > 0 , and | | E x | | 2 2 = | | E x | | 2 2 = | e x 1 / 2 | 2 + | e x ˙ | 2 = | e x | + e x ˙ 2 Therefore, due to the boundedness of the signals over any finite time interval and the inequality V ˙ x γ x V x 1 / 2 , we conclude that Ex converges to the origin in finite time.
Similarly, the stability of the remaining subsystems in (52) can be analyzed using the following Lyapunov candidate functions:
V y = 1 2 E y T P y E y , P y = λ y 2 + 4 λ y ˙ λ y λ y 2 = P y T > 0 , E y = ( e y 1 / 2 e y ˙ ) V z = 1 2 E z T P z E z , P z = λ z 2 + 4 λ z ˙ λ z λ z 2 = P z T > 0 , E z = ( e z 1 / 2 e z ˙ ) V ϕ = 1 2 E ϕ T P ϕ E ϕ , P ϕ = λ ϕ 2 + 4 λ ϕ ˙ λ ϕ λ ϕ 2 = P ϕ T > 0 , E ϕ = ( e ϕ 1 / 2 e ϕ ˙ ) V θ = 1 2 E θ T P θ E θ , P θ = λ θ 2 + 4 λ θ ˙ λ θ λ θ 2 = P θ T > 0 , E θ = ( e θ 1 / 2 e θ ˙ ) V ψ = 1 2 E ψ T P ψ E ψ , P ψ = λ ψ 2 + 4 λ ψ ˙ λ ψ λ ψ 2 = P ψ T > 0 , E ψ = ( e ψ 1 / 2 e ψ ˙ )
where Δ x , max , Δ y , max , Δ ϕ , max , Δ θ , max and Δ ψ , max represent the upper bounds on the derivatives of the disturbance δ ˙ x , δ ˙ y , δ ˙ z , δ ˙ ϕ , δ ˙ θ and δ ˙ ψ , respectively, over any finite time interval.
Now, considering the dynamics of the tracking errors (32), (45), (46) and (47), the proposed control inputs are as follows:
U 1 = m c θ c ϕ z ¨ d + g F z m k z ˙ e z ˙ k 0 , z ˙ I e z ˙ ξ z ˙ U 2 = I x x l ϕ ¨ d θ ˙ ψ ˙ ( I y y I z z ) I x x + I r θ ˙ Ω r I x x T ϕ I x x k ϕ ˙ e ϕ ˙ k 0 , ϕ ˙ I e ϕ ˙ ξ ϕ ˙ U 3 = I y y l θ ¨ d ϕ ˙ ψ ˙ ( I z z I x x ) I y y I r ϕ ˙ Ω r I y y T θ I y y k θ ˙ e θ ˙ k 0 , θ ˙ I e θ ˙ ξ θ ˙ U 4 = I z z ψ ¨ d ϕ ˙ θ ˙ ( I x x I y y ) I z z T ψ I z z k ψ ˙ e ψ ˙ k 0 , ψ ˙ I e ψ ˙ ξ ψ ˙
with
I ˙ e z ˙ = e z ˙ I ˙ e ϕ ˙ = e ϕ ˙ I ˙ e θ ˙ = e θ ˙ I ˙ e ψ ˙ = e ψ ˙
where k i , k 0 , i > 0 for i = z ˙ , ϕ ˙ , θ ˙ , ψ ˙ .

Closed-Loop Stability in UAV

In this subsection, the stability properties of the proposed nonlinear robust control approach are examined. Referring to Section 4, it is established that the estimated states ξ x ˙ , ξ y ˙ , ξ z ˙ , ξ ϕ ˙ , ξ θ ˙ , ξ ψ ˙ converge in finite time to their respective unknown external disturbances δ x , δ y , δ z , δ ϕ , δ θ , δ ψ . To analyze closed-loop behavior, we consider the tracking errors that result from parametric variations and external disturbances. The dynamics of e ˙ x ˙ are described in (30), while the corresponding control input U 2 is defined in (54). Based on these expressions, the resulting closed-loop system can be expressed as:
( I ˙ e x e ˙ x I ˙ e x ˙ e ˙ x ˙ I ˙ e θ e ˙ θ I ˙ e θ ˙ e ˙ θ ˙ ) = ( 0 1 0 0 0 0 0 0 k 0 , x k x 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 k 0 , x ˙ k x ˙ 0 cos ϕ cos ψ U 1 m 0 0 0 0 0 0 0 1 0 0 0 0 0 0 k 0 , θ k θ 0 cos θ 0 0 0 0 0 0 0 1 0 0 0 0 0 0 k 0 , θ ˙ k θ ˙ ) ( I e x e ˙ x I e x ˙ e ˙ x ˙ I e θ e ˙ θ I e θ ˙ e ˙ θ ˙ ) + ( 0 0 0 ξ x ˙ δ x 0 0 0 ξ θ ˙ δ θ )
which are ISS (Input-to-State Stability) with respect to the terms ξ x ˙ δ x and ξ θ ˙ δ θ . Analyzing matrix (56), the eigenvalues can be computed using Maple, a symbolic and numeric computing software. The eigenvalues are given by:
ρ x = k x / 2 ± k x 2 4 k 0 , x / 2 ρ x ˙ = k x ˙ / 2 ± k x ˙ 2 4 k 0 , x ˙ / 2 ρ θ = k θ / 2 ± k θ 2 4 k 0 , θ / 2 ρ θ ˙ = k θ ˙ / 2 ± k θ ˙ 2 4 k 0 , θ ˙ / 2
which confirms that all eigenvalues of matrix (56) satisfy Re { ρ x , ρ x ˙ , ρ θ , ρ θ ˙ } < 0 for any set of positive control gains k x > 0 , k x ˙ > 0 , k 0 , x > 0 , k 0 , x ˙ > 0 , k θ > 0 , k θ ˙ > 0 , k 0 , θ > 0 , k 0 , θ ˙ > 0 . This implies that the matrix is Hurwitz [49]. Therefore, since the terms ξ x ˙ δ x and ξ θ ˙ δ θ tends to zero in finite time, the tracking errors e x , e x ˙ , e θ , e θ ˙ are globally uniformly exponentially stable.
In a similar way, the closed-loop analysis of the subsystem used to control the lateral movement can be performed. The dynamics of e ˙ y ˙ are described in (31), while the corresponding control input U 3 is defined in (54). Based on these expressions, the resulting closed-loop system can be analyzed analogously.
On the other hand, we have
( I ˙ e z e ˙ z I ˙ e z ˙ e ˙ z ˙ ) = ( 0 1 0 0 k 0 , z k z 0 1 0 0 0 1 0 0 k 0 , z ˙ k z ˙ ) ( I e z e z I e z ˙ e z ˙ ) + ( 0 0 0 ξ z ˙ δ z )
which are ISSs with respect to the terms ξ z ˙ δ z . In this case, the dynamics of e ˙ z ˙ are derived from (32), and the corresponding control input U 1 is defined in (54). By analyzing (58), we can also compute the eigenvalues, which are
ρ z = k z / 1 ± k z 2 4 k 0 , z / 2 ρ z ˙ = k z ˙ / 2 ± k z ˙ 2 4 k 0 , z ˙ / 2
These results show that all eigenvalues of matrix (58) satisfy Re { ρ z , ρ z ˙ } < 0 for any positive values of k 0 , z > 0 , k z > 0 , k 0 , z ˙ > 0 , k z ˙ > 0 , i.e., the matrix is Hurwitz [49]. Therefore, since the term ξ z ˙ δ z tend to zero in finite time, the tracking errors e z , e z ˙ are globally uniformly exponentially stable.
The stability analysis of the subsystem used to control the yaw motion can be performed in a similar manner. The dynamics of e ˙ ψ ˙ are described in (44), while the corresponding control input U 4 is defined in (54). These expressions allow the closed-loop behavior of the yaw subsystem to be examined following the same procedure.

5. Simulation Results

To assess the performance of the proposed robust formation control strategy, simulations were conducted using MATLAB/Simulink with a multi-UAV setup involving one leader and two followers. The objective was to ensure that the followers maintain predefined relative distances with respect to the leader UAV while tracking its trajectory in a three-dimensional space, despite the presence of parametric uncertainties and external disturbances.
To evaluate the robustness of the control strategy, the simulation setup incorporated both external disturbances and parametric variations. Concerning external disturbances, wind disturbances were applied with different velocities for each UAV: the leader experienced a nominal wind speed of 10 m/s, while the followers were subjected to 5 m/s. This configuration emulates realistic scenarios where the UAVs operate under heterogeneous environmental conditions.
Wind dynamics play a crucial role in UAV behavior, especially in outdoor missions where wind patterns are rarely uniform. To capture this, the simulations incorporated lateral wind gusts with time-varying characteristics. The wind velocity at any given moment was defined by its components in the Earth-fixed frame as v W = ( v W , X , v W , Y ) T , where the components v W , X and v W , Y are calculated using v W , X = V w cos ( β 0 + Δ β 0 ) + 0.025 N and v W , Y = V w sin ( β 0 + Δ β 0 ) + 0.025 N , respectively. Here, V w = V w , 0 + Δ V w sin ( ω w ) represents the time-varying wind speed, with V w , 0 being the nominal wind speed, β 0 the nominal wind direction, and N a uniform random variable simulating small perturbations. The terms Δ β 0 = 0.2 β 0 and Δ V w = 0.1 V w , 0 introduce variations in the wind direction and intensity, ensuring realistic disturbance modeling.
Once the wind velocity was determined in the Earth-fixed frame, it was transformed into the body-fixed frame of the UAVs, where it directly influenced their motion dynamics. This transformation was carried out using the relations v w , x = v W , X cos α z + v W , Y sin α z and v w , y = v W , X sin α z + v W , Y cos α z . The apparent wind acting on each UAV was computed by subtracting the vehicle’s own velocity from the wind velocity, leading to the effective wind components v a w , x = v x v w , x and v a w , y = v y v w , y .
These apparent wind components induced aerodynamic forces and moments, primarily affecting longitudinal and lateral motion. The forces generated by the wind were modeled using standard aerodynamic coefficients, where the force in the x-direction is given by F x = 1 2 A x ρ C d v a w , x 2 and the force in the y-direction is given by F y = 1 2 A y ρ C d v a w , y 2 . Additionally, the wind-induced torques acting on the UAV were given by T ϕ = l c , z F y , T θ = l c , z F x , and T ψ = l c , x F y l c , y F x .
In these equations, A x and A y represent the UAV’s frontal and lateral surface areas, ρ is the air density, C d is the aerodynamic drag coefficient, and l c , x , l c , y are the distances from the center of mass to the aerodynamic center in the respective directions.
The overall effect of wind disturbances on each UAV depended on its orientation, velocity, and position within the formation. Given that the leader UAV was subjected to a higher wind speed compared to the followers, its control system had to exert additional effort to preserve the intended formation geometry. The resulting aerodynamic forces and moments significantly impacted the roll, pitch, and yaw dynamics of each vehicle, requiring an adaptive and robust response from the control strategy to effectively counteract the effects of external perturbations.
For simplicity, only wind components along the x- and y-axes were considered in this study. This assumption allows us to focus on the dominant effects in horizontal plane control, while reducing computational complexity. The exclusion of the z-component simplifies the simulation without significantly affecting the evaluation of the proposed control strategy, which primarily operates in the horizontal motion dynamics. The specific wind conditions applied during the simulations included a nominal wind speed of V w , 0 = 10 m/s for the leader and V w , 0 = 5 m/s for both followers. Also, it was considered a predominant wind direction of β 0 = 7 π 4 rad, and a wind oscillation frequency of ω w = 0.1 rad/s.
On the other hand, to challenge the control framework, parametric variations were also introduced in the UAV dynamics as shown in Table 1, which include changes in mass, thrust, and drag coefficients and inertia values. These parametric variations simulate real-world uncertainties in vehicle properties and allow assessment of the controller’s robustness.
The simulation results, depicted in Figure 3, Figure 4, Figure 5, Figure 6, Figure 7, Figure 8 and Figure 9, validate the performance of the proposed robust formation control strategy under parametric uncertainties and external disturbances. The objective was to ensure that two follower UAVs maintain predefined relative distances with respect to a leader UAV while tracking its trajectory in three-dimensional space.
The leader UAV was commanded to follow a dynamic trajectory composed of four connected linear segments, maintaining a constant altitude of 1 m throughout the maneuver. As shown in Figure 3, it moves from ( 0 , 0 , 0 ) to ( 1 , 0 , 1 ) between 0 and 4 s, then to ( 1 , 1 , 1 ) from 4 to 8 s, shifts to ( 0 , 1 , 1 ) between 8 and 14 s, and finally returns to ( 0 , 0 , 1 ) from 14 to 17 s.
While the leader follows this predefined path, follower UAVs 1 and 2 maintain fixed relative distances with respect to the leader, as specified in Table 2.
The initial conditions for the UAVs were set as shown in Table 3.
Figure 3, Figure 4 and Figure 5 illustrate a comparative analysis of the proposed control strategy with and without the integration of HOSM estimators for external disturbances and parametric variations.
In Figure 3, the 3D trajectories reveal that the follower UAVs operating without estimators exhibit noticeable deviations from their desired formation positions, particularly during directional changes. These deviations result from unmodeled dynamics and external wind forces that the non-estimating controller fails to reject effectively. In contrast, the followers using estimators maintain their relative positions more accurately, validating the compensatory action provided by the integrated estimation scheme.
Figure 4 provides further insight by isolating the evolution of position components along the x-, y-, and z-axes. The followers without estimators exhibit larger tracking deviations, particularly during transient phases and directional changes, due to the compounded effect of parametric variations and wind disturbances. These deviations are more pronounced along the horizontal axes (subfigures (a) and (b)). In the vertical direction (subplot (c)), while all followers eventually converge to the desired altitude, those without estimation present a noticeable delay in alignment with the leader’s trajectory. In contrast, the estimators enhance the system’s ability to reject disturbances and maintain tighter formation across all axes. In contrast, the estimators enhance the system’s ability to reject disturbances and follow the leader’s trajectory more closely across all axes.
Figure 5 displays the tracking errors in relative positions between the followers and the leader. These errors are notably reduced when estimators are used. The absence of estimation leads to higher steady-state offsets, especially in the x-axis and y-axis tracking (subplots (a) and (b)). Despite disturbances, the proposed estimator-based approach demonstrates superior rejection capabilities, driving the tracking errors rapidly toward zero and ensuring tighter inter-agent coordination.
To further validate coordinated behavior, the evolution of orientation angles is presented in Figure 6. Subplot (a) shows the roll angle ϕ and subplot (b) the pitch angle θ for all UAVs. All agents adjust their attitudes to match the leader’s angular profile, maintaining a synchronized orientation throughout the mission. The curves for followers 1 and 2 closely match the leader’s attitude, demonstrating that angular coordination is preserved even during aggressive maneuvers. The corresponding orientation tracking errors are shown in the second row of Figure 6. The plots represent the deviations e ϕ = ϕ ϕ d and e θ = θ θ d over time. The controller efficiently drives both errors to zero, indicating the robust stabilization of the followers’ attitude dynamics. These results confirm that the proposed method guarantees consistent alignment in both position and orientation, which is crucial for tasks such as cooperative payload transport and aerial inspection.
Finally, Figure 7, Figure 8 and Figure 9 evaluate the performance of the High-Order Sliding Mode estimators integrated into the control structure. Each figure contains two subplots: the top shows the estimator signals ξ x , ξ y , and ξ z against the corresponding tracking errors e x , e y , and e z , while the bottom plots display ξ x ˙ , ξ y ˙ , and ξ z ˙ against the estimated variations δ x , δ y , and δ z . Solid lines indicate the estimator outputs, while dash-dot lines represent the reference quantities. The convergence of estimator signals toward the actual tracking errors and system variations demonstrates the observer’s accuracy and robustness under measurement noise and modeling uncertainty. The estimators respond promptly to transient deviations and accurately reflect system behavior, enabling improved real-time compensation within the control loop.
Overall, the graphical results validate the proposed control architecture’s ability to ensure precise trajectory tracking, maintain geometric formation, compensate for dynamic uncertainties, and synchronize orientation—all under realistic disturbances and without sacrificing performance or stability.

6. Conclusions

In this paper, a robust formation control strategy for UAVs was developed to ensure precise relative positioning and trajectory adherence in three-dimensional space despite parametric uncertainties and external disturbances. The proposed approach, based on a backstepping framework with proportional-integral virtual controls, effectively stabilized tracking errors in the x-, y-, and z-axes, allowing the follower UAVs to maintain their formation relative to the leader.
To enhance the reliability of the assessment, a complex segmented 3D trajectory was introduced for the leader UAV, requiring coordinated responses from the followers in all spatial directions. The simulation results validated the proposed strategy by demonstrating accurate trajectory tracking, disturbance rejection, and adaptability to dynamic variations. The 3D trajectory plot and the tracking error estimations confirmed that the UAV system maintained stability and achieved the desired formation distances, even under significant disturbances.
Furthermore, the integration of translational and rotational dynamics, along with the decomposition of relative distances in the leader’s reference frame, improved the overall control precision. These results highlight the robustness and flexibility of the proposed control strategy, making it suitable for applications requiring multi-UAV coordination in dynamic environments.
While this work focused on the design and validation of a robust control strategy using HOSM-based estimators within a nonlinear framework, no direct comparisons with alternative controllers were included. As such, future work will aim to extend this approach to heterogeneous UAV formations, conduct comparative studies with other control techniques under the same full dynamic model, and implement real-time environmental sensing for improved adaptability in complex scenarios. In addition, the inclusion of vertical wind disturbances (z-component) will be investigated to further assess the system’s robustness under fully three-dimensional environmental conditions.

Author Contributions

Conceptualization, C.V.V.V.; methodology, C.V.V.V., C.A.L. and S.D.G.; software, C.V.V.V.; validation, C.A.L.; formal analysis, C.A.L.; investigation, C.V.V.V. and C.C.V.G.; resources, C.C.V.G.; data curation, C.C.V.G.; writing—original draft preparation, C.V.V.V.; writing—review and editing, C.A.L. and C.C.V.G.; visualization, C.V.V.V.; supervision, S.D.G.; project administration, C.A.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data are contained within the article.

Acknowledgments

Claudia Verónica Vera Vaca gratefully acknowledges the scholarship number 827938 provided by SECIHTI to carry out her postgraduate studies from which this research was derived.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Nex, F.; Armenakis, C.; Cramer, M.; Cucci, D.A.; Gerke, M.; Honkavaara, E.; Kukko, A.; Persello, C.; Skaloud, J. UAV in the advent of the twenties: Where we stand and what is next. ISPRS J. Photogramm. Remote Sens. 2022, 184, 215–242. [Google Scholar] [CrossRef]
  2. Sivakumar, M.; Tyj, N.M. A literature survey of unmanned aerial vehicle usage for civil applications. J. Aerosp. Technol. Manag. 2021, 13, e4021. [Google Scholar] [CrossRef]
  3. Ali, Z.A.; Han, Z.; Masood, R.J. Collective motion and self-organization of a swarm of UAVs: A cluster-based architecture. Sensors 2021, 21, 3820. [Google Scholar] [CrossRef]
  4. Han, W.; Wang, J.; Wang, Y.; Xu, B. Multi-UAV flocking control with a hierarchical collective behavior pattern inspired by sheep. IEEE Trans. Aerosp. Electron. Syst. 2024, 60, 2267–2276. [Google Scholar] [CrossRef]
  5. Giacomossi, L.; Souza, F.; Cortes, R.G.; Cortez, H.M.M.; Ferreira, C.; Marcondes, C.A.C.; Loubach, D.S.; Sbruzzi, E.F.; Verri, F.A.N.; Marques, J.C.; et al. Autonomous and collective intelligence for UAV swarm in target search scenario. In Proceedings of the 2021 Latin American Robotics Symposium (LARS), 2021 Brazilian Symposium on Robotics (SBR), and 2021 Workshop on Robotics in Education (WRE), Natal, Brazil, 11–15 October 2021; pp. 72–77. [Google Scholar] [CrossRef]
  6. Ju, C.; Son, H.I. Multiple UAV systems for agricultural applications: Control, implementation, and evaluation. Electronics 2018, 7, 162. [Google Scholar] [CrossRef]
  7. Skorobogatov, G.; Barrado, C.; Salamí, E. Multiple UAV systems: A survey. Unmanned Syst. 2020, 8, 149–169. [Google Scholar] [CrossRef]
  8. Gu, J.; Su, T.; Wang, Q.; Du, X.; Guizani, M. Multiple moving targets surveillance based on a cooperative network for multi-UAV. IEEE Commun. Mag. 2018, 56, 82–89. [Google Scholar] [CrossRef]
  9. Araujo, J.F.; Sujit, P.B.; Sousa, J.B. Multiple UAV area decomposition and coverage. In Proceedings of the 2013 IEEE Symposium on Computational Intelligence for Security and Defense Applications (CISDA), Singapore, 16–19 April 2013; pp. 30–37. [Google Scholar] [CrossRef]
  10. Shima, T.; Rasmussen, S. UAV Cooperative Decision and Control: Challenges and Practical Approaches; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2009. [Google Scholar] [CrossRef]
  11. Zeng, Y.; Xu, J.; Zhang, R. Toward energy-efficient UAV communication: A survey of trajectory design and resource management. IEEE Commun. Surv. Tutor. 2019, 21, 1636–1672. [Google Scholar]
  12. Nawaz, H.; Ali, H.M.; Laghari, A.A. UAV communication networks issues: A review. Arch. Comput. Methods Eng. 2021, 28, 1349–1369. [Google Scholar] [CrossRef]
  13. Mohsan, S.A.H.; Othman, N.Q.H.; Li, Y.; Alsharif, M.H.; Khan, M.A. Unmanned aerial vehicles (UAVs): Practical aspects, applications, open challenges, security issues, and future trends. Intell. Serv. Robot. 2023, 16, 109–137. [Google Scholar] [CrossRef]
  14. Zhou, B.; Wu, L.; Zhang, R.; Wang, H.; Zhang, Y. Multi-UAV network assisted intelligent edge computing: Challenges and opportunities. IEEE Netw. 2022, 36, 36–43. [Google Scholar] [CrossRef]
  15. Zhao, X.; Zhang, Y.; Zhang, S.; Zhang, Y. Survey on mission planning of multiple unmanned aerial vehicles. Aerospace 2023, 10, 208. [Google Scholar] [CrossRef]
  16. Bu, Y.; Yan, Y.; Yang, Y. Advancement Challenges in UAV Swarm Formation Control: A Comprehensive Review. Drones 2024, 8, 320. [Google Scholar] [CrossRef]
  17. Do, M.T.; Hua, M.D. Formation Control Algorithms for Multiple-UAVs: A Comprehensive Survey. EAI Endorsed Trans. Ind. Netw. Intell. Syst. 2021, 8, e3. [Google Scholar] [CrossRef]
  18. Zhang, Y.; Li, X.; Wang, J.; Zhang, Y. Collision Avoidance Mechanism for Swarms of Drones. Sensors 2023, 25, 1141. [Google Scholar] [CrossRef]
  19. Li, H.; Wang, Y.; Zhang, R.; Wu, L. A Survey on Multiple Unmanned Vehicles Formation Control and Coordination: Current Status and Future Directions. Unmanned Syst. 2024, 12, 1–20. [Google Scholar] [CrossRef]
  20. González-Sierra, J.; Dzul, A.; Martínez, E. Formation control of distance and orientation based-model of an omnidirectional robot and a quadrotor UAV. Robot. Auton. Syst. 2021, 143, 103921. [Google Scholar] [CrossRef]
  21. Jiang, Y.; Bai, T.; Wang, Y. Formation Control Algorithm of Multi-UAVs Based on Alliance. Drones 2022, 6, 431. [Google Scholar] [CrossRef]
  22. Vallejo-Alarcón, M.A.; Castro-Linares, R.; Velasco-Villa, M. Unicycle-Type Robot & Quadrotor Leader-Follower Formation Backstepping Control. IFAC-PapersOnLine 2015, 48, 51–56. [Google Scholar] [CrossRef]
  23. Mercado-Ravell, D.; Castro, R.; Lozano, R. Quadrotors flight formation control using a leader-follower approach. In Proceedings of the European Control Conference (ECC), Zurich, Switzerland, 17–19 July 2013; pp. 3855–3860. [Google Scholar] [CrossRef]
  24. Liu, C.; Xie, F.; Ji, T. Fixed-Wing UAV Formation Path Planning Based on Formation Control: Theory and Application. Aerospace 2024, 11, 1. [Google Scholar] [CrossRef]
  25. Imran, I.H.; Kurtulus, D.F.; Memon, A.M.; Goli, S.; Kouser, T.; Alhems, L.M. Distributed Robust Formation Control of Heterogeneous Multi-UAVs with Disturbance Rejection. IEEE Trans. Aerosp. Electron. Syst. 2024, 12, 55326–55341. [Google Scholar] [CrossRef]
  26. Liu, H.; Ma, T.; Lewis, F.L.; Wan, Y. Robust Formation Control for Multiple Quadrotors with Nonlinearities and Disturbances. IEEE Trans. Control Syst. Technol. 2018, 26, 427–438. [Google Scholar] [CrossRef]
  27. Jasim, W.; Gu, D. Robust Team Formation Control for Quadrotors. IEEE Trans. Aerosp. Electron. Syst. 2017, 53, 3440–3452. [Google Scholar] [CrossRef]
  28. Wang, Z.; Wang, T.; Li, T.; Mao, Z. Distributed observer-based close formation control for UAV swarm under outside disturbances and wake interferences. J. Frankl. Inst. 2024, 361, 106651. [Google Scholar] [CrossRef]
  29. Li, J.; Liu, J.; Huangfu, S.; Cao, G.; Yu, D. Leader-follower formation of light-weight UAVs with novel active disturbance rejection control. Appl. Math. Model. 2022, 106, 357–374. [Google Scholar] [CrossRef]
  30. Xu, L.-X.; Wang, Y.-L.; Wang, X.; Peng, C. Distributed Active Disturbance Rejection Formation Tracking Control for Quadrotor UAVs. IEEE Trans. Neural Netw. Learn. Syst. 2023, 54, 4678–4689. [Google Scholar] [CrossRef] [PubMed]
  31. Koksal, N.; An, H.; Fidan, B. Backstepping-based adaptive control of a quadrotor UAV with guaranteed tracking performance. ISA Trans. 2020, 105, 98–110. [Google Scholar] [CrossRef]
  32. Wang, J.; Alattas, K.A.; Bouteraa, Y.; Mofid, O.; Mobayen, S. Adaptive finite-time backstepping control tracker for quadrotor UAV with model uncertainty and external disturbance. Aerosp. Sci. Technol. 2023, 133, 108088. [Google Scholar] [CrossRef]
  33. Liu, K.; Wang, R. Antisaturation command filtered backstepping control-based disturbance rejection for a quadarotor UAV. IEEE Trans. Circuits Syst. II Express Briefs 2021, 68, 3577–3581. [Google Scholar] [CrossRef]
  34. Bao, C.; Guo, Y.; Luo, L.; Su, G. Design of a fixed-wing UAV controller based on adaptive backstepping sliding mode control method. IEEE Access 2021, 9, 157825–157841. [Google Scholar] [CrossRef]
  35. Xu, L.X.; Ma, H.J.; Guo, D.; Xie, A.H.; Song, D.L. Backstepping sliding-mode and cascade active disturbance rejection control for a quadrotor UAV. IEEE/ASME Trans. Mechatronics 2020, 25, 2743–2753. [Google Scholar] [CrossRef]
  36. Nguyen, N.P.; Mung, N.X.; Thanh, H.L.N.N.; Huynh, T.T.; Lam, N.T.; Hong, S.K. Adaptive sliding mode control for attitude and altitude system of a quadcopter UAV via neural network. IEEE Access 2021, 9, 40076–40085. [Google Scholar] [CrossRef]
  37. Baek, J.; Kang, M. A synthesized sliding-mode control for attitude trajectory tracking of quadrotor UAV systems. IEEE/ASME Trans. Mechatronics 2023, 28, 2189–2199. [Google Scholar] [CrossRef]
  38. Shao, X.; Sun, G.; Yao, W.; Liu, J.; Wu, L. Adaptive sliding mode control for quadrotor UAVs with input saturation. IEEE/ASME Trans. Mechatronics 2021, 27, 1498–1509. [Google Scholar] [CrossRef]
  39. Noordin, A.; Mohd Basri, M.A.; Mohamed, Z.; Mat Lazim, I. Adaptive PID controller using sliding mode control approaches for quadrotor UAV attitude and position stabilization. Arab. J. Sci. Eng. 2021, 46, 963–981. [Google Scholar] [CrossRef]
  40. Rinaldi, M.; Primatesta, S.; Guglieri, G. A comparative study for control of quadrotor UAVs. Appl. Sci. 2023, 13, 3464. [Google Scholar] [CrossRef]
  41. Cárdenas R, C.A.; Grisales, V.H.; Collazos Morales, C.A.; Cerón-Muñoz, H.D.; Ariza-Colpas, P.; Caputo-Llanos, R. Quadrotor modeling and a pid control approach. In Proceedings of the Intelligent Human Computer Interaction: 11th International Conference, IHCI 2019, Allahabad, India, 12–14 December 2019; Springer: Berlin/Heidelberg, Germany, 2020; pp. 281–291. [Google Scholar] [CrossRef]
  42. Choi, J.; Cheon, D.; Lee, J. Robust landing control of a quadcopter on a slanted surface. Int. J. Precis. Eng. Manuf. 2021, 22, 1147–1156. [Google Scholar] [CrossRef]
  43. Bianchi, D.; Di Gennaro, S.; Di Ferdinando, M.; Acosta Lúa, C. Robust control of UAV with disturbances and uncertainty estimation. Machines 2023, 11, 352. [Google Scholar] [CrossRef]
  44. Guillén-Bonilla, J.T.; Vaca García, C.C.; Di Gennaro, S.; Sánchez Morales, M.E.; Acosta Lúa, C. Vision-Based Nonlinear Control of Quadrotors Using the Photogrammetric Technique. Math. Probl. Eng. 2020, 2020, 5146291. [Google Scholar] [CrossRef]
  45. Acosta Lúa, C.; Vaca García, C.C.; Di Gennaro, S.; Castillo-Toledo, B.; Sánchez Morales, M.E. Real-Time Hovering Control of Unmanned Aerial Vehicles. Math. Probl. Eng. 2020, 2020, 2314356. [Google Scholar] [CrossRef]
  46. Nagaty, A.; Saeedi, S.; Thibault, C.; Seto, M.; Li, H. Control and navigation framework for quadrotor helicopters. J. Intell. Robot. Syst. 2013, 70, 1–12. [Google Scholar] [CrossRef]
  47. Beard, R.W.; McLain, T.W. Small Unmanned Aircraft: Theory and Practice; Princeton University Press: Princeton, NJ, USA, 2024. [Google Scholar]
  48. Moreno, J.A.; Osorio, M. A Lyapunov Approach to Second–Order Sliding Mode Controllers and Observers. In Proceedings of the 47th IEEE Conf. Decision Control, Cancun, Mexico, 9–11 December 2008; pp. 2856–2861. [Google Scholar] [CrossRef]
  49. Khalil, H.K. Nonlinear Systems; Prentice Hall: Saddle River, NJ, USA, 2006. [Google Scholar]
Figure 1. The quadrotor schematic.
Figure 1. The quadrotor schematic.
Mathematics 13 01520 g001
Figure 2. Quadrotors Formation.
Figure 2. Quadrotors Formation.
Mathematics 13 01520 g002
Figure 3. 3D position trajectories of the three UAVs under external disturbances and parametric variations, comparing the control performance with and without disturbance and parameter estimation.
Figure 3. 3D position trajectories of the three UAVs under external disturbances and parametric variations, comparing the control performance with and without disturbance and parameter estimation.
Mathematics 13 01520 g003
Figure 4. Position trajectories along the (a) x-, (b) y-, and (c) z-axes for the three UAVs, comparing control with and without estimation of external disturbances and parametric variations.
Figure 4. Position trajectories along the (a) x-, (b) y-, and (c) z-axes for the three UAVs, comparing control with and without estimation of external disturbances and parametric variations.
Mathematics 13 01520 g004
Figure 5. Tracking errors along the (a) x-, (b) y-, and (c) z-axes for the three UAVs, comparing control with and without estimation of external disturbances and parametric variations.
Figure 5. Tracking errors along the (a) x-, (b) y-, and (c) z-axes for the three UAVs, comparing control with and without estimation of external disturbances and parametric variations.
Mathematics 13 01520 g005
Figure 6. Roll and pitch angle trajectories and tracking errors for the three UAVs. (a,b) show the roll angle ϕ and pitch angle θ , while (c,d) show the tracking errors e ϕ = ϕ ϕ d and e θ = θ θ d .
Figure 6. Roll and pitch angle trajectories and tracking errors for the three UAVs. (a,b) show the roll angle ϕ and pitch angle θ , while (c,d) show the tracking errors e ϕ = ϕ ϕ d and e θ = θ θ d .
Mathematics 13 01520 g006
Figure 7. Estimation performance in the x-axis for the three UAVs. (a) ξ x vs. e x ; (b) ξ x ˙ vs. δ x .
Figure 7. Estimation performance in the x-axis for the three UAVs. (a) ξ x vs. e x ; (b) ξ x ˙ vs. δ x .
Mathematics 13 01520 g007
Figure 8. Estimation performance in the y-axis for the three UAVs. (a) ξ y vs. e y ; (b) ξ y ˙ vs. δ y .
Figure 8. Estimation performance in the y-axis for the three UAVs. (a) ξ y vs. e y ; (b) ξ y ˙ vs. δ y .
Mathematics 13 01520 g008
Figure 9. Estimation performance in the z-axis for the three UAVs. (a) ξ z vs. e z ; (b) ξ z ˙ vs. δ z .
Figure 9. Estimation performance in the z-axis for the three UAVs. (a) ξ z vs. e z ; (b) ξ z ˙ vs. δ z .
Mathematics 13 01520 g009
Table 1. Parametric variations considered.
Table 1. Parametric variations considered.
ParameterNominal ValueVariation
Mass m1.3 kg 1.05 m
Thrust Coefficient C τ 0.0048 1.0 C τ
Drag Coefficient C D 0.0002351 1.0 C D
Inertia I x x , I y y , I z z (0.081, 0.081, 0.142) kg m2 1.05 I x x , 1.05 I y y , 1.05 I z z
Table 2. Relative distances of followers to the leader.
Table 2. Relative distances of followers to the leader.
UAVDistance in X (m)Distance in Y (m)Distance in Z (m)
Follower 11.00.50.2
Follower 22.00.10.2
Table 3. Initial conditions for UAVs.
Table 3. Initial conditions for UAVs.
UAVPosition (m)Velocity (m/s)Orientation (rad)Angular Velocity (rad/s)
Leader(0, 0, 0)(0, 0, 0)(0, 0, 0)(0, 0, 0)
Follower 1(0.5, 0.5, 0)(0, 0, 0)(0, 0, 0)(0, 0, 0)
Follower 2(1, 1, 0)(0, 0, 0)(0, 0, 0)(0, 0, 0)
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

Vera Vaca, C.V.; Di Gennaro, S.; Vaca García, C.C.; Acosta Lúa, C. Nonlinear Mathematical Modeling and Robust Control of UAV Formation Under Parametric Variations and External Disturbances. Mathematics 2025, 13, 1520. https://doi.org/10.3390/math13091520

AMA Style

Vera Vaca CV, Di Gennaro S, Vaca García CC, Acosta Lúa C. Nonlinear Mathematical Modeling and Robust Control of UAV Formation Under Parametric Variations and External Disturbances. Mathematics. 2025; 13(9):1520. https://doi.org/10.3390/math13091520

Chicago/Turabian Style

Vera Vaca, Claudia Verónica, Stefano Di Gennaro, Claudia Carolina Vaca García, and Cuauhtémoc Acosta Lúa. 2025. "Nonlinear Mathematical Modeling and Robust Control of UAV Formation Under Parametric Variations and External Disturbances" Mathematics 13, no. 9: 1520. https://doi.org/10.3390/math13091520

APA Style

Vera Vaca, C. V., Di Gennaro, S., Vaca García, C. C., & Acosta Lúa, C. (2025). Nonlinear Mathematical Modeling and Robust Control of UAV Formation Under Parametric Variations and External Disturbances. Mathematics, 13(9), 1520. https://doi.org/10.3390/math13091520

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