JP4842903B2 - Numerical control apparatus and numerical control method - Google Patents

Numerical control apparatus and numerical control method Download PDF

Info

Publication number
JP4842903B2
JP4842903B2 JP2007237065A JP2007237065A JP4842903B2 JP 4842903 B2 JP4842903 B2 JP 4842903B2 JP 2007237065 A JP2007237065 A JP 2007237065A JP 2007237065 A JP2007237065 A JP 2007237065A JP 4842903 B2 JP4842903 B2 JP 4842903B2
Authority
JP
Japan
Prior art keywords
axis
driven body
center
displacement amount
acceleration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007237065A
Other languages
Japanese (ja)
Other versions
JP2009070089A (en
Inventor
知治 安藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Okuma Corp
Original Assignee
Okuma Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Okuma Corp filed Critical Okuma Corp
Priority to JP2007237065A priority Critical patent/JP4842903B2/en
Publication of JP2009070089A publication Critical patent/JP2009070089A/en
Application granted granted Critical
Publication of JP4842903B2 publication Critical patent/JP4842903B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、5軸工作機械等に用いられる送り駆動系における数値制御装置及び数値制御方法に関する。   The present invention relates to a numerical control device and a numerical control method in a feed drive system used for a 5-axis machine tool or the like.

図10は直交3軸のXYZ軸とY軸回りの回転軸B軸とZ軸回りの回転軸C軸を備えた5軸工作機械の数値制御装置、図11は当該5軸工作機械の概略図を夫々示す。なお、5軸各軸の構成は共通であるのでX軸のみについて説明する。X軸において、サーボモータ43の回転力は、ボールねじ51を介して直線運動に変換されて、被駆動体となるX軸テーブル53を駆動させる。サーボモータ43には位置検出器44が搭載されており、この位置検出器44からの出力によってフィードバック制御が行われる。すなわち、位置検出器44により回転角を検出して間接的にX軸テーブル53の位置を検出して位置制御を行うものである。そして、ワーク56の載ったX軸テーブル53を所望の位置に移動することで主軸54とワーク56を相対的に制御してワーク56を工具55で加工する。数値制御装置45においては、プログラムに基づいて関数発生部41で生成された位置指令値TPのX軸の位置指令値TPxから、サーボモータ43に取り付けられている位置検出器44の現在位置を引いた値が制御器42に入力されるようになっている。   FIG. 10 is a numerical control device of a 5-axis machine tool having three orthogonal XYZ axes, a rotation axis B axis around the Y axis, and a rotation axis C axis around the Z axis, and FIG. 11 is a schematic diagram of the 5-axis machine tool. Respectively. Since the configuration of each of the five axes is common, only the X axis will be described. In the X axis, the rotational force of the servo motor 43 is converted into a linear motion via the ball screw 51 to drive the X axis table 53 serving as a driven body. A position detector 44 is mounted on the servo motor 43, and feedback control is performed by the output from the position detector 44. In other words, the position detector 44 detects the rotation angle and indirectly detects the position of the X-axis table 53 to perform position control. Then, by moving the X-axis table 53 on which the workpiece 56 is placed to a desired position, the spindle 54 and the workpiece 56 are relatively controlled to process the workpiece 56 with the tool 55. In the numerical controller 45, the current position of the position detector 44 attached to the servo motor 43 is subtracted from the X-axis position command value TPx of the position command value TP generated by the function generator 41 based on the program. The value is input to the controller 42.

図11に示した従来のセミクローズドループ方式の5軸工作機械では、駆動力を発生するボールねじ51の軸とX軸テーブル53の重心位置とが異なる場合は、X軸テーブル53の姿勢に変化が生じ、X軸テーブル53を所定の位置に正の向きで位置決めした場合と負の向きで位置決めした場合とでは両停止位置に差が生じる。そこで、ある送り速度で送ったときにおけるこの差を測定し、バックラッシ補正値として数値制御装置45に予め与えておき移動量を補正している。
例えば特許文献1には、テーブル移動方向の反転時におけるボールねじの変形量の変化およびテーブルの変形量の変化を検出可能にする機能を設け、テーブルの移動方向反転時における位置誤差をボールねじの変形に基づく位置誤差とテーブルの変形に基づく位置誤差とに分けて検出し、それぞれの誤差を補正する機能を備えた数値制御装置が記載されている。また、特許文献2には、位置指令を2回微分して求められる加速度に係数を乗じた値を補正量として求め、速度指令に加算して加減速時の構造体の伸縮による位置誤差を補正する制御法が記載されている。さらに、特許文献3には、移動体の加速度を検出し目標位置の補正量を求める位置決め装置が記載されている。
In the conventional semi-closed loop type five-axis machine tool shown in FIG. 11, when the axis of the ball screw 51 generating the driving force and the center of gravity of the X-axis table 53 are different, the posture of the X-axis table 53 is changed. Therefore, there is a difference between the two stop positions when the X-axis table 53 is positioned at a predetermined position in the positive direction and when it is positioned in the negative direction. Therefore, this difference when feeding at a certain feed rate is measured, and given in advance to the numerical controller 45 as a backlash correction value, the movement amount is corrected.
For example, Patent Document 1 provides a function that makes it possible to detect a change in the deformation amount of the ball screw and a change in the deformation amount of the table when the table moving direction is reversed. There is described a numerical control device having a function of detecting and correcting a position error based on deformation and a position error based on table deformation and correcting each error. In Patent Document 2, a value obtained by multiplying the acceleration obtained by differentiating the position command twice by a coefficient is obtained as a correction amount, and added to the speed command to correct a position error due to expansion / contraction of the structure during acceleration / deceleration. A control method is described. Furthermore, Patent Literature 3 describes a positioning device that detects the acceleration of a moving body and obtains a correction amount for a target position.

特開平6−67716号公報JP-A-6-67716 特許第3308656号公報Japanese Patent No. 3308656 特開平8−297508号公報JP-A-8-297508

しかし、特許文献2,3の方法には、直線軸の被駆動体が姿勢変化することで生じるロストモーションによる被駆動体の姿勢変形や、直線軸と直交する回転軸も含めた補正について言及がない。このロストモーションは、被駆動体の重心と駆動力が作用する位置とが一致していないために生じるもので、送り駆動系に十分な剛性を持たせればこのような姿勢変化は無視できるが、コスト上やむを得ず剛性を持たせることができない場合や、大型の工作機械のように被駆動体の重心と駆動位置とが大きく離れ、且つ被駆動体の質量が大きい場合は無視することができない。ロストモーションの値は一定値ではなく、また反転時だけでなく加減速度の変化によって刻々と変化するため、特許文献2,3に記載のような運動方向反転時に一定の補正値を加えるバックラッシ補正機能では、姿勢変化におけるロストモーションを補正するのには不十分で、主軸とワークとの相対位置等の補正は行えない。特許文献1には、テーブルの移動方向反転時のテーブル部の変形量の変化を検出して誤差を補正する技術が開示されてはいるが、被駆動体の姿勢変化を求めるのに特別な変位センサを設ける必要がありコスト高になってしまう。   However, the methods of Patent Documents 2 and 3 refer to the posture deformation of the driven body due to the lost motion caused by the posture change of the driven body of the linear axis and the correction including the rotation axis orthogonal to the linear axis. Absent. This lost motion occurs because the center of gravity of the driven body does not match the position where the driving force acts.If the feed drive system has sufficient rigidity, such a change in posture can be ignored. It cannot be ignored when it is unavoidable in terms of cost and cannot be rigid, or when the center of gravity of the driven body and the driving position are far apart and the mass of the driven body is large as in a large machine tool. The lost motion value is not a constant value, and changes not only at the time of reversal but also by the change in acceleration / deceleration. However, it is insufficient for correcting the lost motion in the posture change, and the relative position between the spindle and the workpiece cannot be corrected. Japanese Patent Application Laid-Open No. 2003-228561 discloses a technique for detecting a change in the amount of deformation of the table portion when the table moving direction is reversed and correcting the error. It is necessary to provide a sensor, which increases the cost.

そこで、本発明は、上述のような問題に鑑みなされたものであり、変位センサ等を設けることなく、直線軸に生じた姿勢変化を回転軸を含めて精度よく補正することができる数値制御装置及び数値制御方法を提供するものである。   Accordingly, the present invention has been made in view of the above-described problems, and is a numerical control device capable of accurately correcting posture changes occurring on a linear axis including a rotation axis without providing a displacement sensor or the like. And a numerical control method.

上記目的を達成するために、請求項1に記載の発明は、被駆動体を直線移動させる1又は互いに直交する複数の直線軸と、何れかの直線軸回りで回転して他の直線軸と直交する1以上の回転軸とを有する数値制御装置において、前記被駆動体の加減速度を求める加減速度演算手段と、前記加減速度演算手段で得られた前記被駆動体の加減速度と、前記被駆動体の重心位置及び質量と、前記被駆動体に駆動力が作用する位置とに基づいて、少なくとも前記回転軸の周りの姿勢変位量を含む前記被駆動体の姿勢変位量を求める姿勢変位量演算手段と、前記姿勢変位量演算手段で得られた姿勢変位量から少なくとも前記回転軸の補正値を求める回転補正値演算手段と、を備えたことを特徴とするものである。
請求項2に記載の発明は、請求項1の構成において、前記被駆動体上に他の直線軸若しくは回転軸が載っている場合、前記姿勢変位量演算手段は、前記他の直線軸若しくは回転軸の重心位置を加味して修正した重心位置を前記被駆動体の重心位置として前記被駆動体の姿勢変位量を求めることを特徴とするものである。
請求項3に記載の発明は、請求項1又は2の構成において、前記被駆動体の重心位置及び/又は質量を入力する入力手段を設けて、前記姿勢変位量演算手段で用いる前記被駆動体の重心位置及び/又は質量を任意に変更可能としたことを特徴とするものである。
In order to achieve the above-mentioned object, the invention according to claim 1 is characterized in that one or a plurality of linear axes orthogonal to each other for linearly moving the driven body, and another linear axis rotating around any one of the linear axes. In a numerical control apparatus having one or more rotating shafts orthogonal to each other, acceleration / deceleration calculating means for obtaining acceleration / deceleration of the driven body, acceleration / deceleration of the driven body obtained by the acceleration / deceleration calculating means, Posture displacement amount for determining the posture displacement amount of the driven body including at least the posture displacement amount around the rotation axis based on the gravity center position and mass of the drive body and the position where the driving force acts on the driven body. And a rotation correction value calculation unit that obtains at least a correction value of the rotation axis from the posture displacement amount obtained by the posture displacement amount calculation unit.
According to a second aspect of the present invention, in the configuration of the first aspect, when the other linear axis or the rotation axis is mounted on the driven body, the posture displacement amount calculating means is configured to change the other linear axis or the rotation axis. The posture displacement amount of the driven body is obtained using the center of gravity position corrected by taking into account the position of the center of gravity of the shaft as the center of gravity position of the driven body.
According to a third aspect of the present invention, in the configuration of the first or second aspect, the driven body used in the posture displacement amount calculating means is provided with input means for inputting a gravity center position and / or mass of the driven body. The center of gravity position and / or the mass can be arbitrarily changed.

上記目的を達成するために、請求項4に記載の発明は、数値制御方法であって、1又は互いに直交する複数の直線軸で直線駆動する被駆動体の加減速度を求めて記憶手段に格納する第1ステップと、第1ステップで得られた被駆動体の加減速度と、前記被駆動体の重心位置及び質量と、前記被駆動体に駆動力が作用する位置とに基づいて、少なくとも、何れかの直線軸回りで回転して他の直線軸と直交する1以上の回転軸の周りの姿勢変位量を含む前記被駆動体の姿勢変位量を求めて前記記憶手段に格納する第2ステップと、第2ステップで得られた姿勢変位量から、少なくとも前記回転軸の補正値を求める第3ステップと、を有することを特徴とするものである。
請求項5に記載の発明は、請求項4の構成において、前記被駆動体上に他の直線軸若しくは回転軸が載っている場合、前記第2ステップでは、前記他の直線軸若しくは回転軸の重心位置を加味して修正した重心位置を前記被駆動体の重心位置として前記被駆動体の姿勢変位量を求めることを特徴とするものである。
請求項6に記載の発明は、請求項4又は5の構成において、前記第2ステップでは、入力手段によって得られた前記被駆動体の重心位置及び質量を用いることを特徴とするものである。
In order to achieve the above object, the invention described in claim 4 is a numerical control method, wherein the acceleration / deceleration of a driven body that is linearly driven by one or a plurality of linear axes orthogonal to each other is obtained and stored in a storage means. Based on the first step, the acceleration / deceleration of the driven body obtained in the first step, the center of gravity position and mass of the driven body, and the position where the driving force acts on the driven body , A second step of obtaining a posture displacement amount of the driven body including a posture displacement amount around one or more rotation axes orthogonal to another linear axis by rotating around any one of the linear axes ; If, from the attitude displacement amount obtained in the second step, is characterized in that a third step of obtaining at least the correction value of the rotary shaft, a.
According to a fifth aspect of the present invention, in the configuration of the fourth aspect, when another linear axis or rotating shaft is placed on the driven body, in the second step, the other linear axis or rotating shaft is The posture displacement amount of the driven body is obtained using the center of gravity position corrected by taking the center of gravity position into account as the center of gravity position of the driven body.
According to a sixth aspect of the present invention, in the configuration of the fourth or fifth aspect, the second step uses the position of the center of gravity and the mass of the driven body obtained by the input means.

請求項1及び4の発明では、直線軸に生じた姿勢変化に基づいて回転軸を補正することで、例えば主軸とワークとの相対位置等を精度よく制御することが可能になる。特に、姿勢変化量を加速度から求めて補正するため動的に補正することが可能である。
請求項2及び5の発明では、補正対象の直線軸上に直線軸若しくは回転軸が載っている場合、上に載っている軸の移動により補正対象の直線軸の重心位置が変化した場合でも対応でき、高精度な加工を実現することができる。
請求項3及び6の発明では、ワークの大きさや重さが大きく異なる場合でも、オペレータがワークの当該情報を数値制御装置に入力することでワークの変化に対応可能となる。
In the first and fourth aspects of the invention, for example, the relative position between the spindle and the workpiece can be accurately controlled by correcting the rotation axis based on the posture change generated on the linear axis. In particular, since the posture change amount is obtained from the acceleration and corrected, it can be corrected dynamically.
In the inventions of claims 2 and 5, when a linear axis or a rotation axis is placed on the linear axis to be corrected, even if the position of the center of gravity of the linear axis to be corrected changes due to the movement of the axis placed on the axis And high-precision machining can be realized.
According to the third and sixth aspects of the present invention, even when the size and weight of the workpiece are greatly different, the operator can respond to the change of the workpiece by inputting the information on the workpiece into the numerical control device.

以下、本発明の実施の形態を図面に基づいて説明する。
[形態1]
図1は、5軸工作機械の数値制御装置のブロック図、図2は5軸工作機械の説明図である。5軸工作機械や数値制御装置の基本的な構成は図10、11と同じで、ここでもX軸のみについて説明する。
まず数値制御装置5においては、関数発生部1の他、各軸の駆動系ごとに、制御器2、サーボモータ3、位置検出器4を夫々備えている。図10と異なるのは、X軸テーブル13に生じた姿勢変化量を計算する補正値計算部(姿勢変化量演算手段及び回転補正値演算手段)6と、位置検出器4の出力から加速度を求める加速度計算部(加減速度演算手段)7とを新たに設けた点である。
この数値制御装置5においては、例えばX軸テーブル13が移動した場合、加速度計算部7で求められたX軸テーブル13の加速度AAxと各軸の位置指令値TPとを用いて補正値計算部6が補正値EPを算出して各軸に送る。よって、位置指令値TPから補正値EPとサーボモータ3に取り付けられた位置検出器4の現在位置APを引いた値が制御器2に入力されることになる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Form 1]
FIG. 1 is a block diagram of a numerical controller of a 5-axis machine tool, and FIG. 2 is an explanatory diagram of the 5-axis machine tool. The basic configurations of the 5-axis machine tool and the numerical control device are the same as those in FIGS. 10 and 11, and only the X-axis will be described here.
First, the numerical control device 5 includes a controller 2, a servo motor 3, and a position detector 4 for each axis drive system in addition to the function generator 1. The difference from FIG. 10 is that the acceleration is obtained from the correction value calculation unit (attitude change amount calculation means and rotation correction value calculation means) 6 for calculating the attitude change amount generated in the X-axis table 13 and the output of the position detector 4. The acceleration calculation unit (acceleration / deceleration calculation means) 7 is newly provided.
In this numerical control device 5, for example, when the X-axis table 13 moves, the correction value calculation unit 6 uses the acceleration AAx of the X-axis table 13 obtained by the acceleration calculation unit 7 and the position command value TP of each axis. Calculates the correction value EP and sends it to each axis. Therefore, a value obtained by subtracting the correction value EP and the current position AP of the position detector 4 attached to the servo motor 3 from the position command value TP is input to the controller 2.

図2は、X軸テーブル13がX軸ボールねじ11の駆動により加速度AAxで移動することでX軸テーブル13にピッチングが生じている様子を示している。14は主軸、15は工具である。また、X軸ボールねじ11の軸心とX軸テーブル13の重心との距離Hx、転がりガイド12のスライダ間距離Lx、X軸テーブル13の質量Mx、重力加速度g、スライダのラジアル方向剛性Kxは、夫々補正値計算部6のメモリに予め記録されている。図2においては、X軸テーブル13の重心はその2つのスライダ12(a)と12(b)との中心にある。この図2を用いて姿勢変化量の算出方法について具体的に説明する。
まず、加速度AAxは、加速度計算部7で求められる(本発明の第1ステップ)。
次に、前側のスライダ12(a)のラジアル方向負荷荷重をF1、後側のスライダ12(b)のラジアル方向負荷荷重をF2、X軸テーブル13の倒れ量をΔBとすると、
FIG. 2 shows how the X-axis table 13 is pitched as the X-axis table 13 is moved at the acceleration AAx by driving the X-axis ball screw 11. Reference numeral 14 denotes a spindle, and 15 denotes a tool. Further, the distance Hx between the axis of the X-axis ball screw 11 and the center of gravity of the X-axis table 13, the distance Lx between the sliders of the rolling guide 12, the mass Mx of the X-axis table 13, the gravitational acceleration g, and the radial stiffness Kx of the slider are These are recorded in advance in the memory of the correction value calculation unit 6. In FIG. 2, the center of gravity of the X-axis table 13 is at the center between the two sliders 12 (a) and 12 (b). The method of calculating the posture change amount will be specifically described with reference to FIG.
First, the acceleration AAx is obtained by the acceleration calculator 7 (first step of the present invention).
Next, assuming that the radial load load of the front slider 12 (a) is F1, the radial load load of the rear slider 12 (b) is F2, and the tilt amount of the X-axis table 13 is ΔB,

F1=Mx・g/2−Mx・AAx・Hx/(2Lx)・・(式1)
F2=Mx・g/2+Mx・AAx・Hx/(2Lx)・・(式2)
ΔB=tan−1(|F1−F2|/Kx/Lx)・・(式3)
と表すことができる。
すなわち、X軸テーブル13が加減速することで、スライダ12のラジアル方向負荷荷重に、Mx・AAx・Hx/(2Lx)の項が加わるが、前後のスライダ12でその符号が異なるため、負荷荷重に差が生じてX軸テーブル13の姿勢変化となる。図1の補正値計算部6では、式3から補正値EPb=ΔBが算出され、B軸が補正により旋回することになる。
F1 = Mx · g / 2−Mx · AAx · Hx / (2Lx) ·· (Formula 1)
F2 = Mx · g / 2 + Mx · AAx · Hx / (2Lx) ·· (Formula 2)
ΔB = tan −1 (| F1−F2 | / Kx / Lx) (Expression 3)
It can be expressed as.
That is, as the X-axis table 13 accelerates or decelerates, the term Mx · AAx · Hx / (2Lx) is added to the radial load load of the slider 12, but the sign differs between the front and rear sliders 12. A difference occurs in the position of the X-axis table 13. In the correction value calculation unit 6 of FIG. 1, the correction value EPb = ΔB is calculated from Equation 3, and the B axis turns by correction.

こうして姿勢が変位したX軸テーブル13と刃先の位置とを旋回前後で一致させるために、X軸とZ軸をΔX、ΔZだけ移動させる必要がある。Z軸の指令値(この場合、X軸テーブル重心とB軸回転中心間の距離)をTPzとすると、
ΔX=TPz・sinΔB・・(式4)
ΔZ=TPz(1−cosΔB)・・(式5)
と表すことができる。すなわち、EPx=ΔXとEPz=ΔZとが夫々補正値となる。
In order to make the X-axis table 13 whose posture is displaced in this way coincide with the position of the blade edge before and after turning, it is necessary to move the X-axis and the Z-axis by ΔX and ΔZ. If the Z-axis command value (in this case, the distance between the X-axis table center of gravity and the B-axis rotation center) is TPz,
ΔX = TPz · sinΔB ·· (Formula 4)
ΔZ = TPz (1−cos ΔB) (5)
It can be expressed as. That is, EPx = ΔX and EPz = ΔZ are correction values, respectively.

図3は、数値制御装置5の姿勢変位補正機能のフローチャートで、プログラムによりX軸移動が指令されると、まずS1で関数発生部1よりTPxが算出される。次にS2では、加速度計算部7が位置検出器4の値からX軸の加速度AAxを算出し(本発明の第1ステップ)、S3では、S2で求められたX軸加速度AAxと、S1で算出されたZ軸指令値TPzとを用いて、上述したように補正値計算部6で補正値EPx、EPz、EPbが夫々算出されることになる(本発明の第2、第3ステップ)。   FIG. 3 is a flowchart of the posture displacement correction function of the numerical control device 5. When an X-axis movement is instructed by the program, first, TPx is calculated from the function generator 1 in S1. Next, in S2, the acceleration calculator 7 calculates the X-axis acceleration AAx from the value of the position detector 4 (first step of the present invention). In S3, the X-axis acceleration AAx obtained in S2 and S1 Using the calculated Z-axis command value TPz, the correction value calculation unit 6 calculates the correction values EPx, EPz, and EPb, respectively, as described above (second and third steps of the present invention).

このように、上記形態1の数値制御装置5及び数値制御方法によれば、X軸テーブル13の加速度を求める加速度計算部7と、加速度計算部7で得られたX軸テーブル13の加速度、X軸テーブル13の重心位置及び質量、X軸テーブル13に駆動力が作用する位置、に基づいてX軸テーブル13の姿勢変位量を求め、得られた姿勢変位量からX軸、Z軸及びB軸の補正値を求める補正値計算部6とを備えたことで、直線軸に生じた姿勢変化を回転軸を用いて補正して、主軸とワークの相対位置等を精度よく制御することが可能になる。特に、姿勢変化量を加速度から求めて補正するため動的に補正することが可能である。   As described above, according to the numerical control device 5 and the numerical control method of the first aspect, the acceleration calculation unit 7 for obtaining the acceleration of the X-axis table 13, the acceleration of the X-axis table 13 obtained by the acceleration calculation unit 7, X The posture displacement amount of the X-axis table 13 is obtained based on the center of gravity position and mass of the shaft table 13 and the position where the driving force acts on the X-axis table 13, and the X-axis, Z-axis, and B-axis are obtained from the obtained posture displacement amounts. With the correction value calculation unit 6 for obtaining the correction value, it is possible to correct the posture change generated on the linear axis using the rotation axis, and to accurately control the relative position of the spindle and the workpiece. Become. In particular, since the posture change amount is obtained from the acceleration and corrected, it can be corrected dynamically.

[形態2]
次に、本発明の他の形態を説明する。なお、形態1と同じ構成部には同じ符号を付して重複する説明は省略する。
図4に示す数値制御装置5aにおいては、補正値計算部6に、重心位置を計算する重心位置計算部8を新たに設け、直線軸上に直線軸もしくは回転軸が載っている場合、上に載っている軸の移動により補正対象の直線軸の重心位置が変化した場合でも対応できるようになっている。
図5は、5軸工作機械のY軸を示すもので、21はY軸ボールねじ、22はY軸テーブル29を案内するY軸転がりガイド、23はY軸クロスレール、24はY軸サーボモータ、24はY軸位置検出器である。ここでは直線移動するY軸テーブル29に他の直線軸であるZ軸が載っており、Z軸サーボモータ26、Z軸位置検出器27が搭載されて、被駆動体としてのZ軸ラム28を上下動可能としている。
[Form 2]
Next, another embodiment of the present invention will be described. In addition, the same code | symbol is attached | subjected to the same component as the form 1, and the overlapping description is abbreviate | omitted.
In the numerical control device 5a shown in FIG. 4, the correction value calculation unit 6 is newly provided with a centroid position calculation unit 8 for calculating the centroid position, and when the linear axis or the rotation axis is placed on the linear axis, Even if the position of the center of gravity of the straight axis to be corrected changes due to the movement of the mounted axis, it is possible to cope with it.
FIG. 5 shows the Y-axis of a 5-axis machine tool, 21 is a Y-axis ball screw, 22 is a Y-axis rolling guide for guiding a Y-axis table 29, 23 is a Y-axis crossrail, and 24 is a Y-axis servomotor. , 24 are Y-axis position detectors. Here, a Z-axis which is another linear axis is mounted on a Y-axis table 29 which moves linearly, a Z-axis servo motor 26 and a Z-axis position detector 27 are mounted, and a Z-axis ram 28 as a driven body is mounted. It can be moved up and down.

ここで、Z軸ラム28が例えば同図下側に示すように下降等することで、Y軸テーブル29等を含むY軸Z軸の重心位置はHyzからHyz’へと変化する。このHyz’は、Y軸の質量My、Z軸の質量をMz、重心位置Hyzを求めた時からのZ軸移動量ΔTPzとすれば、
Hyz’=Hyz−Mz・ΔTPz/(My+Mz)・・(式6)
で求めることができる。ここでは重心位置計算部8がこのHyz’を求めるようになっている。
よって、この数値制御装置5aにおいては、図6のフローチャートに示すように、プログラムによりY軸移動が指令されると、S11で関数発生によりTPyが算出される。S12では、加速度計算部7がY軸位置検出器25の値からY軸の加速度AAyを算出すると共に、重心位置計算部8で、Z軸の指令値TPzを用いて変位後のYZ軸重心位置Hyz’を算出する。次に、S13では、S12で求めたY軸加速度AAyと、YZ軸重心位置Hyz’とを用いて、補正値計算部6で補正値EPy、EPz、EPaを夫々算出することになる。
Here, when the Z-axis ram 28 is lowered, for example, as shown in the lower side of the figure, the position of the center of gravity of the Y-axis Z-axis including the Y-axis table 29 etc. changes from Hyz to Hyz ′. If Hyz ′ is the Y-axis mass My, the Z-axis mass Mz, and the center-of-gravity position Hyz obtained from the Z-axis movement amount ΔTPz,
Hyz ′ = Hyz−Mz · ΔTPz / (My + Mz) (Equation 6)
Can be obtained. Here, the center-of-gravity position calculation unit 8 obtains this Hyz ′.
Therefore, in this numerical controller 5a, as shown in the flowchart of FIG. 6, when a Y-axis movement is commanded by the program, TPy is calculated by generating a function in S11. In S12, the acceleration calculation unit 7 calculates the Y-axis acceleration AAy from the value of the Y-axis position detector 25, and the centroid position calculation unit 8 uses the Z-axis command value TPz to change the YZ-axis centroid position after displacement. Hyz ′ is calculated. Next, in S13, the correction value calculation unit 6 calculates the correction values EPy, EPz, and EPa using the Y-axis acceleration AAy obtained in S12 and the YZ-axis gravity center position Hyz ′.

このように、上記形態2の数値制御装置5a及び数値制御方法においても、直線軸に生じた姿勢変化を回転軸を用いて補正して、主軸とワークの相対位置等を精度よく制御することが可能になる。
特にここでは、Y軸の被駆動体上にZ軸が載っている場合、補正値計算部6は、Z軸の重心位置を加味して修正した重心位置をY軸の重心位置としてY軸テーブル29等の姿勢変位量を求めるようにしているので、上に載っている軸の移動により補正対象の直線軸の重心位置が変化した場合でも対応でき、高精度な加工を実現することができる。
As described above, also in the numerical control device 5a and the numerical control method of the second embodiment, it is possible to accurately control the relative position between the spindle and the workpiece by correcting the posture change generated on the linear axis using the rotation axis. It becomes possible.
In particular, here, when the Z-axis is placed on the driven body of the Y-axis, the correction value calculation unit 6 sets the center-of-gravity position corrected by taking the center-of-gravity position of the Z-axis into account as the Y-axis center of gravity position Since the posture displacement amount such as 29 is obtained, even when the position of the center of gravity of the linear axis to be corrected is changed due to the movement of the axis placed on it, high-accuracy machining can be realized.

[形態3]
図7に示す数値制御装置5bにおいては、形態2の構成に加え、機械のオペレータがワークの情報をキーボード等の入力手段を用いて入力することで、ワークの大きさや重さが大きく異なる場合でも対応できるようになっている。例えば図8に示すようにX軸テーブル13に大型のワーク31が載った場合、被駆動体の質量はMxからMx’に、重心位置はHxからHx’に変化する。このような場合、補正値計算部6に機械オペレータからこれらの情報(Mx’、Hx’)を入力することで、被駆動体の質量と重心位置とを正確に把握することができる。
よって、図9のフローチャートに示すように、S21でオペレータがワークの高さや質量に基づいて被駆動体の質量、重心位置を数値制御装置5bに入力する。S22でプログラムによりX軸移動が指令されると、S22で関数発生によりTPxが算出される。次に、S23では加速度計算部7が位置検出器4の値からX軸の加速度AAxを算出する。そして、S24では、S23で求められたX軸加速度AAxと、S21で算出されたZ軸指令値TPzとを用いて、補正値計算部6で補正値EPx、EPz、EPbを夫々算出することになる。
[Form 3]
In the numerical control device 5b shown in FIG. 7, in addition to the configuration of the second form, even when the machine operator inputs workpiece information using an input means such as a keyboard, the size and weight of the workpiece vary greatly. It can be supported. For example, as shown in FIG. 8, when a large workpiece 31 is placed on the X-axis table 13, the mass of the driven body changes from Mx to Mx ′, and the center of gravity changes from Hx to Hx ′. In such a case, by inputting these information (Mx ′, Hx ′) from the machine operator to the correction value calculation unit 6, it is possible to accurately grasp the mass and the gravity center position of the driven body.
Therefore, as shown in the flowchart of FIG. 9, in S21, the operator inputs the mass of the driven body and the position of the center of gravity to the numerical controller 5b based on the height and mass of the workpiece. When the X-axis movement is commanded by the program in S22, TPx is calculated by generating a function in S22. Next, in S23, the acceleration calculator 7 calculates the X-axis acceleration AAx from the value of the position detector 4. In S24, the correction value calculation unit 6 calculates the correction values EPx, EPz, and EPb, respectively, using the X-axis acceleration AAx obtained in S23 and the Z-axis command value TPz calculated in S21. Become.

このように、上記形態3の数値制御装置5b及び数値制御方法においても、直線軸に生じた姿勢変化を回転軸を用いて補正して、主軸とワークの相対位置等を精度よく制御することが可能になる。
特にここでは、X軸テーブルの重心位置及び質量を入力する入力手段を設けて、補正値計算部6で用いるX軸テーブルの重心位置及び質量を任意に変更可能としているので、ワークの大きさや重さが大きく異なる場合でも、オペレータがワークの当該情報を数値制御装置に入力することでワークの変化に対応可能となっている。
As described above, also in the numerical control device 5b and the numerical control method according to the third aspect, it is possible to accurately control the relative position between the spindle and the workpiece by correcting the posture change generated on the linear axis using the rotation axis. It becomes possible.
In particular, here, input means for inputting the gravity center position and mass of the X-axis table is provided so that the gravity center position and mass of the X-axis table used in the correction value calculation unit 6 can be arbitrarily changed. Even if the distances are greatly different, the operator can respond to changes in the workpiece by inputting the information on the workpiece into the numerical control device.

なお、上記形態1〜3では、加減速度演算手段で得た加速度を用いて被駆動体の姿勢変位量を求めるようにしているが、減速の際の減速度を用いて被駆動体の姿勢変化量を求めるようにしてもよい。
また、形態3においては、オペレータは被駆動体の質量と重心位置とを共に変更するようにしているが、何れか一方であっても差し支えない。
そして、上記形態1〜3では、5軸工作機械において本発明を適用した例で説明しているが、直線軸や回転軸はこれよりも少ない工作機械であっても差し支えないし、直線軸と、その直線軸に直交する回転軸とを有して夫々被駆動体を制御するものであれば、他の工作機械や産業機械にも本発明は適用可能である。
In the first to third embodiments, the posture displacement amount of the driven body is obtained using the acceleration obtained by the acceleration / deceleration calculating means. However, the posture change of the driven body using the deceleration during deceleration. The amount may be obtained.
In form 3, the operator changes both the mass of the driven body and the position of the center of gravity, but either one may be used.
And in the said form 1-3, although demonstrated in the example which applied this invention in a 5-axis machine tool, a linear axis and a rotating shaft may be a machine tool fewer than this, and a linear axis, The present invention can be applied to other machine tools and industrial machines as long as they have a rotation axis orthogonal to the linear axis and control the driven body.

形態1の数値制御装置のブロック図である。It is a block diagram of the numerical control apparatus of form 1. 形態1の5軸工作機械の説明図である。It is explanatory drawing of the 5-axis machine tool of the form 1. 形態1の数値制御装置の姿勢変位補正機能のフローチャートである。It is a flowchart of the attitude | position displacement correction function of the numerical control apparatus of form 1. 形態2の数値制御装置のブロック図である。It is a block diagram of the numerical control apparatus of form 2. 形態2の5軸工作機械の説明図である。It is explanatory drawing of the 5-axis machine tool of the form 2. 形態2の数値制御装置の姿勢変位補正機能のフローチャートである。It is a flowchart of the attitude | position displacement correction function of the numerical control apparatus of the form 2. 形態3の数値制御装置のブロック図である。It is a block diagram of the numerical control apparatus of form 3. 形態3の5軸工作機械の説明図である。It is explanatory drawing of the 5-axis machine tool of the form 3. 形態3の数値制御装置の姿勢変位補正機能のフローチャートである。It is a flowchart of the attitude | position displacement correction function of the numerical control apparatus of the form 3. 従来の数値制御装置のブロック図である。It is a block diagram of the conventional numerical control apparatus. 従来の5軸工作機械の説明図である。It is explanatory drawing of the conventional 5-axis machine tool.

符号の説明Explanation of symbols

1・・関数発生部、2・・制御器、3・・サーボモータ、4・・位置検出器、5,5a,5b・・数値制御装置、6・・補正値計算部、7・・加速度計算部、8・・重心位置計算部、11・・X軸ボールねじ、12・・スライダ、13・・X軸テーブル、14・・主軸、15・・工具、21・・Y軸ボールねじ、22・・Y軸転がりガイド、24・・Y軸サーボモータ、25・・Y軸位置検出器、26・・Z軸サーボモータ、27・・Z軸位置検出器、29・・Y軸テーブル、31・・大型ワーク。   1 ··· Function generator 2 ··· Controller 3 · · Servo motor 4 · · Position detector 5, 5a, 5b · · · Numerical control device 6 · · Correction value calculator 7 · · · Acceleration calculation , 8 .. Center of gravity position calculation unit, 11.. X-axis ball screw, 12.. Slider, 13 ... X-axis table, 14 ... Spindle, 15 ... Tool, 21 ... Y-axis ball screw, 22・ Y-axis rolling guide, 24 ・ ・ Y-axis servo motor, 25 ・ ・ Y-axis position detector, 26 ・ ・ Z-axis servo motor, 27 ・ ・ Z-axis position detector, 29 ・ ・ Y-axis table, 31 ・ ・Large workpiece.

Claims (6)

被駆動体を直線移動させる1又は互いに直交する複数の直線軸と、何れかの直線軸回りで回転して他の直線軸と直交する1以上の回転軸とを有する数値制御装置において、
前記被駆動体の加減速度を求める加減速度演算手段と、
前記加減速度演算手段で得られた前記被駆動体の加減速度と、前記被駆動体の重心位置及び質量と、前記被駆動体に駆動力が作用する位置とに基づいて、少なくとも前記回転軸の周りの姿勢変位量を含む前記被駆動体の姿勢変位量を求める姿勢変位量演算手段と、
前記姿勢変位量演算手段で得られた姿勢変位量から少なくとも前記回転軸の補正値を求める回転補正値演算手段と、
を備えたことを特徴とする数値制御装置。
In a numerical controller having one or a plurality of linear axes orthogonal to each other for linearly moving a driven body and one or more rotational axes that rotate around any linear axis and are orthogonal to other linear axes,
Acceleration / deceleration calculation means for obtaining acceleration / deceleration of the driven body;
Based on the acceleration / deceleration speed of the driven body obtained by the acceleration / deceleration calculating means, the center of gravity position and mass of the driven body, and the position where the driving force acts on the driven body , at least the rotation shaft Posture displacement amount calculating means for obtaining the posture displacement amount of the driven body including the surrounding posture displacement amount ;
Rotation correction value calculation means for obtaining at least a correction value of the rotation axis from the posture displacement amount obtained by the posture displacement amount calculation means;
A numerical control device comprising:
前記被駆動体上に他の直線軸若しくは回転軸が載っている場合、前記姿勢変位量演算手段は、前記他の直線軸若しくは回転軸の重心位置を加味して修正した重心位置を前記被駆動体の重心位置として前記被駆動体の姿勢変位量を求めることを特徴とする請求項1に記載の数値制御装置。   When another linear axis or rotating shaft is mounted on the driven body, the posture displacement amount calculation means calculates the center of gravity position corrected in consideration of the center of gravity position of the other linear axis or rotating shaft. The numerical control apparatus according to claim 1, wherein a posture displacement amount of the driven body is obtained as a center of gravity position of the body. 前記被駆動体の重心位置及び/又は質量を入力する入力手段を設けて、前記姿勢変位量演算手段で用いる前記被駆動体の重心位置及び/又は質量を任意に変更可能としたことを特徴とする請求項1又は2に記載の数値制御装置。   An input means for inputting a gravity center position and / or mass of the driven body is provided, and the gravity center position and / or mass of the driven body used in the posture displacement amount calculating means can be arbitrarily changed. The numerical control apparatus according to claim 1 or 2. 1又は互いに直交する複数の直線軸で直線駆動する被駆動体の加減速度を求めて記憶手段に格納する第1ステップと、
第1ステップで得られた被駆動体の加減速度と、前記被駆動体の重心位置及び質量と、前記被駆動体に駆動力が作用する位置とに基づいて、少なくとも、何れかの直線軸回りで回転して他の直線軸と直交する1以上の回転軸の周りの姿勢変位量を含む前記被駆動体の姿勢変位量を求めて前記記憶手段に格納する第2ステップと、
第2ステップで得られた姿勢変位量から、少なくとも前記回転軸の補正値を求める第3ステップと、
を有することを特徴とする数値制御方法。
A first step of obtaining an acceleration / deceleration of a driven body that is linearly driven by one or a plurality of linear axes orthogonal to each other and storing the acceleration / deceleration in a storage unit;
Based on the acceleration / deceleration of the driven body obtained in the first step, the center of gravity position and mass of the driven body, and the position where the driving force acts on the driven body , at least about any one of the linear axes A second step of obtaining and storing in the storage means a posture displacement amount of the driven body including a posture displacement amount around one or more rotation axes orthogonal to another linear axis by rotating at
From the attitude displacement amount obtained in the second step, a third step of determining at least the correction value of the rotary shaft,
A numerical control method comprising:
前記被駆動体上に他の直線軸若しくは回転軸が載っている場合、前記第2ステップでは、前記他の直線軸若しくは回転軸の重心位置を加味して修正した重心位置を前記被駆動体の重心位置として前記被駆動体の姿勢変位量を求めることを特徴とする請求項4に記載の数値制御方法。   In the case where another linear axis or rotating shaft is mounted on the driven body, in the second step, the center of gravity position corrected by taking the center of gravity position of the other linear axis or rotating shaft into account is determined. The numerical control method according to claim 4, wherein an attitude displacement amount of the driven body is obtained as a center of gravity position. 前記第2ステップでは、入力手段によって得られた前記被駆動体の重心位置及び質量を用いることを特徴とする請求項4又は5に記載の数値制御方法。   6. The numerical control method according to claim 4, wherein, in the second step, the position of the center of gravity and the mass of the driven body obtained by the input unit are used.
JP2007237065A 2007-09-12 2007-09-12 Numerical control apparatus and numerical control method Expired - Fee Related JP4842903B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007237065A JP4842903B2 (en) 2007-09-12 2007-09-12 Numerical control apparatus and numerical control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007237065A JP4842903B2 (en) 2007-09-12 2007-09-12 Numerical control apparatus and numerical control method

Publications (2)

Publication Number Publication Date
JP2009070089A JP2009070089A (en) 2009-04-02
JP4842903B2 true JP4842903B2 (en) 2011-12-21

Family

ID=40606283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007237065A Expired - Fee Related JP4842903B2 (en) 2007-09-12 2007-09-12 Numerical control apparatus and numerical control method

Country Status (1)

Country Link
JP (1) JP4842903B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022145326A (en) * 2021-03-19 2022-10-04 大銀微系統股▲分▼有限公司 Compensation system for dynamic displacement error

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03273607A (en) * 1990-03-23 1991-12-04 Canon Inc Moving table system
JPH08110808A (en) * 1994-10-12 1996-04-30 Makino Milling Mach Co Ltd Method and device for controlling numerically controlled machine tool
JP4271052B2 (en) * 2004-02-10 2009-06-03 三菱電機株式会社 Numerical controller

Also Published As

Publication number Publication date
JP2009070089A (en) 2009-04-02

Similar Documents

Publication Publication Date Title
CN101727088B (en) Position control apparatus for numerically controlled machine
JP4291382B2 (en) Machine tool with automatic correction function of mounting error by contact detection
JP5566469B2 (en) Numerical control method
JP3887197B2 (en) NC machine tool correction device
US7571669B2 (en) Machining apparatus for noncircular shapes
JP4290639B2 (en) Numerical control device and numerical control machine tool
JP5739400B2 (en) Servo control device having position correction function of driven body
JP5418272B2 (en) Thermal displacement correction method and thermal displacement correction apparatus for machine tool
US9588509B2 (en) Correction method at time of feed axis reversal
WO2011083596A1 (en) Machine displacement adjustment system for machine tools
JPH0715715Y2 (en) Machine tool position correction device
JP2010231575A (en) Device and method for instruction of off-line of robot, and robot system
JP2010120150A (en) Estimation method for thermal deformation compensation of machine tool
JP2019003646A (en) Controller for motor
JP2019096219A (en) Control device of machine tool
JP4842903B2 (en) Numerical control apparatus and numerical control method
CN107303626B (en) Laser processing device and laser processing method
JP5334932B2 (en) Parameter setting method and parameter setting device
JPH08110808A (en) Method and device for controlling numerically controlled machine tool
JP4870647B2 (en) Position control method for rotating structure
JP4082598B2 (en) Method and apparatus for correcting thermal displacement of numerically controlled machine tool
JP3646562B2 (en) Numerical controller
JP5616262B2 (en) Numerically controlled machine tool
JP2003271214A (en) Numerical control device and pitch error correction method therefor
JP4879225B2 (en) Machine tool and displacement correction method in machine tool

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100527

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110218

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110906

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111006

R150 Certificate of patent or registration of utility model

Ref document number: 4842903

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141014

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees