1. Introduction
The use of unmanned aerial vehicles (UAVs) has been extended to a wide range of applications, from monitoring remote areas to delivering packages, driven by the advantages of autonomous flight, low cost, and remote operability [
1,
2,
3]. However, controlling these vehicles remains challenging due to the complexity of their dynamics and the presence of external disturbances during flight. To address tasks that exceed the capabilities of a single agent, multi-agent systems (MASs) have emerged as a compelling solution, where multiple quadrotors collaborate to accomplish a specific mission. Depending on the topology of the MAS, each agent must be equipped with control strategies that enable collision avoidance or formation control [
4,
5,
6]. In either case, the ability to infer the trajectories of neighboring agents operating within the same workspace constitutes a fundamental requirement.
In an analogous context, trajectory inference is important for predicting where an autonomous system might be in order to quantify risks, or to reconstruct its position between snapshots of data so as to understand its mission profile or intention. Unlike pure prediction methods, trajectory inference simultaneously addresses the reconstruction of past trajectories, the estimation of unmeasured states, and the anticipation of future motion—making it a fundamental tool for the monitoring and control of autonomous systems in complex operational environments [
7,
8]. Formally, this problem consists of deducing the trajectory followed by a system from partial and potentially noisy state measurements, combined with prior knowledge of its underlying dynamic model. The trajectory inference problem can be naturally viewed as a combination of state estimation and parametric identification [
9], where the goal is not only to reconstruct the internal states of neighboring agents but also to identify the parameters governing their motion.
In the context of quadrotor systems, full-state measurements cannot always be guaranteed due to sensor limitations, hardware faults, or noise corruption, which compromises the reliability of control schemes [
10,
11]. Since deploying a dedicated sensor for each signal of interest is often infeasible due to cost constraints, technological limitations, or the complexity of the system, estimators emerge as an indispensable tool for reconstructing unmeasured states, identifying unknown parameters, and rejecting external disturbances from available output measurements [
12,
13]. These estimation objectives are jointly required to keep a system under control, making the estimator design problem a central component of a general control [
14,
15].
State estimation methodologies can be broadly categorized into two main branches: model-based approaches, such as the Kalman filter, the Luenberger estimators, high-gain estimators, sliding-mode estimators, and adaptive estimators, and data-driven approaches, such as neural network estimators and reinforcement learning-based estimation schemes [
16,
17,
18]. While data-driven methods offer flexibility in the absence of explicit system models, model-based approaches generally require exact or partial knowledge of the mathematical model of the system, which in many practical scenarios is difficult to obtain due to parametric uncertainty, unmodeled dynamics, or the inherent complexity of the system [
14,
19,
20,
21].
For example, the Luenberger estimator is formulated under the assumption of a known linear time-invariant model, which considerably limits its applicability to systems where the dynamics are well characterized [
22,
23]. To address this limitation, high-gain estimators relax the requirement of exact parameter knowledge by employing sufficiently large gains to dominate bounded parametric uncertainty; nevertheless, the system structure must still be known, and excessively high gains can amplify measurement noise, leading to the well-known peaking phenomenon [
24,
25].
Efforts have been made to address these limitations through methodologies that require only partial knowledge of the system model. In the case of sliding-mode estimators, it is sufficient to know the structure of the model and an upper bound on the uncertainty or disturbance acting on the system, without requiring exact knowledge of the system parameters [
26,
27,
28]. This property makes sliding-mode-based approaches particularly attractive for uncertain systems, since the discontinuous correction term actively rejects bounded disturbances and parametric uncertainty, guaranteeing robust state estimation even in the presence of modeling errors.
Numerous classical approaches for the identification of quadrotor parameters have been proposed, where the authors of [
29,
30,
31,
32,
33] have addressed this problem through well-established methods, including Levenberg–Marquardt optimization, frequency-domain system identification, subspace model identification, unscented Kalman filtering, low-pass filter-based methods, and practical identification techniques. Despite their individual merits, these techniques share a fundamental constraint: they require, to some extent, explicit knowledge of the mathematical model of the system—whether regarding its architecture, its parameters, or both—thereby considerably limiting their applicability in scenarios where obtaining an accurate model is challenging.
A variety of methodologies have been proposed to jointly address the challenges of state estimation and parameter identification in nonlinear systems, bridging the two problems discussed above. In this regard, refs. [
34,
35,
36,
37] have tackled this combined problem through robust controller design under parametric uncertainty, adaptive model predictive control combined with adaptive state estimators, and improved square-root unscented Kalman filtering for online non-stationary parameter estimation. In a similar vein, the
adaptive control architecture has been successfully applied to UAV systems, addressing speed regulation, landing control, and hybrid sliding-mode formulations to enhance robustness and adaptation under uncertainties and external disturbances [
38,
39,
40].
The CLOE framework has been extensively employed for parameter identification in mechanical systems, with the authors of references [
41,
42,
43,
44] addressing this problem in the context of robot manipulators and general dynamical systems, establishing the theoretical foundations and convergence conditions of this methodology. In the specific context of quadrotor UAVs and trajectory inference, ref. [
9] proposed a robust CLOE methodology capable of deducing system dynamics under noisy conditions, later extended in [
7] to accommodate partial state measurements by integrating state estimation and parametric identification into a unified framework; nonetheless, both contributions assume linear system dynamics, motivating the present work to extend this approach to the nonlinear dynamics of quadrotor systems undergoing full three-dimensional motion, encompassing translational and rotational movements.
An alternative framework for state estimation encompasses methodologies that do not rely on a precise mathematical characterization of the system; instead, they employ input–output data to infer system states. In this regard, machine learning and deep reinforcement learning approaches have garnered considerable attention for trajectory forecasting and route planning in autonomous systems, with notable applications in autonomous vehicles [
17], unmanned aerial vehicles [
45,
46,
47], and mobile robotics [
48], showcasing enhancements in adaptability and real-time decision-making under dynamic environments. Along these lines, neural network-based estimator designs, including multi-layer neural network Luenberger estimators with modified back-propagation and dynamic neural network-based sliding-mode estimators, have been proposed for quadrotor state estimation under parameter variations, external disturbances, and sensor noise [
49,
50]. Nevertheless, these data-driven methodologies typically require extensive training data and considerable computational resources, and fail to deliver formal guarantees regarding estimation error bounds, thereby constraining their applicability in safety-critical contexts [
51].
Motivated by the aforementioned limitations and building upon the existing literature, the main contributions of this work can be summarized as follows:
The linearized quadrotor model explicitly incorporates bounded disturbances and uncertainties—including non-modeled dynamics and wind gusts—while considering fully three-dimensional trajectory tracking, thereby providing a more realistic and complete framework for the trajectory inference problem.
A robust trajectory inference strategy is proposed, combining state estimation and parametric identification within a unified CLOE approach, ensuring convergence in the presence of external disturbances.
A Lyapunov-based stability analysis is provided, formally establishing the asymptotic convergence of the estimation error to zero under nominal conditions, and its uniform ultimate boundedness in the presence of bounded disturbances.
Parameter convergence to constant values is guaranteed under a persistent excitation condition, ensuring the identifiability of the unknown system dynamics.
The outline of the rest of this work is as follows:
Section 2 describes the system model and formulates the problem.
Section 3 presents the design of the PD control strategy employed to track the reference trajectory.
Section 4 presents the trajectory inference scheme and analysis in the sense of Lyapunov.
Section 5 presents a robust sliding-mode-based methodology for the trajectory inference algorithm.
Section 6 presents the simulation results and their discussion. Finally,
Section 7 draws the concluding remarks and outlines directions for future work.
2. System Model and Problem Formulation
The quadrotor as a rigid body is characterized by a frame linked to it (
), and with the origin at its center of rotation. The inertial frame
is considered fixed with respect to the earth (see
Figure 1).
The vector
represents the position of the body-fixed frame origin of the quadcopter expressed at the origin of the inertial frame
I. The vehicle orientation is given by a rotation matrix
, where
is an orthonormal rotation matrix [
52]. In this paper, the
Euler angles,
, have been used to describe the quadcopter rotation matrix
with respect to the ground. These angles are bounded as follows: the roll angle
by
, the pitch angle
by
, and the yaw angle
by
.
The movement of the unmanned aerial vehicle (UAV) results from changes in the lift force caused by adjusting the velocities of the rotors. Longitudinal motions are achieved by means of front and rear rotor velocities, while lateral displacements are performed through the speed of the right and left propellers. Yaw movements are obtained from the difference in the counter-torque between each pair of propellers.
It can be observed in
Figure 1 that the four propellers are mounted parallel to the body-fixed
axis, and their rotation axes are orthogonal to the plane defined by
and
. This configuration allows the vehicle to be controlled by adjusting the thrust of each rotor, providing the total lift along
and producing the necessary rotational moments to achieve the desired orientation and position of the quadrotor.
From
Figure 1, it follows that
where
u is the main thrust directed out of the bottom of the aircraft and expressed as
and, for
,
is the force produced by motor
, as shown in
Figure 1. Typically
, where
is a constant and
is the angular speed of the
i-th motor. The generalized torques are thus
where
l is the distance between the motors and the center of gravity, and
is the moment produced by motor
, for
, around the center of gravity of the aircraft. The reaction torque
exerted on the airframe about the spin axis of motor
arises from the aerodynamic drag on the propeller blades and is typically modeled as
, where
is the drag coefficient of rotor
i. Since rotor pairs spin in opposite directions to balance torque in hover, an imbalance in
across rotors produces the net yaw torque
in (
3).
In addition, some assumptions are made to compute the model for control purposes. The ground effect is neglected and the quadcopter airframe is assumed to be symmetric, which results in a moment of inertia tensor of the center of the body-fixed frame with only diagonal inertia terms. Moreover, for control purposes, the center of mass and the body-fixed frame origin are assumed to coincide, which is a common assumption to simplify the dynamic modeling of UAVs.
Under these assumptions, the quadcopter motion equations can be obtained by the Euler–Lagrange formalism based on the kinetic and potential energy concepts. The quadcopter dynamics (see
Figure 1) are described by Euler–Lagrange motion equations [
3,
53,
54]:
where
is the position of the mass centre of the quadrotor, while
are the yaw angle, the pitch angle, and the roll angle, respectively. The variables
are the control inputs, i.e., the main thrust and the angular moments of the yaw, pitch, and roll angles, respectively.
The term g denotes the acceleration of gravity, and is the mass of the quadrotor. The terms where , , and are the moments of inertia along the x, y, and z axes, respectively, which are considered unknown.
Equations (
4)–(9) are obtained under the following implicit modeling assumptions: (i) the quadrotor is treated as a rigid body; (ii) rotor gyroscopic effects and blade flapping are neglected; (iii) translational aerodynamic drag on the airframe is neglected; and (iv) the body-frame angular rates
are approximated by the time derivatives of the Euler angles,
, valid for small roll and pitch angles. Consequently, Equations (7)–(9) retain second-order coupling terms and are accurate only up to second order in the Euler angles and their rates.
The moments of inertia are assumed to be unknown but constant, strictly positive, and bounded. Since the airframe is assumed symmetric, the inertia tensor is diagonal, with no cross-inertia terms, so that and c are constant and bounded; the specific quadratic form of Equations (7)–(9) follows from assumption (iv).
Assumption 1. System (4)–(9) is controllable and only noisy measurements of the generalized coordinates and their derivatives are available, that is, we have access to full state measurements. Assumption 2. The control input has an unknown linear structure that does not compromise the closed-loop linearity of (4)–(9).
3. Control
The trajectory control of a quadrotor is implemented following a hierarchical cascaded strategy. Since the position dynamics are decoupled from the attitude dynamics, the overall model can be treated as a series of nested subsystems. In this framework, the altitude and yaw angle are regulated first, followed by the lateral and longitudinal positions together with the pitch and roll angles. The horizontal position controller is considered a high-level module, whereas the attitude controller operates as a low-level component [
53]. A general overview of this structure is illustrated in
Figure 2, where the darker the shade of green, the higher the control level. In many physical implementations, the position control layer is typically deployed on a ground station and transmitted wirelessly to the vehicle, generating the reference angles required to describe the desired motion along the
x and
y axes.
The vertical position can be controlled by using the following control input:
where
with
representing the position error along the
z axis, and
the desired altitude. The terms
and
are positive control gains. Thus, for altitude control,
constitutes a PD controller.
For the yaw angle regulation, a PD control law of the form
is considered, where
represents the yaw tracking error, and
is the desired yaw angle. As in the previous case, the gains
and
are positive.
Pitch angle is regulated through a PD controller of the form
where the reference pitch angle is defined as
Similarly, the roll angle is regulated using a PD controller of the form
where the roll reference angle is defined as
The control parameters
,
,
, and
should be carefully chosen to ensure a stable well-damped response in the vertical and yaw axes [
53]. From (6) and (7), it follows that
and
. From (
10)–(
12) and (6)–(7),
and
. For a time
T large enough,
and
are arbitrarily small, therefore, (
4) and (5) reduce to
Then, if we consider a very small upper bound on
and
in such a way that the difference
and
is arbitrarily small, following the standard small-angle linearization approach [
53], the system (
4)–(9) becomes the following linearized system:
In (
19)–(24), couple disturbances are considered under Assumption 2 to capture the effect of unmodeled dynamics, without compromising the stability of the desired trajectory.
Assumption 3. The terms represent the uncertainties and disturbances in the quadrotor’s dynamics, for instance, non-modeled dynamics and/or wind gusts. It is assumed that such disturbances are uniformly bounded and Lipschitz continuous, i.e., for all , with known positive constants .
4. Trajectory Inference
The proposed CLOE algorithm is illustrated in
Figure 3. An estimated model of the perturbed unknown system is constructed such that the mismatch between the measured outputs and their robust estimated counterparts drives an identification algorithm, which iteratively refines the model parameters.
This closed-loop structure yields a model matching framework [
55], in which the estimated model is driven to replicate the input–output behavior of the unknown system, a concept well established in adaptive control theory [
56]. The resulting identified model faithfully captures the underlying system dynamics, constituting a physics-informed representation that encodes the structural knowledge of the quadrotor model within the estimation scheme. This identified model can subsequently serve as a basis for trajectory prediction algorithms, including those based on physics-informed approaches [
8].
The proposed inference algorithm combines a state observer with an online parameter identification scheme, jointly exploiting the strengths of both approaches to reconstruct the underlying physics-informed reference model of the unknown system from real-time full-state measurements, without requiring prior knowledge of its dynamics [
9].
Given the underlying nature of the system, the full model admits a decomposition into four structurally decoupled subsystems: two fourth-order subsystems associated with the
x-
and
y-
motions, and two second-order subsystems corresponding to the altitude
z and yaw
channels. Nevertheless, from (
19)–(23), (20)–(24), (22) and (21), the complete system can be expressed in a unified state-space representation as
Considering
and
, the closed-loop system can be expressed as
where
are the closed-loop matrices resulting from the interconnection of the quadrotor dynamics and the stabilizing control law, and are treated as unknown for the purposes of the proposed trajectory inference scheme. Here,
is the regressor matrix and
is the parameter vector, defined, respectively, as
Here, ⊗ denotes the Kronecker product, and
denotes the vectorization operator, which stacks the columns of a matrix into a single column vector. The closed-loop system (
26) does not incorporate an excitation signal
in the desired reference
. To satisfy the persistent excitation condition required for parameter convergence, an auxiliary probing signal is injected into the reference input solely for identification purposes. Since this signal is known a priori, it can be subsequently removed from the reference to recover the original desired trajectory
. It is noted that the excitation signal
, composed of sinusoidal terms at multiple frequencies, is frequency-rich by construction, which breaks the linear dependency between the reference input and the state and constitutes a standard sufficient condition to secure the lower bound
in the persistent excitation condition (41), consistent with classical results in adaptive identification [
57]. Under this consideration, the augmented reference signal takes the form
where
The reference model takes the form of
where
are built from the parameters identified online for the closed-loop matrices
, and
is an additional parameter, designed to ensure that the closed-loop matrix
remains Hurwitz. Specifically,
is updated component-wise according to
or, equivalently, in compact matrix form,
Hence, the output error is defined as
then
where
is parametric error defined as
Theorem 1. Consider full-state measurements of a linear time-invariant system of (27) and the reference model (28). If the parameters are updated aswhere is a positive-definite gain matrix, and , then , e, and remain bounded and the dynamic error (32) converges to 0. Proof. We proposed a Lyapunov function based on estimation error
It can be observed that the proposed Lyapunov function is positive definite. Taking the time derivative of the Lyapunov function yields
provided that
. From the above inequality, the boundedness of
e can be concluded, that is,
, and also that
for any time instance
t. Furthermore, the boundedness of
e implies the boundedness of the estimated states
; and, hence, the regressor matrix
is also bounded. So,
.
If we integrate both sides of the above inequality in a time interval
, it follows that
From the above expression, it follows that e is an function. Since the parametric error and the signals within e are bounded, this allows the conclusion that is also bounded, that is, . Barbalat’s lemma is applied to conclude that e converges to 0. This completes the proof. □
Remark 1. Note that plays an essential stabilizing role in the closed-loop error dynamics; it can be designed as an adaptive stabilizing gain whose sole purpose is to guarantee the Hurwitz condition of .
The matrix must satisfy the following persistent excitation conditions for the parametric identification that feeds the estimated model.
Definition 1 (Persistent Excitation [
12])
. The regressor matrix of the i-th subsystem block, , is said to be persistently exciting
(PE) if there exist constants such that, for all ,where depends on the estimated states and the augmented reference . Lemma 1. The parameter update lawand the linear time-varying (LTV) systemare equivalent under the identification , , , and , where denotes the parametric error vector of the i-th block. Furthermore, the PE condition (38) is equivalent to the uniform complete observability
(UCO) of system (40), i.e., the observability Gramiansatisfies (38). Consequently, if and are bounded, then is bounded for all . Proof. The equivalence between (
39) and (
40) follows directly from the substitution
,
,
, and
, since
The observability Gramian
of system (
40) coincides with the integral in (
38); hence, the PE condition is equivalent to the UCO of (
40). Under UCO, if the input
and the output
are bounded, then by the boundedness property of UCO systems [
58],
is bounded. The boundedness of
follows from the Lyapunov analysis of the estimator–identifier scheme (Theorem 1), and
is bounded since
and
. This holds for all four blocks
, completing the proof. □
Remark 2. The user-defined excitation signal , added to the augmented reference , guarantees that the regressor does not lose rank over any window of length , even when the reference trajectory is not sufficiently rich. In particular, for subsystems (four-integrator chains) the signal must excite at least distinct frequencies, while for subsystems (two-integrator chains) the requirement is relaxed accordingly. A sufficient choice is a linear combination of sinusoidal signals with rationally independent frequencies, which ensures condition (38) for all blocks. 5. Sliding-Mode Approach
Taking into account the dynamic model expressed in (
27), the formulation is extended to all blocks, yielding the 12 states defined as
, where
are the position coordinates in the inertial frame and
are the Euler angles describing the vehicle attitude.
The update law operates on the estimation error
and produces an update of the identified parameters
of the form
where
is a positive-definite adaptive gain matrix, and
is the regressor matrix that depends on both the measured states
and the estimated states
.
In order to improve the robustness of the scheme against parametric uncertainties and unmodeled disturbances of the unknown system, the estimated model is complemented with an estimator based on high-order sliding modes, specifically the exact estimator of Levant.
The Levant-based high-order sliding-mode estimator of order
n is given by
where
is the error in the first state,
with exponents
decreasing along the estimation chain,
is an upper bound on the disturbance, and
are the estimator gains, whose nominal values have been reported in [
59]. A fundamental property of this scheme is that, under appropriate gain conditions, the observation error converges to zero in finite time
, so that
for all
and for all
[
60].
Recall that the unknown system is assumed to be affected by a disturbance; accordingly, a representative disturbance term
is incorporated into the closed-loop dynamics (
27). Subtracting the reference model (
28), complemented with the sliding-mode correction term, from the resulting disturbed closed-loop system yields the observation error dynamics presented below.
In contrast to the classical Levant estimator, where only
is available, the proposed scheme exploits the full-state measurement to assign an independent correction term to each state. Since all state measurements are accessible, the standard high-order sliding-mode observer structure can be directly applied to each state, yielding the following estimator for the complete 12-dimensional system
where
,
,
with
,
, and
is a bounded disturbance satisfying
for all
.
The following statement establishes the stability properties of the resulting error dynamics (
45), incorporating both the identified gain
and the sliding-mode correction terms, under the presence of bounded disturbances.
Theorem 2. Under the same identification framework and update law established in Theorem 1 for , and satisfying for all , and assuming further that for all , the trajectories of (45) are uniformly ultimately bounded (UUB), converging to a compact set whose radius is explicitly determined by , , and . Proof. Consider the augmented Lyapunov function
which is positive definite, since it is the sum of two non-negative terms that vanish only at the origin.
Differentiating along the trajectories of (
45) and substituting
, the parametric terms cancel exactly as in Theorem 1:
By the identification framework and update law established in Theorem 1, condition
holds, so that
For each
, define
Since
, the function
is not sign-definite for all
: it is negative near the origin (where the linear disturbance term dominates) and positive for sufficiently large
. To obtain a valid bound, the minimum of
is computed explicitly. Setting
yields the minimizer
Evaluating
at
gives the finite, explicitly computable constant
so that
Summing over all channels,
Therefore,
whenever
which establishes that the error trajectories are uniformly ultimately bounded (UUB), converging to a compact set of explicit radius
. □
Remark 3. Setting and recovers exactly the result of Theorem 1, confirming that the latter is a limiting case of the present, more general result.
Remark 4. Note that only the channel with (pure sign correction) dominates the disturbance uniformly for all , including near the origin, consistent with the classical result for Levant’s differentiator, where only the last gain is required to satisfy directly against the disturbance bound. For channels with , the decoupled (non-cascaded) structure used here does not recover exact finite-time convergence in the presence of a persistent disturbance; instead, it yields UUB with an explicit, finite bound per channel.
6. Results
The numerical simulations presented in this work are carried out in CoppeliaSim
® (version 4.10.0), a widely adopted robotics simulator that supports multiple physics engines and programming languages, including MATLAB. CoppeliaSim has been reported as one of the most frequently used platforms in robotics research, demonstrating high accuracy in motion simulation when compared against real experimental data [
61,
62].
In the CoppeliaSim environment, the default quadrotor model is used, with a mass of
kg. However, the trajectory control strategy implemented differs from the default controller provided by the simulator, as the hierarchical control scheme proposed in
Section 3 is employed instead.
Unlike the trajectory inference scheme reported in [
7], which also uses a quadrotor as a case study, the present work explicitly addresses the effect of a disturbance representation
, neither constant nor known a priori, through the sliding-mode correction terms incorporated in the proposed scheme, and further accounts for the fact that the closed-loop matrix
is not Hurwitz in the error dynamics, motivating the incorporation of the parameter
discussed in Theorem 1. In addition, in contrast to the reduced-order model in [
7], which includes only the translational states while the attitude angles act as direct control inputs, the present work considers the complete 12-state quadrotor dynamics, including the attitude angles and their rates with their corresponding rotational coupling terms.
The simulation of the unknown system, in this case a quadrotor as shown in
Figure 4, is carried out exclusively in CoppeliaSim, where position and trajectory results are obtained. Conversely, the trajectory inference algorithm is implemented in MATLAB
®/Simulink
® (version R2026a).
6.1. Trajectory Inference—Position Control
The gains used in the simulation of the unknown system are The gains considered for the trajectory control are , , , , , , , , , , , and . It is emphasized that these gains belong to the stabilizing controller of the quadrotor, treated throughout this work as the unknown system whose trajectory is to be inferred; as such, knowledge of the specific gain values or the tuning method used to obtain them is neither required nor exploited by the trajectory inference scheme.
The quadrotor’s initial condition was
, while the desired yaw angle remains
throughout the entire simulation. For the trajectory inference case under position control, the simulation is carried out over 50 s as illustrated in
Figure 5. Specifically, in
Figure 5a, the position control in CoppeliaSim is shown, where the desired trajectory is depicted in red and the trajectory described by the quadrotor in blue. The system is evidently affected by disturbances, which are:
These disturbance signals are deterministic and additive; no additional random noise was explicitly injected into the simulation. It is noted, however, that the CoppeliaSim physics engine (Bullet Physics 2.78) also introduces an additional, implicit fluctuation, likewise additive, through its particle-based propeller-thrust model.
The matrix
is set to
. For the CLOE-SM algorithm, the gains employed are those reported in
Table 1. The desired position references for
x,
y, and
z were defined as smooth interpolating polynomials.
rises from 0 to
m over the interval
s;
transitions from 0 to
m over the same interval
s; and
ascends from
to
m over the interval
s, after which, all references remain constant at their final values.
6.1.1. Disturbance-Free Case
This subsection presents the comparative results between the CLOE and CLOE-SM algorithms under the trajectory inference scenario without disturbances, in order to isolate and evaluate the contribution of the sliding-mode correction term on the estimation performance.
Figure 6a presents a comparison of the estimation errors for the position states
x,
y, and
z between the CLOE and CLOE-SM algorithms. It can be observed that the CLOE-SM algorithm yields a notably faster estimation error convergence relative to the CLOE algorithm, demonstrating the effectiveness of the sliding-mode correction term in improving the estimation accuracy.
Figure 6b presents a comparison of the estimation errors corresponding to
,
, and
. It can be observed that the CLOE-SM algorithm achieves a notably faster convergence of the error toward zero relative to the CLOE algorithm.
Similarly,
Figure 7a shows the estimation errors for the velocity states
,
, and
under both algorithms. As in the previous case, the CLOE-SM algorithm exhibits a markedly faster convergence rate compared to CLOE, further confirming the benefit of incorporating the sliding-mode correction term.
Figure 7b presents the corresponding comparison for the angular velocity errors
,
, and
, where the same improvement in convergence speed is observed for the CLOE-SM scheme relative to CLOE.
6.1.2. Disturbance Case
This subsection presents the comparative results between the CLOE and CLOE-SM algorithms under the trajectory inference scenario in the presence of disturbances, in order to evaluate the robustness and effectiveness of the sliding-mode correction term under a more challenging and realistic operating condition.
Figure 8a shows the estimation errors for the position states
x,
y, and
z obtained with the CLOE and CLOE-SM algorithms under the disturbance scenario. Despite the presence of external disturbances, the CLOE-SM algorithm maintains a substantially faster convergence rate than CLOE, confirming the robustness of the sliding-mode correction term against unmodeled dynamics.
Figure 8b presents the corresponding results for the attitude states
,
, and
, where the CLOE-SM algorithm again exhibits superior convergence performance relative to CLOE under the same disturbance conditions.
As shown in the magnified view in
Figure 9, around
the position estimation error remains on the order of
, while the attitude estimation error remains on the order of
, illustrating the sustained accuracy of the CLOE-SM scheme despite the persistent disturbance. It is worth noting that the chattering phenomenon associated with the discontinuous correction terms was mitigated to the greatest extent possible through the appropriate selection of the sliding-mode gains, in accordance with the conditions established in Theorem 2.
6.1.3. Quantitave Performance
To quantitatively compare the results obtained, the Root Mean Square Error (RMSE) were calculated as follows
The RMSE is employed to quantitatively assess the performance of both algorithms considering the case with disturbances, with the results summarized in
Table 2. As observed, the CLOE-SM algorithm yields a lower RMSE norm value of
, compared to
obtained by the CLOE algorithm, indicating a superior performance metric under this criterion. This improvement is primarily attributed to the sliding-mode correction term, which enforces a faster and more aggressive drive of the estimation error toward zero, thereby reducing the overall RMSE despite the inherent chattering effect. These results demonstrate that the CLOE-SM algorithm outperforms CLOE both in terms of convergence rate and accumulated estimation error.
To quantitatively compare the results obtained, the Integral of Time-weighted Absolute Error (ITAE) was calculated as follows
where
T is the total simulation time,
t is the time variable, and
denotes the Euclidean norm of the inference error vector for each subsystem.
Table 3 presents the ITAE metric for the position inference case. The proposed CLOE-SM algorithm achieves superior performance for the position, velocity, and Euler angle subsystems. For the position subsystem, CLOE-SM yields an ITAE value of
compared to
for CLOE, representing an improvement of approximately
. Likewise, the velocity subsystem shows a reduction from
to
, corresponding to an improvement of
. The most notable improvement is observed for the Euler angles subsystem, where CLOE-SM reduces the ITAE value from
to
, an improvement of approximately
. In contrast, for the angular rates subsystem, CLOE slightly outperforms CLOE-SM, yielding a lower ITAE value of
compared to
, an increase of approximately
. This result is attributed to the chattering effect introduced by the discontinuous terms of the sliding-mode-based observer, which affects the angular rate channels more noticeably than the remaining subsystems. Overall, these results indicate that the sliding-mode correction term incorporated in CLOE-SM contributes to a faster convergence of the inference error for the position, velocity, and orientation states, at the expense of a slight performance degradation in the angular rate estimation due to the aforementioned chattering effect. It is worth noting that this marginal degradation in the angular rate subsystem stems from the gain tuning of
. The gains for the angular rate channels were therefore selected as a trade-off between chattering attenuation and disturbance rejection, which explains the slightly larger ITAE value obtained by CLOE-SM relative to CLOE in this particular subsystem.
6.1.4. Identified Parameters
In order to show the convergence of the parameters, the simulation time was extended to 200 s.
Figure 10 shows the parameters for the CLOE algorithm. The convergence to constant values of the 28 parameters (
and gain
) is observed.
Similarly,
Figure 11 illustrates the parameter convergence of the CLOE-SM algorithm for all 28 estimated parameters. In this case, only one parameter exhibits a slightly oscillatory behavior, which is attributed to the discontinuous nature of the sliding-mode correction term. Nevertheless, this parameter, as well as the others, remains bounded throughout the estimation process.
6.2. Trajectory Inference—Trajectory Control
Another case to validate inference trajectory robust algorithm is through implementation of a trajectory control of the unknown system. In that sense, the proposed desired trajectory has the following form:
where
w is a frequency of 0.03.
For the trajectory-control case, the simulation runs for 140 s to complete a full cycle of the desired trajectory. The same gains reported for position case and in
Table 1 are used, along with the same values of the matrix
.
Figure 12 illustrates trajectory control of the quadrotor, specifically in
Figure 12a, we can see the trajectory control in the CoppeliaSim environment where we have the desired trajectory in red and the trajectory described by the quadrotor in blue. In
Figure 12b, we can see the trajectory control over the time.
For the sake of conciseness, only the performance metrics are reported for the trajectory-tracking case, since the qualitative behavior of the estimation errors and parameter convergence closely follows the same trends already illustrated in detail for the position control case.
is employed to quantitatively evaluate the performance of both algorithms during trajectory tracking, with the results summarized in
Table 4. In this case, the CLOE-SM algorithm achieves a notably lower
value of
compared to
obtained by CLOE, representing an improvement of approximately
. This result further confirms that the sliding-mode correction term incorporated in CLOE-SM effectively drives the estimation error toward zero at a faster rate, outperforming CLOE both in terms of convergence speed and accumulated estimation error throughout the simulation.
Table 5 summarizes the ITAE metric for the trajectory-inference case. The CLOE-SM algorithm demonstrates superior performance across all subsystems. For the position subsystem, CLOE-SM achieves an ITAE value of
compared to
for CLOE, representing an improvement of approximately
. For the velocity subsystem, CLOE-SM yields a value of
compared to
obtained by CLOE, corresponding to an improvement of approximately
. The Euler angles subsystem also shows a modest improvement, with CLOE-SM reducing the ITAE value from
to
, a reduction of approximately
. Finally, for the angular rates subsystem, CLOE-SM achieves a value of
compared to
for CLOE, representing an improvement of approximately
. These results consistently confirm that the sliding-mode correction term incorporated in CLOE-SM contributes to a faster convergence of the inference error across all subsystems throughout the trajectory tracking simulation, with the most notable improvement observed in the position subsystem.
Based on the performance metrics, namely the RMSE and the ITAE, as well as the qualitative assessment of the parameter convergence plots, both proposed schemes demonstrate a progressive reduction in tracking error and parameter convergence over time, with the CLOE-SM approach exhibiting superior performance in terms of estimation accuracy and convergence speed. These results are consistent with the theoretical guarantees established in Theorems 1 and 2, where the uniform ultimate boundedness of the estimation error is formally proven, and further confirm that a careful selection of the sliding-mode gains, following the channel-wise dominance condition derived therein, effectively mitigates the chattering effect while preserving the improved convergence performance of the CLOE-SM scheme.
It is worth noting that, beyond the deterministic disturbances defined in
Section 3, the CoppeliaSim physics engine (Bullet Physics 2.78) introduces an additional, implicit source of non-deterministic-like uncertainty: propeller thrust is generated through a particle-based air-flow model, in which the position, direction, and velocity of the simulated air particles are subject to pseudo-random disturbances, thereby inducing a small-amplitude stochastic fluctuation in the commanded thrust. Nevertheless, the proposed trajectory-inference scheme remains robust to bounded disturbances irrespective of their deterministic or stochastic origin, since the inference design relies solely on the disturbance bound rather than its specific nature. Consistent with this, the inference tracking error metrics reported throughout this section indicate that neither the tracking behavior of the unknown system nor the trajectory inference are noticeably affected by this additional source of disturbance, thereby supporting the robustness of the proposed scheme under realistic, non-idealized simulation conditions.
7. Conclusions
This manuscript introduces the CLOE-SM algorithm for trajectory inference of quadrotor UAVs, which incorporates a high-order sliding-mode observer to enhance the robustness of the estimation scheme. The proposed algorithm is evaluated and compared against the CLOE algorithm under position regulation and trajectory-following scenarios, with all simulations carried out in the CoppeliaSim robotics environment. Both algorithms achieved convergence of the estimation errors to small bounded values, with CLOE-SM attaining finite-time convergence due to the integration of sliding-mode correction terms. Regarding parameter estimation, both algorithms converged to stable values, sufficient to ensure precise state estimation throughout the experiments.
In terms of estimation performance, both the RMSE and ITAE metrics consistently indicate that the CLOE-SM algorithm outperforms CLOE in both evaluated scenarios. Overall, these results demonstrate that the sliding-mode correction term effectively enhances the convergence behavior of the inference error, consolidating CLOE-SM as a robust alternative for trajectory inference of quadrotor UAVs under both position regulation and trajectory tracking conditions.
Future work will address the trajectory-inference problem considering only partial state measurements. Furthermore, the robustness of the proposed CLOE-based framework will be further investigated under more complex disturbance scenarios, and the methodology will be validated through real flight experiments on a physical quadrotor platform.