JPH10340113A - Abnormal tool path elimination method for cutting work - Google Patents

Abnormal tool path elimination method for cutting work

Info

Publication number
JPH10340113A
JPH10340113A JP16524397A JP16524397A JPH10340113A JP H10340113 A JPH10340113 A JP H10340113A JP 16524397 A JP16524397 A JP 16524397A JP 16524397 A JP16524397 A JP 16524397A JP H10340113 A JPH10340113 A JP H10340113A
Authority
JP
Japan
Prior art keywords
tool path
line segment
inspection section
inspection
tool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP16524397A
Other languages
Japanese (ja)
Other versions
JP3408403B2 (en
Inventor
Makoto Yoshida
真 吉田
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.)
Roland DG Corp
Original Assignee
Roland DG Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Roland DG Corp filed Critical Roland DG Corp
Priority to JP16524397A priority Critical patent/JP3408403B2/en
Publication of JPH10340113A publication Critical patent/JPH10340113A/en
Application granted granted Critical
Publication of JP3408403B2 publication Critical patent/JP3408403B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an abnormal tool path elimination method for the cutting work to eliminate the pinhole or spark caused by a numerical arithmetic error when a tool path program is produced and thus to obtain a work of a correct shape. SOLUTION: The check sections are defined among the end points or intersection points of the linear segments forming a tool path. If a certain check section is set in a vacant state having no segment or the segment of the check section is discontinuous to the segment of its adjacent check section and also the segment width is smaller than the prescribed value, it is decided that this check section is caused by an arithmetic error. Then a segment is added as a tool path to connect together the segments of two check sections existing at both sides of the relevant check section.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、棒状の加工具を
移動させて被加工物を切削加工することにより、所定の
加工物を得る方法に関するものであり、特に、数値演算
誤差に伴って発生する微小な隙間や突出の処理に特徴を
有するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for obtaining a predetermined workpiece by moving a rod-like processing tool to cut a workpiece, and more particularly to a method for producing a workpiece with a numerical calculation error. It is characterized by the processing of minute gaps and protrusions that occur.

【0002】[0002]

【従来の技術】従来から、所定の加工物を切削加工によ
り作成する場合、コンピューター制御によりドリル等の
加工具を駆動させて切削加工を行う切削装置を用いて、
加工用材料を切削加工することが行われている。
2. Description of the Related Art Conventionally, when a predetermined workpiece is formed by cutting, a cutting device that performs cutting by driving a processing tool such as a drill under computer control is used.
2. Description of the Related Art Cutting a processing material is performed.

【0003】このような場合、例えば、加工形状が、図
5に示すような曲線1であれば、加工具(図示せず)の
太さを考慮して、曲線1を加工具の半径分曲線1の外側
(加工形状の外側)にシフトしたオフセット形状に沿う
工具経路(加工具の中心軸に沿って、加工具の下端から
加工具の半径分上方の位置を基準とした経路)2のプロ
グラムが作成される。
In such a case, for example, if the processing shape is a curve 1 as shown in FIG. 5, the curve 1 is converted into a curve corresponding to the radius of the processing tool in consideration of the thickness of the processing tool (not shown). A program for a tool path along the offset shape shifted to the outside of the processing tool (outside of the processing tool) (a path along the central axis of the processing tool and based on a position above the lower end of the processing tool by a radius of the processing tool) Is created.

【0004】このプログラムによる工具経路2は、短い
直線状の線分を多数繋ぎ合わせて構成される。そして、
工具経路2が、図5において、一点鎖線で示した経路3
のように加工形状と干渉する部分を含む場合には、その
経路3の部分のデータは削除し、加工具が工具経路2に
おける最も上方に位置する経路だけを通るように、点
a,点b,点cを通る経路だけを残して切削加工が行わ
れる。
[0004] The tool path 2 according to this program is formed by connecting a number of short straight line segments. And
The tool path 2 is a path 3 indicated by a dashed line in FIG.
In the case where a part that interferes with the machining shape is included, the data of the part of the path 3 is deleted, and the points a and b are moved so that the processing tool passes only the uppermost path in the tool path 2. , Cutting is performed leaving only the path passing through the point c.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記の
工具経路2のプログラムを作成する際、数値演算誤差が
生じることがある。この数値演算誤差により、工具経路
2に、図6に示すような微小な隙間(以下、ピンホール
と記す)4や異常な突出(以下、スパークと記す)5が
発生することがある。
However, when a program for the tool path 2 is created, a numerical calculation error may occur. Due to the numerical calculation error, a minute gap (hereinafter, referred to as a pinhole) 4 or an abnormal protrusion (hereinafter, referred to as a spark) 5 as shown in FIG.

【0006】このような場合に、上記のような誤差を含
むプログラム通りの工具経路2に基づいて切削加工を行
うと、ピンホール4によって、加工具が非切削領域まで
切削してしまい正しい形状が得られないという問題があ
る。
In such a case, if the cutting is performed based on the tool path 2 according to the program including the error as described above, the processing tool is cut to the non-cutting area by the pinhole 4, and the correct shape is obtained. There is a problem that it cannot be obtained.

【0007】また、スパーク5によって、加工具が突然
異常な場所へ移動しようとして、加工具が移動可能な条
件の限界を超えてしまい、装置が非常停止したり、加工
具が加工材料に異常な切り込みをして折れたり損傷した
りするといった問題がある。
In addition, the spark 5 causes the processing tool to suddenly move to an abnormal location, exceeding the limit of the conditions under which the processing tool can be moved, causing an emergency stop of the apparatus or the processing tool having an abnormal processing material. There is a problem that the notch is broken or damaged.

【0008】この発明は、このような事情に鑑みなされ
たもので、工具経路のプログラムを作成する際に、数値
演算誤差によりピンホールやスパークが生じても、これ
を除去することにより、正しい形状の加工物を得ること
のできる切削加工における異常工具経路の除去方法の提
供をその目的とする。
The present invention has been made in view of such circumstances, and when a tool path program is created, even if a pinhole or a spark is generated due to a numerical calculation error, the pinhole or spark is removed to obtain a correct shape. It is an object of the present invention to provide a method for removing an abnormal tool path in a cutting process capable of obtaining a workpiece.

【0009】[0009]

【課題を解決するための手段】上記の目的を達成するた
め、この発明にかかる切削加工における異常工具経路の
除去方法は、まず、オフセット形状に沿う工具経路を構
成する複数の直線状の線分における端点や交点のそれぞ
れの走査方向の座標上における間を検査区間とする。こ
の場合の端点は各線分の両端部であり、交点とは、三次
元形状において線分同士が交差する場合の交差点であ
る。
In order to achieve the above object, a method of removing an abnormal tool path in a cutting process according to the present invention comprises first forming a plurality of linear segments constituting a tool path along an offset shape. The interval between the endpoints and intersections on the coordinates in the respective scanning directions is defined as an inspection section. In this case, the end points are both ends of each line segment, and the intersection is an intersection where the line segments intersect in the three-dimensional shape.

【0010】そして、この各端点や各交点における隣り
合うものの間をそれぞれ検査区間とし、ある検査区間が
線分のない空の状態か、または隣の検査区間との間にお
いてそれぞれに含まれる線分同士が不連続であって、か
つ、その検査区間の幅が所定値(微小な値で正しい経路
とは考えられない値)よりも狭い場合には、その検査区
間を演算誤差により生じたものとみなしてその検査区間
の両側の検査区間に含まれる線分同士を繋げるための線
分を工具経路として追加する。
[0010] The interval between adjacent ones at each end point or each intersection is defined as an inspection interval, and a certain inspection interval is empty with no line segment or a line segment included between the adjacent inspection interval. If they are discontinuous and the width of the test section is smaller than a predetermined value (a value that is not considered to be a correct path due to a small value), the test section is considered to have been caused by a calculation error. Line segments for connecting the line segments included in the inspection sections on both sides of the inspection section are added as a tool path.

【0011】これによって、かりに数値演算において誤
差が生じた場合でも、ピンホールやスパークを無視して
連続した線分による工具経路が形成されるため、ピンホ
ールやスパークに起因して生じる各種の問題を回避する
ことができるようになる。
As a result, even if an error occurs in the numerical calculation, a tool path is formed by continuous line segments ignoring pinholes and sparks, so that various problems caused by pinholes and sparks occur. Can be avoided.

【0012】また、上記空の検査区間の幅が所定値より
も広い場合には、正しい検査区間とみなし、あらかじめ
設定した最大切削深度を通る工具経路とする。このよう
な幅広の空の検査区間は、通常は工具経路と工具経路の
間に位置する形状のない部分で、特に、加工処理する必
要のない部分である。
If the width of the empty inspection section is wider than a predetermined value, it is regarded as a correct inspection section, and the tool path passes through a preset maximum cutting depth. Such a wide empty inspection section is a part having no shape which is usually located between tool paths, and in particular, a part which does not need to be processed.

【0013】このような部分は、通常、加工物の底部ま
たは台部のような部分に相当する。したがって、予め、
加工物の形状に影響を与えないような最大切削深度を設
定しておき、上記幅広の空の検査区間については、その
深さまで切削加工を行う。また、空ではないが、幅広の
不連続な線分を含む検査区間も正しい区間とみなせる。
このため、この場合には、検査区間内に複数の線分があ
れば従来例と同様最も上方の線分を工具経路として選択
する。
[0013] Such a portion usually corresponds to a portion such as the bottom or pedestal of a workpiece. Therefore,
A maximum cutting depth that does not affect the shape of the workpiece is set in advance, and the cutting process is performed up to that depth in the wide empty inspection section. An inspection section that is not empty but includes a wide discontinuous line segment can also be regarded as a correct section.
Therefore, in this case, if there are a plurality of line segments in the inspection section, the uppermost line segment is selected as the tool path as in the conventional example.

【0014】このような処理を行うことにより、ピンホ
ールやスパークによる異常工具経路と、正しい工具経路
とを区別し、適正な切削加工が行えるようになる。つぎ
に、この発明による切削加工における異常工具経路の除
去方法を図面を用いて詳しく説明する。
By performing such processing, an abnormal tool path due to a pinhole or spark can be distinguished from a correct tool path, and appropriate cutting can be performed. Next, a method of removing an abnormal tool path in cutting according to the present invention will be described in detail with reference to the drawings.

【0015】[0015]

【発明の実施の形態】図1は、この発明にかかる切削加
工における異常工具経路の除去方法を行うための切削装
置の一例を示している。すなわち、図1において、11
は入力装置であり、加工形状のデータや工具速度等、切
削加工に必要な情報などのデータが入力され、そのデー
タを、連結されたCPU12を介してメモリ13に送り
記憶させる。
FIG. 1 shows an example of a cutting apparatus for performing a method of removing an abnormal tool path in cutting according to the present invention. That is, in FIG.
Is an input device for inputting data such as data of a processing shape and information necessary for cutting, such as a tool speed, and sends the data to a memory 13 via a connected CPU 12 for storage.

【0016】上記CPU12は、各種のデータや情報に
基づいて演算処理をしながら、メモリ13が記憶するプ
ログラムに沿って作動し、連結された切削加工部14の
棒状加工具15を駆動させ、被加工物16を切削加工す
るようになっている。
The CPU 12 operates in accordance with the program stored in the memory 13 while performing arithmetic processing based on various data and information, and drives the bar-shaped working tool 15 of the connected cutting section 14 to be processed. The workpiece 16 is cut.

【0017】また、上記メモリ13には、切削部の輪郭
形状のデータを記憶する輪郭形状データ記憶部等の各種
のデータを記憶する記憶部が備わっているが、このメモ
リ13では、特に、輪郭形状データに基づいてCPU1
2がオフセット処理することにより算出されるパッチデ
ータを記憶するパッチデータ記憶部17が設けられてい
る。
The memory 13 has a storage section for storing various data such as a contour shape data storage section for storing data of the contour shape of the cutting section. CPU1 based on shape data
2 is provided with a patch data storage unit 17 for storing patch data calculated by performing an offset process.

【0018】このような切削装置を用いて、この発明に
かかる切削加工における異常工具経路の除去方法は、ま
ず、輪郭形状データに基づいてパッチデータからなるオ
フセット形状の工具経路を算出し、これをパッチデータ
記憶部17に記憶させたのち、図2に示したフローチャ
ートに沿って行われる。
The method of removing an abnormal tool path in the cutting process according to the present invention using such a cutting apparatus first calculates an offset-shaped tool path composed of patch data based on the contour shape data, and calculates this. After the patch data is stored in the patch data storage unit 17, the process is performed according to the flowchart shown in FIG.

【0019】この場合、図3に示したような一部が重な
り合った二個の山形形状の工具経路に沿って切削加工を
行う場合について説明する。この工具経路は、複数の直
線状の線分k1 ,k2 ,k3 ,k4 ,・・・・kn で構
成されており、線分k2 と線分k3 の間の線分にはスパ
ーク18ができ、線分k3 と線分k4 の間の線分にはピ
ンホール19が、線分k5 と線分k6 の間には隙間20
がそれぞれできている。
In this case, a description will be given of a case where cutting is performed along two chevron-shaped tool paths partially overlapping as shown in FIG. This tool path is composed of a plurality of straight line segments k1, k2, k3, k4,... Kn, and a spark 18 is formed in a line segment between the line segments k2 and k3. A pinhole 19 is formed between the line segment k3 and the line segment k4, and a gap 20 is formed between the line segment k5 and the line segment k6.
Are each made.

【0020】そして、図示の工具経路の線分k1 からフ
ローチャートに沿って順次処理していく。まず、図2の
ステップ1において、全検査区間終了かが問われるが、
この線分k1 が含まれる検査区間は最初の区間であるた
めNOとなり、ステップ2に進む。
Then, processing is sequentially performed from the line segment k1 of the illustrated tool path according to the flowchart. First, in step 1 of FIG. 2, it is asked whether all the inspection sections are completed.
Since the inspection section including the line segment k1 is the first section, the determination is NO, and the process proceeds to step 2.

【0021】ステップ2では、検査区間の幅DがDmin1
よりも大きいかどうかを判断する。この場合、Dmin1
は、その値以下であればスパークとみなしてその検査区
間を無視するしきい値であり、例えば、0.02mmと設
定しておく。
In step 2, the width D of the inspection section is Dmin1
Determine if it is greater than. In this case, Dmin1
Is a threshold value that is less than the value and is regarded as a spark and ignores the inspection section, and is set to, for example, 0.02 mm.

【0022】上記線分k1 は、長さ自体が短く傾斜も急
になっているため、線分k1 の端点P,P’間の検査区
間の幅Dは、0.02mmよりも小さいとしておく。そこ
で、ステップ2では、YESとなって、ステップ3に進
み、線分k2 に対応する検査区間となってステップ1に
戻る。
Since the length of the line segment k1 is short and its inclination is steep, the width D of the inspection section between the end points P and P 'of the line segment k1 is assumed to be smaller than 0.02 mm. Therefore, in step 2, the answer is YES, the process proceeds to step 3, and the inspection section corresponding to the line segment k 2 is returned to step 1.

【0023】ここで、線分k2 の検査区間の幅Dは、
0.02mmよりも大きいとすると、ステップ2でNOと
なり、ステップ4に進む。ステップ4で、その検査区間
が線分の含まれない空の状態であるかどうかが問われる
が、線分k2 の検査区間は空ではないため、NOとな
り、ステップ5に進む。
Here, the width D of the inspection section of the line segment k2 is
If it is larger than 0.02 mm, the result of step 2 is NO, and the process proceeds to step 4. In step 4, it is determined whether the inspection section is empty without a line segment. However, since the inspection section of line segment k 2 is not empty, the determination is NO, and the process proceeds to step 5.

【0024】ステップ5では、最も上方を通る線分を選
ぶとなっているが、線分k2 が含まれる検査区間では、
1個の線分しかないため、そのまま線分k2 が選ばれ
る。そして、ステップ6において、直前の工具経路の終
点、すなわち線分k1 の端点P’をP0 とし、今回の線
分の始点、すなわち線分k2 の始点をP1 とする。
In step 5, the line segment passing through the uppermost line is selected. In the inspection section including the line segment k2,
Since there is only one line segment, the line segment k2 is selected as it is. Then, in step 6, the end point of the immediately preceding tool path, that is, the end point P 'of the line segment k1 is set to P0, and the start point of the current line segment, that is, the start point of the line segment k2 is set to P1.

【0025】線分k1 と線分k2 は連続する線分である
ため、点P0 と点P1 は同じ位置に位置する。したがっ
て、ステップ7で、YESとなり、ステップ8に進み、
今回の線分である線分k2 が工具経路にされる。この場
合、線分k1 は無視されるが、この線分k1 は、短く、
殆ど垂直の状態に近い線分であるため、無視しても、切
削加工の精度には殆ど影響がない。
Since the line segments k1 and k2 are continuous line segments, the points P0 and P1 are located at the same position. Therefore, in step 7, the result is YES, and the process proceeds to step 8,
The line segment k2 which is the current line segment is set as the tool path. In this case, the line segment k1 is ignored, but the line segment k1 is short,
Since the line segment is almost vertical, ignoring it has almost no effect on the cutting accuracy.

【0026】そして、再度、ステップ3に進み、次の線
分k7 を含む検査区間となって、ステップ1に進む。こ
の線分k7 は、次の線分k8 と一直線上にあり、その間
に隙間が生じて、隙間の上方にスパーク18ができてい
る。この場合、スパーク18が含まれる検査区間の幅は
0.02mm以下とし、線分k7 と線分k8 が含まれる検
査区間の幅Dは、ともに0.02mm以上としておく。
Then, the process proceeds to step 3 again, the inspection section including the next line segment k7 is reached, and the process proceeds to step 1. This line segment k7 is on a straight line with the next line segment k8, and a gap is formed therebetween, and a spark 18 is formed above the gap. In this case, the width of the inspection section including the spark 18 is set to 0.02 mm or less, and the width D of the inspection section including the line segment k7 and the line segment k8 is set to 0.02 mm or more.

【0027】線分k7 が含まれる検査区間の幅Dが、
0.02mm以上であるため、線分k2の場合と同様に、
線分k7 もステップ1からステップ8まで進んでステッ
プ8において工具経路に含まれ、ステップ3に進む。つ
いで、スパーク18が含まれる検査区間となって、ステ
ップ1からステップ2に進む。
The width D of the inspection section including the line segment k7 is
Since it is 0.02 mm or more, similar to the case of the line segment k2,
The line segment k7 also proceeds from step 1 to step 8, is included in the tool path in step 8, and proceeds to step 3. Next, the inspection section includes the spark 18 and the process proceeds from step 1 to step 2.

【0028】スパーク18が含まれる検査区間の幅D
は、0.02mm以下であるため、ステップ2でYESと
なって、ステップ3に進み、次の検査区間である線分k
8 が含まれる検査区間になり、ステップ1,ステップ2
へと進む。この検査区間の幅Dは、0.02mm以上であ
るため、ステップ2でNOとなって、ステップ4に進
む。
The width D of the inspection section including the spark 18
Is less than or equal to 0.02 mm, so the answer to step 2 is YES and the process proceeds to step 3, where the line segment k which is the next inspection section
Step 1 and Step 2
Proceed to. Since the width D of the inspection section is equal to or greater than 0.02 mm, the answer in Step 2 is NO, and the process proceeds to Step 4.

【0029】線分k8 が含まれる検査区間は空でないた
め、ステップ5に進み、さらに、ステップ6に進む。こ
こで、前のスパーク18が含まれる検査区間は、無視さ
れたままの状態になっているため、直前の工具経路は線
分k7 となり、線分k7 の終点がP0 線分k8 の始点が
P1 となる。
Since the inspection section including the line segment k8 is not empty, the process proceeds to step 5, and further proceeds to step 6. Here, since the inspection section including the previous spark 18 has been ignored, the tool path immediately before becomes the line segment k7, and the end point of the line segment k7 is P0 and the start point of the line segment k8 is P1. Becomes

【0030】点P0 と点P1 は異なる点であるため、ス
テップ7で、NOとなり、ステップ9に進む。そして、
ステップ9で、線分k7 の点P0 と線分k8 の点P1 を
結ぶ線分が工具経路として加えられ、ついで、ステップ
8において、線分k8 も工具経路に含まれる。この結
果、線分k7 と線分k8 は連続する1個の線分となり、
スパーク18は、データから除去される。
Since the points P0 and P1 are different points, the result of step 7 is NO, and the process proceeds to step 9. And
In step 9, a line segment connecting point P0 of line segment k7 and point P1 of line segment k8 is added as a tool path. Then, in step 8, line segment k8 is also included in the tool path. As a result, the line segment k7 and the line segment k8 become one continuous line segment,
Spark 18 is removed from the data.

【0031】同様にして、線分k3 を含む検査区間、線
分k9 ,線分k10を含む検査区間へと進んでいく。ここ
で、線分k9 を含む検査区間,線分k10を含む検査区間
は、ともにその幅Dが、0.02mm以上で、線分k9 と
線分k10の間のピンホール19を含む検査区間の幅D
は、0.02mm以上でDmin2以下とする。また、Dmin2
は、その値以下であればピンホールとみなしてその検査
区間を無視するしきい値であり、この場合、0.2mmと
設定しておく。
Similarly, the process proceeds to the inspection section including the line segment k3 and the inspection section including the line segment k9 and the line segment k10. Here, the inspection section including the line segment k9 and the inspection section including the line segment k10 both have a width D of 0.02 mm or more and include the pinhole 19 between the line segment k9 and the line segment k10. Width D
Is not less than 0.02 mm and not more than Dmin2. Dmin2
Is a threshold value below which the pinhole is regarded as a pinhole and the inspection section is ignored. In this case, it is set to 0.2 mm.

【0032】そして、上記と同様の処理が順次行われて
線分k9 が工具経路に加えられ、ステップ3で、ピンホ
ール19を含む検査区間になるまで進んだとする。ステ
ップ3からステップ1,ステップ2へと進み、ステップ
2で、ピンホール19を含む検査区間の幅Dは、0.0
2mm以上であるため、NOとなり、ステップ4に進む。
Then, it is assumed that the same processing as described above is sequentially performed, a line segment k9 is added to the tool path, and the process proceeds to the inspection section including the pinhole 19 in step 3. The process proceeds from step 3 to step 1 and step 2. In step 2, the width D of the inspection section including the pinhole 19 is 0.0
Since it is 2 mm or more, the result is NO, and the process proceeds to step 4.

【0033】ついで、この検査区間は空であるため、Y
ESとなって、ステップ10に進む。ピンホール19を
含む検査区間の幅Dは、Dmin2(0.2mm)以下である
ため、ここでYESとなって、再度ステップ3に戻る。
Next, since this inspection section is empty, Y
It becomes ES and proceeds to step 10. Since the width D of the inspection section including the pinhole 19 is equal to or less than Dmin2 (0.2 mm), the determination is YES here, and the process returns to step 3 again.

【0034】つぎに、ピンホール19を含む検査区間は
処理されず無視された状態のまま、次の線分k10を含む
検査区間へと進んでいく。そして、ステップ1,ステッ
プ2,ステップ4,ステップ5,ステップ6進み、ステ
ップ6で、線分k9 の終点がP0 、線分k10の始点がP
1 となる。
Next, the inspection section including the pinhole 19 is not processed and is ignored and proceeds to the inspection section including the next line segment k10. Then, the process proceeds to step 1, step 2, step 4, step 5, step 6, and in step 6, the end point of the line segment k9 is P0 and the start point of the line segment k10 is P0.
It becomes 1.

【0035】ここで、この点P0 と点P1 は異なる点で
あるから、ステップ7でNOとなって、ステップ9に進
み、点P0 と点P1 を結ぶ線分が工具経路として加えら
れる。また、ステップ8において、線分k10も工具経路
に含まれるようになり、この結果、線分k9 と線分k10
も1個の連続した線分となる。
Here, since the points P0 and P1 are different points, the answer is NO in Step 7, and the process proceeds to Step 9, where a line segment connecting the points P0 and P1 is added as a tool path. In step 8, the line segment k10 is also included in the tool path. As a result, the line segment k9 and the line segment k10
Also becomes one continuous line segment.

【0036】このようにして、順次処理が行われ、線分
k11,線分k12のように、上方に他の線分があるものに
ついては除去されて、最も上方を通る線分だけを工具経
路として選択しながら処理が進んでいく。
In this way, the processing is sequentially performed, and the line segments k11 and k12 which have other line segments above them are removed, and only the line segment passing through the uppermost line is used as the tool path. The process proceeds while selecting as.

【0037】そして、線分k5 が工具経路に加えられた
のち、隙間20を含む検査区間の処理段階に進む。上記
隙間20を含む検査区間の幅DをDmin2以上とすると、
ステップ1を経て、ステップ2でNOとなってステップ
4に進み、ステップ4ではYESとなりステップ10に
進む。さらに、隙間20の幅はDmin2より大であるため
ステップ10でNOとなってステップ11に進む。
Then, after the line segment k5 is added to the tool path, the process proceeds to the processing stage of the inspection section including the gap 20. When the width D of the inspection section including the gap 20 is Dmin2 or more,
After step 1, NO is determined in step 2 and the process proceeds to step 4. YES is determined in step 4 and the process proceeds to step 10. Further, since the width of the gap 20 is larger than Dmin2, the result of step 10 is NO, and the process proceeds to step 11.

【0038】ステップ11では、工具経路は予め設定さ
れた最大切削深度Lを通る線分とされる。すなわち、こ
の隙間20は、特に、加工形状とは関係のない部分と判
断され、ここでは、加工形状に影響がでない最大切削深
度Lの深さまで切削されるような工具経路が選択され
る。この場合、最大切削深度Lの深さの点L0 と点L1
の間に線分k13が形成される。
In step 11, the tool path is a line segment passing through a preset maximum cutting depth L. That is, the gap 20 is determined to be a part that is not particularly related to the machining shape. Here, a tool path that is cut to the maximum cutting depth L that does not affect the machining shape is selected. In this case, the points L0 and L1 at the maximum cutting depth L
A line segment k13 is formed.

【0039】つぎに、ステップ6において、線分k5 の
終点がP0 となり、線分k13の始点(点L0 と同一点)
がP1 となる。ついで、ステップ7で、点P0 と点P1
は異なる点であるため、NOとなって、ステップ9に進
み、点P0 と点P1 を結ぶ線分が工具経路として追加さ
れる。
Next, in step 6, the end point of the line segment k5 becomes P0, and the start point of the line segment k13 (the same point as the point L0)
Becomes P1. Then, in step 7, the points P0 and P1
Is a different point, the determination is NO, and the process proceeds to step 9, where a line segment connecting the points P0 and P1 is added as a tool path.

【0040】そして、ステップ8で、線分k13も工具経
路とされる。つぎに、再び、ステップ3進み、対象の検
査区間は、線分k6 を含む検査区間となる。ついで、ス
テップ1,ステップ2,ステップ4,ステップ5,ステ
ップ6と進み、ステップ6で、線分k13の終点がP0 と
なり、線分k6 の始点がP1となる。
Then, in step 8, the line segment k13 is also set as the tool path. Next, the process proceeds to step 3 again, and the target inspection section becomes an inspection section including the line segment k6. Then, the process proceeds to Step 1, Step 2, Step 4, Step 5, and Step 6. In Step 6, the end point of the line segment k13 is P0, and the start point of the line segment k6 is P1.

【0041】そして、ステップ7に進み、点P0 と点P
1 は異なる点であるため、ステップ9に進み、点P0 と
点P1 を結ぶ線分が工具経路として追加される。このの
ちは、同様にして、各線分の処理が行われ、最後の線分
kn の処理が終わると、ステップ1において、YESと
なって処理が終了する。
Then, the process proceeds to a step S7, wherein the points P0 and P
Since 1 is a different point, the process proceeds to step 9 and a line segment connecting the points P0 and P1 is added as a tool path. Thereafter, similarly, the processing of each line segment is performed. When the processing of the last line segment kn is completed, YES is obtained in step 1 and the processing is terminated.

【0042】上記の処理によって、実際の切削加工時の
工具経路は、図4に示すような、各線分で形成された山
形形状と、それに連なる中央部が谷部になったもう一つ
の山形形状の2個の山形形状が1個の連続する経路とし
て得られる。
By the above-described processing, the tool path at the time of the actual cutting process has a mountain shape formed by each line segment and another mountain shape having a valley at the center part connected thereto as shown in FIG. Are obtained as one continuous path.

【0043】なお、最後の線分kn も最初の線分k1 と
同様、短く垂直方向に近い急な傾斜の線分であるため、
図4のように無視される。しかしながら、この線分k1
および線分kn を含む検査区間の幅DがDmin1よりも大
きければそのまま工具経路として残り、その場合、工具
経路の両端部は、図4の破線部のようになる。
Note that the last line segment kn is also a short and steeply inclined line segment close to the vertical direction, like the first line segment k1.
It is ignored as in FIG. However, this line segment k1
If the width D of the inspection section including the line segment kn and the line segment kn is greater than Dmin1, the tool path remains as it is, and in this case, both ends of the tool path are as shown by broken lines in FIG.

【0044】この結果、図4に示すような、工具経路に
沿って加工具15を移動させることにより、元のデータ
にスパークやピンホールがあっても、無理なく加工具1
5が移動でき、加工具15が損傷するようなことは生じ
なくなる。また、非切削領域まで、加工具15が入り込
んで必要な部分まで切削してしまうといったことも生じ
なくなる。
As a result, by moving the processing tool 15 along the tool path as shown in FIG. 4, even if the original data has a spark or a pinhole, the processing tool 1 can be easily
5 can be moved and the processing tool 15 is not damaged. In addition, it does not occur that the processing tool 15 enters the non-cutting area and cuts a necessary portion.

【0045】なお、上記の例においては、Dmin1を0.
02mmとし、Dmin2を0.2mmとしているが、これらの
しきい値は、用途等に応じて適宜、適正な値に設定する
ことができる。
In the above example, Dmin1 is set to 0.
The threshold value is set to 02 mm and Dmin2 is set to 0.2 mm, but these threshold values can be set to appropriate values as appropriate according to the use and the like.

【0046】また、上記の例では、処理前の元のデータ
において、スパーク18の下方に隙間(線分k7 と線分
k8 の間)が形成されているが、このような隙間のない
線分の上方または下方にスパークが生じる場合もある。
このような場合であっても、上記と同様、フローチャー
トに沿った処理により、スパークが無視された工具経路
が得られる。
In the above example, a gap (between the segments k7 and k8) is formed below the spark 18 in the original data before processing. Sparks may occur above or below the
Even in such a case, similarly to the above, a tool path ignoring spark can be obtained by the processing according to the flowchart.

【0047】[0047]

【発明の効果】以上のように、この発明による切削加工
における異常工具経路の除去方法は、工具経路を構成す
る複数の直線状の線分における端点や交点のそれぞれの
間を検査区間とし、ある検査区間の幅が所定値よりも狭
く、かつ、線分のない空の状態か、または隣の検査区間
との間において含まれる線分同士が不連続である場合に
は、その検査区間を演算誤差により生じたものとみなし
てその検査区間の両側の検査区間の線分同士を繋げるた
めの線分を工具経路として追加するようになっている。
As described above, according to the method for removing an abnormal tool path in cutting according to the present invention, an inspection section is set between each of the end points and intersections in a plurality of linear segments constituting the tool path. If the width of the inspection section is smaller than a predetermined value and the state is empty with no line segment, or if the line segments included between the adjacent inspection sections are discontinuous, the inspection section is calculated. A line segment for connecting the line segments of the inspection sections on both sides of the inspection section is regarded as being caused by an error, and is added as a tool path.

【0048】したがって、プログラムを作成する際にお
いて、数値演算誤差によりスパークやピンホールが生じ
ていても、それを無視して連続した工具経路が形成され
るため、ピンホールやスパークに起因して生じる加工具
の損傷や、非切削領域の誤切削等の問題を回避すること
ができるようになる。
Therefore, when a program is created, even if a spark or a pinhole is generated due to a numerical calculation error, a continuous tool path is formed ignoring the spark and a pinhole. Problems such as damage to the working tool and erroneous cutting in the non-cutting area can be avoided.

【0049】また、上記空の検査区間の幅が所定値より
も広い場合、このような検査区間は、通常は工具経路と
工具経路の間に位置する、特に、加工処理する必要のな
い部分であるため、正しい検査区間とみなし、あらかじ
め設定した最大切削深度を通る工具経路とする。
When the width of the empty inspection section is wider than a predetermined value, such an inspection section is usually located between the tool paths and especially at a portion which does not need to be processed. Therefore, it is regarded as a correct inspection section, and the tool path passes through a preset maximum cutting depth.

【0050】また、幅広の不連続な検査区間も正しい区
間とみなせるため、この場合には、複数の線分があれば
最も上方の線分を工具経路として選択する。このよう
な、処理を行うことにより、ピンホールやスパークによ
る異常工具経路と、正しい工具経路とを区別し、適正な
切削加工が行えるようになる。
Also, a wide discontinuous inspection section can be regarded as a correct section. In this case, if there are a plurality of line segments, the uppermost line segment is selected as a tool path. By performing such processing, an abnormal tool path due to a pinhole or a spark can be distinguished from a correct tool path, and appropriate cutting can be performed.

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

【図1】この発明の一例で使用する切削装置の構成図で
ある。
FIG. 1 is a configuration diagram of a cutting device used in an example of the present invention.

【図2】処理の順序を示すフローチャート図である。FIG. 2 is a flowchart showing the order of processing.

【図3】元のデータによる工具経路を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing a tool path based on original data.

【図4】異常工具経路を除去したのちの工具経路を示す
説明図である。
FIG. 4 is an explanatory diagram showing a tool path after removing an abnormal tool path.

【図5】従来例による工具経路を示す説明図である。FIG. 5 is an explanatory diagram showing a tool path according to a conventional example.

【図6】ピンホールとスパークを示す説明図である。FIG. 6 is an explanatory diagram showing a pinhole and a spark.

【符号の説明】[Explanation of symbols]

11・・・・・・・入力装置 12・・・・・・・CPU 13・・・・・・・メモリ 14・・・・・・・切削加工部 15・・・・・・・加工具 17・・・・・・・パッチデータ記憶部 18・・・・・・・スパーク 19・・・・・・・ピンホール 20・・・・・・・隙間 k1,k2,k3,k4,k5,k6,k7,k8,k9,k1
0,k11,k12,k13,kn・・・・・・・・・線分 P0 ・・・・・・・直前の工具経路の終点 P1 ・・・・・・・今回の線分の始点 L・・・・・・・・最大切削深度 D・・・・・・・・検査区間の幅 Dnin1・・・・・・スパークが含まれる検査区間の幅の
しきい値 Dmin2・・・・・・ピンホールが含まれる検査区間の幅
のしきい値
11 Input device 12 CPU 13 Memory 14 Cutting unit 15 Processing tool 17 ········ Patch data storage unit 18 ··················· Spark 19 ········· Pinhole 20 ······· Gap k1, k2, k3, k4, k5, k6 , K7, k8, k9, k1
0, k11, k12, k13, kn... Line segment P0... The end point of the immediately preceding tool path P1. ······· Maximum cutting depth D ····· Inspection section width Dnin1 ····· Inspection section width threshold including spark Dmin2 ····· Pin Threshold for inspection section width including hole

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】棒状の加工具を備えた切削装置を用いてオ
フセット処理をしながら三次元形状の切削加工を行う方
法であって、加工形状を加工具の半径分加工形状の外側
にシフトしたオフセット形状に沿う工具経路を直線状の
複数の線分で構成するとともに、この各線分の端点や交
点の間を走査方向の座標上における検査区間とし、この
検査区間が線分のない空の状態または隣接する検査区間
との間においてそれぞれ含まれる線分同士が不連続であ
って、かつ、その検査区間の幅が所定値よりも狭い場合
には、その検査区間を演算誤差により生じたものとみな
してその検査区間の両側の検査区間同士の線分を繋げる
ための工具経路を追加し、上記空の検査区間または隣接
する検査区間との間においてそれぞれ含まれる線分同士
が不連続の検査区間の幅が所定値よりも広い場合には、
その検査区間を正しいものとみなし、その検査区間の工
具経路として、あらかじめ設定した最大切削深度を通る
工具経路または最も上方の工具経路を選択することを特
徴とする切削加工における異常工具経路の除去方法。
1. A method for performing a three-dimensional cutting process while performing an offset process using a cutting device having a rod-shaped processing tool, wherein the processing shape is shifted to the outside of the processing shape by the radius of the processing tool. The tool path along the offset shape is composed of a plurality of straight line segments, and the end points and intersections of these line segments are defined as inspection sections on the coordinates in the scanning direction, and the inspection sections are empty with no line segments. Or, if the line segments included in each of the adjacent inspection sections are discontinuous and the width of the inspection section is smaller than a predetermined value, the inspection section is considered to have been caused by an arithmetic error. A tool path for connecting the line segments between the inspection sections on both sides of the inspection section is added, and the line segments included in the empty inspection section or the adjacent inspection sections are discontinuous. If the width is wider than the predetermined value,
A method for removing an abnormal tool path in a cutting process, wherein the inspection section is regarded as correct, and a tool path passing through a preset maximum cutting depth or an uppermost tool path is selected as a tool path in the inspection section. .
JP16524397A 1997-06-06 1997-06-06 Method of removing abnormal tool path in cutting Expired - Fee Related JP3408403B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16524397A JP3408403B2 (en) 1997-06-06 1997-06-06 Method of removing abnormal tool path in cutting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16524397A JP3408403B2 (en) 1997-06-06 1997-06-06 Method of removing abnormal tool path in cutting

Publications (2)

Publication Number Publication Date
JPH10340113A true JPH10340113A (en) 1998-12-22
JP3408403B2 JP3408403B2 (en) 2003-05-19

Family

ID=15808601

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16524397A Expired - Fee Related JP3408403B2 (en) 1997-06-06 1997-06-06 Method of removing abnormal tool path in cutting

Country Status (1)

Country Link
JP (1) JP3408403B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106814692A (en) * 2015-11-30 2017-06-09 兄弟工业株式会社 Control device, lathe, control method
CN108008699A (en) * 2016-10-27 2018-05-08 兄弟工业株式会社 Machining path arithmetic unit, machining path operation method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106814692A (en) * 2015-11-30 2017-06-09 兄弟工业株式会社 Control device, lathe, control method
CN108008699A (en) * 2016-10-27 2018-05-08 兄弟工业株式会社 Machining path arithmetic unit, machining path operation method
CN108008699B (en) * 2016-10-27 2020-03-03 兄弟工业株式会社 Machining path calculation device and machining path calculation method

Also Published As

Publication number Publication date
JP3408403B2 (en) 2003-05-19

Similar Documents

Publication Publication Date Title
JP3408403B2 (en) Method of removing abnormal tool path in cutting
US5107413A (en) Method whereby numerical control information preparing function determines manner of machining
JP2649838B2 (en) Method of determining processing method in numerical control information creation device
US5383131A (en) Method of determining cutting trajectory in N/C machining system
JP3269278B2 (en) CAM system for creating tooling tool path
JP4276127B2 (en) Machining tool selection device, machining tool selection method, and program
JP3380429B2 (en) Offset processing method
JP3903779B2 (en) Determination method of tool diameter and machining layer in contour machining
JP2599206B2 (en) Numerical control information creation device
JPH0691477A (en) Nc data producing method for cutting curved surface with tool of small diameter when large and small plural tools are used
WO2022024863A1 (en) Machining program editing assist device
JPH10268919A (en) Hole shape forming method for metal die for cam
JPH1011123A (en) Determination system for machining area and machining method for lathe nc data
JP2007007759A (en) Machining condition setting method, and recording medium in which machining condition setting program is recorded
JPH10171514A (en) Method for preparing contour offset tool route for cam
JPH10307615A (en) Automatic generating method for machining path of recessed groove position for cam
JP3886164B2 (en) Method and apparatus for creating tool cutting path for NC machining
JPH08249032A (en) Tool locus calculation method
JPH0446731A (en) Tool interference check system in contour machining
JPH06179150A (en) Nc data perparation for corner part
JPH04329404A (en) Nc work data preparing method
JPH0392245A (en) Manufacture of nc data for side surface region processing
JPH08106553A (en) Cad system and automatic trimming method for three-dimensional surface model
JPH10202473A (en) Preparation method for copying tool route along shape of die
JP2001157947A (en) Cutting method, and method and apparatus for preparing numerically controlled data

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030225

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090314

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090314

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100314

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100314

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130314

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140314

Year of fee payment: 11

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees