JP2012033203A - Numerical control machine tool - Google Patents

Numerical control machine tool Download PDF

Info

Publication number
JP2012033203A
JP2012033203A JP2011248954A JP2011248954A JP2012033203A JP 2012033203 A JP2012033203 A JP 2012033203A JP 2011248954 A JP2011248954 A JP 2011248954A JP 2011248954 A JP2011248954 A JP 2011248954A JP 2012033203 A JP2012033203 A JP 2012033203A
Authority
JP
Japan
Prior art keywords
error
posture
data
axis
feed shaft
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.)
Pending
Application number
JP2011248954A
Other languages
Japanese (ja)
Inventor
Norio Mori
規雄 森
Tadashi Kasahara
忠 笠原
Naohiro Nishiguchi
直浩 西口
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.)
Makino Milling Machine Co Ltd
Original Assignee
Makino Milling Machine Co Ltd
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 Makino Milling Machine Co Ltd filed Critical Makino Milling Machine Co Ltd
Priority to JP2011248954A priority Critical patent/JP2012033203A/en
Publication of JP2012033203A publication Critical patent/JP2012033203A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a numerical control machine tool having a feeding spindle shaft capable of precisely correcting positional error and posture error.SOLUTION: The numerical control machine tool has a linear feed shaft and a spindle feed shaft and has a function to correct shift commands based on measured error data. The error data are multidimensional data including positional errors and posture errors. Error data storing means 25 stores a data table which is created by collecting a large amount of error data corresponding to the position and the rotation position of the linear feed shaft and the feeding spindle shaft. Correction data calculation means 26 that calculates correction data for correcting the shift command based on command position to the linear feed shaft and the feeding spindle shaft and the error data stored in the error data storing means. A posture error is corrected by calculating displacement amounts in three-dimensional coordinate values of a tool end position based on the posture error and tool dimensions, and correcting the shift command of the linear feed shaft based on displacement amount of the calculated three-dimensional coordinate values without rotating the feeding spindle shaft.

Description

本発明は、直線送り軸及び回転送り軸を有する数値制御工作機械に関するものである。   The present invention relates to a numerically controlled machine tool having a linear feed shaft and a rotary feed shaft.

一般に、多軸の工作機械において、送り軸の位置や姿勢を所定の位置や姿勢に正確に位置決めすることは難しく、位置や姿勢の誤差が発生する。このため、高精度の加工が必要とされる場合には、位置や姿勢の誤差に応じて送り軸を補正することが行われている。このような送り軸の誤差を補正する従来の一例として、特許文献1〜3に開示されているものが知られている。   In general, in a multi-axis machine tool, it is difficult to accurately position the position and posture of the feed shaft at a predetermined position and posture, and position and posture errors occur. For this reason, when high-precision machining is required, the feed axis is corrected in accordance with position and orientation errors. As a conventional example for correcting such a feed shaft error, those disclosed in Patent Documents 1 to 3 are known.

特許文献1では、互いに直交するA軸とB軸の2つの回転送り軸を有する工作機械の2つの回転送り軸の軸ずれ(軸中心の位置ずれ)を予め計測しておき、この軸ずれを加味して2つの回転送り軸の座標を求めることが開示されている。計測された軸ずれは数値制御装置などの記憶手段に予め記憶され、ワークの加工基準点が変更になって新しい加工基準点が求められるときに記憶手段から読み出され、新しい加工基準点を正確に求めることができるようになっている。   In Patent Document 1, the misalignment (position misalignment of the shaft center) of two rotary feed shafts of a machine tool having two rotary feed shafts of A axis and B axis orthogonal to each other is measured in advance. It is disclosed that the coordinates of two rotary feed axes are obtained in consideration. The measured axis deviation is stored in advance in storage means such as a numerical controller, and is read from the storage means when the machining reference point of the workpiece is changed and a new machining reference point is obtained, so that the new machining reference point is accurately determined. Can be requested.

特許文献2では、互いに直交するA軸とC軸の2つの回転送り軸を有する工作機械の機械位置を、1)C軸に関する位置誤差及び姿勢誤差と、2)A軸に関する位置誤差及び姿勢誤差と、3)旋回中心としての主軸に関する位置誤差及び姿勢誤差とに基づいて計算により求める方法が開示されている。C軸、A軸及び主軸に関するそれぞれの位置誤差及び姿勢誤差は、ワークの加工面に対して回転工具が所定の位置関係にある場合の予め求められた誤差である。   In Patent Document 2, the machine position of a machine tool having two rotation feed axes, that is, an A axis and a C axis that are orthogonal to each other, is represented by 1) a position error and an attitude error with respect to the C axis, and 2) And 3) a method of obtaining by calculation based on a position error and an attitude error with respect to the main axis as a turning center. The position error and the posture error for the C axis, the A axis, and the main axis are errors obtained in advance when the rotary tool is in a predetermined positional relationship with respect to the work surface of the workpiece.

特許文献3では、パラレルリンク機構の工作機械の工具ユニットの誤差を誤差マップに基づいて補正する方法が開示されている。誤差マップは、工具ユニット先端の作業空間の格子点に対応して、工具ユニット先端の位置及び姿勢の指令値と検出値との差から演算により算出された誤差データを有している。   Patent Document 3 discloses a method of correcting an error of a tool unit of a machine tool of a parallel link mechanism based on an error map. The error map has error data calculated by calculation from the difference between the command value and the detected value of the position and orientation of the tool unit tip corresponding to the lattice point of the work space at the tool unit tip.

特公平6−88192号公報Japanese Patent Publication No. 6-88192 特開2004−272887号公報JP 2004-272887 A 特開平9−237112号公報JP-A-9-237112

特許文献1で開示されている補正方法は、A軸とB軸の2つの回転送り軸の軸ずれ(位置誤差)を補正するものであり、姿勢誤差を補正するものではない。このため、加工精度を高める上で限界があった。   The correction method disclosed in Patent Document 1 corrects an axial deviation (position error) between two rotation feed axes of the A axis and the B axis, and does not correct an attitude error. For this reason, there was a limit in improving processing accuracy.

特許文献2で開示されている補正方法は、各軸に関する位置誤差及び姿勢誤差が予め分かっている場合に、位置誤差及び姿勢誤差に基づいて工作機械の機械位置を求める方法であるため、位置誤差及び姿勢誤差が分かっていない場合には、工作機械の機械位置を正確に求めることができない。このため、実際の加工中においては、工作機械の機械位置を求めることができず、機械位置には各軸の位置誤差及び姿勢誤差が含まれたものとなり、精度の高い3次元の曲面加工を行うことができないという問題があった。   The correction method disclosed in Patent Document 2 is a method for obtaining the machine position of the machine tool based on the position error and the attitude error when the position error and the attitude error regarding each axis are known in advance. If the posture error is not known, the machine position of the machine tool cannot be obtained accurately. For this reason, during the actual machining, the machine position of the machine tool cannot be obtained, and the machine position includes the position error and the attitude error of each axis, and highly accurate three-dimensional curved surface machining is performed. There was a problem that could not be done.

特許文献3で開示されている誤差マップは、パラレルリンク機構によって駆動される工具ユニット先端の位置及び姿勢の誤差をテーブルデータとしたものであり、直交3軸の直線送り軸と回転送り軸を有する工作機械に直接的に適用できるものではなかった。   The error map disclosed in Patent Document 3 uses table data for the position and orientation error of the tool unit tip driven by the parallel link mechanism, and has three orthogonal linear feed axes and a rotary feed axis. It was not directly applicable to machine tools.

本発明は、回転送り軸を有する工作機械の位置と姿勢の誤差を精度良く補正することができる数値制御工作機械及び数値制御装置を提供することを目的とする。   An object of the present invention is to provide a numerically controlled machine tool and a numerical control device that can accurately correct errors in the position and orientation of a machine tool having a rotary feed shaft.

上記目的を達成するために、請求項1に記載の数値制御工作機械は、 直線送り軸及び回転送り軸を有し、主軸とワークテーブルとの相対位置及び相対姿勢の誤差を、予め前記直線送り軸及び前記回転送り軸を所定の位置及び姿勢に位置決めして計測し、計測された誤差データに基づいて移動指令を補正する機能を有する数値制御工作機械であって、
前記誤差データは位置誤差と姿勢誤差とを含む多次元のデータであり、前記直線送り軸及び前記回転送り軸の位置及び回転角度に対応した多数の前記誤差データを収集して作成されたデータテーブルを記憶する誤差データ記憶手段と、
前記直線送り軸及び前記回転送り軸に対する指令位置と前記誤差データ記憶手段に記憶された前記誤差データとから、前記移動指令を補正する補正データを演算する補正データ演算手段とを具備し、
前記姿勢誤差の補正は、前記姿勢誤差と工具寸法とから工具先端位置の3次元座標値のずれ量を演算し、演算した3次元座標値のずれ量に基づいて前記回転送り軸を回転させることなく前記直線送り軸の移動指令を補正することを特徴とする。
In order to achieve the above object, a numerically controlled machine tool according to claim 1 has a linear feed shaft and a rotary feed shaft, and errors in the relative position and relative attitude between the spindle and the work table are preliminarily determined. A numerically controlled machine tool having a function of positioning and measuring a shaft and the rotary feed shaft at a predetermined position and posture, and correcting a movement command based on the measured error data,
The error data is multidimensional data including a position error and an attitude error, and is a data table created by collecting a large number of the error data corresponding to the position and rotation angle of the linear feed shaft and the rotary feed shaft. Error data storage means for storing
Correction data calculation means for calculating correction data for correcting the movement command from the command position for the linear feed axis and the rotary feed axis and the error data stored in the error data storage means,
In the correction of the posture error, a deviation amount of the three-dimensional coordinate value of the tool tip position is calculated from the posture error and the tool dimension, and the rotary feed shaft is rotated based on the calculated deviation amount of the three-dimensional coordinate value. And the movement command of the linear feed axis is corrected.

また、請求項2の発明は、請求項1に記載の数値制御工作機械において、前記位置誤差は、前記主軸と前記ワークテーブルとの相対位置の誤差であって、前記回転送り軸が所定の回転角度に位置決めされたときに3次元座標値で表される誤差であり、前記姿勢誤差は、前記主軸と前記ワークテーブルとの相対姿勢の誤差であって、互いに直交する第1の回転送り軸と第2の回転送り軸が所定の回転角度に位置決めされたときの傾き角度で表される誤差であることを特徴とする。   According to a second aspect of the present invention, in the numerically controlled machine tool according to the first aspect, the position error is an error in a relative position between the main shaft and the work table, and the rotary feed shaft rotates at a predetermined rotation. It is an error represented by a three-dimensional coordinate value when positioned at an angle, and the posture error is a relative posture error between the spindle and the work table, and the first rotary feed shaft orthogonal to each other It is an error represented by an inclination angle when the second rotary feed shaft is positioned at a predetermined rotation angle.

また、請求項3の発明は、請求項2に記載の数値制御工作機械において、前記第1の回転送り軸及び前記第2の回転送り軸における前記回転角度の計測間隔は、隣り合う計測点における前記姿勢誤差の差分が所定値になるように設定されていることを特徴とする。   According to a third aspect of the present invention, in the numerically controlled machine tool according to the second aspect, the measurement interval of the rotation angle in the first rotary feed shaft and the second rotary feed shaft is at an adjacent measurement point. The posture error difference is set to be a predetermined value.

以上の如く、本発明の数値制御工作機械によれば、誤差データ記憶手段に記憶されるテータテーブルは、回転送り軸が動作することによって発生する誤差である位置誤差及び姿勢誤差の双方を含む誤差データを含んでいるため、この誤差データに基づいて移動指令を補正することで、工作機械を目標位置に高精度に位置決めすることができる。   As described above, according to the numerically controlled machine tool of the present invention, the data table stored in the error data storage means includes an error including both a position error and an attitude error, which are errors generated when the rotary feed shaft operates. Since the data is included, the machine tool can be positioned at the target position with high accuracy by correcting the movement command based on the error data.

また、姿勢誤差を計測する計測点の計測間隔を隣り合う計測点における姿勢誤差の差分が所定値になるように設定するため、差分が少ない場合は計測間隔を広げることができる。このため、補正の精度を保持しつつデータ量を削減することができ、メモリの負担を減らすことができる。   Further, since the measurement interval between the measurement points for measuring the posture error is set so that the difference in posture error between adjacent measurement points becomes a predetermined value, the measurement interval can be widened when the difference is small. For this reason, the amount of data can be reduced while maintaining the accuracy of correction, and the burden on the memory can be reduced.

また、X,Y,Zの直線送り軸と、A,Cの回転送り軸とを有する5軸の工作機械で、B軸方向の姿勢誤差をA、C軸を回転させることにより補正しようとすると、補正のたびに回転送り軸を大きく旋回させなければならず、加工に悪影響を与えることになるが、工具先端位置のずれ量を3次元座標値の移動指令で移動先へ移動させることで、B軸方向の姿勢誤差の補正を回転送り軸を回転させることなく行うことができる。これにより、いわゆる特異点問題を回避することができる。   Further, in a 5-axis machine tool having X, Y, and Z linear feed axes and A and C rotary feed axes, an attempt is made to correct the posture error in the B-axis direction by rotating the A and C axes. In this case, the rotational feed axis must be swiveled greatly each time correction is performed, which will adversely affect the machining, but by moving the tool tip position deviation amount to the destination with a movement command of a three-dimensional coordinate value, The posture error in the B-axis direction can be corrected without rotating the rotary feed shaft. Thereby, the so-called singularity problem can be avoided.

また、本発明の数値制御工作機械によれば、回転送り軸を動作させることによって発生する主軸とワークテーブルとの相対姿勢及び相対位置の誤差を確実に補正することができ、精度の高い加工を行うことができる。   In addition, according to the numerically controlled machine tool of the present invention, it is possible to reliably correct errors in the relative posture and relative position between the spindle and the work table that are generated by operating the rotary feed shaft, and perform highly accurate machining. It can be carried out.

本発明に係る数値制御装置の一実施形態を示すブロック図である。It is a block diagram which shows one Embodiment of the numerical control apparatus which concerns on this invention. 図1の数値制御装置が適用されるマシニングセンタの側面図である。FIG. 2 is a side view of a machining center to which the numerical control device of FIG. 1 is applied. 図2のマシニングセンタの座標系を示す説明図である。It is explanatory drawing which shows the coordinate system of the machining center of FIG. 3次元座標空間の格子点を示す説明図である。It is explanatory drawing which shows the lattice point of three-dimensional coordinate space. 図4の各格子点に関係付けられる2次元のデータシートを示す説明図である。It is explanatory drawing which shows the two-dimensional data sheet linked | related with each lattice point of FIG. 図3の3次元座標系をA視によって見た2次元座標系を表す説明図である。It is explanatory drawing showing the two-dimensional coordinate system which looked at the three-dimensional coordinate system of FIG. 3 by A view. 図3の3次元座標系をB視によって見た2次元座標系を表す説明図である。It is explanatory drawing showing the two-dimensional coordinate system which looked at the three-dimensional coordinate system of FIG. 3 by B view. 図3の3次元座標系をC視によって見た2次元座標系を表す説明図である。It is explanatory drawing showing the two-dimensional coordinate system which looked at the three-dimensional coordinate system of FIG. 3 by C view. エラーマップを用いた補正方法の一例を示すフローチャートである。It is a flowchart which shows an example of the correction method using an error map. 図9の補正方法を説明する説明図である。It is explanatory drawing explaining the correction method of FIG. 図10の角度補正ベクトルについて説明する説明図であり、(a)はX−Y平面の図、(b)はX−Z平面の図、(c)はY−Z平面の図である。It is explanatory drawing explaining the angle correction vector of FIG. 10, (a) is a figure of XY plane, (b) is a figure of XZ plane, (c) is a figure of YZ plane. 図10の位置補正ベクトルについて説明する説明図である。It is explanatory drawing explaining the position correction vector of FIG.

以下に本発明の実施の形態の具体例を図面を用いて詳細に説明する。図1は、一例として、主軸ヘッドが傾斜する5軸の横形マシニングセンタ(数値制御工作機械)に適用される本発明に係る数値制御装置の一実施形態を示すものである。図1では、本実施形態の数値制御装置の機能的な構成がブロック線図で示されている。また、図2ではマシニングセンタの基本的構成が示され、図3で直交3軸の直線送り軸X,Y,Zと2軸の回転送り軸A,Cが示されている。なお、図3において、回転送り軸B軸は示されていないが、C軸を90゜回転させることによりA軸はB軸として機能するようになっている。   Specific examples of embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 shows, as an example, an embodiment of a numerical control device according to the present invention applied to a 5-axis horizontal machining center (numerical control machine tool) in which a spindle head is inclined. In FIG. 1, the functional configuration of the numerical control device of the present embodiment is shown in a block diagram. 2 shows the basic configuration of the machining center, and FIG. 3 shows three orthogonal linear feed axes X, Y, Z and two rotary feed axes A, C. In FIG. 3, the rotary feed axis B-axis is not shown, but the A-axis functions as the B-axis by rotating the C-axis by 90 °.

図2を参照すると、マシニングセンタ1は、フロア上に設置されているベース2と、ベース2上でZ軸方向に直動可能に立設されたコラム3と、コラム3に鉛直方向であるY軸方向に直動可能な主軸台5とを備えている。主軸台5には、Z軸に平行な軸回りのC軸方向にサーボモータ30(図1参照)により回転送り可能にブラケット5aが設けられている。ブラケット5aには、主軸ヘッド4がX軸に平行な軸回りでのA軸方向にサーボモータ30(図1参照)により回転送り可能に設けられている。   Referring to FIG. 2, the machining center 1 includes a base 2 installed on a floor, a column 3 erected on the base 2 so as to be linearly movable in the Z-axis direction, and a Y-axis that is perpendicular to the column 3. And a headstock 5 that can move in the direction. The headstock 5 is provided with a bracket 5a that can be rotated and fed by a servo motor 30 (see FIG. 1) in a C-axis direction around an axis parallel to the Z-axis. In the bracket 5a, the spindle head 4 is provided such that it can be rotated and fed by a servo motor 30 (see FIG. 1) in the A-axis direction around an axis parallel to the X-axis.

また、マシニングセンタ1は、ベース2上で主軸ヘッド4に対向する位置に立設され、紙面に垂直な方向であるX軸方向に直動可能なワークテーブル6を備えている。ワークテーブル6にはイケール8を介してワーク7が保持されている。   The machining center 1 is provided with a work table 6 that is erected on the base 2 at a position facing the spindle head 4 and that can move linearly in the X-axis direction that is perpendicular to the paper surface. A work 7 is held on the work table 6 via the scale 8.

図3を参照すると、図2で示されている直交3軸の座標系と共にC軸及びA軸が示されている。A軸はX軸に平行な軸回りの回転送りのことであり、主軸ヘッド4がブラケット5aに対してA軸方向に回転可能になっている。図示例では、工具が装着される位置に位置及び角度を計測するための接触式の測定プローブ9が装着されている。測定プローブ9は、一般的なものであり、例えば差動トランスでなるトランスデューサーと、セラミックス製の接触子10を有している。接触子10は互いに直交する3軸方向に変位可能になっている。接触子10の各軸方向の変位は、各トランスデューサーにより検出され、電気信号に変換されるようになっている。なお、送り軸の位置や角度を計測する測定器や測定方法は、特に制限されるものではなく、レーザ測長器や他の測定器を用いて測定することも可能である。   Referring to FIG. 3, the C axis and the A axis are shown together with the orthogonal triaxial coordinate system shown in FIG. The A axis is a rotational feed around an axis parallel to the X axis, and the spindle head 4 is rotatable in the A axis direction with respect to the bracket 5a. In the illustrated example, a contact-type measurement probe 9 for measuring the position and angle is mounted at a position where the tool is mounted. The measurement probe 9 is a general one, and includes, for example, a transducer made of a differential transformer and a ceramic contact 10. The contact 10 can be displaced in three axial directions orthogonal to each other. The displacement in the axial direction of the contact 10 is detected by each transducer and converted into an electric signal. Note that the measuring instrument and measuring method for measuring the position and angle of the feed shaft are not particularly limited, and it is also possible to measure using a laser length measuring instrument or another measuring instrument.

図1に示すように、上記マシニングセンタ1を制御する本実施形態の数値制御装置20は、5軸の送り軸の位置誤差及び姿勢誤差を補正する機能を備えたものであり、加工プログラム21を解読して各送り軸の移動指令を演算する前処理演算手段22と、各送り軸X,Y,Z,A,Cにおける送りを直線補間したり円弧補間したりするために移動指令に基づいて補間パルスを演算する補間手段23と、補間パルスを取得することにより各送り軸X,Y,Z,A,Cの移動先の位置である指令位置を認識する指令位置認識手段24と、位置誤差と姿勢誤差とを含み、回転送り軸A,Cの位置及び姿勢に関係付けられた多数の誤差データ34を集めて作成されたエラーマップ(データテーブル)32を記憶する誤差データ記憶手段25と、指令位置と誤差データ記憶手段25から読み出された誤差データ34とから、指令位置を補正する補正データを演算する補正データ演算手段26と、補正データに基づいて指令位置を補正して補正パルスを求める補正パルス演算手段27と、補間パルスと補正パルスとを加えたパルスをサーボアンプ29に出力する加算手段28と、備えている。各送り軸X,Y,Z,A,Cのサーボモータ30は、サーボアンプ29によって増幅された駆動電流によって駆動し、各送り軸X,Y,Z,A,Cを移動させるようになっている。   As shown in FIG. 1, the numerical controller 20 of the present embodiment that controls the machining center 1 has a function of correcting the position error and the posture error of the five-axis feed axes, and decodes the machining program 21. Then, pre-processing calculation means 22 for calculating a movement command for each feed axis, and interpolation based on the movement command for linearly or circularly interpolating the feed on each feed axis X, Y, Z, A, C Interpolating means 23 for calculating pulses, command position recognizing means 24 for recognizing command positions that are the movement destination positions of the respective feed axes X, Y, Z, A, and C by acquiring the interpolated pulses, Error data storage means 25 for storing an error map (data table) 32 created by collecting a large number of error data 34 related to the position and attitude of the rotary feed axes A and C, including the attitude error, and a command Place And correction data calculation means 26 for calculating correction data for correcting the command position from the error data 34 read from the error data storage means 25, and correction for correcting the command position based on the correction data and obtaining a correction pulse. Pulse calculation means 27 and addition means 28 for outputting a pulse obtained by adding the interpolation pulse and the correction pulse to the servo amplifier 29 are provided. The servo motors 30 of the feed axes X, Y, Z, A, and C are driven by the drive current amplified by the servo amplifier 29 to move the feed axes X, Y, Z, A, and C. Yes.

次に、エラーマップ32について説明する。エラーマップ32は、図4に示すように、直交座標系の各格子点31に関連付けされている。すなわち、直線送り軸X,Y,Zの各軸方向の所定の位置に関連付けされている。直交座標系の各格子点31には、図5に示すような、マトリックス状の2次元配列データシート33が関連付けされている。エラーマップ32は、直交座標系の各格子点31に関連付けされた多数の2次元配列データシート33から構成されている。   Next, the error map 32 will be described. As shown in FIG. 4, the error map 32 is associated with each lattice point 31 in the orthogonal coordinate system. That is, the linear feed axes X, Y, and Z are associated with predetermined positions in the axial directions. A matrix-like two-dimensional array data sheet 33 as shown in FIG. 5 is associated with each lattice point 31 in the orthogonal coordinate system. The error map 32 is composed of a number of two-dimensional array data sheets 33 associated with the respective lattice points 31 in the orthogonal coordinate system.

各2次元配列データシート33は、横軸がA軸であり、縦軸がC軸であり、A軸とC軸の任意の角度の交差する点において計測された多数の誤差データ34から構成されている。誤差データ34は、位置誤差35aと姿勢誤差35bとから構成されている。位置誤差35aは、回転送り軸A,Cが所定の位置に位置決めされたときに生じる3次元座標値で表される位置の誤差であり、姿勢誤差35bは、主軸ヘッド4とワークテーブル6との相対姿勢の誤差であって、互いに直交する回転送り軸A,Cが所定の回転角度に位置決めされたときに生じる傾き角度で表される誤差である。   Each two-dimensional array data sheet 33 is composed of a large number of error data 34 measured at points where the A axis and the C axis intersect at an arbitrary angle, with the horizontal axis being the A axis and the vertical axis being the C axis. ing. The error data 34 is composed of a position error 35a and an attitude error 35b. The position error 35 a is a position error represented by a three-dimensional coordinate value generated when the rotary feed axes A and C are positioned at predetermined positions, and the posture error 35 b is a difference between the spindle head 4 and the work table 6. It is an error in the relative posture, and is an error represented by an inclination angle generated when the rotation feed axes A and C orthogonal to each other are positioned at a predetermined rotation angle.

ここで、第1の回転送り軸であるA軸及び第2の回転送り軸であるC軸における回転角度の計測間隔は、隣り合う計測点における姿勢誤差35bの差分が所定値になるように設定されている。言い換えると、隣り合う計測点における姿勢誤差35bの差分が少ない場合は計測間隔を広げ、差分が大きく変わる場合は計測間隔を狭める。誤差の差分の少ない部分の計測間隔を広げることでデータ量を削減してメモリの負担を減らすことができ、誤差の差分の大きく変わる部分の計測間隔を狭めることで補正の精度を保持することができる。   Here, the measurement interval of the rotation angle between the A axis that is the first rotation feed axis and the C axis that is the second rotation feed axis is set so that the difference between the posture errors 35b at the adjacent measurement points becomes a predetermined value. Has been. In other words, the measurement interval is widened when the difference in posture error 35b between adjacent measurement points is small, and the measurement interval is narrowed when the difference changes greatly. It is possible to reduce the amount of data by increasing the measurement interval of the part with a small error difference and reduce the memory load, and to maintain the accuracy of correction by narrowing the measurement interval of the part where the error difference greatly changes. it can.

図6〜8の各図は、それぞれの矢視方向からみた位置誤差35aと姿勢誤差35bを示す図である。図6は、図3のA視によってみた図であり、位置誤差35a(X,Y)と姿勢誤差35b(K)が示されている。図7は、図3のB視によってみた図であり、位置誤差35a(Y,Z)と姿勢誤差35b(I)が示されている。図8は、図3のC視によってみた図であり、位置誤差35a(X,Z)と姿勢誤差35b(J)が示されている。   Each of FIGS. 6 to 8 is a diagram showing a position error 35a and a posture error 35b as viewed from the respective arrow directions. FIG. 6 is a view as seen from the view A in FIG. 3, and shows a position error 35a (X, Y) and a posture error 35b (K). FIG. 7 is a view as seen from the view B in FIG. 3, and shows a position error 35a (Y, Z) and an attitude error 35b (I). FIG. 8 is a view as seen from the C view of FIG. 3, and shows a position error 35a (X, Z) and an attitude error 35b (J).

このように、誤差データ34には、回転送り軸A,Cが動作することによって発生する誤差である位置誤差35a及び姿勢誤差35bの双方を含んでいるため、この誤差データ34に基づいて移動指令を正しい値に補正することで、工具先端を目標位置に高精度に位置決めすることができる。   Thus, since the error data 34 includes both the position error 35a and the attitude error 35b, which are errors generated by the operation of the rotary feed axes A and C, the movement command is based on the error data 34. Is corrected to the correct value, the tool tip can be positioned at the target position with high accuracy.

次に、上述したエラーマップ32を用いた移動指令の補正方法について説明する。
先ず、加工プログラム21の移動指令を前処理演算手段22で解読し、所定の補間周期での各送り軸X,Y,Z,A,Cの移動ベクトルを求める。続いて、指令位置認識手段24において、この移動ベクトルを現在位置に加算して所定の補間周期での各送り軸X,Y,Z,A,Cの指令位置を認識する。指令位置における回転送り軸A,Cの角度が2次元配列データシート33のA軸及びC軸の計測点の場合は誤差データ34をそのまま取得する。指令位置における回転送り軸A,Cの角度が2次元配列データシート33のA軸及び/又はC軸において隣接する計測点の間の角度に相当する場合(計測点の中間位置の場合)、内挿法などの補間により誤差データを演算する。
Next, a movement command correction method using the error map 32 described above will be described.
First, the movement command of the machining program 21 is decoded by the preprocessing arithmetic means 22 to obtain the movement vector of each feed axis X, Y, Z, A, C at a predetermined interpolation cycle. Subsequently, the command position recognition means 24 adds this movement vector to the current position to recognize the command positions of the feed axes X, Y, Z, A, and C at a predetermined interpolation cycle. When the angles of the rotational feed axes A and C at the command position are the measurement points of the A axis and the C axis of the two-dimensional array data sheet 33, the error data 34 is acquired as it is. When the angle of the rotary feed axes A and C at the command position corresponds to the angle between adjacent measurement points on the A axis and / or C axis of the two-dimensional array data sheet 33 (in the case of an intermediate position between measurement points), Error data is calculated by interpolation such as interpolation.

移動先の位置である指令位置において、取得した誤差データ34に基づいて補正データを演算する(補正データ演算手段26)。求めた補正データを誤差の含まれている指令位置に加算して、補間周期毎の新たな指令位置とする。最後に、求めた補正データを、同じように現在位置において求めた補正データと比較し、その差分量を所定の補間周期での各送り軸の移動ベクトルに加算する。このようにして、誤差が含まれている移動指令が補正されて、各送り軸の位置を正確に求めることができる。   Correction data is calculated based on the acquired error data 34 at the command position that is the position of the movement destination (correction data calculation means 26). The obtained correction data is added to the command position including the error to obtain a new command position for each interpolation cycle. Finally, the obtained correction data is similarly compared with the correction data obtained at the current position, and the difference amount is added to the movement vector of each feed axis in a predetermined interpolation cycle. In this way, the movement command including the error is corrected, and the position of each feed axis can be accurately obtained.

次に、補正データ演算手段26で演算する補正値を3次元座標値で表し、移動指令を補正する方法について説明する。この方法は、C軸が0゜であるとき、機械が本来有しないB軸方向に姿勢誤差がある場合に、このB軸方向の姿勢誤差を補正するために回転送り軸を大きく回転させるという問題、いわゆる”特異点”の問題を回避できる補正方法を提供する。なお、B軸はY軸に平行な軸回りの回転送り軸である。   Next, a method for correcting the movement command by expressing the correction value calculated by the correction data calculating means 26 as a three-dimensional coordinate value will be described. This method has a problem that when the C-axis is 0 ° and there is a posture error in the B-axis direction that the machine does not originally have, the rotary feed shaft is rotated greatly in order to correct the posture error in the B-axis direction. A correction method capable of avoiding the so-called “singularity” problem is provided. The B axis is a rotary feed shaft around an axis parallel to the Y axis.

図9には、この補正方法のフローチャートが示されている。数1には、この方法で、工具40の姿勢及び姿勢誤差、工具40の位置及び位置誤差、工具40の突き出し長に基づいて位置補正ベクトルを求めるための計算式が示されている。   FIG. 9 shows a flowchart of this correction method. Formula 1 shows a calculation formula for obtaining a position correction vector based on the posture and posture error of the tool 40, the position and position error of the tool 40, and the protrusion length of the tool 40 by this method.

Figure 2012033203
Figure 2012033203

先ず、ステップS0において、加工プログラムの移動指令から指令位置を認識する。ステップS1では、指令位置に対応する誤差データ34をエラーマップ32から取得する。ステップS2では、誤差データ34の位置誤差35aから位置の補正ベクトルを算出する。位置の補正ベクトルは、図12に示すように、主軸ヘッドに保持されている工具40を移動先へ平行移動させるベクトルである。一方、誤差データ34の姿勢誤差35bからは、ステップS5において姿勢補正値を算出する。ステップS6では、ステップS5で求めた姿勢補正値は、ステップS3において求めた指令姿勢に加算して補正後の姿勢を求める。ステップS7では、補正後の姿勢と工具40の突き出し長から補正後の指令位置を求める。   First, in step S0, the command position is recognized from the movement command of the machining program. In step S <b> 1, error data 34 corresponding to the command position is acquired from the error map 32. In step S2, a position correction vector is calculated from the position error 35a of the error data 34. As shown in FIG. 12, the position correction vector is a vector for translating the tool 40 held by the spindle head to the movement destination. On the other hand, from the attitude error 35b of the error data 34, an attitude correction value is calculated in step S5. In step S6, the posture correction value obtained in step S5 is added to the command posture obtained in step S3 to obtain a corrected posture. In step S7, a corrected command position is obtained from the corrected posture and the protruding length of the tool 40.

ステップS4では、ステップS3で求めた指令姿勢と工具40の突き出し長から補正前の指令位置を求める。ステップS8では、ステップS7で求めた補正後の指令位置からステップS4で求めた補正前の指令位置を減算して姿勢の補正ベクトルを算出する。姿勢の補正ベクトルは、図11に示すように、主軸に保持されている工具40を基端を支点として、移動先へ回転させるベクトルである。最後に、ステップS9において、図10に示すように、ステップS8で求めた姿勢ベクトルとステップS2で求めた位置補正ベクトルを加算する。   In step S4, a command position before correction is obtained from the command posture obtained in step S3 and the protrusion length of the tool 40. In step S8, the posture correction vector is calculated by subtracting the uncorrected command position obtained in step S4 from the corrected command position obtained in step S7. As shown in FIG. 11, the posture correction vector is a vector for rotating the tool 40 held on the spindle to the movement destination with the base end as a fulcrum. Finally, in step S9, as shown in FIG. 10, the posture vector obtained in step S8 and the position correction vector obtained in step S2 are added.

このようにして、工具先端位置を3次元座標値の移動指令、すなわち、位置補正ベクトルで移動先へ移動させることで、B軸方向の姿勢誤差35bの補正を回転送り軸を回転させることなく行うことができ、主軸ヘッドに保持されている工具40のいわゆる特異点問題を回避することができる。   In this way, the tool tip position is moved to the destination by the movement command of the three-dimensional coordinate value, that is, the position correction vector, thereby correcting the posture error 35b in the B-axis direction without rotating the rotary feed shaft. And the so-called singularity problem of the tool 40 held on the spindle head can be avoided.

なお、本発明は上記実施形態に限定されるものではなく、本発明の骨子を逸脱しない範囲で種々変形して実施することができる。本実施形態では、所定の補間周期毎にエラーマップ32を参照して移動指令を補正する方法を説明しているが、補間を行わない場合、例えば、早送りで各送り軸X,Y,Z,A,Cを移動する場合、すなわち、始点と終点を指令する場合にもエラーマップ32を参照して補正することができる。この場合は、図1において、加工プログラムの移動指令を前処理演算手段22で解読し、所定の周期での各送り軸の移動ベクトルを求めた後、補間手段23で補間を行わず、指令位置認識手段24にて、この移動ベクトルを現在位置に加算して各送り軸X,Y,Z,A,Cの指令位置を認識する。指令位置における誤差データ34をエラーマップ32から取得し、取得した誤差データ34に基づいて補正データを演算し、この補正データを移動指令の終点に加算して新たな指令位置とする。最後に、求めた補正データを所定の周期での各送り軸の移動ベクトルに加算する。   In addition, this invention is not limited to the said embodiment, In the range which does not deviate from the main point of this invention, it can deform | transform and implement variously. In the present embodiment, a method of correcting the movement command with reference to the error map 32 every predetermined interpolation cycle is described. However, when interpolation is not performed, for example, each feed axis X, Y, Z, When moving A and C, that is, when a start point and an end point are commanded, correction can be made with reference to the error map 32. In this case, in FIG. 1, the movement command of the machining program is decoded by the pre-processing calculation means 22, the movement vector of each feed axis in a predetermined cycle is obtained, and then interpolation is not performed by the interpolation means 23. The recognition means 24 adds this movement vector to the current position to recognize the command position of each feed axis X, Y, Z, A, C. Error data 34 at the command position is acquired from the error map 32, correction data is calculated based on the acquired error data 34, and this correction data is added to the end point of the movement command to obtain a new command position. Finally, the obtained correction data is added to the movement vector of each feed axis in a predetermined cycle.

また、本実施形態のエラーマップ32は回転送り軸A,Cを動作させたときに誤差データ34をデータベース化したものであるが、直線送り軸X,Y,Zを動作させたときの位置誤差と姿勢誤差からなる誤差データをデータベース化してエラーマップを作成することも可能である。   The error map 32 of this embodiment is a database of error data 34 when the rotary feed axes A and C are operated. However, the position error when the linear feed axes X, Y and Z are operated. It is also possible to create an error map by creating a database of error data including attitude errors.

また、本実施形態では、主軸側がA、C軸に回転する例を挙げて説明したが、ワークテーブル側が回転するように構成してもよい。   Further, in the present embodiment, the example in which the main shaft side rotates to the A and C axes has been described, but the work table side may be configured to rotate.

1 マシニングセンタ
20 数値制御装置
22 前処理演算手段
23 補間手段
24 指令位置認識手段
25 誤差データ記憶手段
26 補正データ演算手段
27 補正パルス演算手段
31 格子点
32 エラーマップ
33 2次元配列データシート
34 誤差データ
35a 位置誤差
35b 姿勢誤差
DESCRIPTION OF SYMBOLS 1 Machining center 20 Numerical control apparatus 22 Preprocessing calculating means 23 Interpolating means 24 Command position recognition means 25 Error data storage means 26 Correction data calculating means 27 Correction pulse calculating means 31 Lattice point 32 Error map 33 Two-dimensional array data sheet 34 Error data 35a Position error 35b Posture error

Claims (3)

直線送り軸及び回転送り軸を有し、主軸とワークテーブルとの相対位置及び相対姿勢の誤差を、予め前記直線送り軸及び前記回転送り軸を所定の位置及び姿勢に位置決めして計測し、計測された誤差データに基づいて移動指令を補正する機能を有する数値制御工作機械であって、
前記誤差データは、位置誤差と姿勢誤差とを含む多次元のデータであり、前記直線送り軸及び前記回転送り軸の位置及び回転角度に対応した多数の前記誤差データを収集して作成されたデータテーブルを記憶する誤差データ記憶手段と、
前記直線送り軸及び前記回転送り軸に対する指令位置と前記誤差データ記憶手段に記憶された前記誤差データとから、前記移動指令を補正する補正データを演算する補正データ演算手段とを具備し、
前記姿勢誤差の補正は、前記姿勢誤差と工具寸法とから工具先端位置の3次元座標値のずれ量を演算し、演算した3次元座標値のずれ量に基づいて前記回転送り軸を回転させることなく前記直線送り軸の移動指令を補正することを特徴とする数値制御工作機械。
It has a linear feed axis and a rotary feed axis, and measures the error of the relative position and relative orientation between the spindle and the work table by positioning the linear feed axis and the rotary feed axis at a predetermined position and orientation in advance. A numerically controlled machine tool having a function of correcting a movement command based on the error data,
The error data is multidimensional data including a position error and an attitude error, and is created by collecting a large number of the error data corresponding to the position and rotation angle of the linear feed shaft and the rotary feed shaft. Error data storage means for storing the table;
Correction data calculation means for calculating correction data for correcting the movement command from the command position for the linear feed axis and the rotary feed axis and the error data stored in the error data storage means,
In the correction of the posture error, a deviation amount of the three-dimensional coordinate value of the tool tip position is calculated from the posture error and the tool dimension, and the rotary feed shaft is rotated based on the calculated deviation amount of the three-dimensional coordinate value. A numerically controlled machine tool characterized by correcting a movement command of the linear feed axis.
前記位置誤差は、前記主軸と前記ワークテーブルとの相対位置の誤差であって、前記回転送り軸が所定の回転角度に位置決めされたときに3次元座標値で表される誤差であり、
前記姿勢誤差は、前記主軸と前記ワークテーブルとの相対姿勢の誤差であって、互いに直交する第1の回転送り軸と第2の回転送り軸が所定の回転角度に位置決めされたときの傾き角度で表される誤差である請求項1に記載の数値制御工作機械。
The position error is an error of a relative position between the spindle and the work table, and is an error represented by a three-dimensional coordinate value when the rotary feed shaft is positioned at a predetermined rotation angle.
The posture error is an error in the relative posture between the main shaft and the work table, and is an inclination angle when the first rotary feed shaft and the second rotary feed shaft orthogonal to each other are positioned at a predetermined rotation angle. The numerically controlled machine tool according to claim 1, wherein the error is expressed by:
前記第1の回転送り軸及び前記第2の回転送り軸における前記回転角度の計測間隔は、隣り合う計測点における前記姿勢誤差の差分が所定値になるように設定されている請求項2に記載の数値制御工作機械。   The measurement interval of the rotation angle in the first rotary feed shaft and the second rotary feed shaft is set so that a difference in the posture error between adjacent measurement points becomes a predetermined value. Numerically controlled machine tools.
JP2011248954A 2011-11-14 2011-11-14 Numerical control machine tool Pending JP2012033203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011248954A JP2012033203A (en) 2011-11-14 2011-11-14 Numerical control machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011248954A JP2012033203A (en) 2011-11-14 2011-11-14 Numerical control machine tool

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007111806A Division JP5030653B2 (en) 2007-04-20 2007-04-20 Numerical control machine tool and numerical control device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2013100444A Division JP5956952B2 (en) 2013-05-10 2013-05-10 Numerically controlled machine tool

Publications (1)

Publication Number Publication Date
JP2012033203A true JP2012033203A (en) 2012-02-16

Family

ID=45846462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011248954A Pending JP2012033203A (en) 2011-11-14 2011-11-14 Numerical control machine tool

Country Status (1)

Country Link
JP (1) JP2012033203A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104865891A (en) * 2014-02-26 2015-08-26 兄弟工业株式会社 Numerical Value Control Device And Moving Path Correction Method
CN106325207A (en) * 2016-10-08 2017-01-11 南京工业大学 Method for actually compensating for geometrical errors of five-axis numerical control tooth manufacturing machine tool through inverse kinematics
CN108527555A (en) * 2018-06-07 2018-09-14 国家林业局北京林业机械研究所 A kind of dual rotary operating head
CN113714829A (en) * 2021-08-24 2021-11-30 大连理工大学 Large-size three-axis automatic posture adjustment tool design and operation method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000310530A (en) * 1999-04-27 2000-11-07 Mitsutoyo Corp Surface-properties measuring device
JP2006155530A (en) * 2004-12-01 2006-06-15 Mitsubishi Electric Corp Numerical controller and numerical control machine tool

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000310530A (en) * 1999-04-27 2000-11-07 Mitsutoyo Corp Surface-properties measuring device
JP2006155530A (en) * 2004-12-01 2006-06-15 Mitsubishi Electric Corp Numerical controller and numerical control machine tool

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104865891A (en) * 2014-02-26 2015-08-26 兄弟工业株式会社 Numerical Value Control Device And Moving Path Correction Method
CN104865891B (en) * 2014-02-26 2017-09-08 兄弟工业株式会社 Numerical control device and mobile route modification method
CN106325207A (en) * 2016-10-08 2017-01-11 南京工业大学 Method for actually compensating for geometrical errors of five-axis numerical control tooth manufacturing machine tool through inverse kinematics
CN106325207B (en) * 2016-10-08 2019-03-12 南京工业大学 A kind of practical inverse kinematics compensation method of five-shaft numerical control gear making machine geometric error
CN108527555A (en) * 2018-06-07 2018-09-14 国家林业局北京林业机械研究所 A kind of dual rotary operating head
CN113714829A (en) * 2021-08-24 2021-11-30 大连理工大学 Large-size three-axis automatic posture adjustment tool design and operation method
CN113714829B (en) * 2021-08-24 2022-09-06 大连理工大学 Large-size three-axis automatic posture adjustment tool design and operation method

Similar Documents

Publication Publication Date Title
JP5030653B2 (en) Numerical control machine tool and numerical control device
JP6295070B2 (en) Geometric error identification method for multi-axis machine tools and multi-axis machine tools
JP5058270B2 (en) How to create an error map
CN101866163B (en) Numerical control machine tool and numerical control device
JP5448634B2 (en) Machine error identification method and program
KR101130596B1 (en) Method of calculating probe-mounting position in on-board measuring device
JP5399624B2 (en) Numerical control method and numerical control device
JP2016083729A (en) Geometric error identification system, and geometric error identification method
JP5968749B2 (en) Geometric error identification method and numerical control method, numerical control apparatus and machining center using the geometric error identification method
JP5355037B2 (en) Accuracy measuring method, error control method for numerically controlled machine tool, and numerically controlled machine tool having error correcting function
JP5425342B1 (en) Numerical controller
JP5317627B2 (en) Error correction method
WO2018116635A1 (en) Movement error identification method for machine tool
JP5956952B2 (en) Numerically controlled machine tool
JP2012033203A (en) Numerical control machine tool
JP5963792B2 (en) Error map creation method and apparatus, and numerically controlled machine tool having error map creation function
JP2008268118A (en) Method and device for measuring shape
JP2012079358A (en) Error map creation method, device, and numerical control machine tool with an error map creation function
JP2016154039A (en) Method and device for creating error map, and numerically controlled machine tool having error map creation function
JP5355693B2 (en) Error correction method and machine tool
JP2015222196A (en) Three dimensional measuring machine and method for measuring shape using the same
JP2012104153A (en) Method and device for creating error map, and numerically controlled machine tool having error map creating function
JP5740201B2 (en) Geometric error identification device
KR20170141092A (en) P0sition regulator for a central position of a tilting head in a machining center

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130312

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130702