CN102455683B - Number control device and friction compensation method - Google Patents
Number control device and friction compensation method Download PDFInfo
- Publication number
- CN102455683B CN102455683B CN201110325809.8A CN201110325809A CN102455683B CN 102455683 B CN102455683 B CN 102455683B CN 201110325809 A CN201110325809 A CN 201110325809A CN 102455683 B CN102455683 B CN 102455683B
- Authority
- CN
- China
- Prior art keywords
- mentioned
- friction
- prime
- moving body
- torque
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 93
- 230000007246 mechanism Effects 0.000 claims abstract description 87
- 230000014509 gene expression Effects 0.000 claims abstract description 76
- 230000033001 locomotion Effects 0.000 claims abstract description 38
- 238000006073 displacement reaction Methods 0.000 claims description 43
- 230000000630 rising effect Effects 0.000 claims description 37
- 238000001514 detection method Methods 0.000 claims description 22
- 230000008569 process Effects 0.000 claims description 7
- 238000012937 correction Methods 0.000 claims description 5
- 239000000654 additive Substances 0.000 claims 2
- 230000000996 additive effect Effects 0.000 claims 2
- 230000036316 preload Effects 0.000 abstract description 31
- 230000008859 change Effects 0.000 description 26
- 239000003921 oil Substances 0.000 description 14
- 230000004044 response Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 238000005259 measurement Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 8
- 238000003754 machining Methods 0.000 description 4
- 238000007789 sealing Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 239000010730 cutting oil Substances 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000011295 pitch Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Control Of Position Or Direction (AREA)
- Numerical Control (AREA)
- Control Of Electric Motors In General (AREA)
- Transmission Devices (AREA)
Abstract
本发明提供数值控制装置和摩擦补偿方法,在双螺母预压方式的进给驱动机构中也能够高精度地估计出从低速区域至高速区域的摩擦力或摩擦转矩,而不限于超大尺寸滚珠预压方式。因此,数值控制装置能够对象限突起进行校正。象限突起是移动轨迹偏到指令轨迹的外侧的现象。在双螺母预压方式的进给驱动机构中,滚珠丝杠轴反转而产生第一个象限突起。双螺母预压方式的进给驱动机构在工作台反转后移动了规定量时再产生第二个象限突起。数值控制装置能够使用两个近似式来高精度地估计出双螺母预压方式时分两个阶段产生的摩擦力的上升。
The present invention provides a numerical control device and a friction compensation method, which can accurately estimate the friction force or friction torque from the low-speed region to the high-speed region in the feed drive mechanism of the double-nut preloading method, and is not limited to super-sized balls Preloading method. Therefore, the numerical control device can correct the limit protrusion. Quadrant protrusion is a phenomenon in which the movement trajectory deviates to the outside of the command trajectory. In the feed drive mechanism of the double nut preload method, the ball screw shaft is reversed to produce the first quadrant protrusion. The feed drive mechanism of the double nut preloading method produces the second quadrant projection when the table moves a predetermined amount after the table is reversed. The numerical control device can estimate with high precision the increase in frictional force generated in two stages in the double nut preloading method using two approximate expressions.
Description
技术领域 technical field
本发明涉及一种数值控制装置和摩擦补偿方法。The invention relates to a numerical control device and a friction compensation method.
背景技术 Background technique
机床为了进行二轴圆弧插值运动而控制电动机。机床在电动机的旋转方向反转时无法立即进行反转。原因是进给驱动机构的摩擦影响。如果在进行圆弧切削时象限改变(移动体的移动方向反转),则移动体的实际移动轨迹偏到指令轨迹的外侧。移动轨迹偏到外侧的现象为象限突起,使得加工精度变差。The machine tool controls the motor for two-axis circular interpolation motion. The machine tool cannot reverse immediately when the direction of rotation of the motor is reversed. The reason is the frictional influence of the feed drive mechanism. If the quadrant is changed (the moving direction of the moving body is reversed) during arc cutting, the actual moving trajectory of the moving body deviates to the outside of the commanded trajectory. The phenomenon that the moving track is deviated to the outside is a quadrant protrusion, which makes the machining accuracy worse.
日本专利公开2008年210273号公报所公开的电动机控制装置对移动体的实际位置信号进行微分运算来求出速度信号。电动机控制装置对速度信号进行积分运算,生成从移动体反转运动方向的位置起的位移信号并求出绝对值。电动机控制装置使用表示位移与摩擦力或摩擦转矩之间的关系的模型来求出摩擦力或摩擦转矩相对于位移的变化率。电动机控制装置将相对于位移的变化率与速度信号相乘来求出相对于时间的变化率。电动机控制装置对相对于时间的变化率进行积分运算来估计摩擦力或摩擦转矩。电动机控制装置不受反转运动方向前后的速度或加速度的影响而估计出摩擦力或摩擦转矩。The motor control device disclosed in Japanese Patent Laying-Open No. 210273 of 2008 calculates a speed signal by performing differential calculation on an actual position signal of a moving body. The motor control device integrates the speed signal to generate a displacement signal from a position where the moving body reverses the direction of motion and obtains an absolute value. The motor control device obtains the rate of change of the friction force or the friction torque with respect to the displacement using a model representing the relationship between the displacement and the friction force or the friction torque. The motor control device multiplies the rate of change with respect to displacement by the speed signal to obtain the rate of change with respect to time. The motor control device performs integral calculation on the rate of change with respect to time to estimate frictional force or frictional torque. The motor control device estimates the frictional force or frictional torque independently of the speed or acceleration before and after reversing the direction of motion.
电动机控制装置主要支持超大尺寸滚珠预压方式的进给驱动机构。超大尺寸滚珠预压方式的进给驱动机构具备一个螺母和滚珠丝杠轴。双螺母预压方式的进给驱动机构具备两个螺母和滚珠丝杠轴。在双螺母预压方式的进给驱动机构中,滚珠丝杠轴反转而产生第一个象限突起,在移动体移动了规定量时产生第二个象限突起。电动机控制装置不支持双螺母预压方式而无法对第二个象限突起进行校正。The motor control device mainly supports the feed drive mechanism of the oversized ball preloading method. The oversized ball preload type feed drive mechanism has a nut and ball screw shaft. The feed drive mechanism of the double nut preload method has two nuts and a ball screw shaft. In the feed drive mechanism of the double nut preload method, the ball screw shaft reverses to generate the first quadrant projection, and the second quadrant projection occurs when the movable body moves a predetermined amount. The motor control unit does not support the double nut preload method to correct for the second quadrant protrusion.
机床的摩擦因素除滚珠丝杠轴以外还有直线导轨(linearguide)和轴承(bearing)。直线导轨和轴承通过施加高预压来提高机械的刚性。因此,在反转时的摩擦转矩特性会突然变化。其它的摩擦因素为油封(oil seal)和可动式切屑罩的密封部件。油封安装于电动机轴部。油封用于防止切削油进入电动机内部。密封部件防止切屑进入滚珠丝杠轴和直线导轨部。In addition to the ball screw shaft, the friction factors of the machine tool include linear guides and bearings. Linear guides and bearings increase mechanical rigidity by applying high preload. Therefore, the friction torque characteristic at the time of reverse rotation changes suddenly. Other friction factors are the oil seal and the seal components of the movable chip guard. The oil seal is installed on the motor shaft. The oil seal is used to prevent cutting oil from entering the inside of the motor. The seal prevents chips from entering the ball screw shaft and linear guide.
密封部件和油封是橡胶材料。反转时的摩擦转矩与直线导轨等相比缓慢地变化。机床反转时的摩擦特性是两种反转摩擦特性的合成。Sealing parts and oil seals are rubber materials. The friction torque during reverse rotation changes more slowly than that of linear guides and the like. The friction characteristic when the machine tool is in reverse is the synthesis of two kinds of reverse friction characteristics.
电动机控制装置针对表示从反转的位置起的位移与摩擦转矩之间的关系的模型中只使用单一的tanh函数。电动机控制装置并没有考虑到上述两种反转摩擦特性。因此会产生误差。两种反转摩擦特性为具有以下两方面变化的特性:反转后的摩擦转矩的急剧变化和反转后的摩擦转矩的缓慢变化。The motor control device uses only a single tanh function for a model representing the relationship between the displacement from the reversed position and the friction torque. The motor control device does not take into account the above two reverse friction characteristics. Therefore errors will occur. The two kinds of inversion friction characteristics are characteristics having changes in two aspects: a sharp change in friction torque after inversion and a slow change in friction torque after inversion.
电动机控制装置使用表示从移动体反转运动方向的位置起的位移与摩擦力或摩擦转矩之间的关系的模型。电动机控制装置使用模型,作为以绝对值表示的位移信号的函数来求出摩擦力或摩擦转矩相对于位移的变化率。电动机控制装置将上述相对于位移的变化率与上述速度信号相乘来计算摩擦力或摩擦转矩相对于时间的变化率。电动机控制装置对相对于时间的变化率进行积分运算来估计摩擦力或摩擦转矩。因此,在速度快的情况下积分误差变大,从而估计出的摩擦力或摩擦转矩的误差变大。The motor control device uses a model representing the relationship between the displacement from the position where the moving body reverses the direction of motion and the frictional force or frictional torque. The motor control device uses a model to obtain the rate of change of the frictional force or frictional torque with respect to the displacement as a function of the displacement signal represented by an absolute value. The motor control device multiplies the rate of change with respect to displacement by the speed signal to calculate the rate of change of frictional force or friction torque with time. The motor control device performs integral calculation on the rate of change with respect to time to estimate frictional force or frictional torque. Therefore, when the speed is high, the integral error becomes large, and the error of the estimated friction force or friction torque becomes large.
发明内容 Contents of the invention
发明要解决的问题The problem to be solved by the invention
本发明的目的在于提供一种即使在双螺母预压方式的进给驱动机构中也能够高精度地估计出从低速区域至高速区域的摩擦力或摩擦转矩来对象限突起进行校正的数值控制装置以及摩擦补偿方法。The object of the present invention is to provide a numerical control that can estimate the frictional force or frictional torque from the low-speed range to the high-speed range with high precision even in the feed drive mechanism of the double nut preloading method, and correct the confining projection. Device and friction compensation method.
第一发明的数值控制装置具备进给机构、电动机、位置检测机构、速度生成部、速度检测机构、转矩生成部、摩擦估计部、校正部、第一摩擦估计部以及第二摩擦估计部。进给机构具有滚珠丝杠轴和滚珠螺母,用于使移动体进行移动。滚珠螺母外配合于滚珠丝杠轴。移动体固定于滚珠螺母上。电动机对滚珠丝杠轴进行旋转驱动。位置检测机构检测利用电动机进行移动的移动体的位置。速度生成部生成使位置检测机构所检测到的移动体的位置与控制部生成的位置指令一致的速度指令。速度检测机构检测电动机的速度。转矩生成部生成使速度检测机构所检测到的速度与速度生成部所生成的速度指令一致的转矩指令。摩擦估计部估计电动机的旋转方向反转后产生的摩擦力或摩擦转矩。校正部根据摩擦估计部估计出的摩擦力或摩擦转矩来对转矩指令进行校正。滚珠螺母由一对滚珠螺母构成。第一摩擦估计部估计从移动体的移动方向反转后增加的由进给机构引起的摩擦力或摩擦转矩。第二摩擦估计部估计移动体的移动方向反转后移动体移动了规定量之后由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。摩擦估计部对第一摩擦估计部和第二摩擦估计部分别估计出的摩擦力或摩擦转矩进行加法运算。双螺母预压方式的进给机构具有外配合了一对螺母的滚珠丝杠轴。双螺母预压方式的进给机构产生由进给机构的构造引起的摩擦力或摩擦转矩以及由移动体的支承机构的构造引起的摩擦力或摩擦转矩。第一摩擦估计部估计从移动体的移动方向反转后增加的由进给机构引起的摩擦力或摩擦转矩。第二摩擦估计部估计移动体的移动方向反转后移动体移动了规定量之后由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。摩擦估计部对由第一摩擦估计部和第二摩擦估计部估计出的摩擦力或摩擦转矩进行加法运算。因此,数值控制装置在双螺母预压方式的进给机构中也能够高精度地估计出摩擦力或摩擦转矩,因此能够对象限突起进行校正。The numerical controller of the first invention includes a feed mechanism, a motor, a position detection mechanism, a speed generator, a speed detector, a torque generator, a friction estimation unit, a correction unit, a first friction estimation unit, and a second friction estimation unit. The feed mechanism has a ball screw shaft and a ball nut, and is used to move the moving body. The ball nut is externally fitted to the ball screw shaft. The moving body is fixed on the ball nut. The electric motor rotates the ball screw shaft. The position detection means detects the position of the moving body moved by the motor. The speed generation unit generates a speed command for matching the position of the moving body detected by the position detection means with the position command generated by the control unit. The speed detection mechanism detects the speed of the motor. The torque generator generates a torque command for matching the speed detected by the speed detection means with the speed command generated by the speed generator. The friction estimating unit estimates frictional force or frictional torque generated when the rotation direction of the motor is reversed. The correction unit corrects the torque command based on the friction force or friction torque estimated by the friction estimation unit. The ball nut consists of a pair of ball nuts. The first friction estimating section estimates a frictional force or a frictional torque caused by the feed mechanism that increases after the moving direction of the moving body is reversed. The second friction estimating unit estimates a friction force or a friction torque that increases due to the ball screw shaft and the pair of ball nuts after the moving body moves a predetermined amount after the moving direction of the moving body is reversed. The friction estimating unit adds the friction force or friction torque respectively estimated by the first friction estimating unit and the second friction estimating unit. The feed mechanism of the double nut preload method has a ball screw shaft fitted with a pair of nuts. The feed mechanism of the double nut preloading method generates friction force or friction torque due to the structure of the feed mechanism and friction force or friction torque due to the structure of the support mechanism of the moving body. The first friction estimating section estimates a frictional force or a frictional torque caused by the feed mechanism that increases after the moving direction of the moving body is reversed. The second friction estimating unit estimates a friction force or a friction torque that increases due to the ball screw shaft and the pair of ball nuts after the moving body moves a predetermined amount after the moving direction of the moving body is reversed. The friction estimating unit adds the friction force or friction torque estimated by the first friction estimating unit and the second friction estimating unit. Therefore, the numerical control device can estimate the frictional force or frictional torque with high precision even in the feed mechanism of the double nut preloading method, and thus can correct the protrusion of the limit.
在第二发明的数值控制装置中,上述一对滚珠螺母具有多个球。上述规定量是移动体的移动方向反转后移动体移动到多个球中至少一个球与一对滚珠螺母及滚珠丝杠轴三点接触时的距离。在双螺母预压方式的进给机构中,球与一对螺母及滚珠丝杠轴进行两点接触的状态和球与一对螺母及滚珠丝杠轴进行三点接触的状态交替转变。摩擦力或摩擦转矩在球从两点接触变为三点接触时增加。因此,第二摩擦估计部能够估计出移动体的移动方向反转后移动体移动了规定量之后由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。In the numerical controller of the second invention, the pair of ball nuts has a plurality of balls. The predetermined amount is the distance when the moving body moves to a point where at least one of the plurality of balls comes into three-point contact with the pair of ball nuts and the ball screw shaft after the moving direction of the moving body is reversed. In the feed mechanism of the double nut preload method, the state where the ball is in two-point contact with a pair of nuts and the ball screw shaft alternates with the state where the ball is in three-point contact with a pair of nuts and the ball screw shaft. Friction force or friction torque increases as the balls change from two-point to three-point contact. Therefore, the second friction estimating unit can estimate the frictional force or friction torque that increases due to the ball screw shaft and the pair of ball nuts after the moving body moves a predetermined amount after the moving direction of the moving body is reversed.
第三发明的数值控制装置具备实际位置估计部和计算部。实际位置估计部估计与位置指令相对应的移动体的实际位置。计算部根据实际位置估计部估计出的实际位置来计算出移动体的移动方向反转后的位移。第一摩擦估计部和第二摩擦估计部是近似式。近似式是以计算部计算出的位移为变量的式子。因此,数值控制装置能够容易地计算出从移动体的移动方向反转后增加的由进给机构引起的摩擦力或摩擦转矩、以及由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。A numerical control device according to a third invention includes an actual position estimation unit and a calculation unit. The actual position estimating unit estimates the actual position of the moving object corresponding to the position command. The calculating unit calculates the displacement after the moving direction of the moving body is reversed based on the actual position estimated by the actual position estimating unit. The first friction estimating unit and the second friction estimating unit are approximations. The approximate expression is an expression in which the displacement calculated by the calculation unit is used as a variable. Therefore, the numerical control device can easily calculate the frictional force or frictional torque due to the feed mechanism that increases from the reversal of the moving direction of the mobile body, and the frictional force that increases due to the ball screw shaft and the pair of ball nuts or friction torque.
在第四发明的数值控制装置中,第一摩擦估计部的近似式f1(x’)、第二摩擦估计部的近似式f2(x’)将从移动体的移动方向反转后变化的摩擦力或摩擦转矩相对于移动体反转移动方向后的移动量分解成第一斜率成分和斜率小于该第一斜率成分的第二斜率成分。x’是上述移动体的自移动方向反转位置起的位移。fc0是第一斜率成分从反转起升高的摩擦力或摩擦转矩。a0是第一斜率成分的升高距离常数。a1是第二斜率成分的升高距离常数。fc1是从移动体的移动方向反转后变化的动摩擦力或动摩擦转矩的总和值。fc2是移动体的移动方向反转后移动体移动了规定量之后增加的由滚珠丝杠轴和一对滚珠螺母引起的动摩擦力或动摩擦转矩。b是规定量。a2是从移动体的移动方向反转后移动体移动了规定量b之后增加的摩擦力或摩擦转矩的升高距离常数。sgn是符号函数。第一摩擦估计部的近似式f1(x’)、第二摩擦估计部的近似式f2(x’)为下面的式子。因此,数值控制装置能够容易地计算出从移动体的移动方向反转后增加的由进给机构引起的摩擦力或摩擦转矩、以及由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。In the numerical control device of the fourth invention, the approximate expression f 1 (x') of the first friction estimating unit and the approximate expression f 2 (x') of the second friction estimating unit are changed after reversing the moving direction of the moving body The friction force or friction torque is decomposed into a first slope component and a second slope component whose slope is smaller than the first slope component with respect to the moving amount of the moving body after the moving body reverses the moving direction. x' is the displacement of the moving body from the position where the moving direction is reversed. f c0 is the frictional force or frictional torque with which the first slope component rises from reverse rotation. a 0 is the rising distance constant of the first slope component. a 1 is the rising distance constant of the second slope component. f c1 is the total value of the dynamic friction force or dynamic friction torque that changes after the moving direction of the moving body is reversed. f c2 is the dynamic friction force or dynamic friction torque caused by the ball screw shaft and a pair of ball nuts that increases after the moving body moves a predetermined amount after the moving direction of the moving body is reversed. b is a predetermined amount. a 2 is a rising distance constant of the frictional force or friction torque that increases after the mobile body has moved a predetermined amount b after the moving direction of the mobile body is reversed. sgn is a symbolic function. The approximate expression f 1 (x') of the first friction estimator and the approximate expression f 2 (x') of the second friction estimator are the following expressions. Therefore, the numerical control device can easily calculate the frictional force or frictional torque due to the feed mechanism that increases from the reversal of the moving direction of the mobile body, and the frictional force that increases due to the ball screw shaft and the pair of ball nuts or friction torque.
在第五发明的数值控制装置中,第一摩擦估计部的近似式f1(x’)、第二摩擦估计部的近似式f2(x’)将从移动体的移动方向反转后变化的摩擦力或摩擦转矩相对于移动体反转移动方向后的移动量分解成第一斜率成分和斜率小于该第一斜率成分的第二斜率成分。x’是上述移动体的自移动方向反转位置起的位移。fc0是第一斜率成分从反转起升高的摩擦力或摩擦转矩。a0是第一斜率成分的升高距离常数。a1是第二斜率成分的升高距离常数。fc1是从移动体的移动方向反转后变化的动摩擦力或动摩擦转矩的总和值。fc2是移动体的移动方向反转后移动体移动了规定量之后增加的由滚珠丝杠轴和一对滚珠螺母引起的动摩擦力或动摩擦转矩。b是规定量。a2是从移动体的移动方向反转后移动体移动了规定量b之后增加的摩擦力或摩擦转矩的升高距离常数。sgn是符号函数。第一摩擦估计部的近似式f1(x’)、第二摩擦估计部的近似式f2(x’)为下面的式子。因此,数值控制装置能够容易地计算出从移动体的移动方向反转后增加的由进给机构引起的摩擦力或摩擦转矩、以及由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。In the numerical control device of the fifth invention, the approximate expression f 1 (x') of the first friction estimating unit and the approximate expression f 2 (x') of the second friction estimating unit are changed after reversing the moving direction of the moving body The friction force or friction torque is decomposed into a first slope component and a second slope component whose slope is smaller than the first slope component with respect to the moving amount of the moving body after the moving body reverses the moving direction. x' is the displacement of the moving body from the position where the moving direction is reversed. f c0 is the frictional force or frictional torque with which the first slope component rises from reverse rotation. a 0 is the rising distance constant of the first slope component. a 1 is the rising distance constant of the second slope component. f c1 is the total value of the dynamic friction force or dynamic friction torque that changes after the moving direction of the moving body is reversed. f c2 is the dynamic friction force or dynamic friction torque caused by the ball screw shaft and a pair of ball nuts that increases after the moving body moves a predetermined amount after the moving direction of the moving body is reversed. b is a predetermined amount. a 2 is a rising distance constant of the frictional force or friction torque that increases after the mobile body has moved a predetermined amount b after the moving direction of the mobile body is reversed. sgn is a symbolic function. The approximate expression f 1 (x') of the first friction estimator and the approximate expression f 2 (x') of the second friction estimator are the following expressions. Therefore, the numerical control device can easily calculate the frictional force or frictional torque due to the feed mechanism that increases from the reversal of the moving direction of the mobile body, and the frictional force that increases due to the ball screw shaft and the pair of ball nuts or friction torque.
在第六发明的数值控制装置中,第一摩擦估计部的近似式f1(x’)、第二摩擦估计部的近似式f2(x’)将从移动体的移动方向反转后变化的摩擦力或摩擦转矩相对于移动体反转移动方向后的移动量分解成第一斜率成分和斜率小于该第一斜率成分的第二斜率成分。x’是上述移动体的自移动方向反转位置起的位移。fc0是第一斜率成分从反转起升高的摩擦力或摩擦转矩。a0是第一斜率成分的升高距离常数。a1是第二斜率成分的升高距离常数。fc1是从移动体的移动方向反转后变化的动摩擦力或动摩擦转矩的总和值。fc2是移动体的移动方向反转后移动体移动了规定量之后增加的由滚珠丝杠轴和一对滚珠螺母引起的动摩擦力或动摩擦转矩。b是规定量。a2是从移动体的移动方向反转后移动体移动了规定量b之后增加的摩擦力或摩擦转矩的升高距离常数。sgn是符号函数。第一摩擦估计部的近似式f1(x’)、第二摩擦估计部的近似式f2(x’)为下面的式子。因此,数值控制装置能够容易地计算出从移动体的移动方向反转后增加的由进给机构引起的摩擦力或摩擦转矩、以及由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。In the numerical controller of the sixth invention, the approximate expression f 1 (x') of the first friction estimating unit and the approximate expression f 2 (x') of the second friction estimating unit are changed after reversing the moving direction of the moving body The friction force or friction torque is decomposed into a first slope component and a second slope component whose slope is smaller than the first slope component with respect to the moving amount of the moving body after the moving body reverses the moving direction. x' is the displacement of the moving body from the position where the moving direction is reversed. f c0 is the frictional force or frictional torque with which the first slope component rises from reverse rotation. a 0 is the rising distance constant of the first slope component. a 1 is the rising distance constant of the second slope component. f c1 is the total value of the dynamic friction force or dynamic friction torque that changes after the moving direction of the moving body is reversed. f c2 is the dynamic friction force or dynamic friction torque caused by the ball screw shaft and a pair of ball nuts that increases after the moving body moves a predetermined amount after the moving direction of the moving body is reversed. b is a predetermined amount. a 2 is a rising distance constant of the frictional force or friction torque that increases after the mobile body has moved a predetermined amount b after the moving direction of the mobile body is reversed. sgn is a symbolic function. The approximate expression f 1 (x') of the first friction estimator and the approximate expression f 2 (x') of the second friction estimator are the following expressions. Therefore, the numerical control device can easily calculate the frictional force or frictional torque due to the feed mechanism that increases from the reversal of the moving direction of the mobile body, and the frictional force that increases due to the ball screw shaft and the pair of ball nuts or friction torque.
在第七发明的数值控制装置中,第一摩擦估计部的近似式f1(x’)、第二摩擦估计部的近似式f2(x’)将从移动体的移动方向反转后变化的摩擦力或摩擦转矩相对于移动体反转移动方向后的移动量分解成第一斜率成分和斜率小于该第一斜率成分的第二斜率成分。x’是上述移动体的自移动方向反转位置起的位移。fc0是第一斜率成分从反转起升高的摩擦力或摩擦转矩。a0是第一斜率成分的升高距离常数。a1是第二斜率成分的升高距离常数。fc1是从移动体的移动方向反转后变化的动摩擦力或动摩擦转矩的总和值。fc2是移动体的移动方向反转后移动体移动了规定量之后增加的由滚珠丝杠轴和一对滚珠螺母引起的动摩擦力或动摩擦转矩。b是规定量。a2是从移动体的移动方向反转后移动体移动了规定量b之后增加的摩擦力或摩擦转矩的升高距离常数。sgn是符号函数。第一摩擦估计部的近似式f1(x’)、第二摩擦估计部的近似式f2(x’)为下面的式子。因此,数值控制装置能够容易地计算出从移动体的移动方向反转后增加的由进给机构引起的摩擦力或摩擦转矩、以及由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。In the numerical control device of the seventh invention, the approximate expression f 1 (x') of the first friction estimating unit and the approximate expression f 2 (x') of the second friction estimating unit are changed after reversing the moving direction of the moving body The friction force or friction torque is decomposed into a first slope component and a second slope component whose slope is smaller than the first slope component with respect to the moving amount of the moving body after the moving body reverses the moving direction. x' is the displacement of the moving body from the position where the moving direction is reversed. f c0 is the frictional force or frictional torque with which the first slope component rises from reverse rotation. a 0 is the rising distance constant of the first slope component. a 1 is the rising distance constant of the second slope component. f c1 is the total value of the dynamic friction force or dynamic friction torque that changes after the moving direction of the moving body is reversed. f c2 is the dynamic friction force or dynamic friction torque caused by the ball screw shaft and a pair of ball nuts that increases after the moving body moves a predetermined amount after the moving direction of the moving body is reversed. b is a predetermined amount. a 2 is a rising distance constant of the frictional force or friction torque that increases after the mobile body has moved a predetermined amount b after the moving direction of the mobile body is reversed. sgn is a symbolic function. The approximate expression f 1 (x') of the first friction estimator and the approximate expression f 2 (x') of the second friction estimator are the following expressions. Therefore, the numerical control device can easily calculate the frictional force or frictional torque due to the feed mechanism that increases from the reversal of the moving direction of the mobile body, and the frictional force that increases due to the ball screw shaft and the pair of ball nuts or friction torque.
在第八发明的数值控制装置中,第二摩擦估计部的近似式为下面的式子。x’是上述移动体的自移动方向反转位置起的位移。fc2是移动体的移动方向反转后移动体移动了规定量之后增加的由滚珠丝杠轴和一对滚珠螺母引起的动摩擦力或动摩擦转矩。b是规定量。a2是从移动体的移动方向反转后移动体移动了规定量b之后增加的摩擦力或摩擦转矩的升高距离常数。sgn是符号函数。因此,数值控制装置能够容易地计算出由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。In the numerical controller of the eighth invention, the approximate expression of the second friction estimation unit is the following expression. x' is the displacement of the moving body from the position where the moving direction is reversed. f c2 is the dynamic friction force or dynamic friction torque caused by the ball screw shaft and a pair of ball nuts that increases after the moving body moves a predetermined amount after the moving direction of the moving body is reversed. b is a predetermined amount. a 2 is a rising distance constant of the frictional force or friction torque that increases after the mobile body has moved a predetermined amount b after the moving direction of the mobile body is reversed. sgn is a symbolic function. Therefore, the numerical control device can easily calculate the frictional force or frictional torque due to the ball screw shaft and the pair of ball nuts.
第九发明的摩擦补偿方法是由数值控制装置进行的方法。数值控制装置具备进给机构、电动机以及位置检测机构。进给机构具有滚珠丝杠轴和滚珠螺母,用于使移动体进行移动。滚珠螺母外配合于滚珠丝杠轴。摩擦补偿方法包括速度生成工序、速度检测工序、转矩生成工序、摩擦估计工序、校正工序、第一摩擦估计工序以及第二摩擦估计工序。速度生成工序生成使位置检测机构所检测到的移动体的位置与控制部生成的位置指令一致的速度指令。速度检测工序检测电动机的速度。转矩生成工序生成使速度检测机构所检测到的速度与速度生成部所生成的速度指令一致的转矩指令。摩擦估计工序估计电动机的旋转方向反转后产生的摩擦力或摩擦转矩。校正工序根据摩擦估计部估计出的摩擦力或摩擦转矩来对转矩指令进行校正。滚珠螺母由一对滚珠螺母构成。第一摩擦估计工序估计从移动体的移动方向反转后增加的由进给机构引起的摩擦力或摩擦转矩。第二摩擦估计工序估计移动体的移动方向反转后移动体移动了规定量之后由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。摩擦估计工序对第一摩擦估计工序和第二摩擦估计工序分别估计出的摩擦力或摩擦转矩进行加法运算。双螺母预压方式的进给机构具有外配合了一对螺母的滚珠丝杠轴。双螺母预压方式的进给机构产生由进给机构的构造引起的摩擦力或摩擦转矩以及由移动体的支承机构的构造引起的摩擦力或摩擦转矩。第一摩擦估计工序估计从移动体的移动方向反转后增加的由进给机构引起的摩擦力或摩擦转矩。第二摩擦估计工序估计移动体的移动方向反转后移动体移动了规定量之后由于滚珠丝杠轴和一对滚珠螺母而增加的摩擦力或摩擦转矩。摩擦估计工序对由第一摩擦估计工序和第二摩擦估计工序估计出的摩擦力或摩擦转矩进行加法运算。因此,摩擦补偿方法即使在双螺母预压方式的进给机构中也能够高精度地估计出摩擦力或摩擦转矩,因此能够对象限突起进行校正。The friction compensation method of the ninth invention is a method performed by a numerical controller. The numerical controller includes a feed mechanism, a motor, and a position detection mechanism. The feed mechanism has a ball screw shaft and a ball nut, and is used to move the moving body. The ball nut is externally fitted to the ball screw shaft. The friction compensation method includes a speed generating step, a speed detecting step, a torque generating step, a friction estimating step, a correcting step, a first friction estimating step, and a second friction estimating step. The speed generating step generates a speed command for matching the position of the moving body detected by the position detection means with the position command generated by the control unit. The speed detection process detects the speed of the motor. The torque generating step generates a torque command for matching the speed detected by the speed detection means with the speed command generated by the speed generating unit. The friction estimating step estimates the friction force or friction torque generated when the rotation direction of the motor is reversed. In the correction step, the torque command is corrected based on the friction force or friction torque estimated by the friction estimation unit. The ball nut consists of a pair of ball nuts. The first friction estimating process estimates the frictional force or frictional torque caused by the feed mechanism that increases after the moving direction of the moving body is reversed. The second friction estimating step estimates the frictional force or frictional torque that increases due to the ball screw shaft and the pair of ball nuts after the moving body moves a predetermined amount after the moving direction of the moving body is reversed. The friction estimating step adds up the friction force or friction torque respectively estimated in the first friction estimating step and the second friction estimating step. The feed mechanism of the double nut preload method has a ball screw shaft fitted with a pair of nuts. The feed mechanism of the double nut preloading method generates friction force or friction torque due to the structure of the feed mechanism and friction force or friction torque due to the structure of the support mechanism of the moving body. The first friction estimating process estimates the frictional force or frictional torque caused by the feed mechanism that increases after the moving direction of the moving body is reversed. The second friction estimating step estimates the frictional force or frictional torque that increases due to the ball screw shaft and the pair of ball nuts after the moving body moves a predetermined amount after the moving direction of the moving body is reversed. The friction estimating step adds the friction force or friction torque estimated by the first friction estimating step and the second friction estimating step. Therefore, the friction compensation method can estimate the frictional force or the frictional torque with high precision even in the feed mechanism of the double nut preloading method, and thus can correct the confining protrusion.
附图说明 Description of drawings
图1是表示机床20的构造的一部分的图。FIG. 1 is a diagram showing part of the structure of a machine tool 20 .
图2是表示数值控制装置10和进给机构的详细结构的框图。FIG. 2 is a block diagram showing detailed configurations of the numerical controller 10 and the feed mechanism.
图3是进给驱动机构A的剖视图。FIG. 3 is a sectional view of the feed drive mechanism A. FIG.
图4是进给驱动机构A中的球37的周边的剖视图。FIG. 4 is a cross-sectional view of the periphery of the ball 37 in the feed drive mechanism A. As shown in FIG.
图5是进给驱动机构B的剖视图。FIG. 5 is a sectional view of the feed drive mechanism B. FIG.
图6是表示进给驱动机构B的球47的接触状态的图。FIG. 6 is a diagram showing the contact state of the ball 47 of the feed drive mechanism B. As shown in FIG.
图7是将理想的圆弧轨迹与进给驱动机构A的实际轨迹之间的误差放大后得到的图。FIG. 7 is a diagram obtained by amplifying the error between the ideal arc trajectory and the actual trajectory of the feed drive mechanism A. FIG.
图8是将理想的圆弧轨迹与进给驱动机构B的实际轨迹之间的误差放大后得到的图。FIG. 8 is a diagram obtained by amplifying the error between the ideal arc trajectory and the actual trajectory of the feed drive mechanism B. FIG.
图9是表示进给驱动机构A的电动机转矩与离反转位置的距离之间的关系的图表。9 is a graph showing the relationship between the motor torque of the feed drive mechanism A and the distance from the reverse position.
图10是表示进给驱动机构B的电动机转矩与离反转位置的距离之间的关系的图表。10 is a graph showing the relationship between the motor torque of the feed drive mechanism B and the distance from the reverse position.
图11是表示进给驱动机构A的工作台位移量与摩擦转矩之间的关系的图。FIG. 11 is a graph showing the relationship between the table displacement amount and the friction torque of the feed drive mechanism A. FIG.
图12是表示进给驱动机构B的工作台位移量与摩擦转矩之间的关系的图。FIG. 12 is a graph showing the relationship between the table displacement amount and the friction torque of the feed drive mechanism B. FIG.
图13是表示摩擦补偿器13的结构的框图。FIG. 13 is a block diagram showing the configuration of the friction compensator 13 .
图14是表示仅使用式(1)的第一项作为近似式来估计摩擦转矩时的工作台位移量与摩擦转矩之间的关系的图。14 is a graph showing the relationship between the table displacement amount and the friction torque when the friction torque is estimated using only the first term of the formula (1) as an approximate formula.
图15是表示仅使用式(1)作为近似式来估计摩擦转矩时的工作台位移量与摩擦转矩之间的关系的图。15 is a graph showing the relationship between the table displacement amount and the friction torque when the friction torque is estimated using only Equation (1) as an approximate expression.
图16是表示本发明的使用式(3)(式(1)+式(2))作为近似式来估计摩擦转矩时的工作台位移量与摩擦转矩之间的关系的图。16 is a graph showing the relationship between table displacement and friction torque when friction torque is estimated using equation (3) (expression (1) + equation (2)) as an approximate equation in the present invention.
图17是表示本发明的使用式(3)(式(4)+式(5))作为近似式来估计摩擦转矩时的工作台位移量与摩擦转矩之间的关系的图。17 is a graph showing the relationship between table displacement and friction torque when friction torque is estimated using equation (3) (equation (4) + equation (5)) as an approximate equation in the present invention.
图18是表示本发明的使用式(3)(式(1)+式(6))作为近似式来估计摩擦转矩时的工作台位移量与摩擦转矩之间的关系的图。18 is a graph showing the relationship between table displacement and friction torque when friction torque is estimated using equation (3) (equation (1) + equation (6)) as an approximate equation in the present invention.
图19是将理想的圆弧轨迹与事例2、3、6的实际轨迹之间的误差放大后得到的图。Fig. 19 is a diagram obtained by amplifying the error between the ideal arc trajectory and the actual trajectory of cases 2, 3, and 6.
图20是表示按本发明的目的将专利文献1所记载的控制模块变更时的结构的框图。FIG. 20 is a block diagram showing a configuration when the control module described in Patent Document 1 is changed according to the object of the present invention.
图21是表示利用补偿方式1和补偿方式2估计非高速动作时的摩擦转矩时的工作台位移量与摩擦转矩之间的关系的图。21 is a graph showing the relationship between the table displacement amount and the friction torque when the friction torque during non-high-speed operation is estimated using compensation method 1 and compensation method 2. FIG.
图22是表示利用补偿方式1和补偿方式2估计高速动作时的摩擦转矩时的工作台位移量与摩擦转矩之间的关系的图。22 is a graph showing the relationship between the table displacement amount and the friction torque when the friction torque during high-speed operation is estimated using the compensation method 1 and the compensation method 2.
图23是表示本发明的使用(式(1)+式(5))作为近似式来估计摩擦转矩时的工作台位移量与摩擦转矩之间的关系的图。23 is a graph showing the relationship between the table displacement amount and the friction torque when the friction torque is estimated using (Equation (1)+Equation (5)) as an approximate equation according to the present invention.
图24是表示本发明的使用(式(4)+式(2))作为近似式来估计摩擦转矩时的工作台位移量与摩擦转矩之间的关系的图。24 is a graph showing the relationship between the table displacement amount and the friction torque when the friction torque is estimated using (Equation (4)+Equation (2)) as an approximate equation according to the present invention.
具体实施方式 Detailed ways
下面参照附图来说明本发明的实施方式。图1所示的数值控制装置10是本发明的实施方式。数值控制装置10按照加工程序所指示的路径控制机床20的轴移动,来对固定于工作台3上的加工件进行切削。Embodiments of the present invention will be described below with reference to the drawings. A numerical controller 10 shown in FIG. 1 is an embodiment of the present invention. The numerical control device 10 controls the axis movement of the machine tool 20 according to the path instructed by the machining program to cut the workpiece fixed on the table 3 .
参照图1来说明机床20的工作台机构的一个例子。工作台机构具备基座1、中间工作台50以及工作台3。基座1具有矩形形状。中间工作台50在基座1上移动。工作台3在中间工作台50上移动。工作台3是本发明的移动体的一个例子。An example of the table mechanism of the machine tool 20 will be described with reference to FIG. 1 . The table mechanism includes a base 1 , an intermediate table 50 , and a table 3 . The base 1 has a rectangular shape. The intermediate table 50 moves on the base 1 . The table 3 moves on the intermediate table 50 . The table 3 is an example of the mobile body of the present invention.
基座1具有一对直线导轨6A。一对直线导轨6A沿一个轴方向引导中间工作台50。滚珠丝杠轴4A和螺母(省略图示)配置于一对直线导轨6A之间。中间工作台50固定于螺母。中间工作台50在上部具有一对直线导轨6B。直线导轨6B沿与上述一个轴方向正交的方向引导工作台3。滚珠丝杠轴4B和螺母5(参照图2)配置于一对直线导轨6B之间。The base 1 has a pair of linear guides 6A. A pair of linear guide rails 6A guides the intermediate table 50 in one axial direction. The ball screw shaft 4A and a nut (not shown) are disposed between the pair of linear guides 6A. The intermediate table 50 is fixed to nuts. The intermediate table 50 has a pair of linear guide rails 6B on the upper part. The linear guide rail 6B guides the table 3 in a direction perpendicular to the above-mentioned one axis direction. The ball screw shaft 4B and the nut 5 (see FIG. 2 ) are disposed between the pair of linear guides 6B.
如图2所示,工作台3在下部具备滑块51。滑块51在直线导轨6B的轨道61上滑动。一对轴承座7支承滚珠丝杠轴4B。一对轴承座7固定在中间工作台50上。轴承座7在内部具有轴承8。中间工作台50在下端具备滑块(省略图示)。滑块在直线导轨6A的轨道(省略图示)上滑动。As shown in FIG. 2 , the table 3 includes a slider 51 at its lower portion. The slider 51 slides on the rail 61 of the linear guide 6B. A pair of bearing housings 7 supports the ball screw shaft 4B. A pair of bearing housings 7 are fixed on the intermediate workbench 50 . The bearing housing 7 has a bearing 8 inside. The intermediate table 50 is equipped with a slider (not shown) at the lower end. The slider slides on a rail (not shown) of the linear guide rail 6A.
一对轴承座(省略图示)支承滚珠丝杠轴4A。一对轴承座固定在基座1上。轴承座在内部具有轴承(省略图示)。A pair of bearing housings (not shown) support the ball screw shaft 4A. A pair of bearing seats are fixed on the base 1. The bearing housing has a bearing (illustration omitted) inside.
如图1所示,基座1在上部支承电动机2A。电动机2A的轴与滚珠丝杠轴4A通过联轴器(未图示)相连接。电动机2A在轴部的周围具有油封(未图示)。As shown in FIG. 1 , a base 1 supports a motor 2A at its upper portion. The shaft of the motor 2A is connected to the ball screw shaft 4A via a coupling (not shown). The motor 2A has an oil seal (not shown) around the shaft.
如图2所示,中间工作台50在端部支承电动机2B。电动机2B的轴与滚珠丝杠轴4B通过联轴器9相连接。电动机2B在轴部的周围具有油封52。工作台3在两端具有固定罩53。密封部件55固定于可动罩54的与工作台侧端部相反的一侧的端部。密封部件55由橡胶形成。密封部件55防止切屑等从固定罩53与可动罩54之间进入。As shown in FIG. 2 , the intermediate table 50 supports the motor 2B at its end. The shaft of the motor 2B is connected to the ball screw shaft 4B through a coupling 9 . The motor 2B has an oil seal 52 around the shaft. The table 3 has fixed covers 53 at both ends. The sealing member 55 is fixed to the end portion of the movable cover 54 opposite to the end portion on the table side. The sealing member 55 is formed of rubber. The seal member 55 prevents cutting chips and the like from entering between the fixed cover 53 and the movable cover 54 .
进给驱动机构56使工作台3沿一个轴方向移动。进给驱动机构56具备滚珠丝杠轴4B和螺母5。使中间工作台50沿一个轴方向移动的进给驱动机构的结构与工作台3的进给驱动机构56的结构相同。工作台3的进给机构至少包括进给驱动机构56、直线导轨6B、滑块51、电动机2B、联轴器9、油封52、可动罩54、密封部件55、轴承座7。The feed drive mechanism 56 moves the table 3 in one axial direction. The feed drive mechanism 56 includes a ball screw shaft 4B and a nut 5 . The structure of the feed drive mechanism for moving the intermediate table 50 in one axis direction is the same as that of the feed drive mechanism 56 of the table 3 . The feed mechanism of the table 3 includes at least a feed drive mechanism 56 , a linear guide rail 6B, a slider 51 , a motor 2B, a coupling 9 , an oil seal 52 , a movable cover 54 , a seal member 55 , and a bearing seat 7 .
对数值控制装置10的结构进行说明。如图1所示,数值控制装置10与电动机2A、2B相连接。通过电动机2A、2B的驱动,工作台3沿两个轴方向移动。The configuration of the numerical controller 10 will be described. As shown in FIG. 1 , numerical controller 10 is connected to motors 2A and 2B. Driven by motors 2A and 2B, table 3 moves in two axial directions.
各滚珠丝杠轴4A、4B和各螺母5将电动机2A、2B的旋转运动变换为工作台3在两个轴方向上的直进运动。数值控制装置10控制电动机2A、2B来控制工作台3的位置、速度和加速度。The respective ball screw shafts 4A, 4B and the respective nuts 5 convert the rotational motion of the motors 2A, 2B into linear motions of the table 3 in two axial directions. Numerical controller 10 controls motors 2A, 2B to control the position, speed, and acceleration of table 3 .
如图2所示,旋转编码器(rotary encoder)60安装在电动机2A、2B上。图2未对电动机2A、电动机2A侧的旋转编码器60进行图示。旋转编码器60检测电动机2A、2B的位置。数值控制装置10根据电动机2A、2B的位置、滚珠丝杠轴4A、4B的螺距(螺纹牙的间隔)来计算工作台3的位置。As shown in FIG. 2 , a rotary encoder (rotary encoder) 60 is attached to the motors 2A, 2B. FIG. 2 does not illustrate the motor 2A and the rotary encoder 60 on the side of the motor 2A. The rotary encoder 60 detects the positions of the motors 2A, 2B. Numerical controller 10 calculates the position of table 3 from the positions of motors 2A, 2B and the pitches (intervals between screw threads) of ball screw shafts 4A, 4B.
上位控制器将位置指令信号输出到位置控制器11。旋转编码器60将电动机2A、2B的位置检测信号输出到位置控制器11。位置控制器11生成使位置指令信号与位置检测信号一致的速度指令信号并施加给速度控制器12。微分器16将位置检测信号变换为速度检测信号并施加给速度控制器12。The host controller outputs a position command signal to the position controller 11 . Rotary encoder 60 outputs position detection signals of motors 2A, 2B to position controller 11 . The position controller 11 generates a speed command signal in which the position command signal matches the position detection signal, and supplies it to the speed controller 12 . The differentiator 16 converts the position detection signal into a speed detection signal and applies it to the speed controller 12 .
速度控制器12生成使速度指令信号与速度检测信号一致的转矩指令信号并施加给加法器14。摩擦补偿器13根据来自上位控制器的位置指令信号生成摩擦补偿信号并施加给加法器14。摩擦补偿信号是对在电动机2A、2B的旋转方向反转时产生的摩擦力进行补偿的信号。加法器14对来自速度控制器12的转矩指令信号和来自摩擦补偿器13的摩擦补偿信号进行加法运算。加法器14将摩擦补偿后的转矩指令信号施加给电流控制放大器15。电流控制放大器15作为转矩控制器而发挥功能。电流控制放大器15对电动机2A、2B的电流进行控制以产生尽量忠实于摩擦补偿后的转矩指令信号的转矩。The speed controller 12 generates a torque command signal in which the speed command signal matches the speed detection signal, and supplies it to the adder 14 . The friction compensator 13 generates a friction compensation signal according to the position command signal from the host controller and supplies it to the adder 14 . The friction compensation signal is a signal for compensating the frictional force generated when the rotation directions of the motors 2A and 2B are reversed. The adder 14 adds the torque command signal from the speed controller 12 and the friction compensation signal from the friction compensator 13 . The adder 14 applies the friction-compensated torque command signal to the current control amplifier 15 . The current control amplifier 15 functions as a torque controller. The current control amplifier 15 controls the current of the motors 2A, 2B so as to generate a torque as faithful as possible to the torque command signal after friction compensation.
位置控制器11、速度控制器12、加法器14、电流控制放大器15、微分器16的结构和动作是众所周之的。因此,以与本申请发明直接关联的摩擦补偿器13的结构和动作的原理为中心来进行说明。The structures and actions of the position controller 11, the speed controller 12, the adder 14, the current control amplifier 15, and the differentiator 16 are well known. Therefore, the description will focus on the principle of the structure and operation of the friction compensator 13 directly related to the invention of the present application.
进给驱动机构具有分别由第一摩擦源和第二摩擦源引起的摩擦力。由第一摩擦源引起的摩擦力是直线导轨的滑块的预压、滚珠丝杠轴的螺母部的预压、轴承的预压。预压越高,则作为进给驱动机构的刚性越高,并且摩擦力也越大。由第二摩擦源引起的摩擦力是油封52、可动罩54的密封件的滑动阻力。密封性提高时,摩擦力变大。The feed drive mechanism has friction forces respectively caused by the first friction source and the second friction source. The friction force caused by the first friction source is the preload of the slider of the linear guide, the preload of the nut part of the ball screw shaft, and the preload of the bearing. The higher the preload, the higher the rigidity as a feed drive mechanism and the greater the friction. The frictional force caused by the second friction source is the sliding resistance of the seals of the oil seal 52 and the movable cover 54 . When the sealing performance is improved, the frictional force becomes larger.
摩擦力在工作台3的运动方向反转时急剧变化。工作台3的运动方向反转时即为滚珠丝杠轴4A、4B的旋转方向反转时。例如,数值控制装置10使用正交的两个轴进行上述圆弧插值运动来进行圆弧切削。有时控制系统无法应对摩擦力的变化。图1的上部的图表示理想的圆弧轨迹与实际轨迹之间的误差。用椭圆围起的部分71~74是象限突起。摩擦补偿器13高精度地估计工作台3的运动方向反转时的摩擦力来进行补偿。因此,数值控制装置10能够尽可能地减小象限突起。The frictional force changes sharply when the movement direction of the table 3 is reversed. When the movement direction of the table 3 is reversed, that is, when the rotation direction of the ball screw shafts 4A, 4B is reversed. For example, the numerical control device 10 performs arc cutting by performing the arc interpolation motion described above using two orthogonal axes. Sometimes the control system cannot cope with the change in friction. The upper graph of FIG. 1 shows the error between the ideal arc trajectory and the actual trajectory. Portions 71 to 74 surrounded by ellipses are quadrant protrusions. The friction compensator 13 accurately estimates the frictional force when the movement direction of the table 3 is reversed to compensate. Therefore, the numerical controller 10 can reduce the quadrant protrusion as much as possible.
象限突起是由进给驱动机构中产生的摩擦力的变化所引起的。象限突起的产生类型根据滚珠丝杠轴的预压方式而不同。对滚珠丝杠轴的预压方式的结构和特性差异进行说明。滚珠丝杠轴的预压方式包括超大尺寸滚珠预压方式和双螺母预压方式。Quadrant protrusions are caused by changes in the friction generated in the feed drive mechanism. The type of quadrant protrusions differs depending on how the ball screw shaft is preloaded. The differences in structure and characteristics of the ball screw shaft preload method are explained. The preloading method of the ball screw shaft includes the oversized ball preloading method and the double nut preloading method.
如图3所示,超大尺寸滚珠预压方式的进给驱动机构A为利用单螺母35(以下称为螺母35)来施加预压的方式。螺母35是滚珠螺母。螺母35在内部具备球37。如图4所示,球37与螺母35及滚珠丝杠轴34始终进行四点接触。超大尺寸滚珠预压方式的特征在于螺母35的尺寸较小而适合于轻载荷。因此,小型机床等采用超大尺寸滚珠预压方式。As shown in FIG. 3 , the feed drive mechanism A of the oversized ball preloading method uses a single nut 35 (hereinafter referred to as the nut 35 ) to apply preloading. The nut 35 is a ball nut. The nut 35 has a ball 37 inside. As shown in FIG. 4 , the ball 37 is always in four-point contact with the nut 35 and the ball screw shaft 34 . The oversized ball preloading method is characterized in that the size of the nut 35 is small and suitable for light loads. Therefore, small machine tools, etc. adopt the oversized ball preloading method.
如图5所示,双螺母预压方式的进给驱动机构B具有两个螺母45、46。螺母45、46是滚珠螺母。垫圈48位于螺母45、46之间。如图6的(a)、(b)、(c)所示,球47与螺母45(图6中省略图示)、46的移动方向相应地进行移动。球47与螺母45、46及滚珠丝杠轴44进行两点接触或三点接触,随时发生变化。图6中的中空箭头表示球47的旋转方向。As shown in FIG. 5 , the feed drive mechanism B of the double nut preloading method has two nuts 45 , 46 . The nuts 45, 46 are ball nuts. A washer 48 is located between the nuts 45 , 46 . As shown in (a), (b) and (c) of FIG. 6 , the ball 47 moves according to the moving direction of the nuts 45 (not shown in FIG. 6 ), 46 . The ball 47 is in two-point contact or three-point contact with the nuts 45, 46 and the ball screw shaft 44, which changes at any time. The hollow arrows in FIG. 6 indicate the direction of rotation of the ball 47 .
例如如图6的(a)所示,螺母46正在向一个方向移动。球47与螺母46在一点接触并与滚珠丝杠轴44在两点接触,因此进行三点接触。如图6的(b)所示,处于螺母46将移动方向反转的途中。球47与螺母46在一点接触并与滚珠丝杠轴44在一点接触,因此进行两点接触。因此,与三点接触相比摩擦变小。如图6的(c)所示,螺母46将移动方向反转而正在向相反方向移动。球47与螺母46在两点接触并与滚珠丝杠轴44在一点接触,因此进行三点接触。因此,摩擦再次变大。双螺母预压方式的特征在于刚性高。因此,大型的机床等采用双螺母预压方式。For example, as shown in (a) of FIG. 6 , the nut 46 is moving in one direction. The ball 47 is in contact with the nut 46 at one point and with the ball screw shaft 44 at two points, thus making three-point contact. As shown in (b) of FIG. 6 , the nut 46 is in the middle of reversing the moving direction. The ball 47 is in contact with the nut 46 at one point and with the ball screw shaft 44 at one point, thus making two-point contact. Therefore, the friction becomes smaller compared with the three-point contact. As shown in (c) of FIG. 6 , the nut 46 reverses the movement direction and is moving in the opposite direction. The ball 47 is in contact with the nut 46 at two points and with the ball screw shaft 44 at one point, thus making three-point contact. Therefore, the friction becomes larger again. The double nut preload method is characterized by high rigidity. Therefore, large machine tools and the like adopt the double nut preloading method.
说明滚珠丝杠轴的预压方式对象限突起的影响。调查了在使用对进给驱动机构A、B进行驱动控制的各数值控制装置进行了圆弧插值运动的情况下的相对于理想轨迹的误差。Explain the influence of the preload method of the ball screw shaft on the limited protrusion. The error with respect to the ideal trajectory in the case of performing circular interpolation motion using each numerical controller which drives and controls the feed drive mechanisms A and B was investigated.
图7、图8是将理想的圆弧轨迹与实际轨迹之间的误差放大后得到的图。进给速度为3m/min,指令半径为25mm。一刻度为5μm。Figures 7 and 8 are diagrams obtained by amplifying the error between the ideal arc trajectory and the actual trajectory. The feed speed is 3m/min, and the command radius is 25mm. One scale is 5 μm.
轨迹误差即为象限突起。在图7和图8的结果中,象限突起都发生在0°、90°、180°、270°附近。X轴的运动方向在0°和180°处进行反转。Y轴的运动方向在90°和270°处进行反转。各反转位置附近的象限突起是伺服系统对于摩擦力变化的响应表现在圆弧轨迹上而得到的。摩擦力是运动方向反转时的摩擦力。The trajectory error is the quadrant protrusion. In the results of Fig. 7 and Fig. 8, quadrant protrusions all occurred around 0°, 90°, 180°, and 270°. The direction of motion of the X axis is reversed at 0° and 180°. The direction of motion of the Y axis is reversed at 90° and 270°. The quadrant protrusions near each reverse position are obtained by the servo system's response to frictional force changes on the arc track. Friction is the force of friction when the direction of motion is reversed.
如图7所示,在进给驱动机构A中象限突起为一个。进给驱动机构A是超大尺寸滚珠预压方式。如图8所示,在进给驱动机构B中象限突起为两个。进给驱动机构B是双螺母预压方式。原因如下。第一个象限突起是象限改变时的摩擦的影响。第二个象限突起是滚珠与螺母及滚珠丝杠轴之间的接触从两点接触变为三点接触时增加的摩擦的影响。As shown in FIG. 7 , in the feed drive mechanism A, there is only one quadrant protrusion. Feed drive mechanism A is a super-sized ball preloading method. As shown in FIG. 8 , there are two quadrant protrusions in the feed drive mechanism B. As shown in FIG. Feed drive mechanism B is a double nut preloading method. The reason is as follows. The first quadrant protrusion is the effect of friction when the quadrant changes. The second quadrant protrusion is the effect of increased friction when the contact between the balls and the nut and ball screw shaft changes from two to three points of contact.
调查了滚珠丝杠轴个体中的反转时的摩擦阻力的特性。图9、图10是滚珠丝杠轴离反转位置的距离与电动机转矩[Nm]的关系的图表。The characteristics of the frictional resistance at the time of reverse rotation in the individual ball screw shaft were investigated. 9 and 10 are graphs showing the relationship between the distance from the ball screw shaft to the reverse position and the motor torque [Nm].
如图9所示,在超大尺寸滚珠预压方式中,电动机转矩在反转后一下子上升后变为恒定不变。如图10所示,在双螺母预压方式中,电动机转矩在反转后稍微上升后变为恒定不变,之后平缓上升后再次变为恒定不变。在从反转位置起球进行两点接触的期间,电动机转矩稍微上升后变为恒定不变。球从两点接触的状态转变为三点接触的状态。在上述情况下,两点接触的状态与三点接触的状态是混合存在的。因此,电动机转矩平缓上升。之后,所有球都变成三点接触。因此,电动机转矩变为最大值而恒定不变。As shown in Figure 9, in the oversized ball preload method, the motor torque rises suddenly after the reverse rotation and then becomes constant. As shown in Fig. 10, in the double nut preloading method, the motor torque becomes constant after a slight rise after the reverse rotation, and then becomes constant again after a gentle rise. During the two-point contact period when the ball is lifted from the reverse position, the motor torque increases slightly and then becomes constant. The ball transitions from a state of two-point contact to a state of three-point contact. In the above case, the state of two-point contact and the state of three-point contact are mixed. Therefore, the motor torque rises gently. After that, all balls become three-point contact. Therefore, the motor torque becomes the maximum value and remains constant.
图11、图12表示机床进行微小圆弧动作时的工作台位移量与摩擦转矩之间的关系。进给速度为5mm/min,指令半径为0.1mm。在微小圆弧动作中摩擦力不受速度和加速度的影响。Figure 11 and Figure 12 show the relationship between the displacement of the table and the friction torque when the machine tool moves in a small arc. The feed rate is 5mm/min, and the command radius is 0.1mm. Friction is not affected by speed and acceleration in small circular motions.
如图11所示,在超大尺寸滚珠预压方式中,电动机转矩在运动方向反转后呈现非线性弹簧特性。当位移增加到某种程度时电动机转矩变为大致恒定的值。电动机转矩的轨迹描绘出磁滞回线。如图12所示,在双螺母预压方式中,电动机转矩在运动方向反转后0.065mm的位置处以平缓的台阶状发生变化。台阶状的变化是象限突起为两个的原因。数值控制装置10着眼于双螺母预压方式的摩擦特性。数值控制装置10能够通过高精度地估计出摩擦力或摩擦转矩来对两个象限突起进行补偿。As shown in Figure 11, in the way of oversized ball preloading, the motor torque presents nonlinear spring characteristics after the direction of motion is reversed. The motor torque becomes an approximately constant value when the displacement increases to a certain extent. The trajectory of the motor torque describes a hysteresis loop. As shown in Figure 12, in the double nut preloading mode, the motor torque changes in a gentle step shape at the position of 0.065 mm after the direction of motion is reversed. The step-like change is the reason why the quadrant protrusions are two. The numerical controller 10 focuses on the friction characteristics of the double nut preload method. The numerical control device 10 can compensate for two quadrant protrusions by estimating the frictional force or frictional torque with high precision.
参照图13来说明摩擦补偿器13的详细结构和利用摩擦补偿器13的摩擦补偿方法。摩擦补偿器13至少具备实际位置估计部21、微分器22、符号反转检测部23、积分器24、第一摩擦特性估计部26、第二摩擦特性估计部27、加法器28、响应延迟补偿部29。第一摩擦特性估计部26、第二摩擦特性估计部27内置绝对值计算部和极性计算部。绝对值计算部求出所输入的信号的绝对值。极性计算部求出对所输入的信号进行时间微分运算后得到的信号的极性。A detailed structure of the friction compensator 13 and a friction compensation method using the friction compensator 13 will be described with reference to FIG. 13 . The friction compensator 13 includes at least an actual position estimation unit 21, a differentiator 22, a sign inversion detection unit 23, an integrator 24, a first friction characteristic estimation unit 26, a second friction characteristic estimation unit 27, an adder 28, a response delay compensation Section 29. The first friction characteristic estimation unit 26 and the second friction characteristic estimation unit 27 include an absolute value calculation unit and a polarity calculation unit. The absolute value calculation unit calculates the absolute value of the input signal. The polarity calculation unit obtains the polarity of a signal obtained by performing time differential calculation on the input signal.
上位控制器将位置指令信号输入到实际位置估计部21。实际位置估计部21使用进行工作台3的进给运动的伺服控制系统的模型。实际位置估计部21估计与位置指令信号对应的工作台3的实际位置来生成实际位置信号。实际位置估计部21例如也可以由一次滞后元件等构成。微分器22与实际位置估计部21相连接。微分器22对实际位置信号进行微分运算并将得到的信号作为速度信号进行输出。符号反转检测部23及积分器24与微分器22相连接。The host controller inputs the position command signal to the actual position estimation unit 21 . The actual position estimating unit 21 uses a model of the servo control system that performs the feed motion of the table 3 . The actual position estimation part 21 estimates the actual position of the table 3 corresponding to a position command signal, and generates an actual position signal. The actual position estimating unit 21 may be constituted by, for example, a primary lag element or the like. The differentiator 22 is connected to the actual position estimation unit 21 . The differentiator 22 differentiates the actual position signal and outputs the obtained signal as a speed signal. The sign inversion detection unit 23 and the integrator 24 are connected to the differentiator 22 .
符号反转检测部23检测速度信号的符号是否反转。符号反转检测部23输出复位信号。积分器24对速度信号进行积分运算来还原实际位置信号。积分器24在每次符号反转检测部23输出复位信号时将积分值清零。积分器24生成从工作台3反转运动方向的位置起的位移的信号。The sign inversion detection unit 23 detects whether the sign of the velocity signal is inverted. The sign inversion detection unit 23 outputs a reset signal. The integrator 24 integrates the velocity signal to restore the actual position signal. The integrator 24 clears the integrated value to zero every time the sign inversion detection unit 23 outputs a reset signal. The integrator 24 generates a signal of the displacement from the position at which the table 3 reverses the direction of motion.
第一摩擦特性估计部26及第二摩擦特性估计部27与积分器24连接。第一摩擦特性估计部26使用后述的近似式1。第一摩擦特性估计部26求出摩擦转矩f1(x’)[N·m]。摩擦转矩f1从工作台反转后增加。第二摩擦特性估计部27使用后述的近似式2。第二摩擦特性估计部27求出摩擦转矩f2(x’)[N·m]。摩擦转矩f2在工作台3反转后工作台3移动了规定量之后增加。加法器28与第一摩擦特性估计部26及第二摩擦特性估计部27相连接。The first friction characteristic estimating unit 26 and the second friction characteristic estimating unit 27 are connected to the integrator 24 . The first friction characteristic estimating unit 26 uses approximate expression 1 described later. The first friction characteristic estimating unit 26 obtains the friction torque f 1 (x′) [N·m]. The friction torque f 1 increases after reversing from the table. The second friction characteristic estimating unit 27 uses approximate expression 2 described later. The second friction characteristic estimating unit 27 obtains the friction torque f 2 (x′) [N·m]. The friction torque f2 increases after the table 3 moves by a predetermined amount after the table 3 reverses. The adder 28 is connected to the first friction characteristic estimating unit 26 and the second friction characteristic estimating unit 27 .
加法器28对f1(x’)和f2(x’)进行加法运算。响应延迟补偿部29与加法器28的输出端相连接。响应延迟补偿部29由传递函数的反函数构成。传递函数是将从转矩指令信号至电动机2实际输出的转矩的特性模型化而得到的。转矩指令信号输入到电流控制放大器15(参照图2)。响应延迟补偿部29对估计出的摩擦转矩进行乘法运算来生成摩擦补偿信号。The adder 28 adds f 1 (x') and f 2 (x'). The response delay compensator 29 is connected to the output terminal of the adder 28 . The response delay compensator 29 is constituted by an inverse function of the transfer function. The transfer function is obtained by modeling the characteristics from the torque command signal to the torque actually output by the motor 2 . The torque command signal is input to the current control amplifier 15 (see FIG. 2 ). The response delay compensator 29 multiplies the estimated friction torque to generate a friction compensation signal.
对第一摩擦特性估计部26的近似式1、第二摩擦特性估计部27的近似式2进行说明。本实施方式如下定义各种参数。Approximate expression 1 of the first friction characteristic estimating unit 26 and approximate expression 2 of the second friction characteristic estimating unit 27 will be described. In this embodiment, various parameters are defined as follows.
·f(x’)=总摩擦转矩[N·m]f(x') = total friction torque [N m]
·f1(x’)=从工作台反转后增加的摩擦转矩[N·m]・f 1 (x')=Increased frictional torque after reversing from the table [N·m]
·f2(x’)=工作台反转后工作台移动了规定量之后增加的摩擦转矩[N·m]・f 2 (x')=Frictional torque [N·m] increased after the table moves a predetermined amount after the table is reversed
·fc0=将从工作台反转后变化的摩擦转矩相对于工作台反转后的移动量分解成两种斜率成分时第一斜率成分从反转起升高的摩擦转矩[N·m]f c0 = When decomposing the friction torque changed from the reverse rotation of the table to the movement amount after the reverse rotation of the table into two slope components, the friction torque of the first slope component rising from the reverse rotation [N· m]
·a0=上述第一斜率成分的升高距离常数[mm]· a 0 = rising distance constant of the first slope component above [mm]
·a1=上述第二斜率成分的升高距离常数[mm]· a 1 = rising distance constant of the above-mentioned second slope component [mm]
·fc1=从工作台反转后变化的动摩擦转矩的总和值[N·m]・f c1 =The total value of the dynamic friction torque changed from the reverse rotation of the table [N・m]
·fc2=工作台反转后移动了上述规定量之后增加的由滚珠丝杠轴和一对滚珠螺母引起的动摩擦转矩(滚珠丝杠轴和螺母稳定时(三点接触)的动摩擦转矩)[N·m]・f c2 = The dynamic friction torque caused by the ball screw shaft and a pair of ball nuts increased after the table has been reversed and moved by the above specified amount (Dynamic friction torque when the ball screw shaft and nut are stable (three-point contact) )[N·m]
·a2=工作台反转后工作台移动了规定量之后增加的摩擦转矩的升高距离常数[mm]・a 2 = Rising distance constant [mm] of the friction torque that increases after the table moves a predetermined amount after the table reverses
·b=工作台反转后到f2(x’)开始增加为止的距离[mm]·b=The distance from when the table is reversed to when f 2 (x') starts to increase [mm]
·x’=工作台的从运动方向反转位置起的位移[mm]·x’=displacement of the workbench from the position where the direction of movement is reversed [mm]
·sgn=符号函数sgn = sign function
设sgn在dx’/dt>0时为+1,在dx’/dt=0时为0,在dx’/dt<0时为-1。Let sgn be +1 when dx'/dt>0, 0 when dx'/dt=0, and -1 when dx'/dt<0.
在图16所示的在双螺母方式下进行圆弧插值运动时的磁滞曲线中示出了a1、a2、fc1、fc2、b。第一斜率成分的斜率比第二斜率成分的斜率陡。A 1 , a 2 , f c1 , f c2 , and b are shown in the hysteresis curves when circular interpolation motion is performed in the double nut mode shown in FIG. 16 . The slope of the first slope component is steeper than the slope of the second slope component.
近似式1如下。Approximate formula 1 is as follows.
·f1(x’)=fc0{tanh(|x’|/a0)-1/2}sgn(dx’/dt)+(fc1+fc2/2-fc0/2){2tanh(|x’|/a1)-1}sgn(dx’/dt)…(1)f 1 (x')=f c0 {tanh(|x'|/a 0 )-1/2}sgn(dx'/dt)+(f c1 +f c2 /2-f c0 /2){2tanh (|x'|/a 1 )-1}sgn(dx'/dt)…(1)
在专利文献1所记载的近似式中,tanh函数为一组。本发明将两组常数不同的tanh函数进行组合。原因是为了应对第一摩擦因素和第二摩擦因素这两方。第一摩擦因素为反转时摩擦特性急剧变化的直线导轨等。第一斜率由第一摩擦因素引起。第二摩擦因素为与第一摩擦因素相比缓慢变化的油封等。第二斜率成分由第二摩擦因素引起。In the approximation formula described in Patent Document 1, the tanh functions are one set. The invention combines two sets of tanh functions with different constants. The reason is to deal with both the first friction factor and the second friction factor. The first friction factor is a linear guide whose friction characteristics change rapidly during reverse rotation, etc. The first slope is caused by the first friction factor. The second friction factor is an oil seal or the like which changes slowly compared with the first friction factor. The second slope component is caused by a second friction factor.
近似式2如下。Approximate formula 2 is as follows.
·f2(x’)=fc2{tanh((|x’|-b)/a2)-1/2}sgn(dx’/dt)…(2)·f 2 (x')=f c2 {tanh((|x'|-b)/a 2 )-1/2}sgn(dx'/dt)...(2)
设在|x’|-b<0的情况下,f2(x’)=-fc2/2·sgn(dx’/dt)。When |x'|-b<0, f 2 (x')=-f c2 /2·sgn(dx'/dt).
(2)式用于应对双螺母预压方式的摩擦。双螺母预压方式的摩擦在螺母反转并移动了规定量之后增加。The formula (2) is used to cope with the friction of the double nut preloading method. The friction of the double nut preload method increases after the nuts are reversed and moved a specified amount.
利用(1)式、(2)式,总摩擦转矩f(x’)的近似式3为下式。Using the formulas (1) and (2), approximate formula 3 of the total friction torque f(x') is the following formula.
·f(x’)=f1(x’)+f2(x’)…(3)f(x')=f 1 (x')+f 2 (x')...(3)
在近似式1、2中,也可以用exp函数来代替tanh函数。近似式1、2例如也可以如下表示。与式(1)的a0、a1、式(2)的a2相对地选取式(4)的a0、a1、式(5)的a2的适当值。因此,式(4)(5)能够描绘出与式(1)(2)大致相同的曲线。In approximate formulas 1 and 2, the exp function can also be used instead of the tanh function. Approximate expressions 1 and 2 can also be expressed as follows, for example. Appropriate values for a 0 , a 1 in formula (4) and a 2 in formula (5) are selected relative to a 0 , a 1 in formula (1) and a 2 in formula (2 ). Therefore, equations (4) (5) can draw substantially the same curves as equations (1) (2).
·f1(x’)=fc0{1/2-exp(-|x’|/a0)}sgn(dx’/dt)+(fc1+fc2/2-fc0/2){1-2exp(-|x’|/a1)}sgn(dx’/dt)…(4)f 1 (x')=f c0 {1/2-exp(-|x'|/a 0 )}sgn(dx'/dt)+(f c1 +f c2 /2-f c0 /2){ 1-2exp(-|x'|/a 1 )}sgn(dx'/dt)…(4)
·f2(x’)=fc2{1/2-exp{-(|x’|-b)}/a2}sgn(dx’/dt)…(5)f 2 (x')=f c2 {1/2-exp{-(|x'|-b)}/a 2 }sgn(dx'/dt)...(5)
设在|x’|-b<0的情况下,f2(x’)=-fc2/2·sgn(dx’/dt)。When |x'|-b<0, f 2 (x')=-f c2 /2·sgn(dx'/dt).
还能够使用cos函数来如下表示近似式2。在近似式2中,在|x’|-b=0附近上升变得平缓。近似式2能够描绘出更接近实测数据的曲线。It is also possible to use the cos function to express Approximate Expression 2 as follows. In approximate expression 2, the rise becomes gentle around |x'|-b=0. Approximate formula 2 can draw a curve closer to the measured data.
·f2(x’)=-fc2/2cos{{(|x’|-b)/a2}π}sgn(dx’/dt)…(6)f 2 (x')=-f c2 /2cos{{(|x'|-b)/a 2 }π}sgn(dx'/dt)...(6)
设在|x’|-b<0或者|x’|-b-a2>0的情况下,f2(x’)=-fc2/2·sgn(dx’/dt)。When |x'|-b<0 or |x'|-ba 2 >0, f 2 (x')=-f c2 /2·sgn(dx'/dt).
为了确认具有摩擦补偿器13的数值控制装置10的效果,对事例1~5进行了比较。事例1是应用以往的摩擦补偿方法来进行了圆弧插值运动的情况。事例2是仅应用本发明的近似式1来进行了圆弧插值运动的情况。事例3是本发明的将式(1)用作近似式1、将式(2)用作近似式2来进行了圆弧插值运动的情况。事例4是本发明的将式(4)用作近似式1、将式(5)用作近似式2来进行了圆弧插值运动的情况。事例5是本发明的将式(1)用作近似式1、将式(6)用作近似式2来进行了圆弧插值运动的情况。事例1参照日本特开2008-210273号公报所记载的近似式,仅使用本发明记载的式(1)的第一项,即fc0{tanh(|x’|/a0)-1/2}sgn(dx’/dt)作为相同含义的近似式。事例1~5进行进给速度为5mm/min、指令半径为0.1mm的圆弧插值运动。将工作台位移量与电动机转矩之间的关系与实测数据进行比较而得到的结果如下。In order to confirm the effect of the numerical controller 10 having the friction compensator 13, Cases 1 to 5 were compared. Case 1 is a case where circular interpolation motion is performed by applying the conventional friction compensation method. Case 2 is the case where circular interpolation motion is performed using only approximate formula 1 of the present invention. Case 3 is a case where circular interpolation motion is performed using equation (1) as approximate equation 1 and equation (2) as approximate equation 2 according to the present invention. Case 4 is a case where circular interpolation motion is performed using equation (4) as approximate equation 1 and equation (5) as approximate equation 2 according to the present invention. Case 5 is a case where circular interpolation motion is performed using equation (1) as approximate equation 1 and equation (6) as approximate equation 2 according to the present invention. Case 1 refers to the approximate formula described in Japanese Patent Application Laid-Open No. 2008-210273, and only uses the first term of formula (1) described in the present invention, that is, f c0 {tanh(|x'|/a 0 )-1/2 }sgn(dx'/dt) as an approximation with the same meaning. Cases 1 to 5 perform circular interpolation motion with a feed rate of 5mm/min and a command radius of 0.1mm. The results obtained by comparing the relationship between table displacement and motor torque with actual measurement data are as follows.
在事例1、2中,摩擦补偿器13的第一摩擦特性估计部26、第二摩擦特性估计部27所使用的近似式的参数的定义也与上述定义相同。In Cases 1 and 2, the definitions of the parameters of the approximation expressions used by the first friction characteristic estimating unit 26 and the second friction characteristic estimating unit 27 of the friction compensator 13 are also the same as the definitions above.
参照图14来说明事例1的结果。在图14中用粗线表示实测值,用细线表示利用近似式计算出的值。参数选取最能够近似实测数据在反转后的升高特性的值。在本例中,fc0=0.9,a0=0.0025。如图14所示,电动机转矩的近似式的值与实测值的最初第一阶段的0.9N·m这一上升量的斜率相吻合。实测值在第一阶段的上升之后平缓上升,在从反转后约70μm处再发生第二阶段的上升。近似式是恒定值,因此与实测值不吻合。原因如下:专利文献1的以往的近似式只能应对直线导轨等所引起的反转后的急剧摩擦变化这个单一特性。因此,以往的近似式无法对油封等的摩擦特性以及双螺母预压方式的摩擦特性进行校正。油封等的摩擦特性在反转后缓慢变化。双螺母预压方式的摩擦特性在反转后螺母移动了规定距离之后增加。The results of Case 1 will be described with reference to FIG. 14 . In FIG. 14 , actual measured values are indicated by thick lines, and values calculated by the approximate formula are indicated by thin lines. The parameter is selected to be the value that best approximates the rising characteristic of the measured data after inversion. In this example, f c0 =0.9, a 0 =0.0025. As shown in FIG. 14 , the value of the approximate expression of the motor torque agrees with the slope of the increase amount of 0.9 N·m in the first stage of the actual measurement value. The measured value rises gently after the first-stage rise, and the second-stage rise occurs at about 70 μm after the reversal. The approximate expression is a constant value, so it does not match the measured value. The reason is as follows: the conventional approximation formula of Patent Document 1 can only cope with the single characteristic of rapid friction change after reverse rotation caused by the linear guide or the like. Therefore, the conventional approximate formula cannot correct the friction characteristics of oil seals and the like and the friction characteristics of the double nut preload method. Friction characteristics of oil seals etc. change slowly after reverse rotation. The friction characteristic of the double nut preload method increases after the nut moves a specified distance after reverse rotation.
如图14、图15所示,事例1、2中的实测值与近似式的结果为即将反转之前的转矩值中存在差。实际的转矩指令是速度控制器12的输出与近似式的输出之和。进行控制使得转矩指令与实测值的值一致。速度控制器12例如在-100μm处的反转之前输出约-0.175N·m。实际的转矩指令是将近似式向下偏移0.175N·m后得到的值。因此,在反转后的摩擦转矩的升高部分处近似式与实测值一致。As shown in FIG. 14 and FIG. 15 , there is a difference in the torque value immediately before reverse rotation between the actual measured value and the result of the approximate expression in cases 1 and 2. The actual torque command is the sum of the output of the speed controller 12 and the output of the approximate expression. Control is performed so that the torque command matches the value of the actual measurement value. The speed controller 12 outputs, for example, about -0.175 N·m before inversion at -100 μm. The actual torque command is the value obtained by shifting the approximate formula downward by 0.175N·m. Therefore, the approximate expression agrees with the actual measurement value at the rising portion of the friction torque after inversion.
参照图15来说明事例2的结果。事例2仅使用了本发明的式(1)。在图15中也是用粗线表示实测值,用细线表示利用近似式计算出的值。参数选取最能够近似实测数据的反转后第一阶段的升高特性的值。在本例中,fc0=0.9,a0=0.0025,fc1=0.625,a1=0.031。如图15所示,利用两组tanh函数的组合来对反转后的摩擦变化进行近似。在从反转后到60μm的第一阶段的摩擦增加中,实测值与近似式是一致的。在第二阶段的摩擦增加中,实测值与近似式不一致。因此,事例2虽然能够应对油封等缓慢的反转转矩特性,但是无法应对双螺母预压方式的两个阶段的摩擦增加。The results of Case 2 will be described with reference to FIG. 15 . Case 2 only uses the formula (1) of the present invention. Also in FIG. 15 , actual measured values are indicated by thick lines, and values calculated by the approximate formula are indicated by thin lines. The parameter is selected to be the value that best approximates the rising characteristic of the first stage after inversion of the measured data. In this example, f c0 =0.9, a 0 =0.0025, f c1 =0.625, a 1 =0.031. As shown in Fig. 15, a combination of two sets of tanh functions is used to approximate the change in friction after inversion. In the first stage of friction increase from after inversion to 60 μm, the measured values agree with the approximate formula. In the second stage of friction increase, the measured values do not agree with the approximate formula. Therefore, although case 2 can cope with slow reverse torque characteristics such as oil seals, it cannot cope with the increase in friction in the two stages of the double nut preloading method.
对使用本发明的近似式3的结果进行说明。图16是事例3中近似式1和近似式2都使用tanh函数的情况。图17是事例4中近似式1和近似式2都使用exp函数的情况。图18是事例5中使用式(1)作为近似式1并使用式(6)的cos函数作为近似式2的情况。用粗线表示实测值,用细线表示利用近似式计算出的值。在事例3~5中参数选取整体上最能够近似实测数据的值。在事例3中,fc0=0.9,a0=0.0025,fc1=0.45,a1=0.031,fc2=0.35,a2=0.02,b=0.075。在事例4中,fc0=0.9,a0=0.0018,fc1=0.45,a1=0.022,fc2=0.35,a2=0.014,b=0.075。在事例5中,fc0=0.9,a0=0.0025,fc1=0.45,a1=0.031,fc2=0.35,a2=0.05,b=0.06。如图16、图17所示,电动机转矩的本发明的近似式3的值与实测值的最初第一阶段的上升吻合,与第二阶段的上升也吻合。近似式3应对第一次、第二次这两次的摩擦增加。因此,事例3、4能够应对双螺母预压方式的两个阶段的摩擦增加。The result of using approximate formula 3 of the present invention will be described. Fig. 16 shows the case where both approximate formula 1 and approximate formula 2 use the tanh function in case 3. Fig. 17 shows the case where the exp function is used in both approximate formula 1 and approximate formula 2 in case 4. FIG. 18 shows the case of using equation (1) as approximate equation 1 and using the cos function of equation (6) as approximate equation 2 in case 5. The actual measured value is shown by a thick line, and the value calculated by the approximate formula is shown by a thin line. In the cases 3 to 5, the parameter selection is the value that can best approximate the actual measurement data as a whole. In Case 3, f c0 =0.9, a 0 =0.0025, f c1 =0.45, a 1 =0.031, f c2 =0.35, a 2 =0.02, b=0.075. In case 4, f c0 =0.9, a 0 =0.0018, f c1 =0.45, a 1 =0.022, f c2 =0.35, a 2 =0.014, b=0.075. In case 5, f c0 =0.9, a 0 =0.0025, f c1 =0.45, a 1 =0.031, f c2 =0.35, a 2 =0.05, b=0.06. As shown in FIG. 16 and FIG. 17 , the value of the approximate expression 3 of the present invention of the motor torque agrees with the first-stage rise of the actual measurement value, and also agrees with the second-stage rise. Approximate formula 3 should deal with the friction increase of the first time and the second time. Therefore, cases 3 and 4 can cope with the friction increase in the two stages of the double nut preloading method.
事例3、4的近似式的差别在于改变a0、a1、a2的值而得到大致同等的曲线。因此,利用将近似式1设为式(1)、将近似式2设为式(5)的组合来使用近似式3而得到的结果也是很好地近似于实测值的计算结果。利用将近似式1设为式(4)、将近似式2设为式(2)的组合来使用近似式3而得到的结果也是很好地近似于实测值的计算结果。The difference between the approximate formulas of cases 3 and 4 is that changing the values of a 0 , a 1 , and a 2 results in approximately the same curves. Therefore, the result obtained by using Approximate Expression 3 by using a combination of Approximate Expression 1 as Expression (1) and Approximate Expression 2 as Expression (5) is also a calculation result that closely approximates the actual measurement value. The result obtained by using Approximate Expression 3 by using a combination of Approximate Expression 1 as Expression (4) and Approximate Expression 2 as Expression (2) is also a calculation result that closely approximates the actual measurement value.
如图18所示,事例5在第二阶段的摩擦的上升中使用了cos函数。因此,上升比事例3、4更为平滑,是更为接近实测值的值。利用将近似式1作为式(4)、将近似式2作为式(6)的组合来使用近似式3而得到的计算结果也与事例5同样地是很好地近似于实测值的计算结果。As shown in Figure 18, Case 5 uses the cos function in the second stage of frictional rise. Therefore, the rise is smoother than in cases 3 and 4, and is a value closer to the actual measurement value. The calculation result obtained by using the approximation formula 3 by using the approximation formula 1 as the formula (4) and the approximation formula 2 as the formula (6) is also a calculation result that closely approximates the actual measurement value similarly to the case 5.
为了调查事例2、3中的象限突起的削减效果,调查了理想的圆弧轨迹与实际的轨迹之间的误差。图19所示的实际轨迹为将进给速度设为6m/min、将指令半径设为50mm的情况下的圆弧轨迹。事例6为比较例。事例6是完全不进行摩擦补偿的情况。在图19中,用长虚线表示事例2,用实线表示事例3,用短虚线表示事例6。In order to investigate the reduction effect of quadrant projections in Cases 2 and 3, the error between the ideal arc trajectory and the actual trajectory was investigated. The actual trajectory shown in FIG. 19 is a circular trajectory when the feed rate is set to 6 m/min and the command radius is set to 50 mm. Case 6 is a comparative example. Case 6 is a case where no friction compensation is performed at all. In FIG. 19 , case 2 is shown by a long dashed line, case 3 is shown by a solid line, and case 6 is shown by a short dashed line.
在事例6中产生两个象限突起。两个象限突起为双螺母预压方式的特性。在事例2中两个象限突起中的一个消失。第二个残留。事例2只利用仅应对第一阶段的近似式1来进行了摩擦补偿。仅应对反转后的近似式能够应对超大尺寸滚珠预压方式,但是不能应对双螺母预压方式。因此,仅应对反转后的近似式无法消除象限突起,因此无法得到良好的加工精度。In Case 6 two quadrant protrusions were produced. The two quadrant projections are characteristic of the double nut preload method. In case 2 one of the two quadrant protrusions disappeared. The second remains. In Case 2, friction compensation is performed using only the approximate formula 1 that only deals with the first stage. The approximate formula that only deals with reverse rotation can deal with the oversized ball preload method, but cannot deal with the double nut preload method. Therefore, it is impossible to eliminate the quadrant protrusion only by dealing with the approximate expression after inversion, and thus good machining accuracy cannot be obtained.
在事例3中象限突起基本都消失。事例3利用本发明的近似式3进行了摩擦补偿。原因如下:通过利用近似式1、2,无论轴反转后分两阶段产生的摩擦力中的哪一个都能够高精度地进行估计。因此,无论是超大尺寸滚珠预压方式的进给驱动机构还是双螺母预压方式的进给驱动机构,数值控制装置10都能够支持。数值控制装置10还能够支持反转摩擦特性复合化的机床。因此,数值控制装置10能够有效提高加工件的加工精度。In Case 3, the quadrant protrusions basically disappeared. Case 3 uses the approximate formula 3 of the present invention to perform friction compensation. The reason is as follows: By using the approximate expressions 1 and 2, it is possible to estimate with high accuracy either of the frictional forces generated in two stages after the shaft inversion. Therefore, the numerical control device 10 can support both the feed drive mechanism of the oversized ball preload method and the feed drive mechanism of the double nut preload method. The numerical control device 10 can also support machine tools with complex reverse friction characteristics. Therefore, the numerical control device 10 can effectively improve the machining accuracy of the workpiece.
旋转编码器60是本发明的位置检测单元的一例。位置控制器11是本发明的速度生成单元的一例。微分器16是本发明的速度检测单元的一例。速度控制器12是本发明的转矩生成单元的一例。实际位置估计部21是本发明的实际位置估计单元的一例。摩擦补偿器13是本发明的摩擦估计单元的一例。响应延迟补偿部29是本发明的响应延迟校正单元的一例。第二摩擦特性估计部27是本发明的第二摩擦估计单元的一例。第一摩擦特性估计部26是本发明的第一摩擦估计单元的一例。加法器28是本发明的加法运算单元的一例。The rotary encoder 60 is an example of the position detecting means of the present invention. The position controller 11 is an example of the speed generating means of the present invention. The differentiator 16 is an example of the speed detection means of the present invention. The speed controller 12 is an example of the torque generating means of the present invention. The actual position estimation unit 21 is an example of the actual position estimation means of the present invention. The friction compensator 13 is an example of the friction estimating means of the present invention. The response delay compensator 29 is an example of response delay correction means of the present invention. The second friction characteristic estimating unit 27 is an example of the second friction estimating means of the present invention. The first friction characteristic estimating unit 26 is an example of the first friction estimating means of the present invention. The adder 28 is an example of an adding unit of the present invention.
如以上所说明的,本实施方式的数值控制装置10和摩擦补偿方法不仅能够支持超大尺寸滚珠预压方式的进给驱动机构,还能够充分支持双螺母预压方式的进给驱动机构。在双螺母预压方式中,滚珠根据螺母的移动方向与螺母及滚珠丝杠轴进行两点接触或三点接触。在双螺母预压方式中,滚珠丝杠轴反转而产生第一个象限突起,在工作台3进一步移动了规定量时产生第二个象限突起。以往的摩擦补偿方法仅支持超大尺寸滚珠预压方式。以往的摩擦补偿方法无法消除双螺母预压方式所特有的第二个象限突起。本实施方式使用两个近似式,在双螺母预压方式的情况下能够高精度地估计出分两阶段产生的摩擦力的上升。第一个象限突起是由反转后的摩擦特性所引起的。反转后的摩擦特性包括反转后摩擦特性急剧变化和从反转后摩擦特性缓慢变化。前者的一例是由直线导轨引起的摩擦特性变化。后者的一例是由电动机轴部的油封引起的摩擦特性变化。本实施方式考虑到两种摩擦特性来能够使用两个近似式。本实施方式不仅能够消除第一个象限突起,还能够可靠地消除以往无法消除的第二个象限突起。本实施方式在双螺母预压方式下、带有油封时也能够有效消除象限突起。本实施方式能够可靠地提高加工精度。As described above, the numerical control device 10 and the friction compensation method of this embodiment can not only support the feed drive mechanism of the oversized ball preloading method, but also fully support the feed driving mechanism of the double nut preloading method. In the double nut preload method, the balls make two-point or three-point contact with the nut and the ball screw shaft depending on the direction of movement of the nut. In the double nut preload method, the ball screw shaft reverses to generate the first quadrant projection, and the second quadrant projection occurs when the table 3 moves further by a predetermined amount. Previous friction compensation methods only supported oversized ball preloading. Conventional friction compensation methods cannot eliminate the second quadrant protrusion unique to the double nut preload method. In the present embodiment, two approximation expressions are used, and in the case of the double nut preloading method, it is possible to estimate with high accuracy the increase in frictional force generated in two stages. The protrusion in the first quadrant is caused by the frictional properties after inversion. The friction characteristics after inversion include a sharp change in friction characteristics after inversion and a gradual change in friction characteristics after inversion. An example of the former is the change in friction characteristics caused by linear guides. An example of the latter is a change in friction characteristics caused by an oil seal on the motor shaft. In the present embodiment, two approximate expressions can be used in consideration of two kinds of friction characteristics. In this embodiment, not only the protrusion in the first quadrant can be eliminated, but also the protrusion in the second quadrant, which cannot be eliminated conventionally, can be reliably eliminated. This embodiment can also effectively eliminate the quadrant protrusion in the double nut preload mode and with an oil seal. This embodiment can reliably improve machining accuracy.
本发明并不限于上述实施方式,能够进行各种变更。例如在上述实施方式的摩擦补偿器13中,第一摩擦特性估计部26使用近似式1来计算摩擦转矩f1(x’)。第二摩擦特性估计部27使用近似式2来计算摩擦转矩f2(x’)。摩擦补偿器13利用近似式3对f1(x’)、f2(x’)进行加法运算来计算出总摩擦转矩f(x’)。摩擦补偿器13将总摩擦转矩f(x’)与转矩进行加法运算。The present invention is not limited to the above-described embodiments, and various changes can be made. For example, in the friction compensator 13 of the above-described embodiment, the first friction characteristic estimating unit 26 calculates the friction torque f 1 (x′) using the approximate expression 1. The second friction characteristic estimating unit 27 calculates the friction torque f 2 (x′) using approximate expression 2. The friction compensator 13 adds f 1 (x′) and f 2 (x′) using approximate expression 3 to calculate the total friction torque f(x′). The friction compensator 13 adds the total friction torque f(x') to the torque.
例如,也可以对日本专利公开2008年210273号公报所公开的摩擦补偿器进行修正以使其符合本发明的目的。摩擦补偿器能够通过使用与上述实施方式不同的两个近似式5、6来对分两个阶段增加的摩擦力进行补偿。对摩擦补偿器106的结构和动作进行说明。摩擦补偿器106是摩擦补偿器13的变形例。For example, the friction compensator disclosed in Japanese Patent Laid-Open No. 210273 may be modified so as to conform to the object of the present invention. The friction compensator can compensate the friction force increased in two stages by using two approximation formulas 5, 6 different from the above-mentioned embodiment. The structure and operation of the friction compensator 106 will be described. The friction compensator 106 is a modified example of the friction compensator 13 .
参照图20来说明摩擦补偿器106的结构。摩擦补偿器106所具备的一部分结构与图13所示的摩擦补偿器13相同。摩擦补偿器106具备实际位置估计部21、微分器22、符号反转检测部23、积分器24、加法器28、响应延迟补偿部29。摩擦补偿器106具备第三摩擦特性估计部56、第四摩擦特性估计部57。第三摩擦特性估计部56用来代替第一摩擦特性估计部26。第四摩擦特性估计部57用来代替第二摩擦特性估计部27。第三摩擦特性估计部56、第四摩擦特性估计部57使用后述的近似式5、6来分别计算微分值。乘法器59和积分器60设置于加法器28与响应延迟补偿部29之间。The structure of the friction compensator 106 will be described with reference to FIG. 20 . Part of the structure of the friction compensator 106 is the same as that of the friction compensator 13 shown in FIG. 13 . The friction compensator 106 includes an actual position estimation unit 21 , a differentiator 22 , a sign inversion detection unit 23 , an integrator 24 , an adder 28 , and a response delay compensation unit 29 . The friction compensator 106 includes a third friction characteristic estimating unit 56 and a fourth friction characteristic estimating unit 57 . The third friction characteristic estimating section 56 is used in place of the first friction characteristic estimating section 26 . The fourth friction characteristic estimating section 57 is used instead of the second friction characteristic estimating section 27 . The third friction characteristic estimating unit 56 and the fourth friction characteristic estimating unit 57 respectively calculate differential values using approximate expressions 5 and 6 described later. The multiplier 59 and the integrator 60 are provided between the adder 28 and the response delay compensator 29 .
加法器28对第三摩擦特性估计部56、第四摩擦特性估计部57所计算出的各微分值进行加法运算并输出到乘法器59。乘法器59将加法器28所输出的微分值与微分器22所输出的速度信号相乘来计算摩擦转矩相对于时间的变化率。积分器60与乘法器59的输出端相连接。积分器60对乘法器59计算出的变化率进行时间积分运算。响应延迟补偿部29与积分器60的输出端相连接。The adder 28 adds the respective differential values calculated by the third friction characteristic estimating unit 56 and the fourth friction characteristic estimating unit 57 and outputs it to the multiplier 59 . The multiplier 59 multiplies the differential value output from the adder 28 by the speed signal output from the differentiator 22 to calculate the rate of change of the friction torque with respect to time. An integrator 60 is connected to the output of the multiplier 59 . The integrator 60 performs a time integration operation on the rate of change calculated by the multiplier 59 . The response delay compensator 29 is connected to the output terminal of the integrator 60 .
响应延迟补偿部29由传递函数的反函数构成。传递函数是将从转矩指令信号至电动机2实际输出的转矩的特性模型化而得到的。转矩指令信号输入到电流控制放大器15(参照图2)。响应延迟补偿部29对积分器60所输出的积分值进行乘法运算来生成摩擦补偿信号。The response delay compensator 29 is constituted by an inverse function of the transfer function. The transfer function is obtained by modeling the characteristics from the torque command signal to the torque actually output by the motor 2 . The torque command signal is input to the current control amplifier 15 (see FIG. 2 ). The response delay compensator 29 multiplies the integrated value output from the integrator 60 to generate a friction compensation signal.
对近似式5、6进行说明。第三摩擦特性估计部56、第四摩擦特性估计部57使用近似式5、6。本变形例中的各种参数的定义与对上述近似式1、2进行定义时相同。Approximate expressions 5 and 6 will be described. The third friction characteristic estimating unit 56 and the fourth friction characteristic estimating unit 57 use approximate expressions 5 and 6. The definitions of various parameters in this modified example are the same as those defined in the approximate expressions 1 and 2 above.
近似式5、6是用x’对近似式1、2进行微分运算而得到的。近似式5为用x’对式(1)进行微分运算后得到的式(7)。Approximate formulas 5 and 6 are obtained by differentiating approximate formulas 1 and 2 with x'. Approximate formula 5 is formula (7) obtained after differential operation of formula (1) with x'.
·df1/dx’=2fc0/a0{1-tanh2(|x’|/a0)}+1/a1(2fc1+fc2-fc0){1-tanh2(|x’|/a1)}…(7)·df 1 /dx'=2f c0 /a 0 {1-tanh 2 (|x'|/a 0 )}+1/a 1 (2f c1 +f c2 -f c0 ){1-tanh 2 (|x '|/a 1 )}...(7)
近似式6为用x’对式(2)进行微分运算后得到的式(8)。Approximate formula 6 is formula (8) obtained after differential operation of formula (2) with x'.
·df2/dx’=fc2/a2{1-tanh2{(|x’|-b)/a2}}...(8)·df 2 /dx'=f c2 /a 2 {1-tanh 2 {(|x'|-b)/a 2 }}...(8)
设在|x’|-b<0的情况下,df2/dx’=0。When |x'|-b<0, df 2 /dx'=0.
调查了利用上述实施方式的摩擦补偿器13进行了摩擦补偿的情况与利用本变形例的摩擦补偿器106进行了摩擦补偿的情况下的效果差异。前者的方式为补偿方式1,后者的方式为补偿方式2。在图21中用细线表示补偿方式1的数据,用粗线表示补偿方式2的数据。The difference in effect between the case where friction compensation was performed by the friction compensator 13 of the above-described embodiment and the case where friction compensation was performed by the friction compensator 106 of this modified example was investigated. The former method is compensation method 1, and the latter method is compensation method 2. In FIG. 21, the data of compensation method 1 is shown by thin lines, and the data of compensation method 2 is shown by thick lines.
调查了以非高速进行了圆弧动作的情况与以高速进行了圆弧动作的情况下的摩擦补偿的误差。如图21所示,在以非高速进行了圆弧切削的情况下,通过补偿方式1、2进行了摩擦补偿时的摩擦转矩是相同的。如图22所示,在以高速进行了圆弧切削的情况下,通过补偿方式2进行了摩擦补偿时的摩擦转矩相对于补偿方式1产生了误差。在补偿方式2的情况下,暂且求出摩擦转矩相对于时间的变化率,并对求出的结果进行时间积分运算。因此,在高速时无法忽略积分误差。An error in friction compensation was investigated between a case where a circular motion was performed at a low speed and a case where a circular motion was performed at a high speed. As shown in FIG. 21 , when arc cutting is performed at a non-high speed, the friction torque when friction compensation is performed by compensation methods 1 and 2 is the same. As shown in FIG. 22 , when arc cutting is performed at high speed, an error occurs in the friction torque when friction compensation is performed by compensation method 2 relative to compensation method 1 . In the case of the compensation method 2, the rate of change of the friction torque with respect to time is once obtained, and a time integral operation is performed on the obtained result. Therefore, the integral error cannot be ignored at high speed.
如上所述,在对日本专利公开2008年210273号公报的控制方式进行变更来进行了与本发明同样的补偿时,在非高速时能够得到同样的效果。本发明的方式是如下方式:利用单纯以反转距离的函数表现的摩擦估计式来进行计算,并与转矩指令进行加法运算。本发明能够高精度地进行从低速区域至高速区域的摩擦补偿,本发明与以往的方式相比更为优良。As described above, when the control method of Japanese Patent Laid-Open No. 210273 is changed to perform the same compensation as the present invention, the same effect can be obtained at non-high speed. The mode of the present invention is a mode in which calculation is performed using a friction estimation expression expressed simply as a function of the reverse distance, and the torque command is added to the torque command. The present invention can perform friction compensation from a low-speed region to a high-speed region with high precision, and the present invention is superior to conventional methods.
在上述实施方式中,近似式1中使用的式(1)是两组tanh函数的组合。式(4)是两组exp函数的组合。第一项是tanh函数且第二项是exp函数的组合、以及第一项是exp函数且第二项是tanh函数的组合也能够得到同样的效果。In the above embodiment, the formula (1) used in the approximation formula 1 is a combination of two sets of tanh functions. Equation (4) is a combination of two groups of exp functions. A combination of the first term being the tanh function and the second term being the exp function, and a combination of the first term being the exp function and the second term being the tanh function can also obtain the same effect.
在上述实施方式中,近似式1的第一项是利用tanh函数或exp函数来对反转后的急剧的摩擦变化进行近似。反转后的急剧的摩擦变化在急剧上升之后立即成为恒定值。因此,近似式1的第一项也可以使用斜坡函数或阶跃函数来进行近似。In the above-mentioned embodiment, the first term of the approximation formula 1 is to use the tanh function or the exp function to approximate the sharp friction change after the reversal. The sharp friction change after the reversal becomes a constant value immediately after the sharp rise. Therefore, the first term of approximate formula 1 can also be approximated using a ramp function or a step function.
上述实施方式以工作台3为移动体。移动体也可以是支承用于抓握工具的主轴的机构。事先固定工作台。机构也可以由主轴头和立柱构成。以能够绕主轴旋转的方式支承主轴头。立柱以能够使主轴头上下或前后移动的方式支承主轴头。In the above-mentioned embodiment, the table 3 is used as a moving body. The moving body may also be a mechanism that supports a main shaft for gripping a tool. Secure the workbench in advance. The mechanism can also be composed of a spindle head and a column. The spindle head is supported rotatably around the spindle. The column supports the spindle head in such a manner that the spindle head can move up and down or back and forth.
使用式(1)作为近似式1,使用式(5)作为近似式2构建事例7。使用式(4)作为近似式1,使用式(2)作为近似式2构建事例8。Case 7 is constructed using equation (1) as approximate equation 1 and equation (5) as approximate equation 2. Case 8 is constructed using equation (4) as approximate equation 1 and equation (2) as approximate equation 2.
在事例7中,fc0=0.9,a0=0.0025,fc1=0.45,a1=0.031,fc2=0.35,a2=0.014,b=0.075。在事例8中,fc0=0.9,a0=0.00025,fc1=0.45,a1=0.031,fc2=0.35,a2=0.014,b=0.075。图23是事例7的图。图24是事例8的图。In Case 7, f c0 =0.9, a 0 =0.0025, f c1 =0.45, a 1 =0.031, f c2 =0.35, a 2 =0.014, b=0.075. In case 8, f c0 =0.9, a 0 =0.00025, f c1 =0.45, a 1 =0.031, f c2 =0.35, a 2 =0.014, b=0.075. FIG. 23 is a diagram of case 7. FIG. FIG. 24 is a diagram of Case 8. FIG.
在本发明中,可以使用式(1)、(4)这两个式子中的任一个式子作为近似式1,使用式(2)、(5)、(6)这三个式子中的任一个式子作为近似式2。因此,可以组合出六种方法。In the present invention, any one of the two formulas of formula (1) and (4) can be used as approximate formula 1, and the three formulas of formula (2), (5) and (6) can be used Any one of the formulas is used as approximate formula 2. Therefore, six methods can be combined.
上述实施方式使用了双螺母预压方式的进给机构。本发明对于偏移预压方式的进给机构也能够获得同样的效果。偏移预压方式的进给机构将一对螺母和垫圈形成为一体来构成为一个螺母。本发明在偏移预压方式的进给机构中也能够得到同样的结果。The above embodiment uses the feed mechanism of the double nut preloading method. The present invention can also obtain the same effect for the feed mechanism of the offset preloading method. The feed mechanism of the offset preload method integrates a pair of nuts and washers into one nut. The present invention can also obtain the same result in the feed mechanism of the offset preloading method.
Claims (7)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010237836 | 2010-10-22 | ||
JP2010-237836 | 2010-10-22 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102455683A CN102455683A (en) | 2012-05-16 |
CN102455683B true CN102455683B (en) | 2014-08-06 |
Family
ID=46038963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110325809.8A Active CN102455683B (en) | 2010-10-22 | 2011-10-21 | Number control device and friction compensation method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP5817428B2 (en) |
CN (1) | CN102455683B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5657633B2 (en) * | 2012-12-14 | 2015-01-21 | ファナック株式会社 | Servo control device for correcting position error when moving body is reversed |
JP6048174B2 (en) * | 2013-01-31 | 2016-12-21 | ブラザー工業株式会社 | Numerical control device and lost motion compensation method |
JP6051970B2 (en) * | 2013-03-12 | 2016-12-27 | ブラザー工業株式会社 | Numerical controller and friction compensation method |
JP5885883B2 (en) | 2013-03-14 | 2016-03-16 | 三菱電機株式会社 | Servo control device |
JP5991249B2 (en) * | 2013-03-27 | 2016-09-14 | ブラザー工業株式会社 | Numerical controller |
CN105700470B (en) * | 2016-02-01 | 2017-12-29 | 华中科技大学 | A kind of method for being used to reduce lathe servo feed system tracking error |
JP6834528B2 (en) | 2017-01-25 | 2021-02-24 | オムロン株式会社 | Control devices, control programs and control systems |
US11137739B2 (en) * | 2017-08-28 | 2021-10-05 | Mitsubishi Electric Corporation | Numerical control system |
CN108984831B (en) * | 2018-06-07 | 2022-11-15 | 武汉理工大学 | A Modeling Method for Transmission Chain Stiffness of Double-screw Drive System |
CN112114559B (en) * | 2020-09-11 | 2021-09-03 | 苏州浩智工业控制技术有限公司 | Over-quadrant compensation method and device based on torque feedforward of field bus |
CN113586692B (en) * | 2021-07-30 | 2023-09-01 | 新代科技(苏州)有限公司 | Transmission device and control method thereof |
TWI778729B (en) * | 2021-07-30 | 2022-09-21 | 新代科技股份有限公司 | Transmission device and method of controlling the same |
JP2023109649A (en) * | 2022-01-27 | 2023-08-08 | 国立大学法人 東京大学 | Machine tool, machine tool controller and method of controlling machine tool |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1159618A (en) * | 1995-11-23 | 1997-09-17 | Lg产电株式会社 | Position controller for machine-tool |
JP3351990B2 (en) * | 1997-05-27 | 2002-12-03 | オークマ株式会社 | Ball screw drive system position controller |
CN101604157A (en) * | 2008-06-10 | 2009-12-16 | 大隈株式会社 | position control device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10085354B3 (en) * | 2000-11-01 | 2013-11-21 | Mitsubishi Denki K.K. | Servo control method and servo control device |
JP3840429B2 (en) * | 2002-04-30 | 2006-11-01 | オークマ株式会社 | Position control device |
JP2004362204A (en) * | 2003-06-04 | 2004-12-24 | Toshiba Mach Co Ltd | Frictional force measuring method in machine tool and numeric control device using measured value obtained by frictional force measuring method |
JP2006121806A (en) * | 2004-10-20 | 2006-05-11 | Yaskawa Electric Corp | Friction compensation method of motor control device, and the motor control device |
JP2007257515A (en) * | 2006-03-24 | 2007-10-04 | Toshiba Mach Co Ltd | Method for controlling servo motor |
JP4581096B2 (en) * | 2007-02-27 | 2010-11-17 | 国立大学法人東京農工大学 | Friction compensation method, friction compensator, and motor control device |
-
2011
- 2011-10-21 JP JP2011231584A patent/JP5817428B2/en active Active
- 2011-10-21 CN CN201110325809.8A patent/CN102455683B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1159618A (en) * | 1995-11-23 | 1997-09-17 | Lg产电株式会社 | Position controller for machine-tool |
JP3351990B2 (en) * | 1997-05-27 | 2002-12-03 | オークマ株式会社 | Ball screw drive system position controller |
CN101604157A (en) * | 2008-06-10 | 2009-12-16 | 大隈株式会社 | position control device |
Non-Patent Citations (3)
Title |
---|
JP特开2006-121806A 2006.05.11 |
JP特开2007-257515A 2007.10.04 |
JP特许第3351990号B2 2002.09.20 |
Also Published As
Publication number | Publication date |
---|---|
CN102455683A (en) | 2012-05-16 |
JP2012108892A (en) | 2012-06-07 |
JP5817428B2 (en) | 2015-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102455683B (en) | Number control device and friction compensation method | |
CN104049567B (en) | Digital control device and friction compensation method | |
CN103080859B (en) | Trajectory control device | |
CN100504695C (en) | Position control devices, measuring devices and processing devices | |
CN101727088B (en) | Position control apparatus for numerically controlled machine | |
CN103853099B (en) | The Servocontrol device of position correction function with driven member | |
JP4581096B2 (en) | Friction compensation method, friction compensator, and motor control device | |
JP5096019B2 (en) | Servo motor control device | |
US20130238101A1 (en) | Load inertia estimation method and control parameter adjustment method | |
JP5657633B2 (en) | Servo control device for correcting position error when moving body is reversed | |
JP2015018496A (en) | Friction compensation device, friction compensation method and servo control device | |
CN104076740B (en) | Numerical-control device | |
US20150323924A1 (en) | Servo control device | |
US9417622B2 (en) | Controller and control method | |
JP2007058278A (en) | Position control device having lost motion correction function | |
JP4503148B2 (en) | Compensator for feeding mechanism of numerically controlled machine tool and numerically controlled machine tool | |
CN108073188B (en) | Servo motor control unit | |
US9785125B2 (en) | Motor control device for compensating backlash | |
JP5834885B2 (en) | Numerical control apparatus and friction compensation method | |
CN103970070B (en) | Numerical control device and power loss compensation method | |
Pislaru | Parameter identification and hybrid mathematical modelling techniques applied to non-linear control systems | |
JP4750496B2 (en) | Method for correcting lost motion of numerically controlled machine tool and numerically controlled machine tool | |
SATO et al. | Motion control techniques of Rotary table for 5-axis machining centers | |
CN107850903A (en) | Position control and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |