This paper presents a comprehensive framework for offline optimization of tuning parameters in unmanned aerial vehicle (UAV) flight controllers. The framework uses system identification to create a simplified flight dynamics model, followed by control law matching to ensure the simulated controller's output closely replicates real-world autopilot commands. The optimization phase employs genetic algorithms to tune parameters based on a defined cost function that incorporates performance requirements. Each stage, from flight dynamics model development to optimization, is validated to ensure enhanced controller performance. Finally, real-world flight tests confirm the effectiveness of the optimized controller, demonstrating the validity of the proposed framework for autopilot tuning optimization.
Read full abstract