JP3264378B2 - Method of creating teaching data for imaging device - Google Patents

Method of creating teaching data for imaging device

Info

Publication number
JP3264378B2
JP3264378B2 JP26895291A JP26895291A JP3264378B2 JP 3264378 B2 JP3264378 B2 JP 3264378B2 JP 26895291 A JP26895291 A JP 26895291A JP 26895291 A JP26895291 A JP 26895291A JP 3264378 B2 JP3264378 B2 JP 3264378B2
Authority
JP
Japan
Prior art keywords
imaging
display
teaching data
data
teaching
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.)
Expired - Fee Related
Application number
JP26895291A
Other languages
Japanese (ja)
Other versions
JPH0580836A (en
Inventor
均 佐々木
良美 新原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mazda Motor Corp
Original Assignee
Mazda Motor Corp
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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP26895291A priority Critical patent/JP3264378B2/en
Publication of JPH0580836A publication Critical patent/JPH0580836A/en
Application granted granted Critical
Publication of JP3264378B2 publication Critical patent/JP3264378B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】 本発明は撮像装置のティーチン
グデータ作成方法に関し、特にティーチングデータをオ
フラインにてシュミレーションで作成するティーチング
データ作成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for creating teaching data of an imaging apparatus, and more particularly, to a method for creating teaching data for performing offline simulation by teaching data.

【0002】[0002]

【従来の技術】 従来より、自動車製造工場において
は、ロボット等を用いて加工・組立作業の自動化が進め
られているが、最近では、例えば車体の塗装面の検査な
ど検査作業の自動化も進められている。前記車体の塗装
面を自動的に検査する装置としては、ロボットとロボッ
トのハンド部に装着した撮像ヘッドとを備えた撮像装置
が用いられ、車体のボンネット、ルーフなどの各部位の
塗装面を複数分割した撮像領域を予め設定し、次に撮像
装置に各撮像領域の中心を通る法線上の撮像ポイントを
ティーチングするティーチングデータを作成し、そのテ
ィーチングデータに基いて撮像装置を駆動制御して撮像
領域の各々を順次自動的に撮像し、撮像領域における塗
装欠陥部位の有無などを検査する技術が開発されつつあ
る。
2. Description of the Related Art Conventionally, in a car manufacturing plant, automation of processing and assembly work has been promoted using a robot or the like. Recently, however, automation of inspection work such as inspection of a painted surface of a vehicle body has also been promoted. ing. As a device for automatically inspecting the painted surface of the vehicle body, an image capturing device having a robot and an image head mounted on a hand part of the robot is used. The divided imaging regions are set in advance, and then the teaching device creates teaching data for teaching an imaging point on a normal passing through the center of each imaging region, and drives and controls the imaging device based on the teaching data to obtain the imaging region. Are being developed in order to automatically and sequentially image each of them, and inspect the presence or absence of a paint defect portion in the imaging region.

【0003】従来、前記ティーチングデータの作成方法
としては、オペレータが検査ステーションに配設された
撮像装置を直接ティーチングしたり或いは遠隔操作によ
りティーチングしてティーチングデータを作成する方法
は、容易に実用化可能である。しかし、オフラインにて
ティーチングできるようにすることが望ましいことか
ら、ディスプレイを含む表示手段と、外部からワークの
構造データを受けてディスプレイに表示する為の画像デ
ータと撮像ポイントのティーチングデータとを作成する
データ処理手段と、データ処理手段を介して表示手段を
操作する操作手段を用い、オペレータがオフラインにて
シュミレーションでティーチングデータを作成する方法
を実用化することが望ましい。
Conventionally, as a method of creating teaching data, a method in which an operator directly teaches an imaging device provided at an inspection station or teaches by remote control to create teaching data can be easily put into practical use. It is. However, since it is desirable that teaching can be performed off-line, display means including a display, image data for receiving structural data of a work from the outside, and teaching data of an imaging point to be displayed on the display are created. It is desirable to put into practical use a method in which an operator creates teaching data offline by simulation using data processing means and operating means for operating the display means via the data processing means.

【0004】[0004]

【発明が解決しようとする課題】前記シュミレーション
により撮像装置のティーチングデータを作成する方法に
おいても、ワークの表面を複数分割した撮像領域を設定
してディスプレイに表示させる必要がある。その撮像領
域を設定する場合、ワークの構造データを用いて撮像領
域を設定することが考えられるが、データの抽出や数値
演算処理等の複雑な手順を繰り返し行わなければなら
ず、撮像領域の設定に長い時間を要するうえ設定ミスを
招きやすく、従って、ティーチングデータの作成能率が
著しく低下し、精度の高いティーチングデータが得られ
ないという問題がある。
In the above-described method of creating teaching data of an image pickup apparatus by simulation, it is necessary to set an image pickup area obtained by dividing the surface of a work into a plurality of pieces and display the image on a display. When setting the imaging area, it is conceivable to set the imaging area using the structure data of the work. However, complicated procedures such as data extraction and numerical calculation processing have to be repeatedly performed. However, there is a problem in that it takes a long time, and setting errors are apt to occur, so that the efficiency of creating teaching data is significantly reduced and highly accurate teaching data cannot be obtained.

【0005】本発明の目的は、簡単に且つ精度良く複数
の撮像領域を設定することが出来、ティーチングデータ
の作成能率とその精度とを著しく高め得るような撮像装
置のティーチングデータの作成方法を提供することであ
る。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method of generating teaching data of an imaging apparatus which can easily and accurately set a plurality of imaging areas and can significantly improve the efficiency and accuracy of generating teaching data. It is to be.

【0006】[0006]

【課題を解決するための手段】 請求項1に係る撮像装
置のティーチングデータ作成方法は、図1の機能ブロッ
ク図に示すように、ワークの表面を複数分割した撮像領
域の各々を順次自動的に撮像する撮像装置に、各撮像領
域の中心を通る法線上の撮像ポイントをティーチングす
るティーチングデータを作成する方法であって、ディス
プレイを含む表示手段と、外部からワークの構造データ
を受けてディスプレイに表示する為の画像データと前記
ティーチングデータとを作成するデータ処理手段と、デ
ータ処理手段を介して表示手段を操作する操作手段とを
用いてティーチングデータを作成する方法において、
ィスプレイに、ワークの表面の少なくとも一部と、前記
撮像装置でワーク表面を撮像する1回分の領域を指示
する指示マークMとを表示させ、前記表示されたワーク
の表面に前記指示マークMを順々に移動させて並べるこ
とによりワークの表面を複数回で撮像する複数の撮像領
域を順次決定し、それら複数の撮像領域を用いてティー
チングデータを作成することを特徴とするものである。
According to a first aspect of the present invention, there is provided a method for generating teaching data for an image pickup apparatus, wherein, as shown in a functional block diagram of FIG. A method for creating teaching data for teaching an imaging point on a normal passing through the center of each imaging region to an imaging device for imaging, a display unit including a display, and receiving structural data of a workpiece from the outside and displaying the data on the display Data processing means for creating image data for teaching and the teaching data, and a method for creating teaching data using operating means for operating the display means via the data processing means , the display, the surface of the work surface At least in part and said
Specify the area for one-time imaging of the surface of the work with the imaging device
And an indication mark M to be displayed.
Move the indicator marks M on the surface of
And a plurality of imaging regions for sequentially imaging the surface of the workpiece a plurality of times, and teeing is performed using the plurality of imaging regions.
It is characterized in that it creates ringing data.

【0007】請求項2に係る撮像装置のティーチングデ
ータ作成方法は、請求項1の発明において、前記ディス
プレイ表示される前記各指示マークMは、撮像領域指
示マークMaと、この撮像領域指示マークMaの外周側
枠状に位置し且つ撮像時に重複して撮像される重複領
に相当する重複領域指示マークMbを含むことを特徴
とするものである。
[0007] teaching data creation method of the imaging apparatus according to claim 2 is the invention of claim 1, wherein each of the indication mark M that is displayed on the display, and the imaging region indication mark Ma, the imaging region indication mark Ma And an overlapping area indication mark Mb corresponding to an overlapping area that is located in a frame shape on the outer peripheral side and is overlapped and imaged during imaging.

【0008】請求項3に係る撮像装置のティーチングデ
ータ作成方法は、請求項1の発明において、前記ディス
プレイ上に前記指示マークMを介して決定された撮像領
域を ディスプレイに識別可能に表示することを特徴とす
るものである。
According to a third aspect of the present invention , there is provided a method for generating teaching data for an imaging apparatus according to the first aspect of the invention , wherein the imaging area determined via the indication mark M on the display is provided.
The region is displayed on the display in a distinguishable manner.

【0009】請求項4に係る撮像装置のティーチングデ
ータ作成方法は、請求項3の発明において、前記識別可
能に表示する為に、表示色を異ならせることを特徴とす
るものである。
[0009] teaching data creation method of the imaging apparatus according to claim 4 is the invention of claim 3, wherein the identifiable
It is characterized in that the display colors are made different for the purpose of display .

【0010】[0010]

【作用】 請求項1の発明においては、ティーチングデ
ータを作成する際には、オペレータが操作手段を操作す
ることによりワークの構造データをデータ処理手段に入
力し、データ処理手段を介して表示手段のディスプレイ
にワークの表面の少なくとも一部と、前記撮像装置でワ
ーク表面を撮像する1回分の撮像領域を指示する指示
マークMとを表示させる。次にオペレータが操作手段を
操作することにより、前記表示されたワークの表面に前
記指示マークMを順々に移動させて並べることによりワ
ークの表面を複数回で撮像する複数の撮像領域を順次決
定し、それら複数の撮像領域を用いてティーチングデー
タを作成する。次に以上のようにして決定された複数の
撮像領域と、ワークの構造データを用いて撮像ポイント
を求め、ティーチングデータを作成する。このように、
ディスプレイにワークの表面の少なくとも一部と1回分
の撮像領域を指示する指示マークとを表示し、この指
マークを介して複数の撮像領域を決定するので、簡単に
且つ能率良く決定することが出来、撮像領域の設定ミス
を確実に防止することが出来る。従って、ティーチング
データの作成能率を著しく高めることが出来、精度の高
いティーチングデータを得ることが出来る。
According to the first aspect of the present invention , when creating teaching data, the operator operates the operating means to input the structural data of the work to the data processing means, and to display the data on the display means via the data processing means. at least part of the surface of the workpiece on the display, follower by the imaging device
Instruction to 1 batch of the imaging region for imaging the surface of the over click
The mark M is displayed. Next, the operator
By operating, the front of the displayed workpiece surface
By moving the instruction marks M in order and arranging them,
Multiple imaging regions for imaging the surface of the workpiece multiple times
Teaching day using these multiple imaging areas.
Create data. Next, an imaging point is determined using the plurality of imaging regions determined as described above and the structure data of the work , and teaching data is created. in this way,
At least part batch of the surface of the workpiece on the display
Display an indication mark for indicating the imaging region of, because it determines a plurality of image pickup areas through the instructions mark this, it is possible to determine simply and efficiently, reliably prevent setting errors of the imaging region You can do it. Therefore, the efficiency of creating teaching data can be significantly improved, and highly accurate teaching data can be obtained.

【0011】請求項2の発明においては、前記ディスプ
レイに表示される前記各指示マークMは、撮像領域指示
マークMaと、この撮像領域指示マークMaの外周側に
枠状に位置し且つ撮像時に重複して撮像される重複領域
に相当する重複領域指示マークMbを含むので、ワーク
の表面に撮像されない領域が発生するのを確実に防止す
ることができる。その他請求項1と同様の作用を奏す
る。
According to the second aspect of the present invention , the display
Each of the instruction marks M displayed on the ray indicates an imaging area instruction.
Mark Ma and the outer peripheral side of the imaging region indication mark Ma.
Overlapping area that is located in a frame shape and is overlapped during imaging
, The overlapping area indication mark Mb corresponding to
Area that is not imaged on the surface of the
Can be Other operations are the same as those of the first aspect.
You.

【0012】請求項3の発明においては、前記ディスプ
レイ上に前記指示マークMを介して 決定された撮像領域
をディスプレイに識別可能に表示するので、オペレータ
は決定した撮像領域を明瞭に把握することができる。そ
の他請求項1と同様の作用を奏する。
According to the third aspect of the present invention , the display
An imaging area determined on the ray via the indication mark M
Is displayed on the display so that the operator can
Can clearly grasp the determined imaging region. So
Has the same effect as the first aspect.

【0013】請求項4の発明においては、前記識別可能
に表示する為に、表示色を異ならせるため、オペレータ
にとって識別しやすい。その他請求項3と同様の作用を
奏する。
In the invention according to claim 4 , the identifiable
In order to display in different colors, the operator
Easy to identify. Other actions similar to those of claim 3
Play.

【0014】[0014]

【発明の効果】 本発明の撮像装置のティーチングデー
タの作成方法によれば、前記作用の項で説明したように
次のような効果が得られる。請求項1の発明によれば、
ディスプレイにワークの表面の少なくとも一部と1回分
の撮像領域を指示する指示マークとを表示し、この指
示マークMを順々に移動させて並べることによりワーク
の表面を複数回で撮像する複数の撮像領域を順次決定
し、それら複数の撮像領域を用いてティーチングデータ
を作成するので、簡単に且つ能率的に複数の撮像領域を
決定することが出来、撮像領域の設定ミスを確実に防止
することが出来る。従って、ティーチングデータの作成
能率を著しく高めることが出来、精度の高いティーチン
グデータを得ることが出来る。
According to the method for creating teaching data of the image pickup apparatus of the present invention, the following effects can be obtained as described in the section of the operation. According to the invention of claim 1,
At least part batch of the surface of the workpiece on the display
Work by the display an indication mark M indicating the imaging region, arranged to move the finger <br/> shows mark M This in turn
Multiple imaging regions for sequentially imaging the surface of the camera
Teaching data using these multiple imaging areas
Is created, it is possible to easily and efficiently determine a plurality of imaging regions, and it is possible to reliably prevent an erroneous setting of the imaging regions. Therefore, the efficiency of creating teaching data can be significantly improved, and highly accurate teaching data can be obtained.

【0015】請求項2の発明によれば、前記ディスプレ
イに表示される前記各指示マークMは、撮像領域指示マ
ークMaと、この撮像領域指示マークMaの外周側に枠
状に位置し且つ撮像時に重複して撮像される重複領域に
相当する重複領域指示マークMbを含むので、ワークの
表面に撮像されない領域が発生するのを確実に防止する
ことが出来る。その他請求項1と同様の効果が得られ
る。
According to the second aspect of the present invention , the display
Each of the instruction marks M displayed on the a
Frame Ma and a frame on the outer peripheral side of the imaging region indication mark Ma.
In the overlapping area that is
Since the corresponding overlap region indicating mark Mb is included, it is possible to reliably prevent the occurrence of a region that is not imaged on the surface of the work. Other effects similar to those of the first aspect are obtained.
You.

【0016】請求項3の発明によれば、前記ディスプレ
イ上に前記指示マークMを介して決定された撮像領域を
ディスプレイに識別可能に表示するので、オペレータは
決定した撮像領域を明瞭に把握することが出来る。その
他請求項1と同様の効果が得られる。
According to the third aspect of the present invention , the display
The imaging area determined via the instruction mark M on
Since the information is displayed on the display in an identifiable manner, the operator can clearly grasp the determined imaging area. That
The same effect as in the first aspect can be obtained.

【0017】請求項4の発明によれば、前記識別可能に
表示する為に、表示色を異ならせるため、オペレータに
とって識別しやすいものとなる。その他請求項3と同様
の効果が得られる。
According to the fourth aspect of the present invention , the identifiable state
Since the display colors are different for display, it is easy for the operator to identify. Others as in claim 3
The effect of is obtained.

【0018】[0018]

【実施例】 以下、本発明の実施例について図面に基い
て説明する。本実施例は、自動車製造工場の水研加工ラ
インの検査ステーションに配設され車体の塗装面を検査
するための撮像装置に、車体の塗装面を複数分割した撮
像領域の各々の撮像ポイントをティーチングするティー
チングデータをオフラインにてシュミレーションで作成
する方法に本発明を適用したものである。先ず、撮像装
置1について簡単に説明する。図2に示すように、検査
ステーションには、車体Bのボンネット、ルーフ及びト
ランクリッドの塗装面を検査する撮像装置1と、車体B
の左右のフロントフェンダ、ドア及びリヤフェンダの塗
装面を夫々検査する撮像装置1との3組の撮像装置1が
配設され、各撮像装置1は、6軸の自由度を有する多関
節型のロボット2と、ロボット2のハンド2aに装着さ
れた撮像ヘッド3と、ロボット2をティーチングデータ
に基いて駆動制御するとともに撮像ヘッド3からの画像
信号を処理する制御装置4などで構成されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. The present embodiment teaches an imaging device, which is provided at an inspection station of a water laboratory processing line of an automobile manufacturing plant, for inspecting a painted surface of a vehicle body, at each imaging point of an imaging region obtained by dividing the painted surface of the vehicle body into a plurality. The present invention is applied to a method of creating teaching data to be performed offline by simulation. First, the imaging device 1 will be briefly described. As shown in FIG. 2, the inspection station includes an imaging device 1 for inspecting the painted surfaces of the hood, roof, and trunk lid of the vehicle body B,
Of the left and right front fender, door and rear fender, respectively, are provided with three sets of imaging devices 1, each of which is a multi-joint type robot having six degrees of freedom. 2, an imaging head 3 mounted on the hand 2a of the robot 2, a control device 4 for controlling the driving of the robot 2 based on the teaching data and processing an image signal from the imaging head 3, and the like.

【0019】次に、撮像装置1のティーチングデータを
作成するためのティーチングデータ作成装置10につい
て説明する。図2・図3に示すように、ティーチングデ
ータ作成装置10は、ディスプレイ11aを有する表示
装置11と、CADで作成され設計において活用されて
いる車体Bの構造データを格納したフロッピディスクや
作成したティーチングデータを格納するためのフロッピ
ーディスクなどを駆動するためのフロッピーディスクド
ライブ装置12と、オペレータにより操作されるキーボ
ード13及びマウス14と、表示装置11、フロッピー
ディスクドライブ装置12、キーボート13及びマウス
14を制御するとともに種々のデータ処理を行う制御装
置15などで構成され、制御装置15には、表示装置1
1、フロッピーディスクドライブ装置12、キーボード
13及びマウス14とが夫々図示のようにバスを介して
接続されている。制御装置15は、CPUとROMとR
AMとを含むコンピュータと入出力インターフェイスな
どを備え、ROMには、構造データ読出し処理及び構造
データの補間演算処理と、必要な種々の表示の為の表示
データ作成処理及び表示制御と、撮像領域決定後撮像ポ
イントのデータを用いてティーチングデータを作成する
ティーチングデータ作成処理と、作成されたティーチン
グデータに基いてシュミレーションを行うシュミレーシ
ョン制御等を含む後述するティーチングデータ作成制御
の制御プログラムが格納されている。
Next, a teaching data creating device 10 for creating teaching data of the imaging device 1 will be described. As shown in FIGS. 2 and 3, the teaching data creating device 10 includes a display device 11 having a display 11a, a floppy disk storing the structural data of the vehicle body B created by CAD and utilized in the design, or a created teaching device. Controls a floppy disk drive 12 for driving a floppy disk or the like for storing data, a keyboard 13 and a mouse 14 operated by an operator, and a display 11, a floppy disk drive 12, a keyboard 13 and a mouse 14. And a control device 15 for performing various data processing. The control device 15 includes a display device 1
1. A floppy disk drive 12, a keyboard 13 and a mouse 14 are connected via a bus as shown in the figure. The control device 15 includes a CPU, a ROM, and an R
A computer including an AM and an input / output interface are provided. The ROM has a structure data readout process and a structure data interpolation operation process, a display data creation process and display control for various necessary displays, and an imaging area determination. A control program for teaching data creation processing for creating teaching data using data of the post-imaging point, and a control program for teaching data creation control described later, including simulation control for performing simulation based on the created teaching data, are stored.

【0020】次に、ティーチングデータ作成制御につい
て、本発明に係る制御を主として図4に示すフローチャ
ートに基いて説明する。尚、3組の撮像装置1について
のティーチングデータの作成は基本的に同様に行われる
ので、車体Bのボンネット、ルーフ及びトランクリッド
の塗装面を検査する撮像装置1のティーチングデータを
作成する場合について説明する。尚、図中Si(i=
1、2、・・・)は各ステップを示す。また、ティーチ
ングデータ作成装置10の電源投入とともにルーチンが
起動するものとする。電源が投入されると、メモリのク
リヤなどの初期設定が行われ(S1)、これと並行して
オペレータは、フロッピーディスクドライブ装置12
に、これからティーチングデータを作成しようとする所
定車種の車体Bの構造データが格納されたフロッピーデ
ィスクと作成されたティーチングデータを格納するため
のフロッピーディスクとを装着する。次に車体Bの構造
データを読込むためのコマンドが入力されるまで待機し
(S2:No)、オペレータがキーボード13を操作し
てデータ読込みコマンドを入力すると(S2:Ye
s)、フロッピーディスクドライブ装置12が駆動さ
れ、車体Bの構造データが読込まれる(S3)。
Next, with regard to the teaching data creation control, the control according to the present invention will be described mainly with reference to the flowchart shown in FIG. Since the creation of the teaching data for the three sets of the imaging devices 1 is basically performed in the same manner, the case where the teaching data of the imaging device 1 for inspecting the painted surfaces of the hood, the roof, and the trunk lid of the vehicle body B is created. explain. In the figure, Si (i =
1, 2,...) Indicate each step. Further, it is assumed that the routine is started when the power of the teaching data creation device 10 is turned on. When the power is turned on, initial settings such as clearing of the memory are performed (S1). In parallel with this, the operator operates the floppy disk drive 12
Then, a floppy disk storing structural data of a vehicle body B of a predetermined vehicle type for which teaching data is to be created and a floppy disk for storing the created teaching data are mounted. Next, it waits until a command for reading the structural data of the vehicle body B is input (S2: No), and when the operator operates the keyboard 13 and inputs a data read command (S2: Ye)
s), the floppy disk drive 12 is driven, and the structural data of the vehicle body B is read (S3).

【0021】次に車体Bの構造データと撮像装置1の諸
元データなどに基いて、図3に示すように、初期画面と
して、ディスプレイ11aに検査ステーションの所定位
置に停止した車体Bと検査ステーションの所定位置に配
設された撮像装置1が3次元的に表示される(S4)。
この場合、予めプログラムに格納されている撮像装置1
の諸元データと検査ステーションにおける撮像装置1及
び車体Bの配置データと、読み込まれた車体Bの構造デ
ータとに基いてディスプレイ11aに表示するための画
像データが作成され、この画像データが表示装置11に
転送されて表示される。尚、ディスプレイ11aには、
車体Bの車種コードも表示されるものとする。次に今回
ティーチングデータを作成する車体Bの部位を指定する
コマンドが入力されているか否かが判定される(S
5)。コマンドが入力されていない場合には(S5:N
o)、コマンドが入力されるまで待機し、例えば、オペ
レータがボンネットBNを指定するコマンドを入力する
と(S5:Yes)、図5に示すように、ボンネットB
Nがディスプレイ11aの略中央部に2次元的に表示さ
れるとともに、ディスプレイ11aの下部には、ボンネ
ットBNに複数の撮像領域を設定するための指示マーク
Mが初期位置に表示される(S6)。この指示マークM
は、撮像領域に相当する撮像領域指示マークMaと、撮
像領域指示マークMaの外周側に位置する重複領域であ
って撮像時に重複して撮像される重複領域に相当する重
複領域指示マークMbと、撮像領域の中心を示す撮像中
心指示マークMcとで構成され、撮像領域指示マークM
aは赤色で表示され、重複領域指示マークMbと撮像中
心指示マークMcは白色で表示されるようになってい
る。
Next, based on the structural data of the vehicle body B and the specification data of the image pickup device 1, as shown in FIG. Is displayed three-dimensionally (S4).
In this case, the imaging device 1 stored in the program in advance
The image data to be displayed on the display 11a is created based on the specification data, the arrangement data of the imaging device 1 and the vehicle body B at the inspection station, and the read structural data of the vehicle body B. 11 and displayed. The display 11a has
The vehicle type code of the vehicle body B is also displayed. Next, it is determined whether or not a command for designating a part of the vehicle body B for which the teaching data is to be generated this time is input (S
5). If no command has been input (S5: N
o), and waits until a command is input. For example, when the operator inputs a command specifying the bonnet BN (S5: Yes), as shown in FIG.
N is displayed two-dimensionally at a substantially central portion of the display 11a, and an instruction mark M for setting a plurality of imaging regions on the bonnet BN is displayed at an initial position below the display 11a (S6). . This instruction mark M
Is an imaging area indication mark Ma corresponding to an imaging area, an overlapping area indication mark Mb corresponding to an overlapping area located on the outer peripheral side of the imaging area indication mark Ma and being overlapped during imaging, An imaging center indication mark Mc indicating the center of the imaging area.
“a” is displayed in red, and the overlap region indicating mark Mb and the imaging center indicating mark Mc are displayed in white.

【0022】次にオペレータが指示マークMを最初に撮
像領域を設定するボンネットBNの後端右部に移動させ
るようにマウス14を操作すると、マウス14から入力
される信号に基いて、図5に示すように、指示マークM
が初期位置からボンネットBNの後端右部に向かって移
動表示される(S7)。次に撮像領域決定コマンドが入
力されるまで待機し(S8:No)、指示マークMがボ
ンネットBNの後端右部の所定位置まで移動された状態
において、オペレータにより撮像領域決定コマンドが入
力されると(S8:Yes)、指示マークMのうち撮像
領域指示マークMaが赤色から白色に色変えして表示さ
れる(S9)。次に撮像領域指示マークMaに基いて決
定された撮像領域の撮像ポイントが演算され、その結果
が記憶される(S10)。即ち、撮像領域指示マークM
aに対応するボンネットBNの撮像領域の構造データに
基いて撮像領域の曲面形状が求められとともに、撮像中
心指示マークMcに対応する撮像領域の中心点を通る法
線上の撮像ポイントであって、撮像領域の中心点までの
距離が撮像ヘッドの所定の撮像高さに等しい撮像ポイン
トが求められ、その撮像ポイントの座標値と前記法線の
方向値とが撮像ポイントのデータとして記憶される。
Next, when the operator operates the mouse 14 so as to first move the instruction mark M to the right end of the rear end of the bonnet BN for setting the image pickup area, FIG. As shown, the instruction mark M
Is moved and displayed from the initial position toward the right rear end of the bonnet BN (S7). Next, the process waits until an imaging region determination command is input (S8: No), and an operator inputs an imaging region determination command in a state where the instruction mark M has been moved to a predetermined position on the right rear end of the bonnet BN. (S8: Yes), the imaging area indication mark Ma of the indication marks M is changed from red to white and displayed (S9). Next, the imaging point of the imaging region determined based on the imaging region instruction mark Ma is calculated, and the result is stored (S10). That is, the imaging region instruction mark M
The curved shape of the imaging region is obtained based on the structure data of the imaging region of the bonnet BN corresponding to a, and the imaging point on the normal passing through the center point of the imaging region corresponding to the imaging center instruction mark Mc. An imaging point whose distance to the center point of the region is equal to a predetermined imaging height of the imaging head is obtained, and the coordinate value of the imaging point and the direction value of the normal are stored as data of the imaging point.

【0023】次に撮像領域設定終了コマンドが入力され
ているか否かが判定され(S11)、この場合撮像領域
設定作業を開始したばかりで撮像領域設定終了コマンド
は入力されていないので(S11:No)、S7に移行
し、オペレータによるキーボード13とマウス14の操
作に従ってS7〜S11が実行される。即ち、図6に示
すように、オペレータはマウス14を操作してディスプ
レイ11a上の指示マークMをボンネットBNの後端右
部から次に撮像領域を設定するボンネットBNの後端中
央部側に平行移動させる。このとき、前回決定した撮像
領域に対応する指示マークMは、その撮像領域指示マー
クMaが白色の状態に保持されて残り、赤色の撮像領域
指示マークMaを有する新たな指示マークMがディスプ
レイ11aに表示されてボンネットBNの後端中央部側
に移動する。このようにして、指示マークMがボンネッ
トBNの後端中央部の所定位置まで移動された状態にお
いて、オペレータにより撮像領域決定コマンドが入力さ
れると、指示マークMのうち撮像領域指示マークMaが
赤色から白色に変色して表示される。この状態では、前
回の指示マークMと今回の指示マークMの撮像領域指示
マークMaは隣接し、夫々の重複領域指示マークMbは
相互に重なり合っている。以下、同様にS7〜S11が
繰り返し実行され、図7に示すように、ボンネットBN
の全領域に亙って撮像領域が順次決定される。
Next, it is determined whether or not an imaging area setting end command has been input (S11). In this case, since the imaging area setting operation has just been started and the imaging area setting end command has not been input (S11: No) ), The process proceeds to S7, and S7 to S11 are executed in accordance with the operation of the keyboard 13 and the mouse 14 by the operator. That is, as shown in FIG. 6, the operator operates the mouse 14 to move the instruction mark M on the display 11a from the right rear end of the bonnet BN to the center of the rear end of the bonnet BN for setting the next imaging area. Move. At this time, the instruction mark M corresponding to the previously determined imaging region remains with the imaging region instruction mark Ma kept in a white state, and a new instruction mark M having a red imaging region instruction mark Ma is displayed on the display 11a. It is displayed and moves to the center of the rear end of the bonnet BN. In this manner, when the imaging region determination command is input by the operator in a state where the instruction mark M has been moved to the predetermined position at the center of the rear end of the bonnet BN, the imaging region instruction mark Ma of the instruction marks M is red. From white to white. In this state, the previous indication mark M and the current indication mark M of the imaging area indication mark Ma are adjacent to each other, and the respective overlapping area indication marks Mb overlap each other. Hereinafter, steps S7 to S11 are repeatedly executed in the same manner, and as shown in FIG.
Are sequentially determined over the entire area of.

【0024】ボンネットBNの全ての撮像領域の設定が
終了し、撮像領域設定終了コマンドが入力されると(S
11:Yes)、次に撮像装置1に撮像ポイントをティ
ーチングするティーチングデータが作成され、作成され
たティーチングデータはフロッピーディスクに格納され
る(S12)。このティーチングデータの作成において
は、S10において求められた撮像ポイントのデータに
基いて、撮像装置1の撮像ヘッド3を初期位置から最適
・最短経路に沿って所定の撮像姿勢で複数の撮像ポイン
トに亙って順次移動駆動し且つ各撮像ポイントにおいて
撮像ヘッド3を所定の撮像姿勢に設定するためのロボッ
ト2の各軸の制御量が求められてティーチングデータと
して記憶される。ティーチングデータの作成が完了する
と、ディスプレイ11aにティーチングデータの作成が
完了したことが表示され(S13)、次に作業終了コマ
ンドが入力されているか否かが判定される(S14)。
作業終了コマンドが入力されていると(S14:Ye
s)、ルーチンを終了する。作業終了コマンドが入力さ
れていない場合には(S14:No)、次にシュミレー
ションコマンドが入力されているか否かが判定され(S
15)、シュミレーションコマンドが入力されていない
場合には(S15:No)、S13に移行し、作業終了
コマンド又はシュミレーションコマンドが入力されるま
で、S13・S14が繰り返される。シュミレーション
コマンドが入力されると(S15:Yes)、撮像装置
1のシュミレーションが行われる(S16)。このシュ
ミレーションにおいては、図8に示すように、ディスプ
レイ11aに検査ステーションの所定位置に配設された
車体Bと撮像装置1が表示され、撮像装置1の撮像ヘッ
ド3がティーチングデータに基いてボンネットBNの撮
像領域の各々の撮像ポイントに亙って順次移動してい
く。この場合、撮像ヘッド3の移動順序に従ってボンネ
ットBNの対応する撮像領域と重複領域と撮像ポイント
から撮像領域の中心点に向かう法線ベクトルとが1組づ
つ表示される。シュミレーションが終了すると、S13
に移行し、その後作業終了コマンドが入力されることに
より、ルーチンを終了する。
When the setting of all the imaging areas of the bonnet BN is completed and an imaging area setting end command is input (S
11: Yes) Next, teaching data for teaching an imaging point is created in the imaging device 1, and the created teaching data is stored on a floppy disk (S12). In the generation of the teaching data, the imaging head 3 of the imaging apparatus 1 is moved from the initial position to a plurality of imaging points in a predetermined imaging posture along the optimal / shortest path based on the data of the imaging points obtained in S10. Thus, the control amount of each axis of the robot 2 for sequentially moving and driving and setting the imaging head 3 to a predetermined imaging posture at each imaging point is obtained and stored as teaching data. When the creation of the teaching data is completed, it is displayed on the display 11a that the creation of the teaching data is completed (S13), and it is determined whether or not a work end command has been input (S14).
If a work end command is input (S14: Ye
s), end the routine. If a work end command has not been input (S14: No), it is determined whether a simulation command has been input next (S14).
15) If a simulation command has not been input (S15: No), the process proceeds to S13, and S13 and S14 are repeated until a work end command or a simulation command is input. When the simulation command is input (S15: Yes), the simulation of the imaging device 1 is performed (S16). In this simulation, as shown in FIG. 8, the display 11a displays the vehicle body B disposed at a predetermined position of the inspection station and the imaging device 1, and the imaging head 3 of the imaging device 1 moves the bonnet BN based on the teaching data. Are sequentially moved over the respective imaging points of the imaging area. In this case, according to the moving order of the imaging head 3, the corresponding imaging area of the bonnet BN, the overlapping area, and the normal vector from the imaging point to the center point of the imaging area are displayed one by one. When the simulation is completed, S13
Then, when a work end command is input, the routine ends.

【0025】このように、撮像装置1のティーチングデ
ータを作成する際に、ディスプレイ11aに撮像領域指
示マークMaを表示させ、この撮像領域指示マークMa
を介して複数の撮像領域を決定するので、簡単に且つ短
時間に複数の撮像領域を決定することが出来、撮像領域
の設定ミスを確実に防止することが出来る。従って、テ
ィーチングデータの作成能率を著しく高めることが出
来、精度の高いティーチングデータを得ることが出来
る。加えて、ディスプレイ11aに、重複領域指示マー
クMbにより撮像時に重複して撮像される重複領域をも
表示させるので、車体Bの塗装面に撮像されない領域が
発生するのを確実に防止することが出来る。更に、ディ
スプレイ11aに表示された撮像領域指示マークMaを
介して決定された撮像領域を、未決定の撮像領域と表示
色を異ならせて表示するので、オペレータは簡単且つ迅
速に決定した撮像領域を確認することが出来る。
As described above, when the teaching data of the image pickup apparatus 1 is created, the image pickup area indication mark Ma is displayed on the display 11a, and the image pickup area indication mark Ma is displayed.
Since a plurality of imaging regions are determined via the, the plurality of imaging regions can be determined easily and in a short time, and an erroneous setting of the imaging region can be reliably prevented. Therefore, the efficiency of creating teaching data can be significantly improved, and highly accurate teaching data can be obtained. In addition, since the display 11a also displays the overlapping area which is overlapped and imaged at the time of imaging by the overlapping area instruction mark Mb, it is possible to surely prevent the occurrence of an area which is not imaged on the painted surface of the vehicle body B. . Further, since the imaging region determined via the imaging region instruction mark Ma displayed on the display 11a is displayed with a different display color from the undetermined imaging region, the operator can easily and quickly determine the determined imaging region. You can check.

【0026】尚、前記ティーチングデータの作成方法
は、車体の塗装面の撮像に限らず種々のワークの表面の
撮像に適用できることは勿論である。また、決定された
撮像領域指示マークの色は白色に限らず、未決定の撮像
領域指示マークの色と異なる色であれば種々の色を用い
ることも可能であるし、更に、決定された重複領域指示
マークの色も異ならせるようにしてもよい。加えて、テ
ィーチングデータ作成後シュミレーションを行う場合
に、ディスプレイ11aに車体Bを搬送するチェーンコ
ンベアなど検査ステーションに配設される種々の設備を
表示することも可能である。更に、撮像装置を構成する
ロボットは多関節型に限らず直交座標型など種々の型式
のロボットを用いることも有り得る。
It should be noted that the method of creating teaching data can be applied not only to imaging of a painted surface of a vehicle body but also to imaging of various work surfaces. Further, the color of the determined imaging region instruction mark is not limited to white, and various colors can be used as long as the color is different from the color of the undetermined imaging region instruction mark. The color of the area indication mark may be different. In addition, when the simulation is performed after the creation of the teaching data, it is also possible to display on the display 11a various kinds of equipment provided at the inspection station such as a chain conveyor for transporting the vehicle body B. Further, the robot constituting the imaging apparatus is not limited to the articulated type, and various types of robots such as a rectangular coordinate type may be used.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る機能ブロック図である。FIG. 1 is a functional block diagram according to the present invention.

【図2】本発明の実施例に係るティーチングデータ作成
装置の構成図である。
FIG. 2 is a configuration diagram of a teaching data creation device according to an embodiment of the present invention .

【図3】ティーチングデータ作成作業を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing a teaching data creation operation.

【図4】ティーチングデータ作成制御のルーチンのフロ
ーチャートである。
FIG. 4 is a flowchart of a teaching data creation control routine;

【図5】ディスプレイに表示されたボンネットと指示マ
ーク説明図である。
FIG. 5 is an explanatory diagram of a bonnet and an instruction mark displayed on a display.

【図6】指示マークの移動表示を示す説明図である。FIG. 6 is an explanatory diagram showing a moving display of an instruction mark.

【図7】ボンネットに設定された全撮像領域の説明図で
ある。
FIG. 7 is an explanatory diagram of all imaging regions set on the hood.

【図8】撮像装置のシュミレーションを示す説明図であ
る。
FIG. 8 is an explanatory diagram illustrating a simulation of the imaging apparatus.

【符号の説明】[Explanation of symbols]

B 車体 Ma 撮像領域指示マーク Mb 重複領域指示マーク 1 撮像装置 11 表示装置 11a ディスプレイ 13 キーボード 14 マウス 15 制御装置 B vehicle body Ma imaging area indicating mark Mb overlapping area indicating mark 1 imaging device 11 display device 11a display 13 keyboard 14 mouse 15 control device

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/42 G05B 19/4097 B25J 9/22 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G05B 19/42 G05B 19/4097 B25J 9/22

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ワークの表面を複数行複数列に分割した
複数の撮像領域の各々を順次自動的に撮像する撮像装置
に、各撮像領域の中心を通る法線上の撮像ポイントをテ
ィーチングするティーチングデータを作成する方法であ
って、ディスプレイを含む表示手段と、外部からワーク
の構造データを受けてディスプレイに表示する為の画像
データと前記ティーチングデータとを作成するデータ処
理手段と、データ処理手段を介して表示手段を操作する
操作手段とを用いてティーチングデータを作成する方法
において、 ディスプレイに、ワークの表面の少なくとも一部と、前
記撮像装置でワーク表面を撮像する1回分の領域を指
示する指示マークMとを表示させ、前記表示されたワー
クの表面に前記指示マークMを順々に移動させて並べる
ことによりワークの表面を複数回で撮像する複数の撮像
領域を順次決定し、それら複数の撮像領域を用いてティ
ーチングデータを作成することを特徴とする撮像装置の
ティーチングデータ作成方法。
1. The work surface is divided into a plurality of rows and a plurality of columns.
A method for creating teaching data for teaching an imaging point on a normal passing through the center of each imaging region to an imaging device that automatically automatically captures each of a plurality of imaging regions, the display device including a display, The teaching data is created by using data processing means for creating image data and the teaching data for displaying on a display in response to workpiece structure data from the user and operating means for operating the display means via the data processing means. a method of, in a display, and at least a portion of the surface of the workpiece, prior to
A single-time area for imaging the surface of the work with the imaging device
Instruction mark M to be displayed.
Move the indication marks M on the surface of the
In this way, a plurality of imaging regions for imaging the surface of the work in a plurality of times are sequentially determined, and a tee is formed using the plurality of imaging regions.
A method for creating teaching data for an imaging device, comprising creating teaching data.
【請求項2】 前記ディスプレイ表示される前記各指
示マークMは、撮像領域指示マークMaと、この撮像領
域指示マークMaの外周側に枠状に位置し且つ撮像時に
重複して撮像される重複領域に相当する重複領域指示マ
ークMbを含むことを特徴とする請求項1に記載の撮像
装置のティーチングデータ作成方法。
Wherein said each finger that appears on the display
The indication mark M includes an imaging area indication mark Ma and an overlapping area indication mark which is located in a frame shape on the outer peripheral side of the imaging area indication mark Ma and corresponds to an overlapping area which is overlapped and imaged during imaging .
2. The method according to claim 1, further comprising the step of generating the teaching data.
【請求項3】 前記ディスプレイ上に前記指示マークM
を介して決定された撮像領域をディスプレイに識別可能
に表示することを特徴とする請求項1に記載の撮像装置
のティーチングデータ作成方法。
3. The indication mark M on the display.
Can identify the imaging area determined via the display
The method according to claim 1, wherein the teaching data is displayed on a display .
【請求項4】 前記識別可能に表示する為に、表示色を
異ならせることを特徴とする請求項3に記載の撮像装置
のティーチングデータ作成方法。
4. A display color for displaying in an identifiable manner.
The method according to claim 3, wherein the teaching data is made different.
JP26895291A 1991-09-19 1991-09-19 Method of creating teaching data for imaging device Expired - Fee Related JP3264378B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26895291A JP3264378B2 (en) 1991-09-19 1991-09-19 Method of creating teaching data for imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26895291A JP3264378B2 (en) 1991-09-19 1991-09-19 Method of creating teaching data for imaging device

Publications (2)

Publication Number Publication Date
JPH0580836A JPH0580836A (en) 1993-04-02
JP3264378B2 true JP3264378B2 (en) 2002-03-11

Family

ID=17465577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26895291A Expired - Fee Related JP3264378B2 (en) 1991-09-19 1991-09-19 Method of creating teaching data for imaging device

Country Status (1)

Country Link
JP (1) JP3264378B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7388310B2 (en) 2020-07-31 2023-11-29 ブラザー工業株式会社 printing device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3269005B2 (en) 1997-05-12 2002-03-25 川崎重工業株式会社 Robot controller
DE102004007829B4 (en) 2004-02-18 2007-04-05 Isra Vision Systems Ag Method for determining areas to be inspected
DE102004007828B4 (en) * 2004-02-18 2006-05-11 Isra Vision Systems Ag Method and system for inspecting surfaces
JP4302160B2 (en) * 2007-09-12 2009-07-22 ファナック株式会社 Robot programming device for palletizing work by robot
JP6171457B2 (en) * 2013-03-25 2017-08-02 セイコーエプソン株式会社 Robot control apparatus, robot system, robot, robot control method, and robot control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7388310B2 (en) 2020-07-31 2023-11-29 ブラザー工業株式会社 printing device

Also Published As

Publication number Publication date
JPH0580836A (en) 1993-04-02

Similar Documents

Publication Publication Date Title
EP1584426B1 (en) Tool center point calibration system
JPH07311610A (en) Coordinate system setting method using visual sensor
KR950000814B1 (en) Position teaching method and control apparatus for robot
JPS63288683A (en) Assembling robot
SE8505935L (en) SET AND DEVICE FOR MODIFYING A PROGRAMMABLE MANIPULATOR&#39;S PROGRAM
JP2005201824A (en) Measuring device
JPH03251378A (en) Calibration system for robot
JPH0475887A (en) Calibration method for visual sensor
CN109822568B (en) Robot control method, system and storage medium
JP3264378B2 (en) Method of creating teaching data for imaging device
JP7259860B2 (en) ROBOT ROUTE DETERMINATION DEVICE, ROBOT ROUTE DETERMINATION METHOD, AND PROGRAM
US4970370A (en) Track control method for a robot
TW202021754A (en) Automatic positioning method and automatic control apparatus
JP2001051713A (en) Method and device for teaching work to robot
JP2827268B2 (en) Creating teaching data for multiple robots
JP3378738B2 (en) Welding robot teaching device
JP2915979B2 (en) Position and rotation angle detecting device, pointing device thereof, and robot operation teaching device using the same
JP2007061940A (en) Robot and information display method of robot
JP3028789B2 (en) Recognition resolution measuring method and bonding device
JPH05289736A (en) Off-line teaching method for robot
JPH06114678A (en) Tool locus display device of nc device
JP2576176B2 (en) Robot control method
JPH06270082A (en) Control of robot having auxiliary shaft
JPH02271405A (en) Controlling method for robot
JPH10171517A (en) Off-line teaching method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees