Abstract:To address the issues of suboptimal control and poor anti-disturbance performance in quadrotor UAVs under external disturbances, this study designs a sliding mode active disturbance rejection attitude controller and optimizes its parameters using an Improved Particle Swarm Optimization (GPSO) algorithm. First, sliding mode control (SMC) replaces the Nonlinear Error Feedback Control (NLSEF) module in traditional Active Disturbance Rejection Control (ADRC), simplifying the structure of the attitude controller. Second, an enhanced GPSO algorithm incorporating Good Point Set optimization and a golden sine operator is proposed to significantly improve search precision and convergence speed. Simulation results demonstrate that compared to classical ADRC and its parameter optimization methods, the proposed scheme achieves attitude angle tracking errors below 5% under external disturbances and markedly enhances tracking accuracy in planar flight.