JP6218094B1 - Inspection method, inspection apparatus, inspection program, and recording medium - Google Patents

Inspection method, inspection apparatus, inspection program, and recording medium Download PDF

Info

Publication number
JP6218094B1
JP6218094B1 JP2016201245A JP2016201245A JP6218094B1 JP 6218094 B1 JP6218094 B1 JP 6218094B1 JP 2016201245 A JP2016201245 A JP 2016201245A JP 2016201245 A JP2016201245 A JP 2016201245A JP 6218094 B1 JP6218094 B1 JP 6218094B1
Authority
JP
Japan
Prior art keywords
defect
inspection
unit
procedure
defects
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.)
Active
Application number
JP2016201245A
Other languages
Japanese (ja)
Other versions
JP2018036241A (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.)
JE International Corp
Original Assignee
JE International 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 JE International Corp filed Critical JE International Corp
Application granted granted Critical
Publication of JP6218094B1 publication Critical patent/JP6218094B1/en
Publication of JP2018036241A publication Critical patent/JP2018036241A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

【課題】虚報および見逃しの少なくとも一方の発生を抑制して、欠陥の検出精度を向上させることのできる検査方法を提供する。【解決手段】検査方法は、検査対象物の撮像画像を画像処理して欠陥を検出する検査方法であって、検査対象物の参照画像および欠陥を検出するための検査基準を登録するステップ(a)と、撮像画像を取得するステップ(b)と、ステップ(a)において登録された検査基準を用いて、参照画像と撮像画像とを比較する画像処理を行って、欠陥を検出するステップ(c)と、ステップ(c)において検出された欠陥の中から、欠陥として検出されるべきでない過検出の欠陥を認識するステップ(d)と、ステップ(d)において認識された過検出の欠陥の数が減少するように、検査基準を調整するステップ(e)と、ステップ(e)において調整された検査基準を記憶するステップ(f)と、を有する。【選択図】図3An inspection method capable of suppressing the occurrence of at least one of false information and oversight and improving the detection accuracy of a defect. An inspection method is an inspection method for detecting a defect by performing image processing on a captured image of an inspection object, and registering a reference image of the inspection object and an inspection standard for detecting the defect (a) ), A step (b) of acquiring a captured image, and a step of detecting a defect by performing image processing for comparing the reference image and the captured image using the inspection standard registered in step (a) (c) And (d) recognizing an overdetected defect that should not be detected as a defect from among the defects detected in step (c), and the number of overdetected defects recognized in step (d) (E) for adjusting the inspection standard such that the inspection standard is reduced, and (f) for storing the inspection standard adjusted in step (e). [Selection] Figure 3

Description

本発明は、検査方法、検査装置、検査プログラム、および記録媒体に関する。   The present invention relates to an inspection method, an inspection apparatus, an inspection program, and a recording medium.

樹脂製のフィルムに銅箔の配線パターンが形成されたプリント基板などの検査には、一般的に、カメラを用いた光学式検査が用いられる。   In general, optical inspection using a camera is used for inspection of a printed circuit board having a copper foil wiring pattern formed on a resin film.

光学式検査では、コンピューターにより検査対象物の撮像画像を参照画像と比較する画像処理を行って欠陥を検出する方法が広く用いられている(例えば特許文献1)。   In optical inspection, a method of detecting a defect by performing image processing for comparing a captured image of an inspection object with a reference image by a computer is widely used (for example, Patent Document 1).

特開平05−264467号公報Japanese Patent Laid-Open No. 05-264467

しかしながら、上記の方法では、本来欠陥でない部分を誤って欠陥と認識するいわゆる虚報(過検出)が発生する可能性があり、コンピューターによる画像処理結果を、作業者が再チェックしなければならないという問題がある。さらに、上記の方法では、欠陥を認識できないいわゆる見逃し(未検出)が発生する可能性もある。   However, in the above method, there is a possibility that so-called false information (overdetection) that erroneously recognizes a non-defective part as a defect may occur, and the image processing result by the computer must be rechecked by the operator. There is. Furthermore, in the above method, there is a possibility that a so-called oversight (undetected) in which a defect cannot be recognized may occur.

本発明は、上記事情に鑑みてなされたものであり、虚報および見逃しの少なくとも一方の発生を抑制して、欠陥の検出精度を向上させることのできる、検査方法、検査装置、検査プログラム、および記録媒体を提供することを目的とする。   The present invention has been made in view of the above circumstances, and can suppress the occurrence of at least one of false information and oversight and improve the detection accuracy of a defect, an inspection method, an inspection apparatus, an inspection program, and a recording The purpose is to provide a medium.

上記目的を達成する本発明に係る検査方法は、検査対象物の撮像画像を画像処理して欠陥を検出する検査方法であって、前記検査対象物の参照画像および前記欠陥を検出するための検査基準を登録するステップ(a)と、前記撮像画像を取得するステップ(b)と、前記ステップ(a)において登録された前記検査基準を用いて、前記参照画像と前記撮像画像とを比較する画像処理を行って、前記欠陥を検出するステップ(c)と、前記ステップ(c)において検出された前記欠陥の中から、欠陥として検出されるべきでない過検出の欠陥を認識するステップ(d)と、前記ステップ(d)において認識された前記過検出の欠陥の数が減少するように、前記検査基準を調整するステップ(e)と、前記ステップ(e)において調整された前記検査基準を記憶するステップ(f)と、を有し、前記ステップ(c)と前記ステップ(e)との間に、前記ステップ(c)において検出された前記欠陥の中に存在しない未検出の欠陥を認識するステップ(g)をさらに有し、前記ステップ(e)では、前記ステップ(g)において認識された前記未検出の欠陥の数が減少するように、前記検査基準をさらに調整し、前記ステップ(b)、前記ステップ(c)、前記ステップ(d)、および前記ステップ(g)は、複数の撮像画像に対して繰り返し実行され、前記ステップ(e)は、前記複数の撮像画像に対して認識された前記過検出の欠陥および前記未検出の欠陥について実行され、前記ステップ(f)の後に、種類およびサイズが同一の前記欠陥に対して、作業者の欠陥であるか否かの判断結果が異なる一対の前記撮像画像を表示するステップ(l)と、前記作業者の判断結果またはコンピューターの欠陥であるか否かの判断結果の変更を受け付けるステップ(m)と、を有する。 An inspection method according to the present invention that achieves the above-described object is an inspection method for detecting a defect by performing image processing on a captured image of an inspection object, the inspection image for detecting a reference image of the inspection object and the defect An image for comparing the reference image and the captured image using the inspection standard registered in the step (a) for registering a reference, the step (b) for acquiring the captured image, and the inspection standard registered in the step (a). Performing a process to detect the defect (c); recognizing an overdetected defect that should not be detected as a defect from the defects detected in the step (c); Adjusting the inspection criteria so that the number of over-detected defects recognized in the step (d) is reduced; and adjusting the inspection criteria in the step (e) (F) storing an inspection criterion, and between the step (c) and the step (e), an undetected undetected in the defect detected in the step (c) Recognizing defects, further comprising the step of (g), wherein in step (e) the inspection criteria are further adjusted so that the number of undetected defects recognized in step (g) is reduced; The step (b), the step (c), the step (d), and the step (g) are repeatedly performed on a plurality of captured images, and the step (e) is performed on the plurality of captured images. Whether or not it is an operator defect with respect to the defect of the same type and size after the step (f). Size And step (l) the result display different pair of the captured image, the step of accepting a change of the operator's judgment results or computer defect in a determination of whether the result of the (m), that have a.

また、上記目的を達成する本発明に係る検査装置は、検査対象物の撮像画像を画像処理して欠陥を検出する検査装置であって、前記検査対象物の参照画像および前記欠陥を検出するための検査基準を登録する登録部と、前記撮像画像を取得する取得部と、前記登録部によって登録された前記検査基準を用いて、前記参照画像と前記撮像画像とを比較する画像処理を行って、前記欠陥を検出する検出部と、前記検出部によって検出された前記欠陥の中から、欠陥として検出されるべきでない過検出の欠陥を認識する第1認識部と、前記検出部によって検出された前記欠陥の中に存在しない未検出の欠陥を認識する第2認識部と、前記第1認識部によって認識された前記過検出の欠陥の数が減少するように、前記検査基準を調整する第1調整部と、前記第2認識部によって認識された前記未検出の欠陥の数が減少するように、前記検査基準を調整する第2調整部と、前記第1調整部および前記第2調整部によって調整された前記検査基準を記憶する記憶部と、種類およびサイズが同一の前記欠陥に対して、作業者の欠陥であるか否かの判断結果が異なる一対の前記撮像画像を表示する表示部と、前記作業者の判断結果またはコンピューターの欠陥であるか否かの判断結果の変更を受け付ける受付部と、を有し、前記取得部による前記撮像画像を取得する処理、前記検出部による前記欠陥を検出する処理、前記第1認識部による前記過検出の欠陥を認識する処理、および前記第2認識部による前記未検出の欠陥を認識する処理は、複数の撮像画像に対して繰り返し実行され、前記調整部は、前記複数の撮像画像に対して認識された前記過検出の欠陥および前記未検出の欠陥を用いて、前記検査基準を調整する。 An inspection apparatus according to the present invention that achieves the above object is an inspection apparatus that detects a defect by performing image processing on a captured image of an inspection object, and detects a reference image of the inspection object and the defect. A registration unit that registers the inspection standard, an acquisition unit that acquires the captured image, and an image process that compares the reference image with the captured image using the inspection standard registered by the registration unit. A detection unit that detects the defect; a first recognition unit that recognizes an overdetection defect that should not be detected as a defect from the defects detected by the detection unit; and the detection unit that detects the defect A first recognizing unit for recognizing an undetected defect that does not exist in the defect, and a first adjusting the inspection standard so that the number of the over-detected defects recognized by the first recognizing unit is reduced. Adjustment section The second adjustment unit that adjusts the inspection standard, the first adjustment unit, and the second adjustment unit adjusted so that the number of the undetected defects recognized by the second recognition unit decreases. A storage unit that stores inspection criteria, a display unit that displays a pair of the captured images with different determination results as to whether or not the defect is the same as the defect for the same type and size, and the worker A receiving unit that accepts a change in the determination result or whether the determination result is a computer defect, a process for acquiring the captured image by the acquisition unit, a process for detecting the defect by the detection unit, The process of recognizing the overdetected defect by the first recognizing unit and the process of recognizing the undetected defect by the second recognizing unit are repeatedly performed on a plurality of captured images, and the adjustment unit By using the defect of the defect and the undetected recognized the over detection for the plurality of captured images, to adjust the inspection standard.

検査対象物の撮像画像を画像処理して欠陥を検出するための検査プログラムであって、前記検査対象物の参照画像および前記欠陥を検出するための検査基準を登録する手順(a)と、前記撮像画像を取得する手順(b)と、前記手順(a)において登録された前記検査基準を用いて、前記参照画像と前記撮像画像とを比較する画像処理を行って、前記欠陥を検出する手順(c)と、前記手順(c)において検出された前記欠陥の中から、欠陥として検出されるべきでない過検出の欠陥を認識する手順(d)と、前記手順(d)において認識された前記過検出の欠陥の数が減少するように、前記検査基準を調整する手順(e)と、前記手順(e)において調整された前記検査基準を記憶する手順(f)と、をコンピューターに実行させ、前記手順(c)と前記手順(e)との間に、前記手順(c)において検出された前記欠陥の中に存在しない未検出の欠陥を認識する手順(g)をさらに前記コンピューターに実行させ、前記手順(e)では、前記手順(g)において認識された前記未検出の欠陥の数が減少するように、前記検査基準をさらに調整し、前記手順(b)、前記手順(c)、前記手順(d)、および前記手順(g)は、複数の撮像画像に対して繰り返し実行され、前記手順(e)は、前記複数の撮像画像に対して認識された前記過検出の欠陥および前記未検出の欠陥について実行され、前記手順(f)の後に、種類およびサイズが同一の前記欠陥に対して、作業者の欠陥であるか否かの判断結果が異なる一対の前記撮像画像を表示する手順(l)と、前記作業者の判断結果またはコンピューターの欠陥であるか否かの判断結果の変更を受け付ける手順(m)と、をさらに前記コンピューターに実行させる。 An inspection program for detecting a defect by performing image processing on a captured image of an inspection object, the step (a) of registering a reference image of the inspection object and an inspection standard for detecting the defect, Procedure (b) for acquiring a captured image, and procedure for detecting the defect by performing image processing for comparing the reference image and the captured image using the inspection standard registered in the procedure (a). (C), a procedure (d) for recognizing an overdetected defect that should not be detected as a defect from the defects detected in the procedure (c), and the procedure recognized in the procedure (d) Causing the computer to execute a step (e) of adjusting the inspection standard and a step (f) of storing the inspection standard adjusted in the step (e) so that the number of overdetected defects is reduced. The hand Between the step (c) and the step (e), the computer further executes a step (g) of recognizing an undetected defect that does not exist in the defect detected in the step (c), In the step (e), the inspection standard is further adjusted so that the number of the undetected defects recognized in the step (g) is reduced, and the step (b), the step (c), the step (D) and the procedure (g) are repeatedly performed on a plurality of captured images, and the procedure (e) includes the overdetection defect recognized on the plurality of captured images and the non-detection. A procedure of displaying a pair of the captured images with different determination results as to whether or not the defect is the operator's defect for the defect of the same type and size after the step (f). l) and the judgment result of the operator Or a procedure for accepting a change in the computer the defect is a determination of whether the result of the (m), Ru is executed further the computer to.

また、上記目的を達成する本発明に係る記録媒体は、上記の検査プログラムを記録したコンピューター読み取り可能な記録媒体である。   A recording medium according to the present invention that achieves the above object is a computer-readable recording medium that records the above-described inspection program.

本発明によれば、過検出の欠陥の数が減少するように、または、未検出の欠陥の数が減少するように、検査基準が調整される。このため、虚報および見逃しの少なくとも一方の発生を抑制して、欠陥の検出精度を向上させることができる。   According to the present invention, the inspection standard is adjusted so that the number of overdetected defects is reduced or the number of undetected defects is reduced. For this reason, generation | occurrence | production of at least one of a misinformation and an oversight can be suppressed, and the detection accuracy of a defect can be improved.

本実施形態に係る検査装置の概略構成を示す斜視図である。It is a perspective view which shows schematic structure of the inspection apparatus which concerns on this embodiment. 本実施形態に係るコンピューターの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the computer which concerns on this embodiment. 本実施形態に係る検査方法の手順を示すフローチャートである。It is a flowchart which shows the procedure of the inspection method which concerns on this embodiment. テスト検査処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a test inspection process. 学習データベース構築処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a learning database construction process. 機械学習処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a machine learning process. 参照画像の一部を示す図である。It is a figure which shows a part of reference image. 欠陥の候補が表示部に表示された状態を示す図である。It is a figure which shows the state by which the defect candidate was displayed on the display part. 正常検出、過検出、未検出が選択された状態の表示部を示す図である。It is a figure which shows the display part of the state in which normal detection, overdetection, and non-detection were selected. 曖昧検査処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an ambiguous inspection process. 作業者の欠陥であるか否かの判断結果が異なる一対の撮像画像を示す図である。It is a figure which shows a pair of picked-up image from which the judgment result of whether it is a worker's defect differs. 1つの基板に複数の検査対象物が形成されている様子を示す図である。It is a figure which shows a mode that the several test target object is formed in one board | substrate. 1つの検査対象物に同一の配線パターンが複数形成されている様子を示す図である。It is a figure which shows a mode that the same wiring pattern is formed in multiple numbers by one test target object.

以下、添付した図面を参照して、本発明の実施形態を説明する。なお、図面の説明において、同一の要素には同一の符号を付し、重複する説明を省略する。また、図面の寸法比率は、説明の都合上誇張されており、実際の比率とは異なる場合がある。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the description of the drawings, the same elements are denoted by the same reference numerals, and redundant description is omitted. In addition, the dimensional ratios in the drawings are exaggerated for convenience of explanation, and may be different from the actual ratios.

図1は、本実施形態に係る検査装置1の概略構成を示す斜視図である。図2は、本実施形態に係るコンピューター40の概略構成を示すブロック図である。   FIG. 1 is a perspective view showing a schematic configuration of an inspection apparatus 1 according to the present embodiment. FIG. 2 is a block diagram showing a schematic configuration of the computer 40 according to the present embodiment.

検査装置1は、基板(検査対象物に相当)Wの撮像画像を画像処理して基板Wの欠陥を検出する。検査装置1は、図1に示すように、載置部10、照明部20、撮像部30、およびコンピューター40を備えている。   The inspection apparatus 1 detects defects in the substrate W by performing image processing on a captured image of the substrate (corresponding to an inspection object) W. As shown in FIG. 1, the inspection apparatus 1 includes a placement unit 10, an illumination unit 20, an imaging unit 30, and a computer 40.

載置部10は、基板Wが載置される。載置部10は、不図示の駆動ステージによって、X方向に移動される(図1矢印参照)。駆動ステージは、公知のものを用いることができる。基板Wは、例えば、樹脂製のフィルムに銅箔の配線パターンが形成されたプリント基板である。本実施形態において、基板Wは1枚のシートタイプである。   The placement unit 10 places the substrate W thereon. The placement unit 10 is moved in the X direction by a drive stage (not shown) (see the arrow in FIG. 1). A known drive stage can be used. The substrate W is, for example, a printed board in which a copper foil wiring pattern is formed on a resin film. In the present embodiment, the substrate W is a single sheet type.

照明部20は、載置部10の上方に設けられ、基板Wに対して光を照射する。光源としては特に限定されないが、LED(Light Emitting Diode)、蛍光灯、およびX線などを用いることができる。   The illumination unit 20 is provided above the placement unit 10 and irradiates the substrate W with light. Although it does not specifically limit as a light source, LED (Light Emitting Diode), a fluorescent lamp, an X ray, etc. can be used.

撮像部30は、載置部10の上方に設けられ、基板Wを撮像する。撮像部30は、ラインスキャンカメラを用いることが好ましい。X方向と直交するY方向に伸延したラインスキャンカメラによって撮像することにより、短時間で広範囲の画像を取得することができ、欠陥の検査を迅速に行うことができる。撮像部30は、不図示の駆動部によってY方向に移動される(図1矢印参照)。   The imaging unit 30 is provided above the placement unit 10 and images the substrate W. The imaging unit 30 preferably uses a line scan camera. By imaging with a line scan camera extended in the Y direction orthogonal to the X direction, a wide range of images can be acquired in a short time, and defect inspection can be performed quickly. The imaging unit 30 is moved in the Y direction by a driving unit (not shown) (see the arrow in FIG. 1).

コンピューター40は、上記各部の制御および各種処理を行う。コンピューター40は、図2に示すように、CPU(Central Processing Unit)41、メモリー42、ハードディスク43、表示部44、入力部45、および通信部46を備えている。   The computer 40 controls each part and performs various processes. As shown in FIG. 2, the computer 40 includes a CPU (Central Processing Unit) 41, a memory 42, a hard disk 43, a display unit 44, an input unit 45, and a communication unit 46.

CPU41は、メモリー42やハードディスク43に記憶されているプログラムに従って、各部の制御や各種の演算処理などを実行する。   The CPU 41 executes control of each unit and various arithmetic processes according to programs stored in the memory 42 and the hard disk 43.

メモリー42は、各種プログラムや各種データを記憶するROM(Read Only Memory)、作業領域として一時的にプログラムやデータを記憶するRAM(Randam Access Memory)などから構成される。   The memory 42 includes a ROM (Read Only Memory) that stores various programs and various data, and a RAM (Random Access Memory) that temporarily stores programs and data as a work area.

ハードディスク43は、オペレーティングシステムを含む各種プログラムや各種データを記憶する。   The hard disk 43 stores various programs including an operating system and various data.

表示部44は、例えば液晶ディスプレイであり、後述する各種情報を表示する。   The display unit 44 is a liquid crystal display, for example, and displays various types of information to be described later.

入力部45は、マウスなどのポインティングデバイス、およびキーボードを含み、各種の入力を行うために使用される。   The input unit 45 includes a pointing device such as a mouse and a keyboard, and is used for performing various inputs.

通信部46は、他の機器と通信するためのインターフェースである。   The communication unit 46 is an interface for communicating with other devices.

なお、CPU41は、各種プログラムを実行することによって、登録部、取得部、検出部、認識部、および調整部として機能する。ここで、登録部は、基板Wの参照画像および欠陥を検出するための検査基準を登録する。取得部は、撮像部30によって撮像された基板Wの撮像画像を取得する。検出部は、登録部によって登録された検査基準を用いて、参照画像と撮像画像とを比較する画像処理を行って、基板Wの欠陥を検出する。認識部は、検出部によって検出された欠陥の中から、欠陥として検出されるべきでない過検出の欠陥を認識するとともに、検出部によって検出された欠陥の中に存在しない未検出の欠陥を認識する。調整部は、認識部によって認識された過検出の欠陥の数が減少するように、かつ、認識部によって認識された未検出の欠陥の数が減少するように、検査基準を調整する。また、ハードディスク43は、記憶部として、調整部によって調整された検査基準を記憶する。   The CPU 41 functions as a registration unit, an acquisition unit, a detection unit, a recognition unit, and an adjustment unit by executing various programs. Here, the registration unit registers the reference image of the substrate W and the inspection standard for detecting the defect. The acquisition unit acquires a captured image of the substrate W imaged by the imaging unit 30. The detection unit detects a defect on the substrate W by performing image processing for comparing the reference image and the captured image using the inspection standard registered by the registration unit. The recognition unit recognizes an overdetected defect that should not be detected as a defect from the defects detected by the detection unit, and recognizes an undetected defect that does not exist in the defect detected by the detection unit. . The adjustment unit adjusts the inspection standard so that the number of overdetected defects recognized by the recognition unit decreases and the number of undetected defects recognized by the recognition unit decreases. Further, the hard disk 43 stores the inspection standard adjusted by the adjustment unit as a storage unit.

以下、検査装置1により基板Wの欠陥を検出する検査方法について、図3〜図9を参照して説明する。   Hereinafter, an inspection method for detecting defects on the substrate W by the inspection apparatus 1 will be described with reference to FIGS.

図3は、検査装置1による検査方法の手順を示すフローチャートである。   FIG. 3 is a flowchart showing the procedure of the inspection method by the inspection apparatus 1.

S01では、コンピューター40に基準データが登録される。具体的には、作業者が、基板Wの参照画像と欠陥を検出するための検査基準とをコンピューター40に入力し、参照画像および検査基準がコンピューター40に登録される。   In S01, the reference data is registered in the computer 40. Specifically, the operator inputs a reference image of the substrate W and an inspection standard for detecting defects into the computer 40, and the reference image and the inspection standard are registered in the computer 40.

基板Wの参照画像としては、CAD(Computer Aided Design)画像などの設計図面画像や、欠陥のない基板W(ゴールデンサンプル)の撮像画像を用いることができ、たとえば、RAW形式の画像データで登録される。基板Wの参照画像として、例えば図7に示すような画像を取得することができる。   As a reference image of the substrate W, a design drawing image such as a CAD (Computer Aided Design) image or a captured image of the substrate W (golden sample) having no defect can be used. For example, it is registered as image data in RAW format. The As a reference image of the substrate W, for example, an image as shown in FIG. 7 can be acquired.

欠陥を検出するための検査基準としては、例えば、輝度の閾値、外観形状、および検査規格などが挙げられる。ここで検査規格とは、例えば、線幅の許容値である。S01では、検査基準として登録された輝度の閾値を用いて参照画像が二値化される。   Examples of the inspection standard for detecting a defect include a threshold value of luminance, an appearance shape, and an inspection standard. Here, the inspection standard is, for example, an allowable value of line width. In S01, the reference image is binarized using the threshold value of luminance registered as the inspection standard.

S02では、機械学習用のテスト基板Wが検査される。具体的には、まず、予め用意されたテスト基板Wが撮像部30により撮像され、コンピューター40が、テスト基板Wの撮像画像を取得する。そして、コンピューター40が、S01において登録された検査基準を用いて撮像画像と参照画像とを比較する画像処理を行って、テスト基板W上の欠陥の候補を検出する。テスト検査処理S02についての詳細な説明は後述する。   In S02, the test board W for machine learning is inspected. Specifically, first, a test substrate W prepared in advance is imaged by the imaging unit 30, and the computer 40 acquires a captured image of the test substrate W. Then, the computer 40 performs image processing for comparing the captured image with the reference image using the inspection standard registered in S01, and detects a defect candidate on the test substrate W. A detailed description of the test inspection process S02 will be described later.

S03では、機械学習用のデータベースが構築される。具体的には、作業者が、S02において検出された欠陥の候補について、過検出の欠陥および未検出の欠陥の有無を検証する。そして、作業者による検証結果がコンピューター40に記憶される。学習データベース構築処理S03についての詳細な説明は後述する。   In S03, a machine learning database is constructed. Specifically, the operator verifies the presence or absence of an overdetected defect and an undetected defect in the defect candidates detected in S02. Then, the verification result by the operator is stored in the computer 40. Detailed description of the learning database construction process S03 will be described later.

S04では、満足できるレベルのデータベースが得られたか否かが判断される。具体的には、作業者が、過検出の欠陥および未検出の欠陥について十分な量のデータが蓄積されたか否か判断する。満足できるレベルのデータベースが得られていない場合(S04:NO)、S02に戻る。そして、満足できるレベルのデータベースが得られるまで、新たに用意されたテスト基板Wに対してS02〜S04が繰り返される。一方、満足できるレベルのデータベースが得られた場合(S04:YES)、S05に移行する。   In S04, it is determined whether or not a satisfactory level of database has been obtained. Specifically, the operator determines whether or not a sufficient amount of data has been accumulated for overdetected and undetected defects. If a satisfactory level of database is not obtained (S04: NO), the process returns to S02. Then, S02 to S04 are repeated for the newly prepared test substrate W until a satisfactory level database is obtained. On the other hand, if a satisfactory level of database is obtained (S04: YES), the process proceeds to S05.

S05では、データベースに基づく機械学習が行われる。具体的には、コンピューター40が、S03において構築されたデータベースに基づいて輝度の閾値や検査規格を調整して、過検出の欠陥の数および未検出の欠陥の数が減少するように、検査基準を最適化する。機械学習処理S05についての詳細な説明は後述する。   In S05, machine learning based on the database is performed. Specifically, the inspection standard is adjusted so that the computer 40 adjusts the threshold value of luminance and the inspection standard based on the database constructed in S03, so that the number of overdetected defects and the number of undetected defects are reduced. To optimize. A detailed description of the machine learning process S05 will be described later.

S06では、新たなテスト基板Wが検査される。具体的には、まず、新たに用意されたテスト基板Wが撮像部30により撮像され、コンピューター40が、新たなテスト基板Wの撮像画像を取得する。そして、コンピューター40が、S05において最適化された検査基準を用いて、撮像画像と参照画像とを比較する画像処理を行って、新たなテスト基板W上の欠陥の候補を検出する。   In S06, a new test substrate W is inspected. Specifically, first, a newly prepared test substrate W is imaged by the imaging unit 30, and the computer 40 acquires a captured image of the new test substrate W. Then, the computer 40 performs image processing for comparing the captured image with the reference image using the inspection standard optimized in S05, and detects a defect candidate on the new test substrate W.

S07では、満足できる性能が得られたか否かが判断される。具体的には、作業者が、S06において検出された欠陥の候補について、過検出の欠陥および未検出の欠陥の有無を検証し、満足できる検査性能が得られたか否か判断する。   In S07, it is determined whether or not satisfactory performance is obtained. Specifically, the operator verifies the presence or absence of an overdetected defect and an undetected defect for the defect candidates detected in S06, and determines whether or not a satisfactory inspection performance is obtained.

満足する性能が得られていない場合(S07:NO)、S02に戻る。そして、満足する性能が得られるまで、新たに用意されたテスト基板Wに対してS02〜S07が繰り返される。一方、満足する性能が得られた場合(S07:YES)、S08に移行する。   If satisfactory performance is not obtained (S07: NO), the process returns to S02. Then, S02 to S07 are repeated for the newly prepared test substrate W until satisfactory performance is obtained. On the other hand, when satisfactory performance is obtained (S07: YES), the process proceeds to S08.

S08では、量産工程における検査に検査装置1が適用される。具体的には、S05において最適化された検査基準がコンピューター40に記憶され、最適化された検査基準を用いて、検査装置1が、基板Wの量産工程における検査を行う。なお、量産工程において、最初の複数枚の基板Wに対して、S06およびS07で説明した検査が再度行われてもよい。   In S08, the inspection apparatus 1 is applied to the inspection in the mass production process. Specifically, the inspection standard optimized in S05 is stored in the computer 40, and the inspection apparatus 1 performs the inspection in the mass production process of the substrate W using the optimized inspection standard. In the mass production process, the inspection described in S06 and S07 may be performed again on the first plurality of substrates W.

以上説明したように、本実施形態に係る検査方法では、量産工程が開始される前に、まず、複数枚のテスト基板Wが検査され、検査結果に対する作業者の検証結果がデータとして蓄えられる。そして、蓄えられたデータに基づく機械学習が行われ、過検出および未検出の欠陥の数が減少するように、検査基準が最適化される。したがって、本実施形態に係る検査方法によれば、いわゆる虚報および見逃しの発生を抑制して、欠陥の検出精度を向上させることができる。   As described above, in the inspection method according to the present embodiment, before the mass production process is started, first, a plurality of test substrates W are inspected, and the operator's verification results for the inspection results are stored as data. Then, machine learning based on the stored data is performed, and the inspection standard is optimized so that the number of overdetected and undetected defects is reduced. Therefore, according to the inspection method according to the present embodiment, it is possible to improve the defect detection accuracy by suppressing the occurrence of so-called false information and oversight.

以下、図4〜図9を参照して、テスト検査処理S02、学習データベース構築処理S03、および機械学習処理S05について順番に説明する。   Hereinafter, the test inspection process S02, the learning database construction process S03, and the machine learning process S05 will be described in order with reference to FIGS.

図4は、テスト検査処理S02の手順を示すフローチャートである。テスト検査処理S02では、機械学習用のテスト基板Wが検査され、テスト基板W上の欠陥の候補が検出される。テスト基板Wは、作業者により欠陥の位置および種類が把握された基板である。   FIG. 4 is a flowchart showing the procedure of the test inspection process S02. In the test inspection process S02, the test board W for machine learning is inspected, and defect candidates on the test board W are detected. The test substrate W is a substrate whose position and type of defect have been grasped by an operator.

S021では、撮像部30によってテスト基板Wが撮像され、コンピューター40が、テスト基板Wの撮像画像を取得する。   In S021, the test substrate W is imaged by the imaging unit 30, and the computer 40 acquires a captured image of the test substrate W.

S022では、S01において検査基準として登録された輝度の閾値を用いて、コンピューター40が、S021で取得された撮像画像を二値化する。この結果、テスト基板Wの表面の樹脂製のフィルム部分と銅箔の配線パターンP部分とが区別される。   In S022, the computer 40 binarizes the captured image acquired in S021, using the luminance threshold registered as the inspection standard in S01. As a result, the resin film portion on the surface of the test substrate W and the wiring pattern P portion of the copper foil are distinguished.

S023では、コンピューター40が、S022において二値化された撮像画像と、S01において予め二値化されたゴールデンサンプルの参照画像とを比較する画像処理を行って、欠陥の候補を検出する。具体的には、参照画像と撮像画像との差異が画素単位で検出され、例えば、差異部分の寸法が検査規格から外れる場合、差異部分が欠陥の候補として検出される。   In S023, the computer 40 performs image processing for comparing the captured image binarized in S022 with the reference image of the golden sample binarized in advance in S01, and detects a defect candidate. Specifically, the difference between the reference image and the captured image is detected in units of pixels. For example, when the size of the difference portion deviates from the inspection standard, the difference portion is detected as a defect candidate.

例えば、検査基準として、参照画像に対して配線パターンPの幅が30%以上の誤差があれば欠陥として判断するという検査規格を登録した場合は、参照画像における配線パターンPの幅が10μmとすると、配線パターンPの幅が7μm未満のもの、ならびに配線パターンPの幅が13μmを越えるものは欠陥の候補として検出される。   For example, as an inspection standard, when an inspection standard is registered in which a defect is determined if there is an error of 30% or more of the wiring pattern P with respect to the reference image, the width of the wiring pattern P in the reference image is 10 μm. Those having a width of the wiring pattern P of less than 7 μm and those having the width of the wiring pattern P exceeding 13 μm are detected as defect candidates.

S024では、コンピューター40が、S023において検出された欠陥の候補の位置および種類を記憶する。欠陥の位置としては、基板W上のアライメントマークを基準位置とした座標値が記憶される。   In S024, the computer 40 stores the position and type of the defect candidate detected in S023. As the position of the defect, a coordinate value with the alignment mark on the substrate W as a reference position is stored.

以上のように、テスト検査処理S02によれば、まず、テスト基板Wの撮像画像が取得される。そして、撮像画像と参照画像とを比較する画像処理が行われ、テスト基板W上の欠陥の候補が検出される。   As described above, according to the test inspection process S02, first, a captured image of the test substrate W is acquired. Then, image processing for comparing the captured image with the reference image is performed, and a defect candidate on the test substrate W is detected.

図5は、学習データベース構築処理S03の手順を示すフローチャートである。学習データベース構築処理S03では、テスト基板Wの検査結果が検証され、機械学習用のデータベースが構築される。   FIG. 5 is a flowchart showing the procedure of the learning database construction process S03. In the learning database construction process S03, the inspection result of the test substrate W is verified, and a machine learning database is constructed.

S031では、コンピューター40が、S02において検出された欠陥の候補を表示部44に表示する。図8は、欠陥の候補が表示部44に表示された状態を示す図である。図8に示すように、表示部44には、欠陥の候補の座標を略中心とする所定サイズ(例えば100画素×100画素または200画素×200画素)の画像が表示される。また、欠陥の候補の画像の下部には、「正常検出」、「過検出」、または「未検出」を選択するためのチェックボックスが設けられている。   In S031, the computer 40 displays the defect candidates detected in S02 on the display unit 44. FIG. 8 is a diagram illustrating a state in which defect candidates are displayed on the display unit 44. As shown in FIG. 8, an image having a predetermined size (for example, 100 pixels × 100 pixels or 200 pixels × 200 pixels) is displayed on the display unit 44, with the coordinates of the defect candidate being substantially at the center. In addition, a check box for selecting “normal detection”, “overdetection”, or “not detected” is provided below the defect candidate image.

S032では、コンピューター40が、S02において検出された欠陥の中に存在しない未検出の欠陥の登録を受け付ける。具体的には、作業者が、表示部44に表示される欠陥の候補の画像を参照して、把握しているすべての欠陥が表示部44に表示されているかを確認する。そして、把握しているすべての欠陥が表示部44に表示されていない場合は、未検出の欠陥があると判断して、未検出の欠陥の座標および種類をコンピューター40に登録する。未検出の欠陥の座標が登録されると、コンピューター40は、登録された座標を中心とする所定サイズの画像を表示部44に追加的に表示する。   In S032, the computer 40 accepts registration of an undetected defect that does not exist in the defects detected in S02. Specifically, the operator refers to the defect candidate image displayed on the display unit 44 and confirms whether or not all known defects are displayed on the display unit 44. If all the known defects are not displayed on the display unit 44, it is determined that there is an undetected defect, and the coordinates and type of the undetected defect are registered in the computer 40. When the coordinates of the undetected defect are registered, the computer 40 additionally displays an image of a predetermined size centered on the registered coordinates on the display unit 44.

S033では、コンピューター40が、作業者による「正常検出」、「過検出」、または「未検出」の選択を受け付ける。図9は、「正常検出」、「過検出」、または「未検出」が選択された状態の表示部44を示す図である。   In S033, the computer 40 accepts selection of “normal detection”, “overdetection”, or “not detected” by the operator. FIG. 9 is a diagram illustrating the display unit 44 in a state where “normal detection”, “overdetection”, or “not detected” is selected.

作業者は、表示部44に表示される欠陥の候補の画像について、欠陥が正しく検出されていると判断すれば、「正常検出」を選択する。すなわち、「正常検出」を選択した場合は、表示部44に表示された欠陥の候補は「欠陥である」と判断されている。また、作業者は、表示部44に表示される欠陥の候補の画像について、本来欠陥でない部分が検出されていると判断すれば、「過検出」を選択する。すなわち、「過検出」を選択した場合は、表示部44に表示された欠陥の候補は「欠陥ではない」と判断されている。また、S032において追加された画像については、作業者は、「未検出」を選択する。すなわち、「未検出」を選択した場合は、S032において追加された欠陥の候補は「欠陥である」と判断されている。   If the operator determines that the defect is correctly detected in the defect candidate image displayed on the display unit 44, the worker selects “normal detection”. That is, when “normal detection” is selected, the defect candidates displayed on the display unit 44 are determined to be “defects”. If the worker determines that a part that is not originally a defect is detected in the defect candidate image displayed on the display unit 44, the worker selects “overdetection”. That is, if “overdetection” is selected, it is determined that the defect candidate displayed on the display unit 44 is “not a defect”. For the image added in S032, the operator selects “not detected”. That is, if “undetected” is selected, it is determined that the defect candidate added in S032 is “defect”.

なお、図9では、S031において表示された欠陥の候補の6つの画像のうち、4つの画像については「正常検出」が選択されており、2つの画像については「過検出」が選択されている。また、S032において追加された2つの画像については、「未検出」が選択されている。   In FIG. 9, among the six defect candidate images displayed in S <b> 031, “normal detection” is selected for four images, and “overdetection” is selected for two images. . In addition, “not detected” is selected for the two images added in S032.

S034では、コンピューター40が、S033において受け付けた選択結果を記憶する。具体的には、画像処理により検出された欠陥の候補については、「正常検出」または「過検出」の選択結果が記憶される。また、未検出の欠陥については、「未検出」の選択結果と、未検出の欠陥の座標および種類とが記憶される。   In S034, the computer 40 stores the selection result received in S033. Specifically, the selection result of “normal detection” or “overdetection” is stored for the defect candidates detected by the image processing. For undetected defects, the selection result of “undetected” and the coordinates and types of undetected defects are stored.

以上のように、学習データベース構築処理S03によれば、テスト基板Wの検査結果に対する作業者の検証結果が記憶され、機械学習用のデータベースが構築される。   As described above, according to the learning database construction process S03, the verification result of the operator with respect to the inspection result of the test substrate W is stored, and a machine learning database is constructed.

図6は、機械学習処理S05の手順を示すフローチャートである。機械学習処理S05では、S03において構築されたデータベースから、最適な検査基準が算出される。   FIG. 6 is a flowchart showing the procedure of the machine learning process S05. In the machine learning process S05, an optimal inspection standard is calculated from the database constructed in S03.

S051では、コンピューター40が、例えば、所定の優先順位にしたがって、検査基準(輝度の閾値、検査規格)の中から、輝度の閾値を選択する。   In S051, the computer 40 selects a luminance threshold value from inspection standards (luminance threshold value, inspection standard), for example, according to a predetermined priority order.

S052では、コンピューター40が、画像処理により過検出の欠陥の数が減少する閾値の範囲を探索する。具体的には、コンピューター40は、まず、S01において登録された輝度の閾値を読み出す。次に、コンピューター40は、輝度の閾値を初期値から所定量ずつ増減させて画像処理を繰り返すことにより、所定の種類の欠陥について、輝度の閾値と検出される欠陥の候補の数との関係を求める。そして、コンピューター40は、例えば、欠陥の候補の数が、データベースに記憶されている「正常検出」の欠陥の数と一致する範囲を過検出の欠陥が減少する閾値の範囲として算出する。   In S052, the computer 40 searches for a threshold range in which the number of overdetected defects is reduced by image processing. Specifically, the computer 40 first reads the brightness threshold value registered in S01. Next, the computer 40 repeats the image processing by increasing / decreasing the luminance threshold by a predetermined amount from the initial value, thereby determining the relationship between the luminance threshold and the number of detected defect candidates for a predetermined type of defect. Ask. Then, the computer 40 calculates, for example, a range in which the number of defect candidates matches the number of “normally detected” defects stored in the database as a threshold range in which overdetected defects are reduced.

例えば、輝度の閾値の初期値が120で、画像処理により、欠陥の候補が1000個検出され、作業者による検証の結果、1000個の欠陥の候補のうち、過検出の数が990個(つまり「正常検出」の欠陥の数が10個)であることが分かっていると仮定する。この場合、コンピューター40は、例えば、輝度の閾値を10ずつ増減させつつ画像処理を繰り返し行って、欠陥の候補を算出する。そして、例えば、閾値が70の場合に欠陥の候補の数が10個となれば、コンピューター40は、閾値70〜120の範囲を過検出の欠陥が減少する閾値の範囲として算出する。   For example, when the initial value of the luminance threshold is 120, 1000 defect candidates are detected by image processing, and as a result of verification by the operator, the number of overdetections among the 1000 defect candidates is 990 (that is, Assume that the number of “normally detected” defects is known to be 10). In this case, for example, the computer 40 repeatedly performs image processing while increasing or decreasing the luminance threshold value by 10 to calculate defect candidates. For example, if the number of defect candidates is 10 when the threshold is 70, the computer 40 calculates the range of the thresholds 70 to 120 as the threshold range in which overdetected defects are reduced.

S053では、コンピューター40が、画像処理により未検出の欠陥の数が減少する閾値の範囲を探索する。具体的には、コンピューター40が、所定の種類の欠陥について、未検出の欠陥がある部分の撮像画像に対して、輝度の閾値を初期値から所定量ずつ増減させて画像処理を繰り返すことにより、輝度の閾値と未検出の欠陥の数との関係を求める。そして、コンピューター40は、例えば、未検出の欠陥の数が0個となる範囲を過検出の欠陥が減少する閾値の範囲として算出する。   In S053, the computer 40 searches for a threshold range in which the number of undetected defects decreases by image processing. Specifically, for a predetermined type of defect, the computer 40 repeats image processing by increasing / decreasing the brightness threshold by a predetermined amount from the initial value for a captured image of a portion having an undetected defect, The relationship between the brightness threshold and the number of undetected defects is obtained. Then, for example, the computer 40 calculates a range in which the number of undetected defects is zero as a threshold range in which overdetected defects are reduced.

例えば、輝度の閾値の初期値が120で、未検出の欠陥が20個存在すると仮定する。この場合、コンピューター40は、例えば、未検出の欠陥がある部分の撮像画像について、輝度の閾値を10ずつ増減させつつ画像処理を繰り返し行って、未検出の欠陥が検出されたか否かを確認する。そして、例えば、閾値が60の場合に未検出の欠陥が0個になれば、コンピューター40は、閾値60〜120の範囲を未検出の欠陥が減少する閾値の範囲として算出する。   For example, it is assumed that the initial value of the brightness threshold is 120 and there are 20 undetected defects. In this case, for example, the computer 40 repeatedly performs image processing on a captured image of a portion with an undetected defect while increasing or decreasing the luminance threshold value by 10 to check whether an undetected defect is detected. . For example, if the number of undetected defects is zero when the threshold value is 60, the computer 40 calculates the range of the threshold values 60 to 120 as the threshold value range in which the number of undetected defects decreases.

S054では、コンピューター40が、最適な閾値を決定する。具体的には、コンピューター40が、S052において算出された閾値の範囲と、S053において算出された閾値の範囲とに基づいて、過検出の欠陥と未検出の欠陥の両方が減少する閾値を、最適値として決定する。   In S054, the computer 40 determines an optimum threshold value. Specifically, the computer 40 optimizes the threshold for reducing both the overdetected defect and the undetected defect based on the threshold range calculated in S052 and the threshold range calculated in S053. Determine as value.

以上のように、機械学習処理S05によれば、作業者の検証結果のデータベースに基づいて検査基準が調整され、過検出の欠陥が検出されないように、検査基準が最適化される。なお、機械学習処理S05において最適化された検査基準は、検査対象(検査製品名やロット名など)と関連付けてコンピューター40に記憶させて、再度同じ検査対象を検査する際には、コンピューター40に記憶された、最適化された検査基準を用いることができる。   As described above, according to the machine learning process S05, the inspection standard is adjusted based on the database of the worker verification results, and the inspection standard is optimized so as not to detect an overdetected defect. The inspection standard optimized in the machine learning process S05 is stored in the computer 40 in association with the inspection object (inspected product name, lot name, etc.), and when inspecting the same inspection object again, the computer 40 Stored, optimized inspection criteria can be used.

以上説明したように、本実施形態に係る検査方法は、基板Wの撮像画像を画像処理して欠陥を検出する検査方法であって、基板Wの参照画像および欠陥を検出するための検査基準を登録するステップ(a)と、撮像画像を取得するステップ(b)と、ステップ(a)において登録された検査基準を用いて、参照画像と撮像画像とを比較する画像処理を行って、欠陥を検出するステップ(c)と、ステップ(c)において検出された欠陥の中から、欠陥として検出されるべきでない過検出の欠陥を認識するステップ(d)と、ステップ(d)において認識された過検出の欠陥の数が減少するように、検査基準を調整するステップ(e)と、ステップ(e)において調整された検査基準を記憶するステップ(f)と、を有する。この検査方法によれば、ステップ(e)において、過検出の欠陥の数が減少するように、検査基準を調整する。このため、過検出(虚報)の発生を抑制して、欠陥の検出精度を向上させることができる。   As described above, the inspection method according to the present embodiment is an inspection method for detecting a defect by performing image processing on a captured image of the substrate W, and has an inspection standard for detecting a reference image of the substrate W and a defect. Step (a) for registering, step (b) for acquiring a captured image, and using the inspection standard registered in step (a), image processing for comparing the reference image and the captured image is performed, and the defect is detected. A step (c) for detecting, a step (d) for recognizing an overdetected defect that should not be detected as a defect from the defects detected in the step (c), and an error detected in the step (d). Adjusting the inspection criteria so that the number of detected defects is reduced (e) and storing the inspection criteria adjusted in step (e) (f). According to this inspection method, in step (e), the inspection standard is adjusted so that the number of overdetected defects is reduced. For this reason, generation | occurrence | production of an overdetection (false report) can be suppressed and the detection accuracy of a defect can be improved.

また、ステップ(c)とステップ(e)との間に、ステップ(c)において検出された欠陥の中に存在しない未検出の欠陥を認識するステップ(g)をさらに有し、ステップ(e)では、ステップ(g)において認識された未検出の欠陥の数が減少するように、検査基準をさらに調整する。したがって、未検出(見逃し)の発生を抑制して、欠陥の検出精度を向上させることができる。   Further, the method further includes a step (g) of recognizing an undetected defect that does not exist in the defects detected in the step (c) between the step (c) and the step (e). Then, the inspection standard is further adjusted so that the number of undetected defects recognized in step (g) is reduced. Therefore, the occurrence of undetected (missing) can be suppressed, and the defect detection accuracy can be improved.

また、ステップ(b)、ステップ(c)、ステップ(d)、およびステップ(g)は、複数の撮像画像に対して繰り返し実行され、ステップ(e)は、複数の撮像画像に対して認識された過検出の欠陥および未検出の欠陥について実行される。このため、機械学習処理S05において用いられるデータベースのデータの量が増大する。よって、機械学習処理S05において、算出される検査基準をより最適なものとすることができる。したがって、検査の精度が向上する。   Step (b), step (c), step (d), and step (g) are repeatedly executed for a plurality of captured images, and step (e) is recognized for the plurality of captured images. It is performed for overdetected and undetected defects. For this reason, the amount of data in the database used in the machine learning process S05 increases. Therefore, the inspection standard calculated in the machine learning process S05 can be made more optimal. Therefore, the inspection accuracy is improved.

また、検査基準は、輝度の閾値であって、ステップ(e)では、ステップ(a)において登録された閾値を所定量だけ変更して変更された閾値を用いて画像処理を行い、欠陥を検出する処理を繰り返すことによって、閾値を調整する。この検査方法によれば、欠陥の検出精度が確実に向上する。   The inspection standard is a luminance threshold value. In step (e), the threshold value registered in step (a) is changed by a predetermined amount and image processing is performed using the changed threshold value to detect a defect. The threshold is adjusted by repeating the process. According to this inspection method, the defect detection accuracy is reliably improved.

また、ステップ(f)の後に、基板Wを撮像部30により撮像するステップ(h)と、ステップ(f)において記憶された検査基準を用いて、ステップ(h)において基板Wを撮像して得られた撮像画像に画像処理を行って欠陥を検出するステップ(i)と、を有する。このため、量産品に対して好適に欠陥の検査を行うことができる。   Further, after step (f), the image obtained by imaging the substrate W in step (h) using the step (h) for imaging the substrate W by the imaging unit 30 and the inspection standard stored in step (f). (I) detecting an image by subjecting the captured image to image processing. For this reason, it is possible to suitably inspect defects for mass-produced products.

<変形例1>
以下、上述した実施形態の変形例1について説明する。変形例1に係る検査方法は、上述した実施形態に係る検査方法に対して、機械学習処理S05および確認検査処理S06(図3参照)の間に、曖昧検査処理S09を有する点において相違する。以下、曖昧検査処理S09について詳述する。
<Modification 1>
Hereinafter, Modification 1 of the above-described embodiment will be described. The inspection method according to the modified example 1 is different from the inspection method according to the above-described embodiment in that an ambiguity inspection process S09 is provided between the machine learning process S05 and the confirmation inspection process S06 (see FIG. 3). Hereinafter, the ambiguous inspection process S09 will be described in detail.

図10は、曖昧検査処理S09の手順を示すフローチャートである。図11は、S033で作業者の欠陥であるか否かの判断結果が異なる一対の撮像画像P1、P2を示す図である。曖昧検査処理S09では、一対の撮像画像P1、P2に形成される種類およびサイズが同一の欠陥に対して、作業者の欠陥であるか否かの判断結果が異なる場合に、その判断結果が正しいか否かを作業者に判断させる。   FIG. 10 is a flowchart showing the procedure of the ambiguity check process S09. FIG. 11 is a diagram illustrating a pair of captured images P1 and P2 that are different in the determination result of whether or not the defect is an operator's defect in S033. In the ambiguous inspection process S09, when the determination result of whether or not the defect is the same as the defect of the operator is different from the defect of the same type and size formed in the pair of captured images P1 and P2, the determination result is correct. Let the operator determine whether or not.

S091では、図11(A)に示すように、種類およびサイズが同一の欠陥の候補に対して、S033における作業者の欠陥であるか否かの判断結果が異なる一対の撮像画像P1、P2を、表示部44に表示する。変形例1では一例として、欠陥がピンホールHである場合を説明する。なお、欠陥の種類はピンホールに限定されず、欠けやショート等も含まれるものとする。図11(A)に示すように、一の撮像画像P1および他の撮像画像P2には、配線パターンP上に同一のサイズのピンホールHが形成されている。なお、同一のサイズとは完全に同一であるものだけではなく、略同一である場合も含むものとする。   In S091, as shown in FIG. 11A, a pair of captured images P1 and P2 having different judgment results as to whether or not the defect is the operator's defect in S033 with respect to a defect candidate of the same type and size. Are displayed on the display unit 44. In the first modification, a case where the defect is a pinhole H will be described as an example. Note that the types of defects are not limited to pinholes, but include defects and shorts. As shown in FIG. 11A, a pinhole H of the same size is formed on the wiring pattern P in one captured image P1 and another captured image P2. Note that the same size includes not only completely the same size but also substantially the same size.

作業者は、S033において、一の撮像画像P1に形成されたピンホールHは欠陥である(「正常検出」または「未検出」を選択)と判断している。一方、他の撮像画像P2に形成されたピンホールHは欠陥ではない(「過検出」を選択)と判断している。   In S <b> 033, the operator determines that the pinhole H formed in one captured image P <b> 1 is defective (“normal detection” or “not detected” is selected). On the other hand, it is determined that the pinhole H formed in the other captured image P2 is not a defect (“overdetection” is selected).

また、コンピューター40は、S054において決定された閾値を用いて画像処理を行った結果、一対の撮像画像P1、P2に形成されたピンホールHは「欠陥ではない」と判断している。この場合、図11(A)に示すように、一対の撮像画像P1、P2の外枠は実線で表示されている。一方、コンピューター40が、S054において決定された閾値を用いて画像処理を行った結果、一対の撮像画像P1、P2に形成されたピンホールHが「欠陥である」と判断した場合は、図11(B)に示すように、一対の撮像画像P1、P2の外枠を点線で表示させることができる。なお、色の違いによって、コンピューター40の判断結果を識別してもよい。   Further, as a result of performing the image processing using the threshold value determined in S054, the computer 40 determines that the pinhole H formed in the pair of captured images P1 and P2 is “not defective”. In this case, as shown in FIG. 11A, the outer frames of the pair of captured images P1 and P2 are displayed by solid lines. On the other hand, when the computer 40 determines that the pinhole H formed in the pair of captured images P1 and P2 is “defective” as a result of performing image processing using the threshold value determined in S054, FIG. As shown in (B), the outer frame of the pair of captured images P1 and P2 can be displayed with dotted lines. Note that the determination result of the computer 40 may be identified by the difference in color.

S092では、S033における作業者の判断結果またはS054において決定された閾値を用いた画像処理によるコンピューター40の判断結果の変更を受け付ける。例えば、図11(A)において、作業者の「欠陥である」という判断結果が誤っていたと作業者が判断した場合は、左下の「目視判定変更」のコマンドボタンを押して、作業者の判断が「欠陥ではない」となるように変更する。また、コンピューター40の「欠陥ではない」という判断結果が誤っていると作業者が判断した場合は、左上の「CP判定変更」のコマンドボタンを押して、コンピューター40の判断が「欠陥である」となるように変更する。また、図11(A)の右図のように、作業者およびコンピューター40の判断が一致しており、その判断に間違いがないと作業者が判断する場合は、右上および右下のコマンドボタンは押さない。   In S092, a change in the determination result of the computer 40 by image processing using the determination result of the worker in S033 or the threshold value determined in S054 is accepted. For example, in FIG. 11A, when the operator determines that the determination result of the operator “defective” is incorrect, the operator presses the command button of “change visual determination” at the lower left to determine the operator's determination. Change to be “not a defect”. In addition, when the operator determines that the determination result “not defective” of the computer 40 is incorrect, the command button of “CP determination change” on the upper left is pressed, and the determination of the computer 40 is “defective”. Change to In addition, as shown in the right diagram of FIG. 11A, when the judgment of the worker and the computer 40 is the same and the worker judges that there is no mistake in the judgment, the command buttons on the upper right and lower right are Do not push.

S093では、S092において、コンピューター40の判断結果の変更を受け付けた場合、欠陥の周辺部分の特徴量を抽出して、S092におけるコンピューター40の判断結果の変更がS06およびS08の検査処理において反映されるようにコンピューター40の判断結果の変更を記憶する。変形例1では、欠陥の周辺部分の特徴量として例えば、配線パターンPの線幅を挙げることができる。一の撮像画像P1では、配線パターンPの線幅W1が短いのに対して、他の撮像画像P2では、線幅W2が一の撮像画像P1の線幅W1よりも相対的に大きい。このとき、コンピューター40は、ピンホールHのサイズが同じであっても、線幅が相対的に短ければ「欠陥である」と、線幅が相対的に長ければ「欠陥ではない」と学習して記憶する。   In S093, when the change of the determination result of the computer 40 is accepted in S092, the feature amount of the peripheral portion of the defect is extracted, and the change of the determination result of the computer 40 in S092 is reflected in the inspection processes of S06 and S08. Thus, the change of the judgment result of the computer 40 is stored. In the first modification, for example, the line width of the wiring pattern P can be given as the feature amount of the peripheral portion of the defect. In one captured image P1, the line width W1 of the wiring pattern P is short, whereas in the other captured image P2, the line width W2 is relatively larger than the line width W1 of the one captured image P1. At this time, even if the size of the pinhole H is the same, the computer 40 learns that it is “defect” if the line width is relatively short, and “not defective” if the line width is relatively long. Remember.

以上説明したように、変形例1に係る検査方法は、ステップ(f)の後に、種類およびサイズが同一の欠陥に対して、作業者の欠陥であるか否かの判断結果が異なる一対の撮像画像を表示するステップ(l)と、作業者の判断結果またはコンピューター40の欠陥であるか否かの判断結果の変更を受け付けるステップ(m)と、を有する。この検査方法によれば、S033において作業者が誤って選択をした場合でも、種類およびサイズが同一の前記欠陥に対して、作業者の欠陥であるか否かの判断結果が異なる一対の撮像画像を表示して、作業者の判断結果の変更を受け付けるため、作業者の判断ミスを好適に防止することができる。   As described above, the inspection method according to the first modification includes a pair of imaging in which, after step (f), the determination result as to whether or not the defect is the operator's defect with respect to the defect of the same type and size. A step (l) for displaying an image, and a step (m) for accepting a change in the judgment result of the operator or the judgment result as to whether the computer 40 is defective or not. According to this inspection method, even if an operator selects in error in S033, a pair of captured images with different determination results as to whether or not the defect is the same as the defect with respect to the defect of the same type and size. Is displayed and a change in the operator's determination result is accepted, so that an operator's determination error can be suitably prevented.

また、ステップ(m)においてコンピューター40の判断結果の変更を受け付けた場合、欠陥の周辺部分の特徴量を抽出して、ステップ(m)におけるコンピューター40の判断結果の変更が今後の検査に反映されるように記憶するステップ(n)をさらに有する。このため、より精度良く検査を行うことができる。   In addition, when a change in the determination result of the computer 40 is accepted in step (m), the feature amount of the peripheral portion of the defect is extracted, and the change in the determination result of the computer 40 in step (m) is reflected in the future inspection. (N) is further stored. Therefore, the inspection can be performed with higher accuracy.

本発明は、上述した実施形態に限定されるものではなく、特許請求の範囲内で種々改変できる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims.

上述した実施形態では、S05において、輝度の閾値を調整して、過検出の欠陥の数および未検出の欠陥の数が減少するように、輝度の閾値を最適化することによって、欠陥の検出精度を向上させた。しかしながら、輝度の閾値を調整することなく、1つの輝度の閾値に基づいて算出された正常検出の欠陥の割合に基づいて、欠陥の検出精度を向上させてもよい。   In the above-described embodiment, in S05, the luminance threshold is adjusted to optimize the luminance threshold so that the number of overdetected defects and the number of undetected defects are reduced, thereby detecting the defect detection accuracy. Improved. However, the accuracy of defect detection may be improved based on the ratio of normally detected defects calculated based on one luminance threshold without adjusting the luminance threshold.

具体的にはまず、検査基準として登録された輝度の閾値を用いて、S02、S03の工程を行うことによって、「正常検出」、「過検出」、および「未検出」の選択結果、欠陥の座標、ならびに欠陥の種類が記憶される。そして、これらの工程を複数(例えば1000枚)の撮像画像に対して繰り返し行い、特徴量、選択結果、座標、および種類が関連付けられて記憶されたデータベースが構築される。ここで特徴量とは、例えば、V字状に切りかかれた溝の深さであって、欠陥の種類に応じて、適宜設定できる。そして、複数の撮像画像に対して上記の工程を繰り返す。そして、データベース内で同一座標に関連付けられた選択結果から過検出の割合を算出して、所定の割合以上である場合、確認検査処理S06や量産検査処理S08において、その座標では過検出として表示しないようにすることができる。また、S033において、コンピューター40が、作業者による「正常検出」、「過検出」、または「未検出」の選択を受け付ける際に、上記3つの選択結果を欠陥の位置および種類に関連付けて蓄積して、蓄積された選択結果のうち「正常検出」の割合を表示部44に表示させてもよい。   Specifically, first, by using the brightness threshold registered as the inspection standard, the processes of S02 and S03 are performed, so that the selection results of “normal detection”, “overdetection”, and “not detected” Coordinates and defect types are stored. Then, these steps are repeated for a plurality of (for example, 1000) captured images, and a database in which feature amounts, selection results, coordinates, and types are associated and stored is constructed. Here, the feature amount is, for example, the depth of a groove cut into a V shape, and can be appropriately set according to the type of defect. Then, the above process is repeated for a plurality of captured images. Then, the ratio of overdetection is calculated from the selection result associated with the same coordinate in the database, and if it is equal to or greater than the predetermined ratio, it is not displayed as overdetection at that coordinate in the confirmation inspection process S06 or the mass production inspection process S08. Can be. In S033, when the computer 40 accepts the selection of “normal detection”, “overdetection”, or “not detected” by the operator, the above three selection results are stored in association with the position and type of the defect. Then, the ratio of “normal detection” among the accumulated selection results may be displayed on the display unit 44.

また、上述した実施形態では、S023において、コンピューター40が、S022において二値化された撮像画像と、S021において予め二値化されたゴールデンサンプルの参照画像とを比較する画像処理を行って、欠陥の候補を検出した。しかしながら、参照画像がCAD画像などの設計図面画像である場合は、S022において二値化された撮像画像と、設計図面画像とを比較する画像処理を行って、欠陥の候補を検出してもよい。このとき、参照画像である設計図面画像は二値化されない。   In the above-described embodiment, in S023, the computer 40 performs image processing for comparing the captured image binarized in S022 with the reference image of the golden sample binarized in advance in S021, and the defect is detected. Candidates have been detected. However, when the reference image is a design drawing image such as a CAD image, a defect candidate may be detected by performing image processing for comparing the binarized captured image with the design drawing image in S022. . At this time, the design drawing image as a reference image is not binarized.

また、上述した実施形態では、過検出の欠陥の数および未検出の欠陥の数が減少するように閾値を調整した。しかしながら、過検出の欠陥の数または未検出の欠陥の数が減少するように閾値が調整されてもよい。   In the above-described embodiment, the threshold is adjusted so that the number of overdetected defects and the number of undetected defects are reduced. However, the threshold may be adjusted so that the number of over-detected defects or the number of undetected defects is reduced.

また、上述した実施形態では、撮像部30として、ラインスキャンカメラを用いた。しかしながら、撮像部として、エリアスキャンカメラを用いてもよい。さらに撮像部として、3Dカメラを用いてもよい。このように撮像部として3Dカメラを用いることによって、欠陥を3次元で検出することができる。   In the above-described embodiment, a line scan camera is used as the imaging unit 30. However, an area scan camera may be used as the imaging unit. Further, a 3D camera may be used as the imaging unit. In this way, by using a 3D camera as the imaging unit, it is possible to detect a defect in three dimensions.

また、検査装置1は、撮像部30とは別に、カラーカメラをさらに有してもよい。カラーカメラは、画像処理により検出された欠陥の候補の座標を中心とする微小領域を選択的に撮像して、微小領域のカラー撮像画像を取得する。作業者は、表示部に表示されるカラー撮像画像を参照することにより、欠陥の候補が過検出の欠陥であるかどうかを正確に判断することができる。このようにカラーカメラによってカラー撮像画像を取得することによって、欠陥の候補について「正常検出」または「過検出」を判断する際の精度が向上する。そして、このようにカラー撮像画像を用いることにより、「正常検出」、「過検出」の判断精度が向上するため、機械学習処理S05において、より好適な検査基準が算出される。   Further, the inspection apparatus 1 may further include a color camera separately from the imaging unit 30. The color camera selectively captures a micro area centered on the coordinates of a defect candidate detected by image processing, and acquires a color image of the micro area. The operator can accurately determine whether or not the defect candidate is an overdetected defect by referring to the color captured image displayed on the display unit. Acquiring a color captured image with a color camera in this way improves the accuracy in determining “normal detection” or “overdetection” for a defect candidate. Then, by using the color captured image in this way, the determination accuracy of “normal detection” and “overdetection” is improved, and therefore, a more suitable inspection standard is calculated in the machine learning process S05.

また、上述した実施形態では、S051において、検査基準として、輝度の閾値が選択された。しかしながら、S051において検査基準として、検査規格が選択されてもよい。このとき、過検出および未検出の欠陥の数が減少するように、検査規格が算出される。また、S051において検査基準として、輝度の閾値および検査規格が選択されてもよい。   In the above-described embodiment, the luminance threshold is selected as the inspection standard in S051. However, an inspection standard may be selected as the inspection standard in S051. At this time, the inspection standard is calculated so that the number of overdetected and undetected defects is reduced. In S051, a luminance threshold and an inspection standard may be selected as the inspection standard.

また、上述した実施形態では、照明部20は、基板Wの上方に設けられ、照明部20から反射光を撮像部30が撮像した。しかしながら、照明部は、基板Wの下方に設けられ、照明部からの透過光を撮像部が撮像する構成であってもよい。   In the above-described embodiment, the illumination unit 20 is provided above the substrate W, and the imaging unit 30 images reflected light from the illumination unit 20. However, the illumination unit may be provided below the substrate W, and the imaging unit may capture the transmitted light from the illumination unit.

また、上述した実施形態では、S033において、過検出および未検出の判断を行った。しかしながら、S033において、過検出および未検出の少なくとも一方の判断を行ってもよい。   In the above-described embodiment, overdetection and non-detection are determined in S033. However, in S033, at least one of over-detection and non-detection may be determined.

また、上述した実施形態では、S052において、未検出の欠陥の位置および種類が登録され、登録された位置および種類に基づいて検査基準が調整された。しかしながら、S052では、未検出の欠陥の位置のみが登録されてもよい。この場合、コンピューター40が、欠陥の種類を予測し、予測した欠陥の種類を作業者に問い合わせる。   In the above-described embodiment, the position and type of an undetected defect are registered in S052, and the inspection standard is adjusted based on the registered position and type. However, in S052, only the position of an undetected defect may be registered. In this case, the computer 40 predicts the type of defect and inquires the operator of the predicted type of defect.

また、上述した実施形態では、プリント基板の検査を行う場合を例に挙げて説明した。しかしながら、本発明の検査装置1は、プリント基板の検査に限定されず、撮像画像と参照画像とを比較する種々の検査に適用される。   In the above-described embodiment, the case where the printed circuit board is inspected is described as an example. However, the inspection apparatus 1 of the present invention is not limited to the inspection of a printed circuit board, but is applied to various inspections for comparing a captured image with a reference image.

また、上述した実施形態では、基板Wは1枚のシートタイプを例に挙げて説明した。しかしながら、ロール状の基板Wが引き出されつつ、検査装置1によって検査される形態であってもよい。   In the above-described embodiment, the substrate W has been described by taking a single sheet type as an example. However, a form in which the roll-shaped substrate W is inspected by the inspection apparatus 1 while being drawn out may be employed.

また、上述した実施形態では、コンピューター40に接続される撮像部30によって撮像された基板Wの撮像画像を用いて、コンピューター40により検査基準が調整された。しかしながら、他の検査装置の撮像部によって撮像された基板Wの撮像画像を用いて、コンピューター40により検査基準が調整されてもよい。このとき、カラーカメラによって基板Wを撮像し直し、作業者がカラー撮像画像を確認して、過検出の欠陥を選択してもよい。このようにカラー撮像画像を用いることによって、欠陥の候補について、「正常検出」または「過検出」を判断する際の精度が向上する。   In the above-described embodiment, the inspection standard is adjusted by the computer 40 using the captured image of the substrate W imaged by the imaging unit 30 connected to the computer 40. However, the inspection standard may be adjusted by the computer 40 using the captured image of the substrate W captured by the imaging unit of another inspection apparatus. At this time, the substrate W may be re-captured by the color camera, and the operator may check the color-captured image and select an overdetection defect. By using a color captured image in this way, the accuracy in determining “normal detection” or “overdetection” for a defect candidate is improved.

また、上述した実施形態では、1枚の基板Wに1つの検査対象物が形成されている場合を説明した。しかしながら、図12に示すように、1枚の基板Wに複数の検査対象物Tが構成されていてもよい。このとき、互いに異なる検査対象物Tにおいて、同一部位が同一の座標となるように座標変換を行って、1つの部位に対して多数の学習データベースを構築することが好ましい。この検査方法によれば、学習データベース構築処理S03において、より多くの学習データベースが構築されるため、より短時間で満足できるレベルのデータベースを得ることができる。なお、座標変換を行うことなく、互いに異なる検査対象物Tの同一部位を互いに関連付けるようにしてもよい。   In the above-described embodiment, the case where one inspection object is formed on one substrate W has been described. However, as shown in FIG. 12, a plurality of inspection objects T may be configured on one substrate W. At this time, it is preferable to construct a large number of learning databases for one part by performing coordinate transformation so that the same part has the same coordinates in different inspection objects T. According to this inspection method, more learning databases are constructed in the learning database construction process S03, so that a satisfactory level of database can be obtained in a shorter time. Note that the same parts of different inspection objects T may be associated with each other without performing coordinate conversion.

また、図13に示すように、1つの検査対象物Tに同一の配線パターンPが複数形成されている場合、互いに異なる座標に存在する同一の配線パターンPにおいて、同一部位が同一の座標となるように座標変換を行って、1つの部位に対して多数の学習データベースを構築することが好ましい。この検査方法によれば、学習データベース構築処理S03において、より多くの学習データベースが構築されるため、より短時間で満足できるレベルのデータベースを得ることができる。なお、座標変換を行うことなく、互いに異なる座標に存在する同一の配線パターンPの同一部位を互いに関連付けるようにしてもよい。   Further, as shown in FIG. 13, when a plurality of the same wiring patterns P are formed on one inspection object T, the same part has the same coordinates in the same wiring pattern P existing at different coordinates. In this way, it is preferable to construct a large number of learning databases for one part by performing coordinate transformation. According to this inspection method, more learning databases are constructed in the learning database construction process S03, so that a satisfactory level of database can be obtained in a shorter time. Note that the same parts of the same wiring pattern P existing at different coordinates may be associated with each other without performing coordinate conversion.

また、上述した実施形態に係る検査装置1における各種処理を行う手段および方法は、専用のハードウエア回路、またはプログラムされたコンピューターのいずれによっても実現することが可能である。上記プログラムは、たとえば、CD−ROM(Compact Disc Read Only Memory)などのコンピューター読み取り可能な記録媒体によって提供されてもよいし、インターネットなどのネットワークを介してオンラインで提供されてもよい。この場合、コンピューター読み取り可能な記録媒体に記録されたプログラムは、通常、ハードディスクなどの記憶部に転送され記憶される。また、上記プログラムは、単独のアプリケーションソフトとして提供されてもよいし、検査装置1の一機能としてその装置のソフトウエアに組み込まれてもよい。   The means and method for performing various processes in the inspection apparatus 1 according to the above-described embodiment can be realized by either a dedicated hardware circuit or a programmed computer. The program may be provided by a computer-readable recording medium such as a CD-ROM (Compact Disc Read Only Memory), or may be provided online via a network such as the Internet. In this case, the program recorded on the computer-readable recording medium is usually transferred to and stored in a storage unit such as a hard disk. The program may be provided as a single application software, or may be incorporated in the software of the apparatus as one function of the inspection apparatus 1.

1 検査装置、
10 載置部、
20 照明部、
30 撮像部、
40 コンピューター、
41 CPU、
42 メモリー、
43 ハードディスク、
44 表示部、
45 入力部、
46 通信部、
P1、P2 一対の撮像画像。
1 Inspection device,
10 Placement part,
20 Illumination part,
30 imaging unit,
40 computers,
41 CPU,
42 memory,
43 Hard disk,
44 display,
45 Input section,
46 Communication Department,
P1, P2 A pair of captured images.

Claims (10)

検査対象物の撮像画像を画像処理して欠陥を検出する検査方法であって、
前記検査対象物の参照画像および前記欠陥を検出するための検査基準を登録するステップ(a)と、
前記撮像画像を取得するステップ(b)と、
前記ステップ(a)において登録された前記検査基準を用いて、前記参照画像と前記撮像画像とを比較する画像処理を行って、前記欠陥を検出するステップ(c)と、
前記ステップ(c)において検出された前記欠陥の中から、欠陥として検出されるべきでない過検出の欠陥を認識するステップ(d)と、
前記ステップ(d)において認識された前記過検出の欠陥の数が減少するように、前記検査基準を調整するステップ(e)と、
前記ステップ(e)において調整された前記検査基準を記憶するステップ(f)と、
を有し、
前記ステップ(c)と前記ステップ(e)との間に、
前記ステップ(c)において検出された前記欠陥の中に存在しない未検出の欠陥を認識するステップ(g)をさらに有し、
前記ステップ(e)では、前記ステップ(g)において認識された前記未検出の欠陥の数が減少するように、前記検査基準をさらに調整し、
前記ステップ(b)、前記ステップ(c)、前記ステップ(d)、および前記ステップ(g)は、複数の撮像画像に対して繰り返し実行され、
前記ステップ(e)は、前記複数の撮像画像に対して認識された前記過検出の欠陥および前記未検出の欠陥について実行され
前記ステップ(f)の後に、
種類およびサイズが同一の前記欠陥に対して、作業者の欠陥であるか否かの判断結果が異なる一対の前記撮像画像を表示するステップ(l)と、
前記作業者の判断結果またはコンピューターの欠陥であるか否かの判断結果の変更を受け付けるステップ(m)と、を有する検査方法。
An inspection method for detecting defects by performing image processing on a captured image of an inspection object,
(A) registering a reference image of the inspection object and an inspection standard for detecting the defect;
Obtaining the captured image (b);
(C) detecting the defect by performing image processing for comparing the reference image and the captured image using the inspection standard registered in the step (a);
Recognizing an overdetected defect that should not be detected as a defect from the defects detected in step (c);
Adjusting the inspection criteria so that the number of overdetected defects recognized in step (d) is reduced (e);
Storing the inspection criteria adjusted in the step (e) (f);
Have
Between step (c) and step (e),
Recognizing undetected defects that are not present in the defects detected in step (c),
In the step (e), the inspection standard is further adjusted so that the number of the undetected defects recognized in the step (g) is reduced,
The step (b), the step (c), the step (d), and the step (g) are repeatedly performed on a plurality of captured images,
The step (e) is performed for the overdetected defect and the undetected defect recognized for the plurality of captured images ,
After step (f)
A step (l) of displaying a pair of the captured images having different determination results as to whether or not the defect is an operator defect with respect to the defect of the same type and size;
Inspecting how having a, and step (m) that receives a change of the operator's judgment results or computer defect in which whether the result of determination.
前記検査基準は、輝度の閾値であって、
前記ステップ(e)では、前記ステップ(a)において登録された前記閾値を所定量だけ変更して、変更された前記閾値を用いて画像処理を行って、前記欠陥を検出する処理を繰り返すことによって、前記閾値を調整する請求項1に記載の検査方法。
The inspection standard is a luminance threshold,
In the step (e), the threshold value registered in the step (a) is changed by a predetermined amount, image processing is performed using the changed threshold value, and the defect detection process is repeated. The inspection method according to claim 1, wherein the threshold value is adjusted.
前記ステップ(c)と前記ステップ(d)との間に、
前記検査対象物をカラーカメラにより撮像するステップ(h)と、
前記ステップ(h)において、前記検査対象物を前記カラーカメラにより撮像して得られたカラー撮像画像を表示して、作業者による前記過検出の欠陥の選択を受け付けるステップ(i)と、をさらに有し、
前記ステップ(d)では、前記ステップ(i)において受け付けられた前記過検出の欠陥を認識する、請求項1または2に記載の検査方法。
Between step (c) and step (d),
Imaging the inspection object with a color camera (h);
A step (i) of displaying a color captured image obtained by imaging the inspection object with the color camera in the step (h) and receiving selection of the overdetected defect by an operator; Have
The inspection method according to claim 1, wherein in the step (d), the overdetected defect accepted in the step (i) is recognized.
前記ステップ(f)の後に、
前記検査対象物を撮像部により撮像するステップ(j)と、
前記ステップ(f)において記憶された前記検査基準を用いて、前記ステップ(j)において前記検査対象物を撮像して得られた撮像画像に前記画像処理を行って前記欠陥を検出するステップ(k)と、を有する請求項1〜3のいずれか1項に記載の検査方法。
After step (f)
Step (j) of imaging the inspection object by an imaging unit;
A step of detecting the defect by performing the image processing on the captured image obtained by imaging the inspection object in the step (j) using the inspection standard stored in the step (f) (k) The inspection method according to any one of claims 1 to 3, further comprising:
前記ステップ(m)において前記コンピューターの判断結果の変更を受け付けた場合、前記欠陥の周辺部分の特徴量を抽出して、前記ステップ(m)における前記コンピューターの判断結果の変更が今後の検査に反映されるように記憶するステップ(n)をさらに有する請求項1〜4のいずれか1項に記載の検査方法。 When a change in the determination result of the computer is accepted in the step (m), the feature amount of the peripheral portion of the defect is extracted, and the change in the determination result of the computer in the step (m) is reflected in the future inspection The inspection method according to any one of claims 1 to 4, further comprising a step (n) of storing as described. 検査対象物の撮像画像を画像処理して欠陥を検出する検査装置であって、
前記検査対象物の参照画像および前記欠陥を検出するための検査基準を登録する登録部と、
前記撮像画像を取得する取得部と、
前記登録部によって登録された前記検査基準を用いて、前記参照画像と前記撮像画像とを比較する画像処理を行って、前記欠陥を検出する検出部と、
前記検出部によって検出された前記欠陥の中から、欠陥として検出されるべきでない過検出の欠陥を認識する第1認識部と、
前記検出部によって検出された前記欠陥の中に存在しない未検出の欠陥を認識する第2認識部と、
前記第1認識部によって認識された前記過検出の欠陥の数が減少するように、前記検査基準を調整する第1調整部と、
前記第2認識部によって認識された前記未検出の欠陥の数が減少するように、前記検査基準を調整する第2調整部と、
前記第1調整部および前記第2調整部によって調整された前記検査基準を記憶する記憶部と、
種類およびサイズが同一の前記欠陥に対して、作業者の欠陥であるか否かの判断結果が異なる一対の前記撮像画像を表示する表示部と、
前記作業者の判断結果またはコンピューターの欠陥であるか否かの判断結果の変更を受け付ける受付部と、
を有し、
前記取得部による前記撮像画像を取得する処理、前記検出部による前記欠陥を検出する処理、前記第1認識部による前記過検出の欠陥を認識する処理、および前記第2認識部による前記未検出の欠陥を認識する処理は、複数の撮像画像に対して繰り返し実行され、
前記第1調整部および前記第2調整部は、前記複数の撮像画像に対して認識された前記過検出の欠陥および前記未検出の欠陥を用いて、前記検査基準を調整する検査装置。
An inspection apparatus that detects a defect by performing image processing on a captured image of an inspection object,
A registration unit for registering a reference image of the inspection object and an inspection standard for detecting the defect;
An acquisition unit for acquiring the captured image;
Using the inspection standard registered by the registration unit, a detection unit that detects the defect by performing image processing for comparing the reference image and the captured image;
A first recognition unit for recognizing an overdetection defect that should not be detected as a defect from the defects detected by the detection unit;
A second recognition unit for recognizing an undetected defect that does not exist in the defect detected by the detection unit;
A first adjustment unit that adjusts the inspection standard such that the number of overdetected defects recognized by the first recognition unit decreases;
A second adjustment unit that adjusts the inspection standard so that the number of undetected defects recognized by the second recognition unit decreases;
A storage unit for storing the inspection standard adjusted by the first adjustment unit and the second adjustment unit;
A display unit that displays a pair of the captured images with different determination results as to whether or not the defect is the same as the defect of the same type and size;
A reception unit that receives a change in the determination result of the worker or the determination result of whether or not the defect is a computer;
Have
The process of acquiring the captured image by the acquisition unit, the process of detecting the defect by the detection unit, the process of recognizing the overdetected defect by the first recognition unit, and the undetected by the second recognition unit The process of recognizing a defect is repeatedly performed on a plurality of captured images,
The first adjustment unit and the second adjustment unit adjust the inspection standard using the overdetected defect and the undetected defect recognized for the plurality of captured images.
前記検査対象物を撮像するカラーカメラと、
前記カラーカメラにより前記検査対象物を撮像して得られたカラー撮像画像を表示する表示部と、
前記表示部に表示される前記カラー撮像画像に基づく、作業者による前記過検出の欠陥の選択の入力を受け付ける入力部と、をさらに有し、
前記第1認識部では、前記入力部において入力を受け付けられた前記過検出の欠陥を認識する請求項に記載の検査装置。
A color camera for imaging the inspection object;
A display unit for displaying a color-captured image obtained by imaging the inspection object by the color camera;
An input unit that receives an input of selection of the overdetected defect by an operator based on the color captured image displayed on the display unit;
The inspection apparatus according to claim 6 , wherein the first recognition unit recognizes the overdetection defect whose input is received by the input unit.
検査対象物の撮像画像を画像処理して欠陥を検出するための検査プログラムであって、
前記検査対象物の参照画像および前記欠陥を検出するための検査基準を登録する手順(a)と、
前記撮像画像を取得する手順(b)と、
前記手順(a)において登録された前記検査基準を用いて、前記参照画像と前記撮像画像とを比較する画像処理を行って、前記欠陥を検出する手順(c)と、
前記手順(c)において検出された前記欠陥の中から、欠陥として検出されるべきでない過検出の欠陥を認識する手順(d)と、
前記手順(d)において認識された前記過検出の欠陥の数が減少するように、前記検査基準を調整する手順(e)と、
前記手順(e)において調整された前記検査基準を記憶する手順(f)と、
をコンピューターに実行させ、
前記手順(c)と前記手順(e)との間に、
前記手順(c)において検出された前記欠陥の中に存在しない未検出の欠陥を認識する手順(g)をさらに前記コンピューターに実行させ、
前記手順(e)では、前記手順(g)において認識された前記未検出の欠陥の数が減少するように、前記検査基準をさらに調整し、
前記手順(b)、前記手順(c)、前記手順(d)、および前記手順(g)は、複数の撮像画像に対して繰り返し実行され、
前記手順(e)は、前記複数の撮像画像に対して認識された前記過検出の欠陥および前記未検出の欠陥について実行され
前記手順(f)の後に、
種類およびサイズが同一の前記欠陥に対して、作業者の欠陥であるか否かの判断結果が異なる一対の前記撮像画像を表示する手順(l)と、
前記作業者の判断結果または前記コンピューターの欠陥であるか否かの判断結果の変更を受け付ける手順(m)と、をさらに前記コンピューターに実行させる検査プログラム。
An inspection program for detecting defects by performing image processing on a captured image of an inspection object,
A procedure (a) for registering a reference image of the inspection object and an inspection standard for detecting the defect;
A procedure (b) of acquiring the captured image;
Using the inspection standard registered in the step (a), performing image processing for comparing the reference image and the captured image, and detecting the defect;
A step (d) of recognizing an overdetected defect that should not be detected as a defect from the defects detected in the step (c);
Adjusting the inspection criteria so that the number of over-detected defects recognized in step (d) is reduced;
A procedure (f) for storing the inspection standard adjusted in the procedure (e);
To the computer,
Between the procedure (c) and the procedure (e),
Causing the computer to further execute a step (g) of recognizing an undetected defect that does not exist in the defect detected in the step (c);
In the step (e), the inspection standard is further adjusted so that the number of the undetected defects recognized in the step (g) is reduced.
The procedure (b), the procedure (c), the procedure (d), and the procedure (g) are repeatedly performed on a plurality of captured images,
Step (e) is performed for the overdetected defect and the undetected defect recognized for the plurality of captured images ,
After step (f)
A procedure (l) for displaying a pair of the captured images with different determination results as to whether or not the defect is the same as the defect of the same type and size;
The operator of the determination result or the computer defect in a determination of whether the result of the procedure for accepting a change and (m), a further test program Ru is executed on the computer.
前記手順(c)と前記手順(d)との間に、
前記検査対象物をカラーカメラにより撮像する手順(h)と、
前記手順(h)において、前記検査対象物を前記カラーカメラにより撮像して得られたカラー撮像画像を表示させて、作業者による前記過検出の欠陥の選択を受け付ける手順(i)と、をさらに有し、
前記手順(d)では、前記手順(i)において受け付けられた前記過検出の欠陥を認識する、請求項に記載の検査プログラム。
Between the procedure (c) and the procedure (d),
A procedure (h) of imaging the inspection object with a color camera;
A step (i) of displaying a color captured image obtained by imaging the inspection object with the color camera in the step (h) and receiving selection of the overdetected defect by an operator; Have
The inspection program according to claim 8 , wherein the procedure (d) recognizes the overdetection defect received in the procedure (i).
請求項8または9に記載の検査プログラムを記録したコンピューター読み取り可能な記録媒体。 A computer-readable recording medium on which the inspection program according to claim 8 is recorded.
JP2016201245A 2016-04-15 2016-10-12 Inspection method, inspection apparatus, inspection program, and recording medium Active JP6218094B1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2016082402 2016-04-15
JP2016082402 2016-04-15
JP2016167396 2016-08-29
JP2016167396 2016-08-29

Publications (2)

Publication Number Publication Date
JP6218094B1 true JP6218094B1 (en) 2017-10-25
JP2018036241A JP2018036241A (en) 2018-03-08

Family

ID=60156726

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016201245A Active JP6218094B1 (en) 2016-04-15 2016-10-12 Inspection method, inspection apparatus, inspection program, and recording medium

Country Status (1)

Country Link
JP (1) JP6218094B1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111435118A (en) * 2019-01-14 2020-07-21 日商登肯股份有限公司 Inspection apparatus and inspection method
CN111855700A (en) * 2020-07-17 2020-10-30 清华大学 Product spot inspection trademark defect detection system and method based on smart phone
CN112394071A (en) * 2019-08-16 2021-02-23 乐人株式会社 Substrate defect inspection device and method
CN112461846A (en) * 2020-11-26 2021-03-09 常州微亿智造科技有限公司 Workpiece defect detection method and device
CN112907542A (en) * 2021-02-24 2021-06-04 上海华力集成电路制造有限公司 Method for detecting defects of wafer back, storage medium and computer device
CN114073175A (en) * 2019-07-04 2022-02-18 株式会社富士 Component mounting system
CN116071356A (en) * 2023-03-06 2023-05-05 中国市政工程西南设计研究总院有限公司 Intelligent inspection platform and inspection method for defects of design drawing of design enterprise

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019184380A (en) * 2018-04-09 2019-10-24 株式会社アドダイス Imaging device and inspection system using imaging device
JP6653929B1 (en) * 2019-07-18 2020-02-26 Jeインターナショナル株式会社 Automatic determination processing device, automatic determination processing method, inspection system, program, and recording medium
CN112541475B (en) 2020-12-24 2024-01-19 北京百度网讯科技有限公司 Sensing data detection method and device
JP2022140081A (en) * 2021-03-12 2022-09-26 オムロン株式会社 Inspection system, inspection management device, inspection method, and program
WO2023157231A1 (en) * 2022-02-18 2023-08-24 株式会社 東芝 Determination device, determination system, determination method, program, and recording medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002323458A (en) * 2001-02-21 2002-11-08 Hitachi Ltd Defect inspection management system and defect inspection system and apparatus of electronic circuit pattern
JP2005265493A (en) * 2004-03-17 2005-09-29 Shigeki Kobayashi Inspection device
JP2007327848A (en) * 2006-06-07 2007-12-20 Omron Corp Inspection control device, inspection control method, inspection system, control program and recording medium
JP2008267828A (en) * 2007-04-16 2008-11-06 Anritsu Corp Central control system of solder inspection line, control device used therein and central control method of solder inspection line
JP2009294087A (en) * 2008-06-05 2009-12-17 Sumitomo Chemical Co Ltd Resin material inspection testing device and program
JP2013142558A (en) * 2012-01-06 2013-07-22 Keyence Corp Visual inspection device, visual inspection method and computer program
JP2014048073A (en) * 2012-08-29 2014-03-17 Fuji Mach Mfg Co Ltd Imaging condition optimization method and imaging condition optimization system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002323458A (en) * 2001-02-21 2002-11-08 Hitachi Ltd Defect inspection management system and defect inspection system and apparatus of electronic circuit pattern
JP2005265493A (en) * 2004-03-17 2005-09-29 Shigeki Kobayashi Inspection device
JP2007327848A (en) * 2006-06-07 2007-12-20 Omron Corp Inspection control device, inspection control method, inspection system, control program and recording medium
JP2008267828A (en) * 2007-04-16 2008-11-06 Anritsu Corp Central control system of solder inspection line, control device used therein and central control method of solder inspection line
JP2009294087A (en) * 2008-06-05 2009-12-17 Sumitomo Chemical Co Ltd Resin material inspection testing device and program
JP2013142558A (en) * 2012-01-06 2013-07-22 Keyence Corp Visual inspection device, visual inspection method and computer program
JP2014048073A (en) * 2012-08-29 2014-03-17 Fuji Mach Mfg Co Ltd Imaging condition optimization method and imaging condition optimization system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111435118A (en) * 2019-01-14 2020-07-21 日商登肯股份有限公司 Inspection apparatus and inspection method
CN114073175A (en) * 2019-07-04 2022-02-18 株式会社富士 Component mounting system
CN114073175B (en) * 2019-07-04 2023-09-22 株式会社富士 Component mounting system
CN112394071A (en) * 2019-08-16 2021-02-23 乐人株式会社 Substrate defect inspection device and method
CN112394071B (en) * 2019-08-16 2024-04-09 乐人株式会社 Substrate defect inspection apparatus and method
CN111855700A (en) * 2020-07-17 2020-10-30 清华大学 Product spot inspection trademark defect detection system and method based on smart phone
CN112461846A (en) * 2020-11-26 2021-03-09 常州微亿智造科技有限公司 Workpiece defect detection method and device
CN112461846B (en) * 2020-11-26 2024-02-23 常州微亿智造科技有限公司 Workpiece defect detection method and device
CN112907542A (en) * 2021-02-24 2021-06-04 上海华力集成电路制造有限公司 Method for detecting defects of wafer back, storage medium and computer device
CN116071356A (en) * 2023-03-06 2023-05-05 中国市政工程西南设计研究总院有限公司 Intelligent inspection platform and inspection method for defects of design drawing of design enterprise
CN116071356B (en) * 2023-03-06 2023-06-16 中国市政工程西南设计研究总院有限公司 Intelligent inspection platform and inspection method for defects of design drawing of design enterprise

Also Published As

Publication number Publication date
JP2018036241A (en) 2018-03-08

Similar Documents

Publication Publication Date Title
JP6218094B1 (en) Inspection method, inspection apparatus, inspection program, and recording medium
CN110579479A (en) PCB maintenance system and maintenance method based on false point defect detection
CN101014850B (en) System and method for inspecting electrical circuits utilizing reflective and fluorescent imagery
JP4776308B2 (en) Image defect inspection apparatus, image defect inspection system, defect classification apparatus, and image defect inspection method
TWI313748B (en) Board inspecting method and apparatus and inspection logic setting method and apparatus
JP2017096750A (en) Positioning method, positioning apparatus, program and computer readable recording medium
CN108520514B (en) Consistency detection method for electronic elements of printed circuit board based on computer vision
TWI669519B (en) Board defect filtering method and device thereof and computer-readabel recording medium
JP2018096908A (en) Inspection device and inspection method
TW200540392A (en) Apparatus, method, and program for assisting in selection of pattern element for pattern matching
JP2007327757A (en) Visual inspection device
WO2014103617A1 (en) Alignment device, defect inspection device, alignment method, and control program
KR101689980B1 (en) Pattern inspection apparatus and pattern inspection method
JP5615076B2 (en) Component presence / absence determination apparatus and component presence / absence determination method
JP4506395B2 (en) Substrate inspection device, parameter setting method and parameter setting device
JP2018091771A (en) Method for inspection, preliminary image selection device, and inspection system
KR20190079317A (en) Machine vision inspection device and product inspection method using machine vision
CN105277569B (en) Route board detecting method based on three-dimensional feature
WO2017203554A1 (en) Inspection information generation device, inspection information generation method, and defect inspection device
JP2006234554A (en) Method and device for inspecting pattern
JP2006035505A (en) Method and device for inspecting printed matter
JP2676990B2 (en) Wiring pattern inspection equipment
JPH11150169A (en) Circuit inspection method and device
JP2008241298A (en) Flaw detection method
TW202215034A (en) Method and system for detecting defect of panel

Legal Events

Date Code Title Description
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: 20170822

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170915

R150 Certificate of patent or registration of utility model

Ref document number: 6218094

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250