Pure Mathematics
Vol. 13  No. 08 ( 2023 ), Article ID: 70355 , 6 pages
10.12677/PM.2023.138238

基于双积分系统轮式倒立摆的 鲁棒复合控制

刘志民

上海出版印刷高等专科学校基础教学部,上海

收稿日期:2023年6月30日;录用日期:2023年7月31日;发布日期:2023年8月7日

摘要

本文研究了轮式倒立摆车轮位置和摆角的复合鲁棒控制方法。所提出的控制算法是时变滑模控制,精度高,抗干扰效果较好,可以消除抖振现象,获得更好的稳定性和跟踪性能。利用拉格朗日和牛顿力学方法推导了倒立摆的非线性动力学模型。利用李雅普诺夫定理证明了该控制方案的收敛性和稳定性。仿真结果表明,所提出的控制方案在消除抖振现象、抑制噪声方面具有良好的性能,可以提高系统的稳定性和缩短响应时间。

关键词

双积分,轮式倒立摆,鲁棒控制

Robust Compound Control for Wheeled Inverted Pendulum Based on Double Integrater System

Zhimin Liu

Basic Teaching Department, Shanghai Publishing and Printing College, Shanghai

Received: Jun. 30th, 2023; accepted: Jul. 31st, 2023; published: Aug. 7th, 2023

ABSTRACT

This paper studies the compound robust control method of wheel position and swing angle of wheel inverted pendulum. The proposed control algorithm is time-varying sliding mode control with high accuracy and good anti-interference effect, which can eliminate chattering and obtain better stability and tracking performance. The nonlinear dynamic model of inverted pendulum is derived by using Lagrange and Newton mechanics methods. The convergence and stability of the control scheme are proved by using Lyapunov theorem. The simulation results show that the proposed control scheme has good performance in eliminating chattering and suppressing noise, and can improve the stability of the system and shorten the response time.

Keywords:Double Integral System, Wheel Inverted Pendulum, Robust Compound Control

Copyright © 2023 by author(s) and Hans Publishers Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

1. 引言

倒立摆系统是一种典型的机械控制系统,用于处理、研究和演示稳定性和控制理论的各个方面。经典倒立摆家族中一个相对较新的成员是轮式倒立摆,它在机器人领域有许多重要的应用,例如独轮车、Segway、JOE和PMP平台 [1] [2] [3] [4] 。这类系统的分析控制设计是一个难题,因为这种系统存在各种内在不确定性、具有高度非线性性、多数为欠驱动系统等。尽管控制这种系统有许多困难,但很多学者已对此进行了研究。

在过去的研究中,对轮式倒立摆的控制主要集中在三个方面,稳定性控制 [5] [6] ,跟踪控制 [7] ,以及摆动控制 [8] [9] [10] 。基于动力学线性化的小扰动理论,已经设计了许多线性控制器来稳定直立不稳定状态下的摆。虽然这样的控制器是可靠的,例如PID控制器,但这种方法的有效范围通常很小,并且这些技术在存在显著的参数不确定性或外部干扰的情况下通常是不够的。

为了克服线性控制器的缺点,一些研究人员提出了若干非线性控制方案。例如,文 [11] [12] 中提出了基于积分反推控制器的WIP自适应控制,以稳定摆角,文 [13] 中利用PD型正反馈控制车轮角度。仿真结果显示了良好的性能,即使出现了相当大的超调,也可达到控制目的。

目前基于滑模面控制(SMC)的方法已成为处理不确定系统的有效方法,因此基于SMC的许多研究已被考虑用于控制倒立摆系统,文 [14] 的作者利用了积分滑模控制(ISMC)来处理移动机器人内在建模不确定性的控制,然而,该算法是基于线性化模型开发的,线性化模型隐含地意味着小的操作区域。文 [15] 中提出了非线性控制策略,包括线性二次调节器(LQR)控制和三种SMC控制方法。仿真结果表明,SMC控制方法在减少抖振方面具有优势。本文对SMC方法进行了改进,提出了基于双积分系统的SMC鲁棒控制技术,在减小抖振的同时具有更快的响应时间。

2. 问题描述

图1所示,轮式倒立摆可以看作是由小车和均匀的杆组成的系统,其中M代表小车的质量,m代表摆杆的质量,l代表摆杆质心到转动轴心的距离, θ 代表摆杆与竖直方向的夹角。x代表小车的位置,u代表控制输入。

如图所示,令 x 1 = x , x 2 = x ˙ 1 , x 3 = θ , x 4 = θ ˙ ,则对小车进行受力分析,有

Figure 1. Schematic diagram of the structure of the inverted pendulum trolley

图1. 倒立摆小车结构示意图

{ x ˙ 1 = x 2 x ˙ 2 = u x ˙ 3 = x 4 x ˙ 4 = 3 4 l g sin x 3 3 4 l g cos x 3 + u

或可以表示为如下的状态空间形式 ( x ˙ 1 x ˙ 2 x ˙ 3 x ˙ 4 ) = ( 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 ) ( x 1 x 2 x 3 x 4 ) + ( 0 0 0 3 4 l g sin x 3 ) + ( 0 1 0 3 4 l g cos x 3 ) u

3. 控制律设计

定理系统: { x ˙ 3 = x 4 x ˙ 4 = 3 4 l g sin x 3 3 4 l g cos x 3 u

在控制律

u = ( k 3 s i g n ( x 3 ) | x 3 | α 1 k 4 s i g n ( x 4 ) | x 4 | α 2 + 3 4 l g sin x 3 ) 4 l 3 g cos x 3 k 1 >0, k 2 >0,0< α 1 <1, α 2 = 2 α 1 / ( 1+ α 1 )

作用下,可以有限时间镇定。

证明 1) 首先证明系统的渐近稳定性,为此定义Lyapunov函数:

V ( x 3 , x 4 ) = k 3 | x 3 | 1 + α 1 1 + α 1 + 1 2 ( x 4 ) 2

V ( x 3 , x 4 ) 求导,有

V ˙ ( x 3 , x 4 ) = k 3 s i g n ( x 3 ) | x 3 | α 1 x 4 + x 4 ( k 3 s i g n ( x 3 ) | x 3 | α 1 k 4 s i g n ( x 4 ) | x 4 | α 2 ) = k 2 | x 4 | 1 + α 2 0

故有 V ( x 3 , x 4 ) 为非增函数,且有 0 V ( x 3 , x 4 ) V ( x 3 ( 0 ) , x 4 ( 0 ) ) V ( x 3 , x 4 ) 应有有限极限, x 3 , x 4 均为有界变量,且

V ¨ ( x 3 , x 4 ) = k 4 ( 1 + α 2 ) s i g n ( x 4 ) | x 4 | α 2

x 4 为有界量,故 V ¨ ( x 3 , x 4 ) 有界,由此可知其原函数 V ˙ ( x 3 , x 4 ) 为一致连续的,故由Barbalat (17)定理知 lim t V ˙ ( x 3 , x 4 ) = 0

V ˙ ( x 3 , x 4 ) = k 4 | x 4 | 1 + α 2

lim t x 4 = 0 故由

x ˙ 3 = x 4 x ˙ 4 = 3 4 l g sin x 3 3 4 l g cos x 3 ( k 3 s i g n ( x 3 ) | x 3 | α 1 k 4 s i g n ( x 4 ) | x 4 | α 2 + 3 4 l g sin x 3 ) 4 l 3 g cos x 3

可知 x ˙ 3 , x ˙ 4 均有界,故 x 3 , x 4 一致连续。下面说明 lim t x 3 = 0 ,为此考察函数 x 3 x 4 其导数 d ( x 3 x 4 ) d t = k 3 | x 3 | 1 + α 1 k 4 x 4 s i g n ( x 4 ) | x 4 | α 2 + x 4 2

h 1 ( t ) = k 3 | x 3 | 1 + α 1 h 2 ( t ) = k 4 x 3 s i g n ( x 4 ) | x 4 | α 2 + x 4 2

lim t x 4 = 0 ,有 h ˙ 1 ( t ) 有界,故 h 1 ( t ) 一致连续,且 lim t h 2 ( t ) = 0 。由Barbalat引理(17)及其推论,可知 lim t x 3 = 0 ,故闭环系统有渐近稳定性。

对于系统 x ˙ 1 = x 2 x ˙ 2 = u ,也可采用类似方法,即令

u = k 1 s i g n ( x 1 ) | x 1 | α 1 k 2 s i g n ( x 2 ) | x 2 | α 2

可实现系统的全局渐近稳定。证明从略。

4. 系统仿真

仿真过程中的各项参数为:g = 9.8 m/s2;M = 5.0 kg;m = 1.0 kg;l = 0.5 m;

仿真起始时刻x(0) = 0.5米;摆杆的初始角度为0.3 rad;k1 = 1,k2 = 5,k3 = 3,k4 = 5.2仿真结果如下图2~5所示。

Figure 2. Car position control diagram

图2. 小车位置控制图

Figure 3. Control diagram of swing angle

图3. 摆角控制图

Figure 4. Sliding mode surface change diagram

图4. 滑模面变化图

Figure 5. Control output diagram

图5. 控制输出图

5. 结论

本文基于双积分链式控制理论,研究了轮式倒立摆的平衡控制方法。由仿真实验可知,在所设定的初始条件下,该控制算法精度高,可以缓解抖振现象,具有较好的稳定性。控制输入的超调也比较小。应用李雅普诺夫定理证明了该控制方法的收敛性和稳定性。单摆系统是一种应用较广的机械系统,所以该控制策略也可以应用到其他机械系统。

文章引用

刘志民. 基于双积分系统轮式倒立摆的鲁棒复合控制
Robust Compound Control for Wheeled Inverted Pendulum Based on Double Integrater System[J]. 理论数学, 2023, 13(08): 2313-2318. https://doi.org/10.12677/PM.2023.138238

参考文献

  1. 1. Liang, S. and Wang, Z. (2019) Observer­Based Position Control of Uncertain Mechanical Systems with Measurement Uncertainty. International Journal of Robust and Nonlinear Control, 29, 3606­3626. https://doi.org/10.1002/rnc.4571

  2. 2. Polekhin, I. (2018) On Topological Obstructions to Global Stabilization of an Inverted Pendulum. Systems &Control Letters, 113, 31­35. https://doi.org/10.1016/j.sysconle.2018.01.005

  3. 3. Xu, Q., Stepan, G. and Wang, Z. (2001) Balancing a Wheeled Inverted Pendulum with a Single Accelerometer in the Presence of Time Delay. Journal of Vibration and Control, 23, 604­614.

  4. 4. Qi, X., Stepan, G. and Wang, Z. (2016) Delay­Dependent Stability Analysis by Using Delay­Independent Integral Evaluation. Automatica, 70, 153­157. https://doi.org/10.1016/j.automatica.2016.03.028

  5. 5. Tanner, H.G. and Kyriakopoulos, K.J. (2022) Discontinuous Backstepping for Stabilization of Nonholonomic Mobile Robots. Proceedings of 19th IEEE International Conference on Robotics Automation, Washington DC, 11-15 May 2002, 3948-3953.

  6. 6. Huang, J., Ri, S., Liu, L., et al. (2015) Nonlinear Disturbance Observer­Based Dynamic Surface Control of Mobile Wheeled Inverted Pendulum. IEEE Transactions on Control Systems Technology, 23, 2400­2407. https://doi.org/10.1109/TCST.2015.2404897

  7. 7. Shao, S.K., Zong, Q., Tian, B.L. and Wang, F. (2017) Fi-nite­Time Sliding Mode Attitude Control for Rigid Spacecraft without Angular Velocity Measurement. Journal of the Franklin Institute, 354, 4656­4674. https://doi.org/10.1016/j.jfranklin.2017.04.020

  8. 8. Zhu, Y.K., Qiao, J.Z. and Guo, L. (2019) Adaptive Sliding Mode Disturbance Observer-Based Composite Control with Prescribed Performance of Space Manipulators for Target Capturing. IEEE Transactions on Industrial Electronics, 66, 1973-1983. https://doi.org/10.1109/TIE.2018.2838065

  9. 9. 冯昱澍, 刘昆, 冯健. 航天器姿态跟踪有限时间自适应积分滑模控制[J]. 电子科技大学学报, 2021, 50(4): 527-534.

  10. 10. Borase, R.P., Maghade, D.K., Sondkar, S.Y. and Pawar, S.N. (2021) A Review of PID Control, Tuning Methods and Applications. International Journal of Dynamics and Control, 9, 818-827. https://doi.org/10.1007/s40435-020-00665-4

  11. 11. 文成馀, 江驹, 余朝军, 等. 高超声速飞行器超螺旋滑模自适应控制[J]. 电光与控制, 2020, 27(2): 1-5.

  12. 12. Shou, Y.X., Xu, B., Zhang, A.D. and Mei, T. (2021) Virtual Guidance-Based Coordinated Tracking Control of Multi-Autonomous Underwater Vehicles Using Composite Neural Learning. IEEE Transactions on Neural Networks and Learning Systems, 32, 5565-5574. https://doi.org/10.1109/TNNLS.2021.3057068

  13. 13. Liu, X., Zou, Y., Meng, Z. and You, Z. (2020) Coordinated Attitude Synchronization and Tracking Control of Multiple Spacecraft over a Communication Network with a Switching Topology. IEEE Transactions on Aerospace and Electronic Systems, 56, 1148-1162. https://doi.org/10.1109/TAES.2019.2925512

  14. 14. Du, H.B., Wen, G.H., Cheng, Y.Y., Lu, W.L. and Huang, T.W. (2020) Designing Discrete-Time Sliding Mode cOntroller with Mismatched Disturbances Compensation. IEEE Trans-actions on Industrial Informatics, 16, 4109-4118. https://doi.org/10.1109/TII.2019.2957002

  15. 15. Quiroz, D. and Cuellar, F. (2019) Design of a Low Cost AUV with Adaptive Backstepping Control System to Monitor the Peruvian Coastline. OCEANS 2019—Marseille, Marseille, 17-20 June 2019, 1-6. https://doi.org/10.1109/OCEANSE.2019.8867249

期刊菜单