JP5399881B2 - Numerical control device for 5-axis machine - Google Patents

Numerical control device for 5-axis machine Download PDF

Info

Publication number
JP5399881B2
JP5399881B2 JP2009285162A JP2009285162A JP5399881B2 JP 5399881 B2 JP5399881 B2 JP 5399881B2 JP 2009285162 A JP2009285162 A JP 2009285162A JP 2009285162 A JP2009285162 A JP 2009285162A JP 5399881 B2 JP5399881 B2 JP 5399881B2
Authority
JP
Japan
Prior art keywords
command
axis
point
singular point
tool
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
Application number
JP2009285162A
Other languages
Japanese (ja)
Other versions
JP2011003176A (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.)
FANUC Corp
Original Assignee
FANUC 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 FANUC Corp filed Critical FANUC Corp
Priority to JP2009285162A priority Critical patent/JP5399881B2/en
Publication of JP2011003176A publication Critical patent/JP2011003176A/en
Application granted granted Critical
Publication of JP5399881B2 publication Critical patent/JP5399881B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、テーブルに固定されて取り付けられたワーク(加工物)に対して直線軸3軸と回転軸2軸によって加工する5軸加工機械を制御する数値制御装置に関する。   The present invention relates to a numerical control device for controlling a 5-axis machining machine that processes a workpiece (workpiece) fixed and attached to a table by three linear axes and two rotary axes.

5軸加工機械には、ヘッドが回転するヘッド回転型(図1参照)、テーブルが回転するテーブル回転型(図示せず)、ヘッドもテーブルも回転する混合型(図示せず)がある。   The 5-axis processing machine includes a head rotating type (see FIG. 1) in which the head rotates, a table rotating type (not shown) in which the table rotates, and a mixed type (not shown) in which the head and the table rotate.

図1において、機械制御点は回転軸2軸の回転中心の交差した点である。また、図2以降では簡便のため工具ヘッドの工具を支持する部分(TS)と工具のみ描いている。また、A軸、C軸位置を分かり易くするため、工具を支持する部分(TS)と工具について少し形状を変更して長く描いている。   In FIG. 1, the machine control point is a point where the rotation centers of the two rotation axes intersect. In FIG. 2 and subsequent figures, only the portion (TS) and the tool for supporting the tool of the tool head are drawn for the sake of simplicity. In addition, in order to make the A-axis and C-axis positions easy to understand, the shape of the part (TS) that supports the tool and the tool is slightly changed and drawn longer.

テーブルに取り付けられたワーク(加工物)を直線軸3軸と回転軸2軸によって加工する5軸加工機を制御する数値制御装置において、各軸の座標値を制御する方法として、特許文献1には、工具の位置、工具姿勢(工具のワークに対する相対的な姿勢)および速度をテーブルに固定された直交座標系(テーブル座標系)上で指令し、これを機械の制御点における各軸の座標値に座標変換して制御する方法である工具先端点制御の技術が開示されている。   Patent Document 1 discloses a method for controlling the coordinate value of each axis in a numerical control device for controlling a 5-axis processing machine that processes a workpiece (workpiece) attached to a table with three linear axes and two rotary axes. Command the tool position, tool posture (relative posture of the tool with respect to the workpiece) and speed on the Cartesian coordinate system (table coordinate system) fixed to the table, and this is the coordinates of each axis at the machine control point A technique of tool tip point control, which is a method of controlling by converting coordinates into values, is disclosed.

工具先端点制御では工具の位置と速度が制御され、工具姿勢は各回転軸の位置を補間することによって決定される。工具先端点制御では工具先端点の位置と速度が制御されるが、回転軸2軸は独立して制御されており、指令ブロック途中での工具姿勢は制御されない。   In the tool tip point control, the position and speed of the tool are controlled, and the tool posture is determined by interpolating the position of each rotation axis. In the tool tip point control, the position and speed of the tool tip point are controlled, but the two rotation axes are controlled independently, and the tool posture in the middle of the command block is not controlled.

これに対し、特許文献2や特許文献3には、指令ブロック始点と指令ブロック終点の間における工具姿勢を、指令ブロック始点と指令ブロック終点における指令回転軸位置に基づいて計算される工具姿勢を含む平面内または滑らかな面内に存在するようにサンプリング周期ごとに回転軸位置と直線軸位置を制御する方法である工具姿勢制御の技術が開示されている。工具姿勢制御において、工具姿勢の指令は回転軸位置指令による場合とベクトル指令による場合がある。   On the other hand, Patent Literature 2 and Patent Literature 3 include the tool posture calculated based on the command rotation axis positions at the command block start point and the command block end point, between the command block start point and the command block end point. A technique of tool posture control, which is a method of controlling the rotation axis position and the linear axis position for each sampling period so as to exist in a plane or a smooth surface, is disclosed. In the tool attitude control, a tool attitude command may be based on a rotation axis position command or a vector command.

工具姿勢制御では、指令ブロック途中の工具姿勢は、指令ブロック始点と終点の工具姿勢を含む平面内または滑らかな面内を移動することから、工具姿勢制御はこの平面または滑らかな面(加工面)を工具の側面で加工する用途に使用される。また工具姿勢制御は工具姿勢の変化が予測しやすいため、機械構造物と工具との予期しない干渉や衝突を防ぐことができる。   In the tool posture control, the tool posture in the middle of the command block moves in a plane or a smooth surface including the tool posture at the command block start point and end point. Is used for machining on the side of the tool. In addition, since the tool posture control can easily predict a change in the tool posture, unexpected interference and collision between the machine structure and the tool can be prevented.

一方、工具姿勢制御では、工具姿勢を指令ブロックの始点と終点の工具姿勢を含む平面内または滑らかな面内に保つために、回転軸の動作が不安定になる場合がある。例えば、回転軸2軸のうち1軸の位置が任意(不定)となる特異点(特異点姿勢)が存在する機械において工具姿勢制御を行っているときに、指令ブロック途中の工具姿勢が特異点近くを通過する指令を行った場合、特異点近くにおいて回転軸の速度や加速度が非常に大きくなる場合がある。   On the other hand, in the tool posture control, the operation of the rotary shaft may become unstable in order to keep the tool posture in a plane including the tool posture at the start point and the end point of the command block or in a smooth plane. For example, when tool posture control is performed in a machine having a singular point (singular point posture) where the position of one of the two rotation axes is arbitrary (undefined), the tool posture in the middle of the command block is a singular point. When a command to pass near is given, the speed and acceleration of the rotation axis may become very large near a singular point.

特許文献4には、工具の姿勢誤差が姿勢誤差許容値以下となるように特異点近傍の範囲を決定し、その範囲では工具先端点制御を行い、それ以外の範囲では工具姿勢制御を行うことにより、工具姿勢誤差は要求精度を満たしながら、特異点における回転軸の速度や加速度を抑え、かつ工具の移動時間を出来るだけ短縮しようとする技術が開示されている。   In Patent Document 4, a range in the vicinity of a singular point is determined so that the posture error of the tool is not more than the allowable posture error value, and the tool tip point control is performed in the range, and the tool posture control is performed in the other range. Thus, a technique is disclosed in which the tool posture error satisfies the required accuracy, the speed and acceleration of the rotating shaft at a singular point is suppressed, and the moving time of the tool is shortened as much as possible.

特開2003−195917号公報Japanese Patent Laid-Open No. 2003-195917 特開2005−182437号公報JP 2005-182437 A 特開2007−293522号公報JP 2007-293522 A 特開2004−220435号公報JP 2004-220435 A

ここで、工具姿勢制御において工具姿勢の指令は回転軸位置指令による場合とベクトル指令による場合について説明する。なお、特異点近くで速度や加速度が非常に大きくなる回転軸を旋回回転軸と呼び、他の回転軸を傾斜回転軸と呼ぶ。図1の機械構成では、A軸が傾斜回転軸であり、C軸が旋回回転軸である。Z軸方向の工具姿勢が指令された時、A=0度となるがC軸の位置は任意(不定)である。つまり、C=0度でもC=180°でも工具姿勢はZ軸方向である。したがって、工具姿勢がZ軸方向、またはA軸位置が0度の位置が特異点である。
ただし、図23の状態がA=0度であり図1の状態はA=90度である機械構成もある。その機械構成の場合は、A軸が90度の位置が特異点である。さらに、特異点はA=0度でも90度でもなく他の角度の場合もある。以降の説明では図1の状態はA=0度でありA軸位置が0度の位置が特異点であるとするが、必ずしも傾斜回転軸位置が0度の位置が特異点とは限らない。
まず、回転軸位置指令の場合を説明する。
Here, a description will be given of a case where a tool posture command is based on a rotation axis position command and a vector command in the tool posture control. Note that a rotation axis in which the speed and acceleration are very large near a singular point is called a turning rotation axis, and the other rotation axis is called a tilt rotation axis. In the machine configuration of FIG. 1, the A axis is an inclined rotation axis, and the C axis is a turning rotation axis. When a tool posture in the Z-axis direction is commanded, A = 0 degrees, but the position of the C-axis is arbitrary (undefined). That is, the tool posture is in the Z-axis direction regardless of whether C = 0 ° or C = 180 °. Therefore, a singular point is a position where the tool posture is in the Z-axis direction or the A-axis position is 0 degrees.
However, there is a machine configuration in which the state of FIG. 23 is A = 0 degrees and the state of FIG. 1 is A = 90 degrees. In the case of the machine configuration, the position where the A axis is 90 degrees is a singular point. Furthermore, the singular point is not A = 0 degrees or 90 degrees, and may be at other angles. In the following description, it is assumed that the state of FIG. 1 is A = 0 degree and the position where the A-axis position is 0 degree is a singular point, but the position where the tilt rotation axis position is 0 degree is not necessarily a singular point.
First, the case of the rotation axis position command will be described.

回転軸(A,C軸)の位置で指令される工具姿勢指令によって工具姿勢制御を行っているとき、指令始点(A−20,C30)の状態から指令終点(A20,C−30)が指令されると、図2に示されるように指令始点、指令終点の関係が指令されることになる。   When the tool posture control is performed by the tool posture command commanded at the position of the rotation axis (A, C axis), the command end point (A20, C-30) is commanded from the state of the command start point (A-20, C30). Then, the relationship between the command start point and the command end point is commanded as shown in FIG.

指令プログラムの例は次の<指令例1>ようになる。
<指令例1>
N10 G43.4P1X1.2Y3.0Z5.0A−20.0C30.0H01;
N20 Y0.0A20.0C−30.0;
・・・・・
N90 G49;
ここで、「N10」、「N20」、および「N90」はブロック番号を表す。「G43.4」は回転軸位置指令によって工具先端点制御を行うGコードであり、さらにP1を指令することによって工具姿勢制御を行う。X,Y,Zは工具先端点が移動する位置の指令であり、A,CはA,C軸位置によって工具姿勢の方向を指令する。H01は工具先端点制御または工具姿勢制御を行う工具長補正量の番号を指令する。G49は工具先端点制御または工具姿勢制御をキャンセルする指令である。
An example of the command program is <command example 1> below.
<Command example 1>
N10 G43.4P1X1.2Y3.0Z5.0A-20.0C30.0H01;
N20 Y0.0A20.0C-30.0;
...
N90 G49;
Here, “N10”, “N20”, and “N90” represent block numbers. “G43.4” is a G code for performing tool tip point control by a rotation axis position command, and further performing tool posture control by commanding P1. X, Y, and Z are commands for the position at which the tool tip point moves, and A and C commands the direction of the tool posture based on the A and C axis positions. H01 commands a tool length correction amount number for performing tool tip point control or tool posture control. G49 is a command for canceling the tool tip point control or the tool attitude control.

N10では工具先端点はYの指令によって動作するとともに、工具姿勢だけに着目すると図2のような指令始点、指令終点の関係が指令されるため、工具姿勢は図3の斜線の平面上または図4の滑らかな面上を動作することが期待される指令である。   At N10, the tool tip is operated according to the Y command, and since the relationship between the command start point and the command end point as shown in FIG. 2 is commanded when focusing only on the tool posture, the tool posture is on the hatched plane in FIG. This command is expected to operate on the smooth surface of No. 4.

なお、本願に添付した明細書(以下、「本願明細書」という)では、簡単のため工具姿勢を図4のような滑らかな面上ではなく図3のような平面に存在するように制御するとして以下説明する。また、図2〜図4および以降の工具ヘッドまたは工具の動作を描く図は、工具ヘッドまたは工具の動作のみに着目した図としている。実際の指令では、上記のようにA、Cの指令とともに通常X,Y,Zも指令され、工具先端は指令されたX,Y,Zに対応して動作する。しかし、本願に添付した図面では、工具先端のX,Y,Z方向の動作は省略し(図上に移動なしとし)工具ヘッドまたは工具の動きのみに着目した図としている。   In the specification attached to the present application (hereinafter referred to as “the present specification”), for the sake of simplicity, the tool posture is controlled not to be on a smooth surface as shown in FIG. 4 but to be present on a plane as shown in FIG. Will be described below. In addition, FIGS. 2 to 4 and the subsequent drawings depicting the operation of the tool head or the tool are views focusing only on the operation of the tool head or the tool. In the actual command, X, Y, and Z are normally commanded together with the commands A and C as described above, and the tool tip operates corresponding to the commanded X, Y, and Z. However, in the drawings attached to the present application, the movement of the tool tip in the X, Y, and Z directions is omitted (there is no movement on the drawing) and only the movement of the tool head or the tool is considered.

ここで、図3の平面上で工具姿勢をサンプリング周期毎に指令始点の工具姿勢から指令終点の工具姿勢に変化させる補間を行うとき、各サンプリング周期における工具先端から機械制御点への正規化されたベクトルである工具姿勢ベクトルVt(Vtx,Vty,Vtz)(図1参照)に対して、A軸,C軸の解は数1式および数2式のように通常2組(解A、解B)存在する。   Here, when interpolation is performed to change the tool posture from the command start point tool posture to the command end point tool posture every sampling cycle on the plane of FIG. 3, the tool tip is normalized to the machine control point in each sampling cycle. For the tool posture vector Vt (Vtx, Vty, Vtz) (see FIG. 1), the solutions for the A-axis and C-axis are usually two sets (Formula 1 and Formula 2). B) exists.

Figure 0005399881
Figure 0005399881

Figure 0005399881
Figure 0005399881

ここで、arccosの計算は0度〜180度の値を得るとする。また、arctanの計算については次のように値を得るとする。
Vtx,Vty≧0の場合、0度〜90度
Vtx<0,Vty≧0の場合、90度〜180度
Vtx<0,Vty<0の場合、180度〜270度
Vtx≧0,Vty<0の場合、270度〜360度
arctanの計算におけるn*360度の項のnは整数値であり、360度のn倍の値を加算した位置も解であることを示す。つまり、C軸は正負方向に何回転でも動作可能だが、A軸は−180度〜180度内の動作が可能としている。
Here, it is assumed that the arccos calculation obtains a value of 0 to 180 degrees. Moreover, it is assumed that the value of arctan is obtained as follows.
When Vtx, Vty ≧ 0, 0 degree to 90 degree Vtx <0, When Vty ≧ 0, When 90 degree to 180 degree Vtx <0, When Vty <0, 180 degree to 270 degree Vtx ≧ 0, Vty <0 In the case of 270 degrees to 360 degrees
In the calculation of arctan, n in the term of n * 360 degrees is an integer value, and a position obtained by adding a value of n times 360 degrees is a solution. That is, the C-axis can operate in any number of rotations in the positive and negative directions, but the A-axis can operate within −180 degrees to 180 degrees.

その2組の解のうち直前のA軸,C軸位置に近い解を選択するようにすると、図5に示されるような動作になる。このような動作をする例は特開平9−207089号公報(請求項2)がある。   If a solution close to the immediately preceding A-axis and C-axis positions is selected from the two sets of solutions, the operation is as shown in FIG. An example of such an operation is disclosed in Japanese Patent Application Laid-Open No. 9-207089 (Claim 2).

図5に示される動作を説明する。図5(a)から順をおって説明する。上述したように中間点1には中間点1A(A−13.409,C49.764)と中間点1B(A13.409,C−130.236)がある。中間点1Bの位置は中間点1Aの反対側の位置であり、2組の解のもう一つの解である。工具は直前の位置である始点(A−20,C30)に近い中間点1A(A−13.409,C49.764)へ移動する。
図5(b)に示されるように、中間点2には中間点2Aと中間点2Bの2つの解があるが、直前の位置(中間点1A)に近い中間点2Aを選択する。そして、図5(c)に示されるように、中間点3には中間点3Aと中間点3Bの2つの解があるが、直前の位置(中間点2A)に近い中間点3Aを選択する。そして、終点には終点Aと終点Bの2つの解があるが、直前の位置(中間点3A)に近い終点Aを選択する。この位置は「指令終点位置」ではなく、指令終点位置は終点Bである。図5(d)に示されるように指令された指令終点位置に到達しない。したがって、指令に反している。つまり、図2の指令によって図3の斜線の平面上を動作することは物理的に不可能なのである。
The operation shown in FIG. 5 will be described. A description will be given in order from FIG. As described above, the intermediate point 1 includes the intermediate point 1A (A-13.409, C49.764) and the intermediate point 1B (A13.409, C-130.236). The position of the intermediate point 1B is a position opposite to the intermediate point 1A, and is another solution of the two sets of solutions. The tool moves to an intermediate point 1A (A-13.409, C49.764) close to the start point (A-20, C30) which is the immediately preceding position.
As shown in FIG. 5B, the intermediate point 2 has two solutions, the intermediate point 2A and the intermediate point 2B, but the intermediate point 2A close to the immediately preceding position (intermediate point 1A) is selected. As shown in FIG. 5C, the intermediate point 3 has two solutions of the intermediate point 3A and the intermediate point 3B, but the intermediate point 3A close to the immediately preceding position (intermediate point 2A) is selected. The end point has two solutions, the end point A and the end point B, and the end point A close to the immediately preceding position (intermediate point 3A) is selected. This position is not the “command end position”, but the command end position is the end point B. As shown in FIG. 5D, the commanded end point position is not reached. Therefore, it is against the command. That is, it is physically impossible to operate on the hatched plane of FIG. 3 by the command of FIG.

物理的に不可能であるので、工具姿勢が期待された平面上を指令された指令終点に向かって動作できないのはやむを得ない。そのため、このような指令のブロックが指令されると、従来の数値制御装置は次のように制御している。
(1)アラームにして工作機械を停止する。
(2)このような指令があるブロックにおいては工具姿勢制御を行わず、工具先端点制御とする。
(3)図5に示されるように、直前の位置に近い解を選択するようにする。例えば、特開平09−207089号公報(請求項2)の手法を用いる。
Since it is physically impossible, it is inevitable that the tool cannot move toward the commanded end point on the plane where the tool posture is expected. For this reason, when such a command block is commanded, the conventional numerical control device controls as follows.
(1) Stop the machine tool with an alarm.
(2) In a block with such a command, tool posture control is not performed but tool tip point control is performed.
(3) As shown in FIG. 5, a solution close to the immediately preceding position is selected. For example, the technique disclosed in JP 09-207089 A (Claim 2) is used.

しかし、上記(1)〜(3)の方法は、次のような問題がある。
上記(1)の方法では、機械を停止することにより加工が行われないので望ましくない。
上記(2)の方法では、工具姿勢制御を行わないと、工具側面で滑らかなワーク側面を加工しているような場合には滑らかな加工面が得られない。前後のブロックとの間で加工面上に段差が発生する。工具姿勢が制御されないので、加工面に切り込みキズが発生する。
上記(3)の方法では、終点位置が指令位置と相違する位置になり、工具が機械の部品などと衝突(干渉)する可能性がある。また、特異点近傍で回転軸の速度が大きくなり、回転軸の最高速度を超えようとすると、最高速度で制限されるので加工時間がかかる。
However, the methods (1) to (3) have the following problems.
The method (1) is not desirable because the machining is not performed by stopping the machine.
In the method (2), if the tool posture control is not performed, a smooth machining surface cannot be obtained when a smooth workpiece side surface is machined on the tool side surface. A step is generated on the processing surface between the front and rear blocks. Since the tool posture is not controlled, a cut is generated on the machined surface.
In the method (3), the end point position is different from the command position, and there is a possibility that the tool collides (interferences) with a machine part or the like. In addition, the speed of the rotating shaft increases near the singular point, and if it tries to exceed the maximum speed of the rotating shaft, it takes a long time because it is limited by the maximum speed.

次に、ベクトル指令の場合を説明する。
工具姿勢を、A,C軸で回転軸位置を指令するのではなく、工具姿勢方向を示す工具姿勢ベクトルで指令することもできる。指令プログラムは<指令例2>のようになる。
<指令例2>
N10 G43.5P1X1.2Y3.0Z5.0I―0.171J0.296
K0.94H01;
N20 Y0.0I―0.171J−0.296K0.94;
・・・・・
N90 G49;
ここで、G43.5は工具姿勢ベクトルの指令で工具先端点制御を行うGコードであり、さらにP1を指令することによって工具姿勢制御を行う。X,Y,Zは工具先端点が移動する位置の指令であり、I,J,Kは工具姿勢ベクトルの指令である。H01は工具先端点制御または工具姿勢制御を行う工具長補正量の番号を指令する。G49は工具先端点制御または工具姿勢制御をキャンセルする指令である。
工具姿勢をA軸,C軸位置を指令する回転軸位置指令ではなく工具姿勢ベクトルで指令する場合も同様の問題が発生することがある。図3と同じ指令を工具姿勢ベクトルで指令すると、工具姿勢ベクトルの先端の経路は図6破線のように補間され変化する。なお、工具姿勢ベクトルは正規化されている(長さ=1)。また、わかりやすくするためベクトルは図1の工具姿勢ベクトルより長く描いている。
Next, the case of a vector command will be described.
The tool posture can be commanded by a tool posture vector indicating the tool posture direction, instead of commanding the rotation axis position by the A and C axes. The command program is as shown in <Command example 2>.
<Command example 2>
N10 G43.5P1X1.2Y3.0Z5.0I-0.171J0.296
K0.94H01;
N20 Y0.0I-0.171J-0.296K0.94;
...
N90 G49;
Here, G43.5 is a G code for performing tool tip point control by commanding a tool posture vector, and further performing tool posture control by commanding P1. X, Y, and Z are commands for the position at which the tool tip moves, and I, J, and K are commands for the tool attitude vector. H01 commands a tool length correction amount number for performing tool tip point control or tool posture control. G49 is a command for canceling the tool tip point control or the tool attitude control.
The same problem may occur when the tool posture is commanded by a tool posture vector instead of the rotation axis position command that commands the A-axis and C-axis positions. When the same command as in FIG. 3 is commanded with the tool posture vector, the path of the tip of the tool posture vector is interpolated and changed as shown by the broken line in FIG. The tool posture vector is normalized (length = 1). For the sake of simplicity, the vector is drawn longer than the tool posture vector of FIG.

指令始点で工具姿勢が始点工具姿勢ベクトルVs(Vsx,Vsy,Vsz)で指令され、指令終点で工具姿勢が終点工具姿勢ベクトルVe(Vex,Vey,Vez)で指令されることとする。図7は、中間点工具姿勢ベクトルVc(Vcx,Vcy,Vcz)と特異点工具姿勢ベクトルVsi(0,0,1)との角度θcsと、中間点工具姿勢ベクトルVc(Vcx,Vcy,Vcz)と特異点工具姿勢ベクトルVsi(0,0,1)とのベクトル先端位置の距離Lcsを説明する図である。
ここで、工具姿勢は特異点に十分近いとする。つまり、中間点工具姿勢ベクトルVc(Vcx,Vcy,Vcz)において、下記の(4)または(5)の条件であるとする。なお、中間点とは指令始点と指令終点の丁度中間であることを意味しない。指令始点と指令終点の間の最も特異点に近い点である。「最も近い点」とは、特異点での工具姿勢を示す特異点工具姿勢ベクトルとの角度または特異点とのベクトル先端位置の距離が最も小さい位置とする。
It is assumed that the tool posture is commanded by the start tool posture vector Vs (Vsx, Vsy, Vsz) at the command start point, and the tool posture is commanded by the end point tool posture vector Ve (Vex, Vey, Vez) at the command end point. FIG. 7 shows the angle θcs between the intermediate point tool posture vector Vc (Vcx, Vcy, Vcz) and the singular point tool posture vector Vsi (0, 0, 1), and the intermediate point tool posture vector Vc (Vcx, Vcy, Vcz). It is a figure explaining the distance Lcs of the vector front-end | tip position with singular point tool posture vector Vsi (0, 0, 1).
Here, it is assumed that the tool posture is sufficiently close to the singular point. That is, it is assumed that the following condition (4) or (5) is satisfied in the intermediate point tool posture vector Vc (Vcx, Vcy, Vcz). Note that the intermediate point does not mean that it is exactly between the command start point and the command end point. It is the point closest to the singular point between the command start point and the command end point. The “closest point” is an angle with the singular point tool posture vector indicating the tool posture at the singular point or a position where the distance of the vector tip position from the singular point is the shortest.

(4)中間点工具姿勢ベクトルVc(Vcx,Vcy,Vcz)と特異点工具姿勢ベクトルVsi(0,0,1)との角度θcsが、ある設定値θsより小さい。 (4) The angle θcs between the intermediate point tool posture vector Vc (Vcx, Vcy, Vcz) and the singular point tool posture vector Vsi (0, 0, 1) is smaller than a certain set value θs.

Figure 0005399881
Figure 0005399881

ここで、θcsはθcs=arccos(Vc・Vsi)(記号「・」は内積)   Here, θcs is θcs = arccos (Vc · Vsi) (the symbol “·” is an inner product).

(5)中間点工具姿勢ベクトルと特異点工具姿勢ベクトルとのベクトル先端位置の距離Lcsがある設定値Lsより小さい。 (5) The distance Lcs of the vector tip position between the intermediate point tool posture vector and the singular point tool posture vector is smaller than a set value Ls.

Figure 0005399881
Figure 0005399881

ここで、LcsはLcs=sinθcs
ただし、工具長など他の長さ(TL)を考慮し、Lcs=TL*sinθcsとしてもよい。
Here, Lcs is Lcs = sin θcs
However, Lcs = TL * sin θcs may be set in consideration of other lengths (TL) such as a tool length.

従来の数値制御装置では直前の回転軸位置に近い解を選択するようにする。そのため、上記(4)または上記(5)の場合、動作としては図5と同様の結果となる。この場合、工具姿勢ベクトルで指令されているため、「終点位置が指令位置と相違する位置になる」ということはない。しかし、特異点近傍で回転軸の速度が大きくなり、回転軸の最高速度を超えようとすると、最高速度に制限されてしまうので加工時間がかかる。   In the conventional numerical control device, a solution close to the immediately preceding rotational axis position is selected. Therefore, in the case of (4) or (5) above, the operation is the same as in FIG. In this case, since it is commanded by the tool posture vector, the “end point position becomes a position different from the command position” will not occur. However, the speed of the rotating shaft increases in the vicinity of the singular point, and if it tries to exceed the maximum speed of the rotating shaft, it is limited to the maximum speed, and therefore processing time is required.

そのため、特許文献4では、このような指令があるブロックの中間点あるいはその近傍(特許文献中では、関節補間範囲)において工具姿勢制御を行わない(特許文献中では、回転主軸法の補間を行わず関節補間を行う)。しかし、工具姿勢制御を行わないと、前述のように、工具側面で滑らかなワーク側面を加工しているような場合には、滑らかな加工面が得られない。工具姿勢が制御されないので、加工面に切り込みキズが発生する。   Therefore, in Patent Document 4, tool posture control is not performed at an intermediate point of a block having such a command or in the vicinity thereof (in the patent document, a joint interpolation range) (in Patent Document, interpolation of the rotation spindle method is performed). Without joint interpolation). However, if tool posture control is not performed, as described above, when a smooth workpiece side surface is processed on the tool side surface, a smooth processed surface cannot be obtained. Since the tool posture is not controlled, a cut is generated on the machined surface.

そこで本発明の目的は、上記従来技術の問題点に鑑み、切り込みキズを発生させないように滑らかな動作と終点位置を指令位置とすることが可能な回転軸の大きな動作を発生させない5軸加工機用数値制御装置を提供することである。   Accordingly, an object of the present invention is to provide a 5-axis machine that does not generate a large operation of a rotating shaft capable of making a smooth operation and an end point position as a command position so as not to generate a cutting flaw, in view of the above-described problems of the prior art. A numerical control device is provided.

本願の請求項1に係る発明は、テーブルに取り付けられたワーク(加工物)に対して直線軸3軸と傾斜回転軸と旋回回転軸の回転軸2軸によって加工する5軸加工機を制御する数値制御装置において、指令始点と指令終点の二つの指令位置の間におけるワークに対する工具の姿勢が、前記二つの指令位置における前記回転軸2軸に対する前記指令位置である指令回転軸位置によって方向が指令される工具姿勢を含む平面または滑らかな面に存在するように回転軸位置および直線軸位置を制御する工具姿勢制御部と、前記二つの指令位置の間で、前記旋回回転軸の動作が不安定になる前記傾斜回転軸の位置である特異点をはさんで前記傾斜回転軸の指令が反対側である場合は前記特異点を通過しかつ越える必要があると判断する特異点通過判断部と、前記特異点通過判断部にて前記特異点を通過しかつ越える必要があると判断した場合には、工具姿勢が前記二つの指令位置と前記特異点を通過しかつ越える特異点通過経路とする特異点通過経路作成部とを備えた5軸加工機用数値制御装置である。 The invention according to claim 1 of the present application controls a five-axis processing machine that processes a workpiece (workpiece) attached to a table by three linear axes, an inclined rotation axis, and two rotation axes of a turning rotation axis. in the numerical control device, the posture of the tool relative to the workpiece between the two command position command start and command end point, the two said Accordingly direction command position at which the command rotational axis position with respect to the two rotation axes in the command position is There is no movement of the swivel rotation axis between the two command positions and the tool attitude control unit that controls the rotation axis position and the linear axis position so that the rotation axis position and the linear axis position exist on a plane or a smooth surface including the commanded tool attitude. singularity pass judgment to determine that when the command of the inclined rotary shaft across the singularity is a position of the tilt rotary shaft to become stable is opposite should exceed vital passing through the singular point If, when it is determined that it is necessary to exceed vital passing through the singular point at the singular point passing determination unit, and the singularity passing path which the tool orientation exceeds vital pass through the singular point and the two command position 5 is a numerical control device for a 5-axis processing machine provided with a singular point passage route creating unit.

請求項2に係る発明は、テーブルに取り付けられたワーク(加工物)に対して直線軸3軸と傾斜回転軸と旋回回転軸の回転軸2軸によって加工する5軸加工機を制御する数値制御装置において、指令始点と指令終点の二つの指令位置の間におけるワークに対する工具の姿勢が、前記二つの指令位置におけるベクトル指令による工具姿勢を含む平面または滑らかな面に存在するように回転軸位置および直線軸位置を制御する工具姿勢制御部と、前記工具姿勢を含む平面または滑らかな面と前記旋回回転軸の動作が不安定になる前記傾斜回転軸の位置である特異点との最小距離または最小角度が設定値よりも小さい場合は前記特異点を通過しかつ越える必要があると判断する特異点通過判断部と、上記特異点通過判断部にて前記特異点を通過しかつ越える必要があると判断した場合には、工具姿勢が前記二つの指令位置と前記特異点を通過しかつ越える特異点通過経路とする特異点通過経路作成部とを備えた5軸加工機用数値制御装置である。 The invention according to claim 2 is a numerical control for controlling a five-axis processing machine for processing a workpiece (workpiece) attached to a table by three axes of a linear axis, an inclined rotation axis, and a rotary axis of rotation. In the apparatus, the rotation axis position and the tool posture with respect to the workpiece between the two command positions of the command start point and the command end point exist on a plane or a smooth surface including the tool posture by the vector command at the two command positions. Minimum distance or minimum between a tool attitude control unit that controls the position of the linear axis, a plane or a smooth surface including the tool attitude, and a singular point that is the position of the tilt rotation axis at which the operation of the swivel rotation axis becomes unstable a singular point passing determination unit for determining that when the angle is smaller than the set value must exceed vital passing through the singular point, only pass through the singular point at the singular point passing determination unit If it is determined that it is necessary to exceed the numerical for 5 axis machine with a singular point passing route creating unit for a singular point passing path which the tool orientation exceeds vital pass through the singular point and the two command position It is a control device.

請求項3に係る発明は、前記特異点通過経路作成部は、前記指令始点における指令始点への工具姿勢の変化方向に接続するように経路を作成する請求項1または請求項2に記載の5軸加工機用数値制御装置である。   According to a third aspect of the present invention, the singular point passage path creation unit creates the path so as to connect to the direction of change of the tool posture to the command start point at the command start point. This is a numerical control device for a shaft machine.

請求項4に係る発明は、前記特異点通過経路作成部は、前記指令終点における指令終点からの工具姿勢の変化方向に接続するように経路を作成する請求項1〜請求項3のいずれか一つに記載の5軸加工機用数値制御装置である。   According to a fourth aspect of the present invention, the singular point passage route creation unit creates a route so as to connect to a change direction of the tool posture from the command end point at the command end point. 5 is a numerical control device for a 5-axis processing machine.

請求項5に係る発明は、前記特異点通過経路は、工具姿勢方向を表す指令経路関数として作成する請求項1〜請求項4のいずれか一つに記載の5軸加工機用数値制御装置である。   The invention according to claim 5 is the numerical control device for a 5-axis machining apparatus according to any one of claims 1 to 4, wherein the singular point passage path is created as a command path function representing a tool posture direction. is there.

請求項6に係る発明は、前記特異点通過経路は、回転軸位置による指令経路関数として作成する請求項1〜請求項4のいずれか一つに記載の5軸加工機用数値制御装置である。   The invention according to claim 6 is the numerical control device for a 5-axis machining apparatus according to any one of claims 1 to 4, wherein the singular point passage path is created as a command path function based on a rotation axis position. .

請求項7に係る発明は、前記特異点通過経路作成部によって工具姿勢が前記二つの指令位置と前記特異点を通過しかつ越えるように指令経路が作成された時、前記工具姿勢制御部は、サンプリング周期毎の前記工具姿勢を表す工具姿勢ベクトルを求め該工具姿勢ベクトルから前記回転軸2軸の位置を求める演算において、得られる2組の解の中で直前の該サンプリング周期における前記旋回回転軸位置に近い解を選択する請求項5に記載の5軸加工機用数値制御装置である。 The invention according to claim 7, when the command path such tool attitude by the singular point passing route creating unit exceeds vital pass through the singular point and the two command position is created, the tool posture control unit, In the calculation for obtaining the tool posture vector representing the tool posture for each sampling period and obtaining the position of the two rotation axes from the tool posture vector, the swivel rotation axis in the immediately preceding sampling period in the two sets of solutions obtained The numerical control device for a 5-axis machining apparatus according to claim 5, wherein a solution close to the position of is selected.

請求項8に係る発明は、前記特異点通過経路作成部は、工具姿勢が前記二つの指令位置と前記特異点を通過しかつ越えるように指令経路を作成する時、該作成する指令経路を表す指令経路関数を求め前記特異点における該指令経路関数のパラメータとして特異点パラメータ値を求めておく前記特異点通過経路作成部であり、前記工具姿勢制御部は、サンプリング周期ごとに該指令経路関数とパラメータによって工具姿勢ベクトルを求め該工具姿勢ベクトルから前記回転軸2軸の位置を求める演算において、該パラメータが前記特異点パラメータ値を越えるときに、得られる2組の解の中で選択する解の組を変更する請求項5に記載の5軸加工機用数値制御装置である。
請求項9に係る発明は、前記傾斜回転軸の位置が0度の位置が前記特異点である前記5軸加工機において、前記特異点通過判断部は、前記二つの指令位置の間で前記傾斜回転軸の指令の符号が反転する場合に前記二つの指令位置の間で前記傾斜回転軸の指令が前記特異点をはさんで反対側であり前記特異点を通過しかつ越える必要があると判断する前記特異点通過判断部である請求項1に記載の5軸加工機用数値制御装置である。
請求項10に係る発明は、前記傾斜回転軸の位置が0度でない位置が前記特異点である前記5軸加工機において、前記特異点通過判断部は、前記二つの指令位置の間で前記傾斜回転軸の指令に関して(指令始点−特異点)と(指令終点−特異点)の符号が反転する場合に前記二つの指令位置の間で前記傾斜回転軸の指令が前記特異点をはさんで反対側であり前記特異点を通過しかつ越える必要があると判断する前記特異点通過判断部である請求項1に記載の5軸加工機用数値制御装置である。
According to an eighth aspect of the present invention, the singular point passage path creation unit represents a command path to be created when a command path is created so that the tool posture passes through and exceeds the two command positions and the singular point. The singular point passing path creation unit that obtains a command path function and obtains a singular point parameter value as a parameter of the command path function at the singular point, and the tool posture control unit In the calculation for obtaining the tool posture vector by the parameter and obtaining the position of the two rotation axes from the tool posture vector, when the parameter exceeds the singular point parameter value, The numerical control device for a 5-axis machining apparatus according to claim 5, wherein the set is changed.
According to a ninth aspect of the present invention, in the 5-axis machining apparatus in which the position of the tilt rotation axis is 0 degree is the singular point, the singular point passage determination unit includes the tilt between the two command positions. When the sign of the rotating shaft command is reversed, it is determined that the tilted rotating shaft command is on the opposite side across the singular point between the two command positions and needs to pass and exceed the singular point. The numerical control device for a five-axis machine tool according to claim 1, wherein the singularity passage determination unit is configured to perform the singular point passage determination unit.
According to a tenth aspect of the present invention, in the five-axis machining apparatus in which the position where the tilt rotation axis is not 0 degrees is the singular point, the singular point passage determination unit is configured to move the tilt between the two command positions. When the signs of (command start point-singular point) and (command end point-singular point) are reversed with respect to the command of the rotation axis, the command of the tilt rotation axis is opposite between the two singular points. 2. The numerical control device for a 5-axis machining apparatus according to claim 1, wherein the numerical control device is a singularity passage determination unit that determines that it is necessary to pass through and exceed the singularity.

本発明により、切り込みキズを発生させないように滑らかな動作が可能で、ワークを滑らかに加工し滑らかな加工面を得られ、終点位置が指令位置とすることが可能で工具が機械の部品などと衝突(干渉)する可能性を防止し、回転軸の大きな動作を発生させないため加工時間を短縮することが可能な5軸加工機用数値制御装置を提供できる。   According to the present invention, it is possible to perform a smooth operation so as not to generate a cut-in flaw, to obtain a smooth machining surface by machining a workpiece smoothly, and to make the end point position a command position, and the tool can be a machine part, etc. It is possible to provide a numerical control device for a 5-axis machine that can prevent the possibility of collision (interference) and can reduce the machining time because a large operation of the rotating shaft is not generated.

テーブルに固定されて取り付けられたワーク(加工物)に対して直線軸3軸と回転軸2軸によって加工する5軸加工機の概略構成図である。It is a schematic block diagram of the 5-axis processing machine which processes with the linear axis | shaft 3 axis | shafts and the rotating shaft 2 axis | shaft with respect to the workpiece | work (workpiece) fixed and attached to the table. <指令例1>の工具姿勢だけに着目した場合のブロックN10で指令される指令始点と指令終点の関係を説明する図である。It is a figure explaining the relationship between the command start point commanded by block N10 at the time of paying attention only to the tool posture of <command example 1>. <指令例1>のブロックN10の指令による工具姿勢が動作することを期待されている平面を斜線の平面で表した図である。It is the figure which represented the plane by which the tool attitude | position by the instruction | command of the block N10 of <command example 1> is anticipated to operate | move with the oblique line plane. <指令例1>のブロックN10の指令による工具姿勢が動作することを期待されている滑らかな面を表した図である。It is a figure showing the smooth surface by which the tool posture by the command of block N10 of <command example 1> is expected to operate. 2組の解のうち、直前のA軸、C軸位置に近い解を選択した場合の工具姿勢の動作を説明する図である。It is a figure explaining operation | movement of a tool attitude | position at the time of selecting the solution close | similar to the last A-axis and C-axis position among 2 sets of solutions. 図3と同じ指令を工具姿勢ベクトルで指令した場合、工具姿勢ベクトルの先端が補間され変化することを説明する図である。FIG. 4 is a diagram for explaining that the tip of a tool posture vector is interpolated and changed when the same command as in FIG. 3 is commanded with a tool posture vector. 中間点工具姿勢ベクトルVc(Vcx,Vcy,Vcz)と特異点工具姿勢ベクトルVsi(0,0,1)との角度θcsと、中間点工具姿勢ベクトルVc(Vcx,Vcy,Vcz)と特異点工具姿勢ベクトルVsi(0,0,1)とのベクトル先端位置の距離Lcsを説明する図である。The angle θcs between the intermediate point tool posture vector Vc (Vcx, Vcy, Vcz) and the singular point tool posture vector Vsi (0, 0, 1), the intermediate point tool posture vector Vc (Vcx, Vcy, Vcz) and the singular point tool It is a figure explaining distance Lcs of vector tip position with posture vector Vsi (0, 0, 1). 回転軸位置指令の場合の特異点通過経路を説明する図である。It is a figure explaining the singular point passage route in the case of a rotation axis position command. 工具姿勢ベクトル指令の場合の特異点通過経路を説明する図である。It is a figure explaining the singular point passage course in the case of a tool posture vector command. 工具姿勢の変化を指令始点への工具姿勢の変化方向と指令終点からの工具姿勢の変化方向に接続することを説明する図である。It is a figure explaining connecting a change of a tool posture to a change direction of a tool posture to a command start point and a change direction of a tool posture from a command end point. 工具姿勢ベクトルを表す指令経路関数であるN(Nx,Ny,Nz)を、工具姿勢が指令始点および指令終点において工具姿勢の変化が接続しながら指令始点、指令終点、および特異点を通る経路として求めることを説明する図である。N (Nx, Ny, Nz), which is a command path function representing a tool posture vector, is a path that passes through the command start point, command end point, and singular point while the change in tool posture is connected when the tool posture is the command start point and command end point. It is a figure explaining what is calculated | required. 工具姿勢を表す指令経路であるD(A,C)を、指令始点と指令終点および特異点を通過し指令始点への工具姿勢の変化方向と指令終点からの工具姿勢の変化方向に接続することを説明する図である。Connect D (A, C), which is a command path representing the tool posture, to the command start point, the command end point, and the singular point, and to the tool posture change direction to the command start point and to the tool posture change direction from the command end point. FIG. 指令始点(A−20,C30)から指令終点(A20,C−30)へ、図3で示した平面上を工具姿勢が動作する場合、解Aと解Bとを求め解Ac、解Bcとして図示したものである。When the tool posture moves on the plane shown in FIG. 3 from the command start point (A-20, C30) to the command end point (A20, C-30), solutions A and B are obtained as solutions Ac and Bc. It is illustrated. 図13における解Acによる工具姿勢ベクトルをZプラス方向から描いた図である。It is the figure which drawn the tool posture vector by solution Ac in FIG. 13 from the Z plus direction. 指令経路関数N(Nx,Ny,Nz)から工具姿勢ベクトルVt(Vtx,Vty,Vtz)を求め、Vtから解A、解Bを求め、それらを解An、解Bnとして図13に重ねた図である。The tool posture vector Vt (Vtx, Vty, Vtz) is obtained from the command path function N (Nx, Ny, Nz), the solutions A and B are obtained from Vt, and these are superimposed on FIG. 13 as the solutions An and Bn. It is. 特異点を越えるように解Anから解Bnへ移行した時の工具姿勢ベクトル先端をZプラス方向から描いた図である。It is the figure which drawn the tool posture vector front-end | tip at the time of transfering from solution An to solution Bn so that it may exceed a singular point from the Z plus direction. 指令経路関数D(A,C)を図13のグラフに重ねて表示した図である。FIG. 14 is a diagram in which a command path function D (A, C) is displayed superimposed on the graph of FIG. 13. 指令経路関数D(A,C)に対して工具姿勢ベクトル先端を計算してZプラス方向から描いた図である。It is the figure which computed the tool posture vector front-end | tip with respect to instruction | command path | route function D (A, C), and was drawn from the Z plus direction. 本発明の5軸加工機用数値制御装置の機能ブロック図である。It is a functional block diagram of the numerical control device for a 5-axis machine of the present invention. 本発明の第1補間と第2補間とを行う5軸加工機用数値制御装置の機能ブロック図である。It is a functional block diagram of the numerical controller for a 5-axis machine that performs the first interpolation and the second interpolation of the present invention. 本発明の特異点通過判断部と特異点通過経路作成部の処理のアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of a process of the singular point passage judgment part and singular point passage route creation part of this invention. 本発明の特異点通過経路作成部で作成された特異点通過経路を補間部に関連づけられた工具姿勢制御部で補間する場合の処理のアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of a process in the case of interpolating the singular point passage route produced | generated by the singular point passage route creation part of this invention by the tool attitude | position control part linked | related with the interpolation part. A=0度であり図1の状態はA=90度であるテーブルに固定されて取り付けられたワーク(加工物)に対して直線軸3軸と回転軸2軸によって加工する5軸加工機の概略構成図である。1 is a 5-axis processing machine that processes a workpiece (workpiece) fixed and attached to a table with A = 90 degrees by using three linear axes and two rotational axes. It is a schematic block diagram. 傾斜回転軸位置が0度でない位置が特異点である5軸加工機において、本発明の特異点通過判断部と特異点通過経路作成部の処理のアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of the process of the singular point passage judgment part of this invention, and a singular point passage route creation part in the 5-axis processing machine whose position where an inclination rotation axis position is not 0 degree | times is a singular point.

以下、本発明の実施形態を図面と共に説明する。
本願明細書では、図1に示されるヘッド回転型の5軸加工機を例として説明する。なお、図1では回転軸2軸をA,C軸としているが、B,C軸やA,B軸が回転軸2軸である5軸加工機もある。また、上述のようにテーブル回転型や混合型の5軸加工機もある。それらの5軸加工機に対しても工具姿勢(工具のワークに対する相対的な姿勢)の制御という点では同様であるため、本発明を適用することが可能である。
本発明は、テーブルに取り付けられたワーク(加工物)に対して直線軸3軸と傾斜回転軸と旋回回転軸の回転軸2軸によって加工する5軸加工機を制御する数値制御装置において、指令始点と指令終点の二つの指令位置におけるワークに対する工具の姿勢が、前記二つの指令位置における工具姿勢を含む平面または滑らかな面に存在するように回転軸位置および直線軸位置を制御する工具姿勢制御部と、前記二つの指令位置の間で特異点を通過する必要があると判断する特異点通過判断部と、前記特異点通過判断部にて特異点を通過する必要があると判断した場合には、工具姿勢が前記二つの指令位置と特異点を通過するように指令経路を作成する特異点通過経路作成部とを備えた5軸加工機用数値制御装置である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
In the specification of the present application, the head rotating type 5-axis processing machine shown in FIG. 1 will be described as an example. In FIG. 1, the two rotation axes are A and C axes, but there are also five-axis processing machines in which the B and C axes and the A and B axes are the two rotation axes. Further, as described above, there are table rotating type and mixed type 5-axis processing machines. Since these five-axis machines are the same in terms of controlling the tool posture (relative posture of the tool with respect to the workpiece), the present invention can be applied.
The present invention relates to a numerical control apparatus for controlling a 5-axis processing machine for processing a workpiece (workpiece) attached to a table by two rotation axes of a linear axis, an inclined rotation axis, and a turning rotation axis. Tool posture control for controlling the rotation axis position and the linear axis position so that the tool posture with respect to the workpiece at the two command positions of the start point and the command end point exists on a plane or a smooth surface including the tool posture at the two command positions. A singularity passage determination unit that determines that it is necessary to pass a singular point between the two command positions, and a singular point passage determination unit that determines that it is necessary to pass a singular point. Is a numerical control device for a 5-axis machine, which includes a singular point passage path creation unit that creates a command path so that the tool posture passes through the two command positions and the singular point.

ここで、特異点通過判断について説明する。
まず、回転軸位置指令の場合の特異点通過判断について説明する。
工具姿勢は回転軸(A軸,C軸)の位置で指令される場合、指令始点と指令終点の2つの指令位置の間で回転軸2軸のうち傾斜回転軸指令の符号が反転する時には、特異点を通過する必要があると判断する。図2では、指令始点ではA軸−20度であり指令終点ではA軸20度であるため、傾斜回転軸指令の符号が反転しており特異点を通過する必要があると判断される。なお、0度の時には前の指令の符号が継続するとみなす。例えば、指令始点でA軸−20度であり指令終点でA軸0度の時には、符号が反転するとはみなさない。
ただし、上記説明はA=0度が特異点である場合の説明であり、段落「0011」で説明したように、図23の状態がA=0度であり図1の状態はA=90度である機械構成もある。
さらに、特異点はA=0度でも90度でもなく他の角度の場合もある。そのような5軸加工機においては、傾斜回転軸(A軸)に関して、(指令始点−特異点)と(指令終点−特異点)の符号が反転するかどうかに着目する。すなわち、傾斜回転軸(A軸)に関して、(指令始点−特異点)と(指令終点−特異点)の符号が反転すれば、傾斜回転軸指令が特異点をはさんで反対側であり特異点を通過する必要があると判断する。傾斜回転軸(A軸)に関して、特異点への指令の場合、特異点をはさんで反対側であるとはみなさないのは上記説明と同じである。
Here, the singularity passage determination will be described.
First, singularity passage determination in the case of the rotation axis position command will be described.
When the tool posture is commanded at the position of the rotation axis (A axis, C axis), when the sign of the tilt rotation axis command of the two rotation axes is reversed between the two command positions of the command start point and the command end point, Judge that it is necessary to pass the singularity. In FIG. 2, since the command start point is A axis −20 degrees and the command end point is A axis 20 degrees, it is determined that the sign of the tilt rotation axis command is reversed and it is necessary to pass through a singular point. In addition, it is considered that the sign of the previous command is continued at 0 degree. For example, when the command start point is A axis −20 degrees and the command end point is A axis 0 degrees, the sign is not considered to be reversed.
However, the above description is a case where A = 0 degree is a singular point. As described in the paragraph “0011”, the state of FIG. 23 is A = 0 degree and the state of FIG. 1 is A = 90 degree. There is also a machine configuration that is.
Furthermore, the singular point is not A = 0 degrees or 90 degrees, and may be at other angles. In such a 5-axis machine, attention is paid to whether or not the signs of (command start point−singular point) and (command end point−singular point) are reversed with respect to the tilt rotation axis (A axis). That is, with respect to the tilt rotation axis (A axis), if the signs of (command start point-singular point) and (command end point-singular point) are reversed, the tilt rotation axis command is on the opposite side across the singular point. Judge that it is necessary to pass through. With respect to the tilt rotation axis (A axis), in the case of a command to a singular point, it is the same as described above that the singular point is not considered to be on the opposite side.

次に、ベクトル指令の場合の特異点通過判断について説明する。
工具姿勢は工具姿勢ベクトルで指令される場合、前述の数3式または数4式が満足されると、特異点を通過する必要があると判断する。
Next, singular point passage determination in the case of a vector command will be described.
When the tool posture is instructed by a tool posture vector, it is determined that it is necessary to pass a singular point when the above-described Equation 3 or Equation 4 is satisfied.

次に、特異点通過判断において特異点を通過する必要があると判断された場合の特異点通過経路作成について説明する。特異点を通過する必要があると判断された場合、工具姿勢が指令始点と指令終点および特異点を通過するように指令経路を変更し、工具姿勢が特異点を越えるように補間する。補間については後述する。図2で示した例において、本発明では図8に示されるように特異点を通過する経路に変更する。工具姿勢をベクトルで指令する場合も同様である。工具姿勢ベクトル先端の経路を、図9の点線に示されるように特異点を通過する経路に変更し、工具姿勢が特異点を越えるように補間する。変更前の図6と対比すると経路変更を理解し易い。なお、補間については後述する。   Next, creation of a singular point passage route when it is determined that it is necessary to pass a singular point in the singular point passage determination will be described. When it is determined that it is necessary to pass the singular point, the command path is changed so that the tool posture passes the command start point, the command end point, and the singular point, and interpolation is performed so that the tool posture exceeds the singular point. Interpolation will be described later. In the example shown in FIG. 2, the present invention changes to a path passing through a singular point as shown in FIG. The same applies when the tool posture is commanded as a vector. The path at the tip of the tool posture vector is changed to a path that passes through a singular point as shown by the dotted line in FIG. 9, and interpolation is performed so that the tool posture exceeds the singular point. Compared with FIG. 6 before the change, it is easy to understand the route change. Interpolation will be described later.

さらに、工具姿勢は、指令始点と指令終点において指令始点への工具姿勢の変化方向と指令終点からの工具姿勢の変化方向に接続するように工具姿勢を変化させる。つまり、図10に示されるように、工具姿勢の変化を指令始点へと指令終点からの工具姿勢の変化方向に接続する。   Further, the tool posture is changed such that the tool posture is connected to the change direction of the tool posture to the command start point and the change direction of the tool posture from the command end point at the command start point and the command end point. That is, as shown in FIG. 10, the change in the tool posture is connected to the command start point in the tool posture change direction from the command end point.

図10では、指令始点への工具姿勢の変化方向と指令終点からの工具姿勢の変化方向に接続するように工具姿勢を変化させるが、指令始点への工具姿勢の変化方向と指令終点からの工具姿勢の変化方向に接続する必要がない場合には、単に指令始点と指令終点および特異点を通過する工具経路としただけでもよい。また、指令終点からの工具姿勢の変化方向がまだわかっていない場合には、指令始点への工具姿勢の変化方向に接続するように工具姿勢を変化させるだけでもよい。   In FIG. 10, the tool posture is changed so as to be connected to the change direction of the tool posture to the command start point and the change direction of the tool posture from the command end point, but the change direction of the tool posture to the command start point and the tool from the command end point If it is not necessary to connect in the direction of change in posture, the tool path may simply be a command start point, a command end point, and a singular point. Further, when the change direction of the tool posture from the command end point is not yet known, it is only necessary to change the tool posture so as to connect to the change direction of the tool posture to the command start point.

図8から図10に示されるように、特異点通過経路を作成することによって、加工面への切り込みキズのない滑らかな加工面を得る。また、大きな動作が生じないため加工時間が短い。さらに、終点位置は指令位置となる。   As shown in FIGS. 8 to 10, by creating a singular point passage, a smooth machined surface with no cuts on the machined surface is obtained. Moreover, since a large operation does not occur, the processing time is short. Furthermore, the end point position becomes a command position.

次に、工具姿勢の指令経路を表す指令経路関数を求める例を説明する。
図11は、工具姿勢方向を表す指令経路関数であるN(Nx,Ny,Nz)を、工具姿勢が指令始点および指令終点において工具姿勢の変化が接続しながら指令始点、指令終点、および特異点を通る経路として求めることを説明する図である。
Next, an example of obtaining a command path function representing a command path of a tool posture will be described.
FIG. 11 shows a command start point, a command end point, and a singular point while N (Nx, Ny, Nz), which is a command path function representing the tool posture direction, is connected with changes in the tool posture at the command start point and the command end point. It is a figure explaining calculating | requiring as a path | route which passes through.

工具姿勢が回転軸位置指令またはベクトル指令で指令される場合、工具姿勢方向を表す指令経路関数を求める。さらにその関数をパラメータによって補間し、求められる工具姿勢ベクトルからA軸,C軸の回転軸位置を求める。求めたA軸,C軸位置によってA軸,C軸サーボを制御する。ここで、N(Nx,Ny,Nz)がX,Y,Z座標系での工具姿勢方向を表す指令経路関数であり、これを正規化すると工具姿勢ベクトルとなる。   When the tool posture is commanded by a rotation axis position command or a vector command, a command path function representing the tool posture direction is obtained. Further, the function is interpolated with parameters, and the rotation axis positions of the A axis and the C axis are obtained from the obtained tool posture vector. The A-axis and C-axis servos are controlled according to the obtained A-axis and C-axis positions. Here, N (Nx, Ny, Nz) is a command path function representing the tool posture direction in the X, Y, Z coordinate system, and when this is normalized, it becomes a tool posture vector.

次のようにして、N(Nx,Ny,Nz)を工具姿勢が指令始点および指令終点において工具姿勢の変化が接続しながら指令始点と指令終点および特異点を通る経路として求める。Nsは指令始点における工具姿勢ベクトル、Ns’は指令始点における工具姿勢変化の接線方向(指令始点への工具姿勢の変化方向)、Ncは特異点における工具姿勢ベクトル、Neは指令終点における工具姿勢ベクトル、Ne’は指令終点における工具姿勢変化の接線方向(指令終点からの工具姿勢の変化方向)である。
Ns、Ns’、Nc、Ne、Ne’を与え、指令経路関数N(Nx,Ny,Nz)を多項式、スプライン関数、NURBS関数などの滑らかな曲線を表す関数として求める。N(Nx,Ny,Nz)を正規化すると工具姿勢ベクトルVt(Vtx,Vty,Vtz)となる。指令始点や指令終点において工具姿勢の変化を接続する必要がない場合には、与える条件を少なくし、関数の次数を少なくすればよい。
In the following manner, N (Nx, Ny, Nz) is obtained as a path passing through the command start point, the command end point, and the singular point while the change in the tool posture is connected when the tool posture is the command start point and the command end point. Ns is the tool posture vector at the command start point, Ns ′ is the tangential direction of the tool posture change at the command start point (the change direction of the tool posture to the command start point), Nc is the tool posture vector at the singular point, and Ne is the tool posture vector at the command end point , Ne ′ is the tangential direction of the tool posture change at the command end point (the tool posture change direction from the command end point).
Ns, Ns ′, Nc, Ne, Ne ′ are given, and the command path function N (Nx, Ny, Nz) is obtained as a function representing a smooth curve such as a polynomial, a spline function, or a NURBS function. When N (Nx, Ny, Nz) is normalized, a tool posture vector Vt (Vtx, Vty, Vtz) is obtained. When it is not necessary to connect a change in tool posture at the command start point or command end point, the conditions to be given are reduced and the order of the function is reduced.

例えば、指令経路関数N(Nx,Ny,Nz)を次のようにパラメータtの4次の多項式の関数で表す場合を示す。   For example, the case where the command path function N (Nx, Ny, Nz) is expressed by a function of a fourth-order polynomial of the parameter t as follows is shown.

Figure 0005399881
Figure 0005399881

なお、E、F、G、H、Jはそれぞれ3次元(X,Y,Z)の係数ベクトルである。
Ns、Ns’、Nc、Ne、Ne’の5個の条件が与えられると、E、F、G、H、Jの5個の係数を計算することができる。これによって指令経路関数N(Nx,Ny,Nz)を求めることができる。
E, F, G, H, and J are three-dimensional (X, Y, Z) coefficient vectors, respectively.
If five conditions of Ns, Ns ′, Nc, Ne, Ne ′ are given, five coefficients of E, F, G, H, and J can be calculated. As a result, the command path function N (Nx, Ny, Nz) can be obtained.

パラメータtをサンプリング周期毎に変化させながら、N(Nx,Ny,Nz)を計算し正規化することによってサンプリング周期毎の工具姿勢を表す工具姿勢ベクトルVtが求まる。工具姿勢ベクトルVtからA軸,C軸位置を求めるとき、すでに述べたように通常2組の解(解A,解B)が得られる(数1式および数2式を参照)。指令経路関数N(Nx,Ny,Nz)を特異点を通る経路を表す関数として求めたが、A軸,C軸位置として特異点を越えるには、特異点前後で解Aから解Bまたはその逆のように、特異点後は特異点前の解の組から他の解の組に変更する必要がある。そのための方法を述べる。   While changing the parameter t for each sampling period, N (Nx, Ny, Nz) is calculated and normalized to obtain a tool attitude vector Vt representing the tool attitude for each sampling period. When the A-axis and C-axis positions are obtained from the tool attitude vector Vt, normally two sets of solutions (solution A and solution B) are obtained as described above (see Equation 1 and Equation 2). The command path function N (Nx, Ny, Nz) is obtained as a function representing a path passing through the singular point. To exceed the singular point as the A-axis and C-axis positions, the solution A from the solution A before or after the singular point or its solution B On the contrary, after the singularity, it is necessary to change from the solution set before the singularity to another solution set. A method for this is described.

(1)直前の旋回回転軸に近い解の選択
旋回回転軸(C軸)の位置について、直前のサンプリング周期での旋回回転軸(C軸)の位置に対して、今回のサンプリング周期では常に近い解を選択する。N(Nx,Ny,Nz)は滑らかに変化するので、特異点近くにおいても急激に変化することはない。そのため、急激に変化しない解、つまり、直前のサンプリング周期での旋回回転軸(C軸)の位置に対して、今回のサンプリング周期ではそれに近い解を選択する。
(1) Selection of a solution close to the immediately preceding turning axis The position of the turning axis (C axis) is always close to the position of the turning axis (C axis) at the immediately preceding sampling period in the current sampling period. Select a solution. Since N (Nx, Ny, Nz) changes smoothly, it does not change rapidly even near the singular point. For this reason, a solution that does not change rapidly, that is, a solution close to the position of the rotation axis (C axis) in the immediately preceding sampling period is selected in the current sampling period.

(2)特異点パラメータ値による方法
指令経路関数に関して、特異点におけるパラメータとして特異点パラメータ値を求めておく。数5式に特異点を代入して解き、そのtをtsとする。つまり、数6式のようにtsを求める。
(2) Method by singular point parameter value For the command path function, a singular point parameter value is obtained as a parameter at the singular point. Substituting a singular point into Equation 5 to solve it, and let t be ts. That is, ts is obtained as shown in Equation 6.

Figure 0005399881
Figure 0005399881

サンプリング周期毎にパラメータtから指令経路関数を計算し工具姿勢ベクトルを求め、工具姿勢ベクトルからA軸,C軸位置を求めるとき、パラメータtが特異点パラメータtsを越える(t>ts)ときに解の組を変更する。つまり、解Aから解Bまたはその逆のように、特異点後は特異点前の解の組から他の解の組に変更する。このことにより、特異点を越えるA軸,C軸の位置を求めることができる。求めたA軸,C軸位置によってA軸,C軸サーボを駆動する。なお、指令経路関数を補間し、A軸,C軸位置を求める具体的な方法についてはシミュレーション例とともに後述する。   When the command path function is calculated from the parameter t for each sampling period to obtain the tool posture vector, the A-axis and C-axis positions are obtained from the tool posture vector, the solution is obtained when the parameter t exceeds the singular point parameter ts (t> ts). Change the pair. That is, after the singular point, the solution set before the singular point is changed to another solution set, such as the solution A to the solution B or vice versa. As a result, the positions of the A axis and the C axis exceeding the singular point can be obtained. The A-axis and C-axis servos are driven according to the obtained A-axis and C-axis positions. A specific method for interpolating the command path function and obtaining the A-axis and C-axis positions will be described later together with a simulation example.

回転軸位置の関数の場合について説明する。
図12は、工具姿勢を表す指令経路関数であるD(A,C)を、指令始点と指令終点および特異点を通過し指令始点への工具姿勢の変化方向と指令終点からの工具姿勢の変化方向に接続することを説明する図である。
A case of a function of the rotation axis position will be described.
FIG. 12 shows a command path function D (A, C) representing a tool posture, a command start point, a command end point, a singular point, a change direction of the tool posture to the command start point, and a tool posture change from the command end point. It is a figure explaining connecting in a direction.

工具姿勢が回転軸位置指令で指令される場合、回転軸の動作に着目して指令始点と指令終点および特異点を通過し指令始点への工具姿勢の変化方向と指令終点からの工具姿勢の変化方向に接続する指令経路関数を求めて補間する。補間して求められたA軸,C軸位置によってA軸,C軸サーボを駆動する。   When the tool posture is commanded by the rotation axis position command, paying attention to the operation of the rotation axis, the direction of change of the tool posture from the command start point to the command start point passing through the command start point, command end point and singular point, and the tool posture change from the command end point Interpolate by finding the command path function connected in the direction. The A-axis and C-axis servos are driven according to the A-axis and C-axis positions obtained by interpolation.

ここで、D(A,C)が工具姿勢を示す指令経路関数である。(A,C)はA軸,C軸位置による関数であることを意味する。次のようにして、Dを指令始点と指令終点および特異点を通過し指令始点への工具姿勢の変化方向と指令終点からの工具姿勢の変化方向に接続するとして求める。Dsは指令始点、Ds’は指令始点での接線方向(指令始点への工具姿勢の変化方向をA軸,C軸方向に換算したもの)、Deは指令終点、De’は終点での接線方向(指令終点からの工具姿勢の変化方向をA軸,C軸方向に換算したもの)である。   Here, D (A, C) is a command path function indicating the tool posture. (A, C) means a function based on the A-axis and C-axis positions. D is obtained as follows, passing through the command start point, the command end point, and the singular point, and connecting the tool posture change direction to the command start point and the tool posture change direction from the command end point. Ds is the command start point, Ds ′ is the tangential direction at the command start point (the tool orientation change direction to the command start point is converted to the A-axis and C-axis directions), De is the command end point, and De ′ is the tangential direction at the end point. (The change direction of the tool posture from the command end point is converted to the A-axis and C-axis directions).

Ds、Ds’、De、De’を与え、工具姿勢を示す指令経路関数D(A,C)を多項式、スプライン関数、NURBS関数などの滑らかな曲線を表す関数として求める。この場合、必ず特異点(A=0)を通過するので、Nを求めたときの特異点Ncを通過する条件は不要である。指令始点や指令終点において工具姿勢の変化方向に接続する必要がない場合は、与える条件を少なくし関数の次数を少なくすればよい。例えば、指令経路関数D(A,C軸)を次のようなパラメータtの3次の多項式の関数で表す場合を示す。   Ds, Ds ′, De, and De ′ are given, and a command path function D (A, C) indicating the tool posture is obtained as a function representing a smooth curve such as a polynomial, a spline function, or a NURBS function. In this case, since it always passes through the singular point (A = 0), the condition for passing through the singular point Nc when N is obtained is unnecessary. If it is not necessary to connect in the direction of change of the tool posture at the command start point or command end point, the condition to be given may be reduced and the order of the function may be reduced. For example, a case where the command path function D (A, C axis) is expressed by a function of a third-order polynomial of the parameter t as follows is shown.

Figure 0005399881
Figure 0005399881

ここで、P、Q、R、Sはそれぞれ2次元(A,C)の係数ベクトルである。
Ds、Ds’、De、De’の4条件が与えられると、P,Q,R,Sの4個の係数を計算することができる。これによって、指令経路関数D(A,C)を求めることができる。
Here, P, Q, R, and S are two-dimensional (A, C) coefficient vectors, respectively.
If four conditions of Ds, Ds ′, De, and De ′ are given, four coefficients of P, Q, R, and S can be calculated. As a result, the command path function D (A, C) can be obtained.

パラメータtをサンプリング周期毎に変化させながら、D(A,C)を計算することによってサンプリング周期毎のA軸,C軸位置を求める。求めたA軸,C軸位置によってA軸,C軸サーボを駆動する。指令経路関数を補間しA軸,C軸位置を求める具体的な方法についてはシミュレーション例とともに後述する。   While changing the parameter t for each sampling period, D (A, C) is calculated to obtain the A-axis and C-axis positions for each sampling period. The A-axis and C-axis servos are driven according to the obtained A-axis and C-axis positions. A specific method for interpolating the command path function to obtain the A-axis and C-axis positions will be described later along with a simulation example.

次に、図2の指令例1においてA軸,C軸位置を求めるシミュレーションを行った結果を説明する。指令始点(A−20,C30)から指令終点(A20,C−30)で示した平面上を工具姿勢が変化する場合、解Aと解Bを求め解Ac、解Bcとして図13に示す。図5で説明したようにA,Cの解が得られる直前のA軸,C軸位置に近い解を選択するようにした場合、指令始点では解Aが直前の回転軸位置に近いとすると、図13の「解Acの変化」のようにA,Cの解が得られる。これが、従来技術の問題点として述べた(3)のケースである。したがって、指令終点には到達しない。この時の解Acによる工具姿勢ベクトルをZプラス方向から描くと図14に示すようになる。図14は図3に対応する。   Next, a description will be given of the result of a simulation for obtaining the A-axis and C-axis positions in the command example 1 of FIG. When the tool posture changes on the plane indicated by the command end point (A20, C-30) from the command start point (A-20, C30), a solution A and a solution B are obtained and shown as a solution Ac and a solution Bc in FIG. As described with reference to FIG. 5, when a solution close to the A-axis and C-axis positions immediately before the solutions A and C are obtained is assumed that the solution A is close to the immediately preceding rotation axis position at the command start point, As shown in “Change of solution Ac” in FIG. 13, solutions of A and C are obtained. This is the case (3) described as the problem of the prior art. Therefore, the command end point is not reached. FIG. 14 shows the tool posture vector based on the solution Ac at this time when drawn from the Z plus direction. FIG. 14 corresponds to FIG.

図2の指令例1のように指令された場合、数5式で述べた特異点を通過する指令経路関数N(Nx,Ny,Nz)(パラメータtは指令始点〜指令終点間で0〜1に変化するとする)を求める。ここで、図2の指令始点と指令終点でのA軸,C軸に対する指令を工具姿勢方向に換算することにより、Ns、Neを求めると次のようになる。特異点は、Nc=(0,0,1)である。なお、このNは図6の指令例2のように工具姿勢方向を工具姿勢ベクトルで指令する場合も同様である。
Ns=(−0.171,0.296,0.94)
Ne=(−0.171,−0.296,0.94)
When commanded as in command example 1 in FIG. 2, command path function N (Nx, Ny, Nz) that passes through the singular point described in Equation 5 (parameter t is 0 to 1 between command start point and command end point) ). Here, Ns and Ne are obtained as follows by converting the commands for the A-axis and C-axis at the command start point and the command end point in FIG. 2 into the tool posture direction. The singular point is Nc = (0, 0, 1). This N is the same when the tool posture direction is commanded by the tool posture vector as in command example 2 of FIG.
Ns = (− 0.171, 0.296, 0.94)
Ne = (− 0.171, −0.296, 0.94)

Ns’、Ne’は次のように与えられるとする。これは、図3の平面において指令始点および指令終点で工具姿勢が平面上の方向に変化するとした場合の変化方向を工具姿勢方向の変化方向に換算したものである。図15において指令始点と指令終点でのベクトルとしても記入している。
Ns’=(−0.053,−0.955,0.291)
Ne’=(0.053,−0.955,−0.291)
Assume that Ns ′ and Ne ′ are given as follows. This is obtained by converting the change direction when the tool posture changes in the direction on the plane at the command start point and the command end point in the plane of FIG. 3 into the change direction of the tool posture direction. In FIG. 15, the vector at the command start point and the command end point is also entered.
Ns ′ = (− 0.053, −0.955, 0.291)
Ne ′ = (0.053, −0.955, −0.291)

これから数5式の説明で述べた方法で指令経路関数N(Nx,Ny,Nz)を求めると、各係数は次のようになる。
E=(2.948,0.0,−0.201)
F=(−5.897,−0.725,0.401)
G=(3.001,1.088,−0.492)
H=(−0.053,−0.955,0.291)
J=(−0.171,−0.296,0.94)
その結果のN(Nx,Ny,Nz)に対して正規化して工具姿勢ベクトルVt(Vtx,Vty,Vtz)とし解A,解Bを求め、それらを解An、解Bnとして図13に重ねると図15に示されるようになる。
From now on, when the command path function N (Nx, Ny, Nz) is obtained by the method described in the explanation of Expression 5, each coefficient is as follows.
E = (2.948, 0.0, −0.201)
F = (− 5.897, −0.725, 0.401)
G = (3.001, 1.088, -0.492)
H = (− 0.053, −0.955, 0.291)
J = (− 0.171, −0.296, 0.94)
When the result N (Nx, Ny, Nz) is normalized to obtain a solution A and a solution B as a tool posture vector Vt (Vtx, Vty, Vtz), which are superimposed on FIG. 13 as a solution An and a solution Bn. As shown in FIG.

なお、Ns’、Ne’は、A軸,C軸に換算しベクトル長は変更して描いている。ここで、○印で「特異点越え」と記載した部分で解Anから解Bnに解の選択を変更する必要があり、このことにより特異点を越えるA軸,C軸位置が求められる。特異点を越える方法について前述したが、更に具体的に説明する。   Ns ′ and Ne ′ are drawn with the vector length changed in terms of the A axis and the C axis. Here, it is necessary to change the selection of the solution from the solution An to the solution Bn in the portion marked with “exceeding the singular point” with a circle, and thereby the A-axis and C-axis positions exceeding the singular point are obtained. Although the method of exceeding the singular point has been described above, it will be described more specifically.

(1)直前の旋回回転軸の近い解の解釈
前述したように、旋回回転軸(C軸)の位置について、直前のサンプリング周期での旋回回転軸(C軸)の位置に対して、今回のサンプリング周期では常に直前のサンプリング周期での旋回回転軸(C軸)位置に近い解を選択する。上記例では、N(Nx,Ny,Nz)を求め正規化して工具姿勢ベクトルVt(Vtx,Vty,Vtz)とし、解An,解Bnを計算したときのA軸,C軸位置は特異点通過の部分の前後で表1のように変化する。A,Cは度で表している。
(1) Interpretation of a solution close to the immediately preceding turning axis As described above, with respect to the position of the turning axis (C axis) in the immediately preceding sampling cycle, the position of the turning axis (C axis) is In the sampling period, a solution that is always close to the position of the rotation axis (C axis) in the immediately preceding sampling period is selected. In the above example, N (Nx, Ny, Nz) is obtained and normalized to obtain the tool posture vector Vt (Vtx, Vty, Vtz), and the A axis and C axis positions when the solutions An and Bn are calculated pass singular points. It changes as shown in Table 1 before and after this part. A and C are expressed in degrees.

Figure 0005399881
Figure 0005399881

特異点直前は解Anが選択されている。しかし、解Anを選択し続けると特異点から特異点直後にかけてC軸に大きな移動(0→175.07)が発生する。特異点は解Anとし、特異点直後は解Bnを選択すると、C軸の移動(0→―4.928)は小さい。そのため、特異点直後から解Bnを選択する。   The solution An is selected immediately before the singular point. However, if the solution An is continuously selected, a large movement (0 → 175.07) occurs on the C axis from the singular point to immediately after the singular point. If the singular point is the solution An and the solution Bn is selected immediately after the singular point, the movement of the C axis (0 → −4.928) is small. Therefore, the solution Bn is selected immediately after the singular point.

(2)特異点パラメータ値による方法
指令経路関数に関して、特異点におけるパラメータとして特異点パラメータ値を求めておく。つまり、数6式によってtsを求める。上記例では、ts=0.5である。表1において、サンプリング周期毎にパラメータtは特異点直前から特異点直後にかけて0.475→0.5→0.525と変化する。パラメータtが特異点パラメータtsを越えるとき(t>ts)に解の組を変更する。したがって、特異点までは解Anを選択し、特異点直後から解Bnを選択する。
(2) Method by singular point parameter value For the command path function, a singular point parameter value is obtained as a parameter at the singular point. That is, ts is obtained by the equation (6). In the above example, ts = 0.5. In Table 1, the parameter t changes from 0.475 → 0.5 → 0.525 immediately before the singular point to immediately after the singular point for each sampling period. When the parameter t exceeds the singular point parameter ts (t> ts), the solution set is changed. Therefore, the solution An is selected up to the singular point, and the solution Bn is selected immediately after the singular point.

これらの方法で特異点を越えるA軸,C軸の位置が求められる。特異点を越えるように解Anから解Bnへ移行した時の工具姿勢ベクトル先端をZプラス方向から描くと図16のようになり、特異点(0,0,1)を通過している。図16の工具姿勢ベクトル先端の経路は図8の機械制御点の動作に対応する。   By these methods, the positions of the A axis and the C axis exceeding the singular point are obtained. When the tip of the tool posture vector is drawn from the Z plus direction when moving from the solution An to the solution Bn so as to exceed the singular point, it becomes as shown in FIG. 16 and passes through the singular point (0, 0, 1). The path of the tool posture vector tip in FIG. 16 corresponds to the operation of the machine control point in FIG.

図2の指令例1のように指令された場合、数7式で述べた特異点を通過する指令経路関数D(A,C)(パラメータtは指令始点〜指令終点間で0〜1に変化するとする)を求める。ここで、図2のA軸,C軸に対する指令から次のようになる。
Ds=(−20,30)(度)=(−0.349,0.524)(ラジアン)
De=(20,−30)(度)=(0.349,−0.524)(ラジアン)
Ds’、De’は次のように与えられるとする。これは、図3の平面において指令始点および指令終点で工具姿勢が平面上の方向に変化するとした場合の変化方向をA軸,C軸の方向に換算したものである。つまり、Ns’、Ne’と同等である。図17において指令始点と指令終点での接線方向としても記入している。
Ds’=(0.852,1.531)(ラジアン)
De’=(0.852,1.531)(ラジアン)
これから、数7式の説明で述べた方法で指令経路関数D(A,C)を求めると各係数は次のようになる。
P=(0.308,5.156)
Q=(−0.462,−7.733)
R=(0.852,1.531)
S=(−0.349,0.524)
その結果のD(A,C)を図13に重ねると図17に示されるようになる。なお、D(A,C)は多項式としてtに対して一意に決定されるので、解A,解Bのような2組の解は持たない。パラメータtをサンプリング周期毎に変化させながら、D(A,C)を計算することによってサンプリング周期毎のA軸,C軸位置が求められる。
When commanded as in command example 1 in FIG. 2, command path function D (A, C) passing through the singular point described in Equation 7 (parameter t changes from 0 to 1 between command start point and command end point) Then ask). Here, from the commands for the A-axis and C-axis in FIG.
Ds = (− 20, 30) (degree) = (− 0.349, 0.524) (radian)
De = (20, −30) (degrees) = (0.349, −0.524) (radians)
Assume that Ds ′ and De ′ are given as follows. This is obtained by converting the direction of change when the tool posture changes in the direction on the plane at the command start point and the command end point in the plane of FIG. 3 into the directions of the A axis and the C axis. That is, it is equivalent to Ns ′ and Ne ′. In FIG. 17, the tangent direction at the command start point and the command end point is also entered.
Ds ′ = (0.852, 1.531) (radian)
De ′ = (0.852, 1.531) (radian)
From this, when the command path function D (A, C) is obtained by the method described in the explanation of Expression 7, each coefficient is as follows.
P = (0.308, 5.156)
Q = (− 0.462, −7.733)
R = (0.852, 1.531)
S = (− 0.349, 0.524)
When the resultant D (A, C) is superimposed on FIG. 13, the result is shown in FIG. Since D (A, C) is uniquely determined as a polynomial with respect to t, it does not have two sets of solutions A and B. By calculating D (A, C) while changing the parameter t for each sampling period, the A-axis and C-axis positions for each sampling period are obtained.

その時、D(A,C)に対して工具姿勢ベクトル先端を計算してZプラス方向から描くと図18に示すようになり、図18に示されるように特異点(0,0,1)を通過している。図18の工具姿勢ベクトル先端の経路は図9の点線の経路に対応する。   At that time, when the tool posture vector tip is calculated with respect to D (A, C) and drawn from the Z plus direction, it becomes as shown in FIG. 18, and the singular point (0, 0, 1) is shown as shown in FIG. Has passed. The tool tip vector path in FIG. 18 corresponds to the dotted path in FIG.

ここで、図2における指令始点と指令終点について説明する。指令始点および指令終点については、プログラムで指令されたプログラム指令位置である場合と第1補間された位置である場合がある。   Here, the command start point and the command end point in FIG. 2 will be described. The command start point and the command end point may be a program command position commanded by a program or a first interpolated position.

図19は、プログラム指令位置の場合の本発明に係る数値制御装置の機能ブロック図である。一般に、数値制御装置は、プログラム指令の各ブロック指令を指令解析部10で解析し、補間部11において補間を行い、各軸サーボ12X,・・・12Cを駆動する。工具姿勢制御を行う場合は、補間部11に関連づけられた工具姿勢制御部15において、工具姿勢が指令された平面上または滑らかな面上を動作するように工具姿勢制御を行う。   FIG. 19 is a functional block diagram of the numerical controller according to the present invention in the case of the program command position. In general, the numerical control device analyzes each block command of the program command by the command analysis unit 10, performs interpolation by the interpolation unit 11, and drives each axis servo 12X,. When performing the tool posture control, the tool posture control unit 15 associated with the interpolation unit 11 performs the tool posture control so that the tool posture is operated on the commanded or smooth surface.

指令始点および指令終点はプログラムで指令されたブロック始点およびブロック終点である場合、特異点通過判断部13と特異点通過経路作成部14は指令解析部10に関連付けられ、ブロック始点およびブロック終点を指令始点および指令終点として特異点通過判断と特異点通過経路作成を行う。また、工具姿勢制御部15は補間部11に関連づけられ、作成された特異点通過経路を補間して工具姿勢制御を行う。   When the command start point and command end point are the block start point and block end point commanded by the program, the singular point passage determination unit 13 and the singular point passage route creation unit 14 are associated with the command analysis unit 10 and command the block start point and block end point. Singular point passage judgment and singular point passage route creation are performed as the start point and command end point. The tool posture control unit 15 is associated with the interpolation unit 11 and performs tool posture control by interpolating the created singular point passage.

図20は、プログラム指令の各ブロック指令を指令解析部20で解析し、第1補間部において粗く第1補間を行いその後細かく第2補間を行う数値制御装置の機能ブロック図である。この場合には、第1補間を行う第1補間部21に対して特異点通過判断部25と特異点通過経路作成部26および工具姿勢制御部27とを関連づけるとともに、第2補間部23にも工具姿勢制御部27を関連付ける。   FIG. 20 is a functional block diagram of a numerical controller that analyzes each block command of the program command by the command analysis unit 20, performs the first interpolation roughly in the first interpolation unit, and then performs the second interpolation finely. In this case, the singular point passage determination unit 25, the singular point passage route creation unit 26, and the tool posture control unit 27 are associated with the first interpolation unit 21 that performs the first interpolation, and the second interpolation unit 23 also includes The tool posture control unit 27 is associated.

第1補間のサンプリング周期毎に工具姿勢制御を行った第1補間の補間位置を指令始点および指令終点とし、それらの指令始点および指令終点位置に対して特異点通過判断部25にて特異点通過の判断を行い、特異点通過と判断されれば特異点通過経路作成部26にて第1補間の補間位置を特異点通過経路に変更し、変更した特異点通過経路を中間メモリ22にセットし、より細かなサンプリング周期で補間を行う第2補間部23は、セットされた中間メモリ22のデータに基づき特異点通過経路を補間して工具姿勢制御を行う。この場合、請求項5および請求項6のサンプリング周期は第2補間のサンプリング周期である。また、本明細書の他の段落で述べる「補間」は、第2補間での処理および第2補間に関連づけられた工具姿勢制御部27における処理を意味する。   The interpolation position of the first interpolation that has been subjected to the tool posture control at each sampling period of the first interpolation is set as the command start point and the command end point, and the singular point passage determination unit 25 passes through the command start point and the command end point position. If the singular point passage is determined, the singular point passage route creation unit 26 changes the interpolation position of the first interpolation to the singular point passage route, and sets the changed singular point passage route in the intermediate memory 22. The second interpolation unit 23 that performs interpolation at a finer sampling period interpolates the singular point passage based on the set data in the intermediate memory 22 and performs tool posture control. In this case, the sampling period of claims 5 and 6 is a sampling period of the second interpolation. Further, “interpolation” described in other paragraphs of the present specification means processing in the second interpolation and processing in the tool posture control unit 27 associated with the second interpolation.

図21は、本発明の特異点通過判断部と特異点通過経路作成部の処理のアルゴリズムを示すフローチャートである。ただし、A=0度が特異点の場合のフローチャートである。この図21は、指令始点と指令終点は、プログラムにおいて回転軸位置指令で指令されたブロック始点およびブロック終点であり工具姿勢方向の関数として指令経路を変更する場合の、特異点通過判断部と特異点通過経路作成部とをフローチャートで示したものである。以下、各ステップに従って説明する。
●[ステップSA1]指令始点と指令終点を得る。
●[ステップSA2]指令始点と指令終点で傾斜回転軸の符号は反転するか否か判断し、傾斜回転軸の符号が反転する場合にはステップSA3へ移行し、反転しない場合には終了する。
●[ステップSA3]Ns,Ne,Nc,Ns’,Ne’の条件から数5式の指令経路関数Nを求める。数6式によって特異点パラメータ値tsを求め、終了する。なお、ステップSA1およびステップSA2は特異点通過判断部に相当し、ステップSA3は特異点通過経路作成部に相当する。
FIG. 21 is a flowchart showing the processing algorithm of the singularity passage determination unit and the singularity passage route creation unit of the present invention. However, it is a flowchart when A = 0 degree is a singular point. FIG. 21 shows that the command start point and command end point are the block start point and block end point specified by the rotation axis position command in the program, and the singular point passage determination unit and the singular point when the command path is changed as a function of the tool posture direction. The point passage route creation unit is shown in a flowchart. Hereinafter, it demonstrates according to each step.
[Step SA1] Obtain the command start point and command end point.
[Step SA2] It is determined whether or not the sign of the tilt rotation axis is reversed at the command start point and the command end point. If the sign of the tilt rotation axis is reversed, the process proceeds to Step SA3.
[Step SA3] The command path function N of Formula 5 is obtained from the conditions of Ns, Ne, Nc, Ns ′, and Ne ′. The singularity parameter value ts is obtained from Equation 6 and the processing is completed. Steps SA1 and SA2 correspond to a singular point passage determination unit, and step SA3 corresponds to a singular point passage route creation unit.

図22は、本発明の特異点通過経路作成部で作成された特異点通過経路を補間部に関連づけられた工具姿勢制御部で補間する場合の処理のアルゴリズムを示すフローチャートである。以下、各ステップに従って説明する。ここでは、指令始点では解Aが直前の回転軸位置に近いとする。
●[ステップSB1]指令経路関数Nをパラメータtで計算する。ここではtは指令始点〜指令終点間で0〜1に変化する値として補間部ですでに計算されているとする。Nを正規化して工具姿勢ベクトルVt(Vtx,Vty,Vtz)を求める。数1式および数2式によってVtから解An,解Bnを求める。
●[ステップSB2]tはts以下であるか否か判断し、以下である場合にはステップSB3へ移行し、以下ではない場合にはステップSB4へ移行する。
●[ステップSB3]解Anを選択し、解AnによるA,C軸補間位置とし、終了する。
●[ステップSB4]解Bnを選択し、解BnによるA,C軸補間位置とし、終了する。
FIG. 22 is a flowchart showing a processing algorithm when the singular point passage route created by the singular point passage route creation unit of the present invention is interpolated by the tool posture control unit associated with the interpolation unit. Hereinafter, it demonstrates according to each step. Here, it is assumed that the solution A is close to the immediately preceding rotation axis position at the command start point.
[Step SB1] The command path function N is calculated with the parameter t. Here, it is assumed that t has already been calculated by the interpolation unit as a value that changes from 0 to 1 between the command start point and the command end point. N is normalized to obtain a tool posture vector Vt (Vtx, Vty, Vtz). A solution An and a solution Bn are obtained from Vt by Equation 1 and Equation 2.
[Step SB2] It is determined whether t is equal to or less than ts. If it is equal to or less, the process proceeds to Step SB3, and if not, the process proceeds to Step SB4.
[Step SB3] The solution An is selected, and the A and C axis interpolation positions based on the solution An are set.
[Step SB4] The solution Bn is selected, and the A and C axis interpolation positions based on the solution Bn are set.

図24は、傾斜回転軸位置が0度でない位置が特異点である5軸加工機において、本発明の特異点通過判断部と特異点通過経路作成部の処理のアルゴリズムを示すフローチャートである。指令始点と指令終点は、プログラムにおいて回転軸位置指令で指令されたブロック始点およびブロック終点であり工具姿勢方向の関数として指令経路を変更する場合の、特異点通過判断部と特異点通過経路作成部とをフローチャートで示したものである。以下、各ステップに従って説明する。
●[ステップSAA1]指令始点と指令終点を得る。
●[ステップSAA2]傾斜回転軸に関し、(指令始点−特異点)と(指令終点―特異点)の符号は反転するか否か判断し、符号が反転する場合にはステップSAA3へ移行し、反転しない場合には終了する。
●[ステップSAA3]Ns,Ne,Nc,Ns’,Ne’の条件から数5式の指令経路関数Nを求める。数6式によって特異点パラメータ値tsを求め、終了する。なお、ステップSAA1およびステップSAA2は特異点通過判断部に相当し、ステップSAA3は特異点通過経路作成部に相当する。
FIG. 24 is a flowchart showing an algorithm of processing of the singular point passage determination unit and the singular point passage route creation unit of the present invention in a 5-axis machine with a singular point where the tilt rotation axis position is not 0 degrees. The command start point and command end point are the block start point and block end point specified by the rotation axis position command in the program, and the singular point passage determination unit and singular point passage route creation unit when changing the command path as a function of the tool posture direction Are shown in a flowchart. Hereinafter, it demonstrates according to each step.
[Step SAA1] Obtain the command start point and command end point.
[Step SAA2] Regarding the tilt rotation axis, it is determined whether or not the signs of (command start point-singular point) and (command end point-singular point) are reversed. If the signs are reversed, the process proceeds to step SAA3 and reversed. If not, exit.
[Step SAA3] The command path function N of Formula 5 is obtained from the conditions of Ns, Ne, Nc, Ns ′, and Ne ′. The singularity parameter value ts is obtained from Equation 6 and the processing is completed. Step SAA1 and step SAA2 correspond to a singular point passage determination unit, and step SAA3 corresponds to a singular point passage route creation unit.

10 指令解析部
11 補間部
12X X軸サーボ
12Y Y軸サーボ
12Z Z軸サーボ
12A(B) A(B)軸サーボ
12C C軸サーボ
13 特異点通過判断部
14 特異点通過経路作成部
15 工具姿勢制御部
20 指令解析部
21 第1補間部
22 中間メモリ
23 第2補間部
24X X軸サーボ
24Y Y軸サーボ
24Z Z軸サーボ
24B(A) B(A)軸サーボ
24C C軸サーボ
25 特異点通過判断部
26 特異点通過経路作成部
27 工具姿勢制御部
DESCRIPTION OF SYMBOLS 10 Command analysis part 11 Interpolation part 12X X-axis servo 12Y Y-axis servo 12Z Z-axis servo 12A (B) A (B) axis servo 12C C-axis servo 13 Singularity passage judgment part 14 Singularity passage path creation part 15 Tool attitude control Unit 20 Command analysis unit 21 First interpolation unit 22 Intermediate memory 23 Second interpolation unit 24X X-axis servo 24Y Y-axis servo 24Z Z-axis servo 24B (A) B (A) -axis servo 24C C-axis servo 25 Singularity passage determination unit 26 Singularity passing path creation unit 27 Tool posture control unit

Claims (10)

テーブルに取り付けられたワーク(加工物)に対して直線軸3軸と傾斜回転軸と旋回回転軸の回転軸2軸によって加工する5軸加工機を制御する数値制御装置において、
指令始点と指令終点の二つの指令位置の間におけるワークに対する工具の姿勢が、前記二つの指令位置における前記回転軸2軸に対する前記指令位置である指令回転軸位置によって方向が指令される工具姿勢を含む平面または滑らかな面に存在するように回転軸位置および直線軸位置を制御する工具姿勢制御部と、
前記二つの指令位置の間で、前記旋回回転軸の動作が不安定になる前記傾斜回転軸の位置である特異点をはさんで前記傾斜回転軸の指令が反対側である場合は前記特異点を通過しかつ越える必要があると判断する特異点通過判断部と、
前記特異点通過判断部にて前記特異点を通過しかつ越える必要があると判断した場合には、工具姿勢が前記二つの指令位置と前記特異点を通過しかつ越える特異点通過経路とする特異点通過経路作成部とを備えた5軸加工機用数値制御装置。
In a numerical control device for controlling a 5-axis processing machine that processes a workpiece (workpiece) attached to a table by two rotation axes of a linear axis, an inclined rotation axis, and a turning rotation axis,
Orientation of the tool relative to the workpiece between the two command position command start and command end point, tool posture wherein two of said command position in which the command rotational axis Accordingly direction position relative to the two rotation axes in the command position is commanded A tool attitude control unit that controls the rotation axis position and the linear axis position so that they exist on a plane or smooth surface including
Between said two command position, the case where the command of the tilt rotary shaft turning operation of the rotation axis is a position of the tilt rotary shaft unstable across the singularity is opposite to the singularity A singularity passage determination unit that determines that it is necessary to pass and exceed
If it is determined that it is necessary to exceed vital passing through the singular point at the singular point passing determination unit, specific to a singular point passing path which the tool orientation exceeds vital passes through the two command position and the singular point A numerical control device for a 5-axis machine, comprising a point passing path creation unit.
テーブルに取り付けられたワーク(加工物)に対して直線軸3軸と傾斜回転軸と旋回回転軸の回転軸2軸によって加工する5軸加工機を制御する数値制御装置において、
指令始点と指令終点の二つの指令位置の間におけるワークに対する工具の姿勢が、前記二つの指令位置におけるベクトル指令による工具姿勢を含む平面または滑らかな面に存在するように回転軸位置および直線軸位置を制御する工具姿勢制御部と、
前記工具姿勢を含む平面または滑らかな面と前記旋回回転軸の動作が不安定になる前記傾斜回転軸の位置である特異点との最小距離または最小角度が設定値よりも小さい場合は前記特異点を通過しかつ越える必要があると判断する特異点通過判断部と、
上記特異点通過判断部にて前記特異点を通過しかつ越える必要があると判断した場合には、工具姿勢が前記二つの指令位置と前記特異点を通過しかつ越える特異点通過経路とする特異点通過経路作成部とを備えた5軸加工機用数値制御装置。
In a numerical control device for controlling a 5-axis processing machine that processes a workpiece (workpiece) attached to a table by two rotation axes of a linear axis, an inclined rotation axis, and a turning rotation axis,
Rotation axis position and linear axis position so that the tool posture with respect to the workpiece between the two command positions of the command start point and the command end point exists on a plane or a smooth surface including the tool posture by the vector command at the two command positions A tool attitude control unit for controlling
Plane or smooth surface and the case where the minimum distance or minimum angle between the singular point is a position of the tilt rotary shaft operation of pivoting the rotating shaft becomes unstable is smaller than the set value the singular point comprising said tool attitude A singularity passage determination unit that determines that it is necessary to pass and exceed
If it is determined that it is necessary to exceed vital passing through the singular point at the singular point passing determination unit, specific to a singular point passing path which the tool orientation exceeds vital pass through the singular point and the two command position A numerical control device for a 5-axis machine, comprising a point passing path creation unit.
前記特異点通過経路作成部は、前記指令始点における指令始点への工具姿勢の変化方向に接続するように経路を作成する請求項1または請求項2に記載の5軸加工機用数値制御装置。   3. The numerical control device for a 5-axis machining apparatus according to claim 1, wherein the singular point passage route creation unit creates a route so as to be connected to a change direction of a tool posture to the command start point at the command start point. 前記特異点通過経路作成部は、前記指令終点における指令終点からの工具姿勢の変化方向に接続するように経路を作成する請求項1〜請求項3のいずれか一つに記載の5軸加工機用数値制御装置。   The 5-axis processing machine according to any one of claims 1 to 3, wherein the singular point passage route creation unit creates a route so as to connect to a change direction of a tool posture from a command end point at the command end point. Numerical controller. 前記特異点通過経路は、工具姿勢方向を表す指令経路関数として作成する請求項1〜請求項4のいずれか一つに記載の5軸加工機用数値制御装置。   The numerical control device for a 5-axis machining apparatus according to any one of claims 1 to 4, wherein the singular point passing path is created as a command path function representing a tool posture direction. 前記特異点通過経路は、回転軸位置による指令経路関数として作成する請求項1〜請求項4のいずれか一つに記載の5軸加工機用数値制御装置。   The numerical control device for a 5-axis machining apparatus according to any one of claims 1 to 4, wherein the singular point passage path is created as a command path function based on a rotation axis position. 前記特異点通過経路作成部によって工具姿勢が前記二つの指令位置と前記特異点を通過しかつ越えるように指令経路が作成された時、前記工具姿勢制御部は、サンプリング周期毎の前記工具姿勢を表す工具姿勢ベクトルを求め該工具姿勢ベクトルから前記回転軸2軸の位置を求める演算において、得られる2組の解の中で直前の該サンプリング周期における前記旋回回転軸位置に近い解を選択する請求項5に記載の5軸加工機用数値制御装置。 When commanded path to tool attitude exceeds vital pass through the singular point and the two command position by the singular point passing route creating unit is created, the tool posture control unit, the tool posture of each sampling period In a calculation for obtaining a tool posture vector to be expressed and obtaining the position of the two rotary shafts from the tool posture vector, a solution close to the position of the swivel rotary shaft in the immediately preceding sampling cycle is selected from the two obtained solutions. The numerical control device for a 5-axis machining apparatus according to claim 5. 前記特異点通過経路作成部は、工具姿勢が前記二つの指令位置と前記特異点を通過しかつ越えるように指令経路を作成する時、該作成する指令経路を表す指令経路関数を求め前記特異点における該指令経路関数のパラメータとして特異点パラメータ値を求めておく前記特異点通過経路作成部であり、
前記工具姿勢制御部は、サンプリング周期ごとに該指令経路関数とパラメータによって工具姿勢ベクトルを求め該工具姿勢ベクトルから前記回転軸2軸の位置を求める演算において、該パラメータが前記特異点パラメータ値を越えるときに、得られる2組の解の中で選択する解の組を変更する請求項5に記載の5軸加工機用数値制御装置。
The singular point passing route creating unit, when the tool posture to create a commanded path to exceed vital pass through the singular point and the two command position, the singular point seek command path function representing a command path for the created The singularity passing path creation unit for obtaining a singularity parameter value as a parameter of the command path function in
The tool posture control unit obtains a tool posture vector from the command path function and a parameter for each sampling period, and calculates the position of the two rotation axes from the tool posture vector. The parameter exceeds the singular point parameter value. 6. The numerical control device for a 5-axis machining apparatus according to claim 5, wherein a set of solutions selected from the two sets of solutions obtained is changed.
前記傾斜回転軸の位置が0度の位置が前記特異点である前記5軸加工機において、前記特異点通過判断部は、前記二つの指令位置の間で前記傾斜回転軸の指令の符号が反転する場合に前記二つの指令位置の間で前記傾斜回転軸の指令が前記特異点をはさんで反対側であり前記特異点を通過しかつ越える必要があると判断する前記特異点通過判断部である請求項1に記載の5軸加工機用数値制御装置。 In the 5-axis processing machine in which the position of the tilt rotation axis is 0 degree is the singular point, the singular point passage determination unit reverses the sign of the command of the tilt rotation axis between the two command positions. The singularity passage determination unit that determines that the command of the tilt rotation axis is opposite to the singularity and needs to pass and exceed the singularity between the two command positions. The numerical control device for a 5-axis machining apparatus according to claim 1 . 前記傾斜回転軸の位置が0度でない位置が前記特異点である前記5軸加工機において、前記特異点通過判断部は、前記二つの指令位置の間で前記傾斜回転軸の指令に関して(指令始点−特異点)と(指令終点−特異点)の符号が反転する場合に前記二つの指令位置の間で前記傾斜回転軸の指令が前記特異点をはさんで反対側であり前記特異点を通過しかつ越える必要があると判断する前記特異点通過判断部である請求項1に記載の5軸加工機用数値制御装置。 In the 5-axis machining apparatus in which the position of the tilt rotation axis is not 0 degrees is the singular point, the singular point passage determination unit is configured to provide a command for the tilt rotation axis between the two command positions (command start point). -When the signs of (singular point) and (command end point-singular point) are reversed, the command of the tilt rotation axis is on the opposite side across the singular point between the two command positions and passes through the singular point The numerical control device for a 5-axis machining apparatus according to claim 1, wherein the singularity passage determination unit determines that it is necessary to exceed.
JP2009285162A 2009-05-19 2009-12-16 Numerical control device for 5-axis machine Active JP5399881B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009285162A JP5399881B2 (en) 2009-05-19 2009-12-16 Numerical control device for 5-axis machine

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2009121251 2009-05-19
JP2009121251 2009-05-19
JP2009285162A JP5399881B2 (en) 2009-05-19 2009-12-16 Numerical control device for 5-axis machine

Publications (2)

Publication Number Publication Date
JP2011003176A JP2011003176A (en) 2011-01-06
JP5399881B2 true JP5399881B2 (en) 2014-01-29

Family

ID=43561056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009285162A Active JP5399881B2 (en) 2009-05-19 2009-12-16 Numerical control device for 5-axis machine

Country Status (1)

Country Link
JP (1) JP5399881B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5461980B2 (en) * 2009-12-22 2014-04-02 ファナック株式会社 Numerical control device for controlling a 5-axis processing machine having workpiece setting error correction means
JP5619640B2 (en) * 2011-01-28 2014-11-05 Dmg森精機株式会社 Machine tool, machining method, program, and NC data generator
JP5417391B2 (en) * 2011-07-29 2014-02-12 新日本工機株式会社 Numerical controller
WO2014016943A1 (en) 2012-07-26 2014-01-30 三菱電機株式会社 Numerical control device
DE112021001535T5 (en) * 2020-03-11 2022-12-29 Fanuc Corporation Numerical controller
CN113189939B (en) * 2021-05-20 2022-05-17 中国科学院大学 Global optimal feeding speed planning method for cradle type machine tool

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58114888A (en) * 1981-12-28 1983-07-08 富士通株式会社 Control system of locus of robot
JPH05324044A (en) * 1992-05-22 1993-12-07 Fujitsu Ltd Locus control system for robot
JPH09254062A (en) * 1996-03-26 1997-09-30 Toyota Autom Loom Works Ltd Posture determining method and posture determining device of industrial robot
JP4101665B2 (en) * 2003-01-16 2008-06-18 三菱電機株式会社 Numerical controller
JP4494247B2 (en) * 2005-02-15 2010-06-30 三菱電機株式会社 Robot control apparatus and control method
JP4496483B2 (en) * 2005-06-24 2010-07-07 株式会社安川電機 Robot control method and control apparatus
JP4708299B2 (en) * 2006-10-04 2011-06-22 三菱電機株式会社 Numerical controller
JP4637197B2 (en) * 2008-03-24 2011-02-23 三菱電機株式会社 Numerical controller

Also Published As

Publication number Publication date
JP2011003176A (en) 2011-01-06

Similar Documents

Publication Publication Date Title
JP5399881B2 (en) Numerical control device for 5-axis machine
JP4168060B2 (en) Numerical control device that enables machining of conical machining surfaces
JP4708299B2 (en) Numerical controller
JP4847613B2 (en) Numerical controller for multi-axis machines
JP2008287471A (en) Numerical control method for five-axis processing machine
JP5350766B2 (en) Numerical control device for 5-axis machine
JP5426728B2 (en) Numerical control device with tool attitude control function for multi-axis machines
JP4199103B2 (en) Numerical control apparatus and numerical control method
JP6703038B2 (en) Numerical control device
JP5872869B2 (en) Numerical control device that performs machining by cutting point command on the back of the tool
JP5323280B1 (en) Numerical controller
TWI498695B (en) Numeric control device
JP5452788B1 (en) Numerical controller
JP4637197B2 (en) Numerical controller
WO1991014531A1 (en) Method of controlling attitude of cnc laser working machine
JP2011070483A (en) Numerical control device for table turning five-axis machine tool
JP2004220435A (en) Numerical control device
JP5461980B2 (en) Numerical control device for controlling a 5-axis processing machine having workpiece setting error correction means
JP2005352876A (en) Nc data formation device, control device of 5-axial nc machine tool, and cl data creation device
JP4734440B2 (en) Numerical control device for 4-axis machine
JP2003005811A (en) Method and program for generating 6-axis control nc program, generating device and computer readable recording medium with the program stored therein
JP4734439B2 (en) Numerical control device for 4-axis machine
JPH01177617A (en) Involute interpolation system
JP4607993B2 (en) Numerical control method of 5-axis machine
JP6985563B1 (en) Numerical control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130806

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130906

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: 20131001

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131024

R150 Certificate of patent or registration of utility model

Ref document number: 5399881

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150