The invention discloses a speed NC interpolation method of interpolation method, applicable to all kinds of CNC system, especially suitable for open CNC system, the purpose of the invention is realized that, for a given starting point and end point of the F (X, Y, Z, A, B, C, U, V, W...) = track of O, sampling the current position coordinates, to obtain the current position (X: I, Y: I, Z: I, A: I, B: I, C: I, U: I, V: I here, W I...) The calculation, the feed rate along each coordinate motion according to the interpolation precision requirement and feed speed, feed speed calculation of NC device according to the values obtained with the corresponding coordinate control of the speed of movement, repeated position sampling, speed calculation and control process until the completion of F (X, Y, Z, A, B, C, U, V, W...) Track motion of = O. The invention directly calculates the feeding speed of each coordinate axis movement, does not do time sampling, simplifies the position control ring, and improves the interpolation precision and the feed speed.
【技术实现步骤摘要】
本专利技术涉及一种数控插补方法,适用于各种数控系统,尤其适用于开放式数控系统。现有的闭环、半闭环系统,其数控装置通常采用数据采样插补法,其特点是插补分两步进行。第一步为粗插补,它是在给定起点和终点的曲线之间插入若干个点,即用若干条微小直线段来逼近给定的曲线,每一微小直线段ΔL相等。粗插补在每个插补运算周期中计算一次,因此每一微小直线段的长度ΔL与给进速度指令V与插补周期T有关系,即ΔL=VT。第二步为精插补,它是在已插补算出的的每条微小直线段上再做“数据点的密化”工作,这一步是对直线进行脉冲增量插补。数据采样的插补法中一个重要的参数是插补周期,插补周期一经确定,则数控系统的进给速度在规定插补精度下是一定的,不可改变,或者在一定进给速度下,其插补精度也是一定的,不能提高。当前计算机及微电子技术发展很快,数控装置的运行速度越来越快,但由于插补周期不易改变(减小),数控设备的插补精度和进给速度都不能提高。本专利技术的任务是提供一种数控插补方法,速度插补方法在不同的数控装置上将得到不同的插补精度或进给速度,即数控装置的速度越快则数控系统的插补精度或进给速度越高,能紧随计算机和微电子技术的发展。本专利技术的目的是这样实现的,对于给定起点和终点的F(X,Y,Z,A,B,C,U,V,W…)=0的轨迹运动,对当前位置座标进行采样,获得当前座标位置(Xi,Yi,Zi,Ai,Bi,Ci,Ui,Vi,Wi…),按插补精度要求和进给速度计算沿各座标运动的进给速度,数控装置按计算获得的进给速度值控制各座标以相应速度运动,重复位置采样、速度计算及控制过程直至完成F(X,Y,Z, ...
【技术保护点】
一种数控插补方法,其特征在于对于给定了起点和终点的F(X,Y,Z,A,B,C,U,V,W…)=O的轨迹运动,采集当前位置座标,从当前位置座标(X↓[i],Y↓[i],Z↓[i],A↓[i],B↓[i],C↓[i],U↓[i],V↓[i],W↓[i]…)按插补精度要求和进给速度计算沿各座标运动的进给速度,数控装置按计算进给速度值控制各座标以相应速度运动。
【技术特征摘要】
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。