JP3328150B2 - Tool path data generation method - Google Patents

Tool path data generation method

Info

Publication number
JP3328150B2
JP3328150B2 JP31560296A JP31560296A JP3328150B2 JP 3328150 B2 JP3328150 B2 JP 3328150B2 JP 31560296 A JP31560296 A JP 31560296A JP 31560296 A JP31560296 A JP 31560296A JP 3328150 B2 JP3328150 B2 JP 3328150B2
Authority
JP
Japan
Prior art keywords
point
tool path
surface number
shape
path data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP31560296A
Other languages
Japanese (ja)
Other versions
JPH1173213A (en
Inventor
章夫 香村
勝彦 武井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Makino Milling Machine Co Ltd
Original Assignee
Makino Milling Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Makino Milling Machine Co Ltd filed Critical Makino Milling Machine Co Ltd
Priority to JP31560296A priority Critical patent/JP3328150B2/en
Publication of JPH1173213A publication Critical patent/JPH1173213A/en
Application granted granted Critical
Publication of JP3328150B2 publication Critical patent/JP3328150B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は工具経路データ生成
方法に関し、特に3次元自由曲面を有したワークをNC
工作機械などで切削加工するためにCAD/CAM装
置、自動プログラミング装置などにより工具経路データ
を生成する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for generating tool path data, and more particularly, to a method for forming a workpiece having a three-dimensional free-form surface by NC.
The present invention relates to a method of generating tool path data by a CAD / CAM device, an automatic programming device, or the like for cutting with a machine tool or the like.

【0002】[0002]

【従来の技術】従来、工具経路データの生成方法は加工
形状データを、予め決めたステップ量で多数点をサンプ
リングして、そのサンプリングした各点を直線でつない
で工具経路の生成を行っていた。このため、荒加工と仕
上げ加工のように加工種類によって設定されるトレラン
ス値に大きく差があってもステップ量は一定で、工具経
路データのデータ量は同じであった。特開昭63−64
105号公報には、工具経路データを生成する際に、加
工形状の寸法精度を考慮した多面体近似を行うと共に、
表面粗さ指示値に基づいて工具送り幅を決定し、多面体
上を工具送り幅を基準にサンプリングして得た座標デー
タから工具経路データを生成する自由曲面の加工情報生
成方法が開示されている。ここで工具送り幅Lは、最大
誤差δと曲率半径ρとから次式により自動的に演算す
る。 L=2√{δ(2ρ−δ)} また、特開平4−323704号公報には、基準面を工
具半径D/2分だけ上方にオフセットする手段と、経路
上の各通過点で工具と基準面との接触計算を行い工具中
心高さを求める手段と、経路をXY平面に投影したガイ
ドラインとし、ガイドライン上の各点で実際の工具形状
と自由曲面群との接触計算を次々行って工具経路を算出
する手段とを具備する工具経路データ計算装置が開示さ
れている。
2. Description of the Related Art Conventionally, a method of generating tool path data has been to generate a tool path by sampling a large number of points of machining shape data with a predetermined step amount and connecting the sampled points with a straight line. . For this reason, even if there is a large difference in the tolerance value set depending on the type of machining, such as rough machining and finish machining, the step amount is constant and the data amount of the tool path data is the same. JP-A-63-64
No. 105 discloses that when generating tool path data, a polyhedral approximation taking into account the dimensional accuracy of the machined shape is performed.
A method for generating machining information of a free-form surface that determines a tool feed width based on a surface roughness indication value and generates tool path data from coordinate data obtained by sampling a polyhedron on the basis of the tool feed width is disclosed. . Here, the tool feed width L is automatically calculated from the maximum error δ and the radius of curvature ρ according to the following equation. L = 2 {δ (2ρ−δ)} Japanese Patent Application Laid-Open No. 4-323704 discloses a means for offsetting a reference plane upward by a tool radius D / 2 and a tool at each passing point on a path. A tool that calculates the contact center with the reference plane to determine the center height of the tool and a guideline that projects the path onto the XY plane, and calculates the contact between the actual tool shape and the free-form surface group at each point on the guideline one after another There is disclosed a tool path data calculation device including means for calculating a path.

【0003】[0003]

【発明が解決しようとする課題】しかし、従来の方法に
よればステップ幅が荒加工や仕上げ加工のような加工の
種類に関係なく一定なので、例えば荒加工のようにトレ
ランス値が大きくなっても工具経路データのデータ量が
膨大になり、工具経路の生成に仕上げ加工と同程度の時
間がかかってしまうという問題がある。特開昭63−6
4105号公報の技術は、工具送り幅Lが最大誤差δだ
けでなく曲率半径ρによっても変化する。このため、工
具送り幅Lが曲率半径ρに左右されてしまうという問題
がある。特開平4−323704号公報の技術は、オフ
セット面のパッチライン上の各点でのZ値を求めている
が、パッチライン上の各点は加工の種類に関係なく一定
のステップ幅なので、多数の点の座標値を求めるのに時
間がかかり、工具経路データの生成にも時間がかかって
しまう。
However, according to the conventional method, the step width is constant irrespective of the type of machining such as rough machining or finishing machining. There is a problem that the data amount of the tool path data becomes enormous, and it takes about the same time as the finish processing to generate the tool path. JP-A-63-6
In the technique disclosed in Japanese Patent No. 4105, the tool feed width L varies not only with the maximum error δ but also with the radius of curvature ρ. Therefore, there is a problem that the tool feed width L is affected by the radius of curvature ρ. In the technique disclosed in Japanese Patent Application Laid-Open No. 4-323704, the Z value at each point on the patch line on the offset surface is determined. However, since each point on the patch line has a fixed step width regardless of the type of processing, a large number of points are required. It takes time to find the coordinate value of the point, and it takes time to generate the tool path data.

【0004】上述の問題点に鑑み本発明の目的は、荒加
工、仕上げ加工等の加工種類毎に設定されたトレランス
値に基づいてステップ量を決定し、そのトレランス値に
応じた加工精度を有した工具経路を生成することができ
る工具経路データ生成方法を提供することである。
In view of the above problems, an object of the present invention is to determine a step amount based on a tolerance value set for each type of processing such as roughing and finishing, and to provide a processing accuracy in accordance with the tolerance value. It is an object of the present invention to provide a tool path data generation method capable of generating an optimized tool path.

【0005】[0005]

【課題を解決するための手段】前述の課題を解決するた
めに本発明は、NC工作機械で任意の自由曲面を加工す
るために、工具経路データを生成する工具経路データ生
成方法において、荒加工、仕上げ加工等の加工種類毎に
予め設定したトレランス値に基づいてステップ量を決定
し、決定したステップ量毎に経由点を決める演算を行
い、工具経路データを生成する。すなわち、自由曲面を
有した加工すべきワークの形状データを読み込み、XY
平面上に設定したステップ量ごとに前記形状データを表
す曲線を等分割したときの各分割点における前記曲線上
のサンプリング点の座標値を求め、前記曲線の始点から
前記サンプリング点に引いた直線と前記曲線との間の
大距離が予め設定されたトレランス値以下となるサンプ
リング点を経由点と決め、前記経由点を新たな始点とし
て同様の方法で次の経由点を決め、前記始点から前記経
由点を順次つないで前記ワークをNC工作機械で加工す
るための工具経路データを生成する方法において、前記
ステップ量を荒加工、仕上加工の加工種類毎に予め設定
された前記トレランス値に基づいて決定し、前記決定し
たステップ量毎に前記経由点を決める演算を行い、前記
始点から前記演算で求めた各経由点を順次所定の関数で
つないで工具経路データを生成する工具経路データ生成
方法が提供される。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention relates to a tool path data generating method for generating tool path data for processing an arbitrary free-form surface with an NC machine tool. Then, a step amount is determined based on a tolerance value set in advance for each processing type such as finishing processing, and an operation for determining a via point is performed for each determined step amount to generate tool path data. That is, the shape data of a work having a free-form surface to be machined is read, and XY
Obtain the coordinate value of the sampling point on the curve at each division point when the curve representing the shape data is equally divided for each step amount set on the plane, and a straight line drawn from the start point of the curve to the sampling point. A sampling point at which the maximum distance between the curve and the maximum distance is equal to or less than a preset tolerance value is determined as a via point, and the next via point is determined in a similar manner with the via point as a new starting point, In the method of generating tool path data for processing the workpiece with an NC machine tool by sequentially connecting the via points from the start point, the step amount is set in advance for each type of rough processing and finish processing.
Is determined based on the tolerance value, performs a calculation to determine the route point for each step the amount of the determined, the tool path data by connecting sequentially a predetermined function each route point obtained by computation from the start point A method for generating tool path data to be generated is provided.

【0006】[0006]

【作用】本発明では、荒加工、仕上げ加工等の加工種類
ごとに異なっているトレランス値に応じてステップ量を
決定し、そのステップ量に基づいて工具経路データを生
成しているので、荒加工の場合は工具経路データのデー
タ量を少なくし、かつ工具経路データの生成に要する時
間を短縮することができる。形状切り換え点があって
も、形状切り換え点の座標値を求め、その形状切り換え
点も1つの経由点として工具経路データを生成している
ので、荒加工の場合の加工精度が極度に下がることはな
い。また仕上げ加工の場合には、仕上げ加工用に設定さ
れたトレランス値に基づいてステップ量を演算し、仕上
げ加工用の工具経路データを生成するので、加工精度に
応じた工具経路データを生成することができる。本発明
でステップ量とは、ワークの形状データをサンプリング
してサンプリング点の座標値を演算するためのサンプリ
ング点とサンプリング点の間の幅のことである。
According to the present invention, the step amount is determined according to the tolerance value which differs for each machining type such as rough machining and finish machining, and tool path data is generated based on the step amount. In the case of (1), the data amount of the tool path data can be reduced, and the time required for generating the tool path data can be reduced. Even if there is a shape switching point, the coordinate value of the shape switching point is obtained, and the tool switching data is generated as one via point, so that the machining accuracy in the case of rough machining may be extremely reduced. Absent. In the case of finish machining, since the step amount is calculated based on the tolerance value set for the finish machining and the tool path data for the finish machining is generated, the tool path data according to the machining accuracy is generated. Can be. In the present invention, the step amount refers to a width between sampling points for sampling shape data of a work and calculating coordinate values of the sampling points.

【0007】[0007]

【発明の実施の形態】次に本発明について図面を参照し
ながら説明する。図1は、本発明の実施の形態の工具経
路データ生成方法の手順の一例を示すフローチャート、
図2は、本発明の実施の形態の工具経路データ生成方法
で形状切り換え点の座標値を求める手順を示すフローチ
ャート、図3は、本発明の実施の形態の工具経路を生成
する加工形状の一例を示した図、図4は、本発明の実施
の形態の形状切り換え点がある場合の加工形状の一例を
示した図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a flowchart illustrating an example of a procedure of a tool path data generation method according to an embodiment of the present invention;
FIG. 2 is a flowchart showing a procedure for obtaining a coordinate value of a shape switching point by the tool path data generation method according to the embodiment of the present invention. FIG. 3 is an example of a machining shape for generating a tool path according to the embodiment of the present invention. FIG. 4 is a diagram showing an example of a processed shape when there is a shape switching point according to the embodiment of the present invention.

【0008】まず、図1と図3を参照しながら工具経路
データを生成する手順を説明する。CAD/CAM装置
などで入力した加工すべきワークの形状データを読み取
り(ステップS1)、荒加工、仕上げ加工などの加工種
類とトレランス値T、オフセット値等の加工条件データ
を設定する(ステップS2)。次に荒加工、仕上げ加工
などの加工種類ごとに予め設定したトレランス値Tに基
づいてステップ量Sを決定する(ステップS3)。ステ
ップ量Sは、予め実験的に求めたS=f(T)なるトレ
ランス値Tの関数より求められる。なお、ステップ量S
の求め方は、予め実験的に求めて登録したトレランス値
Tとの関係テーブルから該当する数値を読み出しても良
い。ステップS1で読み取ったワークの形状データをX
Y平面上に投影して工具を動かすための曲線を決定し、
その曲線をステップ量S毎にサンプリング点を設けてそ
の各サンプリング点のX、Y座標値のデータを求める
(ステップS4)。次にステップS4で決めた曲線の始
点P0のZ座標値を演算する(ステップS5)。その始
点P0から演算したステップ量Sだけ曲線上を移動した
サンプリング点P1のZ座標値を演算する(ステップS
6)。
First, a procedure for generating tool path data will be described with reference to FIGS. The shape data of the work to be machined input by a CAD / CAM device or the like is read (step S1), and machining types such as rough machining and finish machining and machining condition data such as tolerance value T and offset value are set (step S2). . Next, a step amount S is determined based on a tolerance value T set in advance for each type of processing such as roughing and finishing (step S3). The step amount S is obtained from a function of a tolerance value T such that S = f (T) obtained experimentally in advance. Note that the step amount S
The corresponding numerical value may be read from a relation table with the tolerance value T, which is experimentally obtained and registered in advance. X is the shape data of the work read in step S1.
Determine the curve to move the tool by projecting on the Y plane,
The curve is provided with sampling points for each step amount S, and the data of the X and Y coordinate values of each sampling point is obtained (step S4). Next, the Z coordinate value of the starting point P0 of the curve determined in step S4 is calculated (step S5). The Z coordinate value of the sampling point P1 moved on the curve by the step amount S calculated from the start point P0 is calculated (Step S).
6).

【0009】次に、始点P0とその始点P0からステッ
プ量Sだけ曲線上を移動したサンプリング点P1が同じ
加工曲面上にあるか否かを判定する(ステップS7)。
ここでの判定方法は、CAD/CAM装置でワークを加
工する形状データを入力するときにつけられる加工形状
の曲面の番号(以下面番号Srという)を比較し、始点
P0の面番号Srとサンプリング点P1の面番号Srが
同一番号であれば同じ加工曲面にあると判定する。この
判定の結果、2点が同一曲面上にあるときは始点P0と
サンプリング点P1とを直線で結び、その直線と加工形
状データとの間の最大距離Lを求め、その最大距離Lと
予め設定されているトレランス値Tとを比較し、最大距
離Lがトレランス値Tを越えない時はサンプリング点P
1から更にステップ量S移動したサンプリング点P2に
ついてサンプリング点P1と同じように処理を繰り返す
(ステップS8)。この処理を繰り返して最大距離Lが
トレランス値Tを越えたときは、現在のサンプリング点
から1ステップ量戻ったサンプリング点を工具経路の経
由点として記憶する。
Next, it is determined whether or not the starting point P0 and the sampling point P1 which has moved on the curve by the step amount S from the starting point P0 are on the same machining surface (step S7).
The determination method here is to compare the number of a curved surface of a processing shape (hereinafter referred to as a surface number Sr) given when inputting shape data for processing a work with a CAD / CAM apparatus, and to compare the surface number Sr of the starting point P0 with the sampling point. If the surface number Sr of P1 is the same, it is determined that the surfaces are on the same machined curved surface. As a result of this determination, when the two points are on the same curved surface, the starting point P0 and the sampling point P1 are connected by a straight line, and the maximum distance L between the straight line and the processing shape data is obtained. If the maximum distance L does not exceed the tolerance value T, the sampling point P
The process is repeated for the sampling point P2 further moved by the step amount S from 1 in the same manner as the sampling point P1 (step S8). When this processing is repeated and the maximum distance L exceeds the tolerance value T, the sampling point returned by one step from the current sampling point is stored as a via point of the tool path.

【0010】次に、ステップS4で決定した1つの曲線
データの終点か否かを判別して(ステップS9)、判別
の結果、曲線データの終点であった場合にはその曲線デ
ータの始点から終点まで記憶されたデータを予め設定さ
れたオフセット値だけオフセットし(ステップS1
0)、曲線データの終点でなかった場合には、直前に記
憶した経由点でステップS6からステップS9までの手
順を繰り返す。すべての経線データについて処理が終了
し(ステップS11)、データ終了のときは各経路デー
タの始点から終点までを直線、円弧、スプライン関数、
NURBS関数等のワークの加工形状に合った関数でつ
なぎ、NCデータに変換する(ステップS12)。ステ
ップS11において経路データ終了でないときは、次の
経線データについてステップS5からステップS11ま
での手順を行う。ステップS7において2点が同一曲面
上にないときは、加工形状の形状切り換え点の座標値を
演算する(ステップS13)。 加工形状の形状切り換
え点の座標値の演算は、加工形状がくずれることがない
ように形状切り換え点の座標値を正確に演算して、形状
切り換え点を工具経路の経由点とするために行なわれ
る。
Next, it is determined whether or not it is the end point of one curve data determined in step S4 (step S9). If the result of the determination is that it is the end point of the curve data, it is determined from the start point of the curve data to the end point. The data stored until is offset by a preset offset value (step S1).
0) If it is not the end point of the curve data, the procedure from step S6 to step S9 is repeated at the via point stored immediately before. The process is completed for all the meridian data (step S11). When the data is completed, a straight line, an arc, a spline function,
The workpieces are connected by a function such as a NURBS function suitable for the processing shape of the workpiece, and converted into NC data (step S12). If the route data is not ended in step S11, the procedure from step S5 to step S11 is performed for the next meridian data. If the two points are not on the same curved surface in step S7, the coordinate value of the shape switching point of the processed shape is calculated (step S13). The calculation of the coordinate value of the shape switching point of the machining shape is performed in order to accurately calculate the coordinate value of the shape switching point so that the machining shape does not collapse, and to make the shape switching point a waypoint of the tool path. .

【0011】次に、図2と図4を参照しながら、ステッ
プS7において面番号Srが異なって同一曲面でない場
合に、その2点間にワークの形状データに形状切り換え
点があるとして形状切り換え点の座標値を演算する手順
について説明する。まず、現在位置の加工形状曲面の面
番号Sr2を記憶する(ステップS101)。形状切り
換え点を演算するために現在のサンプリング点をPe、
1つ前のサンプリング点をPsと置き(ステップS10
2)、現在設定されているステップ量Sを半分のステッ
プ量S/2にする(ステップS103)。現在のサンプ
リング点Peからステップ量S/2だけ曲線上を戻った
位置をサンプリング点Ptとし(ステップS104)、
サンプリング点PtのZ座標値を演算し、サンプリング
点Ptの面番号と共に記憶する(ステップS105)。
Next, referring to FIGS. 2 and 4, if the surface number Sr is different and not the same curved surface in step S7, it is determined that there is a shape switching point in the workpiece shape data between the two points, and the shape switching point is determined. The procedure for calculating the coordinate values of will be described. First, the surface number Sr2 of the processed shape curved surface at the current position is stored (step S101). In order to calculate the shape switching point, the current sampling point is Pe,
The previous sampling point is set as Ps (step S10).
2) The currently set step amount S is reduced to half the step amount S / 2 (step S103). The position returned on the curve by the step amount S / 2 from the current sampling point Pe is set as the sampling point Pt (step S104).
The Z coordinate value of the sampling point Pt is calculated and stored together with the surface number of the sampling point Pt (step S105).

【0012】次にサンプリング点Ptの面番号とサンプ
リング点Psの面番号Sr1とを比較し(ステップS1
06)、サンプリング点Ptの面番号とサンプリング点
Psの面番号Sr1が同じである場合には、サンプリン
グ点Pt=Psと置いて(ステップS107)、ステッ
プ量を更に半分のステップ量S/4にし(ステップS1
08)、先に置いたサンプリング点Psからステップ量
S/4だけ進んだ位置をサンプリング点Ptとする(ス
テップS109)。また、ステップS106でサンプリ
ング点Ptの面番号とサンプリング点Psの面番号Sr
1が異なっていた場合には、サンプリング点Pt=Pe
と置いて(ステップS110)、ステップ量を更に半分
のステップ量S/4にし(ステップS111)、先に置
いたサンプリング点Peからステップ量S/4だけ戻っ
た位置をサンプリング点Ptとする(ステップS11
2)。
Next, the surface number of the sampling point Pt is compared with the surface number Sr1 of the sampling point Ps (step S1).
06) If the surface number of the sampling point Pt is the same as the surface number Sr1 of the sampling point Ps, the sampling point Pt is set to Ps = Ps (step S107), and the step amount is further reduced to half the step amount S / 4. (Step S1
08), a position advanced by the step amount S / 4 from the previously set sampling point Ps is set as the sampling point Pt (step S109). Also, in step S106, the surface number of the sampling point Pt and the surface number Sr of the sampling point Ps
1 is different, the sampling point Pt = Pe
(Step S110), the step amount is further reduced to half the step amount S / 4 (step S111), and the position returned by the step amount S / 4 from the previously set sampling point Pe is set as the sampling point Pt (step S110). S11
2).

【0013】以上の演算をサンプリング点Psとサンプ
リング点Peの間の距離がNCプログラムの最小設定単
位などの閾値より小さくなるまで繰り返し行い(ステッ
プS113)、サンプリング点Psとサンプリング点P
eの間の距離が閾値より小さくなったときのサンプリン
グ点Ptを形状切り換え点とする。この求められた形状
切り換え点を工具経路の1つの経由点として、工具経路
データを生成する。
The above calculation is repeated until the distance between the sampling point Ps and the sampling point Pe becomes smaller than a threshold such as the minimum setting unit of the NC program (step S113).
The sampling point Pt when the distance between e becomes smaller than the threshold value is set as the shape switching point. The tool path data is generated with the obtained shape switching point as one waypoint of the tool path.

【0014】[0014]

【発明の効果】以上説明したように本発明によれば、荒
加工、仕上げ加工等の加工種類ごとに異なっているトレ
ランス値の大きさに応じてステップ量を決めて工具経路
を生成しているので、荒加工の場合はステップ量が大き
くなり、工具経路データを生成するための演算回数を少
なくでき、結果として工具経路データを生成する時間が
短縮される。また形状切り換え点があっても、形状切り
換え点の座標値を求め、その形状切り換え点も1つの経
由点として工具経路データを生成しているので、荒加工
の場合の加工精度が極度に下がらない。仕上げ加工の場
合は、トレランス値が小さく設定されるのでステップ量
もそれに応じて小さくなり、形状精度の良い工具経路デ
ータが生成される。
As described above, according to the present invention, the tool path is generated by determining the step amount according to the magnitude of the tolerance value which differs for each type of machining such as rough machining and finish machining. Therefore, in the case of rough machining, the step amount becomes large, and the number of calculations for generating the tool path data can be reduced. As a result, the time for generating the tool path data is shortened. Further, even if there is a shape switching point, the coordinate value of the shape switching point is obtained, and the tool switching data is generated as one via point, so that the machining accuracy in the case of rough machining is not extremely reduced. . In the case of finish machining, since the tolerance value is set small, the step amount also becomes small accordingly, and tool path data with good shape accuracy is generated.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態の工具経路データ生成方法
の手順の一例を示すフローチャートである。
FIG. 1 is a flowchart illustrating an example of a procedure of a tool path data generation method according to an embodiment of the present invention.

【図2】本発明の実施の形態の工具経路データ生成方法
で形状切り換え点の座標値を求める手順を示すフローチ
ャートである。
FIG. 2 is a flowchart illustrating a procedure for obtaining a coordinate value of a shape switching point by the tool path data generation method according to the embodiment of the present invention.

【図3】本発明の実施の形態の工具経路を生成する加工
形状の一例を示した図である。
FIG. 3 is a diagram illustrating an example of a machining shape for generating a tool path according to the embodiment of the present invention.

【図4】本発明の実施の形態の形状切り換え点がある場
合の加工形状の一例を示した図である。
FIG. 4 is a diagram illustrating an example of a processed shape when there is a shape switching point according to the embodiment of the present invention;

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/4093 G05B 19/4097 B23Q 15/00 Continuation of the front page (58) Field surveyed (Int. Cl. 7 , DB name) G05B 19/4093 G05B 19/4097 B23Q 15/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 自由曲面を有した加工すべきワークの形
状データを読み込み、XY平面上に設定したステップ量
ごとに前記形状データを表す曲線を等分割したときの各
分割点における前記曲線上のサンプリング点の座標値を
求め、前記曲線の始点から前記サンプリング点に引いた
直線と前記曲線との間の最大距離が予め設定されたトレ
ランス値以下となるサンプリング点を経由点と決め、前
記経由点を新たな始点として同様の方法で次の経由点を
決め、前記始点から前記経由点を順次つないで前記ワー
クをNC工作機械で加工するための工具経路データを生
成する方法において、 前記ステップ量を荒加工、仕上加工の加工種類毎に予め
設定された前記トレランス値に基づいて決定し、 前記決定したステップ量毎に前記経由点を決める演算を
行い、 前記始点から前記演算で求めた各経由点を順次所定の関
数でつないで工具経路データを生成することを特徴とす
る工具経路データ生成方法。
1. A shape data of a work to be machined having a free-form surface is read, and a curve representing the shape data is equally divided for each set step amount on an XY plane. The coordinate value of the sampling point is obtained, and a sampling point at which the maximum distance between a straight line drawn from the start point of the curve to the sampling point and the curve is equal to or less than a predetermined tolerance value is determined as a via point, and the via point is determined. Is used as a new starting point to determine the next waypoint in the same manner, and sequentially connects the waypoints from the starting point to generate tool path data for machining the workpiece with the NC machine tool, wherein the step amount is For each type of roughing and finishing
It is determined based on the set tolerance value, an operation for determining the via point is performed for each of the determined step amounts, and the respective via points obtained by the calculation from the start point are sequentially connected by a predetermined function to obtain the tool path data. And generating a tool path data.
【請求項2】 前記加工すべきワークの形状データに形
状切り換え点が存在する場合には、前記形状切り換え点
の座標値を演算し、 前記演算した形状切り換え点を工具経路の1つの経由点
として、前記始点から前記演算で求めた各経由点を順次
所定の関数でつないで工具経路データを生成する請求項
1に記載の工具経路データ生成方法。
2. When a shape switching point exists in the shape data of the workpiece to be machined, a coordinate value of the shape switching point is calculated, and the calculated shape switching point is set as one waypoint of a tool path. The tool path data generation method according to claim 1, wherein the tool path data is generated by sequentially connecting the via points obtained by the calculation from the start point by a predetermined function.
【請求項3】 前記形状切り換え点の座標値の演算は、3. The calculation of the coordinate value of the shape switching point is as follows: 前記曲線上の第2面番号(Sr2)を有する現在のサンThe current sun having the second surface number (Sr2) on the curve
プリング点(Pe)とその1つ前の第1面番号(SrPulling point (Pe) and the previous first surface number (Sr
1)を有するサンプリング点(Ps)との間のステップStep between sampling point (Ps) having 1)
量Sの1/2だけ戻った該曲線上の分割点(Pt1)のOf the division point (Pt1) on the curve returned by の of the quantity S
座標値とその第3面番号(Sr3)を求め、Find the coordinate value and its third surface number (Sr3), 前記第1面番号(Sr1)と前記第2面番号(Sr2)The first surface number (Sr1) and the second surface number (Sr2)
のうち前記第3面番号(Sr3)に一致する面番号側のOf the surface number side that matches the third surface number (Sr3)
サンプリング点として前記分割点(Pt1)を新たに定The division point (Pt1) is newly defined as a sampling point.
め、前記第3面番号(Sr3)に不一致する面番号側のTherefore, the side of the surface number that does not match the third surface number (Sr3)
サンプリング点と前記分割点との間でステップ量(S/The step amount (S / S) between the sampling point and the division point
2)をさらに1/2だけ前記不一致する面番号側のサン2) is replaced by a half of the sun on the side of the
プリング点に近づけた該曲線上の分割点(Pt2)の極The pole of the division point (Pt2) on the curve near the pulling point
座標とそCoordinates and its の面番号を求め、これを前記ステップ量の分割And divide this step amount
量が閾値より小さくなるまで収束的に繰返し行い、Iteratively repeats until the amount is less than the threshold, 前記閾値より小さくなった時点の分割点(Ptn)を前The division point (Ptn) at the point in time when it becomes smaller than the threshold
記形状切り換え点として求める、Calculated as the shape change point, 請求項2に記載の工具経路データ生成方法。The tool path data generation method according to claim 2.
JP31560296A 1996-11-11 1996-11-11 Tool path data generation method Expired - Fee Related JP3328150B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31560296A JP3328150B2 (en) 1996-11-11 1996-11-11 Tool path data generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31560296A JP3328150B2 (en) 1996-11-11 1996-11-11 Tool path data generation method

Publications (2)

Publication Number Publication Date
JPH1173213A JPH1173213A (en) 1999-03-16
JP3328150B2 true JP3328150B2 (en) 2002-09-24

Family

ID=18067336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31560296A Expired - Fee Related JP3328150B2 (en) 1996-11-11 1996-11-11 Tool path data generation method

Country Status (1)

Country Link
JP (1) JP3328150B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6124721B2 (en) * 2013-07-22 2017-05-10 三菱電機株式会社 Numerical control apparatus and numerical control method
JP6289765B1 (en) * 2016-12-27 2018-03-07 三菱電機株式会社 Numerical control device, program conversion device, numerical control method and program conversion method
CN113953915B (en) * 2021-08-26 2022-11-08 烟台杰瑞石油装备技术有限公司 Polishing method and polishing device
GB2615303A (en) * 2022-01-28 2023-08-09 Dyson Technology Ltd 3D cleaning tool path generation
CN117300729B (en) * 2023-10-12 2024-04-30 山东润龙精密机床有限公司 Efficient and precise machining method for normal round holes of special-shaped products based on three-axis machine tool

Also Published As

Publication number Publication date
JPH1173213A (en) 1999-03-16

Similar Documents

Publication Publication Date Title
EP3457237A1 (en) Method and machine equipment for manufacturing of a cutting tool
JP3328150B2 (en) Tool path data generation method
EP0145934A2 (en) Tool display method and device for machining apparatus equipped with numerical control unit
JPS61125754A (en) Nc data preparing device for processing metal dies
JPH0152141B2 (en)
US20240033873A1 (en) Device and method for machining a workpiece
JPH06100929B2 (en) NC data creation method for machining uncut parts in NC data creation device
JPS60180749A (en) Correction controlling method for machining reference point in numerically controlled lathe
JPH06119031A (en) Nc data generating method for working of cut remaining part
JPH06277981A (en) Working device
JP3344811B2 (en) Tool path data generation method
JPH04176516A (en) Second cut machining method and second cut machining controller in wire electric discharge machining
JP2966672B2 (en) How to create NC data for corners
JPH06102914A (en) Method for generating machining program for numerical controller
JP2926524B2 (en) Numerical controller with trial cutting function
JP2581535B2 (en) Machine tool coordinate system setting device
US5184294A (en) Apparatus for generating numerical control information for machining parts
JPH069007B2 (en) NC data creation method for compound curved surface
JP2003295917A (en) Machining control device
JPH064119A (en) Automatic programming device
JPH0392245A (en) Manufacture of nc data for side surface region processing
JPH0751988A (en) Nc data automatic producing device
JPH10263933A (en) Wire electrical discharge machining method and its device
JPS63146109A (en) Automatic working control unit
JP2685328B2 (en) Shape definition method in numerical control information creation device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080712

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080712

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090712

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090712

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100712

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110712

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110712

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120712

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120712

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130712

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees