杨旭东 王淞



摘 要: 为了提高机器人的运动精度,让机器人的运动更加平滑,在二阶运动轨迹的基础上加入Jerk值这一限制条件。实验中根据Jerk值的变化将一个两点之间的运动轨迹分成七段,建立各个阶段的数学模型。设计运动轨迹的逻辑控制算法,以Simulink中Stateflow工具箱为载体,利用Stateflow中的状态模块以及逻辑控制转换模块,将建立的运动轨迹数学模型以及逻辑控制演算法结合在一起,设计成一个三阶匀加减速运动轨迹产生器。通过三阶运动曲线生成的梯形加速度轨迹可以使机器人在运动过程中减少运动冲击,延长使用寿命,在实际工业应用中具有十分重要的意义。
关键词: Jerk; Stateflow; 匀加减速运动; 轨迹规划; 机器人控制; 轨迹算法
中图分类号: TN99?34 文献标识码: A 文章编号: 1004?373X(2019)09?0103?04
Design of third?order uniform acceleration and deceleration motion trajectory
based on Jerk value limitation
YANG Xudong, WANG Song
(School of Mechanical Engineering, Guizhou University, Guiyang 550025, China)
Abstract: In order to improve the motion accuracy of the robot and make the robot′s motion more smooth, the limitation of Jerk value is added to the second?order motion trajectory. According to the change of Jerk values in the experiment, the motion trajectory between two points is divided into seven sections, and the mathematical model of each section is established. The logic control algorithm of the motion trajectory is designed. The Stateflow toolbox in Simulink is taken as the carrier, and the state module in Stateflow and logic control conversion module are used to combine the logic control algorithm with established mathematical model of motion trajectory to form a third?order uniform acceleration and deceleration motion trajectory generator. The trapezoidal acceleration trajectory generated by the third?order kinematic curve can reduce the motion impact and prolong the service life of the robot during the movement process of the robot, which is of great significance in practical industrial applications.
Keywords: Jerk; Stateflow; uniform acceleration and deceleration motion; trajectory planning; robot control; trajectory algorithm
0 引 言
在机器人的工作过程中,机器人的运动轨迹可以划分成多个点到点的运动轨迹叠加而成。为了实现机器人在运动过程中的精确性、稳定性与平滑性,文献[1]提出一种点到点的运动轨迹规划方法:在运动轨迹设计过程中,通过运动速度与加速度来规划运动轨迹的产生。由于在运动过程中加速度为阶跃信号,加速度轨迹从零瞬间变化到最大值,在实际应用过程中会让执行机构产生不连续的驱动力,机器人在运动过程中会产生运动冲击,影响控制精度。针对以上问题,作者在运动轨迹中加入第三个运动参数Jerk值,通过矩形曲线Jerk值作用,加速度曲线变为梯形,速度曲线为S形,通过该方法生成的运动轨迹将更加平滑,执行机构在任何情况下都将产生连续的驱动力,减少运动冲击,延长机构的使用寿命。……