| 引用本文: | 黄鹤,李文龙,杨澜,王会峰,高涛,陈婷.ICPA-LQR优化的两轮平衡机器人自稳定与轨迹跟踪PID控制器设计[J].哈尔滨工业大学学报,2026,58(2):198.DOI:10.11918/202205125 |
| HUANG He,LI Wenlong,YANG Lan,WANG Huifeng,GAO Tao,CHEN Ting.Design of PID controller for self-stability and trajectory tracking of two-wheeled balance robot with ICPA-LQR[J].Journal of Harbin Institute of Technology,2026,58(2):198.DOI:10.11918/202205125 |
|
| |
|
|
| 本文已被:浏览 349次 下载 140次 |
 码上扫一扫! |
|
|
| ICPA-LQR优化的两轮平衡机器人自稳定与轨迹跟踪PID控制器设计 |
|
黄鹤1,2,李文龙1,2,杨澜1,王会峰1,高涛1,陈婷1
|
|
(1.长安大学 电子与控制工程学院,西安 710064; 2.西安市智慧高速公路信息融合与控制重点实验室,西安 710064)
|
|
| 摘要: |
| 针对现有两轮平衡机器人线性二次型调节器(LQR)的权重系数需要手动选取的缺陷,提出了一种利用改进的食肉植物算法(ICPA)优化LQR权重系数的方法,实现了两轮平衡机器人的自稳定与高精度轨迹跟踪。首先,利用拉格朗日方程法构建了两轮平衡机器人系统动力学方程,采用LQR优化PID控制策略保证其最优控制力;其次,在食肉植物算法(CPA)成长过程中引入自适应捕捉系数,平衡食肉植物和猎物的成长关系,提升了前期全局探索和后期局部寻优能力;然后,在CPA繁殖过程中设计干扰因子,扩大搜索空间,进一步提升全局寻优能力;最后,基于EA代价函数,利用ICPA 对LQR控制器的权重系数进行寻优,并在MATLAB/Simulink环境中建立两轮平衡机器人控制策略模型。实验结果表明,提出的ICPA-LQR优化的PID控制器,相较于食肉植物算法、麻雀搜索算法、飞蛾扑火算法和改进粒子群算法优化的控制器,动态响应速度更快、抗干扰能力更强、整体性能更好。在扰动情况下,控制两轮平衡机器人跟踪复杂轨迹时,倾角动态偏差小于0.05 rad、横纵坐标的偏差均小于0.2 m、转向角偏差小于0.2 rad、车轮位置角偏差小于3 rad,可以在保持动态平衡的前提下精确跟踪给定的参考轨迹,具有较强的泛化能力。 |
| 关键词: 控制器设计 两轮平衡机器人 动力学建模 改进食肉植物算法 轨迹跟踪 |
| DOI:10.11918/202205125 |
| 分类号:TP301.6 |
| 文献标识码:A |
| 基金项目:国家重点研发计划项目(2021YFB2501200);国家自然科学基金面上项目(6,4);陕西省重点研发计划项目(2021SF-483);陕西省博士后科研项目(2018BSHYDZZ64);西安市智慧高速公路信息融合与控制重点实验室(长安大学)开放基金项目(300102321502);中央高校基本科研业务费资助项目(300102325501) |
|
| Design of PID controller for self-stability and trajectory tracking of two-wheeled balance robot with ICPA-LQR |
|
HUANG He1,2,LI Wenlong1,2,YANG Lan1,WANG Huifeng1,GAO Tao1,CHEN Ting1
|
|
(1.School of Electronics and Control Engineering Chang′an University, Xi′an 710064, China; 2.Xi′an Key Laboratory of Intelligent Expressway Information Fusion and Control, Xi′an 710064, China)
|
| Abstract: |
| Aiming at the defects that the weight coefficients of linear quadratic regulator (LQR) of two-wheeled balance robot needs to be manually selected, an improved carnivorous plant algorithm (ICPA) is used to optimize the LQR weight coefficients, which realizes the self-stability and high-precision trajectory tracking of two-wheeled balance robot. Firstly, the dynamic equations of the balance robot system is constructed by Lagrange equation method, and the LQR optimization PID control strategy is used to ensure the optimal control force. Secondly, an adaptive capture coefficient is proposed in the growth process of carnivorous plant algorithm, which balances the growth of carnivorous plants and preys, and improves the ability of global exploration in the early stage and local optimization in the later stage. Then, the interference factor is designed in the reproduction process of carnivorous plant algorithm to expand the search space and further improve the global optimization ability. Finally, based on EA cost function, the weight coefficients of LQR controller is optimized by ICPA, and the control strategy model of two-wheeled balanced robot is established in MATLAB/Simulink environment. The experimental results show that the PID controller optimized by the proposed ICPA-LQR optimized PID controller has faster dynamic response speed, stronger anti-interference ability and better overall performance than the control effect optimized by the carnivorous plant algorithm, sparrow search algorithm, moth fire extinguishing algorithm and improved particle swarm optimization algorithm. Under disturbance, the dynamic deviation of the control two-wheeled balance robot tracking complex trajectory dip angle is less than 0.05 rad, the deviations of the horizontal and vertical coordinates is less than 0.2 m, the deviation of the steering angle is less than 0.2 rad, and the deviation of the wheel position angle is less than 3 rad, which can accurately track the given reference trajectory under the premise of maintaining dynamic balance, behaving strong generalization ability. |
| Key words: controller design two-wheeled balance robot dynamic modeling ICPA trajectory tracking |
|
|
|
|