JP2002254274A - Method of detecting tool's rotating diameter - Google Patents

Method of detecting tool's rotating diameter

Info

Publication number
JP2002254274A
JP2002254274A JP2001048952A JP2001048952A JP2002254274A JP 2002254274 A JP2002254274 A JP 2002254274A JP 2001048952 A JP2001048952 A JP 2001048952A JP 2001048952 A JP2001048952 A JP 2001048952A JP 2002254274 A JP2002254274 A JP 2002254274A
Authority
JP
Japan
Prior art keywords
tool
rotation diameter
detecting
rotation
diameter
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
JP2001048952A
Other languages
Japanese (ja)
Other versions
JP3755411B2 (en
Inventor
Hiromitsu Ota
浩充 太田
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.)
Toyoda Koki KK
Original Assignee
Toyoda Koki KK
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 Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP2001048952A priority Critical patent/JP3755411B2/en
Publication of JP2002254274A publication Critical patent/JP2002254274A/en
Application granted granted Critical
Publication of JP3755411B2 publication Critical patent/JP3755411B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Machine Tool Sensing Apparatuses (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method of detecting a tool's rotating diameter that is capable of automatically detecting in a short period of time a tool's rotating diameter which differs at a different position of the tool along its rotating axis. SOLUTION: A machine tool 1 is constituted of an optical measuring instrument 21 that is disposed at a saddle 3b of the machine tool 1, a main axis servo motor 13 that rotates a tool 7, a Z axis servo motor 12 that moves the tool 7 in the upward and downward directions, and a storage device 14 that stores programs for detecting a tool's rotating diameter and data, etc. A dividing portion width W is set in the program for detecting a tool's rotating diameter, the tool 7 is moved upward and downward while being rotated, the optical measuring instrument 21 detects, among a plurality of positions of the tool 7, the position at which the tool's rotating diameter becomes maximum, while setting a detecting portion 4w based on the detected position as a reference, storing the maximum value Dmax of the rotating diameter within the detecting portion 4w, repeating the detection process until the dividing portion width w becomes less than a set value δ, the Dmax value being renewed if a new maximum rotating value is found during the detection process, and the rotating diameter value stored as Dmax at the time the detecting process is finished is made as the tool's rotating diameter of the tool 7.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、工作機械において
加工に用いる工具の回転時における工具回転径を検出す
る工具回転径検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tool rotation diameter detecting method for detecting a tool rotation diameter during rotation of a tool used for machining in a machine tool.

【0002】[0002]

【従来の技術】例えばマシンニングセンタ等の工作機械
で工作物を加工する場合、工具チップ(切削刃)を工具
取付部の外周部に取付けて加工することがある。図9
は、工具チップ(切削刃)を用いて工作物の穴開け加工
を行う状態を示す図である。工具チップ(切削刃)は多
角形状に形成されており、例えば図9に示すように、工
具チップ102の角部102aで工作物100の加工を
行う。この場合、工具チップ102の角部102aは、
工具取付具101の外周よりも半径方向の外側に突出し
ている。このような工作機械では、加工精度を向上させ
るために、工具チップ102の角部102aの回転径、
すなわち工具の回転径の最大値(以下、「工具回転径」
という)を検出する必要がある。ここで、工具回転径を
検出する必要性について説明する。工具を工具主軸に挿
着した時には、工具回転径は、工具の工具主軸への取付
け状態によって変化する。また、工具の最外周部の刃先
形状は、加工中に刃先が摩耗したり、刃先垂れが起るた
めに、加工前後では変化する。このため、最大回転径、
すなわち工具回転径が変化する。工具回転径は加工精度
に影響するため、工具回転径を検出する必要がある。従
来では、工具回転径を検出する場合、工具の回転を停止
させた状態で、作業者がツールプリセッタやマイクロメ
ータ等の測定器具を用いて、手作業で角部102aの回
転径を検出していた。
2. Description of the Related Art For example, when processing a workpiece with a machine tool such as a machining center, a tool tip (cutting blade) is sometimes mounted on an outer peripheral portion of a tool mounting portion. FIG.
FIG. 4 is a diagram showing a state in which a hole is drilled in a workpiece using a tool tip (cutting blade). The tool tip (cutting blade) is formed in a polygonal shape. For example, as shown in FIG. 9, the workpiece 100 is processed at a corner 102 a of the tool tip 102. In this case, the corner 102a of the tool tip 102
It protrudes outward in the radial direction from the outer periphery of the tool mount 101. In such a machine tool, in order to improve the processing accuracy, the rotation diameter of the corner 102a of the tool tip 102,
That is, the maximum value of the tool rotation diameter (hereinafter, “tool rotation diameter”
Need to be detected). Here, the necessity of detecting the tool rotation diameter will be described. When the tool is inserted into the tool spindle, the tool rotation diameter changes depending on the attachment state of the tool to the tool spindle. In addition, the shape of the cutting edge at the outermost periphery of the tool changes before and after the processing because the cutting edge is worn during the processing or the blade tip sags. For this reason, the maximum rotation diameter,
That is, the tool rotation diameter changes. Since the tool rotation diameter affects machining accuracy, it is necessary to detect the tool rotation diameter. Conventionally, when detecting the tool rotation diameter, in a state where the rotation of the tool is stopped, an operator manually detects the rotation diameter of the corner 102a using a measuring instrument such as a tool presetter or a micrometer. I was

【0003】[0003]

【発明が解決しようとする課題】従来の工具径検出方法
は、作業者が手作業で工具回転径を検出するため、面倒
であり、時間もかかる。そこで、工具チップ(切削刃)
が取付けられているような工具の工具回転径を自動で検
出できる工具回転径検出装置が要望される。工具回転径
を自動的に検出できる工具回転径検出方法としては、例
えばBLUM社製(ドイツ)のレーザビーム式寸法計測
装置等の光学式寸法計測装置を用いる方法が知られてい
る。レーザビーム式寸法計測装置は、レーザビーム(光
線)を発光器から受光器に向けて発光し、レーザビーム
(光線)が工具で遮光される時の受光強度によって工具
の両端の位置を検出する。そして、検出された工具の両
端の位置に基づいて工具回転径を検出する。レーザビー
ム式寸法計測装置は、工具が回転している状態で、工具
の回転径を検出することが可能である。しかしながら、
工具の回転軸に沿った各位置での回転径が同じ工具(例
えば、円柱形状の工具)の場合には、1箇所の回転径を
検出すれば工具回転径を検出することができるが、工具
の回転軸に沿った位置によって回転径が異なる工具で
は、工具の回転径が最大となる位置で、工具の回転径を
検出する必要がある。したがって、工具の回転軸に沿っ
た位置によって回転径が異なる工具の工具回転径を光学
式寸法計測装置によって検出する場合、工具の回転軸に
沿って工具を単位距離シフトさせた多数の位置で工具の
回転径を検出する必要があるため、検出に時間がかか
る。本発明は、このような問題点を解決するために創案
されたものであり、工具の回転軸に沿った位置によって
回転径が異なる工具の工具回転径を自動的に、短時間で
検出することができる工具回転径検出方法を提供するこ
とを目的とする。
The conventional tool diameter detection method is troublesome and time-consuming because the operator manually detects the tool rotation diameter. Therefore, the tool tip (cutting blade)
There is a demand for a tool rotation diameter detection device capable of automatically detecting the tool rotation diameter of a tool having a tool attached. As a tool rotation diameter detection method capable of automatically detecting a tool rotation diameter, for example, a method using an optical dimension measuring device such as a laser beam type dimension measuring device manufactured by BLUM (Germany) is known. The laser beam type dimension measuring device emits a laser beam (light beam) from a light emitting device to a light receiving device, and detects the positions of both ends of the tool based on the received light intensity when the laser beam (light beam) is blocked by the tool. Then, a tool rotation diameter is detected based on the detected positions of both ends of the tool. The laser beam type dimension measuring device can detect the rotation diameter of the tool while the tool is rotating. However,
In the case of a tool having the same rotation diameter at each position along the rotation axis of the tool (for example, a cylindrical tool), the tool rotation diameter can be detected by detecting one rotation diameter. In the case of a tool whose rotation diameter varies depending on the position along the rotation axis, it is necessary to detect the rotation diameter of the tool at the position where the rotation diameter of the tool becomes the maximum. Therefore, when detecting the tool rotation diameter of a tool having a different rotation diameter depending on the position along the rotation axis of the tool by the optical dimension measuring device, the tool is shifted at a number of positions where the tool is shifted by a unit distance along the rotation axis of the tool. Since it is necessary to detect the rotation diameter of, it takes time to detect. The present invention has been made in order to solve such a problem, and automatically detects a tool rotation diameter of a tool having a different rotation diameter according to a position along a rotation axis of the tool in a short time. It is an object of the present invention to provide a tool rotation diameter detection method that can perform the above method.

【0004】[0004]

【課題を解決するための手段】上記課題を達成するため
の本発明の第1発明は、請求項1に記載されたとおりの
工具回転径検出方法である。請求項1に記載の工具回転
径検出方法では、工具を回転させた状態で、工具の回転
軸に沿った検出区間内の複数位置における回転径を検出
し、検出された回転径の中から最大の回転径を検出する
処理を、最大回転径の位置を基準位置として、検出区間
を順次狭めながら複数回行うことよって、工具回転径を
求める。請求項1に記載の工具回転径検出方法を用いれ
ば、回転径を検出する位置の数を少なくすることができ
るため、自動的に、短時間で工具回転径を検出すること
ができる。また、第2発明は、請求項2に記載されたと
おりの工具回転径検出方法であって、前記検出処理を所
定条件が満足されるまで繰り返し実行するようにした方
法である。繰り返し実行により最大回転径の位置を含む
回転軸方向の範囲が絞られ、高精度な工具回転径検出が
可能となる。また、第3発明は、請求項3に記載された
とおりの工具回転径検出方法である。請求項3に記載の
工具径検出処理方法では、回転径を検出する位置の間隔
が設定値以下になることを検出処理の終了条件とする。
これにより、回転径検出工程の回数が最適となる。ま
た、第4発明は、請求項4に記載されたとおりの工具回
転径検出方法である。請求項4に記載の工具回転径検出
方法では、ステップ(b)の検出区間に対する回転径検出
処理工程の実行回数を検出処理の終了条件とする。この
ため、工具の回転径を検出する処理を終了させるための
判断が簡単である。また、第5発明は、請求項5に記載
されたとおりの工具回転径検出方法である。請求項5に
記載の工具回転径検出方法では、直前の回転径検出処理
工程における最大の回転径と今回の回転径検出処理工程
における最大回転径の差が設定値以内にあることを検出
処理の終了条件とする。このため、最適な状態で工具の
回転径を検出する処理を終了させることができる。ま
た、第6発明は、請求項6に記載されたとおりの工具回
転径検出方法である。請求項6に記載の工具回転径検出
方法では、各検出処理のn番目の位置で回転径を検出し
た時に、(n−1)番目の位置で検出した回転径がn番
目の位置で検出した回転径及び(n−2)番目の位置で
検出した回転径よりも大きいと判定される場合には、回
転径を検出する処理を終了する。このため、回転径を検
出する時間が一層短縮される。また、第7発明は、請求
項7に記載されたとおりの工具回転径検出方法である。
請求項7に記載の工具回転径検出方法では、光学式計測
装置を用いて工具の回転径を検出する。これにより、簡
単な構成で、安価に工具回転径を自動で検出することが
できる。
According to a first aspect of the present invention, there is provided a method for detecting a tool rotation diameter according to the first aspect of the present invention. In the tool rotation diameter detection method according to the first aspect, the rotation diameter at a plurality of positions in a detection section along the rotation axis of the tool is detected in a state where the tool is rotated, and the maximum among the detected rotation diameters is detected. The tool rotation diameter is determined by performing the process of detecting the rotation diameter of the tool a plurality of times with the position of the maximum rotation diameter as the reference position while sequentially narrowing the detection section. According to the tool rotation diameter detecting method of the first aspect, the number of positions for detecting the rotation diameter can be reduced, so that the tool rotation diameter can be automatically detected in a short time. According to a second aspect of the present invention, there is provided a tool rotation diameter detecting method according to the second aspect, wherein the detecting process is repeatedly executed until a predetermined condition is satisfied. The range in the rotation axis direction including the position of the maximum rotation diameter is narrowed by repeated execution, and highly accurate tool rotation diameter detection becomes possible. A third aspect of the present invention is a tool rotation diameter detecting method according to the third aspect. In the tool diameter detection processing method according to the third aspect, the condition for terminating the detection processing is that the interval between the positions at which the rotation diameter is detected is equal to or smaller than a set value.
Thereby, the number of rotation diameter detection steps is optimized. According to a fourth aspect of the present invention, there is provided a tool rotation diameter detecting method according to the fourth aspect. In the tool rotation diameter detection method according to the fourth aspect, the number of executions of the rotation diameter detection processing step for the detection section in step (b) is set as the detection processing end condition. For this reason, the determination for ending the process of detecting the rotation diameter of the tool is simple. A fifth invention is a method for detecting a tool rotation diameter as described in claim 5. In the tool rotation diameter detection method according to the fifth aspect, it is determined that the difference between the maximum rotation diameter in the immediately preceding rotation diameter detection processing step and the maximum rotation diameter in the current rotation diameter detection processing step is within a set value. End condition. For this reason, the process of detecting the rotation diameter of the tool in an optimal state can be terminated. According to a sixth aspect of the present invention, there is provided a tool rotation diameter detecting method as described in claim 6. In the tool rotation diameter detection method according to claim 6, when the rotation diameter is detected at the n-th position in each detection process, the rotation diameter detected at the (n-1) -th position is detected at the n-th position. If it is determined that the rotation diameter is larger than the rotation diameter and the rotation diameter detected at the (n−2) th position, the processing for detecting the rotation diameter is terminated. Therefore, the time for detecting the rotation diameter is further reduced. A seventh invention is a method of detecting a tool rotation diameter according to the seventh aspect.
According to a seventh aspect of the present invention, the rotation diameter of the tool is detected using an optical measuring device. Thus, the tool rotation diameter can be automatically detected at a low cost with a simple configuration.

【0005】[0005]

【発明の実施の形態】以下に、本発明の実施の形態を、
図1〜図3を用いて説明する。本実施の形態では、4軸
数値制御軸(NC軸)を備えるコンピュータ数値制御装
置(CNC)付きのマシニングセンタ(以下、「工作機
械」いう)1で用いられる工具7の回転径を検出する場
合について説明する。図1は、サドル3bに光学式計測
装置21を配設した工作機械1の概略図である。なお、
工作機械1の駆動方向は、図1に矢印で示すX軸方向
(紙面に対して前後方向)、Y軸方向(左右方向)、Z
軸方向(上下方向)とする。また、図1の右上部に示し
たX、Y、Zの矢印の方向をプラス方向とする。図2a
は、角部18aが直角形状の切削チップ18を工具7に
取付けて回転させた状態で、φは工具7の工具回転径を
示す。図2bは、角部18aが鋭角形状の切削チップ1
8を工具7に取付けて回転させた状態で、φは工具7の
工具回転径を示す。図3は、光学式計測装置21を用い
て工具7の回転径を検出する状態を示す概略図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below.
This will be described with reference to FIGS. In the present embodiment, a case is described in which the rotation diameter of a tool 7 used in a machining center (hereinafter, referred to as a “machine tool”) 1 having a computer numerical controller (CNC) having a 4-axis numerical control axis (NC axis) is detected. explain. FIG. 1 is a schematic diagram of a machine tool 1 in which an optical measuring device 21 is disposed on a saddle 3b. In addition,
The driving directions of the machine tool 1 are the X-axis direction (front-back direction with respect to the paper surface), the Y-axis direction (left-right direction),
In the axial direction (vertical direction). The directions of the arrows X, Y, and Z shown in the upper right part of FIG. 1 are defined as plus directions. FIG.
Indicates a state in which the cutting tip 18 having the right-angled corner portion 18a is attached to the tool 7 and rotated, and φ indicates a tool rotation diameter of the tool 7. FIG. 2b shows a cutting tip 1 having a sharp corner 18a.
In the state where 8 is attached to the tool 7 and rotated, φ indicates the tool rotation diameter of the tool 7. FIG. 3 is a schematic diagram illustrating a state where the rotation diameter of the tool 7 is detected using the optical measuring device 21.

【0006】工作機械1は、工作物Wを載置するテーブ
ル3aとこれを案内するサドル3bとを有し、サドル3
b上に工具7の軸方向各位置における回転径を検出する
ための光学式計測装置21を備えている。ベッド2及び
サドル3bには、サドル3bとテーブル3aをX軸方向
及びY軸方向に移動させる駆動用のX軸サーボモータ1
0及びY軸サーボモータ11がそれぞれ取付けられてい
る。これにより、テーブル3aは、X軸方向とY軸方向
に移動可能である。ベッド2に直立して固定されたコラ
ム4には、主軸ヘッド5をZ軸方向(上下方向)に移動
させる駆動用のZ軸サーボモータ12が取付けられてい
る。主軸ヘッド5は、Z軸方向に移動可能である。主軸
ヘッド5には、工具主軸6を回転させる駆動用の主軸サ
ーボモータ13が取付けられている。工具7は工具主軸
6に挿着されている。工作物Wは、サドル3bとテーブ
ル3aのX軸方向及びY軸方向の移動制御と、主軸ヘッ
ド5のZ軸方向の移動制御と、主軸サーボモータ13の
駆動による工具7の回転によって加工される。
The machine tool 1 has a table 3a on which a workpiece W is placed and a saddle 3b for guiding the table 3a.
An optical measuring device 21 for detecting the rotation diameter at each position in the axial direction of the tool 7 is provided on b. An X-axis servo motor 1 for driving the bed 2 and the saddle 3b to move the saddle 3b and the table 3a in the X-axis direction and the Y-axis direction.
The 0 and Y axis servomotors 11 are respectively mounted. Thus, the table 3a can move in the X-axis direction and the Y-axis direction. A column 4 fixed upright to the bed 2 is provided with a driving Z-axis servomotor 12 for moving the spindle head 5 in the Z-axis direction (up-down direction). The spindle head 5 is movable in the Z-axis direction. A spindle servomotor 13 for driving the tool spindle 6 to rotate is attached to the spindle head 5. The tool 7 is inserted into the tool spindle 6. The workpiece W is processed by movement control of the saddle 3b and the table 3a in the X-axis direction and the Y-axis direction, movement control of the spindle head 5 in the Z-axis direction, and rotation of the tool 7 driven by the spindle servomotor 13. .

【0007】工作機械1には、プログラム等を入力する
入力装置(図示省略)と、情報を表示する表示装置(図
示省略)が設けられている。入力装置を操作することに
よって、光学式計測装置21や、サドル3b、テーブル
3a、主軸ヘッド5、工具主軸6等を動作させることが
できる。また、工具の回転径検出プログラムの作成及び
編集時におけるプログラムデータや、テーブルの位置座
標や工具径の計測値等は、表示装置で表示される。
[0007] The machine tool 1 is provided with an input device (not shown) for inputting a program or the like and a display device (not shown) for displaying information. By operating the input device, the optical measuring device 21, the saddle 3b, the table 3a, the spindle head 5, the tool spindle 6, and the like can be operated. Also, program data at the time of creating and editing a tool rotation diameter detection program, position coordinates of a table, measured values of a tool diameter, and the like are displayed on a display device.

【0008】工作機械1には、4軸数値制御軸(NC
軸)を制御するコンピュータ数値制御装置(CNC)
(以下、「CNC」いう)9が設けられている。CNC
9は、中央演算処理装置(CPU)(以下、「CPU」
いう)17、記憶装置14、NC軸駆動ユニット15、
せり出し制御ユニット16で構成されている。X軸サー
ボモータ10、Y軸サーボモータ11、Z軸サーボモー
タ12、主軸サーボモータ13の駆動は、CPU17や
NC軸駆動ユニット15等によって制御される。また、
CNC9には、工具の回転径検出ルーチン(プログラ
ム)、工具の回転径補正ルーチン(プログラム)やNC
制御ルーチン(プログラム)、工具の位置や回転径等が
記憶装置14に記憶され、これらのルーチンがCPU1
7により実行されるようになっている。CPU17は、
記憶装置14、NC軸駆動ユニット15、せり出し制御
ユニット16とに連結されている。NC軸駆動ユニット
15、せり出し制御ユニット16と、X軸サーボモータ
10、Y軸サーボモータ11、Z軸サーボモータ12、
主軸サーボモータ13は、コラム4に設けられている中
継盤8を介して接続されている。
The machine tool 1 has a four-axis numerical control axis (NC
Numerical controller (CNC) for controlling the axis)
(Hereinafter, referred to as “CNC”) 9. CNC
9 is a central processing unit (CPU) (hereinafter, “CPU”)
17, storage device 14, NC axis drive unit 15,
The projection control unit 16 is configured. The driving of the X-axis servomotor 10, the Y-axis servomotor 11, the Z-axis servomotor 12, and the spindle servomotor 13 is controlled by the CPU 17, the NC-axis drive unit 15, and the like. Also,
The CNC 9 includes a tool rotation diameter detection routine (program), a tool rotation diameter correction routine (program), and an NC.
Control routines (programs), tool positions, rotational diameters, and the like are stored in the storage device 14, and these routines are executed by the CPU 1.
7 is executed. CPU 17
It is connected to the storage device 14, the NC axis drive unit 15, and the protrusion control unit 16. NC axis drive unit 15, protrusion control unit 16, X axis servo motor 10, Y axis servo motor 11, Z axis servo motor 12,
The spindle servomotor 13 is connected via a relay panel 8 provided on the column 4.

【0009】工具主軸6に図略の自動工具交換装置によ
り選択的に挿着される各種工具7には、例えば図2aと
図2bに示すように、切削チップ18が備えられてい
る。工作物Wは、切削チップ18の角部18aを用いて
加工される。工具7の内部には、例えば、実公昭61−
35365号公報に記載されるような公知のせり出し機
構(図示省略)が設けられている。せり出し機構は、工
具7を加工穴径に合わせたり、切削チップ18の角部1
8aの摩耗量を補正するため、切削チップ18を工具7
の半径方向に移動させて、工具回転径を調節するための
機構である。なお、切削チップ18の移動調整は、せり
出し制御ユニット16でせり出し機構を駆動させ、自動
で制御されるようになっている。
The various tools 7 selectively inserted into the tool spindle 6 by an automatic tool changer (not shown) are provided with cutting tips 18 as shown in FIGS. 2a and 2b, for example. The workpiece W is processed using the corner 18a of the cutting tip 18. Inside the tool 7, for example,
A known protruding mechanism (not shown) as described in Japanese Patent No. 35365 is provided. The protruding mechanism adjusts the tool 7 to the machining hole diameter, or the corner 1 of the cutting tip 18.
8a, the cutting tip 18 is inserted into the tool 7
Is a mechanism for adjusting the tool rotation diameter by moving the tool in the radial direction. Note that the movement adjustment of the cutting tip 18 is automatically controlled by driving the protrusion mechanism by the protrusion control unit 16.

【0010】光学式計測装置21には、図3に示すよう
に、レーザビーム(光線)を照射する発光器22(例え
ば、半導体レーザ素子)と、レーザビームを受光する受
光器23(例えば、フォトダイオード)が設けられてい
る。光学式計測装置21は、レーザビームの投射方向が
工具7の軸方向とほぼ直交するようにサドル3bに配設
されている。光学式計測装置21は、図3に示すよう
に、発光器22から照射されたレーザビームが、切削チ
ップ18の先端(例えば、角部18a)によって遮光さ
れ、受光器23の受光強度が閾値(例えば、受光強度が
通常時のレベルの半分)になると信号を出力し、その位
置における切削チップ18の最先端の位置を検出するこ
とができる。光学式計測装置21からの出力信号は、イ
ンタフェイス(I/F)を介してCPU17に入力され
る。光学式計測装置21の検出信号は、その時点におけ
るサドル3bの位置をX軸サーボモータ10のエンコー
ダ(図示省略)から読み取るために利用される。
As shown in FIG. 3, an optical measuring device 21 includes a light emitting device 22 (for example, a semiconductor laser device) for irradiating a laser beam (light beam) and a light receiving device 23 (for example, a photodetector) for receiving a laser beam. Diode) is provided. The optical measuring device 21 is provided on the saddle 3 b so that the projection direction of the laser beam is substantially orthogonal to the axial direction of the tool 7. As shown in FIG. 3, the optical measuring device 21 blocks the laser beam emitted from the light emitting device 22 from light by the tip (for example, the corner 18 a) of the cutting tip 18, and sets the light receiving intensity of the light receiving device 23 to a threshold value ( For example, a signal is output when the received light intensity is half of the normal level), and it is possible to detect the most advanced position of the cutting tip 18 at that position. An output signal from the optical measuring device 21 is input to the CPU 17 via an interface (I / F). The detection signal of the optical measuring device 21 is used to read the position of the saddle 3b at that time from an encoder (not shown) of the X-axis servo motor 10.

【0011】次に、上述した光学式計測装置21を用い
て、工具7の工具回転径を検出する工具回転径検出方法
について、図4〜図8に基づいて説明する。まず、工具
7の回転径を検出する動作を説明する。図4aに示す
ように、工具7を回転させた状態でサドル3bをX軸の
プラス方向からマイナス方向側に移動させ、光学式計測
装置21のレーザビームが、切削チップ18のX軸方向
プラス側の最先端で遮光される位置X1を検出する。
図4bに示すように、工具を回転させた状態で、サドル
3bをX軸のマイナス方向からプラス方向側に移動さ
せ、光学式計測装置21のレーザビームが、切削チップ
18のX軸方向マイナス側の最先端で遮光される位置X
2を検出する。両位置X1、X2の距離|X1−X2
|を求める。図5に示すように、|X1−X2|は、回
転軸方向(Z軸方向)の任意の位置における回転径であ
る。また、位置X1、X2は、光学式計測装置21が信
号を出力する時点のサドル3bの位置をX軸サーボモー
タ10のエンコーダ(図示省略)から読み取ることによ
り得られる。
Next, a method for detecting the tool rotation diameter of the tool 7 using the optical measuring device 21 will be described with reference to FIGS. First, an operation for detecting the rotation diameter of the tool 7 will be described. As shown in FIG. 4A, the saddle 3b is moved from the plus direction of the X-axis to the minus direction while the tool 7 is rotated, and the laser beam of the optical measuring device 21 is moved to the plus side of the cutting tip 18 in the X-axis direction. The position X1 which is shielded from light at the forefront of is detected.
As shown in FIG. 4B, while the tool is rotated, the saddle 3b is moved from the minus direction of the X-axis to the plus direction, and the laser beam of the optical measuring device 21 is moved to the minus side of the cutting tip 18 in the X-axis direction. Position X which is shaded at the forefront of
2 is detected. Distance between both positions X1, X2 | X1-X2
| As shown in FIG. 5, | X1−X2 | is a rotation diameter at an arbitrary position in the rotation axis direction (Z axis direction). The positions X1 and X2 are obtained by reading the position of the saddle 3b at the time when the optical measuring device 21 outputs a signal from an encoder (not shown) of the X-axis servo motor 10.

【0012】次に、工具回転径を検出する処理を、図7
及び図8のフローチャート図に基づいて説明する。以下
では、図2に示されるような、切削チップ18を備える
工具7の工具回転径を検出する場合について説明する。
光学式計測装置21を用いて工具7の工具回転径を検出
する工具回転径検出プログラムは、記憶装置14に予め
記憶されている。ここで、図7及び図8のフローチャー
ト図に用いられている変数の定義について説明する。変
数iは、回転径検出処理工程の回数(i回目)を示す。
変数jは、各回転径検出処理工程における回転径検出位
置(j番目の検出位置)を示す。変数kは、各回転径検
出処理工程における最大回転径の検出位置を示す。変数
D[i]jは、j番目の回転径検出位置における回転径を
示す。変数Dmaxは、D[i] jのなかで最大のものを示
し、変数Dold[i]jは、前回の回転径検出処理工程にお
けるj番目の回転径検出位置の回転径を示す。変数z´
は、各回転径検出処理工程における検出区間の基準位置
を示す。定数aは、初回測定時における変数(基準位
置)z´の正負(上下)両側の区間幅を示す。なお、定
数aは、工具に対応させて予め設定しておいてもよい
し、工具回転径検出時にオペレータが設定してもよい。
変数wは、回転径検出処理工程における分割区間幅(回
転径を検出する工具軸方向の間隔)を示す。
Next, the processing for detecting the tool rotation diameter will be described with reference to FIG.
And the flowchart of FIG. Less than
Now, the cutting tip 18 is provided as shown in FIG.
The case where the tool rotation diameter of the tool 7 is detected will be described.
Detects tool rotation diameter of tool 7 using optical measuring device 21
The tool rotation diameter detection program to be executed is stored in the storage device 14 in advance.
It is remembered. Here, the flowcharts of FIGS.
The definition of the variables used in the diagram will be described. Strange
The number i indicates the number of times (i-th) of the rotation diameter detection process.
The variable j is the rotation diameter detection position in each rotation diameter detection processing step.
Position (j-th detection position). The variable k is
The detection position of the maximum rotation diameter in the output processing step is shown. variable
D [i]jIs the rotation diameter at the j-th rotation diameter detection position.
Show. Variable DmaxIs D [i] jShow the largest among
And the variable Dold[i]jIn the previous rotation diameter detection process
The rotation diameter at the j-th rotation diameter detection position is shown. Variable z '
Is the reference position of the detection section in each rotation diameter detection processing step
Is shown. The constant a is a variable (reference position) at the time of the first measurement.
) Indicates the section width on both the positive and negative (up and down) sides of z ′. In addition,
The number a may be set in advance corresponding to the tool.
However, the operator may set the diameter when detecting the tool rotation diameter.
The variable w is a division section width (time) in the rotation diameter detection processing step.
(The interval in the tool axis direction for detecting the rolling diameter).

【0013】工具回転径検出処理が開始されると、ま
ず、ステップS1で、変数の初期値を設定する。例え
ば、基準位置z´を「z0」に、検出処理工程回数iを
「0」に、最大値Dmaxを「0」に初期設定する。次
に、ステップS2では、i=i+1と設定する。この場
合、i=0であるから、i=0+1=1、すなわち1回
目の回転径検出処理工程を実行する。次に、ステップS
3では、基準位置z´を中心とした正負(Z軸)の両側
に区間幅aを有する検出区間内における分割区間幅wを
設定する。本実施の形態では、分割区間数を4(回転径
検出位置を等間隔の5箇所)に設定しているため、分割
区間幅wは、w=a/(2i)で演算する。ここで、i
=1の場合、w=a/2となり、1回目の回転径検出処
理工程では、分割区間幅がa/2に設定される。すなわ
ち、1回目の回転径検出処理工程では、図6に示すよう
に、検出区間「L1」で、回転径検出位置は、j=1の
時に[z´+a]、j=2の時に[z´+a/2]、j
=3の時に[z´]、j=4の時に[z´−a/2]、
j=5の時に[z´−a]である。なお、分割区間数や
分割区間幅wの設定方法は適宜変更可能である。
When the tool rotation diameter detection process is started, first, in step S1, an initial value of a variable is set. For example, the reference position z ′ is initialized to “z 0 ”, the number i of detection processing steps is initialized to “0”, and the maximum value D max is initialized to “0”. Next, in step S2, i = i + 1 is set. In this case, since i = 0, i = 0 + 1 = 1, that is, the first rotation diameter detection processing step is executed. Next, step S
In 3, the division section width w in the detection section having the section width a on both sides of the positive and negative (Z-axis) centering on the reference position z 'is set. In the present embodiment, since the number of divided sections is set to 4 (the rotational diameter detection position is set to 5 places at equal intervals), the divided section width w is calculated by w = a / (2i). Where i
In the case of = 1, w = a / 2, and in the first rotation diameter detection processing step, the division section width is set to a / 2. That is, in the first rotation diameter detection processing step, as shown in FIG. 6, in the detection section “L 1 ”, the rotation diameter detection position is [z ′ + a] when j = 1 and [z ′ + a] when j = 2. z ′ + a / 2], j
= 3 when [z '], j = 4 when [z'-a / 2],
[z'-a] when j = 5. The method of setting the number of divided sections and the divided section width w can be changed as appropriate.

【0014】次に、ステップS4で、CPU17は、i
が1であるか否か、すなわち回転径検出処理工程が1回
目であるか否かを判断する。回転径検出処理工程が1回
目(i=1)であれば、ステップS5に進み、2回目以
降(i≧2)であれば、ステップS14に進む。次に、
ステップS5では、CPU17は、図4a及び図4b、
図5に示した方法でZ軸に沿った検出区間L1内の各回
転径検出位置(j=1〜5)における回転径を検出す
る。例えば、1番目(j=1)の回転径検出位置(z´
+a)において、工具7の最先端の位置X1[1]1とX
2[1]1を検出し、D[1]1=|X1[1]1−X2[1]1
を求める。求めたD[1]1は、記憶装置14のデータ領
域に記憶される。同様の方法で2番目〜5番目の回転径
検出位置(j=2〜5)へ主軸ヘッド5を順次シフト
し、これら位置における回転径D[1]2〜D[1]5を求め
る。
Next, in step S4, the CPU 17
Is determined to be 1, that is, whether or not the rotation diameter detection processing step is the first time. If the rotation diameter detection process is the first (i = 1), the process proceeds to step S5, and if the process is the second or later (i ≧ 2), the process proceeds to step S14. next,
In step S5, the CPU 17 determines whether or not FIG.
Methods for detecting the rotation diameter of each rotational diameter detecting position in the detection zone L 1 along the Z axis (j = 1 to 5) shown in FIG. For example, the first (j = 1) rotation diameter detection position (z ′)
+ A), the position X1 [1] 1 and X
2 [1] 1 is detected, and D [1] 1 = | X1 [1] 1 −X2 [1] 1 |
Ask for. The obtained D [1] 1 is stored in the data area of the storage device 14. The spindle head 5 is sequentially shifted to the second to fifth rotational diameter detection positions (j = 2 to 5) by the same method, and the rotational diameters D [1] 2 to D [1] 5 at these positions are obtained.

【0015】次に、ステップS6では、変数jを「0」
に、変数kを「0」に設定する。次に、ステップS7で
は、j=j+1を設定する。この場合、j=0であるか
ら、j=0+1=1である。次に、ステップS8では、
jが5以下であるか否か(1番目〜5番目の回転径検出
位置であるか否か)を判別する。本実施の形態では、1
回の回転径検出処理工程では回転径を5箇所で検出して
いるため、jが5以下であるか否かを判別している。j
が5以下であれば、ステップS9に進み、jが6以上で
あれば、ステップS12に進む。
Next, in step S6, the variable j is set to "0".
And the variable k is set to “0”. Next, in step S7, j = j + 1 is set. In this case, since j = 0, j = 0 + 1 = 1. Next, in step S8,
It is determined whether or not j is 5 or less (whether or not the first to fifth rotational diameter detection positions are present). In the present embodiment, 1
Since the rotation diameter is detected at five positions in the rotation diameter detection processing step, it is determined whether or not j is 5 or less. j
If j is equal to or smaller than 5, the process proceeds to step S9. If j is equal to or larger than 6, the process proceeds to step S12.

【0016】次に、ステップS9では、CPU17は、
D[i]jがDmax以上であるか否かを判断する。この場
合、j=1であるから、D[1]1がDmax以上であるか否
かを判別する。 D[i]j≧Dmaxの場合には、ステップ
S10に進み、D[i]j <Dmaxの場合には、ステップ
S11に進む。この場合、Dmax=0に設定されている
ため、ステップS9の判断結果は「Yes」である。次
に、ステップS10では、CPU17は、D[i]jをD
maxとして記憶する。この場合、D[1]1をDmaxとして
記憶する。そして、kを更新する。すなわち、Dmax
あるD[i]jを検出した回転径検出位置jをkとして記
憶する。この場合、k=1を記憶する。次に、ステップ
S11では、D[i]jをDold[i]jに記憶して、ステッ
プS7に戻る。この場合、D[1]1をDold[1]1として
記憶する。
Next, in step S9, the CPU 17
It is determined whether D [i] j is greater than or equal to Dmax . In this case, since j = 1, it is determined whether D [1] 1 is equal to or greater than Dmax . When D [i] j ≧ D max , the process proceeds to step S10, and when D [i] j <D max , the process proceeds to step S11. In this case, since Dmax = 0 has been set, the determination result in step S9 is "Yes". Next, in step S10, the CPU 17 sets D [i] j to D
Store as max . In this case, D [1] 1 is stored as Dmax . Then, k is updated. That is, the rotational diameter detection position j at which D [i] j that is D max is detected is stored as k. In this case, k = 1 is stored. Next, in step S11, D [i] j is stored in Dold [i] j , and the process returns to step S7. In this case, D [1] 1 is stored as D old [1] 1 .

【0017】次に、ステップS12では、次の回転径検
出処理工程における検出区間の基準位置z´を設定する
ため、z´=z´+2w−(k−1)wを演算する。図
6に示す例の場合、1回目の回転径検出処理工程では、
回転径の最大値が3番目の検出位置にあったと記憶され
ており、k=3が記憶されているため、2回目のz´
は、1回目のz´と同じ位置になる。次に、ステップS
13で、CPU17は、ステップS3で求めた分割区間
幅wが、設定値δ未満であるか否かを判別する。分割区
間幅wが設定値δ未満であれば検出処理を終了し、設定
値δ以上であればステップS2に戻る。これにより、分
割区間幅wが設定値δ未満になるまで回転径検出処理工
程が繰り返される。なお、設定値δは、任意に設定され
る設定値であり、例えば加工時における工具7の工具径
許容誤差等を考慮して決定される。
Next, in step S12, z '= z' + 2w- (k-1) w is calculated in order to set the reference position z 'of the detection section in the next rotation diameter detecting process. In the case of the example shown in FIG. 6, in the first rotation diameter detection process,
It is stored that the maximum value of the rotation diameter is at the third detection position, and since k = 3 is stored, the second z ′
Is at the same position as the first z ′. Next, step S
In 13, the CPU 17 determines whether or not the divided section width w obtained in step S3 is smaller than the set value δ. If the divided section width w is smaller than the set value δ, the detection processing is ended, and if the divided section width w is larger than the set value δ, the process returns to step S2. Thus, the rotation diameter detection process is repeated until the divided section width w becomes less than the set value δ. The set value δ is an arbitrarily set value, and is determined in consideration of, for example, a tool diameter allowable error of the tool 7 during machining.

【0018】次に、ステップS2では、工程回数iを、
i=i+1により求める。この場合、i=1+1=2で
あり、2回目の回転径処理工程を行う。2回目の回転径
検出処理工程では、1回目の回転径検出処理工程と同等
の処理を行う。なお、2回目の回転径検出処理工程で
は、ステップS4の判定結果が「No」となるため、ス
テップS14に進む。ステップS14では、前回の回転
径検出処理工程(この場合、1回目の回転径検出処理工
程)における回転径検出位置が今回の回転径検出処理工
程(この場合、2回目の回転径検出処理工程)における
回転径検出位置と同じであれば、前回検出した回転径を
用いる。このように、既に検出している回転径を用いる
ことにより、回転径検出時間を短縮することができる。
図6に示す例では、2回目の回転径検出処理工程におけ
る1番目、3番目、5場目(j=1、3、5)の回転径
検出位置と1回目の回転径検出処理工程における2番
目、3番目、4番目(j=k−1、k、k+1)の回転
径検出位置と同じであるため、D[2]1としてD
old[2]k-1を用い、D[2]3としてDold[2]k
用い、D[2]5としてDold[2]k+1を用いる。な
お、ステップS14では、今回の回転径検出位置が、前
回の回転径検出位置だけでなく、それまでの回転径検出
位置と同じか否かを判断するようにしてもよい。
Next, in step S2, the number of processes i is
It is determined by i = i + 1. In this case, i = 1 + 1 = 2, and the second rotation diameter processing step is performed. In the second rotation diameter detection processing step, processing equivalent to that in the first rotation diameter detection processing step is performed. In the second rotation diameter detection process, the determination result of step S4 is “No”, and therefore, the process proceeds to step S14. In step S14, the rotation diameter detection position in the previous rotation diameter detection processing step (in this case, the first rotation diameter detection processing step) is set to the current rotation diameter detection processing step (in this case, the second rotation diameter detection processing step). If it is the same as the rotational diameter detection position in, the previously detected rotational diameter is used. As described above, the rotation diameter detection time can be reduced by using the rotation diameter already detected.
In the example shown in FIG. 6, the first, third, and fifth rotation diameter detection positions (j = 1, 3, 5) in the second rotation diameter detection processing step and the second rotation diameter detection processing step in the first rotation diameter detection processing step Are the same as the third, fourth and fourth (j = k-1, k, k + 1) rotational diameter detection positions, so that D [2] 1
using old [2] k-1, using D old [2] k as D [2] 3, D [ 2] using the D old [2] k + 1 as 5. In step S14, it may be determined whether or not the current rotational diameter detection position is the same as the previous rotational diameter detection position as well as the previous rotational diameter detection position.

【0019】ステップS14の処理を行った後、ステッ
プS15に進む。ステップS15では、ステップS14
で前回の回転径検出処理工程で検出した回転径を用いる
ことができなかった回転径検出位置の回転径を検出す
る。図6に示す例では、2番目(j=2)、4番目(j
=4)の回転径検出位置で、ステップS5で検出した方
法と同様の方法で、回転径D[2]2、D[2]4を検出
する。例えば、2番目の回転径検出位置における工具7
の先端位置X1[2]2とX2[2]2を検出し、D
[2]2=|X1[2]2−X2[2]2|を求める。ス
テップS15の処理を行った後、ステップS6以下の処
理を行う。以上のような回転径検出処理工程を、分割区
間幅wが設定地δ未満になるまで、工程回数iを1づず
増加させて行う。
After performing the processing of step S14, the process proceeds to step S15. In step S15, step S14
Then, the rotation diameter at the rotation diameter detection position where the rotation diameter detected in the previous rotation diameter detection processing step could not be used is detected. In the example shown in FIG. 6, the second (j = 2) and the fourth (j
= 4), the rotation diameters D [2] 2 and D [2] 4 are detected by the same method as that detected in step S5. For example, the tool 7 at the second rotational diameter detection position
The tip positions X1 [2] 2 and X2 [2] 2 of
[2] 2 = | X1 [2] 2 −X2 [2] 2 | After performing the processing of step S15, the processing of step S6 and subsequent steps is performed. The rotation diameter detection processing steps as described above are performed by increasing the number of steps i by 1 until the divided section width w becomes less than the set ground δ.

【0020】以上の実施の形態では、図7に示すステッ
プS5では、全ての回転径検出位置(j=1〜5)で回
転径を検出したが、一部を省略することもできる。例え
ば、通常、工具(切削チップ)の回転径の軌跡は、図6
に示すように、極大値が1つである。すなわち、回転径
の極大値は、その回転径検出処理工程における最大回転
径とみなすことができる。したがって、回転径が極大値
であることを検出されると、それ以後の回転径の検出を
省略することができる。例えば、ステップS5におい
て、j番目の回転径D[1]jを検出した時、「j−
1」番目の回転径D[1]j-1が、j番目の回転径D
[1]j及び「j−2」番目の回転径D[1]j-2より大
きい場合(例えば、D[1]j-1>D[1]j、且つD
[1]j-1>D[1]j-2)には、j+1番目以降の回転
径検出位置での回転径の検出処理を中止(i回目の回転
径検出処理工程を終了)する。以上のようにして求めら
れた工具7の回転径Dmaxは、CPU17が工具径補正
ルーチンを実行する際に使用される。このルーチンで
は、回転径Dmaxとその工具について予め登録されたそ
の工具の呼び回転径とに基づいて偏差量が求められ、周
知(せり出し機構については、例えば前述した実公昭6
1−35365号公報に記載されている)のように工具
7のせり出し機構の一部を回転不能に拘束した状態でせ
り出し制御ユニット16が主軸サーボモータ13を偏差
量に応じた回転角度だけ回転するように制御し、切削チ
ップ18尖端の位置を工具7に対し半径方向に位置補正
する。これにより、工具7の実際の回転径は呼び回転径
に正確に一致される。従って、その後NC制御ルーチン
が実行されボーリング加工が行われるとき、工作物Wに
は目標とする直径の穴が精密に仕上げ加工されるように
なる。
In the above embodiment, in step S5 shown in FIG. 7, the rotation diameters are detected at all the rotation diameter detection positions (j = 1 to 5), but a part of them may be omitted. For example, the trajectory of the rotation diameter of a tool (cutting tip) is usually represented by
As shown in (1), there is one maximum value. That is, the maximum value of the rotation diameter can be regarded as the maximum rotation diameter in the rotation diameter detection processing step. Therefore, when it is detected that the rotation diameter is the maximum value, the subsequent detection of the rotation diameter can be omitted. For example, when the j-th rotation diameter D [1] j is detected in step S5, “j−
The “1” th rotation diameter D [1] j−1 is the jth rotation diameter D
[1] If the j-th and “j−2” th rotation diameters D [1] j−2 are larger (for example, D [1] j−1 > D [1] j , and D
If [1] j-1 > D [1] j-2 ), the process of detecting the rotation diameter at the (j + 1) th rotation diameter detection position is stopped (the i-th rotation diameter detection processing step is ended). The rotation diameter Dmax of the tool 7 obtained as described above is used when the CPU 17 executes the tool diameter correction routine. In this routine, a deviation amount is calculated based on the rotation diameter Dmax and the nominal rotation diameter of the tool registered in advance with respect to the tool.
As described in Japanese Unexamined Patent Publication No. 1-35365), the projecting control unit 16 rotates the spindle servomotor 13 by a rotation angle corresponding to the amount of deviation while a part of the projecting mechanism of the tool 7 is restrained from rotating. In such a manner, the position of the tip of the cutting tip 18 is radially corrected with respect to the tool 7. As a result, the actual rotation diameter of the tool 7 is accurately matched with the nominal rotation diameter. Therefore, when the NC control routine is executed and boring is performed thereafter, a hole having a target diameter is precisely finished in the workpiece W.

【0021】本発明は、上述した実施の形態に限定され
るものではなく、その要旨を逸脱しない範囲内で適宜変
更してもよい。例えば、本実施の形態では、4軸数値制
御軸(NC軸)を備えるコンピュータ数値制御装置(C
NC)付きのマシニングセンタ(工作機械)1の工具7
の回転径を検出する場合を用いて説明したが、工作機械
の種類については、種々変更可能である。また、切削チ
ップ18を取付けた工具7の工具回転径を検出したが、
工具回転軸に沿った位置によって回転径が異なる工具で
あれば工具の種類、形状については、種々変更可能であ
る。また、切削チップ18の角部18aを、工具7の回
転径で最も大きくなる位置としたが、回転径が最も大き
くなる工具7の位置については、切削チップ18の角部
18aに限定しない。また、CNC9にせり出し制御ユ
ニット16を、工具7の内部にせり出し機構を設けた
が、せり出し制御ユニット16とせり出し機構は省略し
てもよい。せり出し機構を内蔵していない工具を使用し
てその工具径よりもかなり大径の穴を加工する場合で
は、工具の回転中心が加工すべき穴中心の廻りを周回運
動するオービット加工が行われる。このオービット加工
では、サドル3bとテーブル3aを同時2軸制御し、高
速回転している工具の中心が工作物Wに対し相対的に加
工すべき穴中心と同心の円軌跡上を移動するように制御
される。この円軌跡は、工具の呼び回転径と加工すべき
穴の仕上げ径によりその半径が決定されるが、工具径検
出ルーチンにより求められた工具の回転径Dmaxと呼び
回転径との偏差量に応じて円軌跡を径方向内側あるいは
外側に補正し、この補正した円軌跡に沿って高速回転状
態の工具を周回運動させることにより、目標径の穴を精
密に仕上げ加工することが可能となる。また、レーザビ
ーム式の光学式計測装置21を用いて工具7の工具回転
径を検出したが、工具7の最先端の位置を検出する計測
装置については、他の光学式計測装置等種々の計測装置
を用いることができる。また、サドル3bに光学式計測
装置21を配設し、サドル3bと主軸ヘッド5を移動さ
せて工具7の位置を検出したが、工具7の位置の検出方
法については、種々変更可能である。また、光学式計測
装置21では、レーザビームの受光強度が発光強度の半
分になるときに工具7の最先端で遮光される位置を検出
したが、閾値については、適宜変更可能である。また、
工具の回転径を検出する処理方法は、図7及び図8のフ
ローチャート図に示した方法に限定されない。また、分
割区間幅wはw=a/(2i)で演算し、分割区間数を
4(回転径検出位置を5箇所)に設定したが、分割区間
幅wを求める演算式w=a/(2i)と分割区関数につ
いては、種々変更可能である。また、回転径検出位置を
等間隔に設定したが、回転径検出位置の間隔は等間隔で
なくてもよい。また、基準位置を検出区間の中央位置に
設定したが、基準位置の設定は種々変更可能である。ま
た、最大回転径を検出する方法は、実施の形態で説明し
た方法に限定されない。また、分割区間幅が設定値未満
(あるいは、以下)になった場合に回転径検出処理を終
了させたが、回転径検出処理を終了させる条件(所定条
件)としては、これに限定されず種々の条件を用いるこ
とができる。例えば、回転径検出処理工程を所定回数行
ったことを所定条件とする。この方法を用いれば、工程
回数のみを監視すればよいため、回転径検出処理を終了
させる処理が簡単である。あるいは、前回の回転径検出
処理工程における最大回転径と今回の回転径検出処理工
程における最大回転径との差が設定以内になったことを
所定条件とする。この方法を用いれば、回転径検出処理
を、工具の形状等に応じてた最適な状態で終了させるこ
とができる。
The present invention is not limited to the above-described embodiment, and may be appropriately changed without departing from the gist of the present invention. For example, in the present embodiment, a computer numerical controller (C) having four numerical control axes (NC axes)
Tool 7 of machining center (machine tool) 1 with NC)
Although the description has been made using the case of detecting the rotation diameter of the machine tool, the type of machine tool can be variously changed. Further, the tool rotation diameter of the tool 7 to which the cutting tip 18 was attached was detected,
The type and shape of the tool can be variously changed if the tool has a different rotation diameter depending on the position along the tool rotation axis. In addition, the corner 18a of the cutting tip 18 is set to the position where the rotation diameter of the tool 7 is the largest, but the position of the tool 7 where the rotation diameter is the largest is not limited to the corner 18a of the cutting tip 18. Further, although the projecting control unit 16 is provided in the CNC 9 with the projecting mechanism inside the tool 7, the projecting control unit 16 and the projecting mechanism may be omitted. When a hole having a diameter much larger than the tool diameter is machined using a tool having no built-in projection mechanism, orbit machining is performed in which the center of rotation of the tool moves around the center of the hole to be machined. In this orbit machining, the saddle 3b and the table 3a are simultaneously controlled on two axes so that the center of the tool rotating at high speed moves on a circular locus concentric with the center of the hole to be machined relative to the workpiece W. Controlled. The radius of this circular locus is determined by the nominal rotation diameter of the tool and the finishing diameter of the hole to be machined, but the deviation between the rotation diameter Dmax of the tool and the nominal rotation diameter determined by the tool diameter detection routine is calculated. Accordingly, the circular locus is corrected radially inward or outward, and the tool in the high-speed rotating state is caused to make a revolving motion along the corrected circular locus, whereby a hole having a target diameter can be precisely finished. In addition, although the tool rotation diameter of the tool 7 is detected using the laser beam type optical measuring device 21, various measuring methods such as other optical measuring devices are used for the measuring device for detecting the most advanced position of the tool 7. An apparatus can be used. Further, the optical measuring device 21 is provided on the saddle 3b, and the position of the tool 7 is detected by moving the saddle 3b and the spindle head 5. However, the method of detecting the position of the tool 7 can be variously changed. In addition, the optical measuring device 21 detects the position where light is shielded at the forefront of the tool 7 when the received light intensity of the laser beam becomes half of the emitted light intensity, but the threshold value can be changed as appropriate. Also,
The processing method for detecting the rotation diameter of the tool is not limited to the method shown in the flowcharts of FIGS. In addition, the division section width w is calculated by w = a / (2i), and the number of division sections is set to 4 (the rotational diameter detection position is set to 5). However, the calculation formula w = a / ( 2i) and the division function can be variously changed. Further, although the rotational diameter detection positions are set at equal intervals, the intervals between the rotational diameter detection positions do not have to be equal. Although the reference position is set at the center position of the detection section, the setting of the reference position can be variously changed. Further, the method of detecting the maximum rotation diameter is not limited to the method described in the embodiment. Further, the rotation diameter detection processing is terminated when the divided section width becomes less than (or less than) the set value, but the condition (predetermined condition) for terminating the rotation diameter detection processing is not limited to this, and is various. Can be used. For example, the predetermined condition is that the rotation diameter detection process has been performed a predetermined number of times. With this method, only the number of steps needs to be monitored, so that the process of ending the rotation diameter detection process is simple. Alternatively, the predetermined condition is that the difference between the maximum rotation diameter in the previous rotation diameter detection processing step and the maximum rotation diameter in the current rotation diameter detection processing step is within a set range. By using this method, the rotation diameter detection processing can be terminated in an optimum state according to the shape of the tool and the like.

【0022】[0022]

【発明の効果】以上詳述したように、本発明による工具
の回転径検出方法を用いれば、工具回転軸に沿った位置
によって回転径が異なる工具の工具回転径を自動的に、
短時間で検出することができる。このため、工作物の加
工時間を短縮することができる。
As described in detail above, by using the method for detecting the turning diameter of a tool according to the present invention, the turning diameter of a tool having a different turning diameter depending on the position along the turning axis of the tool is automatically determined.
It can be detected in a short time. For this reason, the processing time of the workpiece can be reduced.

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

【図1】本発明による工具回転径検出方法を実施する工
作機械の概略図である。
FIG. 1 is a schematic view of a machine tool for implementing a tool rotation diameter detecting method according to the present invention.

【図2】図2aは、角部が直角形状の切削チップを工具
に取付け、図2bは、角部が鋭角形状の切削チップを工
具に取付けて、工具を回転させている状態を示す図であ
る。
FIG. 2A is a view showing a state in which a cutting tip having a right-angled corner is attached to a tool, and FIG. 2B is a state in which a cutting tip having an acute-angled corner is attached to the tool, and the tool is rotated. is there.

【図3】光学式計測装置を用いて工具の回転径を検出す
る状態を示す概略図である。
FIG. 3 is a schematic diagram showing a state in which the rotation diameter of a tool is detected using an optical measuring device.

【図4】図4aは、レーザビームが切削チップの最先端
で遮光される位置X1、図4bは、位置X2を検出する
状態を示す図である。
FIG. 4A is a diagram illustrating a state where a laser beam is shielded at the tip of a cutting tip, and FIG. 4B is a diagram illustrating a state where a position X2 is detected.

【図5】工具の回転径を検出する原理を説明する図であ
る。
FIG. 5 is a view for explaining the principle of detecting the rotation diameter of a tool.

【図6】光学式計測装置を用いて工具の回転径を検出す
る動作を説明する図である。
FIG. 6 is a diagram illustrating an operation of detecting a rotation diameter of a tool using an optical measuring device.

【図7】工具回転径を検出する処理の一例を示すフロー
チャート図(前半)である。
FIG. 7 is a flowchart (first half) illustrating an example of processing for detecting a tool rotation diameter;

【図8】工具回転径を検出する処理の一例を示すフロー
チャート図(後半)である。
FIG. 8 is a flowchart (second half) illustrating an example of processing for detecting a tool rotation diameter;

【図9】工具チップ(切削刃)を用いて工作物の穴開け
の加工を行う状態を示す図である。
FIG. 9 is a view showing a state in which drilling of a workpiece is performed using a tool tip (cutting blade).

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

1…工作機械 3a…テーブル 3b…サドル 7…工具 9…CNC 14…記憶装置 17…CPU 18…切削チップ 21…光学式計測装置 DESCRIPTION OF SYMBOLS 1 ... Machine tool 3a ... Table 3b ... Saddle 7 ... Tool 9 ... CNC 14 ... Storage device 17 ... CPU 18 ... Cutting chip 21 ... Optical measuring device

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 工具の回転時における工具回転径を検出
する工具回転径検出方法であって、(a)工具の回転軸に
沿った任意の1つの検出区間を設定し、工具を回転させ
た状態で、前記任意の1つの検出区間内の複数位置で回
転径を検出すると共に、これら検出した複数の回転径の
中で最大の回転径を抽出するステップと、(b)直前のス
テップで最大の回転径を検出した位置を基準位置として
直前のステップで設定した検出区間よりもより短い検出
区間を工具の回転軸に沿って設定し、この設定したより
短い検出区間内の複数位置で回転径を検出すると共に、
これら検出した複数の回転径の中で最大の回転径を抽出
するステップと、からなり、前記ステップ(a)に続いて
前記ステップ(b)を少なくとも1回以上実行し、最後に
実行された前記ステップ(b)で抽出された最大の回転径
を前記工具回転径とすることを特徴とする工具回転径検
出方法。
1. A tool rotation diameter detection method for detecting a tool rotation diameter during rotation of a tool, comprising: (a) setting an arbitrary one detection section along a rotation axis of the tool and rotating the tool; In the state, while detecting the rotation diameter at a plurality of positions in the arbitrary one detection section, extracting the maximum rotation diameter among the plurality of detected rotation diameters; A detection section shorter than the detection section set in the immediately preceding step is set along the rotation axis of the tool with the position at which the rotation diameter is detected as a reference position, and the rotation diameter is set at a plurality of positions within this shorter detection section. As well as detecting
Extracting the largest rotation diameter from among the plurality of rotation diameters detected, executing the step (b) at least once following the step (a), and finally executing the step (b). A tool rotation diameter detection method, wherein the maximum rotation diameter extracted in step (b) is used as the tool rotation diameter.
【請求項2】 請求項1に記載の工具回転径検出方法で
あって、前記ステップ(b)を所定条件が満足されるまで
繰り返し実行することを特徴とする工具回転径検出方
法。
2. The method according to claim 1, wherein the step (b) is repeatedly performed until a predetermined condition is satisfied.
【請求項3】 請求項2に記載の工具回転径検出方法で
あって、前記ステップ(b)の検出区間内の複数位置の間
隔は等しく設定され、前記所定条件は、複数位置の間隔
が設定値以下になったとき満足されることを特徴とする
工具回転径検出方法。
3. The tool rotation diameter detecting method according to claim 2, wherein an interval between a plurality of positions within the detection section in the step (b) is set equal, and the predetermined condition is that an interval between the plurality of positions is set. A method for detecting a tool rotation diameter, the method being satisfied when the value becomes equal to or less than a value.
【請求項4】 請求項2に記載の工具回転径検出方法で
あって、前記所定条件は、前記ステップ(b)が所定回数
実行されたとき満足されることを特徴とする工具回転径
検出方法。
4. The method according to claim 2, wherein the predetermined condition is satisfied when the step (b) is performed a predetermined number of times. .
【請求項5】 請求項2に記載の工具径検出方法であっ
て、前記所定条件は、直前の回転径検出工程における最
大の回転径と今回の回転径検出工程における最大の回転
径の差が設定値以内になったとき満足されることを特徴
とする工具回転径検出方法。
5. The tool diameter detection method according to claim 2, wherein the predetermined condition is that a difference between a maximum rotation diameter in the immediately preceding rotation diameter detection step and a maximum rotation diameter in the current rotation diameter detection step is determined. A tool rotation diameter detection method, which is satisfied when a value falls within a set value.
【請求項6】 請求項1〜5のいずれかに記載の工具回
転径検出方法であって、前記ステップ(a)では、n番目
の位置で検出した時に、(n−1)番目の位置で検出し
た回転径がn番目及び(n−2)番目の位置で検出した
回転径より大きいと判定される場合には、ステップ(a)
の処理を終了することを特徴とする工具回転径検出方
法。
6. The tool rotation diameter detecting method according to claim 1, wherein in the step (a), when the tool rotation diameter is detected at the n-th position, the detection is performed at the (n-1) -th position. If it is determined that the detected rotation diameter is larger than the rotation diameters detected at the n-th and (n-2) th positions, step (a)
A tool rotation diameter detecting method, which ends the processing of (1).
【請求項7】 請求項1〜6のいずれかに記載の工具回
転径検出方法であって、前記ステップ(a)及びステップ
(b)では、発光器及び受光器を使用し、発光器から受光
器に照射される光線に対し相対的に前記工具を回転軸線
方向の前記複数位置に順次位置決めし、これら各位置決
め位置において前記工具を前記光線を横断する方向に光
線に対し相対的に移動させて工具の両端の位置を検出
し、検出した位置に基づいて回転径を検出することを特
徴とする工具回転径検出方法。
7. The method according to claim 1, wherein the step (a) and the step (a) are performed in the same manner.
In (b), using a light emitter and a light receiver, the tool is sequentially positioned at the plurality of positions in the rotation axis direction relative to a light beam emitted from the light emitter to the light receiver, and at each of these positioning positions, A method for detecting a tool rotation diameter, comprising: detecting a position of both ends of a tool by moving a tool relative to the light beam in a direction crossing the light beam; and detecting a rotation diameter based on the detected positions.
JP2001048952A 2001-02-23 2001-02-23 Tool rotation diameter detection method Expired - Fee Related JP3755411B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001048952A JP3755411B2 (en) 2001-02-23 2001-02-23 Tool rotation diameter detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001048952A JP3755411B2 (en) 2001-02-23 2001-02-23 Tool rotation diameter detection method

Publications (2)

Publication Number Publication Date
JP2002254274A true JP2002254274A (en) 2002-09-10
JP3755411B2 JP3755411B2 (en) 2006-03-15

Family

ID=18910129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001048952A Expired - Fee Related JP3755411B2 (en) 2001-02-23 2001-02-23 Tool rotation diameter detection method

Country Status (1)

Country Link
JP (1) JP3755411B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2322319A2 (en) 2009-11-16 2011-05-18 Jtekt Corporation Tool radius adjusting system for boring holder, tool radius adjusting method in machine tool, and machine tool
JP2019018313A (en) * 2017-07-20 2019-02-07 エヌティーツール株式会社 Tip information acquisition device and tip information acquisition method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2322319A2 (en) 2009-11-16 2011-05-18 Jtekt Corporation Tool radius adjusting system for boring holder, tool radius adjusting method in machine tool, and machine tool
US8881354B2 (en) 2009-11-16 2014-11-11 Jtekt Corporation Tool radius adjusting system for boring holder, tool radius adjusting method in machine tool, and machine tool
JP2019018313A (en) * 2017-07-20 2019-02-07 エヌティーツール株式会社 Tip information acquisition device and tip information acquisition method

Also Published As

Publication number Publication date
JP3755411B2 (en) 2006-03-15

Similar Documents

Publication Publication Date Title
US7530878B2 (en) Grinding machine with a concentricity correction system
US8215211B2 (en) Method and apparatus for machning V grooves
JPH11156672A (en) Numerical control device, and machine tool having it
US8077327B2 (en) Method for controlling a machine tool and apparatus therefor
EP1243992B1 (en) Tool presetter and tool offset amount calculation method
US4604705A (en) Numerical control machining method and system therefor
US11977363B2 (en) Machine tool and control device
US20030163208A1 (en) Numerically controlled machine tool and a program transforming method therefor
US9417619B2 (en) Numerical controller having function of re-machining thread cutting cycle
JP2006289608A (en) Measuring method and device thereof, and machine tool having the same device and work machining method
WO2022024251A1 (en) Numerical control device and numerical control method
EP0104542B1 (en) Numerically controlled machining method
JP2007257606A (en) Method for correcting tool alignment error
JP4799472B2 (en) Measuring method and apparatus for tool edge position, workpiece processing method and machine tool
JPH11138392A (en) Nc machine tool furnished with tool size measuring function
JP4639058B2 (en) Threading machine
US20190202017A1 (en) Selecting device, selecting method, and program
JP3755411B2 (en) Tool rotation diameter detection method
JP2005034934A (en) Numerically controlled apparatus, machine tool equipped with the same, and method for calculating coordinate of workpiece
JP7131454B2 (en) Numerical controllers, machine tools, control programs, and storage media
JPH1142535A (en) Inner diameter machining dimension correcting method and nc lathe that can execute this correcting method
EP4293446A1 (en) Machine tool and method of machining a workpiece
JPH0788743A (en) Screw thread cutting method in nc lathe
JP2005352662A (en) Controller controlling movement of movable part of machine tool, machine tool with controller and moving method for movable part
JPH1058202A (en) Nc machine tool having sphere machining device and sphere machining method used in the machine tool

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20050826

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050906

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051021

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Effective date: 20051129

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Effective date: 20051212

Free format text: JAPANESE INTERMEDIATE CODE: A61

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees