JPH08110305A - Method and device for inspecting appearance - Google Patents

Method and device for inspecting appearance

Info

Publication number
JPH08110305A
JPH08110305A JP6247637A JP24763794A JPH08110305A JP H08110305 A JPH08110305 A JP H08110305A JP 6247637 A JP6247637 A JP 6247637A JP 24763794 A JP24763794 A JP 24763794A JP H08110305 A JPH08110305 A JP H08110305A
Authority
JP
Japan
Prior art keywords
pattern
line width
allowable value
inspected
value
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.)
Withdrawn
Application number
JP6247637A
Other languages
Japanese (ja)
Inventor
Hideo Okada
英夫 岡田
Koji Oka
浩司 岡
Yorihiro Sakashita
頼弘 坂下
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP6247637A priority Critical patent/JPH08110305A/en
Publication of JPH08110305A publication Critical patent/JPH08110305A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE: To accurately judge a plurality of patterns with different widths by setting the line width allowable value of a pattern to be inspected, determining the line kind of pattern after each of measured values is compared with it and generating a radial code based on the result. CONSTITUTION: A storage circuit 14 stores a binarization data of reference pattern of a pattern to be inspected, and a measuring circuit 15 measures a measurement value based on this data, then a center detecting circuit 16 detects a central signal. A length measurement value and central signal are inputted in an allowable value determining circuit 17 and the maximum and minimum values of the allowable value for line width that is to be applied for the pattern to be inspected are obtained thereby. The circuits 16 and 17 expand the width to be judged as a center as far as possible according to the width of a reference line and the deviation between the reading positions of the pattern to be inspected that is piked up by a CCD camera 2 and the reference pattern from the circuit 14 is covered. When the deviation is large, it is corrected by a positioning circuit 19. When the correction cannot be made, a central signal comparing circuit 18 outputs an omission failure signal to an OK/NG judging circuit 11. Thus, a plurality of wiring patterns can be judged individually.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プリント配線板のパタ
ーン検査等に用いる外観検査装置に関する。近年の電子
機器に用いられるプリント配線板は、高度に多層化・薄
膜化されてきたている。このため、プリント配線板にお
けるパターンの欠け、断線、短絡等の不良の検出は、も
はや目視による検査は不可能なので、外観検査装置が用
いられるようになっている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a visual inspection apparatus used for pattern inspection of printed wiring boards. Printed wiring boards used for electronic devices in recent years have been highly multilayered and thinned. For this reason, visual inspection can no longer be performed to detect defects such as pattern defects, wire breaks, and short circuits on the printed wiring board, and therefore appearance inspection apparatuses have been used.

【0002】外観検査には、 (1) 光学的に配線パターンを読み取り、2値化等の
手法により電気信号に変換する検知技術 (2) 得られた検査信号から配線パターンの欠陥を検
出する判別技術 等が存在する。
For appearance inspection, (1) a detection technique for optically reading a wiring pattern and converting it into an electric signal by a method such as binarization (2) discrimination for detecting a defect in the wiring pattern from the obtained inspection signal Technology exists.

【0003】本願発明は、(2)の検査信号が得られた
後の判別技術に関する。
The present invention relates to (2) a discrimination technique after the inspection signal is obtained.

【0004】[0004]

【従来の技術】従来の外見検査装置として、特願昭61
−10707407号に記載されたもの(第1例)があ
る。
2. Description of the Related Art As a conventional appearance inspection apparatus, Japanese Patent Application No.
No. -10707407 (first example).

【0005】この従来の外観検査装置(第1例)は、検
査対象となるプリント配線板のパターン中心において、
放射状の測長センサにより複数方向のパターン長を測長
し、この測長した値をコード化したもの(以下「ラジア
ルコード」という。)を作成する。そして、このラジア
ルコードと予めラジアルコードの良否を記憶した基準デ
ータ(以下「辞書」という。)とを対比して、パターン
の良否を判定する構成である。前記辞書に記憶された辞
書データは、様々なパターンに対応する複数のデータと
して作成し、この複数のデータを辞書に入れ換えて記憶
することにより、各種パターンに適合できる汎用性を有
する。
This conventional appearance inspection apparatus (first example) is designed so that the center of the pattern of the printed wiring board to be inspected is
The pattern lengths in a plurality of directions are measured by a radial length measuring sensor, and the measured values are coded (hereinafter referred to as "radial code"). Then, the quality of the pattern is determined by comparing this radial code with reference data (hereinafter referred to as “dictionary”) in which the quality of the radial code is stored in advance. The dictionary data stored in the dictionary has versatility that can be adapted to various patterns by creating a plurality of data corresponding to various patterns and replacing the plurality of data with the dictionary and storing the data.

【0006】更に、上記従来の外観検査装置を改良した
第2例として、特開平5−264240号公報に掲載さ
れた外観検査装置がある。この従来の外観検査装置の第
2例は、配線パターンの欠陥の種類(例えば、銅残り、
突起、間隔不要等)毎の種別(以下「カテゴリ」とい
う。)を設定し、検出された配線パターンより得たラジ
アルコードに基づいて、辞書に格納されたカテゴリを選
択し、当該ラジアルコードをカテゴリコードに変換す
る。そして、変換されたカテゴリコードと、辞書に格納
されたカテゴリコードとを用いて、配線パターンの良否
と欠陥の種類を判定するので、配線パターンの欠陥のカ
テゴリに応じたより正確な検査を行うというものであっ
た。
Further, as a second example of the improvement of the above-mentioned conventional appearance inspection apparatus, there is an appearance inspection apparatus disclosed in Japanese Patent Laid-Open No. 5-264240. The second example of this conventional appearance inspection apparatus is the type of defect in the wiring pattern (for example, copper residue,
Set the type (hereinafter referred to as "category") for each protrusion (no need for protrusions, intervals, etc.), select a category stored in the dictionary based on the radial code obtained from the detected wiring pattern, and select the radial code as a category. Convert to code. Then, the converted category code and the category code stored in the dictionary are used to determine the quality of the wiring pattern and the type of the defect, so that a more accurate inspection according to the defect category of the wiring pattern is performed. Met.

【0007】さて、従来の検査論理(ラジアルマッチン
グ法)では、リードパターンの線幅に該当するパターン
の中心からの位置に許容値という判定ゾーンを設け、こ
の許容値内にリードパターンの端部が存在するとき、リ
ードパターンは正常としていた。この際、リードパター
ンの線幅は1種類と仮定して、一種類の線幅の許容値を
設定し、試料から得た2値化画像における被検査パター
ンとを比較して、パターンの良否を判定していた。
In the conventional inspection logic (radial matching method), a judgment zone called an allowable value is provided at a position from the center of the pattern corresponding to the line width of the lead pattern, and the end portion of the lead pattern is within this allowable value. When present, the lead pattern was normal. At this time, assuming that the line width of the lead pattern is one, an allowable value of one kind of line width is set, and the quality of the pattern is judged by comparing with the pattern to be inspected in the binarized image obtained from the sample. I was making a decision.

【0008】図11に、上記従来の外観検査装置におけ
る検査方法の一例を示す。例えば、図11において、a
を正常なパターンの線幅の標準値とする。図11に示す
ような被検査パターン画像P10が得られた場合、位置d
1 では被検査パターンの線幅はaを中心とする許容値内
に入るが、位置d2 では、線幅がbであり許容値より細
いので「細り」と判定される。また、位置d3 では、線
幅がcであり許容値より太いので「太り」と判定され
る。
FIG. 11 shows an example of an inspection method in the above-mentioned conventional appearance inspection apparatus. For example, in FIG.
Is the standard value of the line width of a normal pattern. When the inspection pattern image P 10 as shown in FIG. 11 is obtained, the position d
At 1 the line width of the pattern to be inspected falls within the allowable value centered on a, but at position d 2 the line width is b, which is smaller than the allowable value, so it is determined to be "thin". Further, at the position d 3 , the line width is c, which is thicker than the allowable value, so that it is determined as “thick”.

【0009】このように、従来の外観検査装置において
は、基準とされるパターンが1種類である場合には、確
実に被検査パターンの良否を判定することができた。
As described above, in the conventional appearance inspection apparatus, when the reference pattern is one type, the quality of the pattern to be inspected can be reliably determined.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、従来の
外観検査装置では、同一基板上に複数種類の配線パター
ンの幅が存在する場合に、誤判定するという不都合があ
った。
However, the conventional visual inspection apparatus has a disadvantage of making an erroneous determination when a plurality of types of wiring patterns have different widths on the same substrate.

【0011】従来の外観検査装置の問題点を図12に基
づいて説明する。図12に示すように、試料SPには複
数種類の線幅を有するパターンが存在する。最も太い直
線部分のパターンを直線リードL3 、中程度の直線部分
のパターンを直線リードL2 、最も細い直線部分のパタ
ーンを直線リードL1 とする。このほか、試料SPには
ランドR0 が散在する。
Problems of the conventional visual inspection apparatus will be described with reference to FIG. As shown in FIG. 12, the sample SP has patterns having a plurality of types of line widths. The pattern of the thickest straight line portion is called a straight line lead L 3 , the pattern of the medium straight line portion is called a straight line lead L 2 , and the pattern of the thinnest straight line portion is called a straight line lead L 1 . In addition, lands R 0 are scattered on the sample SP.

【0012】従来の外観検査装置では、パターンの線幅
は1種類のみと仮定していたので、例えば、図12にお
ける直線リードL2 が許容値の中心に位置するよう、検
査装置の諸値を設定していた。
In the conventional appearance inspection apparatus, it is assumed that the line width of the pattern is only one kind. Therefore, for example, various values of the inspection apparatus are set so that the linear lead L 2 in FIG. 12 is located at the center of the allowable value. Had set.

【0013】しかし、この設定では、直線リードL2
り線幅が狭い直線リードL1 や、線幅が広い直線リード
3 は、当然直線リードL2 の標準値を基準に設定した
許容値から外れることが多くなる。則ち、直線リードL
1 及び直線リードL3 は、パターンの欠落や欠陥が存在
しないにも拘らず、不良パターンと判定されてしまうの
である。この不都合は他の直線リードに基準値を変更し
ても実質的に解決されない。
However, in this setting, the linear lead L 1 having a line width narrower than the linear lead L 2 and the linear lead L 3 having a wide line width are naturally out of the allowable values set based on the standard value of the linear lead L 2. It often comes off. In other words, straight lead L
The 1 and the straight lead L 3 are determined to be defective patterns even though there are no missing patterns or defects. This inconvenience cannot be substantially solved even if the reference value is changed to another linear lead.

【0014】また、全ての線幅を許容値内に含めるため
に許容値の範囲を広げる場合には、本来欠陥品として排
除されなければならないはずの欠陥パターンが良品とし
て判定されるおそれがあった。
Further, when the allowable value range is widened in order to include all the line widths within the allowable value, there is a possibility that a defective pattern which should originally be excluded as a defective product may be judged as a non-defective product. .

【0015】そこで、本発明の目的は、異なる幅を有す
る被検査パターンが複数存在しても正確な判定が行える
外観検査装置を提供することにある。
Therefore, it is an object of the present invention to provide an appearance inspection apparatus capable of making an accurate determination even if there are a plurality of patterns to be inspected having different widths.

【0016】[0016]

【課題を解決するための手段】請求項1に記載の発明
は、試料を撮影することにより得られた2値化画像から
パターンの略中心を検出し、検出された略中心から複数
方向におけるパターンの各測長値をラジアルコードに変
換し、ラジアルコードに基づいてパターンの欠陥を検出
する外観検出方法において、検査対象となるべきパター
ンの線幅許容値を設定し、各測長値を線幅許容値と比較
することによりパターンの線種を決定し、決定されたパ
ターンの線種に基づいてラジアルコードを生成する。
According to a first aspect of the present invention, a substantially center of a pattern is detected from a binarized image obtained by photographing a sample, and the pattern is detected in a plurality of directions from the detected substantially center. In the appearance detection method that converts each length measurement value of to a radial code and detects pattern defects based on the radial code, set the line width allowable value of the pattern to be inspected and set each length measurement value to the line width. The line type of the pattern is determined by comparing with the allowable value, and the radial code is generated based on the determined line type of the pattern.

【0017】請求項2に記載の発明は、試料を撮影する
ことにより得られた2値化画像から被検査パターンの略
中心を検出し、検出された略中心から複数方向における
被検査パターンの各測長値をラジアルコードに変換し、
ラジアルコードに基づいて被検査パターンの欠陥を検出
する外観検出方法において、予め基準パターンを測定す
ることにより得られた基準線幅値に基づいて線幅許容値
を設定し、各測長値を線幅許容値を比較することにより
被検査パターンの線種を決定し、決定された被検査パタ
ーンの線種に基づいてラジアルコードを生成する。
According to a second aspect of the present invention, the substantially center of the pattern to be inspected is detected from the binarized image obtained by photographing the sample, and each of the pattern to be inspected in a plurality of directions from the detected substantially center. Convert the length measurement value to a radial code,
In the appearance detection method that detects defects in the pattern to be inspected based on the radial code, the line width allowable value is set based on the reference line width value obtained by measuring the reference pattern in advance, and each length measurement value is lined. The line type of the pattern to be inspected is determined by comparing the allowable width values, and a radial code is generated based on the determined line type of the pattern to be inspected.

【0018】請求項3に記載の発明は、請求項2に記載
の外観検査方法において、基準パターンを測定すること
により得られた線幅値のうち最小のものをその基準パタ
ーンの基準線幅値とし、基準線幅値に基づいて線幅許容
値を設定する。
According to a third aspect of the present invention, in the appearance inspection method according to the second aspect, the smallest line width value obtained by measuring the reference pattern is the reference line width value of the reference pattern. Then, the line width allowable value is set based on the reference line width value.

【0019】請求項4に記載の発明は、請求項2又は請
求項3に記載の外観検査方法において、基準線幅の最大
幅及び最小幅を予め所定の値に調整することにより線幅
許容値を設定する。
According to a fourth aspect of the present invention, in the appearance inspection method according to the second or third aspect, the maximum width and the minimum width of the reference line width are adjusted to predetermined values in advance, and the line width allowable value is set. To set.

【0020】請求項5に記載の発明は、請求項2乃至請
求項4に記載の外観検査方法において、基準パターンに
存在する各形状に対応させて線幅許容値を設定し、線幅
許容値に基づいて基準パターンのパターン形状を判定
し、パターン形状に基づいて線幅許容値を補正する。
According to a fifth aspect of the present invention, in the appearance inspection method according to the second to fourth aspects, the line width allowable value is set corresponding to each shape existing in the reference pattern, and the line width allowable value is set. The pattern shape of the reference pattern is determined based on, and the line width allowable value is corrected based on the pattern shape.

【0021】請求項6に記載の発明は、試料上に形成さ
れた被検査パターンを撮像する撮像手段と、撮像された
画像を2値化する画像2値化手段と、2値化画像上の任
意の中心画素から複数方向に延在する各画素列内におけ
るパターン部分のパターン部長さを測定するラジアル測
長手段と、複数方向の測長値から被検査パターンの略中
心を検出する中心検出手段と、被検査パターンの線種を
判定するための線幅許容値を設定する許容値設定手段
と、線幅許容値に基づいて被検査パターンの線種を判定
し、判定結果に基づいて複数方向の各測長値をラジアル
コードに変換するコード化手段と、ラジアルコードに基
づいて被検査パターンの欠陥を検出する検出手段と、を
備えて構成される。
According to a sixth aspect of the present invention, an image pickup means for picking up the pattern to be inspected formed on the sample, an image binarizing means for binarizing the picked-up image, and a binary image Radial length measuring means for measuring the pattern portion length of the pattern portion in each pixel row extending in a plurality of directions from an arbitrary center pixel, and center detecting means for detecting the approximate center of the pattern to be inspected from the length measured values in the plurality of directions. An allowable value setting means for setting a line width allowable value for determining the line type of the pattern to be inspected, a line type of the pattern to be inspected based on the line width allowable value, and a plurality of directions based on the determination result. And a detecting means for detecting a defect in the pattern to be inspected based on the radial code.

【0022】請求項7に記載の発明は、請求項6に記載
の外観検査装置において、許容値設定手段は、基準パタ
ーンの2値化画像データを生成する基準パターン生成手
段と、2値化画像上の任意の中心画素から複数方向に延
在する各画素列内におけるパターン部分のパターン部長
さを測定する基準パターン測長手段と、複数方向の測長
値から基準パターンの略中心を検出する基準パターン中
心検出手段と、基準パターンの測長値及び略中心位置に
基づいて基準パターンの基準線幅を決定し、基準線幅に
基づいて被検査パターンの線種を判定するための線幅許
容値を設定する許容値決定手段と、を備えて構成され
る。
According to a seventh aspect of the invention, in the appearance inspection apparatus according to the sixth aspect, the allowable value setting means and the reference pattern generating means for generating the binary image data of the reference pattern, and the binary image. Reference pattern length measuring means for measuring the pattern portion length of the pattern portion in each pixel row extending in a plurality of directions from an arbitrary center pixel above, and a reference for detecting the approximate center of the reference pattern from the length measurement values in a plurality of directions The pattern center detection means, the reference line width of the reference pattern is determined based on the length measurement value and the approximate center position of the reference pattern, and the line width allowable value for determining the line type of the pattern to be inspected based on the reference line width. And a permissible value determining means for setting.

【0023】請求項8に記載の発明は、請求項7に記載
の外観検査装置において、基準パターンの略中心と被検
査パターンの略中心とを比較し、被検査パターンの欠落
欠陥を検出する欠落欠陥検出手段を備えて構成される。
The invention according to claim 8 is the appearance inspection apparatus according to claim 7, wherein the approximate center of the reference pattern and the approximate center of the inspected pattern are compared to detect a missing defect in the inspected pattern. It is configured to include defect detection means.

【0024】請求項9に記載の発明は、請求項7に記載
の外観検査装置において、基準パターン中心検出手段
は、基準パターンの略中心を検出する領域を本来の中心
位置を中心として線幅許容領域の近傍まで広げて構成さ
れる。
According to a ninth aspect of the present invention, in the appearance inspection apparatus according to the seventh aspect, the reference pattern center detecting means allows the line width of the area for detecting the substantially center of the reference pattern with the original center position as the center. It is constructed by expanding it to near the area.

【0025】請求項10に記載の発明は、請求項7に記
載の外観検査装置において、許容値決定手段は、基準パ
ターンを測定することにより得られた線幅値のうち最小
のものをその基準パターンの基準線幅値とし、基準線幅
値に基づいて線幅許容値を設定する。
According to a tenth aspect of the present invention, in the appearance inspection apparatus according to the seventh aspect, the allowable value determining means uses the smallest one of the line width values obtained by measuring the reference pattern as the reference. The reference line width value of the pattern is set, and the line width allowable value is set based on the reference line width value.

【0026】請求項11に記載の発明は、請求項7に記
載の外観検査装置において、許容値決定手段は、予め所
定の値に調整された基準線幅の最大幅及び最小幅に基づ
いて線幅許容値を設定する。
The invention according to claim 11 is the appearance inspection apparatus according to claim 7, wherein the allowable value determining means determines the line based on the maximum width and the minimum width of the reference line width adjusted to a predetermined value in advance. Set the width allowance.

【0027】請求項12に記載の発明は、請求項6又は
請求項7に記載の外観検査装置において、許容値設定手
段とコード化手段との間に介装され、被検査パターンの
パターン部長さに基づいて被検査パターンの略中心付近
のパターン形状を特定し、特定したパターン形状に基づ
いて線幅許容値を補正する補正手段を備えて構成され
る。
According to a twelfth aspect of the present invention, in the appearance inspection apparatus according to the sixth or seventh aspect, the pattern portion length of the pattern to be inspected is interposed between the tolerance setting means and the coding means. The pattern shape in the vicinity of the center of the pattern to be inspected is specified on the basis of the above, and the line width allowable value is corrected based on the specified pattern shape.

【0028】請求項13に記載の発明は、請求項12に
記載の外観検査装置において、補正手段は、線幅許容値
に基づいて基準パターンのパターン形状に対応した線幅
許容値の補正データを出力する辞書手段と、線幅許容値
と辞書手段に格納されたパターン形状とを比較し線幅許
容値に対応するパターン形状の補正データが辞書手段に
格納されている場合に辞書手段より補正データを読出す
マッチング手段と、マッチング手段により辞書手段から
読出された補正データに基づいて線幅許容値を修正する
演算手段と、を備えて構成される。
According to a thirteenth aspect of the present invention, in the appearance inspection apparatus according to the twelfth aspect, the correction means obtains the correction data of the line width allowable value corresponding to the pattern shape of the reference pattern based on the line width allowable value. The dictionary means for outputting is compared with the line width allowable value and the pattern shape stored in the dictionary means, and when the correction data of the pattern shape corresponding to the line width allowable value is stored in the dictionary means, the correction data is obtained from the dictionary means. And a calculation means for correcting the line width allowable value based on the correction data read from the dictionary means by the matching means.

【0029】[0029]

【作用】請求項1に記載の発明によれば、まず、試料を
撮影し、得られた2値化画像からパターンの略中心を検
出する。そして、検出された略中心から複数方向におけ
るパターンの各測長値をラジアルコードに変換し、ラジ
アルコードに基づいてパターンの欠陥を検出する。そし
て、検査対象となるべきパターンの線幅許容値を設定
し、各測長値を線幅許容値と比較することにより、測長
値がどの線幅を有するパターンのものであるかを示す線
種を決定し、決定されたパターンの線種に基づいてラジ
アルコードを生成する。
According to the first aspect of the invention, first, the sample is photographed and the approximate center of the pattern is detected from the obtained binarized image. Then, each measured value of the pattern in a plurality of directions from the detected substantially center is converted into a radial code, and a defect of the pattern is detected based on the radial code. Then, by setting the line width allowable value of the pattern to be inspected and comparing each measured value with the line width allowable value, a line indicating which line width the measured value has is a pattern. A species is determined and a radial code is generated based on the determined pattern line species.

【0030】従って、生成されたラジアルコードは線幅
の認定を誤ることなく正しい線種に対して生成される。
請求項2に記載の発明によれば、予め基準パターンを測
定することにより得られた基準線幅値に基づいて線幅許
容値を設定する。被検査パターンより得られた各測長値
を線幅許容値と比較することにより、被検査パターンの
線種を決定する。この決定された被検査パターンの線種
に基づいてラジアルコードを生成する。
Therefore, the generated radial code is generated for the correct line type without erroneously recognizing the line width.
According to the second aspect of the invention, the line width allowable value is set based on the reference line width value obtained by measuring the reference pattern in advance. The line type of the inspected pattern is determined by comparing each length measurement value obtained from the inspected pattern with the line width allowable value. A radial code is generated based on the determined line type of the pattern to be inspected.

【0031】請求項3に記載の発明によれば、請求項2
に記載の外観検査方法において、基準パターンを測定す
ることにより得られた線幅値のうち最小のものをその基
準パターンの基準線幅値とし、基準線幅値に基づいて線
幅許容値を設定する。
According to the invention of claim 3, claim 2
In the appearance inspection method described in, the minimum line width value obtained by measuring the reference pattern is set as the reference line width value of the reference pattern, and the line width allowable value is set based on the reference line width value. To do.

【0032】請求項4に記載の発明によれば、基準線幅
の最大幅及び最小幅を予め個別に調整して設定しておく
ことにより線幅許容値を設定する。これにより、被検査
パターンの特性に応じた正確な検査ができる。
According to the invention as set forth in claim 4, the maximum width and the minimum width of the reference line width are individually adjusted and set in advance to set the line width allowable value. As a result, an accurate inspection can be performed according to the characteristics of the pattern to be inspected.

【0033】請求項5に記載の発明によれば、基準パタ
ーンの形状に対応させて複数の線幅許容値を設定してお
く。そして、被検査パターンから得られた各測長値に基
づいて、基準パターンの中心付近におけるパターン形状
についての線幅許容値を選択する。
According to the fifth aspect of the invention, a plurality of line width allowable values are set corresponding to the shape of the reference pattern. Then, the line width allowable value for the pattern shape near the center of the reference pattern is selected based on each length measurement value obtained from the inspected pattern.

【0034】請求項6に記載の発明によれば、撮像手段
は試料上に形成された被検査パターンを撮像し、画像2
値化手段は撮像された画像を2値化する。ラジアル測長
手段は2値化画像上の任意の中心画素から複数方向に延
在する各画素列内におけるパターン部分のパターン部長
さを測定する。中心検出手段は複数方向の測長値から被
検査パターンの略中心を検出し、許容値設定手段は被検
査パターンの線種を判定するための線幅許容値を設定す
る。コード化手段は、線幅許容値に基づいて被検査パタ
ーンの線種を判定し、判定結果に基づいて複数方向の各
測長値をラジアルコードに変換する。そして、検出手段
は、ラジアルコードに基づいて被検査パターンの欠陥を
検出する。
According to the invention of claim 6, the image pickup means picks up an image of the pattern to be inspected formed on the sample,
The binarizing means binarizes the captured image. The radial length measuring means measures the pattern portion length of the pattern portion in each pixel row extending in a plurality of directions from an arbitrary central pixel on the binarized image. The center detecting means detects the approximate center of the pattern to be inspected from the measured values in a plurality of directions, and the tolerance setting means sets the line width tolerance for determining the line type of the pattern to be inspected. The coding means determines the line type of the pattern to be inspected based on the line width allowable value, and converts each length measurement value in a plurality of directions into a radial code based on the determination result. Then, the detecting means detects a defect in the pattern to be inspected based on the radial code.

【0035】請求項7に記載の発明によれば、許容値設
定手段において、基準パターン生成手段は基準パターン
の2値化画像データを生成し、基準パターン測長手段
は、2値化画像上の任意の中心画素から複数方向に延在
する各画素列内におけるパターン部分のパターン部長さ
を測定する。基準パターン中心検出手段は複数方向の測
長値から基準パターンの略中心を検出する。そして、許
容値決定手段は、基準パターンの測長値及び略中心位置
に基づいて基準パターンの基準線幅を決定し、基準線幅
に基づいて被検査パターンの線種を判定するための線幅
許容値を設定する。
According to the invention described in claim 7, in the allowable value setting means, the reference pattern generating means generates the binary image data of the reference pattern, and the reference pattern length measuring means on the binary image. The pattern portion length of the pattern portion in each pixel row extending in a plurality of directions from an arbitrary central pixel is measured. The reference pattern center detecting means detects the approximate center of the reference pattern from the measured values in a plurality of directions. The allowable value determining means determines the reference line width of the reference pattern based on the length measurement value and the substantially center position of the reference pattern, and the line width for determining the line type of the pattern to be inspected based on the reference line width. Set the allowable value.

【0036】請求項8に記載の発明によれば、欠落欠陥
検出手段は、基準パターンの略中心と被検査パターンの
略中心とを比較し、被検査パターンの欠落欠陥を検出す
る。請求項9に記載の発明によれば、基準パターン中心
検出手段は、基準パターンの略中心を検出する領域を、
本来の中心位置を中心として線幅許容領域の近傍まで広
げて構成されるので、中心位置が基準パターンと被検査
パターンとで若干ずれていても十分に検査が行われる。
According to the eighth aspect of the invention, the missing defect detecting means compares the approximate center of the reference pattern with the approximate center of the inspected pattern, and detects the missing defect in the inspected pattern. According to the invention as set forth in claim 9, the reference pattern center detecting means defines an area for detecting a substantially center of the reference pattern,
Since the original center position is widened to the vicinity of the line width allowable region as a center, the inspection can be sufficiently performed even if the center position is slightly deviated between the reference pattern and the pattern to be inspected.

【0037】請求項10に記載の発明によれば、許容値
決定手段は、基準パターンを測定することにより得られ
た線幅のうち最小のものをその基準パターンの基準線幅
とし、基準線幅に基づいて線幅許容を設定するので、最
小のものが則ち線幅として簡単に設定される。
According to the tenth aspect of the invention, the allowable value determining means sets the minimum of the line widths obtained by measuring the reference pattern as the reference line width of the reference pattern, and sets the reference line width. Since the line width allowance is set based on, the minimum line width is easily set as a line width.

【0038】請求項11に記載の発明によれば、許容値
決定手段は、予め調整された基準線幅の最大幅及び最小
幅に基づいて線幅許容値を設定するので、最大幅、最小
幅を被検査パターンの特性に応じて適宜変更して最適の
パラメータで検査できる。
According to the eleventh aspect of the present invention, the allowable value determining means sets the line width allowable value on the basis of the maximum width and the minimum width of the reference line width adjusted in advance, so that the maximum width and the minimum width are set. Can be changed appropriately according to the characteristics of the pattern to be inspected and can be inspected with optimum parameters.

【0039】請求項12に記載の発明によれば、補正手
段は、許容値設定手段とコード化手段との間に介装さ
れ、被検査パターンのパターン部長さに基づいて被検査
パターンの略中心付近のパターン形状を特定し、特定し
たパターン形状に基づいて線幅許容値を補正する。
According to the twelfth aspect of the invention, the correction means is interposed between the tolerance setting means and the coding means, and substantially correct the center of the pattern to be inspected based on the pattern portion length of the pattern to be inspected. The pattern shape in the vicinity is specified, and the line width allowable value is corrected based on the specified pattern shape.

【0040】請求項13に記載の発明によれば、補正手
段において、辞書手段は線幅許容値に基づいて基準パタ
ーンのパターン形状に対応した線幅許容値の補正データ
を出力する。マッチング手段は、線幅許容値と辞書手段
に格納されたパターン形状とを比較し線幅許容値に対応
するパターン形状の補正データが辞書手段に格納されて
いる場合に辞書手段より補正データを読出す。演算手段
は、マッチング手段により辞書手段から読出された補正
データに基づいて線幅許容値を修正する。
According to the thirteenth aspect of the invention, in the correction means, the dictionary means outputs the correction data of the line width allowable value corresponding to the pattern shape of the reference pattern based on the line width allowable value. The matching means compares the line width allowable value with the pattern shape stored in the dictionary means, and reads the correction data from the dictionary means when the correction data of the pattern shape corresponding to the line width allowable value is stored in the dictionary means. put out. The calculation means corrects the line width allowable value based on the correction data read from the dictionary means by the matching means.

【0041】[0041]

【実施例】本発明の外観検査方法及び装置に係る好適な
実施例を図面を参照して説明する。 (I)第1実施例 本発明の第1実施例は、請求項1乃至4、請求項6乃至
11に記載の発明を適用した外観検査方法及び装置に関
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the appearance inspection method and apparatus of the present invention will be described with reference to the drawings. (I) First Embodiment A first embodiment of the present invention relates to a visual inspection method and apparatus to which the inventions of claims 1 to 4 and claims 6 to 11 are applied.

【0042】 構成の説明 図1に本発明の第1実施例の構成を示す。図1に示すよ
うに、本発明の外観検査装置100は、光源1により撮
影用の照明光を照射された被検査物たる試料SPを検査
するものである。試料は、例えばプリント配線板等であ
り、複数の線幅を有する配線パターンが配線されてい
る。
Description of Configuration FIG. 1 shows the configuration of a first embodiment of the present invention. As shown in FIG. 1, an appearance inspection apparatus 100 of the present invention inspects a sample SP which is an inspected object irradiated with illumination light for photographing by a light source 1. The sample is, for example, a printed wiring board or the like, and wiring patterns having a plurality of line widths are wired.

【0043】CCDカメラ2は、試料SPの映像を取り
込み、アナログ画像信号とする。2値化回路3は、この
アナログ画像信号を公知の画像処理技術で2値化する。
記憶回路4は、いわゆる画像メモリであり、2値化され
た画像信号を格納する。
The CCD camera 2 captures the image of the sample SP and uses it as an analog image signal. The binarization circuit 3 binarizes this analog image signal by a known image processing technique.
The storage circuit 4 is a so-called image memory, and stores a binarized image signal.

【0044】測長回路5は、放射状に設けられた測長セ
ンサにより、2値化信号におけるパターン中心における
任意の点で複数方向(例えば8方向)のパターン長を測
定し、前後方向を合わせた測長値(例えば、合計16
個)を生成する 中心検出回路6は、測長回路5の出力した測長値のうち
前後方向の差分を演算し、中心を検出したとき中心信号
(例えば「1」)を出力する。
The length measuring circuit 5 measures the pattern lengths in a plurality of directions (for example, 8 directions) at arbitrary points at the center of the pattern in the binarized signal by a length measuring sensor provided in a radial direction, and aligns the front and back directions. Measured value (eg 16 total
The center detection circuit 6 calculates the difference in the front-back direction among the length measurement values output from the length measurement circuit 5, and outputs a center signal (for example, "1") when the center is detected.

【0045】ラジアルコード化回路7は、測長値に基づ
いて複数方向におけるパターン部長の測長値をコード化
しラジアルコードとする。カテゴリ変換回路8は、様々
なラジアルコード毎に対応したパターン形状を示す複数
のカテゴリコード群の中からのラジアルコード化回路7
でコード化されたラジアルコードに対応するカテゴリコ
ードを選択する。
The radial encoding circuit 7 encodes the length measurement values of the pattern portion length in a plurality of directions based on the length measurement values to obtain a radial code. The category conversion circuit 8 is a radial encoding circuit 7 from a plurality of category code groups showing pattern shapes corresponding to various radial codes.
Select the category code that corresponds to the radial code encoded in.

【0046】カテゴリマップ作成回路9は、カテゴリコ
ードを入力されるカテゴリに基づいてカテゴリコードの
分布として格納する。例えば、いくつかのカテゴリコー
ドの入力により直線リード部分とランドとの接近地点の
カテゴリマップが作成される。
The category map creating circuit 9 stores the category code as a distribution of the category code based on the inputted category. For example, by inputting some category codes, a category map of the approach point between the straight lead portion and the land is created.

【0047】比較回路10は、探索方法辞書12-2に格
納されているカテゴリの探索方法及び良否判定ルール辞
書12-1に格納されている探索のためのルールに基づい
て、該当する可能性の高い上位カテゴリを判定し、欠陥
信号を出力する。
The comparison circuit 10 determines whether there is a possibility of being applicable based on the category search method stored in the search method dictionary 12 -2 and the search rule stored in the pass / fail judgment rule dictionary 12 -1 . The higher category is judged and a defect signal is output.

【0048】良否結果判定回路11は、欠陥信号に基づ
いて被検査パターンの良否を判定する。マスターデータ
記憶回路13は、被検査パターンの検査するにあたり比
較する基準となる基準パターンデータを格納する。
The pass / fail result determination circuit 11 determines pass / fail of the pattern to be inspected based on the defect signal. The master data storage circuit 13 stores reference pattern data serving as a reference for comparison when inspecting a pattern to be inspected.

【0049】記憶回路14は、マスターデータ記憶回路
13より必要な位置の基準パターンデータを読出して記
憶する。測長回路15は、被検査パターンのための測長
回路5と同様に、基準パターンの幅等を測長し、ラジア
ルコードとする。
The memory circuit 14 reads out and stores the reference pattern data at a required position from the master data memory circuit 13. The length measuring circuit 15, like the length measuring circuit 5 for the pattern to be inspected, measures the width of the reference pattern and the like to obtain a radial code.

【0050】中心検出回路16は、測長回路15の測長
した測長値に基づいて基準パターンの中心を測長する。
許容値決定回路17は、中心検出回路16の検出した中
心信号と測長値とに基づいて被検査パターンに適用すべ
き線幅の許容値の最大値及び最小値を決定する。
The center detection circuit 16 measures the center of the reference pattern based on the length measurement value measured by the length measurement circuit 15.
The allowable value determining circuit 17 determines the maximum and minimum allowable values of the line width to be applied to the pattern to be inspected, based on the center signal detected by the center detecting circuit 16 and the length measurement value.

【0051】中心信号比較回路18は、中心検出回路6
の検出した被検査パターンの中心信号と中心検出回路1
6の検出した基準パターンの中心信号とを比較し、中心
の大きなズレを検出したとき欠落欠陥信号を良否結果判
定回路11に出力する。
The center signal comparison circuit 18 includes the center detection circuit 6
Center signal of the pattern to be inspected detected by the center detection circuit 1
6 is compared with the detected center signal of the reference pattern, and when a large deviation of the center is detected, a missing defect signal is output to the pass / fail result determination circuit 11.

【0052】位置合わせ回路19は、CCDカメラ2に
より撮像されたパターン位置とマスターデータ記憶回路
13から読出したパターン位置との全体的な位置のズレ
を補正する。
The alignment circuit 19 corrects the overall positional deviation between the pattern position imaged by the CCD camera 2 and the pattern position read from the master data storage circuit 13.

【0053】 動作の説明 次に動作を説明する。i)被検査パターンの画像処理の流れ 試料SPであるプリント配線板には、スルーホール等を
設けるランド部分と配線の主体となるリードパターン部
分が存在する。リードパターンには複数の線幅の種類が
存在する。
Description of Operation Next, the operation will be described. i) Flow of image processing of pattern to be inspected The printed wiring board which is the sample SP has a land portion where through holes and the like are provided and a lead pattern portion which is a main body of wiring. There are a plurality of line width types in the lead pattern.

【0054】この試料SP上の被検査パターンは、CC
Dカメラ2により撮影され、2値化される。被検査パタ
ーンの2値化画像は、測長回路5により、ある一点から
放射状にパターンの端までの画素数がカウントされ、測
長値に変換される。
The pattern to be inspected on this sample SP is CC
The image is taken by the D camera 2 and binarized. In the binarized image of the pattern to be inspected, the length measuring circuit 5 counts the number of pixels from a certain point to the end of the pattern in a radial manner, and converts it into a length measured value.

【0055】測長値は被検査パターンのための中心検出
回路6で中心検出が行われ、中心である場合に例えば
「1」となる中心信号が生成される。測長値は、この中
心信号と共にラジアルコード化回路7に供給される。
The length measurement value is subjected to center detection by the center detection circuit 6 for the pattern to be inspected, and when it is at the center, a center signal of "1" is generated. The length measurement value is supplied to the radial coding circuit 7 together with the center signal.

【0056】ラジアルコード化回路7は、測長値のうち
縦・横・斜めの4組についてコード化を行う。コード
は、4組のそれぞれの方向毎に長さコード(2ビッ
ト)、バランスコード(1ビット)、方向コード(1ビ
ット)からなる。
The radial encoding circuit 7 encodes four sets of vertical, horizontal and diagonal of the measured values. The code includes a length code (2 bits), a balance code (1 bit), and a direction code (1 bit) for each of four sets of directions.

【0057】まず、ラジアルコード化回路7は、測長し
た向きが180°異なる方向(例えば0°方向と180
°方向)の半径の測長値の差の絶対値を計算し、双方向
の測長値のバランスがとれているか否かを検出する。バ
ランスがとれていない場合でもどちらが長いかを示す方
向コードを出力し、バランス状態を示すバランスコード
と方向コードとの2ビットを生成する。
First, in the radial encoding circuit 7, the measured lengths are different by 180 ° (for example, 0 ° and 180 °).
The absolute value of the difference between the measured values of the radius (in the ° direction) is calculated to detect whether or not the measured values in both directions are balanced. Even if the balance is not balanced, the direction code indicating which is longer is output, and two bits of the balance code indicating the balance state and the direction code are generated.

【0058】また、同時に双方向の測長値の和が計算さ
れ、これをコード化しきい値Vth1とVth2 と比較す
る。これらしきい値と比較して大小関係を判定し、さら
に、片側の測長値が「OVしきい値」以上のとき、「O
V」(オーバーフロー)とする。
At the same time, the sum of the bidirectional measurement values is calculated and compared with the coding threshold values V th1 and V th2 . The magnitude relationship is determined by comparing these threshold values, and when the measured value on one side is equal to or greater than the "OV threshold value", "O
V ”(overflow).

【0059】ここで、リードパターンの線幅を検出して
いるVth1 及びVth2 の二つのしきい値は、後述の許容
値決定回路17から供給される線幅の許容値の最大値と
最小値である。二つしきい値の間に測長値の和があると
き、入力されている測長値に関する被検査パターンは所
定の線幅を有するリードパターンと判定できる。従来は
この値は固定であってが、本願発明ではこの値が変化す
る。ここで得られる判定コードは「OV」と大小関係を
示すビットとの計2ビットである。
Here, the two threshold values V th1 and V th2 for detecting the line width of the lead pattern are the maximum and minimum of the allowable line width values supplied from the allowable value determination circuit 17 described later. It is a value. When the sum of the length measurement values is between the two threshold values, the pattern to be inspected for the input length measurement value can be determined as a lead pattern having a predetermined line width. Conventionally, this value is fixed, but in the present invention, this value changes. The determination code obtained here is a total of 2 bits including "OV" and a bit indicating the magnitude relationship.

【0060】以上の処理によって、一組の方向に対して
4ビットのコードを得る。ラジアルコード化回路7は、
これを4組の方向で求めて、16ビットのコードとす
る。このコードがラジアルコードである。ラジアルコー
ドは中心検出回路6にて中心が検出されたときにラジア
ルコード化回路7から出力される。
By the above processing, a 4-bit code is obtained for one set of directions. The radial encoding circuit 7 is
This is obtained in four sets of directions and made into a 16-bit code. This code is the radial code. The radial code is output from the radial encoding circuit 7 when the center is detected by the center detecting circuit 6.

【0061】ラジアルコードの分布によってもパターン
の判定はできる。しかし、ラジアルコードの分布によっ
てパターンの良否を判定しようとすると、組合せが多き
に過ぎるので、これらラジアルコードから対応するパタ
ーンの形状を表すカテゴリコードに変換する。
The pattern can be judged also by the distribution of the radial codes. However, when trying to determine the quality of a pattern based on the distribution of radial codes, there are too many combinations, so these radial codes are converted into category codes representing the shape of the corresponding pattern.

【0062】カテゴリ変換回路8は、ROM構成の辞書
等によって構成され、ラジアルコードのコード内容をア
ドレスとし、当該アドレスに格納されたカテゴリコード
を読出して出力する。これにより、被検査パターンの任
意の点の周辺のパターン形状をコード化して得られるこ
とになる。
The category conversion circuit 8 is composed of a ROM-structured dictionary or the like, uses the code content of the radial code as an address, and reads and outputs the category code stored at the address. As a result, the pattern shape around an arbitrary point of the pattern to be inspected is coded and obtained.

【0063】被検査パターンが正常なパターンであるか
異常な(欠陥)状態であるかは、カテゴリマップ作成回
路9、良否判定ルール辞書12-1、探索方法辞書1
-2、比較回路10により生成される欠陥信号により判
定する。
Whether the pattern to be inspected is a normal pattern or an abnormal (defect) state is determined by the category map creation circuit 9, the pass / fail judgment rule dictionary 12 -1 , and the search method dictionary 1.
2 -2 , it is judged by the defect signal generated by the comparison circuit 10.

【0064】図9及び図10に基づいてこれら欠陥探索
の方法を説明する。図9(A)は銅残り欠陥の例であ
る。図9(A)に示すように、試料SPには本来のパタ
ーン部分である直線リード部分、ランド部分が存在する
他、製造上止むを得ず生ずる銅残り部分が存在する。図
では、銅残り1から銅残り3にかけての3種が示されて
いる。
A method of searching for these defects will be described with reference to FIGS. 9 and 10. FIG. 9A is an example of a copper residual defect. As shown in FIG. 9A, the sample SP has a straight lead portion and a land portion, which are original pattern portions, and a copper residual portion which is unavoidably produced in manufacturing. In the figure, three kinds from the copper remaining 1 to the copper remaining 3 are shown.

【0065】これら銅残りは正常なパターン間に生じた
場合であって、ハンダの融着時にショート等の欠陥を生
ずる原因となる場合に欠陥とされる。図9(A)では、
銅残り3のみが問題となる欠陥である。この欠陥部分の
判定方法としては、銅残り部分を検出し、更に両側の間
隔を検査して両側が共に狭すぎるとき不良と判定する。
図10は、カテゴリ変換回路以降の動作の流れを示す
図である。
These copper residues are considered to be defects when they occur between normal patterns and when they cause defects such as a short circuit during soldering of solder. In FIG. 9 (A),
Only remaining copper 3 is a problematic defect. As a method of determining this defective portion, the remaining copper portion is detected, and the intervals on both sides are inspected, and when both sides are too narrow, it is determined to be defective.
FIG. 10 is a diagram showing a flow of operations after the category conversion circuit.

【0066】ステップS1において、カテゴリマップ作
成回路9は、複数のラジアルコードから得られたカテゴ
リコードの集合からカテゴリマップを作成する。これら
のカテゴリマップから例えば「銅残り」に関するカテゴ
リが比較回路10に入力される(以下「入力カテゴリ」
という。)。
In step S1, the category map creating circuit 9 creates a category map from a set of category codes obtained from a plurality of radial codes. From these category maps, for example, the category relating to “copper residue” is input to the comparison circuit 10 (hereinafter “input category”).
Say. ).

【0067】ステップS2において、比較回路10は入
力カテゴリに該当するカテゴリが良否判定ルール辞書1
-1に格納されているか否かを比較する。一致するカテ
ゴリが存在しない場合(ステップS2:No)、良否判
定結果を欠陥信号として良否結果判定回路11に出力す
る。
In step S2, the comparison circuit 10 determines that the category corresponding to the input category is the pass / fail judgment rule dictionary 1
It is compared whether it is stored in 2 -1 . If there is no matching category (step S2: No), the quality determination result is output to the quality determination circuit 11 as a defect signal.

【0068】入力カテゴリ(例えば「銅残り」)と一致
するカテゴリが良否判定ルール辞書12-1に格納されて
いる場合(ステップS2:Yes)、このカテゴリに最
もふさわしい具体的な探索方法を、探索方法辞書12-2
から読出す。例えば、「銅残り」にふさわしい探索方法
として「両側探索」の探索方法が読出される(ステップ
S3)。この探索方法は、対象となるカテゴリを中心と
して、所定の方向Aとその所定の方向と180°異なる
方向Bに指定カテゴリが存在するか否かを調べる、とい
う方法である(図9(B)参照)。
When a category matching the input category (for example, "copper remaining") is stored in the pass / fail judgment rule dictionary 12 -1 (step S2: Yes), a specific search method most suitable for this category is searched. Method dictionary 12 -2
Read from. For example, the search method of "two-sided search" is read as a search method suitable for "copper remaining" (step S3). This search method is a method of checking whether or not a designated category exists in a predetermined direction A and a direction B different by 180 ° from the predetermined direction with the target category as the center (FIG. 9 (B)). reference).

【0069】ステップS4において、比較回路10は、
カテゴリマップ作成回路9の作成したカテゴリマップ内
のカテゴリを探索方法辞書12-2から読出した探索方法
「両側検索」に従って検索し、該当する探索すべきカテ
ゴリ(以下「探索カテゴリ」という。)を探索する。
In step S4, the comparison circuit 10
The category in the category map created by the category map creating circuit 9 is searched according to the search method "two-sided search" read from the search method dictionary 12 -2 , and the corresponding category to be searched (hereinafter referred to as "search category") is searched. To do.

【0070】ステップS5において、比較回路10は、
探索カテゴリをカテゴリマップから探索できなかった場
合(ステップS5:No)、カテゴリマップ上の銅残り
のいずれも、銅残り部分の両側に許容値以上に近接する
パターンを有していないので、正常な銅残りと判定す
る。
In step S5, the comparison circuit 10
If the search category cannot be searched from the category map (step S5: No), none of the copper residues on the category map has a pattern in which both sides of the copper residue part are close to each other by an allowable value or more. It is judged as copper remaining.

【0071】一方、探索カテゴリがカテゴリマップ上に
発見できた場合(ステップS5:Yes)、「両側探
索」において許容値以上に近接する銅残り部分が存在す
ることを意味するので、「欠陥」を示す欠陥信号を良否
結果判定回路11に出力する。
On the other hand, when the search category can be found on the category map (step S5: Yes), it means that there is a copper remaining portion which is close to the allowable value or more in the "two-sided search". The defect signal shown is output to the pass / fail result determination circuit 11.

【0072】上記のように、ラジアルコードをカテゴリ
に変換することにより、判定ルールを用いて大局的に良
否を判定でき、良否結果を欠陥の種類を含めて出力する
ことができる。
As described above, by converting the radial code into the category, it is possible to determine the quality in a global manner using the determination rule, and it is possible to output the quality result including the type of defect.

【0073】例えば、図9(A)に示す3種類の銅残り
に関し、銅残り1がカテゴリマップ上にある場合は銅残
り1の両側に間隔不良のカテゴリが存在しないので、
「正常銅残り」と判定できる。銅残り2の場合は、間隔
不良のカテゴリが銅残り2の片側だけにしか存在しない
ので、「正常銅残り」と判定できる。また、銅残り3の
場合は、銅残り3の両側に間隔不良のカテゴリが存在す
るため、「銅残り欠陥」と判定できる。ii)許容値決定までの流れ さて、本願発明の主眼は、以下に詳述する許容値決定ま
での処理に関する。
For example, regarding the three types of copper residue shown in FIG. 9A, when the copper residue 1 is on the category map, there is no category of defective spacing on both sides of the copper residue 1.
It can be judged as "normal copper remaining". In the case of copper remaining 2, since the category of defective spacing exists only on one side of the copper remaining 2, it can be determined as “normal copper remaining”. Further, in the case of the copper remaining 3, since the category of defective spacing exists on both sides of the copper remaining 3, it can be determined as “copper remaining defect”. ii) Flow to determination of allowable value The main object of the present invention relates to the process of determining the allowable value described below.

【0074】マスターデータ記憶回路13は、検査対象
となる被検査パターンが理想的に有しているべきパター
ンの2値化されたビットマップデータを基準データとし
て記憶している。例えば、図2にこのマスターデータ記
憶回路13に記憶されるべき基準パターンMPの例を示
す。図2に示す基準パターンMPはP1 〜P3 の3種類
の異なる線幅を有するリードパターン、及びランドRを
有している。
The master data storage circuit 13 stores, as reference data, binarized bit map data of a pattern to be ideally possessed by the pattern to be inspected. For example, FIG. 2 shows an example of the reference pattern MP to be stored in the master data storage circuit 13. The reference pattern MP shown in FIG. 2 has a lead pattern having three different line widths P 1 to P 3 and a land R.

【0075】記憶回路14に記憶された2値化データに
基づいて、測長回路15は被検査パターンに係る測長回
路5と同様に測長値を測定し、中心検出回路16は被検
査パターンに係る中心検出回路6と同様に中心信号を検
出する。
Based on the binarized data stored in the memory circuit 14, the length measurement circuit 15 measures the length measurement value in the same manner as the length measurement circuit 5 relating to the pattern to be inspected, and the center detecting circuit 16 causes the pattern to be inspected. The center signal is detected similarly to the center detection circuit 6 according to.

【0076】この中心信号と測長値は許容値決定回路1
7に入力される。図3に許容値決定回路17の内部構成
を示す。図3において、最小値選択ブロック部22は、
中心信号を参照し、中心条件を満たした基準パターンの
み、180°反対の方向を測定した測長値同士を加算
し、中心点から放射状に各方向の直径を求める(図2
(1)参照)。
The center signal and the measured value are used as the allowable value determining circuit 1
7 is input. FIG. 3 shows the internal structure of the allowable value determination circuit 17. In FIG. 3, the minimum value selection block unit 22 is
With reference to the central signal, only the reference pattern satisfying the central condition is added with the measured values measured in the directions opposite to each other by 180 °, and the diameter in each direction is radially obtained from the central point (Fig. 2).
(See (1)).

【0077】次に、得られた4組の直径の値のうち最小
のものを選択する(図2(2)参照)。例えば、図2
(2)では、最小の直径として「d」が選択される。さ
らに、基準線幅に対し被検出パターンの線幅の検出マー
ジンを設けるため、許容最小値と許容最大値を設ける
(図2(3)参照)。
Next, the minimum value is selected from the obtained four sets of diameter values (see FIG. 2 (2)). For example, FIG.
In (2), "d" is selected as the smallest diameter. Further, in order to provide a detection margin of the line width of the pattern to be detected with respect to the reference line width, an allowable minimum value and an allowable maximum value are set (see FIG. 2 (3)).

【0078】許容値決定回路17内部の許容値決定ブロ
ック24は、最小値決定ブロック22から供給された最
小の直径値を基準線幅とし、この基準線幅に対応する許
容最小値及び許容最大値を変換テーブル26から読出
す。変換テーブル26はROM等のメモリに構築してお
けば、測定すべき基板の変更に伴う許容値変更に対応で
きるので好ましい。
The allowable value determination block 24 inside the allowable value determination circuit 17 sets the minimum diameter value supplied from the minimum value determination block 22 as the reference line width, and the allowable minimum value and allowable maximum value corresponding to this reference line width. From the conversion table 26. If the conversion table 26 is constructed in a memory such as a ROM, it is possible to deal with the change of the allowable value accompanying the change of the board to be measured, which is preferable.

【0079】例えば、図3に示す変換テーブルに従え
ば、基準パターンMPのリードパターンP3 に対して基
準線幅300〔μm 〕が選択されたとき許容最小値とし
て280〔μm 〕、許容最大値として350〔μm 〕が
設定できる。
For example, according to the conversion table shown in FIG. 3, when the reference line width 300 [μm] is selected for the lead pattern P 3 of the reference pattern MP, the allowable minimum value is 280 [μm] and the allowable maximum value is Can be set to 350 [μm].

【0080】この許容最小値と許容最大値とはラジアル
コード化回路7に前述したコード化しきい値として供給
される。これにより、P1 〜P3 のように異なるリード
パターン毎に異なる許容値が設定され、複数種類の線幅
のリードパターンに対応することができる。
The allowable minimum value and the allowable maximum value are supplied to the radial encoding circuit 7 as the above-mentioned encoding threshold value. As a result, different allowable values are set for different lead patterns such as P 1 to P 3 , and it is possible to deal with lead patterns having a plurality of types of line widths.

【0081】なお、ラジアルコード化回路7において、
基準パターンMPの導電体部分で中心条件を満たせなか
った部分、パターンが存在しない空域部分に対しては、
参照すべき許容値の設定ができないので、予め固定値と
して設定したコード化しきい値が供給される。このコー
ド化しきい値はラジアルコード化回路7の内部に設けて
もよいし、許容値決定回路17がパターンの状態を判定
して供給するように構成してもよい。iii )被検査パターンの基準パターンの位置ずれがあっ
た場合 基準パターンMPと実際の測定すべき被測定パターンと
の間に位置ズレがあったとき、外観検査装置100は正
常に動作しない場合がある。
In the radial encoding circuit 7,
For the conductor part of the reference pattern MP that does not satisfy the central condition, and the air space part where the pattern does not exist,
Since the allowable value to be referred cannot be set, the coding threshold value set as a fixed value in advance is supplied. This encoding threshold value may be provided inside the radial encoding circuit 7, or may be configured so that the allowable value determining circuit 17 determines and supplies the state of the pattern. iii) If the reference pattern of the inspection pattern is misaligned
When a positional deviation between the measured patterns to be actually measured with the reference pattern MP if, the appearance inspection apparatus 100 may not operate normally.

【0082】そのため、許容値決定回路17及び中心検
出回路16は、「中心」として判定する幅を基準線幅に
応じて可能な限り拡大する。図5にパターンに対し中心
範囲を拡大して設定した例を示す。
Therefore, the allowable value determination circuit 17 and the center detection circuit 16 expand the width determined as the "center" as much as possible according to the reference line width. FIG. 5 shows an example in which the center range of the pattern is enlarged and set.

【0083】図5に示すように、リードパターンPが1
0画素の基準線幅を有する場合、例えば、6画素の範囲
が中心Cとなるように設定する。このように、設定すれ
ば、実際にCCDカメラ2で撮影する被検査パターンと
マスターデータ記憶回路13から読出す基準パターンM
Pとの読出し位置が多少ずれたとしても、被検査パター
ンの中心と、基準パターンの中心とが完全にずれること
はない。
As shown in FIG. 5, the lead pattern P is 1
When the reference line width is 0 pixel, for example, the range of 6 pixels is set to be the center C. If set in this way, the pattern to be inspected actually taken by the CCD camera 2 and the reference pattern M read from the master data storage circuit 13
Even if the read position with respect to P is slightly displaced, the center of the pattern to be inspected and the center of the reference pattern are not completely displaced.

【0084】さらに位置ズレが大きく、中心幅のズレが
大きい場合は、位置合わせ回路19において得られる画
像信号のパターンマッチングを行う。そして、基準パタ
ーンMPの読出し位置の補正を行い、基準パターンと被
検査パターンとの中心がほぼ一致するように、読出し位
置を調整する。
Further, when the positional deviation is large and the central width is large, pattern matching of the image signal obtained in the alignment circuit 19 is performed. Then, the read position of the reference pattern MP is corrected, and the read position is adjusted so that the centers of the reference pattern and the pattern to be inspected substantially coincide with each other.

【0085】また、中心信号比較回路18は、位置合わ
せ回路19で補正できないパターンのずれ、何らかの事
情で読み取られた被検査パターンが予定していたパター
ンと異なっている場合に、欠落欠陥信号を良否結果判定
回路11に出力する。
Further, the center signal comparison circuit 18 judges whether or not the missing defect signal is good when the pattern shift that cannot be corrected by the alignment circuit 19 or the pattern to be inspected read for some reason is different from the expected pattern. It is output to the result determination circuit 11.

【0086】例えば、基準パターンに対して中心検出回
路16が中心を検出し中心信号を出力したにも拘らず、
被検査パターンから中心検出回路6が中心を検出せず中
心信号を出力されなかった場合、中心信号比較回路は欠
落欠陥信号を出力する。
For example, although the center detection circuit 16 detects the center of the reference pattern and outputs the center signal,
When the center detection circuit 6 does not detect the center from the pattern to be inspected and the center signal is not output, the center signal comparison circuit outputs the missing defect signal.

【0087】図4に上記実施例の構成により基準パター
ンMPに対して設定された許容値データの様子を示す。
図4では、パターンの中心部分をなす濃く示した部分に
許容値が設定されている。パターンP3 に対しては中心
幅C3 が、パターンP2 に対しては中心幅C2が、パタ
ーンP1 に対しては中心幅C1 が設定されている。ま
た、ランドRに対しても中心部分C4 に許容値データが
設定される。
FIG. 4 shows a state of the allowable value data set for the reference pattern MP by the configuration of the above embodiment.
In FIG. 4, the permissible value is set in the darkly shown portion forming the central portion of the pattern. The center width C 3 for the pattern P 3, the center width C 2 for pattern P 2 is the central width C 1 is set for the pattern P 1. Further, with respect to the land R, the tolerance value data is set in the central portion C 4 .

【0088】 実施例の効果 上記の如く第1実施例によれば、複数の線種を包含する
配線パターンに対しても、それぞれ個別に良否が判定で
きる。また、基準パターンと被検査パターンとの位置ず
れがあっても、中心幅を大きく設定し、さらに位置合わ
せ回路を併用することにより、両パターンの位置ずれを
十分に補正できる。 (II)第2実施例 本発明の第2実施例は請求項5、12及び13に記載の
発明を適用した外観検査装置に関する。第2実施例の外
観検査装置は、第1実施例で説明した許容値をパターン
形状に合わせて補正する。
Effects of the Embodiments As described above, according to the first embodiment, it is possible to individually judge the pass / fail of a wiring pattern including a plurality of line types. Further, even if there is a positional deviation between the reference pattern and the pattern to be inspected, the positional deviation between both patterns can be sufficiently corrected by setting a large center width and using a positioning circuit together. (II) Second Embodiment The second embodiment of the present invention relates to a visual inspection apparatus to which the inventions of claims 5, 12 and 13 are applied. The visual inspection apparatus according to the second embodiment corrects the allowable value described in the first embodiment according to the pattern shape.

【0089】基準パターンMPが正確に作成されていて
も、被検査パターンのエッジ部分が製造プロセスの関係
により、膨張することがある。例えば、図7にパターン
と許容値データとの関係を示す。
Even if the reference pattern MP is accurately created, the edge portion of the pattern to be inspected may expand due to the manufacturing process. For example, FIG. 7 shows the relationship between patterns and allowable value data.

【0090】基準パターンは図7(A)に示すようにパ
ターンの曲がり部分であっても直角に曲がるものとして
作成され、当然許容値データの範囲を直角に曲がるもの
が生成される。
As shown in FIG. 7 (A), the reference pattern is created so that even a bent portion of the pattern is bent at a right angle, and naturally, a pattern that is bent at a right angle in the range of the allowable value data is generated.

【0091】図7(B)は実際に被検査パターンを測定
した場合に得られるデータである。図7(B)に示すよ
うに、撮影される画像は曲がり部分の内側のエッジが丸
くなりパターンが膨張している。これから許容値を作成
すると、実際の被検査パターンと許容値データの範囲に
ずれが生じ、正常な被検査パターンであっても、不良と
判定されるおそれがある。このような現象は、上記曲が
り部分の他に線幅を急に変更する部分、リードパターン
とランドとの接合部分で生ずる。
FIG. 7B shows data obtained when the pattern to be inspected is actually measured. As shown in FIG. 7 (B), in the captured image, the inner edge of the bent portion is rounded and the pattern is expanded. When the allowable value is created from this, a deviation occurs between the actual pattern to be inspected and the range of the allowable value data, and even a normal pattern to be inspected may be determined to be defective. Such a phenomenon occurs not only in the bent portion but also in a portion where the line width is suddenly changed and a joint portion between the lead pattern and the land.

【0092】 構成の説明 第2実施例の外観検査装置の構成は、図1に示す第1実
施例の外観検査装置100において、許容値決定回路1
7とラジアルコード化回路7との間に補正回路30を設
けたものである。
Description of Configuration The configuration of the appearance inspection apparatus of the second embodiment is the same as that of the allowable value determination circuit 1 in the appearance inspection apparatus 100 of the first embodiment shown in FIG.
A correction circuit 30 is provided between the No. 7 and the radial encoding circuit 7.

【0093】図6に補正回路30の詳細なブロック構成
を示す。マッチング回路32は、許容値決定回路17の
作成した許容値データに基づいて、辞書32より追加す
べき補正データを読出す。
FIG. 6 shows a detailed block configuration of the correction circuit 30. The matching circuit 32 reads the correction data to be added from the dictionary 32 based on the tolerance value data created by the tolerance value determining circuit 17.

【0094】加算回路34は、辞書36から読出された
補正データを入力された許容値データに加算して、補正
した許容値データとしてラジアルコード化回路7へ出力
する。
The adder circuit 34 adds the correction data read from the dictionary 36 to the input allowable value data and outputs the corrected allowable value data to the radial encoding circuit 7.

【0095】辞書36は、マッチング回路32がマッチ
ングして特定したパターン形状の各々に対する補正すべ
き補正データを格納する。補正データはプラス方向、マ
イナス方向のそれぞれを格納する。
The dictionary 36 stores correction data to be corrected for each pattern shape identified by the matching circuit 32. The correction data stores each of the plus direction and the minus direction.

【0096】なお、補正回路30は許容値決定回路の本
実施例のように後段に設けるほか、許容値決定回路の内
部に設け、パターン形状に応じて異なる許容値データを
個別に読出すように構成してもよい。
The correction circuit 30 is provided in the latter stage as in the present embodiment of the allowance value determining circuit, and is also provided inside the allowance value determining circuit so that the allowance value data different depending on the pattern shape can be individually read. You may comprise.

【0097】 動作の説明 次に動作を説明する。辞書36は、実際の製造プロセス
において、パターンの膨張等が生じ易いパターン形状の
各々に対して、それぞれ許容すべき許容値データから、
標準の許容値データに対して追加すべき補正データを格
納している。
Description of Operation Next, the operation will be described. The dictionary 36 is based on allowable value data that should be allowed for each pattern shape in which pattern expansion is likely to occur in the actual manufacturing process.
The correction data to be added to the standard allowable value data is stored.

【0098】例えば、図6の辞書では、D1 〜D3 の3
つのパターン形状に対する補正データを格納している。
1 はランドとリードパターンの接合部のパターン形状
であり、補正データとして±20〔μm 〕を記憶する。
2 はリードパターンの緩い曲がり部分であり、補正デ
ータとして±20〔μm 〕を記憶する。D3 はリードパ
ターンの強い曲がり部分であり、補正データとして±2
0〔μm 〕を記憶する。これらの補正データは、基準線
幅とパターン形状、パターンの厚みに応じて変更して設
定すればよい。
For example, in the dictionary of FIG. 6, 3 of D 1 to D 3
The correction data for one pattern shape is stored.
D 1 is the pattern shape of the joint between the land and the lead pattern, and stores ± 20 [μm] as correction data.
D 2 is a gently bent portion of the lead pattern, and ± 20 [μm] is stored as correction data. D 3 is a strongly bent portion of the lead pattern, and is ± 2 as correction data.
Store 0 [μm]. These correction data may be changed and set according to the reference line width, the pattern shape, and the pattern thickness.

【0099】補正回路30のマッチング回路32は、許
容値データ列を入力し、基準パターンがどのようなパタ
ーン形状に該当しているかを特定する。例えば、リード
とランドとの接合部分に相当する許容値データが入力さ
れた場合、辞書36よりD1 のパターンに相当する補正
データを読出す。
The matching circuit 32 of the correction circuit 30 inputs the allowable value data string and specifies what pattern shape the reference pattern corresponds to. For example, when the allowable value data corresponding to the joint between the lead and the land is input, the correction data corresponding to the pattern D 1 is read from the dictionary 36.

【0100】加算回路34は、辞書36から読出された
補正データをプラス・マイナスの符号を含めて加算す
る。則ち、補正データが正の値であればその補正データ
の絶対値を原許容値データに加算し、補正データが負の
値であれば補正データの絶対値を原許容値データから減
算することと等価となる。
The adder circuit 34 adds the correction data read from the dictionary 36, including plus and minus signs. That is, if the correction data is a positive value, the absolute value of the correction data is added to the original allowable value data, and if the correction data is a negative value, the absolute value of the correction data is subtracted from the original allowable value data. Is equivalent to

【0101】 実施例の効果 上記のように、第2実施例の補正回路によれば、パター
ン形状の変化に伴うパターンの膨張が生じても正確な補
正がなされるので、被検査パターンを誤検出することな
く外観検査が行える。
Effects of the Embodiment As described above, according to the correction circuit of the second embodiment, accurate correction can be made even if the expansion of the pattern occurs due to the change of the pattern shape. Appearance inspection can be performed without doing.

【0102】[0102]

【発明の効果】請求項1、請求項2、請求項6及び請求
項7に記載の発明によれば、被検査パターンの線幅許容
値を設定可能としたので、複数の線幅を包含する配線パ
ターンであっても、誤検出することなく正確な配線パタ
ーン等の外観検査が行える。
According to the inventions of claim 1, claim 2, claim 6 and claim 7, since the line width allowable value of the pattern to be inspected can be set, a plurality of line widths are included. Even with a wiring pattern, an accurate visual inspection of the wiring pattern or the like can be performed without erroneous detection.

【0103】請求項3及び請求項10に記載の発明によ
れば、線幅値のうち最小のものをそのパターンの基準線
幅とするので、基準線幅の決定が簡単に確実に行える。
請求項4及び請求項12に記載の発明によれば、予め基
準線幅の最大値及び最小値を決定することにより線幅許
容値を決定するので、線幅の許容値を2つのパラメータ
のみで決定でき、被検査パターンの比較が簡単となる。
According to the third and tenth aspects of the present invention, the smallest line width value is used as the reference line width of the pattern, so that the reference line width can be easily and surely determined.
According to the inventions of claims 4 and 12, the line width allowable value is determined by previously determining the maximum value and the minimum value of the reference line width, so that the line width allowable value is determined by only two parameters. The determination can be made, and the comparison of the patterns to be inspected becomes easy.

【0104】請求項5、請求項12及び請求項13に記
載の発明によれば、基準線幅に対してパターン形状に応
じた補正を行うので、実際の被検査パターンに製造上止
むを得ず生ずるパターンの膨張を生じても、誤検出する
ことなく外観検査が行える。
According to the fifth, twelfth and thirteenth aspects of the present invention, the reference line width is corrected in accordance with the pattern shape. Appearance inspection can be performed without erroneous detection even if the pattern expansion occurs.

【0105】請求項8に記載の発明によれば、基準パタ
ーンの中心と被検査パターンの中心とを比較するので、
パターンのずれや大幅な欠陥に対する欠陥検出が行え
る。請求項9に記載の発明によれば、基準パターンの中
心を検出する領域を線幅許容値の近傍まで拡大したの
で、基準パターンと被検査パターンとが僅かな位置ズレ
を生じても、中心位置が一致し外観検査を度々中断する
不都合が回避できる。
According to the eighth aspect of the invention, since the center of the reference pattern and the center of the pattern to be inspected are compared,
Defects can be detected for pattern shifts and large defects. According to the invention of claim 9, since the area for detecting the center of the reference pattern is expanded to the vicinity of the line width allowable value, even if the reference pattern and the pattern to be inspected are slightly displaced, the center position Therefore, it is possible to avoid the inconvenience of frequently interrupting the appearance inspection because

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

【図1】本発明の第1実施例の外観検査装置を示すブロ
ック図である。
FIG. 1 is a block diagram showing a visual inspection apparatus according to a first embodiment of the present invention.

【図2】第1実施例の外観検査装置の動作説明図であ
る。
FIG. 2 is an operation explanatory view of the appearance inspection apparatus of the first embodiment.

【図3】許容値決定回路の動作説明図である。FIG. 3 is an operation explanatory diagram of an allowable value determination circuit.

【図4】許容値データの設定例である。FIG. 4 is an example of setting allowable value data.

【図5】パターンの中心との関係を示す説明図である。FIG. 5 is an explanatory diagram showing a relationship with the center of a pattern.

【図6】第2実施例の外観検査装置における補正回路の
ブロック図である。
FIG. 6 is a block diagram of a correction circuit in the visual inspection apparatus of the second embodiment.

【図7】パターンと許容値データとの関係を示す説明図
であり、(A)は基準パターン、(B)は被検査パター
ンである。
FIG. 7 is an explanatory diagram showing a relationship between patterns and allowable value data, in which (A) is a reference pattern and (B) is a pattern to be inspected.

【図8】許容値データと補正との関係を示す説明図であ
る。
FIG. 8 is an explanatory diagram showing a relationship between allowable value data and correction.

【図9】欠陥探索の説明図である。FIG. 9 is an explanatory diagram of defect search.

【図10】カテゴリ変換回路以降の動作の流れ図であ
る。
FIG. 10 is a flowchart of operations after the category conversion circuit.

【図11】従来の外観検査装置の検査方法の説明図であ
る。
FIG. 11 is an explanatory diagram of an inspection method of a conventional appearance inspection device.

【図12】従来の外観検査装置の問題点を示す説明図で
ある。
FIG. 12 is an explanatory diagram showing a problem of the conventional visual inspection apparatus.

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

SP…試料 MP…基準パターン P、P1 〜P3 、P10…基準パターン D1 〜D3 …パターン形状 R…ランド C、C1 〜C4 …中心領域 D1 〜D3 …辞書データ A1 、A2 …検査領域 1…光源 2…CCDカメラ 3…2値化回路 4…記憶回路 5…測長回路 6…中心検出回路 7…ラジアルコード化回路 8…カテゴリ変換回路 9…カテゴリマップ作成回路 10…比較回路 11…良否結果判定回路 12-1…良否判定ルール辞書 12-2…探索方法辞書 13…マスターデータ記憶回路 14…記憶回路 15…測長回路 16…中心検出回路 17…許容値決定回路 18…中心信号比較回路 19…位置合わせ回路 22…最小値選択ブロック 24…許容値決定ブロック 26…変換テーブル 30…補正回路 32…マッチング回路 34…加算回路SP ... sample MP ... reference pattern P, P 1 ~P 3, P 10 ... reference patterns D 1 to D 3 ... pattern R ... land C, C 1 ~C 4 ... central area D 1 to D 3 ... dictionary data A 1 , A 2 ... inspection area 1 ... light source 2 ... CCD camera 3 ... binarization circuit 4 ... storage circuit 5 ... length measurement circuit 6 ... center detection circuit 7 ... radial coding circuit 8 ... category conversion circuit 9 ... category map creation circuit 10 ... comparator circuit 11 ... quality result judgment circuit 12 -1 ... quality determination rule dictionary 12-2 ... search method dictionary 13 ... master data storage circuit 14 ... memory circuit 15 ... measuring circuit 16 ... center detection circuit 17 ... tolerance Determination circuit 18 ... Center signal comparison circuit 19 ... Positioning circuit 22 ... Minimum value selection block 24 ... Allowable value determination block 26 ... Conversion table 30 ... Correction circuit 32 ... Matching circuit 34 ... Addition circuit

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 試料を撮影することにより得られた2値
化画像からパターンの略中心を検出し、検出された略中
心から複数方向における当該パターンの各測長値をラジ
アルコードに変換し、当該ラジアルコードに基づいて当
該パターンの欠陥を検出する外観検出方法において、 検査対象となるべきパターンの線幅許容値を設定し、前
記各測長値を前記線幅許容値と比較することにより前記
パターンの線種を決定し、当該決定されたパターンの線
種に基づいて前記ラジアルコードを生成することを特徴
とする外観検査方法。
1. A substantially center of a pattern is detected from a binarized image obtained by photographing a sample, and each measured value of the pattern in a plurality of directions from the detected substantially center is converted into a radial code, In the appearance detection method for detecting the defect of the pattern based on the radial code, by setting the line width allowable value of the pattern to be inspected and comparing each of the measured values with the line width allowable value, A visual inspection method, comprising determining a line type of a pattern and generating the radial code based on the determined line type of the pattern.
【請求項2】 試料を撮影することにより得られた2値
化画像から被検査パターンの略中心を検出し、検出され
た略中心から複数方向における当該被検査パターンの各
測長値をラジアルコードに変換し、当該ラジアルコード
に基づいて当該被検査パターンの欠陥を検出する外観検
出方法において、 予め当該基準パターンを測定することにより得られた基
準線幅値に基づいて線幅許容値を設定し、前記各測長値
を当該線幅許容値と比較することにより前記被検査パタ
ーンの線種を決定し、当該決定された被検査パターンの
線種に基づいて前記ラジアルコードを生成することを特
徴とする外観検査方法。
2. A substantially center of a pattern to be inspected is detected from a binarized image obtained by photographing a sample, and radial measurement values of respective length measurement values of the pattern to be inspected in a plurality of directions from the detected substantially center are detected. In the appearance detection method, in which the defect is detected in the pattern to be inspected based on the radial code, the allowable line width value is set based on the reference line width value obtained by measuring the reference pattern in advance. A line type of the inspected pattern is determined by comparing each of the measured values with the line width allowable value, and the radial code is generated based on the determined line type of the inspected pattern. Appearance inspection method.
【請求項3】 請求項2に記載の外観検査方法におい
て、 前記基準パターンを測定することにより得られた線幅値
のうち最小のものをその基準パターンの基準線幅値と
し、当該基準線幅値に基づいて線幅許容値を設定するこ
とを特徴とする外観検査方法。
3. The appearance inspection method according to claim 2, wherein the minimum of the line width values obtained by measuring the reference pattern is set as the reference line width value of the reference pattern, and the reference line width is set. An appearance inspection method characterized by setting a line width allowable value based on a value.
【請求項4】 請求項2又は請求項3に記載の外観検査
方法において、 前記基準線幅の最大幅及び最小幅を予め所定の値に調整
することにより前記線幅許容値を設定することを特徴と
する外観検査方法。
4. The appearance inspection method according to claim 2, wherein the line width allowable value is set by adjusting the maximum width and the minimum width of the reference line width to predetermined values in advance. Characteristic visual inspection method.
【請求項5】 請求項2乃至請求項4に記載の外観検査
方法において、 前記基準パターンに存在する各形状に対応させて前記線
幅許容値を設定し、前記線幅許容値に基づいて前記基準
パターンのパターン形状を判定し、当該パターン形状に
基づいて前記線幅許容値を補正することを特徴とする外
観検査方法。
5. The appearance inspection method according to claim 2, wherein the line width allowable value is set corresponding to each shape existing in the reference pattern, and the line width allowable value is set based on the line width allowable value. An appearance inspection method comprising: determining a pattern shape of a reference pattern and correcting the line width allowable value based on the pattern shape.
【請求項6】 試料上に形成された被検査パターンを撮
像する撮像手段と、撮像された画像を2値化する画像2
値化手段と、当該2値化画像上の任意の中心画素から複
数方向に延在する各画素列内におけるパターン部分のパ
ターン部長さを測定するラジアル測長手段と、当該複数
方向の測長値から前記被検査パターンの略中心を検出す
る中心検出手段と、前記被検査パターンの線種を判定す
るための線幅許容値を設定する許容値設定手段と、前記
線幅許容値に基づいて前記被検査パターンの線種を判定
し、当該判定結果に基づいて前記複数方向の各測長値を
ラジアルコードに変換するコード化手段と、当該ラジア
ルコードに基づいて前記被検査パターンの欠陥を検出す
る検出手段と、 を備えたことを特徴とする外観検査装置。
6. An image pickup means for picking up an image of a pattern to be inspected formed on a sample, and an image 2 for binarizing the picked up image.
A binarizing unit, a radial length measuring unit that measures a pattern portion length of a pattern portion in each pixel row extending in a plurality of directions from an arbitrary central pixel on the binarized image, and a length measuring value in the plurality of directions. From the center detection means for detecting the substantially center of the pattern to be inspected, the allowable value setting means for setting the line width allowable value for determining the line type of the pattern to be inspected, and based on the line width allowable value A line type of the pattern to be inspected is determined, and coding means for converting each measurement value in the plurality of directions into a radial code based on the determination result, and detecting a defect in the pattern to be inspected based on the radial code. An appearance inspection apparatus comprising: a detection unit.
【請求項7】 請求項6に記載の外観検査装置におい
て、 前記許容値設定手段は、基準パターンの2値化画像デー
タを生成する基準パターン生成手段と、前記2値化画像
上の任意の中心画素から複数方向に延在する各画素列内
におけるパターン部分のパターン部長さを測定する基準
パターン測長手段と、前記複数方向の測長値から前記基
準パターンの略中心を検出する基準パターン中心検出手
段と、前記基準パターンの測長値及び前記略中心位置に
基づいて前記基準パターンの基準線幅を決定し、当該基
準線幅に基づいて前記被検査パターンの線種を判定する
ための線幅許容値を設定する許容値決定手段と、 を備えたことを特徴とする外観検査装置。
7. The appearance inspection apparatus according to claim 6, wherein the allowable value setting means is a reference pattern generating means for generating binarized image data of the reference pattern, and an arbitrary center on the binarized image. Reference pattern length measuring means for measuring a pattern portion length of a pattern portion in each pixel row extending in a plurality of directions from a pixel, and reference pattern center detection for detecting a substantially center of the reference pattern from the length measurement values in the plurality of directions And a line width for determining the reference line width of the reference pattern based on the length measurement value of the reference pattern and the substantially center position, and determining the line type of the inspection pattern based on the reference line width. An appearance inspection apparatus comprising: a tolerance determining means for setting a tolerance.
【請求項8】 請求項7に記載の外観検査装置におい
て、 前記基準パターンの略中心と前記被検査パターンの略中
心とを比較し、前記被検査パターンの欠落欠陥を検出す
る欠落欠陥検出手段を備えたことを特徴とする外観検査
装置。
8. The appearance inspection apparatus according to claim 7, further comprising a missing defect detecting means for comparing a substantial center of the reference pattern and a substantially center of the inspected pattern to detect a missing defect of the inspected pattern. A visual inspection device characterized by being provided.
【請求項9】 請求項7に記載の外観検査装置におい
て、 前記基準パターン中心検出手段は、前記基準パターンの
略中心を検出する領域を本来の中心位置を中心として線
幅許容領域の近傍まで広げて構成されることを特徴とす
る外観検査装置。
9. The appearance inspection apparatus according to claim 7, wherein the reference pattern center detection unit widens an area for detecting a substantially center of the reference pattern to a vicinity of a line width allowable area with an original center position as a center. Appearance inspection device characterized by being configured.
【請求項10】 請求項7に記載の外観検査装置におい
て、 前記許容値決定手段は、前記基準パターンを測定するこ
とにより得られた線幅値のうち最小のものをその基準パ
ターンの基準線幅値とし、当該基準線幅値に基づいて線
幅許容値を設定することを特徴とする外観検査装置。
10. The appearance inspection apparatus according to claim 7, wherein the tolerance determining unit determines the minimum line width value obtained by measuring the reference pattern to be the reference line width of the reference pattern. And a line width allowable value is set based on the reference line width value.
【請求項11】 請求項7に記載の外観検査装置におい
て、 前記許容値決定手段は、予め所定の値に調整された基準
線幅の最大幅及び最小幅に基づいて前記線幅許容値を設
定することを特徴とする外観検査装置。
11. The appearance inspection apparatus according to claim 7, wherein the allowable value determining unit sets the line width allowable value based on a maximum width and a minimum width of the reference line width adjusted to a predetermined value in advance. Appearance inspection device characterized by:
【請求項12】 請求項6又は請求項7に記載の外観検
査装置において、 前記許容値設定手段と前記コード化手段との間に介装さ
れ、前記線幅許容値に基づいて前記被検査パターンの略
中心付近のパターン形状を特定し、当該特定したパター
ン形状に基づいて前記線幅許容値を補正する補正手段を
備えたことを特徴とする外観検査装置。
12. The appearance inspection apparatus according to claim 6 or 7, wherein the pattern to be inspected is interposed between the tolerance setting means and the coding means and is based on the line width tolerance. An appearance inspection apparatus comprising: a correction unit that specifies a pattern shape in the vicinity of substantially the center and corrects the line width allowable value based on the specified pattern shape.
【請求項13】 請求項12に記載の外観検査装置にお
いて、 前記補正手段は、線幅許容値に基づいて前記基準パター
ンのパターン形状に対応した前記線幅許容値の補正デー
タを出力する辞書手段と、前記線幅許容値と前記辞書手
段に格納されたパターン形状とを比較し前記線幅許容値
に対応するパターン形状の補正データが前記辞書手段に
格納されている場合に前記辞書手段より補正データを読
出すマッチング手段と、前記マッチング手段により前記
辞書手段から読出された前記補正データに基づいて前記
線幅許容値を補正する演算手段と、を備えたことを特徴
とする外観検査装置。
13. The appearance inspection apparatus according to claim 12, wherein the correction unit outputs correction data of the line width allowable value corresponding to the pattern shape of the reference pattern based on the line width allowable value. And comparing the line width allowable value with the pattern shape stored in the dictionary means, and when the correction data of the pattern shape corresponding to the line width allowable value is stored in the dictionary means, corrects by the dictionary means. An appearance inspection apparatus comprising: matching means for reading data; and computing means for correcting the line width allowable value based on the correction data read by the matching means from the dictionary means.
JP6247637A 1994-10-13 1994-10-13 Method and device for inspecting appearance Withdrawn JPH08110305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6247637A JPH08110305A (en) 1994-10-13 1994-10-13 Method and device for inspecting appearance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6247637A JPH08110305A (en) 1994-10-13 1994-10-13 Method and device for inspecting appearance

Publications (1)

Publication Number Publication Date
JPH08110305A true JPH08110305A (en) 1996-04-30

Family

ID=17166468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6247637A Withdrawn JPH08110305A (en) 1994-10-13 1994-10-13 Method and device for inspecting appearance

Country Status (1)

Country Link
JP (1) JPH08110305A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6868175B1 (en) 1999-08-26 2005-03-15 Nanogeometry Research Pattern inspection apparatus, pattern inspection method, and recording medium
JP2005310825A (en) * 2004-04-16 2005-11-04 Shinko Electric Ind Co Ltd Apparatus and method for clearance inspection
US7796801B2 (en) 1999-08-26 2010-09-14 Nanogeometry Research Inc. Pattern inspection apparatus and method
US7817844B2 (en) 1999-08-26 2010-10-19 Nanogeometry Research Inc. Pattern inspection apparatus and method
US7983471B2 (en) 2006-12-05 2011-07-19 Ngr Inc. Pattern inspection apparatus and method
US8150140B2 (en) 2008-12-22 2012-04-03 Ngr Inc. System and method for a semiconductor lithographic process control using statistical information in defect identification
US8422761B2 (en) 2008-12-22 2013-04-16 Ngr Inc. Defect and critical dimension analysis systems and methods for a semiconductor lithographic process

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6868175B1 (en) 1999-08-26 2005-03-15 Nanogeometry Research Pattern inspection apparatus, pattern inspection method, and recording medium
US7660455B2 (en) 1999-08-26 2010-02-09 Nanogeometry Research Inc. Pattern inspection apparatus, pattern inspection method, and recording medium
US7796801B2 (en) 1999-08-26 2010-09-14 Nanogeometry Research Inc. Pattern inspection apparatus and method
US7817844B2 (en) 1999-08-26 2010-10-19 Nanogeometry Research Inc. Pattern inspection apparatus and method
US8045785B2 (en) 1999-08-26 2011-10-25 Ngr Inc. Pattern inspection apparatus and method
JP2005310825A (en) * 2004-04-16 2005-11-04 Shinko Electric Ind Co Ltd Apparatus and method for clearance inspection
JP4549094B2 (en) * 2004-04-16 2010-09-22 新光電気工業株式会社 Clearance inspection apparatus and method
US7983471B2 (en) 2006-12-05 2011-07-19 Ngr Inc. Pattern inspection apparatus and method
US8285031B2 (en) 2006-12-05 2012-10-09 Ngr Inc. Pattern inspection apparatus and method
US9189843B2 (en) 2006-12-05 2015-11-17 Ngr Inc. Pattern inspection apparatus and method
US8150140B2 (en) 2008-12-22 2012-04-03 Ngr Inc. System and method for a semiconductor lithographic process control using statistical information in defect identification
US8422761B2 (en) 2008-12-22 2013-04-16 Ngr Inc. Defect and critical dimension analysis systems and methods for a semiconductor lithographic process

Similar Documents

Publication Publication Date Title
JP4230880B2 (en) Defect inspection method
JPH08110305A (en) Method and device for inspecting appearance
JP4454428B2 (en) Component edge detection method, component edge detection program, and inspection apparatus
JP5498109B2 (en) Defect detection apparatus and defect detection method
JP4821647B2 (en) Electronic component terminal position detection method
JPS61293658A (en) Method for inspecting soldering appearance
JP2692147B2 (en) Object detection method
JP3189515B2 (en) Inspection equipment for printed wiring boards
JP3067876B2 (en) Pattern inspection apparatus and pattern inspection method
JP2004061118A (en) Apparatus and method for inspecting pattern
JP3751389B2 (en) Wiring pattern inspection method and apparatus
JPH05240627A (en) Pattern inspecting device
JP3189488B2 (en) Inspection equipment for printed wiring boards
JPH05264240A (en) Visual inspection device
JPH0786468B2 (en) Printed circuit board pattern inspection method
JP2007333664A (en) Visual inspection apparatus
JPH06204700A (en) Chip component mount inspecting apparatus
JP2601232B2 (en) IC lead displacement inspection equipment
JPH06160037A (en) Mounting inspection device
JP2000241130A (en) Method and apparatus for inspecting pattern
JP2709306B2 (en) Image processing method for image monitoring device
JPH10104169A (en) Visual inspection device
JPH08110216A (en) Objective face recognition processor for appearance inspecting apparatus
JPH0630413A (en) Image binarization circuit
JPH067105B2 (en) Soldering appearance inspection method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020115