JP2006105777A - Substrate inspection device, its parameter-setting method and parameter setting device - Google Patents

Substrate inspection device, its parameter-setting method and parameter setting device Download PDF

Info

Publication number
JP2006105777A
JP2006105777A JP2004292637A JP2004292637A JP2006105777A JP 2006105777 A JP2006105777 A JP 2006105777A JP 2004292637 A JP2004292637 A JP 2004292637A JP 2004292637 A JP2004292637 A JP 2004292637A JP 2006105777 A JP2006105777 A JP 2006105777A
Authority
JP
Japan
Prior art keywords
color
image
defective
secondary reflection
range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004292637A
Other languages
Japanese (ja)
Other versions
JP4506395B2 (en
Inventor
Hirotaka Wada
洋貴 和田
Takako Onishi
貴子 大西
Toshihiro Moriya
俊洋 森谷
Atsushi Shimizu
敦 清水
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2004292637A priority Critical patent/JP4506395B2/en
Publication of JP2006105777A publication Critical patent/JP2006105777A/en
Application granted granted Critical
Publication of JP4506395B2 publication Critical patent/JP4506395B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology capable of removing an influence of secondary reflection, when generating parameters used in a substrate inspection device. <P>SOLUTION: This parameter-setting device acquires a plurality of through-hole images acquired by imaging a through hole in a substrate, and estimates a secondary reflection color range which is a color range that can be taken by a pixel, including a secondary reflecting light component of a light having the smallest incident angle among pixels of an nondefective image from a color distribution of through-hole peripheral pixels in the through-hole images. A secondary reflection region, constituted of pixels having a color in the secondary reflection color range is specified from inside the nondefective image, and the specified secondary reflecting region is removed from the nondefective image. Then, the parameter used for substrate inspection is generated by using the nondefective image, after removing the secondary reflecting region as a teaching image. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、基板検査装置で用いられるパラメータを自動生成するための技術に関する。   The present invention relates to a technique for automatically generating parameters used in a substrate inspection apparatus.

従来より、多数の電子部品が実装されたプリント基板の実装品質を検査するための基板検査装置が提案されている。この種のプリント基板において「電子部品の電極部とランドを半田付けした際の半田盛りの形状」を半田フィレットと呼ぶが、電子部品の電極部の濡れ上がりによっては、半田フィレットが形成されているように見えて、実は電子部品と半田フィレットが未接触な場合もある。よって、半田付けの良否を検査するには、自由曲線からなる半田フィレットの形状を正確に捉える必要がある。   Conventionally, there has been proposed a board inspection apparatus for inspecting the mounting quality of a printed circuit board on which a large number of electronic components are mounted. In this type of printed circuit board, “the shape of the solder pile when the electrode part of the electronic component and the land are soldered” is called a solder fillet. However, depending on the wetting of the electrode part of the electronic component, a solder fillet is formed. In some cases, the electronic component and the solder fillet are not in contact with each other. Therefore, in order to inspect the soldering quality, it is necessary to accurately grasp the shape of the solder fillet made of a free curve.

しかしながら、従前の基板検査装置では、モノクロ(単色)単一照明を光源に用いていたために、半田フィレットの3次元形状を画像解析するのが困難であった。それゆえ、半田付けの良否を判定することができず、基板検査装置として実用に耐えるものではなかった。   However, in the conventional board inspection apparatus, since monochrome (single color) single illumination is used as a light source, it is difficult to perform image analysis of the three-dimensional shape of the solder fillet. Therefore, the quality of soldering cannot be determined, and the board inspection apparatus cannot be used practically.

このような課題を解決するため、本出願人は、図21に示す方式の基板検査装置を提案した(特許文献1参照)。この方式は3色光源カラーハイライト方式(もしくは単にカラーハイライト方式)とよばれるもので、複数の色の光源で検査対象を照らすことによって半田フィレットの3次元形状を疑似カラー画像として得る技術である。   In order to solve such a problem, the present applicant has proposed a substrate inspection apparatus of the type shown in FIG. 21 (see Patent Document 1). This method is called the three-color light source color highlight method (or simply the color highlight method), and is a technology that obtains the three-dimensional shape of the solder fillet as a pseudo-color image by illuminating the inspection object with light sources of multiple colors. is there.

プリント基板の自動検査の実用化は、実質、このカラーハイライト方式技術の登場以降であると言われている。特に、電子部品が小型化する現在では、半田フィレット形状を目視で判別することも困難であり、カラーハイライト方式の基板検査装置なしでは基板検査が成り立たないと言うこともできる。   It is said that the practical use of automatic inspection of printed circuit boards is practically after the advent of this color highlighting technology. In particular, at the present time when electronic components are miniaturized, it is difficult to visually determine the solder fillet shape, and it can be said that board inspection cannot be realized without a color highlight type substrate inspection apparatus.

図21に示すように、カラーハイライト方式の基板検査装置は、基板110上の検査対象107に異なる入射角で三原色光を照射する投光部105と、検査対象107からの反射光を撮像する撮像部106と、を備える。この投光部105は、異なる径を有し、かつ制御処理部からの制御信号に基づき赤色光、緑色光、青色光を同時に照射する3個の円環状光源111,112,113により構成されている。各光源111,112,113は、検査対象107の真上位置に中心を合わせ、かつ検査対象107から見て異なる仰角に対応する方向に配置されている。   As shown in FIG. 21, the color highlight type substrate inspection apparatus images the light projection unit 105 that irradiates the inspection target 107 on the substrate 110 with the three primary color lights at different incident angles and the reflected light from the inspection target 107. An imaging unit 106. The light projecting unit 105 includes three annular light sources 111, 112, and 113 that have different diameters and that simultaneously emit red light, green light, and blue light based on a control signal from the control processing unit. Yes. The light sources 111, 112, and 113 are arranged in directions corresponding to different elevation angles when viewed from the inspection target 107 while being centered on the position directly above the inspection target 107.

かかる構成の投光部105で検査対象(半田フィレット)107を照射すると、撮像部106には、検査対象107の表面の傾斜に応じた色の光が入射する。よって、図22に示すように、電子部品の半田付けが良好であるとき/部品が欠落しているとき/半田不足の状態であるときなど、半田フィレットの形状に応じて、撮像画像の色彩パターンに明確な差異が現れる。これにより、半田フィレットの3次元形状を画像解析するのが容易になり、電子部品の有無や半田付けの良否を正確に判定することができるようになる。   When the inspection target (solder fillet) 107 is irradiated by the light projecting unit 105 having such a configuration, light of a color corresponding to the inclination of the surface of the inspection target 107 enters the imaging unit 106. Therefore, as shown in FIG. 22, when the soldering of the electronic component is good / when the component is missing / when the solder is insufficient, the color pattern of the captured image depends on the shape of the solder fillet. A clear difference appears. This facilitates image analysis of the three-dimensional shape of the solder fillet, and makes it possible to accurately determine the presence / absence of electronic components and the quality of soldering.

カラーハイライト方式の基板検査装置では、「あるべき良品の色」や「あるべき不良品の色」を表す色パラメータ(色条件)を予め設定しておき、検査画像の中から色パラメータに該当する色領域を抽出し、その抽出された領域のもつ種々の特徴量(例えば、面積や長さ)に基づいて良否の判定を行う。したがって、実際の検査に先立ち、検査に用いる色パラメータ、特徴量の種類、良品と不良品とを切り分けるための判定条件(たとえば、しきい値)などを設定しておく必要がある。この色パラメータ、特徴量および判定条件を合
わせて検査ロジックもしくは検査パラメータと呼び、また検査ロジックを設定・調整することを一般にティーチングと呼ぶ。
In the color highlight type substrate inspection system, color parameters (color conditions) representing “the color of a good product that should be” and “the color of a defective product that should be” are set in advance, and the corresponding color parameter is selected from the inspection image. The color area to be extracted is extracted, and the quality is determined based on various feature amounts (for example, area and length) of the extracted area. Therefore, prior to the actual inspection, it is necessary to set the color parameters used for the inspection, the types of feature amounts, the determination conditions (for example, threshold values) for separating good products from defective products, and the like. The color parameters, feature amounts, and determination conditions are collectively referred to as inspection logic or inspection parameters, and setting and adjusting the inspection logic is generally referred to as teaching.

検査精度を向上するためには、良品の示す特徴量と不良品の示す特徴量との間に有意かつ明確な差異が現れるように色パラメータを設定することが肝要である。すなわち、色パラメータのティーチングの善し悪しが検査精度を直接左右すると言える。   In order to improve the inspection accuracy, it is important to set the color parameter so that a significant and clear difference appears between the feature quantity indicated by the non-defective product and the feature quantity indicated by the defective product. That is, it can be said that the quality of teaching of color parameters directly affects the inspection accuracy.

そこで本出願人は、図23に示すように、カラーハイライト方式における色パラメータの設定を支援するためのツールを提案している(特許文献2参照)。このツールでは、色パラメータとして、赤、緑、青の各色相比ROP、GOP、BOPおよび明度データBRTのそれぞれの上限値および下限値の設定が可能である。図23の入力画面には、色パラメータの設定値を入力するための色パラメータ設定部127とともに、設定された各色パラメータにより抽出される色彩の範囲を表示するための設定範囲表示部128が設けられている。この設定範囲表示部128には、所定の明度の下で得られるすべての色彩を示した色合い図134が表示されており、オペレータが各色パラメータの上限値、下限値を設定すると、色合い図134上には、設定された色パラメータにより抽出される色彩を囲むような確認領域135が表示される。また、2値化表示ボタン129を押すと、現在の色パラメータによる抽出結果が二値画像で表示される。このツールによれば、オペレータは、確認領域135や二値画像を見ながら、適切な抽出結果が得られるまで色パラメータの追い込みを行うことができる。   Therefore, the present applicant has proposed a tool for supporting the setting of color parameters in the color highlight method as shown in FIG. 23 (see Patent Document 2). In this tool, it is possible to set the upper limit value and the lower limit value of each of the hue ratios ROP, GOP, BOP and lightness data BRT of red, green, and blue as color parameters. The input screen of FIG. 23 is provided with a color parameter setting unit 127 for inputting color parameter setting values, and a setting range display unit 128 for displaying a color range extracted by each set color parameter. ing. The setting range display section 128 displays a hue diagram 134 showing all colors obtained under a predetermined brightness. When the operator sets the upper limit value and lower limit value of each color parameter, Displays a confirmation area 135 surrounding the color extracted by the set color parameter. When the binarization display button 129 is pressed, the extraction result based on the current color parameter is displayed as a binary image. According to this tool, the operator can track the color parameters until an appropriate extraction result is obtained while viewing the confirmation area 135 and the binary image.

ところで、両面実装基板において、面面と裏面を配線する役割を果たすものに、スルーホールがある。両面実装は、基板の高密度化に大きく貢献しており、スルーホールは基板の両面を接続する重要な役割を果たす。しかし、画像処理を基本とする視覚センサを用いた基板検査においては、スルーホールは部品や配線パターンとの誤認識を起こしやすく、検査性能に悪影響を与えることが多い。そこで従来は、スルーホールによる検査性能の劣化を防ぐために、基板検査の前処理段階でスルーホールを除去することが一般的であった。特許文献3、4には、スルーホール加工前の画像と加工後の画像を組み合わせることにより、スルーホールを画像から消去する技術が開示されている。
特開平2−78937号公報 特開平9−145633号公報 特開平4−120448号公報 特開平7−20061号公報
By the way, in the double-sided mounting substrate, there is a through hole that plays a role of wiring the surface and the back. The double-sided mounting greatly contributes to the high density of the board, and the through hole plays an important role in connecting both sides of the board. However, in board inspection using a visual sensor based on image processing, through holes tend to cause misrecognition of components and wiring patterns and often have an adverse effect on inspection performance. Therefore, conventionally, in order to prevent deterioration of the inspection performance due to the through hole, it is common to remove the through hole at the pre-processing stage of the substrate inspection. Patent Documents 3 and 4 disclose techniques for erasing a through hole from an image by combining an image before through-hole processing and an image after processing.
Japanese Patent Laid-Open No. 2-78937 JP 9-145633 A Japanese Patent Laid-Open No. 4-120448 Japanese Patent Laid-Open No. 7-20061

基板検査装置は、プリント基板の実装品質について一度に複数の検査項目を高速かつ正確に検査することが出来るという利点がある。ただし、基板検査装置の実稼動にあたっては、個別の検査対象に合わせて検査ロジック各々のティーチングを行い、不良品の見逃しがなく、かつ、良品を不良品と判定してしまう過検出が許容値(あらかじめ想定する値)以下に抑え込めるまで、判定精度を十分に高めなければならない。   The board inspection apparatus has an advantage that a plurality of inspection items can be inspected at high speed and accurately at once for the mounting quality of the printed board. However, in actual operation of the board inspection device, the over logic that teaches each inspection logic according to the individual inspection object, does not miss the defective product, and determines that the non-defective product is a defective product is an allowable value ( Judgment accuracy must be sufficiently increased until the value can be kept below the value assumed in advance.

ところが、カラーハイライト方式の基板検査装置では、実用に耐え得る高度な基板検査が可能な反面、不良品の見逃しと過検出を目標値まで抑え込むためのティーチングが難しい。上述した色パラメータ設定支援ツールを利用したとしても、結局、色パラメータの追い込みはオペレータの経験と勘に頼る部分が大きいため、設定ミスの発生は避けられない。しかも、どれだけ優れたオペレータでも試行錯誤的に調整を繰り返さなければならず、非効率的であり、多大な労力と調整時間を要してしまうという問題がある。   However, in the color highlight type substrate inspection apparatus, although advanced substrate inspection that can withstand practical use is possible, teaching to suppress oversight and overdetection of defective products to a target value is difficult. Even if the color parameter setting support tool described above is used, it is inevitable that the setting of a color parameter will depend on the experience and intuition of the operator. In addition, no matter how good the operator is, the adjustment must be repeated on a trial and error basis, which is inefficient and requires a lot of labor and adjustment time.

商品ライフサイクルの短命化が進む変化の激しい製造環境では、ティーチング作業の軽
減、さらにはティーチングの自動化が強く望まれている。
In a manufacturing environment where the product life cycle is shortening and the manufacturing environment is changing rapidly, it is strongly desired to reduce teaching work and to further automate teaching.

また、カラーハイライト方式に固有の問題として、次のような現象が生じることがある。図24に示すように、撮像部106には、通常、光源から照射された光の反射光(一次反射光)のみが入射する。ところが、希に、近傍にある他の半田やスルーホールで反射された光が撮像対象の半田に照射され、その反射光(二次反射光)が撮像部106に入射することがある。この場合、図24のように、本来青色に撮像されるはずの半田部分に青色と赤色の混色(マゼンタ系色)の領域が現れることとなり、半田フィレット形状を正確に反映した色彩パターンが得られなくなる。   In addition, the following phenomenon may occur as a problem specific to the color highlight method. As shown in FIG. 24, normally, only reflected light (primary reflected light) of light emitted from the light source enters the imaging unit 106. However, in some rare cases, light reflected by another solder or through hole in the vicinity is irradiated onto the solder to be imaged, and the reflected light (secondary reflected light) may enter the imaging unit 106. In this case, as shown in FIG. 24, an area of a mixed color (magenta color) of blue and red appears in the solder portion which should be originally imaged in blue, and a color pattern accurately reflecting the solder fillet shape is obtained. Disappear.

このような二次反射の影響を含む良品画像を教師画像としてティーチングを行った場合、従来の方法では、二次反射によるマゼンタ色も「あるべき良品の色」であるとの誤認識を招きやすく、良品と不良品とを高精度に切り分けられる色パラメータの設定が困難であった。なお、二次反射の影響は部品間距離が小さくほど生じやすくなるため、基板の高密度実装が進む最近の状況からすると、二次反射光への対処は重要な課題となりつつある。   When teaching a non-defective image including the influence of such secondary reflection as a teacher image, the conventional method is likely to cause a misrecognition that the magenta color due to the secondary reflection is also a “good non-defective color”. Therefore, it is difficult to set a color parameter that can accurately classify a good product and a defective product. In addition, since the influence of the secondary reflection is likely to occur as the distance between the components is reduced, it is becoming an important issue to deal with the secondary reflected light in view of the recent situation where the high-density mounting of the substrate is advanced.

本発明は上記実情に鑑みてなされたものであって、その目的とするところは、基板検査装置に用いられるパラメータを生成するに際し、二次反射の影響を除去することのできる技術を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a technique capable of removing the influence of secondary reflection when generating parameters used in a substrate inspection apparatus. It is in.

基板上の実装部品に異なる入射角で複数の色の光(以下、光源光という)を照射した場合、各色の光について二次反射が起こり得る。ただし、すべての色の二次反射を考慮する必要はない。二次反射を引き起こす一次反射光(基板上の実装部品に到達し得る一次反射光)は、基板にほぼ平行な光路をもつものに限られるため、どの光源光よりも部品に対する入射角が大きくなる。したがって、二次反射の影響は、部品の撮像画像中でも、入射角の最も大きい光源光(以下、入射角最大光という)の色が支配的となる領域にしか現れない。このことからすると、二次反射光の元となった光源光の入射角が大きいほど、二次反射の影響は目立たず、逆に、二次反射光の元となった光源光の入射角が小さいほど、二次反射の影響が顕著に現れることになる。よって、入射角の最も小さい光源光(以下、入射角最小光という)の二次反射の影響を除去すれば十分な効果が得られるといえる。   When light of a plurality of colors (hereinafter referred to as light source light) is irradiated onto the mounting component on the substrate at different incident angles, secondary reflection may occur for each color of light. However, it is not necessary to consider the secondary reflection of all colors. Primary reflected light that causes secondary reflection (primary reflected light that can reach the mounting components on the board) is limited to those having an optical path substantially parallel to the board, so the incident angle to the component is larger than any light source light. . Therefore, the influence of the secondary reflection appears only in the region where the color of the light source light having the largest incident angle (hereinafter referred to as the maximum incident angle light) is dominant in the captured image of the component. From this, the larger the incident angle of the light source light that is the source of the secondary reflected light, the less noticeable the influence of the secondary reflection, and conversely, the incident angle of the light source light that is the source of the secondary reflected light is The smaller the value, the more pronounced the influence of secondary reflection. Therefore, it can be said that a sufficient effect can be obtained by removing the influence of the secondary reflection of the light source light having the smallest incident angle (hereinafter referred to as the minimum incident angle light).

かかる二次反射の影響を除去するためには、予め、良品画像の中から二次反射光成分を含む画素を除去してやればよい。しかしながら、光の二次反射は部品配置や光の当たり具合などの種々の条件が重なったときにしか現れないため、ティーチングのために、そのような二次反射の影響を含んだサンプル画像(教師画像)を多数準備することは不可能に近い。とはいえ、画像の色調は撮像環境や機器のバラツキ等によって変わるため、教師画像無しに二次反射光成分を含む画素の色を正確に予測することは困難である。   In order to remove the influence of the secondary reflection, pixels including the secondary reflected light component may be previously removed from the non-defective image. However, since secondary reflection of light appears only when various conditions such as component placement and light contact condition overlap, a sample image including the influence of such secondary reflection (teacher) is used for teaching. It is almost impossible to prepare a large number of images. However, since the color tone of the image changes depending on the imaging environment, device variations, and the like, it is difficult to accurately predict the color of the pixel including the secondary reflected light component without the teacher image.

そこで本発明者らは、良品基板を撮像した画像から、「入射角最小光の二次反射光成分を含む画素の色」に近い色を抽出できないか検討した。その結果、スルーホール周辺の金属部分が比較的近い色で撮像されることを見出した。スルーホール周辺の金属部分は表面が平坦(基板表面に対して平行)であるため、入射角最小光の色を呈するのである。スルーホールは両面実装基板であれば必ず存在するし、また、スルーホールは形状および大きさが既知のため画像認識による判別や色の抽出が容易であるため、教師画像として利用するのに都合がよい。   Therefore, the present inventors examined whether a color close to “a color of a pixel including a secondary reflected light component of light having a minimum incident angle” can be extracted from an image obtained by imaging a non-defective substrate. As a result, it has been found that the metal part around the through hole is imaged with a relatively close color. Since the surface of the metal portion around the through hole is flat (parallel to the substrate surface), it exhibits the color of light with the minimum incident angle. A through-hole is always present if it is a double-sided mounting board, and because the through-hole is known for its shape and size, it is easy to discriminate by image recognition and extract colors, making it convenient for use as a teacher image. Good.

以上の検討に基づき、本発明では、スルーホール周辺に現れる色から二次反射光成分を含む画素の色を推定することによって、二次反射の影響を除去する構成を採用する。   Based on the above study, the present invention employs a configuration that eliminates the influence of secondary reflection by estimating the color of a pixel including a secondary reflected light component from the color that appears around the through hole.

具体的には、本発明のパラメータ設定装置は、画像取得手段、スルーホール画像取得手段、二次反射色範囲推定手段、二次反射領域特定手段、二次反射領域除去手段、パラメータ生成手段を有する。これらの機能は情報処理装置のプログラムによって実現される。   Specifically, the parameter setting device of the present invention includes an image acquisition unit, a through-hole image acquisition unit, a secondary reflection color range estimation unit, a secondary reflection region specifying unit, a secondary reflection region removal unit, and a parameter generation unit. . These functions are realized by a program of the information processing apparatus.

パラメータ設定装置では、画像取得手段が、半田付けの良好な部品を撮像して得られた複数の良品画像を取得し、スルーホール画像取得手段が、基板上のスルーホールを撮像して得られた複数のスルーホール画像を取得し、二次反射色範囲推定手段が、前記スルーホール画像におけるスルーホール周辺画素の色分布から、良品画像の画素のうち入射角の最も小さい光の二次反射光成分を含む画素がとり得る色範囲である二次反射色範囲を推定する。そして、二次反射領域特定手段が、前記良品画像の中から前記二次反射色範囲内の色をもつ画素で構成される二次反射領域を特定し、二次反射領域除去手段が、特定された二次反射領域を前記良品画像から除去し、パラメータ生成手段が、二次反射領域除去後の良品画像を教師画像として、基板検査で用いられるパラメータを生成する。   In the parameter setting device, the image acquisition unit acquires a plurality of non-defective images obtained by imaging the parts with good soldering, and the through-hole image acquisition unit acquires the through-holes on the board. A plurality of through-hole images are acquired, and the secondary reflected color range estimating means determines the secondary reflected light component of the light having the smallest incident angle among the pixels of the non-defective image from the color distribution of the peripheral pixels in the through-hole in the through-hole image. A secondary reflection color range, which is a color range that can be taken by a pixel including, is estimated. The secondary reflection area specifying means specifies a secondary reflection area composed of pixels having a color within the secondary reflection color range from the non-defective image, and the secondary reflection area removing means is specified. The secondary reflection area is removed from the non-defective image, and the parameter generation means generates a parameter used in the substrate inspection using the non-defective image after the secondary reflection area is removed as a teacher image.

これにより、基板検査装置に用いられるパラメータを生成するに際し、二次反射の影響を除去することができ、高精度なパラメータ生成が可能である。   As a result, when generating parameters used in the substrate inspection apparatus, the influence of secondary reflection can be eliminated, and highly accurate parameter generation is possible.

厳密にいえば、スルーホール周辺に現れる色と、二次反射光成分を含む画素の色とは若干相違する。そこで、その相違を緩和もしくは補正すべく、二次反射色範囲を次のように決定することが好ましい。   Strictly speaking, the color appearing around the through hole is slightly different from the color of the pixel including the secondary reflected light component. Therefore, it is preferable to determine the secondary reflection color range as follows in order to reduce or correct the difference.

まず、二次反射色範囲としては、少なくとも、入射角の最も大きい光の色相の彩度の範囲と、明度の範囲とを規定するものを採用するとよい。良品画像では、通常、入射角最大光の色相が支配的となるため、その色相の彩度が非常に高くなる。一方、スルーホール周辺に現れる色と二次反射光成分を含む画素の色とは互いに色相が若干異なるものの、いずれも入射角最小光の影響を受けているため、入射角最大光の色相に限って考えると、その彩度は共に非常に小さな値をとる。したがって、入射角最大光の色相の彩度に着目すれば、良品画像における通常の画素と二次反射光成分を含む画素との切り分けを容易かつ明確に行うことができる。   First, as the secondary reflection color range, it is preferable to adopt a range that defines at least the saturation range and the brightness range of the hue of light having the largest incident angle. In a non-defective image, the hue of the light with the maximum incident angle is usually dominant, and the saturation of the hue becomes very high. On the other hand, the colors appearing around the through-holes and the colors of the pixels containing the secondary reflected light component are slightly different from each other, but both are affected by the minimum incident angle light. As a result, both of the saturation values are very small. Therefore, if attention is paid to the saturation of the hue of the maximum incident angle light, it is possible to easily and clearly distinguish between a normal pixel and a pixel including a secondary reflected light component in a non-defective image.

また、二次反射色範囲推定手段が、前記スルーホール周辺画素の色分布範囲を求め、その色分布範囲の明度方向の値域を補正することによって前記二次反射色範囲を決定するとよい。このように明度補正を行うことによって、より本物(二次反射光成分を含む画素)に近い二次反射色範囲を求めることができる。   The secondary reflection color range estimation means may determine the secondary reflection color range by obtaining a color distribution range of the through-hole peripheral pixels and correcting a value range in the brightness direction of the color distribution range. By performing brightness correction in this way, it is possible to obtain a secondary reflection color range that is closer to the real thing (pixels including secondary reflected light components).

ここで、二次反射色範囲推定手段は、前記スルーホール周辺画素の色分布範囲の明度の上限を明度最大値まで拡大したものを前記二次反射色範囲とするとよい。二次反射の影響がある画素は一次反射光成分と二次反射光成分とを含むため、スルーホール周辺の画素に比べて明度が高くなり、その上限は明度の最大値付近まで達する傾向にある、という知見に基づいている。   Here, it is preferable that the secondary reflection color range estimation means expands the upper limit of the brightness of the color distribution range of the through-hole peripheral pixels to the maximum brightness value as the secondary reflection color range. Pixels that have the effect of secondary reflection include primary reflected light components and secondary reflected light components, so the brightness is higher than pixels around the through-hole, and the upper limit tends to reach the maximum brightness value. , Based on the knowledge that.

パラメータ(色条件、判定条件)の生成手法は種々考えられる。たとえば、画像取得手段が、半田付けの不良な部品を撮像して得られた複数の不良品画像を取得し、パラメータ生成手段が、二次反射領域除去後の前記良品画像における半田領域の各画素の色を良点として、前記不良品画像における半田領域の各画素の色を不良点として、それぞれ色空間にマッピングし、前記色空間を分割する色範囲であって、そこに含まれる良点の数と不良点の数の差が最大となるような色範囲を求め、求められた前記色範囲を基板検査で用いられる色条件として設定してもよい。この場合、パラメータ生成手段は、前記良品画像および前記不良品画像のそれぞれから前記色条件を満たす画素領域を抽出して、その画素領域のもつ特徴量についての特徴量ヒストグラムを作成し、前記特徴量ヒストグラムの度数分布
に基づいて前記良品画像の特徴量と前記不良品画像の特徴量とを分離するためのしきい値を算出し、算出された前記しきい値を基板検査で用いられる判定条件として設定するとよい。
Various methods for generating parameters (color conditions, determination conditions) are conceivable. For example, the image acquisition unit acquires a plurality of defective product images obtained by imaging a component with poor soldering, and the parameter generation unit detects each pixel of the solder region in the non-defective product image after removing the secondary reflection region. A color range that maps each color space as a defective point and a color range of each pixel in the solder area in the defective product image as a defective point, and divides the color space, A color range in which the difference between the number and the number of defective points is maximized may be obtained, and the obtained color range may be set as a color condition used in substrate inspection. In this case, the parameter generation unit extracts a pixel region that satisfies the color condition from each of the good product image and the defective product image, creates a feature amount histogram for the feature amount of the pixel region, and the feature amount Based on the frequency distribution of the histogram, a threshold value for separating the feature amount of the non-defective product image and the feature amount of the defective product image is calculated, and the calculated threshold value is used as a determination condition used in substrate inspection. It is good to set.

あるいは、パラメータ生成手段は、二次反射領域除去後の前記良品画像の各画素の色分布範囲に基づいて、基板検査で用いられる色条件を決定してもよい。この場合、パラメータ生成手段は、前記良品画像における半田領域から前記色条件を満たす画素領域を抽出して、その画素領域のもつ特徴量についての特徴量ヒストグラムを生成し、前記特徴量ヒストグラムの度数分布に基づいて前記良品画像における半田領域の特徴量を判別するためのしきい値を算出し、算出された前記しきい値を基板検査で用いられる判定条件として設定するとよい。   Alternatively, the parameter generation unit may determine a color condition used in the substrate inspection based on a color distribution range of each pixel of the non-defective image after removing the secondary reflection area. In this case, the parameter generation means extracts a pixel region that satisfies the color condition from the solder region in the good product image, generates a feature amount histogram for the feature amount of the pixel region, and the frequency distribution of the feature amount histogram The threshold value for discriminating the feature amount of the solder area in the non-defective image is calculated based on the above, and the calculated threshold value is set as a determination condition used in the board inspection.

なお、上記色空間は、明度、色相、彩度の3軸から少なくともなる多次元色空間であってもよいが、たとえば、良好な半田領域に多く含まれ、かつ、不良な半田領域にほとんど含まれない傾向にある色相についての彩度軸と明度軸からなる2次元色空間を用いることも好ましい。2次元色空間を採用することにより、色範囲の探索処理が簡単になる。また、2次元色空間において、色条件を彩度の下限と上限、および、明度の下限と上限から構成すれば、色範囲が矩形領域となり、色範囲の探索処理が一層簡単になる。   The color space may be a multidimensional color space consisting of at least three axes of brightness, hue, and saturation. For example, the color space is mostly included in a good solder area and almost included in a defective solder area. It is also preferable to use a two-dimensional color space composed of a saturation axis and a lightness axis for hues that tend not to move. Employing the two-dimensional color space simplifies the color range search process. In the two-dimensional color space, if the color condition is composed of a lower limit and an upper limit of saturation and a lower limit and an upper limit of lightness, the color range becomes a rectangular area, and the color range search process is further simplified.

また、特徴量としては、画素領域の面積、面積比、長さ、最大幅、重心、形状など種々のものが想定される。検査により検出すべき対象に応じて好ましい特徴量を1つまたは2つ以上採用すればよい。   Also, various features such as the area, area ratio, length, maximum width, center of gravity, and shape of the pixel region are assumed as the feature amount. What is necessary is just to employ | adopt one or two or more preferable feature-values according to the object which should be detected by test | inspection.

このように自動生成されたパラメータ(色条件と判定条件)は基板検査装置の記憶部に格納され、基板検査処理に供される。   The automatically generated parameters (color conditions and determination conditions) are stored in the storage unit of the substrate inspection apparatus and used for substrate inspection processing.

なお、本発明は、上記処理の少なくとも一部を含む基板検査装置のパラメータ設定方法、または、かかる方法を実現するためのプログラムとして捉えることができる。また、本発明は、上記処理を実行する手段の少なくとも一部を有する基板検査装置のパラメータ設定装置、または、かかる装置を備えた基板検査装置として捉えることもできる。上記手段および処理の各々は可能な限り互いに組み合わせて本発明を構成することができる。   Note that the present invention can be understood as a parameter setting method for a substrate inspection apparatus including at least a part of the above processing, or a program for realizing the method. The present invention can also be understood as a parameter setting device of a substrate inspection apparatus having at least a part of the means for executing the above processing, or a substrate inspection apparatus equipped with such a device. Each of the above means and processes can be combined with each other as much as possible to constitute the present invention.

本発明によれば、二次反射の影響を除去できるため、基板検査装置に用いられるパラメータを精度良く生成することができ、ティーチング作業の軽減、さらにはティーチングの自動化を図ることが可能となる。   According to the present invention, since the influence of secondary reflection can be removed, parameters used in the substrate inspection apparatus can be generated with high accuracy, teaching work can be reduced, and teaching can be automated.

以下に図面を参照して、この発明の好適な実施の形態を例示的に詳しく説明する。   Exemplary embodiments of the present invention will be described in detail below with reference to the drawings.

<第1実施形態>
(基板検査システムの構成)
図1は、本発明の実施形態に係る基板検査システムのハードウェア構成を示している。
<First Embodiment>
(Configuration of board inspection system)
FIG. 1 shows a hardware configuration of a board inspection system according to an embodiment of the present invention.

基板検査システムは、基板検査処理を実行する基板検査装置1と、この基板検査装置1の基板検査処理において用いられるパラメータを自動生成するパラメータ設定装置2とから構成される。基板検査装置1とパラメータ設定装置2は、有線もしくは無線のネットワーク、または、MOやDVDなどの記録媒体を介して、画像やパラメータなどの電子データの受け渡しを行うことができる。なお、本実施形態では基板検査装置1とパラメータ設定装置2が別体構成となっているが、基板検査装置本体にパラメータ設定装置の機能を組
み込んで一体構成とすることも可能である。
The substrate inspection system includes a substrate inspection device 1 that executes substrate inspection processing and a parameter setting device 2 that automatically generates parameters used in the substrate inspection processing of the substrate inspection device 1. The board inspection apparatus 1 and the parameter setting apparatus 2 can exchange electronic data such as images and parameters via a wired or wireless network, or a recording medium such as an MO or a DVD. In the present embodiment, the board inspection apparatus 1 and the parameter setting apparatus 2 are configured separately, but it is also possible to integrate the function of the parameter setting apparatus into the board inspection apparatus main body.

(基板検査装置の構成)
基板検査装置1は、カラーハイライト方式により基板20上の実装部品21の実装品質(半田付け状態など)を自動検査する装置である。基板検査装置1は、概略、Xステージ22、Yステージ23、投光部24、撮像部25、制御処理部26を備えている。
(Configuration of board inspection equipment)
The board inspection apparatus 1 is an apparatus for automatically inspecting the mounting quality (soldering state, etc.) of the mounting component 21 on the board 20 by a color highlight method. The substrate inspection apparatus 1 generally includes an X stage 22, a Y stage 23, a light projecting unit 24, an imaging unit 25, and a control processing unit 26.

Xステージ22およびYステージ23は、それぞれ制御処理部26からの制御信号に基づいて動作するモータ(図示せず)を備える。これらモータの駆動によりXステージ22が投光部24および撮像部25をX軸方向へ移動させ、またYステージ23が基板20を支持するコンベヤ27をY軸方向へ移動させる。   Each of the X stage 22 and the Y stage 23 includes a motor (not shown) that operates based on a control signal from the control processing unit 26. By driving these motors, the X stage 22 moves the light projecting unit 24 and the imaging unit 25 in the X axis direction, and the Y stage 23 moves the conveyor 27 that supports the substrate 20 in the Y axis direction.

投光部24は、異なる径を有しかつ制御処理部26からの制御信号に基づき赤色光,緑色光,青色光を同時に照射する3個の円環状光源28,29,30により構成されている。各光源28,29,30は、観測位置の真上位置に中心を合わせかつ観測位置から見て異なる仰角に対応する方向に配置されている。かかる配置により、投光部24は基板20上の実装部品21に異なる入射角で複数の色の光(本実施形態では、R,G,Bの3色)を照射する。   The light projecting unit 24 includes three annular light sources 28, 29, and 30 that have different diameters and that simultaneously emit red light, green light, and blue light based on a control signal from the control processing unit 26. . The light sources 28, 29, and 30 are arranged in directions corresponding to different elevation angles when centered on the position directly above the observation position and viewed from the observation position. With this arrangement, the light projecting unit 24 irradiates the mounting component 21 on the substrate 20 with light of a plurality of colors (in this embodiment, three colors of R, G, and B) at different incident angles.

撮像部25はカラーカメラであって、観測位置の真上位置に下方に向けて位置決めしてある。これにより基板表面の反射光が撮像部25により撮像され、三原色のカラー信号R,G,Bに変換されて制御処理部26へ供給される。   The imaging unit 25 is a color camera, and is positioned downward at a position directly above the observation position. As a result, the reflected light on the substrate surface is imaged by the imaging unit 25, converted into color signals R, G, and B of the three primary colors and supplied to the control processing unit 26.

制御処理部26は、A/D変換部33、画像処理部34、検査ロジック記憶部35、判定部36、撮像コントローラ31、XYステージコントローラ37、メモリ38、制御部(CPU)39、記憶部32、入力部40、表示部41、プリンタ42、通信I/F43などで構成される。   The control processing unit 26 includes an A / D conversion unit 33, an image processing unit 34, an inspection logic storage unit 35, a determination unit 36, an imaging controller 31, an XY stage controller 37, a memory 38, a control unit (CPU) 39, and a storage unit 32. , An input unit 40, a display unit 41, a printer 42, a communication I / F 43, and the like.

A/D変換部33は、撮像部25からのカラー信号R,G,Bを入力してディジタル信号に変換する回路である。各色相毎のディジタル量の濃淡画像データは、メモリ38内の画像データ格納エリアへと転送される。   The A / D conversion unit 33 is a circuit that receives the color signals R, G, and B from the imaging unit 25 and converts them into digital signals. The digital grayscale image data for each hue is transferred to the image data storage area in the memory 38.

撮像コントローラ31は、制御部39と投光部24および撮像部25とを接続するインターフェイスなどを備える回路であり、制御部39の出力に基づき投光部24の各光源28,29,30の光量を調整したり、撮像部25の各色相光出力の相互バランスを保つなどの制御を行う。   The imaging controller 31 is a circuit including an interface for connecting the control unit 39 to the light projecting unit 24 and the image capturing unit 25, and the light amount of each light source 28, 29, 30 of the light projecting unit 24 based on the output of the control unit 39. And control such as maintaining the mutual balance of the hue light outputs of the imaging unit 25 is performed.

XYステージコントローラ37は制御部39とXステージ22およびYステージ23とを接続するインターフェイスなどを備える回路であり、制御部39の出力に基づきXステージ22およびYステージ23の駆動を制御する。   The XY stage controller 37 is a circuit including an interface for connecting the control unit 39 to the X stage 22 and the Y stage 23, and controls driving of the X stage 22 and the Y stage 23 based on the output of the control unit 39.

検査ロジック記憶部35は、基板検査処理に用いられる検査ロジックを記憶する記憶部である。基板検査装置1では、半田形状を検査するフィレット検査や部品の欠落を検査する欠落検査など、複数種類の検査処理を行うことができる。検査ロジックは、検査の種類ごとに用意されるものであって、画像から所定の色彩パターン(画素領域)を抽出するための色パラメータ(色条件)、その色彩パターンから抽出する特徴量の種類、その特徴量に関する良否の判定条件などから構成される。   The inspection logic storage unit 35 is a storage unit that stores inspection logic used for substrate inspection processing. The board inspection apparatus 1 can perform a plurality of types of inspection processes such as a fillet inspection for inspecting a solder shape and a lack inspection for inspecting a missing part. The inspection logic is prepared for each type of inspection, and includes color parameters (color conditions) for extracting a predetermined color pattern (pixel area) from the image, types of feature values extracted from the color pattern, Consists of pass / fail judgment conditions related to the feature amount.

画像処理部34は、基板20上の部品21を撮像して得られた画像から色パラメータを満たす領域を抽出する処理、および、抽出された領域から所定の特徴量を算出する処理を
実行する回路である。判定部36は、画像処理部34で算出された特徴量を受け取り、その特徴量が所定の判定条件を満たすか否かで部品の実装状態の良否を判定する処理を実行する回路である。
The image processing unit 34 performs a process of extracting a region satisfying the color parameter from an image obtained by imaging the component 21 on the substrate 20 and a process of calculating a predetermined feature amount from the extracted region. It is. The determination unit 36 is a circuit that receives the feature amount calculated by the image processing unit 34 and executes processing for determining whether the component mounting state is good or not based on whether or not the feature amount satisfies a predetermined determination condition.

入力部40は、操作情報や基板20に関するデータなどを入力するのに必要なキーボードやマウスなどから構成されている。入力されたデータは制御部39へ供給される。通信I/F43は、パラメータ設定装置2や他の外部装置などとの間でデータの送受信を行うためのものである。   The input unit 40 includes a keyboard, a mouse, and the like necessary for inputting operation information and data related to the substrate 20. The input data is supplied to the control unit 39. The communication I / F 43 is for transmitting and receiving data to and from the parameter setting device 2 and other external devices.

制御部(CPU)39は、各種演算処理や制御処理を実行する回路である。記憶部32は、ハードディスクやメモリから構成される記憶装置であって、制御部39にて実行されるプログラムの他、基板のCAD情報、基板検査処理の判定結果などが格納される。   The control unit (CPU) 39 is a circuit that executes various arithmetic processes and control processes. The storage unit 32 is a storage device composed of a hard disk and a memory, and stores the CAD information of the substrate, the determination result of the substrate inspection process, and the like in addition to the program executed by the control unit 39.

図2に基板検査装置1の機能構成を示す。基板検査装置1は、指示情報受付機能10、基板搬入機能11、CAD情報読込機能12、ステージ操作機能13、撮像機能14、検査ロジック読込機能15、検査機能16、判定結果書込機能17、基板搬出機能18を有する。これらの機能は、制御部39が記憶部32に格納されたプログラムに従って上記ハードウェアを制御することによって実現されるものである。また、記憶部32の内部には、CAD情報を記憶するCAD情報記憶部32aと判定結果を記憶する判定結果記憶部32bが設けられている。   FIG. 2 shows a functional configuration of the substrate inspection apparatus 1. The board inspection apparatus 1 includes an instruction information reception function 10, a board carry-in function 11, a CAD information reading function 12, a stage operation function 13, an imaging function 14, an inspection logic reading function 15, an inspection function 16, a determination result writing function 17, and a board. An unloading function 18 is provided. These functions are realized by the control unit 39 controlling the hardware according to a program stored in the storage unit 32. In addition, a CAD information storage unit 32 a that stores CAD information and a determination result storage unit 32 b that stores determination results are provided inside the storage unit 32.

(基板検査処理)
次に、上記基板検査装置1における基板検査処理について述べる。ここでは、基板検査処理の一例として、フィレット検査を説明する。フィレット検査とは、半田フィレットの形状が良好か否かを判定する処理である。
(Board inspection processing)
Next, substrate inspection processing in the substrate inspection apparatus 1 will be described. Here, fillet inspection will be described as an example of substrate inspection processing. Fillet inspection is processing for determining whether or not the shape of a solder fillet is good.

図3の上段に示すように、良品の半田フィレットでは、部品21から基板20上のランドにかけて山の裾野のような広い傾斜面が形成される。これに対し、欠落不良の場合には半田フィレットがランド上に盛り上がった形状となる。   As shown in the upper part of FIG. 3, in the good solder fillet, a wide inclined surface like a mountain skirt is formed from the component 21 to the land on the substrate 20. On the other hand, in the case of missing defects, the solder fillet is raised on the land.

これらの半田フィレットを基板検査装置1で撮像すると、それぞれ図3の中段に示すような画像が得られる。赤色,緑色,青色の照射光はそれぞれ異なる角度で半田フィレットに入射するため、半田フィレットの傾斜に応じて撮像部25に入射する反射光の色相が変化する。つまり、傾斜の急な部分では入射角度の最も大きい青色光の反射光が支配的となるのに対し、傾斜がほとんどない部分では赤色光の反射光が支配的となる。したがって、良品の半田フィレットでは青色の色相の領域が大きくなり、不良品の半田フィレットでは青色以外の色相の領域が大きくなるのである。   When these solder fillets are imaged by the substrate inspection apparatus 1, images as shown in the middle of FIG. 3 are obtained. Since the red, green, and blue irradiation lights are incident on the solder fillet at different angles, the hue of the reflected light that is incident on the imaging unit 25 changes according to the inclination of the solder fillet. That is, the reflected light of the blue light having the largest incident angle is dominant in the steep portion, whereas the reflected light of the red light is dominant in the portion having almost no inclination. Therefore, the region of the blue hue is large in the non-defective solder fillet, and the region of the hue other than blue is large in the defective solder fillet.

本実施形態のフィレット検査では、このような色彩パターンの傾向を利用し、青色領域の大きさ(面積)に基づいて半田フィレットの良否判定を行う。以下、図4のフローチャートに沿って、フィレット検査の処理の流れを具体的に説明する。   In the fillet inspection according to the present embodiment, the quality of the solder fillet is determined based on the size (area) of the blue region using such a tendency of the color pattern. Hereinafter, the flow of fillet inspection processing will be described in detail with reference to the flowchart of FIG.

指示情報受付機能10は、基板検査の実行を指示する指示情報が入力されるまで待ち状態にある(ステップS100;NO、ステップS101)。入力部40の操作により、もしくは、通信I/F43を介して外部機器から指示情報が入力されると、指示情報受付機能10が指示情報を、基板搬入機能11、CAD情報読込機能12および検査ロジック読込機能15に送る(ステップS100;YES)。この指示情報には検査対象となる基板の情報(型番など)が含まれている。   The instruction information receiving function 10 is in a waiting state until instruction information for instructing execution of substrate inspection is input (step S100; NO, step S101). When instruction information is input from an external device by operating the input unit 40 or via the communication I / F 43, the instruction information receiving function 10 receives the instruction information, the board carry-in function 11, the CAD information reading function 12, and the inspection logic. The data is sent to the reading function 15 (step S100; YES). The instruction information includes information (model number, etc.) of the board to be inspected.

検査ロジック読込機能15は、基板の型番に対応する検査ロジックを検査ロジック記憶部35から読み込む(ステップS102)。ここではフィレット検査用の検査ロジックが読み込まれる。検査ロジックには色パラメータ(色条件)およびしきい値(判定条件)が含まれる。   The inspection logic reading function 15 reads the inspection logic corresponding to the model number of the board from the inspection logic storage unit 35 (step S102). Here, the inspection logic for the fillet inspection is read. The inspection logic includes a color parameter (color condition) and a threshold value (determination condition).

また、基板搬入機能11は、指示情報に基づいてプリント基板搬入部から検査対象となる基板20をコンベヤ27上に搬入し(ステップS103)、CAD情報読込機能12は、基板の型番に対応するCAD情報をCAD情報記憶部32aから読み込む(ステップS104)。   The board carry-in function 11 carries the board 20 to be inspected from the printed board carry-in section onto the conveyor 27 based on the instruction information (step S103), and the CAD information reading function 12 loads the CAD corresponding to the board model number. Information is read from the CAD information storage unit 32a (step S104).

次に、ステージ操作機能13は、読み込まれたCAD情報から基板20の寸法、形状、部品の配置などの情報を得て、基板20上に実装された複数の部品21が順に観測位置(撮像位置)に位置合わせされるように、XYステージコントローラ37を介してXステージ22およびYステージ23を操作する(ステップS105)。   Next, the stage operation function 13 obtains information such as the dimensions, shape, and component arrangement of the substrate 20 from the read CAD information, and the plurality of components 21 mounted on the substrate 20 are sequentially observed positions (imaging positions). The X stage 22 and the Y stage 23 are operated via the XY stage controller 37 (step S105).

一方、撮像機能14は、撮像コントローラ31を介して投光部24の3個の光源28,29,30を発光させ、赤色、緑色、青色の光を同時に基板20上に照射する。また、撮像機能14は、撮像コントローラ31を介して撮像部25を制御し、ステージ22,23の操作に同期して基板20上の部品21を撮像する(ステップS106)。撮像された画像はメモリ38に取り込まれる。   On the other hand, the imaging function 14 causes the three light sources 28, 29, and 30 of the light projecting unit 24 to emit light via the imaging controller 31, and simultaneously irradiates red, green, and blue light onto the substrate 20. In addition, the imaging function 14 controls the imaging unit 25 via the imaging controller 31, and images the component 21 on the substrate 20 in synchronization with the operation of the stages 22 and 23 (step S106). The captured image is taken into the memory 38.

次に、検査機能16が、画像処理部34によって撮像画像から半田領域を抽出する(ステップS107)。半田領域の抽出はたとえばテンプレートマッチングにより自動で行うことができる。   Next, the inspection function 16 extracts a solder region from the captured image by the image processing unit 34 (step S107). The extraction of the solder region can be automatically performed by template matching, for example.

続いて、検査機能16は、抽出された半田領域を色パラメータを用いて二値化する(ステップS108)。ここで用いられる色パラメータは、青色の彩度の下限と上限、および、明度の下限と上限の4つの値で構成されている。二値化処理では、色パラメータで定義された色範囲内に含まれる画素が白画素に、それ以外の画素が黒画素に変換される。   Subsequently, the inspection function 16 binarizes the extracted solder region using the color parameter (step S108). The color parameters used here are composed of four values: a lower limit and an upper limit of blue saturation, and a lower limit and an upper limit of lightness. In the binarization process, pixels included in the color range defined by the color parameter are converted to white pixels, and other pixels are converted to black pixels.

図3の下段は、二値化後の半田領域を示している。色パラメータで二値化することにより、半田領域中の青系色の領域のみが白画素として抽出され、良品画像と不良品画像の間の差異(特徴)が明確化していることがわかる。   The lower part of FIG. 3 shows the solder area after binarization. By binarizing with the color parameter, it can be seen that only the blue color region in the solder region is extracted as a white pixel, and the difference (feature) between the non-defective image and the defective product image is clarified.

続いて、検査機能16は、画像処理部34にて、白画素領域の特徴量を抽出する。ここでは特徴量として白画素領域の面積(画素数)が計算される。そして、検査機能16は、白画素領域の面積値を判定部36に引き渡し、判定部36にて白画素領域の面積値としきい値とを比較する(ステップS109)。面積値がしきい値を超えた場合には(ステップS109;YES)、当該部品21の実装品質が良好と判定され(ステップS110)、面積値がしきい値以下の場合には(ステップS109;NO)、当該部品21の実装品質が不良と判定される(ステップS111)。   Subsequently, the inspection function 16 uses the image processing unit 34 to extract the feature amount of the white pixel region. Here, the area (number of pixels) of the white pixel region is calculated as the feature amount. Then, the inspection function 16 passes the area value of the white pixel region to the determination unit 36, and the determination unit 36 compares the area value of the white pixel region with a threshold value (step S109). When the area value exceeds the threshold value (step S109; YES), it is determined that the mounting quality of the component 21 is good (step S110), and when the area value is equal to or less than the threshold value (step S109; NO), it is determined that the mounting quality of the component 21 is defective (step S111).

判定結果書込機能17は、上記判定結果をロケーションID(部品を特定するための情報)とともに判定結果記憶部32bに書き込む(ステップS112)。   The determination result writing function 17 writes the determination result together with the location ID (information for specifying a part) in the determination result storage unit 32b (step S112).

基板20上のすべての部品について検査を行ったら、基板搬出機能18がプリント基板搬送部によって基板20を搬出し、基板検査処理を終了する(ステップS113)。   When all the components on the board 20 have been inspected, the board carry-out function 18 carries out the board 20 by the printed board carrying section, and the board inspection process is finished (step S113).

以上述べた基板検査処理によれば、2次元画像に現れる色彩パターンによって半田フィレットの3次元形状を的確に把握でき、それに基づき半田実装品質の良否を正確に判定可
能となる。
According to the board inspection process described above, it is possible to accurately grasp the three-dimensional shape of the solder fillet from the color pattern appearing in the two-dimensional image, and to accurately determine whether the solder mounting quality is good or not.

ところで、不良品の見逃しがなく、かつ、過検出が許容値以下になるような高い判定精度を実現するためには、予め検査ロジックの色パラメータ(色条件)およびしきい値(判定条件)を検査対象に合わせて最適な値に設定しておく必要がある。本実施形態では、これらのパラメータの生成(ティーチング)は、パラメータ設定装置2によって自動的に行われる。以下、詳しく説明する。   By the way, in order to achieve high determination accuracy so that defective products are not overlooked and overdetection is less than an allowable value, the color parameters (color conditions) and threshold values (determination conditions) of the inspection logic are set in advance. It is necessary to set the optimum value according to the inspection object. In the present embodiment, the generation (teaching) of these parameters is automatically performed by the parameter setting device 2. This will be described in detail below.

(パラメータ設定装置の構成)
パラメータ設定装置2は、図1に示すように、CPU、メモリ、ハードディスク、I/O制御部、通信I/F、表示部、情報入力部(キーボードやマウス)などを基本ハードウェアとして備える汎用のコンピュータ(情報処理装置)によって構成される。
(Configuration of parameter setting device)
As shown in FIG. 1, the parameter setting device 2 is a general-purpose device including a CPU, a memory, a hard disk, an I / O control unit, a communication I / F, a display unit, an information input unit (keyboard and mouse), etc. as basic hardware. It is composed of a computer (information processing device).

図5および図6に、パラメータ設定装置2の機能構成を示す。図5は、二次反射光成分を含む画素がとり得る色範囲(二次反射色範囲)を推定するための機能部分を示し、図6は、パラメータを生成するための機能部分を示している。   5 and 6 show the functional configuration of the parameter setting device 2. FIG. 5 shows a functional part for estimating a color range (secondary reflected color range) that a pixel including a secondary reflected light component can take, and FIG. 6 shows a functional part for generating a parameter. .

パラメータ設定装置2は、図5に示すように、基板画像読込機能50、CAD情報読込機能51、スルーホール画像取得機能52、スルーホール周辺画素マッピング機能53、外れ値削除機能54、色分布範囲設定機能55、色分布範囲補正機能56、二次反射色情報書込機能57を備える。これらのうちスルーホール周辺画素マッピング機能53、外れ値削除機能54、色分布範囲設定機能55および色分布範囲補正機能56により二次反射色範囲推定機能が構成されている。また、パラメータ設定装置2は、図6に示すように、指示情報受付機能60、教師画像情報読込機能61、画像取得機能62、振分機能63、二次反射色情報読込機能64、二次反射領域特定機能65、二次反射領域除去機能66、マッピング機能67、色範囲探索機能68、二値化機能69、特徴量ヒストグラム生成機能70、しきい値決定機能71、検査ロジック生成機能72、検査ロジック書込機能73を備える。これらのうちマッピング機能67、色範囲探索機能68、二値化機能69、特徴量ヒストグラム生成機能70、しきい値決定機能71および検査ロジック生成機能72によりパラメータ生成機能が構成されている。これらの機能は、メモリもしくはハードディスクに格納されたプログラムがCPUに読み込まれ実行されることによって実現されるものである。   As shown in FIG. 5, the parameter setting device 2 includes a substrate image reading function 50, a CAD information reading function 51, a through-hole image acquisition function 52, a through-hole peripheral pixel mapping function 53, an outlier deletion function 54, and a color distribution range setting. A function 55, a color distribution range correction function 56, and a secondary reflection color information writing function 57 are provided. Among these, the through-hole peripheral pixel mapping function 53, the outlier removal function 54, the color distribution range setting function 55, and the color distribution range correction function 56 constitute a secondary reflection color range estimation function. Further, as shown in FIG. 6, the parameter setting device 2 includes an instruction information reception function 60, a teacher image information reading function 61, an image acquisition function 62, a sorting function 63, a secondary reflection color information reading function 64, and a secondary reflection. Area identification function 65, secondary reflection area removal function 66, mapping function 67, color range search function 68, binarization function 69, feature amount histogram generation function 70, threshold value determination function 71, inspection logic generation function 72, inspection A logic writing function 73 is provided. Among these, the mapping function 67, the color range search function 68, the binarization function 69, the feature amount histogram generation function 70, the threshold value determination function 71, and the inspection logic generation function 72 constitute a parameter generation function. These functions are realized by a program stored in a memory or a hard disk being read and executed by a CPU.

また、パラメータ設定装置2のハードディスク内には、二次反射色範囲推定機能によって推定された二次反射色範囲を記憶する二次反射色情報記憶部58と、ティーチングに用いる教師画像情報を記憶する教師画像情報DB74とが設けられている。教師画像情報は、基板検査装置1によって撮像された実装部品の画像と、その画像が良品か不良品かを示す教師情報(ティーチングデータ)とからなる。ティーチングの信頼性を高めるためには、数十〜数千の教師画像情報を準備することが好ましい。   Further, in the hard disk of the parameter setting device 2, a secondary reflection color information storage unit 58 that stores the secondary reflection color range estimated by the secondary reflection color range estimation function and teacher image information used for teaching are stored. A teacher image information DB 74 is provided. The teacher image information includes an image of a mounted component imaged by the board inspection apparatus 1 and teacher information (teaching data) indicating whether the image is a non-defective product or a defective product. In order to increase the reliability of teaching, it is preferable to prepare tens to thousands of teacher image information.

(二次反射色範囲推定処理)
本実施形態の基板検査装置1では、基板に対する入射角が大きい順に、青色、緑色、赤色の3つの光源30,29,28を用いているため、各色の光について二次反射が起こり得る。しかしながら、青色光と緑色光の二次反射を考慮する必要はなく、入射角の最も小さい赤色光の二次反射の影響を考慮すれば足りる。その理由を図7に示す。
(Secondary reflection color range estimation process)
In the substrate inspection apparatus 1 of the present embodiment, since the three light sources 30, 29, and 28 of blue, green, and red are used in descending order of the incident angle with respect to the substrate, secondary reflection may occur for light of each color. However, it is not necessary to consider secondary reflection of blue light and green light, and it is sufficient to consider the influence of secondary reflection of red light having the smallest incident angle. The reason is shown in FIG.

二次反射を引き起こす一次反射光(基板上の実装部品に到達し得る一次反射光)は、基板にほぼ平行な光路をもつものに限られるため、どの光源光よりも部品に対する入射角が大きくなる。よって、平坦もしくは傾斜角の小さい半田表面で反射された二次反射光が撮像部に入射する可能性は極めて低い。すなわち、二次反射の影響は、部品の撮像画像中で
も、入射角の最も大きい青色光の色が支配的となる領域にしか現れないのである。
Primary reflected light that causes secondary reflection (primary reflected light that can reach the mounting components on the board) is limited to those having an optical path substantially parallel to the board, so the incident angle to the component is larger than any light source light. . Therefore, the possibility that the secondary reflected light reflected by the solder surface having a flat or small inclination angle enters the imaging unit is extremely low. That is, the influence of secondary reflection appears only in the region where the color of blue light having the largest incident angle is dominant in the captured image of the component.

このような領域の画素の色成分は、元々、青色>緑色>>赤色という構成になっていることから、そこに青色や緑色の二次反射光成分が加わったとしてもその影響はあまり目立たない。その一方で、元々青系色であった画素に、赤色の二次反射光成分が加わると、その影響が顕著に現れることになる。以上のことから、入射角の最も小さい赤色光の二次反射の影響を除去すれば十分な効果が得られる、といえる。   Since the color components of the pixels in such a region are originally configured as blue> green> red, even if a blue or green secondary reflected light component is added thereto, the effect is not so noticeable. . On the other hand, when a red secondary reflected light component is added to a pixel that was originally a blue-based color, the influence appears remarkably. From the above, it can be said that a sufficient effect can be obtained by removing the influence of secondary reflection of red light having the smallest incident angle.

では、図8のフローチャートに沿って、スルーホール画像におけるスルーホール周辺画素の色分布から、良品画像の画素のうち入射角の最も小さい光(赤色光)の二次反射光成分を含む画素がとり得る色範囲(二次反射色範囲)を推定する処理について説明する。   Then, according to the flowchart of FIG. 8, the pixel including the secondary reflected light component of the light (red light) having the smallest incident angle among the pixels of the non-defective image is determined based on the color distribution of the pixels around the through hole in the through hole image. A process for estimating the obtained color range (secondary reflection color range) will be described.

まず、基板画像読込機能50が、基板検査装置1の撮像部25または画像情報DBから、プリント基板の撮像画像(基板画像)を読み込む(ステップS200)。ここで撮像するプリント基板としては、半田状態の良好な良品のサンプル基板を用いてもよいし、部品実装前のベアボードを用いてもよい。   First, the board image reading function 50 reads a captured image (board image) of a printed board from the imaging unit 25 or the image information DB of the board inspection apparatus 1 (step S200). As a printed board to be imaged here, a good sample board in a good solder state may be used, or a bare board before component mounting may be used.

次に、CAD情報読込機能51が、基板検査装置1のCAD情報記憶部32aから、読み込んだ基板画像に対応するプリント基板のCAD情報を読み込む(ステップS201)。このCAD情報には、プリント基板上のスルーホールの位置、寸法などの情報が含まれている。   Next, the CAD information reading function 51 reads the CAD information of the printed board corresponding to the read board image from the CAD information storage unit 32a of the board inspection apparatus 1 (step S201). This CAD information includes information such as the position and size of the through hole on the printed circuit board.

スルーホール画像取得機能52は、基板画像から複数のスルーホール画像を取得する(ステップS202)。具体的には、図9に示すように、CAD情報を参照して基板画像中のスルーホール80の存在範囲82を大まかに特定した後、その存在範囲82の中から画像認識処理によってスルーホール80の詳細位置83を特定する。スルーホール80では光が反射されないため、カラーハイライト方式の基板検査装置1で撮像された画像ではスルーホール80が黒く写る。よって、黒い色(明度および彩度が低い色)を対象とした一般的な円形探索アルゴリズムを適用することによって、スルーホール80の詳細位置83を容易に特定することができる。詳細位置83が特定されたら、スルーホール画像取得機能52は、スルーホール80の周辺を含む部分画像をスルーホール画像として抽出する。   The through-hole image acquisition function 52 acquires a plurality of through-hole images from the board image (step S202). Specifically, as shown in FIG. 9, the presence range 82 of the through hole 80 in the board image is roughly specified with reference to the CAD information, and then the through hole 80 is detected from the existence range 82 by image recognition processing. The detailed position 83 is specified. Since light is not reflected in the through hole 80, the through hole 80 appears black in the image captured by the color highlight type substrate inspection apparatus 1. Therefore, the detailed position 83 of the through hole 80 can be easily specified by applying a general circular search algorithm for black color (color with low brightness and saturation). When the detailed position 83 is specified, the through-hole image acquisition function 52 extracts a partial image including the periphery of the through-hole 80 as a through-hole image.

スルーホール80の周囲には、表面の配線パターンと裏面の配線パターンとを電気的に接続するための金属環81が取り付けられている。この金属環81の表面は平ら(基板表面と略平行)であるため、青色および緑色の反射光は撮像部25にほとんど入射せず、もっぱら赤色の反射光が撮像部25に入射する。よって、図9に示すように、スルーホール80の周辺(金属環81の部分)には赤系色が現れる。   Around the through-hole 80, a metal ring 81 for electrically connecting the wiring pattern on the front surface and the wiring pattern on the back surface is attached. Since the surface of the metal ring 81 is flat (substantially parallel to the substrate surface), blue and green reflected light hardly enters the imaging unit 25, and only red reflected light enters the imaging unit 25. Therefore, as shown in FIG. 9, a reddish color appears around the through hole 80 (the portion of the metal ring 81).

次に、スルーホール周辺画素マッピング機能53が、スルーホール画像から、スルーホール80の周辺画素を複数点サンプリングし、それらの周辺画素の色を色ヒストグラムにマッピングする(ステップS203)。このとき、複数のスルーホール画像から十数点〜数百点の周辺画素をサンプリングするとよい。   Next, the through-hole peripheral pixel mapping function 53 samples a plurality of peripheral pixels of the through-hole 80 from the through-hole image, and maps the color of these peripheral pixels to the color histogram (step S203). At this time, it is preferable to sample ten to several hundred peripheral pixels from a plurality of through-hole images.

色ヒストグラムとは、色空間内の各点に画素の度数(個数)を記録したものである。色ヒストグラムにより、画素の色分布を把握することができる。なお、ここで言うところの画素とは、画像の最小解像度のことである。複数の画素でまとめてマッピング処理を実行すると混色が発生するため、画素ごとの処理が好ましい。   The color histogram is obtained by recording the frequency (number) of pixels at each point in the color space. The color distribution of the pixels can be grasped by the color histogram. Note that the pixel referred to here is the minimum resolution of an image. When the mapping process is executed collectively for a plurality of pixels, color mixing occurs, and therefore the process for each pixel is preferable.

一般に、色空間は、少なくとも色相、彩度、明度の多次元空間からなる。よって、画素の色分布を正確に把握するには、多次元色空間に画素の色をマッピングした多次元色ヒス
トグラムを用いることが好ましい。ただし、カラーハイライト方式では、光源に赤・青を使用していることから、得られる色彩パターンは赤や青などの色が明確に現れる。したがって、スルーホール周辺画素の色分布を把握する目的や、良好な半田領域に現れる色と不良な半田領域に現れる色を分離するための色パラメータを決定する目的などであれば、1色(たとえば青色)または2色(たとえば青色と赤色)を考慮すれば十分といえる。
In general, the color space is composed of a multidimensional space of at least hue, saturation, and brightness. Therefore, in order to accurately grasp the color distribution of the pixel, it is preferable to use a multidimensional color histogram in which the color of the pixel is mapped in the multidimensional color space. However, since the color highlight method uses red and blue as the light source, colors such as red and blue appear clearly in the obtained color pattern. Therefore, one color (for example, for the purpose of grasping the color distribution of the through-hole peripheral pixels or for determining a color parameter for separating a color appearing in a good solder area from a color appearing in a bad solder area) Blue) or two colors (for example, blue and red) are sufficient.

ここでは、良品画像における通常の画素と二次反射光成分を含む画素との切り分けを容易かつ明確に行うために、入射角の最も大きい光の色相である青色を選択する。そして、青色の彩度軸と明度軸からなる2次元色空間に画素の色をマッピングした2次元色ヒストグラムを用いる。これにより、二次反射色範囲を求めるアルゴリズムが極めて簡単化される。   Here, in order to easily and clearly distinguish between a normal pixel and a pixel including a secondary reflected light component in a non-defective image, blue that is the hue of light having the largest incident angle is selected. Then, a two-dimensional color histogram is used in which pixel colors are mapped in a two-dimensional color space composed of a blue saturation axis and a lightness axis. This greatly simplifies the algorithm for determining the secondary reflection color range.

図10に、色ヒストグラムの一例を示す。ここでは、青色の彩度軸と明度軸からなる2次元色ヒストグラムが用いられる。スルーホール周辺画素は赤系色であるため、青色成分をあまり含まない。よって、青色の彩度がゼロ前後、明度が低〜中明度のあたりに、ある程度固まって分布する。その色分布から明らかに外れた点(外れ値)はノイズである。   FIG. 10 shows an example of a color histogram. Here, a two-dimensional color histogram including a blue saturation axis and a brightness axis is used. Since the through-hole peripheral pixel is a red color, it does not contain much blue component. Therefore, the blue color saturation is around zero and the lightness is distributed to a certain extent around low to medium lightness. A point (outlier) that clearly deviates from the color distribution is noise.

上記外れ値は、スルーホール周辺画素の色分布を規定するにあたり邪魔な存在なので、外れ値削除機能54によって前もって削除する(ステップS204)。具体的には、外れ値削除機能54は、階層的クラスタリングによって色分布の主たる塊を把握するか、色重心から数σの範囲を色分布の主たる塊と定義し、その塊から外れる点を外れ値とみなして色ヒストグラムから削除する。そして、色分布範囲設定機能55が、外れ値削除後に残った全ての点を囲む矩形範囲を計算する(ステップS205)。この矩形範囲が、スルーホール周辺画素の色分布範囲84を表す。   The outlier is an obstacle in defining the color distribution of the pixels around the through hole, and is deleted in advance by the outlier deletion function 54 (step S204). Specifically, the outlier removal function 54 grasps the main mass of the color distribution by hierarchical clustering or defines a range of several σ from the color centroid as the main mass of the color distribution, and deviates from the point that deviates from the mass. Consider it as a value and delete it from the color histogram. Then, the color distribution range setting function 55 calculates a rectangular range that surrounds all points remaining after the outlier deletion (step S205). This rectangular range represents the color distribution range 84 of the through-hole peripheral pixels.

本発明者らの実験により、スルーホールの周囲に現れる色と、二次反射光成分を含む画素の色とは、明度が相違することが判っている。二次反射の影響がある画素は一次反射光成分(青色光成分)と二次反射光成分(赤色光成分)とを含むため、スルーホール周辺の画素に比べて明度が高くなり、その上限は明度の最大値付近まで達する傾向にある。   According to the experiments by the present inventors, it has been found that the color appearing around the through hole is different in brightness from the color of the pixel including the secondary reflected light component. Pixels that have the effect of secondary reflection include a primary reflected light component (blue light component) and a secondary reflected light component (red light component), so the brightness is higher than the pixels around the through hole, and the upper limit is It tends to reach near the maximum value of brightness.

そこで、色分布範囲補正機能56が、スルーホール周辺画素の色分布範囲84の明度方向の値域を補正することによって二次反射色範囲85を算出する(ステップS206)。本実施形態では、色分布範囲84の明度の上限を明度最大値LMaxまで拡大したものを二次反射色範囲85とする。   Therefore, the color distribution range correction function 56 calculates the secondary reflection color range 85 by correcting the value range in the brightness direction of the color distribution range 84 of the through-hole peripheral pixels (step S206). In the present embodiment, the secondary reflection color range 85 is obtained by expanding the upper limit of the brightness of the color distribution range 84 to the maximum brightness LMax.

以上の処理により、スルーホール周辺画素の色分布に基づいて二次反射色範囲を近似することができる。二次反射色範囲は、二次反射色情報書込機能57によって二次反射色情報記憶部58に格納され(ステップS207)、以下のパラメータ設定処理に供される。   Through the above processing, the secondary reflection color range can be approximated based on the color distribution of the through-hole peripheral pixels. The secondary reflection color range is stored in the secondary reflection color information storage unit 58 by the secondary reflection color information writing function 57 (step S207), and is used for the following parameter setting processing.

(パラメータ設定処理)
図11のフローチャートに沿って、推定された二次反射色範囲を用いたパラメータ設定処理の流れを説明する。なお、本実施形態では、上述したフィレット検査で用いられる検査パラメータを生成する例を挙げる。
(Parameter setting process)
A flow of parameter setting processing using the estimated secondary reflection color range will be described with reference to the flowchart of FIG. In the present embodiment, an example of generating inspection parameters used in the above-described fillet inspection will be described.

指示情報受付機能60は、検査ロジックの自動生成を指示する指示情報が入力されるまで待ち状態にある(ステップS300;NO、ステップS301)。情報入力部から指示情報が入力されると、指示情報受付機能60は教師画像情報読込機能61に指示情報を伝える(ステップS300;YES)。この指示情報には検査ロジック生成の対象となる教師画像情報を特定する情報、および、検査ロジックの種類などが含まれている。   The instruction information reception function 60 is in a waiting state until instruction information for instructing automatic generation of inspection logic is input (step S300; NO, step S301). When the instruction information is input from the information input unit, the instruction information receiving function 60 transmits the instruction information to the teacher image information reading function 61 (step S300; YES). This instruction information includes information for specifying teacher image information to be subjected to inspection logic generation, the type of inspection logic, and the like.

教師画像情報読込機能61は、指示情報に従って、作成すべき検査ロジックに対応する教師画像情報を教師画像情報DB74から読み込む(ステップS302)。教師画像情報には、良品画像(部品の実装位置が正常な画像)と不良品画像(部品の実装位置が正常でない画像)とが含まれる。これらの画像には教師情報が付与されている。   The teacher image information reading function 61 reads teacher image information corresponding to the examination logic to be created from the teacher image information DB 74 in accordance with the instruction information (step S302). The teacher image information includes a non-defective image (an image in which the component mounting position is normal) and a defective product image (an image in which the component mounting position is not normal). Teacher information is given to these images.

図12に良品画像と不良品画像の例を示す。良品画像では、部品90が設計通りの位置に実装されており、部品90両端のランド領域91に良好な半田フィレットが形成されている。この画像には教師情報「良」が付与されている。一方、不良品画像では、部品が欠落しており、ランド領域92には扁平な半田フィレットが形成されている。この画像には教師情報「不良」が付与されている。   FIG. 12 shows an example of a good product image and a defective product image. In the non-defective image, the component 90 is mounted at the position as designed, and good solder fillets are formed in the land areas 91 at both ends of the component 90. The teacher information “good” is given to this image. On the other hand, in the defective product image, parts are missing, and a flat solder fillet is formed in the land region 92. The teacher information “bad” is given to this image.

教師画像情報が読み込まれたら、画像取得機能62が、教師情報の付与された画像から半田領域を抽出する(ステップS303)。画像取得機能62は、図13に示すように、ランドウィンドウ93と部品本体ウィンドウ94から構成されるテンプレートを有しており、テンプレートを拡大/縮小したり、ランドウィンドウ93と部品本体ウィンドウ94の相対位置をずらしたりしながら、各ウィンドウ93,94を画像中のランド領域91,92および部品90に合わせ込む。なお、図13の不良品画像のように部品が欠落している場合には、両端のランドウィンドウ93の中間に部品本体ウィンドウ94を仮配置する。ウィンドウの合わせ込みには、例えば、テンプレートマッチングなどの手法を利用すればよい。これにより、良品画像と不良品画像それぞれについてランド領域91,92が特定される。そして、ランドウィンドウ93から部品本体ウィンドウ94との重なり部分を除いた領域が半田領域として抽出される(図13の斜線部分参照)。なお、ランド領域自体(ランドウィンドウ93全体)を半田領域として扱ってもよい。   When the teacher image information is read, the image acquisition function 62 extracts a solder area from the image to which the teacher information is added (step S303). As shown in FIG. 13, the image acquisition function 62 has a template composed of a land window 93 and a component main body window 94, and enlarges / reduces the template, or relative to the land window 93 and the component main body window 94. While shifting the position, the windows 93 and 94 are aligned with the land areas 91 and 92 and the component 90 in the image. When a part is missing as in the defective product image of FIG. 13, a part main body window 94 is temporarily placed in the middle of the land windows 93 at both ends. For example, a method such as template matching may be used for matching the windows. As a result, the land areas 91 and 92 are specified for the non-defective product image and the defective product image, respectively. And the area | region except the overlap part with the component main body window 94 from the land window 93 is extracted as a solder area | region (refer the shaded part of FIG. 13). Note that the land area itself (the entire land window 93) may be handled as a solder area.

次に、振分機能63が、教師情報に基づき、抽出された半田領域を良品画像と不良品画像とに振り分ける(ステップS304)。つまり、教師情報「良」が付与された半田領域が良品画像とされ、教師情報「不良」が付与された半田領域が不良品画像とされる。   Next, the distribution function 63 distributes the extracted solder area into a good product image and a defective product image based on the teacher information (step S304). That is, the solder area to which the teacher information “good” is given is regarded as a non-defective image, and the solder area to which the teacher information “defective” is given is regarded as a defective product image.

ここで抽出された良品画像は実装状態の良好な半田フィレットを表しており、不良品画像は実装状態の不良な半田フィレットを表している。よって、フィレット検査用の最適な色パラメータを作成することは、良品画像の画素の色(青系色)をなるべく多く包含し、かつ、不良品画像の画素の色をほとんど排除できるような色範囲の最適解を求めることと等価である。   The non-defective product image extracted here represents a solder fillet in a good mounting state, and the defective product image represents a solder fillet in a poor mounting state. Therefore, creating optimal color parameters for fillet inspection includes as many pixel colors (blue color) as possible in a non-defective image, and a color range that can almost eliminate the color of pixels in a defective image. Is equivalent to finding the optimal solution.

本実施形態では、まず、良品画像から二次反射の影響を含む画素を除去するための前処理を実行する。具体的には、二次反射色情報読込機能64が、二次反射色情報記憶部58から二次反射色範囲を読み込む(ステップS305)。そして、二次反射領域特定機能65が、図14に示すように、良品画像を二値化して、二次反射色範囲内に含まれる画素を白画素に、それ以外の画素を黒画素に変換した後、隣接する白画素をつなぎ合わせて1つの領域と見なす「ラベリング」を実行する(ステップS306)。ラベリングされた領域のうち、予め定められた基準値以下の面積(画素数)のものはノイズとして無視し、基準値を超える面積の領域を二次反射領域として特定する(ステップS307)。   In the present embodiment, first, pre-processing for removing pixels including the influence of secondary reflection from a non-defective image is executed. Specifically, the secondary reflection color information reading function 64 reads the secondary reflection color range from the secondary reflection color information storage unit 58 (step S305). Then, as shown in FIG. 14, the secondary reflection area specifying function 65 binarizes the non-defective image, and converts pixels included in the secondary reflection color range into white pixels and other pixels into black pixels. After that, “labeling” is performed in which adjacent white pixels are connected and regarded as one area (step S306). Among the labeled regions, those having an area (number of pixels) equal to or smaller than a predetermined reference value are ignored as noise, and a region having an area exceeding the reference value is specified as a secondary reflection region (step S307).

このようなラベリング処理を行うのは、二次反射領域がある程度の大きさをもった塊として現れるという知見に基づいている。また、基準値以下の白画素は、二次反射に起因するものではなく、数も少なく且つ白色ノイズ的に散在するにすぎないため、パラメータの精度に影響を与えることはほとんど無いと考えられるからである。なお、上記基準値は固定値でもよいし、ランド面積に応じて動的に値を決定してもよい。また基準値の値の形式は、画素数でもよいし、ランド面積に対する比率でもよい。   The labeling process is performed based on the knowledge that the secondary reflection region appears as a lump having a certain size. Also, white pixels below the reference value are not caused by secondary reflection, but are only few and scattered in white noise, so it is considered that there is almost no influence on the parameter accuracy. It is. The reference value may be a fixed value or may be determined dynamically according to the land area. The format of the reference value may be the number of pixels or a ratio to the land area.

続いて、二次反射領域除去機能66が、特定された二次反射領域を良品画像から除去する(ステップS308)。これにより、良品画像には、二次反射の影響の無い画素だけが残る。   Subsequently, the secondary reflection area removing function 66 removes the identified secondary reflection area from the non-defective image (step S308). As a result, only the pixels that are not affected by the secondary reflection remain in the non-defective image.

次に、マッピング機能67が、二次反射領域除去後の良品画像と不良品画像の全画素の色を色ヒストグラムにマッピングする(ステップS309)。このとき、良品画像の画素は「良点」として、不良品画像の画素は「不良点」として、互いに区別可能な形式でマッピングが行われる。ここでは、良品画像(良好な半田領域)に多く含まれ、かつ、不良品画像(不良な半田領域)にほとんど含まれない傾向にある色相として青色を選択し、赤色の彩度軸と明度軸からなる2次元色空間に画素の色をマッピングした2次元色ヒストグラムを用いる。これにより、色パラメータの最適解を求めるアルゴリズムが極めて簡単化される。   Next, the mapping function 67 maps the colors of all the pixels of the non-defective product image and the defective product image after removing the secondary reflection area to the color histogram (step S309). At this time, the pixels of the non-defective product image are “good points” and the pixels of the defective product image are “defective points”, and mapping is performed in a mutually distinguishable format. Here, blue is selected as a hue that tends to be included in a non-defective product image (good solder region) and hardly included in a defective product image (defective solder region), and the saturation and lightness axes of red are selected. A two-dimensional color histogram in which pixel colors are mapped in a two-dimensional color space consisting of This greatly simplifies the algorithm for finding the optimal color parameter solution.

図15(a)は、2次元色ヒストグラムの一例を示している。横軸が青の彩度を表しており、プラスの値が大きくなるほど青成分が強くなり、マイナスの値が大きくなるほど青の補色である黄成分が強くなる。縦軸は明度を表しており、値が大きくなるほど明るさが強くなる。ヒストグラム中の白丸(○)が良点を表し、黒三角(▲)が不良点を表している。良点と不良点では色分布に違いがあることがわかる。   FIG. 15A shows an example of a two-dimensional color histogram. The horizontal axis represents blue saturation. The larger the positive value, the stronger the blue component, and the larger the negative value, the stronger the yellow component, which is the complementary color of blue. The vertical axis represents the brightness, and the brightness increases as the value increases. A white circle (◯) in the histogram represents a good point, and a black triangle (▲) represents a defective point. It can be seen that there is a difference in color distribution between good points and bad points.

図15(b)は、比較例として、二次反射領域除去前の良品画像と不良品画像の全画素の色をマッピングした色ヒストグラムを示したものである。二次反射領域の画素は、青色の彩度がゼロ前後の付近に分布しており、不良点との区別が付けづらいことがわかる。なお、本実施形態では、マッピングの前に良品画像から二次反射領域を除去したが、マッピング後に良点の中から二次反射領域に該当するものを除去したり、二次反射領域に該当する良点を不良点に変更したりすることでも、同様の結果を得ることができる。   FIG. 15B shows, as a comparative example, a color histogram in which the colors of all the pixels of the non-defective product image and the defective product image before the secondary reflection area removal are mapped. It can be seen that the pixels in the secondary reflection region have blue saturation distributed in the vicinity of around zero, making it difficult to distinguish from defective points. In this embodiment, the secondary reflection area is removed from the non-defective image before mapping. However, after mapping, a part corresponding to the secondary reflection area is removed from the good points, or the secondary reflection area is applicable. The same result can be obtained by changing the good point to the bad point.

次に、色範囲探索機能68が、2次元色ヒストグラムに基づいて、良点の色分布と不良点の色分布とを最適に切り分ける色範囲を探索する(ステップS310)。本実施形態では、アルゴリズムの簡単化のため、図16(a)に示すように、彩度の下限(BInf)と上限(BSup)、および、明度の下限(LInf)と上限(LSup)からなる矩形の色範囲を考える。ここで求めるべき最適解は、良点(○)をなるべく多く包含し、かつ、不良点(▲)をほとんど含まないような色範囲である。   Next, the color range search function 68 searches for a color range that optimally separates the good point color distribution and the bad point color distribution based on the two-dimensional color histogram (step S310). In this embodiment, for simplification of the algorithm, as shown in FIG. 16A, the lower limit (BInf) and upper limit (BSup) of saturation and the lower limit (LInf) and upper limit (LSup) of lightness are included. Consider a rectangular color range. The optimum solution to be obtained here is a color range that includes as many good points (◯) as possible and hardly includes defective points (▲).

具体的には、色範囲探索機能68は、BInf、BSup、LInf、LSupそれぞれの値を変えながら、各色範囲について度数合計値Eを算出し(式1参照)、度数合計値Eが最大となる色範囲を求める。度数合計値Eは、色範囲に含まれる良点の数(度数)と不良点の数(度数)の差を表す指標である。図16(b)は、度数合計値Eが最大となる色範囲を示している。

Figure 2006105777
Specifically, the color range search function 68 calculates the frequency total value E for each color range while changing the values of BInf, BSup, LInf, and LSup (see Equation 1), and the frequency total value E is maximized. Find the color range. The frequency total value E is an index representing the difference between the number of good points (frequency) and the number of defective points (frequency) included in the color range. FIG. 16B shows a color range in which the frequency total value E is maximum.
Figure 2006105777

そして、色範囲探索機能68は、度数合計値Eが最大となる色範囲を検査用の色パラメータ(色条件)として設定する。このように、本実施形態によれば、良品画像と不良品画像とを適切に切り分ける色パラメータを自動的に生成することができる。   Then, the color range search function 68 sets a color range in which the frequency total value E is maximum as a color parameter (color condition) for inspection. As described above, according to this embodiment, it is possible to automatically generate color parameters for appropriately separating a non-defective product image and a defective product image.

次に、上記色パラメータを用いて、検査用のしきい値(判定条件)を自動生成する処理が実行される。   Next, processing for automatically generating an inspection threshold value (determination condition) is executed using the color parameter.

まず、二値化機能69が、上記色パラメータを用いて、良品画像および不良品画像のすべての半田領域を二値化する(ステップS311)。この二値化処理では、色パラメータで定義された色範囲内に含まれる画素が白画素に、それ以外の画素が黒画素に変換される。   First, the binarization function 69 binarizes all solder regions of the non-defective product image and the defective product image using the color parameter (step S311). In this binarization processing, pixels included in the color range defined by the color parameter are converted to white pixels, and other pixels are converted to black pixels.

図17に示すように、良品画像では白画素の領域が非常に大きく、不良品画像では白画素の領域がきわめて小さくなる。よって、このような二値化画像を利用すると、良品・不良品を識別するための特徴量を定量的に計算するのが容易になる。特徴量としては、白画素領域の面積、面積比、重心、長さ、最大幅、形状などが挙げられるが、ここでは面積を特徴量として選ぶ。   As shown in FIG. 17, the white pixel area is very large in the non-defective image, and the white pixel area is extremely small in the defective image. Therefore, when such a binarized image is used, it becomes easy to quantitatively calculate a feature amount for identifying a non-defective product or a defective product. Examples of the feature amount include the area, area ratio, center of gravity, length, maximum width, and shape of the white pixel region. Here, the area is selected as the feature amount.

特徴量ヒストグラム生成機能70は、良品画像の特徴量の分布傾向と不良品画像の特徴量の分布傾向との違いを把握するため、良品画像、不良品画像のそれぞれについて、白画素領域の面積値に関する面積ヒストグラムを作成する(ステップS312)。図18は、良品画像と不良品画像の面積ヒストグラム(以下、単に「良品ヒストグラム」「不良品ヒストグラム」とよぶ。)の一例を示している。良品画像の特徴量分布と不良品画像の特徴量分布に明確な違いが現れていることがわかる。   The feature quantity histogram generation function 70 grasps the difference between the feature quantity distribution tendency of the non-defective product image and the feature quantity distribution trend of the defective product image, and therefore the area value of the white pixel region for each of the good product image and the defective product image. An area histogram is created (step S312). FIG. 18 shows an example of an area histogram of a non-defective product image and a defective product image (hereinafter simply referred to as “good product histogram” or “defective product histogram”). It can be seen that a clear difference appears between the feature quantity distribution of the non-defective image and the feature quantity distribution of the defective product image.

次に、しきい値決定機能71が、良品ヒストグラムおよび不良品ヒストグラムの度数分布に基づいて、良品画像の特徴量と不良品画像の特徴量を最適に分離するためのしきい値を算出する(ステップS313)。特徴量ヒストグラムに現れた2つの山を最適に分離する手法は種々提案されており、ここではどの方法を採用してもよい。たとえば、大津の判別分析法を利用してもよいし、あるいは、経験に基づき良品画像の山の端から3σだけ離れた点をしきい値に決めてもよい。このようにして、良品と不良品を判別するためのしきい値が生成される。   Next, the threshold value determination function 71 calculates a threshold value for optimally separating the feature quantity of the non-defective product image and the feature quantity of the defective product image based on the frequency distribution of the non-defective product histogram and the defective product histogram ( Step S313). Various methods for optimally separating the two peaks appearing in the feature amount histogram have been proposed, and any method may be adopted here. For example, Otsu's discriminant analysis method may be used, or a point separated by 3σ from the edge of a non-defective image peak may be determined as a threshold based on experience. In this way, a threshold value for discriminating between non-defective products and defective products is generated.

そして、検査ロジック生成機能72が、色パラメータ、特徴量の種類(本例では面積)、しきい値から検査ロジックを生成し(ステップS314)、検査ロジック書込機能73が、その検査ロジックを基板検査装置1の検査ロジック記憶部35に書き込む(ステップS315)。   Then, the inspection logic generation function 72 generates inspection logic from the color parameter, the type of feature quantity (area in this example), and the threshold value (step S314), and the inspection logic writing function 73 loads the inspection logic on the substrate. The data is written in the inspection logic storage unit 35 of the inspection apparatus 1 (step S315).

以上述べた処理によれば、部品のフィレット検査で用いられる検査ロジック(パラメータ)が自動で生成されるので、ティーチングに要する時間と負荷を大幅に削減することができる。   According to the processing described above, since inspection logic (parameters) used in the fillet inspection of parts is automatically generated, the time and load required for teaching can be greatly reduced.

しかも、上述したアルゴリズムによって二次反射の影響が除去され、最適な色パラメータとしきい値とが算出されるので、カラーハイライト方式による良否判定を高精度に行うことが可能となる。なお、色パラメータとしきい値の信頼性は、最初に与える教師画像情報の数が多くなるほど向上する。   In addition, the influence of secondary reflection is removed by the above-described algorithm, and optimal color parameters and threshold values are calculated. Therefore, it is possible to perform quality determination by the color highlight method with high accuracy. Note that the reliability of the color parameter and the threshold value is improved as the number of teacher image information to be given first increases.

<第2実施形態>
上記第1実施形態では、教師画像として良品画像と不良品画像を用いている。しかし、
現実的には、基板実装ラインにおいて生じ得る不良を予測することも、ティーチングのためだけにわざわざ大量の不良品を製造することも困難である。よって、良品画像のみからティーチングを行わざるを得ないことも多い。そこで、本発明の第2実施形態では、良品画像だけからパラメータを生成する手法を提案する。
Second Embodiment
In the first embodiment, a non-defective image and a defective image are used as the teacher image. But,
In reality, it is difficult to predict a defect that may occur in the board mounting line, or to manufacture a large number of defective products just for teaching. Therefore, teaching is often performed only from a non-defective image. Therefore, in the second embodiment of the present invention, a method for generating a parameter only from a non-defective image is proposed.

なお、パラメータ設定装置2の構成は第1実施形態のものとほぼ同様であるため、図示を省略する。また、二次反射色範囲の推定処理も、第1実施形態と同じアルゴリズムである。   Since the configuration of the parameter setting device 2 is almost the same as that of the first embodiment, the illustration is omitted. The secondary reflection color range estimation process is also the same algorithm as in the first embodiment.

(パラメータ設定処理)
以下、図19のフローチャートに沿って、第2実施形態におけるパラメータ設定処理の流れを説明する。なお、第1実施形態と同様の処理については同一のステップ番号を付し、詳しい説明を省略する。
(Parameter setting process)
The flow of parameter setting processing in the second embodiment will be described below with reference to the flowchart of FIG. In addition, the same step number is attached | subjected about the process similar to 1st Embodiment, and detailed description is abbreviate | omitted.

検査ロジックの自動生成を指示する指示情報が入力されると、検査ロジックに対応する教師画像情報が教師画像情報DB74から読み込まれる(ステップS300〜S302)。教師画像情報には、良品画像のみが含まれる。   When instruction information for instructing automatic generation of inspection logic is input, teacher image information corresponding to the inspection logic is read from the teacher image information DB 74 (steps S300 to S302). The teacher image information includes only non-defective images.

画像取得機能62は、テンプレートマッチングなどにより良品画像から半田領域を抽出する(ステップS400)。一方、二次反射色情報読込機能64が、二次反射色情報記憶部58から二次反射色範囲を読み込み(ステップS305)。そして、二次反射領域特定機能65が、第1実施形態と同様のアルゴリズムにより、良品画像の中から二次反射領域を特定し(ステップS306、S307)、二次反射領域除去機能66が、二次反射領域を除去する(ステップS308)。   The image acquisition function 62 extracts a solder area from the good product image by template matching or the like (step S400). On the other hand, the secondary reflection color information reading function 64 reads the secondary reflection color range from the secondary reflection color information storage unit 58 (step S305). Then, the secondary reflection area specifying function 65 specifies a secondary reflection area from the non-defective image by the same algorithm as in the first embodiment (steps S306 and S307), and the secondary reflection area removing function 66 is The next reflection area is removed (step S308).

続いて、マッピング機能67が、二次反射領域除去後の良品画像の全画素の色を色ヒストグラムにマッピングする(ステップS401)。そして、色範囲探索機能68は、色ヒストグラム上の全ての点を内包するような最小矩形で構成される色範囲を算出し、その色範囲を検査用の色パラメータ(色条件)として設定する(ステップS402)。   Subsequently, the mapping function 67 maps the colors of all the pixels of the non-defective image after removing the secondary reflection area to the color histogram (step S401). Then, the color range search function 68 calculates a color range composed of a minimum rectangle including all the points on the color histogram, and sets the color range as a color parameter (color condition) for inspection ( Step S402).

続いて、上記色パラメータを用いて、検査用のしきい値(判定条件)を自動生成する処理が実行される。   Subsequently, a process of automatically generating a threshold value (determination condition) for inspection using the color parameter is executed.

二値化機能69が、上記色パラメータを用いて、良品画像のすべての半田領域を二値化し(ステップS403)、特徴量ヒストグラム生成機能70が、良品画像の白画素領域の面積値に関する面積ヒストグラムを作成する(ステップS404)。図20は、面積ヒストグラムの一例を示している。   The binarization function 69 binarizes all solder areas of the non-defective image using the color parameters (step S403), and the feature amount histogram generation function 70 displays an area histogram relating to the area value of the white pixel area of the non-defective image. Is created (step S404). FIG. 20 shows an example of an area histogram.

しきい値決定機能71は、面積ヒストグラムの度数分布に基づいて良品画像における半田領域の特徴量(面積値)を判別するためのしきい値を算出する(ステップS405)。ただし、本処理の場合は面積ヒストグラムの中に良品画像の山しか含まれていないため、大津の判別分析法のように2つの山を分離する手法は使用できない。そこでこの場合は、良品を不良品と誤判定(過検出)しないよう十分なマージンを確保して、しきい値を決定すればよい。具体的には、良品ヒストグラムの端点(上限)から経験的なマージンをとってもよいし、良品ヒストグラムの中心から6σの距離にしきい値を設定するなどの統計的手法を用いてもよい。このようにして、良品と不良品を判別するためのしきい値が生成される。   The threshold value determination function 71 calculates a threshold value for determining the feature amount (area value) of the solder region in the non-defective image based on the frequency distribution of the area histogram (step S405). However, in the case of this processing, since only the non-defective image peaks are included in the area histogram, the method of separating two peaks as in the Otsu discriminant analysis method cannot be used. Therefore, in this case, it is only necessary to determine a threshold value by securing a sufficient margin so that a non-defective product is erroneously determined to be defective (overdetection). Specifically, an empirical margin may be taken from the end point (upper limit) of the good product histogram, or a statistical method such as setting a threshold at a distance of 6σ from the center of the good product histogram may be used. In this way, a threshold value for discriminating between non-defective products and defective products is generated.

そして、検査ロジック生成機能72が、色パラメータ、特徴量の種類(本例では面積)、しきい値から検査ロジックを生成し(ステップS314)、検査ロジック書込機能73
が、その検査ロジックを基板検査装置1の検査ロジック記憶部35に書き込む(ステップS315)。
Then, the inspection logic generation function 72 generates inspection logic from the color parameter, the type of feature amount (area in this example), and the threshold value (step S314), and the inspection logic writing function 73
However, the inspection logic is written in the inspection logic storage unit 35 of the substrate inspection apparatus 1 (step S315).

以上述べた処理によっても、第1実施形態と同様の作用効果を奏することができる。しかも、本処理は、不良品のサンプルが無い場合であっても、半田のフィレット検査で用いられる検査ロジック(パラメータ)を自動で生成することができるという利点がある。   Also by the processing described above, the same operational effects as those of the first embodiment can be obtained. Moreover, this process has an advantage that even when there is no defective sample, inspection logic (parameters) used in solder fillet inspection can be automatically generated.

<変形例>
上述した実施形態は本発明の一具体例を例示したものにすぎない。本発明の範囲は上記実施形態に限られるものではなく、その技術思想の範囲内で種々の変形が可能である。
<Modification>
The above-described embodiment is merely an example of the present invention. The scope of the present invention is not limited to the above embodiment, and various modifications can be made within the scope of the technical idea.

たとえば、上記実施形態では2次元の色ヒストグラム(色空間)を用いたが、多次元(色相、彩度、明度)の色ヒストグラムを用いてもよい。また、2次元色ヒストグラムについても、青の彩度軸ではなく、青、緑、黄など他の色相の彩度軸を用いたり、彩度軸ではなく色相軸を用いたりしてもよい。色ヒストグラムの軸の選択は、基板検査装置で撮像された部品画像がもつ色彩パターンの傾向に合わせて決定すればよい。   For example, in the above embodiment, a two-dimensional color histogram (color space) is used, but a multi-dimensional (hue, saturation, brightness) color histogram may be used. Also for the two-dimensional color histogram, the saturation axis of other hues such as blue, green, and yellow may be used instead of the blue saturation axis, or the hue axis may be used instead of the saturation axis. The selection of the axis of the color histogram may be determined according to the tendency of the color pattern of the component image captured by the board inspection apparatus.

また、色範囲は矩形に限らず、円形、多角形、自由曲線図形などを用いてもよい。さらに、色ヒストグラムが多次元の場合には、色範囲も多次元形状にするとよい。   Further, the color range is not limited to a rectangle, and a circle, a polygon, a free curve figure, or the like may be used. Furthermore, when the color histogram is multidimensional, the color range may be multidimensional.

また、上記実施形態ではフィレット検査用のパラメータを生成する処理を例に挙げたが、本発明は、二次反射の影響が問題となるパラメータ生成処理であれば、他の検査用パラメータの生成処理にも適用可能である。   In the above embodiment, the process for generating the parameters for the fillet inspection is given as an example. However, the present invention is a process for generating other inspection parameters as long as it is a parameter generation process in which the influence of secondary reflection is a problem. It is also applicable to.

また、上記実施形態では特徴量として面積を用いたが、良否判定に用いる特徴量としては他にも、面積比、長さ、最大幅、重心などを好ましく採用できる。面積比とは、ランドウィンドウ内で二値化された面積の占有率である。たとえばランド領域に対して部品がずれて半田付けされていると、半田領域の面積が大小するため、面積比が変化する。これを特徴量として捉えれば、部品ずれの検査に有効である。また、長さとは、白画素領域の縦方向や横方向の長さであり、最大長は、白画素領域の長さの中で最大の値である。また、重心とは、白画素領域の重心のランドウィンドウに対する相対位置である。   In the above embodiment, the area is used as the feature amount. However, as the feature amount used for the pass / fail judgment, an area ratio, a length, a maximum width, a center of gravity, and the like can be preferably used. The area ratio is the occupation ratio of the binarized area in the land window. For example, if a component is soldered with a deviation from the land area, the area of the solder area increases and the area ratio changes. If this is regarded as a feature amount, it is effective for inspection of component displacement. The length is the length in the vertical direction or the horizontal direction of the white pixel region, and the maximum length is the maximum value among the lengths of the white pixel region. The center of gravity is a relative position of the center of gravity of the white pixel region with respect to the land window.

良否を精度良く判定できるものであればどの特徴量を用いてもよく、精度向上のために複数種類の特徴量を組み合わせることも好ましい。また、パラメータ設定処理において複数種類の特徴量を抽出し、その中で良品と不良品とが最もよく分離されるものを特徴量として採用するといったことも可能である。なお、上記実施形態では判定条件(しきい値)の決定に面積ヒストグラム(面積値ヒストグラム)を用いたが、特徴量の種類が異なればそれに合わせた特徴量ヒストグラム(面積比ヒストグラム、長さヒストグラム、最大幅ヒストグラム、重心ヒストグラムなど)を用いることになる。例えば、面積値ヒストグラムの替わりに面積比ヒストグラムを用いれば、ランドウィンドウにおける色パラメータで二値化された画素の占有率によって良否判定を実行するので、部品がズレたり傾いたりしてランドウィンドウの大きさが小さくなったり大きくなったりした場合でも、ランドウィンドウの大きさに影響されない判定処理が可能となる。   Any feature amount may be used as long as it can accurately determine pass / fail, and it is also preferable to combine a plurality of types of feature amounts to improve accuracy. It is also possible to extract a plurality of types of feature amounts in the parameter setting process, and to adopt a feature amount that best separates non-defective products and defective products among them. In the above embodiment, an area histogram (area value histogram) is used to determine the determination condition (threshold value). However, if the type of feature amount is different, a feature amount histogram (area ratio histogram, length histogram, Maximum width histogram, centroid histogram, etc.). For example, if an area ratio histogram is used instead of the area value histogram, the pass / fail judgment is executed based on the pixel occupation rate binarized by the color parameter in the land window. Even when the size becomes smaller or larger, a determination process that is not affected by the size of the land window is possible.

また、パラメータ設定装置が、指示情報もしくは教師情報を参照して不良品画像の有無を判断し、不良品画像有りの場合は第1実施形態のパラメータ設定処理を実行し、不良品画像無しの場合は第2実施形態のパラメータ設定処理を実行するというように、自動的に処理を切り替えるようにしてもよい。   Also, the parameter setting device refers to the instruction information or the teacher information to determine the presence or absence of a defective product image. If there is a defective product image, the parameter setting process of the first embodiment is executed. The process may be automatically switched, such as executing the parameter setting process of the second embodiment.

本発明の実施形態に係る基板検査システムのハードウェア構成を示す図。The figure which shows the hardware constitutions of the board | substrate inspection system which concerns on embodiment of this invention. 基板検査装置の機能構成を示す図。The figure which shows the function structure of a board | substrate inspection apparatus. 半田フィレットの形状と撮像パターンと二値化画像の関係を示す図。The figure which shows the relationship between the shape of a solder fillet, an imaging pattern, and a binarized image. 基板検査処理の流れを示すフローチャート。The flowchart which shows the flow of a board | substrate inspection process. 第1実施形態に係るパラメータ設定装置の機能構成を示す図。The figure which shows the function structure of the parameter setting apparatus which concerns on 1st Embodiment. 第1実施形態に係るパラメータ設定装置の機能構成を示す図。The figure which shows the function structure of the parameter setting apparatus which concerns on 1st Embodiment. 二次反射の影響について説明する図。The figure explaining the influence of secondary reflection. 二次反射色範囲推定処理の流れを示すフローチャート。The flowchart which shows the flow of a secondary reflection color range estimation process. スルーホール画像の抽出処理を示す図。The figure which shows the extraction process of a through-hole image. 二次反射色範囲推定処理を示す図。The figure which shows a secondary reflection color range estimation process. 第1実施形態におけるパラメータ設定処理の流れを示すフローチャート。The flowchart which shows the flow of the parameter setting process in 1st Embodiment. 良品画像と不良品画像の一例を示す図。The figure which shows an example of a quality product image and a defective product image. 半田領域の抽出処理を示す図。The figure which shows the extraction process of a solder area | region. 二次反射領域特定処理を示す図。The figure which shows a secondary reflection area | region specific process. パラメータ設定処理における2次元色ヒストグラムの一例を示す図。The figure which shows an example of the two-dimensional color histogram in a parameter setting process. 色範囲の探索処理を示す図。The figure which shows the search process of a color range. 良品画像と不良品画像の二値化結果の一例を示す図。The figure which shows an example of the binarization result of a non-defective product image and a defective product image. 良品および不良品の面積ヒストグラムとしきい値決定処理を示す図。The figure which shows the area histogram and threshold value determination process of a good article and inferior goods. 第2実施形態におけるパラメータ設定処理の流れを示すフローチャート。The flowchart which shows the flow of the parameter setting process in 2nd Embodiment. 第2実施形態におけるしきい値決定処理を示す図。The figure which shows the threshold value determination process in 2nd Embodiment. カラーハイライト方式の基板検査装置の構成を示す図。The figure which shows the structure of the board | substrate inspection apparatus of a color highlight system. 撮像画像に現れる色彩パターンの一例を示す図。The figure which shows an example of the color pattern which appears in a captured image. 色パラメータの設定支援ツールを示す図。The figure which shows the setting support tool of a color parameter. 二次反射の影響について説明する図。The figure explaining the influence of secondary reflection.

符号の説明Explanation of symbols

1 基板検査装置
2 パラメータ設定装置
10 指示情報受付機能
11 基板搬入機能
12 CAD情報読込機能
13 ステージ操作機能
14 撮像機能
15 検査ロジック読込機能
16 検査機能
17 判定結果書込機能
18 基板搬出機能
20 基板
21 実装部品
22 Xステージ
23 Yステージ
24 投光部
25 撮像部
26 制御処理部
27 コンベヤ
28 赤色光源
29 緑色光源
30 青色光源
31 撮像コントローラ
32 記憶部
32a CAD情報記憶部
32b 判定結果記憶部
33 A/D変換部
34 画像処理部
35 検査ロジック記憶部
36 判定部
37 XYステージコントローラ
38 メモリ
39 制御部
40 入力部
41 表示部
42 プリンタ
50 基板画像読込機能
51 CAD情報読込機能
52 スルーホール画像取得機能
53 スルーホール周辺画素マッピング機能
54 外れ値削除機能
55 色分布範囲設定機能
56 色分布範囲補正機能
57 二次反射色情報書込機能
58 二次反射色情報記憶部
60 指示情報受付機能
61 教師画像情報読込機能
62 画像取得機能
63 振分機能
64 二次反射色情報読込機能
65 二次反射領域特定機能
66 二次反射領域除去機能
67 マッピング機能
68 色範囲探索機能
69 二値化機能
70 特徴量ヒストグラム生成機能
71 しきい値決定機能
72 検査ロジック生成機能
73 検査ロジック書込機能
80 スルーホール
81 金属環
82 スルーホールの存在範囲
83 スルーホールの詳細位置
84 スルーホール周辺画素の色分布範囲
85 不良色範囲
90 部品
91,92 ランド領域
93 ランドウィンドウ
94 部品本体ウィンドウ
DESCRIPTION OF SYMBOLS 1 Board | substrate inspection apparatus 2 Parameter setting apparatus 10 Instruction information reception function 11 Board | substrate carrying-in function 12 CAD information reading function 13 Stage operation function 14 Imaging function 15 Inspection logic reading function 16 Inspection function 17 Judgment result writing function 18 Board | substrate unloading function 20 Board | substrate 21 Mounted parts 22 X stage 23 Y stage 24 Projection unit 25 Imaging unit 26 Control processing unit 27 Conveyor 28 Red light source 29 Green light source 30 Blue light source 31 Imaging controller 32 Storage unit 32a CAD information storage unit 32b Judgment result storage unit 33 A / D Conversion unit 34 Image processing unit 35 Inspection logic storage unit 36 Determination unit 37 XY stage controller 38 Memory 39 Control unit 40 Input unit 41 Display unit 42 Printer 50 Substrate image reading function 51 CAD information reading function 52 Through-hole image acquisition function 53 Through-hole peripheral pixel mapping function 54 Outlier removal function 55 Color distribution range setting function 56 Color distribution range correction function 57 Secondary reflection color information writing function 58 Secondary reflection color information storage unit 60 Instruction information reception function 61 Teacher image information reading Function 62 Image acquisition function 63 Distribution function 64 Secondary reflection color information reading function 65 Secondary reflection area specifying function 66 Secondary reflection area removal function 67 Mapping function 68 Color range search function 69 Binarization function 70 Feature amount histogram generation function 71 Threshold decision function 72 Inspection logic generation function 73 Inspection logic write function 80 Through hole 81 Metal ring 82 Existence range of through hole 83 Detailed position of through hole 84 Color distribution range of peripheral pixel of through hole 85 Defect color range 90 Parts 91, 92 Land area 93 Land window 94 Component body window

Claims (17)

基板上の実装部品に異なる入射角で複数の色の光を照射し、その反射光を撮像して得られた画像から所定の色条件を満たす領域を抽出し、抽出された領域のもつ特徴量が所定の判定条件を満たすか否かで前記部品の実装状態を検査する基板検査装置において用いられるパラメータを生成する方法であって、
情報処理装置が、
半田付けの良好な部品を撮像して得られた複数の良品画像を取得し、
基板上のスルーホールを撮像して得られた複数のスルーホール画像を取得し、
前記スルーホール画像におけるスルーホール周辺画素の色分布から、良品画像の画素のうち入射角の最も小さい光の二次反射光成分を含む画素がとり得る色範囲である二次反射色範囲を推定し、
前記良品画像の中から前記二次反射色範囲内の色をもつ画素で構成される二次反射領域を特定し、
特定された二次反射領域を前記良品画像から除去し、
二次反射領域除去後の良品画像を教師画像として、基板検査で用いられるパラメータを生成する
基板検査装置のパラメータ設定方法。
A region satisfying a predetermined color condition is extracted from an image obtained by irradiating a component mounted on the board with light of multiple colors at different angles of incidence and imaging the reflected light, and the features of the extracted region Is a method for generating a parameter used in a board inspection apparatus that inspects the mounting state of the component depending on whether or not a predetermined determination condition is satisfied,
Information processing device
Acquire multiple non-defective images obtained by imaging parts with good soldering,
Acquire multiple through-hole images obtained by imaging through-holes on the board,
From the color distribution of pixels around the through-hole in the through-hole image, a secondary reflected color range that is a color range that can be taken by a pixel including a secondary reflected light component of light having the smallest incident angle among pixels of a non-defective image is estimated. ,
Identify a secondary reflection region composed of pixels having a color within the secondary reflection color range from the non-defective image,
Removing the identified secondary reflection area from the non-defective image;
A parameter setting method for a substrate inspection apparatus that generates a parameter used in substrate inspection using a non-defective image after removal of the secondary reflection region as a teacher image.
前記二次反射色範囲は、少なくとも、入射角の最も大きい光の色相の彩度の範囲と、明度の範囲とを規定する
請求項1記載の基板検査装置のパラメータ設定方法。
2. The parameter setting method for a substrate inspection apparatus according to claim 1, wherein the secondary reflection color range defines at least a saturation range of a hue of light having the largest incident angle and a brightness range.
前記情報処理装置は、
前記スルーホール周辺画素の色分布範囲を求め、その色分布範囲の明度方向の値域を補正することによって前記二次反射色範囲を決定する
請求項1または2記載の基板検査装置のパラメータ設定方法。
The information processing apparatus includes:
3. The parameter setting method for a substrate inspection apparatus according to claim 1, wherein the secondary reflection color range is determined by obtaining a color distribution range of the through-hole peripheral pixels and correcting a value range in the brightness direction of the color distribution range.
前記情報処理装置は、
前記スルーホール周辺画素の色分布範囲の明度の上限を明度最大値まで拡大したものを前記二次反射色範囲とする
請求項3記載の基板検査装置のパラメータ設定方法。
The information processing apparatus includes:
4. The parameter setting method for a substrate inspection apparatus according to claim 3, wherein an upper limit of the brightness of the color distribution range of the through-hole peripheral pixels is expanded to the maximum brightness value as the secondary reflection color range.
前記情報処理装置は、
半田付けの不良な部品を撮像して得られた複数の不良品画像を取得し、
二次反射領域除去後の前記良品画像における半田領域の各画素の色を良点として、前記不良品画像における半田領域の各画素の色を不良点として、それぞれ色空間にマッピングし、
前記色空間を分割する色範囲であって、そこに含まれる良点の数と不良点の数の差が最大となるような色範囲を求め、
求められた前記色範囲を基板検査で用いられる色条件として設定する
請求項1〜4のうちいずれか1項記載の基板検査装置のパラメータ設定方法。
The information processing apparatus includes:
Acquire multiple defective product images obtained by imaging defective soldering parts,
The color of each pixel of the solder area in the non-defective product image after the secondary reflection area is removed as a good point, and the color of each pixel of the solder area in the defective product image is mapped as a defective point to the color space,
Finding a color range that divides the color space so that the difference between the number of good points and the number of defective points contained therein is maximized,
The parameter setting method of the board | substrate inspection apparatus of any one of Claims 1-4 which sets the calculated | required said color range as a color condition used by board | substrate inspection.
前記情報処理装置は、
前記良品画像および前記不良品画像のそれぞれから前記色条件を満たす画素領域を抽出して、その画素領域のもつ特徴量についての特徴量ヒストグラムを作成し、
前記特徴量ヒストグラムの度数分布に基づいて前記良品画像の特徴量と前記不良品画像の特徴量とを分離するためのしきい値を算出し、
算出された前記しきい値を基板検査で用いられる判定条件として設定する
請求項5記載の基板検査装置のパラメータ設定方法。
The information processing apparatus includes:
Extracting a pixel region that satisfies the color condition from each of the good product image and the defective product image, and creating a feature amount histogram for a feature amount of the pixel region,
Calculating a threshold value for separating the feature amount of the non-defective image and the feature amount of the defective product image based on the frequency distribution of the feature amount histogram;
6. The parameter setting method for a substrate inspection apparatus according to claim 5, wherein the calculated threshold value is set as a determination condition used in substrate inspection.
前記情報処理装置は、
二次反射領域除去後の前記良品画像の各画素の色分布範囲に基づいて、基板検査で用いられる色条件を決定する
請求項1〜4のうちいずれか1項記載の基板検査装置のパラメータ設定方法。
The information processing apparatus includes:
The parameter setting of the board | substrate inspection apparatus of any one of Claims 1-4 which determines the color conditions used by board | substrate inspection based on the color distribution range of each pixel of the said non-defective image after secondary reflection area removal. Method.
前記情報処理装置は、
前記良品画像における半田領域から前記色条件を満たす画素領域を抽出して、その画素領域のもつ特徴量についての特徴量ヒストグラムを生成し、
前記特徴量ヒストグラムの度数分布に基づいて前記良品画像における半田領域の特徴量を判別するためのしきい値を算出し、
算出された前記しきい値を基板検査で用いられる判定条件として設定する
請求項7記載の基板検査装置のパラメータ設定方法。
The information processing apparatus includes:
Extracting a pixel region that satisfies the color condition from the solder region in the non-defective image, and generating a feature amount histogram for the feature amount of the pixel region,
Based on the frequency distribution of the feature amount histogram, a threshold value for determining the feature amount of the solder area in the good product image is calculated,
8. The parameter setting method for a substrate inspection apparatus according to claim 7, wherein the calculated threshold value is set as a determination condition used in substrate inspection.
基板上の実装部品に異なる入射角で複数の色の光を照射し、その反射光を撮像して得られた画像から所定の色条件を満たす領域を抽出し、抽出された領域のもつ特徴量が所定の判定条件を満たすか否かで前記部品の実装状態を検査する基板検査装置において用いられるパラメータを自動生成するための装置であって、
半田付けの良好な部品を撮像して得られた複数の良品画像を取得する画像取得手段と、
基板上のスルーホールを撮像して得られた複数のスルーホール画像を取得するスルーホール画像取得手段と、
前記スルーホール画像におけるスルーホール周辺画素の色分布から、良品画像の画素のうち入射角の最も小さい光の二次反射光成分を含む画素がとり得る色範囲である二次反射色範囲を推定する二次反射色範囲推定手段と、
前記良品画像の中から前記二次反射色範囲内の色をもつ画素で構成される二次反射領域を特定する二次反射領域特定手段と、
特定された二次反射領域を前記良品画像から除去する二次反射領域除去手段と、
二次反射領域除去後の良品画像を教師画像として、基板検査で用いられるパラメータを生成するパラメータ生成手段と、
を備える基板検査装置のパラメータ設定装置。
A region satisfying a predetermined color condition is extracted from an image obtained by irradiating a component mounted on the board with light of multiple colors at different angles of incidence and imaging the reflected light, and the features of the extracted region Is an apparatus for automatically generating parameters used in a board inspection apparatus that inspects the mounting state of the component depending on whether or not a predetermined determination condition is satisfied,
Image acquisition means for acquiring a plurality of non-defective images obtained by imaging components with good soldering;
Through-hole image acquisition means for acquiring a plurality of through-hole images obtained by imaging through-holes on a substrate;
From the color distribution of pixels around the through-hole in the through-hole image, a secondary reflection color range that is a color range that can be taken by a pixel including a secondary reflected light component of light having the smallest incident angle among pixels of a non-defective image is estimated. Secondary reflection color range estimation means;
Secondary reflection area specifying means for specifying a secondary reflection area composed of pixels having a color within the secondary reflection color range from the non-defective image;
Secondary reflection area removing means for removing the identified secondary reflection area from the non-defective image;
A non-defective image after removing the secondary reflection region as a teacher image, a parameter generating means for generating parameters used in substrate inspection;
A parameter setting device for a substrate inspection apparatus comprising:
前記二次反射色範囲は、少なくとも、入射角の最も大きい光の色相の彩度の範囲と、明度の範囲とを規定する
請求項9記載の基板検査装置のパラメータ設定装置。
10. The parameter setting device for a substrate inspection apparatus according to claim 9, wherein the secondary reflection color range defines at least a saturation range of a hue of light having the largest incident angle and a brightness range.
前記二次反射色範囲推定手段は、
前記スルーホール周辺画素の色分布範囲を求め、その色分布範囲の明度方向の値域を補正することによって前記二次反射色範囲を決定する
請求項9または10記載の基板検査装置のパラメータ設定装置。
The secondary reflection color range estimation means includes
11. The parameter setting device for a substrate inspection apparatus according to claim 9, wherein the secondary reflection color range is determined by obtaining a color distribution range of the through-hole peripheral pixels and correcting a value range in the brightness direction of the color distribution range.
前記二次反射色範囲推定手段は、
前記スルーホール周辺画素の色分布範囲の明度の上限を明度最大値まで拡大したものを前記二次反射色範囲とする
請求項11記載の基板検査装置のパラメータ設定装置。
The secondary reflection color range estimation means includes
12. The parameter setting device for a substrate inspection apparatus according to claim 11, wherein the secondary reflection color range is obtained by expanding the upper limit of the brightness of the color distribution range of the through-hole peripheral pixels to the maximum brightness value.
前記画像取得手段は、半田付けの不良な部品を撮像して得られた複数の不良品画像を取得し、
前記パラメータ生成手段は、
二次反射領域除去後の前記良品画像における半田領域の各画素の色を良点として、前記不良品画像における半田領域の各画素の色を不良点として、それぞれ色空間にマッピング
し、
前記色空間を分割する色範囲であって、そこに含まれる良点の数と不良点の数の差が最大となるような色範囲を求め、
求められた前記色範囲を基板検査で用いられる色条件として設定する
請求項9〜12のうちいずれか1項記載の基板検査装置のパラメータ設定装置。
The image acquisition means acquires a plurality of defective product images obtained by imaging a component with poor soldering;
The parameter generation means includes
The color of each pixel of the solder area in the non-defective product image after the secondary reflection area is removed as a good point, and the color of each pixel of the solder area in the defective product image is mapped as a defective point to the color space,
Finding a color range that divides the color space so that the difference between the number of good points and the number of defective points contained therein is maximized,
The parameter setting device for a substrate inspection apparatus according to any one of claims 9 to 12, wherein the obtained color range is set as a color condition used in substrate inspection.
前記パラメータ生成手段は、
前記良品画像および前記不良品画像のそれぞれから前記色条件を満たす画素領域を抽出して、その画素領域のもつ特徴量についての特徴量ヒストグラムを作成し、
前記特徴量ヒストグラムの度数分布に基づいて前記良品画像の特徴量と前記不良品画像の特徴量とを分離するためのしきい値を算出し、
算出された前記しきい値を基板検査で用いられる判定条件として設定する
請求項13記載の基板検査装置のパラメータ設定装置。
The parameter generation means includes
Extracting a pixel region that satisfies the color condition from each of the good product image and the defective product image, and creating a feature amount histogram for a feature amount of the pixel region,
Calculating a threshold value for separating the feature amount of the non-defective image and the feature amount of the defective product image based on the frequency distribution of the feature amount histogram;
14. The parameter setting device for a substrate inspection apparatus according to claim 13, wherein the calculated threshold value is set as a determination condition used in substrate inspection.
前記パラメータ生成手段は、
二次反射領域除去後の前記良品画像の各画素の色分布範囲に基づいて、基板検査で用いられる色条件を決定する
請求項9〜12のうちいずれか1項記載の基板検査装置のパラメータ設定装置。
The parameter generation means includes
The parameter setting of the substrate inspection apparatus according to any one of claims 9 to 12, wherein a color condition used in the substrate inspection is determined based on a color distribution range of each pixel of the non-defective image after removing the secondary reflection region. apparatus.
前記パラメータ生成手段は、
前記良品画像における半田領域から前記色条件を満たす画素領域を抽出して、その画素領域のもつ特徴量についての特徴量ヒストグラムを生成し、
前記特徴量ヒストグラムの度数分布に基づいて前記良品画像における半田領域の特徴量を判別するためのしきい値を算出し、
算出された前記しきい値を基板検査で用いられる判定条件として設定する
請求項15記載の基板検査装置のパラメータ設定装置。
The parameter generation means includes
Extracting a pixel region that satisfies the color condition from the solder region in the non-defective image, and generating a feature amount histogram for the feature amount of the pixel region,
Based on the frequency distribution of the feature amount histogram, a threshold value for determining the feature amount of the solder area in the good product image is calculated,
16. The parameter setting device for a substrate inspection apparatus according to claim 15, wherein the calculated threshold value is set as a determination condition used in substrate inspection.
請求項14または16記載のパラメータ設定装置により設定された色条件および判定条件を記憶する記憶部と、
基板上の実装部品に異なる入射角で複数の色の光を照射する投光手段と、
その反射光を撮像して得られた画像から、前記色条件を満たす領域を抽出する領域抽出手段と、
抽出された領域のもつ特徴量が、前記判定条件を満たすか否かで前記部品の半田付け状態を検査する検査手段と、
を備える基板検査装置。
A storage unit for storing color conditions and determination conditions set by the parameter setting device according to claim 14 or 16,
A light projecting means for irradiating light of a plurality of colors at different incident angles on a mounting component on the substrate;
A region extracting means for extracting a region that satisfies the color condition from an image obtained by imaging the reflected light;
An inspection means for inspecting a soldering state of the component based on whether or not a feature value of the extracted region satisfies the determination condition;
A board inspection apparatus comprising:
JP2004292637A 2004-10-05 2004-10-05 Substrate inspection device, parameter setting method and parameter setting device Active JP4506395B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004292637A JP4506395B2 (en) 2004-10-05 2004-10-05 Substrate inspection device, parameter setting method and parameter setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004292637A JP4506395B2 (en) 2004-10-05 2004-10-05 Substrate inspection device, parameter setting method and parameter setting device

Publications (2)

Publication Number Publication Date
JP2006105777A true JP2006105777A (en) 2006-04-20
JP4506395B2 JP4506395B2 (en) 2010-07-21

Family

ID=36375697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004292637A Active JP4506395B2 (en) 2004-10-05 2004-10-05 Substrate inspection device, parameter setting method and parameter setting device

Country Status (1)

Country Link
JP (1) JP4506395B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007293732A (en) * 2006-04-27 2007-11-08 Hitachi High-Technologies Corp Inspecting device
JP2007324190A (en) * 2006-05-30 2007-12-13 Fuji Mach Mfg Co Ltd Component attracting attitude determining method and system
JP2008309580A (en) * 2007-06-13 2008-12-25 Omron Corp Inspection method of solder fillet and substrate appearance inspection apparatus
JP2015094589A (en) * 2013-11-08 2015-05-18 株式会社リコー Visual inspection device
KR20180098872A (en) * 2017-02-27 2018-09-05 충북대학교 산학협력단 Method and system for detecting position of faulty component in Printed Circuit Board manufacturing process
JP2018173328A (en) * 2017-03-31 2018-11-08 新日鐵住金株式会社 Method, device and program for discriminating kind of dust
JP2019190911A (en) * 2018-04-20 2019-10-31 ファナック株式会社 Inspection device
US11386538B2 (en) 2018-01-29 2022-07-12 Nec Corporation Image processing apparatus, image processing method, and storage medium
WO2022230747A1 (en) * 2021-04-27 2022-11-03 株式会社日立製作所 Object recognition device and object recognition method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0278937A (en) * 1988-09-14 1990-03-19 Omron Tateisi Electron Co Display method for substrate inspection device
JPH036447A (en) * 1989-06-02 1991-01-11 Matsushita Electric Ind Co Ltd Inspecting apparatus of packaged board
JPH08159980A (en) * 1994-12-07 1996-06-21 Hitachi Denshi Ltd Object surface recognition processing system for external appearance inspecting apparatus
JPH09145633A (en) * 1995-11-24 1997-06-06 Omron Corp Parameter setting supporting method, method and device for parameter setting using the former method and mounted-part inspecting device using parameter setting device thereof
JP2003227801A (en) * 2001-11-26 2003-08-15 Omron Corp Method of inspecting curved surface and device for inspecting printed circuit board using the method
JP2004109018A (en) * 2002-09-20 2004-04-08 Matsushita Electric Works Ltd Circuit pattern inspecting method and inspecting device
JP2004117276A (en) * 2002-09-27 2004-04-15 Ricoh Microelectronics Co Ltd Soldering quality determining method, device and system, and printed board manufacturing system and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0278937A (en) * 1988-09-14 1990-03-19 Omron Tateisi Electron Co Display method for substrate inspection device
JPH036447A (en) * 1989-06-02 1991-01-11 Matsushita Electric Ind Co Ltd Inspecting apparatus of packaged board
JPH08159980A (en) * 1994-12-07 1996-06-21 Hitachi Denshi Ltd Object surface recognition processing system for external appearance inspecting apparatus
JPH09145633A (en) * 1995-11-24 1997-06-06 Omron Corp Parameter setting supporting method, method and device for parameter setting using the former method and mounted-part inspecting device using parameter setting device thereof
JP2003227801A (en) * 2001-11-26 2003-08-15 Omron Corp Method of inspecting curved surface and device for inspecting printed circuit board using the method
JP2004109018A (en) * 2002-09-20 2004-04-08 Matsushita Electric Works Ltd Circuit pattern inspecting method and inspecting device
JP2004117276A (en) * 2002-09-27 2004-04-15 Ricoh Microelectronics Co Ltd Soldering quality determining method, device and system, and printed board manufacturing system and program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007293732A (en) * 2006-04-27 2007-11-08 Hitachi High-Technologies Corp Inspecting device
US9183450B2 (en) 2006-04-27 2015-11-10 Hitachi High-Technologies Corporation Inspection apparatus
JP2007324190A (en) * 2006-05-30 2007-12-13 Fuji Mach Mfg Co Ltd Component attracting attitude determining method and system
JP4683429B2 (en) * 2006-05-30 2011-05-18 富士機械製造株式会社 Component suction posture discrimination method and component suction posture discrimination system
JP2008309580A (en) * 2007-06-13 2008-12-25 Omron Corp Inspection method of solder fillet and substrate appearance inspection apparatus
JP2015094589A (en) * 2013-11-08 2015-05-18 株式会社リコー Visual inspection device
KR20180098872A (en) * 2017-02-27 2018-09-05 충북대학교 산학협력단 Method and system for detecting position of faulty component in Printed Circuit Board manufacturing process
KR101991415B1 (en) * 2017-02-27 2019-06-20 충북대학교 산학협력단 Method and system for detecting position of faulty component in Printed Circuit Board manufacturing process
JP2018173328A (en) * 2017-03-31 2018-11-08 新日鐵住金株式会社 Method, device and program for discriminating kind of dust
US11386538B2 (en) 2018-01-29 2022-07-12 Nec Corporation Image processing apparatus, image processing method, and storage medium
JP2019190911A (en) * 2018-04-20 2019-10-31 ファナック株式会社 Inspection device
US11282229B2 (en) 2018-04-20 2022-03-22 Fanuc Corporation Inspection apparatus
WO2022230747A1 (en) * 2021-04-27 2022-11-03 株式会社日立製作所 Object recognition device and object recognition method

Also Published As

Publication number Publication date
JP4506395B2 (en) 2010-07-21

Similar Documents

Publication Publication Date Title
JP4595705B2 (en) Substrate inspection device, parameter setting method and parameter setting device
JP4935109B2 (en) Substrate inspection device, inspection logic setting method and inspection logic setting device
JP4736764B2 (en) Substrate inspection device, inspection logic setting method and inspection logic setting device
JP4830501B2 (en) Substrate inspection method and apparatus, and inspection logic setting method and apparatus thereof
JP3551188B2 (en) Surface condition inspection method and substrate inspection device
JP4492356B2 (en) Substrate inspection device, parameter setting method and parameter setting device
US20050190361A1 (en) Apparatus for surface inspection and method and apparatus for inspecting substrate
JP4539355B2 (en) Substrate inspection device, parameter setting method and parameter setting device
JP5861462B2 (en) Inspection standard registration method for solder inspection and board inspection apparatus using the method
JP3906780B2 (en) Data registration method for component code conversion table, board inspection data creation device, registration processing program, and storage medium thereof
JP4506395B2 (en) Substrate inspection device, parameter setting method and parameter setting device
KR20210071806A (en) Method and apparatus for bubble detection in conformal coated PCB and computer readable recording medium thereof
JP2007033126A (en) Substrate inspection device, parameter adjusting method thereof and parameter adjusting device
JP4453503B2 (en) Substrate inspection device, substrate inspection method, inspection logic generation device and inspection logic generation method for substrate inspection device
JP4507785B2 (en) Substrate inspection device, parameter setting method and parameter setting device
JP2006078285A (en) Substrate-inspecting apparatus and parameter-setting method and parameter-setting apparatus of the same
JP4419778B2 (en) Substrate inspection device, parameter setting method and parameter setting device
JP4858227B2 (en) Inspection parameter setting support device, control program and control method thereof
JP2006284543A (en) Method and device for inspecting mounted circuit board
JP2007218912A (en) Program and testing device
JP2006140279A (en) Solder inspection method and substrate testing apparatus using the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100310

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100406

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100419

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

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4506395

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140514

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250