JP6980141B1 - Tool imager and machine tool - Google Patents

Tool imager and machine tool Download PDF

Info

Publication number
JP6980141B1
JP6980141B1 JP2021021378A JP2021021378A JP6980141B1 JP 6980141 B1 JP6980141 B1 JP 6980141B1 JP 2021021378 A JP2021021378 A JP 2021021378A JP 2021021378 A JP2021021378 A JP 2021021378A JP 6980141 B1 JP6980141 B1 JP 6980141B1
Authority
JP
Japan
Prior art keywords
tool
unit
imaging
image
image pickup
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.)
Active
Application number
JP2021021378A
Other languages
Japanese (ja)
Other versions
JP2022123914A (en
Inventor
純一 窪田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DMG Mori Co Ltd
Original Assignee
DMG Mori Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DMG Mori Co Ltd filed Critical DMG Mori Co Ltd
Priority to JP2021021378A priority Critical patent/JP6980141B1/en
Application granted granted Critical
Publication of JP6980141B1 publication Critical patent/JP6980141B1/en
Priority to PCT/JP2022/005244 priority patent/WO2022172973A1/en
Publication of JP2022123914A publication Critical patent/JP2022123914A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/09Arrangements for observing, indicating or measuring on machine tools for indicating or measuring cutting pressure or for determining cutting-tool condition, e.g. cutting ability, load on tool
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/24Arrangements for observing, indicating or measuring on machine tools using optics or electromagnetic waves

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

【課題】刃に対する撮像角度を変えて撮像し工具の刃を鮮明に撮像する。【解決手段】工具撮像装置500は、刃を備えた工具が取り付けられる取り付け部と、取り付け部を移動させる制御を行う制御部と、取り付け部の回転軸の第1方向と交差する第2方向を光軸とする撮像部502と、刃のすくい面又は逃げ面を撮像する際に撮像角度を変更する変更部と、を備え、制御部は、変更部で撮像角度が変更された場合に、すくい面又は逃げ面が撮像部502の被写界深度の範囲内に入る位置に取り付け部を移動させる制御を行う。【選択図】図3PROBLEM TO BE SOLVED: To image a blade of a tool clearly by changing the imaging angle with respect to the blade. SOLUTION: A tool imaging device 500 has a mounting portion to which a tool having a blade is mounted, a control unit for controlling the movement of the mounting portion, and a second direction intersecting a first direction of a rotation axis of the mounting portion. It includes an imaging unit 502 as an optical axis and a changing unit that changes the imaging angle when imaging the rake face or flank surface of the blade, and the control unit has a rake when the imaging angle is changed by the changing unit. Control is performed to move the mounting unit to a position where the surface or the flank is within the range of the depth of field of the imaging unit 502. [Selection diagram] Fig. 3

Description

この発明は、工具撮像装置及び工作機械に関する。 The present invention relates to a tool imaging device and a machine tool.

工作機械は、工具を用いてワークを加工する。たとえば、マシニングセンタは、円周に複数の刃を有する回転工具を回転させながら、ワークに当てて切削を行う。 Machine tools use tools to machine workpieces. For example, a machining center performs cutting by hitting a work while rotating a rotary tool having a plurality of blades on the circumference.

同じ工具を使って切削を繰り返すと、刃に摩耗や変形が生じて劣化する。刃が劣化した状態で工具を使用し続けると、加工品質が悪くなる。したがって、作業員は、工具の刃の状況を見て継続使用できるかどうかを判断して、刃が劣化していれば工具を交換する。工具は重く、作業員が手に持って刃を観察することは難しいので、何等かの機器を用いて工具の刃を撮像して、撮像によって刃を観察する。 Repeated cutting with the same tool causes the blade to wear and deform, resulting in deterioration. If the tool is used continuously with the blade deteriorated, the processing quality will deteriorate. Therefore, the worker judges whether or not the tool can be used continuously by looking at the condition of the blade of the tool, and replaces the tool if the blade is deteriorated. Since the tool is heavy and it is difficult for the worker to hold it in his hand to observe the blade, the blade of the tool is imaged using some kind of equipment, and the blade is observed by imaging.

特開2001−269844号公報Japanese Unexamined Patent Publication No. 2001-269844

特許文献1のマシニングセンタでは、図5に示されているように回転工具を回転させながら工具の周囲を撮像して、撮像角度の異なる画像を得る。そして、複数の画像のうち、焦点が合っている画像を選んで使用する。たとえば、図6(b)のように焦点が合っている画像が選ばれる。 In the machining center of Patent Document 1, as shown in FIG. 5, the circumference of the tool is imaged while rotating the rotary tool to obtain images having different imaging angles. Then, from the plurality of images, the image that is in focus is selected and used. For example, an image that is in focus as shown in FIG. 6 (b) is selected.

一方、図6(a)と図6(c)のように焦点が合っていない画像は、使用されない。つまり、図6(b)のように特定の撮像角度でしか鮮明な撮像が得られず、撮像角度を調整して刃を撮像することはできない。 On the other hand, out-of-focus images such as those in FIGS. 6 (a) and 6 (c) are not used. That is, as shown in FIG. 6B, clear imaging can be obtained only at a specific imaging angle, and the blade cannot be imaged by adjusting the imaging angle.

そこで、本発明は、特許請求の範囲に記載の装置等を提供するものである。 Therefore, the present invention provides the apparatus and the like described in the claims.

これらの概括的かつ特定の態様は、システム、方法、及びコンピュータプログラム、並びに、それらの組み合わせにより、実現されてもよい。 These general and specific embodiments may be realized by systems, methods, and computer programs, and combinations thereof.

本発明によれば、刃に対する撮像角度を変えて撮像できるため工具の刃を鮮明に撮像することができる。 According to the present invention, since the image pickup angle with respect to the blade can be changed, the blade of the tool can be clearly imaged.

工作機械の構成図である。It is a block diagram of a machine tool. 工具の正面図である。It is a front view of a tool. 撮像ユニットの斜視図である。It is a perspective view of the image pickup unit. 撮像部と工具の位置関係を示す斜視図である。It is a perspective view which shows the positional relationship between the image pickup part and a tool. 図5(A)は、回転角度αが0度の工具の正面図である。図5(B)は、第1チップのすくい面の撮像位置を示す図である。図5(C)は、第2チップのすくい面の撮像位置を示す図である。図5(D)は、第3チップのすくい面の撮像位置を示す図である。図5(E)は、第4チップのすくい面の撮像位置を示す図である。図5(F)は、第5チップのすくい面の撮像位置を示す図である。FIG. 5A is a front view of a tool having a rotation angle α of 0 degrees. FIG. 5B is a diagram showing an imaging position of the rake face of the first chip. FIG. 5C is a diagram showing an imaging position of the rake face of the second chip. FIG. 5D is a diagram showing an imaging position of the rake face of the third chip. FIG. 5E is a diagram showing an imaging position of the rake face of the fourth chip. FIG. 5F is a diagram showing an imaging position of the rake face of the fifth chip. すくい面撮像の例である。This is an example of rake face imaging. 影画像を模式的に示す図である。It is a figure which shows the shadow image schematically. 関連付けデータのグラフを示す図である。It is a figure which shows the graph of the association data. 撮像位置データの構造図である。It is a structural diagram of the imaging position data. 撮像角度を正方向に調整したすくい面撮像である。This is a rake face imaging in which the imaging angle is adjusted in the positive direction. 図11(A)は、撮像部側へ刃先を傾けた状態を示す図である。図11(B)は、撮像部の反対側へ刃先を傾けた状態を示す図である。FIG. 11A is a diagram showing a state in which the cutting edge is tilted toward the image pickup unit. FIG. 11B is a diagram showing a state in which the cutting edge is tilted toward the opposite side of the image pickup unit. 図12(A)は、撮像部側へ傾けた刃先と被写界深度の関係を示す図である。図12(B)は、刃先を撮像部側へ傾けたときの工具の移動を示す図である。FIG. 12A is a diagram showing the relationship between the cutting edge tilted toward the image pickup unit and the depth of field. FIG. 12B is a diagram showing the movement of the tool when the cutting edge is tilted toward the image pickup unit. 図13(A)は、撮像部側と反対の方へ傾けた刃先と被写界深度の関係を示す図である。図13(B)は、刃先を撮像部側と反対の方へ傾けたときの工具の移動を示す図である。FIG. 13A is a diagram showing the relationship between the cutting edge tilted in the direction opposite to the image pickup unit side and the depth of field. FIG. 13B is a diagram showing the movement of the tool when the cutting edge is tilted in the direction opposite to the image pickup unit side. 図14(A)は、第1チップのすくい面の撮像位置を示す図である。図14(B)は、第1チップの逃げ面の撮像位置を示す図である。FIG. 14A is a diagram showing an imaging position of the rake face of the first chip. FIG. 14B is a diagram showing an imaging position of the flank of the first chip. 図15(A)は、第2チップの逃げ面の撮像位置を示す図である。図15(B)は、第3チップの逃げ面の撮像位置を示す図である。図15(C)は、第4チップの逃げ面の撮像位置を示す図である。図15(D)は、第5チップの逃げ面の撮像位置を示す図である。FIG. 15A is a diagram showing an imaging position of the flank of the second chip. FIG. 15B is a diagram showing an imaging position of the flank of the third chip. FIG. 15C is a diagram showing an imaging position of the flank of the fourth chip. FIG. 15D is a diagram showing an imaging position of the flank of the fifth chip. 操作画面の画面図である。It is a screen view of an operation screen. 画像処理装置の機能ブロック図である。It is a functional block diagram of an image processing apparatus. メイン処理過程を示すフローチャートである。It is a flowchart which shows the main processing process. 等ピッチ工具処理過程のフローチャートである。It is a flowchart of the equal pitch tool processing process. 等ピッチ工具処理過程のフローチャートである。It is a flowchart of the equal pitch tool processing process. 不等ピッチ工具処理過程のフローチャートである。It is a flowchart of the unequal pitch tool processing process. 不等ピッチ工具処理過程のフローチャートである。It is a flowchart of the unequal pitch tool processing process. 変形例1に係る工具撮像システムの構成例を示す図である。It is a figure which shows the structural example of the tool image pickup system which concerns on modification 1. FIG. 変形例2に係る工具撮像装置の構成例を示す図である。It is a figure which shows the structural example of the tool image pickup apparatus which concerns on modification 2. 変形例3に係る工具撮像システムの構成例を示す図である。It is a figure which shows the configuration example of the tool image pickup system which concerns on modification 3. FFT(高速フーリエ変換)による解析結果データのグラフを示す図である。It is a figure which shows the graph of the analysis result data by FFT (Fast Fourier Transform). 図27(A)は、観察面が被写界深度の範囲に入らない状態を示す図である。図27(B)は、観察面が被写界深度の範囲に入る状態を示す図である。FIG. 27A is a diagram showing a state in which the observation surface does not fall within the range of the depth of field. FIG. 27B is a diagram showing a state in which the observation surface falls within the range of the depth of field.

以下に、図面を参照して実施形態に係る工作機械について説明する。以下の説明では、同一の構成について、同一の符号を付して説明を省略する。 The machine tool according to the embodiment will be described below with reference to the drawings. In the following description, the same configuration will be referred to with the same reference numerals and description thereof will be omitted.

[実施形態]
本実施形態は、工作機械で使用される工具を撮像する技術に関する。たとえば、マシニングセンタの主軸にフライス工具を取り付けて、切削加工を行うことを想定する。一般的に、切削加工はNC(Numerical Control:数値制御)プログラムで制御される。
[Embodiment]
The present embodiment relates to a technique for imaging a tool used in a machine tool. For example, it is assumed that a milling tool is attached to the spindle of a machining center to perform cutting. Generally, cutting is controlled by an NC (Numerical Control) program.

図1は、工作機械200の構成図である。
工作機械200は、対象のワークを加工するものである。例えば、工作機械200は、各種の工具を使い分けて加工室内でワークを加工する加工部300と、加工部300を制御する数値制御装置400と、工具の刃先を撮像するために用いられる撮像ユニット500と、撮像ユニット500によって撮像された画像データを処理する画像処理装置600とを備える。工作機械200は、工具撮像装置の例である。
FIG. 1 is a configuration diagram of a machine tool 200.
The machine tool 200 processes the target workpiece. For example, the machine tool 200 includes a machining unit 300 that processes a workpiece in a machining chamber by using various tools properly, a numerical control device 400 that controls the machining unit 300, and an image pickup unit 500 that is used for imaging the cutting edge of a tool. And an image processing device 600 for processing the image data captured by the image pickup unit 500. The machine tool 200 is an example of a tool imaging device.

工作機械200がマシニングセンタであれば、加工部300は、主軸、主軸を回転させるサーボモーター、パレット、ATC(Automatic Tool Changer:自動工具交換装置)および工具マガジンなどを含み、フライス削り、中ぐり、穴あけやねじ立てなどの加工を行う。工作機械がターニングセンタであれば、加工部300は、回転軸、回転軸を回転させるサーボモーター、タレット、ATC(自動工具交換装置)および工具マガジンなどを含み、主に旋削加工を行う。 If the machine tool 200 is a machining center, the machining section 300 includes a spindle, a servo motor for rotating the spindle, a pallet, an ATC (Automatic Tool Changer), a tool magazine, and the like, and milling, drilling, and drilling. And processing such as screwing. If the machine tool is a turning center, the machining unit 300 includes a rotary shaft, a servomotor for rotating the rotary shaft, a turret, an ATC (automated tool changer), a tool magazine, and the like, and mainly performs turning.

加工部300は、取り付け部302および変更部306を有する。取り付け部302には、複数の刃を有する工具が取り付けられ、取り付け部302はこの工具を回転可能な状態で保持する。マシニングセンタの場合には、主軸が取り付け部302に相当する。ターニングセンタの場合には、タレットのホルダが取り付け部302に相当する。取り付け部302の機構は、工具撮像とワーク加工で使用される。工具撮像のために、加工部300の取り付け部302を利用する。言い換えれば、ワークを加工する加工部は、工具撮像に用いられる取り付け部302の機構を共用する。 The machined portion 300 has a mounting portion 302 and a changing portion 306. A tool having a plurality of blades is attached to the attachment portion 302, and the attachment portion 302 holds the tool in a rotatable state. In the case of a machining center, the spindle corresponds to the mounting portion 302. In the case of a turning center, the turret holder corresponds to the mounting portion 302. The mechanism of the mounting portion 302 is used for tool imaging and workpiece machining. The mounting portion 302 of the machining portion 300 is used for capturing the tool. In other words, the machining section for machining the workpiece shares the mechanism of the mounting section 302 used for tool imaging.

変更部306は、工具の刃のすくい面又は逃げ面を撮像する際に撮像角度を変更する。すくい面、逃げ面や撮像角度の変更などについては、後述する。マシニングセンタの場合には、サーボモーターを含み主軸を回転させる機構が、変更部306に相当する。ターニングセンタの場合には、モーター(たとえば、サーボモーターあるいはステッピングモーター)を含みタレットのホルダを回転させる機構が、変更部306に相当する。加工部300は、取り付け部302を移動させるモーター(変更部306と共用でもよい。モーター以外のアクチュエータでもよい。)を備える。変更部306の機構(たとえばサーボモーター)は、工具撮像とワーク加工で使用される。工具撮像のために、加工部300のサーボモーターなどを利用する。言い換えれば、ワークを加工する加工部は、工具撮像に用いられる変更部306の機構を共用する。 The changing unit 306 changes the imaging angle when imaging the rake face or flank surface of the tool blade. The rake surface, flank surface, change of imaging angle, etc. will be described later. In the case of a machining center, the mechanism that rotates the spindle, including the servo motor, corresponds to the change unit 306. In the case of a turning center, a mechanism that includes a motor (for example, a servo motor or a stepping motor) and rotates the turret holder corresponds to the change portion 306. The machined portion 300 includes a motor for moving the mounting portion 302 (may be shared with the changing portion 306, or may be an actuator other than the motor). The mechanism of the change unit 306 (for example, a servo motor) is used for tool imaging and workpiece machining. A servomotor of the processing unit 300 or the like is used for capturing the tool. In other words, the machining section for machining the workpiece shares the mechanism of the change section 306 used for tool imaging.

数値制御装置4は、加工部300のサーボモーターやATCなどに対する数値制御を行う装置である。 The numerical control device 4 is a device that numerically controls the servomotor, ATC, and the like of the machining unit 300.

撮像ユニット500は、撮像部502、シャッター504、第1照明部506、第2照明部508および撮像ユニット500を有する。 The image pickup unit 500 includes an image pickup unit 502, a shutter 504, a first illumination unit 506, a second illumination unit 508, and an image pickup unit 500.

撮像部12は、例えば、CCDやCMOS等の撮像素子を備えたカメラである。撮像部12は、撮像した撮像の画像データを、画像処理装置600に出力する。シャッター504、第1照明部506、第2照明部508についてなど、撮像ユニット500の詳細については、図3に関連して後述する。画像処理装置600は、たとえば取り付け部302を移動させる制御を行う制御部620を含む。制御部620の詳細については、図17に関連して詳述する。 The image pickup unit 12 is, for example, a camera provided with an image pickup element such as a CCD or CMOS. The image pickup unit 12 outputs the captured image data of the image pickup to the image processing device 600. Details of the image pickup unit 500, such as the shutter 504, the first illumination unit 506, and the second illumination unit 508, will be described later in relation to FIG. The image processing device 600 includes, for example, a control unit 620 that controls the movement of the mounting unit 302. The details of the control unit 620 will be described in detail in relation to FIG.

<工具>
図2は、工具100の正面図である。
ここでは、工具100として「正面フライス」の例を示す。正面フライスは、ミーリング加工によってワークの広い平面を効率よく削る場合に使用される。以下、ボディ110に複数のスローアウェイチップを取り付けるスローアウェイ工具の例を示す。スローアウェイチップを単に「チップ」という。実際のチップの形状は、切削に適した曲面を有するが、ここでは簡略化して矩形で示す。なお、スローアウェイ工具でなく、チップがボディ110に溶接された一体型のフライス工具であってもよい。また、ここではフライス工具の例を示しているが、ドリル工具などフライス工具以外の工具100であってもよい。等ピッチ工具の例を示しているが、不等ピッチ工具であってもよい。
<Tools>
FIG. 2 is a front view of the tool 100.
Here, an example of a "front milling cutter" is shown as the tool 100. The face milling cutter is used to efficiently cut a wide flat surface of a workpiece by milling. Hereinafter, an example of a throw-away tool for attaching a plurality of throw-away tips to the body 110 will be shown. A throw-away tip is simply called a "tip". The actual shape of the chip has a curved surface suitable for cutting, but here it is shown as a rectangle for simplification. In addition, instead of the throw-away tool, it may be an integrated milling tool in which the tip is welded to the body 110. Further, although an example of a milling tool is shown here, a tool 100 other than the milling tool such as a drill tool may be used. Although an example of an equal pitch tool is shown, it may be an equal pitch tool.

径の大きい円柱のボディ110の外周には、等間隔でチップが取り付けられる。つまり、等ピッチでチップが配置される。この例では、5つのチップが取り付けられている。説明の便宜のため、第1チップ121、第2チップ122、第3チップ123、第4チップ124および第5チップ125として区別する。工具100は、取り付け部302に取り付けられ、取り付け部302の回転力によって、図示したように反時計回りに回転するものとする。回転することによって、第1チップ121から第5チップ125は、それぞれ接触したワークを削る。図示するように、第1チップ121が進む方の面が、すくい面であり、第1チップ121の外側の面が逃げ面である。第2チップ122から第5チップ125についても、同様である。なお、ボディ110の中心と刃先との距離を「刃先半径」といい、変数rで表す。 Chips are attached to the outer periphery of the large-diameter cylindrical body 110 at equal intervals. That is, the chips are arranged at equal pitches. In this example, five chips are attached. For convenience of explanation, they are distinguished as the first chip 121, the second chip 122, the third chip 123, the fourth chip 124, and the fifth chip 125. The tool 100 is attached to the mounting portion 302 and is rotated counterclockwise as shown by the rotational force of the mounting portion 302. By rotating, the first chip 121 to the fifth chip 125 scrape the workpieces in contact with each other. As shown in the figure, the surface on which the first chip 121 advances is the rake surface, and the outer surface of the first chip 121 is the flank surface. The same applies to the second chip 122 to the fifth chip 125. The distance between the center of the body 110 and the cutting edge is called the "cutting edge radius" and is represented by the variable r.

切削加工を続けると、チップの刃先の摩耗が進行して徐々に切れにくくなる。同じ工具100を繰り返して使用するとき、作業員は、摩耗の状態をチェックしてこのまま継続して使用できるか、あるいは工具100の交換が必要であるかを判断する。作業員は、刃先の材質や加工方法なども考慮して、刃先の摩耗量やすり減った形によって、刃先へのダメージの程度を判断する。チップの組織に欠陥が生じたり、変質が生じたり、チップの形状が変化したりすることもある。このように劣化したチップを使うと、ワークに傷がつく場合もある。 If the cutting process is continued, the cutting edge of the tip is worn and gradually becomes difficult to cut. When the same tool 100 is used repeatedly, the worker checks the state of wear and determines whether the tool 100 can be used continuously as it is or whether the tool 100 needs to be replaced. The worker determines the degree of damage to the cutting edge based on the amount of wear and the worn shape of the cutting edge, taking into consideration the material of the cutting edge and the processing method. The structure of the chip may be defective, altered, or the shape of the chip may change. If such a deteriorated tip is used, the work may be scratched.

本実施形態では、すくい面を外周の接線方向から撮像する撮像(以下、「すくい面撮像」)と、ボディ110の中心に向かう方向から逃げ面を撮像する撮像(以下、「逃げ面撮像」)とによって、作業員はチップを観察して刃先の状態を判断する。 In the present embodiment, an image pickup in which the rake face is imaged from the tangential direction of the outer periphery (hereinafter, "rake face image pickup") and an image pickup in which the flank surface is imaged from the direction toward the center of the body 110 (hereinafter, "flank surface image pickup"). By this, the worker observes the tip and judges the state of the cutting edge.

刃先の状態に関する判断は、機械加工や工具の特性についての知識を備えた作業員によって行われる。コストや作業効率を考えると、工具100をできるだけ長持ちさせ、交換頻度を少なくすることが望ましい。作業の安全や製品品質を保ちながら、コストを抑えるためには、見極めがシビアになる。したがって、作業員による工具100の観察のしやすさは、工程管理の重要なファクターとなる。フライス工具100以外の工具の場合も同様である。 Judgments regarding the condition of the cutting edge are made by workers with knowledge of machining and tool characteristics. Considering cost and work efficiency, it is desirable to make the tool 100 last as long as possible and reduce the frequency of replacement. In order to keep costs down while maintaining work safety and product quality, it is important to identify them. Therefore, the ease of observation of the tool 100 by the worker is an important factor in process management. The same applies to tools other than the milling tool 100.

<作業員による観察方法>
作業員による工具観察の従来方法について説明する。作業員は、顕微鏡を使って、工具100の刃先を観察する。そのため、工具を工作機械200から一旦外して、顕微鏡の設置部にセットする。設置部は、手動による移動と回転が可能な可動域を有している。作業員は、設置部を操作して工具を移動させると共に回転させて、刃先が視野に入るように位置合わせを行う。また、作業員は、顕微鏡のピント合わせの操作も行う。このような操作を行って、作業員は各チップの刃先を観察する。
<Observation method by workers>
The conventional method of tool observation by an operator will be described. The worker observes the cutting edge of the tool 100 using a microscope. Therefore, the tool is temporarily removed from the machine tool 200 and set in the installation portion of the microscope. The installation unit has a range of motion that allows manual movement and rotation. The worker operates the installation part to move and rotate the tool to align the cutting edge so that it is in the field of view. The worker also operates the focusing of the microscope. By performing such an operation, the worker observes the cutting edge of each tip.

但し、作業員が工作機械200から工具100を外して顕微鏡で観察し、もう一度工作機械200に戻すのには作業時間がかかる。また、作業負担も大きい。たとえば多量生産の場合には比較的耐久性を予測しやすいので、チップの交換条件を加工回数や加工時間などで定めるようにする方法も考えられる。しかし、少量生産やワークが大きくて失敗したくないときには、慎重に刃先の状態を確認しながら切削加工を進めるので、作業員による工具観察の作業が必要になる。そのため、作業員による工具観察の作業効率を高めることが望まれる。 However, it takes a long time for the worker to remove the tool 100 from the machine tool 200, observe it with a microscope, and return it to the machine tool 200 again. In addition, the work load is heavy. For example, in the case of mass production, it is relatively easy to predict the durability, so it is possible to consider a method in which the chip replacement conditions are determined by the number of times of processing and the processing time. However, when small-quantity production or when the work is large and you do not want to fail, the cutting process is carried out while carefully checking the condition of the cutting edge, so it is necessary for the worker to observe the tool. Therefore, it is desired to improve the work efficiency of tool observation by workers.

<撮像ユニット>
図3は、撮像ユニット500の斜視図である。
本実施形態では、工作機械200の内部に設けられた撮像ユニット500を用いて、工具100を取り付け部302(たとえば、主軸)に取り付けたままで、工具100の刃先を撮像する。
<Image pickup unit>
FIG. 3 is a perspective view of the image pickup unit 500.
In the present embodiment, the image pickup unit 500 provided inside the machine tool 200 is used to image the cutting edge of the tool 100 while the tool 100 is still attached to the attachment portion 302 (for example, the spindle).

撮像ユニット500は、図示するように、撮像部502、シャッター504、第1照明部506及び第2照明部508を備える。撮像ユニット500の上部に設けられている撮像部502は、下方を撮像する。撮像するときに、撮像部502の光軸上に工具100の刃先が来るように、撮像ユニット500がセットされる。 As shown in the figure, the image pickup unit 500 includes an image pickup unit 502, a shutter 504, a first illumination unit 506, and a second illumination unit 508. The image pickup unit 502 provided at the upper part of the image pickup unit 500 images the lower part. The image pickup unit 500 is set so that the cutting edge of the tool 100 comes on the optical axis of the image pickup unit 502 when taking an image.

撮像部502で撮像を行うときには、シャッター504が撮像部502の測定用レンズから離れる。第1照明部506は、撮像部502の脇に設けられ、斜め上方から被写体となる刃先に光を当てる。第1照明部506は、すくい面撮像および逃げ面撮像を撮像する場合に反射照明として用いられる。第1照明部506は、工具100に対して撮像部502側に設けられ、工具100が回転させられる回転軸(図3、図4参照)と平行で光軸を含む平面に対して交差する方向から刃に光を当てる。この平面と方向とのなす角度は、たとえば5度から20度の範囲内である。第2照明部508は、被写体の影画像を撮像する場合に用いられる。 When the image pickup unit 502 performs an image pickup, the shutter 504 is separated from the measurement lens of the image pickup unit 502. The first illumination unit 506 is provided on the side of the image pickup unit 502, and shines light on the cutting edge as a subject from diagonally above. The first illumination unit 506 is used as reflected illumination when imaging a rake face image and a flank image image. The first illumination unit 506 is provided on the image pickup unit 502 side with respect to the tool 100, and is parallel to the rotation axis (see FIGS. 3 and 4) on which the tool 100 is rotated and intersects the plane including the optical axis. Shine light on the blade. The angle between the plane and the direction is, for example, in the range of 5 to 20 degrees. The second illumination unit 508 is used when capturing a shadow image of a subject.

撮像ユニット500を用いて撮像すれば、いちいち工具100を取り付け部302から外したり、再び取り付け部302に取り付けたりする必要がないので、作業効率が良くなる。 If an image is taken using the image pickup unit 500, it is not necessary to remove the tool 100 from the mounting portion 302 or reattach it to the mounting portion 302, so that the work efficiency is improved.

<セッティング>
図4は、撮像部502と工具100の位置関係を示す斜視図である。
図示するように撮像部502が工具100の刃先を撮像する位置に、撮像ユニット500をセッティングする。この例では、先にすくい面を撮像することを想定している。
<Setting>
FIG. 4 is a perspective view showing the positional relationship between the image pickup unit 502 and the tool 100.
As shown in the figure, the image pickup unit 500 is set at a position where the image pickup unit 502 images the cutting edge of the tool 100. In this example, it is assumed that the rake face is imaged first.

この図では、工具100のボディ110のみを示し、チップは省略する。破線で示した手前の円形面が、ボディ110の正面である。ボディ110の中心線は、取り付け部302の回転軸と一致する。したがって、工具110の回転軸と取り付け部302の回転軸は、一致する。ボディ110の正面の中心を空間座標系の原点とする。回転軸の先端に向かう方向をZ軸の正方向とする。また、正面方向から見て反時計回りを、工具100の回転角度αの正方向と定義する。 In this figure, only the body 110 of the tool 100 is shown, and the tip is omitted. The front circular surface shown by the broken line is the front surface of the body 110. The center line of the body 110 coincides with the rotation axis of the mounting portion 302. Therefore, the rotation axis of the tool 110 and the rotation axis of the mounting portion 302 coincide with each other. The center of the front surface of the body 110 is set as the origin of the spatial coordinate system. The direction toward the tip of the rotation axis is the positive direction of the Z axis. Further, the counterclockwise direction when viewed from the front direction is defined as the positive direction of the rotation angle α of the tool 100.

工具100の刃先付近の撮像範囲を模式的に平面で示す。撮像部502から撮像範囲までの距離は、撮像部502の焦点距離と一致する。撮像範囲に含まれる被写体は、ぼやけることなく鮮明に写る。Y軸の正方向は、光軸の撮像部502へ向かう方向と平行である。 The imaging range near the cutting edge of the tool 100 is schematically shown in a plane. The distance from the image pickup unit 502 to the image pickup range coincides with the focal length of the image pickup unit 502. The subject included in the imaging range is clearly captured without blurring. The positive direction of the Y-axis is parallel to the direction of the optical axis toward the image pickup unit 502.

図示するように、回転軸と光軸は、交差している。回転軸と光軸の間の最短距離を「軸間距離」という。軸間距離を、刃先半径r(図2参照)に合わせる。X軸の正方向は、軸間距離に相当する線分の刃先方向と平行である。X軸、Y軸およびZ軸は、互いに垂直である。なお、光軸は、鉛直方向でなくてもよい。たとえば、光軸が水平方向になるようにセッティングされてもよい。あるいは、鉛直方向または水平方向以外の斜め方向に光軸が向いていてもよい。光軸を回転軸と交わるように平行移動させた線と回転軸がなす角度は、垂直でなくてもよい。つまり、撮像部502は、図4に示した位置よりもZ軸の正方向寄りの位置から被写体を撮像してもよいし、図4に示した位置よりもZ軸の負方向寄りの位置から被写体を撮像してもよい。また、撮像部502は、図4に示した位置よりもX軸の正方向寄りの位置から被写体を撮像してもよいし、図4に示した位置よりもX軸の負方向寄りの位置から被写体を撮像してもよい。図3に示したように、取り付け部302の回転軸の方向を第1方向という。第1方向と交差する撮像部502の光軸の方向を第2方向という。上述したように、第1照明部506は、工具100に対して撮像部502側に設けられ、工具100が回転させられる回転軸と平行で光軸を含む平面に対して交差する第3方向から刃に光を当てる。 As shown, the axis of rotation and the axis of light intersect. The shortest distance between the axis of rotation and the optical axis is called the "distance between axes". The distance between the axes is adjusted to the radius of the cutting edge r (see FIG. 2). The positive direction of the X-axis is parallel to the cutting edge direction of the line segment corresponding to the distance between the axes. The X-axis, Y-axis and Z-axis are perpendicular to each other. The optical axis does not have to be in the vertical direction. For example, the optical axis may be set to be horizontal. Alternatively, the optical axis may be oriented in an oblique direction other than the vertical direction or the horizontal direction. The angle between the line obtained by translating the optical axis so as to intersect the axis of rotation and the axis of rotation does not have to be vertical. That is, the image pickup unit 502 may take an image of the subject from a position closer to the positive direction of the Z axis than the position shown in FIG. 4, or from a position closer to the negative direction of the Z axis than the position shown in FIG. The subject may be imaged. Further, the image pickup unit 502 may take an image of the subject from a position closer to the positive direction of the X axis than the position shown in FIG. 4, or from a position closer to the negative direction of the X axis than the position shown in FIG. The subject may be imaged. As shown in FIG. 3, the direction of the rotation axis of the mounting portion 302 is referred to as the first direction. The direction of the optical axis of the imaging unit 502 that intersects the first direction is called the second direction. As described above, the first illumination unit 506 is provided on the image pickup unit 502 side with respect to the tool 100, and is parallel to the rotation axis on which the tool 100 is rotated and intersects the plane including the optical axis from the third direction. Shine light on the blade.

図5(A)は、回転角度αが0度の工具100の正面図である。
撮像ユニット500をセッティングした時点で、工具100の向きは任意であるが、初期化処理においてある向きにおける工具100の回転角度αを0度であると定義する。この例では、回転角度αが0度のときに撮像範囲に刃先が入っていないので、撮像部502で撮像しても刃先は写らない。なお、ボディ110の正面の中心位置(X,Y,Z)は、(0,0,0)である。図5(B)〜図5(F)の場合も同様に、ボディ110の正面の中心位置(X,Y,Z)は、(0,0,0)である。
FIG. 5A is a front view of the tool 100 having a rotation angle α of 0 degrees.
At the time when the image pickup unit 500 is set, the orientation of the tool 100 is arbitrary, but the rotation angle α of the tool 100 in a certain orientation in the initialization process is defined as 0 degree. In this example, since the cutting edge is not included in the imaging range when the rotation angle α is 0 degree, the cutting edge is not captured even if the image pickup unit 502 takes an image. The center position (X, Y, Z) on the front surface of the body 110 is (0, 0, 0). Similarly, in the cases of FIGS. 5 (B) to 5 (F), the center position (X, Y, Z) on the front surface of the body 110 is (0, 0, 0).

図5(B)は、図5(A)の状態から取り付け部302を31度正方向に回転させた状態を示している。この例で、取り付け部302を31度正方向に回転させると、第1チップ121の刃先が撮像範囲に入る。したがって、撮像部502で撮像すると第1チップ121の刃先がすくい面撮像に写る。つまり、第1チップ121の撮像位置は、工具100の回転角度α:31度で特定される。 FIG. 5B shows a state in which the mounting portion 302 is rotated in the positive direction by 31 degrees from the state of FIG. 5A. In this example, when the mounting portion 302 is rotated in the positive direction by 31 degrees, the cutting edge of the first chip 121 falls within the imaging range. Therefore, when an image is taken by the image pickup unit 502, the cutting edge of the first chip 121 is reflected in the rake face image. That is, the imaging position of the first chip 121 is specified by the rotation angle α: 31 degrees of the tool 100.

この例における工具100は、均等間隔で5枚のチップを有する。したがって、隣り合うチップ同士の回転角度αの差を示す刃間角度γは、360度/5=72度である。よって、取り付け部302を72度正方向に回転させると、次のチップを撮像することができる。 The tool 100 in this example has five chips at even intervals. Therefore, the blade-to-blade angle γ, which indicates the difference in the rotation angle α between adjacent chips, is 360 degrees / 5 = 72 degrees. Therefore, when the mounting portion 302 is rotated in the positive direction by 72 degrees, the next chip can be imaged.

図5(C)は、図5(B)の状態から取り付け部302を72度正方向に回転させた状態を示している。取り付け部302を72度正方向に回転させると、第2チップ122の刃先が撮像範囲に入る。したがって、撮像部502で撮像すると第2チップ122の刃先がすくい面撮像に写る。つまり、第2チップ122の撮像位置は、工具100の回転角度α:103度で特定される。 FIG. 5C shows a state in which the mounting portion 302 is rotated in the positive direction by 72 degrees from the state of FIG. 5B. When the mounting portion 302 is rotated in the positive direction by 72 degrees, the cutting edge of the second chip 122 enters the imaging range. Therefore, when an image is taken by the image pickup unit 502, the cutting edge of the second chip 122 is reflected in the rake face image. That is, the imaging position of the second chip 122 is specified by the rotation angle α: 103 degrees of the tool 100.

図5(D)は、図5(C)の状態から取り付け部302を72度正方向に回転させた状態を示している。取り付け部302を72度正方向に回転させると、第3チップ123の刃先が撮像範囲に入る。したがって、撮像部502で撮像すると第3チップ123の刃先がすくい面撮像に写る。つまり、第3チップ123の撮像位置は、工具100の回転角度α:175度で特定される。 FIG. 5D shows a state in which the mounting portion 302 is rotated in the positive direction by 72 degrees from the state of FIG. 5C. When the mounting portion 302 is rotated in the positive direction by 72 degrees, the cutting edge of the third chip 123 enters the imaging range. Therefore, when an image is taken by the image pickup unit 502, the cutting edge of the third chip 123 is reflected in the rake face image. That is, the imaging position of the third chip 123 is specified by the rotation angle α: 175 degrees of the tool 100.

図5(E)は、図5(D)の状態から取り付け部302を72度正方向に回転させた状態を示している。取り付け部302を72度正方向に回転させると、第4チップ124の刃先が撮像範囲に入る。したがって、撮像部502で撮像すると第4チップ124の刃先がすくい面撮像に写る。つまり、第4チップ124の撮像位置は、工具100の回転角度α:247度で特定される。 FIG. 5 (E) shows a state in which the mounting portion 302 is rotated in the positive direction by 72 degrees from the state of FIG. 5 (D). When the mounting portion 302 is rotated in the positive direction by 72 degrees, the cutting edge of the fourth chip 124 enters the imaging range. Therefore, when an image is taken by the image pickup unit 502, the cutting edge of the fourth chip 124 is reflected in the rake face image. That is, the imaging position of the fourth chip 124 is specified by the rotation angle α: 247 degrees of the tool 100.

図5(F)は、図5(E)の状態から取り付け部302を72度正方向に回転させた状態を示している。取り付け部302を72度正方向に回転させると、第5チップ125の刃先が撮像範囲に入る。したがって、撮像部502で撮像すると第5チップ125の刃先がすくい面撮像に写る。つまり、第5チップ125の撮像位置は、工具100の回転角度α:319度で特定される。 FIG. 5 (F) shows a state in which the mounting portion 302 is rotated in the positive direction by 72 degrees from the state of FIG. 5 (E). When the mounting portion 302 is rotated in the positive direction by 72 degrees, the cutting edge of the fifth chip 125 enters the imaging range. Therefore, when an image is taken by the image pickup unit 502, the cutting edge of the fifth chip 125 is reflected in the rake face image. That is, the imaging position of the fifth chip 125 is specified by the rotation angle α: 319 degrees of the tool 100.

図5(B)〜図5(F)に示した各チップの撮像位置は、演算処理で自動的に判定できる。本実施形態では、取り付け部302を何度回転させると、何番目の刃先が撮像範囲に入るかを予め求めておく。 The imaging position of each chip shown in FIGS. 5 (B) to 5 (F) can be automatically determined by arithmetic processing. In the present embodiment, it is determined in advance which number of cutting edges enters the imaging range when the mounting portion 302 is rotated many times.

図6は、すくい面撮像の例である。
被写体の下側が、工具100の正面に相当する。すくい面撮像には、刃先が最も張り出した状態でチップのすくい面が写る。この例で、おおよそ破線より右側にチップが写っている。被写体の右側が、チップの逃げ面に相当する。作業員は、刃先をチップのすくい面側から見ることによって、摩耗量を把握しやすい。第1チップ121〜第5チップ125について、図6と略同様のすくい撮像を得ることができる。
FIG. 6 is an example of rake face imaging.
The lower side of the subject corresponds to the front of the tool 100. In the rake face imaging, the rake face of the chip is captured with the cutting edge most overhanging. In this example, the chip is shown on the right side of the broken line. The right side of the subject corresponds to the flank of the chip. Workers can easily grasp the amount of wear by looking at the cutting edge from the rake face side of the chip. With respect to the first chip 121 to the fifth chip 125, a rake image similar to that in FIG. 6 can be obtained.

この例では、すくい面撮像の左下端を、撮像座標系の原点とする。右方向がx座標軸の正方向であり、上方向がy座標軸の正方向である。撮像座標系の原点に相当する空間座標系の位置(3次元のオフセット値)は、セッティング後の初期化処理において特定される。したがって、撮像座標系の撮像位置に3次元のオフセット値を加えることによって、撮像位置に相当する空間座標系の位置(X値,Y値,Z値)を求めることができる。 In this example, the lower left corner of the rake face imaging is taken as the origin of the imaging coordinate system. The right direction is the positive direction of the x coordinate axis, and the upward direction is the positive direction of the y coordinate axis. The position (three-dimensional offset value) of the spatial coordinate system corresponding to the origin of the imaging coordinate system is specified in the initialization process after setting. Therefore, by adding a three-dimensional offset value to the imaging position of the imaging coordinate system, the position (X value, Y value, Z value) of the spatial coordinate system corresponding to the imaging position can be obtained.

図7は、影画像を模式的に示す図である。
すくい面撮像を撮像する前に、各チップの撮像位置を求める処理を行う。この処理では、まず工具100の回転角度αの一周に渡る影画像を撮像して、工具100の輪郭を抽出する。影画像を撮像する場合には、第1照明部506を消灯し、第2照明部508を点灯する。そして、所定間隔(たとえば、1度)の角度で、撮像部502によって撮像された影画像を得る。たとえば、工具100の回転角度αが0度、1度、2度、・・・359度の順に撮像して、各撮像によってそれぞれ角度に対応する影画像が得られる。
FIG. 7 is a diagram schematically showing a shadow image.
Before taking a rake face image, a process is performed to determine the image pickup position of each chip. In this process, first, a shadow image over the rotation angle α of the tool 100 is imaged, and the contour of the tool 100 is extracted. When capturing a shadow image, the first lighting unit 506 is turned off and the second lighting unit 508 is turned on. Then, a shadow image captured by the imaging unit 502 is obtained at an angle of a predetermined interval (for example, 1 degree). For example, the rotation angle α of the tool 100 is imaged in the order of 0 degrees, 1 degree, 2 degrees, ... 359 degrees, and each imaging obtains a shadow image corresponding to the angle.

影画像における撮像範囲(図4参照)は、すくい面撮像の場合と同様である。黒い範囲が、チップを含む工具100の影である。この影のエッジが、工具100の輪郭を示す。 The imaging range (see FIG. 4) in the shadow image is the same as in the case of rake face imaging. The black area is the shadow of the tool 100 including the tip. The edge of this shadow shows the outline of the tool 100.

影画像が得られると、工具100の輪郭のうち、所定高さにおける輪郭位置を計測する。影画像の撮像座標系の所定高さにおけるエッジの座標に3次元のオフセット値を加えることによって、空間座標系の輪郭位置(X値,Y値,Z値)が求められる。工具100の回転角度αが変わっても輪郭位置のZ値とY値は変わらないので、X値のみ求めれば足りる。X値は、回転軸から所定高さの工具100の縁までの距離を示す。所定高さは、たとえばチップの最下端やボディ110の正面を基準とする。 When the shadow image is obtained, the contour position of the contour of the tool 100 at a predetermined height is measured. By adding a three-dimensional offset value to the coordinates of the edge at a predetermined height of the image pickup coordinate system of the shadow image, the contour position (X value, Y value, Z value) of the spatial coordinate system can be obtained. Even if the rotation angle α of the tool 100 changes, the Z value and the Y value of the contour position do not change, so it is sufficient to obtain only the X value. The X value indicates the distance from the rotation axis to the edge of the tool 100 at a predetermined height. The predetermined height is based on, for example, the lowermost end of the chip or the front surface of the body 110.

工具100の各回転角度と輪郭位置は関連付けられる。各回転角度と輪郭位置を関連付けるデータを「関連付けデータ」という。刃先が最も張り出した位置で撮像された影画像の場合に、輪郭位置のX値は工具100の刃先半径r(図2参照)と一致する。チップが無いところで撮像された影画像の場合には、輪郭位置のX値はボディ半径と一致する。 Each rotation angle of the tool 100 and the contour position are associated. The data that associates each rotation angle with the contour position is called "association data". In the case of a shadow image captured at the position where the cutting edge is most overhanging, the X value of the contour position coincides with the cutting edge radius r (see FIG. 2) of the tool 100. In the case of a shadow image captured in the absence of a chip, the X value of the contour position coincides with the body radius.

図8は、関連付けデータのグラフを示す図である。
横軸は、工具100の回転角度αを示す。縦軸は、輪郭位置(X値)を示す。つまり、工具100の回転角度系列の輪郭位置(X値)を表している。図示するように、チップが張り出す回転角度αにおいて、輪郭位置の値が大きくなっている。この例では、5つのチップが張り出す回転角度αに対応する5つの輪郭位置(X値)の極大値が見られる。
FIG. 8 is a diagram showing a graph of association data.
The horizontal axis indicates the rotation angle α of the tool 100. The vertical axis indicates the contour position (X value). That is, it represents the contour position (X value) of the rotation angle series of the tool 100. As shown in the figure, the value of the contour position is large at the rotation angle α overhanging the chip. In this example, the maximum values of the five contour positions (X values) corresponding to the rotation angles α overhanging the five chips can be seen.

このような関連付けデータに基づいて、各チップの撮像位置を算出する。ここまで、等ピッチの例を示したが、不等ピッチについても撮像するものとする。先に等ピッチ工具の場合について説明し、後で不等ピッチ工具の場合について説明する。 Based on such association data, the imaging position of each chip is calculated. Up to this point, an example of equal pitch has been shown, but it is assumed that an image is also taken for unequal pitch. The case of an equal pitch tool will be described first, and the case of an unequal pitch tool will be described later.

等ピッチ工具の場合には、チップの数、つまり刃の数を求める。工具100の回転角度αを独立変数とし、各回転角度αにおける輪郭位置(X値)を従属変数とする関数に対するFFT(高速フーリエ変換)によって、取り付け部302の一周(360度)に含まれる周期の数を特定する。この例では、周期の数「5」が求められる。周期の数は、工具100の外周に含まれる刃の数に相当する。外周上に刃が周期的に配置されているからである。FFTは、フーリエ変換の例である。そして、一周(360度)を刃の数で除して、隣り合う刃同士の回転角度αの差を示す刃間角度γを求める。 In the case of an equal pitch tool, the number of chips, that is, the number of blades is calculated. A period included in one round (360 degrees) of the mounting portion 302 by FFT (Fast Fourier Transform) for a function whose independent variable is the rotation angle α of the tool 100 and whose dependent variable is the contour position (X value) at each rotation angle α. Identify the number of. In this example, the number of cycles "5" is obtained. The number of cycles corresponds to the number of blades included in the outer circumference of the tool 100. This is because the blades are periodically arranged on the outer circumference. FFT is an example of the Fourier transform. Then, one circumference (360 degrees) is divided by the number of blades to obtain the blade-to-blade angle γ indicating the difference in the rotation angle α between adjacent blades.

図26は、FFTによる解析結果データのグラフを示す図である。
FFTは、音声分析や振動測定などで用いられる解析手法である。FFTでは、音声などの時系列データを複数の周波数成分に分解し、それらの大きさをスペクトルとして表す。本実施形態では、回転角度系列の輪郭位置に応用する。通常行われる時系列データの解析では、サイクル数/秒で周波数を表すが、この例ではサイクル数/一周(360度)を周波数と定義する。つまり、1周が1秒に相当するものとする。実際に変更部306が取り付け部302を回転させる速度とは一致しないが、解析の上では問題ない。この図では、縦軸にスペクトルを示す。横軸に上述のように定義した周波数を示す。この周波数は、等ピッチ工具に含まれる刃の数と一致する。この例では、周波数が5のときに最大のスペクトルを示す。つまり、一周(360度)に5つのサイクルが含まれていることを意味する。これにより、等ピッチ工具が5つの刃を有することがわかる。
FIG. 26 is a diagram showing a graph of analysis result data by FFT.
FFT is an analysis method used in voice analysis, vibration measurement, and the like. In FFT, time-series data such as voice is decomposed into a plurality of frequency components, and their magnitudes are represented as a spectrum. In this embodiment, it is applied to the contour position of the rotation angle series. In the usual analysis of time series data, the frequency is expressed by the number of cycles / second, but in this example, the number of cycles / one round (360 degrees) is defined as the frequency. That is, one lap corresponds to one second. Although it does not actually match the speed at which the changing portion 306 rotates the mounting portion 302, there is no problem in analysis. In this figure, the vertical axis shows the spectrum. The horizontal axis shows the frequencies defined above. This frequency corresponds to the number of blades contained in the equipitch tool. In this example, the maximum spectrum is shown when the frequency is 5. In other words, it means that one lap (360 degrees) includes five cycles. This shows that the equipitch tool has five blades.

また、図8の関連付けデータにおいて、最大の輪郭位置(X値)を特定し、最大の輪郭位置(X値)を示す回転角度αを求める。この回転角度αによって、刃先が最も張り出したすべり面撮像が得られる撮像位置を特定できる。この例では、回転角度αが31度のときに、輪郭位置(X値)の最大値を示す。つまり、図5(B)に示したように回転角度αが31度になった状態で、輪郭位置が回転軸から最も離れる。 Further, in the association data of FIG. 8, the maximum contour position (X value) is specified, and the rotation angle α indicating the maximum contour position (X value) is obtained. With this rotation angle α, it is possible to specify the imaging position where the sliding surface image with the most overhanging cutting edge can be obtained. In this example, when the rotation angle α is 31 degrees, the maximum value of the contour position (X value) is shown. That is, as shown in FIG. 5B, the contour position is farthest from the rotation axis when the rotation angle α is 31 degrees.

さらに、最大の輪郭位置を基準として、他の刃先の撮像位置を求める。他の刃先の撮像位置は、最大の輪郭位置を示す回転角度αに刃間角度γの自然数倍を加えて求める。刃の数がn個であれば、γ、2γ、・・・(n−1)γを加えると、残りn−1個の刃先の撮像位置の角度が求められる。 Further, the imaging position of another cutting edge is obtained with reference to the maximum contour position. The imaging position of the other cutting edge is obtained by adding a natural number multiple of the blade-to-blade angle γ to the rotation angle α indicating the maximum contour position. If the number of blades is n, γ, 2γ, ... (N-1) γ is added to obtain the angle of the imaging position of the remaining n-1 blades.

不等ピッチ工具の場合には、回転角度系列の輪郭位置(X値)における極大値を特定して、それぞれの極大値を示す回転角度αによって、各刃の撮像位置を特定する。具体的には、工具100の回転角度αを独立変数とし、各回転角度αにおける輪郭位置(X値)を従属変数とする関数の導関数の値(微分値)が正から負に切り替わるときの回転角度αを特定する。工具100の回転角度αを独立変数とし、各回転角度αにおける輪郭位置(X値)を従属変数とする関数は、たとえば、離散データに近似する連続関数を求める既存の関数近似の手法によって求められる。あるいは、各回転角度αにおける輪郭位置(X値)をその前と後の回転角度αにおける輪郭位置(X値)と比較して、前と後の回転角度αにおける輪郭位置(X値)のいずれよりも大きい場合に、その回転角度αにおける輪郭位置(X値)が極大値であると判定してもよい。このようにして求められた撮像位置は、撮像位置データに格納される。 In the case of an unequal pitch tool, the maximum value in the contour position (X value) of the rotation angle series is specified, and the imaging position of each blade is specified by the rotation angle α indicating each maximum value. Specifically, when the derivative value (differential value) of the function whose rotation angle α of the tool 100 is an independent variable and the contour position (X value) at each rotation angle α is a dependent variable is switched from positive to negative. Specify the rotation angle α. A function having the rotation angle α of the tool 100 as an independent variable and the contour position (X value) at each rotation angle α as a dependent variable can be obtained, for example, by an existing function approximation method for obtaining a continuous function that approximates discrete data. .. Alternatively, the contour position (X value) at each rotation angle α is compared with the contour position (X value) at the front and rear rotation angles α, and any of the contour positions (X value) at the front and rear rotation angles α. If it is larger than, it may be determined that the contour position (X value) at the rotation angle α is the maximum value. The image pickup position thus obtained is stored in the image pickup position data.

図9は、撮像位置データの構造図である。
撮像位置データには、各刃の撮像位置が設定される。撮像位置は、工具100の回転角度αで特定される。図9に示した工具100の回転角度αは、図5(B)〜図5(F)に示した通りである。図9に示した第1刃〜第5刃は、第1チップ121〜第5チップ125に相当する。
FIG. 9 is a structural diagram of imaging position data.
The imaging position of each blade is set in the imaging position data. The imaging position is specified by the rotation angle α of the tool 100. The rotation angle α of the tool 100 shown in FIG. 9 is as shown in FIGS. 5 (B) to 5 (F). The first to fifth blades shown in FIG. 9 correspond to the first chips 121 to the fifth chips 125.

<撮像角度の変更>
作業者は、まずは上述のように決めた撮像位置で刃先を観察することができる。但し、刃を真横から見ただけでは、刃先の状況を判断しきれない場合がある。そのような場合には、刃を少し傾けて見ることによって、刃先の状況をとらえやすくなる。
<Change of imaging angle>
The operator can first observe the cutting edge at the imaging position determined as described above. However, it may not be possible to judge the condition of the cutting edge just by looking at the blade from the side. In such a case, it is easier to grasp the situation of the cutting edge by tilting the blade a little.

また、たとえば図6のすくい面撮像では、第1照明部506からすくい面に当たった光の反射が撮像部502の方に向いていないので刃先が暗く見づらくなっている。このような場合には、作業員が工具100を少し回転させて、すくい面への光の当たり方を変えて見やすくする。 Further, for example, in the rake face imaging of FIG. 6, the reflection of the light hitting the rake face from the first illumination unit 506 is not directed toward the image pickup unit 502, so that the cutting edge is dark and difficult to see. In such a case, the worker rotates the tool 100 a little to change the way the light hits the rake face to make it easier to see.

図10は、撮像角度を正方向に調整したすくい面撮像である。
工具100の回転角度αを正方向に少し回転させると、刃先が撮像部502の方に少し持ち上げられた状態となる。おおよそ破線より右側にチップが写っている。すくい面の角度が変わるので、第1照明部506からすくい面に当たった光の反射を撮像部502が受けて、刃先が明るく写るようになる。このように、作業員が取り付け部302を任意に微小回転させることができれば、すくい面の傾きを変えて反射光の強さを調節し撮像を見やすくすることができる。
FIG. 10 is a rake plane image pickup in which the image pickup angle is adjusted in the positive direction.
When the rotation angle α of the tool 100 is slightly rotated in the positive direction, the cutting edge is slightly lifted toward the image pickup unit 502. The chip is on the right side of the broken line. Since the angle of the rake face changes, the image pickup unit 502 receives the reflection of the light hitting the rake face from the first illumination unit 506, and the cutting edge is brightened. In this way, if the worker can arbitrarily rotate the mounting portion 302 slightly, the inclination of the rake face can be changed to adjust the intensity of the reflected light and make the image pickup easier to see.

図11(A)は、撮像部502側へ刃先を傾けた状態を示す図である。この図では、工具100の回転角度αを+5度調整している。このとき調整のために回転させる撮像角度をθで表す。この例で、撮像角度θは+5度である。このように傾ければ、刃先を手前に起こした向きで撮像することができる。 FIG. 11A is a diagram showing a state in which the cutting edge is tilted toward the image pickup unit 502. In this figure, the rotation angle α of the tool 100 is adjusted by +5 degrees. At this time, the imaging angle rotated for adjustment is represented by θ. In this example, the imaging angle θ is +5 degrees. By tilting in this way, it is possible to take an image with the cutting edge raised toward you.

図11(B)は、撮像部502の反対側へ刃先を傾けた状態を示す図である。この図では、工具100の回転角度αを−5度調整している。この例で、撮像角度θは−5度である。このように傾ければ、刃先を奥へ寝かせた向きで撮像することができる。 FIG. 11B is a diagram showing a state in which the cutting edge is tilted toward the opposite side of the image pickup unit 502. In this figure, the rotation angle α of the tool 100 is adjusted by −5 degrees. In this example, the imaging angle θ is −5 degrees. By tilting in this way, it is possible to take an image with the cutting edge laid in the back.

したがって、真横から見て判断できる摩耗量だけでなく、斜めから見た刃先の減り具合を把握できる。作業員の着眼点やその時の刃先の状況によって、作業員による刃先の観察に適した角度は違ってくるので、作業員が任意に撮像角度を変えることができれば判断しやすくなる。ただし、工具100の撮像角度の調整が大きくなると、撮像部502の焦点から刃先が離れるという問題がある。 Therefore, not only the amount of wear that can be determined from the side, but also the degree of reduction of the cutting edge when viewed from an angle can be grasped. Since the angle suitable for the worker to observe the cutting edge differs depending on the point of view of the worker and the condition of the cutting edge at that time, it becomes easier to judge if the worker can arbitrarily change the imaging angle. However, if the adjustment of the imaging angle of the tool 100 becomes large, there is a problem that the cutting edge moves away from the focal point of the imaging unit 502.

図12(A)は、撮像部502側へ傾けた刃先と被写界深度の関係を示す図である。
図示するように、刃先が、r×sin(θ)[r:刃先半径、θ:撮像角度]だけ撮像部502の方へ近づく。その結果、刃先が被写界深度の範囲から外れることがある。刃先が被写界深度から外れると、すくい面撮像における刃先の像がぼやけて、見づらくなる。
FIG. 12A is a diagram showing the relationship between the cutting edge tilted toward the image pickup unit 502 and the depth of field.
As shown in the figure, the cutting edge approaches the image pickup unit 502 by r × sin (θ) [r: cutting edge radius, θ: imaging angle]. As a result, the cutting edge may be out of the range of depth of field. When the cutting edge deviates from the depth of field, the image of the cutting edge in rake face imaging becomes blurry and difficult to see.

図12(B)は、刃先を撮像部502側へ傾けたときの工具100の移動を示す図である。
本実施形態では、このように刃先の像がぼやけることを防ぐために、工具100全体を第2方向(図3参照)上において撮像部502から遠ざけて、刃先が被写界深度の範囲におさまるようにする。具体的には、ボディ110の正面の中心位置を(0,−r×sinθ,0)に移す。制御部620(図17参照)がモーターに対して、Y軸方向に−r×sinθの距離だけ取り付け部302を移動させるように指示して、モーターは、制御部620の指示に従って、取り付け部302をY軸方向に−r×sinθの距離だけ移動させる。こうすれば、刃先は撮像部502の焦点距離に位置するので、すくい面撮像において鮮明な像として写る。
FIG. 12B is a diagram showing the movement of the tool 100 when the cutting edge is tilted toward the image pickup unit 502.
In the present embodiment, in order to prevent the image of the cutting edge from being blurred in this way, the entire tool 100 is moved away from the image pickup unit 502 in the second direction (see FIG. 3) so that the cutting edge falls within the range of the depth of field. To. Specifically, the center position of the front surface of the body 110 is moved to (0, −r × sin θ, 0). The control unit 620 (see FIG. 17) instructs the motor to move the mounting unit 302 by a distance of −r × sin θ in the Y-axis direction, and the motor follows the instructions of the control unit 620 to move the mounting unit 302. Is moved in the Y-axis direction by a distance of −r × sin θ. By doing so, since the cutting edge is located at the focal length of the image pickup unit 502, a clear image is captured in the rake face image pickup.

図13(A)は、撮像部502側と反対の方へ傾けた刃先と被写界深度の関係を示す図である。
図示するように、刃先が、r×sin(θ)[r:刃先半径、θ:撮像角度]だけ撮像部502の方へ遠のく。この場合も、刃先が被写界深度から外れて、すくい面撮像における刃先の像がぼやけて、見づらくなる。
FIG. 13A is a diagram showing the relationship between the cutting edge tilted in the direction opposite to the image pickup unit 502 side and the depth of field.
As shown in the figure, the cutting edge is farther toward the imaging unit 502 by r × sin (θ) [r: cutting edge radius, θ: imaging angle]. In this case as well, the cutting edge deviates from the depth of field, and the image of the cutting edge in rake face imaging becomes blurry and difficult to see.

図13(B)は、刃先を撮像部502側と反対の方へ傾けたときの工具100の移動を示す図である。
この場合には、工具100全体を撮像部502から近づけて、刃先が被写界深度におさまるようにする。つまり、ボディ110の正面の中心位置を(0,−r×sinθ,0)に移して、刃先が撮像部502の焦点距離に位置するようにする。制御部620(図17参照)がモーターに対して、Y軸方向に−r×sinθの距離だけ取り付け部302を移動させるように指示して、モーターは、制御部620の指示に従って、取り付け部302をY軸方向に−r×sinθの距離だけ移動させる。
FIG. 13B is a diagram showing the movement of the tool 100 when the cutting edge is tilted in the direction opposite to the image pickup unit 502 side.
In this case, the entire tool 100 is brought closer to the image pickup unit 502 so that the cutting edge is within the depth of field. That is, the center position of the front surface of the body 110 is moved to (0, −r × sin θ, 0) so that the cutting edge is located at the focal length of the image pickup unit 502. The control unit 620 (see FIG. 17) instructs the motor to move the mounting unit 302 by a distance of −r × sin θ in the Y-axis direction, and the motor follows the instructions of the control unit 620 to move the mounting unit 302. Is moved in the Y-axis direction by a distance of −r × sin θ.

このようにすれば、撮像部502と刃先の距離を一定に保ち、工具100を回転させた場合の撮像のピントずれを防ぐ。ユーザは、ワンステップでピントの合った撮像を得ることができるので、ピント合わせのための操作が不要になる。また、刃先を撮像部502側と反対の方へ傾けると、図示したように右上方の第1照明部506から放たれる照射光に対してすくい面が正対するようになる。したがって、反射光の向きを光軸方向から離れさせ、撮像におけるすくい面の明度を低めることができる。このように照明方向によって影響を受ける撮像の見やすさを、工具を回転させることによって調整できる。 By doing so, the distance between the image pickup unit 502 and the cutting edge is kept constant, and the focus shift of the image pickup when the tool 100 is rotated is prevented. Since the user can obtain an image in focus in one step, no operation for focusing is required. Further, when the cutting edge is tilted in the direction opposite to the image pickup unit 502 side, the rake face faces the irradiation light emitted from the first illumination unit 506 on the upper right side as shown in the figure. Therefore, it is possible to shift the direction of the reflected light away from the optical axis direction and reduce the brightness of the rake face in imaging. In this way, the visibility of the image image, which is affected by the illumination direction, can be adjusted by rotating the tool.

続いて、刃の逃げ面の撮像について説明する。 Subsequently, imaging of the flank surface of the blade will be described.

図14(A)は、第1チップ121のすくい面の撮像位置を示している。図14(B)は、第1チップ121の逃げ面の撮像位置を示している。
逃げ面を撮像する場合には、すくい面の撮像位置を基準として、工具100を90度正方向に回転させる。つまり、第1チップ121の逃げ面の撮像位置は、第1チップ121のすくい面の撮像位置に相当する回転角度α:31度に90度を加えた回転角度α:121度になる。また、工具100をY軸方向に刃先半径rだけ撮像部502から遠ざけ、さらにX軸方向に刃先半径rだけ光軸へ近づける。つまり、ボディ110の正面の中心位置を(r,−r,0)に移して、第1チップ121の刃先が光軸上の焦点距離に位置するようにする。制御部620(図17参照)がモーターに対して、X軸方向にrの距離とY軸方向に−rの距離と取り付け部302を移動させるように指示して、モーターは、制御部620の指示に従って、取り付け部302をX軸方向にrの距離とY軸方向に−rの距離と移動させる。これにより、撮像部502において、第1チップ121の逃げ面と正対して撮像することができる。
FIG. 14A shows the imaging position of the rake face of the first chip 121. FIG. 14B shows the imaging position of the flank of the first chip 121.
When imaging the flank surface, the tool 100 is rotated 90 degrees in the positive direction with reference to the imaging position of the rake face. That is, the image pickup position of the flank surface of the first chip 121 is a rotation angle α: 121 degrees obtained by adding 90 degrees to the rotation angle α: 31 degrees corresponding to the image pickup position of the rake face of the first chip 121. Further, the tool 100 is moved away from the image pickup unit 502 by the cutting edge radius r in the Y-axis direction, and further brought closer to the optical axis by the cutting edge radius r in the X-axis direction. That is, the center position of the front surface of the body 110 is moved to (r, −r, 0) so that the cutting edge of the first chip 121 is located at the focal length on the optical axis. The control unit 620 (see FIG. 17) instructed the motor to move the r distance in the X-axis direction, the −r distance in the Y-axis direction, and the mounting unit 302, and the motor of the control unit 620 According to the instruction, the mounting portion 302 is moved with a distance of r in the X-axis direction and a distance of −r in the Y-axis direction. As a result, the image pickup unit 502 can take an image facing the flank of the first chip 121.

図15(A)は、第2チップ122の逃げ面の撮像位置を示している。ボディ110の正面の中心位置は、図14(B)と同様に(r,−r,0)である。第2チップ122の逃げ面の撮像位置を特定する回転角度αは、第2チップ122のすくい面の撮像位置に相当する回転角度α:103度に90度を加えた193度になる。 FIG. 15A shows the imaging position of the flank of the second chip 122. The center position of the front surface of the body 110 is (r, −r, 0) as in FIG. 14 (B). The rotation angle α that specifies the image pickup position of the flank surface of the second chip 122 is 193 degrees, which is obtained by adding 90 degrees to the rotation angle α: 103 degrees corresponding to the image pickup position of the rake face of the second chip 122.

図15(B)は、第3チップ123の逃げ面の撮像位置を示している。ボディ110の正面の中心位置は、図14(B)と同様に(r,−r,0)である。第3チップ123の逃げ面の撮像位置を特定する回転角度αは、第3チップ123のすくい面の撮像位置に相当する回転角度α:175度に90度を加えた265度になる。 FIG. 15B shows the imaging position of the flank of the third chip 123. The center position of the front surface of the body 110 is (r, −r, 0) as in FIG. 14 (B). The rotation angle α that specifies the image pickup position of the flank surface of the third chip 123 is 265 degrees, which is obtained by adding 90 degrees to the rotation angle α: 175 degrees corresponding to the image pickup position of the rake face of the third chip 123.

図15(C)は、第4チップ124の逃げ面の撮像位置を示している。ボディ110の正面の中心位置は、図14(B)と同様に(r,−r,0)である。第4チップ124の逃げ面の撮像位置を特定する回転角度αは、第4チップ124のすくい面の撮像位置に相当する回転角度α:247度に90度を加えた337度になる。 FIG. 15C shows the imaging position of the flank of the fourth chip 124. The center position of the front surface of the body 110 is (r, −r, 0) as in FIG. 14 (B). The rotation angle α that specifies the image pickup position of the flank surface of the fourth chip 124 is 337 degrees, which is obtained by adding 90 degrees to the rotation angle α: 247 degrees corresponding to the image pickup position of the rake face of the fourth chip 124.

図15(D)は、第5チップ125の逃げ面の撮像位置を示している。ボディ110の正面の中心位置は、図14(B)と同様に(r,−r,0)である。第5チップ125の逃げ面の撮像位置を特定する回転角度αは、第5チップ125のすくい面の撮像位置に相当する回転角度α:319度に90度を加えた49度(409度)になる。 FIG. 15D shows the imaging position of the flank of the fifth chip 125. The center position of the front surface of the body 110 is (r, −r, 0) as in FIG. 14 (B). The rotation angle α that specifies the imaging position of the flank surface of the fifth chip 125 is 49 degrees (409 degrees), which is the rotation angle α corresponding to the imaging position of the rake face of the fifth chip 125: 319 degrees plus 90 degrees. Become.

<ユーザインターフェース>
作業員が工具撮像に関する操作を行うためのユーザインターフェースについて説明する。
<User interface>
A user interface for an operator to perform operations related to tool imaging will be described.

図16は、操作画面の画面図である。
作業員による操作を受け付ける操作画面は、スライドバー701と、「開始」ボタン702と、「次へ」ボタン703と、「不等ピッチ工具」のチェックボックス704とを含む。操作画面は、後述する表示部(図17参照)に表示される。
FIG. 16 is a screen view of the operation screen.
The operation screen for accepting operations by the operator includes a slide bar 701, a "start" button 702, a "next" button 703, and a check box 704 for "unequal pitch tools". The operation screen is displayed on a display unit (see FIG. 17) described later.

撮像対象の工具100が等ピッチ工具である場合には、作業者は「不等ピッチ工具」のチェックボックス704をOFF(チェックマーク無し)にしたまま「開始」ボタン702にタッチする。この操作によって、等ピッチ工具の撮像が開始される。一方、撮像対象の工具100が不等ピッチ工具である場合には、作業者は「不等ピッチ工具」のチェックボックス704をON(チェックマーク有り)にして、「開始」ボタン702にタッチする。この操作によって、不等ピッチ工具の撮像が開始される。 When the tool 100 to be imaged is an equal pitch tool, the operator touches the "start" button 702 with the check box 704 of the "unequal pitch tool" turned off (without a check mark). By this operation, imaging of the equal pitch tool is started. On the other hand, when the tool 100 to be imaged is an unequal pitch tool, the operator turns on the check box 704 of the "unequal pitch tool" (with a check mark) and touches the "start" button 702. By this operation, imaging of the unequal pitch tool is started.

撮像が開始されると、刃先を映した撮像が1つずつ表示される。刃先の撮像角度θを変更させる場合には、作業者はスライドバー701を操作する。スライドバー701が指す撮像角度θで撮像された撮像が表示される。これにより、作業者は所望の向きで刃先を観察することができる。 When the imaging is started, the imaging images of the cutting edge are displayed one by one. When changing the imaging angle θ of the cutting edge, the operator operates the slide bar 701. The image taken at the image pickup angle θ pointed to by the slide bar 701 is displayed. This allows the operator to observe the cutting edge in a desired orientation.

次の刃先の撮像に移る場合には、作業者は「次へ」ボタン703にタッチする。これにより、次の刃先が映し出される。この例では、各刃先のすくい面を順に映した後で、各刃先の逃げ面を順に映す。 When moving to the next imaging of the cutting edge, the operator touches the "Next" button 703. As a result, the next cutting edge is projected. In this example, the rake face of each cutting edge is projected in order, and then the flank surface of each cutting edge is projected in order.

<機能ブロック>
図17は、画像処理装置600の機能ブロック図である。
画像処理装置600は、演算部610、記憶部630、入力部650、表示部660及び通信部670を有する。
<Functional block>
FIG. 17 is a functional block diagram of the image processing device 600.
The image processing device 600 includes a calculation unit 610, a storage unit 630, an input unit 650, a display unit 660, and a communication unit 670.

演算部610は、画像処理装置600全体の制御を司るコントローラである。例えば、演算部610は、記憶部630に記憶される制御プログラム638を読み出して実行することにより、画像処理部612、データ処理部614、表示指示部616、受付部618および制御部620としての処理を実行する。また、演算部610は、ハードウェアとソフトウェアの協働により所定の機能を実現するものに限定されず、所定の機能を実現する専用に設計されたハードウェア回路でもよい。すなわち、演算部610は、CPU、MPU、GPU、FPGA、DSP、ASIC等、種々のプロセッサで実現することができる。 The calculation unit 610 is a controller that controls the entire image processing device 600. For example, the calculation unit 610 reads and executes the control program 638 stored in the storage unit 630, thereby processing the image processing unit 612, the data processing unit 614, the display instruction unit 616, the reception unit 618, and the control unit 620. To execute. Further, the arithmetic unit 610 is not limited to the one that realizes a predetermined function by the cooperation of hardware and software, and may be a hardware circuit specially designed to realize a predetermined function. That is, the arithmetic unit 610 can be realized by various processors such as a CPU, MPU, GPU, FPGA, DSP, and ASIC.

記憶部630は種々の情報を記録する記録媒体である。記憶部630は、例えば、RAM、ROM、フラッシュメモリ、SSD(Solid State Device)、ハードディスク、その他の記憶デバイス又はそれらを適宜組み合わせて実現される。記憶部630には、演算部610が実行する制御プログラム638の他、工作機械200で使用する種々のデータ等が格納される。例えば、記憶部630は、画像データ632、関連付けデータ634、撮像位置データ636および制御プログラム638を記憶する。 The storage unit 630 is a recording medium for recording various information. The storage unit 630 is realized, for example, by RAM, ROM, flash memory, SSD (Solid State Device), hard disk, other storage device, or a combination thereof as appropriate. In the storage unit 630, in addition to the control program 638 executed by the calculation unit 610, various data and the like used in the machine tool 200 are stored. For example, the storage unit 630 stores image data 632, association data 634, image pickup position data 636, and control program 638.

入力部650は、データや操作信号の入力に利用するキーボード、マウス及びタッチパネル等の入力手段である。表示部660は、データの出力に利用するディスプレイ等の出力手段である。 The input unit 650 is an input means such as a keyboard, a mouse, and a touch panel used for inputting data and operation signals. The display unit 660 is an output means such as a display used for outputting data.

通信部670は、データ通信を可能とするためのインタフェース回路(モジュール)である。例えば、通信部670は、撮像部502とデータ通信を実行することができる。 The communication unit 670 is an interface circuit (module) for enabling data communication. For example, the communication unit 670 can execute data communication with the image pickup unit 502.

画像処理部612は、撮像された画像データ632から工具100の輪郭位置を検出し、輪郭位置と撮像時の回転角度αとを関連付ける処理を行う。データ処理部614は、関連付けデータ634をフーリエ変換し数値軸において最大値がある数値を工具100の刃数と処理する。表示指示部616は、表示部660に画面表示を指示する。受付部618は、入力部650に対するユーザ操作を受け付ける。制御部620は、主に、取り付け部302を移動させる制御と取り付け部302を回転させる制御を行う。制御部620は、たとえば変更部306に対して撮像角度を変更させる制御を行い、モーターに対して、すくい面又は逃げ面が撮像部502の被写界深度の範囲内に入る位置に取り付け部302を移動させる制御を行う。 The image processing unit 612 detects the contour position of the tool 100 from the captured image data 632, and performs a process of associating the contour position with the rotation angle α at the time of imaging. The data processing unit 614 Fourier transforms the association data 634 and processes the numerical value having the maximum value on the numerical axis with the number of blades of the tool 100. The display instruction unit 616 instructs the display unit 660 to display the screen. The reception unit 618 accepts a user operation for the input unit 650. The control unit 620 mainly controls the movement of the mounting unit 302 and the rotation of the mounting unit 302. The control unit 620 controls, for example, the change unit 306 to change the image pickup angle, and the attachment unit 302 is located at a position where the rake face or the flank surface of the motor is within the range of the depth of field of the image pickup unit 502. Controls the movement of.

<処理過程>
図18は、メイン処理過程を示すフローチャートである。
メイン処理を開始する段階で、取り付け部302に工具100が取り付けられており、取り付け部302は、工具100を回転可能に保持している。また、図4に示したように、撮像ユニット500がセッティングされている。
<Processing process>
FIG. 18 is a flowchart showing the main processing process.
At the stage of starting the main process, the tool 100 is attached to the attachment portion 302, and the attachment portion 302 holds the tool 100 rotatably. Further, as shown in FIG. 4, the image pickup unit 500 is set.

表示指示部616は、「回転工具」ボタンと「旋削工具」ボタンを含む工具種選択画面を、表示部660に表示させる。撮像対象の工具が回転工具(たとえば、フライス工具)である場合に、作業員は「回転工具」ボタンをタッチする。また、撮像対象の工具が旋削工具である場合に、作業員は「旋削工具」ボタンをタッチする。このようにして、受付部618は、工具種選択画面における工具種選択を受け付ける(S10)。 The display instruction unit 616 causes the display unit 660 to display a tool type selection screen including a "rotating tool" button and a "turning tool" button. When the tool to be imaged is a rotary tool (for example, a milling tool), the worker touches the "rotary tool" button. Further, when the tool to be imaged is a turning tool, the worker touches the "turning tool" button. In this way, the reception unit 618 accepts the tool type selection on the tool type selection screen (S10).

受付部618が「回転工具」ボタンのタッチを受け付けた場合には、S12以降の処理によって回転工具の撮像を行う。受付部618が「旋削工具」ボタンのタッチを受け付けた場合には、S12以降の処理を行わない。旋削工具の撮像については、省略する。 When the reception unit 618 receives the touch of the "rotating tool" button, the rotating tool is imaged by the processing after S12. When the reception unit 618 receives the touch of the "turning tool" button, the processing after S12 is not performed. Imaging of the turning tool will be omitted.

制御部620は、初期化処理を行う(S12)。初期化処理によって、工具100の回転角度αの基準(工具100の回転角度αの0度に相当する取り付け部302の向き)と、工具100の位置基準(ボディ110の正面の中心を空間座標系の原点(0,0,0)とするときの工具位置)とを設定する。また、図6に関連して説明したように、撮像座標系と空間座標系の変換に用いられるオフセット値も算出される。 The control unit 620 performs an initialization process (S12). By the initialization process, the reference of the rotation angle α of the tool 100 (the direction of the mounting portion 302 corresponding to 0 degree of the rotation angle α of the tool 100) and the position reference of the tool 100 (the center of the front surface of the body 110 is a spatial coordinate system). (Tool position when the origin (0, 0, 0) is set) and. Further, as described in relation to FIG. 6, the offset value used for the conversion between the imaging coordinate system and the spatial coordinate system is also calculated.

表示指示部616は、操作画面(図16)を表示部660に表示させる(S14)。受付部618が「開始」ボタン702のタッチを受け付けたときに、「不等ピッチ工具」のチェックボックス704がOFFであれば(S16のN)、等ピッチ工具処理が実行される(S18)。等ピッチ工具処理については、図19と図20に関連して後述する。一方、受付部618が「開始」ボタン702のタッチを受け付けたときに、「不等ピッチ工具」のチェックボックス704がONであれば(S16のY)、不等ピッチ工具処理が実行される(S20)。不等ピッチ工具処理については、図21と図22に関連して後述する。 The display instruction unit 616 causes the display unit 660 to display the operation screen (FIG. 16) (S14). If the check box 704 of the "unequal pitch tool" is OFF when the reception unit 618 receives the touch of the "start" button 702 (N of S16), the equal pitch tool processing is executed (S18). Equal pitch tool processing will be described later in relation to FIGS. 19 and 20. On the other hand, when the reception unit 618 receives the touch of the "start" button 702, if the check box 704 of the "unequal pitch tool" is ON (Y in S16), the unequal pitch tool processing is executed (Y). S20). Unequal pitch tool processing will be described later in relation to FIGS. 21 and 22.

図19と図20は、等ピッチ工具処理過程のフローチャートである。
画像処理部612は、図7に関連して説明したように、撮像された影画像の画像データから工具100の輪郭位置を検出し、輪郭位置と撮像時の回転角度とを関連付ける処理を行う(S30)。この処理によって、関連付けデータ634が生成される。
19 and 20 are flowcharts of the equal pitch tool processing process.
As described in relation to FIG. 7, the image processing unit 612 detects the contour position of the tool 100 from the image data of the captured shadow image, and performs a process of associating the contour position with the rotation angle at the time of imaging ( S30). By this process, association data 634 is generated.

データ処理部614は、図8と図26に関連して説明したように、関連付けデータ634をフーリエ変換し数値軸において最大値がある数値を工具100の刃数と処理する(S32)。たとえば、図26に例示したFFTによる解析結果データにおいて最大のスペクトルを示した周波数が、4.9や5.1のように自然数でない場合には、5のように近似する自然数を採用する。最大のスペクトルを示した周波数の少数第一位を四捨五入すれば、刃数を表す自然数が得られる。 As described in relation to FIGS. 8 and 26, the data processing unit 614 Fourier transforms the association data 634 and processes the numerical value having the maximum value on the numerical axis with the number of blades of the tool 100 (S32). For example, when the frequency showing the maximum spectrum in the analysis result data by FFT illustrated in FIG. 26 is not a natural number such as 4.9 or 5.1, an approximate natural number such as 5 is adopted. Rounding off the first decimal place of the frequency that shows the largest spectrum gives a natural number that represents the number of blades.

第1照明部506を点灯し、撮像部502は撮像を開始する。また、表示指示部616は、撮像部502によって撮像された撮像を表示部660に表示させる(S34)。たとえば、撮像部502が動画を撮像して、表示指示部616は、撮像された動画をそのまま続けて表示部660に表示させてもよい。あるいは、表示部660に撮像を表示するタイミングで撮像部502が静止画を撮像して、表示指示部616は、撮像された静止画を表示部660に表示させてもよい。 The first illumination unit 506 is turned on, and the image pickup unit 502 starts imaging. Further, the display instruction unit 616 causes the display unit 660 to display the image captured by the image pickup unit 502 (S34). For example, the image pickup unit 502 may capture a moving image, and the display instruction unit 616 may continuously display the captured moving image on the display unit 660. Alternatively, the imaging unit 502 may capture a still image at the timing of displaying the image on the display unit 660, and the display instruction unit 616 may display the captured still image on the display unit 660.

変更部306は、工具100を最初の刃のすくい面の撮像位置に合わせる(S36)。最初の刃のすくい面の撮像位置は、関連付けデータ634における最大の輪郭位置(X値)を示す回転角度(以下、「最大値の回転角度」という。)によって特定される。制御部602は、取り付け部302の回転角度を最大値の回転角度に合わせるように変更部306に指示し、変更部306は、工具100の回転角度αが最大値の回転角度に合うように、取り付け部302を回転させる。このようにして、最初の刃のすくい面撮像が表示部660に動画あるいは静止画として表示される。このとき、撮像角度θは0度である。 The changing unit 306 aligns the tool 100 with the imaging position of the rake face of the first blade (S36). The imaging position of the rake face of the first blade is specified by a rotation angle (hereinafter, referred to as "maximum rotation angle") indicating the maximum contour position (X value) in the association data 634. The control unit 602 instructs the changing unit 306 to adjust the rotation angle of the mounting unit 302 to the maximum rotation angle, and the changing unit 306 sets the rotation angle α of the tool 100 to match the maximum rotation angle. Rotate the mounting portion 302. In this way, the rake face image of the first blade is displayed on the display unit 660 as a moving image or a still image. At this time, the imaging angle θ is 0 degrees.

すくい面撮像が表示されている状態で、受付部618がスライドバー701の操作を受け付けると(S38のY)、変更部306は、すくい面の撮像角度θを変更する(S40)。制御部602は、取り付け部302の回転角度を撮像角度θに応じて増減させるように変更部306に指示し、変更部306は、取り付け部302を回転させて、図11(A)、図11(B)、図12(A)および図13(A)に例示したように、撮像角度θに応じて工具100の回転角度αを増減させる。 When the reception unit 618 accepts the operation of the slide bar 701 (Y in S38) while the rake face image pickup is displayed, the change unit 306 changes the image pickup angle θ of the rake face (S40). The control unit 602 instructs the changing unit 306 to increase / decrease the rotation angle of the mounting unit 302 according to the imaging angle θ, and the changing unit 306 rotates the mounting unit 302 to rotate FIGS. 11 (A) and 11A. As illustrated in (B), FIG. 12 (A) and FIG. 13 (A), the rotation angle α of the tool 100 is increased or decreased according to the imaging angle θ.

また、モーターは、すくい面の撮像角度θに応じて取り付け部302を移動させる(S42)。具体的には、図12(B)および図13(B)に関連して説明したように、制御部602は、取り付け部302をY軸方向に−r×sinθの距離だけ移動させるようにモーターに指示し、モーターは、Y軸方向の−r×sinθの変位となるように取り付け部302を移動させる。この移動によって、刃先と撮像部502の距離が、焦点距離と一致するように保たれる。このようにして、撮像角度θを調整したときに鮮明なすくい面撮像が表示部660に動画あるいは静止画として表示される。 Further, the motor moves the mounting portion 302 according to the imaging angle θ of the rake face (S42). Specifically, as described in relation to FIGS. 12 (B) and 13 (B), the control unit 602 is a motor that moves the mounting unit 302 in the Y-axis direction by a distance of −r × sin θ. The motor moves the mounting portion 302 so as to have a displacement of −r × sin θ in the Y-axis direction. This movement keeps the distance between the cutting edge and the image pickup unit 502 in line with the focal length. In this way, when the imaging angle θ is adjusted, the clear rake face imaging is displayed on the display unit 660 as a moving image or a still image.

受付部618が「次へ」ボタン703のタッチを受け付けた場合に(S44)、未だ全刃のすくい面の撮像を終えていなければ(S46のN)、隣の刃のすくい面の撮像に移る。そのため、変更部306は、工具100を隣の刃のすくい面の撮像位置に合わせる(S48)。隣の刃のすくい面の撮像位置は、図8に関連して説明したように、最大値の回転角度に順次刃間角度γを加えて特定される。制御部602は、取り付け部302の回転角度を、刃間角度γが加えられた回転角度に合わせるように変更部306に指示し、変更部306は、刃間角度γが加えられた回転角度に工具100の回転角度αが合うように、取り付け部302を回転させる。このようにして、隣の刃のすくい面撮像が表示部660に動画あるいは静止画として表示される。このとき、撮像角度θは0度である。 When the reception unit 618 receives the touch of the "Next" button 703 (S44), if the image of the rake face of all blades has not been completed (N of S46), the image of the rake surface of the adjacent blade is started. .. Therefore, the changing unit 306 aligns the tool 100 with the imaging position of the rake face of the adjacent blade (S48). As described in connection with FIG. 8, the imaging position of the rake face of the adjacent blade is specified by sequentially adding the blade-to-blade angle γ to the rotation angle of the maximum value. The control unit 602 instructs the changing unit 306 to match the rotation angle of the mounting unit 302 with the rotation angle to which the blade angle γ is added, and the changing unit 306 sets the rotation angle to the rotation angle to which the blade angle γ is added. The mounting portion 302 is rotated so that the rotation angle α of the tool 100 matches. In this way, the rake face image of the adjacent blade is displayed on the display unit 660 as a moving image or a still image. At this time, the imaging angle θ is 0 degrees.

受付部618が「次へ」ボタン703のタッチを受け付けた場合に(S44のY)、全刃のすくい面の撮像を終えていれば(S46のY)、図20に示したS60の処理に移る。 When the reception unit 618 receives the touch of the "Next" button 703 (Y in S44), if the imaging of the rake face of all blades is completed (Y in S46), the process of S60 shown in FIG. 20 is performed. Move.

図20に示した処理では、逃げ面を撮像する。変更部306は、工具100を、最初の刃の逃げ面の撮像位置に合わせる(S60)。最初の刃のすくい面の撮像位置は、関連付けデータ634における最大値の回転角度に90度を加えた角度(たとえば図14(B)では、31度+90度=121度)によって特定される。制御部602は、取り付け部302の回転角度を、90度加算された回転角度に合わせるように変更部306に指示し、変更部306は、90度を加算された回転角度に工具100の回転角度αが合うように、取り付け部302を回転させる。 In the process shown in FIG. 20, the flank surface is imaged. The changing unit 306 aligns the tool 100 with the imaging position of the flank of the first blade (S60). The imaging position of the rake face of the first blade is specified by an angle obtained by adding 90 degrees to the maximum rotation angle in the association data 634 (for example, 31 degrees + 90 degrees = 121 degrees in FIG. 14B). The control unit 602 instructs the changing unit 306 to adjust the rotation angle of the mounting unit 302 to the rotation angle added by 90 degrees, and the changing unit 306 instructs the changing unit 306 to match the rotation angle of the tool 100 with the rotation angle added by 90 degrees. Rotate the mounting portion 302 so that α matches.

モーターは、逃げ面の撮像に合うように取り付け部302を移動させる(S62)。具体的には、図14(B)に関連して説明したように、制御部602は、取り付け部302をX軸方向のrの距離とY軸方向の−rの距離と移動させるようにモーターに指示し、モーターは、X軸方向の+rの変位となりY軸方向の−rの変位となるように、取り付け部302を移動させる。このようにして、最初の刃の逃げ面撮像が表示部660に動画あるいは静止画として表示される。このとき、撮像角度θは0度である。 The motor moves the mounting portion 302 so as to match the image pickup of the flank surface (S62). Specifically, as described in relation to FIG. 14B, the control unit 602 is a motor that moves the mounting unit 302 with a distance of r in the X-axis direction and a distance of −r in the Y-axis direction. The motor moves the mounting portion 302 so as to have a + r displacement in the X-axis direction and a −r displacement in the Y-axis direction. In this way, the flank image of the first blade is displayed on the display unit 660 as a moving image or a still image. At this time, the imaging angle θ is 0 degrees.

逃げ面撮像が表示されている状態で、受付部618がスライドバー701の操作を受け付けると(S64のY)、変更部306は、逃げ面の撮像角度θを変更する(S66)。すくい面の撮像角度θを変更する場合と同様に、制御部602は、取り付け部302の回転角度を撮像角度θに応じて増減させるように変更部306に指示し、変更部306は取り付け部302を回転させて、撮像角度θに応じて工具100の回転角度αを増減させる。 When the reception unit 618 accepts the operation of the slide bar 701 (Y in S64) while the flank image is displayed, the change unit 306 changes the image image angle θ of the flank (S66). Similar to the case of changing the imaging angle θ of the rake face, the control unit 602 instructs the changing unit 306 to increase or decrease the rotation angle of the mounting unit 302 according to the imaging angle θ, and the changing unit 306 instructs the mounting unit 302 to increase or decrease. Is rotated to increase or decrease the rotation angle α of the tool 100 according to the imaging angle θ.

また、モーターは、逃げ面の撮像角度θに応じて取り付け部302を移動させる(S68)。撮像角度θを増やした場合も減らした場合も、刃先は撮像部502から遠のく。遠のく距離は、r×(1−cosθ)で求められる。したがって、制御部602は、取り付け部302をY軸方向のr×(1−cosθ)の距離だけ移動させるようにモーターに指示し、モーターは、Y軸方向の+r×(1−cosθ)の変位となるように取り付け部302を移動させる。この移動によって、刃先と撮像部502の距離が、焦点距離と一致するように保たれる。したがって、逃げ面が撮像部502の被写界深度の範囲内に入る。このようにして、撮像角度θを調整したときに鮮明な逃げ面撮像が表示部660に動画あるいは静止画として表示される。 Further, the motor moves the mounting portion 302 according to the imaging angle θ of the flank surface (S68). The cutting edge is far from the image pickup unit 502 regardless of whether the image pickup angle θ is increased or decreased. The distance is determined by r × (1-cosθ). Therefore, the control unit 602 instructs the motor to move the mounting unit 302 by the distance of r × (1-cosθ) in the Y-axis direction, and the motor is displaced by + r × (1-cosθ) in the Y-axis direction. The mounting portion 302 is moved so as to be. This movement keeps the distance between the cutting edge and the image pickup unit 502 in line with the focal length. Therefore, the flank falls within the range of the depth of field of the image pickup unit 502. In this way, when the imaging angle θ is adjusted, a clear flank image is displayed on the display unit 660 as a moving image or a still image.

受付部618が「次へ」ボタン703のタッチを受け付けた場合に(S70のY)、未だ全刃の逃げ面の撮像を終えていなければ(S72のN)、隣の刃の逃げ面の撮像に移る。そのため、変更部306は、工具100を隣の刃の逃げ面の撮像位置に合わせる(S74)。隣の刃の逃げ面の撮像位置は、図15に例示したように、関連付けデータ634における最大値の回転角度+90度に順次刃間角度γを加えて特定される。たとえば図15(A)では、31度+90度+72度=193度によって逃げ面の撮像位置が特定される。制御部602は、取り付け部302の回転角度を、このように算出される回転角度に合わせるように変更部306に指示し、変更部306は、このように算出される回転角度に工具100の回転角度αが合うように、取り付け部302を回転させる。このようにして、隣の刃の逃げ面撮像が表示部660に動画あるいは静止画として表示される。このとき、撮像角度θは0度である。 When the reception unit 618 accepts the touch of the "Next" button 703 (Y in S70), if the image of the flank surface of all blades has not been completed (N in S72), the flank surface of the adjacent blade is imaged. Move to. Therefore, the changing unit 306 adjusts the tool 100 to the imaging position of the flank of the adjacent blade (S74). As illustrated in FIG. 15, the imaging position of the flank of the adjacent blade is specified by sequentially adding the blade-to-blade angle γ to the rotation angle +90 degrees of the maximum value in the association data 634. For example, in FIG. 15A, the imaging position of the flank is specified by 31 degrees + 90 degrees + 72 degrees = 193 degrees. The control unit 602 instructs the changing unit 306 to match the rotation angle of the mounting unit 302 with the rotation angle calculated in this way, and the changing unit 306 rotates the tool 100 to the rotation angle calculated in this way. The mounting portion 302 is rotated so that the angle α matches. In this way, the flank image of the adjacent blade is displayed on the display unit 660 as a moving image or a still image. At this time, the imaging angle θ is 0 degrees.

受付部618が「次へ」ボタン703のタッチを受け付けた場合に(S70のY)、全刃の逃げ面の撮像を終えていれば(S72のY)、等ピッチ工具処理を終え、さらにメイン処理を終える。 When the reception unit 618 receives the touch of the "Next" button 703 (Y of S70), if the image of the flank surface of all blades is completed (Y of S72), the equal pitch tool processing is completed, and the main Finish the process.

図21と図22は、不等ピッチ工具処理過程のフローチャートである。
S80に示した処理は、等ピッチ工具処理の場合(図19のS30)と同様である。
21 and 22 are flowcharts of the unequal pitch tool processing process.
The processing shown in S80 is the same as in the case of equal pitch tool processing (S30 in FIG. 19).

データ処理部614は、図8に関連して説明したように、関連付けデータにおける輪郭位置の極大値を特定する。この例では、5つの極大値が特定され、その中に1つ最大値が含まれている(S82)。 The data processing unit 614 specifies the maximum value of the contour position in the association data, as described in connection with FIG. In this example, five maximum values are specified, one of which is included (S82).

S84〜S96に示した処理は、等ピッチ工具処理の場合(図19のS34〜S46)と同様である。 The processing shown in S84 to S96 is the same as in the case of equal pitch tool processing (S34 to S46 in FIG. 19).

受付部618が「次へ」ボタン703のタッチを受け付けた場合に(S94)、未だ全刃のすくい面の撮像を終えていなければ(S96のN)、隣の刃のすくい面の撮像に移る。そのため、変更部306は、工具100を、隣の刃のすくい面の撮像位置に合わせる(S98)。隣の刃のすくい面の撮像位置は、関連付けデータ634における次の極大値の回転角度によって特定される。制御部602は、取り付け部302の回転角度を次の極大の輪郭位置(X値)を示す回転角度(以下、「極大値の回転角度」という。)に合わせるように変更部306に指示し、変更部306は、次の極大値の回転角度に工具100の回転角度αが合うように、取り付け部302を回転させる。このようにして、隣の刃のすくい面撮像が表示部660に動画あるいは静止画として表示される。このとき、撮像角度θは0度である。 When the reception unit 618 receives the touch of the "Next" button 703 (S94), if the image of the rake face of all blades has not been completed (N of S96), the image of the rake surface of the adjacent blade is started. .. Therefore, the changing unit 306 aligns the tool 100 with the imaging position of the rake face of the adjacent blade (S98). The imaging position of the rake face of the adjacent blade is specified by the rotation angle of the next maximum value in the association data 634. The control unit 602 instructs the changing unit 306 to match the rotation angle of the mounting unit 302 with the rotation angle indicating the next maximum contour position (X value) (hereinafter, referred to as “maximum value rotation angle”). The changing portion 306 rotates the mounting portion 302 so that the rotation angle α of the tool 100 matches the rotation angle of the next maximum value. In this way, the rake face image of the adjacent blade is displayed on the display unit 660 as a moving image or a still image. At this time, the imaging angle θ is 0 degrees.

受付部618が「次へ」ボタン703のタッチを受け付けた場合に(S94のY)、全刃のすくい面の撮像を終えていれば(S96のY)、図22に示したS110の処理に移る。 When the reception unit 618 receives the touch of the "Next" button 703 (Y in S94), if the imaging of the rake face of all blades is completed (Y in S96), the process of S110 shown in FIG. 22 is performed. Move.

図22のS110〜S122に示した処理は、等ピッチ工具処理の場合(図20のS60〜S72)と同様である。 The processing shown in S110 to S122 in FIG. 22 is the same as in the case of equal pitch tool processing (S60 to S72 in FIG. 20).

受付部618が「次へ」ボタン703のタッチを受け付けた場合に(S120のY)、未だ全刃の逃げ面の撮像を終えていなければ(S122のN)、隣の刃の逃げ面の撮像に移る。そのため、変更部306は、工具100を、隣の刃の逃げ面の撮像位置に合わせる(S124)。隣の刃の逃げ面の撮像位置は、関連付けデータ634における次の極大値の回転角度に90度を加えて特定される。制御部602は、取り付け部302の回転角度を、特定された回転角度に合わせるように変更部306に指示し、変更部306は、特定された回転角度に工具100の回転角度αが合うように、取り付け部302を回転させる。このようにして、隣の刃の逃げ面撮像が表示部660に動画あるいは静止画として表示される。このとき、撮像角度θは0度である。 When the reception unit 618 accepts the touch of the "Next" button 703 (Y in S120), if the image of the flank surface of all blades has not been completed (N in S122), the flank surface of the adjacent blade is imaged. Move to. Therefore, the changing unit 306 aligns the tool 100 with the imaging position of the flank of the adjacent blade (S124). The imaging position of the flank of the adjacent blade is specified by adding 90 degrees to the rotation angle of the next maximum value in the association data 634. The control unit 602 instructs the changing unit 306 to adjust the rotation angle of the mounting unit 302 to the specified rotation angle, and the changing unit 306 so that the rotation angle α of the tool 100 matches the specified rotation angle. , Rotate the mounting portion 302. In this way, the flank image of the adjacent blade is displayed on the display unit 660 as a moving image or a still image. At this time, the imaging angle θ is 0 degrees.

受付部618が「次へ」ボタン703のタッチを受け付けた場合に(S120のY)、全刃の逃げ面の撮像を終えていれば(S122のY)、不等ピッチ工具処理を終え、さらにメイン処理を終える。 When the reception unit 618 receives the touch of the "Next" button 703 (Y of S120), if the image of the flank surface of all blades is completed (Y of S122), the unequal pitch tool processing is completed, and further. Finish the main process.

[変形例1]
図23は、変形例1に係る工具撮像システムの構成例を示す図である。
実施形態では、工作機械200が画像処理装置600を含む形態を示したが、画像処理装置600を工作機械200と別に設けるようにしてもよい。画像処理装置600は、工作機械200と通信を行って実施形態と同様に動作するようにしてもよい。工作機械200と画像処理装置600を含む工具撮像システムの全体が、本発明の概念における工具撮像装置に相当すると捉えてもよい。
[Modification 1]
FIG. 23 is a diagram showing a configuration example of the tool imaging system according to the first modification.
In the embodiment, the machine tool 200 includes the image processing device 600, but the image processing device 600 may be provided separately from the machine tool 200. The image processing device 600 may communicate with the machine tool 200 to operate in the same manner as in the embodiment. The entire tool imaging system including the machine tool 200 and the image processing apparatus 600 may be regarded as corresponding to the tool imaging apparatus in the concept of the present invention.

[変形例2]
図24は、変形例2に係る工具撮像装置の構成例を示す図である。
実施形態および変形例1では、工作機械200が、工具撮像装置である例を示したが、工具撮像装置は、工作機械200以外の装置であってもよい。たとえば、単に作業員が工具の刃を観察するために使用する工具撮像装置800であってもよい。工具撮像装置800は、加工部302に代えて機構部802を有する。機構部802は、取り付け部302と変更部306を含む。さらに機構部802は、取り付け部302を移動させるモーターなども含む。
[Modification 2]
FIG. 24 is a diagram showing a configuration example of the tool imaging device according to the second modification.
In the first embodiment and the first modification, the machine tool 200 is a tool image pickup device, but the tool image pickup device may be a device other than the machine tool 200. For example, it may be simply the tool image pickup device 800 used by the worker to observe the blade of the tool. The tool image pickup device 800 has a mechanism unit 802 instead of the processing unit 302. The mechanical portion 802 includes a mounting portion 302 and a changing portion 306. Further, the mechanism portion 802 also includes a motor for moving the mounting portion 302 and the like.

[変形例3]
図25は、変形例3に係る工具撮像システムの構成例を示す図である。
変形例2で説明したように、工具撮像装置800が工作機械200以外の装置である場合に、画像処理装置600を工具撮像装置800と別に設けるようにしてもよい。画像処理装置600は、工具撮像装置800と通信を行って実施形態と同様に動作するようにしてもよい。工具撮像装置800と画像処理装置600を含む工具撮像システムの全体が、本発明の概念における工具撮像装置に相当すると捉えてもよい。
[Modification 3]
FIG. 25 is a diagram showing a configuration example of the tool imaging system according to the modified example 3.
As described in the second modification, when the tool image pickup device 800 is a device other than the machine tool 200, the image processing device 600 may be provided separately from the tool image pickup device 800. The image processing device 600 may communicate with the tool image pickup device 800 to operate in the same manner as in the embodiment. The entire tool imaging system including the tool imaging device 800 and the image processing device 600 may be regarded as corresponding to the tool imaging device in the concept of the present invention.

[その他の変形例]
実施形態では刃先を焦点距離に合わせる例を示したが、制御部620は、すくい面の少なくとも一部が撮像部502の被写界深度の範囲に入るように取り付け部302を移動させる制御を行うようにしてもよい。つまり、すくい面の一部が被写界深度の範囲に入らなくても、必要なすくい面の領域が被写界深度の範囲に入っていれば足りる形態も考えられる。たとえば、すくい面の中心を焦点距離に合わせるようにしてもよい。ただし、すくい面の全体が被写界深度の範囲に入るようにすることが好ましい。
[Other variants]
In the embodiment, an example of adjusting the cutting edge to the focal length has been shown, but the control unit 620 controls to move the mounting unit 302 so that at least a part of the rake face is within the range of the depth of field of the image pickup unit 502. You may do so. That is, even if a part of the rake face does not fall within the range of the depth of field, it is sufficient if the area of the required rake face falls within the range of the depth of field. For example, the center of the rake face may be aligned with the focal length. However, it is preferable that the entire rake face is within the range of the depth of field.

図27(A)は、観察面が被写界深度の範囲に入らない状態を示す図である。図27((B)は、観察面が被写界深度の範囲に入る状態を示す図である。
この例におけるチップの刃先は、図示するように鋭角であるものとする。作業員は特にすくい面の一部を観察したいと想定する。観察したい面を「観察面」といい、図27(A)および図27(B)では、観察面に相当する点(観察点)を黒丸で示す。図27(A)に示すように、当初観察面は被写界深度の範囲に含まれていないと想定する。このような場合には、図27(B)に示した状態になるように、1回転近く正方向に取り付け部302と工具100を回転させ(あるいは負方向に取り付け部302と工具100をわずかに回転させ)、さらに取り付け部302と工具100をわずかに左側へ移動させる。これにより、観察面が被写界深度の範囲に入るようになり、観察面にピントを合わせて撮像できるようになる。また、撮像中の観察面が横にずれないように保たれる。
FIG. 27A is a diagram showing a state in which the observation surface does not fall within the range of the depth of field. FIG. 27 ((B) is a diagram showing a state in which the observation surface falls within the range of the depth of field.
The cutting edge of the tip in this example is assumed to have an acute angle as shown in the figure. It is assumed that the worker especially wants to observe a part of the rake face. The surface to be observed is referred to as an "observation surface", and in FIGS. 27 (A) and 27 (B), points (observation points) corresponding to the observation surface are indicated by black circles. As shown in FIG. 27 (A), it is assumed that the initially observed surface is not included in the depth of field range. In such a case, rotate the mounting portion 302 and the tool 100 in the positive direction for nearly one rotation (or slightly rotate the mounting portion 302 and the tool 100 in the negative direction) so as to be in the state shown in FIG. 27 (B). Rotate), and further move the mounting portion 302 and the tool 100 slightly to the left. As a result, the observation surface comes within the range of the depth of field, and it becomes possible to focus on the observation surface and take an image. In addition, the observation surface during imaging is kept so as not to shift laterally.

第1方式として、ユーザ操作によって、取り付け部302と工具100の回転量を決め、さらにユーザ操作によって、取り付け部302と工具100の移動量を決めてもよい。受付部618は、スライドバー701(図16)の操作を受け付けて、変更部306は、その操作により指示された回転量に応じてすくい面の撮像角度θを変更する。具体的には、制御部602が、取り付け部302の回転角度を撮像角度θに応じて増減させるように変更部306に指示し、変更部306は取り付け部302を回転させる。また、操作画面(図16)に移動用のスライドバーを設け、受付部618は、移動用のスライドバーの操作を受け付けて、モーターは、その操作により指示された移動量に応じて取り付け部302を移動させる。具体的には、制御部602が、移動量に応じて取り付け部302を移動させるようにモーターに指示し、モーターはその指示に従って取り付け部302を移動させる。 As the first method, the rotation amount of the mounting portion 302 and the tool 100 may be determined by the user operation, and the movement amount of the mounting portion 302 and the tool 100 may be further determined by the user operation. The receiving unit 618 accepts the operation of the slide bar 701 (FIG. 16), and the changing unit 306 changes the imaging angle θ of the rake face according to the rotation amount instructed by the operation. Specifically, the control unit 602 instructs the changing unit 306 to increase or decrease the rotation angle of the mounting unit 302 according to the imaging angle θ, and the changing unit 306 rotates the mounting unit 302. Further, a slide bar for movement is provided on the operation screen (FIG. 16), the reception unit 618 accepts the operation of the slide bar for movement, and the motor receives the operation of the slide bar for movement, and the motor is attached to the mounting unit 302 according to the movement amount instructed by the operation. To move. Specifically, the control unit 602 instructs the motor to move the mounting unit 302 according to the amount of movement, and the motor moves the mounting unit 302 according to the instruction.

第2方式として、制御部602の処理によって、取り付け部302と工具100の回転量を決め、さらに制御部602の処理によって、取り付け部302と工具100の移動量を決めてもよい。
図27(A)に示すように、観察面を示す点とボディ110の中心とを結ぶ直線を「直線A」という。観察面を示す点を光軸と平行に撮像面まで下ろした点(「直交点」という。)とボディ110の中心とを結ぶ直線を「直線B」という。観察面を示す点と直交点とを結ぶ直線を「直線C」という。直線Aと直線Bと直線Cは、直角三角形を描く。この例の場合、ボディ110の中心で直線Aと直線Bとがなす角度は、6.5度である。撮像角度θが−6.5度(=353.5度)になるように工具100を回転させれば、観察面を示す点が被写界深度の範囲の中央に来る。ただし、回転に伴って観察面を示す点がX軸の正方向にわずかに変位する。直線Bの長さは、直線A×cos6.5度であるので、観察面を示す点のX軸方向の変位は、直線Aの長さ×(1−cos6.5度)で算出できる。図27(B)では、撮像角度θが−6.5度(=353.5度)になるように取り付け部302と工具100を回転させると共に、X軸の負方向に直線Aの長さ×(1−cos6.5度)だけ取り付け部302と工具100を左側へ移動させる。つまり、ボディ110の正面の中心位置を(−直線Aの長さ×(1−cos6.5度),0,0)とする。観察位置(たとえば、直交点)を1点決めておき、工具の刃の基準の位置(たとえば、観察面を示す点)を撮像から特定すれば、制御部602は、上述した三角形の関係から撮像角度θの回転量および移動量を算出できる。工具の刃の基準の位置は、観察面を示す点以外であってもよい。直線Aの長さ、直線Bの長さおよび直線Aと直線Bとがなす角度を予め決めておき、制御部602は、その値を用いて撮像角度θの回転量および移動量を算出するようにしてもよい。直線Aの長さおよび直線Bの長さは、たとえば0.7×軸間距離から1.3×軸間距離までの範囲内の所定距離でもよい。直線Aと直線Bとがなす角度は、たとえば2度から10度までの範囲内の所定角度でもよい。
As a second method, the rotation amount of the mounting unit 302 and the tool 100 may be determined by the processing of the control unit 602, and the movement amount of the mounting unit 302 and the tool 100 may be determined by the processing of the control unit 602.
As shown in FIG. 27 (A), the straight line connecting the point indicating the observation surface and the center of the body 110 is referred to as "straight line A". A straight line connecting a point indicating the observation surface to the imaging surface parallel to the optical axis (referred to as an “orthogonal point”) and the center of the body 110 is referred to as a “straight line B”. The straight line connecting the point indicating the observation surface and the orthogonal point is called "straight line C". The straight line A, the straight line B, and the straight line C draw a right triangle. In the case of this example, the angle formed by the straight line A and the straight line B at the center of the body 110 is 6.5 degrees. If the tool 100 is rotated so that the imaging angle θ becomes −6.5 degrees (= 353.5 degrees), the point indicating the observation surface comes to the center of the range of the depth of field. However, the point indicating the observation surface is slightly displaced in the positive direction of the X-axis with rotation. Since the length of the straight line B is the straight line A × cos 6.5 degrees, the displacement of the point indicating the observation surface in the X-axis direction can be calculated by the length × (1-cos 6.5 degrees) of the straight line A. In FIG. 27B, the mounting portion 302 and the tool 100 are rotated so that the imaging angle θ is −6.5 degrees (= 353.5 degrees), and the length of the straight line A × in the negative direction of the X axis. Move the mounting portion 302 and the tool 100 to the left by (1-cos 6.5 degrees). That is, the center position of the front surface of the body 110 is set to (-length of straight line A × (1-cos 6.5 degrees), 0, 0). If one observation position (for example, an orthogonal point) is determined and the reference position of the tool blade (for example, a point indicating the observation surface) is specified from the imaging, the control unit 602 images the image from the above-mentioned triangular relationship. The amount of rotation and the amount of movement of the angle θ can be calculated. The reference position of the tool blade may be other than the point indicating the observation surface. The length of the straight line A, the length of the straight line B, and the angle formed by the straight line A and the straight line B are determined in advance, and the control unit 602 calculates the rotation amount and the movement amount of the imaging angle θ using the values. You may do it. The length of the straight line A and the length of the straight line B may be, for example, a predetermined distance within the range of 0.7 × inter-axis distance to 1.3 × inter-axis distance. The angle formed by the straight line A and the straight line B may be a predetermined angle in the range of, for example, 2 degrees to 10 degrees.

第3方式として、ユーザ操作によって、取り付け部302と工具100の回転量を決め、制御部602の処理によって、その回転量に応じて取り付け部302と工具100の移動量を決めてもよい。取り付け部302と工具100の移動量を求める方法は、第2方式の場合と同様でもよい。 As a third method, the rotation amount of the attachment unit 302 and the tool 100 may be determined by the user operation, and the movement amount of the attachment unit 302 and the tool 100 may be determined according to the rotation amount by the processing of the control unit 602. The method of obtaining the movement amount of the mounting portion 302 and the tool 100 may be the same as in the case of the second method.

また、制御部620は、逃げ面の少なくとも一部が撮像部502の被写界深度の範囲に入るように取り付け部302を移動させる制御を行うようにしてもよい。つまり、逃げ面の一部が被写界深度の範囲に入らなくても、必要な逃げ面の領域が被写界深度の範囲に入っていれば足りる形態も考えられる。たとえば、逃げ面の中心を焦点距離に合わせるようにしてもよい。ただし、逃げ面の全体が被写界深度の範囲に入るようにすることが好ましい。 Further, the control unit 620 may control the attachment unit 302 so that at least a part of the flank surface is within the range of the depth of field of the image pickup unit 502. That is, even if a part of the flank does not fall within the depth of field, it is sufficient if the required flank area falls within the depth of field. For example, the center of the flank may be aligned with the focal length. However, it is preferable that the entire flank is within the depth of field.

第1照明部506に代えて、撮像部502と同軸の照明部を用いるようにしてもよい。 Instead of the first illumination unit 506, an illumination unit coaxial with the image pickup unit 502 may be used.

[ロボットアーム付き自動運搬車]
工具撮像装置は、ロボットアーム付き自動搬送車であってもよい。ロボットアーム付き自動搬送車は、駆動部によって本体下部に設けられた車輪を回転させて走行し、本体に取り付けられたロボットアームの先端に設けられた向き変更および回転が可能な把持部(取り付け部の例)で工具を把持し、ロボットアームの動作で工具の位置、向きや回転角度を自在に変更できる。ロボットアーム付き自動搬送車の本体に工具撮像用カメラを固定させ、工具撮像用カメラと工具の位置関係が実施形態や変形例の場合と同様になるように、ロボットアームを動かして工具を撮影すれば、工具撮像装置としての機能を実現できる。
[Automatic carrier with robot arm]
The tool image pickup device may be an automatic guided vehicle with a robot arm. The automatic transport vehicle with a robot arm runs by rotating the wheels provided at the bottom of the main body by the drive unit, and is provided at the tip of the robot arm attached to the main body to change the direction and rotate. The position, orientation and rotation angle of the tool can be freely changed by grasping the tool in (Example) and operating the robot arm. Fix the tool imaging camera to the main body of the automatic guided vehicle with a robot arm, and move the robot arm to take a picture of the tool so that the positional relationship between the tool imaging camera and the tool is the same as in the case of the embodiment or the modified example. For example, the function as a tool imaging device can be realized.

[まとめ]
すくい面および逃げ面を有する刃を備えた工具100(図2参照、不等ピッチ工具でもよい。)が、工作機械(工具撮像装置の例)の取り付け部302(図1参照、たとえば主軸やタレットのホルダ)に取り付けられる。取り付け部302は、図12〜図14などに例示したように、制御部620の制御によって移動する。撮像部502は、図4に例示するように、光軸が回転軸の第1方向と交差する第2方向となるように設置される。
[summary]
A tool 100 with a blade having a rake face and a flank (see FIG. 2, may be an unequal pitch tool) is a mounting portion 302 (see FIG. 1, eg, spindle or turret) of a machine tool (example of a tool imager). Can be attached to the holder). As illustrated in FIGS. 12 to 14, the mounting unit 302 moves under the control of the control unit 620. As illustrated in FIG. 4, the image pickup unit 502 is installed so that the optical axis is in the second direction intersecting the first direction of the rotation axis.

工作機械200の加工部300の一部である変更部306(図1参照、たとえばサーボモーター)は、図11(A)および図11(B)に例示したように刃のすくい面を撮像する際に撮像角度θを変更する。つまり、変更部306は、撮像角度θが変わるように取り付け部302を回転させる。撮像角度θが変更された場合に、図12(B)と図13(B)に例示したように、制御部203は、すくい面が撮像部502の被写界深度の範囲内に入る位置に取り付け部302を移動させる(図19のS42,図21のS92)。 The modified portion 306 (see FIG. 1, for example, a servomotor), which is a part of the machining portion 300 of the machine tool 200, is used to image the rake face of the blade as illustrated in FIGS. 11 (A) and 11 (B). The imaging angle θ is changed to. That is, the changing unit 306 rotates the mounting unit 302 so that the imaging angle θ changes. As illustrated in FIGS. 12 (B) and 13 (B), when the image pickup angle θ is changed, the control unit 203 is set at a position where the rake face is within the range of the depth of field of the image pickup unit 502. The mounting portion 302 is moved (S42 in FIG. 19 and S92 in FIG. 21).

また、刃の逃げ面を撮像する際に(図14,図15参照)、変更部306が、撮像角度θを変更するようにしてもよい(図20のS66,図22のS116)。その場合に、制御部203は、逃げ面が撮像部502の被写界深度の範囲内に入る位置に取り付け部302を移動させるようにしてもよい(図20のS68,図22のS118)。 Further, when imaging the flank of the blade (see FIGS. 14 and 15), the changing unit 306 may change the imaging angle θ (S66 in FIG. 20 and S116 in FIG. 22). In that case, the control unit 203 may move the mounting unit 302 to a position where the flank is within the range of the depth of field of the image pickup unit 502 (S68 in FIG. 20 and S118 in FIG. 22).

図3に例示したように、撮像部502側に第1照明部506が設けられる。回転軸と平行で光軸を含む平面を想定した場合に、第1照明部506は、その平面に対してたとえば5度から20度の範囲内の角度で交差する第3方向から刃に光を当てる。 As illustrated in FIG. 3, the first illumination unit 506 is provided on the image pickup unit 502 side. Assuming a plane that is parallel to the axis of rotation and includes the optical axis, the first illumination unit 506 emits light to the blade from a third direction that intersects the plane at an angle within the range of, for example, 5 to 20 degrees. Hit.

図12(A)に例示したように、変更部306が、刃が撮像部502に近づく方向に撮像角度θを変更した場合に(図19のS40,図21のS90)、図12(B)に例示したように、制御部203は、第2方向(図3参照)上において取り付け部302を撮像部502から遠ざかる位置に移動させる(図19のS42,図21のS92)。 As illustrated in FIG. 12 (A), when the changing unit 306 changes the imaging angle θ in the direction in which the blade approaches the imaging unit 502 (S40 in FIG. 19 and S90 in FIG. 21), FIG. 12 (B). As illustrated in the above, the control unit 203 moves the mounting unit 302 to a position away from the image pickup unit 502 in the second direction (see FIG. 3) (S42 in FIG. 19 and S92 in FIG. 21).

マシニングセンタで主軸を取り付け部302とし、主軸を駆動するサーボモーターを変更部306とする場合、主軸とサーボモーターは、ワークの加工の際にも使用される。ターニングセンタのタレットのホルダを取り付け部302とし、タレットを駆動するモーターを変更部306とする場合、タレットのホルダとモーターは、ワークの加工の際にも使用される。 When the spindle is used as the mounting portion 302 in the machining center and the servo motor that drives the spindle is used as the changing portion 306, the spindle and the servo motor are also used when machining the work. When the turret holder of the turning center is used as the mounting portion 302 and the motor for driving the turret is used as the changing portion 306, the turret holder and the motor are also used when machining the work.

以上のように、本出願において開示する技術の例示として、上記実施形態および上記変形例を説明した。しかしながら、本開示における技術は、これに限定されず、適宜、変更、置き換え、付加、省略などを行った実施形態にも適用可能である。 As described above, the above-described embodiment and the above-mentioned modification have been described as examples of the techniques disclosed in the present application. However, the technique in the present disclosure is not limited to this, and can be applied to embodiments in which changes, replacements, additions, omissions, etc. are made as appropriate.

本開示の全請求項に記載の工具撮像装置及び工作機械は、機械要素の他、ハードウェア資源、例えば、プロセッサ、メモリ、及びプログラムとの協働などによって、実現される。 The tool imaging device and machine tool described in all claims of the present disclosure are realized by cooperation with hardware resources such as a processor, a memory, and a program in addition to machine elements.

100 工具、110 ボディ、121 第1チップ、122 第2チップ、123 第3チップ、124 第4チップ、125 第5チップ、200 工作機械、300 加工部、302 取り付け部、306 変更部、400 数値制御装置、500 撮像ユニット、502 撮像部、504 シャッター、506 第1照明部、508 第2照明部、600 画像処理装置、610 演算部、612 画像処理部、614 データ処理部、616 表示指示部、618 受付部、620 制御部、630 記憶部、632 画像データ、634 関連付けデータ、636 撮像位置データ、638 制御プログラム、650 入力部、660 表示部、670 通信部、701 スライドバー、702 「開始」ボタン、703 「次へ」ボタン、704 チェックボックス、800 工具撮像装置、802 機構部 100 Tool, 110 Body, 121 1st Chip, 122 2nd Chip, 123 3rd Chip, 124 4th Chip, 125 5th Chip, 200 Machine Tool, 300 Machining Part, 302 Mounting Part, 306 Changing Part, 400 Numerical Control Equipment, 500 image pickup unit, 502 image pickup unit, 504 shutter, 506 first lighting unit, 508 second lighting unit, 600 image processing unit, 610 calculation unit, 612 image processing unit, 614 data processing unit, 616 display instruction unit, 618 Reception unit, 620 control unit, 630 storage unit, 632 image data, 634 association data, 636 image pickup position data, 638 control program, 650 input unit, 660 display unit, 670 communication unit, 701 slide bar, 702 "Start" button, 703 "Next" button, 704 check box, 800 tool imager, 802 mechanism

Claims (6)

刃を備えた工具が取り付けられる取り付け部と、
前記取り付け部を移動させる制御を行う制御部と、
前記工具が第1位置にある際に、前記取り付け部の回転軸の第1方向と交差する第2方向を光軸とする撮像部と、
撮像された画像を表示する表示部と、
前記刃のすくい面又は逃げ面を撮像する際に撮像角度を変更する変更部と、を備え、
前記制御部は、前記表示部に表示された前記画像をもとに前記撮像角度の変更が指示された場合に、前記変更部に前記工具を前記第1位置から第2位置に移動させるために工具を回転させ前記撮像角度を変更させ、前記すくい面又は前記逃げ面が前記撮像部の被写界深度の範囲内に入る位置に前記取り付け部を移動させる制御を行う、工具撮像装置。
A mounting part where a tool with a blade can be mounted, and
A control unit that controls the movement of the mounting unit,
When the tool is in the first position, an image pickup unit whose optical axis is a second direction intersecting with the first direction of the rotation axis of the mounting unit.
A display unit that displays the captured image and
It is provided with a changing unit that changes the imaging angle when imaging the rake face or flank surface of the blade.
The control unit is for moving the tool from the first position to the second position to the change unit when the change of the imaging angle is instructed based on the image displayed on the display unit. A tool imaging device that rotates a tool to change the imaging angle and controls the attachment portion to move to a position where the rake face or the flank surface is within the range of the depth of field of the imaging unit.
前記工具に対して前記撮像部側に設けられ、前記工具が回転させられる回転軸と平行で前記光軸を含む平面に対して交差する第3方向から前記刃に光を当てるための照明部を備える請求項1に記載の工具撮像装置。 An illumination unit provided on the image pickup unit side with respect to the tool and for shining light on the blade from a third direction parallel to the rotation axis on which the tool is rotated and intersecting the plane including the optical axis. The tool imaging device according to claim 1. 前記平面と前記第3方向とのなす角度は、5度から20度の範囲内である請求項2に記載の工具撮像装置。 The tool imaging device according to claim 2, wherein the angle formed by the plane and the third direction is in the range of 5 to 20 degrees. 前記制御部は、前記変更部で前記撮像角度が変更された場合に、前記取り付け部を前記第2方向上において前記撮像部から遠ざかる位置に移動させる請求項1から3のいずれか1項に記載の工具撮像装置。 The one according to any one of claims 1 to 3, wherein the control unit moves the mounting unit to a position away from the image pickup unit in the second direction when the image pickup angle is changed by the change unit. Tool imager. 前記撮像部は、前記刃の前記すくい面又は前記逃げ面を撮像する前に、前記工具を回転させている際の前記回転軸と交差する方向から前記工具を撮像して画像データを得て、
前記撮像部で前記画像データから前記工具の輪郭位置を検出し、前記輪郭位置と前記画像データを得た撮像時の回転角度とを関連付ける処理を行う画像処理部と、
前記関連付けされたデータをフーリエ変換し数値軸において最大値がある数値を前記工具の刃数と処理するデータ処理部と、を備え
前記工具の前記刃数を算出する請求項1から4のいずれか1項に記載の工具撮像装置。
Before imaging the rake face or the flank surface of the blade, the imaging unit captures the tool from a direction intersecting the rotation axis when the tool is rotated to obtain image data.
An image processing unit that performs processing for associating the rotation angle at the time of imaging to detect the contour position of the tool from the image data obtained by the imaging unit to obtain the image data and the contour position,
A data processing unit that Fourier transforms the associated data and processes a numerical value having a maximum value on the numerical axis with the number of blades of the tool is provided .
Tool imaging apparatus according to any one of 4 claims 1 you calculate the number of teeth of the tool.
請求項1から5のいずれか1項に記載の工具撮像装置の各機能部と
前記取り付け部と前記変更部の機構を共用し、ワークを加工する加工部を備える、工作機械。
Each functional unit of the tool imaging device according to any one of claims 1 to 5, and
Share mechanism of the changer and the mounting portion, and a processing unit for processing a workpiece, the machine tool.
JP2021021378A 2021-02-15 2021-02-15 Tool imager and machine tool Active JP6980141B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021021378A JP6980141B1 (en) 2021-02-15 2021-02-15 Tool imager and machine tool
PCT/JP2022/005244 WO2022172973A1 (en) 2021-02-15 2022-02-10 Tool imaging device, machine tool, and imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021021378A JP6980141B1 (en) 2021-02-15 2021-02-15 Tool imager and machine tool

Publications (2)

Publication Number Publication Date
JP6980141B1 true JP6980141B1 (en) 2021-12-15
JP2022123914A JP2022123914A (en) 2022-08-25

Family

ID=78870829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021021378A Active JP6980141B1 (en) 2021-02-15 2021-02-15 Tool imager and machine tool

Country Status (2)

Country Link
JP (1) JP6980141B1 (en)
WO (1) WO2022172973A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08257876A (en) * 1995-03-24 1996-10-08 Toshiba Mach Co Ltd Tool wearing amount automatic measuring method and tool wearing amount automatic measuring device in machine tool
JPH09192986A (en) * 1996-01-16 1997-07-29 Toshiba Mach Co Ltd Automatic recognizing device for tool cutting edge position by image processing
JP2001269844A (en) * 2000-03-27 2001-10-02 Toshiba Corp Tool observing method, its device, and cutting work system
JP2002337041A (en) * 2001-05-16 2002-11-26 Toshiba Corp Tool managing method and device
WO2015111200A1 (en) * 2014-01-24 2015-07-30 三菱電機株式会社 Tool shape measurement device and tool shape measurement method
JP2017154202A (en) * 2016-03-01 2017-09-07 三菱電機株式会社 Processing method and processing device by end mill
JP2018194416A (en) * 2017-05-17 2018-12-06 三菱重工業株式会社 Tool inspection device, processing machine, and method for inspecting tool of processing machine
JP2020097067A (en) * 2018-12-17 2020-06-25 株式会社東京精密 Assisting method and assisting device
JP2020189374A (en) * 2019-05-22 2020-11-26 株式会社ニイガタマシンテクノ Tool measuring device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004034259A (en) * 2002-07-05 2004-02-05 Konica Minolta Holdings Inc Device and method for setting reference point of tool
DE102007053993B4 (en) * 2007-09-14 2010-08-12 Carl Mahr Holding Gmbh Method and device for tool measurement
JP5519047B1 (en) * 2013-03-13 2014-06-11 アロン電機株式会社 Cutting tool inspection device
JP6710243B2 (en) * 2018-06-27 2020-06-17 Big Daishowa株式会社 Tool shape measuring device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08257876A (en) * 1995-03-24 1996-10-08 Toshiba Mach Co Ltd Tool wearing amount automatic measuring method and tool wearing amount automatic measuring device in machine tool
JPH09192986A (en) * 1996-01-16 1997-07-29 Toshiba Mach Co Ltd Automatic recognizing device for tool cutting edge position by image processing
JP2001269844A (en) * 2000-03-27 2001-10-02 Toshiba Corp Tool observing method, its device, and cutting work system
JP2002337041A (en) * 2001-05-16 2002-11-26 Toshiba Corp Tool managing method and device
WO2015111200A1 (en) * 2014-01-24 2015-07-30 三菱電機株式会社 Tool shape measurement device and tool shape measurement method
JP2017154202A (en) * 2016-03-01 2017-09-07 三菱電機株式会社 Processing method and processing device by end mill
JP2018194416A (en) * 2017-05-17 2018-12-06 三菱重工業株式会社 Tool inspection device, processing machine, and method for inspecting tool of processing machine
JP2020097067A (en) * 2018-12-17 2020-06-25 株式会社東京精密 Assisting method and assisting device
JP2020189374A (en) * 2019-05-22 2020-11-26 株式会社ニイガタマシンテクノ Tool measuring device

Also Published As

Publication number Publication date
JP2022123914A (en) 2022-08-25
WO2022172973A1 (en) 2022-08-18

Similar Documents

Publication Publication Date Title
JPWO2018220776A1 (en) Machine tool and tool missing judgment method
US9329029B2 (en) Method of measurement and apparatus
EP2633950B1 (en) Method for measuring tool dimension, and measurement device
JP4634867B2 (en) Image measuring system and method
CN107848084B (en) Tool changing method and tool changing device
JP6884933B1 (en) Machine Tools
US20060088201A1 (en) Smear-limit based system and method for controlling vision systems for consistently accurate and high-speed inspection
US11504819B2 (en) Control device of machine tool
JP2016040531A (en) Working tool measuring method and measuring device
JP5483305B2 (en) Dimension measuring apparatus and workpiece manufacturing method
JP6980141B1 (en) Tool imager and machine tool
JP6980142B1 (en) Image processing equipment and machine tools
JP2021043167A (en) Tool inspection system
JPH06137842A (en) Method and device for measuring rotary tool blade part form
EP4091765A1 (en) Image processing device, machine tool, and image processing method
WO2020012569A1 (en) Machine tool system, and tool determining method
JP5328025B2 (en) Edge detection apparatus, machine tool using the same, and edge detection method
JP6356845B1 (en) Apparatus and method for generating operation program for inspection system
JP7014918B1 (en) Machine Tools
JP7075806B2 (en) Tool shape measuring device and measuring method in tool presetter
WO2022163426A1 (en) Image processing device
JP7253088B2 (en) Image processing device, machine tool and image processing method
JP7038939B1 (en) Machine tools, machine tool control methods, and machine tool control programs
JP6946587B1 (en) Image processing equipment and machine tools
WO2022163459A1 (en) Image processing device and machine tool

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210215

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20210215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210525

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20210726

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210817

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211116

R150 Certificate of patent or registration of utility model

Ref document number: 6980141

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150