基于改进遗传算法的四旋翼无人机PID控制参数整定
2023-08-01陈俊东



摘 要:四旋翼无人机是一种多输入、多变量、强耦合、欠驱动的复杂系统,对控制算法要求高,而PID控制参数在实际整定中难以达到最优。因此,提出一种基于改进遗传算法的PID控制参数整定方法,通过引入LHS初始化种群、最优个体保留、自适应动态交叉与变异等组合改进策略,使遗传算法易陷入局部最优、搜索效率偏低的问题得以改善,利用其对四旋翼无人机姿态控制系统PID参数进行优化整定,结果表明,该方法能大幅提高四旋翼无人机姿态控制系统的动态性能。
关键词:四旋翼无人机;遗传算法;PID参数整定
中图分类号:TP311 文献标识码:A 文章编号:2096-4706(2023)11-0175-04
PID Control Parameter Tuning for Quadrotor UAV Based on Improved Genetic Algorithm
CHEN Jundong
(China Helicopter Research and Development Institute, Jingdezhen 333000, China)
Abstract: Quadrotor UAV is a complex system with multi-input, multi-variable, strong coupling and underdrive, which has high requirements for control algorithms, and PID control parameters are difficult to achieve the optimal in actual tuning. Therefore, this paper proposes a PID control parameter tuning method based on improved Genetic Algorithm (GA), which improves the problems of local optimization and low search efficiency in GA by introducing LHS initialized population, optimal individual retention, adaptive dynamic crossover and mutation, and other combination improvement strategies. This paper uses it for optimization and tuning of quadrotor UAV attitude control system PID parameters, and the results show that this method can greatly improve the dynamic performance of quadrotor UAV attitude control system.
Keywords: quadrotor UAV; Genetic Algorithm; PID parameter tuning
0 引 言
四旋翼無人机作为最为常见的无人直升机构型之一,具有结构简单、机动性强等特点,现已广泛应用于航拍、抢险救灾、军事侦察、农业植保等军民领域[1]。而作为一种典型的多输入、多变量、强耦合、欠驱动的复杂系统,其对控制算法在控制精度、抗干扰能力、鲁棒性等方面均具有较高的要求。串级PID控制算法由传统PID算法演进而来,在姿态控制中增加角速度反馈,能有效提高算法的抗干扰能力,是目前四旋翼无人机主流控制算法之一[2]。然而,在实际设计PID控制器过程,PID控制参数整定往往对经验依赖程度高,难以保证最佳控制效果。
遗传算法具有强大的全局搜索能力以及对复杂问题的适应性,已发展为一种实用、高效、鲁棒性强的优化技术,被广泛应用于控制器设计和优化中。比如,童春月等[3]利用遗传算法进行控制参数优化,实现双旋翼多输入多输出系统PID控制设计;……
