电子科技 ›› 2020, Vol. 33 ›› Issue (9): 31-37.doi: 10.16180/j.cnki.issn1007-7820.2020.09.006

• • 上一篇    下一篇

基于MATLAB Robotics Toolbox的四足机器人轨迹仿真与优化

陈明方,张凯翔,陈久朋,熊彬洲,李奇,姚国一,李鹏宇   

  1. 昆明理工大学 机电工程学院,云南 昆明 650500
  • 收稿日期:2019-06-29 出版日期:2020-09-15 发布日期:2020-09-12
  • 作者简介:陈明方(1975-),男,博士,副教授。研究方向:机器人控制算法,智能控制理论及其应用。
  • 基金资助:
    国家自然科学基金(61873115)

Simulation and Optimization of Quadruped Robot Trajectory Based on MATLAB Robotics Toolbox

CHEN Mingfang,ZHANG Kaixiang,CHEN Jiupeng,XIONG Bingzhou,LI Qi,YAO Guoyi,LI Pengyu   

  1. School of Mechanical and Electrical Engineering,Kunming University of Science and Technology,Kunming 650500,China
  • Received:2019-06-29 Online:2020-09-15 Published:2020-09-12
  • Supported by:
    National Natural Science Foundation of China(61873115)

摘要:

仿生四足机器人的足端轨迹对其运动状况具有重要作用。MATLAB Robotics Toolbox可用于机器人的建模、求正反解、末端轨迹规划等仿真与分析工作。四足机器人末端只有3个自由度的结构,通过MATLAB Robotics Toolbox来求解与仿真存在一定的缺陷。文中通过研究该工具箱的底层函数,发现出问题的原因是其中的“ikine”函数不适用。文中通过改用反解公式来代替"ikine"函数,对该工具箱进行有针对性的二次开发。同时,增加优化算法对逆向运动学的多解问题按照角度变化最小原则进行优选。对设定轨迹的实时动态仿真结果显示其行走的过程自然平缓,关节转动特性曲线在合理范围内,证明了该优化算法的有效性与合理性。

关键词: 仿生, 四足机器人, 仿真, 轨迹优化, 运动学, 机器人工具箱

Abstract:

The foot end trajectory of the bionic quadruped robot plays an important role in its movement. MATLAB Robotics Toolbox has been used for modeling, solving the forward and reverse solutions and trajectory planning. For a structure such as a quadruped robot with only 3 DOF at the end, there are certain defects in the solution and simulation by this tool. In this study, by exploring the underlying function of the toolbox, the reason for the problem is that the “ikine” function was not applicable. The toolbox is targeted for secondary development by replacing the "ikine" function with the inverse solution formula. At the same time, the problem of increasing the multi-solution of the inverse kinematics of the optimization algorithm is optimized according to the principle of minimum angle change. The real-time dynamic simulation results of the set trajectory shows that the walking process is naturally smooth, and the joint rotation characteristic curve is within a reasonable range, which verifies the effectiveness and rationality of the optimization algorithm.

Key words: bionic, quadruped robot, simulation, trajectory optimization, kinematics, robotics toolbox

中图分类号: 

  • U461