JP2009148854A - Interference confirmation device - Google Patents

Interference confirmation device Download PDF

Info

Publication number
JP2009148854A
JP2009148854A JP2007328857A JP2007328857A JP2009148854A JP 2009148854 A JP2009148854 A JP 2009148854A JP 2007328857 A JP2007328857 A JP 2007328857A JP 2007328857 A JP2007328857 A JP 2007328857A JP 2009148854 A JP2009148854 A JP 2009148854A
Authority
JP
Japan
Prior art keywords
contour shape
light emitting
moving
emitting point
moving body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007328857A
Other languages
Japanese (ja)
Other versions
JP5014972B2 (en
Inventor
Hidenori Taketomi
英紀 武富
Yoshizumi Akai
良純 赤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DMG Mori Co Ltd
Original Assignee
Mori Seiki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mori Seiki Co Ltd filed Critical Mori Seiki Co Ltd
Priority to JP2007328857A priority Critical patent/JP5014972B2/en
Publication of JP2009148854A publication Critical patent/JP2009148854A/en
Application granted granted Critical
Publication of JP5014972B2 publication Critical patent/JP5014972B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an interference confirmation device capable of preventing interference between a mobile object and a structure even in work using cutting oil and being constituted independently from a control device. <P>SOLUTION: This interference confirmation device 1 is provided in a machine tool 30 having the mobile object and the structure and is provided with: a light emitting body disposed in the mobile object; an image generator 11 performing a first image generation process for generating images of the mobile object and the structure and a second image generation process for generating an image within the moving range of the mobile object; a contour shape data setting process part 15 for setting contour shape data of the mobile object including the contour shape of the mobile object and a light emitting point of the light emitting body based on the image generated in the first image generation process, and contour shape data of the structure containing the contour shape and the position of the structure; and an interference confirmation process part 19 for confirming whether the mobile object and the structure are mutually interfered or not based on the contour shape data set by the contour shape data setting process part 15. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、移動体と、この移動体の移動領域内に配置された構造体とを備える工作機械において、前記移動体と構造体とが相互に干渉するか否かを確認する干渉確認装置に関する。   The present invention relates to an interference confirmation device for confirming whether or not the moving body and the structure interfere with each other in a machine tool including a moving body and a structure disposed in a moving region of the moving body. .

工作機械の分野では、従来から、例えば、刃物台に保持された工具と主軸のチャックに把持されたワークとの干渉、刃物台とワークとの干渉、工具とチャックとの干渉、刃物台とチャックとの干渉などを防止する各種の方法や装置が提案されており、このようなものの一つに、特開2006−102923号公報に開示された衝突防止方法がある。   Conventionally, in the field of machine tools, for example, interference between a tool held by a tool post and a work held by a chuck of a spindle, interference between a tool rest and a work, interference between a tool and a chuck, tool post and chuck Various methods and apparatuses have been proposed for preventing interference and the like, and one of such methods is a collision prevention method disclosed in Japanese Patent Laid-Open No. 2006-102923.

この衝突防止方法は、主軸と、主軸先端に装着され、ワークを把持するチャックと、所定の送り方向に移動自在に配設され、工具を保持する刃物台と、刃物台を前記送り方向に移動させる送り機構部と、送り機構部の作動を制御するNC装置などを備えた旋盤において、チャック,ワーク,刃物台及び工具を撮像カメラにより撮像して2次元画像を取得し、取得した2次元画像を基にチャック,ワーク,刃物台及び工具の形状や位置を認識して、これらチャック,ワーク,刃物台及び工具間の衝突を防止するというものである。   In this collision prevention method, a spindle, a chuck attached to the tip of the spindle and gripping a workpiece, a turret for holding a tool, a tool post for holding a tool, and a tool post moving in the feed direction are arranged. In a lathe equipped with a feed mechanism unit to be operated and an NC device for controlling the operation of the feed mechanism unit, a two-dimensional image is obtained by imaging a chuck, a workpiece, a tool post and a tool with an imaging camera. Is used to recognize the shape and position of the chuck, workpiece, tool post and tool, and to prevent collision between the chuck, workpiece, tool post and tool.

具体的には、撮像カメラにより取得した2次元画像からチャック,ワーク,刃物台及び工具の形状や位置関係を検出して、刃物台及び工具が、予め設定した、チャック及びワークの干渉領域内にあるかどうか、又はチャック及びワークが、予め設定した、刃物台及び工具の干渉領域内にあるかどうかを確認し、予め設定した干渉領域内にあった場合には送り機構部の作動を停止させる。   Specifically, the shape and positional relationship of the chuck, the workpiece, the tool post and the tool are detected from the two-dimensional image acquired by the imaging camera, and the tool post and the tool are within a preset interference area of the chuck and the workpiece. Check if there is, or whether the chuck and workpiece are within the preset interference area of the tool post and tool, and if it is within the preset interference area, stop the operation of the feed mechanism .

尚、このような衝突防止処理は、NC装置とは別体に設けられる衝突防止装置によって行われ、干渉領域内にあることが確認されると、アラーム信号が当該衝突防止装置からNC装置に送信される。或いは、撮像カメラにより取得した2次元画像がNC装置内に組み込まれた衝突防止装置に送信されて、NC装置内の衝突防止装置より行われる。   Such a collision prevention process is performed by a collision prevention apparatus provided separately from the NC apparatus. When it is confirmed that the collision prevention process is within the interference area, an alarm signal is transmitted from the collision prevention apparatus to the NC apparatus. Is done. Alternatively, the two-dimensional image acquired by the imaging camera is transmitted to the collision prevention apparatus incorporated in the NC apparatus, and is performed by the collision prevention apparatus in the NC apparatus.

特開2006−102923号公報JP 2006-102923 A

しかしながら、上記従来の衝突防止方法では、以下に説明するような問題点があった。即ち、加工の際には、切りくずの除去や冷却などを目的として切削液を工具とワークの接触部に供給することが多いが、このような場合には、撮像カメラにより取得した2次元画像に切削液が写り込んでチャック,ワーク,刃物台及び工具の形状や位置を正確に検出することができないため、前記衝突防止方法をそのまま適用することはできない。   However, the conventional collision prevention method has the following problems. That is, during machining, cutting fluid is often supplied to the contact portion between the tool and the workpiece for the purpose of chip removal and cooling. In such a case, a two-dimensional image acquired by an imaging camera is used. Since the cutting fluid is reflected on the surface and the shapes and positions of the chuck, workpiece, tool post and tool cannot be accurately detected, the collision prevention method cannot be applied as it is.

また、NC装置内に組み込まれた衝突防止装置に衝突防止処理を実行させると、この衝突防止処理がNC装置の演算能力に大きく左右され、高精度且つ高速に実施することが困難になるという問題や、撮像カメラにより取得した2次元画像をNC装置側に送信するためなどに当該NC装置に外部機器との間でデータの送受信を行う機能を付加しなければならず、NC装置が高価となり、工作機械のコストが上昇するという問題を生じる。尚、このような問題は、NC装置とは別体の衝突防止装置がNC装置から干渉確認用の情報(例えば位置情報など)を得て衝突防止処理を行う場合も同様に発生し、更に、この場合には、NC装置の製造メーカによってNC装置で扱われるデータの種類やデータ構成などが異なるために製造メーカ毎に衝突防止装置の仕様を変更しなければならず、衝突防止装置の開発期間や開発コストなどの面で負担が増大するという問題も生じる。   In addition, if the collision prevention process is executed by the collision prevention apparatus incorporated in the NC apparatus, the collision prevention process is greatly influenced by the calculation capability of the NC apparatus, and it is difficult to implement the collision prevention process with high accuracy and high speed. In addition, in order to transmit a two-dimensional image acquired by an imaging camera to the NC device side, a function for transmitting and receiving data to and from an external device must be added to the NC device, and the NC device becomes expensive. The problem is that the cost of the machine tool increases. Such a problem also occurs when a collision prevention device separate from the NC device obtains interference confirmation information (for example, position information) from the NC device and performs the collision prevention processing. In this case, since the type and data structure of data handled by the NC device differs depending on the manufacturer of the NC device, the specifications of the collision prevention device must be changed for each manufacturer, and the development period of the collision prevention device There is also a problem that the burden increases in terms of development costs.

本発明は、以上の実情に鑑みなされたものであって、切削液を用いた加工時においても精度良く移動体と構造体との間の干渉を防止することができ、しかも、制御装置から独立して構成することができる干渉確認装置の提供をその目的とする。   The present invention has been made in view of the above circumstances, and can accurately prevent interference between the moving body and the structure even during machining using a cutting fluid, and is independent of the control device. An object of the present invention is to provide an interference confirmation device that can be configured as described above.

上記目的を達成するための本発明は、
予め設定された方向に移動可能となった移動体と、前記移動体の移動領域内に配置された構造体と、前記移動体を移動させる駆動機構部と、前記駆動機構部の作動を制御する制御装置とを備えた工作機械に設けられ、前記移動体と構造体とが相互に干渉するか否かを確認する装置において、
前記移動体の移動領域内を撮像可能に前記工作機械に配置された少なくとも1つの撮像部を備える画像生成手段であって、前記撮像部により前記移動体及び構造体を撮像して2次元画像データを生成する第1画像生成部と、前記撮像部により前記移動体の移動領域内を一定時間間隔で撮像して2次元画像データを生成する第2画像生成部とを有する画像生成手段と、
前記移動体の、前記撮像部により撮像可能な部分に配設された少なくとも1つの発光体と、
前記第1画像生成部によって生成された2次元画像データから、前記移動体の輪郭形状及び前記発光体の発光点並びに前記構造体の輪郭形状を抽出するとともに前記構造体の位置を認識し、前記抽出した移動体の輪郭形状と発光体の発光点とを含む移動体の輪郭形状データと、前記抽出した構造体の輪郭形状と前記認識した構造体の位置とを含む構造体の輪郭形状データとを設定する輪郭形状データ設定手段と、
前記輪郭形状データ設定手段によって設定された前記移動体及び構造体の輪郭形状データを記憶する輪郭形状データ記憶手段と、
前記第2画像生成部によって生成された2次元画像データを記憶する画像データ記憶手段と、
前記画像データ記憶手段に格納された2次元画像データから前記発光体の発光点を抽出してその位置を認識した後、認識した発光点の位置と、前記輪郭形状データ記憶手段に格納された移動体及び構造体の輪郭形状データとを基に、前記移動体と構造体とが相互に干渉するか否かを確認して、干渉すると判断した場合にアラーム信号を前記制御装置に送信する干渉確認手段とを備えてなることを特徴とする干渉確認装置に係る。
To achieve the above object, the present invention provides:
A movable body that can move in a preset direction, a structure disposed in a movement area of the movable body, a drive mechanism unit that moves the movable body, and an operation of the drive mechanism unit are controlled. In a machine tool provided with a control device, and confirming whether the moving body and the structure interfere with each other,
Image generation means comprising at least one image pickup unit arranged on the machine tool so as to be able to pick up an image within a moving region of the moving body, wherein the image pickup unit picks up the moving body and the structure to obtain two-dimensional image data An image generation means including: a first image generation unit that generates a first image generation unit; and a second image generation unit that generates two-dimensional image data by capturing an image of the moving region of the moving body at a predetermined time interval by the imaging unit;
At least one light emitter disposed on a portion of the movable body that can be imaged by the imaging unit;
From the two-dimensional image data generated by the first image generation unit, the contour shape of the moving body, the light emitting point of the light emitter, and the contour shape of the structure are extracted and the position of the structure is recognized, Contour shape data of the moving body including the extracted contour shape of the moving body and the light emitting point of the light emitter, and the contour shape data of the structure including the contour shape of the extracted structure and the position of the recognized structure. Contour shape data setting means for setting,
Contour shape data storage means for storing contour shape data of the movable body and structure set by the contour shape data setting means;
Image data storage means for storing the two-dimensional image data generated by the second image generation unit;
After extracting the light emission point of the light emitter from the two-dimensional image data stored in the image data storage means and recognizing the position, the position of the recognized light emission point and the movement stored in the contour shape data storage means Checking whether the mobile body and the structure interfere with each other based on the contour shape data of the body and the structure, and transmitting an alarm signal to the control device when it is determined that they interfere with each other And an interference confirmation device.

この発明によれば、まず、画像生成手段の第1画像生成部によって、撮像部により移動体及び構造体が撮像されて2次元画像データが生成される。ついで、輪郭形状データ設定手段により、第1画像生成部によって生成された2次元画像データから、移動体の輪郭形状及び発光体の発光点並びに構造体の輪郭形状が抽出されるとともに構造体の位置が認識され、抽出された移動体の輪郭形状と発光体の発光点とを含む移動体の輪郭形状データと、抽出された構造体の輪郭形状と認識された構造体の位置とを含む構造体の輪郭形状データとが設定されて輪郭形状データ記憶手段に格納される。   According to this invention, first, the moving body and the structure are imaged by the imaging unit by the first image generation unit of the image generation unit, and two-dimensional image data is generated. Next, the contour shape data setting means extracts the contour shape of the moving object, the light emitting point of the light emitter, and the contour shape of the structure from the two-dimensional image data generated by the first image generation unit, and the position of the structure. A structure including the contour shape data of the moving body including the extracted contour shape of the moving body and the light emitting point of the light emitter, and the extracted contour shape of the structure and the recognized position of the structure The contour shape data is set and stored in the contour shape data storage means.

尚、移動体や構造体の輪郭形状を抽出する手法は、特に限定されるものではなく、例えば、生成された2次元画像データを所定のしきい値で2値化して移動体や構造体に相当する画像をそれぞれ抽出し、抽出した2値化画像を基に移動体や構造体の輪郭形状(輪郭線)を抽出する手法や、生成された2次元画像データから移動体や構造体のエッジを検出し、検出した各エッジを基に移動体や構造体の輪郭形状(輪郭線)を抽出する手法が挙げられる。また、発光体の発光点の抽出は、例えば、生成された2次元画像データから最も濃淡レベル値の低い部分(点)を抽出することで行うことができる。   The method for extracting the contour shape of the moving body or the structure is not particularly limited. For example, the generated two-dimensional image data is binarized with a predetermined threshold value to form the moving body or the structure. Extract the corresponding images, extract the contour shape (contour line) of the moving object or structure based on the extracted binary image, and the edge of the moving object or structure from the generated 2D image data And a contour shape (contour line) of a moving body or a structure is extracted based on each detected edge. Moreover, extraction of the light emission point of a light-emitting body can be performed by extracting the part (point) with the lowest lightness level value from the produced | generated two-dimensional image data, for example.

この後、制御装置により駆動機構部が制御されて移動体が発光体とともに所定方向に移動せしめられると、画像生成手段の第2画像生成部によって、撮像部により移動体の移動領域内が一定時間間隔で撮像されて2次元画像データが生成され、画像データ記憶手段に格納される。   Thereafter, when the driving mechanism is controlled by the control device and the moving body is moved together with the light emitter in a predetermined direction, the second image generating section of the image generating means causes the imaging section to move within the moving area of the moving body for a certain period of time. Two-dimensional image data is generated by imaging at intervals and stored in the image data storage means.

この後、干渉確認手段により、画像データ記憶手段に格納された2次元画像データから発光体の発光点が抽出されてその位置が認識された後、認識された発光点の位置と、輪郭形状データ記憶手段に格納された移動体及び構造体の輪郭形状データとを基に、移動体と構造体とが相互に干渉するか否かが確認される。   Then, after the light emission point of the light emitter is extracted from the two-dimensional image data stored in the image data storage means by the interference confirmation means and the position thereof is recognized, the position of the recognized light emission point and the contour shape data Whether the moving body and the structure interfere with each other is confirmed based on the moving body and the contour shape data of the structure stored in the storage means.

移動体及び構造体が干渉するか否かは、例えば、移動体の輪郭形状と構造体の輪郭形状との間で接触又は重なり合う部分が存在するか否かを基に判断したり、移動体の輪郭形状と構造体の輪郭形状との間の距離が所定の距離よりも接近しているか否かを基に判断する。接触又は重なり合う部分があった場合や、接近している場合には移動体と構造体が干渉すると判断される。尚、このとき、移動体の輪郭形状は、輪郭形状データに含まれる発光点を基準にして前記認識した発光点の位置に配置され、構造体の輪郭形状は、輪郭形状データに含まれる構造体の位置に配置される。   Whether the moving body and the structure interfere with each other is determined based on, for example, whether or not there is a contact or overlapping portion between the contour shape of the moving body and the contour shape of the structure. Judgment is made based on whether or not the distance between the contour shape and the contour shape of the structure is closer than a predetermined distance. When there is a contact or overlapping portion or when they are close to each other, it is determined that the moving body and the structure interfere with each other. At this time, the contour shape of the moving body is arranged at the position of the recognized light emitting point with reference to the light emitting point included in the contour shape data, and the contour shape of the structure is the structure included in the contour shape data. It is arranged at the position.

そして、干渉すると判断されると、アラーム信号が干渉確認手段から制御装置に送信され、送信されたアラーム信号が制御装置によって受信されると、当該制御装置により駆動機構部の作動が停止せしめられて移動体が停止する。尚、この干渉確認処理は、撮像部の撮像間隔と同じ周期で実行される。   When it is determined that interference occurs, an alarm signal is transmitted from the interference confirmation means to the control device, and when the transmitted alarm signal is received by the control device, the control device stops the operation of the drive mechanism. The moving body stops. This interference confirmation processing is executed at the same cycle as the imaging interval of the imaging unit.

このように、本発明に係る干渉確認装置によれば、画像生成手段によって生成された2次元画像データから移動体に設けた発光体の発光点の位置を認識して移動体の位置を特定しているので、切削液を用いて加工を行っている場合であっても移動体の位置を正確に検出し、高精度な干渉確認処理を実施することができる。   As described above, according to the interference confirmation apparatus of the present invention, the position of the moving body is specified by recognizing the position of the light emitting point of the light emitting body provided on the moving body from the two-dimensional image data generated by the image generating means. Therefore, even when machining is performed using the cutting fluid, the position of the moving body can be accurately detected, and highly accurate interference confirmation processing can be performed.

また、制御装置から干渉確認用の情報を一切得ることなく干渉確認処理を行っているので、当該干渉確認装置を制御装置から分離,独立した構成とすることができ、制御装置の演算能力に左右されることなく、高精度且つ高速に干渉確認処理を実施することができる。また、制御装置を少なくともアラーム信号のみ入力可能に構成すれば良く、制御装置と当該干渉確認装置との間で各種データの送受信を行う必要がないので、制御装置を安価にして工作機械のコストを抑えることができる。また、更に、制御装置の製造メーカに合わせて当該干渉確認装置の仕様を変更するのを不要にし、どの製造メーカが製造した制御装置にも同じ干渉確認装置を適用することができるので、当該干渉確認装置の開発期間や開発コストなどの面で負担を低減することができる。   Further, since the interference confirmation processing is performed without obtaining any interference confirmation information from the control device, the interference confirmation device can be separated from the control device and can be configured independently. Therefore, the interference confirmation process can be performed with high accuracy and at high speed. Further, it is sufficient to configure the control device so that at least only an alarm signal can be input, and it is not necessary to transmit and receive various data between the control device and the interference confirmation device. Can be suppressed. Furthermore, it is not necessary to change the specifications of the interference confirmation device according to the manufacturer of the control device, and the same interference confirmation device can be applied to the control device manufactured by any manufacturer. The burden can be reduced in terms of the development period and development cost of the confirmation device.

尚、前記移動体が所定の回転中心軸回りに回転するような場合、1つの発光体では移動体の回転角度位置を特定することができないが、複数(例えば、2つや3つ)の発光体を設ければ、各発光体の発光点の位置関係から、回転角度位置を含めた移動体の位置を特定することが可能となる。したがって、姿勢を変えるような移動体であっても効果的に干渉確認を行うことができる。このとき、発光体は、例えば、間隔を変えて一列に設けたり、三角形の頂部となる位置に設けることができる。また、発光体の発光色は必ずしも同じである必要はなく、発光色を変えて少なくとも2つ発光体を設けるようにしても同様の効果を得ることができる。また、発光色が同じで光強度(明暗)が異なるものを少なくとも2つ設けるようにしても良い。また、移動体の輪郭形状は、輪郭形状データに含まれる各発光点と認識した各発光点の位置とがそれぞれ対応するように配置される。   When the movable body rotates around a predetermined rotation center axis, the rotational angle position of the movable body cannot be specified with one light emitter, but a plurality of (for example, two or three) light emitters. If it is provided, the position of the moving body including the rotational angle position can be specified from the positional relationship of the light emitting points of the respective light emitting bodies. Therefore, even a mobile body that changes its posture can effectively perform interference confirmation. At this time, the light emitters can be provided, for example, in a line at different intervals or at a position that becomes the top of a triangle. Further, the emission colors of the light emitters are not necessarily the same, and the same effect can be obtained even if at least two light emitters are provided by changing the light emission colors. Further, at least two of the same emission color and different light intensity (brightness and darkness) may be provided. Further, the contour shape of the moving body is arranged so that each light emitting point included in the contour shape data corresponds to the position of each recognized light emitting point.

また、前記干渉確認手段は、前記画像データ記憶手段に格納された2次元画像データであって最新のもの及びこの一定時間前のものから前記発光体の発光点をそれぞれ抽出してこれらの位置を認識する第1処理部と、前記第1処理部により認識された発光点の現在及び一定時間前の位置と、前記撮像部の撮像間隔とを基にこの発光点の移動方向及び移動速度を算出する第2処理部と、前記第1処理部により認識された発光点の現在位置、並びに前記第2処理部により算出された発光点の移動方向及び移動速度を基に、予め設定された時間経過後における前記発光点の位置を推定する第3処理部と、前記第3処理部により推定された発光点の位置と、前記第1処理部により認識された発光点の現在位置と、前記輪郭形状データ記憶手段に格納された移動体及び構造体の輪郭形状データとを基に、前記発光点が前記現在位置から推定位置に移動するように前記移動体の輪郭形状を移動させて前記移動体及び構造体が干渉するか否かを確認する第4処理部とから構成されていても良い。   Further, the interference confirmation means extracts the light emission points of the light emitters from the latest two-dimensional image data stored in the image data storage means and those before a certain time, and determines their positions. The moving direction and moving speed of the light emitting point are calculated based on the first processing unit to be recognized, the current and predetermined positions of the light emitting point recognized by the first processing unit, and the imaging interval of the imaging unit. A predetermined time elapse based on the second processing unit, the current position of the light emitting point recognized by the first processing unit, and the moving direction and moving speed of the light emitting point calculated by the second processing unit. A third processing unit for estimating a position of the light emitting point later, a position of the light emitting point estimated by the third processing unit, a current position of the light emitting point recognized by the first processing unit, and the contour shape Stored in data storage means Whether the moving body and the structure interfere with each other by moving the contour of the moving body so that the light emitting point moves from the current position to the estimated position based on the contour shape data of the moving body and the structure You may comprise from the 4th process part which confirms whether or not.

このようにすれば、まず、第1処理部によって、画像データ記憶手段に格納された2次元画像データであって最新のもの及びこの一定時間前のものから発光体の発光点がそれぞれ抽出されてこれらの位置が認識され、ついで、第2処理部によって、第1処理部により認識された発光点の現在及び一定時間前の位置と、撮像部の撮像間隔とを基に発光点の移動方向及び移動速度が算出され、次に、第3処理部によって、第1処理部により認識された発光点の現在位置、並びに第2処理部により算出された発光点の移動方向及び移動速度を基に、予め設定された時間経過後における発光点の位置が推定される。   In this way, first, the first processing unit extracts the light emitting points of the illuminant from the latest two-dimensional image data stored in the image data storage means and the one before this fixed time. These positions are recognized, and then, by the second processing unit, the moving direction of the light emitting point and the current position of the light emitting point recognized by the first processing unit and the position before the predetermined time, and the imaging interval of the imaging unit, and The moving speed is calculated, and then, based on the current position of the light emitting point recognized by the first processing unit and the moving direction and moving speed of the light emitting point calculated by the second processing unit by the third processing unit, The position of the light emitting point after the preset time has elapsed is estimated.

発光点の位置を推定するに当たっては、例えば、算出した移動方向に算出した移動速度で移動した場合の位置を推定するようにしても、算出した移動速度から加速又は減速しつつ算出した移動方向に移動した場合の位置を推定するようにしても良い。また、予め設定された時間経過後における発光点の位置に代え、制御装置が直ちに移動体の停止処理を行って移動体が停止したときの発光点の位置よりも発光点移動方向において現在位置から離れた位置を移動体の停止までに発光点が到達する位置として推定するようにしても良い。尚、このような到達位置は、例えば、制御装置が直ちに移動体の停止処理を行って移動体が停止したときの発光点の位置に一定値を付加したり、制御装置が直ちに移動体の停止処理を行って移動体が停止したときの発光点の位置と現在位置との差に1より大きい一定値を乗じて得られた値を現在位置に付加することで設定することができる。   In estimating the position of the light emitting point, for example, even when estimating the position when moving at the calculated moving speed in the calculated moving direction, the calculated moving direction is accelerated or decelerated from the calculated moving direction. You may make it estimate the position at the time of moving. In addition, instead of the position of the light emitting point after the preset time has elapsed, the control device immediately stops the moving body, and from the current position in the light emitting point moving direction rather than the position of the light emitting point when the moving body stops. The distant position may be estimated as the position where the light emitting point reaches before the moving body stops. Note that such a reaching position is obtained by, for example, adding a fixed value to the position of the light emission point when the control device immediately stops the moving body and the moving body stops, or the control device immediately stops the moving body. It can be set by adding a value obtained by multiplying a constant value larger than 1 to the difference between the position of the light emitting point and the current position when the moving body is stopped after processing.

この後、第4処理部によって、第3処理部により推定された発光点の位置と、第1処理部により認識された発光点の現在位置と、輪郭形状データ記憶手段に格納された移動体及び構造体の輪郭形状データとを基に、発光点が現在位置から推定位置に移動するように移動体の輪郭形状を移動させて移動体及び構造体が干渉するか否かが確認される。   Thereafter, the position of the light emitting point estimated by the third processing unit, the current position of the light emitting point recognized by the first processing unit, the moving body stored in the contour shape data storage means, and the fourth processing unit. Based on the contour shape data of the structure, it is confirmed whether or not the moving body and the structure interfere with each other by moving the contour shape of the moving body so that the light emission point moves from the current position to the estimated position.

移動体と構造体とが干渉するか否かは、例えば、発光点が現在位置にあるときと推定位置にあるときの移動体の輪郭形状を結んで形成される領域と構造体の輪郭形状との間で接触又は重なり合う部分が存在するか否かを基に判断したり、発光点が現在位置から推定位置まで移動するように移動体の輪郭形状を段階的に移動させ、その各段階において、移動体の輪郭形状と構造体の輪郭形状との間で接触又は重なり合う部分が存在するか否かを基に判断する。接触又は重なり合う部分があった場合には移動体と構造体が干渉すると判断される。   Whether the moving body and the structure interfere with each other is determined by, for example, the region formed by connecting the contour shape of the moving body when the light emitting point is at the current position and the estimated position, and the contour shape of the structure body. Judgment based on whether there is a contact or overlapping portion between, or move the contour shape of the moving body step by step so that the light emitting point moves from the current position to the estimated position, The determination is made based on whether or not there is a contact or overlapping portion between the contour shape of the moving body and the contour shape of the structure. When there is a contact or overlapping portion, it is determined that the moving body and the structure interfere with each other.

このように、発光点の移動速度などを基に設定した推定位置と移動体及び構造体の輪郭形状データとを用いて干渉確認処理を行えば、干渉領域が移動体(発光点)の移動速度に関係なく一律に設定され、移動体が高速で移動しているときでも干渉を防止すべく干渉領域を広くする必要のあった従来に比べ、移動体を構造体の近傍領域で移動させても干渉の恐れがあると判定され難くなり、作業性を向上させることができる。   As described above, when the interference confirmation process is performed using the estimated position set based on the moving speed of the light emitting point and the contour shape data of the moving body and the structure, the interference area moves to the moving speed of the moving body (light emitting point). Even if the moving body is moved at a high speed, the moving body can be moved in the vicinity of the structure compared to the conventional case where the interference area needs to be widened to prevent interference even when the moving body is moving at high speed. It becomes difficult to determine that there is a possibility of interference, and workability can be improved.

また、前記干渉確認手段の第3処理部は、前記到達位置を推定するに当たり、前記発光点を前記現在位置及び移動速度から前記移動方向に前記移動体の最大加速度で加速させつつ移動させたときに前記撮像部の撮像間隔だけ時間が経過した後の移動速度及び移動位置を算出した後、前記発光点を前記算出した移動速度及び移動位置から前記移動方向に前記移動体の最大加速度で減速させつつ移動させたときに前記発光点が停止する位置を算出し、前記到達位置を推定するように構成されていても良い。   Further, when estimating the arrival position, the third processing unit of the interference confirmation unit moves the light emitting point from the current position and moving speed in the moving direction while accelerating at the maximum acceleration of the moving body. After calculating the moving speed and the moving position after the imaging interval of the imaging unit has elapsed, the light emitting point is decelerated from the calculated moving speed and moving position in the moving direction with the maximum acceleration of the moving body. However, it may be configured to calculate a position where the light emitting point stops when moved while moving and to estimate the arrival position.

このようにすれば、移動体(発光点)の現在移動速度及び加速時の最大加速度を考慮して移動体が停止したときの発光点の到達位置を推定しており、移動体が最大加速度で加速中であったとしても確実に構造体との干渉を防止することができる。   In this way, the arrival position of the light emitting point when the moving body stops is estimated in consideration of the current moving speed of the moving body (light emitting point) and the maximum acceleration at the time of acceleration. Even if the vehicle is accelerating, interference with the structure can be reliably prevented.

尚、前記移動体及び構造体としては、例えば、工作機械が旋盤である場合には、ベッド、ベッド上に配設された主軸台、主軸台によって回転自在に支持された主軸、主軸に取り付けられ、ワークを把持するチャック、ワーク、ベッド上に移動可能に配設されたサドル、サドル上に配設され、工具を保持する刃物台、工具、ベッド上に移動可能に配設された心押台、心押台に保持された心押軸などが該当し、工作機械がマシニングセンタである場合には、ベッド、ベッド上に配設されたコラム、コラムに移動可能に支持された主軸頭、主軸頭によって回転自在に支持され、工具を保持する主軸、工具、ベッド上に移動可能に配設され、ワークを保持するテーブル、ワークなどが該当する。また、更に、工作機械には、一般的に、切りくずや切削液などの侵入を防止すべく、カバー体が適宜設けられるため、このようなカバー体を含めるようにしても良い。   As the moving body and the structure, for example, when the machine tool is a lathe, it is attached to a bed, a spindle head disposed on the bed, a spindle rotatably supported by the spindle table, and the spindle. , Chucks for gripping workpieces, workpieces, saddles movably arranged on the bed, tool post holding tools on the saddle, tools, tailstock movably arranged on the bed For example, if the machine tool is a machining center, a bed, a column arranged on the bed, a spindle head supported movably on the column, a spindle head A spindle, a tool, a table for holding a work, a work holding the work, and the like are supported. Furthermore, since a machine tool is generally provided with a cover body in order to prevent intrusion of chips, cutting fluid, etc., such a cover body may be included.

また、前記発光体としては、例えば、発光ダイオードやレーザ発振器などを挙げることができる。   Examples of the light emitter include a light emitting diode and a laser oscillator.

以上のように、本発明に係る干渉確認装置によれば、切削液を用いた加工時においても精度良く移動体と構造体との間の干渉を防止することができ、しかも、制御装置から独立して構成することができる。   As described above, according to the interference confirmation device according to the present invention, it is possible to prevent interference between the moving body and the structure with high accuracy even during machining using the cutting fluid, and it is independent of the control device. Can be configured.

以下、本発明の具体的な実施形態について、添付図面に基づき説明する。尚、図1は、本発明の一実施形態に係る干渉確認装置などの概略構成を示したブロック図であり、図2は、本実施形態に係る干渉確認装置が設けられるNC旋盤を示した正面図であり、図3は、図2における矢示A−A方向の断面図である。   Hereinafter, specific embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing a schematic configuration of an interference confirmation apparatus according to an embodiment of the present invention, and FIG. 2 is a front view showing an NC lathe provided with the interference confirmation apparatus according to this embodiment. FIG. 3 is a cross-sectional view in the direction of arrow AA in FIG.

図1に示すように、本例の干渉確認装置1は、画像生成装置11,第1画像データ記憶部12,第2画像データ記憶部13,工具データ記憶部14,輪郭形状データ設定処理部15,輪郭形状データ記憶部16,画像合成処理部17,合成画像データ記憶部18,干渉確認処理部19,表示制御部20及び発光体21などから構成され、例えば、図2及び図3に示したNC旋盤30に設けられる。   As shown in FIG. 1, the interference confirmation device 1 of this example includes an image generation device 11, a first image data storage unit 12, a second image data storage unit 13, a tool data storage unit 14, and a contour shape data setting processing unit 15. , An outline shape data storage unit 16, an image composition processing unit 17, a composite image data storage unit 18, an interference confirmation processing unit 19, a display control unit 20, a light emitter 21, and the like, for example, as shown in FIGS. An NC lathe 30 is provided.

まず、前記NC旋盤30について説明する。このNC旋盤30は、図1乃至図3に示すように、ベッド31と、ベッド31上に配設された主軸台(図示せず)と、水平な軸線中心に(Z軸回りに)回転自在に主軸台(図示せず)によって支持された主軸32と、主軸32に取り付けられたチャック33と、Z軸方向に移動可能にベッド31上に配設されたサドル34と、Z軸と水平面内で直交するX軸方向に移動可能にサドル34上に配設された刃物台35と、サドル34をZ軸方向に移動させる第1送り機構部36と、刃物台35をX軸方向に移動させる第2送り機構部37と、主軸32を軸線中心に回転させる主軸モータ38と、各送り機構部36,37及び主軸モータ38の作動を制御する制御装置39と、制御装置39に接続した操作盤43と、切削液を供給する切削液供給装置47などを備える。尚、NC旋盤30には、カバー体46に囲まれた、加工の行われる加工領域Kが形成されており、主軸32の先端部,チャック33,サドル34及び刃物台35がこの加工領域K内に配置されている。   First, the NC lathe 30 will be described. As shown in FIGS. 1 to 3, the NC lathe 30 is rotatable about a bed 31, a headstock (not shown) disposed on the bed 31, and a horizontal axis (around the Z axis). A spindle 32 supported by a spindle head (not shown), a chuck 33 attached to the spindle 32, a saddle 34 disposed on the bed 31 so as to be movable in the Z-axis direction, and the Z-axis and the horizontal plane The tool rest 35 disposed on the saddle 34 so as to be movable in the orthogonal X-axis direction, the first feed mechanism 36 that moves the saddle 34 in the Z-axis direction, and the tool rest 35 is moved in the X-axis direction. A second feed mechanism 37, a spindle motor 38 that rotates the spindle 32 about its axis, a control device 39 that controls the operation of each feed mechanism 36, 37 and the spindle motor 38, and an operation panel connected to the control device 39 43 and cutting fluid supply device for supplying cutting fluid 47 comprises a like. The NC lathe 30 is formed with a machining area K, which is surrounded by a cover body 46, and the tip of the spindle 32, the chuck 33, the saddle 34, and the tool post 35 are within the machining area K. Is arranged.

前記チャック33は、チャック本体33aと、ワークWを把持する複数の把持爪33bとからなる。前記刃物台35は、サドル34上に設けられる刃物台本体35aと、刃物台本体35aによって所定の割出角度位置に割出可能に支持され、外周面に工具Tを保持する多角柱状のタレット35bとを備えており、工具Tは、バイトなどの旋削工具であって、工具本体Taと、ワークWを加工するための刃部(チップ)Tbとから構成される。前記操作盤43は、制御装置39に対して各種信号を入力するための入力装置44と、制御装置39による制御状態などを画面表示するための画面表示装置45などからなる。   The chuck 33 includes a chuck main body 33a and a plurality of gripping claws 33b for gripping the workpiece W. The turret 35 is supported by a turret body 35a provided on the saddle 34 so as to be indexable at a predetermined index angle position by the turret body 35a, and a polygonal columnar turret 35b that holds the tool T on the outer peripheral surface. The tool T is a turning tool such as a cutting tool, and includes a tool body Ta and a blade portion (chip) Tb for processing the workpiece W. The operation panel 43 includes an input device 44 for inputting various signals to the control device 39, a screen display device 45 for displaying a control state by the control device 39, and the like.

前記制御装置39は、プログラム記憶部40,プログラム解析部41,駆動制御部42などからなり、切削液供給装置47により切削液をワークWと工具Tの接触部に供給しながら加工を行う。前記プログラム記憶部40には、予め作成された加工プログラムが格納される。前記プログラム解析部41は、プログラム記憶部40に格納された加工プログラムを解析して、刃物台35の移動位置や送り速度、主軸モータ38の回転速度などに関する動作指令を抽出する。   The control device 39 includes a program storage unit 40, a program analysis unit 41, a drive control unit 42, and the like, and performs machining while supplying a cutting fluid to a contact portion between the workpiece W and the tool T by a cutting fluid supply device 47. The program storage unit 40 stores a machining program created in advance. The program analysis unit 41 analyzes the machining program stored in the program storage unit 40 and extracts operation commands relating to the movement position and feed speed of the tool rest 35, the rotation speed of the spindle motor 38, and the like.

前記駆動制御部42は、プログラム解析部41によって抽出された動作指令や、オペレータによって入力装置44から入力された操作信号を基に、刃物台35の移動や主軸32の回転、タレット35bの割出角度位置、切削液供給装置47の作動などを制御する。また、駆動制御部42は、干渉確認処理部19から送信されたアラーム信号を受信すると、各送り機構部36,37、主軸モータ38及び切削液供給装置47の作動を停止させる。   The drive control unit 42 moves the tool rest 35, rotates the spindle 32, and indexes the turret 35b based on the operation command extracted by the program analysis unit 41 and the operation signal input from the input device 44 by the operator. The angular position and the operation of the cutting fluid supply device 47 are controlled. Further, when receiving the alarm signal transmitted from the interference confirmation processing unit 19, the drive control unit 42 stops the operations of the feed mechanism units 36 and 37, the spindle motor 38, and the cutting fluid supply device 47.

次に、前記干渉確認装置1について説明する。上述したように、この干渉確認装置1は、画像生成装置11,第1画像データ記憶部12,第2画像データ記憶部13,工具データ記憶部14,輪郭形状データ設定処理部15,輪郭形状データ記憶部16,画像合成処理部17,合成画像データ記憶部18,干渉確認処理部19,表示制御部20及び発光体21などを備える。尚、本例では、主軸32の先端部,チャック33及びワークWからなる構造体(以下、「静止構造体」という)と、刃物台35及び工具Tからなる構造体(以下、「移動構造体」という)とが相互に干渉するか否かを確認するものとして説明する。   Next, the interference confirmation apparatus 1 will be described. As described above, the interference confirmation device 1 includes the image generation device 11, the first image data storage unit 12, the second image data storage unit 13, the tool data storage unit 14, the contour shape data setting processing unit 15, the contour shape data. A storage unit 16, an image composition processing unit 17, a composite image data storage unit 18, an interference confirmation processing unit 19, a display control unit 20, a light emitter 21, and the like are provided. In this example, a structure composed of the tip of the main shaft 32, the chuck 33 and the workpiece W (hereinafter referred to as “stationary structure”), and a structure composed of the tool post 35 and the tool T (hereinafter referred to as “moving structure”). “)” Is confirmed as to confirm whether or not they interfere with each other.

前記発光体21は、例えば、発光ダイオードやレーザ発振器などから構成され、前記刃物台35のタレット35bの外周面に取り付けられる。尚、このタレット35bの外周面には、特に図示しないが、複数の発光体21が周方向等間隔で設けられており、図2及び図3に示すように、タレット35bの上部に位置する発光体21のみが点灯するようになっている。この発光体21の点灯制御は、タレット35bの割出角度位置に係る信号を当該干渉確認装置1が制御装置39から受信して割出角度位置に対応した発光体21を点灯させても、制御装置39側でタレット35bの割出角度位置に対応した発光体21を点灯させても良い。また、発光体21の発光色は、後述するCCDカメラ11a…11oによって撮像可能であれば、特に限定されるものではない。   The light emitter 21 is composed of, for example, a light emitting diode or a laser oscillator, and is attached to the outer peripheral surface of the turret 35 b of the tool rest 35. Although not shown in the drawing, a plurality of light emitters 21 are provided at equal intervals in the circumferential direction on the outer peripheral surface of the turret 35b. As shown in FIGS. 2 and 3, the light emission located above the turret 35b. Only the body 21 is lit. The lighting control of the light emitter 21 is controlled even when the interference confirmation device 1 receives a signal related to the index angle position of the turret 35b from the control device 39 and lights the light emitter 21 corresponding to the index angle position. The light emitter 21 corresponding to the index angle position of the turret 35b may be turned on on the device 39 side. Further, the color of light emitted from the light emitter 21 is not particularly limited as long as it can be imaged by CCD cameras 11a.

前記画像生成装置11は、加工領域Kの上方のカバー体46に配設された複数のCCDカメラ(第1CCDカメラ11a,第2CCDカメラ11b…第15CCDカメラ11o)を備え、これらのCCDカメラ11a…11oによって、主軸32の先端部,チャック33及びワークW並びに刃物台35及び工具Tを撮像して2次元画像データを生成し、生成した2次元画像データを前記第1画像データ記憶部12に格納する第1画像生成処理(特許請求の範囲に言う第1画像生成部に対応した処理)と、加工領域K内を一定時間間隔(例えば、1ミリ秒)で撮像して2次元画像データを生成し、生成した2次元画像データを前記第2画像データ記憶部13に格納する第2画像生成処理(特許請求の範囲に言う第2画像生成部に対応した処理)とを行う。尚、第1画像生成処理は加工開始前に行われ、第2画像生成処理は加工中に行われる。   The image generation device 11 includes a plurality of CCD cameras (first CCD camera 11a, second CCD camera 11b,..., Fifteenth CCD camera 11o) disposed on the cover body 46 above the processing area K. These CCD cameras 11a,. 11o, the tip of the spindle 32, the chuck 33 and the workpiece W, the tool post 35 and the tool T are imaged to generate two-dimensional image data, and the generated two-dimensional image data is stored in the first image data storage unit 12. First image generation processing (processing corresponding to the first image generation unit described in the claims) and processing area K is imaged at a constant time interval (for example, 1 millisecond) to generate two-dimensional image data And a second image generation process for storing the generated two-dimensional image data in the second image data storage unit 13 (a process corresponding to the second image generation unit in the claims). It is carried out. The first image generation process is performed before the start of processing, and the second image generation process is performed during the processing.

前記各CCDカメラ11a…11oは、これらの光軸が互いに平行且つX軸及びZ軸の双方と直交するように下向きに設けられて前記加工領域K内(刃物台35の移動領域内)をそれぞれ異なる視点から撮像する。また、各CCDカメラ11a…11oは、X軸方向及びZ軸方向に列設されて格子状に配置されており、加工領域Kを各CCDカメラ11a…11oと同じ数(本例では15個)の領域に分割して得られる1つの領域を1つのカメラがそれぞれ撮像するように構成されている(図6参照)。   Each of the CCD cameras 11a... 11o is provided downward so that these optical axes are parallel to each other and perpendicular to both the X axis and the Z axis, and each inside the processing area K (in the movement area of the tool rest 35). Image from different viewpoints. The CCD cameras 11a... 11o are arranged in a grid in the X-axis direction and the Z-axis direction, and the number of processing regions K is the same as each CCD camera 11a... 11o (15 in this example). Each of the areas obtained by dividing the area is configured so that one camera captures each area (see FIG. 6).

また、各CCDカメラ11a…11oは、多行多列の2次元に配置された複数の光電変換素子を備え、受光強度に応じて各光電変換素子から出力される電圧信号をデジタル化した後、これを濃淡レベル値に変換して、前記光電変換素子の配列と同配列の2次元濃淡画像データとして出力する。そして、前記第1画像データ記憶部12又は第2画像データ記憶部13には、このようにして出力された2次元濃淡画像データ(2次元画像データ)がそれぞれ格納される。   Each of the CCD cameras 11a ... 11o includes a plurality of photoelectric conversion elements arranged two-dimensionally in multiple rows and columns, and digitizes voltage signals output from the photoelectric conversion elements in accordance with received light intensity. This is converted into a gray level value and output as two-dimensional gray image data having the same arrangement as that of the photoelectric conversion elements. The first image data storage unit 12 or the second image data storage unit 13 stores the two-dimensional grayscale image data (two-dimensional image data) output in this way.

前記第1画像生成処理では、例えば、第3CCDカメラ11c及び第6CCDカメラ11fにより、チャック33にワークWが把持されている状態で主軸32の先端部,チャック33及びワークWを撮像してこれらの2次元画像データを生成するとともに、第3CCDカメラ11cにより、チャック33にワークWが把持されていない状態で主軸32の先端部及びチャック33を撮像してこれらの2次元画像データを生成する。また、例えば、第10CCDカメラ11j,第11CCDカメラ11k,第12CCDカメラ11l,第13CCDカメラ11m及び第14CCDカメラ11nにより、刃物台35に工具Tが保持されている状態で刃物台35及び工具Tを撮像してこれらの2次元画像データを生成するとともに、第10CCDカメラ11j,第11CCDカメラ11k,第13CCDカメラ11m及び第14CCDカメラ11nにより、刃物台35に工具Tが保持されていない状態で刃物台35を撮像してその2次元画像データを生成する。   In the first image generation process, for example, the tip of the spindle 32, the chuck 33, and the workpiece W are imaged by the third CCD camera 11c and the sixth CCD camera 11f while the workpiece W is held by the chuck 33. In addition to generating two-dimensional image data, the third CCD camera 11c captures the tip of the spindle 32 and the chuck 33 in a state where the workpiece W is not gripped by the chuck 33, and generates these two-dimensional image data. Further, for example, the tool post 35 and the tool T are held in a state where the tool T is held on the tool post 35 by the tenth CCD camera 11j, the eleventh CCD camera 11k, the twelfth CCD camera 11l, the thirteenth CCD camera 11m, and the fourteenth CCD camera 11n. These two-dimensional image data are generated by imaging, and the tool post in a state where the tool T is not held on the tool post 35 by the tenth CCD camera 11j, the eleventh CCD camera 11k, the thirteenth CCD camera 11m, and the fourteenth CCD camera 11n. 35 is imaged and its two-dimensional image data is generated.

尚、第3CCDカメラ11cでは、主軸32の先端部,チャック33及びワークWの一部、或いは主軸32の先端部及びチャック33が撮像され、第6CCDカメラ11fでは、ワークWの一部が撮像される(図6参照)。また、第10CCDカメラ11j,第13CCDカメラ11m及び第14CCDカメラ11nでは、刃物台35の一部が撮像され、第11CCDカメラ11kでは、刃物台35の一部及び工具Tの一部、或いは刃物台35の一部が撮像され、第12CCDカメラ11lでは、工具Tの一部が撮像される(図6参照)。   In the third CCD camera 11c, the tip of the spindle 32, the chuck 33 and a part of the workpiece W, or the tip of the spindle 32 and the chuck 33 are imaged, and in the sixth CCD camera 11f, a part of the workpiece W is imaged. (See FIG. 6). The tenth CCD camera 11j, the thirteenth CCD camera 11m, and the fourteenth CCD camera 11n pick up images of a part of the tool rest 35, and the eleventh CCD camera 11k takes a part of the tool rest 35 and a part of the tool T, or the tool rest. A part of 35 is imaged, and a part of the tool T is imaged by the twelfth CCD camera 11l (see FIG. 6).

一方、前記第2画像生成処理では、すべてのCCDカメラ11a…11oにより加工領域K内を撮像してその2次元画像データを生成する(図6参照)。   On the other hand, in the second image generation processing, all the CCD cameras 11a... 11o image the inside of the processing area K and generate the two-dimensional image data (see FIG. 6).

前記工具データ記憶部14には、前記刃物台35に保持される可能性のある複数の工具Tについて、その工具輪郭形状と、この工具輪郭形状の内、どこが刃部(チップ)Tbに対応している部分であるかを示す刃部データとが関連付けられて格納される。   In the tool data storage unit 14, the tool contour shape of a plurality of tools T that may be held on the tool post 35, and the tool contour shape corresponds to the blade portion (chip) Tb. Blade portion data indicating whether the portion is a portion that is present is stored in association with each other.

前記輪郭形状データ設定処理部15は、画像生成装置11の第1画像生成処理により第1画像データ記憶部12に格納された2次元画像データを基に、静止構造体及び移動構造体の輪郭形状データをそれぞれ設定する。   The contour shape data setting processing unit 15 is based on the two-dimensional image data stored in the first image data storage unit 12 by the first image generation processing of the image generation device 11, and the contour shape of the stationary structure and the moving structure. Set each data.

静止構造体の輪郭形状データについては、まず、第1画像データ記憶部12に格納された、チャック33にワークWが把持されている状態における主軸32の先端部,チャック33及びワークWの2次元画像データを合成して1つの2次元画像データとした後、この合成された2次元画像データから静止構造体の輪郭形状を抽出する(図4(a)参照)とともに、第1画像データ記憶部12に格納された、チャック33にワークWが把持されていない状態における主軸32の先端部及びチャック33の2次元画像データから、主軸32の先端部及びチャック33からなる構造体の輪郭形状を抽出する(図4(b)参照)。また、合わせて静止構造体の位置を認識する。   Regarding the contour shape data of the stationary structure, first, the tip of the spindle 32, the chuck 33 and the workpiece W are two-dimensionally stored in the first image data storage unit 12 when the workpiece W is gripped by the chuck 33. After combining the image data into one two-dimensional image data, the contour shape of the stationary structure is extracted from the combined two-dimensional image data (see FIG. 4A), and the first image data storage unit 12, the contour shape of the structure composed of the tip end portion of the spindle 32 and the chuck 33 is extracted from the tip end portion of the spindle 32 and the two-dimensional image data of the chuck 33 when the workpiece W is not gripped by the chuck 33. (See FIG. 4B). In addition, the position of the stationary structure is recognized.

尚、静止構造体の輪郭形状を抽出する手法は、特に限定されるものではなく、例えば、合成された2次元画像データを所定のしきい値で2値化して静止構造体に相当する画像を抽出し、抽出した2値化画像を基に静止構造体の輪郭形状(輪郭線)を抽出する手法や、合成された2次元画像データから静止構造体のエッジを検出し、検出した各エッジを基に静止構造体の輪郭形状(輪郭線)を抽出する手法が挙げられる。また、静止構造体の位置は、例えば、当該静止構造体の輪郭形状の基準点Pの座標値(例えばピクセル値))を認識した後、この静止構造体がどのCCDカメラ11a…11oによって撮像されたかを参照して、認識した基準点Pの座標値をすべてのCCDカメラ11a…11oからの2次元画像データを合成して得られる2次元合成画像データに対応した座標値に変換することで、加工領域K内における静止構造体の位置を認識することができる。   The method for extracting the contour shape of the stationary structure is not particularly limited. For example, the synthesized two-dimensional image data is binarized with a predetermined threshold value, and an image corresponding to the stationary structure is obtained. Extracting and extracting the contour shape (contour line) of the stationary structure based on the extracted binarized image, or detecting the edge of the stationary structure from the synthesized two-dimensional image data, and detecting each detected edge A method for extracting the contour shape (contour line) of the stationary structure based on the above is mentioned. Further, the position of the stationary structure is, for example, recognized by the CCD camera 11a... 11o of the stationary structure after recognizing the coordinate value (for example, pixel value) of the reference point P of the contour shape of the stationary structure. By converting the coordinate value of the recognized reference point P into a coordinate value corresponding to the two-dimensional synthesized image data obtained by synthesizing the two-dimensional image data from all the CCD cameras 11a. The position of the stationary structure in the processing region K can be recognized.

この後、抽出した2つの輪郭形状を比較して、例えば、これらの差分を求め、ワークWに相当する輪郭形状を認識した後(図4(c)参照)、認識したワークWの輪郭形状と、抽出した静止構造体の輪郭形状と、認識した静止構造体の位置とを基に、当該静止構造体の輪郭形状及び位置と、この輪郭形状の内、どの部分がワークWの輪郭形状に対応しているかを示すデータとを含む輪郭形状データを設定し(図4(d)参照)、設定した輪郭形状データを前記輪郭形状データ記憶部16に格納する。尚、図4(d)では、ワークWの輪郭形状が太線で示されている。   Thereafter, the extracted two contour shapes are compared, for example, a difference between them is obtained, and after the contour shape corresponding to the workpiece W is recognized (see FIG. 4C), the contour shape of the recognized workpiece W is Based on the extracted contour shape of the stationary structure and the recognized position of the stationary structure, the contour shape and position of the stationary structure and which part of the contour shape corresponds to the contour shape of the workpiece W The contour shape data including the data indicating whether or not it is set is set (see FIG. 4D), and the set contour shape data is stored in the contour shape data storage unit 16. In FIG. 4D, the outline shape of the workpiece W is indicated by a bold line.

一方、移動構造体の輪郭形状データについては、まず、第1画像データ記憶部12に格納された、刃物台35に工具Tが保持されている状態における刃物台35及び工具Tの2次元画像データを合成して1つの2次元画像データとした後、この合成された2次元画像データから移動構造体の輪郭形状及び発光体21の発光点を抽出する(図5(a)参照)とともに、第1画像データ記憶部12に格納された、刃物台35に工具Tが保持されていない状態における刃物台35の2次元画像データから刃物台35の輪郭形状及び発光体21の発光点を抽出する(図5(b)参照)。尚、移動構造体の輪郭形状を抽出する手法は、静止構造体と同様の手法を採用することができる。   On the other hand, for the contour shape data of the moving structure, first, two-dimensional image data of the tool rest 35 and the tool T stored in the first image data storage unit 12 in a state where the tool T is held on the tool rest 35. Are combined into one two-dimensional image data, and then the contour shape of the moving structure and the light emission point of the light emitter 21 are extracted from the combined two-dimensional image data (see FIG. 5A). The contour shape of the tool rest 35 and the light emission point of the light emitter 21 are extracted from the two-dimensional image data of the tool rest 35 in a state where the tool T is not held on the tool rest 35 stored in the one image data storage unit 12 ( (Refer FIG.5 (b)). As a method for extracting the contour shape of the moving structure, a method similar to that for the stationary structure can be employed.

この後、抽出した2つの輪郭形状を比較して、例えば、これらの差分を求め、工具Tに相当する輪郭形状を認識する(図5(c)参照)。次に、認識した工具Tの輪郭形状を基に、工具データ記憶部14に格納されたデータを参照してこの工具Tの輪郭形状に対応する刃部データを認識する。ついで、認識した刃部データと、抽出した移動構造体の輪郭形状及び発光体21の発光点とを基に、当該移動構造体の輪郭形状と、この輪郭形状の内、どの部分が刃部Tbの輪郭形状に対応しているかを示すデータと、発光体21の発光点とを含む、発光体21の発光点を当該移動構造体の輪郭形状の基準点Qとした輪郭形状データを設定し(図5(d)参照)、設定した輪郭形状データを前記輪郭形状データ記憶部15に格納する。尚、図5(d)では、刃部Tbの輪郭形状が太線で示されている。   Thereafter, the extracted two contour shapes are compared, for example, the difference between them is obtained, and the contour shape corresponding to the tool T is recognized (see FIG. 5C). Next, based on the recognized contour shape of the tool T, the blade data corresponding to the contour shape of the tool T is recognized with reference to the data stored in the tool data storage unit 14. Next, based on the recognized blade data, the extracted contour shape of the moving structure and the light emission point of the light emitter 21, the contour shape of the moving structure and which portion of the contour shape is the blade portion Tb. The contour shape data including the data indicating whether or not the contour shape of the light emitting body 21 and the light emitting point of the light emitting body 21 as the reference point Q of the contour shape of the moving structure is set ( The set contour shape data is stored in the contour shape data storage unit 15 (see FIG. 5D). In FIG. 5D, the outline shape of the blade portion Tb is indicated by a bold line.

前記画像合成処理部17は、図6及び図7に示すように、画像生成装置11の第2画像生成処理により第2画像データ記憶部13に格納された2次元画像データを前記一定時間毎に合成して1つの2次元合成画像データにし、これを前記合成画像データ記憶部18に格納する。尚、図6では、移動構造体が移動する前の2次元画像を、図7では、移動構造体が移動した後の2次元画像をそれぞれ図示している。また、各2次元画像を1つの2次元画像に合成する手法は、特に限定されるものではなく、その一例としては、例えば、各2次元画像の特徴点を抽出し、抽出した特徴点を基に合成する手法が挙げられる。また、上記輪郭形状データ設定処理部15が2次元画像を合成する手法についても、同様のものを採用することができる。   As shown in FIGS. 6 and 7, the image composition processing unit 17 converts the two-dimensional image data stored in the second image data storage unit 13 by the second image generation processing of the image generation device 11 at every predetermined time. The two-dimensional composite image data is synthesized and stored in the composite image data storage unit 18. 6 illustrates a two-dimensional image before the moving structure moves, and FIG. 7 illustrates a two-dimensional image after the moving structure moves. In addition, a method for synthesizing each two-dimensional image into one two-dimensional image is not particularly limited. For example, a feature point of each two-dimensional image is extracted, and the extracted feature point is used as a basis. The method of synthesizing is mentioned. Moreover, the same thing can be employ | adopted also about the method with which the said outline shape data setting process part 15 synthesize | combines a two-dimensional image.

前記干渉確認処理部19は、合成画像データ記憶部18に格納された2次元合成画像データであって最新のもの及びこの一定時間前のものと、輪郭形状データ記憶部16に格納された静止構造体及び移動構造体の輪郭形状データと、各CCDカメラ11a…11oの撮像間隔などを基に、図8及び図9に示すような一連の処理を行って静止構造体と移動構造体とが相互に干渉するか否かを確認する。   The interference confirmation processing unit 19 includes two-dimensional composite image data stored in the composite image data storage unit 18, the latest one and a predetermined time ago, and a static structure stored in the contour shape data storage unit 16. Based on the contour shape data of the body and the moving structure and the imaging intervals of the CCD cameras 11a... 11o, a series of processes as shown in FIGS. To check if it interferes with.

即ち、まず、合成画像データ記憶部18から、2次元合成画像データであって最新のもの(例えば、図7に示すような2次元合成画像)及びこの一定時間前のもの(例えば、図6に示すような2次元合成画像)を読み出し(ステップS1)、輪郭形状データ記憶部16から静止構造体及び移動構造体の輪郭形状データをそれぞれ読み出す(ステップS2)。   That is, first, the latest two-dimensional composite image data (for example, the two-dimensional composite image as shown in FIG. 7) and the one before this fixed time (for example, FIG. (Two-dimensional composite image as shown) is read (step S1), and the contour shape data of the stationary structure and the moving structure are respectively read from the contour shape data storage unit 16 (step S2).

ついで、読み出した最新の2次元合成画像データ及びこの一定時間前の2次元合成画像データにおける発光体21の発光点をそれぞれ抽出して各発光点の位置(座標値(例えばピクセル値))を認識した後(ステップS3)、認識した発光点の現在及び一定時間前の位置と、各CCDカメラ11a…11oの撮像間隔とを基に、発光点の移動方向及び移動速度を算出する(ステップS4)。   Next, the light emitting point of the light emitter 21 in each of the latest two-dimensional composite image data read out and the two-dimensional composite image data of a predetermined time before is extracted to recognize the position (coordinate value (for example, pixel value)) of each light emitting point. After that (step S3), the moving direction and moving speed of the light emitting points are calculated based on the current and predetermined positions of the recognized light emitting points and the imaging intervals of the CCD cameras 11a ... 11o (step S4). .

この後、発光点の現在位置,移動方向及び移動速度、各CCDカメラ11a…11oの撮像間隔を基に、発光点をこの現在位置及び移動速度からこの移動方向に移動構造体の最大加速度で加速させつつ移動させたときに各CCDカメラ11a…11oの撮像間隔だけ時間が経過した後の発光点の移動速度及び移動位置を算出した後、発光点をこの算出した移動速度及び移動位置から前記移動方向に移動構造体の最大加速度で減速させつつ移動させたときに発光点が停止する位置を算出し、このようにして、当該発光点の停止位置を移動構造体が停止するまでに当該発光点が到達する位置として推定する(ステップS5)。尚、加速時の最大加速度及び減速時の最大加速度は、NC旋盤30に設定されている設定値が図示しない記憶部内に予め格納されるようになっており、干渉確認処理部19は、この記憶部内の最大加速度を参照してステップS5の処理を行う。   Thereafter, based on the current position, moving direction and moving speed of the light emitting point, and the imaging interval of each CCD camera 11a... 11o, the light emitting point is accelerated from the current position and moving speed to the moving direction at the maximum acceleration of the moving structure. After calculating the moving speed and moving position of the light emitting point after time has passed for the imaging interval of each CCD camera 11a... 11o, the light emitting point is moved from the calculated moving speed and moving position. The position where the light emitting point stops when moving while decelerating at the maximum acceleration of the moving structure in the direction is calculated, and thus the light emitting point is stopped before the moving structure stops at the stop position of the light emitting point. Is estimated as the position to reach (step S5). Note that the maximum acceleration at the time of acceleration and the maximum acceleration at the time of deceleration are stored in advance in a storage unit (not shown) set in the NC lathe 30, and the interference confirmation processing unit 19 stores this set value. The process of step S5 is performed with reference to the maximum acceleration in the unit.

次に、発光点の推定停止位置及び現在位置と、静止構造体及び移動構造体の輪郭形状データとを基に、発光点が現在位置から推定停止位置に移動するように移動構造体の輪郭形状を移動させる(ステップS6)。このとき、移動構造体の輪郭形状は、輪郭形状データに含まれる発光点(基準点Q)が前記認識した発光点の位置と対応するように配置され、静止構造体の輪郭形状は、輪郭形状データに含まれる静止構造体の位置に配置される。   Next, based on the estimated stop position and current position of the light emitting point and the contour shape data of the stationary structure and the moving structure, the contour shape of the moving structure so that the light emitting point moves from the current position to the estimated stop position. Is moved (step S6). At this time, the contour shape of the moving structure is arranged such that the light emitting point (reference point Q) included in the contour shape data corresponds to the position of the recognized light emitting point, and the contour shape of the stationary structure is the contour shape. It is arranged at the position of the stationary structure included in the data.

そして、この移動により移動構造体の輪郭形状と静止構造体の輪郭形状との間で接触又は重なり合う部分が存在するかどうかを判断する(ステップS7)。具体的には、例えば、発光点(基準点Q)が現在位置にあるときと推定停止位置にあるときの移動構造体の輪郭形状を結んで形成される領域と静止構造体の輪郭形状との間で接触又は重なり合う部分が存在するか否かを基に判断したり(図10(a),図11(a)及び図12(a)参照)、発光点(基準点Q)が現在位置から推定停止位置まで移動するように移動構造体の輪郭形状を段階的に移動させ、その各段階において、移動構造体の輪郭形状と静止構造体の輪郭形状との間で接触又は重なり合う部分が存在するか否かを基に判断する(図10(b),図11(b)及び図12(b)参照)。   Then, it is determined whether or not there is a contact or overlapping portion between the contour shape of the moving structure and the contour shape of the stationary structure due to this movement (step S7). Specifically, for example, the region formed by connecting the contour shape of the moving structure when the light emission point (reference point Q) is at the current position and the estimated stop position and the contour shape of the stationary structure Based on whether or not there is a contact or overlapping portion between them (see FIG. 10A, FIG. 11A and FIG. 12A), and the light emission point (reference point Q) from the current position The contour shape of the moving structure is moved step by step so as to move to the estimated stop position, and at each step, there is a contact or overlapping portion between the contour shape of the moving structure and the contour shape of the stationary structure. Judgment is made based on whether or not (refer to FIG. 10B, FIG. 11B and FIG. 12B).

ステップS7で接触又は重なり合う部分があると判断した場合(例えば、図11や図12のような場合)には、その接触又は重なり合いが工具Tの刃部TbとワークWとの間に生じたものであるのかを判断する(ステップS8)。これは、静止構造体の輪郭形状データ及び移動構造体の輪郭形状データから判断することができる。一方、ステップS7で接触又は重なり合う部分がないと判断した場合(例えば、図10のような場合)には、ステップS12に進む。   When it is determined in step S7 that there is a contact or overlapping portion (for example, as shown in FIG. 11 or 12), the contact or overlap occurs between the blade Tb of the tool T and the workpiece W. Is determined (step S8). This can be determined from the contour shape data of the stationary structure and the contour shape data of the moving structure. On the other hand, when it is determined in step S7 that there is no contact or overlapping part (for example, as shown in FIG. 10), the process proceeds to step S12.

ステップS8で接触又は重なり合いが工具Tの刃部TbとワークWとの間に生じたものであると判断した場合(例えば、図12のような場合)には、前記ステップS4で算出した発光体の移動速度が最大切削送り速度以下であるかどうかを判断する(ステップS9)。尚、最大切削送り速度は、NC旋盤30に設定されている設定値が図示しない記憶部内に予め格納されるようになっており、干渉確認処理部19は、この記憶部内の最大切削送り速度を参照してステップS9の処理を行う。   When it is determined in step S8 that the contact or overlap occurs between the blade portion Tb of the tool T and the workpiece W (for example, as shown in FIG. 12), the light emitter calculated in step S4. It is determined whether or not the moving speed is less than or equal to the maximum cutting feed speed (step S9). As for the maximum cutting feed rate, the set value set in the NC lathe 30 is stored in advance in a storage unit (not shown), and the interference confirmation processing unit 19 determines the maximum cutting feed rate in this storage unit. The process of step S9 is performed with reference.

ステップS9で発光体の移動速度が最大切削送り速度以下であると判断した場合には、工具TによるワークWの加工とみなしてワークWの輪郭形状を更新し、更新したワークWの輪郭形状を基に静止構造体の輪郭形状データを更新して前記輪郭形状データ記憶部16に格納し(図13参照)(ステップS10)、ステップS12に進む。尚、ワークWの輪郭形状の更新は、例えば、発光体が現在位置にあるときと推定停止位置にあるときの移動構造体の輪郭形状を結んで形成される領域と静止構造体(ワークW)の輪郭形状との重複部分を削除することで行うことができる。また、ワークW(主軸32)は回転しているが、これは、例えば、制御装置39から主軸モータ38に制御信号が出力されているかどうかを監視することで認識することができ、干渉確認処理部19は、ワークWが回転していることを認識した場合には、ワークWの外周部両側に相当する輪郭部分を削除する。   If it is determined in step S9 that the moving speed of the light emitter is equal to or less than the maximum cutting feed rate, the workpiece W is regarded as being processed by the tool T, and the contour shape of the workpiece W is updated. Based on this, the contour shape data of the stationary structure is updated and stored in the contour shape data storage unit 16 (see FIG. 13) (step S10), and the process proceeds to step S12. The contour shape of the workpiece W is updated by, for example, the region formed by connecting the contour shape of the moving structure when the light emitter is at the current position and the estimated stop position, and the stationary structure (work W). This can be done by deleting the overlapping part with the outline shape. The workpiece W (spindle 32) is rotating. This can be recognized, for example, by monitoring whether or not a control signal is output from the control device 39 to the spindle motor 38. When the part 19 recognizes that the work W is rotating, the part 19 deletes contour portions corresponding to both sides of the outer peripheral part of the work W.

一方、ステップS8で接触又は重なり合いが工具Tの刃部TbとワークWとの間に生じたものでないと判断した場合(例えば、図11のような場合)、及びステップS9で発光体の移動速度が最大切削送り速度よりも速いと判断した場合には、移動構造体と静止構造体とが干渉するとみなしてアラーム信号を駆動制御部42及び前記表示制御部20に送信して処理を終了する(ステップS11)。   On the other hand, when it is determined in step S8 that no contact or overlap has occurred between the blade Tb of the tool T and the workpiece W (for example, as shown in FIG. 11), and in step S9, the moving speed of the light emitter. Is determined to be faster than the maximum cutting feed rate, it is assumed that the moving structure and the stationary structure interfere with each other, and an alarm signal is transmitted to the drive control unit 42 and the display control unit 20 to complete the processing ( Step S11).

ステップS12では、処理終了かどうかを確認し、終了でない場合には、一定時間(各CCDカメラ11a…11oの撮像間隔と同じ時間)が経過したことを確認して上記ステップS1以降の処理を再び実行する(ステップS13)。一方、ステップS12で処理終了であると判断した場合には、上記一連の処理を終了する。   In step S12, it is confirmed whether or not the process has been completed. If not, it is confirmed that a certain period of time (the same time as the imaging interval of each CCD camera 11a. Execute (Step S13). On the other hand, when it is determined in step S12 that the process is finished, the above series of processes is finished.

尚、上記各処理の内、ステップS1〜ステップS3が特許請求の範囲に言う第1処理部に対応した処理、ステップS4が特許請求の範囲に言う第2処理部に対応した処理、ステップS5が特許請求の範囲に言う第3処理部に対応した処理、ステップS6〜ステップS11が特許請求の範囲に言う第4処理部に対応した処理である。   Of the above processes, Steps S1 to S3 correspond to the first processing unit described in the claims, Step S4 corresponds to the second processing unit described in the claims, and Step S5 includes The processing corresponding to the third processing section referred to in the claims and Steps S6 to S11 are the processing corresponding to the fourth processing section referred to in the claims.

前記表示制御部20は、干渉確認処理部19から送信されたアラーム信号を受信すると、画面表示装置45にアラーム表示を行う。   When receiving the alarm signal transmitted from the interference confirmation processing unit 19, the display control unit 20 displays an alarm on the screen display device 45.

以上のように構成された本例の干渉確認装置1によれば、予め工具データ記憶部14に、刃物台35に保持される可能性のある複数の工具Tについて、工具輪郭形状と刃部データとが関連付けられて格納される。   According to the interference checking apparatus 1 of the present example configured as described above, the tool contour shape and the blade portion data for the plurality of tools T that may be held in the tool post 35 in the tool data storage unit 14 in advance. Are stored in association with each other.

また、画像生成装置11の第1画像生成処理が行われ、チャック33にワークWが把持されている状態で主軸32の先端部,チャック33及びワークWが撮像されて2次元画像データが生成されるとともに、チャック33にワークWが把持されていない状態で主軸32の先端部及びチャック33が撮像されて2次元画像データが生成される。また、刃物台35に工具Tが保持されている状態で刃物台35及び工具Tが撮像されて2次元画像データが生成されるとともに、刃物台35に工具Tが保持されていない状態で刃物台35が撮像されて2次元画像データが生成される。そして、このようにして生成された各2次元画像データが第1画像データ記憶部12に格納される。   Further, the first image generation process of the image generation apparatus 11 is performed, and the tip end portion of the spindle 32, the chuck 33, and the workpiece W are imaged while the workpiece W is gripped by the chuck 33, and two-dimensional image data is generated. At the same time, the tip of the spindle 32 and the chuck 33 are imaged while the workpiece W is not gripped by the chuck 33, and two-dimensional image data is generated. Further, the tool rest 35 and the tool T are imaged in a state where the tool T is held on the tool rest 35 to generate two-dimensional image data, and the tool rest in a state where the tool T is not held on the tool rest 35. 35 is imaged to generate two-dimensional image data. Each two-dimensional image data generated in this way is stored in the first image data storage unit 12.

そして、輪郭形状データ設定部15により、第1画像データ記憶部12に格納された2次元画像データを基に、静止構造体の輪郭形状及び位置と、この輪郭形状の内、どの部分がワークWの輪郭形状に対応しているかを示すデータとを含む輪郭形状データが設定され、輪郭形状データ記憶部16に格納されるとともに、第1画像データ記憶部12に格納された2次元画像データと、工具データ記憶部14に格納されたデータとを基に、移動構造体の輪郭形状と、この輪郭形状の内、どの部分が刃部Tbの輪郭形状に対応しているかを示すデータと、発光体21の発光点とを含む輪郭形状データが設定され、輪郭形状データ記憶部16に格納される。   Then, based on the two-dimensional image data stored in the first image data storage unit 12 by the contour shape data setting unit 15, the contour shape and position of the stationary structure and which portion of the contour shape is the workpiece W Contour shape data including data indicating whether or not the contour shape corresponds to the two-dimensional image data stored in the contour shape data storage unit 16 and stored in the first image data storage unit 12; Based on the data stored in the tool data storage unit 14, the contour shape of the moving structure, the data indicating which portion of the contour shape corresponds to the contour shape of the blade portion Tb, and the light emitter Contour shape data including 21 light emission points is set and stored in the contour shape data storage unit 16.

この後、制御装置39(駆動制御部42)により送り機構部36,37、主軸モータ38、及び切削液供給装置47が制御されてワークWの加工が開始されると、移動構造体がZ軸方向やX軸方向に移動するが、このとき、画像生成装置11の第2画像生成処理が行われ、一定時間間隔で加工領域K内が撮像されて2次元画像データが生成され、第2画像データ記憶部13に格納される。   Thereafter, when the feed mechanism units 36 and 37, the spindle motor 38, and the cutting fluid supply device 47 are controlled by the control device 39 (drive control unit 42) and the machining of the workpiece W is started, the movable structure is moved to the Z axis. In this case, the second image generation process of the image generation device 11 is performed, and the processing area K is imaged at a certain time interval to generate two-dimensional image data, and the second image is generated. It is stored in the data storage unit 13.

画像生成装置11の第2画像生成処理で生成され第2画像データ記憶部13に格納された2次元画像データは、画像合成処理部17により一定時間毎に合成されて1つの2次元合成画像データとされ、合成画像データ記憶部18に格納される。   The two-dimensional image data generated by the second image generation processing of the image generation device 11 and stored in the second image data storage unit 13 is synthesized by the image synthesis processing unit 17 at a certain time interval to be one two-dimensional synthesized image data. And stored in the composite image data storage unit 18.

この後、干渉確認処理部19により、合成画像データ記憶部18に格納された2次元合成画像データであって最新のもの及びこの一定時間前のものと、輪郭形状データ記憶部16に格納された静止構造体及び移動構造体の輪郭形状データと、各CCDカメラ11a…11oの撮像間隔などを基に静止構造体と移動構造体とが相互に干渉するか否かが確認される。このとき、切削液供給装置47によって切削液が供給されているために移動構造体の鮮明な画像が得られなくても発光体21の発光点から移動構造体の位置を正確に特定することができる。尚、この干渉確認処理は、各CCDカメラ11a…11oの撮像間隔と同じ周期で実行される。   Thereafter, the interference confirmation processing unit 19 stores the latest two-dimensional composite image data stored in the composite image data storage unit 18 and the one before this fixed time, and the contour shape data storage unit 16. Whether or not the stationary structure and the moving structure interfere with each other is confirmed based on the contour shape data of the stationary structure and the moving structure and the imaging intervals of the CCD cameras 11a. At this time, since the cutting fluid is supplied by the cutting fluid supply device 47, the position of the moving structure can be accurately specified from the light emitting point of the light emitter 21 even if a clear image of the moving structure is not obtained. it can. This interference confirmation process is executed at the same cycle as the imaging interval of each CCD camera 11a.

そして、静止構造体及び移動構造体が干渉すると判断されると、アラーム信号が駆動制御部42及び表示制御部20に送信される。アラーム信号が駆動制御部42によって受信されると、各送り機構部36,37、主軸モータ38、及び切削液供給装置47の作動が停止せしめられ、また、アラーム信号が表示制御部20によって受信されると、アラーム表示が画面表示装置45に表示される。   When it is determined that the stationary structure and the moving structure interfere with each other, an alarm signal is transmitted to the drive control unit 42 and the display control unit 20. When the alarm signal is received by the drive control unit 42, the operations of the feed mechanism units 36 and 37, the spindle motor 38, and the cutting fluid supply device 47 are stopped, and the alarm signal is received by the display control unit 20. Then, an alarm display is displayed on the screen display device 45.

斯くして、本例の干渉確認装置1によれば、画像生成装置11によって生成された2次元画像データから移動構造体(刃物台35)に設けた発光体21の発光点の位置を認識して移動構造体の位置を特定しているので、切削液を用いて加工を行っている場合であっても移動構造体の位置を正確に検出し、高精度な干渉確認処理を実施することができる。   Thus, according to the interference confirmation device 1 of the present example, the position of the light emitting point of the light emitter 21 provided on the moving structure (the tool rest 35) is recognized from the two-dimensional image data generated by the image generator 11. Since the position of the moving structure is specified, it is possible to accurately detect the position of the moving structure and perform highly accurate interference confirmation processing even when machining is performed using a cutting fluid. it can.

また、制御装置39から干渉確認用の情報を一切得ることなく干渉確認処理を行っているので、当該干渉確認装置1を制御装置39から分離,独立した構成とすることができ、制御装置39の演算能力に左右されることなく、高精度且つ高速に干渉確認処理を実施することができる。また、制御装置39(駆動制御部42)を少なくともアラーム信号のみ入力可能に構成すれば良く、制御装置39と当該干渉確認装置1との間で各種データの送受信を行う必要がないので、制御装置39を安価にしてNC旋盤30のコストを抑えることができる。また、更に、制御装置39の製造メーカに合わせて当該干渉確認装置1の仕様を変更するのを不要にし、どの製造メーカが製造した制御装置39にも同じ干渉確認装置1を適用することができるので、当該干渉確認装置1の開発期間や開発コストなどの面で負担を低減することができる。   Further, since the interference confirmation processing is performed without obtaining any interference confirmation information from the control device 39, the interference confirmation device 1 can be separated from the control device 39 and can be configured independently. The interference confirmation process can be performed with high accuracy and high speed without being affected by the computing ability. Further, the control device 39 (drive control unit 42) only needs to be configured so that at least only an alarm signal can be input, and there is no need to transmit and receive various data between the control device 39 and the interference confirmation device 1, so that the control device It is possible to reduce the cost of the NC lathe 30 by reducing the cost of 39. Furthermore, it is not necessary to change the specifications of the interference confirmation device 1 according to the manufacturer of the control device 39, and the same interference confirmation device 1 can be applied to the control device 39 manufactured by any manufacturer. Therefore, a burden can be reduced in terms of the development period and development cost of the interference confirmation apparatus 1.

また、発光点の移動速度などを基に設定した推定停止位置と移動構造体及び静止構造体の輪郭形状データとを用いて干渉確認処理を行っているので、干渉領域が移動構造体(発光点)の移動速度に関係なく一律に設定され、移動構造体が高速で移動しているときでも干渉を防止すべく干渉領域を広くする必要のあった従来に比べ、移動構造体を静止構造体の近傍領域で移動させても干渉の恐れがあると判定され難くなり、作業性を向上させることができる。   In addition, since the interference confirmation process is performed using the estimated stop position set based on the moving speed of the light emitting point and the contour shape data of the moving structure and the stationary structure, the interference region is the moving structure (light emitting point). ) Is set uniformly regardless of the moving speed of the moving structure, and even when the moving structure is moving at a high speed, the moving structure is made to be Even if it is moved in the vicinity, it is difficult to determine that there is a possibility of interference, and workability can be improved.

また、移動構造体(発光点)の現在移動速度及び加速時の最大加速度を考慮して停止位置を推定しているので、移動構造体が最大加速度で加速中であったとしても確実に静止構造体との干渉を防止することができる。   In addition, since the stop position is estimated in consideration of the current moving speed of the moving structure (light emitting point) and the maximum acceleration during acceleration, the stationary structure is surely stationary even if the moving structure is accelerating at the maximum acceleration. Interference with the body can be prevented.

以上、本発明の一実施形態について説明したが、本発明の採り得る具体的な態様は、何らこれに限定されるものではない。   As mentioned above, although one Embodiment of this invention was described, the specific aspect which this invention can take is not limited to this at all.

上例では、静止構造体(主軸32の先端部,チャック33及びワークWからなる構造体)と、移動構造体(刃物台35及び工具Tからなる構造体)とが相互に干渉するか否かを確認するようにしたが、これに限定されるものではなく、例えば、移動構造体とカバー体46との間で干渉が生じるか否かを確認するようにしても良い。   In the above example, whether or not the stationary structure (the structure composed of the tip of the main shaft 32, the chuck 33, and the workpiece W) and the moving structure (the structure composed of the tool post 35 and the tool T) interfere with each other. However, the present invention is not limited to this. For example, it may be confirmed whether interference occurs between the moving structure and the cover 46.

また、発光点の推定位置は、必ずしも上述のようにして推定する必要はない。また、更に、この推定位置は、駆動制御部42が直ちに移動構造体の停止処理を行って移動構造体が停止したときの発光点の位置よりも発光点の移動方向において現在位置から離れた位置であれば良く、このような位置であれば、移動構造体が静止構造体と干渉する前に確実に移動構造体を停止させることができる。尚、このような推定位置は、例えば、駆動制御部42が直ちに移動構造体の停止処理を行って移動構造体が停止したときの発光点の位置に一定値を付加したり、駆動制御部42が直ちに移動構造体の停止処理を行って移動構造体が停止したときの発光点の位置と現在位置との差に1より大きい一定値を乗じて得られた値を現在位置に付加することで設定することができる。   Further, the estimated position of the light emitting point is not necessarily estimated as described above. Further, this estimated position is a position that is further away from the current position in the direction of movement of the light emitting point than the position of the light emitting point when the drive control unit 42 immediately performs the stop process of the moving structure and the moving structure stops. In such a position, the moving structure can be reliably stopped before the moving structure interferes with the stationary structure. Note that such an estimated position is obtained by adding a fixed value to the position of the light emitting point when the drive control unit 42 immediately stops the moving structure and the moving structure stops, or the drive control unit 42, for example. Immediately stops the moving structure and adds a value obtained by multiplying the difference between the position of the light emitting point and the current position when the moving structure stops by a constant value larger than 1 to the current position. Can be set.

この他、発光点の停止位置に代えて、所定時間経過後における発光点の位置を推定しても良く、この場合、例えば、ステップS4で算出した移動方向に同じく算出した移動速度で発光点が移動した場合の位置を推定したり、ステップS4で算出した移動速度から加速又は減速しつつ同じく算出した移動方向に発光点が移動した場合の位置を推定する。   In addition, instead of the stop position of the light emission point, the position of the light emission point after the elapse of a predetermined time may be estimated. In this case, for example, the light emission point is moved at the same movement speed calculated in the moving direction calculated in step S4. The position when moving is estimated, or the position when the light emitting point moves in the same calculated moving direction while accelerating or decelerating from the moving speed calculated in step S4 is estimated.

また、上例では、発光点の停止位置を推定し、推定した停止位置などを用いて移動構造体と静止構造体が干渉するか否かを確認するようにしたが、これに限られるものではなく、認識した発光点の現在位置と静止構造体の位置などを基に移動構造体と静止構造体が干渉するか否かを確認するようにしても良い。この場合、例えば、移動構造体の輪郭形状と静止構造体の輪郭形状との間で接触又は重なり合う部分が存在する場合や、移動構造体の輪郭形状と静止構造体の輪郭形状との間の距離が所定の距離よりも接近している場合に干渉すると判断する。   In the above example, the stop position of the light emitting point is estimated, and the estimated stop position is used to check whether the moving structure and the stationary structure interfere with each other. However, the present invention is not limited to this. Instead, it may be confirmed whether the moving structure and the stationary structure interfere with each other based on the recognized current position of the light emitting point and the position of the stationary structure. In this case, for example, when there is a contact or overlapping portion between the contour shape of the moving structure and the contour shape of the stationary structure, or the distance between the contour shape of the moving structure and the contour shape of the stationary structure Is determined to interfere when the distance is closer than a predetermined distance.

また、前記各CCDカメラ11a…11oの配置位置は、加工領域K内の静止構造体及び移動構造体を撮像可能であれば特に限定されるものではない。例えば、特に図示はしないが、上記配置位置に代えて又は加えて、CCDカメラを静止構造体と対向するようにカバー体46に配置し、この静止構造体を真正面から撮像するようにしても良い。この場合、発光体21は、例えば、タレット35bの、CCDカメラ側の端面に設ける必要がある。   The arrangement positions of the CCD cameras 11a... 11o are not particularly limited as long as the stationary structure and the moving structure in the processing area K can be imaged. For example, although not particularly illustrated, instead of or in addition to the above arrangement position, the CCD camera may be arranged on the cover body 46 so as to face the stationary structure, and the stationary structure may be imaged from the front. . In this case, the light emitter 21 needs to be provided, for example, on the end surface of the turret 35b on the CCD camera side.

また、画像生成装置11に複数のCCDカメラ11a…11oを設けたが、1つのCCDカメラで加工領域Kの全体を撮像可能な場合には、1つのCCDカメラのみを設けるようにしても良い。この場合、画像の合成処理を省くことができる。また、CCDカメラ11a…11oの1つでは、主軸32の先端部,チャック33及びワークWや主軸32の先端部及びチャック33、並びに刃物台35及び工具Tや刃物台35を撮像することができないため、CCDカメラ11a…11oのいくつかを作動させてこれらを撮像し、得られた2次元画像を合成して輪郭形状を抽出するようにしたが、CCDカメラ11a…11oの1つで、主軸32の先端部,チャック33及びワークWや主軸32の先端部及びチャック33、並びに刃物台35及び工具Tや刃物台35を撮像することができる場合には、例えば、これらに最も近い位置(真上)にあるCCDカメラ11a…11oによりこれらをそれぞれ撮像し、得られた2次元画像から輪郭形状などを抽出するようにしても良い。   Further, although a plurality of CCD cameras 11a... 11o are provided in the image generating device 11, only one CCD camera may be provided when the entire processing area K can be imaged with one CCD camera. In this case, the image composition process can be omitted. Further, one of the CCD cameras 11a... 11o cannot image the tip end portion of the spindle 32, the chuck 33 and the work W, the tip end portion of the spindle 32 and the chuck 33, the tool post 35, the tool T, and the tool post 35. Therefore, some of the CCD cameras 11a... 11o are actuated to pick up images, and the obtained two-dimensional images are synthesized to extract the contour shape, but one of the CCD cameras 11a. 32, the chuck 33 and the workpiece W, the tip of the spindle 32 and the chuck 33, the tool post 35, the tool T, and the tool post 35 can be imaged. These may be picked up by the CCD cameras 11a... 11o in the upper), and the contour shape and the like may be extracted from the obtained two-dimensional image.

また、例えば、図14に示すように、移動構造体を構成する刃物台50が所定の割出角度位置に割出可能に構成された工具主軸51を備えているようなときには、干渉判定を行うに当たり、工具主軸51の割出角度位置を特定する必要があるが、この場合、前記刃物台35のように発光体21(基準点Q)を1つしか設けなかったのでは、割出角度位置を特定することができない。そこで、図示するように、3つの発光体55,56,57を工具主軸51の外周面に設けるようにすれば、この3つの発光体55,56,57の発光点(基準点)の位置関係から工具主軸51の割出角度位置を特定することができる。したがって、工具主軸51の向きが変わるような刃物台50であっても効果的に干渉確認を行うことができる。尚、図示例では、工具主軸51は、工具本体Ta及び刃部Tbからなる、ドリルやエンドミルなどの回転工具Tを保持している。また、符号52及び53はサドルである。   Further, for example, as shown in FIG. 14, when the tool post 50 constituting the moving structure includes a tool spindle 51 configured to be indexed at a predetermined index angle position, the interference determination is performed. In this case, it is necessary to specify the index angle position of the tool spindle 51. In this case, if only one light emitter 21 (reference point Q) is provided as in the tool post 35, the index angle position is determined. Cannot be specified. Therefore, if three light emitters 55, 56, 57 are provided on the outer peripheral surface of the tool spindle 51 as shown in the figure, the positional relationship between the light emission points (reference points) of the three light emitters 55, 56, 57 is shown. Thus, the index angle position of the tool spindle 51 can be specified. Therefore, even if the tool post 50 changes the direction of the tool spindle 51, interference can be confirmed effectively. In the illustrated example, the tool spindle 51 holds a rotary tool T such as a drill or an end mill, which includes a tool body Ta and a blade portion Tb. Reference numerals 52 and 53 are saddles.

前記各発光体55,56,57は、例えば、図14に示すように、三角形の頂部となる位置に設けたり、図15に示すように、間隔を変えて一列に設けることができるが、これらに限定されるものではない。また、発光体55,56,57は必ずしも3つ設ける必要はなく、発光色の異なるものや発光色が同じで光強度(明暗)が異なるものを2つ設けるようにしても良い。また、更に、工具主軸51が0°〜180°の範囲内でしか回転しないような場合には、発光色が同じものを2つ設けても工具主軸51の割出角度位置を特定することができる。尚、発光体55,56,57の数は、前述した2つや3つに何ら限定されるものではない。   Each of the light emitters 55, 56, and 57 can be provided at a position that becomes the top of a triangle, for example, as shown in FIG. 14, or can be provided in a row at different intervals as shown in FIG. It is not limited to. In addition, it is not always necessary to provide three light emitters 55, 56, and 57, and two light emitters having different emission colors or two having the same emission color but different light intensity (brightness and darkness) may be provided. Furthermore, when the tool spindle 51 rotates only within the range of 0 ° to 180 °, the index angle position of the tool spindle 51 can be specified even if two of the same emission color are provided. it can. Note that the number of the light emitters 55, 56, and 57 is not limited to two or three as described above.

また、上例では、工作機械としてNC旋盤30を一例に挙げて説明したが、本例の干渉確認装置1は、マシニングセンタなど各種の工作機械に設けることが可能である。また、CCDカメラ11a…11oのレンズには、ワイパを設けて表面に付いた切削液を拭き取るようにしても良い。   In the above example, the NC lathe 30 has been described as an example of the machine tool. However, the interference confirmation apparatus 1 of this example can be provided in various machine tools such as a machining center. Further, a wiper may be provided on the lens of the CCD camera 11a... 11o to wipe off the cutting fluid attached to the surface.

本発明の一実施形態に係る干渉確認装置などの概略構成を示したブロック図である。It is the block diagram which showed schematic structure, such as the interference confirmation apparatus which concerns on one Embodiment of this invention. 本実施形態の干渉確認装置が設けられるNC旋盤を示した正面図である。It is the front view which showed the NC lathe provided with the interference confirmation apparatus of this embodiment. 図2における矢示A−A方向の断面図である。It is sectional drawing of the arrow AA direction in FIG. 静止構造体の輪郭形状データの設定を説明するための説明図である。It is explanatory drawing for demonstrating the setting of the outline shape data of a stationary structure. 移動構造体の輪郭形状データの設定を説明するための説明図である。It is explanatory drawing for demonstrating the setting of the outline shape data of a moving structure. 各CCDカメラにより得られる2次元画像と、これらの2次元画像を合成して得られる1つの2次元合成画像との関係を示した説明図である。It is explanatory drawing which showed the relationship between the two-dimensional image obtained by each CCD camera, and one two-dimensional synthetic image obtained by synthesize | combining these two-dimensional images. 各CCDカメラにより得られる2次元画像と、これらの2次元画像を合成して得られる1つの2次元合成画像との関係を示した説明図である。It is explanatory drawing which showed the relationship between the two-dimensional image obtained by each CCD camera, and one two-dimensional synthetic image obtained by synthesize | combining these two-dimensional images. 本実施形態の干渉確認処理部における一連の処理を示したフローチャートである。It is the flowchart which showed a series of processes in the interference confirmation process part of this embodiment. 本実施形態の干渉確認処理部における一連の処理を示したフローチャートである。It is the flowchart which showed a series of processes in the interference confirmation process part of this embodiment. 干渉判定を説明するための説明図である。It is explanatory drawing for demonstrating interference determination. 干渉判定を説明するための説明図である。It is explanatory drawing for demonstrating interference determination. 干渉判定を説明するための説明図である。It is explanatory drawing for demonstrating interference determination. 更新後の静止構造体の輪郭形状データを説明するための説明図である。It is explanatory drawing for demonstrating the outline shape data of the stationary structure after an update. 発光体の配置例を説明するための説明図である。It is explanatory drawing for demonstrating the example of arrangement | positioning of a light-emitting body. 発光体の配置例を説明するための説明図である。It is explanatory drawing for demonstrating the example of arrangement | positioning of a light-emitting body.

符号の説明Explanation of symbols

1 干渉確認装置
11 画像生成装置
11a…11o CCDカメラ
12 第1画像データ記憶部
13 第2画像データ記憶部
14 工具データ記憶部
15 輪郭形状データ設定処理部
16 輪郭形状データ記憶部
17 画像合成処理部
18 合成画像データ記憶部
19 干渉確認処理部
20 表示制御部
21 発光体
30 NC旋盤
31 ベッド
32 主軸
33 チャック
34 サドル
35 刃物台
36 第1送り機構部
37 第2送り機構部
38 主軸モータ
39 制御装置
42 駆動制御部
W ワーク
T 工具
DESCRIPTION OF SYMBOLS 1 Interference confirmation apparatus 11 Image generation apparatus 11a ... 11o CCD camera 12 1st image data storage part 13 2nd image data storage part 14 Tool data storage part 15 Contour shape data setting process part 16 Contour shape data storage part 17 Image composition process part DESCRIPTION OF SYMBOLS 18 Composite image memory | storage part 19 Interference confirmation process part 20 Display control part 21 Light emitter 30 NC lathe 31 Bed 32 Spindle 33 Chuck 34 Saddle 35 Tool post 36 1st feed mechanism part 37 2nd feed mechanism part 38 Spindle motor 39 Control apparatus 42 Drive control part W Work T Tool

Claims (5)

予め設定された方向に移動可能となった移動体と、前記移動体の移動領域内に配置された構造体と、前記移動体を移動させる駆動機構部と、前記駆動機構部の作動を制御する制御装置とを備えた工作機械に設けられ、前記移動体と構造体とが相互に干渉するか否かを確認する装置において、
前記移動体の移動領域内を撮像可能に前記工作機械に配置された少なくとも1つの撮像部を備える画像生成手段であって、前記撮像部により前記移動体及び構造体を撮像して2次元画像データを生成する第1画像生成部と、前記撮像部により前記移動体の移動領域内を一定時間間隔で撮像して2次元画像データを生成する第2画像生成部とを有する画像生成手段と、
前記移動体の、前記撮像部により撮像可能な部分に配設された少なくとも1つの発光体と、
前記第1画像生成部によって生成された2次元画像データから、前記移動体の輪郭形状及び前記発光体の発光点並びに前記構造体の輪郭形状を抽出するとともに前記構造体の位置を認識し、前記抽出した移動体の輪郭形状と発光体の発光点とを含む移動体の輪郭形状データと、前記抽出した構造体の輪郭形状と前記認識した構造体の位置とを含む構造体の輪郭形状データとを設定する輪郭形状データ設定手段と、
前記輪郭形状データ設定手段によって設定された前記移動体及び構造体の輪郭形状データを記憶する輪郭形状データ記憶手段と、
前記第2画像生成部によって生成された2次元画像データを記憶する画像データ記憶手段と、
前記画像データ記憶手段に格納された2次元画像データから前記発光体の発光点を抽出してその位置を認識した後、認識した発光点の位置と、前記輪郭形状データ記憶手段に格納された移動体及び構造体の輪郭形状データとを基に、前記移動体と構造体とが相互に干渉するか否かを確認して、干渉すると判断した場合にアラーム信号を前記制御装置に送信する干渉確認手段とを備えてなることを特徴とする干渉確認装置。
A movable body that can move in a preset direction, a structure disposed in a movement area of the movable body, a drive mechanism unit that moves the movable body, and an operation of the drive mechanism unit are controlled. In a machine tool provided with a control device, and confirming whether the moving body and the structure interfere with each other,
Image generation means comprising at least one image pickup unit arranged on the machine tool so as to be able to pick up an image within a moving region of the moving body, wherein the image pickup unit picks up the moving body and the structure to obtain two-dimensional image data An image generation means including: a first image generation unit that generates a first image generation unit; and a second image generation unit that generates two-dimensional image data by capturing an image of the moving region of the moving body at a predetermined time interval by the imaging unit;
At least one light emitter disposed on a portion of the movable body that can be imaged by the imaging unit;
From the two-dimensional image data generated by the first image generation unit, the contour shape of the moving body, the light emitting point of the light emitter, and the contour shape of the structure are extracted and the position of the structure is recognized, Contour shape data of the moving body including the extracted contour shape of the moving body and the light emitting point of the light emitter, and the contour shape data of the structure including the contour shape of the extracted structure and the position of the recognized structure. Contour shape data setting means for setting,
Contour shape data storage means for storing contour shape data of the movable body and structure set by the contour shape data setting means;
Image data storage means for storing the two-dimensional image data generated by the second image generation unit;
After extracting the light emission point of the light emitter from the two-dimensional image data stored in the image data storage means and recognizing the position, the position of the recognized light emission point and the movement stored in the contour shape data storage means Checking whether the mobile body and the structure interfere with each other based on the contour shape data of the body and the structure, and transmitting an alarm signal to the control device when it is determined that they interfere with each other And an interference confirmation device.
前記移動体には、発光色の異なる少なくとも2つの前記発光体が設けられてなることを特徴とする請求項1記載の干渉確認装置。   The interference confirmation apparatus according to claim 1, wherein the moving body is provided with at least two light emitting bodies having different emission colors. 前記干渉確認手段は、
前記画像データ記憶手段に格納された2次元画像データであって最新のもの及びこの一定時間前のものから前記発光体の発光点をそれぞれ抽出してこれらの位置を認識する第1処理部と、
前記第1処理部により認識された発光点の現在及び一定時間前の位置と、前記撮像部の撮像間隔とを基にこの発光点の移動方向及び移動速度を算出する第2処理部と、
前記第1処理部により認識された発光点の現在位置、並びに前記第2処理部により算出された発光点の移動方向及び移動速度を基に、予め設定された時間経過後における前記発光点の位置を推定する第3処理部と、
前記第3処理部により推定された発光点の位置と、前記第1処理部により認識された発光点の現在位置と、前記輪郭形状データ記憶手段に格納された移動体及び構造体の輪郭形状データとを基に、前記発光点が前記現在位置から推定位置に移動するように前記移動体の輪郭形状を移動させて前記移動体及び構造体が干渉するか否かを確認する第4処理部とから構成されてなることを特徴とする請求項1又は2記載の干渉確認装置。
The interference confirmation means
A first processing unit for extracting the light emitting points of the light emitters from the latest two-dimensional image data stored in the image data storage means and the ones before the predetermined time, and recognizing these positions;
A second processing unit that calculates a moving direction and a moving speed of the light emitting point based on the current and predetermined position of the light emitting point recognized by the first processing unit and the imaging interval of the imaging unit;
Based on the current position of the light emitting point recognized by the first processing unit and the moving direction and moving speed of the light emitting point calculated by the second processing unit, the position of the light emitting point after elapse of a preset time. A third processing unit for estimating
The position of the light emitting point estimated by the third processing unit, the current position of the light emitting point recognized by the first processing unit, and the contour shape data of the moving body and the structure stored in the contour shape data storage means And a fourth processing unit that confirms whether or not the moving body and the structure interfere with each other by moving the contour shape of the moving body so that the light emitting point moves from the current position to the estimated position based on The interference confirmation device according to claim 1, wherein the interference confirmation device comprises:
前記干渉確認手段の第3処理部は、前記予め設定された時間経過後における前記発光点の位置に代え、前記制御装置が直ちに前記移動体の停止処理を行って前記移動体が停止したときの前記発光点の位置よりも前記移動方向において前記現在位置から離れた位置を前記移動体の停止までに前記発光点が到達する位置として推定するように構成されてなることを特徴とする請求項3記載の干渉確認装置。   The third processing unit of the interference confirmation means replaces the position of the light emitting point after the preset time has elapsed, when the control device immediately performs the stop processing of the moving body and the moving body stops. 4. The apparatus according to claim 3, wherein a position farther from the current position in the movement direction than the position of the light emitting point is estimated as a position where the light emitting point reaches before the moving body stops. The interference confirmation apparatus as described. 前記干渉確認手段の第3処理部は、
前記到達位置を推定するに当たり、前記発光点を前記現在位置及び移動速度から前記移動方向に前記移動体の最大加速度で加速させつつ移動させたときに前記撮像部の撮像間隔だけ時間が経過した後の移動速度及び移動位置を算出した後、前記発光点を前記算出した移動速度及び移動位置から前記移動方向に前記移動体の最大加速度で減速させつつ移動させたときに前記発光点が停止する位置を算出し、前記到達位置を推定するように構成されてなることを特徴とする請求項4記載の干渉確認装置。
The third processing unit of the interference confirmation means
In estimating the arrival position, when the light emitting point is moved while accelerating at the maximum acceleration of the moving body in the moving direction from the current position and moving speed, after an elapse of time corresponding to the imaging interval of the imaging unit The position at which the light emitting point stops when the light emitting point is moved while decelerating from the calculated moving speed and moving position in the moving direction with the maximum acceleration of the moving body after calculating the moving speed and moving position of The interference confirmation apparatus according to claim 4, wherein the interference confirmation apparatus is configured to calculate the position and estimate the arrival position.
JP2007328857A 2007-12-20 2007-12-20 Interference confirmation device Expired - Fee Related JP5014972B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007328857A JP5014972B2 (en) 2007-12-20 2007-12-20 Interference confirmation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007328857A JP5014972B2 (en) 2007-12-20 2007-12-20 Interference confirmation device

Publications (2)

Publication Number Publication Date
JP2009148854A true JP2009148854A (en) 2009-07-09
JP5014972B2 JP5014972B2 (en) 2012-08-29

Family

ID=40918642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007328857A Expired - Fee Related JP5014972B2 (en) 2007-12-20 2007-12-20 Interference confirmation device

Country Status (1)

Country Link
JP (1) JP5014972B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011043874A (en) * 2009-08-19 2011-03-03 Fanuc Ltd Tool vector display device for machine tool

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185123A (en) * 2002-11-29 2004-07-02 Mori Seiki Co Ltd Apparatus for generating three-dimensional model data
JP2006004128A (en) * 2004-06-17 2006-01-05 Mori Seiki Co Ltd Interference confirmation device
JP2007190647A (en) * 2006-01-19 2007-08-02 Nagaoka Univ Of Technology Visualizing device for use in vibratory finishing machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185123A (en) * 2002-11-29 2004-07-02 Mori Seiki Co Ltd Apparatus for generating three-dimensional model data
JP2006004128A (en) * 2004-06-17 2006-01-05 Mori Seiki Co Ltd Interference confirmation device
JP2007190647A (en) * 2006-01-19 2007-08-02 Nagaoka Univ Of Technology Visualizing device for use in vibratory finishing machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011043874A (en) * 2009-08-19 2011-03-03 Fanuc Ltd Tool vector display device for machine tool

Also Published As

Publication number Publication date
JP5014972B2 (en) 2012-08-29

Similar Documents

Publication Publication Date Title
CN108176897B (en) Burr removing device
US8310539B2 (en) Calibration method and calibration device
JP6785931B1 (en) Production system
US8355813B2 (en) Machining status monitoring method and machining status monitoring apparatus
JP5465957B2 (en) Machining state confirmation method and machining state confirmation apparatus
US20170113314A1 (en) Tool cleaning device for machine tool
JP2018144128A (en) Machine tool system
JP6496338B2 (en) Machine tool control system
JP4083554B2 (en) 3D model data generator
CN108732994B (en) Control system for machine tool
WO2014132845A1 (en) Tool shape measurement method and tool shape measurement device
JP2006004128A (en) Interference confirmation device
JP2016093872A (en) Device and method of automatically setting tool correction value of machine tool
JP2008015740A (en) Control device of machine tool
US9791848B2 (en) Display apparatus
JP7068317B2 (en) How to control a machine tool
JP2010225141A (en) Method and device for generating converted control data for controlling tool by machine tool
JP2012213840A (en) Machine tool
US20160236351A1 (en) Robot system and robot control method for adjusting position of coolant nozzle
JP4456455B2 (en) Collision prevention method for machine operating part in lathe
JP2008070143A (en) Optical measuring system
JP2006300817A (en) Optical measuring instrument, optical measuring device, and optical measuring system
WO2021192890A1 (en) Machine tool, machine tool control method, and machine tool control program
JP5014972B2 (en) Interference confirmation device
JP6474450B2 (en) Machine tool control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101012

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120207

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120516

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120606

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

Free format text: PAYMENT UNTIL: 20150615

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5014972

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees