JP2002042112A - Part mounting inspecting method for circuit board and its system - Google Patents

Part mounting inspecting method for circuit board and its system

Info

Publication number
JP2002042112A
JP2002042112A JP2000225408A JP2000225408A JP2002042112A JP 2002042112 A JP2002042112 A JP 2002042112A JP 2000225408 A JP2000225408 A JP 2000225408A JP 2000225408 A JP2000225408 A JP 2000225408A JP 2002042112 A JP2002042112 A JP 2002042112A
Authority
JP
Japan
Prior art keywords
image
component
color
circuit board
determination
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.)
Pending
Application number
JP2000225408A
Other languages
Japanese (ja)
Inventor
Hiroki Murakami
浩樹 村上
Masao Kawasaki
雅生 川崎
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.)
Eiritsu Denki Kk
Shiga Prefectural Government.
Original Assignee
Eiritsu Denki Kk
Shiga Prefectural Government.
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 Eiritsu Denki Kk, Shiga Prefectural Government. filed Critical Eiritsu Denki Kk
Priority to JP2000225408A priority Critical patent/JP2002042112A/en
Publication of JP2002042112A publication Critical patent/JP2002042112A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve a problem that the correlating work of images of parts by a worker for the correlating process of the images of the parts mounted on a circuit board with the master data of the reference images of the parts requires a long work time on the circuit board having a large number of part items and a considerable time until a mounting inspection. SOLUTION: In this part mounting inspecting method for the circuit board, the color image of the whole circuit board mounted with parts is generated, and a color process is applied to the generated color image of the whole circuit board to extract the shape and position of the image of a part. The color image of the part located at the position corresponding to the extracted position of the color image of the whole circuit board is compared with the color reference image based on the shape and position of the image of the extracted part to specify the part corresponding to the color image of the part, and the shape and position of the color image of the specified part are stored.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、回路基板に実装さ
れたチップ部品を含む電子部品の実装状態を検査する部
品実装検査方法及びそのシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a component mounting inspection method for inspecting a mounting state of an electronic component including a chip component mounted on a circuit board, and a system therefor.

【0002】[0002]

【従来の技術】近年、パーソナルコンピュータ等の電子
機器の急速な普及とともに、チップ部品と呼ばれる小型
の抵抗やコンデンサ等を含む電子部品を実装した回路基
板が多種大量に製品化されている。このような回路基板
において、実装された電子部品が正確に実装されている
か否かの検査は、従来は作業者による目視検査であった
が、目視検査では長時間を要するとともに、検査もれが
あったりして検査精度が低くなる場合があったので、検
査の自動化及び精度の向上を目指して例えばCCDカメ
ラを使用した検査装置によるものに移行してきている。
2. Description of the Related Art In recent years, with the rapid spread of electronic devices such as personal computers, various types of circuit boards on which electronic components called chip components including small resistors and capacitors are mounted have been mass-produced. Conventionally, inspection of whether or not mounted electronic components are correctly mounted on such a circuit board has been a visual inspection by an operator. In some cases, the inspection accuracy has been lowered, so that the inspection system has been shifted to an inspection device using a CCD camera, for example, in order to automate the inspection and improve the accuracy.

【0003】このような検査装置は、基本的には、CC
Dカメラで撮影した回路基板に実装された電子部品の画
像と、電子部品単体で撮影された電子部品の画像すなわ
ち基準画像とをパターンマッチングの手法で比較し、両
者のマッチングが取れた際に撮影した電子部品を特定
し、特定できた電子部品に対してその実装状態すなわち
位置ずれを検査するものである。この種の検査装置で
は、作業者が操作してCCDカメラで電子部品を撮影
し、撮影した電子部品の画像よりその電子部品の位置を
データ化する。次に、撮影した電子部品が実際のどの電
子部品に相当するのか、あらかじめ記憶された電子部品
の画像(マスターデータ)から作業者が検索して、撮影
した電子部品の画像に検索で得られた電子部品画像を関
連付けて、撮影した電子部品があらかじめ記憶された電
子部品に対応することを特定して登録する。電子部品が
特定できた後は、その電子部品が正確に実装されている
か否かを検査範囲を設定して、その検査範囲内で検索し
て、電子部品の実装状態を判定するものである。
[0003] Such an inspection apparatus basically has a CC
The image of the electronic component mounted on the circuit board captured by the D camera is compared with the image of the electronic component captured by the electronic component alone, that is, the reference image, using a pattern matching method. The specified electronic component is specified, and the mounting state, that is, the position shift of the specified electronic component is inspected. In this type of inspection apparatus, an operator operates a CCD camera to photograph an electronic component, and converts the position of the electronic component into data from the captured image of the electronic component. Next, the operator searched the electronic component image (master data) stored in advance to find out which electronic component the captured electronic component corresponds to, and obtained the image of the electronic component by the search. The electronic component image is associated with the electronic component to identify and register that the captured electronic component corresponds to the electronic component stored in advance. After the electronic component can be identified, an inspection range is set to determine whether or not the electronic component is correctly mounted, and the electronic component is searched within the inspection range to determine the mounting state of the electronic component.

【0004】[0004]

【発明が解決しようとする課題】ところで、近年の回路
基板にあっては、印刷される電子回路の複雑化や実装密
度の高度化、さらには電子部品の小型化等により、一枚
の回路基板における検査対象となる電子部品数が増加し
ていることから、高速化が望まれている。上記のような
構成の検査装置では、作業者が全電子部品に対し個別に
電子部品の撮影、検索及び関連付けを行わねばならず、
部品点数が大きい回路基板にあっては相当な作業時間が
必要となった。
By the way, in recent circuit boards, due to the complexity of printed electronic circuits, the sophistication of mounting density, and the miniaturization of electronic parts, etc., a single circuit board is required. Since the number of electronic components to be inspected has increased, it has been desired to increase the speed. In the inspection device having the above-described configuration, the operator must individually perform photographing, searching, and associating electronic components with respect to all electronic components.
For a circuit board having a large number of parts, considerable work time was required.

【0005】また、電子部品の実装状態の判定の位置決
め処理は、検査範囲すなわちサーチ領域内で、撮影した
画像とマスターデータとの相対的な位置を、サーチ領域
内でマスターデータを所定量ずつ移動させていき、撮影
した画像とマスターデータとが一致した位置で実装され
た電子部品の位置を確定するものである。しかしなが
ら、この動作にあっても、サーチ領域内の検索開始位置
に近い位置に検査対象となる電子部品の画像がある場合
は検索回数が少ないために、位置の確定までに要する時
間は短いものの、検索終了位置に近い位置に同画像があ
る場合では、検索回数が多くなることにより、位置の確
定までに要する時間が長くなり、全体としての処理が長
時間化することとなった。
In the positioning process for determining the mounting state of the electronic component, the relative position between the photographed image and the master data is moved in the inspection range, that is, the search area, and the master data is moved by a predetermined amount in the search area. Then, the position of the mounted electronic component is determined at a position where the captured image matches the master data. However, even in this operation, when there is an image of the electronic component to be inspected at a position near the search start position in the search area, the number of searches is small, and although the time required to determine the position is short, When the same image is located at a position close to the search end position, the number of searches increases, the time required to determine the position increases, and the overall processing becomes longer.

【0006】本発明は、このような不具合を解消するこ
とを目的としている。
An object of the present invention is to solve such a problem.

【0007】[0007]

【課題を解決するための手段】本願の発明は、このよう
な目的を達成するために、次のような手段を講じたもの
である。すなわち、本願の請求項1に係る発明は、部品
が実装された回路基板を撮像して得られた画像に基づい
て部品の実装状態を検査する回路基板の部品実装検査方
法であって、部品が実装された回路基板全体のカラー画
像を作製する全画像作製段階と、作製した回路基板全体
のカラー画像の色処理を行って部品画像の形状と位置と
を抽出する抽出段階と、抽出した部品画像の形状と位置
とに基づいて回路基板全体のカラー画像の抽出した位置
に対応する位置にある部品のカラー画像とカラー基準画
像とを比較して部品のカラー画像が対応する部品を特定
する特定段階と、部品を特定した部品のカラー画像の形
状と位置とを記憶する記憶段階とを備えることを特徴と
する回路基板の部品実装検査方法である。
The invention of the present application employs the following means in order to achieve such an object. That is, the invention according to claim 1 of the present application is a component board mounting inspection method for inspecting a component mounting state based on an image obtained by imaging a circuit board on which a component is mounted, wherein the component is mounted on the circuit board. An all-image producing step of producing a color image of the entire mounted circuit board, an extracting step of performing color processing of the produced color image of the entire circuit board to extract the shape and position of the part image, and an extracted part image Specifying a component corresponding to the color image of the component by comparing the color image of the component at the position corresponding to the extracted position of the color image of the entire circuit board with the color reference image based on the shape and position of the component And a storage step for storing a shape and a position of a color image of the specified component, and a component mounting inspection method for a circuit board.

【0008】このような構成のものであれば、部品の実
装された回路基板のカラー画像から色処理を行うことに
より実装された部品画像の形状と位置とを抽出し、この
抽出した部品画像とあらかじめ記憶されたカラー基準画
像とを比較して部品及び部品の位置を特定し、部品を特
定した部品のカラー画像の形状と位置とを記憶するの
で、回路基板に実装された部品の特定を自動化すること
が可能になる。したがって、回路基板に実装された部品
の実装状態を検査するにあたって、部品の特定に要する
時間を短縮することができ、検査に要する時間を大幅に
短縮することが可能になる。
With such a configuration, the shape and position of the mounted component image are extracted by performing color processing from a color image of the circuit board on which the component is mounted, and the extracted component image and Since the parts and the positions of the parts are specified by comparing them with the color reference image stored in advance, and the shape and position of the color image of the specified parts are stored, the specification of the parts mounted on the circuit board is automated. It becomes possible to do. Therefore, when inspecting the mounting state of the components mounted on the circuit board, the time required for specifying the components can be reduced, and the time required for the inspection can be significantly reduced.

【0009】部品毎の抽出精度を高くするためには、抽
出段階が、あらかじめ設定された部品毎の特徴を示す部
品情報に基づいて色処理を変更して部品毎に2値化した
部品画像とすることが好ましい。
In order to increase the extraction accuracy of each component, the extraction step includes changing a color process based on component information indicating a characteristic of each component set in advance and converting the component image into a binary image for each component. Is preferred.

【0010】全画像作製段階としては、回路基板の所定
の大きさの撮像領域毎に撮像したそれぞれのカラー画像
を合成して作製することが好ましい。また、全画像製作
段階としては、回路基板全体を撮像してカラー画像を作
製することが挙げられる。
[0010] In the whole image production step, it is preferable to produce the composite image by combining the respective color images taken for each of the imaging areas of a predetermined size on the circuit board. In addition, the step of producing an entire image includes producing a color image by imaging the entire circuit board.

【0011】また、本願の請求項5に係る発明は、部品
が実装された回路基板を撮像して得られた画像に基づい
て部品の実装状態を検査する回路基板の部品実装検査方
法であって、実装される可能性のある部品のカラー基準
画像と部品種別データとを記憶する画像記憶段階と、記
憶したカラー基準画像の部品種別データを、部品の実装
された回路基板の実装位置データ及び部品種別データを
少なくとも含む製図データにおける部品種別データから
検索してカラー基準画像に実装位置データを関連付けて
カラー基準画像の位置を特定する特定段階と、特定した
カラー基準画像を実装位置データとともに記憶する記憶
段階とを備えることを特徴とする回路基板の部品実装検
査方法である。
According to a fifth aspect of the present invention, there is provided a method for inspecting a component mounting of a circuit board based on an image obtained by imaging a circuit board on which the component is mounted. An image storing step of storing a color reference image and component type data of a component that may be mounted; and storing the component type data of the stored color reference image with the mounting position data and the component of the circuit board on which the component is mounted. A specifying step of specifying the position of the color reference image by associating the mounting position data with the color reference image by searching from the component type data in the drafting data including at least the type data, and storing the specified color reference image together with the mounting position data And a component mounting inspection method for a circuit board.

【0012】本願の請求項6に係る発明は、部品が実装
された回路基板を撮像して得られた画像に基づいて部品
の実装状態を検査する回路基板の部品実装検査システム
であって、実装される可能性のある部品のカラー基準画
像を記憶する画像記憶手段と、部品が実装された回路基
板全体のカラー画像を作製する全画像作製手段と、作製
した回路基板全体のカラー画像の色処理を行って部品画
像の形状と位置とを抽出する抽出手段と、抽出した部品
画像の形状と位置とに基づいて回路基板全体のカラー画
像の抽出した位置に対応する位置にある部品のカラー画
像とカラー基準画像とを比較して部品のカラー画像が対
応する部品を特定する特定手段と、部品を特定した部品
のカラー画像の形状と位置とを記憶する部品情報記憶手
段とを備えることを特徴とする回路基板の部品実装検査
システムである。
[0012] The invention according to claim 6 of the present application is a circuit board component mounting inspection system for inspecting the mounting state of components based on an image obtained by imaging a circuit board on which components are mounted. Image storage means for storing a color reference image of a component that may be performed, all image production means for producing a color image of the entire circuit board on which the component is mounted, and color processing of the color image of the produced circuit board as a whole Extracting means for extracting the shape and position of the component image, and a color image of the component at a position corresponding to the extracted position of the color image of the entire circuit board based on the shape and position of the extracted component image. A component for comparing the color reference image with the color reference image to specify a component corresponding to the component; and a component information storage unit for storing a shape and a position of the color image of the component specifying the component. A circuit board component mounting inspection system according to claim.

【0013】抽出手段としては、あらかじめ設定された
部品毎の特徴を示す部品情報に基づいて色処理を変更し
て部品毎に異なる色の2値化した部品画像とするものが
好ましい。
As the extracting means, it is preferable that the color processing is changed based on component information indicating characteristics of each component set in advance to obtain a binary component image of a different color for each component.

【0014】全画像作製手段としては、回路基板の所定
の大きさの撮像領域毎に撮像する撮像装置と、撮像装置
で撮影したそれぞれの画像を合成する画像合成処理回路
とを備えるものが好ましい。また、撮像装置としては、
CCDカメラを備えるものが挙げられる。
[0014] As the all-image producing means, it is preferable to use an image-capturing device for capturing an image for each image-capturing area of a predetermined size on the circuit board, and an image compositing processing circuit for composing each image captured by the image-capturing device. Also, as an imaging device,
One provided with a CCD camera is exemplified.

【0015】さらに、全画像製作手段としては、回路基
板全体を1度に撮像する撮像装置を備えるものが好適で
ある。このような撮像装置としては、カラーイメージス
キャナを備えるものが挙げられる。なお、本願のそれぞ
れの発明における撮像とは、フイルムを使用して被写体
である実装済の回路基板を撮影し、フィルムに記録され
た画像を電子データにして記録すること、デジタルスチ
ルカメラを用いて撮影し、半導体等の記録媒体に記録す
ること、及びスキャナを用いて実装済の回路基板を光に
より走査して反射光に基づいて画像データを作成して記
録することを含むものである。
Further, it is preferable that the all-image producing means has an image pickup device for taking an image of the entire circuit board at one time. An example of such an imaging device includes a device provided with a color image scanner. Note that the imaging in each invention of the present application means that a mounted circuit board which is a subject is photographed using a film, an image recorded on a film is recorded as electronic data, and a digital still camera is used. This includes photographing and recording on a recording medium such as a semiconductor, and scanning and mounting light on a mounted circuit board using a scanner to generate and record image data based on reflected light.

【0016】また、本願の請求項12に係る発明は、部
品が実装された回路基板を撮像して得られた画像に基づ
いて部品の実装状態を検査する回路基板の部品実装検査
システムであって、実装される可能性のある部品のカラ
ー基準画像と部品種別データとを記憶する画像記憶手段
と、記憶したカラー基準画像の部品種別データを、部品
の実装された回路基板の実装位置データ及び部品種別デ
ータを少なくとも含む製図データにおける部品種別デー
タから検索してカラー基準画像に実装位置データを関連
付けてカラー基準画像の位置を特定する特定手段と、特
定したカラー基準画像を実装位置データとともに記憶す
る記憶段階とを備えることを特徴とする回路基板の部品
実装検査システムである。
According to a twelfth aspect of the present invention, there is provided a circuit board component mounting inspection system for inspecting a component mounting state based on an image obtained by imaging a circuit board on which components are mounted. Image storage means for storing a color reference image and component type data of a component that may be mounted, and storing the component type data of the stored color reference image with the mounting position data and the component of the circuit board on which the component is mounted. Specifying means for specifying the position of the color reference image by associating the mounting position data with the color reference image by searching from the component type data in the drafting data including at least the type data, and storing the specified color reference image together with the mounting position data And a component mounting inspection system for a circuit board.

【0017】さらに、請求項13に係る発明は、部品が
実装された回路基板を撮影し得られた画像に基づいて部
品の実装状態を検査する回路基板の部品実装検査方法で
あって、部品が実装された回路基板の部品及びその近傍
のカラー画像からなるカラー部品画像を撮像するカラー
部品撮像段階と、撮像したカラー部品画像を含む大きさ
の位置決め領域をカラー部品画像に対応して設定する位
置決め領域設定段階と、位置決め領域における前回まで
の位置検出結果における確定位置まで部品のカラー基準
画像を移動して位置決め領域内におけるカラー部品画像
とカラー基準画像とが一致した場合にカラー部品画像の
位置によりカラー部品画像に対応する部品の位置を確定
する位置確定段階とを備えることを特徴とする回路基板
の部品実装検査方法である。
Further, according to a thirteenth aspect of the present invention, there is provided a circuit board component mounting inspection method for inspecting a component mounting state based on an image obtained by photographing a circuit board on which a component is mounted. A color component imaging step of capturing a color component image including a mounted circuit board component and a color image in the vicinity thereof, and positioning for setting a positioning region having a size including the captured color component image in correspondence with the color component image In the region setting step, the color reference image of the component is moved to the determined position in the position detection result up to the previous time in the positioning region, and if the color component image and the color reference image in the positioning region match, the position of the color component image A position determining step of determining a position of a component corresponding to the color component image. It is.

【0018】このような構成によれば、カラー部品画像
より部品の位置を確定する場合に、位置検出毎に位置決
め領域内全てにおいてカラー部品画像とカラー基準画像
とを比較する必要がなくなるので、カラー部品画像に対
応する部品の位置を確定するに要する作業時間を短縮す
ることが可能になる。
According to such a configuration, when the position of the component is determined from the color component image, it is not necessary to compare the color component image with the color reference image in the entire positioning area for each position detection. It is possible to reduce the work time required to determine the position of the component corresponding to the component image.

【0019】位置確定段階としては、カラー部品画像と
カラー基準画像との一致を、カラー部品画像の形状に一
致する形状の判定領域を移動可能に位置決め領域内に設
定し、その判定領域を分割して複数の判定区画を設定す
るとともに、カラー基準画像に対して判定区画に対応す
る基準区画を設定し、判定区画と基準区画とのそれぞれ
の色を順次比較してある判定区画において比較結果があ
らかじめ設定された判定基準に満たない場合には次の判
定位置に判定領域を移動して前記比較を行い、全ての判
定区画が判定基準を満たしたことにより判定することが
好ましい。
In the position determination step, the coincidence between the color component image and the color reference image is set in a positioning region movably in a determination region having a shape matching the shape of the color component image, and the determination region is divided. In addition to setting a plurality of determination sections, a reference section corresponding to the determination section is set for the color reference image, and the comparison result is determined in advance in the determination section in which the respective colors of the determination section and the reference section are sequentially compared. When the determined criterion is not satisfied, it is preferable that the determination area is moved to the next determination position and the comparison is performed, and the determination is made based on all the determination sections satisfying the criterion.

【0020】本願の請求項15に係る発明は、部品が実
装された回路基板を撮像して得られた画像に基づいて部
品の実装状態を検査する回路基板の部品実装検査方法で
あって、部品が実装された回路基板の部品及びその近傍
のカラー画像からなるカラー部品画像を撮像するカラー
部品撮像段階と、撮像したカラー部品画像を含む大きさ
の位置決め領域をカラー部品画像に対応して設定する位
置決め領域設定段階と、カラー部品画像の形状に一致す
る形状の判定領域を移動可能に位置決め領域内に設定
し、その判定領域を分割して複数の判定区画を設定する
とともに、カラー基準画像に対して判定区画に対応する
基準区画を設定し、判定区画と基準区画とのそれぞれの
色を順次比較してある判定区画において比較結果があら
かじめ設定された判定基準に満たない場合には次の判定
位置に判定領域を移動して前記比較を行い、全ての判定
区画が判定基準を満たした場合にカラー部品画像の対応
する部品の実装位置を確定する位置確定段階とを備える
ことを特徴とする回路基板の部品実装検査方法である。
According to a fifteenth aspect of the present invention, there is provided a method of inspecting a component mounting state of a circuit board for inspecting a mounting state of the component based on an image obtained by imaging a circuit board on which the component is mounted. A color component image capturing step of capturing a color component image composed of a component of a circuit board on which is mounted and a color image in the vicinity thereof, and a positioning region having a size including the captured color component image is set corresponding to the color component image. In the positioning area setting step, a determination area having a shape that matches the shape of the color component image is movably set in the positioning area, the determination area is divided to set a plurality of determination sections, and the color reference image is set. The reference section corresponding to the judgment section is set by using the judgment section, and the respective colors of the judgment section and the reference section are sequentially compared. If the criterion is not satisfied, the determination area is moved to the next determination position and the comparison is performed. If all the determination sections satisfy the criterion, the mounting position of the corresponding component of the color component image is determined. And a component mounting inspection method for a circuit board.

【0021】このような構成によれば、位置決め領域内
において、判定領域に設定された判定区画とカラー基準
画像における基準区画とのそれぞれの色を順次比較し
て、比較結果があらかじめ設定された判定基準に満たな
い場合に次の判定位置に判定領域を移動して改めて判定
区画とカラー基準区画とのそれぞれの色を比較するの
で、判定領域が移動した位置においてその判定領域内の
全ての判定区画の比較結果が出る前に次の判定位置に移
動することが可能になる。したがって、ある判定区画に
おいて全ての判定区画の比較に要する時間が不要になる
ため、位置の確定に要する時間を短縮することが可能に
なる。
According to such a configuration, in the positioning area, the colors of the determination section set in the determination area and the reference section in the color reference image are sequentially compared, and the comparison result is determined in advance. If the criterion is not satisfied, the judgment area is moved to the next judgment position, and the respective colors of the judgment section and the color reference section are compared again. It is possible to move to the next determination position before the comparison result is obtained. Therefore, the time required for comparing all the determination sections in a certain determination section is not required, and the time required for determining the position can be reduced.

【0022】本願の請求項16に係る発明は、部品が実
装された回路基板を撮像して得られた画像に基づいて部
品の実装状態を検査する回路基板の部品実装検査システ
ムであって、実装される可能性のある部品のカラー基準
画像を記憶する画像記憶手段と、部品が実装された回路
基板の部品及びその近傍のカラー画像からなるカラー部
品画像を撮像するカラー部品撮像手段と、撮像したカラ
ー部品画像を含む大きさの位置決め領域をカラー部品画
像に対応して設定する位置決め領域設定手段と、位置決
め領域における前回までの位置検出結果における確定位
置まで部品のカラー基準画像を移動して位置決め領域内
におけるカラー部品画像とカラー基準画像とが一致した
場合にカラー部品画像の位置によりカラー部品画像に対
応する部品の位置を確定する位置確定手段とを備えるこ
とを特徴とする回路基板の部品実装検査システムであ
る。
According to a sixteenth aspect of the present invention, there is provided a circuit board component mounting inspection system for inspecting a component mounting state based on an image obtained by imaging a circuit board on which a component is mounted. Image storage means for storing a color reference image of a part which is likely to be performed, color part imaging means for taking a color part image comprising a part of a circuit board on which the part is mounted and a color image in the vicinity thereof, and Positioning area setting means for setting a positioning area having a size including the color part image corresponding to the color part image; and a positioning area by moving the color reference image of the part to a fixed position in the position detection result up to the previous time in the positioning area. Position of the component corresponding to the color component image according to the position of the color component image when the color component image matches the color reference image A circuit board component mounting inspection system, characterized in that it comprises a position determining means for determining.

【0023】位置確定手段としては、カラー部品画像と
カラー基準画像との一致を、カラー部品画像の形状に一
致する形状の判定領域を移動可能に位置決め領域内に設
定し、その判定領域を分割して複数の判定区画を設定す
るとともに、カラー基準画像に対して判定区画に対応す
る基準区画を設定し、判定区画と基準区画とのそれぞれ
の色を順次比較してある判定区画において比較結果があ
らかじめ設定された判定基準に満たない場合には次の判
定位置に判定領域を移動して前記比較を行い、全ての判
定区画が判定基準を満たしたことにより判定するものが
好適である。
As the position determining means, the coincidence between the color component image and the color reference image is set within a positioning region movably in a determination region having a shape matching the shape of the color component image, and the determination region is divided. In addition to setting a plurality of determination sections, a reference section corresponding to the determination section is set for the color reference image, and the comparison result is determined in advance in the determination section in which the respective colors of the determination section and the reference section are sequentially compared. If the determined criterion is not satisfied, it is preferable that the determination area is moved to the next determination position and the comparison is performed, and the determination is made based on all the determination sections satisfying the criterion.

【0024】本願の請求項18に係る発明は、部品が実
装された回路基板を撮像して得られた画像に基づいて部
品の実装状態を検査する回路基板の部品実装検査システ
ムであって、実装される可能性のある部品のカラー基準
画像を記憶する画像記憶手段と、部品が実装された回路
基板の部品及びその近傍のカラー画像からなるカラー部
品画像を撮像するカラー部品撮像手段と、撮像したカラ
ー部品画像を含む大きさの位置決め領域をカラー部品画
像に対応して設定する位置決め領域設定手段と、カラー
部品画像の形状に一致する形状の判定領域を移動可能に
位置決め領域内に設定し、その判定領域を分割して複数
の判定区画を設定するとともに、カラー基準画像に対し
て判定区画に対応する基準区画を設定し、判定区画と基
準区画とのそれぞれの色を順次比較してある判定区画に
おいて比較結果があらかじめ設定された判定基準に満た
ない場合には次の判定位置に判定領域を移動して前記比
較を行い、全ての判定区画が判定基準を満たした場合に
カラー部品画像の対応する部品の実装位置を確定する位
置確定手段とを備えることを特徴とする回路基板の部品
実装検査システムである。
The invention according to claim 18 of the present application is a circuit board component mounting inspection system for inspecting the mounting state of components based on an image obtained by imaging a circuit board on which components are mounted, Image storage means for storing a color reference image of a part which is likely to be performed, color part imaging means for taking a color part image comprising a part of a circuit board on which the part is mounted and a color image in the vicinity thereof, and A positioning area setting means for setting a positioning area having a size including the color part image corresponding to the color part image, and a determination area having a shape corresponding to the shape of the color part image movably set in the positioning area; A plurality of judgment sections are set by dividing the judgment area, and a reference section corresponding to the judgment section is set for the color reference image, and each of the judgment section and the reference section is set. If the comparison result does not satisfy the predetermined criterion in one of the determination sections in which the colors are sequentially compared, the determination area is moved to the next determination position and the comparison is performed. A component mounting inspection system for a circuit board, comprising: a position determination unit that determines a mounting position of a component corresponding to a color component image when the condition is satisfied.

【0025】[0025]

【発明の実施の形態】以下、本発明の実施の一形態を、
図面を参照して説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, an embodiment of the present invention will be described.
This will be described with reference to the drawings.

【0026】図1に示す部品実装検査装置は、多数の電
子部品1の実装された検査対象である実装済の回路基板
(以下、実装基板と略称する)2を載置する検査テーブ
ル3と、この検査テーブル3を2軸方向すなわちX軸及
びY軸方向に移動させるX−Yコントローラ4と、検査
テーブル上の実装基板2を撮像する撮像装置を構成する
CCDカメラ5と、CCDカメラ5から出力されるカラ
ー画像信号に基づいて撮像されたカラー画像をカラー画
像データに変換して後述する電子部品1の実装検査を行
う電子処理装置6とからなる。なお、以下において、画
像と記載するものは、別段の説明がない限り画像データ
を指すものとする。CCDカメラ5は、その撮像面積が
限られており、一回の撮像では実装基板2の部分を撮像
するものである。したがって、後述するように、実装基
板2のカラー全体画像を作製するにあたっては、複数回
の撮像が必要で、撮像したそれぞれの画像をつなぎ合わ
せることにより、実装基板2のカラー全体画像を作製す
るものである。したがって、CCDカメラ5と電子処理
装置6とにより全画像作製手段が構成される。なお、こ
の実施の形態では、検査テーブル3を移動させるもので
あるが、検査テーブル3を固定しておいてCCDカメラ
5をX−Yコントローラ4で移動させるものであっても
よい。
The component mounting inspection apparatus shown in FIG. 1 includes an inspection table 3 on which a mounted circuit board (hereinafter abbreviated as a mounting board) 2 on which a large number of electronic components 1 are to be inspected, An XY controller 4 for moving the inspection table 3 in two axis directions, that is, an X-axis and a Y-axis direction, a CCD camera 5 constituting an imaging device for imaging the mounting board 2 on the inspection table, and an output from the CCD camera 5 The electronic processing device 6 converts a color image captured based on the color image signal into color image data and performs a mounting inspection of the electronic component 1 described later. In the following, the term “image” refers to image data unless otherwise specified. The CCD camera 5 has a limited imaging area, and captures a portion of the mounting substrate 2 in one imaging. Therefore, as described later, in order to produce a color whole image of the mounting board 2, it is necessary to take a plurality of times of imaging, and by connecting the captured images, a color whole image of the mounting board 2 is produced. It is. Therefore, the CCD camera 5 and the electronic processing device 6 constitute an entire image producing means. In this embodiment, the inspection table 3 is moved, but the inspection table 3 may be fixed and the CCD camera 5 may be moved by the XY controller 4.

【0027】電子処理装置6は、中央演算装置としての
マイクロプロセッサを内蔵したコンピュータシステム
で、基本的なハードウエアとしてはパーソナルコンピュ
ータと同等である。具体的には、電子処理装置6は、マ
イクロプロセッサ6aa、RAM6ab、ROM6a
c、入出力インターフェース6ad、ハードディスク等
の記憶装置6aeを備える装置本体6aと、入力装置と
してのキーボード6b及びマウス6c、表示装置として
の例えばCRT等のディスプレイ装置6d、CCDカメ
ラ5により撮像された画像を画像データに変換する画像
合成処理回路を構成するビデオキャプチャ回路6afを
備えるものである。また、記憶装置6aeには、以下に
説明する、検査プログラムが格納してあるとともに、検
査する実装基板2において使用される可能性のある全て
の電子部品1のカラー基準画像が、その部品名等ととも
に保存(記憶)してあり、電子部品1のカラー画像から
なるカラー基準画像のデータベースが構築してある。こ
のカラー基準画像は、電子部品1の形状を示すととも
に、その表面に印刷されている部品の型式等の文字につ
いても示すものである。記憶装置6aeが、画像記憶手
段を構成する。
The electronic processing unit 6 is a computer system having a built-in microprocessor as a central processing unit. Basic hardware is equivalent to a personal computer. Specifically, the electronic processing device 6 includes a microprocessor 6aa, a RAM 6ab, a ROM 6a
c, an input / output interface 6ad, a device main body 6a including a storage device 6ae such as a hard disk, a keyboard 6b and a mouse 6c as input devices, a display device 6d such as a CRT as a display device, and an image captured by the CCD camera 5. Is provided with a video capture circuit 6af that constitutes an image synthesis processing circuit that converts the image data into image data. The storage device 6ae stores an inspection program described below, and stores color reference images of all the electronic components 1 that may be used on the mounting board 2 to be inspected, with their component names and the like. A database of a color reference image including a color image of the electronic component 1 is constructed. The color reference image shows the shape of the electronic component 1 and also shows characters such as the model of the component printed on the surface. The storage device 6ae constitutes an image storage unit.

【0028】実装基板2における電子部品1の実装状態
を検査するにあたって、最初に、実装基板2上の電子部
品1の形状及びその位置を特定し、電子部品1の形状及
びその位置を記憶して、その後の電子部品1の位置を確
定する際に、実装基板2毎に複数の電子部品1個別の形
状及びその位置を特定する作業者による作業を省略する
ものである。このいわゆる電子部品1の形状及びその位
置の自動ティーチング処理は、以下の手順により行う。
In inspecting the mounting state of the electronic component 1 on the mounting board 2, first, the shape and the position of the electronic component 1 on the mounting board 2 are specified, and the shape and the position of the electronic component 1 are stored. When the position of the electronic component 1 is determined thereafter, the work of the operator who specifies the individual shapes and positions of the plurality of electronic components 1 for each mounting board 2 is omitted. The automatic teaching process of the shape and the position of the electronic component 1 is performed according to the following procedure.

【0029】図2において、ティーチング処理の概略手
順を説明する。まず、ステップS1において、実装基板
2全体のカラー画像すなわちカラー全体画像を作製す
る。具体的には、電子部品1が正常に実装された実装基
板2を検査テーブル上に載置して、実装基板2毎に設定
された撮像開始点から撮像終了点までの間の各撮像点に
おいて、実装基板2を部分的に撮像する。各撮像点への
CCDカメラ5の相対移動は、検査テーブル3をX−Y
コントローラ4により制御されるもので、撮像点におけ
る撮像後、X方向及びY方向に移動させる所定距離がX
−Yコントローラ4に設定してある。そして、ビデオキ
ャプチャ回路6afより出力される各撮像点における実
装基板2の部分画像は、電子処理装置6の装置本体6a
によりつなぎ合わされて(合成されて)、記憶装置6a
eに保存される。
Referring to FIG. 2, a schematic procedure of the teaching process will be described. First, in step S1, a color image of the entire mounting substrate 2, that is, a full color image is prepared. Specifically, the mounting board 2 on which the electronic component 1 is normally mounted is placed on an inspection table, and at each imaging point between the imaging start point and the imaging end point set for each mounting board 2 , The mounting board 2 is partially imaged. The relative movement of the CCD camera 5 to each of the imaging points is determined by setting the inspection table 3 in XY
The predetermined distance to be moved in the X direction and the Y direction after imaging at the imaging point is controlled by the controller 4.
-Set to the Y controller 4. The partial image of the mounting board 2 at each imaging point output from the video capture circuit 6af is stored in the device main body 6a of the electronic processing device 6.
(Combined) by the storage device 6a
e.

【0030】次に、ステップS2において、作製された
実装基板2のカラー全体画像から、色処理を実行して、
実装されている電子部品1の部品毎の部品画像の形状と
位置とを抽出する。ステップS3では、抽出した部品画
像の形状及び位置に基づいてカラー全体画像における部
品のカラー画像を選出し、記憶装置6aeに保存された
カラー基準画像との比較によりカラー部品画像に対応す
る電子部品1を特定する。そして、ステップS4では、
抽出した部品画像に対応する部品のカラー画像の形状及
び位置を記憶装置6aeに保存する。
Next, in step S2, a color process is executed from the entire color image of the mounting board 2 thus manufactured.
The shape and position of the component image for each component of the mounted electronic component 1 are extracted. In step S3, a color image of the component in the overall color image is selected based on the shape and position of the extracted component image, and the electronic component 1 corresponding to the color component image is compared with the color reference image stored in the storage device 6ae. To identify. Then, in step S4,
The shape and position of the color image of the component corresponding to the extracted component image are stored in the storage device 6ae.

【0031】次に、ステップS2〜S3における処理の
詳細を、図3により説明する。まず、部品画像を抽出す
るに際して、カラー全体画像の色処理を行う。色処理と
は、カラー全体画像において、各部品を実装基板2の色
とは別の色を有する画像にして、それぞれの部品画像を
実装基板2から浮かび上がらせる処理である。すなわ
ち、色情報を数値化したカラーモデルであるRGB
(赤、緑、青の三原色)データにおいて、カラー全体画
像を構成する画素のRGBデータを、R、G及びBのそ
れぞれ個別に、また組み合わせて変更することにより、
部品画像を2値化するものである。
Next, details of the processing in steps S2 to S3 will be described with reference to FIG. First, when extracting a component image, color processing of the entire color image is performed. The color processing is a process of converting each component into an image having a color different from the color of the mounting board 2 in the entire color image, and causing each component image to emerge from the mounting board 2. That is, a color model which is a color model in which color information is digitized
In the (red, green, and blue primary colors) data, by changing the RGB data of the pixels constituting the entire color image individually and in combination of R, G, and B,
The component image is binarized.

【0032】具体的には、ステップS21において、部
品画像の形状すなわち大きさと色情報を用いて、白色以
外の色を取り除いて、ソケットやコネクタ等の白色系の
大型部品の画像を抽出する(前処理1)。この処理で得
られる画像は、大型部品の画像が白色となり、実装基板
の基板部分が黒色となる実装基板2全体の画像である。
以下に説明する処理において得られる画像についても、
同様である。次に、いわゆるチップ部品と呼ばれる、部
品本体すなわちボディ部分の両端部分に配線用の端子を
有する電子部品1を抽出する場合を説明する。ステップ
S22において、端子部分の面積、長径、外郭、及び膨
らみ情報に基づいて、部品のカラー画像を2値化するの
に必要なRGBデータを設定し、チップ部品の端子部分
の画像を抽出する(前処理2)。ステップS23では、
実装基板2の色情報を用いて実装基板2に対応する画像
をカラー全体画像から消去することにより、チップ部品
の文字の画像を抽出する(前処理3)。ステップS24
では、実装基板2の色情報を用いて、その実装基板2の
色情報をカラー全体画像から除いてチップ部品のボディ
部分の画像を抽出する(前処理4)。上記前処理1〜4
により抽出した画像はそれぞれ、抽出後、次の処理を行
うまで一時的に記憶装置6aeに保存される。
More specifically, in step S21, a color other than white is removed using the shape, that is, the size and color information of the component image, to extract an image of a large white component such as a socket or a connector. Processing 1). The image obtained by this processing is an image of the entire mounting board 2 in which the image of the large component becomes white and the board portion of the mounting board becomes black.
For the images obtained in the processing described below,
The same is true. Next, a description will be given of a case of extracting an electronic component 1 having wiring terminals at both ends of a component body, that is, a so-called chip component. In step S22, RGB data necessary for binarizing the color image of the component is set based on the area, major axis, outline, and bulge information of the terminal portion, and an image of the terminal portion of the chip component is extracted ( Preprocessing 2). In step S23,
The image of the character of the chip component is extracted by erasing the image corresponding to the mounting board 2 from the entire color image using the color information of the mounting board 2 (preprocessing 3). Step S24
Then, using the color information of the mounting board 2, the color information of the mounting board 2 is removed from the entire color image to extract the image of the body part of the chip component (preprocessing 4). Pre-processing 1-4
Are extracted and temporarily stored in the storage device 6ae until the next processing is performed.

【0033】ステップS25では、前処理2〜4により
得られたそれぞれの画像を重ね合わせ(合成して)、チ
ップ部品の部品画像が浮かび上がった画像を作製する。
ステップS26では、前処理1にて得られた画像と、ス
テップS25により得られた画像とを重ね合わせる(合
成する)。ステップS27では、重ね合わせて得られた
画像の雑音を消去して、画像を鮮明にする。この雑音を
消去した画像は、黒色の基板部分に対してそれぞれの電
子部品1が白色となった2値化されたカラー画像であ
る。
In step S25, the images obtained by the pre-processing 2 to 4 are superimposed (combined) to produce an image in which the component image of the chip component emerges.
In step S26, the image obtained in preprocessing 1 and the image obtained in step S25 are superimposed (combined). In step S27, the noise of the superimposed image is eliminated to clear the image. The image from which the noise has been eliminated is a binarized color image in which the respective electronic components 1 have turned white with respect to the black substrate portion.

【0034】次に、ステップS28では、ステップS2
7で得られた画像において、実装基板2に設定された基
点(フィデューシャルポイント)からの位置を抽出す
る。すなわち、それぞれの部品画像の位置は、基点と部
品画像の例えば角部あるいは中心までのX軸方向及びY
軸方向の距離を、画素(ピクセル)数を計数して求める
ものである。部品画像側の位置抽出のための基準となる
点あるいは画素は、適宜に設定すればよい。そして、部
品画像の位置データは、X軸方向の画素数及びY軸方向
の画素数の形式で部品画像と関連付けて記憶装置6ae
に記憶するものである。なお、この部品画像の位置デー
タは、それぞれの画素数に基づいて、別の単位、例えば
メートル法における単位の数値に換算したデータであっ
てもよい。ステップS29では、ステップS28におい
て得られた抽出された部品画像の位置から、実装基板2
のカラー全体画像における電子部品1のカラー画像すな
わちカラー部品画像を抜き出し、このカラー部品画像と
一致するカラー基準画像を記憶装置6aeを検索して取
り出す。この検索は、カラー部品画像の形状に基づいて
行うものである。そして、検索して得られたカラー基準
画像と検査対象のカラー部品画像とを比較し、両者の画
像が一致すなわち例えば全ての画素が略同じである場合
に、カラー部品画像に対応する部品を特定する。この場
合に、カラー部品画像とカラー基準画像とを比較してい
るので、部品の表面に記載された型式名等の文字の情報
についても比較することができ、それらが略完全に一致
しないと部品の特定は行わないものである。このように
して部品を特定した後、部品のカラー画像の形状及び位
置を、部品のカラー画像に関連付けて記憶装置6aeに
保存するものである。
Next, in step S28, step S2
In the image obtained in step 7, the position from the base point (fiducial point) set on the mounting board 2 is extracted. In other words, the position of each component image is determined based on the base point and the X-axis direction and Y, for example, to a corner or center of the component image.
The distance in the axial direction is obtained by counting the number of pixels. A point or pixel serving as a reference for position extraction on the component image side may be set as appropriate. The position data of the component image is associated with the component image in the form of the number of pixels in the X-axis direction and the number of pixels in the Y-axis direction, and is stored in the storage device 6ae.
Is to be stored. The position data of the component image may be data converted into a numerical value of another unit, for example, a unit in the metric system, based on the number of pixels. In step S29, the mounting board 2 is determined from the position of the extracted component image obtained in step S28.
A color image of the electronic component 1 in the entire color image, that is, a color component image is extracted, and a color reference image that matches the color component image is retrieved and retrieved from the storage device 6ae. This search is performed based on the shape of the color component image. Then, the color reference image obtained by the search is compared with the color component image to be inspected, and when both images match, that is, when all the pixels are substantially the same, the component corresponding to the color component image is specified. I do. In this case, since the color part image is compared with the color reference image, character information such as a model name written on the surface of the part can also be compared. Is not performed. After specifying the component in this way, the shape and position of the color image of the component are stored in the storage device 6ae in association with the color image of the component.

【0035】以上の処理におけるステップS3及びステ
ップS4を、実装基板2に実装された全ての部品に対応
する部品画像に対して実行し、それぞれの部品に対応す
る部品のカラー画像の形状及び位置を記憶装置6aeに
保存するものである。
Steps S3 and S4 in the above processing are executed for the component images corresponding to all the components mounted on the mounting board 2, and the shape and position of the color image of the component corresponding to each component are determined. It is stored in the storage device 6ae.

【0036】このように、実装基板2のカラー全体画像
を撮像し、そのカラー全体画像から電子部品1の部品画
像を抽出し、記憶手段に記憶されたカラー基準画像との
比較により部品画像に対応する電子部品1を特定し、そ
の部品画像の形状及び位置をカラー部品画像とともに記
憶装置6aeに保存する作業を自動的に行うので、部品
画像を部品に対応させるティーチングに要する時間を大
幅に短縮することができるものである。
As described above, the whole color image of the mounting board 2 is picked up, the component image of the electronic component 1 is extracted from the whole color image, and the component image is compared with the color reference image stored in the storage means. Since the operation of specifying the electronic component 1 to be performed and automatically storing the shape and position of the component image in the storage device 6ae together with the color component image is automatically performed, the time required for teaching the component image to correspond to the component is greatly reduced. Is what you can do.

【0037】この後、上記した実装基板2と同規格の実
装基板2における電子部品1の実装位置を検査する場合
は、上記のティーチング処理において記憶装置6aeに
保存したカラー画像の形状及び位置に基づいて、検査対
象となる実装基板2の部品を個別に撮像し、その撮像し
た部品画像とカラー基準画像とに基づいて実装された部
品の位置を判定するもので、以下に説明する手順で、そ
の位置を確定するものである。
Thereafter, when inspecting the mounting position of the electronic component 1 on the mounting board 2 of the same standard as the mounting board 2 described above, the inspection is performed on the basis of the shape and position of the color image stored in the storage device 6ae in the teaching process. Then, the components of the mounting board 2 to be inspected are individually imaged, and the positions of the mounted components are determined based on the imaged component images and the color reference images. This is to determine the position.

【0038】実装された電子部品1の位置決めの概略手
順を、図4に示す。まず、ステップSS1において、テ
ィーチング処理により得られた部品のカラー画像の位置
を撮像できるように、X−Yコントローラ4を制御し
て、カラー部品画像を撮像する。すなわち、CCDカメ
ラ5の撮像領域の中心が、記憶装置6aeに保存したカ
ラー画像の位置に対応する位置となるようにX−Yコン
トローラ4を制御して、検査テーブル3を移動させて部
品のカラー画像及びその近傍からなるカラー部品画像を
撮像する。次に、ステップSS2では、撮像したカラー
部品画像において各部品毎にカラー部品画像を含む大き
さの位置決め領域を設定し、その位置決め領域内におい
て、カラー基準画像を移動させることによりカラー部品
画像の位置を、同一カラー部品画像の今回の検索以前に
実行した際に確定した実装位置の確定データに基づいて
検索する。そして、ステップSS3において、カラー部
品画像とカラー基準画像とが一致した位置において、カ
ラー部品画像に対応する電子部品1の実装位置を確定す
る。この方法は、同一種の回路基板においては、いわゆ
るチップマウンタと呼ばれる自動実装装置を使用して電
子部品1を実装した場合、その実装位置の誤差はわずか
であり、同一位置に実装される可能性が高いことを利用
している。したがって、同一電子部品1に対して、過去
に確定した実装位置に基づいてカラー部品画像に対応す
る部品の実装位置を検索することにより、位置決め領域
全域にわたる検索の必要性を排除することが可能にな
り、検索時間の短縮が図れるものである。
FIG. 4 shows a schematic procedure for positioning the mounted electronic component 1. First, in step SS1, the XY controller 4 is controlled to capture a color component image so that the position of the color image of the component obtained by the teaching process can be captured. That is, the XY controller 4 is controlled so that the center of the imaging area of the CCD camera 5 is located at a position corresponding to the position of the color image stored in the storage device 6ae, and the inspection table 3 is moved to color the parts. An image of a color component including the image and its vicinity is captured. Next, in step SS2, a positioning area having a size including the color component image is set for each component in the captured color component image, and the position of the color component image is moved by moving the color reference image within the positioning area. Is searched based on the determined mounting position data determined when the same color component image was executed before the current search. Then, in step SS3, the mounting position of the electronic component 1 corresponding to the color component image is determined at the position where the color component image matches the color reference image. According to this method, when an electronic component 1 is mounted on an identical type of circuit board using an automatic mounting apparatus called a so-called chip mounter, the mounting position has a small error, and the mounting may be performed at the same position. Take advantage of the high. Therefore, by searching the same electronic component 1 for the mounting position of the component corresponding to the color component image based on the mounting position determined in the past, it is possible to eliminate the need to search the entire positioning area. That is, the search time can be reduced.

【0039】ステップSS2及びステップSS3の詳細
を、図5により説明する。まず、ステップSS31で
は、今回の位置決め動作を行う前に行った前回の位置決
め動作において、実装部品の位置を確定したその位置デ
ータを読み出す。ここで、前回の位置決め動作における
位置データは、実装基板2の同一生産ロットにおけるも
の以外に、今回より前の生産ロットにおけるものであっ
てもよい。このためには、位置データを、一つのカラー
部品画像に対して、確定された順に保存しておくように
して、最新のものを読み出すように構成すればよい。ス
テップSS32では、読み出した位置データに基づい
て、位置データの示す確定位置までカラー基準画像を移
動する。この場合、位置データは、ティーチング処理の
場合と同様に、基点からのX軸方向及びY軸方向の距離
により示される。
The details of step SS2 and step SS3 will be described with reference to FIG. First, in step SS31, the position data in which the position of the mounted component is determined in the previous positioning operation performed before performing the current positioning operation is read. Here, the position data in the previous positioning operation may be data in a production lot before this time in addition to data in the same production lot of the mounting board 2. To this end, the position data may be stored for one color component image in the determined order, and the latest one may be read. In step SS32, the color reference image is moved to the determined position indicated by the position data based on the read position data. In this case, the position data is indicated by the distance in the X-axis direction and the Y-axis direction from the base point, as in the case of the teaching processing.

【0040】ステップSS33では、移動したカラー基
準画像が、読み出した確定位置でカラー部品画像と一致
するつまり重なり合うか否かを判定し、一致した場合に
はステップSS34に進み、一致しない場合にはステッ
プSS35に進む。一致の判定は、重ね合わせて得られ
た合成画像がカラー基準画像と略同一つまりそれぞれの
画像を構成する画素の色が略同一であれば一致と判定
し、あらかじめ設定された所定の範囲において色が異な
っていれば不一致と判定する。すなわち、この一致の判
定は、画素毎の色の判定と、色の判定において色が異な
ると判定された画素の数とに基づいて行う。具体的に
は、色の判定は、カラー基準画像を構成する各画素の色
データすなわちRGBデータに対して画素毎に一致と判
定するための所定の範囲を設定しておき、判定対象の画
素の色がこの所定の範囲内であれば略同じ色と判定し、
この色の判定において色が異なっていると判定した画素
の数が後述する閾値を上回る場合に不一致と判定するも
のである。
In step SS33, it is determined whether or not the moved color reference image matches, ie, overlaps, the color component image at the read determined position. If they match, the process proceeds to step SS34. Proceed to SS35. If the combined image obtained by superimposition is substantially the same as the color reference image, that is, if the colors of the pixels constituting each image are substantially the same, it is determined that they match, and the color is determined within a predetermined range set in advance. If they differ, it is determined that they do not match. That is, the determination of the match is made based on the color determination for each pixel and the number of pixels determined to be different in the color determination. Specifically, the color determination is performed by setting a predetermined range for determining that the color data of each pixel constituting the color reference image, that is, the RGB data, matches each pixel, and setting the predetermined range of the pixel to be determined. If the color is within this predetermined range, it is determined that the colors are substantially the same,
If the number of pixels determined to have different colors in this color determination exceeds a threshold value described later, it is determined that they do not match.

【0041】ステップSS36では、移動したカラー基
準画像が存在する位置を部品の実装位置に確定する。一
方、不一致と判定した場合には、ステップSS35にお
いて、1回前に位置を確定した際の位置データを読み出
す。すなわち、このステップでは、このルーチンを実行
して不一致と判定した場合に、今回までに確定した位置
データを不一致の判定をする毎に遡って、それより1回
前の実行時に確定した際の位置データを読み出すもので
ある。このルーチンにおいて、例えば、4回前に確定し
た位置と今回位置を確定しようとする部品の位置とが一
致する場合にあっては、ステップSS31〜ステップS
S33を実行し、この後ステップSS35→SS32→
SS33→SS35を3回繰り返して実行して、ステッ
プSS34により実装位置を確定する。そして、ステッ
プSS36において、一致と判定した際つまり実装位置
を確定した部品のその位置は、その部品の位置データと
して、これまでのその部品の位置データとともに記憶装
置6aeに保存する。このように、新たに確定した実装
位置を保存することにより、位置データを学習するもの
で、この後の検索精度を高くすることが可能になる。
In step SS36, the position where the moved color reference image exists is determined as the component mounting position. On the other hand, if it is determined that the positions do not match, in step SS35, the position data at the time of determining the position one time before is read. That is, in this step, when this routine is executed and it is determined that there is a mismatch, the position data determined so far is traced back each time the mismatch is determined, and the position data which was determined at the time of the immediately preceding execution is determined. This is for reading data. In this routine, for example, if the position determined four times before and the position of the component whose current position is to be determined match, the process proceeds from step SS31 to step S31.
S33 is executed, and thereafter, steps SS35 → SS32 →
SS33 → SS35 are repeated three times, and the mounting position is determined in step SS34. Then, in step SS36, when it is determined that there is a match, that is, the position of the component for which the mounting position has been determined is stored in the storage device 6ae together with the position data of the component so far as the position data of the component. In this way, by storing the newly determined mounting position, the position data is learned, and the subsequent search accuracy can be increased.

【0042】このように、電子部品1の位置を、位置決
め領域内を検索して確定するに際し、今回の検索及び位
置の確定処理より前に実行して得られた確定位置に基づ
いて検索を実行するので、位置決め領域内全体にわたっ
て検索し位置の確定を行う場合に比較して、確定に要す
るまでの時間を短縮することができる。
As described above, when the position of the electronic component 1 is determined by searching in the positioning area, a search is executed based on the determined position obtained by executing the current search and the position determination processing. Therefore, it is possible to shorten the time required for the determination as compared with the case where the search is performed over the entire positioning area and the position is determined.

【0043】この電子部品の位置を検索して確定する動
作において、カラー基準画像とカラー部品画像との一致
を判定するが、この判定動作は、以下に説明するもので
あってよい。すなわち、この一致判定方法は、図6に示
すように、位置決め領域R1内において、カラー部品画
像の形状に一致する形状つまり大きさの判定領域R2を
移動可能に設定し、その判定領域R2を分割して複数の
判定区画Bを設定するとともに、カラー基準画像CGに
対して判定区画Bに対応する基準区画Cを設定し、判定
区画Bと基準区画Cとのそれぞれの色を順次比較して、
ある判定区画Bにおいて比較し結果があらかじめ設定さ
れた判定基準に満たない場合には次の判定位置に判定領
域R2を移動して色の比較を行い、全ての判定区画Bが
判定基準を満たしたことにより一致を判定するものであ
る。判定位置は、上記した位置決め処理における位置決
め位置を利用するものでよい。
In the operation of searching and determining the position of the electronic component, it is determined whether the color reference image matches the color component image. This determination operation may be as described below. That is, in this matching determination method, as shown in FIG. 6, a determination region R2 having a shape that matches the shape of the color component image, that is, a size, is set to be movable within the positioning region R1, and the determination region R2 is divided. In addition to setting a plurality of determination sections B, a reference section C corresponding to the determination section B is set for the color reference image CG, and respective colors of the determination section B and the reference section C are sequentially compared.
When the comparison result is less than a predetermined criterion in a certain determination section B, the color is compared by moving the determination area R2 to the next determination position, and all the determination sections B satisfy the determination criterion. Thus, a match is determined. The determination position may use the positioning position in the above-described positioning process.

【0044】この一致判定のためのプログラムの概略
を、図7 〜9により説明する。このプログラムを実行す
るに際して、上記したように、位置決め領域R1内にお
いて、カラー部品画像の大きさに一致する判定領域R2
を設定しておき、また、判定領域R2を複数の判定区画
B1〜B72例えば72区画(以下、判定ブロックと称
する)に分割しておく。これに対応して、カラー基準画
像についても複数の区画すなわち基準区画(以下、基準
ブロックと称する)C1〜C72を判定区画B1〜B7
2に対応して設定しておく。これらの判定ブロックB1
〜B72及び基準ブロックC1〜C72は、走査する順
に対応して、番号が付与してある。なお、判定ブロック
C1C〜72は、この数に限定されるものではなく、適
宜設定するものであってよい。
The outline of the program for this match determination will be described with reference to FIGS. When executing this program, as described above, in the positioning area R1, the determination area R2 matching the size of the color component image is set.
Is set, and the determination area R2 is divided into a plurality of determination sections B1 to B72, for example, 72 sections (hereinafter, referred to as determination blocks). Correspondingly, a plurality of sections, that is, reference sections (hereinafter, referred to as reference blocks) C1 to C72 are also determined for the color reference image in the determination sections B1 to B7.
2 is set in advance. These decision blocks B1
To B72 and reference blocks C1 to C72 are numbered in accordance with the scanning order. The number of the determination blocks C1C to 72 is not limited to this number, and may be appropriately set.

【0045】この一致判定の処理では、カラー基準画像
を構成する各画素の色データすなわちRGBデータに対
して画素毎に一致と判定するための所定の範囲を設定し
ておき、判定対象の画素の色がこの所定の範囲内であれ
ば略同じ色と判定し、逆に判定対象の画素の色が所定の
範囲外であれば異なる色と判定し、色が異なっていると
判定した画素の数を計数して、その画素数が後述の閾値
を上回るか否かで一致と不一致との判定を行うものであ
る。所定の範囲は、例えばRデータ、Gデータ及びBデ
ータに対して個別に設定されるもので、中心となる値に
対して正負の値つまり上限値と下限値とを設けて設定す
ればよい。
In this matching judgment processing, a predetermined range for judging that the color data of each pixel constituting the color reference image, that is, the RGB data coincides with each other is set for each pixel, and the judgment target pixel is determined. If the color is within the predetermined range, it is determined that the colors are substantially the same. Conversely, if the color of the pixel to be determined is out of the predetermined range, the color is determined to be different, and the number of pixels determined to be different. Is counted, and it is determined whether the number of pixels exceeds the threshold value described later. The predetermined range is individually set for, for example, R data, G data, and B data, and may be set by setting positive and negative values, that is, an upper limit and a lower limit with respect to a central value.

【0046】まず、ステップSS101において、第1
判定ブロックB1と第1基準ブロックC1との画像をそ
れぞれを構成する画素を比較して一致判定(パターンマ
ッチング)をする。この一致判定において、第1判定ブ
ロックB1を構成する画素の内、第1基準ブロックC1
を構成する画素と色が異なった画素の数を計数し、計数
した数を今回の第1判定ブロックの第1差分として保存
する。この差分の演算は、判定ブロックBと基準ブロッ
クCとを比較した場合に必ず行うものである。また、判
定領域R2を移動した場合にあっては、保存した第1差
分及び以下に説明するそれぞれの差分は、消去される。
ステップSS102では、この第1差分を、判定ブロッ
クBの良否を判定するための合計差分に設定する。
First, in step SS101, the first
The pixels of the image of the determination block B1 and the image of the first reference block C1 are compared with each other to determine a match (pattern matching). In this match determination, of the pixels forming the first determination block B1, the first reference block C1
Is counted, and the counted number is stored as the first difference of the current first determination block. The calculation of the difference is always performed when the determination block B and the reference block C are compared. Further, when the determination area R2 is moved, the stored first difference and each difference described below are deleted.
In step SS102, the first difference is set as a total difference for determining the quality of the determination block B.

【0047】ステップSS103では、合計差分が、判
定ブロックBと基準ブロックCとの一致を判定する閾値
以下であるか否かを判定する。すなわち、合計差分が閾
値より大きい場合は、色の異なる画素が判定ブロックB
中に多く存在するために、明らかに第1判定ブロックB
1と第1基準ブロックC1との色が異なっているため
で、部品画像が判定領域R2の位置にないことを示して
おり、したがって次の位置確定のための検索位置に判定
領域R2を移動させる。一方、合計差分が閾値以下であ
る場合は、撮像時の光の影響や電子部品1自体の色等に
より若干の色の差はあるものの、略同等の色であるの
で、ステップSS104に進んで、次の第2判定ブロッ
クB2と第2基準ブロックC2との比較を行う。そし
て、ステップSS105において、ステップSS104
にて演算した第2差分をこの時点の合計差分に加算し
て、新たに合計差分とする。次に、ステップSS106
において、合計差分が閾値以下であるか否かを判定す
る。
In step SS103, it is determined whether or not the total difference is equal to or smaller than a threshold value for determining whether the determination block B matches the reference block C. That is, when the total difference is larger than the threshold value, pixels having different colors are
Clearly in the first decision block B
Since the color of the first reference block C1 is different from the color of the first reference block C1, it indicates that the component image is not located at the position of the determination area R2. Therefore, the determination area R2 is moved to the search position for the next position determination. . On the other hand, when the total difference is equal to or smaller than the threshold, although there is a slight color difference due to the influence of light at the time of imaging, the color of the electronic component 1 itself, etc., the colors are substantially the same. The next second determination block B2 is compared with the second reference block C2. Then, in step SS105, step SS104
Is added to the total difference at this time to make a new total difference. Next, step SS106
In, it is determined whether or not the total difference is equal to or less than a threshold.

【0048】そして、合計差分が閾値以下である場合
は、この後、上記したステップSS104、ステップS
S105及びステップSS106と同等の処理、つまり
第n判定ブロックBnと第n基準ブロックCnとの比
較、比較により得た第n差分の合計差分への加算、及び
合計差分が閾値以下であるかの判定を、第72判定ブロ
ックB72まで同様に実行する。一方、合計差分が閾値
を上回る場合は、ステップSS103の場合と同様に次
の検索位置に判定領域R2を移動させる。
If the total difference is equal to or smaller than the threshold value, then the above-mentioned steps SS104 and S104 are executed.
Processing equivalent to S105 and step SS106, that is, comparison between the n-th determination block Bn and the n-th reference block Cn, addition of the n-th difference obtained by the comparison to the total difference, and determination whether the total difference is equal to or smaller than the threshold value Is similarly executed up to the 72nd determination block B72. On the other hand, when the total difference exceeds the threshold value, the determination area R2 is moved to the next search position as in step SS103.

【0049】以上において、明らかなように、各判定ブ
ロックBにおいて計数された差分はそれまでに合計され
ている合計差分に加算されるので、ある判定ブロックB
において差分が計数されて合計差分が演算された時点
で、その合計差分が閾値を超えるとその位置における一
致判定処理は終了する。そして、次の位置決め位置にお
いて、この一致判定処理を実行するものである。
As is apparent from the above, since the difference counted in each judgment block B is added to the total difference that has been added up to that time, a certain judgment block B
When the difference is counted and the total difference is calculated, if the total difference exceeds the threshold value, the match determination processing at that position ends. Then, this coincidence determination processing is executed at the next positioning position.

【0050】この後、ステップSS10m及びステップ
SS10nで、第72判定ブロックB72に対する判定
が終了した後、合計差分が閾値以下であった場合は、ス
テップSS111において、合計差分が、良品か否かを
判定するための判定値以下であるか否かを判定する。す
なわち、全ての判定ブロックBの判定を行った後、判定
領域全体の色がカラー基準画像の色と略一致しているか
否かを判定するものである。判定値は、閾値より小さな
値に設定するもので、例えば閾値を200と設定した場
合には、判定値は30と設定する。このそれぞれの値に
ついては、上記した値に限定されるものではなく、適宜
設定すればよい。このステップSS111において、合
計差分が判定値以下であると判定した場合は、判定領域
R2の位置に部品が実装されているとして、その位置の
カラー部品画像を良品と判定する。一方、合計差分が判
定値を上回っていると判定したつまり良品ではないと判
定した場合は、ステップSS112において、一致判定
処理に要する時間を短縮するために、この時点までにお
いて全ての判定ブロックBを判定した際に良品でないと
判定した場合の合計差分の内、合計差分が閾値より低い
場合にその合計差分を閾値に設定して、閾値の更新を行
う。この閾値の更新のために、全ての判定ブロックBの
判定を行った場合に得られた合計差分は、それぞれ保存
するものである。そして、この閾値の更新は、次回から
の一致判定処理を迅速に行うために、ここまでの実績に
おいて合計差分があらかじめ設定した閾値より低い場合
があれば、その時の合計差分の値を閾値とするものであ
る。したがって閾値を更新することにより、位置検索の
判定基準が引き下げられ、一致判定を迅速に行えるよう
になる。この後、ステップSS113において、判定領
域R2を次の検索位置に移動する。この、ステップSS
101〜ステップSS113の処理は、良品と判定され
るまで、繰り返し実行されるものである。
Thereafter, in step SS10m and step SS10n, after the determination for the 72nd determination block B72 is completed, if the total difference is equal to or smaller than the threshold, it is determined in step SS111 whether the total difference is a non-defective product. It is determined whether or not it is equal to or less than the determination value for performing. That is, after the determination of all the determination blocks B is performed, it is determined whether or not the color of the entire determination area substantially matches the color of the color reference image. The judgment value is set to a value smaller than the threshold value. For example, when the threshold value is set to 200, the judgment value is set to 30. These values are not limited to the above values, and may be set as appropriate. If it is determined in step SS111 that the total difference is equal to or smaller than the determination value, it is determined that the component is mounted at the position of the determination region R2, and the color component image at that position is determined to be non-defective. On the other hand, if it is determined that the total difference exceeds the determination value, that is, if it is determined that the product is not a non-defective product, in step SS112, in order to reduce the time required for the match determination process, all the determination blocks B up to this point are determined. If the total difference is lower than the threshold value among the total differences determined to be non-defective at the time of the determination, the total difference is set as the threshold value and the threshold value is updated. In order to update the threshold value, the total differences obtained when all the determination blocks B are determined are stored. Then, in order to promptly perform the match determination processing from the next time, if the total difference is lower than a preset threshold in the results so far, the threshold value is set to the total difference value at that time in order to update the threshold value quickly Things. Therefore, by updating the threshold, the criterion for the position search is reduced, and the match can be quickly determined. Thereafter, in step SS113, the determination area R2 is moved to the next search position. This step SS
The processing from 101 to step SS113 is repeatedly executed until it is determined that the product is non-defective.

【0051】このように、判定ブロックBと基準ブロッ
クCとを比較して、その色の差分が閾値以下であるか否
かを判定して、閾値を上回る場合にその時点で次の検索
位置にて位置の確定のための処理すなわち一致判定処理
を実行するため、検索毎に判定領域R2全域にわたる検
索を行う必要がなくなり、位置の確定に要する処理時間
を短縮することができる。
As described above, the determination block B and the reference block C are compared to determine whether or not the color difference is equal to or smaller than the threshold value. Since the process for determining the position, that is, the match determination process, is performed, it is not necessary to perform a search over the entire determination region R2 for each search, and the processing time required for determining the position can be reduced.

【0052】以上に説明した部品画像の一致判定におい
て、判定領域R2全域を検索してもなお良品の判定がな
されなかった場合は、一致判定の際の判定領域Bとカラ
ー基準画像との合成画像の雑音による障害を除去して、
判定をやり直すようにするものである。
In the coincidence determination of the component images described above, if a good product is not determined even after searching the entire determination region R2, a composite image of the determination region B and the color reference image at the time of the match determination. Remove the obstacles caused by the noise of
The judgment is to be redone.

【0053】具体的には、まず、ステップSS201に
おいて、閾値が更新されたか否かを判定する。すなわ
ち、閾値は、判定領域R2全域を検索した場合に更新さ
れるものであるので、この閾値更新の判定は、この場合
にあっても良品の判定とならなかった判定領域R2言い
換えればカラー部品画像を特定するものである。閾値が
更新されてない場合は、位置を確定しておらず、カラー
部品画像に対応する電子部品1の実装は、位置が誤って
いることを決定するものである。
Specifically, first, in step SS201, it is determined whether or not the threshold has been updated. That is, the threshold value is updated when the entire determination region R2 is searched. Therefore, the determination of the threshold value update is not made in the determination region R2 even in this case. Is specified. If the threshold value has not been updated, the position has not been determined, and the mounting of the electronic component 1 corresponding to the color component image determines that the position is incorrect.

【0054】一方、閾値が更新されている場合は、ステ
ップSS202において、更新された閾値つまり全ての
判定ブロックBを判定した際に合計差分が最少となった
検索位置において、判定領域R2とカラー基準画像とを
一括してつまり判定ブロック単位ではなく全画素同士を
比較する。この処理において、判定領域R2内のカラー
基準画像と色の異なる画素が抽出されるものである。次
に、ステップSS203において、比較により得られた
合成画像におけるラベレングを行う。ラベリングは、判
定領域R2において、カラー基準画像の画素の色と異な
る画素の内、隣接する画素が連続して異なっている部分
を検出するものである。つまり、前述した画像の一致判
定処理において、良品ではないと判定した判定領域R2
における不良の判定の原因となる画素群をこのラベリン
グにより検出するものである。このラベリングを実行す
ることにより、雑音により画素の色が異なっているもの
を良品判定における色の異なる画素から除去して、撮像
時の条件等の相違に基づく色の異なりによる不良品判定
を再度検証するものである。
On the other hand, if the threshold value has been updated, in step SS202, at the updated threshold value, that is, at the search position where the total difference becomes minimum when all the determination blocks B are determined, the determination area R2 and the color reference All pixels are compared with the image at once, that is, not in units of determination blocks. In this process, a pixel having a color different from that of the color reference image in the determination region R2 is extracted. Next, in step SS203, labeling is performed on the composite image obtained by the comparison. The labeling is for detecting, in the determination region R2, a portion in which adjacent pixels are continuously different among pixels different from the color of the pixel of the color reference image. That is, in the above-described image matching determination processing, the determination region R2 determined to be not a non-defective product
Are detected by this labeling. By executing this labeling, pixels with different colors due to noise are removed from the pixels with different colors in the non-defective product judgment, and the defective product judgment based on the difference in color based on the difference in imaging conditions and the like is again verified. Is what you do.

【0055】そして、ステップSS204では、ラベリ
ングにより検出された画素群の内その占有する面積が最
大の画像を取得する。この後、ステップSS205にお
いて、取得した最大面積画像を構成する画素の数が判定
値以下か否かを判定する。すなわち、雑音により色が異
なる画素を除いた状態で、隣接し、かつ連続する色の異
なる画素の数が判定値以下であれば、雑音等により色の
異なる画素が増加していたことにより、正常であるにも
かかわらず不良と判定したものであるから、今回の判定
により画素数が判定値以下である場合は良品を判定する
ものである。したがって、判定の結果、判定値以下であ
れば、この判定領域R2に対応するカラー部品画像は良
品であると判定し、判定値を上回っている場合は、不良
品と判定する。
Then, in step SS204, an image occupying the largest area of the group of pixels detected by the labeling is acquired. Thereafter, in step SS205, it is determined whether the number of pixels constituting the acquired maximum area image is equal to or smaller than a determination value. That is, if the number of adjacent and consecutive pixels having different colors is equal to or less than the determination value in a state where pixels having different colors due to noise are excluded, the pixels having different colors have increased due to noise or the like. However, if the number of pixels is equal to or smaller than the determination value in this determination, a non-defective product is determined. Therefore, if the determination result indicates that the color component image corresponding to the determination region R2 is equal to or smaller than the determination value, the color component image is determined to be non-defective, and if the color component image exceeds the determination value, it is determined to be defective.

【0056】このように、カラー部品画像に対応して設
定した判定領域の判定ブロックBを、カラー基準画像の
対応する基準ブロックCと比較して、その比較結果が不
良である場合に直ちに次の検索位置に判定領域を移動し
て検索を実行するので、パターンマッチングに要する時
間を短縮することができ、したがって電子部品1の位置
の確定を迅速にすることができる。
As described above, the judgment block B of the judgment area set corresponding to the color component image is compared with the corresponding reference block C of the color reference image. Since the search is executed by moving the determination area to the search position, the time required for pattern matching can be reduced, and thus the position of the electronic component 1 can be quickly determined.

【0057】なお、本発明は以上に説明した実施の形態
に限定されるものではない。
The present invention is not limited to the embodiment described above.

【0058】撮像装置にあっては、CCDまでの光学系
すなわちレンズ等を工夫することにより、実装基板2の
全体画像を撮像し得るように構成したものであってもよ
い。あるいは、カラーイメージスキャナにより実装基板
2の全体画像を作製するものであってもよい。このよう
な撮像装置やカラーイメージスキャナを使用することに
より、実装基板2の全体画像を作製するのに要する時間
を短縮することができる。
The imaging apparatus may be configured so that the entire image of the mounting board 2 can be captured by devising an optical system up to the CCD, ie, a lens. Alternatively, the whole image of the mounting substrate 2 may be produced by a color image scanner. By using such an imaging device or a color image scanner, the time required to produce an entire image of the mounting substrate 2 can be reduced.

【0059】また、上記実施例にあっては、検査テーブ
ル3をX−Yコントローラ4によりCCDカメラ5に対
して移動させたが、検査テーブル3を固定しておき、C
CDカメラ5をX−Yコントローラ4により制御して移
動させるものであってもよい。
In the above embodiment, the inspection table 3 is moved with respect to the CCD camera 5 by the XY controller 4.
The CD camera 5 may be controlled and moved by the XY controller 4.

【0060】また、部品画像を特定するにあたって、製
図を電子化してなる製図データすなわちCAD(コンピ
ュータ支援設計)データを用いるものであってもよい。
CADデータは、回路基板に電子部品1が実装された状
態でのデータで、実装位置データ及び部品種別(部品型
式)データを含んでいる。実装位置データは、実装基板
の基点からのX軸方向の距離、Y軸方向の距離、及び部
品の実装角度を含むものであってよい。このようなCA
Dデータを用いれば、上述のティーチング処理の場合と
は異なって、実装基板のカラー全体画像を撮像するこ
と、及びそのカラー全体画像を色処理して部品画像を作
製し、その部品画像から位置を抽出する等の処理を省略
することができる。この処理にあっては、電子部品毎の
カラー基準画像に対して、そのカラー基準画像の対応す
る部品情報すなわち部品種別(部品型式)データが付与
されて、データベースを構成するマスターデータとして
記憶装置6aeに保存してある。
Further, in specifying the part image, drawing data obtained by digitizing the drawing, that is, CAD (computer-aided design) data may be used.
The CAD data is data in a state where the electronic component 1 is mounted on the circuit board, and includes mounting position data and component type (component type) data. The mounting position data may include a distance in the X-axis direction from the base point of the mounting board, a distance in the Y-axis direction, and a mounting angle of the component. Such a CA
If the D data is used, differently from the above-described teaching processing, a whole color image of the mounting board is captured, and a color processing is performed on the whole color image to produce a component image, and the position is determined from the component image. Processing such as extraction can be omitted. In this process, component information corresponding to the color reference image, that is, component type (component type) data is added to the color reference image for each electronic component, and the storage device 6ae is used as master data constituting a database. It is saved in.

【0061】そして、このCADデータを用いたティー
チング処理は、カラー基準画像に対してCADデータが
有する実装位置データを関連付けることにより達成され
る。すなわち、まずある部品に対応するCADデータに
おける部品種別データを読み出し、その読みだした部品
種別データに一致する部品種別データを有するカラー基
準画像を検索する。すなわち、CADデータにおける部
品種別データと記憶したカラー基準画像の部品種別デー
タとを照合して、カラー基準画像がどのCADデータに
相当するのかを検索する。そして、部品種別データが一
致することにより、そのCADデータにおける部品種別
データに対応する実装位置データを読み取り、カラー基
準画像に実装位置データを関連付けてカラー基準画像の
位置を特定する。この後、特定したカラー基準画像を実
装位置データとともに記憶して、ティーチング処理を完
了する。
The teaching process using the CAD data is achieved by associating the mounting position data of the CAD data with the color reference image. That is, first, component type data in CAD data corresponding to a certain component is read, and a color reference image having component type data that matches the read component type data is searched. That is, the component type data in the CAD data is compared with the component type data of the stored color reference image, and a search is made as to which CAD data the color reference image corresponds to. Then, when the component type data matches, the mounting position data corresponding to the component type data in the CAD data is read, and the position of the color reference image is specified by associating the mounting position data with the color reference image. Thereafter, the specified color reference image is stored together with the mounting position data, and the teaching process is completed.

【0062】このように、CADデータに基づいてカラ
ー基準画像を特定するので、ティーチング処理における
精度を向上させることができる。また、ティーチング処
理を自動化できるとともに、部品が実装された回路基板
の全画像を撮像する必要がなくなるので、特定に要する
時間をさらに短縮することができる。
As described above, since the color reference image is specified based on the CAD data, the accuracy in the teaching processing can be improved. In addition, the teaching process can be automated, and it is not necessary to capture all images of the circuit board on which components are mounted, so that the time required for identification can be further reduced.

【0063】その他、各部の構成は図示例に限定される
ものではなく、本発明の趣旨を逸脱しない範囲で種々変
形が可能である。
In addition, the configuration of each unit is not limited to the illustrated example, and various modifications can be made without departing from the spirit of the present invention.

【0064】[0064]

【発明の効果】以上のように、本発明によれば、部品の
実装された回路基板のカラー画像から色処理を行うこと
により実装された部品画像の形状と位置とを抽出し、こ
の抽出した部品画像とあらかじめ記憶されたカラー基準
画像とを比較して部品及び部品の位置を特定し、部品を
特定した部品のカラー画像の形状と位置とを記憶するの
で、回路基板に実装された部品の特定を自動化すること
ができる。したがって、回路基板に実装された部品の実
装状態を検査するにあたって、部品の特定に要する時間
を短縮することができ、検査に要する時間を大幅に短縮
することができ、しかも作業者の作業を飛躍的に省略す
ることができ、検査コストを低減することができる。
As described above, according to the present invention, the shape and position of the mounted component image are extracted from the color image of the circuit board on which the component is mounted by performing color processing, and the extracted shape and position are extracted. The part image is compared with the color reference image stored in advance to specify the part and the position of the part, and the shape and position of the color image of the specified part are stored. Identification can be automated. Therefore, when inspecting the mounting state of the components mounted on the circuit board, the time required for identifying the components can be reduced, the time required for the inspection can be significantly reduced, and the work of the operator can be greatly increased. Inspection costs can be reduced, and inspection costs can be reduced.

【0065】また、部品の位置を、位置決め領域内を検
索して確定するに際し、今回の検索及び位置の確定動作
より前に実行して得られた確定位置に基づいて検索を実
行するので、位置検出毎に位置決め領域内全てにおいて
カラー部品画像とカラー基準画像とを比較する必要がな
くなり、カラー部品画像に対応する部品の位置を確定す
るに要する作業時間を短縮することができる。
When the position of the component is determined by searching in the positioning area, the search is performed based on the determined position obtained by executing the current search and the position determining operation. It is not necessary to compare the color component image with the color reference image in the entire positioning area for each detection, and the work time required to determine the position of the component corresponding to the color component image can be reduced.

【0066】さらに、位置決め領域内において、判定領
域に設定された判定区画とカラー基準画像における基準
区画とのそれぞれの色を順次比較して、比較結果があら
かじめ設定された判定基準に満たない場合に次の判定位
置に判定領域を移動して改めて判定区画とカラー基準区
画とのそれぞれの色を比較するので、判定領域が移動し
た位置においてその判定領域内の全ての判定区画の比較
結果が出る前に次の判定位置に移動することができる。
したがって、ある判定区画において全ての判定区画の比
較に要する時間が不要になるため、位置の確定に要する
時間を短縮することができる。
Further, in the positioning area, the respective colors of the judgment section set in the judgment area and the reference section in the color reference image are sequentially compared, and when the comparison result does not satisfy the predetermined judgment criterion. Since the judgment area is moved to the next judgment position and the respective colors of the judgment section and the color reference section are compared again, before the comparison result of all the judgment sections in the judgment area is obtained at the position where the judgment area has moved. Can be moved to the next determination position.
Therefore, the time required for comparing all the determination sections in a certain determination section is not required, and the time required for determining the position can be reduced.

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

【図1】本発明の実施の一形態の部品実装検査装置の概
略構成を示すブロック図。
FIG. 1 is a block diagram showing a schematic configuration of a component mounting inspection apparatus according to an embodiment of the present invention.

【図2】同形態のティーチング動作の概略手順を示すフ
ローチャート。
FIG. 2 is a flowchart showing a schematic procedure of a teaching operation of the same embodiment.

【図3】同形態のティーチング動作におけるステップS
2及びステップS3の詳細な手順を示すフローチャー
ト。
FIG. 3 is a step S in the teaching operation of the same embodiment.
2 is a flowchart showing a detailed procedure of step S3.

【図4】同形態の位置検索動作の概略手順を示すフロー
チャート。
FIG. 4 is a flowchart showing a schematic procedure of a position search operation of the embodiment.

【図5】同形態の位置検索動作におけるステップSS2
及びステップSS3の詳細な手順を示すフローチャー
ト。
FIG. 5 is a step SS2 in the position search operation of the same embodiment.
And a flowchart showing a detailed procedure of step SS3.

【図6】同形態の位置の一致判定における位置決め領
域、判定領域、判定区画、カラー基準画像及び基準区画
の関係を模式的に示す構成説明図。
FIG. 6 is a configuration explanatory view schematically showing a relationship among a positioning area, a determination area, a determination section, a color reference image, and a reference section in the position matching determination of the embodiment.

【図7】同形態の一致判定動作における概略手順を示す
フローチャート。
FIG. 7 is a flowchart showing a schematic procedure in a match determination operation of the embodiment.

【図8】同形態の一致判定動作における概略手順を示す
フローチャート。
FIG. 8 is a flowchart showing a schematic procedure in a match determination operation of the same embodiment.

【図9】同形態の一致判定動作における概略手順を示す
フローチャート。
FIG. 9 is a flowchart showing a schematic procedure in a match determination operation of the embodiment.

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

1…電子部品 2…実装基板(実装済の回路基板) 6…電子処理装置 6a…装置本体 6aa…マイクロプロセッサ 6ae…記憶装置 6af…ビデオキャプチャ回路 DESCRIPTION OF SYMBOLS 1 ... Electronic component 2 ... Mounting board (mounted circuit board) 6 ... Electronic processing apparatus 6a ... Device main body 6aa ... Microprocessor 6ae ... Storage device 6af ... Video capture circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 川崎 雅生 滋賀県栗太郡栗東町上砥山232 滋賀県工 業技術総合センター内 Fターム(参考) 2G051 AA65 AB14 AC21 CA04 DA07 EA08 EA11 EA14 EA17 EB02 EB09 ED01 5B057 AA03 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE17 DB02 DB06 DB09 DC02 DC33  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Masao Kawasaki, Inventor 232 Kamitoyama, Kurito-cho, Kurita-gun, Shiga Pref. AA03 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE17 DB02 DB06 DB09 DC02 DC33

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】部品が実装された回路基板を撮像して得ら
れた画像に基づいて部品の実装状態を検査する回路基板
の部品実装検査方法であって、 部品が実装された回路基板全体のカラー画像を作製する
全画像作製段階と、 作製した回路基板全体のカラー画像の色処理を行って部
品画像の形状と位置とを抽出する抽出段階と、 抽出した部品画像の形状と位置とに基づいて回路基板全
体のカラー画像の抽出した位置に対応する位置にある部
品のカラー画像とカラー基準画像とを比較して部品のカ
ラー画像が対応する部品を特定する特定段階と、 部品を特定した部品のカラー画像の形状と位置とを記憶
する記憶段階とを備えることを特徴とする回路基板の部
品実装検査方法。
1. A method for inspecting a mounted state of a component on a circuit board based on an image obtained by imaging a circuit board on which the component is mounted. Based on the entire image production stage for producing a color image, an extraction stage for performing color processing of the color image of the entire produced circuit board to extract the shape and position of the part image, and based on the shape and position of the extracted part image Identifying the component corresponding to the color image of the component by comparing the color image of the component at the position corresponding to the extracted position of the color image of the entire circuit board with the color reference image, and the component identifying the component. And storing a shape and a position of the color image.
【請求項2】抽出段階が、あらかじめ設定された部品毎
の特徴を示す部品情報に基づいて色処理を変更して部品
毎に2値化した部品画像とすることを特徴とする請求項
1記載の回路基板の部品実装検査方法。
2. The component image according to claim 1, wherein, in the extracting step, color processing is changed based on component information indicating characteristics of each component set in advance, and the component image is binarized for each component. Circuit board component mounting inspection method.
【請求項3】全画像作製段階が、回路基板の所定の大き
さの撮像領域毎に撮像したそれぞれのカラー画像を合成
して作製することを特徴とする請求項1又は2記載の回
路基板の部品実装検査方法。
3. The circuit board according to claim 1, wherein in the whole image forming step, each color image picked up for each predetermined size image pickup area of the circuit board is synthesized. Component mounting inspection method.
【請求項4】全画像製作段階が、回路基板全体を撮像し
てカラー画像を作製することを特徴とする請求項1又は
2記載の回路基板の部品実装検査方法。
4. The method according to claim 1, wherein in the step of producing the whole image, a color image is produced by photographing the entire circuit board.
【請求項5】部品が実装された回路基板を撮像して得ら
れた画像に基づいて部品の実装状態を検査する回路基板
の部品実装検査方法であって、 実装される可能性のある部品のカラー基準画像と部品種
別データとを記憶する画像記憶段階と、 記憶したカラー基準画像の部品種別データを、部品の実
装された回路基板の実装位置データ及び部品種別データ
を少なくとも含む製図データにおける部品種別データか
ら検索してカラー基準画像に実装位置データを関連付け
てカラー基準画像の位置を特定する特定段階と、 特定したカラー基準画像を実装位置データとともに記憶
する記憶段階とを備えることを特徴とする回路基板の部
品実装検査方法。
5. A method for inspecting a component mounting state of a circuit board based on an image obtained by imaging a circuit board on which the component is mounted, the method comprising: An image storing step of storing the color reference image and the component type data; and storing the component type data of the stored color reference image in the drawing data including at least the mounting position data and the component type data of the circuit board on which the component is mounted. A circuit for identifying a position of a color reference image by associating mounting position data with a color reference image by searching data, and a storage step of storing the specified color reference image together with mounting position data Board component mounting inspection method.
【請求項6】部品が実装された回路基板を撮像して得ら
れた画像に基づいて部品の実装状態を検査する回路基板
の部品実装検査システムであって、 実装される可能性のある部品のカラー基準画像を記憶す
る画像記憶手段と、 部品が実装された回路基板全体のカラー画像を作製する
全画像作製手段と、 作製した回路基板全体のカラー画像の色処理を行って部
品画像の形状と位置とを抽出する抽出手段と、 抽出した部品画像の形状と位置とに基づいて回路基板全
体のカラー画像の抽出した位置に対応する位置にある部
品のカラー画像とカラー基準画像とを比較して部品のカ
ラー画像が対応する部品を特定する特定手段と、 部品を特定した部品のカラー画像の形状と位置とを記憶
する部品情報記憶手段とを備えることを特徴とする回路
基板の部品実装検査システム。
6. A component mounting inspection system for a circuit board for inspecting a component mounting state based on an image obtained by imaging a circuit board on which a component is mounted, the system comprising: An image storage means for storing a color reference image; an entire image producing means for producing a color image of the entire circuit board on which the components are mounted; and a color processing of the produced color image of the entire circuit board to obtain the shape of the component image. Extracting means for extracting the position, and comparing the color image of the component at the position corresponding to the extracted position of the color image of the entire circuit board with the color reference image based on the shape and position of the extracted component image. A circuit board unit comprising: a specifying unit that specifies a component corresponding to a color image of the component; and a component information storage unit that stores a shape and a position of the color image of the component that specifies the component. Mounting inspection system.
【請求項7】抽出手段が、あらかじめ設定された部品毎
の特徴を示す部品情報に基づいて色処理を変更して部品
毎に2値化した部品画像とすることを特徴とする請求項
6記載の回路基板の部品実装検査システム。
7. The component image according to claim 6, wherein the extraction means changes color processing based on component information indicating characteristics of each component set in advance and binarizes each component. Circuit board component mounting inspection system.
【請求項8】全画像作製手段が、回路基板の所定の大き
さの撮像領域毎に撮像する撮像装置と、撮像装置で撮影
したそれぞれの画像を合成する画像合成処理回路とを備
えることを特徴とする請求項6又は7記載の回路基板の
部品実装検査システム。
8. The image forming apparatus according to claim 1, wherein the whole image forming means includes an image pickup device for picking up an image of each predetermined size of the circuit board, and an image synthesizing circuit for synthesizing each image picked up by the image pickup device. The circuit board component mounting inspection system according to claim 6 or 7, wherein
【請求項9】撮像装置が、CCDカメラを備えることを
特徴とする請求項8記載の回路基板の部品実装検査シス
テム。
9. The system according to claim 8, wherein the imaging device includes a CCD camera.
【請求項10】全画像製作手段が、回路基板全体を1度
に撮像する撮像装置を備えることを特徴とする請求項6
又は7記載の回路基板の部品実装検査システム。
10. The apparatus according to claim 6, wherein said all image producing means comprises an image pickup device for picking up an image of the entire circuit board at one time.
Or a circuit board component mounting inspection system according to 7.
【請求項11】撮像装置が、カラーイメージスキャナを
備えることを特徴とする請求項10記載の回路基板の部
品実装検査システム。
11. The system according to claim 10, wherein the imaging device includes a color image scanner.
【請求項12】部品が実装された回路基板を撮像して得
られた画像に基づいて部品の実装状態を検査する回路基
板の部品実装検査システムであって、 実装される可能性のある部品のカラー基準画像と部品種
別データとを記憶する画像記憶手段と、 記憶したカラー基準画像の部品種別データを、部品の実
装された回路基板の実装位置データ及び部品種別データ
を少なくとも含む製図データにおける部品種別データか
ら検索してカラー基準画像に実装位置データを関連付け
てカラー基準画像の位置を特定する特定手段と、 特定したカラー基準画像を実装位置データとともに記憶
する記憶段階とを備えることを特徴とする回路基板の部
品実装検査システム。
12. A circuit board component mounting inspection system for inspecting a component mounting state based on an image obtained by imaging a circuit board on which a component is mounted, wherein the component mounting inspection system comprises: An image storage means for storing the color reference image and the component type data; and a component type in the drawing data including at least the mounting position data and the component type data of the circuit board on which the component is mounted, the component type data of the stored color reference image. A circuit for identifying a position of a color reference image by associating mounting position data with a color reference image by searching from data, and a storage step of storing the specified color reference image together with the mounting position data Board component mounting inspection system.
【請求項13】部品が実装された回路基板を撮影し得ら
れた画像に基づいて部品の実装状態を検査する回路基板
の部品実装検査方法であって、 部品が実装された回路基板の部品及びその近傍のカラー
画像からなるカラー部品画像を撮像するカラー部品撮像
段階と、 撮像したカラー部品画像を含む大きさの位置決め領域を
カラー部品画像に対応して設定する位置決め領域設定段
階と、 位置決め領域における前回までの位置検出結果における
確定位置まで部品のカラー基準画像を移動して位置決め
領域内におけるカラー部品画像とカラー基準画像とが一
致した場合にカラー部品画像の位置によりカラー部品画
像に対応する部品の位置を確定する位置確定段階とを備
えることを特徴とする回路基板の部品実装検査方法。
13. A circuit board component mounting inspection method for inspecting a mounted state of a component based on an image obtained by photographing a circuit board on which the component is mounted, comprising: A color component imaging step of capturing a color component image composed of a color image in the vicinity thereof; a positioning area setting step of setting a positioning area having a size including the captured color component image corresponding to the color component image; The color reference image of the component is moved to the determined position in the previous position detection result, and when the color component image matches the color reference image in the positioning area, the position of the color component image is used to determine the component corresponding to the color component image. And a position determining step of determining a position.
【請求項14】位置確定段階が、カラー部品画像とカラ
ー基準画像との一致を、カラー部品画像の形状に一致す
る形状の判定領域を移動可能に位置決め領域内に設定
し、その判定領域を分割して複数の判定区画を設定する
とともに、カラー基準画像に対して判定区画に対応する
基準区画を設定し、判定区画と基準区画とのそれぞれの
色を順次比較してある判定区画において比較結果があら
かじめ設定された判定基準に満たない場合には次の判定
位置に判定領域を移動して前記比較を行い、全ての判定
区画が判定基準を満たしたことにより判定することを特
徴とする請求項13記載の回路基板の部品実装検査方
法。
14. The position determining step sets a match between the color component image and the color reference image within a positioning region so as to move a determination region having a shape matching the shape of the color component image, and divides the determination region. In addition to setting a plurality of determination sections, a reference section corresponding to the determination section is set for the color reference image, and the comparison result is sequentially determined for each of the determination section and the reference section. 14. The method according to claim 13, wherein when the predetermined criterion is not satisfied, the determination area is moved to the next determination position and the comparison is performed. The method for inspecting a component mounted on a circuit board as described in the above.
【請求項15】部品が実装された回路基板を撮像して得
られた画像に基づいて部品の実装状態を検査する回路基
板の部品実装検査方法であって、 部品が実装された回路基板の部品及びその近傍のカラー
画像からなるカラー部品画像を撮像するカラー部品撮像
段階と、 撮像したカラー部品画像を含む大きさの位置決め領域を
カラー部品画像に対応して設定する位置決め領域設定段
階と、 カラー部品画像の形状に一致する形状の判定領域を移動
可能に位置決め領域内に設定し、その判定領域を分割し
て複数の判定区画を設定するとともに、カラー基準画像
に対して判定区画に対応する基準区画を設定し、判定区
画と基準区画とのそれぞれの色を順次比較してある判定
区画において比較結果があらかじめ設定された判定基準
に満たない場合には次の判定位置に判定領域を移動して
前記比較を行い、全ての判定区画が判定基準を満たした
場合にカラー部品画像の対応する部品の実装位置を確定
する位置確定段階とを備えることを特徴とする回路基板
の部品実装検査方法。
15. A circuit board component mounting inspection method for inspecting a component mounting state based on an image obtained by imaging a circuit board on which components are mounted, the component mounting inspection method comprising: A color component image capturing step of capturing a color component image including a color image in the vicinity thereof, a positioning area setting step of setting a positioning area having a size including the captured color component image corresponding to the color component image, and a color component. A determination area having a shape that matches the shape of the image is set in the positioning area so as to be movable, the determination area is divided to set a plurality of determination sections, and a reference section corresponding to the determination section for the color reference image. Is set, and the respective colors of the judgment section and the reference section are sequentially compared. If the comparison result does not satisfy the predetermined judgment criterion in the judgment section, the next step is performed. Moving the determination area to the determination position, performing the comparison, and determining the mounting position of the corresponding component of the color component image when all the determination sections satisfy the determination criterion. Circuit board component mounting inspection method.
【請求項16】部品が実装された回路基板を撮像して得
られた画像に基づいて部品の実装状態を検査する回路基
板の部品実装検査システムであって、 実装される可能性のある部品のカラー基準画像を記憶す
る画像記憶手段と、 部品が実装された回路基板の部品及びその近傍のカラー
画像からなるカラー部品画像を撮像するカラー部品撮像
手段と、 撮像したカラー部品画像を含む大きさの位置決め領域を
カラー部品画像に対応して設定する位置決め領域設定手
段と、 位置決め領域における前回までの位置検出結果における
確定位置まで部品のカラー基準画像を移動して位置決め
領域内におけるカラー部品画像とカラー基準画像とが一
致した場合にカラー部品画像の位置によりカラー部品画
像に対応する部品の位置を確定する位置確定手段とを備
えることを特徴とする回路基板の部品実装検査システ
ム。
16. A circuit board component mounting inspection system for inspecting a component mounting state based on an image obtained by imaging a circuit board on which a component is mounted, wherein the component mounting inspection system includes: Image storage means for storing a color reference image; color component imaging means for capturing a color component image comprising a component on a circuit board on which the component is mounted and a color image in the vicinity thereof; Positioning area setting means for setting a positioning area corresponding to a color part image; a color part image and a color reference within the positioning area by moving a color reference image of the part to a fixed position in a previous position detection result in the positioning area Position determining means for determining the position of the component corresponding to the color component image based on the position of the color component image when the image matches. A component mounting inspection system for a circuit board, comprising:
【請求項17】位置確定手段が、カラー部品画像とカラ
ー基準画像との一致を、カラー部品画像の形状に一致す
る形状の判定領域を移動可能に位置決め領域内に設定
し、その判定領域を分割して複数の判定区画を設定する
とともに、カラー基準画像に対して判定区画に対応する
基準区画を設定し、判定区画と基準区画とのそれぞれの
色を順次比較してある判定区画において比較結果があら
かじめ設定された判定基準に満たない場合には次の判定
位置に判定領域を移動して前記比較を行い、全ての判定
区画が判定基準を満たしたことにより判定することを特
徴とする請求項16記載の回路基板の部品実装検査シス
テム。
17. A position determining means for setting a match between a color component image and a color reference image in a positioning region movably in a determination region having a shape matching the shape of the color component image, and dividing the determination region. In addition to setting a plurality of determination sections, a reference section corresponding to the determination section is set for the color reference image, and the comparison result is sequentially determined for each of the determination section and the reference section. 17. The method according to claim 16, wherein when the predetermined criterion is not satisfied, the determination area is moved to the next determination position and the comparison is performed, and the determination is made based on that all the determination sections satisfy the criterion. Circuit board component mounting inspection system as described in the above.
【請求項18】部品が実装された回路基板を撮像して得
られた画像に基づいて部品の実装状態を検査する回路基
板の部品実装検査システムであって、 実装される可能性のある部品のカラー基準画像を記憶す
る画像記憶手段と、 部品が実装された回路基板の部品及びその近傍のカラー
画像からなるカラー部品画像を撮像するカラー部品撮像
手段と、 撮像したカラー部品画像を含む大きさの位置決め領域を
カラー部品画像に対応して設定する位置決め領域設定手
段と、 カラー部品画像の形状に一致する形状の判定領域を移動
可能に位置決め領域内に設定し、その判定領域を分割し
て複数の判定区画を設定するとともに、カラー基準画像
に対して判定区画に対応する基準区画を設定し、判定区
画と基準区画とのそれぞれの色を順次比較してある判定
区画において比較結果があらかじめ設定された判定基準
に満たない場合には次の判定位置に判定領域を移動して
前記比較を行い、全ての判定区画が判定基準を満たした
場合にカラー部品画像の対応する部品の実装位置を確定
する位置確定手段とを備えることを特徴とする回路基板
の部品実装検査システム。
18. A circuit board component mounting inspection system for inspecting a component mounting state based on an image obtained by capturing an image of a circuit board on which a component is mounted, the component mounting inspection system comprising: Image storage means for storing a color reference image; color component imaging means for capturing a color component image comprising a component on a circuit board on which the component is mounted and a color image in the vicinity thereof; Positioning area setting means for setting the positioning area corresponding to the color component image; and a determination area having a shape corresponding to the shape of the color component image is movably set in the positioning area, and the determination area is divided into a plurality of areas. The determination section is set, a reference section corresponding to the determination section is set for the color reference image, and the respective colors of the determination section and the reference section are sequentially compared. If the comparison result in the fixed section does not satisfy the predetermined criterion, the judgment area is moved to the next judgment position and the comparison is performed.If all the judgment sections satisfy the judgment criterion, the color component image A component mounting inspection system for a circuit board, comprising: a position determining means for determining a mounting position of a corresponding component.
JP2000225408A 2000-07-26 2000-07-26 Part mounting inspecting method for circuit board and its system Pending JP2002042112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000225408A JP2002042112A (en) 2000-07-26 2000-07-26 Part mounting inspecting method for circuit board and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000225408A JP2002042112A (en) 2000-07-26 2000-07-26 Part mounting inspecting method for circuit board and its system

Publications (1)

Publication Number Publication Date
JP2002042112A true JP2002042112A (en) 2002-02-08

Family

ID=18719189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000225408A Pending JP2002042112A (en) 2000-07-26 2000-07-26 Part mounting inspecting method for circuit board and its system

Country Status (1)

Country Link
JP (1) JP2002042112A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004055599A (en) * 2002-07-16 2004-02-19 Nagoya Electric Works Co Ltd Method and apparatus for inspecting mounting board
JP2005172499A (en) * 2003-12-09 2005-06-30 Hitachi Ltd Substrate visual inspection apparatus
JP2006250609A (en) * 2005-03-09 2006-09-21 Matsushita Electric Ind Co Ltd Visual inspection method of circuit mounting board
CN1322800C (en) * 2003-05-30 2007-06-20 株式会社查纳位资讯情报 Substrate information creating method and substrate information creating device
JP2010186485A (en) * 2010-04-05 2010-08-26 Omron Corp Method of processing color image and image processing apparatus
EP2982969A4 (en) * 2013-04-02 2017-03-01 Kohyoung Technology Inc. Method for inspecting for foreign substance on substrate
CN112378908A (en) * 2020-11-09 2021-02-19 日立楼宇技术(广州)有限公司 Capacitor polarity installation detection device and detection method
CN113711706A (en) * 2019-04-17 2021-11-26 雅马哈发动机株式会社 Image search device, component mounting system, and image search method
JP7434045B2 (en) 2020-04-27 2024-02-20 株式会社日立製作所 Identification device and method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004055599A (en) * 2002-07-16 2004-02-19 Nagoya Electric Works Co Ltd Method and apparatus for inspecting mounting board
CN1322800C (en) * 2003-05-30 2007-06-20 株式会社查纳位资讯情报 Substrate information creating method and substrate information creating device
JP2005172499A (en) * 2003-12-09 2005-06-30 Hitachi Ltd Substrate visual inspection apparatus
JP4613644B2 (en) * 2005-03-09 2011-01-19 パナソニック株式会社 Circuit board inspection method
JP2006250609A (en) * 2005-03-09 2006-09-21 Matsushita Electric Ind Co Ltd Visual inspection method of circuit mounting board
JP4670995B2 (en) * 2010-04-05 2011-04-13 オムロン株式会社 Color image processing method and image processing apparatus
JP2010186485A (en) * 2010-04-05 2010-08-26 Omron Corp Method of processing color image and image processing apparatus
EP2982969A4 (en) * 2013-04-02 2017-03-01 Kohyoung Technology Inc. Method for inspecting for foreign substance on substrate
US10060859B2 (en) 2013-04-02 2018-08-28 Koh Young Technology Inc. Method of inspecting foreign substance on substrate
EP3889590A3 (en) * 2013-04-02 2021-11-10 Koh Young Technology Inc. Apparatus for inspecting a substrate for a foreign substance
CN113711706A (en) * 2019-04-17 2021-11-26 雅马哈发动机株式会社 Image search device, component mounting system, and image search method
JP7434045B2 (en) 2020-04-27 2024-02-20 株式会社日立製作所 Identification device and method
CN112378908A (en) * 2020-11-09 2021-02-19 日立楼宇技术(广州)有限公司 Capacitor polarity installation detection device and detection method

Similar Documents

Publication Publication Date Title
US7406191B2 (en) Inspection data producing method and board inspection apparatus using the method
US20060018534A1 (en) Technique for detecting a defect of an object by area segmentation of a color image of the object
CN110658198A (en) Optical detection method, optical detection device and optical detection system
JP2004226128A (en) Apparatus and method for visual inspection
JP3906780B2 (en) Data registration method for component code conversion table, board inspection data creation device, registration processing program, and storage medium thereof
CN112387604B (en) Method for detecting packaging substrate through AVI (automatic voltage indicator) detector and automatic point finder in networking mode
JP3963975B2 (en) Mounting position data creation method and mounting inspection method
JP6197340B2 (en) Image processing apparatus, image processing method, and program
JP2002042112A (en) Part mounting inspecting method for circuit board and its system
JPH11337498A (en) Apparatus and method for inspecting printed circuit board
KR100696105B1 (en) Auto-teaching method and apparatus for pcb inspection system
JP2002005850A (en) Defect inspection method and apparatus therefor, and production method of mask
JP4814116B2 (en) Mounting board appearance inspection method
JP2004132950A (en) Appearance inspection apparatus and appearance inspection method
US7319790B2 (en) Image comparing apparatus, image comparing method, computer readable medium recording program for image comparison, photographing apparatus, and photographing method
JPH11185039A (en) Image recognition based measuring method and recording medium
JP2001024321A (en) Method for generating inspection data
JP2003086919A (en) Pattern inspection device
JP3116438B2 (en) Inspection apparatus and inspection method for printed wiring board
JP3919207B2 (en) Appearance inspection device
JP2676990B2 (en) Wiring pattern inspection equipment
JP2745763B2 (en) Wiring pattern inspection equipment
JP2004085543A (en) System and method for visual inspection
KR102129970B1 (en) Method And Apparatus for Matching inspection Data Electronic Component
JP2000294612A (en) Method and device for creating chip layout