基于线性单级倒立摆的LQR和NMPC控制方法对比研究
Comparison Study of LQR and NMPC Control Methods Based on Linear Single-Stage
DOI: 10.12677/mos.2024.136531, PDF,   
作者: 邵红福:上海理工大学机械工程学院,上海;杨 坤:西安西电高压开关操动机构有限责任公司,陕西 西安
关键词: LQRNMPC拉格朗日方程对比实验LQR NMPC Lagrange Equation Comparative Experiment
摘要: 针对目前欠驱动系统较成熟的控制方法对比缺乏的问题,研究线性单级倒立摆系统在全状态反馈控制下,采用线性二次型调节器(LQR)与非线性模型预测控制(NMPC)两种控制策略的效果。通过对比这两种控制方法的动态性能,评估它们在线性单级倒立摆系统中的适用性。首先,通过拉格朗日方程推导出系统的非线性数学模型,并进一步通过线性化理论假设得到系统的线性化数学模型。随后对其进行了稳定性、可控性和可观性分析。基于这些分析,设计了LQR和NMPC控制器。最后,在Matlab/Simulink中进行联合仿真实验。通过设置相同的初始条件和加权矩阵Q与R,对仿真结果的小车位移、摆动角度、小车速度、摆动角速度四个指标进行了对比分析。结果表明,LQR控制使小车在2.5 s内回到初始位置,比NMPC控制快37.5%,并且位移最大超调量减少了38.7%,从−0.3522 m降至−0.2160 m。同时,LQR控制还缩短了摆杆达到竖直状态的时间至2.5 s,比NMPC快28.6%,且摆杆角度的最大超调量从NMPC的−0.2381 rad减少至−0.1050 rad,降低了56%。结论指出,对于线性化后的单级倒立摆系统,LQR比NMPC更具优势,提供了更高效的控制效果,对以后欠驱动系统的控制具有一定的参考价值。
Abstract: To address the current lack of comparison between mature control methods for underactuated systems, this study investigates the performance of Linear Quadratic Regulator (LQR) and Nonlinear Model Predictive Control (NMPC) for a linear single-stage inverted pendulum system under full state feedback control. By comparing the dynamic performance of these two control strategies, the study evaluates their applicability to the linear single-stage inverted pendulum system. First, the nonlinear mathematical model of the system is derived using the Lagrangian method, and subsequently, the system’s linearized mathematical model is obtained through linearization theory. Stability, controllability, and observability analyses are then conducted. Based on these analyses, LQR and NMPC controllers are designed. Finally, joint simulation experiments are conducted using Matlab/Simulink. With the same initial conditions and weighting matrices Q and R, the simulation results for the cart displacement, pendulum angle, cart velocity, and angular velocity are compared. The results indicate that LQR control returns the cart to its initial position within 2.5 seconds, which is 37.5% faster than NMPC control. Additionally, the maximum displacement overshoot is reduced by 38.7%, from −0.3522 meters to −0.2160 meters. LQR control also shortens the time required for the pendulum to reach the vertical state to 2.5 seconds, which is 28.6% faster than NMPC, and reduces the maximum pendulum angle overshoot from −0.2381 radians to −0.1050 radians, a decrease of 56%. The conclusion highlights that, for the linearized single-stage inverted pendulum system, LQR provides more efficient control compared to NMPC, offering valuable insights for the control of underactuated systems in the future.
文章引用:邵红福, 杨坤. 基于线性单级倒立摆的LQR和NMPC控制方法对比研究[J]. 建模与仿真, 2024, 13(6): 5826-5835. https://doi.org/10.12677/mos.2024.136531

参考文献

[1] 么洪飞, 陆仲达, 徐凤霞. 基于最优控制LQR的单级倒立摆系统仿真研究[J]. 齐齐哈尔大学学报(自然科学版), 2011, 27(4): 34-37.
[2] 张慧慧, 侯伯杰, 高建设, 等. 基于LQR对直线倒立摆的稳摆控制研究及实现[J]. 机械设计与制造, 2024, 395(1): 186-190.
[3] 刘惠超, 孔庆忠. 最优控制方法在直线倒立摆中的应用[J]. 机械制造与自动化, 2015, 44(5): 189-191.
[4] 刘惠超, 孔庆忠. 基于matlab的倒立摆LQR控制方法的研究[J]. 机械工程与自动化, 2014(4): 166-168, 171.
[5] 李艳杰, 佟福奇. 单级倒立摆系统的仿真分析[J]. 上海电气技术, 2021, 14(1): 44-50.
[6] 薛军伟. 基于matlab的单级倒立摆系统仿真研究[J]. 现代工业经济和信息化, 2024, 14(7): 82-84.
[7] 杨世勇, 刘殿通, 谭翚. 倒立摆与控制理论研究[J]. 自动化技术与应用, 2011, 30(5): 1-3, 11.
[8] 刘满禄, 韩帅, 张俊俊, 等. 基于两轮自平衡小车的h_∞和LQR控制方法对比研究[J]. 机械设计与制造, 2019(5): 245-248.
[9] 王仲民, 孙建军, 岳宏. 基于LQR的倒立摆最优控制系统研究[J]. 工业仪表与自动化装置, 2005(3): 6-8, 32.
[10] 刘凯, 李浩然, 许述财, 等. 自主车辆前馈NMPC路径跟踪控制方法研究[J]. 重庆理工大学学报(自然科学), 2024, 38(9): 18-29.