TW202300866A - Device for detecting tool shape and method for detecting tool shape capable of measuring the shape of a tool whose shape is unknown and detecting abnormality in the tool shape - Google Patents

Device for detecting tool shape and method for detecting tool shape capable of measuring the shape of a tool whose shape is unknown and detecting abnormality in the tool shape Download PDF

Info

Publication number
TW202300866A
TW202300866A TW111117119A TW111117119A TW202300866A TW 202300866 A TW202300866 A TW 202300866A TW 111117119 A TW111117119 A TW 111117119A TW 111117119 A TW111117119 A TW 111117119A TW 202300866 A TW202300866 A TW 202300866A
Authority
TW
Taiwan
Prior art keywords
tool
shape
vector
specific
edge
Prior art date
Application number
TW111117119A
Other languages
Chinese (zh)
Other versions
TWI817487B (en
Inventor
室伏勇
Original Assignee
日商芝浦機械股份有限公司
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
Priority claimed from JP2022019293A external-priority patent/JP2022176067A/en
Application filed by 日商芝浦機械股份有限公司 filed Critical 日商芝浦機械股份有限公司
Publication of TW202300866A publication Critical patent/TW202300866A/en
Application granted granted Critical
Publication of TWI817487B publication Critical patent/TWI817487B/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • 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
    • 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
    • B23Q17/0904Arrangements 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 before or after machining
    • B23Q17/0919Arrangements for measuring or adjusting cutting-tool geometry in presetting devices
    • 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
    • B23Q17/0904Arrangements 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 before or after machining
    • B23Q17/0919Arrangements for measuring or adjusting cutting-tool geometry in presetting devices
    • B23Q17/0933Cutting angles of milling cutters
    • 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/22Arrangements for observing, indicating or measuring on machine tools for indicating or measuring existing or desired position of tool or work
    • 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/22Arrangements for observing, indicating or measuring on machine tools for indicating or measuring existing or desired position of tool or work
    • B23Q17/2233Arrangements for observing, indicating or measuring on machine tools for indicating or measuring existing or desired position of tool or work for adjusting the tool relative to the workpiece
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/022Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by means of tv-camera scanning
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/028Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by measuring lateral position of a boundary of the object
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/16Measuring arrangements characterised by the use of optical techniques for measuring the deformation in a solid, e.g. optical strain gauge
    • G01B11/165Measuring arrangements characterised by the use of optical techniques for measuring the deformation in a solid, e.g. optical strain gauge by means of a grating deformed by the object

Abstract

A device for detecting the shape of a tool provided on a main shaft of a machine tool includes: a camera for photographing the shape; a specific vector acquisition part for calculating specific vectors respectively at a plurality of points on the edge of the tool photographed by the camera; a specific vector comparison part for comparing a first plurality of specific vectors acquired by the specific vector acquisition part at a first time with a second plurality of specific vectors acquired at a second time; and a tool shape determination part, based upon the result compared by the specific vector comparison part, for performing a determination on the shape change of the tool when the value of the first plurality of specific vectors and the value of the second plurality of specific vectors are different from a predetermined threshold value. The specific vector is a normal vector, a tangent vector, or a specific tilt vector tilted at a certain angle with respect to the normal vector.

Description

檢測工具的形狀的裝置及檢測工具的形狀的方法Device for detecting shape of tool and method for detecting shape of tool

以下的說明是關於檢測工具的形狀的裝置及檢測工具的形狀的方法。The following description is about a device for detecting the shape of a tool and a method for detecting the shape of a tool.

近年來,在工件的超精密加工中隨著裝置(工具機)的運動性能的提升,工具的形狀精度在加工精度上佔據的比例增大。並且,工具的形狀的測量是例如使用專利文獻1記載的工具形狀測量裝置。 [先前技術文獻] [專利文獻] [專利文獻1]國際公開第2020/090844號公報 In recent years, in the ultra-precision machining of workpieces, as the motion performance of devices (machine tools) has improved, the proportion of tool shape accuracy to machining accuracy has increased. In addition, the tool shape is measured using, for example, a tool shape measuring device described in Patent Document 1. FIG. [Prior Art Literature] [Patent Document] [Patent Document 1] International Publication No. 2020/090844

[發明所欲解決之課題] 一般在測量工具的形狀的場合,測量器有預先指定測量何種形狀的工具的必要。通常,可定義(指定)的工具的形狀為圓頭槽銑刀的形狀、半徑端銑刀的形狀、平面槽銑刀的形狀等,市售的工具的形狀。 但是,會有使用形狀未知之特殊形狀的工具進行工件加工,且對於形狀未知的工具,也會有測量此形狀進一步欲檢測形狀異常的場合。 以下記載的裝置乃至方法是以研創一種可提供測量形狀未知的工具的形狀並可進一步檢測工具的形狀的異常之檢測工具的形狀的裝置及檢測工具的形狀的方法為目的。 根據第一局面,檢測設置在工具機的主軸的工具的形狀的裝置,具有:攝影上述形狀的照相機;算出以上述照相機攝影的上述工具之邊緣上的複數個點分別所特定的向量的特定向量取得部;特定向量比較部,比較:藉上述特定向量取得部在第1時間點取得的第1的複數個特定向量,及在第2時間點取得的第2的複數個特定向量;及工具形狀判斷部,以上述特定向量比較部的比較的結果,在上述第1的複數個特定向量的值及上述第2的複數個特定向量的值,與預定的臨界值不同時,進行上述工具的形狀變化的判斷,上述特定向量為法線向量或切線向量或相對於上述法線向量僅傾斜一定的角度的特定傾斜向量。 根據第二局面,檢測設置在工具機的主軸的工具的形狀的裝置,具有:攝影上述工具的形狀的照相機;在上述工具的使用前,以上述照相機攝影上述工具並在上述工具之邊緣上的複數個點,算出特定向量的特定向量取得部;在上述工具的使用後,以上述照相機攝影上述工具並算出上述工具之邊緣的邊緣形狀取得部;以上述特定向量取得部算出的特定向量;及使用上述邊緣形狀取得部算出的上述工具的邊緣,算出相對於上述使用前的工具的形狀之上述使用後的工具的形狀的變化量的工具形狀變化量取得部,上述特定向量為法線向量或切線向量或相對於上述法線向量僅傾斜一定的角度的特定傾斜向量。 根據第三局面,檢測設置在工具機的主軸的工具的形狀的裝置,具有:攝影上述工具的形狀的照相機;在上述工具的使用前,以上述照相機攝影上述工具並算出上述工具的邊緣形狀取得部;在上述工具的使用後,以上述照相機攝影上述工具在上述工具的邊緣上的複數個點,算出特定向量的特定向量取得部;以上述特定向量取得部算出的特定向量;及使用上述邊緣形狀取得部算出的上述工具的邊緣,算出相對於上述使用前的工具的形狀之上述使用後的工具的形狀的變化量的工具形狀變化量取得部,上述特定向量為法線向量或切線向量或相對於上述法線向量僅傾斜一定的角度的特定傾斜向量。 根據第四局面,檢測設置在工具機的主軸的工具的形狀的方法,具有:在以攝影上述工具的形狀的照相機攝影的工具之邊緣上的複數個點,算出該等的特定向量的特定向量取得階段;特定向量比較階段,比較:在上述特定向量取得階段取得的第1的複數個特定向量,及在上述特定向量取得階段接著取得的第2的複數個特定向量;及工具形狀判斷階段,在上述特定向量比較階段的比較的結果,第1的複數個特定向量的值及上述第2的複數個特定向量的值與預定的臨界值不同時,進行上述工具之形狀變化的判斷,上述特定向量為法線向量或切線向量或相對於上述法線向量僅傾斜一定的角度的特定傾斜向量。 [發明效果] 根據所記載的裝置或方法,可測量形狀未知之工具的形狀並可進行檢測工具的形狀之異常的工具形狀的檢測。 [Problem to be Solved by the Invention] Generally, when measuring the shape of a tool, it is necessary for the measuring device to designate in advance which shape of the tool to measure. Generally, the definable (designated) tool shape is a shape of a ball slot mill, a radius end mill, a flat slot mill, etc., and the shape of a commercially available tool. However, there are occasions when workpieces are processed with tools of special shapes whose shapes are unknown, and for tools with unknown shapes, there are occasions where it is necessary to measure the shape and further detect shape anomalies. The device and method described below aim to develop a tool shape detection device and a tool shape detection method that can measure the shape of a tool whose shape is unknown and further detect abnormalities in the shape of the tool. According to the first aspect, the device for detecting the shape of the tool provided on the main shaft of the machine tool has: a camera for photographing the above-mentioned shape; and a specific vector for calculating a plurality of points on the edge of the tool photographed by the camera that are respectively specific vectors An acquisition unit; a specific vector comparison unit, comparing: the first plurality of specific vectors acquired by the specific vector acquisition unit at the first time point, and the second plurality of specific vectors acquired at the second time point; and tool shape The judging part, based on the comparison result of the specific vector comparing part, when the value of the first plurality of specific vectors and the value of the second plurality of specific vectors are different from a predetermined threshold value, the shape of the tool is determined. In the judgment of the change, the above-mentioned specific vector is a normal vector or a tangent vector or a specific tilt vector which is only inclined at a certain angle relative to the above-mentioned normal vector. According to the second aspect, the device for detecting the shape of the tool provided on the main shaft of the machine tool has: a camera for photographing the shape of the tool; A specific vector acquisition unit that calculates a specific vector at a plurality of points; an edge shape acquisition unit that photographs the tool with the aforementioned camera after use of the tool and calculates the edge shape of the tool; the specific vector calculated by the specific vector acquisition unit; and Using the edge of the tool calculated by the edge shape acquisition unit, the tool shape change acquisition unit calculates the amount of change in the shape of the tool after use relative to the shape of the tool before use, wherein the specific vector is a normal vector or A tangent vector or a specific tilt vector that is only tilted by a certain angle with respect to the above-mentioned normal vector. According to the third aspect, the device for detecting the shape of the tool provided on the main shaft of the machine tool has: a camera for photographing the shape of the tool; and before using the tool, photograph the tool with the camera to calculate the edge shape of the tool part; after the use of the above-mentioned tool, a specific vector obtaining part for calculating a specific vector by photographing a plurality of points of the above-mentioned tool on the edge of the above-mentioned tool with the above-mentioned camera; using the specific vector calculated by the above-mentioned specific vector obtaining part; and using the above-mentioned edge The edge of the tool calculated by the shape acquisition unit is a tool shape change acquisition unit that calculates the amount of change in the shape of the tool after use relative to the shape of the tool before use, wherein the specific vector is a normal vector or a tangent vector or A specific tilt vector that tilts only by a certain angle with respect to the above normal vector. According to the fourth aspect, the method of detecting the shape of the tool provided on the main shaft of the machine tool includes: calculating a specific vector of the specific vectors at a plurality of points on the edge of the tool photographed by a camera that photographs the shape of the tool The acquisition stage; the specific vector comparison stage, comparing: the first plurality of specific vectors obtained in the above-mentioned specific vector acquisition stage, and the second plurality of specific vectors obtained in the above-mentioned specific vector acquisition stage; and the tool shape judgment stage, As a result of the comparison in the specific vector comparison stage, when the values of the first plurality of specific vectors and the values of the second plurality of specific vectors are different from the predetermined critical value, the determination of the shape change of the tool is performed, and the specific The vector is a normal vector, a tangent vector, or a specific tilt vector tilted only at a certain angle relative to the normal vector. [Invention effect] According to the described device or method, it is possible to measure the shape of a tool whose shape is unknown, and to perform tool shape detection for detecting abnormalities in the shape of the tool.

參閱添附的圖示在以下說明數個例示性的實施形態。 檢測一實施形態相關的工具的形狀的裝置1(工具形狀異常檢測裝置)是例如圖1表示設置在工具機2使用。 工具機2在機床18的上面具有工作台16、門形柱10,在門形柱10的橫樑8透過座架6支撐主軸頭4。在主軸頭4支撐主軸11。 在此,為方便說明起見設水平預定的一方向為X方向(X軸方向),設相對於X方向正交的水平預定的另一方向為Y方向(Y軸方向),並設相對於X方向與Y方向正交的上下方向為Z方向(Z軸方向)。 工作台16是可相對於機床18在X軸方向移動。座架6是可沿著橫樑8在Y軸方向移動。主軸頭4是可相對於座架6在Z軸方向移動。 移動該等的3軸,藉此使工具(例如端銑刀)12以3維地相對於載放在工作台16的工件14移動,可進行工件14的加工。在工作台16的端部設有檢測工具的形狀的裝置1。控制裝置20是連接於工具機2與檢測工具的形狀的裝置1,可控制工具機2與檢測工具的形狀的裝置1。並且,控制裝置20具備未圖示的CPU與記憶體。 圖2是表示以檢測工具的形狀的裝置1測量工具12的形狀的圖。藉先前表示的3軸將工具12移動至圖2表示的位置,測量工具12的形狀。檢測工具的形狀的裝置1包括:照相機22、照明裝置24,如在圖2表示工具12是以位在照相機22與照明裝置24之間的狀態測量工具12的形狀。將來自照明裝置24的光從工具12的後方照射進行影像攝影,因此可以工具12的形狀作為影子進行攝影。 照相機22具備高速快門,工具12即使在以數千旋轉/分鐘的旋轉中仍可進行如靜止影像的攝影。並且也可在照相機22安裝變焦鏡頭,以控制裝置20進行放大率的控制。在主軸11具備未圖示的旋轉角度感測器,可以控制裝置20進行轉數與旋轉角度之定位等的控制。 在工具12以1萬旋轉/分鐘以上的轉數旋轉的場合,僅以高速快門進行的對應困難。此時使照明裝置24帶有閃光功能。使用數μsec的短的發光時間的閃光燈時,即使是旋轉中的工具12也可進行形狀測量。並且,工具12的最大轉數是可設定為12萬旋轉/分鐘左右。 工具12是例如在以切削加工形成模具的芯或空腔的表面時使用。上述切削加工是將模具的芯或空腔的表面進行最後精加工之用,藉上述切削加工,使模具的芯或空腔的表面成為鏡面。端銑刀12的外徑是例如1mm左右,進行切削加工時的端銑刀12的轉數為6萬旋轉/分鐘左右。 但是,將著工具12的攝影,獲得端銑刀12之最大外形的靜止影像。此最大外形之處為端銑刀12的切削刃,切削刃的形狀賦予對工具14之加工面形狀的影響。又,針對工具12的攝影的詳細是表示於國際公開2020/090844號公報。 採用國際公開2020/090844號公報表示的工具形狀測量裝置,作為檢測工具的形狀的裝置1。檢測工具的形狀的裝置1是檢測設置在工具機(例如超精密加工機)2的主軸11的工具(例如旋轉的端銑刀等的切削工具)12的形狀。 裝置1是如圖2表示,具備控制部25與進行工具12的形狀的攝影的照相機(數位照相機)22。控制部25是例如控制裝置20的一部分,但是控制部25也可以是與控制裝置20各別地設置。 裝置1是檢測設置在工具機(精密加工機)2之主軸11的工具12的形狀的裝置。設置在工具機2的主軸11的工具12是以預定的中心軸C1為中心旋轉。並且,使工具12一邊旋轉一邊進行工件14的切削加工。 又,裝置1是如圖2表示,具備:法線向量取得部(特定向量取得部)27與法線向量比較部(特定向量比較部)29與工具形狀判斷部31。 法線向量取得部27是在以照相機22攝影的工具12的邊緣(相當於切削刃的前端的外圍的部位;最大外形的緣)13上的複數個點,算出該等的法線向量。工具12的邊緣13上的複數個點是在圖3、圖4等以參照符號P n-1、P n、P n+1、P n+2表示。複數的法線向量是在圖3、圖4等以參照符號VP n-1、VP n、VP n+1、VP n+2…表示。並且,工具12的邊緣13是藉邊緣形狀取得部33算出。 工具12的邊緣13上的複數個點是彼此例如間隔一定的極些微距離一序排列於邊緣13的延伸方向。上述一定的極些微距離是揭示照相機22的攝影元件的像素之間距程度的距離。上述一定的極些微距離是可形成比像素的間距稍微大。 並且,也可算出相對於法線向量僅傾斜一定的角度的向量(特定傾斜向量)取代以法線向量取得部27算出法線向量。亦即,也可算出相對於法線向量以一定的角度交叉的向量。例如,也可以算出相對於法線向量正交的切線的向量(切線向量)。在此,設法線向量、特定傾斜向量、切線向量為特定向量。並且,也可以法線向量取得部算出工具12的邊緣13上的複數個點之各個邊緣13的切線的傾斜度,或法線的傾斜度。 法線向量比較部29是比較:藉法線向量取得部27在第1時間點所取得之第1的複數個法線向量,及同樣地在第2時間點所取得之第2的複數個法線向量。第1的複數個法線向量是例如藉工具12進行工件14之切削加工前的時間點的複數個法線向量,第2的複數個法線向量是例如藉工具12進行工件14之切削加工後的時間點的複數個法線向量。 工具形狀判斷部31是根據法線向量比較部29的比較的結果,在第1的複數個法線向量的值及第2的複數個法線向量的值,與預定的臨界值不同時,進行工具12的形狀變化的判斷。 在此,針對法線向量取得部27的法線向量VP n-1、VP n、VP n+1、VP n+2…的取得,一邊參閱圖4一邊揭示以法線向量 VP n+1為例進一步詳細說明。 首先,算出連結工具12的邊緣13上之彼此鄰接的2個點P n與P n+1的線量LA n。並且,算出連結工具12的邊緣13上之彼此鄰接的2個點P n+1與P n+2的線量LA n+1。接著,與線量LA n的交叉角度為α n+1,與線量LA n的交叉角度為β n+1,算出以點P n+1為起點的法線向量VP n+1。法線向量VP n+1是朝向工具12的中心側(旋轉中心軸C1側)。並且,交叉角度為α n+1與交叉角度為β n+1是彼此相等。 其他的法線向量也是與法線向量VP n+1同樣地算出。並且,複數個法線向量VP n-1、VP n、VP n+1、VP n+2…是彼此的絕對值(標量)相等。複數個法線向量VP n-1、VP n、VP n+1、VP n+2…是例如為單位向量。 並且,藉著最小二乘法,從複數個點(點P n等),也可取代線量LA n等,算出半直線,算出法線向量VP n等。亦即,圖4中,取代線量LA n+1,算出從點P n+2朝斜向上方(點P n+1側)延伸的第1個的半直線。此半直線是從複數個點(例如2個點P n+1、P n)以最小二乘法算出。同樣地,算出從P n+2朝斜向下方(點P n+3側)延伸的第2個的半直線。接著,與第1個的半直線交叉的角度為α n+2,與第2個的半直線交叉的角度為β n+2,算出以點P n+2為起點的法線向量VP n+2。並且,交叉角度α n+2與交叉角度β n+2為彼此相等。其他的法線向量也是使用半直線同樣地算出。 接著,針對以法線向量比較部29的第1的複數個法線向量與第2的複數個法線向量的比較,一邊參閱圖5、圖6一邊進一步詳細說明。圖5表示的實線是表示第1的複數個法線向量相關的工具(使用前的工具)12的邊緣13。圖5表示的虛線是表示第2的複數個法線向量相關的工具(使用後的工具)12的邊緣13a。並且,圖5中,虛線13a的一部分是從實線13遠離,虛線13a的其他部位是與實線13重疊。 第1的複數個法線向量是以參照符號VP n、VP n+1、VP n+2、VP n+3、VP n+4…表示,第2的複數個法線向量是以參照符號VQ n、VQ n+1、VQ n+2、VQ n+3、VQ n+4…表示。第2的複數個法線向量VQ n、VQ n+1、VQ n+2、VQ n+3、VQ n+4…是與第1的法線向量同樣地算出,並且,與第1的法線向量同樣例如為單位向量。 圖6表示第1的複數個法線向量VP n、VP n+1、VP n+2、VP n+3、VP n+4…各個的成分,及第2的複數個法線向量VQ n、VQ n+1、VQ n+2、VQ n+3、VQ n+4…各個的成分。 例如,法線向量VP n+1的成分是以(Pa n+1、Pb n+1)表示,法線向量VQ n+1的成分是以(Qa n+1、Qb n+1)表示。 法線向量比較部29是比較Pa n+1/Pb n+1的值(法線向量的方向)與Qa n+1/Qb n+1的值。又,法線向量比較部29也針對其他的法線向量,進行同樣的比較。例如,比較Pa n/Pb n的值與Qa n/Qb n的值,並且,比較Pa n+2/Pb n+2的值與Qa n+2/ Qb n+2的值。 上述比較的結果,圖5表示的點P n+1的法線向量VP n+1的值(Pa n+1/Pb n+1)與點Q n+1的法線向量VQ n+1的值(Qa n+1/Qb n+1)為彼此一致。亦即,點P n+1的法線向量VP n+1的值(Pa n+1/Pb n+1)與點Q n+1的法線向量VQ n+1的值(Qa n+1/Qb n+1)的差比預定的臨界值小。 另一方面,點P n+2的法線向量VP n+2的值(Pa n+2/Pb n+2)與點Q n+2的法線向量VQ n+2的值(Qa n+2/Qb n+2)為彼此不同。亦即,法線向量VP n+2的值(Pa n+2/Pb n+2)與點Q n+2的法線向量VQ n+2的值(Qa n+2/Qb n+2)的差比預定的臨界值大。 進行同樣的比較時,法線向量VP n+3的值與法線向量VQ n+3的值彼此不同,法線向量VP n+4的值與法線向量VQ n+4的值彼此不同。並且,法線向量VP n+5的值與法線向量VQ n+5的值彼此不同,法線向量VP n+6的值與法線向量VQ n+6的值彼此一致。 並且,工具形狀判斷部31是在點P n-2(點Q n+2)~點P n+5(點Q n+5)的部位,進行工具12之形狀變化的判斷。 接著,針對工具12的磨損量的檢測說明。 如上述,以法線向量取得部27取得的第1的複數個法線向量為工具12之使用前的法線向量。又,裝置1具備邊緣形狀取得部33與工具形狀變化量取得部35。 邊緣形狀取得部33是在工具12的使用後,以照相機22攝影工具12算出工具12的邊緣13。並且,法線向量取得部27是如上述,使用以邊緣形狀取得部33取得的工具12的邊緣13上的複數個點與邊緣13,算出法線向量。 工具形狀變化量取得部35是使用以法線向量取得部27算出的第1的複數個法線向量,及以邊緣形狀取得部33算出之工具12的邊緣13,算出相對於使用前的工具12的形狀之使用後的工具12的形狀的變化量。並且,作為工具12的形狀的變化量,可揭示工具12的磨損量、工具12之缺損部的缺損量。 在此,藉工具形狀變化量取得部35針對算出工具12的形狀的變化量一邊參閱圖7進一步詳細說明。 揭示以點P n+2為例說明工具12的形狀之變化量的算法。首先,算出P n+2的法線向量VP n+2。接著,算出通過P n+2傾斜度與法線向量VP n+2一致的直線(包括以點P n+2為起點的法線向量VP n+2的直線的方程式)。 接著,算出上述直線及與邊緣13a的交點Q m+2,算出連結點P n+2與交點Q m+2的線量L n+2的長度。此線量L n+2的長度的值即為點P n+2處之工具12的形狀的變化量。同樣地,針對點P n+3等其他的點,也算出工具12的形狀的變化量。 接著,針對檢測工具的形狀的裝置1的動作一邊參閱圖8一邊進行說明。 在初期狀態,旋轉工具12,如圖2表示,可以裝置1測量工具12的形狀。 在上述初期狀態,控制裝置20(控制部25)的控制之下,以照相機22攝影使用前的工具12(S1),藉法線向量取得部27算出在步驟S1攝影的工具12的法線向量(S3)。 接著,使用工具12對工件14施以預定的切削加工(S5),並以照相機22攝影進行在步驟S5之使用後的工具12(S7)。 接著,藉邊緣形狀取得部33,算出在步驟S7攝影的工具12的邊緣13,藉法線向量取得部27,算出在步驟S7攝影的工具12之工具12的法線向量(S9)。 接著,在步驟S3算出之工具12的法線向量,及在步驟S9算出之工具12的法線向量,藉法線向量比較部29進行比較(S11)。接著,藉著在步驟S11的比較結果,以工具形狀判斷部31判斷是否有工具12的形狀變化(S13)。 接著,藉著在步驟S3算出的工具12的法線向量,及在步驟S9算出之工具12的邊緣,以工具形狀變化量取得部35算出工具12的形狀的變化量(S15)。 檢測工具的形狀的裝置1是藉法線向量取得部27以工具12之邊緣13上的複數個點,算出該等的法線向量,並以法線向量比較部29比較第1的複數個法線向量與第2的複數個法線向量。並且,第1的複數個法線向量的值與第2的複數個法線向量的值與預定的臨界值不同時,以工具形狀判斷部31進行工具12之形狀變化的判斷。 藉此,可測量形狀未知之工具12的形狀並檢測工具12的形狀的異常。另外,比較法線向量,判斷是否有使用前後之工具12的形狀的變化,因此與僅攝影使用之前後的工具12比較工具12的形狀的場合比較,可正確地檢測工具12之形狀的變化。 但是,上述裝置1為檢測設置在工具機的主軸之工具的形狀的裝置,該裝置,也可具有:攝影上述工具的形狀的照相機;在上述工具的使用前,以上述照相機攝影上述工具並以上述工具之邊緣上的複數個點,算出法線向量的法線向量取得部;在上述工具的使用後,以上述照相機攝影上述工具並算出上述工具的邊緣的邊緣形狀取得部;以上述法線向量取得部算出的法線向量;及使用以上述邊緣形狀取得部算出之上述工具的邊緣,算出相對於上述使用前的工具之形狀的上述使用後的工具的形狀的變化量的工具形狀變化量取得部加以掌握。 此裝置1是藉法線向量取得部27,以使用前之工具12的邊緣13上的複數個點算出法線向量,以邊緣形狀取得部33算出使用後之工具12的邊緣13a。並且,使用以法線向量取得部27算出的法線向量和以邊緣形狀取得部33算出的工具12的邊緣13a,藉工具形狀變化量取得部35算出相對於使用前的工具12之形狀的使用後的工具12的形狀的變化量。 藉此,可正確地檢測因使用致缺損或磨損量及磨損等產生之工具12的部位。 又,上述裝置1為檢測設置在工具機的主軸之工具的形狀的裝置,該裝置,也可具有:攝影上述工具的形狀的照相機;在上述工具的使用前,以上述照相機攝影上述工具並算出上述工具的邊緣的邊緣形狀取得部;在上述工具的使用後,以上述照相機攝影上述工具並以上述工具之邊緣上的複數個點,算出法線向量的法線向量取得部;以上述法線向量取得部算出的法線向量;使用以上述邊緣形狀取得部算出之上述工具的邊緣,算出相對於上述使用前的工具之形狀的上述使用後的工具的形狀的變化量的工具形狀變化量取得部加以掌握。 又,以上述的記載內容作為檢測工具的形狀的方法加以掌握。 亦即,檢測設置在工具機的主軸之工具的形狀的方法,該方法,也可具有:以攝影上述工具的形狀的照相機攝影之工具的邊緣上的複數個點,算出該等的法線向量的法線向量取得階段;比較以上述法線向量取得階段取得之第1的複數個法線向量,及以上述法線向量取得階段接著取得之第2的複數個法線向量的法線向量比較階段;及以上述法線向量比較階段的比較的結果,在上述第1的複數個法線向量的值及上述第2的複數個法線向量的值與預定的臨界值不同時,進行上述工具的形狀變化的判斷的工具形狀判斷階段加以掌握。 並且,也可掌握檢測請求項5記載的工具的形狀的方法,該方法,具有:以上述法線向量取得階段取得之第1的複數個法線向量為上述工具的使用前的法線向量,在上述工具的使用後,以上述照相機攝影上述工具並算出上述工具的邊緣上的邊緣形狀取得階段;使用以上述法線向量取得階段算出的第1的複數個法線向量,及以上述邊緣形狀取得階段算出之上述工具的邊緣,算出相對於上述使用前的工具之形狀的上述使用後的工具的形狀的變化量的工具形狀變化量取得階段。 雖已說明數個實施形態,但根據上述揭示內容可進行實施形態的修正乃至於變形。 Several exemplary embodiments are described below with reference to the attached drawings. A device 1 for detecting the shape of a tool (tool shape abnormality detection device) according to an embodiment is installed and used in a machine tool 2 as shown in FIG. 1 , for example. The machine tool 2 has a workbench 16 and a gantry 10 above the machine tool 18 , the beam 8 of the gantry 10 supports the spindle head 4 through the mount 6 . A spindle 11 is supported on the spindle head 4 . Here, for the sake of convenience of description, let the horizontal predetermined direction be the X direction (X-axis direction), let the other horizontal predetermined direction perpendicular to the X direction be the Y direction (Y-axis direction), and let the relative The vertical direction perpendicular to the X direction and the Y direction is the Z direction (Z axis direction). The table 16 is movable in the X-axis direction relative to the machine tool 18 . The mount 6 is movable along the beam 8 in the Y-axis direction. The spindle head 4 is movable in the Z-axis direction relative to the mount 6 . By moving these three axes, the tool (for example, an end mill) 12 is moved three-dimensionally relative to the workpiece 14 placed on the table 16, and the workpiece 14 can be processed. At the end of the table 16 is provided a device 1 for detecting the shape of the tool. The control device 20 is connected to the machine tool 2 and the device 1 for detecting the shape of the tool, and can control the machine tool 2 and the device 1 for detecting the shape of the tool. Furthermore, the control device 20 includes a CPU and a memory which are not shown. FIG. 2 is a diagram showing the measurement of the shape of the tool 12 by the device 1 for detecting the shape of the tool. The shape of the tool 12 is measured by moving the tool 12 to the position shown in FIG. 2 using the previously shown three axes. The device 1 for detecting the shape of a tool includes: a camera 22 and an illumination device 24. As shown in FIG. Since the light from the illuminating device 24 is irradiated from the rear of the tool 12 and the image is taken, the shape of the tool 12 can be taken as a shadow. The camera 22 is equipped with a high-speed shutter, and the tool 12 can take pictures such as still images even when the tool 12 is rotating at thousands of revolutions per minute. In addition, a zoom lens may be attached to the camera 22 to control the magnification by the control device 20 . The main shaft 11 is provided with a rotation angle sensor not shown, and the control device 20 can perform control such as positioning of the rotation speed and the rotation angle. When the tool 12 rotates at a rotation rate of 10,000 rotations per minute or more, it is difficult to cope only with a high-speed shutter. At this time, the lighting device 24 is provided with a flash function. When using a strobe lamp with a short lighting time of several μsec, shape measurement can be performed even when the tool 12 is rotating. In addition, the maximum number of rotations of the tool 12 can be set to about 120,000 rotations/minute. The tool 12 is used, for example, when forming the surface of a core or a cavity of a mold by cutting. The above-mentioned cutting process is used for finishing the core or the surface of the cavity of the mold, and the core or the surface of the cavity of the mold can be made into a mirror surface by the above-mentioned cutting process. The outer diameter of the end mill 12 is, for example, about 1 mm, and the number of revolutions of the end mill 12 during cutting is about 60,000 revolutions/minute. However, with photography of the tool 12, a still image of the maximum profile of the end mill 12 is obtained. This maximum profile is the cutting edge of the end mill 12 , and the shape of the cutting edge exerts an influence on the shape of the machined surface of the tool 14 . In addition, the details of the imaging of the tool 12 are described in International Publication No. 2020/090844. The tool shape measuring device disclosed in International Publication No. 2020/090844 is used as the device 1 for detecting the shape of the tool. The device 1 for detecting the shape of a tool detects the shape of a tool (eg, a cutting tool such as a rotating end mill) 12 provided on a spindle 11 of a machine tool (eg, an ultra-precision machining machine) 2 . The device 1 is, as shown in FIG. 2 , provided with a control unit 25 and a camera (digital camera) 22 for photographing the shape of the tool 12 . The control unit 25 is, for example, a part of the control device 20 , but the control unit 25 may be provided separately from the control device 20 . The device 1 is a device for detecting the shape of a tool 12 provided on a spindle 11 of a machine tool (precision machining machine) 2 . A tool 12 provided on a main shaft 11 of the machine tool 2 rotates around a predetermined central axis C1. Then, the workpiece 14 is cut while rotating the tool 12 . Furthermore, the device 1 includes, as shown in FIG. 2 , a normal vector acquisition unit (specific vector acquisition unit) 27 , a normal vector comparison unit (specific vector comparison unit) 29 , and a tool shape determination unit 31 . The normal vector acquisition unit 27 calculates the normal vectors of a plurality of points on the edge (periphery portion corresponding to the tip of the cutting edge; the edge of the largest shape) 13 of the tool 12 photographed by the camera 22 . A plurality of points on the edge 13 of the tool 12 are indicated by reference symbols P n-1 , P n , P n+1 , and P n+2 in FIGS. 3 and 4 . Complex normal vectors are represented by reference symbols VP n-1 , VP n , VP n+1 , VP n+2 . . . in FIGS. 3 and 4 . In addition, the edge 13 of the tool 12 is calculated by the edge shape acquisition unit 33 . A plurality of points on the edge 13 of the tool 12 are arranged in sequence along the extending direction of the edge 13 , for example, at a very slight distance from each other. The above-mentioned certain extremely small distance is a distance that reveals the distance between pixels of the imaging element of the camera 22 . The above-mentioned certain very small distance can be formed slightly larger than the pixel pitch. In addition, instead of calculating the normal vector by the normal vector acquisition unit 27 , a vector (specific inclination vector) inclined by a certain angle with respect to the normal vector may be calculated. That is, it is also possible to calculate a vector intersecting at a constant angle with respect to the normal vector. For example, a tangent vector (tangent vector) perpendicular to the normal vector may be calculated. Here, the horizontal vector, the specific inclination vector, and the tangent vector are specific vectors. In addition, the normal vector acquisition unit may calculate the inclination of the tangent to each edge 13 or the inclination of the normal at a plurality of points on the edge 13 of the tool 12 . The normal vector comparison unit 29 compares: the first complex normal vectors acquired by the normal vector acquisition unit 27 at the first time point, and the second plurality of normal vectors similarly acquired at the second time point. line vector. The first plurality of normal vectors are, for example, the plurality of normal vectors at the point in time before the workpiece 14 is cut by the tool 12, and the second plurality of normal vectors are, for example, after the workpiece 14 is cut by the tool 12. Complex normal vectors at time points of . The tool shape judging unit 31 is based on the comparison result of the normal vector comparing unit 29, when the values of the first plurality of normal vectors and the values of the second plurality of normal vectors are different from a predetermined threshold value, perform Judgment of shape change of tool 12 . Here, for the acquisition of the normal vectors VP n-1 , VP n , VP n+1 , VP n+ 2 . Example for further details. First, the line amount LA n of two adjacent points P n and P n+1 on the edge 13 of the connecting tool 12 is calculated. Then, the line amount LA n+ 1 of two adjacent points P n+1 and P n+2 on the edge 13 of the connecting tool 12 is calculated. Next, the intersection angle with the line quantity LA n is α n+1 , and the intersection angle with the line quantity LA n is β n+1 , and the normal vector VP n+1 starting from the point P n+1 is calculated. The normal vector VP n+1 is directed toward the center side of the tool 12 (rotation center axis C1 side). Also, the intersection angle α n+1 and the intersection angle β n+1 are equal to each other. Other normal vectors are also calculated in the same manner as the normal vector VP n+1 . Also, the plural normal vectors VP n-1 , VP n , VP n+1 , VP n+2 . . . are equal in absolute value (scalar) to each other. The plural normal vectors VP n-1 , VP n , VP n+1 , VP n+2 . . . are, for example, unit vectors. In addition, by the least square method, from a plurality of points (points Pn, etc.), instead of the line amount LAn, etc., a half-line can be calculated, and a normal vector VPn , etc. can be calculated. That is, in FIG. 4 , instead of the line amount LA n+1 , a first half-line extending obliquely upward (on the point P n+1 side) from the point P n+2 is calculated. This half-line is calculated from a plurality of points (for example, two points P n+1 , P n ) by the method of least squares. Similarly, a second half-line extending obliquely downward from P n+2 (point P n+3 side) is calculated. Next, the angle between the first half-line and the second half-line is α n+2 , and the angle between the second half-line is β n+2 , and the normal vector VP n+ starting from point P n+2 is calculated. 2 . Also, the intersection angle α n+2 and the intersection angle β n+2 are equal to each other. Other normal vectors are similarly calculated using half-lines. Next, the comparison of the first plurality of normal vectors and the second plurality of normal vectors by the normal vector comparison unit 29 will be described in more detail with reference to FIGS. 5 and 6 . The solid line shown in FIG. 5 represents the edge 13 of the tool (tool before use) 12 related to the first plurality of normal vectors. The dotted line shown in FIG. 5 represents the edge 13a of the tool (tool after use) 12 related to the second plurality of normal vectors. In addition, in FIG. 5 , a part of the dotted line 13 a is away from the solid line 13 , and other parts of the dotted line 13 a overlap with the solid line 13 . The first complex normal vectors are represented by reference symbols VP n , VP n+1 , VP n+2 , VP n+3 , VP n+4 ..., and the second complex normal vectors are represented by reference symbols VQ n , VQ n+1 , VQ n+2 , VQ n+3 , VQ n+4 . . . represent. The second complex normal vectors VQ n , VQ n+1 , VQ n+2 , VQ n+3 , VQ n+4 ... are calculated in the same way as the first normal vector, and are A line vector is likewise, for example, a unit vector. Fig. 6 shows the components of each of the first complex normal vectors VP n , VP n+1 , VP n+2 , VP n+3 , VP n+4 ... and the second complex normal vectors VQ n , Each of VQ n+1 , VQ n+2 , VQ n+3 , VQ n+4 . . . For example, the components of the normal vector VP n+1 are represented by (Pa n+1 , Pb n+1 ), and the components of the normal vector VQ n+1 are represented by (Qa n+1 , Qb n+1 ). The normal vector comparison unit 29 compares the value of Pa n+1 /Pb n+1 (the direction of the normal vector) and the value of Qa n+1 /Qb n+1 . Also, the normal vector comparison unit 29 performs the same comparison for other normal vectors. For example, the value of Pa n /Pb n is compared with the value of Qa n /Qb n , and the value of Pa n+2 /Pb n+2 is compared with the value of Qa n+2 /Qb n+2 . As a result of the above comparison, the value (Pa n+1 /Pb n+1 ) of the normal vector VP n + 1 of the point P n+1 shown in Figure 5 and the value of the normal vector VQ n+1 of the point Q n+ 1 The values (Qa n+1 /Qb n+1 ) agree with each other. That is, the value of the normal vector VP n +1 of point P n+1 (Pa n+1 /Pb n+1 ) and the value of the normal vector VQ n+1 of point Q n+ 1 (Qa n+1 /Qb n+1 ) is smaller than a predetermined critical value. On the other hand, the value of the normal vector VP n +2 of the point P n+2 (Pa n+2 /Pb n+2 ) and the value of the normal vector VQ n+2 of the point Q n+ 2 (Qa n+ 2 /Qb n+2 ) are different from each other. That is, the value of normal vector VP n+2 (Pa n+2 /Pb n+2 ) and the value of normal vector VQ n+2 of point Q n+2 (Qa n+2 /Qb n+2 ) The difference is greater than a predetermined threshold. In the same comparison, the values of the normal vector VP n+3 and the normal vector VQ n+3 are different from each other, and the values of the normal vector VP n+4 and the normal vector VQ n+4 are different from each other. Also, the values of the normal vector VP n+5 and the normal vector VQ n+5 are different from each other, and the values of the normal vector VP n+6 and the normal vector VQ n+6 are identical to each other. Furthermore, the tool shape judging unit 31 judges the shape change of the tool 12 at the point P n-2 (point Q n+2 ) to point P n+5 (point Q n+5 ). Next, detection of the wear amount of the tool 12 will be described. As described above, the first plurality of normal vectors acquired by the normal vector acquiring unit 27 are normal vectors before the tool 12 is used. Furthermore, the device 1 includes an edge shape acquisition unit 33 and a tool shape change amount acquisition unit 35 . The edge shape acquiring unit 33 calculates the edge 13 of the tool 12 by imaging the tool 12 with the camera 22 after the tool 12 is used. Further, the normal vector acquiring unit 27 calculates the normal vector using the plurality of points on the edge 13 of the tool 12 acquired by the edge shape acquiring unit 33 and the edge 13 as described above. The tool shape change acquisition unit 35 uses the first plurality of normal vectors calculated by the normal vector acquisition unit 27 and the edge 13 of the tool 12 calculated by the edge shape acquisition unit 33 to calculate the difference with respect to the tool 12 before use. The amount of change in the shape of the tool 12 after use. Furthermore, as the amount of change in the shape of the tool 12, the amount of wear of the tool 12 and the amount of chipping of the chipped portion of the tool 12 can be revealed. Here, the calculation of the amount of change in the shape of the tool 12 by the tool shape change acquisition unit 35 will be described in more detail with reference to FIG. 7 . The algorithm of the variation of the shape of the tool 12 is disclosed by taking the point Pn +2 as an example. First, the normal vector VP n+2 of P n+2 is calculated. Next, a straight line passing through P n+2 whose gradient coincides with the normal vector VP n+2 (the equation of the straight line including the normal vector VP n+2 starting from the point P n+2 ) is calculated. Next, the straight line and the intersection point Q m+2 with the edge 13 a are calculated, and the length of the line amount L n+2 connecting the point P n+2 and the intersection point Q m+2 is calculated. The value of the length of the line amount L n+2 is the change amount of the shape of the tool 12 at the point P n+2 . Similarly, the amount of change in the shape of the tool 12 is also calculated for other points such as point Pn +3 . Next, the operation of the device 1 for detecting the shape of a tool will be described with reference to FIG. 8 . In the initial state, the tool 12 is rotated, as shown in FIG. 2 , and the shape of the tool 12 can be measured by the device 1 . In the above-mentioned initial state, under the control of the control device 20 (control unit 25), the tool 12 before use is photographed with the camera 22 (S1), and the normal vector of the tool 12 photographed at step S1 is calculated by the normal vector acquisition unit 27. (S3). Next, a predetermined cutting process is given to the workpiece 14 using the tool 12 (S5), and the tool 12 used in step S5 is photographed with the camera 22 (S7). Next, the edge 13 of the tool 12 photographed in step S7 is calculated by the edge shape acquiring unit 33, and the normal vector of the tool 12 of the tool 12 photographed in step S7 is calculated by the normal vector acquiring unit 27 (S9). Next, the normal vector of the tool 12 calculated in step S3 and the normal vector of the tool 12 calculated in step S9 are compared by the normal vector comparison unit 29 (S11). Next, based on the comparison result in step S11, it is judged by the tool shape judging unit 31 whether there is a shape change of the tool 12 (S13). Next, using the normal vector of the tool 12 calculated in step S3 and the edge of the tool 12 calculated in step S9, the tool shape change acquisition unit 35 calculates the change amount of the shape of the tool 12 (S15). The device 1 for detecting the shape of a tool uses the normal vector acquisition unit 27 to calculate the normal vectors of the plurality of points on the edge 13 of the tool 12, and compares the first plurality of normal vectors with the normal vector comparison unit 29. Line vector and 2nd complex number of normal vectors. And, when the values of the first plurality of normal vectors and the values of the second plurality of normal vectors are different from the predetermined critical value, the tool shape judgment unit 31 judges the shape change of the tool 12 . Thereby, the shape of the tool 12 whose shape is unknown can be measured and an abnormality in the shape of the tool 12 can be detected. In addition, by comparing the normal vectors to determine whether there is a change in the shape of the tool 12 before and after use, it is possible to accurately detect the change in the shape of the tool 12 compared to comparing the shape of the tool 12 by only photographing the tool 12 before and after use. However, the above-mentioned device 1 is a device for detecting the shape of a tool provided on the main shaft of a machine tool, and the device may also have: a camera for photographing the shape of the tool; A normal vector acquisition unit that calculates a normal vector at a plurality of points on the edge of the tool; an edge shape acquisition unit that photographs the tool with the camera and calculates the edge shape of the tool after use of the tool; the normal vector calculated by the vector acquisition unit; and the amount of change in tool shape calculated by using the edge of the tool calculated by the edge shape acquisition unit to calculate the amount of change in the shape of the tool after use relative to the shape of the tool before use Get the department to master. In this device 1 , the normal vector acquisition unit 27 calculates the normal vector from a plurality of points on the edge 13 of the tool 12 before use, and the edge shape acquisition unit 33 calculates the edge 13 a of the tool 12 after use. Then, using the normal vector calculated by the normal vector acquisition unit 27 and the edge 13a of the tool 12 calculated by the edge shape acquisition unit 33, the tool shape change acquisition unit 35 calculates the use of the shape of the tool 12 before use. The amount of change in the shape of the tool 12 after. Thereby, it is possible to accurately detect the part of the tool 12 that is chipped due to use, wear amount, wear, and the like. In addition, the above-mentioned device 1 is a device for detecting the shape of a tool provided on the main shaft of a machine tool. The device may also have: a camera for taking pictures of the shape of the tool; The edge shape acquisition unit of the edge of the tool; after the use of the tool, the tool is photographed by the camera and the normal vector acquisition unit is used to calculate the normal vector from a plurality of points on the edge of the tool; The normal vector calculated by the vector acquisition unit; the tool shape change amount acquisition for calculating the change amount of the shape of the tool after use relative to the shape of the tool before use using the edge of the tool calculated by the edge shape acquisition unit be mastered. In addition, the above described content is grasped as a method of detecting the shape of the tool. That is, the method of detecting the shape of a tool installed on the main shaft of a machine tool may include: a plurality of points on the edge of the tool photographed by a camera that photographs the shape of the tool, and the normal vectors thereof are calculated. The normal vector acquisition stage; compare the normal vectors of the first complex normal vectors obtained in the above normal vector acquisition stage and the second plural normal vectors obtained in the above normal vector acquisition stage stage; and as a result of the comparison of the above-mentioned normal vector comparison stage, when the values of the above-mentioned first plurality of normal vectors and the values of the above-mentioned second plurality of normal vectors are different from the predetermined critical value, the above-mentioned tool is carried out The tool shape judgment stage of the judgment of the shape change is mastered. In addition, it is also possible to grasp a method for detecting the shape of the tool described in Claim 5, the method comprising: using the first plurality of normal vectors obtained in the normal vector acquisition stage as normal vectors of the tool before use, After the use of the above-mentioned tool, the above-mentioned tool is photographed by the above-mentioned camera and the edge shape acquisition stage on the edge of the above-mentioned tool is calculated; the first plural normal vectors calculated by the above-mentioned normal vector acquisition stage are used, and the above-mentioned edge shape is used The edge of the tool calculated in the acquisition stage is a tool shape change amount acquisition stage in which the amount of change in the shape of the tool after use is calculated relative to the shape of the tool before use. Although several embodiments have been described, modifications and even deformations of the embodiments can be made based on the above disclosure.

1:裝置 2:工具機 11:主軸 12:工具 13,13a:工具的邊緣 22:照相機 27:法線向量取得部 29:法線向量比較部 31:工具形狀判斷部 33:邊緣形狀取得部 35:工具形狀變化量取得部 1: device 2: machine tool 11: Spindle 12: Tools 13,13a: The edge of the tool 22: camera 27: Normal vector acquisition part 29: Normal vector comparison unit 31: Tool shape judgment department 33: Edge shape acquisition part 35:Tool shape variation acquisition part

[圖1]是表示檢測一實施形態之工具的形狀的裝置,及設有上述裝置的工具機的概略構成的圖。 [圖2]是表示檢測工具的形狀的裝置之概略構成的圖。 [圖3]是表示藉檢測工具的形狀的裝置所獲得工具之邊緣與法線向量的圖。 [圖4]是圖3中,表示工具的邊緣的一部分與此法線向量的放大圖。 [圖5]是表示使用前與使用後之工具的邊緣與法線向量的圖。 [圖6]是表示在圖5表示的法線向量的成分的圖。 [圖7]是圖5中,表示工具的邊緣的一部分與此法線向量的放大圖。 [圖8]是表示檢測工具的形狀之裝置的動作的流程。 [ Fig. 1 ] is a diagram showing a device for detecting the shape of a tool according to an embodiment, and a schematic configuration of a machine tool provided with the device. [ Fig. 2 ] is a diagram showing a schematic configuration of a device for detecting the shape of a tool. [ Fig. 3 ] is a diagram showing the edge and normal vector of the tool obtained by the device for detecting the shape of the tool. [ FIG. 4 ] is an enlarged view showing a part of the edge of the tool and the normal vector in FIG. 3 . [ Fig. 5 ] is a diagram showing the edge and normal vector of the tool before and after use. [ Fig. 6 ] is a diagram showing components of normal vectors shown in Fig. 5 . [ Fig. 7 ] is an enlarged view showing a part of the edge of the tool and the normal vector in Fig. 5 . [ Fig. 8 ] is a flowchart showing the operation of the device for detecting the shape of the tool.

1:裝置 1: device

4:主軸頭 4: Spindle head

11:主軸 11: Spindle

12:工具 12: Tools

16:座架 16: Mount

22:照相機 22: camera

24:照明裝置 24: Lighting device

25:控制部 25: Control Department

27:法線向量取得部 27: Normal vector acquisition part

29:法線向量比較部 29: Normal vector comparison unit

31:工具形狀判斷部 31: Tool shape judgment department

33:邊緣形狀取得部 33: Edge shape acquisition part

35:工具形狀變化量取得部 35:Tool shape variation acquisition part

Claims (6)

一種檢測工具的形狀的裝置,係檢測設置於工具機之主軸的工具的形狀,其特徵為,具有: 照相機,進行上述形狀的攝影; 特定向量取得部,算出以上述照相機攝影的上述工具之邊緣上的複數個點分別所特定的向量; 特定向量比較部,比較:藉上述特定向量取得部在第1時間點取得的第1的複數個特定向量,及在第2時間點取得的第2的複數個特定向量;及 工具形狀判斷部,以上述特定向量比較部的比較的結果,在上述第1的複數個特定向量的值及上述第2的複數個特定向量的值,與預定的臨界值不同時,進行上述工具的形狀變化的判斷, 上述特定向量為法線向量或切線向量或相對於上述法線向量僅傾斜一定的角度的特定傾斜向量。 A device for detecting the shape of a tool is used to detect the shape of a tool provided on a main shaft of a machine tool, and is characterized in that it has: a camera for taking pictures of the above-mentioned shapes; A specific vector acquisition unit calculates a specific vector for each of plural points on the edge of the tool captured by the camera; The specific vector comparison unit compares: the first plurality of specific vectors acquired by the specific vector acquisition unit at the first time point, and the second plurality of specific vectors acquired at the second time point; and The tool shape judging unit performs the tool shape determination when the values of the first plurality of specific vectors and the values of the second plurality of specific vectors are different from a predetermined critical value based on the comparison result of the specific vector comparing unit. The judgment of the shape change, The above-mentioned specific vector is a normal vector, a tangent vector, or a specific inclination vector inclined only by a certain angle with respect to the above-mentioned normal vector. 如請求項1記載的檢測工具的形狀的裝置,其中,在上述特定向量取得部取得的第1的複數個特定向量為上述工具之使用前的特定向量,具有: 邊緣形狀取得部,在上述工具的使用後,以上述照相機攝影上述工具並算出上述工具的邊緣,及 工具形狀變化量取得部,使用以上述特定向量取得部算出的第1的複數個特定向量,及以上述邊緣形狀取得部算出之上述工具的邊緣,算出相對於上述使用前的工具的形狀之上述使用後的工具的形狀的變化量。 The device for detecting the shape of a tool as described in claim 1, wherein the first plurality of specific vectors acquired by the specific vector acquisition unit are specific vectors before the tool is used, and have: the edge shape acquiring unit calculates the edge of the tool by photographing the tool with the camera after use of the tool, and The tool shape change amount acquisition unit calculates the above-mentioned change relative to the shape of the tool before use using the first plurality of specific vectors calculated by the specific vector acquisition unit and the edge of the tool calculated by the edge shape acquisition unit. The amount of change in the shape of the tool after use. 一種檢測工具的形狀的裝置,係檢測設置於工具機之主軸的工具的形狀,其特徵為,具有: 照相機,進行上述工具的形狀的攝影; 特定向量取得部,在上述工具的使用前,以上述照相機攝影上述工具並在上述工具之邊緣上的複數個點,算出特定向量; 邊緣形狀取得部,在上述工具的使用後,以上述照相機攝影上述工具並算出上述工具的邊緣;及 工具形狀變化量取得部,使用以上述特定向量取得部算出的特定向量及以上述邊緣形狀取得部算出的上述工具的邊緣,算出相對於上述使用前的工具的形狀之上述使用後的工具的形狀的變化量, 上述特定向量為法線向量或切線向量或相對於上述法線向量僅傾斜一定的角度的特定傾斜向量。 A device for detecting the shape of a tool is used to detect the shape of a tool provided on a main shaft of a machine tool, and is characterized in that it has: a camera for taking pictures of the shape of the above tools; The specific vector obtaining unit calculates a specific vector by photographing the tool with the camera and a plurality of points on the edge of the tool before using the tool; The edge shape acquiring unit, after use of the tool, photographs the tool with the camera and calculates the edge of the tool; and The tool shape change acquisition unit calculates the shape of the tool after use relative to the shape of the tool before use using the specific vector calculated by the specific vector acquisition unit and the edge of the tool calculated by the edge shape acquisition unit. the amount of change, The above-mentioned specific vector is a normal vector, a tangent vector, or a specific inclination vector inclined only by a certain angle with respect to the above-mentioned normal vector. 一種檢測工具的形狀的裝置,係檢測設置於工具機之主軸的工具的形狀,其特徵為,具有: 照相機,進行上述工具的形狀的攝影; 邊緣形狀取得部,在上述工具的使用前,以上述照相機攝影上述工具並算出上述工具的邊緣; 特定向量取得部,在上述工具的使用後,以上述照相機攝影上述工具並在上述工具之邊緣上的複數個點,算出特定向量;及 工具形狀變化量取得部,使用以上述特定向量取得部算出的特定向量及以上述邊緣形狀取得部算出的上述工具的邊緣,算出相對於上述使用前的工具的形狀之上述使用後的工具的形狀的變化量, 上述特定向量為法線向量或切線向量或相對於上述法線向量僅傾斜一定的角度的特定傾斜向量。 A device for detecting the shape of a tool is used to detect the shape of a tool provided on a main shaft of a machine tool, and is characterized in that it has: a camera for taking pictures of the shape of the above tools; The edge shape acquiring unit photographs the tool with the camera and calculates the edge of the tool before the tool is used; The specific vector acquiring unit calculates a specific vector by photographing the tool with the camera after using the tool and calculating a plurality of points on the edge of the tool; and The tool shape change acquisition unit calculates the shape of the tool after use relative to the shape of the tool before use using the specific vector calculated by the specific vector acquisition unit and the edge of the tool calculated by the edge shape acquisition unit. the amount of change, The above-mentioned specific vector is a normal vector, a tangent vector, or a specific inclination vector inclined only by a certain angle with respect to the above-mentioned normal vector. 一種檢測工具的形狀的方法,係檢測設置於工具機之主軸的工具的形狀,其特徵為,具有: 特定向量取得階段,在以攝影上述工具的形狀的照相機攝影的工具之邊緣上的複數個點,算出該等的特定向量; 特定向量比較階段,比較:在上述特定向量取得階段取得的第1的複數個特定向量,及在上述特定向量取得階段接著取得的第2的複數個特定向量;及 工具形狀判斷階段,在上述特定向量比較階段的比較的結果,第1的複數個特定向量的值及上述第2複數個特定向量的值與預定的臨界值不同時,進行上述工具之形狀變化的判斷, 上述特定向量為法線向量或切線向量或相對於上述法線向量僅傾斜一定的角度的特定傾斜向量。 A method for detecting the shape of a tool is to detect the shape of a tool set on a main shaft of a machine tool, which is characterized by: In the stage of obtaining specific vectors, the specific vectors are calculated at a plurality of points on the edge of the tool photographed by a camera that photographs the shape of the tool; The specific vector comparison stage compares: the first plurality of specific vectors acquired in the above-mentioned specific vector acquisition step, and the second plurality of specific vectors acquired subsequently in the above-mentioned specific vector acquisition step; and In the tool shape judging step, when the values of the first plurality of specific vectors and the values of the second plurality of specific vectors are different from predetermined critical values as a result of the comparison in the specific vector comparison step, the shape change of the tool is carried out. judge, The above-mentioned specific vector is a normal vector, a tangent vector, or a specific inclination vector inclined only by a certain angle with respect to the above-mentioned normal vector. 如請求項5記載的檢測工具的形狀的方法,其中,在上述特定向量取得階段取得的第1的複數個特定向量為上述工具之使用前的特定向量,具有: 邊緣形狀取得階段,在上述工具的使用後,以上述照相機攝影上述工具並算出上述工具的邊緣,及 工具形狀變化量取得階段,使用以上述特定向量取得階段算出的第1的複數個特定向量,及以上述邊緣形狀取得階段算出之上述工具的邊緣,算出相對於上述使用前的工具的形狀之上述使用後的工具的形狀的變化量。 The method for detecting the shape of a tool as described in Claim 5, wherein the first plurality of specific vectors obtained in the above-mentioned specific vector acquisition stage are specific vectors before the tool is used, and have: In the edge shape acquisition stage, after the tool is used, the tool is photographed by the camera and the edge of the tool is calculated, and In the tool shape change acquisition step, the first plurality of specific vectors calculated in the specific vector acquisition step and the edge of the tool calculated in the edge shape acquisition step are used to calculate the above-mentioned difference with respect to the shape of the tool before use. The amount of change in the shape of the tool after use.
TW111117119A 2021-05-13 2022-05-06 Device for detecting the shape of a tool and method for detecting the shape of a tool TWI817487B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2021081558 2021-05-13
JP2021-081558 2021-05-13
JP2022-019293 2022-02-10
JP2022019293A JP2022176067A (en) 2021-05-13 2022-02-10 Tool shape detecting device and tool shape detecting method

Publications (2)

Publication Number Publication Date
TW202300866A true TW202300866A (en) 2023-01-01
TWI817487B TWI817487B (en) 2023-10-01

Family

ID=83948329

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111117119A TWI817487B (en) 2021-05-13 2022-05-06 Device for detecting the shape of a tool and method for detecting the shape of a tool

Country Status (3)

Country Link
KR (1) KR20220154624A (en)
CN (1) CN115338690A (en)
TW (1) TWI817487B (en)

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5189626A (en) * 1991-03-27 1993-02-23 Caterpillar Inc. Automatic generation of a set of contiguous surface patches on a computer modeled solid
GB0229459D0 (en) * 2002-12-19 2003-01-22 Renishaw Plc Tool analysis device and method
JP5001521B2 (en) * 2005-04-05 2012-08-15 三菱重工業株式会社 Tool shape measuring device
JP5467773B2 (en) * 2009-01-19 2014-04-09 富士機械製造株式会社 Cutting tool inspection system
JP4689745B2 (en) * 2009-08-19 2011-05-25 ファナック株式会社 Tool vector display device for machine tools
JP5725796B2 (en) * 2010-10-27 2015-05-27 株式会社牧野フライス製作所 Tool measuring method and measuring device, and machine tool
JP5022508B1 (en) * 2011-06-02 2012-09-12 三菱重工業株式会社 Shape measurement method
JP2013186100A (en) * 2012-03-12 2013-09-19 Hitachi Ltd Shape inspection method and device
CN104024793B (en) * 2011-10-24 2017-02-15 株式会社日立制作所 Shape inspection method and device
JP2014163836A (en) * 2013-02-26 2014-09-08 Canon Inc Determination method, measurement method, measurement device, and program
JP2016040531A (en) * 2014-08-12 2016-03-24 コニカミノルタ株式会社 Working tool measuring method and measuring device
DE102015105999B4 (en) * 2015-04-20 2016-11-10 Walter Maschinenbau Gmbh Method and device for material-removing machining of a tool
EP3511101B1 (en) * 2018-01-10 2020-09-23 Klingelnberg GmbH Method for testing a grinding tool and corresponding device
WO2020090844A1 (en) 2018-10-30 2020-05-07 東芝機械株式会社 Tool shape measurement device and tool shape measurement method
US11120625B2 (en) * 2019-04-02 2021-09-14 Autodesk, Inc. Producing overall curvature continuous surfaces from subdivision surface meshes
JP7194707B2 (en) * 2019-04-26 2022-12-22 芝浦機械株式会社 Work processing method and work processing machine

Also Published As

Publication number Publication date
TWI817487B (en) 2023-10-01
CN115338690A (en) 2022-11-15
KR20220154624A (en) 2022-11-22

Similar Documents

Publication Publication Date Title
US9672630B2 (en) Contour line measurement apparatus and robot system
TWI416065B (en) Apparatus and method for measuring three-dimensional shape of a wood block
JP4549332B2 (en) Tool positioning method and apparatus
CN109253706B (en) Tunnel three-dimensional topography measuring method based on digital image
JP5437679B2 (en) Tool judgment device, workpiece processing device
JP6588704B2 (en) Tool cutting edge detection method and apparatus, and tool correction value setting apparatus
JP7353757B2 (en) Methods for measuring artifacts
TWI735061B (en) Tool shape measuring device and tool shape measuring method
JP2016206120A (en) On-machine measurement method for tool
JP2022176067A (en) Tool shape detecting device and tool shape detecting method
JP6868147B1 (en) Machine tools, detection methods, and detection programs
TW202300866A (en) Device for detecting tool shape and method for detecting tool shape capable of measuring the shape of a tool whose shape is unknown and detecting abnormality in the tool shape
JP2000074644A (en) Measuring apparatus of rod type cutting tool and measuring method of drill which uses the measuring apparatus
CN110657750B (en) Detection system and method for passivation of cutting edge of cutter
JP6303889B2 (en) Processing tool measuring apparatus and measuring method
JP7159021B2 (en) Measuring device and measuring method for tool shape in tool presetter
JP7332645B2 (en) Tool shape abnormality detection device, tool shape abnormality detection method
JPH0814858A (en) Data acquisition device for three-dimensional object
JP7075806B2 (en) Tool shape measuring device and measuring method in tool presetter
TWI575344B (en) Tool processing and positioning method and device
TWI837618B (en) Tool shape abnormality detection device and tool shape abnormality detection method
CN112223102A (en) Honing method and device based on visual positioning
CN108714854A (en) Formed grinding wheel detection trimming device based on the method for rerunning a movie and emery wheel dressing method
TWM448341U (en) Positioning method and apparatus in CNC machine tools
JP2023061684A (en) Tool measuring device and tool measuring method