Abstract
Accurate trajectory tracking of quadrotor UAVs remains challenging due to highly nonlinear dynamics, model uncertainties, and time-varying external disturbances, which make it difficult to achieve both precise position tracking and stable attitude regulation under control constraints. To tackle these coupled problems, this paper develops a hierarchical control framework in which the outer-loop particle swarm optimization (PSO)-compensated model predictive controller (PSMC) adaptively mitigates prediction errors and enhances robustness, while the inner-loop enhanced linear quadratic regulator (LQR), augmented with gain scheduling and control-rate relaxation, accelerates attitude convergence and ensures smooth control actions under varying flight conditions. A Lyapunov-based stability analysis is conducted to ensure closed-loop convergence. Simulation results on a helical reference trajectory show that, compared with the conventional MPC-LQR baseline, the proposed framework reduces the mean tracking errors by more than 13.2%, 17.1%, and 28% in the x-, y-, and z-directions under calm conditions, and by more than 34%, 26.2%, and 46.8% under wind disturbances. These results prove that the proposed hierarchical PSMC-LQR framework achieves superior trajectory tracking accuracy, strong robustness, and high practical implement ability for quadrotor control applications.