JPS6364110A - Processing information generating system for free curved surface evading tool interference - Google Patents
Processing information generating system for free curved surface evading tool interferenceInfo
- Publication number
- JPS6364110A JPS6364110A JP20855286A JP20855286A JPS6364110A JP S6364110 A JPS6364110 A JP S6364110A JP 20855286 A JP20855286 A JP 20855286A JP 20855286 A JP20855286 A JP 20855286A JP S6364110 A JPS6364110 A JP S6364110A
- Authority
- JP
- Japan
- Prior art keywords
- tool
- tool path
- offset
- data
- free
- 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
Landscapes
- Numerical Control (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は3次元自由曲面をNCマシニングセン〔発明の
概要〕
3次元自由曲面のデータから数値制御工作機械用の工具
径路データを生成する際に、切削用面素から成る多面体
近恨を行い、面素を1つずつ取出して、Z軸に平行な平
面群でサンプリングを行って面素と平面との交線の(X
、 Z”)座標でもって工具径路を表現し、一つのサン
プリング平面上の交線がX座標に関しオーバーランプす
る場合には、X座標が最大の交線をとって工具干渉を除
去することを特徴とし、データの生成効率及びサンプリ
ング精度を改善し高速処理を可能にしたシステムである
。[Detailed Description of the Invention] [Industrial Field of Application] The present invention is an NC machining machine that uses a three-dimensional free-form surface. [Summary of the Invention] When generating tool path data for a numerically controlled machine tool from data of a three-dimensional free-form surface Next, we perform a polyhedral analysis consisting of surface elements for cutting, take out the surface elements one by one, and sample the planes parallel to the Z axis to find the (X
, Z") coordinates, and if the intersection lines on one sampling plane overlap with respect to the X coordinate, the tool interference is removed by taking the intersection line with the largest X coordinate. This system improves data generation efficiency and sampling accuracy, enabling high-speed processing.
計算機内部で3次元自由曲面のデータを扱い、これらの
データから最終的な製品又は金型をNC工作機械等で自
動加工するためのNCデータ(工具径路データ)を生成
するCAD/CAMシステムが実用化されつつある。A CAD/CAM system that handles three-dimensional free-form surface data inside a computer and generates NC data (tool path data) for automatically machining final products or molds using NC machine tools, etc. is now in practical use. It is becoming more and more popular.
工具径路生成の一手法として従来から知れているものに
A P T (Automatically Prog
rama+ed Tools)がある、APTの主体は
英語に類似した記述様式を持つ多軸輪郭制御用の汎用自
動プログラミング言語である。この言語は、工作物と工
具の幾何学的形状、工作物に対する工具の運動の外、工
作機械の機能、許容誤差、算術計算などに関する命令、
定義を含む。この言語で記述したプログラムを大型コン
ピュータにかけると、NCテープを出力することができ
る。A conventionally known method for generating tool paths is APT (Automatically Prog.
The main body of APT is a general-purpose automatic programming language for multi-axis contour control that has a writing style similar to English. This language contains instructions regarding the geometry of the workpiece and tool, the movement of the tool relative to the workpiece, machine tool functions, tolerances, arithmetic calculations, etc.
Contains definitions. When a program written in this language is run on a large computer, it is possible to output NC tape.
一方、計算機内で製品外径等の曲面を扱う場合、形状の
制御性が良い(変形や修正が容易)とか計算が容易であ
ると云った設計に好ましい性質を持つB5zier式と
かB−3pline式を用いたパラメトリックな表現形
式が良く使われている。On the other hand, when handling curved surfaces such as the outer diameter of a product in a computer, the B5zier formula and B-3pline formula have favorable properties for design such as good shape controllability (easy deformation and modification) and easy calculation. A parametric representation format using is often used.
工具径路生成に内在する最も根本的な問題は、加工精度
を考慮したデータ生成の効率の問題及び工具干渉判定の
問題である。The most fundamental problems inherent in tool path generation are the problem of data generation efficiency considering machining accuracy and the problem of tool interference determination.
上述のAPTは、ユーザが工具往路を指示(プログラム
)し、その結果自由曲面の切削データが生成されるもの
であって、計算機内で生成された幾何モデルから自動的
に工具径路を生成するものではない0本来CAD/CA
Mシステムは、設計時の形状情報を加工へ伝達するから
全体として効率が良くなるのであって、APTのように
設計は別に行われ、要求形状を意識しながら加工用の工
具径路をプログラムするのでは効率向上が望めない。In the APT described above, the user instructs (programs) the tool forward path, and as a result, cutting data for a free-form surface is generated, and the tool path is automatically generated from the geometric model generated within the computer. Not 0 originally CAD/CA
The M system improves efficiency as a whole by transmitting shape information during design to machining, but unlike APT, design is done separately and the tool path for machining is programmed while keeping the required shape in mind. Therefore, no improvement in efficiency can be expected.
一方、パラメトリックに表現された曲面は、座標系に依
存しないため形状定義には都合が良い。On the other hand, a parametrically expressed curved surface is convenient for shape definition because it does not depend on the coordinate system.
しかし曲面を切削する工作機械は座標系が決まっている
ため、計算機内で生成した曲面データから加工データ(
工具径路データ)に精度良く変換することができない、
このため加工精度が低下する。However, since the coordinate system of machine tools that cut curved surfaces is fixed, machining data (
tool path data) cannot be converted with high accuracy.
For this reason, machining accuracy decreases.
またパラメトリック表現に基いて直接切削加工すると、
工具又は工具ホルダと仕上形状との干渉(衝突)をチェ
ックすることが技術的に困難で、必要部分を切削してし
まう不都合が生じる。In addition, when directly cutting based on parametric expression,
It is technically difficult to check for interference (collision) between the tool or tool holder and the finished shape, resulting in the inconvenience of cutting off the necessary portion.
他に知られている多面体近似による曲面表現では、処理
能力を越えるような膨大なデータを扱わないと十分な加
工精度が得られない。従って実用に耐える程の実短時間
での加工データの生成は到底望めない。高速処理を行う
ために曲面表現のデータ数を少なくすると、加工精度が
粗くなり、設計された曲面の公差を満足することができ
なくなる。In other known methods of surface representation using polyhedral approximation, sufficient machining accuracy cannot be obtained unless a huge amount of data that exceeds the processing capacity is handled. Therefore, it is impossible to expect to generate processing data in a short time that is practical. If the number of data representing the curved surface is reduced in order to perform high-speed processing, the processing accuracy will become rough, making it impossible to satisfy the designed tolerance of the curved surface.
本発明は上述の問題にかんがみ、工具の干渉、非干渉を
判定しながら必要な加工精度を満足する工具径路データ
を高速で生成させることを目的とする。SUMMARY OF THE INVENTION In view of the above-mentioned problems, it is an object of the present invention to generate tool path data that satisfies required machining accuracy at high speed while determining tool interference and non-interference.
本発明は3次元自由曲面を表現したデータを加工してN
Cミーリングマシンのような少なくとも3軸制御の数値
制御工作機械用の工具径路データを生成するシステムで
ある。The present invention processes data representing a three-dimensional free-form surface to
This is a system that generates tool path data for a numerically controlled machine tool that controls at least three axes, such as a C-milling machine.
自由曲面を切削用面素に分割し且つ工具の形状に応じて
自由曲面からオフセットさせたオフセット多面体を生成
する手段を備える。A means is provided for dividing the free-form surface into cutting surface elements and generating an offset polyhedron offset from the free-form surface according to the shape of the tool.
上記各面素ごとに、面素と3軸の一つ(Z軸)に平行で
Y軸方向に所定間隔の平面群との交線上に工具径路を設
定するために、上記各平面上におてる各交線の始端及び
P、端の直交座標値(X、 Z)を算出して記憶する手
段を備える。For each of the above-mentioned surface elements, in order to set a tool path on the intersection line between the surface element and a group of planes that are parallel to one of the three axes (Z-axis) and spaced at a predetermined interval in the Y-axis direction, means for calculating and storing the orthogonal coordinate values (X, Z) of the starting end, P, and end of each intersection line.
上記平面群の一つに属する複数の交線が゛X座標に関し
オーバーラツプする場合に、そのうちのZ座標が最大の
ものを選択する手段を備える。When a plurality of intersection lines belonging to one of the plane groups overlap with respect to the X coordinate, means is provided for selecting the one having the maximum Z coordinate among them.
更に、上記選択された交線に沿った工具径路デ−タを生
成する手段とを具備する。The method further includes means for generating tool path data along the selected intersection line.
直交座標系(XYZ軸)を持つ3軸制御Jの数値制御工
作機械に最も適した工具径路生成システムであり、直交
座標系において工具干渉除去処理を高速に実行する。It is a tool path generation system most suitable for numerically controlled machine tools with three-axis control J that has an orthogonal coordinate system (XYZ axes), and performs tool interference removal processing at high speed in an orthogonal coordinate system.
オフセット多面体を生成する処理と工具径路をオフセッ
ト多面体から求める処理とを分離させてあり、工具径路
は直交座標系で求められるが、オフセット多面体の生成
はBez ier曲面、B −aplins曲面、Co
ons曲面等の幾何曲面の表現形式に基くことができる
。従って曲面表現のデータ構造に依存せずに、多種多様
な曲面の加工が可能となる。The process of generating the offset polyhedron and the process of calculating the tool path from the offset polyhedron are separated, and the tool path is calculated using the orthogonal coordinate system, but the generation of the offset polyhedron uses Bezier surface, B-aplins surface, Co
It can be based on a representation format of a geometric surface such as an ons surface. Therefore, it is possible to process a wide variety of curved surfaces without depending on the data structure of the curved surface representation.
また加工物が複数の曲面で構成されていても、単一の曲
面と同様に扱うことができる。Furthermore, even if the workpiece is composed of multiple curved surfaces, it can be handled in the same way as a single curved surface.
またオフセット多面体を構成する面素の1つごとに工具
干渉の除去処理を一回だけ行い、重複した演算処理が生
じないから、効率よく、高速に工具径路データが生成さ
れる。Further, tool interference removal processing is performed only once for each surface element constituting the offset polyhedron, and redundant calculation processing does not occur, so tool path data can be generated efficiently and at high speed.
くG1 ニジステム全体の構成〉
第1図に実施例のCAD/CAMシステムの全体構成を
示す。第1図において自由曲面生成処理システム1は、
CADに相当する部分で、目的物の3次元自由曲面を表
現する幾何モデルの形状データをオペレータの入力操作
に基いて生成し、ファイルに蓄積する。目的物は機械加
工部品やモールド金型である。G1 Overall configuration of the system> FIG. 1 shows the overall configuration of the CAD/CAM system of the embodiment. In FIG. 1, the free-form surface generation processing system 1 is
In the part corresponding to CAD, shape data of a geometric model expressing the three-dimensional free-form surface of the object is generated based on input operations by an operator, and is stored in a file. The objects are machined parts and molds.
作成された形状データは、自由曲面切削用工具径路生成
システム2において加工データ、即ち切削工具の移動径
路を決定するデータに変換される。The generated shape data is converted into machining data, that is, data for determining the movement path of the cutting tool, in the free-form surface cutting tool path generation system 2.
加工データはフロッピーディスクに落とされ、NCミー
リングマシン3(NCフライス盤又はマシニングセンタ
)にフロッピーディスクを装着することにより、自動加
工が行われる。The processing data is downloaded to a floppy disk, and automatic processing is performed by loading the floppy disk into the NC milling machine 3 (NC milling machine or machining center).
自由曲面生成処理システム1及び自由曲面切削用工具径
路システム2の実体はコンピュータであり、ユーザイン
ターフェイスのために、キーボードやディジタイザ等の
入力装置4及びCRT等のディスプレイ装W5が付属し
ている。The free-form surface generation processing system 1 and the free-form surface cutting tool path system 2 are actually computers, and are attached with an input device 4 such as a keyboard or digitizer, and a display device W5 such as a CRT for a user interface.
工具径路生成システム2は、
(1)、自由曲面の形状精度
(2)、自由曲面の表面粗度(表面あらさ)(3)、工
具干渉チェック
を考慮し且つ高速に加工データを生成するように工夫さ
れたアルゴリズムで動作する。The tool path generation system 2 takes into account (1) the shape accuracy of the free-form surface (2), the surface roughness of the free-form surface (3), and tool interference check, and generates machining data at high speed. It works with a devised algorithm.
〈G2 :工具径路生成システムの構成〉第2図に示す
ように、工具径路生成システムは順次又は平行して起動
される複数のプログラムモジュールを含む。各プログラ
ムモジュールは専用のデータプロセッサと考えることが
できるので、以下プロセッサと称する。<G2: Configuration of tool path generation system> As shown in FIG. 2, the tool path generation system includes a plurality of program modules that are activated sequentially or in parallel. Each program module can be thought of as a dedicated data processor and will therefore be referred to hereinafter as a processor.
まず予備処理段階で起動されるのが、精度決定プリプロ
セッサ21及び面粗度決定プリプロセッサ22である。First, the accuracy determination preprocessor 21 and the surface roughness determination preprocessor 22 are activated in the preliminary processing stage.
精凌決定プリプロセッサ21は、目的加工物に対して指
定された公差に基いて、CAD段階で生成された幾何モ
デルの曲面を多数の四辺形(又は三角形)に分割してす
るための分割細度を決定する。この多面体分割により、
公差内で近似された切削形状(切削モデル)を生成する
ことができる。公差を考慮した多面体近似により、必要
以上に高精度でなくしかも設計仕様を満足する切削加工
を実行するための最適工具径路を決定することができる
。The precision determination preprocessor 21 determines the division fineness for dividing the curved surface of the geometric model generated in the CAD stage into a large number of quadrilaterals (or triangles) based on the tolerance specified for the target workpiece. Determine. With this polyhedral division,
A cutting shape (cutting model) approximated within tolerances can be generated. By polyhedral approximation that takes tolerances into consideration, it is possible to determine an optimal tool path for performing cutting that is not unnecessarily highly accurate and satisfies design specifications.
幾何曲面の曲率半径ρとその中心から近似多面体までの
距離との誤差をδとするとき、式2=2h−而コローi
によるδが指定交差内となるように近似多面体の個々の
一辺の大きさ!、つり幾何モデル曲面上のサンプリング
巾を定めるのが仕上げ精度プリプロセッサ21である。When the error between the radius of curvature ρ of the geometric surface and the distance from its center to the approximate polyhedron is δ, the size of each side of the approximate polyhedron is determined so that δ is within the specified intersection according to the formula 2 = 2h−corot i. difference! , the finishing accuracy preprocessor 21 determines the sampling width on the hanging geometric model curved surface.
工具径路は生成された多面体上に設定される。The tool path is set on the generated polyhedron.
つまり工具は空間内の点から点へ微細に直線運動しなが
ら曲面を切削する。このような切削加工は通常の3軸制
御NCミーリングマシンで実現できる。In other words, the tool cuts a curved surface while moving minutely in a straight line from point to point in space. Such cutting processing can be realized with a normal three-axis controlled NC milling machine.
なお実際の工具径路は、加工面に対して工具の刃先から
工具中心(工具移動の指令位置)までオフセットした仮
想のオフセット多面体上に設定される。Note that the actual tool path is set on a virtual offset polyhedron offset from the cutting edge of the tool to the tool center (tool movement command position) with respect to the machining surface.
次に面粗度決定プリプロセッサ22は、目的加工物に対
して指定された表面あらさに基いて、工具の送り巾(送
りピッチ)を決定する。一般に工具送り巾が狭ければ、
表面はよりなめらかに切削される。しかし工具送り巾を
1/2にすれば、工具径路を規定するデータ量は2倍に
なる。従って最小の工具径路データで所要の仕上げ表面
あらさを得るために、工具送り巾は最適に設定されなけ
ればならない。面粗度決定プリプロセッサ22では、与
えられた表面あらさを満足する工具送り巾を算出するた
めのアルゴリズムを含む。Next, the surface roughness determination preprocessor 22 determines the feed width (feed pitch) of the tool based on the surface roughness specified for the target workpiece. Generally, if the tool feed width is narrow,
The surface is cut more smoothly. However, if the tool feed width is halved, the amount of data defining the tool path will double. Therefore, the tool feed width must be set optimally to obtain the required finished surface roughness with minimum tool path data. The surface roughness determination preprocessor 22 includes an algorithm for calculating a tool feed width that satisfies a given surface roughness.
ボールエンドミル(半径R)を切削工具として使用する
場合、面粗度決定プリプロセッサ22は、加工面上の削
り残し量の高さHが指定表面あらさを満足するように、
式
を用いて工具送り巾Δを決定する。When using a ball end mill (radius R) as a cutting tool, the surface roughness determination preprocessor 22 determines the roughness so that the height H of the amount of uncut material on the machined surface satisfies the specified surface roughness.
Determine the tool feed width Δ using the formula.
これらの精度決定プリプロセッサ21及び面粗度決定プ
リプロセッサ22によって得られたオフセット多面体の
分割細度及び工具送りピンチのデータは、荒削り用プロ
セッサ23及び仕上削り用プロセッサ24から成る工具
径路生成プロセッサに渡され、これらに基いて幾何モデ
ルの曲面データが順次処理されて、工具径路データが最
終的に生成される。なお荒削りと仕上げ削りとは、工具
の大きさと送り巾及び仕上代の有無が夫々異なるのみで
、データ処理アルゴリズムは同一と考えてよい。また荒
削りプロセスにおいては、公差及び面粗度について考慮
しなくてよい。The data on the division fineness of the offset polyhedron and the tool feed pinch obtained by the accuracy determination preprocessor 21 and the surface roughness determination preprocessor 22 are passed to a tool path generation processor consisting of a rough cutting processor 23 and a finishing processor 24. , based on these, the curved surface data of the geometric model is sequentially processed to finally generate tool path data. Note that rough machining and finish machining differ only in the size of the tool, the feed width, and the presence or absence of a finishing allowance, and the data processing algorithm can be considered to be the same. Additionally, tolerances and surface roughness do not need to be considered during the rough cutting process.
これらの工具径路生成のプロセ・ノサ23.24の最も
重要な機能は工具干渉を回避した工具径路を決定するこ
とである。工具干渉は工具外径が大きい荒削りプロセス
で最も生じ易い。更に、工具径路生成アルゴリズムを工
夫することにより、これらのプロセッサ23.24にお
いて高速に工具径路を生成することができるようになっ
ている。The most important function of these tool path generation processors 23 and 24 is to determine a tool path that avoids tool interference. Tool interference is most likely to occur during rough cutting processes where the outside diameter of the tool is large. Furthermore, by devising the tool path generation algorithm, these processors 23 and 24 can generate tool paths at high speed.
生成された工具径路データは、荒削り及び仕上げ削りの
順にフロッピーディスク等を媒体として第1図のNCミ
ーリングマシン3に渡され、ブロック素材に対してミー
リング(フライス)切削加工が実行される。The generated tool path data is sent to the NC milling machine 3 shown in FIG. 1 using a floppy disk or the like as a medium in the order of rough cutting and finishing, and milling is performed on the block material.
なお第2図に示す工具径路生成システムには、パラメー
タ切削用プロセッサ25が付属していて、パラメータ表
現の原曲面形状データに基いて直接に切削加工すること
も可能になっている。このプロセッサ25では工具干渉
チェックを行わないが、干渉が生じないと予測できる曲
面については、曲面形状に応じてパラメータ切削を選択
することができる。Note that the tool path generation system shown in FIG. 2 is attached with a parameter cutting processor 25, and it is also possible to directly perform cutting based on the original curved surface shape data expressed in parameters. Although this processor 25 does not perform a tool interference check, for curved surfaces for which it is predicted that no interference will occur, parameter cutting can be selected depending on the shape of the curved surface.
更に工具径路生成システムは、工具径路表示プロセッサ
26及び干渉箇所表示プロセッサ27を含む。これらの
プロセッサによる3次元画像表示により、工具径路や工
具干渉を視覚で認識することができる。Furthermore, the tool path generation system includes a tool path display processor 26 and an interference location display processor 27. By displaying three-dimensional images by these processors, tool paths and tool interference can be visually recognized.
工具径路生成システムの各プロセッサ又はブリプロセッ
サは、ユーザインターフェイスモジュール28を通じて
入出力機器とデータの出し入れを行うことができる。キ
ーボードやディスプレイ、XYプロッタ等の入出力機器
を使用して、オペレータは各プロセッサを動作させ、処
理結果を得ることができる。Each processor or pre-processor of the tool path generation system can communicate with input/output devices through a user interface module 28 . Using input/output devices such as a keyboard, display, and XY plotter, an operator can operate each processor and obtain processing results.
第3図に第2図の工具径路生成システムの処理フローチ
ャートを示す。まず曲面データを計算機ファイルから読
込む(入力Pi)。次に曲面データを表示してデータを
確認する(表示P2)。次に荒削り用プロセスに進み、
荒削り用工具径路を生成させる。荒削りプロセスではま
ず仕上代と工具径を指定する(操作P3)。これらの指
定値と曲面データとに基いて、工具干渉を回避した工具
径路を荒削り用プロセッサ23 (ルーチンP4)で生
成する。これにより生成されたデータにより、荒削り用
工具径路、切削開始点、切削終了点を表示する(表示P
5)。このとき不可避の工具干渉箇所があったならばこ
れを表示する(表示P6)。FIG. 3 shows a processing flowchart of the tool path generation system of FIG. 2. First, curved surface data is read from a computer file (input Pi). Next, the curved surface data is displayed and the data is confirmed (display P2). Next, proceed to the roughing process,
Generates a tool path for rough cutting. In the rough cutting process, first, the finishing allowance and tool diameter are specified (operation P3). Based on these specified values and the curved surface data, the rough cutting processor 23 (routine P4) generates a tool path that avoids tool interference. Using the data generated, the rough cutting tool path, cutting start point, and cutting end point are displayed (display P
5). At this time, if there is an unavoidable tool interference location, this is displayed (display P6).
工具干渉が生じた場合(判断P7)、工具径を変更する
ために操作P3に戻り、再度工具径路の生成を実行する
。If tool interference occurs (judgment P7), the process returns to operation P3 to change the tool diameter and generates the tool path again.
判断P7で工具干渉が無いと判定されると、次の仕上げ
削りプロセスに進む。このプロセスでは、まず仕上げ工
具径を指定する(操作P8)。更に登録されている一般
公差テーブルの公差等級(許容公差)を指定する(操作
P9)。次に仕上げ精度決定のブリプロセッサ21 (
ルーチンP10)を起動し、指定された公差テーブルと
切削寸法との照合により、仕上げ精度(オフセット多面
体への分割細度)を決定する。更に設計図面に指定され
た面粗度値を人力する(操作pH)。この面粗度指定値
により、工具送り巾が仕上げ面粗度決定プリプロセッサ
22(ルーチンP12)によって決定される。If it is determined in determination P7 that there is no tool interference, the process proceeds to the next finishing process. In this process, first, the finishing tool diameter is specified (operation P8). Furthermore, the tolerance class (allowable tolerance) of the registered general tolerance table is specified (operation P9). Next, the buri processor 21 (
The routine P10) is started, and the finishing accuracy (fineness of division into offset polyhedrons) is determined by comparing the specified tolerance table with the cutting dimensions. Furthermore, the surface roughness value specified in the design drawing is manually determined (operation pH). Based on this specified surface roughness value, the tool feed width is determined by the finished surface roughness determination preprocessor 22 (routine P12).
次に許容公差及び指定面粗度により決定された多面体の
分割細度及び工具送り巾のデータに基いて、仕上削り用
プロセッサ24(ルーチンP13)を起動させ、仕上削
り用工具径路を生成させる。Next, the finishing milling processor 24 (routine P13) is activated to generate a finishing milling tool path based on the polyhedral division fineness and tool feed width data determined by the allowable tolerance and designated surface roughness.
生成された工具径路データにより、仕上削り用工具径路
を表示させると共に、工具干渉箇所を表示させる(表示
P14、PI3)。工具干渉が生じていたならば、判断
P16から操作P8に戻り、部分的に仕上げ工具径路を
変更し、再度工具径路を生成させる。この工具変更によ
り干渉が除去されれば、生成した工具径路データをファ
イルに書込んで一連の処理が終了する。Based on the generated tool path data, the tool path for finish cutting is displayed, and the tool interference location is also displayed (displays P14, PI3). If tool interference has occurred, the process returns from judgment P16 to operation P8, partially changes the finishing tool path, and generates the tool path again. If the interference is removed by this tool change, the generated tool path data is written to a file and the series of processes ends.
〈G、:工具径路生成プロセスの基本概念〉荒削り用プ
ロセッサ23及び仕上削り用プロセッサ24から成る工
具径路生成プロセスは、基本的には幾何モデルの曲面デ
ータからオフセット多面体を生成し、この多面体から工
具干渉の無い工具径路データを高速に生成する手順であ
る。<G.: Basic concept of tool path generation process> The tool path generation process consisting of the rough cutting processor 23 and the finish cutting processor 24 basically generates an offset polyhedron from the curved surface data of the geometric model, and generates the tool from this polyhedron. This is a procedure for generating interference-free tool path data at high speed.
第4図のようにボールエンドミル10で自由曲面Sの点
Aを切削する場合、点Aは自由曲面とボールエンドミル
の刃面との接点となる。この場合、ボールエンドミル1
0の球部の中心○と点Aを結ぶベクトルAOは自由曲面
の点Aにおける法線ベクトルになる。このベクトルをオ
フセットベクトルと称する。When cutting point A of the free-form surface S with the ball end mill 10 as shown in FIG. 4, point A becomes the contact point between the free-form surface and the blade surface of the ball end mill. In this case, ball end mill 1
The vector AO connecting the center ○ of the sphere of 0 and point A becomes the normal vector at point A of the free-form surface. This vector is called an offset vector.
一般には曲面上にある点におけるオフセットベクトルと
は、その点を始点とし、その点を切削するために工具を
接触させたとき、工具内に定めた基準点が終点となるベ
クトルでしる。ベクトルFは一般に法線ベクトルnの関
数F (n)である。In general, an offset vector at a point on a curved surface is a vector that starts from that point and ends at a reference point set in the tool when a tool is brought into contact to cut that point. Vector F is generally a function F (n) of normal vector n.
ボールエンドミルの場合、F (n)=rn (rは球
面部の半径)となる。In the case of a ball end mill, F (n)=rn (r is the radius of the spherical part).
自由曲面上の総ての点においてオフセットベクトルを考
えると、その終点は一つの曲面を形成する。この曲面を
オフセット曲面と称すと、明らかに工具中心がオフセッ
ト曲面上にあるように工具を移動させれば、目的の自由
曲面を加工することができる。Considering offset vectors at all points on a free-form surface, the end points form one curved surface. If this curved surface is called an offset curved surface, the desired free-formed surface can be machined by moving the tool so that the center of the tool is clearly on the offset curved surface.
オフセ・ノド曲面を基に工具径路を生成する最も単純な
手法は、自由曲面上で切削される点の列を考え、各点に
おけるオフセットベクトルの終端点を列を工具径路とす
る手法である。この手法は主にパラメトリックな弐で表
現された自由曲面に対して用いられている。The simplest method for generating a tool path based on an offset-knot curved surface is to consider a sequence of points to be cut on a free-form surface, and use the end point of the offset vector at each point as the sequence as the tool path. This method is mainly used for free-form surfaces expressed by parametric lines.
例えば、第5図のようなパラメトリック表現の自由曲面
を考える。曲面上の点の位1P(x、t、2)は、
x=f、 (u、v)
)’ = ft (us v)
z” fs (uS v)
によってパラメータu、vの期間として与えられる。こ
のような曲面では、u、vを与えると、曲面上の点及び
法線方向が容易に求められるので、u、vを変化させる
ことにより、第6図に示すように点列(A)を作り、こ
れに対応する工具中心の点列(0)を工具径路として得
ることができる。For example, consider a free-form surface expressed parametrically as shown in FIG. The order 1P(x, t, 2) of a point on the surface is given as the period of parameters u, v by x=f, (u, v) )' = ft (us v) z” fs (uS v) .For such a curved surface, if u and v are given, the points on the curved surface and the normal direction can be easily found, so by changing u and v, the point sequence (A) as shown in Figure 6 can be obtained. , and the corresponding point sequence (0) at the center of the tool can be obtained as the tool path.
別の手法として、第7図に示すように、自由曲面からそ
れに対応するオフセット曲面を生成し、オフセット曲面
上の点をバラメトリンクに指定することにより工具径路
を生成する手法もある。例えば、自由曲面が次の式で表
わされている場合、x”” g+(u、 v) = C
目u3+ Cl2u” V +Cl5uV” +c、4
v” +C,su” +CIhuV+CBV” +C1
11u+c、9v+c、^y=gt<u、v)=C2,
uコ+c2□u”v+cz3uv” +C!4V’ +
CBu” +cz6uv+CHV” +cBu+c2.
v+c2Az = g3(u+ ’/) = C
ff1u’ + C3zu” V +c、3u
v” +c34v’ +c35u” 十 C34
uV+ c、、v2 + C,8u + c39v +
C3A自由曲面点10の点P、〜P1゜でのオフセッ
トベクトルを考え、その終点Q1〜Q1゜を通る曲面と
してオフセット曲面を求めることができる。このオフセ
ット曲面において、パラメータU′、V″を変化させる
ことにより工具径路を生成することができる。Another method, as shown in FIG. 7, is to generate a corresponding offset curved surface from a free-formed surface and designate points on the offset curved surface as parametric links to generate a tool path. For example, if the free-form surface is expressed by the following formula, x"" g+(u, v) = C
Eye u3+ Cl2u” V +Cl5uV” +c, 4
v” +C,su” +CIhuV+CBV” +C1
11u+c, 9v+c, ^y=gt<u,v)=C2,
uko+c2□u”v+cz3uv” +C! 4V'+
CBu” +cz6uv+CHV” +cBu+c2.
v+c2Az = g3(u+'/) = C
ff1u' + C3zu" V +c, 3u
v"+c34v'+c35u" 10 C34
uV+c,,v2+C,8u+c39v+
Considering the offset vector at points P, ˜P1° of the C3A free-form surface point 10, the offset curved surface can be obtained as a curved surface passing through the end points Q1˜Q1°. In this offset curved surface, a tool path can be generated by changing parameters U' and V''.
上述の工具径路の生成手法では工具干渉が考慮されてい
ない。例えば第8図a、bに示すようにAの部分を切削
しようとすると、その近傍の必要部分が削り取られてし
まう。これは工具形状に起因する工具干渉である。或い
は第9図に示すように、ボールエンドミルの角度を変え
ない限り、工具干渉を回避してA部を削ることができな
い場合も生じる。これは加工軸の設定条件に起因する工
具干渉である。The tool path generation method described above does not take tool interference into consideration. For example, if an attempt is made to cut part A as shown in FIGS. 8a and 8b, a necessary part in the vicinity thereof will be cut off. This is tool interference caused by the tool shape. Alternatively, as shown in FIG. 9, unless the angle of the ball end mill is changed, there may be cases where it is impossible to avoid tool interference and cut part A. This is tool interference caused by the setting conditions of the machining axis.
工具干渉を発見するには、ボールエンドミルと目的の自
由曲面との交点を求める計算を行えばよいが、ある程度
の精度を得るためには多大の計算時間を必要とするため
、実際には工具干渉が起きないように人間が確認しなが
ら工具径路を生成させている。To find tool interference, you can calculate the intersection of the ball end mill and the target free-form surface, but it takes a lot of calculation time to obtain a certain degree of accuracy, so tool interference is actually detected. The tool path is generated while being checked by humans to ensure that this does not occur.
このような工具干渉問題を解決するために、第10図の
ようなZ軸方向の検定法を用いることができる。この方
法では、ボールエンドミルの軸をZ軸方向にとり、Y軸
と平行な直線lを考え、これとオフセット曲面の交点を
求める。工具干渉が生じている場合には、図のようにオ
フセット曲面上の工具径路がループを描くので、一本の
直線lに対し複数個の交点H1、H2、H3が求まる。In order to solve such a tool interference problem, a verification method in the Z-axis direction as shown in FIG. 10 can be used. In this method, the axis of the ball end mill is set in the Z-axis direction, a straight line l parallel to the Y-axis is considered, and the intersection of this line and the offset curved surface is determined. When tool interference occurs, the tool path on the offset curved surface draws a loop as shown in the figure, so a plurality of intersection points H1, H2, and H3 are found for one straight line l.
これらの交点のZ軸方向の値(高さ)に関し最も大きい
値を持つ点H3が、工具干渉を回避したオフセット面上
の点となる。このようなオフセット曲面は直線lのx、
y座標と交点の2座標とで表現される。A point H3 having the largest value (height) in the Z-axis direction of these intersection points becomes a point on the offset surface where tool interference is avoided. Such an offset curved surface is x of straight line l,
It is expressed by the y coordinate and the two coordinates of the intersection.
〈G4 :工具径路生成プロセスの具体例〉上述の原理
に基いた具体的な工具径路生成プロセスは、基本的に次
のステップより成る。<G4: Specific example of tool path generation process> A specific tool path generation process based on the above-mentioned principle basically consists of the following steps.
第1ステツプ二自由曲面からオフセット多面体を生成す
る。The first step is to generate an offset polyhedron from the two free-form surfaces.
第2ステップ:XY千画面上点におけるオフセット曲面
の最高位置を求める。Second step: Find the highest position of the offset curved surface at the top point of the XY 1000 screen.
第2ステツプのアルゴリズムとして、X軸に平行な走査
線に沿って引かれたオフセット面上の線分(セグメント
)に関しY軸の計算を行う「セグメント高さ法」を以下
に詳述する。As an algorithm for the second step, the ``segment height method'' in which the Y-axis is calculated with respect to a line segment on the offset plane drawn along the scanning line parallel to the X-axis will be described in detail below.
このアルゴリズムは、基本的にはオフセット曲面の外包
面を求める問題の解法を与えるものである。This algorithm basically provides a solution to the problem of finding the outer envelope of an offset surface.
すなわち第11図に示すように、オーバーラツプするオ
フセット曲面1.2のうちZ軸方向の上位の面に干渉の
無い工具径路が存在する。That is, as shown in FIG. 11, there is a tool path free from interference on the upper surface in the Z-axis direction of the overlapping offset curved surfaces 1.2.
第12図にセグメント高さ法の特徴を示す。この手法で
は、オフセット面の標本化を例えばY軸に沿った一方向
だけとすることにより、高い精度で工具径路を生成し得
るようにしている。即ち、線でのサンプリングを行って
いる。つまりy座標が(y、)の等間隔の各位置にてサ
ンプリングを行うことにする。各位置で平面y=yJを
考え、この平面に沿ってオフセット多面体の断面をとっ
たときの交線に対応する線分群を求める。Figure 12 shows the characteristics of the segment height method. In this method, the offset surface is sampled only in one direction along the Y axis, for example, so that the tool path can be generated with high accuracy. That is, line sampling is performed. In other words, sampling is performed at equally spaced positions whose y coordinate is (y,). Consider a plane y=yJ at each position, and find a group of line segments corresponding to the intersection lines when the cross section of the offset polyhedron is taken along this plane.
線分群の夫々は、オフセット多面体を成す四角形の各辺
と平面y”y、との交点を順に結ぶことによって得られ
る。Each of the line segment groups is obtained by sequentially connecting the intersection points of each side of the rectangle forming the offset polyhedron and the plane y''y.
次に、このようにして得られた線分群に基いて、第13
図に示すようにZ軸方向の最大高さを持つ線分群を生成
することにより、工具干渉のない工具径路が得られる。Next, based on the group of line segments obtained in this way, the 13th
As shown in the figure, by generating a line segment group having the maximum height in the Z-axis direction, a tool path without tool interference can be obtained.
第14図にセグメント高さ法の処理手順を示す。FIG. 14 shows the processing procedure of the segment height method.
ステップ1 (15図)
幾何モデル曲面上の格子点での法線ベクトルnを求める
。各格子点(サンプル点)は、既述の精度決定プリプロ
セッサ21の結果(サンプリング間隔β)を基に、要求
公差を満足するように曲面上に格子状に配置することに
よって得られる。格子間隔、即ち多面体への分割細度は
、その曲面ごとの曲率及び指定された公差等級で定まる
。Step 1 (Figure 15) Find the normal vector n at the grid point on the geometric model surface. Each grid point (sample point) is obtained by arranging the grid points on the curved surface in a grid pattern so as to satisfy the required tolerance based on the result (sampling interval β) of the accuracy determination preprocessor 21 described above. The lattice spacing, that is, the fineness of division into polyhedrons, is determined by the curvature of each curved surface and the specified tolerance class.
なお第15図は幾何モデルを構成する面素の一枚(パン
チ)を示し、これは16個の制御点によリバラメトリッ
クに表現されている。このパッチを格子状に細分する際
に精度決定プリプロセッサ21による結果を用いて、最
終仕上げ形状が公差内に入るような分割を行っている。Note that FIG. 15 shows one sheet (punch) of surface elements constituting the geometric model, which is expressed in a libarametric manner by 16 control points. When this patch is subdivided into a grid, the results from the precision determining preprocessor 21 are used to perform division so that the final finished shape falls within the tolerance.
ステップ2(第16図)
各点での法線ベクトルnからオフセットベクトルFを求
める。関数F (n)は工具形状により決定する。Step 2 (Fig. 16) Obtain an offset vector F from the normal vector n at each point. The function F (n) is determined by the tool shape.
ステップ3(第17図)
オフセットベクトルの終点で定まるオフセット曲面上の
各四辺形を二つに分割し、四角形を面素とするオフセッ
ト多面体を得る。なお四角形は平面を成さないので正確
にはオフセット多面体は生成されない。Step 3 (FIG. 17) Each quadrilateral on the offset curved surface determined by the end point of the offset vector is divided into two to obtain an offset polyhedron whose surface elements are quadrilaterals. Note that since a quadrilateral does not form a plane, an offset polyhedron cannot be accurately generated.
ステップ4(第18閃)
Y軸方向の各サンプリング位Wy jに対応するオフセ
ット面上の線分群を格納するメモリ配列を準備する。一
つの線分は始端の座標値(X18、z!3)及び終端の
座標値(Xis、Z te)で表される。Step 4 (18th flash) A memory array is prepared to store a group of line segments on the offset plane corresponding to each sampling position Wyj in the Y-axis direction. One line segment is represented by the coordinate values of the starting end (X18, z!3) and the coordinate values of the ending end (Xis, Z te).
なおサンプリング間隔は、既述の面粗度決定ブリプロセ
ッサ22によって図面指定の表面あらさを満足するよう
に計算された工具送り幅Δに等しいか、又はそれ以下と
する。Note that the sampling interval is equal to or less than the tool feed width Δ calculated by the surface roughness determining pre-processor 22 described above so as to satisfy the surface roughness specified in the drawing.
ステップ5(第19図)
オフセット面上の格子から一つの四辺形要素を取出し、
y座標の最小値ymin及び最大値ymsxを求める。Step 5 (Figure 19) Take out one quadrilateral element from the grid on the offset plane,
The minimum value ymin and maximum value ymsx of the y coordinate are determined.
ステップ6(第20図)
)’ sin〜y□8の区間に入るy、について、平面
y−yiと四辺形との交点(2つ)を求め、y、ごとに
メモリ配列に交点の座標(Xi、、 Zil) (X
iい23.)を書込む、これを総ての四辺形について繰
返す。Step 6 (Fig. 20) For y that falls in the interval from sin to y□8, find the intersection points (two) between the plane y-yi and the quadrilateral, and store the coordinates of the intersection in the memory array for each y ( Xi,, Zil) (X
i23. ) and repeat this for all quadrilaterals.
ステップ7(第21図、第22図)
yiごとに線分群のデータを用いて、Z軸方向の最上位
の線分データに変換する。即ち、y、について第21図
のようにZ軸方向に重なりが生じている複数の線分群が
得られている場合、第22図のように最上位の線分群以
外を消去して新たな線分群データを生成する。得られた
線分群のデータは、工具干渉を回避した工具径路を表す
。Step 7 (FIGS. 21 and 22) For each yi, the line segment group data is used to convert to the highest line segment data in the Z-axis direction. In other words, if a plurality of line segment groups overlapping in the Z-axis direction are obtained for y as shown in Figure 21, all but the top line segment group are deleted and a new line is created as shown in Figure 22. Generate subgroup data. The obtained line segment group data represents a tool path that avoids tool interference.
ステップ8(第23k)
このようにして得られた第18図のメモリ配列内の線分
群の座標データでもって工具径路を定めることができる
。例えば第23図に示すようにX軸方向に連続的に工具
を等速スキャンさせながら、Z軸方向の工具高さが各線
分と一致するようにZ軸制御を行う。Y軸方向には工具
をピッチΔずつステップ移動させる。加工時間を短縮す
るためにX軸の工具移動は往復で行うのがよい。Step 8 (23k) A tool path can be determined using the coordinate data of the group of line segments in the memory array of FIG. 18 thus obtained. For example, as shown in FIG. 23, while scanning the tool continuously in the X-axis direction at a constant speed, Z-axis control is performed so that the tool height in the Z-axis direction matches each line segment. The tool is moved in steps of pitch Δ in the Y-axis direction. In order to shorten machining time, it is preferable to move the tool along the X axis in a reciprocating manner.
セグメント1さ法の高凛演 アルゴリズム次に第14図
のステップ7 (第22図)で必要な演算処理を高速化
する手法について説明する。Takarin performance algorithm of segment 1 method Next, a method for speeding up the arithmetic processing required in step 7 of FIG. 14 (FIG. 22) will be described.
このステップ7で行われる演算はZ軸に関し最上位の線
分群を生成する過程であり、最も時間がかかる処理であ
る。演算処理は第24図a、、bの二タイプ及びその組
合せから成る線分の位置関係について行う。タイプaは
二つの線分のオーバーランプであり、タイプbは二つの
線分のクロスである。何れの場合も点線部分を消去する
ために線分の再定義を行う。The calculation performed in step 7 is a process of generating the highest line segment group with respect to the Z axis, and is the process that takes the most time. The arithmetic processing is performed on the positional relationships of line segments consisting of the two types shown in FIG. 24 a and b and their combinations. Type a is an overlamp of two line segments, and type b is a cross of two line segments. In either case, the line segment is redefined to eliminate the dotted line portion.
タイプaでは、線分P+PzとQIQ2とが重なってい
る。点P1が線分Q+Qzより上方にある場合、直線x
=P+xと線分Q、QZ との交点h’を求め、Z軸に
関してより上方にある線分P+Pz、とQ+P+’をオ
ーバーラツプの無い線分として得る。In type a, line segment P+Pz and QIQ2 overlap. If point P1 is above line segment Q+Qz, straight line x
The intersection point h' between =P+x and line segments Q and QZ is determined, and line segments P+Pz and Q+P+', which are located higher on the Z axis, are obtained as line segments with no overlap.
タイプbでは、線分P+PzとQ、Q2とが交わるので
、まず交点R2を求める。これにより生成された4つの
線分のうちZ軸に関し上方にあるものを選択して、クロ
スの無い二つの線分P+Rz、R+Qzを得る。In type b, line segment P+Pz intersects Q and Q2, so first find the intersection R2. Among the four line segments generated in this way, the one located above with respect to the Z axis is selected to obtain two line segments P+Rz and R+Qz without a cross.
第25図にステップ7の処理手順の詳細を示す。FIG. 25 shows details of the processing procedure in step 7.
ステップ6では、オフセット面を表わす線分群の端点が
y、ごとに求められた順序でメモリ配列に蓄えられてい
る。各線分をP isP 、e (i = 1.2−・
・−・・・−・−・・n、sは始端、eは終端を夫々表
す)とすると、メモリ内の各端点の座標データは、P
1s=(X is、21.)
Pis = (x盈い” is)
となっている。In step 6, the end points of the group of line segments representing the offset surface are stored in the memory array in the order determined for each y. Each line segment is P isP , e (i = 1.2-・
・−・−・−・・n, s represents the start end, and e represents the end point), the coordinate data of each end point in the memory is P
1s=(Xis, 21.) Pis=(x盈"is).
ステップ7−1
XisくXieとなるようにXisとX、。とを交換す
る。つまり始端から終端への方向がX軸の負方向を向い
ている線分については、X、。〈X、、であるから、始
端と終端のX座標のみを交換して全線分がX軸の正方向
を向くようにオリエンテーションを行う。2座標は変化
しないので、各線分の高さ、つまり工具径路自体は変化
しない。オリエンテーションの目的は工具径路をX軸の
一方方向に限定するためである。Step 7-1 Xis and X, so that Xis becomes Xie. exchange with. In other words, for a line segment whose direction from the starting end to the ending point is in the negative direction of the X axis, X. 〈X, . Therefore, orientation is performed so that only the X coordinates of the starting end and the ending end are exchanged so that all line segments face in the positive direction of the X axis. Since the two coordinates do not change, the height of each line segment, that is, the tool path itself does not change. The purpose of orientation is to limit the tool path to one direction of the X-axis.
ステップ7−2
各線分p is p isをX8.(始端座標)の小さ
い順にソーティング(並び変え)する。このソーティン
グにより、線分群がどのような順序でサンプリングされ
ていても、X座標が増加する順序で線分群が再配列され
、その順序で工具径路が生成される。Step 7-2 Each line segment p is p is is converted to X8. Sort (rearrange) in ascending order of (starting end coordinate). Through this sorting, regardless of the order in which the line segments are sampled, the line segments are rearranged in the order of increasing X coordinates, and tool paths are generated in that order.
ステップ7−3
1及び1+1番目の隣接した線分PisPiいP・相・
、P・・1・・ 取出す・
■ X 111 =X i”l+ @の場合(第26図
)隣接した二つの線分の終端と始端とのX座標が一敗し
ている場合、工具干渉がないので、iを1つ増やし、新
たに二つの線分を取出す。Step 7-3 1st and 1+1st adjacent line segments PisPi P phase
, P... 1... Take out... ■ In the case of X 111 = Since there is not, increment i by 1 and extract two new line segments.
■ X i@<X i、、+ *の場合(第27図)前
の線分の終端と後の線分の始端とのX座標が離れている
場合には、予め決められた2i、、の高さを持つ線分Q
+ QZをp is p 、、の後に挿入する。挿入に
よりQ+ QZが新たにP i、1+ S P i。1
.。■ When X i@<X i,, + * (Figure 27) If the X coordinates of the end of the previous line segment and the start of the next line segment are far apart, the predetermined 2i,, A line segment Q with a height of
+ Insert QZ after p is p , . Due to the insertion, Q+ QZ becomes P i and 1+ S P i. 1
.. .
となり、それ以降の添字力月ずつシフトされる。, and subsequent subscripts are shifted by month.
更にiを+1進め、次の処理を行う。なおメモリ内でデ
ータの挿入、移動を容易にするために、実際にはポイン
タ構造により線分の配列及びデータ管理を行っている。Furthermore, i is incremented by +1 and the next process is performed. Note that in order to facilitate the insertion and movement of data within the memory, line segment arrangement and data management are actually performed using a pointer structure.
■ Xie 〉xi+l+ sの場合(第28図)前の
線分の終端が後の線分の始端よりもX軸に関し後方にあ
る場合には、線分どうしのオーバーランプがあり、工具
干渉が生じている。この場合には、第28図のように2
つの線分を最大4つの区間I〜■に分割する。■ In the case of Xie 〉xi+l+s (Fig. 28) If the end of the previous line segment is behind the start end of the next line segment with respect to the X-axis, there will be an overlamp between the line segments and tool interference will occur. ing. In this case, as shown in Figure 28, 2
A line segment is divided into a maximum of four sections I to ■.
(a)、Xis≠Pi41+1の場合、区間Iが存在す
る。(a) If Xis≠Pi41+1, section I exists.
(b)、線分PisPi。とP i+l+ S P i
41+ @とが交叉する場合には、交点R8が存在し、
区間■と■が出来る。交叉しない場合には、■、■は1
つの区間となる。(b), line segment PisPi. and P i+l+ S P i
41+ @ intersects, there is an intersection R8,
Sections ■ and ■ can be created. If they do not intersect, ■ and ■ are 1.
There will be two sections.
(C)、Xzl≠X、や11.の場合、区間■が存在す
る。(C), Xzl≠X, and 11. In the case of , an interval ■ exists.
次に区間■、■において、X軸の上方にある線分を選択
する。更に元の線分PisPi*とPi+l+IP、。Next, select the line segment above the X-axis in the sections ■ and ■. Furthermore, the original line segments PisPi* and Pi+l+IP.
1.。をデータから削除し、新しく得られた4つの線分
S1〜Sv、をx!1≠X1+1+@の区間に挿入する
。1. . is deleted from the data, and the newly obtained four line segments S1 to Sv are x! Insert in the interval 1≠X1+1+@.
上記ステップ7−3はi=nとなるまで繰返される。た
だし処理中にn (tt数)の値は変化する。The above step 7-3 is repeated until i=n. However, the value of n (tt number) changes during processing.
以上の処理により、工具干渉の発生部分を検知して干渉
を排除することができる。なお干渉のない部分では、単
に第25図の■又は■の処理を通るループを回るので非
常に高速の処理が可能である。Through the above processing, it is possible to detect the portion where tool interference occurs and eliminate the interference. Note that in areas where there is no interference, the process simply goes through a loop that goes through the process 1 or 2 in FIG. 25, so very high-speed processing is possible.
以上のように対しセグメント高さ法では、第29図にそ
の概要を示すように、オフセット多面体から1つの四辺
形を取出し、平面y、でサンプリングして、yjに対応
したメモリ領域に一旦総ての線分データを格納し、この
データに基いて工具干渉を取除く演算を行う。線分デー
タは適当な順序でメモリに格納されるので、既述のよう
にX座標についてソーティングを行う必要がある。しか
しセグメント高さ法では線分の両端の座標データのみを
扱うので、メモリ領域も小さくてよい。従ってセグメン
ト高さ法は、より工具径路生成の効率が良く、小容量の
データプロセッサで高精度の工具径路生成が可能である
。In contrast, in the segment height method as described above, as shown in the outline in Figure 29, one quadrilateral is extracted from the offset polyhedron, sampled on the plane y, and once all the quadrilaterals are stored in the memory area corresponding to yj. The line segment data of is stored, and calculations to remove tool interference are performed based on this data. Since the line segment data is stored in the memory in an appropriate order, it is necessary to perform sorting on the X coordinate as described above. However, since the segment height method handles only the coordinate data of both ends of the line segment, the memory area may be small. Therefore, the segment height method is more efficient in generating tool paths, and can generate highly accurate tool paths with a small-capacity data processor.
第30図にセグメント高さ法による工具径路生成システ
ムをブロック図で示す。各ブロックは以下のプログラム
モジュールに対応する。FIG. 30 shows a block diagram of a tool path generation system using the segment height method. Each block corresponds to the following program module.
IVIDE
B6z i er曲面からオフセット多面体を生成する
(なお面素は四辺形で平面ではない)。IVIDE B6zi Generate an offset polyhedron from the er curved surface (note that the surface element is a quadrilateral and not a plane).
且硅
境界において、位置、接平面が不連続な部分を補うオフ
セット多面体を生成する。In addition, an offset polyhedron is generated to compensate for discontinuous positions and tangential planes at the silicon boundary.
LICE
オフセ−/ ト多面体をY軸と直交した平面で切断し、
線分群を生成する。LICE Offset/Cut the polyhedron on a plane perpendicular to the Y axis,
Generate line segments.
PVECT 工具干渉を除去する演算を行う。PVECT Perform calculations to remove tool interference.
RPATH 計算誤差等により生じる誤った線分データを除去する。RPATH Remove incorrect line segment data caused by calculation errors, etc.
また平行で継かった線分の統合等の無駄なデータの除去
を行う。It also removes useless data such as integrating parallel line segments.
本発明は上述のように、幾何曲面をオフセット多面体で
近似する処理と、オフセット多面体から工具径路を生成
する処理とを分離しているので、種々の表現形式の幾何
曲面から直接に直交3軸の工具径路データを生成できる
。As described above, the present invention separates the process of approximating a geometric surface with an offset polyhedron and the process of generating a tool path from the offset polyhedron. Tool path data can be generated.
オフセット多面体を構成する面素の1つごとに工具干渉
の除去処理を一回だけ行い、重複した演算処理が生じ無
いから、工具径路生成の効率がよ(、高速処理が可能で
ある。Tool interference removal processing is performed only once for each surface element constituting the offset polyhedron, and no duplicate calculation processing occurs, so tool path generation is efficient (and high-speed processing is possible).
工具径路は、サンプリング平面ごとにオフセット多面体
を切断した線分群データ(直線の両端座標)で表現され
るので、サンプリングに伴なう精度劣化が無く、またデ
ータを扱うプロセッサが小規模でよく、極めて実用的な
自動加ニジステムが得られる。The tool path is expressed as line segment data (coordinates at both ends of a straight line) obtained by cutting an offset polyhedron for each sampling plane, so there is no deterioration in accuracy due to sampling, and the processor that handles the data can be small-sized, making it extremely easy to use. A practical automatic addition system is obtained.
第1図は本発明の工具径路生成システムの実施例を示す
CA D / CA Mシステムの全体構成のブロック
図、第2図は工具径路生成システムのブロック図、第3
図は工具径路生成システムのデータ処理手順のフローチ
ャートである。
第4図は自由曲面とオフセット曲面との関係を示す線図
、第5図はパラメトリック表現の自由曲面を示す線図、
第6図は自由曲面から工具径路を生成する一方法を示す
線図、第7図はオフセット曲面から工具径路を生成する
一方法を示す線図、第8図は工具形状に起因する工具干
渉を示す断面図、第9図は加工軸の設定条件に起因する
工具干渉を示す断面図、第10図は工具干渉検定法を示
す断面図である。
第11図は工具干渉を回避したオフセット曲面の外包面
を示す線図、第12図はセグメント高さ法の原理を示す
線図、第13図は工具干渉を除去した線分群の線図、第
14図は、セグメント高さ法の処理手順を示すフローチ
ャートである。
第15図は第14図のフローチャートのステップ1に対
応した幾何曲面の線図、第16図はステップ2に対応し
たオフセットベクトルのria図、第17図はステップ
3に対応したオフセット多面体の線図、第18図はステ
ップ4に対応したサンプリング位置とデータメモリ配列
を示す線図、第19図はステップ5に対応したオフセッ
ト多面体の四辺形面素を示す線図、第20図はステップ
6に対応したセグメントサンプリングの線図、第21図
はステップ7に対応した線分群の位置を示す線図、第2
2図はステップ7に対応した工具干渉除去処理を行った
線分群の線図、第23図はステップ8に対応した工具径
路の線図である。
第24図a、bはセグメント高さ法において線分のオー
バーラツプ及びクロスを示す線図、第25図は第33図
のステップ7の処理手順の詳細を示すフローチャート、
第26図〜第28図は二つの隣接する線分の位置関係の
種々のB様を示す線図である。
第29図はセグメント高さ法の処理手順の概要を示す線
図、第30図は工具径路生成システムのブロック図であ
る。
なお、図面に用いた符号において、
1−・−・・−・・・−・−・・自由曲面生成処理シス
テム2・・・・−・−・・・・・−・・自由曲面切削用
工具径路生成システム
3・・−・・・−・・・−・・−・・−・NCミーリン
グマシン4・・・−・−・・−・−・・・・−人力装置
5−・・−・・・・−・・・・・・・・−ディスプレイ
21・・・−・−・・−・・・・・精度決定プリプロセ
ッサ22−−−−・−・・・−・・面粗度決定プリプロ
セッサ23・−・−・・−−一−−−荒削り用プロセッ
サ24−・・・−・−・・−仕上げ削り用プロセッサで
ある。FIG. 1 is a block diagram of the overall configuration of a CAD/CAM system showing an embodiment of the tool path generation system of the present invention, FIG. 2 is a block diagram of the tool path generation system, and FIG.
The figure is a flowchart of the data processing procedure of the tool path generation system. Figure 4 is a diagram showing the relationship between a free-form surface and an offset curved surface, and Figure 5 is a diagram showing a free-form surface expressed parametrically.
Fig. 6 is a diagram showing one method of generating a tool path from a free-form surface, Fig. 7 is a diagram showing one method of generating a tool path from an offset curved surface, and Fig. 8 is a diagram showing a method of generating a tool path from an offset curved surface. FIG. 9 is a cross-sectional view showing tool interference caused by the setting conditions of the machining axis, and FIG. 10 is a cross-sectional view showing a tool interference verification method. Fig. 11 is a line diagram showing the outer surface of an offset curved surface that avoids tool interference, Fig. 12 is a line diagram showing the principle of the segment height method, Fig. 13 is a line diagram of a group of line segments with tool interference removed, and Fig. 12 is a line diagram showing the principle of the segment height method. FIG. 14 is a flowchart showing the processing procedure of the segment height method. Fig. 15 is a diagram of the geometric surface corresponding to step 1 of the flowchart in Fig. 14, Fig. 16 is a ria diagram of the offset vector corresponding to step 2, and Fig. 17 is a diagram of the offset polyhedron corresponding to step 3. , FIG. 18 is a diagram showing the sampling position and data memory arrangement corresponding to step 4, FIG. 19 is a diagram showing the quadrilateral plane elements of the offset polyhedron corresponding to step 5, and FIG. 20 is a diagram corresponding to step 6. Fig. 21 is a diagram showing the position of the line segment group corresponding to step 7.
2 is a diagram of a line segment group subjected to tool interference removal processing corresponding to step 7, and FIG. 23 is a diagram of a tool path corresponding to step 8. 24a and 24b are diagrams showing overlap and crossing of line segments in the segment height method, FIG. 25 is a flowchart showing details of the processing procedure of step 7 in FIG. 33,
FIGS. 26 to 28 are diagrams showing various B types of positional relationships between two adjacent line segments. FIG. 29 is a diagram showing an outline of the processing procedure of the segment height method, and FIG. 30 is a block diagram of the tool path generation system. In addition, in the symbols used in the drawings, 1-・-・・・・・・・・・・Free-form surface generation processing system 2・・・・・・・・・・・・Free-form surface cutting tool Path generation system 3・・・・・・・・・NC milling machine 4・・・・・・・−・・・・・Human power device 5・・・・・・--- Display 21 --- Accuracy determination preprocessor 22 --- Surface roughness determination pre-processor 23 - - - - - - - Processor for rough cutting 24 - - - - - Processor for finish cutting.
Claims (1)
3軸制御の数値制御工作機械用の工具径路データを生成
するシステムであって、 自由曲面を切削用面素に分割し且つ工具の形状に応じて
自由曲面からオフセットさせたオフセット多面体を生成
する手段と、 上記各面素ごとに、面素と、3軸の一つ(Z軸)に平行
でY軸方向に所定間隔の平面群との交線上に工具径路を
設定するために、上記各平面上における各交線の始端及
び終端の直交座標値(X、Z)を算出して記憶する手段
と、 上記平面群の一つに属する複数の交線がX座標に関しオ
ーバーラップする場合に、そのうちのZ座標が最大のも
のを選択する手段と、 上記選択された交線に沿った工具径路データを生成する
手段とを具備する工具干渉を回避した自由曲面の加工情
報生成システム。[Claims] A system for processing data representing a three-dimensional free-form surface to generate tool path data for a numerically controlled machine tool with at least three-axis control, which divides the free-form surface into cutting surface elements. and means for generating an offset polyhedron offset from the free-form surface according to the shape of the tool; means for calculating and storing orthogonal coordinate values (X, Z) of the starting and ending points of each line of intersection on each of the planes in order to set a tool path on the line of intersection with the group of planes; When a plurality of intersection lines belonging to one overlap with respect to the X coordinate, means for selecting the one with the largest Z coordinate among them, and means for generating tool path data along the selected intersection line. A free-form surface machining information generation system that avoids tool interference.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20855286A JPS6364110A (en) | 1986-09-04 | 1986-09-04 | Processing information generating system for free curved surface evading tool interference |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20855286A JPS6364110A (en) | 1986-09-04 | 1986-09-04 | Processing information generating system for free curved surface evading tool interference |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6364110A true JPS6364110A (en) | 1988-03-22 |
Family
ID=16558075
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP20855286A Pending JPS6364110A (en) | 1986-09-04 | 1986-09-04 | Processing information generating system for free curved surface evading tool interference |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6364110A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6316513B1 (en) * | 2016-12-27 | 2018-04-25 | 三菱電機株式会社 | Machining program analyzer |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6111809A (en) * | 1984-06-26 | 1986-01-20 | Fanuc Ltd | Formation of composite curved surface |
| JPS6175904A (en) * | 1984-09-21 | 1986-04-18 | Nec Corp | Section curve producing method of free curved surface |
-
1986
- 1986-09-04 JP JP20855286A patent/JPS6364110A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6111809A (en) * | 1984-06-26 | 1986-01-20 | Fanuc Ltd | Formation of composite curved surface |
| JPS6175904A (en) * | 1984-09-21 | 1986-04-18 | Nec Corp | Section curve producing method of free curved surface |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6316513B1 (en) * | 2016-12-27 | 2018-04-25 | 三菱電機株式会社 | Machining program analyzer |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2531148B2 (en) | Free curved surface processing information generation method | |
| JP2804829B2 (en) | Curved surface processing method | |
| Warkentin et al. | Computer aided 5-axis machining | |
| JP7041660B2 (en) | Tool path generation method, tool path generation device and machine tool control device | |
| JP3121878B2 (en) | Numerically controlled method for machining workpieces | |
| JP2652848B2 (en) | Machining information generation method for free-form surface avoiding tool interference | |
| CN108227628B (en) | Machining program analysis device, computer-readable recording medium, and machining program analysis method | |
| JP2531149B2 (en) | A method for generating machining information of free-form surface in consideration of finishing accuracy | |
| JP2647650B2 (en) | Generation method of machining information of free-form surface without tool interference | |
| JPS6364110A (en) | Processing information generating system for free curved surface evading tool interference | |
| JP3148108B2 (en) | How to check 5-axis NC data | |
| JPS6362641A (en) | Machining information production system freely curved surface considering finished surface roughness | |
| JP2822194B2 (en) | Method and apparatus for creating a two-dimensional projection diagram of a three-dimensional shape model using a computer | |
| EP0365001A2 (en) | Method and apparatus for the three-dimensional processing | |
| JP2001242919A (en) | Tool reference plane calculation method, computer-readable recording medium storing tool reference plane calculation program, and tool reference plane calculation apparatus | |
| WO1993001535A1 (en) | Method for specifying position where fillet curved surface is located | |
| KR950007105B1 (en) | System for automatically genreating tool path data for automatic machining center | |
| JP2005202792A (en) | Tool height calculation device and calculation method and program therefor | |
| Matsukawa et al. | Automated Determination of Indexing Orientations and Tool Path Generation for 5-Axis Machining of Complex Shapes | |
| JP2859824B2 (en) | Numerical Control Milling Method for Curved Workpieces by Tracking the Maximum Slope Direction Tree | |
| JP2005292914A (en) | Machining path generation method, machining residue determination method, machining path generation program, machining residue determination program, and storage medium | |
| JPS6324305A (en) | Generating method for tool path data | |
| CA2344366A1 (en) | Process and system for working a workpiece through numerically controlled machine tools | |
| Lotko III et al. | Design of a Computer-Aided Modeling System: A Case Study | |
| JP2918192B2 (en) | Processing data creation method |