[go: up one dir, main page]

CN1121658C - Computer numerical control curve path speed control method and device - Google Patents

Computer numerical control curve path speed control method and device Download PDF

Info

Publication number
CN1121658C
CN1121658C CN98123111A CN98123111A CN1121658C CN 1121658 C CN1121658 C CN 1121658C CN 98123111 A CN98123111 A CN 98123111A CN 98123111 A CN98123111 A CN 98123111A CN 1121658 C CN1121658 C CN 1121658C
Authority
CN
China
Prior art keywords
curve
rate
interpolator
parameter
acceleration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN98123111A
Other languages
Chinese (zh)
Other versions
CN1255681A (en
Inventor
王安平
孙金柱
张昭琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial Technology Research Institute ITRI
Original Assignee
Industrial Technology Research Institute ITRI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial Technology Research Institute ITRI filed Critical Industrial Technology Research Institute ITRI
Priority to CN98123111A priority Critical patent/CN1121658C/en
Publication of CN1255681A publication Critical patent/CN1255681A/en
Application granted granted Critical
Publication of CN1121658C publication Critical patent/CN1121658C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

In CNC machining of parametric curves, the feed rate is a determining factor for the quality of the machining; the invention provides a parameterized curve interpolator with rate control, which develops the operation modes of (1) a fixed rate interpolator, and (2) an acceleration and deceleration interpolator, etc.; the operation mode of the constant-speed interpolator can ensure that the parameterized curve keeps a constant speed value in the interpolation realization process, and further, smoother acceleration and deceleration motion is obtained by utilizing the acceleration and deceleration design of the parametric curve interpolator.

Description

电脑数控曲线路径速率控制方法及装置Computer numerical control curve path speed control method and device

本发明是关于一种电脑数控(CNC)加工机,具体地说,是关于具速率控制的参数化曲线插值器设计之电脑数控加工机。The present invention relates to a computer numerical control (CNC) processing machine, in particular to a computer numerical control processing machine designed with a speed-controlled parametric curve interpolator.

传统的CAD/CNC系统操作人员首先经由电脑辅助设计(CAD)设计所需工件,如:模具、涡轮叶片、飞机模型等的3-D曲线表示,其中曲线的表示在CAD系统中一般为参数化曲线的格式,并且由于一般的CNC系统仅提供直线与圆的插值器,因此CAD尚必须将所设计的工件表面曲线分段并传送到CNC执行。当CNC系统的直线插值器接收到工件表面曲线分段信息后再以某些演算法则产生刀具运动的内插点,而这些内插点即为伺服驱动器的位置输入命令。Traditional CAD/CNC system operators first design the required workpieces through computer-aided design (CAD), such as: 3-D curve representation of molds, turbine blades, aircraft models, etc., where the representation of curves is generally parametric in CAD systems The format of the curve, and since the general CNC system only provides interpolators for straight lines and circles, CAD must still segment the designed workpiece surface curve and transmit it to the CNC for execution. When the linear interpolator of the CNC system receives the segmented information of the workpiece surface curve, some algorithms are used to generate the interpolation points of the tool movement, and these interpolation points are the position input commands of the servo drive.

虽然传统的曲线加工方式较为简单,但是在应用上仍有些许缺点:(1)为使能更精确的表示曲线,因此必须将曲线分段为大量的区段并传送于CAD与CNC之间,但是在传送大量的信号时容易造成误差,如:数据遗失与噪音干扰;(2)切割区段的不连续性会造成加工工件的表面精度恶化。(3)因为曲线区段直线化,速率在每一直线区段并非为平滑(smooth)变化,尤其是考虑CNC插值器的自动加减速特性后更为明显。Although the traditional curve processing method is relatively simple, there are still some disadvantages in application: (1) In order to enable a more accurate representation of the curve, the curve must be segmented into a large number of segments and transmitted between CAD and CNC, However, it is easy to cause errors when transmitting a large number of signals, such as: data loss and noise interference; (2) The discontinuity of the cutting section will cause the surface accuracy of the processed workpiece to deteriorate. (3) Due to the linearization of the curve section, the speed does not change smoothly in each straight line section, especially after considering the automatic acceleration and deceleration characteristics of the CNC interpolator.

传统的加减速方式是将位置命令经过低通滤波器以产生较为平滑的命令输入。但是此法会使具有较大变化的命令路径产生径向与弦高误差,如加工曲线的起点与终点附近。虽然Kim(D.I.Kim)提出使用参数的加减速方式以达到参数化曲线加减速的目的,同时因为是对参数进行加减速的操作,因此内插点具有较小的径向误差,可以使内插点的产生具有加减速的功能,但是在某些曲线上并不能真正达到速率加减速的目的,其原因是参数空间与曲线并非是均匀对应。此外,当曲线之曲率半径太小以至于进给速率命令相形过大时,将造成明显的位置命令误差。The traditional way of acceleration and deceleration is to pass the position command through a low-pass filter to generate a smoother command input. However, this method will cause radial and chord height errors in the command path with large changes, such as near the starting point and end point of the processing curve. Although Kim (D.I.Kim) proposed to use the acceleration and deceleration method of parameters to achieve the purpose of parameterized curve acceleration and deceleration, at the same time, because the operation of acceleration and deceleration is performed on parameters, the interpolation point has a small radial error, which can make the interpolation The generation of points has the function of acceleration and deceleration, but the purpose of speed acceleration and deceleration cannot be really achieved on some curves, because the parameter space and the curve are not uniformly corresponding. In addition, when the curvature radius of the curve is too small so that the feed rate command is too large, it will cause obvious position command error.

鉴于公知的参数化曲线插值的过程中,曲线的速率精度不易控制,而进给的速率是加工品质的决定性因素,因此本发明提出具速率控制的参数化曲线插值器的设计。In view of the known parametric curve interpolation process, the speed accuracy of the curve is not easy to control, and the feed rate is the decisive factor of the processing quality, so the present invention proposes the design of a parametric curve interpolator with speed control.

本发明之目的为提供一种具定速率插值器操作模式,可以使参数化曲线在插值的实现过程中,保持定值速率,以确保加工品质的电脑数控曲线路径速率控制方法及装置。The object of the present invention is to provide an operation mode of an interpolator with a constant rate, which can maintain a constant rate during the interpolation process of the parameterized curve to ensure the processing quality of the computer numerical control curve path rate control method and device.

本发明之另一目的为提供一种具加减速插值器操作模式,利用参数式曲线插值器的加减速设计,以获得更为平滑的加减速运动的电脑数控曲线路径速率控制方法及装置。Another object of the present invention is to provide a computer numerical control curve path rate control method and device with acceleration and deceleration interpolator operation mode, using the acceleration and deceleration design of the parametric curve interpolator to obtain smoother acceleration and deceleration motion.

本发明的电脑数控(CNC)曲线路径速率控制方法,系以等速率或加减速控制操作曲线路径加工,包括下列步骤:The computer numerical control (CNC) curve path rate control method of the present invention is to process the curve path with constant speed or acceleration and deceleration control operation, comprising the following steps:

(1)参数化曲线插值器在接收由电脑辅助设计(CAD)所解译曲线的信息后,以参数化曲线的参数迭代法(Iteration)产生连续的内插点;(1) After receiving the information of the curve interpreted by computer-aided design (CAD), the parametric curve interpolator generates continuous interpolation points by the parameter iteration method (Iteration) of the parametric curve;

(2)仅考虑插值器产生的位置命令误差的弦高误差(chord heighterror)的影响,而不考虑径向误差(radial error);(2) Only the influence of the chord height error (chord height error) of the position command error generated by the interpolator is considered, and the radial error (radial error) is not considered;

(3)导出参数曲线公式(parametric curve formulation)之一次近似参数迭代法则;(3) Deriving an approximate parameter iteration rule of the parametric curve formulation;

(4)设计具速率控制之参数迭代法则,将该表示之一次近似参数迭代法则提出参数补偿,经由补偿量与曲线间的相关性获得更高精度的曲线速率控制;(4) Design a parameter iteration rule with rate control, propose a parameter compensation based on an approximate parameter iteration rule of the expression, and obtain a higher-precision curve rate control through the correlation between the compensation amount and the curve;

(5)选择在零点附近的补偿值以获得较为可靠的参数迭代结果;以及(5) Select the compensation value near the zero point to obtain a more reliable parameter iteration result; and

(6)将该获得补偿值之连续的内插点送入控制系统使刀具中心沿著参数化曲线移动。(6) Send the continuous interpolation points obtained from the compensation value to the control system to move the tool center along the parameterized curve.

本发明的电脑数控(CNC)曲线路径速率控制方法中所使用的参数化曲线为非等距B云形线(NURBS),而参数化曲线插值器使用的参数迭代法,是以Chou(J.J.Chou)和Yang(D.C.H.Yang)所提出的一般化参数迭代法则为基础提出进给速率控制的参数迭代方式。The parameterized curve used in the computer numerical control (CNC) curve path speed control method of the present invention is non-equidistant B nebula (NURBS), and the parameter iteration method used by the parameterized curve interpolator is based on Chou (J.J.Chou ) and Yang (D.C.H.Yang) proposed a generalized parameter iteration rule based on the feed rate control parameter iteration method.

本发明的电脑数控曲线路径速率控制装置,包括:The computer numerical control curve path rate control device of the present invention comprises:

电脑,作辅助设计(CAD)的工作,该辅助设计工作包括作参数化曲线格式及分段曲线;Computer, for aided design (CAD) work, which includes making parametric curve formats and segmented curves;

电脑数控(CNC)机构,包括:Computer Numerical Control (CNC) mechanisms, including:

参数化曲线插值器,在接收该电脑所解译的参数曲线信息后,以参数化曲线的点产生方式产生连续的内插点;The parametric curve interpolator, after receiving the parametric curve information interpreted by the computer, generates continuous interpolation points in the way of generating points of the parametric curve;

控制器,接收该参数化曲线插值器所产生的连续的内插点,送出控制加工信号;The controller receives the continuous interpolation points generated by the parametric curve interpolator, and sends out control processing signals;

刀具,接收该控制器送出之控制加工信号,中心沿著参数化曲线移动;以及The tool receives the control processing signal sent by the controller, and the center moves along the parameterized curve; and

人机介面装置,可让操作者与该参数化曲线插值器之间作人机对话;A man-machine interface device that allows the operator to have a man-machine dialogue with the parametric curve interpolator;

其中该参数化曲线插值器可对该参数化曲线作定速率插值操作模式及加减速插值操作模式。Wherein the parameterized curve interpolator can perform constant rate interpolation operation mode and acceleration/deceleration interpolation operation mode for the parameterized curve.

本发明的电脑数控曲线路径速率控制之参数化曲线插值器装置,包括:定速率插值器,使参数化曲线路径在插值的实现过程中保持速率定值;加减速插值器,使该加工曲线路径获得更为平滑的加减速运动。The parametric curve interpolator device of the computer numerical control curve path rate control of the present invention comprises: a constant rate interpolator, which keeps the parametric curve path at a constant rate during the interpolation realization process; an acceleration and deceleration interpolator, which makes the processing curve path Get smoother acceleration and deceleration motion.

图1为本发明实施例参数化曲线的加工系统方块图;Fig. 1 is the processing system block diagram of the parametric curve of the embodiment of the present invention;

图2为刀具在两内插点间以直线运动,插值器产生位置命令误差的示意图;Fig. 2 is a schematic diagram of the position command error generated by the interpolator when the tool moves in a straight line between two interpolation points;

图3为补偿量ε1,2(ui)公式中,向量 曲线微分向量

Figure C9812311100062
与参数ui、ui+1′、ui+1间的几何关系;Figure 3 is the compensation amount ε 1,2 (u i ) formula, the vector curve differential vector
Figure C9812311100062
Geometric relationship with parameters u i , u i+1 ′, u i+1 ;

图4为形成相同实数值或共轭虚数值补偿量ε1,2(ui)的情况;Fig. 4 is the situation of forming the same real value or conjugate imaginary value compensation ε 1,2 (u i );

图5为本实施例应用之蝴蝶结曲线命令路径;Fig. 5 is the command path of the bow-tie curve applied in this embodiment;

图6为一阶近似(1st order approximation)插值速率命令结果曲线速率变动情形;Fig. 6 is a first order approximation (1st order approximation) interpolation rate command result curve rate change situation;

图7为二阶近似(2nd order approximation)插值速率命令结果曲线速率变动情形;Fig. 7 is the situation of the rate change of the curve rate of the second order approximation (2nd order approximation) interpolation rate command result;

图8为本实施例定速率操作模式插值速率命令结果曲线速率变动情形;Fig. 8 is the rate change situation of the interpolation rate command result curve in the fixed rate operation mode of this embodiment;

图9为定速率操作模式中参数补偿值ε1,2(ui)计算结果;Fig. 9 is the calculation result of the parameter compensation value ε 1,2 (u i ) in the constant rate operation mode;

图10为二次曲线加减速方式的速率差值变化一阶(1st)近似之曲线情况;Fig. 10 is the curve situation of the first-order (1st) approximation of the speed difference value change of quadratic curve acceleration and deceleration mode;

图11为二次曲线加减速方式的速率差值变化二阶(2nd)近似之曲线情况;Fig. 11 is the curve situation of the second-order (2nd) approximation of the rate difference change of the quadratic curve acceleration and deceleration mode;

图12为二次曲线加减速方式的速率差值变化定速率操作模式之曲线情况。Fig. 12 is the curve situation of the speed difference change constant speed operation mode of the quadratic curve acceleration and deceleration mode.

一般由于CAD系统所产生的曲线为参数式曲线表示,同时CAD系统也提供参数式曲线的相关参数数据传输格式,因此在CAD/CNC系统的设计上可直接应用参数式曲线的参数信息作为CAD/CNC系统间的加工信息传输与CNC的插值。本发明讨论参数化曲线的加工系统如图1所示,图中1为电脑,其作辅助设计(CAD)之工作,包括作参数化曲线格式及分段曲线,2为电脑数控(CNC)机构,其中参数化曲线插值器3在接收由电脑1所解译之参数曲线信息7后,以参数化曲线的点产生方式产生连续的内插点送入控制器5使刀具6中心沿著参数化曲线移动,其中4为人机介面装置,可让操作者与CNC之间作对话。常见的参数化曲线为:贝齐尔(Bezier)曲线、B云形线(B Spline)、和非等距B云形线(NURBS);本发明使用NURBS参数化曲线。Generally, the curve generated by the CAD system is expressed as a parametric curve, and the CAD system also provides the relevant parameter data transmission format of the parametric curve, so the parameter information of the parametric curve can be directly used in the design of the CAD/CNC system as the CAD/CNC system. Processing information transmission between CNC systems and CNC interpolation. The present invention discusses the processing system of parametric curve as shown in Figure 1, and among the figure 1 is computer, and it is done the work of aided design (CAD), comprises making parametric curve format and segmented curve, and 2 is computer numerical control (CNC) mechanism , wherein the parameterized curve interpolator 3, after receiving the parameterized curve information 7 interpreted by the computer 1, generates continuous interpolation points in the way of generating points of the parameterized curve and sends them to the controller 5 to make the center of the tool 6 along the parameterized Curve movement, 4 of which are human-machine interface devices, which allow the operator to communicate with the CNC. Common parametric curves are: Bezier curve, B spline (B Spline), and non-equidistant B spline (NURBS); the present invention uses NURBS parametric curve.

参数化曲线插值器3实现的过程,主要是进行参数化曲线点的计算。一般较高曲线位置与速率精度的计算法则需较复杂的计算方式与较大的计算量,此点在即时命令产生的环境下较为不利。因此计算法的选择与设计必须考虑曲线精度与计算时间的权衡。最常使用的计算法格式为如下的参数迭代方式:The process realized by the parametric curve interpolator 3 is mainly to calculate the parametric curve points. Generally, calculation algorithms with higher curve position and speed accuracy require more complex calculation methods and a larger amount of calculation, which is disadvantageous in the environment where real-time commands are generated. Therefore, the choice and design of the calculation method must consider the trade-off between curve accuracy and calculation time. The most commonly used calculation method format is the following parameter iteration method:

ui+1=ui+Δ(ui)u i+1 =u i +Δ(u i )

其中,ui表示现在时序的参数,ui+1表示下一时序时的参数,Δ(ui)表示与现在时序相关的计算量。在参数化曲线下,ui表示曲线的参数,因此必须将该参数代入曲线的数学表示式才能获得该时序时的点。在参数化曲线插值器的设计时,对于任意参数式曲线数学模型的应用,由于参数化曲线中参数与曲线或几何路径间的关系并不明显,不易执行逆运算,即不容易由已知的曲线点反推相对应的参数值,因此在参数的迭代法上不易对曲线速率有良好的控制。在实际加工上,参数式曲线插值器会因为不适当的参数迭代法则造成插值结果曲线速率的误差,曲线速率误差是指相邻内插点间的移动速率与插值器的进给速率设定的差值,当曲线速率的误差越大时表示内插点间的移动不能如进给速率所操作,往往会造成过大的位置误差、过长的加工时间与不良的加工工件表面。因此在参数化曲线插值器的设计上,参数迭代法必须精确的控制曲线速率降低误差。除了曲线速率误差,由于插值器产生刀具运动时的内插点,而刀具在两内插点间是以直线运动,因此插值器产生的位置命令误差一般可包含:径向误差(radialerror)与弦高误差(chord height error)。径向误差、弦高误差与曲线间的关系可如图2所表示,其中8为工件轮廓曲线,9为刀具运动路径,10为径向误差,11为弘高误差,12为内插点。Wherein, u i represents a parameter of the current time series, u i+1 represents a parameter of the next time series, and Δ(u i ) represents a calculation amount related to the current time series. Under the parameterized curve, u i represents the parameter of the curve, so the parameter must be substituted into the mathematical expression of the curve to obtain the point at this time series. When designing a parametric curve interpolator, for the application of any parametric curve mathematical model, since the relationship between parameters and curves or geometric paths in the parametric curve is not obvious, it is not easy to perform inverse operations, that is, it is not easy to use known The corresponding parameter value is deduced from the curve point, so it is not easy to have a good control of the curve rate in the iterative method of the parameter. In actual processing, the parametric curve interpolator will cause an error in the interpolation result curve speed due to inappropriate parameter iteration rules. The curve speed error refers to the difference between the moving speed between adjacent interpolation points and the feed rate of the interpolator. Difference, when the error of the curve rate is larger, it means that the movement between the interpolation points cannot be operated as the feed rate, which often results in excessive position error, long processing time and poor surface of the processed workpiece. Therefore, in the design of the parametric curve interpolator, the parameter iteration method must accurately control the curve rate to reduce the error. In addition to the curve rate error, since the interpolator generates the interpolation point when the tool moves, and the tool moves in a straight line between the two interpolation points, the position command error generated by the interpolator generally includes: radial error (radial error) and chord High error (chord height error). The relationship between the radial error, the chord height error and the curve can be shown in Figure 2, where 8 is the workpiece contour curve, 9 is the tool movement path, 10 is the radial error, 11 is the height error, and 12 is the interpolation point.

径向误差为位置点与曲线间的最短距离,而弦高误差则为两位置点所形成的割线 CD与切割弧间的最大距离。在参数化曲线插值器的设计上,一般引起径向误差的原因为浮点数的圆切误差(rounding error),而引起弦高误差的原因为不正确的进给速率所造成。由于在参数化曲线的表示中,圆切误差可利用精密电脑运算予以降低,而弦高误差往往会远大于径向误差,因此在插值器的设计上,本发明仅考虑弦高误差的影响,并且弦高误差应控制在一个基本长度单位(BLU)以内。The radial error is the shortest distance between the position point and the curve, while the chord height error is the secant line formed by the two position points The maximum distance between CD and cutting arc. In the design of a parametric curve interpolator, the cause of the radial error is generally the rounding error of the floating point number, and the cause of the chord height error is caused by an incorrect feed rate. Because in the representation of the parametric curve, the circular tangent error can be reduced by precise computer operation, and the chord height error is often much larger than the radial error, so in the design of the interpolator, the present invention only considers the influence of the chord height error, And the chord height error should be controlled within one basic length unit (BLU).

参数式曲线的参数迭代法研究上,在Bedi(S.Bedi),Ali(I.Ali),和Quan(N.Quan)所使用的方法中,Δ(ui)为一常数值,此时称该迭代方式为均匀(uniform)的参数迭代。此种方法虽然简单,但是参数的等间距选取并不能保证曲线位置命令弦高误差的边界范围与曲线速率的变化,因为参数与曲线点间的关系并非为一致对应。Chou和Yang根据切削刀具路径与运动系统的动态特性提出精确的参数式曲线的参数迭代方式,以同时控制系统的位置、速率与加速率,更精密的原因是Chou和Yang的方法加入了参数与时间间的动态关系考量。Kim讨论参数化曲线中参数加减速的参数迭代方式,经由参数加减速的方式以获得具高精密度的位置与平滑的速率加减速结果,但是由于参数与曲线间的关系并非一致(uniform)对应,因此在速率上可能未有如预期的加减速行为。In the study of the parameter iteration method of the parametric curve, in the methods used by Bedi (S.Bedi), Ali (I.Ali), and Quan (N.Quan), Δ(u i ) is a constant value, and at this time This iteration method is called uniform parameter iteration. Although this method is simple, the equidistant selection of parameters cannot guarantee the boundary range of the curve position command chord height error and the change of the curve speed, because the relationship between the parameters and the curve points is not a consistent correspondence. According to the dynamic characteristics of the cutting tool path and motion system, Chou and Yang proposed an accurate parametric curve parameter iteration method to simultaneously control the position, speed and acceleration rate of the system. The reason for the more precision is that the method of Chou and Yang added parameters and Consider the dynamic relationship between time. Kim discusses the parameter iteration method of parameter acceleration and deceleration in the parameterized curve. Through the parameter acceleration and deceleration method, high-precision position and smooth speed acceleration and deceleration results are obtained, but because the relationship between the parameters and the curve is not consistent (uniform) correspondence , so the speed may not have the expected acceleration and deceleration behavior.

由于插值器所产生的位置命令与曲线速率精度均会影响加工工件的品质;不精确的位置命令会造成精度不够的加工结果而曲线速率误差会造成工时的延长与速率上的波动会造成震动,影响加工工件的表面精度。因此在实现任何的参数化曲线的过程中,如何设计参数的迭代过程产生位置与曲线速率精度都能符合设计要求,亦即达到低位置命令弦高误差与低曲线速率误差,是参数化曲线插值器实现的重要关键。Because the position command and curve speed accuracy generated by the interpolator will affect the quality of the processed workpiece; the inaccurate position command will cause the processing result with insufficient precision, and the curve speed error will cause the prolongation of working hours and the fluctuation of the speed will cause vibration. Affect the surface accuracy of the processed workpiece. Therefore, in the process of realizing any parametric curve, how to design the iterative process of parameters to produce position and curve speed accuracy can meet the design requirements, that is, to achieve low position command chord height error and low curve speed error, which is parametric curve interpolation An important key to the implementation of the device.

在参数迭代的方法上,虽然Chou和Yang所提出的参数迭代方法因为具有参数与时间间的动态关系而使得曲线速率变动的情况获得改善,但是改善的幅度仍因泰勒展开式的近似程度而受限制,同时也无法准确的控制曲线速率。因此,本发明以Chou和Yang所提出的一般化参数迭代法则为基础提出进给速率控制的参数迭代方式以准确的控制插值器所产生的曲线速率。具速率控制的参数迭代方法是在Chou和Yang原始的一阶近似参数迭代法中加入补偿量,由于补偿量考量参数与曲线速率间的近似关系,因此可大幅降低曲线速率的波动。基于进给速率的控制,参数式曲线插值器的内插点产生可依加工条件的要求以定速率操作模式与加减速操作模式操作。定速率操作模式是使插值器在曲线产生过程中维持相同的曲线速率以减少因速率变动所引起的加工误差。在加减速操作模式中,由于速率控制的参数迭代方式可以获得高精度的曲线速率控制,因此在加减速的设计上可针对进给速率参数执行加减速使曲线速率以相同的加减速方式进行并获得真正的加减速率结果,并且也可完全得知加减速时的速率变化。In the method of parameter iteration, although the parameter iteration method proposed by Chou and Yang has the dynamic relationship between parameters and time, the situation of curve rate changes is improved, but the degree of improvement is still limited by the approximation degree of Taylor expansion. At the same time, it is impossible to accurately control the speed of the curve. Therefore, the present invention proposes a parameter iteration method of feed rate control based on the generalized parameter iteration rule proposed by Chou and Yang to accurately control the curve rate generated by the interpolator. The parameter iteration method with rate control is to add a compensation amount to the original first-order approximate parameter iteration method of Chou and Yang. Since the compensation amount considers the approximate relationship between the parameter and the curve rate, the fluctuation of the curve rate can be greatly reduced. Based on the control of the feed rate, the interpolation point generation of the parametric curve interpolator can be operated in the constant speed operation mode and the acceleration and deceleration operation mode according to the requirements of the processing conditions. The constant rate operation mode is to make the interpolator maintain the same curve rate during the curve generation process to reduce the processing error caused by the rate change. In the acceleration and deceleration operation mode, since the parameter iteration method of the rate control can obtain high-precision curve rate control, in the design of the acceleration and deceleration, the acceleration and deceleration can be performed according to the feed rate parameter so that the curve rate can be carried out in the same acceleration and deceleration mode and Get real acceleration and deceleration rate results, and also fully understand the rate change during acceleration and deceleration.

(A)参数曲线公式(Parametric Curve Formulation)之推导:(A) Derivation of Parametric Curve Formulation:

在参数迭代方法的推导过程中,假定C(u)为参数式曲线点的表示式,其中u为参数表示,并且为时间t的函数,即:u=u(t)。定义In the derivation process of the parameter iteration method, it is assumed that C(u) is the expression of the parametric curve point, where u is the parameter representation and is a function of time t, ie: u=u(t). definition

u(ti)=ui;u(ti+1)=ui+1 u(t i )=u i ; u(t i+1 )=u i+1

则经由泰勒展开式可知: u i + 1 = u i + du dt | t = t i · ( t i + 1 - t i ) + 1 2 · d 2 u dt 2 | t = t i · ( t i + 1 - t i ) 2 + H . O . T - - - - ( 1 ) From the Taylor expansion, we know that: u i + 1 = u i + du dt | t = t i &Center Dot; ( t i + 1 - t i ) + 1 2 &Center Dot; d 2 u dt 2 | t = t i · ( t i + 1 - t i ) 2 + h . o . T - - - - ( 1 )

由于曲线速率V(ui)可表为 V ( u i ) = | | dC ( u ) dt | | u = u i = | | dC ( u ) du | | u = u i · du dt | t = t i Since the curve velocity V(u i ) can be expressed as V ( u i ) = | | c ( u ) dt | | u = u i = | | c ( u ) du | | u = u i &Center Dot; du dt | t = t i

所以 du dt | t = t i = V ( u i ) | | dC ( u ) du | | u = u i - - - - ( 2 ) so du dt | t = t i = V ( u i ) | | c ( u ) du | | u = u i - - - - ( 2 )

对式(2)再进行一次微分可得, d 2 u dt 2 | t = t i = - 1 | | dC ( u ) du | | u = u i 2 [ V ( u i ) · d ( | | dC ( u ) du | | ) | u = u i dt ] - - - - ( 3 ) Differentiate Equation (2) again to get, d 2 u dt 2 | t = t i = - 1 | | c ( u ) du | | u = u i 2 [ V ( u i ) &Center Dot; d ( | | c ( u ) du | | ) | u = u i dt ] - - - - ( 3 )

经由简单的微分演算可知, d ( | | dC ( u ) du | | ) | u = u i dt = d ( | | dC ( u ) du | | ) | u = u i du · du dt | t = t i = d ( | | dC ( u ) du | | ) | u = u i du · V ( u i ) | | dC ( u ) du | | u = u i - - - - ( 4 ) By simple differential calculus, we know that d ( | | c ( u ) du | | ) | u = u i dt = d ( | | c ( u ) du | | ) | u = u i du &Center Dot; du dt | t = t i = d ( | | c ( u ) du | | ) | u = u i du &Center Dot; V ( u i ) | | c ( u ) du | | u = u i - - - - ( 4 )

将式(4)代入式(3)中可得, d 2 u dt 2 | t = t i = - V 2 ( u i ) | | dC ( u ) du | | u = u i 3 · d ( | | dC ( u ) du | | ) | u = u i du - - - - ( 5 ) Substituting formula (4) into formula (3), we can get, d 2 u dt 2 | t = t i = - V 2 ( u i ) | | c ( u ) du | | u = u i 3 &Center Dot; d ( | | c ( u ) du | | ) | u = u i du - - - - ( 5 )

同样经由简单的微分演算可知, d ( | | dC ( u ) du | | ) | u = u i du = dC ( u ) du · d 2 C ( u ) du 2 | | dC ( u ) du | | | u = u i - - - - ( 6 ) Also by simple differential calculus, we can know that d ( | | c ( u ) du | | ) | u = u i du = c ( u ) du &Center Dot; d 2 C ( u ) du 2 | | c ( u ) du | | | u = u i - - - - ( 6 )

将式(6)代入式(5)中可得参数u的二次微分式为, d 2 u dt 2 | t = t i = - V 2 ( u i ) · ( dC ( u ) du · d 2 C ( u ) du 2 ) | | dC ( u ) du | | u = u i 4 - - - - ( 7 ) Substituting formula (6) into formula (5), the quadratic differential formula of parameter u can be obtained as, d 2 u dt 2 | t = t i = - V 2 ( u i ) · ( c ( u ) du · d 2 C ( u ) du 2 ) | | c ( u ) du | | u = u i 4 - - - - ( 7 )

若曲线点产生间隔为一个取样时间Ts,则If the generation interval of the curve points is a sampling time T s , then

ti+1-ti=Ts t i+1 -t i =T s

将式(2)与(7)代入式(1)中并省略高次项,则可分别获得一次与二次近似的参数迭代法则如下:Substituting equations (2) and (7) into equation (1) and omitting higher-order terms, the parameter iteration rules for primary and quadratic approximations can be obtained respectively as follows:

一次近似的参数迭代法则: u i + 1 = u i + V ( u i ) · T s | | dC ( u ) du | | u = u i - - - - ( 8 ) An approximate parameter iteration rule: u i + 1 = u i + V ( u i ) · T the s | | c ( u ) du | | u = u i - - - - ( 8 )

二次近似的参数迭代法则: u i + 1 = u i + V ( u i ) · T s | | dC ( u ) du | | u = u i - V 2 ( u i ) · T s 2 · ( dC ( u ) du · d 2 C ( u ) du 2 ) | u = u i 2 · | | dC ( u ) du | | u = u i 4 - - - - ( 9 ) Parameter iteration rule for quadratic approximation: u i + 1 = u i + V ( u i ) · T the s | | c ( u ) du | | u = u i - V 2 ( u i ) · T the s 2 &Center Dot; ( c ( u ) du &Center Dot; d 2 C ( u ) du 2 ) | u = u i 2 &Center Dot; | | c ( u ) du | | u = u i 4 - - - - ( 9 )

其中,由于期望曲线速率为进给速率设定值,因此在参数式曲线插值器的实现上可以指定V(ui)为参数u=ui时的进给速率设定值。而在平面座标系统中,由于 dC ( u ) du = dC x ( u ) du dC y ( u ) du ; d 2 C ( u ) du 2 = d 2 C x ( u ) du 2 d 2 C y ( u ) du 2 Wherein, since the desired curve rate is the set value of the feed rate, V(u i ) can be designated as the set value of the feed rate when the parameter u=u i in the implementation of the parametric curve interpolator. In the plane coordinate system, however, due to c ( u ) du = c x ( u ) du c the y ( u ) du ; d 2 C ( u ) du 2 = d 2 C x ( u ) du 2 d 2 C the y ( u ) du 2

所以 | | dC ( u ) du | | u = u i = ( dC x ( u ) du ) 2 + ( dC y ( u ) du ) 2 ( dC ( u ) du · d 2 C ( u ) du 2 ) | u = u i = ( dC x ( u ) du · d 2 C x ( u ) du 2 + dC y ( u ) du · d 2 C y ( u ) du 2 ) | u = u i so | | c ( u ) du | | u = u i = ( c x ( u ) du ) 2 + ( c the y ( u ) du ) 2 ( c ( u ) du &Center Dot; d 2 C ( u ) du 2 ) | u = u i = ( c x ( u ) du · d 2 C x ( u ) du 2 + c the y ( u ) du &Center Dot; d 2 C the y ( u ) du 2 ) | u = u i

在应用上,式(9)的二次近似参数迭代法则相对于式(8)的一次近似参数迭代法则具有较小的曲线速率误差。In terms of application, the second approximation parameter iteration rule of formula (9) has smaller curve rate error than the first approximation parameter iteration rule of formula (8).

(B)具速率控制之参数迭代法则设计:(B) Parameter iteration rule design with rate control:

由上述中可知,式(8)与式(9)所表示的一次与二次近似参数迭代法则是由曲线参数对时间的泰勒展开式中简化高阶次项获得,但在应用上,由于未知省略项对曲线的影响,曲线速率精度往往受到限制。有监于此,本发明提出参数补偿的方法,经由补偿量与曲线间的相关性获得更高精度的曲线速率控制。设计的方法是在式(8)所表示的一次近似参数迭代法中加入ε(ui)的补偿量,以修正参数的迭代,由于是经由一次近似参数迭代法进行补偿,因此可以省去曲线二次微分信息的计算。经补偿的参数迭代式为: u i + 1 = u i + 1 ′ + ϵ ( u i ) It can be seen from the above that the first-order and second-order approximation parameter iteration rules represented by equations (8) and (9) are obtained by simplifying the high-order terms in the Taylor expansion of the curve parameters versus time, but in application, due to unknown The impact of omitted items on the curve, the curve rate accuracy is often limited. In view of this, the present invention proposes a parameter compensation method to obtain higher precision curve rate control through the correlation between the compensation amount and the curve. The design method is to add the compensation amount of ε(u i ) to the approximate parameter iteration method represented by formula (8) to correct the parameter iteration. Since the compensation is performed through the approximate parameter iteration method, the curve can be omitted Computation of quadratic differential information. The compensated parameter iterative formula is: u i + 1 = u i + 1 ′ + ϵ ( u i )

其中 u i + 1 ′ = u i + V ( u i ) · T s | | dC ( u ) du | | u = u i in u i + 1 ′ = u i + V ( u i ) &Center Dot; T the s | | c ( u ) du | | u = u i

为求得参数迭代的补偿量ε(ui),本发明使用位置对参数的一次泰勒展开式,并经由进给速率与曲线速率的要求求解补偿量。定义参数曲线表式为C(u),其中, C ( u ) = C x ( u ) C y ( u ) , Cx(u)与Cy(u)可分别表示参数u时的x轴与y轴的曲线位置。In order to obtain the compensation amount ε(u i ) of the parameter iteration, the present invention uses a Taylor expansion of the position versus the parameter, and obtains the compensation amount through the requirements of the feed rate and the curve speed. Define the parametric curve expression as C(u), where, C ( u ) = C x ( u ) C the y ( u ) , C x (u) and C y (u) can represent the curve positions of the x-axis and y-axis respectively when the parameter u is used.

由于, u i + 1 = u i + 1 ′ + ϵ ( u i ) because, u i + 1 = u i + 1 ′ + ϵ ( u i )

经由一次泰勒展开式的近似, C x ( u i + 1 ) = C x ( u i + 1 ′ ) + dC x ( u i + 1 ′ ) du · ϵ ( u i ) C y ( u i + 1 ) = C y ( u i + 1 ′ ) + dC y ( u i + 1 ′ ) du · ϵ ( u i ) Through a Taylor expansion approximation, C x ( u i + 1 ) = C x ( u i + 1 ′ ) + c x ( u i + 1 ′ ) du &Center Dot; ϵ ( u i ) C the y ( u i + 1 ) = C the y ( u i + 1 ′ ) + c the y ( u i + 1 ′ ) du &Center Dot; ϵ ( u i )

为使路径运动C(ui)→C(ui+1)时的速率能够符合进给速率设定值,V(ui),因此令 [ C x ( u i + 1 ) - C x ( u i ) ] 2 + [ C y ( u i + 1 ) - C y ( u i ) ] 2 T s = V ( u i ) In order to make the speed of the path motion C(u i )→C(u i+1 ) meet the feed rate setting value, V(u i ), so let [ C x ( u i + 1 ) - C x ( u i ) ] 2 + [ C the y ( u i + 1 ) - C the y ( u i ) ] 2 T the s = V ( u i )

则可得如下之二次函数表示式:Then the following quadratic function expression can be obtained:

U·ε2+Z·ε+W=0U·ε 2 +Z·ε+W=0

其中, U = X ′ ( u i + 1 ′ ) 2 + Y ′ ( u i + 1 ′ ) 2 Z = 2 [ DX · X ′ ( u i + 1 ′ ) + DY · Y ′ ( u i + 1 ′ ) ] in, u = x ′ ( u i + 1 ′ ) 2 + Y ′ ( u i + 1 ′ ) 2 Z = 2 [ DX &Center Dot; x ′ ( u i + 1 ′ ) + Dy · Y ′ ( u i + 1 ′ ) ]

W=DX2+DY2-(V(ui)·Ts)2 DX = C x ( u i + 1 ′ ) - C x ( u i ) DY = C y ( u i + 1 ′ ) - C y ( u i ) X ′ ( u i + 1 ′ ) = dC x ( u i + 1 ′ ) du Y ′ ( u i + 1 ) = dC y ( u i + 1 ′ ) du W=DX 2 +DY 2 -(V(u i )·T s ) 2 DX = C x ( u i + 1 ′ ) - C x ( u i ) Dy = C the y ( u i + 1 ′ ) - C the y ( u i ) x ′ ( u i + 1 ′ ) = c x ( u i + 1 ′ ) du Y ′ ( u i + 1 ) = c the y ( u i + 1 ′ ) du

并可求解补偿量ε(ui)为: ϵ 1,2 ( u i ) = - Z ± Z 2 - 4 UW 2 U = - [ DX · X ′ ( u i + 1 ′ ) + DY · Y ′ ( u i + 1 ′ ) ] ± [ X ′ ( u i + 1 ′ ) 2 + Y ′ ( u i + 1 ′ ) 2 ] · ( V ( u i ) · T s ) 2 - [ DY · X ′ ( u i + 1 ′ ) - DX · Y ′ ( u i + 1 ′ ) ] 2 X ′ ( u i + 1 ′ ) 2 + Y ′ ( u i + 1 ′ ) 2 - - - - ( 10 ) And the compensation amount ε(u i ) can be solved as: ϵ 1,2 ( u i ) = - Z ± Z 2 - 4 UW 2 u = - [ DX · x ′ ( u i + 1 ′ ) + Dy · Y ′ ( u i + 1 ′ ) ] ± [ x ′ ( u i + 1 ′ ) 2 + Y ′ ( u i + 1 ′ ) 2 ] &Center Dot; ( V ( u i ) &Center Dot; T the s ) 2 - [ Dy &Center Dot; x ′ ( u i + 1 ′ ) - DX · Y ′ ( u i + 1 ′ ) ] 2 x ′ ( u i + 1 ′ ) 2 + Y ′ ( u i + 1 ′ ) 2 - - - - ( 10 )

在式(10)中,由于补偿量ε(ui)为二次方程序的根值,因此必须讨论其根值的属性并选择适当的根值作为速率控制参数迭代法的补偿值。定义 D → = DX DY C → ′ = X ′ ( u i + 1 ′ ) Y ′ ( u i + 1 ′ ) In formula (10), since the compensation amount ε(u i ) is the root value of the quadratic program, it is necessary to discuss the properties of its root value and select an appropriate root value as the compensation value of the rate control parameter iteration method. definition D. &Right Arrow; = DX Dy C &Right Arrow; ′ = x ′ ( u i + 1 ′ ) Y ′ ( u i + 1 ′ )

则式(10)可以改写为 ϵ 1,2 ( u i ) = - ( D → · C → ′ ) ± | | C → ′ | | 2 · ( V ( u i ) · T s ) 2 - | C → ′ × D → | 2 | | C → ′ | | 2 - - - - ( 11 ) Then formula (10) can be rewritten as ϵ 1,2 ( u i ) = - ( D. &Right Arrow; &Center Dot; C &Right Arrow; ′ ) ± | | C &Right Arrow; ′ | | 2 · ( V ( u i ) · T the s ) 2 - | C &Right Arrow; ′ × D. &Right Arrow; | 2 | | C &Right Arrow; ′ | | 2 - - - - ( 11 )

其中,向量 曲线微分向量

Figure C9812311100152
与参数ui、ui+1′、ui+1间的几何关系可由图3表示,图中θ为向量 与曲线微分向量 间的夹角。在式(11)中,由于 | | C → ′ | | 2 · ( V ( u i ) · T s ) 2 - | C → ′ × D → | 2 = | | C → ′ | | 2 · T s 2 [ V 2 ( u i ) - | C → ′ × D → | 2 | | C → ′ | | 2 · T s 2 ] = | | C → ′ | | 2 · T s 2 [ V 2 ( u i ) - | C → ′ | | C → ′ | | × D → T s | 2 ] = | | C → ′ | | 2 · T s 2 [ V 2 ( u i ) - | | D → T s | | 2 · sin 2 θ ] Among them, the vector curve differential vector
Figure C9812311100152
The geometric relationship with the parameters u i , u i+1 ′, u i+1 can be shown in Figure 3, where θ is a vector Differentiate vectors with curves angle between. In formula (11), since | | C &Right Arrow; ′ | | 2 · ( V ( u i ) · T the s ) 2 - | C &Right Arrow; ′ × D. &Right Arrow; | 2 = | | C &Right Arrow; ′ | | 2 &Center Dot; T the s 2 [ V 2 ( u i ) - | C &Right Arrow; ′ × D. &Right Arrow; | 2 | | C &Right Arrow; ′ | | 2 &Center Dot; T the s 2 ] = | | C &Right Arrow; ′ | | 2 &Center Dot; T the s 2 [ V 2 ( u i ) - | C &Right Arrow; ′ | | C &Right Arrow; ′ | | × D. &Right Arrow; T the s | 2 ] = | | C &Right Arrow; ′ | | 2 &Center Dot; T the s 2 [ V 2 ( u i ) - | | D. &Right Arrow; T the s | | 2 &Center Dot; sin 2 θ ]

并且 | | C → ′ | | 2 > 0 , T s 2 > 0 and | | C &Right Arrow; ′ | | 2 > 0 , T the s 2 > 0

所以 { | | C → ′ | | 2 · ( V ( u i ) · T s ) 2 - | C → ′ × D → | 2 } { [ V 2 ( u i ) - | | D → T s | | 2 · sin 2 θ ] } 同号so { | | C &Right Arrow; ′ | | 2 · ( V ( u i ) &Center Dot; T the s ) 2 - | C &Right Arrow; ′ × D. &Right Arrow; | 2 } and { [ V 2 ( u i ) - | | D. &Right Arrow; T the s | | 2 &Center Dot; sin 2 θ ] } same number

其中, | | D → T s | | 2 = ( | | D → | | T s ) 2 为参数ui+1′时曲线插值器产生的曲线速率平方。in, | | D. &Right Arrow; T the s | | 2 = ( | | D. &Right Arrow; | | T the s ) 2 is the square of the curve rate generated by the curve interpolator when the parameter u i+1 ′ is used.

由于 { | | C → ′ | | 2 · ( V ( u i ) · T s ) 2 - | C → ′ × D → | 2 } { [ V 2 ( u i ) - | | D → T s | | 2 · sin 2 θ ] } 同号,因此补偿量ε1,2(ui)会有下列三种情形:because { | | C &Right Arrow; ′ | | 2 &Center Dot; ( V ( u i ) · T the s ) 2 - | C &Right Arrow; ′ × D. &Right Arrow; | 2 } and { [ V 2 ( u i ) - | | D. &Right Arrow; T the s | | 2 &Center Dot; sin 2 θ ] } The same sign, so the compensation amount ε 1,2 (u i ) will have the following three situations:

(1)当 [ V 2 ( u i ) > ( | | D → | | T s ) 2 · sin 2 θ ] 时,补偿量ε1,2(ui)为不同的实数值。(1) when [ V 2 ( u i ) > ( | | D. &Right Arrow; | | T the s ) 2 · sin 2 θ ] When , the compensation amount ε 1,2 (u i ) has different real values.

(2)当 [ V 2 ( u i ) = ( | | D → | | T s ) 2 · sin 2 θ ] 时,补偿量ε1,2(ui)为相同的实数值。(2) when [ V 2 ( u i ) = ( | | D. &Right Arrow; | | T the s ) 2 · sin 2 θ ] When , the compensation amount ε 1,2 (u i ) has the same real value.

(3)当 [ V 2 ( u i ) < ( | | D &RightArrow; | | T s ) 2 &CenterDot; sin 2 &theta; ] 时,补偿量ε1,2(ui)为共轭虚数值。(3) when [ V 2 ( u i ) < ( | | D. &Right Arrow; | | T the s ) 2 &Center Dot; sin 2 &theta; ] When , the compensation amount ε 1,2 (u i ) is the conjugate imaginary value.

经过比较曲线插值器产生的曲线速率 进给速率V(ui)与夹角θ可知 { [ V 2 ( u i ) - | | D &RightArrow; T s | | 2 &CenterDot; sin 2 &theta; ] } 的正负号取决于向量

Figure C9812311100162
与曲线微分向量 间的夹角θ。因此可能形成相同实数值或共轭虚数值补偿量ε1,2(ui)的情况如图4所示。当ui+1′落在a,b附近时,由于向量 与曲线微分向量 近乎垂直,因Curve rate produced by the comparison curve interpolator The feed rate V(u i ) and the included angle θ can be known { [ V 2 ( u i ) - | | D. &Right Arrow; T the s | | 2 &Center Dot; sin 2 &theta; ] } The sign of depends on the vector
Figure C9812311100162
Differentiate vectors with curves The angle θ between them. Therefore, it is possible to form the same real-valued or conjugate imaginary-valued compensation quantity ε 1,2 (u i ) as shown in FIG. 4 . When u i+1 ′ falls near a, b, since the vector Differentiate vectors with curves nearly vertical, because

此sin2θ≌1同时 [ V 2 ( u i ) &le; ( | | D &RightArrow; | | T s ) 2 &CenterDot; sin 2 &theta; ] 亦比较可能发生。换言之,相同实数值或共轭虚数值补偿量较可能发生在曲线曲率较大的点附近。但在实际的应用上,相同实数值或共轭虚数值补偿量并不会发生,因为基于位置命令精确度的考量,曲线参数

Figure C9812311100167
间并不允许有大曲率的曲线变化,同时在变化较为平缓的曲线应用上也不会发生相同实数值或共轭虚数值补偿量的情形。因此,补偿量ε1,2(ui)在实际的应用上一般为不同的实数值。由式(11), &epsiv; 1,2 ( u i ) = - ( D &RightArrow; &CenterDot; C &RightArrow; &prime; | | C &RightArrow; &prime; ) &PlusMinus; ( V ( u i ) &CenterDot; T s ) 2 - | C &RightArrow; &prime; | | C &RightArrow; &prime; | | &times; D &RightArrow; | 2 | | C &RightArrow; &prime; | | = - ( | | D &RightArrow; | | &CenterDot; cos &theta; ) &PlusMinus; ( V ( u i ) &CenterDot; T s ) 2 - | | D &RightArrow; | | 2 &CenterDot; sin 2 &theta; | | C &RightArrow; &prime; | | = - ( | | D &RightArrow; | | &CenterDot; cos &theta; ) &PlusMinus; ( V ( u i ) &CenterDot; T s ) 2 - | | D &RightArrow; | | 2 + | | D &RightArrow; | | 2 cos 2 &theta; | | C &RightArrow; &prime; | | This sin 2 θ≌1 simultaneously [ V 2 ( u i ) &le; ( | | D. &Right Arrow; | | T the s ) 2 &CenterDot; sin 2 &theta; ] is also more likely to occur. In other words, the same real-valued or conjugate imaginary-valued compensation amounts are more likely to occur near points where the curvature of the curve is greater. However, in practical applications, the same real value or conjugate imaginary value compensation will not occur, because based on the consideration of the accuracy of the position command, the curve parameters
Figure C9812311100167
Curve changes with large curvature are not allowed between them, and the same real value or conjugate imaginary value compensation amount will not occur in the application of relatively gentle curves. Therefore, the compensation amount ε 1,2 (u i ) generally has different real values in practical applications. By formula (11), &epsiv; 1,2 ( u i ) = - ( D. &Right Arrow; &Center Dot; C &Right Arrow; &prime; | | C &Right Arrow; &prime; ) &PlusMinus; ( V ( u i ) &CenterDot; T the s ) 2 - | C &Right Arrow; &prime; | | C &Right Arrow; &prime; | | &times; D. &Right Arrow; | 2 | | C &Right Arrow; &prime; | | = - ( | | D. &Right Arrow; | | &CenterDot; cos &theta; ) &PlusMinus; ( V ( u i ) &CenterDot; T the s ) 2 - | | D. &Right Arrow; | | 2 &CenterDot; sin 2 &theta; | | C &Right Arrow; &prime; | | = - ( | | D. &Right Arrow; | | &CenterDot; cos &theta; ) &PlusMinus; ( V ( u i ) &CenterDot; T the s ) 2 - | | D. &Right Arrow; | | 2 + | | D. &Right Arrow; | | 2 cos 2 &theta; | | C &Right Arrow; &prime; | |

( V ( u i ) &CenterDot; T s ) 2 - | | D &RightArrow; | | 2 = &mu; make ( V ( u i ) &Center Dot; T the s ) 2 - | | D. &Right Arrow; | | 2 = &mu;

当ui+1′采用一阶近似参数迭代方式时,μ一般为一相对小值,因此经由泰勒展开式的近似可得知,

Figure C9812311100171
When u i+1 ′ adopts the first-order approximate parameter iteration method, μ is generally a relatively small value, so it can be known from the approximation of the Taylor expansion,
Figure C9812311100171

即ε1,2(ui)有一负补偿值与在零点附近的补偿值,并且该负补偿值远离零点。由于补偿值在此的目的是补偿参数ui+1′在曲线速率上的不足,因此选择在零点附近的补偿值以获得较为可靠的参数迭代结果,即 &epsiv; ( u i ) = - [ DX &CenterDot; X &prime; ( u i + 1 &prime; ) + DY &CenterDot; Y &prime; ( u i + 1 &prime; ) ] + [ X &prime; ( u i + 1 &prime; ) 2 + Y &prime; ( u i + 1 &prime; ) 2 ] &CenterDot; ( V ( u i ) &CenterDot; T s ) 2 - [ DY &CenterDot; X &prime; ( u i + 1 &prime; ) - DX &CenterDot; Y &prime; ( u i + 1 &prime; ) ] 2 [ X &prime; ( u i + 1 &prime; ) 2 + Y &prime; ( u i + 1 &prime; ) 2 ] That is, ε 1,2 (u i ) has a negative compensation value and a compensation value near the zero point, and the negative compensation value is far away from the zero point. Since the purpose of the compensation value here is to compensate for the insufficiency of the parameter u i+1 ′ in the curve rate, the compensation value near the zero point is selected to obtain a more reliable parameter iteration result, namely &epsiv; ( u i ) = - [ DX &Center Dot; x &prime; ( u i + 1 &prime; ) + Dy &Center Dot; Y &prime; ( u i + 1 &prime; ) ] + [ x &prime; ( u i + 1 &prime; ) 2 + Y &prime; ( u i + 1 &prime; ) 2 ] &CenterDot; ( V ( u i ) &Center Dot; T the s ) 2 - [ Dy &Center Dot; x &prime; ( u i + 1 &prime; ) - DX &CenterDot; Y &prime; ( u i + 1 &prime; ) ] 2 [ x &prime; ( u i + 1 &prime; ) 2 + Y &prime; ( u i + 1 &prime; ) 2 ]

在本节所讨论的方法中,由于是基于插值曲线速率的不正确而加入补偿量,因此可获得较高的曲线速率精确度。In the method discussed in this section, because the compensation amount is added based on the incorrect interpolation curve rate, a higher accuracy of the curve rate can be obtained.

在上述具速率控制的参数迭代法则中,由于可以精确控制产生曲线的曲线速率,因此可应用于参数化曲线插值器的设计,并且可依加工条件的不同而有不同的操作模式。一般依加工条件的不同可将插值器的操作模式分为(1)定速率操作模式与(2)加减速操作模式。定速率操作模式是指在参数式曲线实现的过程中,插值器能产生固定曲线速率的内插点。加减速操作模式则可应用在曲线运动开始与终端的插值过程中以获得较为平缓的曲线速率变化。In the above-mentioned parameter iteration algorithm with rate control, since the curve rate of the generated curve can be precisely controlled, it can be applied to the design of a parametric curve interpolator, and can have different operating modes according to different processing conditions. Generally, the operation modes of the interpolator can be divided into (1) constant speed operation mode and (2) acceleration/deceleration operation mode according to different processing conditions. The constant rate operation mode means that in the process of parametric curve realization, the interpolator can generate interpolation points with a fixed curve rate. The acceleration and deceleration operation mode can be applied in the interpolation process between the beginning and the end of the curve motion to obtain a relatively gentle curve speed change.

(C)应用本实施例进给速率控制参数迭代法设计插值器,施行加工例子之比较:(C) Apply the feed rate control parameter iteration method of this embodiment to design an interpolator and perform a comparison of processing examples:

(C.1)应用例(C.1) Application example

在系统的设定上,本发明所使用的系统是以C语言编写软件插值程序并于个人电脑具Pentium 200MHz CPU的系统上执行。在参数曲线的设定上,本发明采用2级数(2degree)的NURBS参数化曲线模拟蝴蝶结曲线的命令路径如图5所示。其相关的NURBS参数设定为:In the setting of the system, the system used in the present invention is to write the software interpolation program in C language and execute it on the system of the personal computer tool Pentium 200MHz CPU. In the setting of the parameter curve, the present invention uses a 2-degree (2degree) NURBS parameterized curve to simulate the command path of the bow-tie curve as shown in FIG. 5 . Its related NURBS parameters are set to:

1.控制点依序为 0 0 , - 150 - 150 , - 150 150 , 0 0 , 150 - 150 , 150 150 , 0 0 mm . 1. The order of control points is 0 0 , - 150 - 150 , - 150 150 , 0 0 , 150 - 150 , 150 150 , 0 0 mm .

2.权重向量为:W=[1 0.85 0.85 1 0.85 0.85 1]。2. The weight vector is: W=[1 0.85 0.85 1 0.85 0.85 1].

3.节点向量为: U = 0 0 0 1 4 1 2 1 2 3 4 1 1 1 . 3. The node vector is: u = 0 0 0 1 4 1 2 1 2 3 4 1 1 1 .

并且以下的参数迭代过程中,相关的参数设定为:And in the following parameter iteration process, the relevant parameters are set as:

1.取样时间:Ts=0.01sec。1. Sampling time: T s =0.01 sec.

2.进给速率:F=12m/min=200mm/sec。2. Feed rate: F=12m/min=200mm/sec.

(C.2)定速率操作模式:(C.2) Constant rate operation mode:

由于具速率控制之参数式曲线插值器设计可以精确的控制插值结果的曲线速率,因此在曲线插值过程中可利用固定进给速率的给定以获得固定曲线速率的插值结果。Since the design of the parametric curve interpolator with speed control can precisely control the curve speed of the interpolation result, the given fixed feed rate can be used to obtain the interpolation result of the fixed curve speed during the curve interpolation process.

参数式曲线插值器定速率操作模式模拟结果:Simulation results of parametric curve interpolator constant rate operation mode:

在此将比较由不同参数迭代法设计之参数式曲线插值器操作模式,均匀(uniform),一阶近似(1st order approximation),二阶近似(2nd orderapproximation),定速率(constant feedrate)间的插值结果曲线速率变动情形。Here we will compare the operation modes of parametric curve interpolators designed by different parameter iteration methods, uniform (uniform), first order approximation (1st order approximation), second order approximation (2nd order approximation), constant rate (constant feedrate) The resulting curve rate changes.

不同插值器操作模式的模拟插值曲线速率结果如图6、7、8所示,而定速率操作模式中参数补偿值计算结果如图9所示。Figures 6, 7, and 8 show the speed results of the simulated interpolation curves in different interpolator operating modes, while the calculation results of parameter compensation values in the constant-rate operating mode are shown in Figure 9.

插值模拟结果总结如表1所示:The summary of interpolation simulation results is shown in Table 1:

表1:

Figure C9812311100191
Table 1:
Figure C9812311100191

其中,in,

1.曲线速率误差的量测是指插值器所产生的曲线速率与设计之进给速率间的差值。1. The measurement of curve rate error refers to the difference between the curve rate generated by the interpolator and the designed feed rate.

2.曲线速率变动率的计算公式为 &eta; i = V f - V i V f , 表示每一取样时间的曲线速率变动率2. The formula for calculating the rate of change of the curve rate is &eta; i = V f - V i V f , Indicates the rate of change of the curve rate for each sampling time

Vi表示每一取样时间插值器产生的曲线速率V i represents the curve rate generated by the interpolator per sample time

Vf为进给速率设定V f is the feed rate setting

3.均匀(uniform)参数迭代方式时的参数间距为取样时间大小。3. The parameter spacing in the uniform parameter iteration mode is the size of the sampling time.

在模拟结果中明显可知,由于速率控制的参数迭代方式考虑曲线速率与补偿值间的关系,定速率操作模式的插值方式具有最小的曲线速率误差与速率变动率。同时由于是对一阶(1st)近似的参数迭代方式作补偿,因此可知经补偿后的一阶(1st)近似的速率精度获得提升,同时超越二阶(2nd)近似的参数迭代所提供的速率精度。而均匀参数操作模式的插值方式具有最大的曲线速率误差与速率变动率,原因是参数与曲线间并非是均匀分布。在内插点间命令弦高误差的比较上,一阶(1st)近似,二阶(2nd)近似与定速率操作模式的命令弦高误差相差不大,原因是在本模拟所使用的蝴蝶结曲线中曲线速率变化对内插点间命令弦高误差的影响不大,但是均匀操作模式命令弦高误差明显比其他的参数迭代方式增加许多。而在每一内插点的计算时间比较上,由于均匀参数迭代方式产生内插点所需的时间仅是曲线内插点的计算时间因此会最少,而在一阶(1st)近似与二阶(2nd)近似的比较上,由于二阶(2nd)近似需要曲线二次微分与高阶的计算,因此计算时间会比一阶(1st)近似多,而速率控制的参数迭代方式虽然是以一阶(1st)近似为基础也不需进行曲线的二次微分计算,但是需要计算额外一曲线内插点以及一些补偿值的计算过程,因此计算量会比二阶(2nd)近似稍高。虽然具速率控制的参数迭代方式需要较其他参数迭代方式高出一些的计算量,但是插值器的曲线速率精度却比其他参数迭代方式要高出许多,基于此高精度的曲线速率控制,控制器或工件设计工程师可掌握更明确的加工过程;同时在与取样时间的比较上,定速率操作模式内插点计算时间所占的比例极小,因此计算时间在即时实现过程中为可接受。总结在曲线速率的变化程度比较上,参数式曲线插值器以定速率操作模式具有最小的曲线速率误差,其次是二阶(2nd)近似的操作模式与一阶(1st)近似的操作模式,均匀参数操作模式具有最大的曲线速率误差。It is obvious from the simulation results that the interpolation mode of the constant rate operation mode has the smallest curve rate error and rate change rate because the parameter iteration method of the rate control considers the relationship between the curve rate and the compensation value. At the same time, because the parameter iteration method of the first-order (1st) approximation is compensated, it can be seen that the rate accuracy of the first-order (1st) approximation after compensation is improved, and at the same time surpasses the rate provided by the parameter iteration of the second-order (2nd) approximation precision. The interpolation method of the uniform parameter operation mode has the largest curve rate error and rate change rate, because the parameter and the curve are not uniformly distributed. In the comparison of the command chord height error between the interpolation points, the first-order (1st) approximation, the second-order (2nd) approximation and the command chord height error of the constant speed operation mode are not much different, because the bowtie curve used in this simulation The speed change of the middle curve has little influence on the command chord height error between interpolation points, but the command chord height error of the uniform operation mode is significantly larger than other parameter iteration methods. In the comparison of the calculation time of each interpolation point, the time required to generate the interpolation point by the uniform parameter iteration method is only the calculation time of the curve interpolation point, so it will be the least, and the first-order (1st) approximation and the second-order In comparison with the (2nd) approximation, since the second-order (2nd) approximation requires curve quadratic differential and higher-order calculations, the calculation time will be longer than that of the first-order (1st) approximation, and the parameter iteration method of the rate control is based on a The first-order (1st) approximation is based on the second-order differential calculation of the curve, but it needs to calculate an additional curve interpolation point and some compensation value calculations, so the calculation amount will be slightly higher than the second-order (2nd) approximation. Although the parameter iteration method with rate control requires a higher amount of calculation than other parameter iteration methods, the curve rate accuracy of the interpolator is much higher than other parameter iteration methods. Based on this high-precision curve rate control, the controller Or the workpiece design engineer can grasp a clearer processing process; at the same time, compared with the sampling time, the calculation time of the interpolation point in the fixed-rate operation mode accounts for a very small proportion, so the calculation time is acceptable in the real-time realization process. To sum up, in terms of the change degree of the curve rate, the parametric curve interpolator has the smallest curve rate error in the constant rate operation mode, followed by the second-order (2nd) approximation operation mode and the first-order (1st) approximation operation mode. The parameter operating mode has the largest curve rate error.

(C.3)加减速操作模式:(C.3) Acceleration and deceleration operation mode:

传统的加减速方式是将位置命令经过低通滤波器以产生较为平滑的命令输入。但是此法会使具有较大变化的命令路径产生径向与弦高误差,如加工曲线的起点与终点附近。有监于此,Kim提出使用参数的加减速方式以达到参数化曲线加减速的目的,同时因为是对参数进行加减速的操作,因此内插点具有较小的径向误差。虽然Kim所提出的参数加减速方式可以使内插点的产生具有加减速的功能,但是在某些曲线上并不能真正达到速率加减速的目的,其原因是参数空间与曲线并非是均匀对应。为获得曲线真正的加减速以适当的控制速率在曲线运动中的变化,本发明于此提出进给速率参数加减速应用的参数化曲线插值器的加减速操作模式。The traditional way of acceleration and deceleration is to pass the position command through a low-pass filter to generate a smoother command input. However, this method will cause radial and chord height errors in the command path with large changes, such as near the starting point and end point of the processing curve. In view of this, Kim proposed to use the acceleration and deceleration method of parameters to achieve the purpose of parameterized curve acceleration and deceleration. At the same time, because the acceleration and deceleration operation is performed on parameters, the interpolation point has a small radial error. Although the parameter acceleration and deceleration method proposed by Kim can make the generation of interpolation points have the function of acceleration and deceleration, it cannot really achieve the purpose of rate acceleration and deceleration on some curves, because the parameter space and the curve do not correspond uniformly. In order to obtain the real acceleration and deceleration of the curve and the change in the curve movement at an appropriate control rate, the present invention proposes the acceleration and deceleration operation mode of the parametric curve interpolator for the application of the feed rate parameter acceleration and deceleration.

由于在具速率控制的参数迭代过程中,工件设计者可以精确掌握速率的变化情形,因此可以用以作为进给速率参数加减速的实现,并可精确掌握加减速时的加速率与减速率变化。具速率控制的参数迭代方式是为控制参数的迭代使插值器的曲线速率能符合进给速率的设定值Vui,因此在加减速的设计上可以将进给速率参数Vui进行加减速的操作。尔后再将经过加减速计算的进给速率参数Vui代入进给速率控制的参数迭代公式以使曲线速率变化如预期,如此可获得更精确的加减速控制,也可获得更精确的加工结果。Because in the parameter iteration process with rate control, the workpiece designer can accurately grasp the change of the rate, so it can be used as the realization of the acceleration and deceleration of the feed rate parameter, and can accurately grasp the acceleration and deceleration rate changes during acceleration and deceleration . The parameter iteration method with rate control is to control the iteration of parameters so that the curve rate of the interpolator can meet the set value Vu i of the feed rate, so the feed rate parameter Vu i can be accelerated and decelerated in the design of acceleration and deceleration operate. Then, the feed rate parameter Vu i calculated by acceleration and deceleration is substituted into the parameter iteration formula of feed rate control to make the curve rate change as expected, so that more accurate acceleration and deceleration control can be obtained, and more accurate processing results can also be obtained.

相同的应用也可用在一阶(1st)与二阶(2nd)近似的参数迭代法则,或其他与进给速率相关的参数迭代法则。但是为确切掌握加减速时的加速率与减速率变化,参数迭代法必须使插值器的曲线速率能精确的反应出进给速率设定,因此建议使用本发明所提出之具速率控制之参数迭代方式实现参数化曲线插值器的加减速操作模式。The same application can also be used for first order (1st) and second order (2nd) approximation parameter iteration rules, or other feed rate dependent parameter iteration rules. However, in order to accurately grasp the change of acceleration rate and deceleration rate during acceleration and deceleration, the parameter iteration method must make the curve rate of the interpolator accurately reflect the feed rate setting, so it is recommended to use the parameter iteration with rate control proposed by this invention The method realizes the acceleration and deceleration operation mode of the parametric curve interpolator.

参数式曲线插值器加减速操作模式模拟结果:Simulation results of acceleration and deceleration operation mode of parametric curve interpolator:

在参数式曲线插值器加减速操作模式的模拟中,由于加速率与减速率是相同的过程,因此只比较参数式曲线插值器在初始的加速率过程。在本节的模拟中将比较三种与进给速率相关的参数迭代方式:第一(1st)阶近似,第二(2nd)阶近似,与速率控制参数迭代方式应用于加减速过程中曲线速率的变化情形,同时为观察参数迭代法则应用于不同加减速方式的结果,本节将比较三种常用的加减速方式-线性加减速、二次曲线加减速(parabolic)、与指数加减速。由于二次曲线加减速方式为平滑速率变化的加减速方式,因此比较不同参数迭代方式应用于二次曲线加减速方式的插值曲线速率模拟结果如图10,11,12所示。参数迭代方式应用于三种不同加减速方式时最大曲线速率差值列表于表2中。In the simulation of the acceleration and deceleration operation mode of the parametric curve interpolator, since the acceleration rate and the deceleration rate are the same process, only the initial acceleration rate process of the parametric curve interpolator is compared. In the simulation in this section, three parameter iteration methods related to the feed rate will be compared: the first (1st) order approximation, the second (2nd) order approximation, and the rate control parameter iteration method applied to the curve rate during acceleration and deceleration. At the same time, in order to observe the results of applying the parameter iteration rule to different acceleration and deceleration methods, this section will compare three commonly used acceleration and deceleration methods - linear acceleration and deceleration, quadratic acceleration and deceleration (parabolic), and exponential acceleration and deceleration. Since the quadratic curve acceleration and deceleration mode is an acceleration and deceleration mode with smooth rate changes, the simulation results of the interpolation curve speed of different parameter iteration methods applied to the quadratic curve acceleration and deceleration mode are shown in Figures 10, 11, and 12. Table 2 lists the maximum curve speed difference when the parameter iteration method is applied to three different acceleration and deceleration methods.

表2:速率误差

Figure C9812311100221
Table 2: Rate Error
Figure C9812311100221

在蝴蝶结曲线的加速率过程中,由于曲线曲率是由小至大渐渐变化,因此在参数迭代时,其曲线速率的误差会渐渐增加如图10,11,12中所示。但是在比较不同的参数迭代法时,使用具速率控制的参数迭代方式明显优于其他与进给速率相关的参数迭代法。而在不同加减速方式的比较上,指数式的加减速方式具有最大的曲线速率误差,二次曲线加减速方式的曲线速率变化较为平滑且速率误差最小。因此总结上述的模拟结果可知,在加减速过程中,当进给速率是以二次曲线的方式平滑变化时,则具速率控制的参数迭代方式可以使插值器所产生的曲线速率具有高精确度的二次曲线变化。换言之,当加减速之进给速率变化曲线为经过设计使参数化曲线插值器的插值结果具有所设计的加速率与减速率变化时,经由具速率控制的参数迭代方式所设计的参数式曲线插值器可使插值器的加速率与减速率结果如设计,尤其是在高速进给速率曲线运动时。In the acceleration rate process of the bow-tie curve, since the curvature of the curve gradually changes from small to large, the error of the curve rate will gradually increase during parameter iteration, as shown in Figures 10, 11, and 12. But when comparing different parameter iteration methods, the parameter iteration method with rate control is obviously better than other parameter iteration methods related to feed rate. In the comparison of different acceleration and deceleration methods, the exponential acceleration and deceleration method has the largest curve rate error, and the quadratic curve acceleration and deceleration method has a smoother curve rate change and the smallest rate error. Therefore, summing up the above simulation results, it can be seen that in the process of acceleration and deceleration, when the feed rate changes smoothly in the form of a quadratic curve, the parameter iteration method with rate control can make the curve rate generated by the interpolator have high accuracy The change of the quadratic curve. In other words, when the feed rate change curve of acceleration and deceleration is designed so that the interpolation result of the parametric curve interpolator has the designed acceleration rate and deceleration rate change, the parametric curve interpolation is designed through the parameter iteration method with speed control The interpolator can make the acceleration and deceleration results of the interpolator as designed, especially when the high feed rate curve is moved.

由上实施例及所作比较实例可知,本发明提出具速率控制的参数式曲线插值器设计方式,并且依据曲线速率的控制目的不同而有定速率操作模式与加减速操作模式等以适应不同的加工条件。本发明所提出之速率控制参数迭代方式因为加入考虑参数与曲线速率关系的补偿量,所以应用在插值器的设计上可以获得精确的曲线速率插值结果。由于速率的变化会影响到加工工件的表面粗糙度,因此定速率操作模式旨在参数化曲线实现过程中,相邻内插点间的移动速率维持定值。在参数化曲线插值器加减速操作模式的讨论上,由于本发明提出高精密度要求的速率控制参数迭代方式,因此可应用于曲线速率加减速的控制,利用平滑变化的进给速率与精确的进给速率控制参数迭代方式以使参数化曲线插值器的的插值结果曲线速率的加速率与减速率变化可如预期。It can be seen from the above embodiment and the comparative examples that the present invention proposes a parametric curve interpolator design method with speed control, and according to the different control purposes of the curve speed, there are constant speed operation modes and acceleration and deceleration operation modes to adapt to different processing condition. The rate control parameter iteration method proposed by the present invention can obtain accurate curve rate interpolation results when applied to the design of the interpolator because the compensation amount considering the relationship between the parameter and the curve rate is added. Since the speed change will affect the surface roughness of the processed workpiece, the constant speed operation mode aims to maintain a constant value of the movement speed between adjacent interpolation points during the realization of the parameterized curve. In the discussion of the acceleration and deceleration operation mode of the parametric curve interpolator, since the present invention proposes a high-precision speed control parameter iteration method, it can be applied to the control of curve speed acceleration and deceleration, and the smoothly changing feed rate and accurate The feed rate control parameter iterates so that the acceleration and deceleration rates of the interpolated result curve rate of the parameterized curve interpolator vary as expected.

在计算时间上,虽然本发明所提出之参数式曲线插值方式需要较多的计算过程,但是其结果能更精确的控制曲线路径的位置与速率,使工件加工结果能更加的精确。在电脑与处理器晶片速率越来越快,加工品质要求日益提高的现在,本发明所提出之参数式曲线插值器设计同时提供良好的位置及曲线速率精度。In terms of calculation time, although the parametric curve interpolation method proposed by the present invention requires more calculation process, the result can control the position and speed of the curve path more accurately, so that the machining result of the workpiece can be more accurate. Now that the speed of computers and processor chips is getting faster and faster, and the processing quality requirements are increasing, the design of the parametric curve interpolator proposed by the present invention provides good position and curve speed accuracy at the same time.

Claims (8)

1.一种电脑数控曲线路径速率控制方法,是以在参数化曲线实现的过程中,插值器能产生固定曲线速率的内插点的等速控制操作曲线路径加工,包括下列步骤:1. A computer numerical control curve path speed control method is to process the constant speed control operation curve path of the interpolation point that the interpolator can produce the fixed curve speed in the process of realizing the parameterized curve, comprising the following steps: (1)参数化曲线插值器在接收由电脑辅助设计所解译曲线的信息后,以参数化曲线的参数迭代法产生连续的内插点;(1) After receiving the information of the curve interpreted by the computer-aided design, the parametric curve interpolator generates continuous interpolation points with the parameter iteration method of the parametric curve; (2)仅考虑插值器产生的位置命令误差的弦高误差的影响,而不考虑径向误差;(2) Only the influence of the chord height error of the position command error generated by the interpolator is considered, and the radial error is not considered; (3)导出参数曲线公式的一次近似参数迭代法则;(3) derive an approximate parameter iteration rule of the parametric curve formula; (4)设计具有速率控制的参数迭代法则,将该表示的一次近似参数迭代法则提出参数补偿,经由补偿量与曲线间的相关性获得更高精度的曲线速率控制;(4) Design a parameter iteration rule with rate control, propose a parameter compensation based on an approximate parameter iteration rule, and obtain a higher-precision curve rate control through the correlation between the compensation amount and the curve; (5)选择在零点附近的补偿值以获得较为可靠的参数迭代结果;以及(5) Select the compensation value near the zero point to obtain a more reliable parameter iteration result; and (6)将该获得补偿值的连续的内插点送入控制系统使刀具中心沿着参数化曲线移动。(6) Send the continuous interpolation points obtained from the compensation value to the control system to move the tool center along the parameterized curve. 2.根据权利要求1所述的电脑数控曲线路径速率控制方法,其特征在于,所用的该参数化曲线为非等距B云形线。2. The computer numerical control curve path speed control method according to claim 1, wherein the parameterized curve used is a non-equidistant B spline. 3.根据权利要求1所述的电脑数控曲线路径速率控制方法,其特征在于,参数化曲线插值器使用的参数迭代法,是以Chou和Yang所提出的一般化参数迭代法则为基础提出进给速率控制的参数迭代方式。3. computer numerical control curve path speed control method according to claim 1, is characterized in that, the parameter iteration method that parametric curve interpolator uses, is based on the generalized parameter iteration rule proposed by Chou and Yang to propose feed Parameter iteration method for rate control. 4.一种电脑数控曲线路径速率控制方法,是以针对进给速率参数执行加减速使曲线速率以相同的加减速方式进行并获得真正加减速率结果的加减速控制操作曲线路径加工,包括下列步骤:4. A computer numerical control curve path rate control method is to perform acceleration and deceleration at the feed rate parameter so that the curve rate is carried out in the same acceleration and deceleration mode and obtain the acceleration and deceleration control operation curve path processing of the real acceleration and deceleration rate results, including the following step: (1)参数化曲线插值器在接收由电脑辅助设计所解译曲线的信息后,以参数化曲线的参数迭代法产生连续的内插点;(1) After receiving the information of the curve interpreted by the computer-aided design, the parametric curve interpolator generates continuous interpolation points with the parameter iteration method of the parametric curve; (2)仅考虑插值器产生的位置命令误差的弦高误差的影响,而不考虑径向误差;(2) Only the influence of the chord height error of the position command error generated by the interpolator is considered, and the radial error is not considered; (3)导出参数曲线公式的一次近似参数迭代法则;(3) derive an approximate parameter iteration rule of the parametric curve formula; (4)设计具有速率控制的参数迭代法则,将该表示的一次近似参数迭代法则提出参数补偿,经由补偿量与曲线间的相关性获得更高精度的曲线速率控制;(4) Design a parameter iteration rule with rate control, propose a parameter compensation based on an approximate parameter iteration rule, and obtain a higher-precision curve rate control through the correlation between the compensation amount and the curve; (5)选择在零点附近的补偿值以获得较为可靠的参数迭代结果;以及(5) Select the compensation value near the zero point to obtain a more reliable parameter iteration result; and (6)将该获得补偿值的连续的内插点送入控制系统使刀具中心沿着参数化曲线移动。(6) Send the continuous interpolation points obtained from the compensation value to the control system to move the tool center along the parameterized curve. 5.根据权利要求4所述的电脑数控曲线路径速率控制方法,其特征在于,所用的该参数化曲线为非等距B云形线。5. The computer numerical control curve path speed control method according to claim 4, characterized in that, the parameterized curve used is a non-equidistant B spline. 6.根据权利要求4所述的电脑数控曲线路径速率控制方法,其特征在于,参数化曲线插值器使用的参数迭代法,是以Chou和Yang所提出的一般化参数迭代法则为基础提出进给速率控制的参数迭代方式。6. computer numerical control curve path speed control method according to claim 4 is characterized in that, the parameter iterative method that parametric curve interpolator uses is based on the generalized parameter iterative rule proposed by Chou and Yang. Parameter iteration method for rate control. 7.一种电脑数控曲线路径速率控制装置,包括:7. A computer numerical control curve path speed control device, comprising: 电脑,作辅助设计用,该辅助设计工作包括参数化曲线格式及分段曲线;Computer for aided design, which includes parametric curve format and segmented curves; 电脑数控机构,包括:Computer numerical control mechanism, including: 参数化曲线插值器,在接收该电脑所解译的参数曲线信息后,以参数化曲线的点产生方式产生连续的内插点;The parametric curve interpolator, after receiving the parametric curve information interpreted by the computer, generates continuous interpolation points in the way of generating points of the parametric curve; 控制器,接收该参数化曲线插值器所产生的连续的内插点,送出加工信号;The controller receives the continuous interpolation points generated by the parametric curve interpolator and sends out processing signals; 刀具,接收该控制器送出的控制加工信号,中心沿着参数化曲线移动;The tool receives the control processing signal sent by the controller, and the center moves along the parameterized curve; 人机介面装置,可让操作者与该参数化曲线插值器之间作人机沟通;A man-machine interface device that allows man-machine communication between the operator and the parametric curve interpolator; 其中该参数化曲线插值器可对该参数化曲线作定速率插值操作模式、加减速插值操作模式。Wherein the parameterized curve interpolator can perform constant rate interpolation operation mode and acceleration/deceleration interpolation operation mode on the parameterized curve. 8.一种电脑数控曲线路径速率控制的参数化曲线插值器装置,包括:8. A parametric curve interpolator device for computer numerical control curve path rate control, comprising: 定速率插值器,使参数化曲线路径在插值的实现过程中保持速率定值;以及a constant-rate interpolator that keeps the parametric curve path at a constant rate during the interpolation implementation; and 加减速插值器,使该加工曲线路径获得更为平滑的加减速运动。The acceleration and deceleration interpolator makes the processing curve path obtain smoother acceleration and deceleration motion.
CN98123111A 1998-12-03 1998-12-03 Computer numerical control curve path speed control method and device Expired - Lifetime CN1121658C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN98123111A CN1121658C (en) 1998-12-03 1998-12-03 Computer numerical control curve path speed control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN98123111A CN1121658C (en) 1998-12-03 1998-12-03 Computer numerical control curve path speed control method and device

Publications (2)

Publication Number Publication Date
CN1255681A CN1255681A (en) 2000-06-07
CN1121658C true CN1121658C (en) 2003-09-17

Family

ID=5228035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN98123111A Expired - Lifetime CN1121658C (en) 1998-12-03 1998-12-03 Computer numerical control curve path speed control method and device

Country Status (1)

Country Link
CN (1) CN1121658C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4299805B2 (en) * 2005-04-25 2009-07-22 ファナック株式会社 Numerical control device that performs tool compensation using table format data
CN101881953B (en) * 2009-05-06 2013-04-03 陈学恭 Interpolation method for controlling motion locus of object
CN101907876B (en) * 2010-05-28 2012-01-04 沈阳高精数控技术有限公司 Command point shaping, compressing and interpolating method suitable for numerical control device
CN102650863B (en) * 2011-02-24 2014-01-01 鑫港企业有限公司 The Method of Importing CAD Files to Generate CNC Program Code of Spinning Machine
CN104820744A (en) * 2015-04-30 2015-08-05 柳州宏开汽车科技有限公司 Generation method for NURBS tool path in curved surface numerical control machining
CN108375956B (en) * 2018-03-13 2020-04-28 南京航空航天大学 Double-head laying post-treatment method
CN113379873B (en) * 2021-08-11 2021-11-09 北京赛目科技有限公司 Road curve determination method and device and electronic equipment

Also Published As

Publication number Publication date
CN1255681A (en) 2000-06-07

Similar Documents

Publication Publication Date Title
CN103699056B (en) The little line segment real-time smooth transition interpolation method of high-speed, high precision digital control processing
CN102905848B (en) Automated determination of jet orientation parameters in three-dimensional fluid jet cutting
CN1107250C (en) Method and apparatus for preparing data on tool moving path, machining method and system
CN1303487C (en) Method of directing movement of tool as part of process to remove material from block of material
TWI414376B (en) A five axis flank milling system for machining curved surface and the toolpath planning method thereof
CN112486101B (en) NURBS curve adaptive look-ahead interpolation method
CN1621984A (en) Helical surface digital control enveloped milling method and integration control system thereof
Wasserfall et al. Adaptive slicing for the FDM process revisited
CN113759827B (en) High-speed high-precision five-axis cutter path corner smoothing method
CN111913441B (en) Corner smooth transition method based on track mode
CN1121658C (en) Computer numerical control curve path speed control method and device
CN111722591B (en) A method of high-precision linkage interpolation for trademark die-cutting machine
Ni et al. An optimized feedrate scheduling method for CNC machining with round-off error compensation
CN103760827B (en) The off-line planning method of the digital control processing feed rate of jerk constraint
JP2025518426A (en) Systems and methods for surface fitting, path planing, and surface treatment of objects - Patents.com
Feng et al. Design of a real-time adaptive NURBS interpolator with axis acceleration limit
CN115202291A (en) NURBS curve interpolation method based on elliptic arc fitting
CN115284298A (en) Robot&#39;s bizarre evasion method, device, terminal and medium
CN118339426A (en) Surface fitting, path planning for processing object surface, and system and method for processing object surface
EP1398683B1 (en) Method and system for generating numerically controlled tool paths on a solid model
Zhou et al. NURBS curve interpolation algorithm based on tool radius compensation method
CN109991921B (en) Smooth B spline track direct generation method
CN116227088A (en) A Method for Predicting and Controlling Tooth Surface Texture of Internal Mesh Power Honing Helical Gears
CN118123136A (en) A forward prediction method for tooth surface morphology in power honing process
CN116009385A (en) Electronic cam position curve optimization method based on motion controller

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20030917