JP4296928B2 - Solder inspection apparatus and solder inspection method - Google Patents

Solder inspection apparatus and solder inspection method Download PDF

Info

Publication number
JP4296928B2
JP4296928B2 JP2003426847A JP2003426847A JP4296928B2 JP 4296928 B2 JP4296928 B2 JP 4296928B2 JP 2003426847 A JP2003426847 A JP 2003426847A JP 2003426847 A JP2003426847 A JP 2003426847A JP 4296928 B2 JP4296928 B2 JP 4296928B2
Authority
JP
Japan
Prior art keywords
image
color extraction
color
parameter
inspection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003426847A
Other languages
Japanese (ja)
Other versions
JP2005188940A (en
Inventor
成孝 阿部
正宏 木原
隆 香月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2003426847A priority Critical patent/JP4296928B2/en
Publication of JP2005188940A publication Critical patent/JP2005188940A/en
Application granted granted Critical
Publication of JP4296928B2 publication Critical patent/JP4296928B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Electric Connection Of Electric Components To Printed Circuits (AREA)
  • Image Analysis (AREA)

Description

本発明は、半田印刷後の基板を撮像して得られたカラー画像に基づいて所定の検査を行う半田検査装置および半田検査方法に関するものである。   The present invention relates to a solder inspection apparatus and a solder inspection method for performing a predetermined inspection based on a color image obtained by imaging a substrate after solder printing.

半田が印刷された後の基板を対象として行われる半田検査の方法として、カラー画像処理を用いる方法が知られている。この検査方法は、検査対象を撮像して得られたカラー画像を画像処理して半田が印刷された検査対象部位を分離・検出するものであり、この分離・検出はカラー画像中から特定の色を抽出することにより行われる(例えば特許文献1参照)。
特開平6−27031号公報
A method using color image processing is known as a solder inspection method performed on a substrate after solder is printed. In this inspection method, a color image obtained by imaging an inspection object is subjected to image processing to separate and detect the inspection object portion on which the solder is printed. This separation / detection is performed by selecting a specific color from the color image. This is performed by extracting (see Patent Document 1, for example).
JP-A-6-27031

カラー画像の中から特定の色を抽出する際には、R(赤)、G(緑)、B(青)の3要素により取得されたRGB画像データを、H(色合い)、S(彩り)、I(明るさ)の3要素にカラーモデル変換して得られたHSI画像から、検査対象となる特定の色を抽出する色抽出処理が行われる。しかしながら、検査対象となる基板での色抽出特性は必ずしも一様でなく、部分によって外観検査に適切な色抽出が行われない場合がある。   When extracting a specific color from a color image, RGB image data acquired by three elements of R (red), G (green), and B (blue) is converted into H (color) and S (color). , I (brightness) is subjected to color extraction processing for extracting a specific color to be inspected from an HSI image obtained by color model conversion into three elements. However, color extraction characteristics on a substrate to be inspected are not necessarily uniform, and color extraction suitable for appearance inspection may not be performed depending on the portion.

このため、このようなカラーモデル変換を行う検査装置では、色抽出処理においてH、S、Iのうちのいずれかについて色抽出画像の生成に用いられるデータ変換テーブルの変換特性を変化させ、より適切な色抽出画像を得るようにしている。このデータ変換テーブルの選定は、半田検査装置の操作画面上で原画像と色抽出画像とを対比しながら、所望の変換特性に対応した色抽出パラメータを設定する色抽出ティーチ作業の形で行われる。 For this reason, an inspection apparatus that performs such color model conversion changes the conversion characteristics of the data conversion table used for generating a color extraction image for any one of H, S, and I in color extraction processing, and is more appropriate. A simple color extraction image is obtained. The selection of the data conversion table is performed in the form of a color extraction teaching operation for setting color extraction parameters corresponding to desired conversion characteristics while comparing the original image and the color extraction image on the operation screen of the solder inspection apparatus. .

しかしながらこの色抽出ティーチを適正に実行するためには、色抽出パラメータの変更が色抽出画像に及ぼす影響を十分に理解した上で行う必要があることから、非熟練者が実行しようとすると試行錯誤を反復する以外に方法はなく、適正結果を得るまでに多大な手間を要していた。そして適切な色抽出画像が得られないまま検査を行うと、検査結果にばらつきを生じる結果となっていた。   However, in order to properly execute this color extraction teach, it is necessary to fully understand the effect of changing the color extraction parameters on the color extraction image. There was no method other than repeating the above, and it took a great deal of effort to obtain an appropriate result. When the inspection is performed without obtaining an appropriate color extraction image, the inspection results vary.

そこで本発明は、カラー画像処理における色抽出を適切にかつ効率的に行うことができる半田検査装置および半田検査方法を提供することを目的とする。   Accordingly, an object of the present invention is to provide a solder inspection apparatus and a solder inspection method capable of appropriately and efficiently performing color extraction in color image processing.

本発明の半田検査装置は、半田印刷後の基板を撮像して所定の検査を行う半田検査装置であって、基板を撮像してR(赤)、G(緑)、B(青)の3要素のそれぞれの要素を1つの独立の次元とする3次元のRGB画像データを取得するカメラと、前記3次元のRGB画像データを、H(色合い)、S(彩り)、I(明るさ)の3要素のそれぞれの要素を1つの独立の次元とする3次元のHSI画像データに変換するカラーモデル変換部と、前記HSI画像データから色抽出画像を生成する画像抽出部と、前記色抽出画像に基づいて前記所定の検査を行う検査処理部と、前記H、S、Iの3要素のうちの少なくとも1つについて、前記色抽出画像の生成に用いられるデータ変換テーブルの変換特性を示す色抽出パラメータのパラメータ値を所定の変更パターンで複数の異なるパラメータ値に変更するパラメータ変更部と、前記変更された複数の異なるパラメータ値に対応する変換特性のデータ変換テーブルによって抽出された複数の色抽出画像を同時に表示する画像表示手段と、同時に表示された前記複数の色抽出画像を目視観察することにより選択された適正色抽出画像を与えるパラメータ値を検査実行用パラメータ値として記憶するパラメータ記憶部を備えた。 The solder inspection apparatus of the present invention is a solder inspection apparatus that images a board after solder printing and performs a predetermined inspection. The board is imaged and R (red), G (green), and B (blue) 3 A camera that acquires three-dimensional RGB image data in which each element of each element is one independent dimension, and the three-dimensional RGB image data are H (color), S (color), and I (brightness). A color model conversion unit that converts each of the three elements into three-dimensional HSI image data having one independent dimension, an image extraction unit that generates a color extraction image from the HSI image data, and the color extraction image A color extraction parameter indicating a conversion characteristic of a data conversion table used for generating the color extraction image for at least one of the three elements H, S, and I; Parameter value of Image display for displaying the a parameter changing unit that changes a plurality of different parameter values change pattern, a plurality of color extraction images extracted by the data conversion table of the conversion characteristics corresponding to a plurality of different parameter values the changed simultaneously And a parameter storage unit for storing, as the inspection execution parameter value, a parameter value that gives an appropriate color extraction image selected by visually observing the plurality of color extraction images displayed simultaneously .

本発明の半田検査方法は、半田印刷後の基板を撮像して所定の検査を行う半田検査方法であって、基板を撮像してR(赤)、G(緑)、B(青)の3要素のそれぞれの要素を1つの独立の次元とする3次元のRGB画像データを取得する画像取得工程と、前記3次元のRGB画像データを、H(色合い)、S(彩り)、I(明るさ)の3要素のそれぞれの要素を1つの独立の次元とする3次元のHSI画像データに変換するカラーモデル変換工程と、前記HSI画像データから色抽出画像を生成する画像抽出工程と、前記色抽出画像に基づいて前記所定の検査を行う検査処理工程とを含み、前記画像抽出工程において、前記H、S、Iの3要素のうちの少なくとも1つについて、前記色抽出画像の生成に用いられるデータ変換テーブルの変換特性を示す色抽出パラメータのパラメータ値を所定の変更パターンで複数の異なるパラメータ値に変更し、これら変更された複数の異なるパラメータ値に対応する変換特性のデータ変換テーブルによって抽出された複数の色抽出画像を生成するステップと、生成された複数の色抽出画像を同時に画像表示手段に表示するステップと、同時に表示された前記複数の色抽出画像を目視観察することにより適正色抽出画像を選択するステップと、前記適正色抽出画像を与えるパラメータ値を検査実行用パラメータ値として設定するステップとを実行する。 The solder inspection method of the present invention is a solder inspection method for imaging a substrate after solder printing and performing a predetermined inspection. The substrate is imaged and R (red), G (green), B (blue) 3 An image acquisition step of acquiring three-dimensional RGB image data in which each element of each element is an independent dimension, and the three-dimensional RGB image data are converted into H (color), S (color), and I (brightness). ), A color model conversion step of converting each of the three elements into three-dimensional HSI image data having one independent dimension, an image extraction step of generating a color extraction image from the HSI image data, and the color extraction Data used for generating the color extraction image for at least one of the three elements H, S, and I in the image extraction step. Conversion table conversion A plurality of color extractions that are extracted by a data conversion table of conversion characteristics corresponding to the changed plurality of different parameter values by changing the parameter value of the color extraction parameter indicating the property to a plurality of different parameter values in a predetermined change pattern A step of generating an image; a step of simultaneously displaying the generated plurality of color extraction images on the image display means; and a step of selecting an appropriate color extraction image by visually observing the plurality of color extraction images displayed simultaneously. And a step of setting a parameter value that gives the appropriate color extraction image as an inspection execution parameter value.

本発明によれば、画像抽出工程において、H、S、Iの3要素のうちの少なくとも1つについて、色抽出画像の生成に用いられるデータ変換テーブルの変換特性を示す色抽出パラメータのパラメータ値を所定の変更パターンで複数の異なるパラメータ値に変更し、これら変更された複数の異なるパラメータ値に対応する変換特性のデータ変換テーブルによって抽出された複数の色抽出画像を画像表示手段に同時に表示し、その同時に表示された複数の色抽出画像を目視観察して選択された適正色抽出画像を与えるパラメータ値を検査用パラメータとして使用することにより、カラー画像処理における色抽出を適切にかつ効率的に行うことができる。 According to the present invention, in the image extraction step, the parameter value of the color extraction parameter indicating the conversion characteristic of the data conversion table used for generating the color extraction image is set for at least one of the three elements H, S, and I. Change to a plurality of different parameter values with a predetermined change pattern, simultaneously display a plurality of color extraction images extracted by the data conversion table of the conversion characteristics corresponding to the changed plurality of different parameter values on the image display means, A color value in color image processing is appropriately and efficiently performed by using, as an inspection parameter, a parameter value that gives an appropriate color extraction image selected by visually observing a plurality of color extraction images displayed simultaneously. be able to.

次に本発明の実施の形態を図面を参照して説明する。図1は本発明の一実施の形態のスクリーン印刷装置の正面図、図2は本発明の一実施の形態のスクリーン印刷装置の側面図、図3は本発明の一実施の形態のスクリーン印刷装置の平面図、図4は本発明の一実施の形態のスクリーン印刷装置の動作説明図、図5は本発明の一実施の形態のスクリーン印刷装置による基板印刷面の平面図、図6は本発明の一実施の形態のスクリーン印刷装置に組み込まれた半田検査装置の制御系の構成を示すブロック図、図7は本発明の一実施の形態の半田検査装置の色抽出ティーチ画面を示す図、図8は本発明の一実施の形態の半田検査装置の色抽出ティーチにおけるパラメータ変更操作の説明図、次9は本発明の一実施の形態の半田検査方法における色抽出パラメータ設定処理のフロー図、図10、図11は本発明の一実施の形態の半田検査方法における色抽出画像を示す図である。   Next, embodiments of the present invention will be described with reference to the drawings. 1 is a front view of a screen printing apparatus according to an embodiment of the present invention, FIG. 2 is a side view of the screen printing apparatus according to an embodiment of the present invention, and FIG. 3 is a screen printing apparatus according to an embodiment of the present invention. FIG. 4 is a diagram for explaining the operation of the screen printing apparatus according to the embodiment of the present invention. FIG. 5 is a plan view of the substrate printing surface of the screen printing apparatus according to the embodiment of the present invention. The block diagram which shows the structure of the control system of the solder inspection apparatus incorporated in the screen printing apparatus of one embodiment of FIG. 7, FIG. 7 is a figure which shows the color extraction teach screen of the solder inspection apparatus of one embodiment of this invention, FIG. 8 is an explanatory diagram of a parameter changing operation in the color extraction teach of the solder inspection apparatus according to one embodiment of the present invention, and the next 9 is a flowchart of color extraction parameter setting processing in the solder inspection method according to one embodiment of the present invention. 10, Figure 11 It is a diagram showing a color extraction image in the solder inspection method of an embodiment of the invention.

まず図1、図2および図3を参照してスクリーン印刷装置の構造を説明する。このスクリーン印刷装置は、電子部品が実装される基板にクリーム半田を印刷する印刷機構のみならず、後述するように、スクリーン印刷後の基板のクリーム半田の印刷状態を検査する半田検査装置としての機能、およびこの半田検査において、基板を撮像して得られたカラー画像から検査用の色抽出画像を取得する際の色抽出パラメータを設定するパラメータ設定機能を併せ持った構成となっている。   First, the structure of the screen printing apparatus will be described with reference to FIG. 1, FIG. 2, and FIG. This screen printing device functions not only as a printing mechanism that prints cream solder on a substrate on which electronic components are mounted, but also as a solder inspection device that inspects the printed state of cream solder on the substrate after screen printing, as will be described later. In addition, in this solder inspection, it has a parameter setting function for setting a color extraction parameter when acquiring a color extraction image for inspection from a color image obtained by imaging a board.

図1、図2において、基板位置決め部1は、Y軸テーブル2およびX軸テーブル3よりなる移動テーブル上にθ軸テーブル4を段積みし、さらにその上にZ軸テーブル5を配設して構成されており、Z軸テーブル5上にはクランパ7によって挟み込まれた基板8を下方から保持する基板保持部6が設けられている。印刷対象の基板8は、図1,図3に示す
搬入コンベア14によって基板位置決め部1に搬入される。基板位置決め部1を駆動することにより、基板8はXY方向に移動し、後述する印刷位置、基板認識位置に位置決めされる。印刷後の基板8は、搬出コンベア15によって搬出される。
1 and 2, the substrate positioning unit 1 includes a θ-axis table 4 stacked on a moving table composed of a Y-axis table 2 and an X-axis table 3, and a Z-axis table 5 disposed thereon. The substrate holder 6 is provided on the Z-axis table 5 to hold the substrate 8 sandwiched by the clamper 7 from below. The substrate 8 to be printed is carried into the substrate positioning unit 1 by the carry-in conveyor 14 shown in FIGS. By driving the substrate positioning unit 1, the substrate 8 moves in the XY directions and is positioned at a printing position and a substrate recognition position described later. The printed substrate 8 is carried out by the carry-out conveyor 15.

基板位置決め部1の上方には、スクリーンマスク10が配設されており、スクリーンマスク10はホルダ11にマスクプレート12を装着して構成されている。基板8は基板位置決め部1によってマスクプレート12に対して位置合わせされ下方から当接する。基板8の回路形成面には、図5(a)に示すように種類の異なる電子部品を接合するための電極8a、8b、8c、8dが設けられている。   A screen mask 10 is disposed above the substrate positioning unit 1, and the screen mask 10 is configured by attaching a mask plate 12 to a holder 11. The substrate 8 is aligned with the mask plate 12 by the substrate positioning unit 1 and abuts from below. As shown in FIG. 5A, electrodes 8a, 8b, 8c, and 8d for joining different types of electronic components are provided on the circuit forming surface of the substrate 8.

スクリーンマスク10上には、スキージヘッド13が水平方向に往復動自在に配設されている。スキージヘッド13による印刷動作は、図4(a)に示すように、基板8を保持した基板位置決め部1をスクリーンマスク10の下方の印刷位置に移動させた状態で行われる。印刷動作においては、まず基板8をマスクプレート12の下面に当接させ、マスクプレート12上にクリーム半田9を供給し、スキージヘッド13のスキージ13aをマスクプレート12の表面に当接させて摺動させることにより、基板8の印刷面にはマスクプレート12に設けられたパターン孔16を介してクリーム半田9が印刷される。これにより、図5(b)に示すように、電極8a、8b、8c、8d上にはそれぞれ半田印刷部s1,s2,s3,s4が形成される。   On the screen mask 10, a squeegee head 13 is disposed so as to be able to reciprocate in the horizontal direction. The printing operation by the squeegee head 13 is performed in a state where the substrate positioning unit 1 holding the substrate 8 is moved to a printing position below the screen mask 10 as shown in FIG. In the printing operation, first, the substrate 8 is brought into contact with the lower surface of the mask plate 12, the cream solder 9 is supplied onto the mask plate 12, and the squeegee 13a of the squeegee head 13 is brought into contact with the surface of the mask plate 12 to slide. As a result, the cream solder 9 is printed on the printing surface of the substrate 8 through the pattern holes 16 provided in the mask plate 12. As a result, as shown in FIG. 5B, solder printing portions s1, s2, s3, and s4 are formed on the electrodes 8a, 8b, 8c, and 8d, respectively.

スクリーンマスク10の上方には、撮像手段であるカメラ20が設けられている。図3に示すように、カメラ20はX軸テーブル21およびY軸テーブル22によってXY方向に水平移動する。X軸テーブル21およびY軸テーブル22は、カメラ20を移動させるカメラ移動手段となっている。   Above the screen mask 10, a camera 20 that is an imaging means is provided. As shown in FIG. 3, the camera 20 is horizontally moved in the XY directions by the X-axis table 21 and the Y-axis table 22. The X-axis table 21 and the Y-axis table 22 are camera moving means for moving the camera 20.

基板位置決め部1は、図2に示すようにY軸テーブル3によってスクリーンマスク10の下方からY方向に移動して保持した基板8を基板認識位置まで移動させることができるようになっており、この状態で図4(b)に示すように、カメラ20を基板位置決め部1の保持された基板8の上方に移動させることにより、カメラ20によって基板8の任意の位置を撮像することができる。印刷後の基板8を対象とした半田検査は、印刷後の基板8をカメラ20によって撮像して得られたカラー画像に基づいて実行される。   As shown in FIG. 2, the substrate positioning unit 1 can move the substrate 8 held by moving in the Y direction from below the screen mask 10 to the substrate recognition position by the Y-axis table 3. In this state, as shown in FIG. 4B, the camera 20 can image an arbitrary position of the substrate 8 by moving the camera 20 above the substrate 8 held by the substrate positioning unit 1. The solder inspection for the printed circuit board 8 is executed based on a color image obtained by imaging the printed circuit board 8 with the camera 20.

次に図6を参照して、スクリーン印刷装置に組み込まれた半田検査装置の制御系の構成について説明する。制御部23は全体制御装置であり、以下に説明する各部の全体制御を行う。検査座標位置記憶部24は、基板8の回路形成面において半田検査の対象となる部位、すなわち電極8a、8b、8c、8dの位置座標を記憶する。   Next, the configuration of the control system of the solder inspection apparatus incorporated in the screen printing apparatus will be described with reference to FIG. The control unit 23 is an overall control device, and performs overall control of each unit described below. The inspection coordinate position storage unit 24 stores the position coordinates of the parts to be subjected to solder inspection on the circuit forming surface of the substrate 8, that is, the electrodes 8a, 8b, 8c, and 8d.

カメラ20は基板8を撮像して撮像データからR(赤)、G(緑)、B(青)の3要素を抽出し、それぞれの要素を1つの独立の次元とする3次元のRGB画像データを取得して出力する。カラーモデル変換部30は、カメラ20によって取得された3次元のRGB画像データを、H(色合い)、S(彩り)、I(明るさ)の3要素のそれぞれの要素を1つの独立の次元とする3次元のHSI画像データに変換する。   The camera 20 images the substrate 8 and extracts three elements R (red), G (green), and B (blue) from the image data, and three-dimensional RGB image data in which each element is one independent dimension. Is obtained and output. The color model conversion unit 30 converts the three-dimensional RGB image data acquired by the camera 20 into three independent elements of H (hue), S (color), and I (brightness) as one independent dimension. To three-dimensional HSI image data.

画像抽出部31は、カラーモデル変換されたHSI画像データから色抽出画像を取得する。すなわち、半田印刷後の基板8を撮像したHSI画像データから、半田印刷部s1,s2,s3,s4を分離抽出可能な画像を取得する。検査処理部29は、半田印刷部s1,s2,s3,s4が分離抽出された色抽出画像に基づいて所定の検査を行う。すなわち、分離抽出された半田印刷部s1,s2,s3,s4の位置や面積などを示す検査諸量を検出し、これらの検査諸量を判定基準となるしきい値と比較して合否判定を行う。   The image extraction unit 31 acquires a color extraction image from the color model converted HSI image data. That is, an image capable of separating and extracting the solder printing portions s1, s2, s3, and s4 is acquired from the HSI image data obtained by imaging the board 8 after the solder printing. The inspection processing unit 29 performs a predetermined inspection based on the color extraction image obtained by separating and extracting the solder printing units s1, s2, s3, and s4. That is, inspection quantities indicating the positions and areas of the separated solder printing portions s1, s2, s3, and s4 are detected, and these inspection quantities are compared with a threshold value as a determination criterion to determine pass / fail. Do.

パラメータ変更部25は、HSI画像データを構成するH、S、Iの3要素のうちの少なくとも1つについて、色抽出画像の生成に用いられるデータ変換テーブルの変換特性を示す色抽出パラメータのパラメータ値を、所定の変更パターンで複数の異なるパラメータ値に変更する。   The parameter changing unit 25 is a parameter value of a color extraction parameter indicating a conversion characteristic of a data conversion table used for generating a color extraction image for at least one of the three elements H, S, and I constituting the HSI image data. Are changed to a plurality of different parameter values in a predetermined change pattern.

ここで色抽出パラメータについて説明する。HSI画像データから色抽出画像を生成する際には、検出対象部位が周囲から明瞭に識別されるよう、検出対象部位が周囲の色と明瞭に異なった色として抽出されるような色抽出特性に設定する必要がある。この色抽出特性の設定は、予め作成され記憶された複数のデータ変換テーブルから最も適したデータ変換テーブルを選定することにより行われる。データ変換テーブルの種類としては、一般にH,S,Iの特定帯域のデータ値を取捨、もしくは所定変換パターンでデータ値を変換するフィルタ形式のものが用いられる。   Here, the color extraction parameter will be described. When the color extraction image is generated from the HSI image data, the color extraction characteristic is such that the detection target part is extracted as a color clearly different from the surrounding colors so that the detection target part is clearly identified from the surroundings. Must be set. The color extraction characteristics are set by selecting the most suitable data conversion table from a plurality of data conversion tables created and stored in advance. As a type of the data conversion table, generally, a filter type filter is used in which data values in specific bands of H, S, and I are discarded or data values are converted by a predetermined conversion pattern.

上述の色抽出パラメータはこのデータ変換テーブルによる変換特性をH、S、Iの特定値(例えばフィルタ形式におけるデータ取得帯域の上下限値、中央値など)に対応させたものであり、色抽出パラメータを指定することによりこの指定されたパラメータ値に対応した変換特性のデータ変換テーブルが自動的に選定される。すなわち色抽出パラメータのパラメータ値を段階的に変化させると、データ変換テーブルの変換特性も段階的に変化し、これに伴ってHSI画像データから生成される色抽出画像が一定の傾向で段階的に変化する。   The color extraction parameters described above are obtained by making the conversion characteristics based on the data conversion table correspond to specific values of H, S, and I (for example, upper and lower limit values and median values of the data acquisition band in the filter format). By designating, a data conversion table having conversion characteristics corresponding to the specified parameter value is automatically selected. That is, when the parameter value of the color extraction parameter is changed step by step, the conversion characteristics of the data conversion table also change stepwise, and accordingly, the color extraction image generated from the HSI image data is stepped with a certain tendency. Change.

本実施の形態では、H、Iの2要素をパラメータ変更の対象としており、後述する色抽出ティーチ処理の実行画面上で所定の操作を行うことにより、H,Iの2要素について、色抽出画像の生成に用いられるデータ変換テーブルの変換特性、すなわち色抽出特性を、H,Iのそれぞれに対応した色抽出パラメータの2つのパラメータ値の組み合わせとして設定できるようになっている。   In this embodiment, two elements H and I are subject to parameter change, and a color extraction image is obtained for two elements H and I by performing a predetermined operation on an execution screen for color extraction teach processing described later. The conversion characteristics of the data conversion table used for generating the data, that is, the color extraction characteristics can be set as a combination of two parameter values of the color extraction parameters corresponding to H and I, respectively.

ここでパラメータ変更のパターンとしては、後述するように指定されたパラメータ値を中央値として、この中央値を中心として増減方向に指定された振り幅(変更された複数のパラメータ値全体の変更範囲に対応している)だけ隔てた2つのパラメータ値を新たに加えて、複数の異なるパラメータ値とする変更パターンが用いられる。   Here, as a parameter change pattern, the specified parameter value is set as the median value as described later, and the swing width specified in the increase / decrease direction around this median value (within the change range of all the changed parameter values). A change pattern is used in which two parameter values separated by (corresponding) are newly added to form a plurality of different parameter values.

複数画像表示設定部27は、複数の異なる色抽出パラメータによって抽出された複数の色抽出画像を、画像表示部32に同時に表示するための設定処理を行う。複数画像表示設定部27、画像表示部32およびモニタ33は、変更された複数の異なる色抽出パラメータによって抽出された複数の色抽出画像を同時に表示する画像表示手段となっている。 The multiple image display setting unit 27 performs a setting process for simultaneously displaying a plurality of color extraction images extracted by a plurality of different color extraction parameters on the image display unit 32. The multiple image display setting unit 27, the image display unit 32, and the monitor 33 serve as image display means for simultaneously displaying a plurality of color extraction images extracted by a plurality of changed different color extraction parameters.

パラメータ記憶部25は、適正色抽出画像を与える色抽出パラメータ、すなわち前述のように色抽出パラメータを変更して得られた複数の色抽出画像を目視観察することにより選択された色抽出パラメータを、検査実行用の色抽出パラメータとして記憶する。画像表示部32は、モニタ33に各種画像を同時に表示するための処理を行う。ここでは操作・
入力時の案内画面のほか、後述する色抽出ティーチ時の操作画面などが表示される。
The parameter storage unit 25 selects a color extraction parameter that gives an appropriate color extraction image, that is, a color extraction parameter selected by visually observing a plurality of color extraction images obtained by changing the color extraction parameter as described above. Stored as color extraction parameters for inspection execution. The image display unit 32 performs processing for simultaneously displaying various images on the monitor 33. Here is the operation
In addition to the guidance screen at the time of input, an operation screen at the time of color extraction teaching, which will be described later, is displayed.

操作・入力部28は、キーボード、マウス、およびモニタ33の画面に設定されたタッチパネルスイッチなどの入力手段であり、操作コマンドや各種データの入力を行うほか、モニタ33に同時に表示された複数の色抽出画像を目視観察することにより適正色抽出画像を選定する際の指示入力を行う。 The operation / input unit 28 is an input unit such as a keyboard, a mouse, and a touch panel switch set on the screen of the monitor 33. The operation / input unit 28 inputs an operation command and various data, and a plurality of colors simultaneously displayed on the monitor 33. An instruction is input for selecting an appropriate color extraction image by visually observing the extraction image.

次に半田検査に先立って実行される色抽出ティーチ処理について、図7に示す色抽出ティーチ画面を参照しながら説明する。この色抽出ティーチ処理は、前述の色抽出パラメータ変更により得られた複数の色抽出画像をモニタ画面に同時に表示させ、これらの複数の色抽出画像をオペレータが目視観察して適性抽出画像を選択することにより、適正な色抽出パラメータを設定するものである。 Next, color extraction teach processing executed prior to solder inspection will be described with reference to the color extraction teach screen shown in FIG. In this color extraction teaching process, a plurality of color extraction images obtained by changing the color extraction parameters described above are simultaneously displayed on the monitor screen, and the plurality of color extraction images are visually observed and an aptitude extraction image is selected. Thus, an appropriate color extraction parameter is set.

図7において、表示画面35には原画像表示枠37および色抽出画像表示枠36が設定されている。原画像表示枠37には、カメラ20によって撮像された原画像、すなわち検査対象部位のRGB画像が表示される。色抽出画像表示枠36にはサブ表示枠36aが3行3列のマトリックス配置で設定されており、各サブ表示枠36aには、それぞれ色抽出パラメータであるH,Iの設定値の組み合わせに対応した色抽出画像が同時に表示される(図10,図11参照)。 In FIG. 7, an original image display frame 37 and a color extraction image display frame 36 are set on the display screen 35. In the original image display frame 37, an original image captured by the camera 20, that is, an RGB image of the examination target part is displayed. In the color extraction image display frame 36, sub display frames 36a are set in a matrix arrangement of 3 rows and 3 columns, and each sub display frame 36a corresponds to a combination of H and I set values as color extraction parameters. The extracted color images are displayed simultaneously (see FIGS. 10 and 11).

すなわち、後述するようにこの色抽出ティーチにおいては、H,Iはそれぞれ3つのパラメータ値(H1,H2,H3)、(I1,I2,I3)が1つの組み合わせで設定される。そしてこれらの3通りのH,Iをそれぞれ組み合わせた9種類の組み合わせ((H1,I1)、(H1,I2)、(H1,I3)・・・・)に応じて9種類の色抽出画像が生成され、各サブ表示枠36aにH,Iの変化に対応した配列で表示される。ここでは、行方向にHが対応し、列方向にはIが対応している。色抽出画像表示枠36の中央に位置する中央サブ表示枠36a*は、当該色抽出画像を与える色抽出パラメータの中央値(H2,I2)に対応する基準色抽出画像となっている。   That is, as will be described later, in this color extraction teach, three parameter values (H1, H2, H3) and (I1, I2, I3) are set in one combination for H and I, respectively. Then, nine types of color extraction images are obtained according to nine types of combinations ((H1, I1), (H1, I2), (H1, I3)...) Obtained by combining these three types of H and I, respectively. The sub-display frames 36a are generated and displayed in an array corresponding to changes in H and I. Here, H corresponds to the row direction and I corresponds to the column direction. The central sub display frame 36a * located at the center of the color extraction image display frame 36 is a reference color extraction image corresponding to the median value (H2, I2) of the color extraction parameters that give the color extraction image.

色抽出ティーチ処理においては、色抽出ボタン38を操作することにより色抽出画像が画面表示され、色抽出画像表示枠36に同時に表示された複数の色抽出画像を目視観察してその中から最適と判断した画像が表示されているサブ表示枠36aをタッチ処理することにより、当該画像が候補画像として特定される。そして確定ボタン39を操作することにより、候補画像が実際の検査に使用される検査用色抽出パラメータとして確定される。 In the color extraction teaching process, the color extraction image is displayed on the screen by operating the color extraction button 38, and a plurality of color extraction images displayed simultaneously in the color extraction image display frame 36 are visually observed, and the optimum one is selected. By touching the sub display frame 36a on which the determined image is displayed, the image is specified as a candidate image. Then, by operating the confirm button 39, the candidate image is confirmed as an inspection color extraction parameter used for actual inspection.

表示画面35には、色抽出パラメータであるH、Iのパラメータ値を設定するためのH設定操作部40,I設定操作部41が設けられている。H設定操作部40は、H帯域表示40a、H中央値設定ボタン40b、H振り幅設定ボタン40cより構成されており、I設定操作部41は、I帯域表示41a、I中央値設定ボタン41b、I振り幅設定ボタン41cより構成されている。   The display screen 35 is provided with an H setting operation unit 40 and an I setting operation unit 41 for setting H and I parameter values as color extraction parameters. The H setting operation unit 40 includes an H band display 40a, an H median value setting button 40b, and an H amplitude setting button 40c. The I setting operation unit 41 includes an I band display 41a, an I median setting button 41b, It consists of an I swing width setting button 41c.

図8を参照して、H設定操作部40,I設定操作部41の機能を説明する。図8(a)は、H帯域表示40aを示しており、等間隔で設定された3つのパラメータ値H1,H2,H3が表示される。H中央値設定ボタン40bを操作することにより、図8(b)に示すように、中央値Mを任意に設定可能なM1からM2に、またM2からM1に移動させることができる。またH振り幅設定ボタン40cを操作することにより、全体振り幅を任意に設定可能なB1からB2に、またB2からB1に増減させることができる。   With reference to FIG. 8, functions of the H setting operation unit 40 and the I setting operation unit 41 will be described. FIG. 8A shows an H band display 40a, in which three parameter values H1, H2, and H3 set at equal intervals are displayed. By operating the H median value setting button 40b, as shown in FIG. 8B, the median value M can be moved from M1 to M2 which can be arbitrarily set, and from M2 to M1. Further, by operating the H swing width setting button 40c, the overall swing width can be increased or decreased from B1 to B2 which can be arbitrarily set, and from B2 to B1.

すなわちH設定操作部40を操作することにより、色抽出パラメータであるHについて、中央値M、全体振り幅Bによって3つのパラメータ値H1,H2,H3の組み合わせを設定できるようになっている。I設定操作部41についても同様に、色抽出パラメータであるIについて、I中央値設定ボタン41b、I振り幅設定ボタン41cを操作して中央値M、全体振り幅Bを指定することにより、3つのパラメータ値I1,I2,I3の組み合わせを設定することができる。   That is, by operating the H setting operation unit 40, a combination of three parameter values H1, H2, and H3 can be set for the color extraction parameter H by the median value M and the overall swing width B. Similarly, for the I setting operation unit 41, for the color extraction parameter I, the I median value setting button 41b and the I swing width setting button 41c are operated to specify the median value M and the overall swing width B. A combination of two parameter values I1, I2, and I3 can be set.

図10は、このようにして色抽出パラメータのパラメータ値(H1,H2,H3)、(I1,I2,I3)を設定することにより、表示画面35に表示される画像の例を示している。すなわち、原画像表示枠37には半田印刷部sを撮像した原画像が表示され、色抽出画像表示枠36の各サブ画像表示枠36aには、H,Iのパラメータ値の組み合わせに対応した色抽出画像がそれぞれ同時に表示される。色抽出ティーチにおいては、各サブ画像表示枠36aに同時に表示された色抽出画像を原画像と対照し、半田印刷部sに対応する部分が最も明瞭に分離抽出される色抽出画像を選択する。 FIG. 10 shows an example of an image displayed on the display screen 35 by setting the parameter values (H1, H2, H3) and (I1, I2, I3) of the color extraction parameters in this way. That is, an original image obtained by imaging the solder printing portion s is displayed in the original image display frame 37, and colors corresponding to combinations of H and I parameter values are displayed in each sub-image display frame 36a of the color extraction image display frame 36. Extracted images are displayed simultaneously . In the color extraction teaching, the color extraction image displayed simultaneously in each sub-image display frame 36a is compared with the original image, and the color extraction image from which the portion corresponding to the solder printing portion s is most clearly separated and extracted is selected.

なお、本実施の形態の半田検査装置においては、前述の基準色抽出画像を画面上で指定することにより、自動的に色抽出を再実行する機能を備えている。すなわち、色抽出画像表示枠36に同時に表示された複数の色抽出画像を目視観察して、その中から最適と判断した画像が表示されているサブ表示枠36aをタッチ処理することにより、当該画像は自動的に基準色抽出画像に設定されて中央サブ表示枠36a*に移動する。 Note that the solder inspection apparatus according to the present embodiment has a function of automatically re-extracting color by designating the above-described reference color extraction image on the screen. That is, by visually observing a plurality of color extraction images displayed simultaneously on the color extraction image display frame 36, touch processing is performed on the sub display frame 36a on which the image determined to be optimal is displayed. Is automatically set as the reference color extraction image and moved to the center sub-display frame 36a *.

そして当該画像の抽出に用いられた色抽出パラメータ値を新たに中央値H2,I2に更新して、既設定の振り幅Bに基づいてその他のパラメータ値H1,H3,I1,I3が新たに設定される。これらの新たなパラメータ値の組み合わせによって生成された色抽出画像は色抽出画像表示枠36に新たに表示され、オペレータはこれらの色抽出画像の中から再度最適と思われる色抽出画像を選定する。この色抽出画像選定ステップを複数回反復することにより、最適色抽出画像に容易に到達することができる。   Then, the color extraction parameter value used for extraction of the image is newly updated to the median value H2, I2, and other parameter values H1, H3, I1, I3 are newly set based on the preset swing width B. Is done. The color extraction image generated by the combination of these new parameter values is newly displayed in the color extraction image display frame 36, and the operator again selects a color extraction image that seems to be optimal from these color extraction images. By repeating this color extraction image selection step a plurality of times, the optimal color extraction image can be easily reached.

次に図9を参照して、上述の半田検査装置を用いた半田検査方法において実行される半田検査用の色抽出ティーチ処理について説明する。この色抽出ティーチは、カメラ20によって取得されたカラー画像から、検査対象部位である要素半田印刷部((図4(b)参照))を明瞭に分離抽出するために、色抽出パラメータを最適に設定することを目的として行われるものである。   Next, with reference to FIG. 9, a color extraction teach process for solder inspection executed in the solder inspection method using the above-described solder inspection apparatus will be described. This color extraction teach optimizes the color extraction parameters in order to clearly separate and extract the element solder printing portion (see FIG. 4B), which is the inspection target part, from the color image acquired by the camera 20. This is done for the purpose of setting.

まず(ST1)にて半田検査用の色抽出ティーチが開始されると、検査位置へカメラ20を移動させる。すなわち半田印刷後の基板8を保持した基板位置決め部1を認識位置へ移動させ(図5(b)参照)、次いでカメラ20を基板8の検査位置へ移動させる(ST2)。そしてカメラ20によって基板8を撮像して、半田印刷(半田印刷部)の原画像、すなわちR、G、Bの3要素のそれぞれの要素を1つの独立の次元とする3次元のRGB画像データを取得する(ST3)(画像取得工程)。   First, when the color extraction teaching for solder inspection is started in (ST1), the camera 20 is moved to the inspection position. That is, the board positioning unit 1 holding the board 8 after solder printing is moved to the recognition position (see FIG. 5B), and then the camera 20 is moved to the inspection position of the board 8 (ST2). Then, the substrate 20 is imaged by the camera 20, and the original image of solder printing (solder printing part), that is, three-dimensional RGB image data in which each of the three elements R, G, and B is one independent dimension. Obtain (ST3) (image obtaining step).

次に取得された3次元のRGB画像データを、H、S、Iの3要素のそれぞれの要素を1つの独立の次元とする3次元のHSI画像データに変換する(ST4)(カラーモデル変換工程)。そして変換されたHSI画像データから、半田印刷部を認識するための色抽出画像を生成する(画像抽出工程)。   Next, the acquired three-dimensional RGB image data is converted into three-dimensional HSI image data in which each of the three elements H, S, and I is one independent dimension (ST4) (color model conversion process) ). Then, a color extraction image for recognizing the solder printing portion is generated from the converted HSI image data (image extraction step).

この画像抽出工程においては、以下のステップが実行される。まず、色抽出パラメータI,H(明るさ、色合い)を変化させて、複数の色抽出画像を生成する(ST5)。すなわち、H、S、Iの3要素のうちの少なくとも1つ(本実施の形態では、H,Iの2つ)について、色抽出画像の生成に用いられるデータ変換テーブルの変換特性を示す色抽出パラメータのパラメータ値を所定の変更パターンで複数の異なるパラメータ値に変更し、これら変更された複数の異なるパラメータ値に対応する変換特性のデータ変換テーブルによって抽出された複数の色抽出画像を生成する。   In this image extraction process, the following steps are executed. First, the color extraction parameters I and H (brightness and hue) are changed to generate a plurality of color extraction images (ST5). That is, color extraction indicating the conversion characteristics of the data conversion table used for generating the color extraction image for at least one of the three elements H, S, and I (in this embodiment, two of H and I). The parameter value of the parameter is changed to a plurality of different parameter values with a predetermined change pattern, and a plurality of color extraction images extracted by the data conversion table of conversion characteristics corresponding to the changed plurality of different parameter values are generated.

そして生成された複数の色抽出画像は、原画像とともにモニタ33に同時に表示される(ST6)。次いで、同時に表示された複数の色抽出画像を目視観察して、適正色抽出画像の有無を判断する(ST7)。ここで適正色抽出画像有りと判断されたならば、この適正色抽出画像を選択し(ST8)、選択された適正色抽出画像を与える色抽出パラメータを検査実行用の色抽出パラメータとして設定する(ST9)。 The generated plurality of color extraction images are simultaneously displayed on the monitor 33 together with the original image (ST6). Next, the plurality of color extraction images displayed at the same time are visually observed to determine the presence or absence of an appropriate color extraction image (ST7). If it is determined that there is a proper color extraction image, this proper color extraction image is selected (ST8), and a color extraction parameter that gives the selected proper color extraction image is set as a color extraction parameter for inspection execution ( ST9).

図11は、色抽出パラメータのパラメータ値(H1,H2,H3)、(I1,I2,I3)を設定することにより、表示画面35に表示される画像の例を示している。すなわち、図10に示す例と同様に原画像表示枠37には半田印刷部sを撮像した原画像が表示され、色抽出画像表示枠36の各サブ画像表示枠36aには、H,Iのパラメータ値の組み合わせに対応した色抽出画像がそれぞれ同時に表示される。この例においては、原画像中には半田印刷部sのみならず、基板表面に印刷された文字Aが撮像されている。 FIG. 11 shows an example of an image displayed on the display screen 35 by setting the parameter values (H1, H2, H3) and (I1, I2, I3) of the color extraction parameters. That is, as in the example shown in FIG. 10, an original image obtained by imaging the solder printing portion s is displayed in the original image display frame 37, and H and I are displayed in each sub-image display frame 36 a of the color extraction image display frame 36. Color extraction images corresponding to combinations of parameter values are displayed simultaneously . In this example, the letter A printed on the substrate surface as well as the solder printing portion s is captured in the original image.

このような場合には、半田認識用の色抽出画像として、単に半田印刷部sが周囲から分離抽出可能であるとともに、文字Aの画像と半田印刷部sとが識別可能であることが必要となる。すなわち、図11に示す例では、(H1,I3)の組見合わせの場合に文字Aの画像と半田印刷部sとが明瞭に識別可能であり、最も適正な色抽出画像を与えている。これに対し、(H2,I3)、(H3,I3)、(H2,I2)、(H3,I2)、(H3、I1)などの組み合わせでは、半田印刷部s自体は周囲から分離抽出可能であるものの、文字Aの画像と半田印刷部sとが明瞭に識別出来ないことから、半田認識用の色抽出画像としては不適切であると判断される。   In such a case, as the color extraction image for solder recognition, it is necessary that the solder printing part s can be simply separated and extracted from the surroundings, and the image of the letter A and the solder printing part s can be distinguished. Become. That is, in the example shown in FIG. 11, in the case of the combination of (H1, I3), the image of the letter A and the solder print portion s can be clearly identified, and the most appropriate color extraction image is given. On the other hand, in the combination of (H2, I3), (H3, I3), (H2, I2), (H3, I2), (H3, I1), etc., the solder print portion s itself can be separated and extracted from the surroundings. However, since the image of the letter A and the solder print portion s cannot be clearly identified, it is determined that the image is inappropriate as a color extraction image for solder recognition.

そしてこの後引き続いて行われる半田検査においては、検査実行用の色抽出パラメータが適用され、この色抽出パラメータによって生成された色抽出画像に基づいて、検査処理部による所定の検査が実行される。すなわち、半田印刷部の位置ずれや面積を示す検査諸量を求め、既設定のしきい値とこれらの検査諸量を比較することにより半田検査が行われる。   In subsequent solder inspection, a color extraction parameter for execution of inspection is applied, and a predetermined inspection is performed by the inspection processing unit based on the color extraction image generated by the color extraction parameter. In other words, the solder inspection is performed by obtaining inspection quantities indicating the positional deviation and area of the solder printing portion and comparing these inspection quantities with preset threshold values.

上記説明したように、本実施の形態に示す半田検査では、画像抽出工程において、H、S、Iの3要素のうちの、H、Iの2つについて、色抽出画像の生成に用いられるデータ
変換テーブルの変換特性を示す色抽出パラメータのパラメータ値を所定の変更パターンで複数の異なるパラメータ値に変更し、これら変更された複数の異なるパラメータ値に対応する変換特性のデータ変換テーブルによって抽出された複数の色抽出画像を同時に表示するようにしている。これにより、色抽出パラメータの適否を判断する際には、複数の色抽出画像を同時に目視観察して原画像と対照することができ、より適正な色抽出パラメータの設定を熟練を要することなく直観的な判断に基づいて行うことができる。
As described above, in the solder inspection shown in the present embodiment, in the image extraction process, data used to generate a color extraction image for two of H, I, and H among three elements of H, S, and I. The parameter value of the color extraction parameter indicating the conversion characteristic of the conversion table is changed to a plurality of different parameter values with a predetermined change pattern, and extracted by the data conversion table of the conversion characteristic corresponding to the changed plurality of different parameter values. A plurality of color extraction images are displayed simultaneously . As a result, when determining the suitability of the color extraction parameters, it is possible to visually observe a plurality of color extraction images at the same time and compare them with the original image, and to set the more appropriate color extraction parameters intuitively without requiring skill. This can be done based on reasonable judgment.

従来装置においては、色抽出ティーチにおいては1回のパラメータ設定操作毎に1つの色抽出画像(図7における基準色抽出画像に相当)が表示されるのみであった。そして表示された色抽出画像が不適と判断された場合に色抽出パラメータをどのように変更すればより適切な色抽出画像が得られるかという判断は熟練者しか行えず、非熟練者がこの色抽出ティーチを行おうとすれば色抽出パラメータを手探りで変化させる試行錯誤的な方法を余儀なくされていた。   In the conventional apparatus, only one color extraction image (corresponding to the reference color extraction image in FIG. 7) is displayed for each parameter setting operation in the color extraction teach. When it is determined that the displayed color extraction image is inappropriate, only a skilled person can determine how to change the color extraction parameter to obtain a more appropriate color extraction image. In order to perform extraction teaching, a trial-and-error method for changing color extraction parameters by hand was forced.

これに対し本発明によれば、従来は熟練者しか行えなかった色抽出ティーチ作業を非熟練者でも容易に行うことができ、カラー画像処理における色抽出を適切にかつ効率的に行うことができるとともに、常に適切な色抽出画像を得ることができることから、検査結果のばらつきを排除して安定した半田検査を行うことができる。   On the other hand, according to the present invention, a color extraction teaching operation that could only be performed by a skilled person can be easily performed by a non-experienced person, and color extraction in color image processing can be performed appropriately and efficiently. At the same time, since an appropriate color extraction image can be obtained at all times, variations in inspection results can be eliminated and stable solder inspection can be performed.

なお本実施の形態では、H、S、Iの3要素のうち、H、Iの2要素を対象として色抽出パラメータを変化させる例を示しているが、Iの替わりにSを色抽出パラメータに含めてもよい。   In the present embodiment, an example is shown in which the color extraction parameter is changed for the two elements H and I out of the three elements H, S, and I. However, instead of I, S is used as the color extraction parameter. May be included.

本発明の半田検査装置および半田検査方法は、カラー画像処理における色抽出を適切にかつ効率的に行うことができるという効果を有し、半田印刷後の基板を撮像して得られたカラー画像に基づいて所定の検査を行う分野に有用である。   The solder inspection apparatus and the solder inspection method of the present invention have an effect that color extraction in color image processing can be performed appropriately and efficiently, and a color image obtained by imaging a substrate after solder printing is obtained. This is useful in the field of performing a predetermined inspection based on the above.

本発明の一実施の形態のスクリーン印刷装置の正面図1 is a front view of a screen printing apparatus according to an embodiment of the present invention. 本発明の一実施の形態のスクリーン印刷装置の側面図The side view of the screen printing apparatus of one embodiment of this invention 本発明の一実施の形態のスクリーン印刷装置の平面図The top view of the screen printing apparatus of one embodiment of this invention 本発明の一実施の形態のスクリーン印刷装置の動作説明図Operation explanatory diagram of a screen printing apparatus according to an embodiment of the present invention 本発明の一実施の形態のスクリーン印刷装置による基板印刷面の平面図The top view of the substrate printing surface by the screen printing apparatus of one embodiment of this invention 本発明の一実施の形態のスクリーン印刷装置に組み込まれた半田検査装置の制御系の構成を示すブロック図The block diagram which shows the structure of the control system of the solder inspection apparatus incorporated in the screen printing apparatus of one embodiment of this invention 本発明の一実施の形態の半田検査装置の色抽出ティーチ画面を示す図The figure which shows the color extraction teach screen of the solder inspection apparatus of one embodiment of this invention 本発明の一実施の形態の半田検査装置の色抽出ティーチにおけるパラメータ変更操作の説明図Explanatory drawing of parameter change operation in the color extraction teach of the solder inspection apparatus of one embodiment of this invention 本発明の一実施の形態の半田検査方法における色抽出パラメータ設定処理のフロー図The flowchart of the color extraction parameter setting process in the solder inspection method of one embodiment of this invention 本発明の一実施の形態の半田検査方法における色抽出画像を示す図The figure which shows the color extraction image in the solder inspection method of one embodiment of this invention 本発明の一実施の形態の半田検査方法における色抽出画像を示す図The figure which shows the color extraction image in the solder inspection method of one embodiment of this invention

符号の説明Explanation of symbols

8 基板
9 クリーム半田
20 カメラ
25 パラメータ変更部
26 パラメータ記憶部
29 検査処理部
30 カラーモデル変換部
31 画像抽出部
32 画像表示部
8 Substrate 9 Cream solder 20 Camera 25 Parameter change unit 26 Parameter storage unit 29 Inspection processing unit 30 Color model conversion unit 31 Image extraction unit 32 Image display unit

Claims (4)

半田印刷後の基板を撮像して所定の検査を行う半田検査装置であって、
基板を撮像してR(赤)、G(緑)、B(青)の3要素のそれぞれの要素を1つの独立の次元とする3次元のRGB画像データを取得するカメラと、
前記3次元のRGB画像データを、H(色合い)、S(彩り)、I(明るさ)の3要素のそれぞれの要素を1つの独立の次元とする3次元のHSI画像データに変換するカラーモデル変換部と、
前記HSI画像データから色抽出画像を生成する画像抽出部と、
前記色抽出画像に基づいて前記所定の検査を行う検査処理部と、
前記H、S、Iの3要素のうちの少なくとも1つについて、前記色抽出画像の生成に用いられるデータ変換テーブルの変換特性を示す色抽出パラメータのパラメータ値を所定の変更パターンで複数の異なるパラメータ値に変更するパラメータ変更部と、
前記変更された複数の異なるパラメータ値に対応する変換特性のデータ変換テーブルによって抽出された複数の色抽出画像を同時に表示する画像表示手段と、
同時に表示された前記複数の色抽出画像を目視観察することにより選択された適正色抽出画像を与えるパラメータ値を検査実行用パラメータ値として記憶するパラメータ記憶部を備えたことを特徴とする半田検査装置。
A solder inspection apparatus for imaging a substrate after solder printing and performing a predetermined inspection,
A camera that captures a substrate and acquires three-dimensional RGB image data in which each of the three elements R (red), G (green), and B (blue) is an independent dimension;
A color model for converting the three-dimensional RGB image data into three-dimensional HSI image data in which each of the three elements H (color), S (color), and I (brightness) is an independent dimension. A conversion unit;
An image extraction unit for generating a color extraction image from the HSI image data;
An inspection processing unit that performs the predetermined inspection based on the color extraction image;
For at least one of the three elements H, S, and I, a parameter value of a color extraction parameter indicating a conversion characteristic of a data conversion table used for generating the color extraction image is set to a plurality of different parameters with a predetermined change pattern. A parameter change section to change to a value;
Image display means for simultaneously displaying a plurality of color extraction images extracted by a data conversion table of conversion characteristics corresponding to the changed plurality of different parameter values;
A solder inspection apparatus comprising: a parameter storage unit that stores parameter values that give an appropriate color extraction image selected by visually observing the plurality of color extraction images displayed simultaneously as parameter values for inspection execution .
前記パラメータ変更部は、前記複数のパラメータ値の中央値とこれら複数のパラメータ値全体の変更範囲に対応した振り幅とを指定することにより、複数のパラメータ値に変更することを特徴とする請求項1記載の半田検査装置。   The parameter changing unit changes the parameter value to a plurality of parameter values by designating a median value of the plurality of parameter values and an amplitude corresponding to a change range of the plurality of parameter values as a whole. 1. The solder inspection apparatus according to 1. 半田印刷後の基板を撮像して所定の検査を行う半田検査方法であって、
基板を撮像してR(赤)、G(緑)、B(青)の3要素のそれぞれの要素を1つの独立の次元とする3次元のRGB画像データを取得する画像取得工程と、
前記3次元のRGB画像データを、H(色合い)、S(彩り)、I(明るさ)の3要素のそれぞれの要素を1つの独立の次元とする3次元のHSI画像データに変換するカラーモデル変換工程と、
前記HSI画像データから色抽出画像を生成する画像抽出工程と、
前記色抽出画像に基づいて前記所定の検査を行う検査処理工程とを含み、
前記画像抽出工程において、前記H、S、Iの3要素のうちの少なくとも1つについて、前記色抽出画像の生成に用いられるデータ変換テーブルの変換特性を示す色抽出パラメータのパラメータ値を所定の変更パターンで複数の異なるパラメータ値に変更し、これら変更された複数の異なるパラメータ値に対応する変換特性のデータ変換テーブルによって抽出された複数の色抽出画像を生成するステップと、
生成された複数の色抽出画像を同時に画像表示手段に表示するステップと、
同時に表示された前記複数の色抽出画像を目視観察することにより適正色抽出画像を選択するステップと、
前記適正色抽出画像を与えるパラメータ値を検査実行用パラメータ値として設定するステップとを実行することを特徴とする半田検査方法。
A solder inspection method for imaging a substrate after solder printing and performing a predetermined inspection,
An image acquisition step of imaging a substrate and acquiring three-dimensional RGB image data in which each of the three elements R (red), G (green), and B (blue) is an independent dimension;
A color model for converting the three-dimensional RGB image data into three-dimensional HSI image data in which each of the three elements H (color), S (color), and I (brightness) is an independent dimension. Conversion process;
An image extraction step of generating a color extraction image from the HSI image data;
An inspection processing step for performing the predetermined inspection based on the color extraction image,
In the image extraction step, a parameter value of a color extraction parameter indicating a conversion characteristic of a data conversion table used for generating the color extraction image for at least one of the three elements H, S, and I is changed in a predetermined manner. Changing to a plurality of different parameter values in the pattern, and generating a plurality of color extraction images extracted by a data conversion table of conversion characteristics corresponding to the changed plurality of different parameter values;
Displaying the generated plurality of color extraction images simultaneously on the image display means;
Selecting an appropriate color extraction image by visually observing the plurality of color extraction images displayed simultaneously ;
And a step of setting a parameter value giving the appropriate color extraction image as an inspection execution parameter value.
前記パラメータ値の変更は、前記複数のパラメータ値の中央値とこれら複数のパラメータ値全体の変更範囲に対応した振り幅とを指定して行うことを特徴とする請求項3記載の半田検査方法。   4. The solder inspection method according to claim 3, wherein the parameter value is changed by designating a median value of the plurality of parameter values and a swing width corresponding to a change range of the plurality of parameter values as a whole.
JP2003426847A 2003-12-24 2003-12-24 Solder inspection apparatus and solder inspection method Expired - Fee Related JP4296928B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003426847A JP4296928B2 (en) 2003-12-24 2003-12-24 Solder inspection apparatus and solder inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003426847A JP4296928B2 (en) 2003-12-24 2003-12-24 Solder inspection apparatus and solder inspection method

Publications (2)

Publication Number Publication Date
JP2005188940A JP2005188940A (en) 2005-07-14
JP4296928B2 true JP4296928B2 (en) 2009-07-15

Family

ID=34786272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003426847A Expired - Fee Related JP4296928B2 (en) 2003-12-24 2003-12-24 Solder inspection apparatus and solder inspection method

Country Status (1)

Country Link
JP (1) JP4296928B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7181157B2 (en) * 2019-06-14 2022-11-30 ヤマハ発動機株式会社 Inspection device and coating device equipped with the same
CN112122175B (en) * 2020-08-12 2021-08-10 浙江大学 Material enhanced feature recognition and selection method of color sorter

Also Published As

Publication number Publication date
JP2005188940A (en) 2005-07-14

Similar Documents

Publication Publication Date Title
JP5861462B2 (en) Inspection standard registration method for solder inspection and board inspection apparatus using the method
JP2006292725A (en) Substrate inspection device, its inspection logic setting method, and inspection logic setting device
JP4610393B2 (en) Inspection device
JP4296928B2 (en) Solder inspection apparatus and solder inspection method
JP5182121B2 (en) Library data creation method and inspection data creation method for substrate visual inspection
JP7215218B2 (en) SPECTROSCOPY INSPECTION METHOD, IMAGE PROCESSING DEVICE, AND ROBOT SYSTEM
US9582874B2 (en) Method of detection of faults on circuit boards
JPWO2017135107A1 (en) Connection inspection work support system
CN111274756B (en) Drawing and recording system with online evaluation and operation method
JP2011150392A (en) Picturesque image display device and picturesque image display method
JP2019158555A (en) Defect confirmation device, method for confirming defects, and program
JP2005164352A (en) Solder inspection device and method
WO2011049190A1 (en) Visual testing device and printed solder testing device
JP3835138B2 (en) Color extraction device
JP2002312766A (en) Soldering state inspection device
JP3289070B2 (en) Mounted parts inspection device
JP4048876B2 (en) How to create print inspection data
JP2005156283A (en) Apparatus and method for solder inspection
JP3826646B2 (en) Electronic component mounting condition inspection system
JPH09152317A (en) Method and apparatus for inspection of mounting component
JP2008298462A (en) Apparatus and method for inspecting printed mask
JP2004058298A (en) Printing inspection apparatus and printing inspection method
JP2002160161A (en) Peeling efficiency evaluating method for blast device
WO2022091703A1 (en) Display method, control device, display device, and program
JP4448417B2 (en) Mounting board inspection data creation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060405

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060512

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080729

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080916

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

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

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

Free format text: PAYMENT UNTIL: 20120424

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130424

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130424

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140424

Year of fee payment: 5

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees