Please wait a minute...
浙江大学学报(工学版)  2019, Vol. 53 Issue (10): 1843-1851    DOI: 10.3785/j.issn.1008-973X.2019.10.001
机械与能源工程     
基于模型预测控制的仿人机器人实时步态优化
丁加涛(),何杰,李林芷,肖晓晖*()
武汉大学 动力与机械学院,湖北 武汉 430072
Real-time walking pattern optimization for humanoid robot based on model predictive control
Jia-tao DING(),Jie HE,Lin-zhi LI,Xiao-hui XIAO*()
School of Power and Mechanical Engineering, Wuhan University, Wuhan 430072, China
 全文: PDF(2194 KB)   HTML
摘要:

为了提高仿人机器人在行走过程中的抗干扰能力,提出基于模型预测控制(MPC)的步态生成与优化策略. 基于飞轮倒立摆模型(IPFM),建立系统状态空间模型. 给定落脚点参考位置和躯干旋转参考角度,提出包含质心(CoM)轨迹生成、落脚点调整和躯干旋转角度优化的多目标惩罚函数;考虑足部支撑范围、落脚点变动范围等可行性约束,建立二次规划(QP)求解模型. 利用开源求解器,实现最优质心轨迹、足部落脚点和躯干旋转角度的在线生成. 通过仿真验证了该算法的可行性和有效性. 结果表明,每个控制循环在2 ms内完成,满足实时控制需求;该方法能够利用躯干旋转以实现更大范围变步行参数的稳定行走;与只调整落脚点相比,机器人对各个方向外力的抵抗能力都有提高.

关键词: 模型预测控制(MPC)飞轮倒立摆模型(IPFM)落脚点调整躯干转动双足步行仿人机器人    
Abstract:

A model predictive control (MPC) strategy was proposed for walking pattern generation and optimization in order to compensate for the dynamic disturbances during the walking process of a humanoid robot. The state equation of the locomotion system was established based on the inverted pendulum plus flywheel model (IPFM). Given the reference step locations and reference body rotation angles, the multi-objective cost function was proposed, where the center of mass (CoM) trajectory generation, step locations adjustment and trunk rotation optimization were addressed simultaneously. The quadratic programming (QP) problem was formulated by considering the feasibility constraints including the constraints of maximal support region, limits of step location variation and others. The optimal CoM trajectory, step locations and trunk rotation angles were computed online by using the open-sourced solver. The simulation results demonstrated the feasibility and effectiveness of the proposed method. Results show that each control loop is solved within 2 ms so that it can be used in real time. The proposed method endows humanoids with the ability of walking stably with larger variation of step parameters by exploiting reactive trunk rotation. The robot can recover from severer external pushes from different directions by using the proposed method, compared with other strategies which merely adjust the step locations.

Key words: model predictive control (MPC)    inverted pendulum plus flywheel model (IPFM)    step locations adaptation    trunk rotation    bipedal walking    humanoid robot
收稿日期: 2019-02-01 出版日期: 2019-09-30
CLC:  TP 242  
通讯作者: 肖晓晖     E-mail: jtdingx@163.com;xhxiao@whu.edu.cn
作者简介: 丁加涛(1993—),男,博士生,从事双足步行研究. orcid.org/0000-0002-2396-9688. E-mail: jtdingx@163.com
服务  
把本文推荐给朋友
加入引用管理器
E-mail Alert
作者相关文章  
丁加涛
何杰
李林芷
肖晓晖

引用本文:

丁加涛,何杰,李林芷,肖晓晖. 基于模型预测控制的仿人机器人实时步态优化[J]. 浙江大学学报(工学版), 2019, 53(10): 1843-1851.

Jia-tao DING,Jie HE,Lin-zhi LI,Xiao-hui XIAO. Real-time walking pattern optimization for humanoid robot based on model predictive control. Journal of ZheJiang University (Engineering Science), 2019, 53(10): 1843-1851.

链接本文:

http://www.zjujournals.com/eng/CN/10.3785/j.issn.1008-973X.2019.10.001        http://www.zjujournals.com/eng/CN/Y2019/V53/I10/1843

图 1  双足步行飞轮倒立摆模型
图 2  双足步行足部支撑多边形与ZMP、CoM轨迹
图 3  COMAN机器人虚拟样机与ODE仿真环境
参数 数值 参数 数值
${\alpha _{{{{C}}_{{x}}}}}$ 2×105 ${\alpha _{{{{C}}_{{y}}}}}$ 105
${\alpha _{{{{\varTheta }}_{\rm{r}}}}}$ 5×109 ${\alpha _{{{{\varTheta }}_{\rm{p}}}}}$ 106
${\beta _{{{{C}}_{{x}}}}}$ 10 ${\beta _{{{{C}}_{{y}}}}}$ 10
${\beta _{{{{\varTheta }}_{\rm{r}}}}}$ 105 ${\beta _{{{{\varTheta }}_{\rm{p}}}}}$ 103
${\gamma _{{{{C}}_{{x}}}}}$ 1 ${\gamma _{{{{C}}_{{y}}}}}$ 1
${\gamma _{{{{\varTheta }}_{\rm{r}}}}}$ 10 ${\gamma _{{{{\varTheta }}_{\rm{p}}}}}$ 10
${\delta _{{{{D}}_{{x}}}}}$ 5×107 ${\delta _{{{{D}}_{{y}}}}}$ 5×107
Nh 31 Nf 2
Nc 415 dt/s 0.05
T/s 0.8 m/kg 30
IxIy)/(kg·m2 0.3 g/(m·s?2 9.8
表 1  机器人与控制器的模型参数设置
参数 数值 参数 数值
$p_{{x}}^{\min }$/m ?0.03 $p_{{x}}^{\max }$/m 0.07
$p_{{y}}^{\min }$/m ?0.05 $p_{{y}}^{\max }$/m 0.05
$s_{{x}}^{\min }$/m ?0.2 $s_{{x}}^{\max }$/m 0.3
$s_{{y}}^{\min }$/m ?0.1 $s_{{y}}^{\max }$/m 0.2
$\dot d_{{x}}^{\min }$/(m·s?1 ?2 $\dot d_{{x}}^{\max }$/(m·s?1 3
$\dot d_{{y}}^{\min }$/(m·s?1 ?2 $\dot d_{{y}}^{\max }$/(m·s?1 2
$\theta _{\rm{r}}^{\min }$/(o) ?5 $\theta _{\rm{r}}^{\max }$/(o) 10
$\theta _{\rm{p}}^{\min }$/(o) ?10 $\theta _{\rm{p}}^{\max }$/(o) 10
$\tau _{\rm{r}}^{\min }$/(N·m) ?60 $\tau _{\rm{r}}^{\max }$/(N·m) 80
$\tau _{\rm{p}}^{\min }$/(N·m) ?80 $\tau _{\rm{p}}^{\max }$/(N·m) 80
表 2  二次规划约束条件参数设置
周期 步长/cm 步宽/cm 周期 步长/cm 步宽/cm
5 5 ? 9 ?5 14
6 15 ? 10 0 14
7 5 16 11 ?5 0
8 15 16 12 5 0
表 3  变步行参数设置
图 4  变步行参数行走躯干转动角度
图 5  变步行参数行走前向足部支撑区域和ZMP、CoM轨迹
图 6  变步行参数行走侧向足部支撑区域和ZMP、CoM轨迹
图 7  变步行参数行走CoM轨迹
图 8  沿y轴负方向25 N外力作用下不同策略对应的实际落脚点和实际CoM轨迹
图 9  沿y轴负方向25 N外力作用下不同策略生成的横滚角度和实际横滚角度
N
策略 x轴正向 x轴负向 y轴正向 y轴负向
仅落脚点调整 240 165 167 30
落脚点调整+躯干转动 308 185 202 65
表 4  不同方向的最大抵抗外力
1 颜云辉, 徐靖, 陆志国, 等 仿人服务机器人发展与研究现状[J]. 机器人, 2017, 39 (4): 551- 564
YAN Yun-hui, XU Jing, LU Zhi-guo, et al Development and research status of humanoid service robots[J]. Robot, 2017, 39 (4): 551- 564
2 张继文, 刘莉, 陈恳 面向全方位双足步行跟随的路径规划[J]. 自动化学报, 2016, 42 (2): 189- 201
ZHANG Ji-wen, LIU Li, CHEN Ken Omni-directional bipedal walking path planning[J]. Acta Automatica Sinica, 2016, 42 (2): 189- 201
3 孙广彬, 王宏, 陆志国, 等 仿人足底肌电特征的机器人行走规划[J]. 自动化学报, 2015, 41 (5): 874- 884
SUN Guang-bin, WANG Hong, LU Zhi-guo, et al Humanoid walking planning based on EMG from human foot-bottom[J]. Acta Automatica Sinica, 2015, 41 (5): 874- 884
4 易江, 朱秋国, 吴俊, 等 基于最优控制的仿人机器人行走振动抑制[J]. 机器人, 2018, 40 (2): 129- 135
YI Jiang, ZHU Qiu-guo, WU Jun, et al Walking vibration suppression for humanoid robot based on optimal control[J]. Robot, 2018, 40 (2): 129- 135
5 NASHNER L M, MCCOLLUM G The organization of human postural movements: a formal basis and experimental synthesis[J]. Behavioral and Brain Sciences, 1985, 8 (1): 135- 150
doi: 10.1017/S0140525X00020008
6 DIEDAM H, DIMITROV D, WIEBER P B, et al. Online walking gait generation with adaptive foot positioning through linear model predictive control [C] // IEEE/RSJ International Conference on Intelligent Robots and Systems. Nice: IEEE, 2008: 1121-1126.
7 FU C. Perturbation recovery of biped walking by updating the footstep [C] // IEEE/RSJ International Conference on Intelligent Robots and Systems. Chicago: IEEE, 2014: 2509-2514.
8 张继文, 刘莉, 陈恳 基于AHRS反馈的仿人机器人步行稳定控制[J]. 清华大学学报: 自然科学版, 2016, 56 (8): 818- 823
ZHANG JI-wen, LIU Li, CHEN Ken Stabilizing control of humanoids' walking based on AHRS feedback[J]. Journal of Tsinghua University: Science and Technology, 2016, 56 (8): 818- 823
9 ZHANG L, FU C Predicting foot placement for balance through a simple model with swing leg dynamics[J]. Journal of Biomechanics, 2018, 77 (17): 155- 162
10 YU Z, ZHOU Q, CHEN X, et al Disturbance rejection for biped walking using zero-moment point variation based on body acceleration[J]. IEEE Transactions on Industrial Informatics, 2018, 15 (4): 2265- 2276
11 DING J, WANG Y, YANG M, et al Walking stabilization control for humanoid robots on unknown slope based on walking sequences adjustment[J]. Journal of Intelligent and Robotic Systems, 2018, 90 (3/4): 323- 338
12 PARK S, HORAK F B, KUO A D Postural feedback responses scale with biomechanical constraints in human standing[J]. Experimental Brain Research, 2004, 154 (4): 417- 427
doi: 10.1007/s00221-003-1674-3
13 KUDOH S, KOMURA T, IKEUCHI K. Stepping motion for a human-like character to maintain balance against large perturbations [C] // IEEE International Conference on Robotics and Automation. Orlando: IEEE, 2006: 2661-2666.
14 CHEN X, YU Z, ZHANG W, et al Bioinspired control of walking with toe-off, heel-strike, and disturbance rejection for a biped robot[J]. IEEE Transactions on Industrial Electronics, 2017, 64 (10): 7962- 7971
doi: 10.1109/TIE.2017.2698361
15 LI C, XIONG R, ZHU Q, et al Push recovery for the standing under-actuated bipedal robot using the hip strategy[J]. Frontiers of Information Technology and Electronic Engineering, 2015, 16 (7): 579- 593
doi: 10.1631/FITEE.14a0230
16 席裕庚, 李德伟, 林姝 模型预测控制: 现状与挑战[J]. 自动化学报, 2013, 39 (3): 222- 236
XI Yu-geng, LI De-wei, LIN Shu Model predictive control: status and challenges[J]. Acta Automatica Sinica, 2013, 39 (3): 222- 236
17 AFTAB Z, ROBERT T, WIEBER P B. Ankle, hip and stepping strategies for humanoid balance recovery with a single model predictive control scheme [C] // IEEE-RAS International Conference on Humanoid Robots. Osaka: IEEE, 2012: 159-164.
18 LACK J. Integrating the effects of angular momentum and changing center of mass height in bipedal locomotion planning [C] // IEEE-RAS International Conference on Humanoid Robots. Seoul: IEEE, 2015: 651-656.
19 SHAFIEE-ASHTIANI M, YOUSEFI-KOMA A, SHARIAT-PANAHI M. Robust bipedal locomotion control based on model predictive control and divergent component of motion [C] // IEEE International Conference on Robotics and Automation. Singapore: IEEE, 2017: 3505-3510.
20 KAJITA S, KANEHIRO F, KANEKO K, et al. The 3D linear inverted pendulum mode: a simple modeling for a biped walking pattern generation [C] // IEEE/RSJ International Conference on Intelligent Robots and Systems. Maui: IEEE, 2001: 239-246.
21 PRATT J, CARFF J, DRAKUNOV S, et al. Capture point: a step toward humanoid push recovery [C] // IEEE-RAS International Conference on Humanoid Robots. Genova: IEEE, 2006: 200-207.
22 VUKOBRATOVI? M, BOROVAC B Zero-moment point-thirty five years of its life[J]. International Journal of Humanoid Robotics, 2004, 1 (01): 157- 173
doi: 10.1142/S0219843604000083
23 陈虹. 模型预测控制[M]. 北京: 科学出版社, 2013.
24 HERDT A, PERRIN N, WIEBER P B. Walking without thinking about it [C] // IEEE/RSJ International Conference on Intelligent Robots and Systems. Taipei: IEEE, 2010: 190-195.
25 NAVEAU M, KUDRUSS M, STASSE O, et al A reactive walking pattern generator based on nonlinear model predictive control[J]. IEEE Robotics and Automation Letters, 2017, 2 (1): 10- 17
doi: 10.1109/LRA.2016.2518739
[1] 柯显信, 张文朕, 杨阳, 温雷. 仿人机器人多传感器定位系统[J]. 浙江大学学报(工学版), 2018, 52(7): 1247-1252.
[2] 初亮, 李天骄, 孙成伟. 面向再生制动优化的电动车自适应巡航控制策略[J]. 浙江大学学报(工学版), 2017, 51(8): 1596-1602.
[3] 金鑫, 梁军. 基于动态PLS框架的多变量无静差预测控制[J]. 浙江大学学报(工学版), 2016, 50(4): 750-758.
[4] 钟秋波, 朴松昊,高超,洪炳镕. 基于混合进化算法的仿人机器人步态规划[J]. J4, 2012, 46(5): 893-898.
[5] 杜鑫峰, 熊蓉, 褚健. 仿人足球机器人视觉系统快速识别与精确定位[J]. J4, 2009, 43(11): 1975-1981.