KR20130086356A - Tool collision prevention system and tool collision prevention method - Google Patents

Tool collision prevention system and tool collision prevention method Download PDF

Info

Publication number
KR20130086356A
KR20130086356A KR1020137010361A KR20137010361A KR20130086356A KR 20130086356 A KR20130086356 A KR 20130086356A KR 1020137010361 A KR1020137010361 A KR 1020137010361A KR 20137010361 A KR20137010361 A KR 20137010361A KR 20130086356 A KR20130086356 A KR 20130086356A
Authority
KR
South Korea
Prior art keywords
shape
workpiece
coordinate data
tool
measurement
Prior art date
Application number
KR1020137010361A
Other languages
Korean (ko)
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
Application filed by 잇판자이단호진 기카이신코쿄카이 filed Critical 잇판자이단호진 기카이신코쿄카이
Publication of KR20130086356A publication Critical patent/KR20130086356A/en

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/22Arrangements for observing, indicating or measuring on machine tools for indicating or measuring existing or desired position of tool or work
    • B23Q17/2208Detection or prevention of collisions
    • 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/20Arrangements for observing, indicating or measuring on machine tools for indicating or measuring workpiece characteristics, e.g. contour, dimension, hardness
    • 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
    • B23Q17/2428Arrangements for observing, indicating or measuring on machine tools using optics or electromagnetic waves for measuring existing positions of tools or workpieces
    • 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4061Avoiding collision or forbidden zones
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4069Simulating machining process on screen
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35316Interference checking between tool, machine, part, chuck, machining range
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/37Measurements
    • G05B2219/37064After digitizing, reconstruct surface by interpolating the initial mesh points

Abstract

공작 기계(1)의 공구(2)에 의해 가공되는 피작업물(3)을 포함하는 피작업물부를 미리 삼차원 계측하고, 그 계측 결과에 기초하여, 공구(2)와 피작업물부가 충돌하는지 아닌지의 충돌 판정을 하는 공구 충돌 방지 시스템으로서, 피작업물부의 형상을 삼차원 계측하는 레이저 스캐너(5)와, 레이저 스캐너(5)의 계측 결과에 기초하여 피작업물부의 형상을 결정하는 피작업물 형상 결정부(33)를 구비하고, 피작업물 형상 결정부(33)에는, 레이저 스캐너(5)의 계측 결과에 피작업물부의 형상이 계측되어 있지 않은 미계측 영역이 포함되어 있는 경우에, 미계측 영역에 대해 피작업물부의 외형 또는 그 외형보다도 외측에 피작업물부의 형상을 결정하도록 피작업물부의 형상을 보간하는 형상 보간부(35)가 포함되어 있다.Three-dimensional measurement of the work piece including the work piece 3 processed by the tool 2 of the machine tool 1 is performed in advance, and based on the measurement result, the tool 2 and the work piece collide with each other. A tool collision avoidance system for determining whether or not a collision is to be determined, comprising: a laser scanner 5 that three-dimensionally measures the shape of a workpiece, and a workpiece that determines the shape of the workpiece based on a measurement result of the laser scanner 5 In the case where the shape determining portion 33 is provided and the workpiece shape determining portion 33 includes an unmeasured area in which the shape of the workpiece is not measured in the measurement result of the laser scanner 5, The shape interpolation part 35 which interpolates the shape of a to-be-worked part so that the shape of a to-be-worked part may be determined with respect to an unmeasurement area | region or the outer side of the external part is included.

Description

공구 충돌 방지 시스템 및 공구 충돌 방지 방법{TOOL COLLISION PREVENTION SYSTEM AND TOOL COLLISION PREVENTION METHOD}TOOL COLLISION PREVENTION SYSTEM AND TOOL COLLISION PREVENTION METHOD}

본 발명은 공작 기계에 있어서의 공구의 피작업물에의 충돌을 방지하기 위한 공구 충돌 방지 시스템 등에 관한 것이다.BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to a tool collision avoidance system for preventing a collision of a tool to a workpiece in a machine tool.

공작 기계에 있어서는 공구가 피작업물에 충돌하는 것을 회피하기 위해 레이저 광을 조사하여 미리 피작업물의 형상을 삼차원 계측하여 피작업물이 가공되는 과정의 시뮬레이션을 하고 있다(예를 들면 특허 문헌 1 참조). 한편, 피작업물의 형상을 삼차원 계측하는 장치로서 피작업물을 회전대에 설치하여 회전시키면서 계측함으로써 사각(死角) 영역을 제거하거나(특허 문헌 2 참조), 라인 광을 조사하는 삼차원 센서의 광로를 거울(mirror)로 변경함으로써 사각 영역을 감소시키거나(특허 문헌 3 참조) 하는 것이 알려져 있다.In a machine tool, in order to avoid a tool colliding with a workpiece, laser beam is irradiated, three-dimensional measurement of the shape of the workpiece is performed, and simulation of a process of processing the workpiece is performed (for example, refer to Patent Document 1). ). On the other hand, as a device for three-dimensional measurement of the shape of the workpiece, the workpiece is placed on a swivel and rotated to measure the square area to remove the blind spot (see Patent Document 2), or to mirror the optical path of the three-dimensional sensor for irradiating line light. It is known to reduce the blind area by changing to mirror (see Patent Document 3).

일본국 특허공개 2007-48210호 공보Japanese Patent Publication No. 2007-48210 일본국 특허공개 2003-75139호 공보Japanese Patent Publication No. 2003-75139 일본국 특허공개 2008-203091호 공보Japanese Patent Publication No. 2008-203091

공작 기계에 있어서의 피작업물의 형상의 삼차원 계측에서는, 공작 기계의 설비에 따라서는 피작업물의 형상을 계측할 수 없는 사각 영역을 포함하는 미계측 영역이 생겨 버려 정확한 형상을 파악할 수 없는 경우가 있다. 특허 문헌 2 및 3의 장치와 같이 개조하는 것은 비용의 면에서 생각해서 유리한 계책은 아니고 미계측 영역을 가지는 데이터를 이용하는 경우라도 확실하게 공구의 피작업물에의 충돌을 회피하고 싶다.In the three-dimensional measurement of the shape of a workpiece in a machine tool, an unmeasured area including a blind area that cannot measure the shape of the workpiece may be generated depending on the equipment of the machine tool, and an accurate shape may not be grasped. . The retrofitting of the apparatuses of Patent Literatures 2 and 3 is not advantageous in terms of cost, and it is desired to avoid the collision of the tool to the workpiece even when using data having an unmeasured area.

그래서, 본 발명은 피작업물의 형상을 삼차원 계측하는 경우에 미계측 영역이 있어도 확실하게 공구의 피작업물에의 충돌을 방지할 수 있는 공구 충돌 방지 시스템 및 공구 충돌 방지 방법을 제공하는 것을 목적으로 한다.Accordingly, an object of the present invention is to provide a tool collision preventing system and a tool collision preventing method which can reliably prevent a tool from colliding with a workpiece even when there is an unmeasured area in the case of three-dimensional measurement of the shape of the workpiece. do.

본 발명의 공구 충돌 방지 시스템은, 공작 기계의 공구에 의해 가공되는 피작업물을 포함하는 피작업물부를 미리 삼차원 계측하고, 그 계측 결과에 기초하여, 상기 공구와 상기 피작업물부가 충돌하는지 아닌지의 충돌 판정을 하는 공구 충돌 방지 시스템으로서, 상기 피작업물부의 형상을 삼차원 계측하는 계측 수단과, 상기 계측 수단의 계측 결과에 기초하여 상기 피작업물부의 형상을 결정하는 형상 결정 수단을 구비하고, 상기 형상 결정 수단에는, 상기 계측 수단의 계측 결과에 상기 피작업물부의 형상이 계측되어 있지 않은 미계측 영역이 포함되어 있는 경우에, 상기 미계측 영역에 대해 상기 피작업물부의 외형 또는 상기 외형보다도 외측에 상기 피작업물부의 형상을 결정하도록 상기 피작업물부의 형상을 보간하는 형상 보간 수단이 포함되어 있음으로써 상기 과제를 해결한다.The tool collision avoidance system of the present invention three-dimensionally measures a workpiece including a workpiece to be processed by a tool of a machine tool, and determines whether the tool and the workpiece are colliding based on the measurement result. A tool collision avoidance system for performing a collision determination, comprising: measuring means for three-dimensionally measuring the shape of the workpiece, and shape determining means for determining the shape of the workpiece based on a measurement result of the measurement means, When the shape determining means includes an unmeasured area in which the shape of the workpiece is not measured in the measurement result of the measurement means, the shape determining means is more than the outer shape or the outline of the workpiece in relation to the unmeasured area. Shape interpolation means for interpolating the shape of the workpiece to determine the shape of the workpiece on the outside is included By solving the above problems.

본 발명의 공구 충돌 방지 시스템에 의하면, 계측 수단에 의해 계측한 피작업물부의 계측 결과에 미계측 영역이 포함되어 있는 경우에, 실제의 형상 또는 그것보다 큰 형상으로 하여 피작업물부의 형상을 보간한다. 이에 의해 피작업물부의 형상으로서는 실제의 외형보다 커지지만, 확실하게 공구의 충돌을 회피할 수가 있다. 보간한 형상의 부분에서 공구가 충돌한다고 하는 경고가 이루어진 경우라도, 작업자가 확인한다고 하는 공정이 추가될 뿐이고, 공구의 충돌은 확실하게 회피된다. 추가의 설비를 필요로 하는 일 없이 간단하고 쉬운 구성으로 공구의 충돌을 회피할 수 있다. 또한, 피작업물부란 피작업물만의 경우와 피작업물에 더하여 피작업물을 지지하는 치구, 테이블, 계측기 등의 그 외의 구성을 포함한 경우를 포함하는 개념이다. 또, 「피작업물부의 외형보다도 외측」에는 피작업물부에 오목부가 설치되어 있는 경우의 오목부 내주면측으로 돌출하여 커지는 것 같은 형상도 포함하고, 원래의 피작업물부의 외형에 대해서 그것보다도 체적이 늘어나도록 하여 형상을 결정한다고 하는 개념이 포함된다.According to the tool collision avoidance system of the present invention, when the unmeasured area is included in the measurement result of the workpiece measured by the measuring means, the shape of the workpiece is interpolated as an actual shape or larger than that. do. As a result, the shape of the workpiece is larger than the actual appearance, but it is possible to reliably avoid collision of the tool. Even when a warning is given that the tool collides in the interpolated shape, only a step for the operator to confirm is added, and the collision of the tool is surely avoided. Simple and easy configuration avoids tool collisions without the need for additional equipment. In addition, the workpiece part is a concept including the case of only the workpiece | work and the case including other structures, such as a jig, a table, a measuring instrument, etc. which support a workpiece | work in addition to a workpiece | work. In addition, "outer than the external shape of the workpiece" includes a shape that protrudes toward the inner circumferential side of the recess when the recess is provided in the workpiece, and has a volume larger than that of the original workpiece. The concept of determining the shape by stretching is included.

본 발명의 공구 충돌 방지 시스템의 한 태양에 있어서, 상기 형상 보간 수단은, 상기 계측 수단에 의해 취득된 삼차원 좌표 데이터의 일부가 결락(缺落)하여, 상기 미계측 영역을 나타내는 결락 좌표 데이터가 포함되어 있는 경우에, 그 결락 좌표 데이터에 인접하는, 데이터의 결락이 없는 인접 좌표 데이터에 기초하여 보간 좌표 데이터를 결정하고, 상기 결락 좌표 데이터에 상기 보간 좌표 데이터를 보간함으로써 상기 피작업물부의 형상을 보간해도 좋다. 이 태양에 의하면, 결락 좌표 데이터에 대해, 이에 인접하는 인접 좌표 데이터에 기초하여 보간 좌표 데이터를 결정한다. 이에 의해 결락 좌표 데이터가 보간되어 피작업물부의 형상을 보간함으로써 공구의 충돌을 확실하게 회피할 수가 있다.In one aspect of the tool collision avoidance system of the present invention, the shape interpolation means includes missing coordinate data indicating a portion of the three-dimensional coordinate data acquired by the measurement means and indicating the unmeasured area. If so, the interpolation coordinate data is determined based on the adjacent coordinate data without missing data, and the interpolated coordinate data is interpolated to the missing coordinate data to form the shape of the workpiece. You may interpolate. According to this aspect, interpolation coordinate data is determined with respect to missing coordinate data based on the adjacent coordinate data adjacent to this. As a result, the missing coordinate data is interpolated, and the collision of the tool can be reliably avoided by interpolating the shape of the workpiece.

인접 좌표 데이터에 기초하여 보간 좌표 데이터를 결정하는 경우에 있어서, 상기 형상 보간 수단은, 상기 결락 좌표 데이터에 인접하는 인접 좌표 데이터군을 비교하여, 상기 인접 좌표 데이터군 중에서 최대치를 가지는 인접 좌표 데이터를 보간 좌표 데이터로서 결정해도 좋다. 이 태양에 의하면, 결락 좌표 데이터에 인접하는 복수의 인접 좌표 데이터군 중에서 최대치를 보간 좌표 데이터로서 보간한다. 이에 의해 불명확한 형상인 미계측 영역에 대해서 실제의 외형보다 작은 형상으로 되는 것을 방지하면서, 보간하는 형상을 생각할 수 있는 최대의 크기로 함으로써 확실하게 공구의 충돌을 방지할 수 있다.In the case of determining interpolation coordinate data based on adjacent coordinate data, the shape interpolation means compares adjacent coordinate data groups adjacent to the missing coordinate data and selects adjacent coordinate data having a maximum value among the adjacent coordinate data groups. You may determine as interpolation coordinate data. According to this aspect, the maximum value is interpolated as interpolation coordinate data among the several adjacent coordinate data group adjacent to the missing coordinate data. As a result, the collision of the tool can be reliably prevented by making the shape to be interpolated to the maximum size that can be considered while preventing the unmeasured area having an unclear shape from becoming smaller than the actual appearance.

본 발명의 공구 충돌 방지 방법은, 공작 기계의 공구에 의해 가공되는 피작업물을 포함하는 피작업물부를 미리 삼차원 계측하고, 그 계측 결과에 기초하여, 상기 공구와 상기 피작업물부가 충돌하는지 아닌지의 충돌 판정을 하는 공구 충돌 방지 방법으로서, 상기 피작업물부의 형상을 삼차원 계측하는 계측 공정과, 상기 계측 공정의 계측 결과에 기초하여 상기 피작업물부의 형상을 결정하는 형상 결정 공정을 구비하고, 상기 형상 결정 공정에는, 상기 계측 공정의 계측 결과에 상기 피작업물부의 형상이 계측되어 있지 않은 미계측 영역이 포함되어 있는 경우에, 상기 미계측 영역에 대해 상기 피작업물부의 외형 또는 상기 외형보다도 외측에 상기 피작업물부의 형상을 결정하도록 상기 피작업물부의 형상을 보간하는 형상 보간 공정이 포함되어 있음으로서 상기 과제를 해결한다. 본 발명의 공구 충돌 방지 방법은, 본 발명의 공구 충돌 방지 시스템으로서 구현된다.In the tool collision prevention method of the present invention, the workpiece part including the workpiece to be processed by the tool of the machine tool is three-dimensionally measured in advance, and based on the measurement result, whether the tool and the workpiece part collide with each other. A tool collision prevention method for determining a collision of a tool, comprising: a measurement step of three-dimensionally measuring the shape of the workpiece, and a shape determination step of determining the shape of the workpiece based on a measurement result of the measurement step, In the shape determining step, when the measurement result of the measurement step includes an unmeasured area in which the shape of the workpiece is not measured, the shape determination step is performed more than the external shape or the external shape of the workpiece part with respect to the unmeasured area. Includes a shape interpolation step of interpolating the shape of the workpiece to determine the shape of the workpiece on the outside This problem is solved. The tool collision avoidance method of the present invention is implemented as a tool collision avoidance system of the present invention.

이상, 설명한 것처럼 본 발명의 공구 충돌 방지 시스템 및 공구 충돌 방지 방법에 있어서는, 계측 수단에 의해 계측한 피작업물부의 계측 결과에 미계측 영역이 포함되어 있는 경우에, 실제의 형상 또는 그것보다 큰 형상으로 하여 피작업물부의 형상을 보간한다. 이에 의해 피작업물부의 형상으로서는 실제의 외형보다 커지지만, 확실하게 공구의 충돌을 회피할 수가 있다.As described above, in the tool collision preventing system and the tool collision preventing method of the present invention, when the unmeasured area is included in the measurement result of the workpiece part measured by the measuring means, the actual shape or a shape larger than that. By interpolating the shape of the workpiece. As a result, the shape of the workpiece is larger than the actual appearance, but it is possible to reliably avoid collision of the tool.

도 1은 본 발명의 한 형태와 관련되는 공구 충돌 방지 시스템이 적용된 공작 기계 및 공구 충돌 방지 장치의 개략도이다.
도 2는 공작 기계 및 공구 충돌 방지 장치의 기능 블록도이다.
도 3은 레이저 스캐너와 피작업물과의 관계를 설명하는 도이다.
도 4는 사각 영역에 대해 설명하는 도이다.
도 5는 형상 보간 처리를 설명하는 플로차트(flow chart)이다.
도 6a는 사각 영역 및 불연속 영역의 형상 보간에 대해 설명하는 도이고, 도 6b는 도 6a의 피작업물에 대해서 행한 형상 보간에 대해 설명하는 도이다.
도 7은 결락 좌표 데이터의 일례를 나타내는 도이다.
1 is a schematic diagram of a machine tool and a tool collision avoidance apparatus to which a tool collision avoidance system according to one aspect of the present invention is applied.
2 is a functional block diagram of a machine tool and a tool collision avoidance device.
3 is a diagram illustrating a relationship between a laser scanner and a workpiece.
4 is a diagram illustrating a rectangular area.
5 is a flowchart for explaining shape interpolation processing.
FIG. 6A is a diagram illustrating shape interpolation between rectangular and discontinuous regions, and FIG. 6B is a diagram illustrating shape interpolation performed on the workpiece of FIG. 6A.
7 is a diagram illustrating an example of missing coordinate data.

도 1에 본 발명의 한 형태와 관련되는 공구 충돌 방지 시스템이 적용된 공작 기계 및 공구 충돌 방지 장치의 개략도를 나타낸다. 공작 기계(1)는 NC프로그램에 따라 차례차례 동작하는 기계이다. 공작 기계(1)에는 공구(2)와, 이 공구에 의해 가공되는 피작업물부로서의 피작업물(3)과, 공구(2)의 길이 및 직경을 계측하는 공구 계측 센서(4)와, 피작업물(3)의 형상을 삼차원 계측하는 계측 수단으로서의 레이저 스캐너(5)와, 필요에 따라서 각종 메시지가 표시되는 모니터(6)를 구비하고 있다. 한편, 공구 충돌 방지 장치(10)는 이른바 퍼스널 컴퓨터로서 구성된다. 공구 충돌 방지 장치(10)와 공작 기계(1)를 접속하는 접속 회선에는 레이저 스캐너(5)에 의해 계측된 피작업물(3)의 형상의 계측치를 송수신하기 위한 USB 회선(7)과, 그 외의 정보의 송수신을 위한 이더넷(ethernet)(등록상표) 회선(8)이 설치되어 있다. 또한, 공구 계측 센서(4) 및 레이저 스캐너(5)는 각종 공지의 기술을 이용해도 좋다. 레이저 스캐너(5)에는 삼차원 계측이 가능한 각종의 스캐너를 적용할 수 있다.1, the schematic diagram of the machine tool and tool collision prevention apparatus to which the tool collision prevention system which concerns on one form of this invention was applied is shown. The machine tool 1 is a machine that operates sequentially according to an NC program. The machine tool 1 includes a tool 2, a workpiece 3 as a workpiece part processed by the tool, a tool measurement sensor 4 for measuring the length and diameter of the tool 2, The laser scanner 5 as a measuring means which measures the shape of the workpiece | work 3 three-dimensionally, and the monitor 6 by which various messages are displayed as needed are provided. On the other hand, the tool collision avoidance apparatus 10 is comprised as what is called a personal computer. The connection line which connects the tool collision avoidance apparatus 10 and the machine tool 1 is a USB line 7 for transmitting / receiving the measured value of the shape of the workpiece | work 3 measured by the laser scanner 5, and An Ethernet (registered trademark) line 8 for transmitting and receiving other information is provided. In addition, the tool measurement sensor 4 and the laser scanner 5 may use various well-known techniques. Various scanners capable of three-dimensional measurement can be applied to the laser scanner 5.

도 2에 공작 기계(1) 및 공구 충돌 방지 장치(10)의 기능 블록도를 나타낸다. 공작 기계(1)는 제어부(21)을 구비하고 있다. 제어부(21)는 마이크로 프로세서와 그 마이크로 프로세서의 동작에 필요한 내부 기억 장치(일례로서 ROM 및 RAM) 등의 각종의 주변장치를 조합한 유닛으로서 구성되어 있다. 제어부(21)는 공작 기계(1)의 동작에 필요한 제어를 행한다. 공구 충돌 방지 장치(10)는 제어부(31)와 접속 인터페이스(32)를 구비하고 있다. 제어부(31)는 마이크로 프로세서와 그 마이크로 프로세서의 동작에 필요한 내부 기억 장치(일례로서 ROM 및 RAM) 등의 각종의 주변장치를 조합한 유닛으로서 구성되고, 미도시의 모니터, 키보드 등의 사용자 인터페이스를 가지고 있다. 제어부(31)에는 형상 결정 수단으로서의 피작업물 형상 결정부(33)와 충돌 판정부(34)를 구비하고 있다. 피작업물 형상 결정부(33)는 레이저 스캐너(5)에 피작업물(3)의 형상의 계측을 지시하고, 취득된 계측 정보로부터 피작업물(3)의 형상을 결정한다. 피작업물 형상 결정부(33)에는 형상 보간 수단으로서의 형상 보간부(35)가 설치되어 있다. 형상 보간부(35)는 피작업물 형상 결정부(33)에서 얻어진 계측 정보인 피작업물(3)의 삼차원 좌표 데이터의 일부가 결락하고 있는 경우에, 결락한 부분의 결락 좌표 데이터를 보간하는 처리를 한다. 충돌 판정부(34)는 공구(2)와 피작업물(3)이 충돌하는지 아닌지의 판정에 관한 처리를 한다. 접속 인터페이스(32)는 ORiN(등록상표) 등의 공지의 것이라도 좋다.The functional block diagram of the machine tool 1 and the tool collision avoidance apparatus 10 is shown in FIG. The machine tool 1 is provided with the control part 21. The control unit 21 is configured as a unit which combines a microprocessor and various peripheral devices such as internal storage devices (for example, ROM and RAM) required for the operation of the microprocessor. The control unit 21 performs control necessary for the operation of the machine tool 1. The tool collision avoidance apparatus 10 is equipped with the control part 31 and the connection interface 32. As shown in FIG. The control part 31 is comprised as a unit which combined the microprocessor and various peripheral devices, such as internal memory (for example, ROM and RAM) required for the operation of the microprocessor, and comprises a user interface, such as a monitor and a keyboard which are not shown in figure. Have. The control part 31 is provided with the workpiece shape determination part 33 and the collision determination part 34 as shape determination means. The workpiece shape determining unit 33 instructs the laser scanner 5 to measure the shape of the workpiece 3, and determines the shape of the workpiece 3 from the obtained measurement information. The work shape determining portion 33 is provided with a shape interpolation portion 35 as shape interpolation means. The shape interpolation part 35 interpolates the missing coordinate data of the missing part when a part of the three-dimensional coordinate data of the workpiece 3 which is the measurement information obtained by the workpiece shape determining part 33 is missing. Do the processing. The collision determination unit 34 performs a process relating to determining whether or not the tool 2 and the workpiece 3 collide with each other. The connection interface 32 may be a known one such as ORiN (registered trademark).

도 3은 레이저 스캐너(5)와 피작업물(3)의 관계를 설명하는 도이다. 레이저 스캐너(5)는 공구(2)의 주축 AX(Z축 방향)에 대해서 설치각 a로 장착되어 있다. 또, 레이저 스캐너(5)는 스폿(spot) 레이저, 라인(line) 레이저를 사출하기 때문에, 피작업물(3)에 대한 레이저 스캐너(5)의 계측 범위 b~c는 레이저 스캐너(5)로 주사 가능한 주사각에 의해 정해진다. 예를 들면, 레이저 스캐너(5)의 주사각의 범위가 -14.4°~+14.4°인 경우에, 설치각 a를 30°로 하여 그 레이저 스캐너(5)를 공구(2)에 달면, 레이저 스캐너(5)의 계측 범위 b~c는 주축 AX에 대해서 15.6°~44.4°의 범위로 된다. 따라서, 레이저 스캐너(5)에 의한 계측 가능 영역 A는 레이저 스캐너(5)의 설치각 a 및 주사각에 의존한다. 또한, 레이저 스캐너(5)와 피작업물(3)은 상대적으로 변위 가능하게 구성되어 있다. 레이저 스캐너(5)와 피작업물(3)의 상대 위치를 변경하고 나서 일시적으로 정지하여 계측하거나 상대 위치를 변경하면서 계측하거나 할 수가 있고, 적당한 상황에 따른 계측이 가능한 것이다. 피작업물(3) 또는 레이저 스캐너(5)의 중의 적어도 어느 일방이 위치 변경 가능하게 구성되어 있으면 좋다.3 is a diagram illustrating a relationship between the laser scanner 5 and the workpiece 3. The laser scanner 5 is attached at the installation angle a with respect to the main axis AX (Z-axis direction) of the tool 2. In addition, since the laser scanner 5 emits a spot laser and a line laser, the measurement ranges b to c of the laser scanner 5 with respect to the workpiece 3 are transferred to the laser scanner 5. Determined by the injectable scan angle. For example, in the case where the scanning angle range of the laser scanner 5 is -14.4 ° to + 14.4 °, when the mounting angle a is 30 ° and the laser scanner 5 is attached to the tool 2, the laser is The measurement ranges b to c of the scanner 5 are in a range of 15.6 ° to 44.4 ° with respect to the main axis AX. Therefore, the measurable area A by the laser scanner 5 depends on the installation angle a and the scanning angle of the laser scanner 5. In addition, the laser scanner 5 and the workpiece 3 are configured to be relatively displaceable. After changing the relative position of the laser scanner 5 and the workpiece 3, the measurement can be performed by temporarily stopping the measurement or changing the relative position. At least any one of the workpiece | work 3 and the laser scanner 5 should just be comprised so that a position change is possible.

피작업물(3)에 깊은 구멍이나 깊은 홈(groove)이 설치되어 있는 경우에 레이저 스캐너(5)로 피작업물(3)을 삼차원 계측하면, 깊은 구멍이나 깊은 홈(groove)에 의해 생기는 단차가 레이저 광에 대해서 사각으로 되고, 얻어지는 삼차원 좌표 데이터의 일부가 결락하는 경우가 있다. 도 4는 사각 영역에 대해 설명하는 도이다. 단차 h에 레이저광 L이 입사하면, 입사했을 때의 주사각에 의해 레이저 광의 입사각이 변동한다. 단차 h의 높이 ΔZ에 대해, 레이저 스캐너(5)의 계측 범위 b~c에 의해, 사각 영역 B~C가 Y축 방향으로 생긴다. 상술의 계측 범위의 예로 말하면, 레이저 스캐너(5)의 주사각의 타이밍에 의해 레이저광 L의 입사각이 변화하기 때문에, 사각 B, C는 입사각에도 의하지만 사각 영역 B=ΔZ×tan(15.6)까지의 범위는 입사각에 의하지 않고 항상 사각 영역이 되고, 사각 영역 B로부터 사각 C=ΔZ×tan(44.4)의 범위는 입사각에 의해 사각 영역이 변화한다.When the workpiece 3 is three-dimensionally measured by the laser scanner 5 when the workpiece 3 is provided with a deep hole or a deep groove, a step caused by the deep hole or deep groove is generated. Becomes square with respect to a laser beam, and a part of three-dimensional coordinate data obtained may fall. 4 is a diagram illustrating a rectangular area. When the laser light L is incident on the step h, the incident angle of the laser light varies depending on the scanning angle when the incident light is incident. Regarding the height ΔZ of the step h, the rectangular areas B to C are generated in the Y-axis direction by the measurement ranges b to c of the laser scanner 5. As an example of the above-described measurement range, since the incident angle of the laser light L changes depending on the timing of the scanning angle of the laser scanner 5, the squares B and C depend on the angle of incidence but up to the square area B = ΔZ × tan (15.6). The range of is always a rectangular area irrespective of the angle of incidence, and the rectangular area is changed from the rectangular area B to the square C = ΔZ × tan (44.4) by the angle of incidence.

도 5를 참조하여 공구 충돌 방지 장치(10)의 제어부(31)가 실행하는 형상 보간 처리에 대해 설명한다. 형상 보간 처리는 피작업물 형상 결정부(33)가 실행하는 피작업물(3)의 형상 계측 처리의 일부로서 실행된다. 피작업물(3)의 형상 계측 처리 및 충돌 판정 처리에 대해서는 공지 기술을 이용해도 좋다. 예를 들면, 피작업물(3)의 형상 계측 처리에 있어서는 피작업물 형상 결정부(33)에 의해 레이저 스캐너(5)에 계측 개시의 지시가 이루어지고, 레이저 스캐너(5)가 삼차원 계측함으로써써 그 계측 영역의 계측 정보(삼차원 좌표 데이터)가 얻어지고, 제어부(31)의 기억 장치에 받아들여진다. 그리고, 피작업물 형상 결정부(33)는 받아들여진 계측 정보에 기초하여 피작업물(3)의 형상을 결정한다. 한편, 충돌 판정 처리에서는 결정된 형상의 정보에 기초하여 충돌의 판정을 한다. 충돌의 판정에는 시판의 각종 가공 시뮬레이터를 이용할 수가 있다. 충돌 판정부(34)는 판정 결과에 기초하여 충돌하는 취지의 경고 메시지 또는 충돌하지 않는 취지의 안전 메시지를 공구 충돌 방지 장치(10)의 모니터에 표시한다.The shape interpolation process performed by the control part 31 of the tool collision avoidance apparatus 10 is demonstrated with reference to FIG. The shape interpolation process is executed as part of the shape measurement process of the workpiece 3 executed by the workpiece shape determining unit 33. You may use a well-known technique about the shape measurement process and the collision determination process of the to-be-processed object 3. For example, in the shape measurement process of the workpiece 3, the workpiece shape determination unit 33 gives an instruction of measurement start to the laser scanner 5, and the laser scanner 5 makes a three-dimensional measurement. The measurement information (three-dimensional coordinate data) of the measurement area is obtained, and is received by the storage device of the control unit 31. The workpiece shape determining unit 33 then determines the shape of the workpiece 3 based on the received measurement information. On the other hand, in the collision determination process, collision is determined based on the information of the determined shape. Commercially available processing simulators can be used to determine collisions. The collision determination unit 34 displays, on the monitor of the tool collision avoidance device 10, a warning message for conflicting or a safety message for not conflicting based on the determination result.

피작업물 형상 결정부(33)가 실행하는 형상 계측 처리에 있어서, 계측 정보로서 얻어진 삼차원 좌표 데이터가 결락하고 있는 경우에 형상 보간 처리가 실행된다. 우선, 형상 보간부(35)는 스텝 S1에서 형상 계측 처리에서 얻어진 삼차원 좌표 데이터로부터 결락 좌표 데이터를 선택한다. 도 6a에 나타내듯이 각 볼록부(3a~3c)에 의해 생기는 단차 h1~h6에 레이저광 L을 조사하면, 레이저광 L의 피작업물(3)에의 입사각에 의해 사각 영역 B1~B3이 생긴다. 또, 단차 h5에서는 조사된 레이저광 L이 반사하지 않는 불연속 영역 B4가 생긴다. 레이저 스캐너(5)에서 얻어진 계측 정보는 삼차원 좌표 데이터이며, 레이저 스캐너(5)의 광원으로부터 라인 형상으로 차례차례 사출되는 레이저광 L에 의해 각 계측점에서 데이터를 얻을 수 있다. 상술한 레이저 스캐너(5)의 주사각에 의해 도 6a에 있어서 사각 영역 B1~B3 및 불연속 영역 B4의 미계측 영역이 생겨 삼차원 좌표 데이터를 얻지 못하고 결락하게 된다.In the shape measurement processing executed by the workpiece shape determining unit 33, shape interpolation processing is executed when three-dimensional coordinate data obtained as measurement information is missing. First, the shape interpolation part 35 selects missing coordinate data from the three-dimensional coordinate data obtained by the shape measurement process in step S1. As shown in FIG. 6A, when the laser beam L is irradiated to the steps h1 to h6 generated by the convex portions 3a to 3c, the rectangular areas B1 to B3 are generated by the incident angle of the laser beam L to the workpiece 3. Moreover, in step h5, the discontinuous area B4 which the irradiated laser beam L does not reflect arises. The measurement information obtained by the laser scanner 5 is three-dimensional coordinate data, and data can be obtained at each measurement point by the laser light L sequentially emitted in a line shape from the light source of the laser scanner 5. Due to the scanning angle of the laser scanner 5 described above, unmeasured areas of the rectangular areas B1 to B3 and the discontinuous area B4 are generated in FIG. 6A, and three-dimensional coordinate data cannot be obtained.

도 7에 결락 좌표 데이터의 일례를 나타낸다. 도 7은 X-Y평면 상에 X축 방향 및 Y축 방향으로 일정 간격으로 격자모양으로 구분한 메쉬 m를 할당하고, 이 각 메쉬 m에 있어서 포함되는 삼차원 좌표 데이터인 점군(點群) 데이터 중, Z축 좌표의 최대치를 높이 정보로서 그 메쉬에 부가한 것을 나타내고 있다. 각 메쉬 m에는 좌표 데이터가 결락한 결락 좌표 데이터 D1, D2,…(특히 구별할 필요가 없는 경우는 참조 부호 D로 대표함)가 존재하는 경우가 있다. 결락 좌표 데이터 D는 공백의 좌표 데이터이며, 1개의 결락 좌표 데이터 D 혹은 2이상의 결락 좌표 데이터 D군으로서 존재한다. 도 7의 예에서는 결락 좌표 데이터 D가 5개 집합한 결락 좌표 데이터 D1~D5군을 나타내고 있다. 형상 보간부(35)는 이 결락 좌표 데이터 D를 선택한다. 스텝 S1에 있어서는 결락 좌표 데이터 D1~D5군의 경우라도 어느 것인가의 결락 좌표 데이터 D가 선택되게 된다. 편의상 결락 좌표 데이터 D1이 선택되었다고 하여 설명을 계속한다.An example of missing coordinate data is shown in FIG. FIG. 7: Allocates the mesh m divided | segmented into grid form at regular intervals on the X-Y plane in the X-axis direction and the Y-axis direction, and among the point group data which is three-dimensional coordinate data contained in each mesh m. , The maximum value of the Z-axis coordinate is added to the mesh as height information. Each mesh m has missing coordinate data D1, D2,... (Represented by reference numeral D in particular when there is no need to distinguish) may be present. The missing coordinate data D is empty coordinate data and exists as one missing coordinate data D or two or more missing coordinate data D groups. In the example of FIG. 7, the group of missing coordinate data D1 to D5 in which five missing coordinate data D is set is shown. The shape interpolation part 35 selects this missing coordinate data D. FIG. In step S1, either of the missing coordinate data D1 to the D5 group is selected. For convenience, explanation is continued as the missing coordinate data D1 is selected.

다음에 형상 보간부(35)는 스텝 S2로 진행되어 결락 좌표 데이터 D1에 인접하는 좌표 데이터를 추출하고, 추출한 좌표 데이터를 비교한다. 이 경우에 있어서, 결락 좌표 데이터 D1~D5군과 같이 복수의 결락 좌표 데이터 D가 인접하고 있는 경우에는, 결락 좌표 데이터 D1~D5를 하나의 데이터군으로서 인식하고, 그 데이터군에 인접하는 좌표 데이터를 추출한다. 도 7에서는 결락 좌표 데이터 D1에 인접하는 결락 좌표 데이터 D2, D3, D5에 대해서는 결락 좌표 데이터라고 판단하고, 또한 이들 결락 좌표 데이터 D2, D3, D5에 인접하는 좌표 데이터를 추출하고, 인접하는 결락 좌표 데이터가 추출되지 않게 될 때까지 추출 처리를 행한다. 이에 의해 결락 좌표 데이터 D1~D5군에 있어서, X축 방향 및 Y축 방향의 팔방에 인접하는 인접 좌표 데이터 N1~N14가 추출된다. 추출한 인접 좌표 데이터 N1~N14를 비교하고, 이들 중에서 가장 높은 수치를 결락 좌표 데이터 D군에 보간하는 보간 좌표 데이터로서 결정한다. 도 7의 예에서 말하면, 추출한 각 인접 좌표 데이터 N1~N3=50, N4~N5=150, N6~N14=100의 중에서 가장 높은 수치를 가지는 인접 좌표 데이터 N4~N5=150을 보간 좌표 데이터로서 결정한다. 다음의 스텝 S3에서, 형상 보간부(35)는 스텝 S2에서 결정한 보간 좌표 데이터를 결락 좌표 데이터 D1~D5군의 각각에 보간하여 이번 처리를 종료한다. 형상 보간 처리에 있어서 스텝 S1~스텝 S3의 처리가 형상 보간 수단에 상당하고, 형상 계측 처리가 형상 결정 수단에 해당한다.Next, the shape interpolation part 35 advances to step S2, extracts coordinate data adjacent to the missing coordinate data D1, and compares the extracted coordinate data. In this case, when several missing coordinate data D adjoins like the missing coordinate data D1-D5 group, the missing coordinate data D1-D5 is recognized as one data group, and the coordinate data adjacent to the data group is carried out. Extract In FIG. 7, the missing coordinate data D2, D3, and D5 adjacent to the missing coordinate data D1 are determined to be missing coordinate data, and the coordinate data adjacent to the missing coordinate data D2, D3, and D5 is extracted, and the adjacent missing coordinates are extracted. The extraction process is performed until the data is not extracted. As a result, in the missing coordinate data D1 to D5 group, adjacent coordinate data N1 to N14 adjacent to both sides in the X axis direction and the Y axis direction are extracted. The extracted adjacent coordinate data N1-N14 is compared, and the highest numerical value among these is determined as interpolation coordinate data which interpolates to the missing coordinate data D group. In the example of FIG. 7, the adjacent coordinate data N4 to N5 = 150 having the highest value among the extracted adjacent coordinate data N1 to N3 = 50, N4 to N5 = 150, and N6 to N14 = 100 is determined as interpolation coordinate data. do. In following step S3, the shape interpolation part 35 interpolates the interpolation coordinate data determined by step S2 to each of the missing coordinate data D1-D5 group, and complete | finishes this process. In shape interpolation process, the process of step S1-step S3 corresponds to shape interpolation means, and shape measurement process corresponds to shape determination means.

도 6b는 결락 좌표 데이터를 보간하여 형성된 피작업물(3)의 형상을 설명하는 도이다. 또한, 도 6b는 Y-Z평면 상에 있어서의 단면도로 설명하고 있기 때문에, 편의상 Y축 방향으로 등간격으로 구분된 메쉬 m의 Y축 성분 mY로 설명하지만, 실제는 X-Y평면 상의 메쉬 m에 포함되는 삼차원 좌표 데이터로 메쉬 m 내의 좌표 데이터가 결정된다. 도 6b에 사각 영역 B1~B3 및 불연속 영역 B4에 의한 각 결락 좌표 데이터 D가 형상 보간 처리에 의해 보간된 모습을 나타낸다. 각 미계측 영역 B1~B4에 인접하는 인접 좌표 데이터로서는, 각 볼록부(3a~3c)의 상면부에 위치하는 메쉬 성분 mY가 Z축 방향으로 가장 큰 값을 가지고 있으므로, 그 값이 미계측 영역 B1~B4에 대응하는 각 메쉬 성분 mY에 보간 좌표 데이터로서 보간되고, 도 6b의 굵은 선으로 나타낸 형상과 같이 결정된다. 또한, 메쉬 성분 mY 마다 하나의 좌표 데이터가 결정되기 때문에 메쉬 성분 mY에서 높이가 다른 외형을 할당되어 있는 경우에는, 그 메쉬 성분 mY에 포함되는 최대치에 의해 형상이 보간되고, 도 6b의 당해 메쉬 성분 mY1~mY3과 같이 실제의 피작업물(3)의 외형보다도 외측에 보간되는 일이 있다.6B is a diagram for explaining the shape of the workpiece 3 formed by interpolating missing coordinate data. In addition, since FIG. 6B is demonstrated by sectional drawing on a Y-Z plane, it demonstrates by the Y-axis component mY of the mesh m divided | segmented at equal intervals in the Y-axis direction for convenience, but actually m is a mesh m on an X-Y plane Coordinate data in the mesh m is determined as three-dimensional coordinate data included in. 6B, each missing coordinate data D by the rectangular areas B1 to B3 and the discontinuous areas B4 is interpolated by the shape interpolation process. As the adjacent coordinate data adjacent to each of the non-measured areas B1 to B4, the mesh component mY located at the upper surface portion of each of the convex portions 3a to 3c has the largest value in the Z-axis direction. Each mesh component mY corresponding to B1 to B4 is interpolated as interpolation coordinate data, and is determined as in the shape shown by the thick line in FIG. 6B. In addition, since one coordinate data is determined for each mesh component mY, when an external shape having a different height is assigned to the mesh component mY, the shape is interpolated by the maximum value included in the mesh component mY. Like mY1-mY3, it may interpolate on the outer side rather than the external shape of the actual workpiece 3.

보간 후에는 형상 계측 처리에서 데이터 보간 후의 계측 정보에 기초하여 피작업물(3)의 형상이 결정된다. 도 6a와 같은 형상을 가지는 피작업물(3)의 경우, 도 6b의 굵은 선으로 나타낸 형상과 같이 직사각형 모양으로 결정되고, 피작업물(3)의 외형보다도 외측에 피작업물(3)의 형상이 보간된다. 피작업물(3)의 실제의 외형보다도 외측, 즉 현실의 피작업물(3)의 외형에 대해서 그것보다도 체적이 늘어나도록 하여 형상이 보간된다. 이 「외측」의 개념에는 피작업물(3)에 오목부가 설치되어 있는 경우의 오목부 내주면측으로 돌출하여 커지는 것 같은 형상의 보간도 포함된다. 또한, 미계측 영역에 있어 보간된 형상과 실제의 외형이 동일하게 되는 경우도 있다. 이러한 간단하고 쉬운 처리에 의해 형상이 보간됨으로써 공구(2)와 피작업물(3)의 충돌을 확실하게 방지할 수가 있다. 실제의 피작업물(3)의 외형보다 큰 형상으로서 인식되게 되지만, 이 보간된 형상 부분에 의해 충돌의 경고가 통지되어도 작업자에 의한 확인 작업이 공정에 추가될 뿐이고, 공구(2)와 피작업물(3)이 충돌하는 것에 의한 손실에 비하면 충분히 실용에 견딜 수 있는 정도의 경미한 추가이다.After interpolation, the shape of the workpiece 3 is determined based on the measurement information after data interpolation in the shape measurement process. In the case of the workpiece 3 having the same shape as that of FIG. 6A, the workpiece 3 is determined to have a rectangular shape as shown by the bold line of FIG. 6B, and the workpiece 3 is formed on the outer side of the workpiece 3. The shape is interpolated. The shape is interpolated so that the volume of the workpiece 3 is greater than that of the actual workpiece 3, that is, the actual shape of the workpiece 3 is increased. This "outside" concept also includes interpolation of a shape that protrudes toward the inner circumferential surface side of the recess when the recess 3 is provided in the workpiece 3. In addition, the interpolated shape and the actual external shape may be the same in the unmeasured area. The shape is interpolated by such a simple and easy process, whereby the collision between the tool 2 and the workpiece 3 can be reliably prevented. Although it is recognized as a shape larger than the actual shape of the workpiece 3, even if a warning of a collision is notified by this interpolated shape portion, only the checking operation by the operator is added to the process, and the tool 2 and the workpiece Compared to the loss due to the collision of water 3, it is a slight addition that can withstand practical use sufficiently.

본 발명은, 상술한 형태에 한정되는 일 없이 여러 가지의 형태로 실시할 수가 있다. 예를 들면, 본 형태에서는 형상 보간 처리를 형상 계측 처리의 일부로서 설명하였지만 이에 한정되지 않는다. 예를 들면, 형상 보간 처리가 독립하여 처리되어도 좋다. 결락 좌표 데이터를 가지는 삼차원 좌표 데이터가 있는 경우에 형상 보간 처리를 실행함으로써 결락 좌표 데이터에 보간 좌표 데이터를 보간할 수가 있다. 또, 본 형태에 있어서 계측 수단을 레이저 스캐너(5)로서 설명하였지만 이에 한정되지 않는다. CCD 카메라 등의 미계측 영역이 생기는 각종 계측 수단에 대해서 본 발명을 적용해도 좋다. 또, 본 형태에 있어서, 결락 좌표 데이터 D에 대해서 인접하는 인접 좌표 데이터를 결락 좌표 데이터 D의 팔방으로부터 취득하였지만, 이에 한정되지 않고, 예를 들면 사방으로부터라도 좋고, 적당한 변경이 가능하다. 또, 메쉬 m의 크기에 대해서도 임의라도 좋고 성능에 따라 적당하게 변경이 가능하다.This invention can be implemented in various aspects, without being limited to the form mentioned above. For example, although this shape demonstrated the shape interpolation process as a part of shape measurement process, it is not limited to this. For example, shape interpolation may be performed independently. When there is three-dimensional coordinate data having missing coordinate data, interpolation coordinate data can be interpolated to the missing coordinate data by performing shape interpolation processing. In addition, although the measurement means was demonstrated as the laser scanner 5 in this form, it is not limited to this. You may apply this invention to the various measuring means which an unmeasured area | region, such as a CCD camera, produces. In the present embodiment, adjacent coordinate data adjacent to the missing coordinate data D is acquired from all sides of the missing coordinate data D. However, the present invention is not limited thereto, and may be, for example, from all sides, and appropriate modifications are possible. The size of the mesh m may also be arbitrary and can be changed as appropriate depending on the performance.

피작업물부는 피작업물(3)만의 경우와 피작업물(3)에 더하여 피작업물(3)을 지지하는 치구, 테이블, 계측기 등의 그 외의 구성을 포함한 경우를 포함하는 개념이다. 또, 미계측 영역이란 사각 B1~B3 및 불연속 영역 B4를 포함하는 개념이다.The work piece is a concept including the case of only the work piece 3 and a case including other structures such as a jig, a table, a measuring instrument, etc. which support the work piece 3 in addition to the work piece 3. In addition, an unmeasured area | region is a concept containing square B1-B3 and discontinuous area B4.

Claims (4)

공작 기계의 공구에 의해 가공되는 피작업물을 포함하는 피작업물부를 미리 삼차원 계측하고, 그 계측 결과에 기초하여, 상기 공구와 상기 피작업물부가 충돌하는지 아닌지의 충돌 판정을 하는 공구 충돌 방지 시스템으로서,
상기 피작업물부의 형상을 삼차원 계측하는 계측 수단과,
상기 계측 수단의 계측 결과에 기초하여 상기 피작업물부의 형상을 결정하는 형상 결정 수단을 구비하고,
상기 형상 결정 수단에는, 상기 계측 수단의 계측 결과에 상기 피작업물부의 형상이 계측되어 있지 않은 미계측 영역이 포함되어 있는 경우에, 상기 미계측 영역에 대해 상기 피작업물부의 외형 또는 상기 외형보다도 외측에 상기 피작업물부의 형상을 결정하도록 상기 피작업물부의 형상을 보간하는 형상 보간 수단이 포함되어 있는 공구 충돌 방지 시스템.
Tool collision prevention system which measures the workpiece part including the workpiece processed by the tool of a machine tool in advance, and makes a collision determination of whether the said tool and the workpiece part collide based on the measurement result. As
Measuring means for three-dimensionally measuring the shape of the workpiece;
And a shape determining means for determining the shape of the work piece based on the measurement result of the measuring means.
When the shape determining means includes an unmeasured area in which the shape of the workpiece is not measured in the measurement result of the measurement means, the shape determining means is more than the outer shape or the outline of the workpiece in relation to the unmeasured area. And a shape interpolation means for interpolating the shape of the workpiece to determine the shape of the workpiece.
제1항에 있어서,
상기 형상 보간 수단은, 상기 계측 수단에 의해 취득된 삼차원 좌표 데이터의 일부가 결락하여, 상기 미계측 영역을 나타내는 결락 좌표 데이터가 포함되어 있는 경우에, 그 결락 좌표 데이터에 인접하는, 데이터의 결락이 없는 인접 좌표 데이터에 기초하여 보간 좌표 데이터를 결정하고, 상기 결락 좌표 데이터에 상기 보간 좌표 데이터를 보간함으로써 상기 피작업물부의 형상을 보간하는 공구 충돌 방지 시스템.
The method of claim 1,
In the shape interpolation means, when a part of the three-dimensional coordinate data acquired by the measurement means is missing and the missing coordinate data indicating the unmeasured area is included, the missing data is adjacent to the missing coordinate data. And interpolating coordinate data based on the absent adjacent coordinate data, and interpolating the shape of the workpiece by interpolating the interpolation coordinate data to the missing coordinate data.
제2항에 있어서,
상기 형상 보간 수단은, 상기 결락 좌표 데이터에 인접하는 인접 좌표 데이터군을 비교하여, 상기 인접 좌표 데이터군 중에서 최대치를 가지는 인접 좌표 데이터를 보간 좌표 데이터로서 결정하는 공구 충돌 방지 시스템.
The method of claim 2,
And the shape interpolation means compares adjacent coordinate data groups adjacent to the missing coordinate data to determine adjacent coordinate data having a maximum value among the adjacent coordinate data groups as interpolated coordinate data.
공작 기계의 공구에 의해 가공되는 피작업물을 포함하는 피작업물부를 미리 삼차원 계측하고, 그 계측 결과에 기초하여, 상기 공구와 상기 피작업물부가 충돌하는지 아닌지의 충돌 판정을 하는 공구 충돌 방지 방법으로서,
상기 피작업물부의 형상을 삼차원 계측하는 계측 공정과,
상기 계측 공정의 계측 결과에 기초하여 상기 피작업물부의 형상을 결정하는 형상 결정 공정을 구비하고,
상기 형상 결정 공정에는, 상기 계측 공정의 계측 결과에 상기 피작업물부의 형상이 계측되어 있지 않은 미계측 영역이 포함되어 있는 경우에, 상기 미계측 영역에 대해 상기 피작업물부의 외형 또는 상기 외형보다도 외측에 상기 피작업물부의 형상을 결정하도록 상기 피작업물부의 형상을 보간하는 형상 보간 공정이 포함되어 있는 공구 충돌 방지 방법.
Tool collision prevention method of performing three-dimensional measurement of the workpiece | work part containing the workpiece | work processed by the tool of a machine tool in advance, and making a collision determination of whether the said tool and the workpiece | work part collide based on the measurement result. As
A measurement step of three-dimensionally measuring the shape of the workpiece;
And a shape determination step of determining the shape of the work piece based on the measurement result of the measurement step,
In the shape determining step, when the measurement result of the measurement step includes an unmeasured area in which the shape of the workpiece is not measured, the shape determination step is performed more than the external shape or the external shape of the workpiece part with respect to the unmeasured area. And a shape interpolation step of interpolating the shape of the workpiece to determine the shape of the workpiece.
KR1020137010361A 2010-10-26 2010-10-26 Tool collision prevention system and tool collision prevention method KR20130086356A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2010/068977 WO2012056520A1 (en) 2010-10-26 2010-10-26 Tool collision prevention system and tool collision prevention method

Publications (1)

Publication Number Publication Date
KR20130086356A true KR20130086356A (en) 2013-08-01

Family

ID=45993276

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020137010361A KR20130086356A (en) 2010-10-26 2010-10-26 Tool collision prevention system and tool collision prevention method

Country Status (3)

Country Link
JP (1) JP5543476B2 (en)
KR (1) KR20130086356A (en)
WO (1) WO2012056520A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180133637A (en) 2017-06-07 2018-12-17 두산공작기계 주식회사 Method and apparatus for measuring tool offset of machine tool

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2998066B1 (en) 2014-09-19 2017-06-14 Mikron Agie Charmilles AG High voltage crash prevention device for machine tools
US10515259B2 (en) * 2015-02-26 2019-12-24 Mitsubishi Electric Research Laboratories, Inc. Method and system for determining 3D object poses and landmark points using surface patches
JP6902208B2 (en) 2017-11-14 2021-07-14 オムロン株式会社 Gripping method, gripping system and program
JPWO2022070309A1 (en) * 2020-09-30 2022-04-07

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3800841B2 (en) * 1998-12-28 2006-07-26 スズキ株式会社 Method and apparatus for measuring 3D shape and storage medium storing 3D shape measurement program
JP2004317126A (en) * 2003-04-10 2004-11-11 Renesas Technology Corp Solder printer
JP4180469B2 (en) * 2003-08-11 2008-11-12 東芝機械株式会社 How to check the machining suitability of machine tools
JP2006064385A (en) * 2004-08-24 2006-03-09 Ricoh Co Ltd Apparatus and method for measuring shape

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180133637A (en) 2017-06-07 2018-12-17 두산공작기계 주식회사 Method and apparatus for measuring tool offset of machine tool

Also Published As

Publication number Publication date
JPWO2012056520A1 (en) 2014-02-24
JP5543476B2 (en) 2014-07-09
WO2012056520A1 (en) 2012-05-03

Similar Documents

Publication Publication Date Title
US8805570B2 (en) Workpiece measuring device, collision preventing device, and machine tool
KR20130086356A (en) Tool collision prevention system and tool collision prevention method
US20130090755A1 (en) Numerically-controlled machine tool
EP1978427A2 (en) Method for displaying the shape of a surface
US20130071198A1 (en) Numerically-controlled machine tool
JP4727689B2 (en) Workpiece measuring device, collision prevention device and machine tool
JP6496338B2 (en) Machine tool control system
JP2008012539A5 (en)
US10585418B2 (en) Control system of machine tool
JP2014163807A (en) Tool shape measuring method and tool shape measuring device
EP0697639B1 (en) Inspection device and method for checking interference
EP2561958B1 (en) Shape measurement device for a workpiece in a machine tool
US20060007449A1 (en) Method for measuring a contour of a workpiece by scanning
JP6538345B2 (en) Work measuring device of machine tool
CN115335181A (en) Method and processing machine for determining the orientation of a workpiece by means of OCT
JP2010264570A5 (en)
CN106903429B (en) Control device
KR20090017748A (en) Method for scanning iron plates formed round in multi lasers vision system
JP6500560B2 (en) Optical sensor calibration method and three-dimensional coordinate measuring machine
JP2008032496A (en) Optical measuring device
JPH11166816A (en) Method for determining shape and dimension of subject for measurement
JP7219057B2 (en) Displacement measuring device
WO2020065854A1 (en) Workpiece position detecting method and machine tool
JP2014048044A (en) Material recognition system and its method
Florussen et al. Assessing the accuracy of five axis machines by comparing machine measurement data with test work piece deviations

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application