JP2022134753A - Device for evaluating nc programs for multi-axis processing machine, evaluation method, and processing method - Google Patents
Device for evaluating nc programs for multi-axis processing machine, evaluation method, and processing method Download PDFInfo
- Publication number
- JP2022134753A JP2022134753A JP2021034121A JP2021034121A JP2022134753A JP 2022134753 A JP2022134753 A JP 2022134753A JP 2021034121 A JP2021034121 A JP 2021034121A JP 2021034121 A JP2021034121 A JP 2021034121A JP 2022134753 A JP2022134753 A JP 2022134753A
- Authority
- JP
- Japan
- Prior art keywords
- axis
- program
- programs
- machining
- machine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Numerical Control (AREA)
Abstract
Description
本開示は、多軸加工機のNCプログラムを評価する技術に関する。 The present disclosure relates to technology for evaluating an NC program for a multi-axis machine.
NC加工では、近年5軸加工機などの多軸加工機が用いられる。こうした多軸加工機では、加工面の形状によらず、加工面に対するボールエンドミルなどのツールの角度を比較的自由に設定できる。このため、加工の際には、工具が加工面の法線方向に対してなす角度のうち、工具の移動方向への倒れ角度であるリード角や移動方向に直交する左右方向に対する角度であるチルト角を適切な角度にすることで、加工後の表面を、所定の表面粗さよりも滑らかに仕上げることが行なわれている。 In NC processing, multi-axis processing machines such as 5-axis processing machines are used in recent years. With such a multi-axis machine, the angle of a tool such as a ball end mill with respect to the machined surface can be relatively freely set regardless of the shape of the machined surface. For this reason, during machining, of the angles formed by the tool with respect to the normal direction of the machining surface, the lead angle, which is the inclination angle of the tool in the direction of movement of the tool, and the tilt angle, which is the angle with respect to the horizontal direction orthogonal to the movement direction By setting the corner to an appropriate angle, the surface after processing is finished smoother than a predetermined surface roughness.
こうした多軸加工機のNCプログラムは、加工形状に応じて、作成されるが、CADCAMを利用してツールの加工経路などを自動的に生成し、また加工状況をシミュレーションすることも行なわれている(例えば、下記特許文献1)。
NC programs for such multi-axis machines are created according to the shape to be machined, and CADCAM is used to automatically generate tool machining paths and to simulate machining conditions. (For example,
しかしながら、多軸加工機は、加工上の各種設定の自由度が高く、自由曲面を加工する場合などに、リード角やチルト角をどのように設定すれば、加工面の表面粗さの少ない加工が行なえるかは、プログラム作成者の勘や経験に頼っているのが実情である。例えば5軸加工機であれば、リード角やチルト角はもとより、主軸の回転角度であるC軸角度や、ワークのY軸周りの回転角度であるB軸角度などが自由に設定できるので、被加工物を加工するNCプログラムを生成できても、そのNCプログラムが望ましいものとなっているかを判断することは容易ではない。条件を変えて、複数のプログラムを作成しても、どのプログラムによる加工が最も望ましいか不明であり、加工してみなければ優劣が分からなかった。このため、試作数を減らすことができず、材料を無駄にしてしまう。 However, multi-axis machines have a high degree of freedom in various settings for machining, and when machining a free-form surface, how to set the lead angle and tilt angle will reduce the surface roughness of the machined surface. Whether or not it can be done depends on the intuition and experience of the program creator. For example, with a 5-axis machine, you can freely set not only the lead angle and tilt angle, but also the C-axis angle, which is the rotation angle of the main shaft, and the B-axis angle, which is the rotation angle of the workpiece around the Y-axis. Even if an NC program for machining a workpiece can be generated, it is not easy to judge whether the NC program is desirable. Even if the conditions were changed and multiple programs were created, it was unclear which program would be the most desirable for processing, and the superiority or inferiority could not be determined until processing was performed. For this reason, the number of prototypes cannot be reduced, and materials are wasted.
本開示は、以下の形態又は適用例として実現することが可能である。 The present disclosure can be implemented as the following forms or application examples.
(1)本開示の第1の態様は、加工工具の被加工物に対する相対的な向きと傾斜との少なくとも一方を変更可能な回転軸を備えた多軸加工機のNCプログラムを評価する評価装置としての態様である。このNCプログラムの評価装置は、前記多軸加工機が、前記被加工物を所定の形状に加工するNCプログラムであって、少なくとも加工工具のチルト角とリード角とを変更して作成された複数種類のNCプログラムを取得するプログラム取得部と、取得したNCプログラムによる前記加工工具の動作をシミュレーションし、前記回転軸まわりの角度変化を含む前記多軸加工機の各部の動きを、前記複数種類のNCプログラム毎に解析する解析部と、前記解析された多軸加工機の各部の動きに応じて、前記複数種類の前記NCプログラムのうち、前記回転軸の反転が他のNCプログラムより少ないNCプログラムを特定し、その結果を出力する出力部と、を備える。
かかるNCプログラムの評価装置によれば、加工工具の被加工物に対する相対的な向きと傾斜との少なくとも一方を変更可能な回転軸の反転が他のNCプログラムより少ないNCプログラムを特定し、その結果を出力するので、実際に被加工物を加工することなく、NCプログラムを評価できる。しかも、不適切なNCプログラムを用いた加工を回避しやすい。出力部による出力は、ディスプレイなどに表示することにより実現してもよいし、実際に多軸加工機を動作させるのに用いてもよい。
(2)こうしたNCプログラムの評価装置において、前記解析部は、前記多軸加工機の各部の動きとして、前記回転軸まわりの角度変化に加えて、前記多軸加工機の各部の加速度を、前記複数種類のNCプログラム毎に解析し、前記出力部は、前記回転軸の反転による前記NCプログラムの特定に加えて、前記多軸加工機の各部の加速度の変化量が他のNCプログラムより小さいNCプログラムを特定し、その結果を出力するものとしてもよい。こうすれば、回転軸まわりの角度変化に加えて、多軸加工機の各部の加速度の変化の小さいNCプログラムを選定できるので、多軸加工機の各部の加速度の変化の大きなNCプログラムを用いた加工を回避しやすい。
(3)こうしたNCプログラムの評価装置において、前記出力部は、前記回転軸の反転による前記NCプログラムの特定、および前記多軸加工機の各部の加速度の変化量による前記NCプログラムの特定のいずれか一方または両方により、前記複数種類のNCプログラムのうちから、最も評価の高いNCプログラムを出力するものとしてもよい。こうすれば、2つの条件を単独または組み合わせて、最も評価の高いNCプログラムを特定できる。
(4)こうしたNCプログラムの評価装置において、前記解析部は、前記多軸加工機の各部の動きとして、前記回転軸まわりの角度変化に加えて、前記多軸加工機の各部の移動範囲を、前記複数種類のNCプログラム毎に解析し、前記出力部は、前記回転軸の反転による前記NCプログラムの特定に加えて、前記多軸加工機の各部の移動範囲が他のNCプログラムより小さいNCプログラムを特定し、その結果を出力するものとしてもよい。こうすれば、更に多軸加工機の各部の移動範囲によってもNCプログラムを評価できる。
(5)こうしたNCプログラムの評価装置において、前記出力部は、前記回転軸の反転による前記NCプログラムの特定、前記多軸加工機の各部の加速度の変化量による前記NCプログラムの特定、および前記多軸加工機の各部の移動範囲による前記NCプログラムの特定うちのいずれか1つ、またはいずれか2つ以上の組み合わせにより、前記複数種類のNCプログラムのうちから、最も評価の高いNCプログラムを出力するものとしてもよい。こうすれば、3つの条件を単独または組み合わせて、最も評価の高いNCプログラムを特定できる。
(6)本開示の第2の態様は、加工工具の被加工物に対する相対的な向きと傾斜との少なくとも一方を変更可能な回転軸を備えた多軸加工機のNCプログラムを評価する方法である。この方法は、前記多軸加工機が、前記被加工物を所定の形状に加工するNCプログラムであって、少なくとも加工工具のチルト角とリード角とを変更して作成された複数種類のNCプログラムを取得し、取得したNCプログラムによる前記加工工具の動作をシミュレーションし、前記回転軸まわりの角度変化を含む前記多軸加工機の各部の動きを、前記複数種類のNCプログラム毎に解析し、前記解析された多軸加工機の各部の動きに応じて、前記複数種類の前記NCプログラムのうち、前記回転軸の反転が他のNCプログラムより少ないNCプログラムを特定し、その結果を出力する。かかるNCプログラムの評価方法によれば、加工工具の被加工物に対する相対的な向きと傾斜との少なくとも一方を変更可能な回転軸の反転が他のNCプログラムより少ないNCプログラムを特定し、その結果を出力するので、実際に被加工物を加工することなく、NCプログラムを評価できる。
(7)更に、本開示の第3の態様は、第2の態様であるNCプログラムの評価方法により特定された前記NCプログラムを用いて、前記多軸加工機を動作させ、前記被加工物を加工する、多軸加工機を用いた加工方法として態様である。こうすれば、不適切なNCプログラムによる被加工物の加工を回避しやすい。
(8)こうした加工方法において、前記多軸加工機は、前記加工工具をチャッキングして回転する主軸装置を、上下方向に沿ったY軸に対して45度傾斜した旋回軸であるC軸の周りに旋回させる傾斜旋回式5軸加工機としてもよい。
(9)また、前記加工工具は、先端に所定半径の加工半球を有するボールエンドミルとしてもよい。
(10)更に、前記ボールエンドミルの前記加工半球の中心点を前記C軸が通るものとすることも好適である。
こうすれば、ボールエンドミルの加工半球の中心点回りにC軸を旋回させるので、C軸の大きな旋回が抑制され、加工精度を高めることができる。
(11)本開示は、上記以外の態様、例えば多軸加工機の制御方法やNCプログラムの選択方法、NCプログラムの生成方法などとしても実施可能である。更には、上記のNCプログラムの評価装置を組み込んだ多軸加工機の制御装置や、これらの多軸加工機や他の加工装置、搬送装置などを統合した生産システムとしても実施してもよい。
(1) A first aspect of the present disclosure is an evaluation device that evaluates an NC program of a multi-axis machine equipped with a rotary axis capable of changing at least one of the relative orientation and inclination of the machining tool with respect to the workpiece. It is an aspect as. This NC program evaluation device is an NC program for the multi-axis machine to machine the workpiece into a predetermined shape, and a plurality of NC programs created by changing at least the tilt angle and the lead angle of the machining tool. a program acquisition unit that acquires NC programs of different types; and a motion of the machining tool according to the acquired NC program is simulated, and movements of each part of the multi-axis machine, including angular changes around the rotation axis, are obtained from the plurality of types. an analysis unit that analyzes each NC program, and an NC program, among the plurality of types of NC programs, in which the rotation axis is reversed less than the other NC programs, according to the analyzed movement of each part of the multi-axis machine. and an output unit that identifies and outputs the result.
According to such an NC program evaluation device, an NC program capable of changing at least one of the relative orientation and inclination of the machining tool with respect to the workpiece is specified, and the reversal of the rotation axis is less than other NC programs. is output, the NC program can be evaluated without actually machining the workpiece. Moreover, it is easy to avoid machining using an inappropriate NC program. The output from the output section may be realized by displaying on a display or the like, or may be used to actually operate the multi-axis machine.
(2) In such an NC program evaluation device, the analysis unit analyzes the acceleration of each part of the multi-axis machine in addition to the angular change around the rotation axis as the movement of each part of the multi-axis machine. Analysis is performed for each of a plurality of types of NC programs, and in addition to specifying the NC program by reversing the rotation axis, the output unit outputs an NC program in which the amount of change in acceleration of each part of the multi-axis machine is smaller than other NC programs. It is also possible to specify a program and output the result. In this way, it is possible to select an NC program with small changes in the acceleration of each part of the multi-axis machine in addition to the change in the angle around the rotation axis. Easy to avoid machining.
(3) In such an NC program evaluation device, the output unit specifies the NC program by reversing the rotation axis, or specifies the NC program by the amount of change in acceleration of each part of the multi-axis machine. One or both of them may output the NC program with the highest evaluation among the plurality of types of NC programs. In this way, the two conditions alone or in combination can identify the NC program with the highest evaluation.
(4) In such an NC program evaluation device, the analysis unit, as the movement of each part of the multi-axis machine, determines the movement range of each part of the multi-axis machine, in addition to the change in angle around the rotation axis, Each of the plurality of types of NC programs is analyzed, and in addition to specifying the NC program by reversing the rotation axis, the output unit outputs an NC program in which the movement range of each part of the multi-axis machine is smaller than other NC programs and output the result. By doing so, the NC program can be evaluated further by the movement range of each part of the multi-axis machine.
(5) In such an NC program evaluation device, the output unit specifies the NC program by reversing the rotation axis, specifies the NC program by the amount of change in acceleration of each part of the multi-axis machine, and Outputting the NC program with the highest evaluation from among the plurality of types of NC programs by specifying one of the NC programs according to the movement range of each part of the shaft processing machine, or by combining two or more of them. It can be a thing. In this way, the NC program with the highest evaluation can be identified using the three conditions alone or in combination.
(6) A second aspect of the present disclosure is a method of evaluating an NC program of a multi-axis machine equipped with a rotary axis capable of changing at least one of the orientation and inclination of the machining tool relative to the workpiece. be. This method is an NC program for machining the workpiece into a predetermined shape by the multi-axis machine, and includes a plurality of types of NC programs created by changing at least the tilt angle and the lead angle of the machining tool. is acquired, the operation of the machining tool by the acquired NC program is simulated, the movement of each part of the multi-axis machine including the angle change around the rotation axis is analyzed for each of the plurality of types of NC programs, and the According to the analyzed movement of each part of the multi-axis machine, among the plurality of types of NC programs, an NC program in which the reversal of the rotation axis is less than other NC programs is specified, and the result is output. According to such an NC program evaluation method, an NC program capable of changing at least one of the relative orientation and inclination of the machining tool with respect to the workpiece is specified, and the NC program is identified with less reversal of the rotation axis than other NC programs, and as a result is output, the NC program can be evaluated without actually machining the workpiece.
(7) Furthermore, a third aspect of the present disclosure operates the multi-axis machine using the NC program specified by the NC program evaluation method of the second aspect, It is an aspect as a processing method using a multi-axis processing machine. In this way, it is easy to avoid machining the workpiece with an inappropriate NC program.
(8) In such a machining method, the multi-axis machine has a spindle device that chucks and rotates the machining tool so that the C-axis, which is a turning axis inclined at 45 degrees with respect to the Y-axis along the vertical direction. It may be a 5-axis processing machine that rotates around.
(9) Further, the processing tool may be a ball end mill having a processing hemisphere with a predetermined radius at its tip.
(10) Furthermore, it is also preferable that the C-axis passes through the center point of the machining hemisphere of the ball end mill.
In this way, the C-axis is turned around the center point of the machining hemisphere of the ball end mill, so large turning of the C-axis is suppressed, and machining accuracy can be improved.
(11) The present disclosure can also be implemented as modes other than those described above, such as a control method for a multi-axis machine, a method for selecting an NC program, and a method for generating an NC program. Furthermore, it may be implemented as a control device for a multi-axis machine incorporating the above-described NC program evaluation device, or as a production system integrating these multi-axis machine, other processing devices, transfer devices, and the like.
A.5軸加工機の構成:
実施形態の多軸加工機のNCプログラム評価装置100(図2A、図2B)は、5軸加工機10用の加工用のプログラムを評価する。そこで、まず加工用のプログラムにより加工を行なう5軸加工機10の概要について、図1A、図1B、図1Cを参照しながら説明する。尚、説明に用いる各図は概略図であり、各部の形状は必ずしも厳密なものではない場合がある。
A. Configuration of 5-axis machine:
An NC program evaluation device 100 (FIGS. 2A and 2B) for a multi-axis machine according to an embodiment evaluates a machining program for a 5-
5軸加工機10は、Y軸に対して45度傾いた旋回軸(C軸)の周りに主軸装置30を旋回させる傾斜旋回式5軸加工機である。5軸加工機10は、図1Aに示すように、ベッド11、コラム12、サドル13、旋回主軸装置20、スライドテーブル14及びターンテーブル15を備えている。ベッド11は、ほぼ矩形状であり、床上に配置される。ベッド11上には、コラム12が起立して設けられている。
The 5-
コラム12の側面には、サドル13がサーボモータ71によってX方向に移動可能に設けられる。サドル13の側面には、サーボモータ72が設けられ、主軸装置30が取り付けられる旋回主軸装置20を鉛直方向に一致するY方向に移動可能に設けられている。また、ベッド11の上には、スライドテーブル14が設けられ、サーボモータ73によってZ方向に移動可能に設けられている。スライドテーブル14の上には、ターンテーブル15がY方向に沿った軸(B軸)の周りに回転可能に設けられている。ターンテーブル15には、ワークWKが冶具を介して固定される。B軸の回転角度θbは、ターンテーブル15に正対した状態でターンテーブル15に設定された原点位置を角度0゜とし、ここから反時計回りに計測する。B軸の角度θbは、図示を省略するエンコーダ等の検出器を用いて検出される。
A
図1Bに示すように、旋回主軸装置20は、旋回部を構成する旋回軸21および旋回本体部22と、固定部としての固定本体部23と、減速機構部24と、サーボモータ25と、を備えている。旋回主軸装置20は、図1Bに示したY-Z平面において、Y軸に対して45度傾いた旋回軸(C軸)の周りに、旋回本体部22を回転させる。この様子を、図1Cに示した。図1Cは、旋回本体部22に取り付けられた主軸装置30を、旋回軸であるC軸方向に見た矢視図である。旋回主軸装置20は、固定本体部23に対して、旋回軸21を旋回本体部22と共に回転させる。これにより、旋回主軸装置20は、図示するように、主軸装置30の姿勢(回転軸Rの向き)を水平方向(0度)から垂直方向(180度)を経て所定角度θ(例えば、270度)までの間で変化させて主軸装置30の旋回割出しを行う。尚、旋回本体部22(旋回軸21)の回転角度は、主軸装置30のR軸が水平になった状態を原点(θc=0)として、主軸装置30正対した状態での反時計回りに計測する。この角度θcは、例えば、図示を省略するエンコーダ等の検出器を用いて検出される。
As shown in FIG. 1B, the turning
C軸回りの回転角度θに対するR軸の方向ベクトル(X,Y,Z)は、図1Cに示すように、
C軸角度θcが0゜の場合に(0,0,2)であり、
C軸角度θcが90゜の場合に(√2,1,1)であり、
C軸角度θcが180゜の場合に(0,2,0)であり、
C軸角度θcが280゜の場合に(-√2,1,1)である。
一般式(1)は、
X=√2・sinθc
Y=-cosθc+1
Z= cosθc+1 …(1)
である。C軸角度θcが0゜の場合に(0,0,2)としているのは、θc=0では、R軸は水平であり、Z軸方向に沿った状態になっているものとしたからである。方向ベクトルは、軸の方向を示すだけなので、ベクトルの大きさ(長さ)が単位ベクトルなるように正規化する必要はないが、一般式の結果と一致するように、ここでは正規化している。従って、一般化する必要がなければ、単に方向のみを示すものとして扱い、方向ベクトルの大きさが角度θcにより一定にならないものとしてもよい。これは、B軸周りの角度θbについての方向ベクトルを扱う場合も同様である。また、XYZ方向の正負は、図1Aに示したように、鉛直方向に一致するY軸については、鉛直上方が正(+)、鉛直下方が負(-)であり、X軸については、主軸装置30を正面に見て、右手方向が正(+)、左手方向が負(-)であり、Z軸については、奥行き方向が正(+)、手前方向が負(-)である。
The direction vector (X, Y, Z) of the R axis with respect to the rotation angle θ about the C axis is, as shown in FIG. 1C,
(0, 0, 2) when the C-axis angle θc is 0°,
(√2, 1, 1) when the C-axis angle θc is 90°,
(0, 2, 0) when the C-axis angle θc is 180°,
(-√2, 1, 1) when the C-axis angle θc is 280°.
General formula (1) is
X=√2·sin θc
Y=-
Z = cos θc + 1 (1)
is. When the C-axis angle θc is 0°, it is set to (0, 0, 2) because when θc=0, the R-axis is horizontal and is in a state along the Z-axis direction. be. Since the direction vector only indicates the direction of the axis, it is not necessary to normalize the magnitude (length) of the vector so that it becomes a unit vector, but it is normalized here so that it matches the result of the general expression. . Therefore, if there is no need for generalization, it may simply be treated as indicating only the direction, and the magnitude of the direction vector may not be constant depending on the angle θc. This is the same when dealing with the direction vector about the angle θb around the B axis. As shown in FIG. 1A, positive and negative values in the X, Y, and Z directions are positive (+) in the vertical direction and negative (-) in the vertical direction. When the
主軸装置30は、回転軸R回りに回転する主軸31と、主軸装置30にビルトインされた主軸31を回転するサーボモータ25とを有する。主軸31は、回転工具32を把持するチャック装置を先端に有し、回転工具32は、ボールエンドミルと、ボールエンドミルを把持する工具ホルダ41を有する。回転工具32は、図示しない自動工具交換装置により工具マガジン60から取り出され、主軸31に取り付けられ、また取り外されて工具マガジン60に収納される。ボールエンドミルは、ボールエンドミルの加工上の基準点bがC軸とR軸の交点に位置するように、主軸装置30に装着される。加工上の基準点bについては、後で説明する。
The
B.NCプログラムの作成:
図2Aは、NCプログラム評価装置100を5軸加工機10と共に示す概略構成図である。図では、NCプログラム評価装置100が特定し出力したNCプログラムにより5軸加工機10を動作させて加工させられるように、NCプログラム評価装置100と5軸加工機10とをNC制御装置90を介して接続している。NC制御装置90と5軸加工機10の接続については後述する。また、NCプログラム評価装置100は、CAD装置80とも接続されており、CAD装置80の支援を受けて、NCプログラムを作成も行なう。もとより、NCプログラム評価装置100は、5軸加工機10やCAD装置80の一方または両方と独立に構成することも可能である。
B. Creating an NC program:
FIG. 2A is a schematic configuration diagram showing the NC
NCプログラム評価装置100は、図2Bに示すように、NCプログラム評価装置100の動作に必要な各種情報やデータを入力する入力部101、入力した情報やデータを記憶する入力記憶部102、入力された情報やデータにしたがってNCプログラムを作成するNCプログラム作成部103、作成されたNCプログラムを記憶するNCプログラム記憶部104、記憶されたNCプログラムを読み出してこれをシミュレーションする加工シミュレーション部105、シミュレーションした5軸加工機10の動作を記憶する動作記憶部106、シミュレーションした動作を解析する解析部107、解析結果を記憶する解析結果記憶部108,NCプログラム評価装置100の処理に必要な各種情報を表示する表示部110とを備え、これらの各部が協働してCAM(コンピュータ支援製造)としても機能する。CAMは、CAM用のアプリケーションを搭載したコンピュータである。入力部101など、外部の機器、例えばキーボードやマウス等に接続されるものには、外部の機器と電気的な信号をやり取りするためのハードウェアも組み込まれている。
As shown in FIG. 2B, the NC
本実施形態では、図2Bに示した各部のうち、NCプログラム作成部103,加工シミュレーション部105,解析部107は、ハードウェアとしては単一のCPU111により実現され、このCPU111が特定のプログラムを実行することにより各部の機能が実現される。また、NCプログラム記憶部104,動作記憶部106,解析結果記憶部108は、記憶装置112の特定の記憶領域として実現される。もとより、CPU111は、機能毎に設けてもよく、記憶装置112も各記憶部毎に異なるハードウェアとして実現してもよい。記憶装置112は、半導体メモリによる主記憶の一部として実現してもよく、あるいはハードディスクやSSDなどの外部記憶装置として実現してもよい。
In this embodiment, among the units shown in FIG. 2B, the NC
NCプログラム作成部103は、CAD装置80で作成されたワークWKの形状データと、自由曲面に対する法線NLに対する回転工具32の傾き(リード角とチルト角)とを入力データとして、加工用のNCプログラムを作成する。回転工具32は、回転中心から遠ざかるにつれて周速が速くなるため、加工の際には、ワークWKの表面に対して傾けられる。この状態を、図3Aに例示した。回転工具32の進行方向を符号TDにより示す。この場合、加工された自由曲面に対する法線方向NLに対して、回転工具32が移動方向に傾く角度をリード角θLという。ここで、加工された自由曲面に対する法線方向NLは、回転工具32であるボールエンドミルによる加工点aとボールエンドミルの中心点bとを通る方向である。中心点bは、回転工具32として用いるボールエンドミルの旋回中心軸上であって、半径rの加工半球の中心点である。また、図3Bに示すように、加工地点おける法線NLから、回転工具32が移動方向TDおよび法線方向に直交する方向に傾く角度をチルト角θTという。なお、リード角θLとチルト角θTとは、共に、正負の符号を持つ。リード角θLは、移動方向TDに対して倒れる角度を正の角度として表わし、移動方向TDとは逆の後方に倒れる角度を負の角度として表わす。チルト角θTは、移動方向TD側から見て右側に倒れる角度を正の角度として表わし、移動方向TD側から見て左側に倒れる角度を負の角度として表わす。NCプログラム作成部103によるNCプログラムの作成については後で詳しく説明する。
The NC
作成された複数のNCプログラムは、NCプログラム記憶部104に記憶する。NCプログラム作成部103から表示部110に入力画面が表示される。自由曲面に対する法線NLに対する回転工具32の傾き(リード角とチルト角)は、入力画面を介して入力部101よりNCプログラム作成部103に入力される。ボールエンドミルの先端は半球形状を有し、半球形状の半径rが入力画面を介して入力部101よりNCプログラム作成部103に入力される。先端から工具ホルダ41までのボールエンドミルの長さが入力画面を介して入力部101よりNCプログラム作成部103に入力される。後述する機械原点Mに対するワークWKの形状データが入力画面を介して入力部101よりNCプログラム作成部103に入力される。NCプログラム作成部103から表示部110にワークWKの形状が表示され、ワークWKのエリア毎に加工パターン(等高線切削、XZ直線切削)を選択できるようになっている。入力部101よりNCプログラム作成部103に入力されたデータは、入力記憶部102に記憶される。
A plurality of created NC programs are stored in the NC
ワークWKを所定の形状に加工するNCプログラムは、回転工具32の先端をトレースする点列の集合として作成される。図4は、ワークWKの上面(X-Z平面)をXZ直線切削により自由曲面として加工する場合の回転工具32先端の移動を模式的に示している。この例では、回転工具32としてボールエンドミルを用い、ワークWKの最初の加工点aである点Gd1から、点Gd2、Gd3・・・と。順次ボールエンドミルをZ方向に移動しつつ加工を行なう。各点Gd1、Gd2・・・には、ワークWKの表面形状に対応した点データが対応付けられている。したがって、図4は、加工点aの3次元座標(X,Y,Z)を、ワークWKの上面(X-Z平面)におけるXZの並びに沿って配列したものに相当する。5軸加工機10では、後述するように、この加工点aの座標から、回転工具32であるボールエンドミルの中心点bを求めて加工制御が行なわれる。各点Gd1、Gd2・・・の間隔Δzは、均一としてもよいし、加工形状に応じて変更してもよい。ワークWKの上面をZ方向端部まで加工すると、ボールエンドミルの先端位置を、X方向に、Δxだけ移動する。この移動量Δxは、ボールエンドミルの先端の半球形状の直径未満であればよい。ボールエンドミルの先端をX方向にΔxだけ移動した後、今度は、Z方向の反対側端部に向かって、つまり-Z方向に移動しつつ加工を行なう。以後、同様に、ワークWKの上面を連続的に加工する。
An NC program for machining the workpiece WK into a predetermined shape is created as a set of point sequences tracing the tip of the
こうした加工の際には、回転工具32をワークWKに対して所定のリード角θLおよびチルト角θTとする。このため、加工がZ方向端部まで至って、加工方向を反転すると、加工の際のリード角θLおよびチルト角θTを同じにするには、回転工具32のワークWKに対する角度を変更する必要が生じる。ワークWK正面に対するボールエンドミルの角度は、実際には、主軸装置30の主軸(回転軸)RをC軸の周りに回転させることで実現されるが、C軸は、鉛直から45度傾いているので、所定のリード角θL,チルト角θTを実現しつつ、ボールエンドミルの先端をワークWKのZ軸方向移動するには、ワークWKをB軸回りに回転して、ワークWKをZ軸に対して所定の角度とし、更にワークWKをZ軸およびX軸方向に相対的に移動することになる。
During such machining, the
また、加工形状によりワークWK表面の法線方向は変化するから、リード角θL,チルト角θTを一定に保つためには、C軸角度を変更し、これに合わせて、Z方向およびX方向の相対的に移動量も変更する必要が生じる。場合によっては、ワークWKをB軸回りに回転する必要が生じることもあり得る。こうした加工中のC軸角度、B軸角度の変化や、Z方向およびX方向の変位並びに時間当たりの変位速度の変化(加速度)などが生じると、ワークWKの加工面の精度が変化する。したがって、NCプログラムの作成は、こうした加工において高い加工精度が得られるように行なうことが求められる。なお、ワークWKのZ方向端部では、C軸の角度は大きく変化することになるが、こうした加工端でのC軸の回転はワークWK表面の加工精度に直接的な影響を与える訳ではない。 In addition, since the normal direction of the surface of the workpiece WK changes depending on the machining shape, in order to keep the lead angle θL and the tilt angle θT constant, the C-axis angle is changed. It is necessary to change the amount of movement relatively. In some cases, it may be necessary to rotate the work WK around the B axis. Changes in the C-axis angle and B-axis angle during machining, displacement in the Z and X directions, and changes in displacement speed per time (acceleration) change the accuracy of the machined surface of the workpiece WK. Therefore, NC programs are required to be created so as to obtain high machining accuracy in such machining. Although the angle of the C-axis changes greatly at the end of the work WK in the Z direction, the rotation of the C-axis at the end of processing does not directly affect the machining accuracy of the surface of the work WK. .
NCプログラムは、XZ直線切削では、上述した様にZ方向に沿った点データの集合として作成される。点データは、ワーク原点(0,0,0)から見たボールエンドミルによる加工点の座標として把握できる。加工点の座標は、図5に示すように、ワーク原点(0,0,0)および機械原点からのベクトルとして求めることができる。図5は、図示左側に、X・Y・Z方向を上段と下段については別々に示しているように、上段が、加工位置をX方向から見た状態を示し、下段が、Y方向から見た状態を示す。 The NC program is created as a set of point data along the Z direction in XZ straight line cutting as described above. The point data can be grasped as the coordinates of the machining point by the ball end mill viewed from the work origin (0, 0, 0). The coordinates of the machining point can be obtained as a vector from the work origin (0, 0, 0) and the machine origin, as shown in FIG. FIG. 5 shows the X, Y, and Z directions separately for the upper and lower stages on the left side of the drawing. state.
図5において、b点は、他の図に示したのと同様、回転工具32として用いるボールエンドミルの旋回中心軸上であって、半径rの加工半球の中心点である。加工点aから中心点bを通る方向が法線方向NLである。回転工具32のリード角θLやチルト角θTはこの法線方向NLに対する角度である。本実施形態では、回転工具32としてボールエンドミルを用いているので、回転工具32がこの中心点bの周りに、所定のリード角θL,チルト角θTだけ傾いても、加工点aは変化しない。加工点aの位置は、加工面からの法線が加工半球の中心点bを通る位置となる。この加工点aから加工半球の中心点bに向かう法線ベクトルを、Vabと表わす。
In FIG. 5, point b is the central point of the machining hemisphere with radius r, on the center axis of rotation of the ball end mill used as
加工用の回転工具32であるボールエンドミルによるワークWK上面の加工点aをワークWKの原点に対して、(Xa,Ya,Za,Vab)として表わされる。同様に、加工半球の中心点bは、ワーク原点に対して、(Xb,Yb,Zb,Vab)として表わされる。NCプログラムを作成する場合、主軸装置30をC軸の周りに回転しても、ボールエンドミルの加工半球の中心点bの位置が変化しないように、回転工具32を取り付けているが、加工形状によって加工点aの位置は変化する。他方、回転工具32がこの中心点bの周りに、所定のリード角θL,チルト角θTだけ傾いても、加工点aは変化しないから、図4に示した加工点aの座標から、中心点bの座標を求めれば、5軸加工機10は、C軸周りの回転角度の制御を含めて、加工制御を行なうことできる。そこで、加工形状を表わす加工点aの3次元座標値に上述した法線ベクトルVabを含めた加工点aの点データ(Xa,Ya,Za,Vab)に基づき、加工点aの位置(Xa,Ya,Za)から、法線ベクトルVabに沿って半径rだけ移動した位置として、中心点bの点データ(Xb,Yb,Zb)を求める。こうして、加工形状に対応した加工点aの点データ列(図4)から、回転工具32の制御に必要な点bの点データ列が生成される。
A machining point a on the upper surface of the work WK by the ball end mill, which is the
ワークWKを加工する際のワークWKと回転工具32であるボールエンドミルとの位置関係は、ワーク原点(0,0,0)からの加工点aの座標に加えて、ボールエンドミルを旋回する主軸装置30のC軸周りの回転角度θcとワークWKを載置するターンテーブル15のB軸周りの回転角度θbによって変化する。まず、主軸装置30のC軸回りの回転角度θcについて説明すると、C軸周りの回転角度θcに対する方向ベクトルが一般式(1)で表わせることは既に説明した。加工のために所定のリード角θL,チルト角θTを設定すると、加工面の法線方向NLとリード角θL,チルト角θTに応じて、主軸装置30はC軸周りに回転される。
The positional relationship between the workpiece WK and the ball end mill, which is the
所定のリード角θL,チルト角θTを実現するためには、ワークWKをB軸周りに回転する必要が生じる場合もありえる。実際、C軸周りの回転だけでは、回転工具32のリード角θLを負の角度にすること、つまりを-Z方向に回転工具32を倒すことはできない。この場合には、ワークWKをB軸周りに回転することが通常必要になる。B軸の回転角度θbが0゜の場合の方向ベクトル(X,Y,Z)を(0,0,1)で表わすものとすると、0゜、90゜、180゜、270゜での方向ベクトルは、
B軸角度θbが0゜の場合に (0,0,1)であり、
B軸角度θbが90゜の場合に (-1,0,0)であり、
B軸角度θbが180゜の場合に (0,0,-1)であり、
B軸角度θbが280゜の場合に (1,0,0)である。
のように変化する。これを一般式にすれば、
B軸角度θbが0゜の場合に、 (xb,yb,zb)であるとすると、
B軸角度θbが90゜の場合には (-xb,yb,zb)であり、
B軸角度θbが180゜の場合には(-xb,yb,-zb)であり、
B軸角度θbが280゜の場合には (xb,yb,-zb)である。
B軸は、Y方向に沿った軸なので、B軸周りの角度θbが変化しても、加工点aYの値は変化しない。
In order to achieve the predetermined lead angle .theta.L and tilt angle .theta.T, it may be necessary to rotate the workpiece WK around the B axis. Actually, it is not possible to set the lead angle θL of the
(0, 0, 1) when the B-axis angle θb is 0°,
(-1, 0, 0) when the B-axis angle θb is 90°,
(0, 0, -1) when the B-axis angle θb is 180°,
(1, 0, 0) when the B-axis angle θb is 280°.
changes like Putting this into a general formula,
Assuming that (xb, yb, zb) when the B-axis angle θb is 0°,
When the B-axis angle θb is 90°, (-xb, yb, zb),
When the B-axis angle θb is 180°, (-xb, yb, -zb),
When the B-axis angle θb is 280°, it is (xb, yb, -zb).
Since the B axis is an axis along the Y direction, even if the angle θb around the B axis changes, the value of the machining point aY does not change.
そこで、NCプログラムの作成に際しては、加工の際のリード角θL,チルト角θTを入力し、CAD装置80から取得した加工形状にリード角θL,チルト角θTを考慮して、複数の加工点aの中から1つの加工点aにおける法線ベクトルを含む座標(Xa,Ya,Za,Vab)を選択し、点bからVab方向に半径rだけずれた位置を中心点bの位置として求め、中心点b回りに法線NL(Vab)に対して回転工具32をリード角θL、チルト角θTだけ傾けた状態とするC軸、B軸の角度を求める。NCプログラムは、これらを満たすように、C軸、B軸、Y軸、XZ軸の順に5軸加工機10の各部(旋回本体部22、ターンテーブル15)の角度と5軸加工機10の各部(旋回主軸装置20、サドル13、スライドテーブル14)の位置とを求めて、NC制御装置90を介して5軸加工機10を動作させるものである。他の加工点aについても同様に、C軸、B軸、Y軸、XZ軸の順に5軸加工機10の各部の角度と位置とを求める。
Therefore, when creating an NC program, the lead angle θL and tilt angle θT for machining are input, and the lead angle θL and tilt angle θT are considered in the machining shape acquired from the
こうした作業を加工形状に合わせて行なうことで、作業者は、自由曲面における法線NLに対する回転工具32の傾き(リード角とチルト角)を変えて、複数種類のNCプログラムを作成する。作成された複数のNCプログラムは、NCプログラム記憶部104に記憶される。
By performing such work in accordance with the machining shape, the operator changes the inclination (lead angle and tilt angle) of the
このようにして作成された複数のNCプログラムにより実現されるワークWKの加工は、加工シミュレーション部105によりシミュレーションすることができる。各NCプログラムによるワークWKとボールエンドミルの動きをシミュレーションし、これを表示部110に表示する。このときのX軸の位置、Y軸の位置、Z軸の位置、B軸の角度、C軸の角度をワークWKとボールエンドミルの動きに合わせて、表示部110の同じ画面内のエリア110aに表示する(図2B参照)。X軸の位置、Y軸の位置、Z軸の位置、B軸の角度、C軸の角度は、時刻毎に動作記憶部106に記憶される。解析部107は、動作記憶部106に記憶された時刻毎のX軸の位置、Y軸の位置、Z軸の位置、B軸の角度、C軸の角度に基づいて、X軸、Y軸、Z軸、B軸、C軸の動きを解析する。解析の内容については、後で詳しく説明する。解析されたX軸、Y軸、Z軸、B軸、C軸の動きは、NCプログラム毎に、解析結果記憶部108に保存される。複数種類のNCプログラムの解析が終わると、解析結果記憶部108からNCプログラム毎に解析結果を読み出し、その内容を比較する。比較の結果、複数種類のNCプログラムのうちのいずれかを特定し、これを出力する。出力先は、表示部110またはNC制御装置90である。表示部110は、液晶ディスプレイ等であり、解析結果記憶部108による特定の結果、つまりいずれのNCプログラムが、ワークWKの加工として望ましいかを表示する。
Machining of the workpiece WK realized by a plurality of NC programs created in this manner can be simulated by the
5軸加工機10のNC制御装置90に伝達されたNCプログラムを使えば、NC制御装置90は、5軸加工機10を実際に稼働させることができる。この場合の5軸加工機10の稼働は、実際に被加工材を加工するものであってもよいし、被加工材を置かず、スライドテーブル14および回転工具32の動きを確認するものであってもよい。NC制御装置90からは、NCプログラムに従って、5軸加工機10に設けられたサーボモータ71から74およびサーボモータ25に駆動信号を出力して、ワークWKと主軸装置30との位置関係を制御し、回転工具32であるボールエンドミルを高速回転させて、ワークWKの加工を行なうことが可能である。
Using the NC program transmitted to the
C.NCプログラムの評価:
図6のフローチャートにしたがって、NCプログラムの評価を行なう処理について説明する。この処理は、上述したNCプログラム評価装置100における処理であり、ワークWKを特定の加工形状に加工するNCプログラムを作成し、これを評価する場合に起動され、実行される。この処理ルーチンが開始されると、まず加工形状を特定する処理を行なう(ステップS110)。加工形状は、CAD装置80からの3次元データとして与えられる。
C. Evaluation of the NC program:
Processing for evaluating the NC program will be described according to the flow chart of FIG. This process is a process in the NC
NCプログラムを作成する担当者は、取得した加工形状を表示部110に表示させ、これを見ながら、入力部101を用いて、リード角θLとチルト角θTとを設定し(ステップS120)、CAD装置80の支援を受けながら、NCプログラムを作成する(ステップS130)。リード角θLとチルト角θTの設定は、図7に例示したように、適宜設定される。回転工具32としてボールエンドミルを用いる場合には、リード角θLおよびチルト角θTは、少なくとも10度以上であることが好ましい。10度以上であれば、加工後の表面粗さに、角度それ自体による大きな差異は生じないからである。こうして取得した加工形状を加工するNCプログラムが1種類できあがると、このNCプログラムを解析する(ステップS140)。解析は、まずNCプログラムを加工シミュレーション部105を用いてミュレーションする処理(ステップS142)、シミュレーションにより動作記憶部106に記憶され5軸加工機10の各部の位置を示すXYZ軸上の座標やB軸,C軸の回転角度座標などを取得しこれを解析部107より解析する解析処理(ステップS145)、解析されたデータを作成されたNCプログラムと対応付けて解析結果記憶部108に記憶する処理(ステップS147)を含む。
The person in charge of creating the NC program displays the acquired machining shape on the
シミュレーションの結果、解析され取得された5軸加工機10の各部の位置を示すXYZ軸上の座標やB軸,C軸の回転角度座標の一例を、図8に示す。図において、ステップは、図4に示した加工点Gd毎に付与された番号である。このステップ毎に、X座標、Y座標、Z座標が求められ、またB軸,C軸まわりの回転角度が求められ、動作記憶部106に記憶される。
FIG. 8 shows an example of the coordinates on the XYZ axes and the rotation angle coordinates of the B and C axes indicating the position of each part of the 5-
1種類のNCプログラムについて、作成とデータ解析とが完了すると、複数種類のNCプログラムの作成が完了したかを判断し(ステップS150)、まだ他に作成するNCプログラムがあれば、ステップS120に戻って、リード角θLおよびチルト角θTの設定から、上述した処理(ステップS120からS150)を繰り返す。NCプログラムの作成が完了したかは、プログラムの作成担当者が決定してもよいし、予め定めた数、例えば3種類のNCプログラムを作成したら、完了と判断するとしておいてもよい。少なくとも2種類のNCプログラムを作成する。 When the creation and data analysis of one type of NC program are completed, it is determined whether the creation of a plurality of types of NC programs has been completed (step S150), and if there are still other NC programs to be created, the process returns to step S120. Then, the above-described processing (steps S120 to S150) is repeated from the setting of the lead angle .theta.L and the tilt angle .theta.T. Whether or not the creation of the NC program is completed may be determined by the person in charge of creating the program, or may be determined to be complete when a predetermined number of NC programs, for example, three types of NC programs have been created. Create at least two types of NC programs.
こうした複数種類のNCプログラムの作成が完了したら(ステップS150:「YES」)、次にNCプログラムの選定処理を行なう(ステップS160)。選定処理は、次のように行なう。まず、解析結果記憶部108に記憶された各NCプログラム毎の解析済みのデータを読み出し、このデータから、次の観点でNCプログラムを比較する。
[1]B軸、C軸の反転がないか、最も少ないNCプログラムはどれか。
[2]回転工具32先端の加速度の変化が最も小さいNCプログラムはどれか。
[3]回転工具32先端の移動範囲が最も小さいNCプログラムはどれか。
この3つの検討を行ない、いずれかのNCプログラムが[1]の点で、B軸,C軸の反転がなければ、これを加工に用いて良いNCプログラムとして選定する。なお、ワークWKのZ方向端部では、各軸の角度は大きく変化することが生じるが、こうした加工端での各軸の回転はワークWK表面の加工精度に直接的な影響を与える訳ではないので、ワークWKのZ方向端部での各軸の反転は、上記の[1]の評価には含めない。
When the creation of such a plurality of types of NC programs is completed (step S150: "YES"), then NC program selection processing is performed (step S160). The selection process is performed as follows. First, the analyzed data for each NC program stored in the analysis
[1] Which NC program has the least number of B-axis and C-axis inversions?
[2] Which NC program has the smallest change in acceleration at the tip of the
[3] Which NC program has the smallest moving range of the tip of the
After examining these three points, if any NC program does not invert the B-axis and C-axis at point [1], it is selected as an NC program that can be used for machining. Although the angle of each axis may change greatly at the end of the work WK in the Z direction, the rotation of each axis at the end to be machined does not directly affect the machining accuracy of the surface of the work WK. Therefore, the reversal of each axis at the end of the workpiece WK in the Z direction is not included in the evaluation of [1] above.
複数種類のNCプログラムにしたがって5軸加工機10を稼働させた場合のシミュレーション(ステップS142)の結果から、B軸,C軸の回転角度を図9に例示した。図の横軸はステップ数、縦軸は各軸の回転量である。図において、タイミングt1,t2,t3,t4では、B軸まわりの回転方向が反転していることが分かる。またC軸については、反転は生じていない。NCプログラムを作成する段階では、B軸やC軸周りの反転が生じるか否かを把握することはできない。なぜなら、NCプログラムは、図4に示した例では、各加工点aの点データ(Xa,Ya,Za,Vab)をZ方向に並べたものであり、ある位置Gdn とこれに隣接する位置Gdn+1 との点データ(Xa,Ya,Za,Vab)は、加工形状等により変化し、僅かな変化でも、C軸周りの回転角度θcやB軸周りの回転角度θbが大きく変化する場合があり得る。そこで、こうしたB軸やC軸まわりの反転が起きるNCプログラムは選定しない。B軸またはC軸のまわりで反転が起きれば、ワークWKに対して回転工具32が加工のために接する位置が不連続に変化する場合があるからである。従って、こうした反転が生じないNCプログラムを選定すれば、加工後の表面粗さは小さくなる。もとより、複数種類のNCプログラムにおいて、B軸およびC軸まわりの反転が起きないNCプログラムがなかった場合には、反転の回数が最も少ない加工用ブログラムを選定する。反転の回数が同じ場合には、上記の[2][3]の観点により選定を行なってもよいし、軸まわり反転に付随する観点、例えば反転の前後の回転角度の変化量(回転角速度)の大きさを比べて、回転角速度の変化が小さいものを選定してもよい。
Rotation angles of the B-axis and the C-axis are illustrated in FIG. The horizontal axis of the figure is the number of steps, and the vertical axis is the amount of rotation of each axis. In the figure, it can be seen that the direction of rotation about the B axis is reversed at timings t1, t2, t3, and t4. Inversion does not occur for the C-axis. At the stage of creating the NC program, it is impossible to grasp whether or not reversal around the B-axis and C-axis will occur. This is because, in the example shown in FIG. 4, the NC program is a line of point data (Xa, Ya, Za, Vab) of each machining point a in the Z direction. +1 and point data (Xa, Ya, Za, Vab) change depending on the machining shape, etc. Even a slight change may cause a large change in the rotation angle θc around the C axis and the rotation angle θb around the B axis. could be. Therefore, do not select an NC program that causes reversal around the B-axis or C-axis. This is because if a reversal occurs around the B-axis or the C-axis, the position at which the
[1]の観点で、複数種類のNCプログラムに優劣がなかった場合は、[2]の観点について判断する。回転工具32先端の角速度の一例を図10に示した。図の横軸はステップ数、縦軸は加速度(単位は、m/s2 )である。図において、Z軸方向の加速度を検討すると、タイミングt11,t12,t13,t14などでは、回転工具32先端の加速度の変化は大きい。X軸,Y軸についても、ほぼ同じタイミングで、加速度の変化は大きくなっている。こうした各軸の加速度の変化が大きいNCプログラムは選定しない。各軸の加速度の変化が大きいNCプログラムか否かは、例えば予め定めた閾値以上の加速度変化が生じた回数が多いものを、加速度変化の大きいプログラムとして扱ってもよいし、最も大きな加速度変化が生じるNCプログラムを加速度変化の大きいプログラムとして扱ってもよい。加速度変化が大きいとは、回転工具32先端とワークWKとが相互に受ける力が大きく変化することを意味する。こうした回転工具32とワークWKの間に働く力の変化が小さいNCプログラムを選定すれば、加工後の表面粗さは小さくなる。
From the viewpoint of [1], if there is no superiority or inferiority among the plural types of NC programs, the viewpoint of [2] is judged. An example of the angular velocity of the tip of the
[1][2]の観点で、複数種類のNCプログラムに優劣がなかった場合は、[3]の観点について判断する。回転工具32先端の移動範囲の一例を図11に示した。図の横軸はステップ数、縦軸は各軸方向の移動量を示す。この図に示した例では、X軸方向の移動範囲RX,Y軸方向の移動範囲RY,Z軸方向の移動範囲RZを比較すると、X軸方向の移動範囲RXが、各軸の移動範囲のうちで一番大きい。そこで、複数種類のNCプログラムについて、この最大の移動範囲を比較し、移動範囲が最も小さいNCプログラムを選定する。移動範囲が小さい方が回転工具32とワークWKとの位置関係の変化が小さく、また回転工具32の摩耗も小さいからである。もとより、加工工具の移動範囲は、XYZの各軸方向の移動範囲を足して、各NCプログラム間で、移動範囲の総和を比較して、最も移動範囲の小さいNCプログラムを特定してもよい。あるいは、少なくとも2つの軸方向において回転工具32が移動される場合には、各軸毎の移動範囲ではなく、加工しながら回転工具32が実際に移動した距離を求め、これが一番小さいNCプログラムを選定するようにしてもよい。
[1] If there is no superiority or inferiority among multiple types of NC programs from the viewpoints of [1] and [2], the viewpoint of [3] is judged. An example of the moving range of the tip of the
こうして選定処理(ステップS160)を行なった後、選定したNCプログラムによる加工を評価する(ステップS170)。加工評価は、選定したNCプログラムを評価し、ステップS120でのリード角θLおよびチルト角θTの設定とNCプログラムの作成とが、どのような関係にある場合に、B軸,C軸まわりの反転が少なく、また回転工具32先端の加速度の変化の小さな、更には回転工具32先端の移動範囲の狭い加工が実現できたかを評価し、将来のNCプログラムの作成に生かすために行なう。こうした加工評価は、シミュレーションによって行なってもよいし、実際にワークWKを加工しながら行なってもよい。また、加工評価により、選定したNCプログラムに微修正を加えて、更にその完成度を高めてもよい。以上の処理により、NCプログラム評価処理ルーチンを終了する。
After the selection process (step S160) is performed in this manner, machining by the selected NC program is evaluated (step S170). In the machining evaluation, the selected NC program is evaluated, and if there is a relationship between the setting of the lead angle θL and the tilt angle θT in step S120 and the creation of the NC program, reversal around the B and C axes is performed. It is evaluated whether or not machining can be realized with less force, less change in acceleration at the tip of the
以上説明した5軸加工機10のNCプログラム評価装置100によれば、リード角θLおよびチルト角θTの設定の異なる複数種類のNCプログラムを作成した上で、これらをB軸,C軸まわりの反転の少なさ、回転工具32先端の加速度の変化の大きさ、回転工具32先端の移動範囲の狭さで評価して、NCプログラムを選定する。この結果、実際にワークWKを加工しなくても、望ましいNCプログラムを選定できる。したがって、NCプログラムを作成した後、実際に5軸加工機10で加工して、表面粗さなどを測って、NCプログラムを修正するといった繰り返しの手間を削減できる。この結果、NCプログラム開発時間の短縮、試作用材料や工数の削減を図ることができる。更に、リード角θLおよびチルト角θTの設定と、得られたNCプログラムの良否との関係が、知見として蓄積され、NCプログラム作成者のスキルの向上に資することもできる。
According to the NC
以上、5軸加工機10として、B軸,C軸を備えた5軸のマシンニングセンタを例にして説明したが、5軸加工機10としては、A軸,C軸タイプのマシンニングセンタであっても差し支えない。また、必ずしも5軸に限らず、加工工具の被加工物に対する相対的な向きと傾斜との少なくとも一方を変更可能な回転軸を備えた多軸加工機であれば、例えば4軸加工機や旋盤機能を付加した複合機であっても、そのNCプログラムを評価する評価装置として実施可能である。また、加工の種類としては、5軸を同時に制御する同時5軸加工において用いるとメリットが大きいが、割り出し5軸加工に適用しても差し支えない。本実施形態では、切削方法としてはXZ直線切削を例に挙げて説明したが、等高線切削であっても同様である。
As described above, the 5-axis machining center having the B-axis and the C-axis has been described as an example of the 5-
上述したNCプログラム評価装置100では、回転軸の反転の多寡によるNCプログラムの特定と、加工工具先端の加速度の変化量によるNCプログラムの特定とを組み合わせたが、いずれか一方により、複数種類のNCプログラムのうちから、最も評価の高いNCプログラムを出力するものとしてもよい。また、実施形態では更に、加工工具先端の移動範囲によるNCプログラムの特定も組み合わせたが、これら3つの評価項目のいずれか1つ、またはいずれか2つ以上の組み合わせにより、複数種類のNCプログラムのうちから、最も評価の高いNCプログラムを出力するものとしてもよい。更に、他の項目を組み合わせることも差し支えない。
In the NC
NCプログラムとしては、上記の例では、回転工具32を取り替えて加工する工程を含まないものとして説明したが、自動工具交換装置を用いて、工具マガジン60に用意された回転工具32との取り替えを行ない、加工を継続するようなNCプログラムに適用し、評価を行なうものとしてもよい。また、回転工具32としては、先端が半径rの加工半球を備えるボールエンドミルを例に挙げて説明したが、ボールエンドミルの半径rは変更してもよい。
In the above example, the NC program does not include the process of machining by replacing the
以上説明した5軸加工機10のNCプログラム評価装置100により最も適切と判断されたNCプログラムを用いて、ワークWKを実際に加工する。この場合、図2Aに示したNC制御装置90に、適切と判断されたNCプログラムをロードし、NCプログラムを実行する。加工の際には、NCプログラムの評価において使用した回転工具32と同じ形状、つまり加工半球の半径rが同一であるボールエンドミルを主軸装置30に取り付けて、ワークWKの加工を行なう。このとき、評価の際の条件と同様に、主軸装置30の旋回軸であるC軸が、ボールエンドミルの加工半球の中心点bを通るものとする。こうすれば、ボールエンドミルの加工半球の中心点回りにC軸が旋回することになり、C軸の大きな旋回が無くなり、加工精度が向上する。
The workpiece WK is actually machined using the NC program judged to be the most appropriate by the NC
上記各実施形態において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよい。ソフトウェアによって実現されていた構成の少なくとも一部は、ディスクリートな回路構成により実現することも可能である。また、本開示の機能の一部または全部がソフトウェアで実現される場合には、そのソフトウェア(コンピュータプログラム)は、コンピュータ読み取り可能な記録媒体に格納された形で提供することができる。「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスクやCD-ROMのような携帯型の記録媒体に限らず、各種のRAMやROM等のコンピュータ内の内部記憶装置や、ハードディスク等のコンピュータに固定されている外部記憶装置も含んでいる。すなわち、「コンピュータ読み取り可能な記録媒体」とは、データパケットを一時的ではなく固定可能な任意の記録媒体を含む広い意味を有している。 In each of the above embodiments, part of the configuration implemented by hardware may be replaced with software. At least part of the configuration implemented by software can also be implemented by a discrete circuit configuration. In addition, when part or all of the functions of the present disclosure are realized by software, the software (computer program) can be provided in a form stored in a computer-readable recording medium. "Computer-readable recording medium" means not only portable recording media such as flexible disks and CD-ROMs, but also various internal storage devices such as RAM and ROM, and fixed to computers such as hard disks. It also includes an external storage device. That is, the term "computer-readable recording medium" has a broad meaning including any recording medium capable of fixing data packets instead of being temporary.
本開示は、上述の実施形態に限られるものではなく、その趣旨を逸脱しない範囲において種々の構成で実現することができる。例えば、発明の概要の欄に記載した各形態中の技術的特徴に対応する実施形態中の技術的特徴は、上述の課題の一部又は全部を解決するために、あるいは、上述の効果の一部又は全部を達成するために、適宜、差し替えや、組み合わせを行うことが可能である。また、その技術的特徴が本明細書中に必須なものとして説明されていなければ、適宜、削除することが可能である。 The present disclosure is not limited to the embodiments described above, and can be implemented in various configurations without departing from the scope of the present disclosure. For example, the technical features in the embodiments corresponding to the technical features in the respective modes described in the Summary of the Invention column may be used to solve some or all of the above problems, or Substitutions and combinations may be made as appropriate to achieve part or all. Also, if the technical features are not described as essential in this specification, they can be deleted as appropriate.
11…ベッド、12…コラム、13…サドル、14…スライドテーブル、15…ターンテーブル、20…旋回主軸装置、21…旋回軸、22…旋回本体部、23…固定本体部、24…減速機構部、25…サーボモータ、30…主軸装置、31…主軸、32…回転工具、41…チャック、51…X軸、52…Y軸、53…Z軸、60…工具マガジン、71,72,73,74…サーボモータ、80…CAD装置、90…NC制御装置、100…NCプログラム評価装置、101…入力部、102…入力記憶部、103…NCプログラム作成部、104…NCプログラム記憶部、105…加工シミュレーション部、106…動作記憶部、107…解析部、108…解析結果記憶部、110…表示部、111…CPU、112…記憶装置、θL…リード角、θT…チルト角、NL…法線、RX,RY,RZ…移動範囲、WK…ワーク
DESCRIPTION OF
Claims (10)
前記多軸加工機が、前記被加工物を所定の形状に加工するNCプログラムであって、少なくとも加工工具のチルト角とリード角とを変更して作成された複数種類のNCプログラムを取得するプログラム取得部と、
取得したNCプログラムによる前記多軸加工機の各部の動作をシミュレーションし、前記回転軸まわりの角度変化を含む前記多軸加工機の各部の動きを、前記複数種類のNCプログラム毎に解析する解析部と、
前記解析された多軸加工機の各部の動きに応じて、前記複数種類の前記NCプログラムのうち、前記回転軸の反転が他のNCプログラムより少ないNCプログラムを特定し、その結果を出力する出力部と、
を備える、NCプログラムの評価装置。 An evaluation device for evaluating an NC program of a multi-axis machine having a rotation axis capable of changing at least one of the orientation and inclination of the machining tool relative to the workpiece,
An NC program for the multi-axis machine to machine the workpiece into a predetermined shape, the program for obtaining a plurality of types of NC programs created by changing at least the tilt angle and the lead angle of the machining tool. an acquisition unit;
An analysis unit that simulates the operation of each part of the multi-axis machine according to the acquired NC program, and analyzes the movement of each part of the multi-axis machine, including angular changes around the rotation axis, for each of the plurality of types of NC programs. When,
Output for specifying an NC program among the plurality of types of NC programs in which the rotation axis is reversed less than other NC programs according to the analyzed movement of each part of the multi-axis machine, and outputting the result thereof. Department and
An evaluation device for an NC program.
前記解析部は、前記多軸加工機の各部の動きとして、前記回転軸まわりの角度変化に加えて、前記多軸加工機の各部の加速度を、前記複数種類のNCプログラム毎に解析し、
前記出力部は、前記回転軸の反転による前記NCプログラムの特定に加えて、前記多軸加工機の各部の加速度の変化量が他のNCプログラムより小さいNCプログラムを特定し、その結果を出力する、
NCプログラムの評価装置。 The NC program evaluation device according to claim 1,
The analysis unit analyzes the acceleration of each part of the multi-axis machine in addition to the angular change around the rotation axis as the movement of each part of the multi-axis machine for each of the plurality of types of NC programs,
In addition to specifying the NC program by reversing the rotation axis, the output unit specifies an NC program in which the amount of change in acceleration of each part of the multi-axis machine is smaller than other NC programs, and outputs the result. ,
NC program evaluation device.
前記解析部は、前記多軸加工機の各部の動きとして、前記回転軸まわりの角度変化に加えて、前記多軸加工機の各部の移動範囲を、前記複数種類のNCプログラム毎に解析し、
前記出力部は、前記回転軸の反転による前記NCプログラムの特定に加えて、前記多軸加工機の各部の移動範囲が他のNCプログラムより小さいNCプログラムを特定し、その結果を出力する、
NCプログラムの評価装置。 The NC program evaluation device according to any one of claims 1 to 3,
The analysis unit analyzes the movement range of each part of the multi-axis machine for each of the plurality of types of NC programs, in addition to the change in angle around the rotation axis, as the movement of each part of the multi-axis machine.
In addition to specifying the NC program by reversing the rotation axis, the output unit specifies an NC program in which the movement range of each part of the multi-axis machine is smaller than other NC programs, and outputs the result.
NC program evaluation device.
前記多軸加工機が、前記被加工物を所定の形状に加工するNCプログラムであって、少なくとも加工工具のチルト角とリード角とを変更して作成された複数種類のNCプログラムを取得し、
取得したNCプログラムによる前記多軸加工機の各部の動作をシミュレーションし、前記回転軸まわりの角度変化を含む前記多軸加工機の各部の動きを、前記複数種類のNCプログラム毎に解析し、
前記解析された多軸加工機の各部の動きに応じて、前記複数種類の前記NCプログラムのうち、前記回転軸の反転が他のNCプログラムより少ないNCプログラムを特定し、その結果を出力する、
NCプログラムの評価方法。 A method for evaluating an NC program of a multi-axis machine having a rotary axis capable of changing at least one of the orientation and inclination of the machining tool relative to the workpiece, comprising:
The multi-axis machine acquires a plurality of types of NC programs for machining the workpiece into a predetermined shape, which are created by changing at least the tilt angle and the lead angle of the machining tool,
simulating the operation of each part of the multi-axis machine according to the acquired NC program, and analyzing the movement of each part of the multi-axis machine including angular changes around the rotation axis for each of the plurality of types of NC programs;
identifying an NC program among the plurality of types of NC programs in which the reversal of the rotation axis is less than other NC programs according to the analyzed movement of each part of the multi-axis machine, and outputting the result;
NC program evaluation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021034121A JP2022134753A (en) | 2021-03-04 | 2021-03-04 | Device for evaluating nc programs for multi-axis processing machine, evaluation method, and processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021034121A JP2022134753A (en) | 2021-03-04 | 2021-03-04 | Device for evaluating nc programs for multi-axis processing machine, evaluation method, and processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022134753A true JP2022134753A (en) | 2022-09-15 |
Family
ID=83231645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021034121A Pending JP2022134753A (en) | 2021-03-04 | 2021-03-04 | Device for evaluating nc programs for multi-axis processing machine, evaluation method, and processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022134753A (en) |
-
2021
- 2021-03-04 JP JP2021034121A patent/JP2022134753A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9873175B2 (en) | Interference determination method and interference determination device for machine tool | |
US9573202B2 (en) | Workpiece machining method, machine tool, tool path-generating device and tool path-generating program | |
US10684609B2 (en) | Program code generating method for tilted plane machining by multi-axis machine tool and device thereof | |
JP2006004128A (en) | Interference confirmation device | |
JPWO2010109536A1 (en) | Numerical control device and control method of the numerical control device | |
CN108000523A (en) | Simulator, analogy method and the recording medium of the action of dummy robot's system | |
JP2005074569A (en) | Program, computer device, multiple spindle machine, nc program forming method, and workpiece machining method | |
CN106020114B (en) | A kind of numerically-controlled machine tool composition error method for visualizing | |
WO2019113370A1 (en) | Systems, methods, and devices for toolpath virtualization and optimization | |
Sato et al. | Geometric error compensation of five-axis machining centers based on on-machine workpiece measurement | |
CN110883499B (en) | Program generation method and device for machining inclined plane for multi-axis machine tool | |
JP2022134753A (en) | Device for evaluating nc programs for multi-axis processing machine, evaluation method, and processing method | |
CN104756025B (en) | Workpiece mount message annunciator | |
JP4531297B2 (en) | 6-axis control NC program generation method and generation apparatus, 6-axis control NC program generation program, and computer-readable recording medium storing the program | |
JP2022134756A (en) | Device for evaluating nc programs for multi-axis processing machine, evaluation method, and processing method | |
JP5167788B2 (en) | Machine tool interference detection device | |
JP5924646B2 (en) | Machining work support method and machining work support device | |
CN212009367U (en) | Workpiece for evaluation | |
JP2017091429A (en) | NC program creation device | |
CN115702061A (en) | Positional relationship measuring method and processing device | |
WO2023243215A1 (en) | Information processing device and information processing program | |
JP7250202B1 (en) | Information processing device and information processing program | |
CN116795038A (en) | Method for calculating detection moving direction of measuring head vector of five-axis machine tool | |
CN114237153B (en) | Five-axis machine tool positioning error acquisition method, machining control method and machining control device | |
JP7475533B1 (en) | Information processing device, NC program generation method, and control program |