JP2020040130A - Processing device, control method of processing device, and control program of processing device - Google Patents
Processing device, control method of processing device, and control program of processing device Download PDFInfo
- Publication number
- JP2020040130A JP2020040130A JP2018167081A JP2018167081A JP2020040130A JP 2020040130 A JP2020040130 A JP 2020040130A JP 2018167081 A JP2018167081 A JP 2018167081A JP 2018167081 A JP2018167081 A JP 2018167081A JP 2020040130 A JP2020040130 A JP 2020040130A
- Authority
- JP
- Japan
- Prior art keywords
- camera
- processing apparatus
- cameras
- processing device
- processing
- 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
Links
- 238000012545 processing Methods 0.000 title claims abstract description 146
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000003384 imaging method Methods 0.000 claims abstract description 45
- 238000005259 measurement Methods 0.000 claims abstract description 25
- 238000001514 detection method Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 9
- 238000003860 storage Methods 0.000 description 9
- 239000000203 mixture Substances 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000003754 machining Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000006378 damage Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000004308 accommodation Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23Q—DETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
- B23Q17/00—Arrangements for observing, indicating or measuring on machine tools
- B23Q17/20—Arrangements for observing, indicating or measuring on machine tools for indicating or measuring workpiece characteristics, e.g. contour, dimension, hardness
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23Q—DETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
- B23Q17/00—Arrangements for observing, indicating or measuring on machine tools
- B23Q17/24—Arrangements for observing, indicating or measuring on machine tools using optics or electromagnetic waves
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
- G01B11/245—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures using a plurality of fixed, simultaneously operating transducers
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/401—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for measuring, e.g. calibration and initialisation, measuring workpiece for machining purposes
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Automation & Control Theory (AREA)
- Optics & Photonics (AREA)
- Machine Tool Sensing Apparatuses (AREA)
- Numerical Control (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
本発明は、加工装置、加工装置の制御方法および加工装置の制御プログラムに関する。 The present invention relates to a processing device, a control method for the processing device, and a control program for the processing device.
上記技術分野において、特許文献1には、工作機械の機内にカメラを配置し、当該カメラを用いて機内を撮影して、表示する技術が開示されている。 In the above technical field, Patent Literature 1 discloses a technique in which a camera is arranged in a machine tool, and the inside of the machine is photographed and displayed using the camera.
しかしながら、上記文献に記載の技術では、所望の映像を得ることができなかったため、映像に基づいた精度の高い計測をすることができなかった。 However, with the technology described in the above-mentioned literature, a desired image could not be obtained, and therefore, highly accurate measurement based on the image could not be performed.
本発明の目的は、上述の課題を解決する技術を提供することにある。 An object of the present invention is to provide a technique for solving the above-mentioned problem.
上記目的を達成するため、本発明に係る加工装置は、
少なくとも1つの移動カメラを含む少なくとも2つのカメラと、
前記少なくとも2つのカメラで取得した画像を用いて、撮影対象物の立体形状を計測する計測手段と、
を備えた。
In order to achieve the above object, a processing apparatus according to the present invention includes:
At least two cameras including at least one moving camera;
Using an image acquired by the at least two cameras, measuring means for measuring the three-dimensional shape of the imaging target,
With.
上記目的を達成するため、本発明に係る加工装置の制御方法は、
少なくとも1つの移動カメラを含む少なくとも2つのカメラを備えた加工装置の制御方法であって、
前記少なくとも2つのカメラで撮影した画像を取得する取得ステップと、
取得した前記画像を用いて、撮影対象物の立体形状を計測する計測ステップと、
を含む。
In order to achieve the above object, a method for controlling a processing apparatus according to the present invention includes:
A method for controlling a processing apparatus including at least two cameras including at least one moving camera,
An obtaining step of obtaining an image captured by the at least two cameras;
Using the acquired image, a measurement step of measuring the three-dimensional shape of the imaging target,
including.
上記目的を達成するため、本発明に係る加工装置の制御プログラムは、
少なくとも1つの移動カメラを含む少なくとも2つのカメラを備えた加工装置の制御プログラムであって、
前記少なくとも2つのカメラで撮影した画像を取得する取得ステップと、
取得した前記画像を用いて、撮影対象物の立体形状を計測する計測ステップと、
をコンピュータに実行させる。
In order to achieve the above object, a control program for a processing apparatus according to the present invention includes:
A control program for a processing apparatus provided with at least two cameras including at least one moving camera,
An obtaining step of obtaining an image captured by the at least two cameras;
Using the acquired image, a measurement step of measuring the three-dimensional shape of the imaging target,
On a computer.
本発明によれば、映像に基づいた精度の高い計測をすることができる。 According to the present invention, highly accurate measurement based on an image can be performed.
以下に、本発明を実施するための形態について、図面を参照して、例示的に詳しく説明記載する。ただし、以下の実施の形態に記載されている、構成、数値、処理の流れ、機能要素などは一例に過ぎず、その変形や変更は自由であって、本発明の技術範囲を以下の記載に限定する趣旨のものではない。 Hereinafter, an embodiment for carrying out the present invention will be illustratively described in detail with reference to the drawings. However, the configurations, numerical values, processing flows, functional elements, and the like described in the following embodiments are merely examples, and modifications and changes are free, and the technical scope of the present invention is described in the following description. It is not intended to be limiting.
[第1実施形態]
本発明の第1実施形態としての加工装置100について、図1を用いて説明する。加工装置100は、カメラ画像から立体形状を計測する装置である。
[First Embodiment]
A
図1に示すように、加工装置100は、移動カメラ101、カメラ102および計測部103を含む。さらに、加工装置100は、少なくとも1つの移動カメラ101を含む少なくとも2つのカメラ101,102を有する。計測部103は、少なくとも2つのカメラ101,102で取得した画像を用いて、撮影対象物110の立体形状を計測する。
As shown in FIG. 1, the
本実施形態によれば、映像に基づいた精度の高い計測をすることができる。 According to the present embodiment, highly accurate measurement based on an image can be performed.
[第2実施形態]
次に本発明の第2実施形態に係る加工装置について、図2A乃至図6を用いて説明する。図2Aは、本実施形態に係る加工装置の構成の一例の概要を示す図である。加工装置200は、回転ステージ230(加工台)に載置された撮影対象物210の加工を行う。加工装置200は、装置内にカメラが少なくとも2台配置されている。
[Second embodiment]
Next, a processing apparatus according to a second embodiment of the present invention will be described with reference to FIGS. 2A to 6. FIG. 2A is a diagram illustrating an outline of an example of a configuration of a processing apparatus according to the present embodiment. The
加工装置200は、移動カメラ201と固定カメラ202とを有する。移動カメラ201は、工具主軸220に取り付けられている。工具主軸220には、スピンドルが取り付けられており、移動カメラ201は、例えば、スピンドルを介して工具主軸220に取り付けられる。そして、移動カメラ201は、工具主軸220またはスピンドルの移動に合わせて動く。つまり、移動カメラ201は、移動式のカメラとなっている。なお、スピンドルは、回転するが、移動カメラ201は、スピンドルの回転に合わせて回転しないように取り付けてもよい。
The
固定カメラ202は、加工装置200の天井に取り付けられている。固定カメラ202は、加工装置200の天井に取り付けられ、移動できない(位置が変わらない)ので、固定式のカメラとなっている。
The
加工装置200は、移動カメラ201および固定カメラ202で撮影し、取得した画像を重ね合わせることで、いわゆるステレオカメラと同じく、立体的な映像を得る。得られた立体的な映像を用いて、加工装置200は、撮影対象物210(ワーク、加工対象物など)の立体形状や、撮影対象物に加工された穴の深さ、段差の大きさなどを計測する。また、加工装置200は、立体形状を計測することにより、工具と撮影対象物210との衝突や、加工装置200の部品と撮影対象物210との衝突などを回避することが可能となる。
The
また、2台のカメラのうち一方を工具主軸220に取り付けて移動カメラ201とし、もう一方を加工装置200の内部に固定して固定カメラ202とすることで、より広範囲の画像が得られる。
Further, one of the two cameras is attached to the
このように、移動カメラ201および固定カメラ202を加工装置200に取り付ければ、装置内の立体映像が得られるので、加工装置200の内部を外部から確認するためのガラス製の窓を設ける必要がなくなる。そのため、仮に、加工装置200の内部で工具の破損や撮影対象物210の破壊などの事故が発生しても、破損した工具などの破片等により窓が壊れて、加工装置200の外部に被害が及ぶことがなくなる。
In this way, if the
次に、移動カメラ201および固定カメラ202の撮影姿勢および設置位置を決定する方法について説明する。移動カメラ201および固定カメラ202で取得した画像を用いて計測した撮影対象物210の立体形状の精度は、ベースアングルが大きくなるほど高くなる。ここで、ベースアングルは、移動カメラ201と固定カメラ202と撮影対象物210とが作る三角形の角度である。このように、立体形状の精度は、ベースアングルが大きいほど高くなるが、一方で、特徴点が2つのカメラ(移動カメラ201、固定カメラ202)で捉えられていないとならない。
Next, a method for determining the shooting posture and the installation position of the
また、移動カメラ201のZ方向の位置は、カメラの視野(FOV;Field of View)を変えるため、撮影対象物210がカメラの視野に収まるか否かの判断で足りる(決定できる)。移動カメラ201のX方向の位置は、撮影対象物210が視野中央に来るような位置であればよい。移動カメラ201のY方向の位置は、ベースアングルが最大となり、撮影対象物210の面の観察が可能な位置となればよい。
Further, the position of the
移動カメラ201および固定カメラ202の撮影姿勢および設置位置は、具体的には、例えば、次の手順に従って決定できる。(1)撮影対象物210(ワーク)のモデルから注目領域を設定する。(2)注目領域の中心と固定カメラ202のなす角をSP軸の角を合致させエピポーララインとカメラの画素方向とを合致させる。(3)注目領域の中心と視野中心とが合致するように移動カメラ201のX座標を決める。(4)注目領域の大きさと移動カメラ201の画角とからZ位置を決定する。(5)撮影対象物210の各ファセットの法線ベクトルのY成分の分布を求める。(6)移動カメラ201から撮影対象物210に向かうベクトルと(5)の法線ベクトルとのなす角があらかじめ定められた値(例えば、70°)以下となるように移動カメラ201の撮影方向を決める。(7)(6)で求めた角度と(4)で求めたZ座標とからY座標を求める。
The photographing attitude and the installation positions of the
図2Bは、本実施形態に係る加工装置の構成の他の例の概要を示す図である。加工装置240は、加工装置200と同様に装置内にカメラが少なくとも2台配置されている。加工装置240では、回転ステージ230がスライドしてY軸方向(鉛直方向)に移動する。加工装置240では、2台の移動カメラ201)が、回転ステージ230に取り付けられている。円盤状のパレット250は、あらかじめ加工対象物(ワーク)などの撮影対象物210が設置されており、図示しない搬送用ロボットなどで回転ステージ230の上へと搬送される。
FIG. 2B is a diagram illustrating an outline of another example of the configuration of the processing apparatus according to the present embodiment. The
2台の移動カメラ201)で取得した画像を用いて、加工装置240の内部の撮影対象物210などを立体形状として捉えることができるので、搬送用ロボットの制御を閉ループ制御とすることができる。また、加工装置240は、立体形状を計測するので、ワークや加工対象物などの撮影対象物210の搬送中に撮影対象物210に応答するNC(Numerical Control)プログラムの適不適の判断や応答するプログラムを選択できる。
Using the images acquired by the two moving cameras 201), the
また、加工装置240は、工具主軸220に取り付けられたスピンドルの一部の立体形状を計測できるので、衝突後の自己チェック、切粉の巻きつきなどをチェックすることができる。加工装置240が、加速度センサ等を備えて衝突などの異常検知ができる装置であれば、異常検出後に立体形状としてスピンドル自体を保存することにより異常状態の検証が容易になる。
In addition, since the
なお、加工装置200,240の内部に配置される移動カメラ201の台数は、1台であっても、複数台であってもよく、加工装置内部における複数台のカメラが全て移動カメラ201であってもよい。移動カメラの台数が1台である時には、加工装置200,240の内部に配置される固定カメラ202は、少なくとも1台必要になるが、固定カメラ202は複数台であってもよい。
The number of
図3は、本実施形態に係る加工装置の構成を示すブロック図である。加工装置200は、移動カメラ201と固定カメラ202と計測部301と検出部302とを有する。移動カメラ201は、加工装置200内を移動可能となっている。また、移動カメラ201は、加工装置200の内部を撮影して、画像を取得する。なお、移動カメラ201は、移動しながら撮影をして、画像を取得しても、撮影の際には、静止した状態で撮影して、画像を取得してもよい。
FIG. 3 is a block diagram illustrating a configuration of the processing apparatus according to the present embodiment. The
固定カメラ202は、加工装置200の内部の所定の位置に取り付けられたカメラである。つまり、固定カメラ202は、動かないカメラである。固定カメラ202は、加工装置200の内部を撮影して、画像を取得する。
The fixed
移動カメラ201および固定カメラ202は、加工装置200の内部に存在するものを撮影対象とする。図3においては、移動カメラ201および固定カメラ202の撮影対象物210は、回転ステージ230(加工台)に載置された加工対象物としている。しかし、撮影対象物210は、例えば、加工装置200の加工対象となる加工対象物(ワーク)や、加工対象物を載せる加工台、工具主軸、工具ホルダ、チャック、刃具などであってもよく、加工装置200の内部に存在するものであれば、これらには限定されない。また、移動カメラ201で固定カメラ202を撮影しても、固定カメラ202で移動カメラ201を撮影してもよい。
The
計測部301は、移動カメラ201および固定カメラ202で撮影し、取得した画像を用いて、撮影対象物210の立体形状を計測する。計測部301は、撮影対象物210を複数の異なる方向から同時に撮影された画像、すなわち、移動カメラ201および固定カメラ202で取得した画像を用いることにより、撮影対象物210の奥行き方向の情報を得られる。これにより、計測部301は、撮影対象物210の立体形状を測定できる。
The
また、検出部302は、固定カメラ202を用いて移動カメラ201の位置を検出して、キャリブレーションを実行する。まず、計測部301は、固定カメラ202により撮影した移動カメラ201の映像を取得する。そして、検出部302は、移動カメラ201と固定カメラ202との内部パラメータ、外部パラメータ、歪係数などのパラメータを求めて、キャリブレーションを行う。キャリブレーションを実行して、上述のパラメータが求まれば、エピポーラ幾何学的な拘束条件により、対応点探索やレクティフィケーションなどを効率的に行うことができる。なお、検出部302は、加工装置200の起動時などのタイミングでキャリブレーションを行う。検出部302によりキャリブレーションを実行するタイミングは、これには限定されず、加工途中や加工完了後などのタイミングであってもよい。因みに、キャリブレーションを行うことなく8点アルゴリズムにより直接三次元座標を算出してもよい。
Further, the
さらに、計測部301は、撮影対象物210の立体形状として、撮影対象物210に加工された穴の深さおよび撮影対象物210に加工された段差の大きさのうち少なくとも1つを計測する。これにより、撮影対象物210の加工状態や加工の進捗状況などが分かるので、加工装置200は、加工条件などを変更したり、制御したりすることができる。なお、計測部301が計測する立体形状は、穴の深さや段差の大きさには限定されず、例えば、穴の直径や溝の深さおよび長さ、などであってもよい。
Further, the
図4は、本実施形態に係る加工装置の備えるカメラテーブルの一例を示す図である。カメラテーブル401は、カメラID(Identifier)411に関連付けて、移動/固定412、位置413、スペック414および撮影画像415を格納する。カメラID411は、カメラを識別するための識別子である。移動/固定412は、カメラが移動式のカメラか固定式のカメラかを示す。位置413は、カメラ(移動カメラ201,固定カメラ202)の位置を示す。スペック414は、カメラの性能を示し、画角やF値、焦点距離、画素数、倍率などが含まれるが、これらには限定されない。撮影画像415は、カメラ(移動カメラ201,固定カメラ202)で撮影した画像である。加工装置200は、例えば、カメラテーブル401を参照して、撮影対象物の立体形状を計測する。また、加工装置200は、カメラテーブル401を参照して、移動カメラ201の位置を検出する。
FIG. 4 is a diagram illustrating an example of a camera table included in the processing apparatus according to the present embodiment. The camera table 401 stores a move /
図5は、本実施形態に係る加工装置のハードウェア構成を示すブロック図である。CPU(Central Processing Unit)510は、演算制御用のプロセッサであり、プログラムを実行することで図3の加工装置200の機能構成部を実現する。CPU510は複数のプロセッサを有し、異なるプログラムやモジュール、タスク、スレッドなどを並行して実行してもよい。ROM(Read Only Memory)520は、初期データおよびプログラムなどの固定データおよびその他のプログラムを記憶する。また、ネットワークインタフェース530は、ネットワークを介して他の装置などと通信する。なお、CPU510は1つに限定されず、複数のCPUであっても、あるいは画像処理用のGPU(Graphics Processing Unit)を含んでもよい。また、ネットワークインタフェース530は、CPU510とは独立したCPUを有して、RAM(Random Access Memory)540の領域に送受信データを書き込みあるいは読み出しするのが望ましい。また、RAM540とストレージ550との間でデータを転送するDMAC(Direct Memory Access Controller)を設けるのが望ましい(図示なし)。さらに、CPU510は、RAM540にデータが受信あるいは転送されたことを認識してデータを処理する。また、CPU510は、処理結果をRAM540に準備し、後の送信あるいは転送はネットワークインタフェース530やDMACに任せる。
FIG. 5 is a block diagram illustrating a hardware configuration of the processing apparatus according to the present embodiment. A CPU (Central Processing Unit) 510 is a processor for arithmetic control, and realizes the functional components of the
RAM540は、CPU510が一時記憶のワークエリアとして使用するランダムアクセスメモリである。RAM540には、本実施形態の実現に必要なデータを記憶する領域が確保されている。位置541は、移動カメラ201および固定カメラ202の加工装置200の内部での位置のデータである。スペック542は、移動カメラ201および固定カメラ202の性能などに関するデータである。撮影画像543は、移動カメラ201および固定カメラ202で撮影した画像のデータである。パラメータ544は、キャリブレーションにより求められた、移動カメラ201と固定カメラ202との間の内部パラメータや外部パラメータ、歪係数などである。
送受信データ545は、ネットワークインタフェース530を介して送受信されるデータである。また、RAM540は、各種アプリケーションモジュールを実行するためのアプリケーション実行領域546を有する。
The transmission /
ストレージ550には、データベースや各種のパラメータ、あるいは本実施形態の実現に必要な以下のデータまたはプログラムが記憶されている。ストレージ550は、カメラテーブル401を格納する。カメラテーブル401は、図4に示した、カメラID411と撮影画像415などとの関係を管理するテーブルである。
The
ストレージ550は、さらに、計測モジュール551および検出モジュール552を格納する。計測モジュール551は、移動カメラ201および固定カメラ202で撮影し、取得した画像を用いて、撮影対象物210の立体形状を計測するモジュールである。また、計測モジュール551は、立体形状として、撮影対象物210に加工された穴の深さおよび撮影対象物210に加工された段差の大きさのうち少なくとも1つを計測するモジュールである。検出モジュール552は、固定カメラ202を用いて移動カメラ201の位置を検出するモジュールである。これらのモジュール551〜552は、CPU510によりRAM540のアプリケーション実行領域546に読み出され、実行される。制御プログラム553は、加工装置200の全体を制御するためのプログラムである。
The
入出力インタフェース560は、入出力機器との入出力データをインタフェースする。入出力インタフェース560には、表示部561、操作部562、が接続される。また、入出力インタフェース560には、さらに、記憶媒体564が接続されてもよい。さらに、音声出力部であるスピーカ563や、音声入力部であるマイク(図示せず)、あるいは、GPS位置判定部が接続されてもよい。なお、図5に示したRAM540やストレージ550には、加工装置200が有する汎用の機能や他の実現可能な機能に関するプログラムやデータは図示されていない。
The input /
図6は、本実施形態に係る加工装置の処理手順を説明するフローチャートである。このフローチャートは、図5のCPU510がRAM540を使用して実行し、図3の加工装置200の機能構成部を実現する。
FIG. 6 is a flowchart illustrating a processing procedure of the processing apparatus according to the present embodiment. This flowchart is executed by the
ステップS601において、加工装置200は、装置の起動作業を実行する。ステップS603において、加工装置200は、キャリブレーションが必要か否かを判断する。キャリブレーションが必要でない場合(ステップS603のNO)、加工装置200は、ステップS609へ進む。キャリブレーションが必要な場合(ステップS603のYES)、加工装置200は、ステップS605へ進む。
In step S601, the
ステップS605において、加工装置200は、固定カメラ202を用いて移動カメラ201の位置を検出する。ステップS607において、加工装置200は、キャリブレーションを実行して、移動カメラ201と固定カメラ202との内部パラメータ、外部パラメータ、歪係数などのパラメータを求める。
In step S605, the
ステップS609において、加工装置200は、移動カメラ201および固定カメラ202で撮影し、取得した画像を取得する。ステップS611において、加工装置200は、移動カメラ201および固定カメラ202で取得した画像を用いて、撮影対象物210の立体形状を計測する。加工装置200は、例えば、立体形状として撮影対象物210に加工された穴の深さおよび撮影対象物210に加工された段差の大きさのうち少なくとも1つを計測する。ステップS613において、加工装置200は、計測を終了するか否かを判断する。計測を終了しないと判断した場合(ステップS613のNO)、加工装置200は、ステップS609へと戻る。計測を終了すると判断した場合(ステップS613のYES)、加工装置200は、処理を終了する。
In step S609, the
本実施形態によれば、映像に基づいた精度の高い計測をすることができる。また、固定カメラを用いて移動カメラの位置を検出するので、カメラのキャリブレーションを行うことができる。さらに、立体形状として撮影対象物に加工された穴の深さや撮影対象物に加工された段差の大きさを計測できる。 According to the present embodiment, highly accurate measurement based on an image can be performed. Further, since the position of the mobile camera is detected using the fixed camera, the camera can be calibrated. Further, it is possible to measure the depth of a hole formed in the object to be photographed as a three-dimensional shape and the size of a step formed in the object to be photographed.
[第3実施形態]
次に本発明の第3実施形態に係る加工装置について、図7乃至図9を用いて説明する。図7は、本実施形態に係る加工装置の構成の一例の概要を示す図である。本実施形態に係る加工装置は、上記第2実施形態と比べると、工具マガジンおよびカメラ交換部を有する点で異なる。その他の構成および動作は、第2実施形態と同様であるため、同じ構成および動作については同じ符号を付してその詳しい説明を省略する。
[Third embodiment]
Next, a processing apparatus according to a third embodiment of the present invention will be described with reference to FIGS. FIG. 7 is a diagram illustrating an outline of an example of a configuration of a processing apparatus according to the present embodiment. The processing apparatus according to the present embodiment is different from the above-described second embodiment in that it has a tool magazine and a camera exchange unit. Other configurations and operations are the same as those of the second embodiment, and thus the same configurations and operations are denoted by the same reference numerals and detailed description thereof will be omitted.
加工装置700は、工具マガジン701とカメラ交換部702とを有する。工具マガジン701は、複数の工具(工具類)とともに複数種類のカメラを収容する。工具マガジン701は、例えば、ATC(Automatic Tool Changer)マガジンであり、工具格納、工具選択、工具交換などの役割を有する。なお、工具マガジン701は、タレット式、マガジン収納式のいずれであってもよい。
The
カメラ交換部702は、選択されたカメラを工具マガジン701から取り出し、加工装置700の内部の所定の位置に取り付ける。カメラ交換部702は、例えば、ロボットアームであり、工具マガジン701からカメラを取り出し、加工装置700の内部の所定の位置に取り付けることができる。なお、カメラ交換部702は、カメラの交換ができる装置などであれば、いずれの装置でもよい。
The
図8は、本実施形態に係る加工装置の備えるカメラテーブルの一例を示す図である。カメラテーブル801は、カメラID411に関連付けて収容位置811を格納する。収容位置811は、工具マガジン701において、カメラが収容されている位置を示す。加工装置700は、カメラテーブル801を参照して、目的に応じたカメラを選択し、交換する。
FIG. 8 is a diagram illustrating an example of a camera table included in the processing apparatus according to the present embodiment. The camera table 801 stores the
図9は、本実施形態に係る加工装置の処理手順を説明するフローチャートである。このフローチャートは、図5のCPU510がRAM540を使用して実行し、図7の加工装置700の機能構成部を実現する。ステップS901において、加工装置700は、カメラの交換が必要か否かを判断する。カメラの交換が必要ないと判断した場合(ステップS901のNO)、加工装置700は、ステップS603へ進む。カメラの交換が必要と判断した場合(ステップS901のYES)、加工装置700は、ステップS903へ進む。ステップS903において、加工装置700は、複数種類のカメラの中から用途に応じたカメラを選択し、交換する。
FIG. 9 is a flowchart illustrating a processing procedure of the processing apparatus according to the present embodiment. This flowchart is executed by the
本実施形態によれば、カメラを選択的に交換できるので、様々な用途に合わせた計測を行える。 According to the present embodiment, the camera can be selectively replaced, so that measurement suitable for various uses can be performed.
[他の実施形態]
以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。また、それぞれの実施形態に含まれる別々の特徴を如何様に組み合わせたシステムまたは装置も、本発明の範疇に含まれる。
[Other embodiments]
Although the present invention has been described with reference to the exemplary embodiments, the present invention is not limited to the above exemplary embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention. In addition, a system or an apparatus in which different features included in each embodiment are combined in any way is also included in the scope of the present invention.
上記目的を達成するため、本発明に係る加工装置は、
加工に用いられる工具を取り付けるための工具主軸と、
少なくとも1つの移動カメラを含む少なくとも2つのカメラと、
前記少なくとも2つのカメラで取得した画像を用いて、撮影対象物の立体形状を計測する計測手段と、
工具とともに前記移動カメラを収容する工具マガジンと、
前記工具マガジンに収容された前記移動カメラを前記工具主軸に取り付けるカメラ取付手段と、
を備えた。
In order to achieve the above object, a processing apparatus according to the present invention includes:
A tool spindle for mounting a tool used for machining,
At least two cameras including at least one moving camera;
Using an image acquired by the at least two cameras, measuring means for measuring the three-dimensional shape of the imaging target,
A tool magazine accommodating the moving camera together with a tool,
Camera mounting means for mounting the moving camera housed in the tool magazine to the tool spindle,
With.
上記目的を達成するため、本発明に係る加工装置の制御方法は、
加工に用いられる工具を取り付けるための工具主軸と、
少なくとも1つの移動カメラを含む少なくとも2つのカメラと、
前記少なくとも2つのカメラで取得した画像を用いて、撮影対象物の立体形状を計測する計測手段と、
工具とともに前記移動カメラを収容する工具マガジンと、
前記工具マガジンに収容された前記移動カメラを前記工具主軸に取り付けるカメラ取付手段と、
を備えた加工装置の制御方法であって、
前記工具マガジンに収容された前記移動カメラを前記工具主軸に取り付けるカメラ取付ステップと、
前記移動カメラで撮影した画像を取得する取得ステップと、
取得した前記画像を用いて、撮影対象物の立体形状を計測する計測ステップと、
を含む。
In order to achieve the above object, a method for controlling a processing apparatus according to the present invention includes:
A tool spindle for mounting a tool used for machining,
At least two cameras including at least one moving camera;
Using an image acquired by the at least two cameras, measuring means for measuring the three-dimensional shape of the imaging target,
A tool magazine accommodating the moving camera together with a tool,
Camera mounting means for mounting the moving camera housed in the tool magazine to the tool spindle,
A method for controlling a processing apparatus comprising:
A camera mounting step of mounting the moving camera accommodated in the tool magazine to the tool spindle,
An acquisition step of acquiring an image taken by the moving camera,
Using the acquired image, a measurement step of measuring the three-dimensional shape of the imaging target,
including.
上記目的を達成するため、本発明に係る加工装置の制御プログラムは
加工に用いられる工具を取り付けるための工具主軸と、
少なくとも1つの移動カメラを含む少なくとも2つのカメラと、
前記少なくとも2つのカメラで取得した画像を用いて、撮影対象物の立体形状を計測する計測手段と、
工具とともに前記移動カメラを収容する工具マガジンと、
前記工具マガジンに収容された前記移動カメラを前記工具主軸に取り付けるカメラ取付手段と、
を備えた加工装置の制御プログラムであって、
前記工具マガジンに収容された前記移動カメラを前記工具主軸に取り付けるカメラ取付ステップと、
前記移動カメラで撮影した画像を取得する取得ステップと、
取得した前記画像を用いて、撮影対象物の立体形状を計測する計測ステップと、
をコンピュータに実行させる。
In order to achieve the above object, a control program for a processing apparatus according to the present invention
A tool spindle for mounting a tool used for machining,
At least two cameras including at least one moving camera;
Using an image acquired by the at least two cameras, measuring means for measuring the three-dimensional shape of the imaging target,
A tool magazine accommodating the moving camera together with a tool,
Camera mounting means for mounting the moving camera housed in the tool magazine to the tool spindle,
A control program for a processing apparatus comprising:
A camera mounting step of mounting the moving camera accommodated in the tool magazine to the tool spindle,
An acquisition step of acquiring an image taken by the moving camera,
Using the acquired image, a measurement step of measuring the three-dimensional shape of the imaging target,
On a computer.
Claims (7)
前記少なくとも2つのカメラで取得した画像を用いて、撮影対象物の立体形状を計測する計測手段と、
を備えた加工装置。 At least two cameras including at least one moving camera;
Using an image acquired by the at least two cameras, measuring means for measuring the three-dimensional shape of the imaging target,
Processing equipment equipped with
前記固定カメラを用いて前記移動カメラの位置を検出する検出手段をさらに備えた請求項1に記載の加工装置。 The at least two cameras include a fixed camera mounted inside the processing device;
The processing apparatus according to claim 1, further comprising a detection unit configured to detect a position of the mobile camera using the fixed camera.
収容された前記複数種類のカメラを選択的に交換するカメラ交換手段と、
をさらに備えた請求項1乃至4のいずれか1項に記載の加工装置。 A tool magazine that houses multiple types of cameras with multiple tools,
Camera exchange means for selectively exchanging the plurality of types of stored cameras,
The processing apparatus according to any one of claims 1 to 4, further comprising:
前記少なくとも2つのカメラで撮影した画像を取得する取得ステップと、
取得した前記画像を用いて、撮影対象物の立体形状を計測する計測ステップと、
を含む加工装置の制御方法。 A method for controlling a processing apparatus including at least two cameras including at least one moving camera,
An obtaining step of obtaining an image captured by the at least two cameras;
Using the acquired image, a measurement step of measuring the three-dimensional shape of the imaging target,
A method for controlling a processing apparatus including:
前記少なくとも2つのカメラで撮影した画像を取得する取得ステップと、
取得した前記画像を用いて、撮影対象物の立体形状を計測する計測ステップと、
をコンピュータに実行させる加工装置の制御プログラム。 A control program for a processing apparatus provided with at least two cameras including at least one moving camera,
An obtaining step of obtaining an image captured by the at least two cameras;
Using the acquired image, a measurement step of measuring the three-dimensional shape of the imaging target,
Control program for a processing apparatus that causes a computer to execute the processing.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018167081A JP6595065B1 (en) | 2018-09-06 | 2018-09-06 | Machining apparatus, machining apparatus control method, and machining apparatus control program |
PCT/JP2019/031959 WO2020049973A1 (en) | 2018-09-06 | 2019-08-14 | Processing device, control method for processing device, and control program for processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018167081A JP6595065B1 (en) | 2018-09-06 | 2018-09-06 | Machining apparatus, machining apparatus control method, and machining apparatus control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6595065B1 JP6595065B1 (en) | 2019-10-23 |
JP2020040130A true JP2020040130A (en) | 2020-03-19 |
Family
ID=68314149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018167081A Expired - Fee Related JP6595065B1 (en) | 2018-09-06 | 2018-09-06 | Machining apparatus, machining apparatus control method, and machining apparatus control program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6595065B1 (en) |
WO (1) | WO2020049973A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020126461A (en) * | 2019-02-05 | 2020-08-20 | ファナック株式会社 | Machine controller |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109940463B (en) * | 2019-01-18 | 2021-08-10 | 哈尔滨理工大学 | On-machine detection clamp for machining size of quenched steel die for milling machine and control method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0961140A (en) * | 1995-08-28 | 1997-03-07 | Denso Corp | Image input apparatus and inspection method using it |
JP2000131032A (en) * | 1998-10-24 | 2000-05-12 | Hitachi Seiki Co Ltd | Method and device for measuring three-dimensional profile |
JP2000180106A (en) * | 1998-12-21 | 2000-06-30 | Kokko:Kk | Work machining instrument and computer-readable recording medium |
JP2005300512A (en) * | 2004-03-18 | 2005-10-27 | Ricoh Co Ltd | Surface defect inspecting apparatus, surface defect inspection method, and program for making computer execute the same |
JP2008168372A (en) * | 2007-01-10 | 2008-07-24 | Toyota Motor Corp | Robot device and shape recognition method |
US20180150062A1 (en) * | 2016-11-25 | 2018-05-31 | Glowforge Inc. | Controlled deceleration of moveable components in a computer numerically controlled machine |
-
2018
- 2018-09-06 JP JP2018167081A patent/JP6595065B1/en not_active Expired - Fee Related
-
2019
- 2019-08-14 WO PCT/JP2019/031959 patent/WO2020049973A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0961140A (en) * | 1995-08-28 | 1997-03-07 | Denso Corp | Image input apparatus and inspection method using it |
JP2000131032A (en) * | 1998-10-24 | 2000-05-12 | Hitachi Seiki Co Ltd | Method and device for measuring three-dimensional profile |
JP2000180106A (en) * | 1998-12-21 | 2000-06-30 | Kokko:Kk | Work machining instrument and computer-readable recording medium |
JP2005300512A (en) * | 2004-03-18 | 2005-10-27 | Ricoh Co Ltd | Surface defect inspecting apparatus, surface defect inspection method, and program for making computer execute the same |
JP2008168372A (en) * | 2007-01-10 | 2008-07-24 | Toyota Motor Corp | Robot device and shape recognition method |
US20180150062A1 (en) * | 2016-11-25 | 2018-05-31 | Glowforge Inc. | Controlled deceleration of moveable components in a computer numerically controlled machine |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020126461A (en) * | 2019-02-05 | 2020-08-20 | ファナック株式会社 | Machine controller |
Also Published As
Publication number | Publication date |
---|---|
WO2020049973A1 (en) | 2020-03-12 |
JP6595065B1 (en) | 2019-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6407812B2 (en) | Machine tool control system capable of obtaining workpiece origin and workpiece origin setting method | |
JP7167012B2 (en) | Systems, methods and apparatus for locating parts for use in manufacturing operations | |
US8295585B2 (en) | Method for determining the position of an object in space | |
JP2020011339A (en) | Robot system control method and robot system | |
EP1555508A1 (en) | Measuring system | |
EP1607194A2 (en) | Robot system comprising a plurality of robots provided with means for calibrating their relative position | |
CN111193862B (en) | Camera calibration device and camera calibration method | |
JP2016185572A (en) | Robot, robot control device, and robot system | |
US10359266B2 (en) | Position measurement method of object in machine tool and position measurement system of the same | |
US9942524B2 (en) | Device and method for detecting the position of an object in a machine tool | |
JP6129058B2 (en) | Teaching point correction apparatus and teaching point correction method | |
WO2006079617A1 (en) | Device and method for calibrating the center point of a tool mounted on a robot by means of a camera | |
CA2874573C (en) | Method for estimating the rotational speed of a tool mounted on a rotating spindle of a machine tool and such a machine tool | |
WO2020049973A1 (en) | Processing device, control method for processing device, and control program for processing device | |
US20170292827A1 (en) | Coordinate measuring system | |
CN116958146B (en) | Acquisition method and device of 3D point cloud and electronic device | |
JP2021193400A (en) | Method for measuring artefact | |
CN115066313B (en) | Workpiece mounting method for machining device, workpiece mounting support system, and storage medium | |
US20200366814A1 (en) | Image capturing apparatus, image processing apparatus, image processing method, image capturing apparatus calibration method, robot apparatus, method for manufacturing article using robot apparatus, and recording medium | |
JPH09253979A (en) | Tool edge position measuring device | |
CN109732601B (en) | Method and device for automatically calibrating pose of robot to be perpendicular to optical axis of camera | |
WO2022124232A1 (en) | Image processing system and image processing method | |
JP2019104093A (en) | Robot system | |
CN112258578A (en) | Coordinate origin measuring method and device | |
JPH012891A (en) | Vision robot system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180907 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190820 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190905 |
|
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: 20190924 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190925 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6595065 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |