›› 2017, Vol. 30 ›› Issue (4): 60-.

• 论文 • 上一篇    下一篇

基于Matlab的S曲线加减速控制算法研究

胡永安,陈彩凤,杨 萌   

  1. (上海理工大学 机械工程学院,上海 200093)
  • 出版日期:2017-04-15 发布日期:2017-04-11
  • 作者简介:胡永安(1991-),男,硕士研究生。研究方向:机械制造及其自动化。

Research of S Curve Acceleration and Deceleration Control Algorithm Based on Matlab

HU Yongan,CHEN Caifeng,YANG Meng   

  1. (School of Mechanical Engineering, University of Shanghai for Science and Technology, Shanghai200093, China)
  • Online:2017-04-15 Published:2017-04-11

摘要:

当数控加工型线为折线,路径段与路径段之间存在的夹角使得必须在拐点处进行加减速控制,以保证轨迹精度。目前,数控加工对单个坐标运动的控制方法有多种,其中较有代表性的是基于S型曲线的加减速控制方法,文中在S型加减速控制曲线基础上建立S曲线加减速控制新算法,利用该算法给出路径段几何元素转接矢量夹角数学模型,并在此基础上给出许用速度与夹角的关系式,并得出第i路径段的转接速度Vi的大小不仅受到转接矢量夹角αi的影响,还与第i-1路径段和i+1路径段的转接速度以及第i路径段和第i+1路径段的路径长度有关。利用此算法经Matlab编程仿真得出当相邻两折线段夹角为90°和135°时,通过折线交点时对应各坐标运动速度的变化。

关键词: S曲线, 转接速度, 夹角, Matlab

Abstract:

When the profile line of numerical control machining is broken line, the angle between the two path sections makes that it is necessary to take acceleration and deceleration control on the inflection point so as to make sure the trajectory precision. At present, we have many control methods of single coordinate motion by numerical control machining, among which the acceleration and deceleration control method based on S curve is the representative one. This thesis, on the basis of S-type acceleration and deceleration control curve, develops a new algorithm of S curve acceleration and deceleration control. With this new algorithm, we get a mathematical model of path sections geometric elements and the relation between allowable velocity and angle. We also draw that the transition velocity Vi of i path section is affected by turning vector angle ai, turning velocity of i-1 and i+1 path sections, and path lengths of i and i+1 path sections. Simulation of programming on the basis of Matlab leads to the changes of the corresponding coordinate velocity passing the point of broken lines, when the angles of the two adjacent broken lines are 90° and 135°.

Key words: S curve, transition velocity, angle, Matlab

中图分类号: 

  • TP273