JP3762519B2 - Component recognition method, component recognition device, and component mounting device - Google Patents

Component recognition method, component recognition device, and component mounting device Download PDF

Info

Publication number
JP3762519B2
JP3762519B2 JP17392897A JP17392897A JP3762519B2 JP 3762519 B2 JP3762519 B2 JP 3762519B2 JP 17392897 A JP17392897 A JP 17392897A JP 17392897 A JP17392897 A JP 17392897A JP 3762519 B2 JP3762519 B2 JP 3762519B2
Authority
JP
Japan
Prior art keywords
image data
component
image
recognition
imaging
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
JP17392897A
Other languages
Japanese (ja)
Other versions
JPH1123240A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP17392897A priority Critical patent/JP3762519B2/en
Publication of JPH1123240A publication Critical patent/JPH1123240A/en
Application granted granted Critical
Publication of JP3762519B2 publication Critical patent/JP3762519B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Supply And Installment Of Electrical Components (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、産業用自動設備等に備わる部品認識装置、該部品認識装置にて実行される部品認識方法、及び上記部品認識装置を備えた部品装着装置に関する。尚、認識する部品としては例えば回路基板上に装着される電子部品が相当する。
【0002】
【従来の技術】
例えば電子部品を回路基板に自動的に装着する電子部品装着装置などの産業用自動設備に搭載される部品認識装置における、従来の部品の画像認識方法について、図面を参照しながら説明する。
例えば上記電子部品装着装置は、図7に示すような構成を有する。即ち、回路基板10は基板搬送部2により搬入、搬出、及び保持される。該回路基板10には、XYロボット5によりX,Y方向へ移動可能な部品保持装置6によって、リール式の電子部品供給装置3及びトレイ式の電子部品供給装置4の少なくとも一方から保持された部品が、部品認識カメラ7にて保持姿勢を撮影、計測された後、装着される。尚、部品保持装置6には、部品を保持するためのノズルが複数備わる。
【0003】
このような電子部品装着装置1において、上記XYロボット5に備わるリニアスケール21、及び上記部品認識カメラ7をも含めて、部品認識処理装置40の構成を図5に示す。尚、図5では、部品保持装置6に備わる第1吸着ノズル25、第2吸着ノズル26及び第3吸着ノズル27は、それぞれ第1部品37、第2部品38、及び第3部品39を保持し、部品認識カメラ7上へ移動している状態を図示している。又、部品認識カメラ7には第1〜第3の部品37〜39を照らす照明装置28が備わり、部品認識処理装置40にはカメラインターフェース部33及び認識処理部36が備わる。カメラインターフェース部33には第1カウンタ34及び第2カウンタ35が備わる。
【0004】
このように構成される従来の部品認識処理装置40における動作、特に部品認識カメラ7からの画像入力方法について以下に説明する。
部品保持装置6に取り付けられた、第1吸着ノズル25、第2吸着ノズル26、及び第3吸着ノズル27によってそれぞれ吸着された第1部品37、第2部品37及び第3部品39について、それぞれの部品の中心や傾き等が部品認識カメラ7にて検出されるように、部品認識カメラ7上を図示の右から左へ向けて移動を開始する。このとき、部品保持装置6がリニアスケール21上の第1原点23を通過したところで、リニアスケール21はカメラインターフェース部33へ伝送路39を介して第1原点信号を送信する。インターフェース部33は、この第1原点信号をトリガとして、インターフェース部33内の第1カウンタ34の計数値をクリアする。以後、第1カウンタ34は、部品保持装置6の移動に伴いリニアスケール21から送出される部品保持装置6の移動距離信号に基づき、第1原点23からの部品保持装置6の移動距離を計数する。このように第1カウンタ34にて部品保持装置6の移動距離を常時監視する。
【0005】
この状態で、第1吸着ノズル25によって吸着された第1部品37が所定距離移動したとき、即ち第1カウンタ34の計数値が所定値に到達したとき、インターフェース部33は、部品認識カメラ7へ画像入力開始信号30を送信する。画像入力開始信号30に基づいて、部品認識カメラ7は、撮影レンズ面上の第1部品37を撮像し始める。撮像された画像データは、伝送路29及びインターフェース部33を介して認識処理部36へ送出される。部品の撮像動作は、第1部品37の画像取り込みを開始した時点から、第3部品39の指定のサイズまで、即ち当該第3部品39の全体像が取り込める視野サイズまで連続的に行われる。具体的に説明すると、画像入力開始信号30が送出された時点から、部品認識カメラ7より供給させてくる画像データを第2カウンタ35によってカウントし、該計数値があらかじめ決められた画素数値に達したところで、カメラインターフェース部33は、部品認識カメラ7に対して画像入力終了信号31を送出すると同時に、認識処理部36への画像データの送出を終了し、そして第2カウンタ35のカウント数をクリアする。
【0006】
図6は、認識処理部36の構成を示したもので、部品認識カメラ7からカメラインターフェース部33を介して送信されてきた画像データ43は、画像バス41を介して画像メモリ42へ送出される。このとき画像メモリ42のメモリコントローラ44は、画像メモリ42に対するデータ書込許可信号45を発生し、該データ書込許可信号45に基づいて画像データ43の画像メモリ42への書き込みを行う。第1部品37から第3部品39までのすべての部品における画像データ43の書き込みが終了した時点で、メモリコントローラ44は、画像メモリ42に対するデータ書き込みをディスイネーブルにすることで画像データ43の書き込みを終了し、CPU(中央演算処理装置)46に対して、画像メモリ42からの画像データ43の読み出しが可能であることをCPUバス47を介して通知する。よってCPU46は、画像メモリ42にアクセスを行い、画像メモリ42からそれぞれの部品の画像データを読み出して、該画像データに基づき、それぞれの部品に対して部品の中心位置の検出や、傾きの検出といった部品の画像認識処理を行う。そしてCPU46は、その画像認識処理結果を上位のホストコンピュータに送出することでー連の認識動作を終了する。
【0007】
【発明が解決しようとする課題】
しかしながら、従来の画像入力方法では、上述したように、部品の撮像は、第1部品37から第3部品39まで一度に行われ、撮像された各部品に対する画像データは、認識処理部36内の画像メモリ42ヘ連続して書き込まれる。このため、撮影される部品がサイズの大きいもののみであったり、カメラ分解能にあたる視野サイズが大きくなると、一度に広範囲の画像データを画像メモリ42に書き込むことになり、大容量のメモリが必要になり、コストアップにつながる。又、部品保持装置6が複数のノズルを有する場合、部品認識カメラ7の分解能によって決まる視野サイズとの関係から、ノズル数に制限が生ずることも予想される。さらにすべての部品の画像データの画像メモリ42への入力動作が終了した時点で画像認識処理を実行するため、広範囲の画像メモリ42から画像データを高速に読み出し、画像認識処理を実行する必要が生じてくる。一方、もし画像メモリ42を一つのみ用いた場合には、ある部品の画像データの書き込みが終了した後でなければ、画像メモリ42に対するCPU46によるアクセスは基本的に不可能である。よって、書き込みが終了した画像より順次画像処理を行うというマルチタスクを実現するには、画像メモリ42への画像データ書き込み時にいくらかの画像データをバッファし、その間に既に書き込み済の画像データの読み出しを行うといった、高価なメモリデバイスが必要となってくる。
本発明はこのような問題点を解決するためになされたもので、低コストで、かつ画像認識処理時間の短縮を図ることができる、部品認識方法、該部品認識方法を実行する部品認識装置、及び該部品認識装置を備えた部品装着装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明の第1態様の部品認識方法は、撮像により得られた複数の被検査物における複数の画像データを順次、画像記憶装置に記憶するとともに、既に記憶された画像データについて、上記画像記憶装置に対する画像データの記憶動作が終了するまで、優先順位に従い上記被検査物の認識処理を実行することを特徴とする。
【0009】
本発明の第2態様の部品認識方法は、撮像により得られた第1被検査物の第1画像データについて第1画像記憶装置への記憶動作を行う、第1工程と、
上記第1画像データの上記記憶動作が終了した後、撮像により得られた第2被検査物の第2画像データについて第2画像記憶装置への記憶動作を行うとともに、上記第2画像データの上記記憶動作が終了するまで上記第1画像データに基づき上記第1被検査物の認識処理を予め行う、第2工程と、
上記第2画像データの上記記憶動作が終了した後、撮像により得られた第3被検査物の第3画像データについて第3画像記憶装置への記憶動作を行うとともに、上記第1被検査物又は上記第2被検査物の内、認識処理の優先順位の高い方について上記第3画像データの上記記憶動作が終了するまで上記認識処理を予め行う、第3工程と、
を備え、被検査物が増えるときには上記第3工程を繰り返して実行することを特徴とする。
【0010】
本発明の第3態様の部品認識装置は、撮像により得られた複数の被検査物における複数の画像データを順次記憶する画像記憶装置と、
上記画像記憶装置に既に記憶された画像データについて、上記画像記憶装置に対する画像データの記憶動作が終了するまで、優先順位に従い認識処理を実行する制御装置と、
を備えたことを特徴とする。
【0011】
本発明の第4態様の部品認識装置は、被検査物を撮影する撮像装置と、
上記撮像装置の撮像により得られた複数の上記被検査物における複数の画像データを順次記憶していく画像記憶認識装置と、
上記撮像装置から得られる各画像データの上記画像記憶認識装置への供給の開始及び終了を制御するインターフェース装置と、を備え、
上記画像記憶認識装置は、上記インターフェース装置から上記複数の画像データの内の一つの画像データの供給終了を受けたとき、次の画像データの記憶動作を開始するとともに既に記憶されている画像データに対して優先順位に従い上記被検査物の認識処理を実行することを特徴とする。
【0012】
本発明の第5態様の部品装着装置は、上記第3態様又は上記第4態様の部品認識装置を備えたことを特徴とする。
【0013】
【発明の実施の形態】
本発明の一実施形態である、部品認識方法、該部品認識方法を実行する部品認識装置、及び該部品認識装置を備えた部品装着装置について、図を参照しながら以下に説明する。尚、各図において同じ構成部分については同じ符号を付している。又、上述の「課題を解決するための手段」にて記載する、被検査物の一実施形態として、ここでは回路基板に装着される電子部品を例に採り、撮像装置の機能を果たす一実施形態として部品認識カメラ107を例に採り、搬送装置の機能を果たす一実施形態として部品保持装置106及び該部品保持装置106を取り付けたXYロボット105が相当する。
【0014】
図4に示す本実施形態の部品装着装置101は、図7に示す従来の部品装着装置1と基本的な構成は同様であり、基板搬送部102、リール式部品供給装置103、トレイ式部品供給装置104、XYロボット105、部品保持装置106、及び部品認識カメラ107を備える。これらの各構成部分における機能、動作は、上記部品装着装置1に備わり上述した基板搬送部2、リール式部品供給装置3、トレイ式部品供給装置4、XYロボット5、部品保持装置6、及び部品認識カメラ7にそれぞれ同様であるので、ここでの説明は省略する。但し、部品認識カメラ107に接続され、部品の認識処理を行う部品認識処理装置190は、本実施形態にて特徴的な動作を行う部分である。よって、以下には部品認識処理装置190の構成及び動作について、図1から図3を参照して詳しく説明する。尚、図1に示すリニアスケール21、第1原点23、第2原点24、第1吸着ノズル25、第2吸着ノズル26、第3吸着ノズル27、照明装置28、第1部品37、第2部品38、及び第3部品39については、図5に同符号にて示され上述したそれぞれの構成部分に対応する。よって、これらの構成部分についての説明はここでは省略する。
【0015】
図1に示すように、部品認識処理装置190は、大別して、インターフェース装置130と、画像記憶認識装置150とを備える。
カメラインターフェース装置130は、図5を参照し上述したカメラインターフェース部33に対応するもので、第1カウンタ134と第2カウンタ135とを備え、部品認識カメラ107から得られる画像データを後述の画像記憶認識装置150へ供給する際の上記画像データの供給開始及び終了を制御する。
画像記憶認識装置150は、図2に示すように大別して、本実施形態では第1画像メモリ151、第2画像メモリ152、第3画像メモリ153の3つの画像メモリと、各画像メモリ151〜153に記憶した部品の画像データの認識処理を実行するCPU163と、各画像メモリ151〜153に対応してそれぞれ設けられ、各画像メモリ151〜153への画像データの書き込み許可及び各画像メモリ151〜153からCPU163への画像データの送出のタイミングを制御する第1ないし第3のタイミング発生装置160〜162と、を備える。
このような画像記憶認識装置150は、上述のように、部品認識カメラ107にて撮影した部品の画像データを記憶するとともに、それぞれの部品について各画像データに基づき各部品の上記中心や傾き等を求める部品認識処理を行う。
【0016】
このように構成される部品認識処理装置190の動作を以下に説明する。尚、予め、部品保持装置106の第1部品37、第2部品38、及び第3部品39には、それぞれ第1部品37、第2部品38、及び第3部品39が吸着にて保持されているものとする。
まず、インターフェース装置130の動作について説明する。
上記第1部品37、第2部品38、及び第3部品39におけるそれぞれの部品中心や部品傾き等を部品認識カメラ107にて検出するため、XYロボット105が動作して部品保持装置106を部品認識カメラ107の上方へ搬送開始する。尚、ここでは、部品認識カメラ107は、XYロボット105の動作及び部品保持装置106の動作により第1部品37、第2部品38、第3部品39の順にそれぞれの部品を順次撮影するものとする。
このとき、部品保持装置106が、XYロボット105に備わるリニアスケール21の第1原点23を通過したところで、リニアスケール21は、リニアスケール伝送路119を介して第1原点信号をインターフェース装置130へ送出する。インターフェース装置130は、上記第1原点信号をトリガとしてインターフェース装置130内の第1カウンタ134の計数値をクリアする。以後、インターフェース装置130は、部品保持装置106の移動によりリニアスケール21から送出される搬送距離信号を第1カウンタ134にて計数することで、第1原点23からの部品保持装置106の移動距離を第1カウンタ134によって常時監視する。
【0017】
第1吸着ノズル25によって吸着された第1部品37が部品認識カメラ107の撮影面上に到達したと判断される計数値に、第1カウンタ134の計数値が到達したとき、インターフェース装置130は部品認識カメラ107に対して画像入力開始信号131を送出し、かつ照明装置28に対して照明制御信号133を送出する。照明制御信号133に基づいて、照明装置28は撮影面上に配置されている第1部品37を照射し、画像入力開始信号131に基づいて部品認識カメラ107は第1部品37を撮像し始める。このような撮像動作により得られた画像データは、画像データ伝送路129及びインターフェース装置130を介して画像記憶認識装置150へ送出される。
ここでインターフェース装置130は、画像入力開始信号131を送出した時点で、部品認識カメラ107より供給されてくる上記画像データを第2カウンタ135によって計数し、各部品に対する画素数に対応して予め設定されている計数値に第2カウンタ135の計数値が到達した時点で、部品認識カメラ107に対して画像入力終了信号132を送出し、かつ画像記憶認識装置150へ上記画像データの送出終了を通知し、かつ第2カウンタ135の計数値をクリアする。さらに又、画像入力終了信号132の送出と同時に、インターフェース装置130は、上記照明制御信号133を照明装置28に送出し、これにより照明装置28は第1部品37の照射を終了する。
尚、第2カウンタ135によって計数する画素数は、例えば部品サイズに応じて決定することもでき、その場合、照明装置28に対して、画像取り込みに必要最低限の期間中のみの点灯動作を行わせることができる。
【0018】
次に、画像記憶認識装置150の動作について、図2及び図3を参照して説明する。尚、図3は、図2に示すCPU163、第1タイミング発生装置160、第2タイミング発生装置161、第3タイミング発生装置162の動作を時系列に示したものである。
上述のようにしてインターフェース装置130から送出された、第1部品37の第1画像データは、図2に示す画像バス155を介して、第1画像メモリ151へ供給されるが、それに先行して画像記憶認識装置150は、図3に示すように、まず上記第1画像データを第1画像メモリ151に記憶するために、時刻t1からバス接続処理257を実行する。
その後、第1タイミング発生装置160は、インターフェース装置130による上記画像入力開始信号131の送出と同時にインターフェース装置130が発生する同期信号241を同期バス154を介して受け取ることで、第1画像メモリ151に対してデータ書き込み許可信号167を第1画像メモリ151に対して発生する。よって、図3に示す時刻t2から、第1画像メモリ151は、データ書き込み許可信号167に基づき第1部品37の第1画像データ156の書き込みを開始する。そして、第1タイミング発生装置160は、図3に示す時刻t3にて、インターフェース装置130による上記画像入力終了信号132の送出と同時にインターフェース装置130が発生する同期信号244を同期バス154を介して受け取ることで、第1画像メモリ151に対する上記第1画像データ156の書き込みをディスイネーブルとし、第1画像データ156の書き込みを終了する。このように第1画像メモリ151は、図3に示すように、上記時刻t2からt3まで上記第1画像データ156の入力処理251を行う。さらに第1タイミング発生装置160は、上記同期信号244を受け取ると同時に、CPU163に対してCPUバス159を介して第1割込信号247を送出する。
【0019】
上記第1割込信号247の供給に基づきCPU163は、第2部品38における第2画像データ157を第2画像メモリ152へ書き込むため、画像バス155の第2画像メモリ152に対する接続を実行したり、同期バス154を第2タイミング発生装置161に対して接続するためのレジスタ設定を行うという、割込処理258を実行する。
そして上記割込処理258の終了と同時に、図3に示すようにCPU163は、後述の第2割込信号248が供給されるまで、既に第1画像メモリ151に記憶された第1画像データ156に対し、部品中心や部品傾き検出といった第1画像認識処理254を実行する。
【0020】
一方、割込処理258が終了した後、部品認識カメラ107により第2部品38の撮像が実行される。即ち、上述したような第1部品37の撮影動作と同様に、インターフェース装置130は、第1カウンタ134の計数値を監視することで、第2吸着ノズル26によって吸着された第2部品38が部品認識カメラ107の撮影面上に到達したと判断される計数値に、第1カウンタ134の計数値が到達したとき、インターフェース装置130は部品認識カメラ107に対して画像入力開始信号131を送出し、かつ照明装置28に対して照明制御信号133を送出する。照明制御信号133に基づいて、照明装置28は撮影面上に配置されている第2部品38を照射し、画像入力開始信号131に基づいて部品認識カメラ107は第2部品38を撮像し始める。このような撮像動作により得られた画像データは、画像データ伝送路129及びインターフェース装置130を介して画像記憶認識装置150へ送出される。
【0021】
第2部品38の画像データの供給に対して画像記憶認識装置150に備わる第2タイミング発生装置161は、上述した第1タイミング発生装置160と同様に動作する。即ち、第2タイミング発生装置161は、インターフェース装置130による、第2部品38に対する上記画像入力開始信号131の送出と同時にインターフェース装置130が発生する同期信号242を、同期バス154を介して受け取ることで、第2画像メモリ152に対してデータ書き込み許可信号168を第2画像メモリ152に対して発生する。よって、図3に示す時刻t4から、第2画像メモリ152は、データ書き込み許可信号168に基づき第2部品38の第2画像データ157の書き込みを開始する。そして、第2タイミング発生装置161は、図3に示す時刻t5にて、インターフェース装置130による第2部品38に対する上記画像入力終了信号132の送出と同時にインターフェース装置130が発生する同期信号245を、同期バス154を介して受け取ることで、第2画像メモリ152に対する上記第2画像データ157の書き込みをディスイネーブルとし、第2画像データ157の書き込みを終了する。このように第2画像メモリ152は、図3に示すように、上記時刻t4からt5まで上記第2画像データ157の入力処理252を行う。さらに第2タイミング発生装置161は、上記同期信号245を受け取ると同時に、CPU163に対してCPUバス159を介して第2割込信号248を送出する。
【0022】
上記第2割込信号248の供給に基づきCPU163は、処理中であった第1画像データ156の第1画像認識処理254を一時中断する。さらに、CPU163は、第2割込信号248の供給に基づき、第3部品39における第3画像データ158を第3画像メモリ153へ書き込むため、画像バス155の第3画像メモリ153に対する接続を実行したり、同期バス154を第3タイミング発生装置162に対して接続するためのレジスタ設定を行うという、割込処理259を実行する。
【0023】
そして上記割込処理259の終了と同時に、CPU163は、後述の第3割込信号249が供給されるまで、既に第1画像メモリ151に記憶された第1画像データ156、及び第2画像メモリ152に記憶された第2画像データ157に対して、予め設定されている画像認識処理の優先順位に従って、部品中心や部品傾き検出といった画像認識処理255を実行する。即ち、上記画像認識処理の優先順位が、例えば、第3部品39、第2部品38、第1部品37の順であるとすると、上記割込処理259が終了した時点で、CPU163は、画像入力動作が終了して未処理状態にある第1画像データ156及び第2画像データ157に対して、優先順位の高い第2画像データ157の方を第1画像データ156に優先して画像認識処理を実行する。第1画像データ156に対する画像認識処理は、当該第1画像データの画像認識処理よりも優先順位の高い画像データの画像認識処理が全て終了するまで一時中断することとなる。
【0024】
又、上記割込処理259の終了後、部品認識カメラ107により第3部品39の撮像が、上述した第1部品37及び第2部品38の撮影動作と同様にして実行される。
第3部品39の画像データの供給に対して第3タイミング発生装置162は、インターフェース装置130による、第3部品39に対する上記画像入力開始信号131の送出と同時にインターフェース装置130が発生する同期信号243を、同期バス154を介して受け取ることで、第3画像メモリ153に対してデータ書き込み許可信号169を発生する。よって、図3に示す時刻t6から、第3画像メモリ153は、データ書き込み許可信号169に基づき第3部品39の第3画像データ158の書き込みを開始する。そして、第3タイミング発生装置162は、図3に示す時刻t7にて、インターフェース装置130による第3部品39に対する上記画像入力終了信号132の送出と同時にインターフェース装置130が発生する同期信号246を、同期バス154を介して受け取ることで、第3画像メモリ153に対する上記第3画像データ158の書き込みをディスイネーブルとし、第3画像データ158の書き込みを終了する。このように第3画像メモリ153は、図3に示すように、上記時刻t6からt7まで上記第3画像データ158の入力処理253を行う。さらに第3タイミング発生装置162は、上記同期信号246を受け取ると同時に、CPU163に対してCPUバス159を介して第3割込信号249を送出する。
【0025】
CPU163は、上記第3割込信号249の供給に基づき、上述のように優先順位に基づき実行されている第2画像認識処理255を一時中断し、上述したように優先順位に従い、画像認識処理を実行する画像データを変更する。即ち、本例においては、優先順位の最も高い第3画像データ158の画像認識処理がまず実行され、その次に第2画像データ157における一時中断後の残りのデータに対して画像認識処理が実行され、最後に第1画像データ156における一時中断後の残りのデータに対して画像認識処理が実行される。図3を参照すると、第3割込信号249が発生した時刻t7から第3画像データ158の画像認識処理が実行され、時刻t8にて終了する。よって時刻t8から第2画像データ157における一時中断後の残りのデータに対して画像認識処理が実行され、時刻t9にて終了する。そして時刻t9から第1画像データ156における一時中断後の残りのデータに対して画像認識処理が実行され、時刻t10にて終了する。
このようにして全ての画像データに対して画像認識処理が終了したところで一連の画像入力及び画像認識処理の作業は終了することとなる。
尚、このような、画像認識処理を実行する画像データの変更機能は、CPUのオペレーションシステムが、マルチタスク機能をサポートしていれば簡単に実現できる。
【0026】
以上説明したように本実施形態では、各部品の画像データをそれぞれ記憶するような小容量の画像メモリを複数使用することで、高価な大容量の画像メモリの使用を避け、かつ一つの画像メモリにて、入力した画像データから順次読み出しを行うという動作を避けたことから、低コストを実現することができる。さらに、画像データの画像認識処理に優先順位を設け、記憶している複数の部品のそれぞれの画像データについて上記優先順位に従い画像認識処理を実行することから、画像認識処理に要する全体の時間を短縮することができる。このように本実施形態では、部品の画像入力処理及び画像認識処理を効率良く実行することが可能である。
又、インターフェース装置130にて、部品認識カメラ107の撮影領域内に部品が到達した時点で照明装置28の動作を制御することから、照明装置28に対しても部品サイズに合わせた最低限の点灯動作を実行することが可能で、照明装置の長寿命化を図り、効率のよい画像認識システムを実現することができる。
【0027】
尚、画像認識処理の優先順位は、例えば、第1部品37、第2部品38、及び第3部品39の基板への装着順によって決定することもできるし、部品サイズに起因する当該部品装着装置の処理速度の違いによっても決定することもでき、その決定方法はシステム全体の生産効率を考えて決定するものとする。
又、本実施形態では、第1部品37の第1画像データ156を第1画像メモリ151に入力し、第2部品38の第2画像データ157を第2画像メモリ152に入力し、第3部品39の第3画像データ158を第3画像メモリ153に入力しているが、いずれの画像メモリにどの画像データを書き込んでもよいことは言うまでもない。
さらに又、本実施形態では、部品保持装置106は、3つのノズル25〜27を有し、一度に吸着できる部品の数を3つにしてあるが、画像メモリにおける許容可能なメモリ空間と、各メモリ空間を管理するタイミング発生装置の数によって、部品点数の上限は決定される。よって、上記部品点数の上限以内のノズル数を設定することが可能である。
本実施形態では、第1原点23を部品保持装置106が通過して得られる第1原点信号をトリガにして、図示の右から左へ部品保持装置106を移動させることで、各部品を部品認識カメラ107に撮像させているが、図1に示すように第2原点24を設け、部品保持装置106を左から右に移動させることで各部品を撮像する場合でも本実施形態と同様の作用を実現できることは言うまでもない。又、本実施形態におけるリニアスケール21の代わりに、モータのエンコーダ信号を使用してもよい。要するに部品保持装置106に保持された部品の移動距離が測定できる機構であればよい。
又、本実施形態では、部品保持装置106のノズルに部品は吸着動作により保持されるが、これに限定されるものではなく、例えば機械的に部品を保持する等、部品を保持できればその形態は問わない。
【0028】
【発明の効果】
以上詳述したように本発明の第1態様及び第2態様の部品認識方法、並びに第3態様及び第4態様の部品認識装置、さらに第5態様の部品装着装置によれば、各被検査物のそれぞれの画像データを記憶する画像記憶装置と制御装置とを備え、上記画像記憶装置に記憶した画像データについて、予め設定した優先順位に基づき上記制御装置は上記各被検査物の認識処理を実行することから、低コストで、かつ画像認識処理時間の短縮を図ることができる。
【図面の簡単な説明】
【図1】 本発明の一実施形態の部品認識装置の構造を示すブロック図である。
【図2】 図1に示す画像記録認識装置の構造を示すブロック図である。
【図3】 図1に示す部品認識装置にて実行される部品認識方法の動作を時系列的に示した図である。
【図4】 図1の部品認識装置を備えた部品装着装置の斜視図である。
【図5】 従来の部品認識装置の構造を示すブロック図である。
【図6】 図5に示す認識処理部の構造を示すブロック図である。
【図7】 図5の部品認識装置を備えた部品装着装置の斜視図である。
【符号の説明】
28…部品認識カメラ、37…第1部品、
38…第2部品、39…第3部品、
101…部品装着装置、106…部品保持装置、107…部品認識カメラ、
130…インターフェース装置、134…第1カウンタ、
135…第2カウンタ、150…画像記録認識装置、
151…第1画像メモリ、152…第2画像メモリ、
153…第3画像メモリ、160…第1タイミング発生装置、
161…第2タイミング発生装置、162…第3タイミング発生装置、
163…CPU、190…部品認識処理装置。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a component recognition device provided in an industrial automatic facility or the like, a component recognition method executed by the component recognition device, and a component mounting device including the component recognition device. For example, an electronic component mounted on a circuit board corresponds to the recognized component.
[0002]
[Prior art]
For example, a conventional image recognition method for a component in a component recognition apparatus mounted on an industrial automatic facility such as an electronic component mounting apparatus that automatically mounts an electronic component on a circuit board will be described with reference to the drawings.
For example, the electronic component mounting apparatus has a configuration as shown in FIG. That is, the circuit board 10 is carried in, carried out, and held by the board carrying unit 2. Components held on the circuit board 10 from at least one of a reel-type electronic component supply device 3 and a tray-type electronic component supply device 4 by a component holding device 6 that can be moved in the X and Y directions by an XY robot 5. However, it is mounted after the holding posture is photographed and measured by the component recognition camera 7. The component holding device 6 includes a plurality of nozzles for holding components.
[0003]
In such an electronic component mounting apparatus 1, the configuration of the component recognition processing device 40 including the linear scale 21 provided in the XY robot 5 and the component recognition camera 7 is shown in FIG. In FIG. 5, the first suction nozzle 25, the second suction nozzle 26, and the third suction nozzle 27 provided in the component holding device 6 hold the first component 37, the second component 38, and the third component 39, respectively. The state which is moving on the component recognition camera 7 is illustrated. The component recognition camera 7 includes a lighting device 28 that illuminates the first to third components 37 to 39, and the component recognition processing device 40 includes a camera interface unit 33 and a recognition processing unit 36. The camera interface unit 33 includes a first counter 34 and a second counter 35.
[0004]
The operation of the conventional component recognition processing apparatus 40 configured as described above, particularly the image input method from the component recognition camera 7 will be described below.
The first component 37, the second component 37, and the third component 39, which are attached to the component holding device 6 and are sucked by the first suction nozzle 25, the second suction nozzle 26, and the third suction nozzle 27, respectively. The movement on the component recognition camera 7 is started from the right to the left in the drawing so that the center and inclination of the component are detected by the component recognition camera 7. At this time, when the component holding device 6 passes through the first origin 23 on the linear scale 21, the linear scale 21 transmits a first origin signal to the camera interface unit 33 via the transmission path 39. The interface unit 33 clears the count value of the first counter 34 in the interface unit 33 using the first origin signal as a trigger. Thereafter, the first counter 34 counts the movement distance of the component holding device 6 from the first origin 23 based on the movement distance signal of the component holding device 6 sent from the linear scale 21 as the component holding device 6 moves. . In this way, the moving distance of the component holding device 6 is constantly monitored by the first counter 34.
[0005]
In this state, when the first component 37 sucked by the first suction nozzle 25 moves by a predetermined distance, that is, when the count value of the first counter 34 reaches a predetermined value, the interface unit 33 moves to the component recognition camera 7. An image input start signal 30 is transmitted. Based on the image input start signal 30, the component recognition camera 7 starts imaging the first component 37 on the photographing lens surface. The captured image data is sent to the recognition processing unit 36 via the transmission path 29 and the interface unit 33. The imaging operation of the component is continuously performed from the start of the image capture of the first component 37 to the designated size of the third component 39, that is, the visual field size capable of capturing the entire image of the third component 39. More specifically, the image data supplied from the component recognition camera 7 is counted by the second counter 35 from the time when the image input start signal 30 is sent, and the counted value reaches a predetermined pixel value. Then, the camera interface unit 33 sends the image input end signal 31 to the component recognition camera 7 and, at the same time, finishes sending the image data to the recognition processing unit 36, and clears the count number of the second counter 35. To do.
[0006]
FIG. 6 shows the configuration of the recognition processing unit 36. Image data 43 transmitted from the component recognition camera 7 via the camera interface unit 33 is sent to the image memory 42 via the image bus 41. . At this time, the memory controller 44 of the image memory 42 generates a data write permission signal 45 for the image memory 42 and writes the image data 43 to the image memory 42 based on the data write permission signal 45. When the writing of the image data 43 in all the parts from the first part 37 to the third part 39 is completed, the memory controller 44 disables the data writing to the image memory 42 to disable the writing of the image data 43. Then, the CPU (Central Processing Unit) 46 is notified via the CPU bus 47 that the image data 43 can be read from the image memory 42. Therefore, the CPU 46 accesses the image memory 42, reads the image data of each component from the image memory 42, and detects the center position of the component or the inclination of each component based on the image data. Perform part image recognition processing. Then, the CPU 46 sends the image recognition processing result to the upper host computer, thereby ending the continuous recognition operation.
[0007]
[Problems to be solved by the invention]
However, in the conventional image input method, as described above, imaging of the components is performed from the first component 37 to the third component 39 at a time, and the image data for each captured component is stored in the recognition processing unit 36. It is continuously written in the image memory 42. For this reason, when only a large part is photographed or the field of view size corresponding to the camera resolution becomes large, a wide range of image data is written into the image memory 42 at a time, and a large-capacity memory is required. , Leading to increased costs. Further, when the component holding device 6 has a plurality of nozzles, it is expected that the number of nozzles is limited due to the relationship with the visual field size determined by the resolution of the component recognition camera 7. Furthermore, since the image recognition process is executed when the input operation of the image data of all the parts to the image memory 42 is completed, it is necessary to read the image data from the wide range image memory 42 at a high speed and execute the image recognition process. Come. On the other hand, if only one image memory 42 is used, access to the image memory 42 by the CPU 46 is basically impossible only after the writing of the image data of a certain part is completed. Therefore, in order to realize multitasking in which image processing is sequentially performed from an image that has been written, some image data is buffered when image data is written to the image memory 42, and image data that has already been written is read during that time. An expensive memory device is required.
The present invention has been made to solve such problems, and is a component recognition method capable of reducing the image recognition processing time at a low cost, and a component recognition apparatus for executing the component recognition method. Another object of the present invention is to provide a component mounting device including the component recognition device.
[0008]
[Means for Solving the Problems]
In the component recognition method according to the first aspect of the present invention, a plurality of pieces of image data of a plurality of inspected objects obtained by imaging are sequentially stored in an image storage device, and the image storage device described above is used for already stored image data. Until the image data storing operation is completed, the inspection object recognition process is executed according to the priority order.
[0009]
The component recognition method according to the second aspect of the present invention includes a first step of performing a storage operation in the first image storage device for the first image data of the first inspection object obtained by imaging,
After the storage operation of the first image data is completed, the second image data of the second inspection object obtained by imaging is stored in the second image storage device, and the second image data is stored in the second image data. A second step in which recognition processing of the first object to be inspected is performed in advance based on the first image data until the storage operation is completed;
After the storage operation of the second image data is finished, the third image data of the third inspection object obtained by imaging is stored in the third image storage device, and the first inspection object or A third step in which the recognition process is performed in advance until the storage operation of the third image data is completed for the higher priority of the recognition process among the second inspection objects;
When the number of inspection objects increases, the third step is repeatedly executed.
[0010]
A component recognition device according to a third aspect of the present invention includes an image storage device that sequentially stores a plurality of image data of a plurality of inspected objects obtained by imaging,
A control device that executes recognition processing in accordance with the priority order of image data already stored in the image storage device until the storage operation of the image data in the image storage device is completed;
It is provided with.
[0011]
An apparatus for recognizing a component according to a fourth aspect of the present invention includes an imaging device for photographing an inspection object,
An image storage recognition device for sequentially storing a plurality of image data of the plurality of inspection objects obtained by imaging of the imaging device;
An interface device for controlling the start and end of the supply of each image data obtained from the imaging device to the image storage recognition device,
When the image storage recognition device receives an end of supply of one of the plurality of image data from the interface device, the image storage recognition device starts a storage operation of the next image data and stores the image data already stored. On the other hand, the inspection object recognition process is executed according to the priority order.
[0012]
A component mounting apparatus according to a fifth aspect of the present invention includes the component recognition apparatus according to the third aspect or the fourth aspect.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
A component recognition method, a component recognition device that executes the component recognition method, and a component mounting device that includes the component recognition device according to an embodiment of the present invention will be described below with reference to the drawings. In addition, the same code | symbol is attached | subjected about the same component in each figure. In addition, as an embodiment of the inspected object described in the above-mentioned “Means for Solving the Problems”, an electronic component mounted on a circuit board is taken as an example here to perform the function of the imaging device. As an example, the component recognition camera 107 is taken as an example, and the component holding device 106 and the XY robot 105 to which the component holding device 106 is attached correspond to an embodiment that performs the function of the transfer device.
[0014]
The component mounting apparatus 101 of the present embodiment shown in FIG. 4 has the same basic configuration as the conventional component mounting apparatus 1 shown in FIG. 7, and includes a substrate transport unit 102, a reel-type component supply device 103, and a tray-type component supply. A device 104, an XY robot 105, a component holding device 106, and a component recognition camera 107 are provided. The functions and operations of these components are provided in the component mounting apparatus 1 and the above-described substrate transport unit 2, reel-type component supply device 3, tray-type component supply device 4, XY robot 5, component holding device 6, and components. Since it is the same as each recognition camera 7, description here is abbreviate | omitted. However, the component recognition processing device 190 that is connected to the component recognition camera 107 and performs component recognition processing is a portion that performs characteristic operations in the present embodiment. Therefore, hereinafter, the configuration and operation of the component recognition processing apparatus 190 will be described in detail with reference to FIGS. 1 to 3. In addition, the linear scale 21, the first origin 23, the second origin 24, the first suction nozzle 25, the second suction nozzle 26, the third suction nozzle 27, the illumination device 28, the first component 37, and the second component shown in FIG. 38 and the third component 39 are denoted by the same reference numerals in FIG. 5 and correspond to the components described above. Therefore, description of these components is omitted here.
[0015]
As shown in FIG. 1, the component recognition processing device 190 is roughly divided into an interface device 130 and an image storage recognition device 150.
The camera interface device 130 corresponds to the camera interface unit 33 described above with reference to FIG. 5, includes a first counter 134 and a second counter 135, and stores image data obtained from the component recognition camera 107, which will be described later. It controls the start and end of the supply of the image data when it is supplied to the recognition device 150.
As shown in FIG. 2, the image storage recognition device 150 is roughly divided into three image memories of a first image memory 151, a second image memory 152, and a third image memory 153 in the present embodiment, and the image memories 151 to 153. The CPU 163 executes the recognition process of the image data of the parts stored in the image memory 151 and the image memories 151 to 153, respectively. The image data write permission to the image memories 151 to 153 and the image memories 151 to 153 are provided. First to third timing generators 160 to 162 for controlling the timing of sending image data to the CPU 163.
As described above, the image storage recognition device 150 stores the image data of the parts photographed by the part recognition camera 107 and determines the center and inclination of each part based on the image data for each part. Perform the required component recognition process.
[0016]
The operation of the component recognition processing apparatus 190 configured as described above will be described below. It should be noted that the first component 37, the second component 38, and the third component 39 of the component holding device 106 are held in advance by suction in the first component 37, the second component 38, and the third component 39, respectively. It shall be.
First, the operation of the interface device 130 will be described.
The component recognition camera 107 detects the component center and component inclination of the first component 37, the second component 38, and the third component 39, so that the XY robot 105 operates to recognize the component holding device 106. The conveyance starts above the camera 107. Here, it is assumed that the component recognition camera 107 sequentially photographs each component in the order of the first component 37, the second component 38, and the third component 39 by the operation of the XY robot 105 and the operation of the component holding device 106. .
At this time, when the component holding device 106 passes the first origin 23 of the linear scale 21 provided in the XY robot 105, the linear scale 21 sends the first origin signal to the interface device 130 via the linear scale transmission path 119. To do. The interface device 130 clears the count value of the first counter 134 in the interface device 130 using the first origin signal as a trigger. Thereafter, the interface device 130 counts the transport distance signal sent from the linear scale 21 by the movement of the component holding device 106 by the first counter 134, thereby determining the movement distance of the component holding device 106 from the first origin 23. The first counter 134 is constantly monitored.
[0017]
When the count value of the first counter 134 reaches the count value determined that the first component 37 sucked by the first suction nozzle 25 has reached the imaging surface of the component recognition camera 107, the interface device 130 An image input start signal 131 is sent to the recognition camera 107, and an illumination control signal 133 is sent to the lighting device 28. Based on the illumination control signal 133, the illumination device 28 irradiates the first component 37 arranged on the imaging surface, and the component recognition camera 107 starts imaging the first component 37 based on the image input start signal 131. Image data obtained by such an imaging operation is sent to the image storage recognition device 150 via the image data transmission path 129 and the interface device 130.
Here, when the image input start signal 131 is transmitted, the interface device 130 counts the image data supplied from the component recognition camera 107 by the second counter 135 and sets it in advance according to the number of pixels for each component. When the count value of the second counter 135 reaches the counted value, the image input end signal 132 is sent to the component recognition camera 107, and the end of sending the image data is notified to the image storage recognition device 150. And the count value of the second counter 135 is cleared. Furthermore, simultaneously with the transmission of the image input end signal 132, the interface apparatus 130 transmits the illumination control signal 133 to the illumination apparatus 28, whereby the illumination apparatus 28 ends the irradiation of the first component 37.
The number of pixels counted by the second counter 135 can also be determined according to, for example, the component size. In this case, the lighting device 28 is turned on only during a minimum period necessary for image capture. Can be made.
[0018]
Next, the operation of the image storage recognition apparatus 150 will be described with reference to FIGS. FIG. 3 shows operations of the CPU 163, the first timing generator 160, the second timing generator 161, and the third timing generator 162 shown in FIG. 2 in time series.
The first image data of the first component 37 sent from the interface device 130 as described above is supplied to the first image memory 151 via the image bus 155 shown in FIG. As shown in FIG. 3, the image storage recognition device 150 first executes a bus connection process 257 from time t1 in order to store the first image data in the first image memory 151.
Thereafter, the first timing generation device 160 receives the synchronization signal 241 generated by the interface device 130 simultaneously with the transmission of the image input start signal 131 by the interface device 130 via the synchronization bus 154, thereby causing the first image memory 151 to receive the synchronization signal 241. On the other hand, a data write permission signal 167 is generated for the first image memory 151. Therefore, from time t2 shown in FIG. 3, the first image memory 151 starts writing the first image data 156 of the first component 37 based on the data write permission signal 167. Then, the first timing generator 160 receives the synchronization signal 244 generated by the interface device 130 through the synchronization bus 154 at the time t3 shown in FIG. Thus, the writing of the first image data 156 to the first image memory 151 is disabled, and the writing of the first image data 156 is terminated. Thus, as shown in FIG. 3, the first image memory 151 performs the input process 251 for the first image data 156 from the time t2 to the time t3. Further, the first timing generator 160 sends the first interrupt signal 247 to the CPU 163 via the CPU bus 159 at the same time as receiving the synchronization signal 244.
[0019]
Based on the supply of the first interrupt signal 247, the CPU 163 executes the connection of the image bus 155 to the second image memory 152 in order to write the second image data 157 in the second component 38 to the second image memory 152, or An interrupt process 258 for performing register setting for connecting the synchronous bus 154 to the second timing generator 161 is executed.
Simultaneously with the end of the interrupt process 258, as shown in FIG. 3, the CPU 163 stores the first image data 156 already stored in the first image memory 151 until a second interrupt signal 248 described later is supplied. On the other hand, the first image recognition processing 254 such as the detection of the component center and the component inclination is executed.
[0020]
On the other hand, after the interruption process 258 is completed, the image of the second component 38 is executed by the component recognition camera 107. That is, in the same manner as the photographing operation of the first component 37 as described above, the interface device 130 monitors the count value of the first counter 134 so that the second component 38 sucked by the second suction nozzle 26 is the component. When the count value of the first counter 134 reaches the count value determined to have reached the imaging surface of the recognition camera 107, the interface device 130 sends an image input start signal 131 to the component recognition camera 107, In addition, an illumination control signal 133 is sent to the illumination device 28. Based on the illumination control signal 133, the illumination device 28 irradiates the second component 38 disposed on the imaging surface, and the component recognition camera 107 starts imaging the second component 38 based on the image input start signal 131. Image data obtained by such an imaging operation is sent to the image storage recognition device 150 via the image data transmission path 129 and the interface device 130.
[0021]
The second timing generation device 161 included in the image storage recognition device 150 operates in the same manner as the first timing generation device 160 described above with respect to the supply of the image data of the second component 38. That is, the second timing generation device 161 receives the synchronization signal 242 generated by the interface device 130 through the synchronization bus 154 simultaneously with the transmission of the image input start signal 131 to the second component 38 by the interface device 130. A data write permission signal 168 is generated for the second image memory 152 for the second image memory 152. Therefore, the second image memory 152 starts writing the second image data 157 of the second component 38 based on the data write permission signal 168 from time t4 shown in FIG. The second timing generator 161 synchronizes the synchronization signal 245 generated by the interface device 130 simultaneously with the transmission of the image input end signal 132 to the second component 38 by the interface device 130 at time t5 shown in FIG. By receiving the data via the bus 154, the writing of the second image data 157 to the second image memory 152 is disabled, and the writing of the second image data 157 is ended. Thus, as shown in FIG. 3, the second image memory 152 performs the input process 252 of the second image data 157 from the time t4 to t5. Furthermore, the second timing generator 161 sends the second interrupt signal 248 to the CPU 163 via the CPU bus 159 at the same time as receiving the synchronization signal 245.
[0022]
Based on the supply of the second interrupt signal 248, the CPU 163 temporarily interrupts the first image recognition processing 254 of the first image data 156 being processed. Further, based on the supply of the second interrupt signal 248, the CPU 163 executes the connection of the image bus 155 to the third image memory 153 in order to write the third image data 158 in the third component 39 to the third image memory 153. Alternatively, an interrupt process 259 is executed, in which a register setting for connecting the synchronization bus 154 to the third timing generator 162 is performed.
[0023]
Simultaneously with the end of the interrupt processing 259, the CPU 163 supplies the first image data 156 stored in the first image memory 151 and the second image memory 152 until a third interrupt signal 249 described later is supplied. The image recognition processing 255 such as component center detection and component inclination detection is executed on the second image data 157 stored in the above in accordance with the preset priority order of the image recognition processing. That is, assuming that the priority order of the image recognition process is, for example, the order of the third component 39, the second component 38, and the first component 37, when the interrupt process 259 is completed, the CPU 163 With respect to the first image data 156 and the second image data 157 that are in an unprocessed state after the operation is completed, the second image data 157 having a higher priority is prioritized over the first image data 156 to perform image recognition processing. Execute. The image recognition process for the first image data 156 is temporarily suspended until all the image recognition processes for image data having a higher priority than the image recognition process for the first image data are completed.
[0024]
Further, after the interruption process 259 is completed, the imaging of the third component 39 is performed by the component recognition camera 107 in the same manner as the imaging operation of the first component 37 and the second component 38 described above.
In response to the supply of the image data of the third component 39, the third timing generator 162 generates a synchronization signal 243 generated by the interface device 130 simultaneously with the transmission of the image input start signal 131 to the third component 39 by the interface device 130. By receiving the data via the synchronization bus 154, a data write permission signal 169 is generated for the third image memory 153. Therefore, from the time t6 shown in FIG. 3, the third image memory 153 starts writing the third image data 158 of the third component 39 based on the data write permission signal 169. Then, the third timing generator 162 synchronizes the synchronization signal 246 generated by the interface device 130 simultaneously with the transmission of the image input end signal 132 to the third component 39 by the interface device 130 at time t7 shown in FIG. By receiving via the bus 154, the writing of the third image data 158 to the third image memory 153 is disabled, and the writing of the third image data 158 is terminated. Thus, as shown in FIG. 3, the third image memory 153 performs the input processing 253 of the third image data 158 from the time t6 to t7. In addition, the third timing generator 162 sends the third interrupt signal 249 to the CPU 163 through the CPU bus 159 at the same time as receiving the synchronization signal 246.
[0025]
Based on the supply of the third interrupt signal 249, the CPU 163 temporarily suspends the second image recognition processing 255 being executed based on the priority order as described above, and performs the image recognition process according to the priority order as described above. Change the image data to be executed. That is, in this example, the image recognition process of the third image data 158 having the highest priority is first executed, and then the image recognition process is executed on the remaining data after the temporary interruption in the second image data 157. Finally, the image recognition process is performed on the remaining data after the temporary interruption in the first image data 156. Referring to FIG. 3, the image recognition processing of the third image data 158 is executed from time t7 when the third interrupt signal 249 is generated, and is terminated at time t8. Therefore, the image recognition process is performed on the remaining data after the temporary interruption in the second image data 157 from time t8, and the process ends at time t9. Then, the image recognition process is performed on the remaining data after the temporary interruption in the first image data 156 from time t9, and the process ends at time t10.
In this way, when the image recognition processing is completed for all the image data, a series of image input and image recognition processing operations are completed.
Note that such an image data changing function for executing image recognition processing can be easily realized if the operation system of the CPU supports the multitask function.
[0026]
As described above, in this embodiment, by using a plurality of small-capacity image memories that store image data of each component, it is possible to avoid the use of an expensive large-capacity image memory and to use one image memory. Thus, since the operation of sequentially reading out the input image data is avoided, low cost can be realized. Furthermore, priority is given to the image recognition processing of the image data, and the image recognition processing is executed according to the above-mentioned priority order for each of the stored image data, thereby reducing the overall time required for the image recognition processing. can do. As described above, in this embodiment, it is possible to efficiently execute the image input process and the image recognition process of the component.
In addition, since the interface device 130 controls the operation of the lighting device 28 when the component reaches the photographing area of the component recognition camera 107, the lighting device 28 is also lighted at the minimum in accordance with the component size. The operation can be executed, the lifetime of the lighting device can be extended, and an efficient image recognition system can be realized.
[0027]
The priority order of the image recognition processing can be determined by, for example, the mounting order of the first component 37, the second component 38, and the third component 39 on the board, or the component mounting device caused by the component size. It can also be determined by the difference in processing speed, and the determination method is determined in consideration of the production efficiency of the entire system.
In the present embodiment, the first image data 156 of the first component 37 is input to the first image memory 151, the second image data 157 of the second component 38 is input to the second image memory 152, and the third component Although 39 third image data 158 are input to the third image memory 153, it goes without saying that any image data may be written in any image memory.
Furthermore, in the present embodiment, the component holding device 106 has three nozzles 25 to 27 and the number of components that can be picked up at one time is three. However, the allowable memory space in the image memory, The upper limit of the number of parts is determined by the number of timing generators that manage the memory space. Therefore, it is possible to set the number of nozzles within the upper limit of the number of parts.
In the present embodiment, each component is recognized as a component by moving the component holding device 106 from the right to the left in the drawing using the first origin signal obtained by the component holding device 106 passing through the first origin 23 as a trigger. Although the camera 107 images, the second origin 24 is provided as shown in FIG. 1, and even when each component is imaged by moving the component holding device 106 from the left to the right, the same operation as this embodiment is performed. It goes without saying that it can be realized. Further, an encoder signal of a motor may be used instead of the linear scale 21 in the present embodiment. In short, any mechanism that can measure the moving distance of the component held by the component holding device 106 may be used.
In this embodiment, the component is held by the suction operation of the nozzle of the component holding device 106, but the present invention is not limited to this. For example, if the component can be held mechanically, the form is It doesn't matter.
[0028]
【The invention's effect】
As described above in detail, according to the component recognition method of the first and second aspects, the component recognition apparatus of the third and fourth aspects, and the component mounting apparatus of the fifth aspect of the present invention, each inspected object An image storage device for storing the respective image data and a control device, and the control device executes recognition processing for each of the inspected objects based on a preset priority order for the image data stored in the image storage device. Therefore, it is possible to reduce the image recognition processing time at low cost.
[Brief description of the drawings]
FIG. 1 is a block diagram showing the structure of a component recognition apparatus according to an embodiment of the present invention.
FIG. 2 is a block diagram showing the structure of the image record recognition apparatus shown in FIG.
FIG. 3 is a diagram showing the operation of the component recognition method executed by the component recognition apparatus shown in FIG. 1 in time series.
4 is a perspective view of a component mounting device including the component recognition device of FIG. 1. FIG.
FIG. 5 is a block diagram showing a structure of a conventional component recognition apparatus.
6 is a block diagram showing a structure of a recognition processing unit shown in FIG.
7 is a perspective view of a component mounting device including the component recognition device of FIG. 5. FIG.
[Explanation of symbols]
28 ... part recognition camera, 37 ... first part,
38 ... 2nd part, 39 ... 3rd part,
101 ... part mounting device, 106 ... part holding device, 107 ... part recognition camera,
130 ... interface device, 134 ... first counter,
135 ... second counter, 150 ... image record recognition device,
151 ... 1st image memory, 152 ... 2nd image memory,
153 ... Third image memory, 160 ... First timing generator,
161 ... second timing generator, 162 ... third timing generator,
163 ... CPU, 190 ... component recognition processing device.

Claims (15)

撮像により得られた複数の被検査物(37,38,39)における複数の画像データを順次、画像記憶装置(151,152,153)に記憶するとともに、既に記憶された画像データについて、上記画像記憶装置に対する画像データの記憶動作が終了するまで、優先順位に従い上記被検査物の認識処理を実行することを特徴とする部品認識方法。A plurality of image data of a plurality of inspected objects (37, 38, 39) obtained by imaging are sequentially stored in the image storage devices (151, 152, 153), and the above image is stored for the already stored image data. A component recognition method, wherein the object recognition processing is executed in accordance with a priority order until a storage operation of image data in a storage device is completed. 撮像により得られた第1被検査物(37)の第1画像データについて第1画像記憶装置(151)への記憶動作を行う、第1工程と、
上記第1画像データの上記記憶動作が終了した後、撮像により得られた第2被検査物(38)の第2画像データについて第2画像記憶装置(152)への記憶動作を行うとともに、上記第2画像データの上記記憶動作が終了するまで上記第1画像データに基づき上記第1被検査物の認識処理を予め行う、第2工程と、
上記第2画像データの上記記憶動作が終了した後、撮像により得られた第3被検査物(39)の第3画像データについて第3画像記憶装置(153)への記憶動作を行うとともに、上記第1被検査物又は上記第2被検査物の内、認識処理の優先順位の高い方について上記第3画像データの上記記憶動作が終了するまで上記認識処理を予め行う、第3工程と、
を備え、被検査物が増えるときには上記第3工程を繰り返して実行することを特徴とする部品認識方法。
A first step of performing a storing operation in the first image storage device (151) for the first image data of the first inspection object (37) obtained by imaging;
After the storage operation of the first image data is completed, the storage operation to the second image storage device (152) is performed on the second image data of the second inspection object (38) obtained by imaging, and A second step in which recognition processing of the first inspection object is performed in advance based on the first image data until the storing operation of the second image data is completed;
After the storage operation of the second image data is completed, the storage operation to the third image storage device (153) is performed on the third image data of the third inspection object (39) obtained by imaging, and A third step in which the recognition process is performed in advance until the storage operation of the third image data is completed for the higher priority of the recognition process among the first inspection object or the second inspection object; and
And the third step is repeatedly executed when the number of inspection objects increases.
上記第3画像データの上記記憶動作が終了した時点で、上記優先順位に従い各被検査物の上記認識処理を順次実行する、請求項2記載の部品認識方法。The component recognition method according to claim 2, wherein when the storage operation of the third image data is finished, the recognition processing of each inspection object is sequentially executed according to the priority order. 上記被検査物が回路基板に装着される電子部品の場合、上記優先順位は、上記回路基板への電子部品の装着順である、請求項1ないし3のいずれかに記載の部品認識方法。4. The component recognition method according to claim 1, wherein when the object to be inspected is an electronic component to be mounted on a circuit board, the priority order is an order of mounting the electronic component on the circuit board. 上記優先順位は、複数の上記被検査物における大きさの順位である、請求項1ないし3のいずれかに記載の部品認識方法。The component recognition method according to claim 1, wherein the priority order is a size order of the plurality of objects to be inspected. 撮像により得られた複数の被検査物(37,38,39)における複数の画像データを順次記憶する画像記憶装置(151,152,153)と、
上記画像記憶装置に既に記憶された画像データについて、上記画像記憶装置に対する画像データの記憶動作が終了するまで、優先順位に従い認識処理を実行する制御装置(163)と、
を備えたことを特徴とする部品認識装置。
An image storage device (151, 152, 153) for sequentially storing a plurality of image data in a plurality of inspected objects (37, 38, 39) obtained by imaging;
A control device (163) that executes recognition processing in accordance with the priority order until the image data storage operation for the image storage device is completed for the image data already stored in the image storage device;
A component recognition apparatus comprising:
被検査物(37,38,39)を撮影する撮像装置(107)と、
上記撮像装置の撮像により得られた複数の上記被検査物における複数の画像データを順次記憶していく画像記憶認識装置(150)と、
上記撮像装置から得られる各画像データの上記画像記憶認識装置への供給の開始及び終了を制御するインターフェース装置(130)と、を備え、
上記画像記憶認識装置は、上記インターフェース装置から上記複数の画像データの内の一つの画像データの供給終了を受けたとき、次の画像データの記憶動作を開始するとともに既に記憶されている画像データに対して優先順位に従い上記被検査物の認識処理を実行することを特徴とする部品認識装置。
An imaging device (107) for imaging the inspection object (37, 38, 39);
An image storage recognition device (150) for sequentially storing a plurality of pieces of image data of the plurality of inspection objects obtained by imaging of the imaging device;
An interface device (130) for controlling the start and end of the supply of each image data obtained from the imaging device to the image storage recognition device,
When the image storage recognition device receives an end of supply of one of the plurality of image data from the interface device, the image storage recognition device starts a storage operation of the next image data and stores the image data already stored. A component recognizing device that executes recognition processing of the inspection object according to priority.
上記被検査物が回路基板に装着される電子部品の場合、上記優先順位は、上記回路基板への電子部品の装着順である、請求項6又は7記載の部品認識装置。8. The component recognition apparatus according to claim 6 or 7, wherein when the inspection object is an electronic component to be mounted on a circuit board, the priority order is an order of mounting the electronic component on the circuit board. 上記優先順位は、複数の上記被検査物における大きさの順位である、請求項6又は7記載の部品認識装置。The component recognition apparatus according to claim 6 or 7, wherein the priority order is a rank order of sizes of the plurality of inspected objects. 上記被検査物を保持しかつ上記撮像装置へ搬送するとともに、搬送距離情報を上記インターフェース装置へ送出する搬送装置(21)を備えた、請求項7ないし9のいずれかに記載の部品認識装置。The component recognition apparatus according to any one of claims 7 to 9, further comprising a transport device (21) for holding the inspection object and transporting the inspection object to the imaging device and sending transport distance information to the interface device. 上記撮像装置には、撮像時に上記被検査物を照明する照明装置(28)を有する、請求項7ないし10のいずれかに記載の部品認識装置。The component recognition apparatus according to any one of claims 7 to 10, wherein the imaging apparatus includes an illumination device (28) that illuminates the inspection object during imaging. 上記インターフェース装置は、第1カウンタ(134)と第2カウンタ(135)とを備え、上記第1カウンタは、上記搬送装置から供給される上記搬送距離情報を計数し該計数値に基づき上記被検査物が上記撮像装置に搬送されたことを検知して上記画像データの上記画像記憶認識装置への供給開始用信号を作成し、第2カウンタは、上記撮像装置から供給される画像データの画素数を計数し該計数値が上記被検査物に対応した値に到達した時点で上記画像データの上記画像記憶認識装置への供給終了用信号を作成する、請求項10又は11記載の部品認識装置。The interface device includes a first counter (134) and a second counter (135). The first counter counts the transport distance information supplied from the transport device, and based on the count value, the inspected object. It detects that an object has been conveyed to the imaging device, creates a signal for starting supply of the image data to the image storage recognition device, and the second counter counts the number of pixels of the image data supplied from the imaging device The component recognition apparatus according to claim 10 or 11, wherein a signal for ending supply of the image data to the image storage recognition apparatus is created when the count value reaches a value corresponding to the inspection object. 上記インターフェース装置は、上記第1カウンタの計数値に基づき、上記画像データの上記供給開始用信号の作成とともに、上記照明装置の照明制御用信号の作成をも行う、請求項12記載の部品認識装置。13. The component recognition device according to claim 12, wherein the interface device creates not only the supply start signal of the image data but also the illumination control signal of the illumination device based on the count value of the first counter. . 上記画像記憶認識装置は、各被検査物の各画像データを記憶するそれぞれの画像メモリ(151,152,153)と、上記記憶動作及び上記認識処理動作の制御を行う制御装置(163)と、上記インターフェース装置から上記複数の画像データの内の一つの画像データの供給終了を受けたとき、上記画像メモリに対して次の画像データの記憶動作を開始する書込許可信号を送出するとともに、上記制御装置に対して上記認識処理を開始させるタイミング発生装置(160,161,162)と、を備えた、請求項7ないし13のいずれかに記載の部品認識装置。The image storage recognition device includes a respective image memory (151, 152, 153) for storing each image data of each inspection object, a control device (163) for controlling the storage operation and the recognition processing operation, When the supply of one of the plurality of image data is received from the interface device, a write permission signal for starting the storage operation of the next image data is sent to the image memory, and The component recognition device according to claim 7, further comprising a timing generation device (160, 161, 162) that causes the control device to start the recognition process. 請求項6ないし請求項14のいずれかに記載の部品認識装置を備えたことを特徴とする部品装着装置。A component mounting device comprising the component recognition device according to claim 6.
JP17392897A 1997-06-30 1997-06-30 Component recognition method, component recognition device, and component mounting device Expired - Fee Related JP3762519B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17392897A JP3762519B2 (en) 1997-06-30 1997-06-30 Component recognition method, component recognition device, and component mounting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17392897A JP3762519B2 (en) 1997-06-30 1997-06-30 Component recognition method, component recognition device, and component mounting device

Publications (2)

Publication Number Publication Date
JPH1123240A JPH1123240A (en) 1999-01-29
JP3762519B2 true JP3762519B2 (en) 2006-04-05

Family

ID=15969680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17392897A Expired - Fee Related JP3762519B2 (en) 1997-06-30 1997-06-30 Component recognition method, component recognition device, and component mounting device

Country Status (1)

Country Link
JP (1) JP3762519B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4641889B2 (en) * 2005-07-19 2011-03-02 シーケーディ株式会社 Inspection apparatus and inspection method
JP6075912B2 (en) * 2013-03-14 2017-02-08 Juki株式会社 Image processing apparatus and image processing method
CN103383239A (en) * 2013-06-03 2013-11-06 上海索广映像有限公司 BNC terminal image recognition device and recognition method

Also Published As

Publication number Publication date
JPH1123240A (en) 1999-01-29

Similar Documents

Publication Publication Date Title
JP2001053496A (en) Electronic component mounting method
JP2008251898A (en) Mounting machine, its mounting method, and method for moving substrate imaging means of mounting machine
JP4960311B2 (en) Component mounting method
JP3762519B2 (en) Component recognition method, component recognition device, and component mounting device
JP6795520B2 (en) Mounting device and imaging processing method
KR100651361B1 (en) Apparatus for mounting components and method thereof
JP2005072046A (en) Apparatus for packaging electronic component
WO2018158888A1 (en) Backup-pin recognizing method and component mounting device
JP3434004B2 (en) Component recognition device and component mounting device
JP2009212373A (en) Component mounting apparatus
JP2004362186A (en) Template matching method and device
JP3406975B2 (en) Mounting device
JP4107712B2 (en) Electronic component mounting method
JP3264742B2 (en) Component mounting equipment
JPH056422A (en) Image checking device
JPH1196378A (en) Load position/attitude recognizing device
JP4172757B2 (en) Component mounting equipment
JPH10200297A (en) Electronic part mounting machine
JP2000180119A (en) Component recognizing device and component mounting device
JP4356497B2 (en) Device with image recognition processing function and image recognition method
JP7015709B2 (en) Board work equipment
JP4712287B2 (en) Electronic component mounting apparatus and electronic component mounting method
JP3266290B2 (en) Component mounting method and component mounting device
JP3469490B2 (en) Component mounting equipment
JPH11316114A (en) Image inspection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040624

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051219

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: 20060110

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060113

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090120

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100120

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110120

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110120

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120120

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130120

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130120

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees