JP2015210226A - Visual inspection device and visual inspection method - Google Patents

Visual inspection device and visual inspection method Download PDF

Info

Publication number
JP2015210226A
JP2015210226A JP2014093285A JP2014093285A JP2015210226A JP 2015210226 A JP2015210226 A JP 2015210226A JP 2014093285 A JP2014093285 A JP 2014093285A JP 2014093285 A JP2014093285 A JP 2014093285A JP 2015210226 A JP2015210226 A JP 2015210226A
Authority
JP
Japan
Prior art keywords
inspection
light
area
color
appearance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014093285A
Other languages
Japanese (ja)
Inventor
高木 誠司
Seiji Takagi
誠司 高木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2014093285A priority Critical patent/JP2015210226A/en
Publication of JP2015210226A publication Critical patent/JP2015210226A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a visual inspection device and a visual inspection method, in which, in the visual inspection such as, for example, a solder fillet, occurrence of excessive detection (misinformation) is suppressed and inspection can be performed at a high speed while holding the high percentage of defect-free product.SOLUTION: A visual inspection device includes: an illumination device 5 which is provided so as to irradiate a substrate 1 as an inspection workpiece with inspection light, from a plurality of positions, having light colors different from each other at the positions.; a color imaging device 6 which is arranged and installed so as to receive reflection light irradiated from an illumination device and reflected by the inspection workpiece; and an information processing device 60 which, based on output of the color imaging device, determines a state of the inspection workpiece from individual information on light colors obtained by individual imaging region of the inspection workpiece.

Description

本発明は、例えば電子部品の基板実装後における半田付け状態の外観検査などに好ましく用いることができる外観検査装置及び外観検査方法に関する。   The present invention relates to an appearance inspection apparatus and an appearance inspection method that can be preferably used for, for example, an appearance inspection of a soldered state after mounting an electronic component on a board.

従来の半田付け外観状態などを検査する外観検査装置として、半田付け部のフィレットの形状を取得するため、高さもしくは径を変えたリング状の照明を複数個装備し、各々の照明の反射光をカメラで撮像し、半田フィレットの角度情報を取得して外観検査を行うようにしたものがある(例えば特許文献1参照)。   As a conventional appearance inspection device for inspecting the soldering appearance, etc., in order to obtain the shape of the fillet of the soldering part, it is equipped with multiple ring-shaped illuminations with different heights or diameters, and the reflected light of each illumination Is picked up by a camera, and angle information of the solder fillet is acquired to perform an appearance inspection (see, for example, Patent Document 1).

特開平8−152311号公報(第1頁、図1〜3)Japanese Patent Laid-Open No. 8-152311 (first page, FIGS. 1 to 3)

上記のような外観検査装置にあっては、リング状の照明の角度からの反射光により、半田フィレットの角度成分は取得できるが、例えば部品浮き(不良)と半田量過多気味(良品)といったフィレット角度の情報だけでは判別することができない、垂直方向に不連続の形状がある場合が存在する。見逃しを抑制するためには、これらを不良と判断せざる得ないため、良品であっても不良品として検出するいわゆる過検出(虚報)が発生し、検査に一発で合格したものの比率である直行率低下の問題がある。このため、先行技術では、半田過多(不良)については、リング照明を円周方向に分割し、半田付け部に対向する照明のみを切り替えて照射することで検出している。しかし、この方法では半田過多気味(良品)の判別はできず、また、照明を切り替える必要があり、検査時間が長くなってしまう問題があった。   In the appearance inspection apparatus as described above, the angle component of the solder fillet can be obtained by the reflected light from the angle of the ring-shaped illumination. For example, a fillet such as a component float (defective) and an excessive amount of solder (good product). There is a case where there is a discontinuous shape in the vertical direction that cannot be determined only by angle information. In order to suppress oversight, these must be judged as defective, so even if it is a non-defective product, so-called over-detection (false alarm) is detected and it is the ratio of those that passed the inspection in one shot. There is a problem of lowering the direct rate. For this reason, in the prior art, excessive solder (defective) is detected by dividing the ring illumination in the circumferential direction and switching and irradiating only the illumination facing the soldering portion. However, with this method, it is not possible to discriminate over-soldering (non-defective products), and it is necessary to switch the illumination, resulting in a problem that the inspection time becomes long.

この発明は、上記のような問題点を解決するためになされたものであり、例えば半田フィレットなどの外観検査において、過検出(虚報)の発生が抑制され、高い直行率を保持しつつ高速に検査を行うことができる外観検査装置及び外観検査方法を得ることを目的としている。   The present invention has been made to solve the above-described problems. For example, in appearance inspection of a solder fillet or the like, occurrence of overdetection (false information) is suppressed, and high speed is maintained while maintaining a high straightness rate. An object is to obtain an appearance inspection apparatus and an appearance inspection method capable of performing inspection.

この発明に係る外観検査装置は、検査ワークに対して、複数の位置から、該位置によって互いに異なる光色の検査光を照射するように設けられた照明装置と、前記照明装置から照射され前記検査ワークによって反射された反射光を受光するように配設されたカラー撮像装置と、前記カラー撮像装置の出力に基づいて前記検査ワークの撮像領域別に求められた光色別の情報から前記検査ワークの状態を判定する情報処理装置と、を備えたことを特徴とするものである。
また、この発明に係る外観検査方法は、検査ワークに対して、複数の位置から、該位置によって互いに異なる光色の検査光を照射し、前記検査ワークによって反射された反射光をカラー撮像装置によって受光し、前記カラー撮像装置の出力に基づいて前記検査ワークの撮像領域別に求められた光色別の情報から前記検査ワークの状態を判定することを特徴とするものである。
The visual inspection apparatus according to the present invention includes an illumination device provided to irradiate inspection light of different light colors depending on the position from a plurality of positions on an inspection work, and the inspection that is irradiated from the illumination device. A color imaging device arranged to receive reflected light reflected by the workpiece, and information on the inspection workpiece based on information for each light color obtained for each imaging area of the inspection workpiece based on the output of the color imaging device And an information processing device for determining the state.
In addition, the visual inspection method according to the present invention irradiates the inspection work with inspection light having different light colors depending on the position from a plurality of positions, and reflects the reflected light reflected by the inspection work with a color imaging device. It receives light and determines the state of the inspection work from information for each light color obtained for each imaging region of the inspection work based on the output of the color imaging device.

この発明の外観検査装置によれば、検査ワークに対して、複数の位置から、該位置によって互いに異なる光色の検査光を照射し、前記検査ワークによって反射された反射光を受光するカラー撮像装置の出力に基づいて前記検査ワークの撮像領域別に求められた光色別の情報から前記検査ワークの状態を判定するようにしたので、検査ワークの様々な状態を照明を切替えることなく検査することができ、過検出(虚報)の発生が抑制され、高い直行率を保持しつつ高速に検査を行うことができる。
また、この発明の外観検査方法によれば、検査ワークに対して、複数の位置から、該位置によって互いに異なる光色の検査光を照射し、前記検査ワークによって反射された反射光を受光するカラー撮像装置の出力に基づいて前記検査ワークの撮像領域別に求められた光色別の情報から前記検査ワークの状態を判定するようにしたので、検査ワークの様々な状態を照明を切替えることなく検査することができ、過検出(虚報)の発生が抑制され、高い直行率を保持しつつ高速に検査を行うことができる。
According to the appearance inspection apparatus of the present invention, a color imaging apparatus that irradiates inspection light of different light colors depending on the position from a plurality of positions, and receives reflected light reflected by the inspection work. Since the state of the inspection work is determined from the information for each light color obtained for each imaging area of the inspection work based on the output of the inspection work, it is possible to inspect various states of the inspection work without switching the illumination. It is possible to suppress the occurrence of over-detection (false alarm) and to perform inspection at high speed while maintaining a high direct rate.
Further, according to the appearance inspection method of the present invention, a color for irradiating the inspection work with inspection light of different light colors depending on the position from a plurality of positions and receiving the reflected light reflected by the inspection work. Since the state of the inspection work is determined from the information for each light color obtained for each imaging area of the inspection work based on the output of the imaging device, various states of the inspection work are inspected without switching the illumination. Therefore, the occurrence of overdetection (false alarm) is suppressed, and the inspection can be performed at high speed while maintaining a high straightness rate.

本発明の実施の形態1による外観検査装置の要部を概念的に示す全体構成図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a whole block diagram which shows notionally the principal part of the external appearance inspection apparatus by Embodiment 1 of this invention. 図1に示された照明装置の構成を示す図である。It is a figure which shows the structure of the illuminating device shown by FIG. 図1に示された外観検査装置によって基板に実装された電子部品の半田付け状態を外観検査する際の検査モデルを例示する図である。It is a figure which illustrates the test | inspection model at the time of carrying out an external appearance test | inspection of the soldering state of the electronic component mounted in the board | substrate by the external appearance inspection apparatus shown by FIG. 本発明の実施の形態1による外観検査装置の動作例及び外観検査方法を説明するフローチャートである。It is a flowchart explaining the operation example of the external appearance inspection apparatus by Embodiment 1 of this invention, and the external appearance inspection method.

実施の形態1.
以下、本発明の実施の形態1による外観検査装置を回路基板に実装された電子部品の半田付け状態の外観検査に用いた場合について図面を参照して説明する。なお、図1は本発明の実施の形態1による外観検査装置の要部を概念的に示す全体構成図、図2は図1に示された照明装置の構成を示す図である。図において、検査ワークである基板1は、半田付けされた電子部品2の端子2a、及び端子2aと基板上の電極(図示省略)を接続する半田付け部である半田フィレット3を有している。外観検査装置は、基板1を保持する搬送ステージ4と、搬送ステージ4の図における上方に配設されたリング状の照明装置5、及び半田付け状態を撮像するカラー撮像装置6と、搬送ステージ4をXY軸方向の任意の位置に移動するステージ制御装置40と、照明装置5を制御する照明制御装置50と、カラー撮像装置6の出力に基づいて検査ワークの撮像領域別に求められた光色別の情報から半田フィレット3の状態を判定する情報処理装置60と、を備えている。
Embodiment 1 FIG.
Hereinafter, a case where the appearance inspection apparatus according to Embodiment 1 of the present invention is used for appearance inspection of a soldered state of an electronic component mounted on a circuit board will be described with reference to the drawings. 1 is an overall configuration diagram conceptually showing the main part of an appearance inspection apparatus according to Embodiment 1 of the present invention, and FIG. 2 is a diagram showing the configuration of the illumination device shown in FIG. In the figure, a substrate 1 which is an inspection work has a terminal 2a of a soldered electronic component 2 and a solder fillet 3 which is a soldering portion for connecting the terminal 2a and an electrode (not shown) on the substrate. . The appearance inspection apparatus includes a transport stage 4 that holds the substrate 1, a ring-shaped illumination device 5 disposed above the transport stage 4 in the drawing, a color imaging device 6 that images a soldering state, and a transport stage 4. For each light color obtained for each imaging region of the inspection work based on the output of the stage control device 40 that moves the illuminating device to an arbitrary position in the XY-axis direction, the illumination control device 50 that controls the illumination device 5, and the color imaging device 6 And an information processing device 60 for determining the state of the solder fillet 3 from the above information.

照明装置5は、図2に示すようにリング状で点灯エリアをa、b、c、dで示す如く円周方向に均等に4分割して、対向するエリアの発光色R(赤)、G(緑)、B(青)が互いに異なり(例えば、内周側から外周側に、点灯エリアaではRGBとなっているのに対して対向する点灯エリアbではBGRとなっている)、しかも外径が順次大きくなるようにした3つのリング状光源部51、52、53を同心状にZ軸方向に多段(3段)に設置している。3つのリング状光源部51、52、53は照明制御装置50と接続されており、各リング状光源部51、52、53の点灯エリア(a〜d)の点灯、消灯、照明パワーなどを個別に任意に制御できるように構成されている。照明制御装置50には、ステージ制御装置40からステージ位置信号が入力されており、検査位置に応じて、カラー撮像装置6及び照明装置5へ撮像/発光信号(トリガ信号)を出力する機能を装備している。また、カラー撮像装置6は情報処理装置60に接続されており、撮像した画像データ群から半田付け状態の良否を判定するように構成されている。なお、操作卓や判定結果などを表示するディスプレイなどの付随装置類は図示を省略している。   As shown in FIG. 2, the lighting device 5 is ring-shaped and the lighting area is equally divided into four in the circumferential direction as indicated by a, b, c and d, and the emission colors R (red) and G of the opposing areas are divided. (Green) and B (blue) are different from each other (for example, from the inner periphery side to the outer periphery side, the lighting area a is RGB while the opposing lighting area b is BGR), and the outside Three ring-shaped light source parts 51, 52, and 53 whose diameters are sequentially increased are arranged concentrically in multiple stages (three stages) in the Z-axis direction. The three ring-shaped light source units 51, 52, 53 are connected to the illumination control device 50, and the lighting areas (a to d) of the ring-shaped light source units 51, 52, 53 are individually turned on / off, illumination power, etc. It can be controlled arbitrarily. The illumination control device 50 is supplied with a stage position signal from the stage control device 40 and has a function of outputting an imaging / light emission signal (trigger signal) to the color imaging device 6 and the illumination device 5 in accordance with the inspection position. doing. The color imaging device 6 is connected to the information processing device 60 and is configured to determine whether the soldered state is good or not from the captured image data group. The accompanying devices such as a console and a display for displaying the determination result are not shown.

前記のように構成された実施の形態1において、検査ワークである基板1の半田フィレット3部分に対して照明装置5から検査光を照射する。照明装置5は、点灯エリア、発光色、及びリング状光源部51、52、53のZ軸方向の位置が前述のように構成されていることにより、複数の位置から、該位置によって互いに異なる光色の検査光が照射されるので、半田フィレット3に対して角度を変えた照明が行なわれる。半田フィレット3に照射された検査光は半田フィレット3の表面の傾斜角度などの形状と、検査光の光源の位置と光色に応じて、様々な方向に反射光が発生する。この反射光は図における上方部の所定位置に設置されたカラー撮像装置6によって撮像され、以下の手順によって半田付け部分の良否を判定する。   In the first embodiment configured as described above, the illumination device 5 irradiates inspection light onto the solder fillet 3 portion of the substrate 1 which is an inspection work. The illumination device 5 is configured such that the lighting area, the emission color, and the positions of the ring-shaped light source units 51, 52, and 53 in the Z-axis direction are configured as described above. Since the color inspection light is irradiated, the solder fillet 3 is illuminated at a different angle. The inspection light applied to the solder fillet 3 generates reflected light in various directions depending on the shape such as the inclination angle of the surface of the solder fillet 3 and the position and light color of the light source of the inspection light. The reflected light is picked up by the color image pickup device 6 installed at a predetermined position in the upper part of the drawing, and the quality of the soldered portion is determined by the following procedure.

以下、カラー撮像装置6によって撮像された画像上で基板1に図の左右方向(X軸方向)に実装された電子部品2の端子2aが存在し、かつ電子部品2の右側の半田付け部の半田フィレット3に対し、図2の照明装置5を適用した場合の動作例について図3及び図4を参照して説明する。なお、図3は図1に示された外観検査装置によって基板に実装された電子部品2の半田付け状態を外観検査する際の検査モデルを例示する図、図4は本発明の実施の形態1による外観検査装置の動作例及び外観検査方法を説明するフローチャートである。なお、図3における(a)半田付け状態良品、(b)は半田少(不良)、(c)は半田過多(不良)、(d)は半田過多気味(良品)、(e)は部品浮き/未半田(不良)を側面から見たときの模式図である。また、図3の(a)〜(e)にそれぞれ示す表中、ア〜エは検査領域を列方向に分割した検査エリアであり、1行は各検査エリア中において測定された後述する代表輝度を与える光色を示している。   Hereinafter, the terminal 2a of the electronic component 2 mounted on the substrate 1 in the left-right direction (X-axis direction) in the figure on the image captured by the color imaging device 6 exists, and the soldering portion on the right side of the electronic component 2 An operation example when the illumination device 5 of FIG. 2 is applied to the solder fillet 3 will be described with reference to FIGS. 3 and 4. 3 is a diagram illustrating an inspection model when visual inspection is performed on the soldering state of the electronic component 2 mounted on the substrate by the visual inspection apparatus shown in FIG. 1, and FIG. 4 is a first embodiment of the present invention. 5 is a flowchart for explaining an operation example and an appearance inspection method of the appearance inspection apparatus according to FIG. In FIG. 3, (a) soldered state good product, (b) solder low (defective), (c) excessive solder (defective), (d) excessive solder (good), (e) component floating. / It is a schematic diagram when unsoldering (defective) is seen from the side. Further, in the tables shown in FIGS. 3A to 3E, A to D are inspection areas obtained by dividing the inspection area in the column direction, and one row represents representative luminance described later measured in each inspection area. Shows the light color.

(ステップS1)
予め設定した検査エリア(ア〜エ)の画素群に対して上下方向(画像上ではY方向、図1及び図3では紙面の前後方向)に各列の各色の輝度の平均値をそれぞれ求め、各列中で測定された一番高い平均輝度を代表輝度とする。図2の照明装置5の配色では、例えば図3(a)の半田付け部において、検査エリア(ア)及び(エ)に示す平坦部ないしは平坦に近い領域では、カラー撮像装置6に入射される光は、図の位置、角度関係から明らかなように、図2の点灯エリアa、dの最内側のR(赤)と、点灯エリアb、cの最内側のB(青)から照射された検査光の反射光成分が何れも多くなり、カラー撮像装置6で測定されるR、G、B各色の輝度としては赤と青が同程度に高い値となるため、代表輝度はR(赤)またはB(青)の平均輝度となる。図3の1行では便宜上これを「R≒B」と表示している。
(Step S1)
An average value of luminance of each color in each column is obtained in the vertical direction (Y direction on the image, front and rear direction on the paper surface in FIGS. 1 and 3) with respect to the pixel groups in the inspection areas (A to D) set in advance. The highest average luminance measured in each column is set as the representative luminance. In the color scheme of the illuminating device 5 of FIG. 2, for example, in the soldered portion of FIG. 3A, the flat portion shown in the inspection areas (A) and (D) or a region close to flat is incident on the color imaging device 6. As is clear from the positional and angular relationship in the figure, the light was irradiated from the innermost R (red) of the lighting areas a and d and the innermost B (blue) of the lighting areas b and c. Since all of the reflected light components of the inspection light increase and the luminance of each of the R, G, and B colors measured by the color imaging device 6 is about the same, the representative luminance is R (red). Or it becomes the average brightness of B (blue). In the first row of FIG. 3, this is indicated as “R≈B” for convenience.

一方、図3(a)の検査エリア(ウ)及び(イ)では、半田フィレット3の表面の傾斜角度が大きくなり、検査エリア(ウ)から(イ)に向けて角度が徐々に増えるにつれて、カラー撮像装置6に入射する反射光成分は図2の点灯エリアaからの検査光に基づくG、Bが多くなってくる。このため、図3(a)の半田付け部における検査エリア(ウ)では代表輝度はG(緑)、検査エリア(イ)では代表輝度はB(青)の平均輝度となる。
なお、図3(a)の場合、図2の点灯エリアbのリング状光源部53から照射される赤成分(R)の検査光は、図1に示すように、半田フィレット3に対する照射角度が低く、電子部品2の頂部によって遮断されて半田フィレット3には届かないため、点灯エリアbの赤成分(R)に由来する検査光は検査エリア(ウ)及び(イ)では撮像されない。
On the other hand, in the inspection areas (c) and (a) in FIG. 3 (a), the inclination angle of the surface of the solder fillet 3 increases, and as the angle gradually increases from the inspection area (c) to (a), The reflected light components incident on the color imaging device 6 increase in G and B based on the inspection light from the lighting area a in FIG. Therefore, the representative luminance is G (green) in the inspection area (c) in the soldering portion of FIG. 3A, and the representative luminance is B (blue) in the inspection area (b).
3A, the red component (R) inspection light emitted from the ring-shaped light source 53 in the lighting area b in FIG. 2 has an irradiation angle with respect to the solder fillet 3 as shown in FIG. Since it is low and is blocked by the top of the electronic component 2 and does not reach the solder fillet 3, the inspection light derived from the red component (R) in the lighting area b is not imaged in the inspection areas (c) and (b).

なお、検査エリア(ア)は、図3(c)に示すような「半田過多(不良)」の存在を想定して、実際には、図3(c)のように複数の検査エリアとして設定されている。その点は、図3(a)、(b)、(d)、(e)の場合についても図3(c)と同様に複数の検査エリアとして設定されているが、説明の重複を避けるためここでは便宜上1つの検査エリアとしている。
また、図3(b)の検査エリア(イ)における1行に示す「BG」は、代表輝度としては、「B」または「G」であり、検査エリア(イ)における検査エリア(ア)に近い側は「B」、検査エリア(ウ)に近い側は「G」となっていることを示している。
また、図3(c)の検査エリア(ア)の右側の列における1行に示す「B>R」は、代表輝度としては、「B」であるが、「R」成分が0ではないことを示している。
The inspection area (a) is actually set as a plurality of inspection areas as shown in FIG. 3 (c), assuming the existence of “excessive solder (defect)” as shown in FIG. 3 (c). Has been. 3 (a), (b), (d), and (e) are set as a plurality of inspection areas in the same manner as in FIG. 3 (c), but in order to avoid duplication of explanation. Here, one inspection area is used for convenience.
In addition, “BG” shown in one row in the inspection area (A) in FIG. 3B is “B” or “G” as the representative luminance, and is in the inspection area (A) in the inspection area (A). The near side is “B”, and the side near the inspection area (C) is “G”.
Further, “B> R” shown in one row in the right column of the inspection area (a) in FIG. 3C is “B” as the representative luminance, but the “R” component is not zero. Is shown.

(ステップS2)
ステップS1で前記のように各検査エリア(ア〜エ)毎に求められた代表輝度と各列の赤(R)成分の輝度の平均値の差分値dRをとる。図3(a)〜(e)の2行にその差分値dRを与えた色成分を示す。例えば、半田フィレット3の形状が図3(a)の場合について具体的に説明する。
図3(a)の検査エリア(ア)では、1行にR≒Bと示すように、代表輝度はR(赤)成分の輝度の平均値(≒B(青)成分の輝度の平均値)そのものであるので、検査エリア(ア)の代表輝度と検査エリア(ア)の赤(R)成分の輝度の平均値の差分dRは、
dR={R(赤)成分の輝度の平均値}−{R(赤)成分の輝度の平均値}=0
となる。
(Step S2)
In step S1, a difference value dR between the representative luminance obtained for each inspection area (A to D) as described above and the average value of the luminance of the red (R) component in each column is obtained. The color component which gave the difference value dR to two lines of Fig.3 (a)-(e) is shown. For example, the case where the shape of the solder fillet 3 is shown in FIG.
In the inspection area (a) in FIG. 3A, the representative luminance is the average value of the luminance of the R (red) component (≈the average value of the luminance of the B (blue) component) as indicated by R≈B in one row. As such, the difference dR between the average luminance of the representative luminance of the inspection area (A) and the luminance of the red (R) component of the inspection area (A) is
dR = {average value of luminance of R (red) component} − {average value of luminance of R (red) component} = 0
It becomes.

図3(a)の検査エリア(イ)では、1行に「B」と示すように、代表輝度はB(青)成分の輝度の平均値で、R(赤)成分の輝度の平均値は実質的に0であるので、検査エリア(イ)の代表輝度と検査エリア(イ)の赤(R)成分の輝度の平均値の差分値dRは、
B(青)成分の輝度となるため、その差分値を与えた色成分「B」で表示している。
図3(a)の検査エリア(ウ)では、1行に「G」と示すように、代表輝度はG(緑)成分の輝度の平均値で、R(赤)成分の輝度の平均値は実質的に0であるので、検査エリア(ウ)の代表輝度と検査エリア(ウ)の赤(R)成分の輝度の平均値の差分dRは、
G(緑)成分の輝度となるため、その差分値を与えた色成分「G」で表示している。
図3(a)の検査エリア(エ)では、検査エリア(ア)と同様であるので、検査エリア(エ)の代表輝度と検査エリア(エ)の赤(R)成分の輝度の平均値の差分dRは、
dR={R(赤)成分の輝度の平均値}−{R(赤)成分の輝度の平均値}=0
となる。
In the inspection area (A) in FIG. 3A, the representative luminance is the average value of the luminance of the B (blue) component, and the average value of the luminance of the R (red) component is, as indicated by “B” in one row. Since it is substantially 0, the difference value dR between the average luminance of the representative luminance of the inspection area (A) and the luminance of the red (R) component of the inspection area (A) is
Since the luminance is the B (blue) component, the color component “B” is displayed with the difference value.
In the inspection area (c) of FIG. 3A, as indicated by “G” in one row, the representative luminance is the average value of the luminance of the G (green) component, and the average value of the luminance of the R (red) component is Since it is substantially 0, the difference dR between the average luminance of the representative luminance of the inspection area (c) and the luminance of the red (R) component of the inspection area (c) is
Since the luminance of the G (green) component is obtained, the color component “G” to which the difference value is given is displayed.
Since the inspection area (D) in FIG. 3A is the same as the inspection area (A), the average value of the representative luminance of the inspection area (D) and the luminance of the red (R) component of the inspection area (D) is calculated. The difference dR is
dR = {average value of luminance of R (red) component} − {average value of luminance of R (red) component} = 0
It becomes.

(ステップS3)
検査エリア(イ)、(ウ)の代表輝度と赤成分の平均値の差分値dRが双方の検査エリアについて予め設定された閾値である所定値α以上の輝度であれば、赤よりも輝度の高いG(緑)またはB(青)の成分がある、つまり半田フィレット3が正常に存在していると判断し、検査ワークを「良品」とする。ここでは、図3(a)が前記条件に該当しており、良品と判定される。なお、所定値αは半田フィレットが正常の複数のサンプルと、不良の複数のサンプルについてそれぞれ実測して統計的に設定される。
(ステップS4)
検査エリア(イ)の代表輝度と赤成分の平均値の差分値dRが予め設定された所定値β(<α)以上の輝度がある場合、G(緑)またはB(青)の成分がある、つまり少ない半田フィレットが存在していると推定されるものの、良品とすることは適当でなく、「半田少(不良)」と判定する。ここでは、図3(b)が前記条件に該当している。
(Step S3)
If the difference value dR between the representative luminance of the inspection areas (A) and (C) and the average value of the red component is equal to or higher than a predetermined value α that is a preset threshold value for both inspection areas, the luminance is higher than that of red. It is determined that there is a high G (green) or B (blue) component, that is, the solder fillet 3 is present normally, and the inspection work is determined as “good”. Here, FIG. 3A corresponds to the above condition and is determined to be a non-defective product. The predetermined value α is statistically set by actually measuring each of a plurality of samples having a normal solder fillet and a plurality of samples having a defective solder fillet.
(Step S4)
When the difference value dR between the representative luminance of the inspection area (A) and the average value of the red component is equal to or higher than a predetermined value β (<α), there is a component of G (green) or B (blue). That is, although it is estimated that there are a small number of solder fillets, it is not appropriate to make a non-defective product, and it is determined that “solder is low (defective)”. Here, FIG. 3B corresponds to the above condition.

(ステップS5)
検査エリア(ウ)の代表輝度と赤成分の平均値の差分値dRが予め設定された所定値γ以上の輝度があれば、フラットでない部分、つまり半田フィレットが存在すると判断し、「半田過多(不良)」とする。ここでは、図3(c)が前記条件に該当している。
(ステップS6)
代表輝度と各列の青(B)成分の平均値の差分値dBをとる。図3の3行に前記差分値を示す。
(Step S5)
If the difference value dR between the representative luminance of the inspection area (c) and the average value of the red component is equal to or higher than a predetermined value γ, it is determined that there is a non-flat portion, that is, a solder fillet. Bad) ”. Here, FIG. 3C corresponds to the above condition.
(Step S6)
The difference value dB between the representative luminance and the average value of the blue (B) components in each column is taken. The difference values are shown in the third row of FIG.

(ステップS7)
検査エリア(イ)の代表輝度と青成分の平均値の差分値が一定値δ以上の輝度があれば、部品端子の厚みによって図2の点灯エリアbの青成分(B)が届いていないと判断し、「部品浮き(不良)」もしくは「未半田(不良)」とする。ここでは、図3(e)が前記条件に該当している。
(ステップS8)
上記以外を「半田過多気味(良品)」とする。ここでは、図3(d)が前記条件に該当している。
(Step S7)
If the difference between the representative luminance of the inspection area (A) and the average value of the blue component is a certain value δ or more, the blue component (B) of the lighting area b in FIG. Judgment is made and “part floating (defect)” or “unsoldered (defect)”. Here, FIG. 3E corresponds to the above condition.
(Step S8)
Other than the above is “excessive solder (good product)”. Here, FIG. 3D corresponds to the above condition.

上記ステップS1〜S8を検査ワークの全視野に対して実施する。このように検査エリアを中心部にして対向する照明を異なる色とし、カラー撮像装置6によって受光した色成分の差分に着目することで、基板1の半田付け状態の良不良の差異が強調され、照明を切り替えることなく、かつ半田過多気味(良品)と部品浮きや未半田といった、これまで区別が困難であったものが、判別可能となり、虚報率が抑制される。なお、従来方法では、図3における(d)の半田過多気味(良品)と(e)の部品浮き(未半田)の区別ができないため、半田過多気味(良品)を不良とせざるを得なかったものである。   The above steps S1 to S8 are performed on the entire visual field of the inspection work. In this way, the illuminations facing each other with the inspection area at the center are made different colors, and by paying attention to the difference in the color components received by the color imaging device 6, the difference in the soldering state of the substrate 1 is emphasized, Things that have been difficult to distinguish, such as over-soldering (non-defective product) and part floating or non-soldering, can be discriminated without switching lighting, and the false alarm rate is suppressed. In addition, in the conventional method, since it is not possible to distinguish between the excessive solder (good product) of (d) in FIG. 3 and the component floating (unsoldered) of (e), the excessive solder (good product) has to be made defective. Is.

上記のように実施の形態1に係る外観検査装置によれば、1つの撮像データを元に、予め設定されたシーケンスのプログラム制御によってデータ処理することで検査ワークの良否を判定することができ、照明の切り替えが不要になる。また、撮像動作はステージ制御装置40からの位置信号を照明制御装置50に入力し、検査位置でカラー撮像装置6、照明装置5にトリガ信号を与えることで、検査位置で停止することなく実行することができ、撮像時間を大幅に短縮することが可能となる。また、例えば高速化を目的にラインセンサカメラなどを使用することも可能となる。   As described above, according to the appearance inspection apparatus according to the first embodiment, it is possible to determine the quality of the inspection work by performing data processing by program control of a preset sequence based on one imaging data, There is no need to switch lighting. Further, the imaging operation is executed without stopping at the inspection position by inputting a position signal from the stage control device 40 to the illumination control device 50 and giving a trigger signal to the color imaging device 6 and the illumination device 5 at the inspection position. As a result, the imaging time can be significantly reduced. Further, for example, a line sensor camera or the like can be used for the purpose of speeding up.

また、実施の形態1に係る外観検査方法によれば、検査ワークに対して、複数の位置から、該位置によって互いに異なる光色の検査光を照射し、前記検査ワークによって反射された反射光を受光するカラー撮像装置の出力に基づいて前記検査ワークの撮像領域別に求められた光色別の情報から前記検査ワークの状態を判定するようにしたので、検査ワークの様々な状態を照明を切替えることなく検査することができ、過検出(虚報)の発生が抑制され、高い直行率を保持しつつ高速に検査を行うことができる。   In addition, according to the appearance inspection method according to the first embodiment, the inspection work is irradiated with inspection light having different light colors depending on the position from a plurality of positions, and the reflected light reflected by the inspection work is reflected. Since the state of the inspection work is determined from the information for each light color obtained for each imaging area of the inspection work based on the output of the color imaging device that receives light, the illumination of various states of the inspection work can be switched. The inspection can be performed without any occurrence, the occurrence of overdetection (false alarm) is suppressed, and the inspection can be performed at a high speed while maintaining a high straightness rate.

なお、本発明はその発明の範囲内において、適宜、変形、省略することが可能である。例えば、実施の形態1では、列方向(X軸方向)の平均輝度の差分について説明したが、各色での2値化処理によって生成される画素の面積値の差分や平均輝度の組み合わせとしてもよい。また、照明装置5は点灯エリアについては周方向にa〜dの4分割としたが、電子部品2の端子2aの向きなどによって、5分割以上、または3分割以下にしてもよい。また、半田付けの状態によっては前記分割数を変えずに、点灯するエリアを、例えば図2におけるエリアaとエリアbのみを点灯し、あるいは3段のリング状光源部51、52、53の一部のみを点灯するなど、点灯する光源を適宜限定するようにしてもよい。   The present invention can be modified or omitted as appropriate within the scope of the invention. For example, in the first embodiment, the difference in average luminance in the column direction (X-axis direction) has been described. However, a difference between pixel area values generated by binarization processing for each color or a combination of average luminances may be used. . In addition, the lighting device 5 is divided into four parts a to d in the circumferential direction with respect to the lighting area. Further, depending on the soldering state, without changing the number of divisions, for example, only the area a and the area b in FIG. 2 are lit, or one of the three-stage ring light sources 51, 52, 53 is illuminated. You may make it limit suitably the light source to light, such as lighting only a part.

また、実施の形態1では照明装置5を円形のリング状光源部としているが、例えばバー型照明やスポット型照明をコの字型(4分割)や六角形(6分割)、八角形(8分割)のように配置し、それを多段照明としてもよい。また、光源部を多段にする場合、実施の形態1では3段に構成したが段数は特に限定されるものではなく、4段以上とすることもできる。また、発光色はR、G、B以外の光色を用いても良い。
また、例えば、リング照明を周方向に点灯エリアを分割し、半田付け部の端子の向きや端子からのパターンの引き出し方向に応じて、点灯エリアを切り替える手段と、各々の点灯条件で撮像する手段と、撮像した画像単体だけでなく、画像データ群を画像間処理する手段を備えるように構成しても良い。
In Embodiment 1, the illumination device 5 is a circular ring-shaped light source unit. For example, bar-type illumination or spot-type illumination is U-shaped (4 divisions), hexagon (6 divisions), octagon (8 It may be arranged as shown in FIG. Further, in the case where the light source unit has multiple stages, the number of stages is not particularly limited in Embodiment 1, but the number of stages may be four or more. The light emission color may be a light color other than R, G, and B.
Further, for example, a means for dividing the lighting area in the circumferential direction of the ring illumination and switching the lighting area in accordance with the direction of the terminal of the soldering part and the direction of drawing the pattern from the terminal, and means for imaging under each lighting condition In addition to a single captured image, a means for performing inter-image processing on an image data group may be provided.

1 基板(検査ワーク)、2 電子部品、2a 端子、3 半田フィレット、4 搬送ステージ、5 照明装置、6 カラー撮像装置、40 ステージ制御装置、50 照明制御装置、51、52、53 リング状光源部、60 情報処理装置。   DESCRIPTION OF SYMBOLS 1 Board | substrate (inspection workpiece), 2 Electronic components, 2a terminal, 3 Solder fillet, 4 Conveyance stage, 5 Illumination device, 6 Color imaging device, 40 Stage control device, 50 Illumination control device, 51, 52, 53 Ring-shaped light source part 60 Information processing apparatus.

Claims (7)

検査ワークに対して、複数の位置から、該位置によって互いに異なる光色の検査光を照射するように設けられた照明装置と、前記照明装置から照射され前記検査ワークによって反射された反射光を受光するように配設されたカラー撮像装置と、前記カラー撮像装置の出力に基づいて前記検査ワークの撮像領域別に求められた光色別の情報から前記検査ワークの状態を判定する情報処理装置と、を備えたことを特徴とする外観検査装置。   An illuminating device provided to irradiate inspection light of different light colors depending on the position from a plurality of positions, and reflected light irradiated from the illuminating device and reflected by the inspection work. A color imaging device arranged to be, and an information processing device that determines the state of the inspection work from information for each light color obtained for each imaging area of the inspection work based on an output of the color imaging device; An appearance inspection apparatus comprising: 前記照明装置は、リング状に形成され、互いに異なる光色の発光素子が周方向に所定の順に配列されたリング状光源部を用いたものであることを特徴とする請求項1記載の外観検査装置。   2. The appearance inspection according to claim 1, wherein the illumination device uses a ring-shaped light source unit that is formed in a ring shape and in which light emitting elements of different light colors are arranged in a predetermined order in the circumferential direction. apparatus. 外径の異なる複数の前記リング状光源部を同心状に複数備えていることを特徴とする請求項2記載の外観検査装置。   The appearance inspection apparatus according to claim 2, wherein a plurality of the ring-shaped light source portions having different outer diameters are provided concentrically. 前記リング状光源部は、リングの中心に対して対向する位置の光色が異なるように配色されていることを特徴とする請求項2または請求項3記載の外観検査装置。   4. The appearance inspection apparatus according to claim 2, wherein the ring-shaped light source units are arranged so that light colors at positions facing the center of the ring are different. 前記情報処理装置は、撮像された画像における検査領域を予め設定された所定方向に複数の検査エリアに分割し、分割された検査エリア毎に各色の平均輝度の最大値を求め、その最大値を当該検査エリアの代表値とし、前記検査エリア毎に求めた所定の色成分の平均輝度と前記代表値との差分によって前記検査ワークの良否を判定することを特徴とする請求項1から請求項4の何れかに記載の外観検査装置。   The information processing apparatus divides an inspection area in a captured image into a plurality of inspection areas in a predetermined direction set in advance, obtains a maximum value of average luminance of each color for each of the divided inspection areas, and calculates the maximum value. 5. The quality of the inspection work is determined based on a difference between an average luminance of a predetermined color component obtained for each inspection area and the representative value as a representative value of the inspection area. An appearance inspection apparatus according to any one of the above. 前記情報処理装置は、撮像された画像における検査領域を予め設定された所定方向に複数の検査エリアに分割し、分割された検査エリア毎に各色の2値化により生成された画素の面積値を求め、その最大値を当該検査エリアの代表値とし、前記検査エリア毎に求めた所定の色成分の面積値と前記代表値との差分によって前記検査ワークの良否を判定することを特徴とする請求項1から請求項4の何れかに記載の外観検査装置。   The information processing apparatus divides an inspection area in a captured image into a plurality of inspection areas in a predetermined direction set in advance, and calculates an area value of a pixel generated by binarization of each color for each of the divided inspection areas. And determining the quality of the inspection work based on a difference between an area value of a predetermined color component obtained for each inspection area and the representative value. The appearance inspection apparatus according to any one of claims 1 to 4. 検査ワークに対して、複数の位置から、該位置によって互いに異なる光色の検査光を照射し、前記検査ワークによって反射された反射光をカラー撮像装置によって受光し、前記検査ワークの撮像領域別に求められた光色別の情報から前記検査ワークの状態を判定することを特徴とする外観検査方法。   The inspection work is irradiated with inspection light of different light colors depending on the position from a plurality of positions, the reflected light reflected by the inspection work is received by a color imaging device, and obtained for each imaging area of the inspection work. An appearance inspection method, wherein the state of the inspection work is determined from the information for each light color.
JP2014093285A 2014-04-30 2014-04-30 Visual inspection device and visual inspection method Pending JP2015210226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014093285A JP2015210226A (en) 2014-04-30 2014-04-30 Visual inspection device and visual inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014093285A JP2015210226A (en) 2014-04-30 2014-04-30 Visual inspection device and visual inspection method

Publications (1)

Publication Number Publication Date
JP2015210226A true JP2015210226A (en) 2015-11-24

Family

ID=54612501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014093285A Pending JP2015210226A (en) 2014-04-30 2014-04-30 Visual inspection device and visual inspection method

Country Status (1)

Country Link
JP (1) JP2015210226A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108535262A (en) * 2018-03-22 2018-09-14 深圳市永光神目科技有限公司 A kind of light-source structure and scolding tin defect detecting system
JP2021089159A (en) * 2019-12-02 2021-06-10 Juki株式会社 Inspection device and inspection method
WO2022113369A1 (en) * 2020-11-30 2022-06-02 ヤマハ発動機株式会社 Mounting-board inspection apparatus and inspection apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108535262A (en) * 2018-03-22 2018-09-14 深圳市永光神目科技有限公司 A kind of light-source structure and scolding tin defect detecting system
JP2021089159A (en) * 2019-12-02 2021-06-10 Juki株式会社 Inspection device and inspection method
WO2022113369A1 (en) * 2020-11-30 2022-06-02 ヤマハ発動機株式会社 Mounting-board inspection apparatus and inspection apparatus

Similar Documents

Publication Publication Date Title
TWI590725B (en) Detecting device and detecting method of appearance of printed circuit board
TWI626438B (en) Inspection apparatus and article manufacturing method
JP2019144209A (en) Appearance inspection device and method for setting illumination condition for appearance inspection device
US7664311B2 (en) Component mounting board inspecting apparatus
JP2015148447A (en) Automatic visual inspection apparatus
JP2011117788A (en) Concrete surface inspection device
KR101679314B1 (en) Method for inspection of overlapping exposure image mixing using multiple exposure
JP2015068668A (en) Appearance inspection device
JP2017111077A (en) Airtightness inspection apparatus
JP2016050864A (en) Appearance inspection device with solder
JP2015210226A (en) Visual inspection device and visual inspection method
JP2007240431A (en) Defect inspection device and defect inspection method
JP5316198B2 (en) Appearance inspection device
JP5832167B2 (en) Component presence / absence determination apparatus and component presence / absence determination method
JP3243385B2 (en) Object shape inspection device
JP2010286339A (en) Method of inspecting directivity of light source and apparatus therefor
JP2009236760A (en) Image detection device and inspection apparatus
JP2006266685A (en) Inspection method and inspection device for mounted substrate
JP2009103512A (en) Wiring pattern treatment apparatus
JP2008227301A (en) Inspecting method and device for electronic circuit component mounting
JP2012154707A (en) Foreign matter inspection device of lead terminal
JP4967132B2 (en) Defect inspection method for object surface
JP2005223006A (en) Inspection method of cream solder print
WO2023119882A1 (en) Wafer external appearance inspecting device
JPH04104044A (en) Apparatus for inspecting printed state of soldering paste