In recent years, quadrotor drones have emerged as pivotal platforms in both military and civilian domains, owing to their exceptional maneuverability, vertical take-off and landing capabilities, and stable hovering performance. As a quadrotor drone operates, it faces significant control challenges due to its underactuated nature, nonlinear dynamics, strong couplings, and susceptibility to external disturbances. Traditional control methods, such as PID or linear quadratic regulator (LQR) controls, often fall short in handling these complexities, especially when the quadrotor drone is subjected to constant or time-varying disturbances like wind gusts. This article delves into an advanced control strategy that integrates backstepping control with radial basis function (RBF) neural network adaptation to enhance the robustness and anti-interference performance of quadrotor drone systems. Through a first-person perspective, I will explore the dynamics modeling, controller design, stability analysis, and simulation validation, emphasizing the superiority of the proposed method in mitigating disturbances. The quadrotor drone’s control problem is multifaceted, and this work aims to provide a detailed framework for achieving precise trajectory tracking and attitude stabilization even in adverse conditions.

The quadrotor drone is an underactuated system with six degrees of freedom (position and orientation) but only four control inputs (motor thrusts). This inherent characteristic necessitates sophisticated control approaches to manage its nonlinear behavior. The dynamics of a quadrotor drone can be derived using the Newton-Euler formalism, assuming the drone is a rigid body with constant mass and inertia, and that its center of gravity coincides with its geometric center. Let the earth-fixed frame be denoted by \(O_E – X_E Y_E Z_E\) and the body-fixed frame by \(O_B – X_B Y_B Z_B\). The position of the quadrotor drone is described by the coordinates \([x, y, z]^T\), and its orientation by the Euler angles \([\phi, \theta, \psi]^T\), representing roll, pitch, and yaw, respectively. The simplified dynamical model, considering external disturbances, is given by:
$$
\begin{aligned}
\ddot{x} &= (\cos\phi \sin\theta \cos\psi + \sin\phi \sin\psi) \frac{U_1}{m} + \Delta_1, \\
\ddot{y} &= (\cos\phi \sin\theta \sin\psi – \sin\phi \cos\psi) \frac{U_1}{m} + \Delta_2, \\
\ddot{z} &= (\cos\phi \cos\theta) \frac{U_1}{m} – g + \Delta_3, \\
\ddot{\phi} &= \frac{l U_2}{I_X} + \dot{\theta} \dot{\psi} \frac{I_Y – I_Z}{I_X} – \frac{J_r \dot{\theta} \Omega_r}{I_X}, \\
\ddot{\theta} &= \frac{l U_3}{I_Y} + \dot{\phi} \dot{\psi} \frac{I_Z – I_X}{I_Y} – \frac{J_r \dot{\phi} \Omega_r}{I_Y}, \\
\ddot{\psi} &= \frac{U_4}{I_Z} + \dot{\phi} \dot{\theta} \frac{I_X – I_Y}{I_Z},
\end{aligned}
$$
where \(m\) is the mass, \(I_X, I_Y, I_Z\) are the moments of inertia, \(l\) is the arm length from the center to each motor, \(g\) is gravitational acceleration, \(J_r\) is the rotor inertia, \(\Omega_r = \Omega_1 – \Omega_2 + \Omega_3 – \Omega_4\) is the overall rotor speed difference, and \(\Delta_i = f_i / m\) (for \(i=1,2,3\)) represent external disturbances such as wind forces \(f_i\). The control inputs \([U_1, U_2, U_3, U_4]^T\) are related to the motor speeds \(\Omega_i\) (for \(i=1,2,3,4\)) by:
$$
\begin{bmatrix}
U_1 \\
U_2 \\
U_3 \\
U_4
\end{bmatrix}
=
\begin{bmatrix}
b & b & b & b \\
0 & -lb & 0 & lb \\
-lb & 0 & lb & 0 \\
-d & d & -d & d
\end{bmatrix}
\begin{bmatrix}
\Omega_1^2 \\
\Omega_2^2 \\
\Omega_3^2 \\
\Omega_4^2
\end{bmatrix},
$$
with \(b\) and \(d\) being thrust and drag coefficients, respectively. This model captures the essential nonlinearities and couplings inherent in a quadrotor drone, setting the stage for controller design.
To address the control challenges, I adopt a dual-loop strategy: an outer loop for position control and an inner loop for attitude control. The position controller generates the total thrust \(U_1\) and virtual control inputs \(u_x\) and \(u_y\), which are then used to compute desired roll and pitch angles \(\phi_d\) and \(\theta_d\) via inversion. The attitude controller subsequently produces the torque inputs \(U_2, U_3, U_4\) to track these desired angles. This hierarchical approach simplifies the control design for the quadrotor drone by decoupling the position and orientation dynamics.
In the absence of disturbances, traditional backstepping control offers a recursive method to stabilize the quadrotor drone system. Consider the height subsystem as an example, with state variables \(x_5 = z\) and \(x_6 = \dot{z}\). The dynamics are:
$$
\dot{X}_z =
\begin{bmatrix}
x_6 \\
-g + (\cos x_7 \cos x_9) \frac{U_1}{m}
\end{bmatrix},
$$
where \(X_z = [x_5, x_6]^T\). Defining the height tracking error as \(z_1 = z_d – x_5\), with desired height \(z_d = x_{5d}\), and a virtual control \(x_6^v = \dot{z}_d + \alpha_1 z_1\), the error dynamics can be stabilized by choosing the control law:
$$
U_1 = \left[ \ddot{z}_d + g + z_1 – \alpha_1 (\alpha_1 z_1 + z_2) – \alpha_2 z_2 \right] \frac{m}{\cos x_7 \cos x_9},
$$
where \(z_2 = x_6 – x_6^v\) is the velocity tracking error, and \(\alpha_1, \alpha_2 > 0\) are tunable gains. A Lyapunov function \(V(z_1, z_2) = \frac{1}{2} z_1^2 + \frac{1}{2} z_2^2\) ensures stability with \(\dot{V} = -\alpha_1 z_1^2 – \alpha_2 z_2^2 < 0\). Similarly, controllers for attitude and horizontal position can be derived, as summarized in the table below for key control laws.
| Control Input | Expression | Parameters |
|---|---|---|
| \(U_1\) (Height) | \(\left[ \ddot{z}_d + g + z_1 – \alpha_1 (\alpha_1 z_1 + z_2) – \alpha_2 z_2 \right] \frac{m}{\cos \phi \cos \theta}\) | \(\alpha_1, \alpha_2 > 0\) |
| \(U_2\) (Roll) | \(\left[ z_3 – a_1 x_{10} x_{12} + a_2 \Omega_r x_{10} – \alpha_3 (\alpha_3 z_3 + z_4) – \alpha_4 z_4 \right] / b_1\) | \(\alpha_3, \alpha_4 > 0\) |
| \(U_3\) (Pitch) | \(\left[ z_5 – a_3 x_8 x_{12} + a_4 \Omega_r x_8 – \alpha_5 (\alpha_5 z_5 + z_6) – \alpha_6 z_6 \right] / b_2\) | \(\alpha_5, \alpha_6 > 0\) |
| \(U_4\) (Yaw) | \(\left[ z_7 – a_5 x_8 x_{10} – \alpha_7 (\alpha_7 z_7 + z_8) – \alpha_8 z_8 \right] / b_3\) | \(\alpha_7, \alpha_8 > 0\) |
| \(u_x\) (Virtual X) | \(m \left[ z_9 – \alpha_9 (\alpha_9 z_9 + z_{10}) – \alpha_{10} z_{10} \right] / U_1\) | \(\alpha_9, \alpha_{10} > 0\) |
| \(u_y\) (Virtual Y) | \(m \left[ z_{11} – \alpha_{11} (\alpha_{11} z_{11} + z_{12}) – \alpha_{12} z_{12} \right] / U_1\) | \(\alpha_{11}, \alpha_{12} > 0\) |
However, when external disturbances \(\Delta_i\) are present, the backstepping controller alone fails to achieve accurate tracking, as it lacks inherent disturbance rejection capabilities. To overcome this, I integrate an RBF neural network into the backstepping framework for adaptive disturbance estimation and compensation. The RBF network approximates the unknown disturbance function \(f(x)\) using Gaussian basis functions:
$$
h_j = \exp\left( \frac{\| x – c_j \|^2}{2 b_j^2} \right), \quad \text{for } j = 1, 2, \dots, N,
$$
where \(x\) is the input vector (e.g., tracking errors), \(c_j\) and \(b_j\) are the center and width of the \(j\)-th node, and \(N\) is the number of hidden nodes. The disturbance approximation is given by:
$$
f(x) = W^{*T} h(x) + \epsilon,
$$
with \(W^*\) as the ideal weight vector, \(h(x) = [h_1, h_2, \dots, h_N]^T\), and \(\epsilon\) as the bounded approximation error. In practice, the ideal weights are unknown, so an estimate \(\hat{W}\) is used, leading to the approximated disturbance \(\hat{f}(x) = \hat{W}^T h(x)\).
For the height subsystem with disturbance \(\Delta_3 = f(x)\), the modified control law becomes:
$$
U_1 = \left[ \ddot{z}_d + g + z_1 – \alpha_1 (\alpha_1 z_1 + z_2) – \alpha_2 z_2 – \hat{f}(x) \right] \frac{m}{\cos \phi \cos \theta}.
$$
To update the RBF network weights online, I design an adaptive law based on Lyapunov stability theory. Consider the Lyapunov function candidate for the quadrotor drone height control:
$$
V = \frac{1}{2} z_1^2 + \frac{1}{2} z_2^2 + \frac{1}{2\gamma} \tilde{W}^T \tilde{W},
$$
where \(\tilde{W} = \hat{W} – W^*\) is the weight estimation error, and \(\gamma > 0\) is a learning rate. Taking the time derivative and substituting the control law yields:
$$
\dot{V} = -\alpha_1 z_1^2 – \alpha_2 z_2^2 + z_2 \left( f(x) – \hat{f}(x) \right) + \frac{1}{\gamma} \tilde{W}^T \dot{\hat{W}}.
$$
Using the approximation error \(f(x) – \hat{f}(x) = -\tilde{W}^T h(x) + \epsilon\), and choosing the adaptive law:
$$
\dot{\hat{W}} = \gamma z_2 h(x),
$$
results in \(\dot{V} = -\alpha_1 z_1^2 – \alpha_2 z_2^2 + z_2 \epsilon\). Since \(\epsilon\) is bounded, by properly selecting gains \(\alpha_1\) and \(\alpha_2\), the system can be rendered uniformly ultimately bounded, ensuring stability for the quadrotor drone. This approach extends to other channels, where RBF networks are deployed to estimate disturbances in \(x\), \(y\), and attitude dynamics.
The performance of the proposed backstepping RBF network adaptive control is validated through simulation experiments in MATLAB/Simulink. The quadrotor drone parameters are set as: \(m = 0.5 \, \text{kg}\), \(I_X = 0.006 \, \text{kg·m}^2\), \(I_Y = 0.006 \, \text{kg·m}^2\), \(I_Z = 0.012 \, \text{kg·m}^2\), \(b = 3.13 \times 10^{-5} \, \text{N·s}^2\), \(d = 7.5 \times 10^{-7} \, \text{N·m·s}^2\), \(J_r = 5 \times 10^{-5} \, \text{kg·m}^2\), \(l = 0.3 \, \text{m}\), and \(g = 9.8 \, \text{m/s}^2\). The control gains are tuned for optimal response, with \(\alpha_i\) values ranging from 1 to 5, and the RBF network uses 5 hidden nodes with centers evenly spaced in the error domain.
First, in disturbance-free scenarios, the traditional backstepping control achieves precise tracking for both attitude and position. For instance, with initial conditions \(\phi = 0.5 \, \text{rad}\), \(\theta = 0.5 \, \text{rad}\), \(\psi = 0.5 \, \text{rad}\), and desired angles zero, the quadrotor drone stabilizes within 2 seconds without overshoot. Similarly, for position control from \([2, 2, 5] \, \text{m}\) to \([0, 0, 7] \, \text{m}\), the response is smooth and accurate, confirming the efficacy of backstepping for nominal quadrotor drone operation.
However, under external disturbances, the limitations of traditional backstepping become apparent. When constant wind forces \(f = 2 \, \text{N}\) are applied along \(x\), \(y\), and \(z\) axes from \(t = 0 \, \text{s}\), the backstepping controller exhibits steady-state errors up to 0.5 m in position, failing to reach the desired setpoints. In contrast, the backstepping RBF network adaptive controller compensates for these disturbances, reducing steady-state errors to below 0.1 m and achieving convergence within 3 seconds. This demonstrates the enhanced robustness of the adaptive approach for quadrotor drone control.
For time-varying disturbances, such as \(f = 0.5 \sin(t) \, \text{N}\), the backstepping controller shows oscillatory tracking with amplitude variations of 0.3 m, while the proposed method attenuates these oscillations to less than 0.1 m, maintaining tighter control over the quadrotor drone trajectory. The RBF network’s ability to adapt to changing disturbance patterns is key to this improvement. The following table summarizes the simulation results under different disturbance conditions, highlighting the superiority of the backstepping RBF network adaptive control for quadrotor drone applications.
| Disturbance Type | Control Method | Settling Time (s) | Steady-State Error (m) | Oscillation Amplitude (m) |
|---|---|---|---|---|
| None | Backstepping | 2.0 | 0.01 | 0.00 |
| None | Backstepping RBF Adaptive | 2.1 | 0.01 | 0.00 |
| Constant (\(2 \, \text{N}\)) | Backstepping | >10 | 0.50 | 0.05 |
| Constant (\(2 \, \text{N}\)) | Backstepping RBF Adaptive | 3.0 | 0.05 | 0.02 |
| Time-Varying (\(0.5 \sin(t) \, \text{N}\)) | Backstepping | >10 | 0.20 | 0.30 |
| Time-Varying (\(0.5 \sin(t) \, \text{N}\)) | Backstepping RBF Adaptive | 4.0 | 0.08 | 0.10 |
The stability analysis, based on Lyapunov theory, proves that the closed-loop system with the backstepping RBF network adaptive controller is uniformly ultimately bounded. The adaptive law ensures that the weight estimates converge to a neighborhood of their ideal values, minimizing the approximation error and enhancing disturbance rejection. This theoretical guarantee is crucial for real-world deployment of quadrotor drones in unpredictable environments.
In conclusion, the integration of RBF neural network adaptation into backstepping control offers a robust solution for quadrotor drone systems facing external disturbances. The proposed method leverages the recursive design of backstepping for nonlinear stabilization while employing RBF networks to estimate and compensate for unknown disturbances, whether constant or time-varying. Simulation results validate its effectiveness, showing reduced settling times, smaller errors, and improved anti-interference performance compared to traditional backstepping. Future work may explore real-time implementation on hardware, extension to swarm coordination, or incorporation of other adaptive techniques like fuzzy logic. Ultimately, this approach advances the autonomy and reliability of quadrotor drones, enabling their use in demanding applications such as surveillance, delivery, and environmental monitoring.
