JP3116438B2 - Inspection apparatus and inspection method for printed wiring board - Google Patents

Inspection apparatus and inspection method for printed wiring board

Info

Publication number
JP3116438B2
JP3116438B2 JP03200115A JP20011591A JP3116438B2 JP 3116438 B2 JP3116438 B2 JP 3116438B2 JP 03200115 A JP03200115 A JP 03200115A JP 20011591 A JP20011591 A JP 20011591A JP 3116438 B2 JP3116438 B2 JP 3116438B2
Authority
JP
Japan
Prior art keywords
data
defect
mask
inspection
algorithm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP03200115A
Other languages
Japanese (ja)
Other versions
JPH0520433A (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.)
Ibiden Co Ltd
Original Assignee
Ibiden Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ibiden Co Ltd filed Critical Ibiden Co Ltd
Priority to JP03200115A priority Critical patent/JP3116438B2/en
Publication of JPH0520433A publication Critical patent/JPH0520433A/en
Application granted granted Critical
Publication of JP3116438B2 publication Critical patent/JP3116438B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は,プリント配線基板にお
ける配線パターンの欠陥形状を検出するための検査装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inspection apparatus for detecting a defect shape of a wiring pattern on a printed wiring board.

【0002】[0002]

【従来技術】プリント配線基板における配線パターン
は,その製造過程において,断線,ショート,欠け,ゴ
ミ付着等による欠陥形状を生ずることがある。そのた
め,かかる欠陥形状を検出するための種々の検査装置が
提案されている。かかる検査装置としては,プリント配
線基板上の配線パターンを読取るCCDカメラ等の撮像
装置と,該撮像装置のアナログ信号をディジタル信号に
変換するA/D変換器と,該ディジタル画像信号から欠
陥形状を検出する欠陥検出手段とを有する検査装置があ
る。そして,この欠陥検出手段としては,特徴抽出法を
検査アルゴリズムに用いたものがある。
2. Description of the Related Art In a manufacturing process of a wiring pattern on a printed wiring board, a defect shape due to disconnection, short circuit, chipping, adhesion of dust and the like may occur. Therefore, various inspection devices for detecting such a defect shape have been proposed. Such an inspection device includes an imaging device such as a CCD camera that reads a wiring pattern on a printed wiring board, an A / D converter that converts an analog signal of the imaging device into a digital signal, and a defect shape from the digital image signal. There is an inspection apparatus having defect detection means for detecting. As this defect detection means, there is one using a feature extraction method as an inspection algorithm.

【0003】そして,上記検査アルゴリズムを用いた検
査装置においては,疑似欠陥形状が誤報として出力され
ることがあるため,良品の標準基板を用いて疑似欠陥形
状を撮像認識し,その適合ポイントにマスクを施すため
のマスクを作成しておき,該マスクと被検査基板からの
欠陥候補データとを比較して,真の欠陥データを検出し
ている。即ち,図15,図16に示すごとく,配線パタ
ーン90の検査において,検査装置が断片部91,短絡
部92を欠陥形状と判定する場合がある。しかし,実際
は,該断片部91は,断線のように見えても正常パター
ンのオープンエンドであり,また短絡部92は正常な結
線部である。
In the inspection apparatus using the above-described inspection algorithm, the pseudo defect shape may be output as a false report. Therefore, the pseudo defect shape is image-recognized by using a non-defective standard substrate, and a mask is set at a conforming point. A mask for performing the above-described process is prepared, and the true defect data is detected by comparing the mask with defect candidate data from the substrate to be inspected. That is, as shown in FIGS. 15 and 16, in the inspection of the wiring pattern 90, the inspection device may determine that the fragment portion 91 and the short-circuit portion 92 have a defect shape. However, actually, the fragment portion 91 is an open end of a normal pattern even if it looks like a disconnection, and the short-circuit portion 92 is a normal connection portion.

【0004】そこで,かかる場合,真の欠陥データであ
るか否かを選別する欠陥検出手段が必要となる。従来,
そのための検査装置としては,正常な標準基板の配線パ
ターンを検査し,その際に欠陥形状と判断される部分,
即ち疑似欠陥データをメモリーに登録しておき,実検査
時にこれを照合する装置がある。即ち,実検査時におい
て,被検査基板の配線パターンを検査するとき,上記メ
モリーにある疑似欠陥データを読み出し,これを配線パ
ターンから検出された欠陥候補データと照合するもので
ある。そして,欠陥候補データが疑似欠陥データと一致
した場合には,該欠陥候補データは真の欠陥データでな
いと判断し,一致しない場合には真の欠陥データである
と判断する。そして,上記照合に当たっては,疑似欠陥
データの部分にはマスクを施したマスクテーブルを用い
る。
Therefore, in such a case, a defect detecting means for selecting whether or not the data is true defect data is required. Conventionally,
Inspection equipment for this purpose is to inspect the wiring pattern of a normal standard board,
That is, there is a device that registers pseudo defect data in a memory and verifies the data at the time of actual inspection. That is, during the actual inspection, when inspecting the wiring pattern of the substrate to be inspected, the pseudo defect data in the memory is read out and compared with the defect candidate data detected from the wiring pattern. If the defect candidate data matches the pseudo defect data, the defect candidate data is determined to be not true defect data, and if not, it is determined to be true defect data. In the comparison, a mask table in which a mask is applied to a portion of the pseudo defect data is used.

【0005】上記の判断方法を図17に示す。即ち,ま
ず正常な配線パターンから得られた前記疑似欠陥データ
は,マスクテーブル96に登録されている。そして,該
マスクテーブルには,セル961,969が疑似欠陥デ
ータとしてマスクされている(これをマスクデータと称
する)。疑似欠陥データでないセル962〜967はマ
スクされていない。一方,検査した配線パターンから得
られたデータテーブル95には,欠陥形状として検出さ
れた欠陥候補データがセル951,953,959にあ
る。そこで,マスクテーブル96とデータテーブル95
とを照合すると,上記3つの欠陥候補データのうちセル
951と959の欠陥候補データは疑似欠陥データのセ
ル961,969と一致するため,この2つのデータは
欠陥形状でないと判断される。一方,欠陥候補データの
セル953は,一致する疑似欠陥データがないため,真
の欠陥データ973と判断される。
FIG. 17 shows the above-mentioned determination method. That is, the pseudo defect data obtained from the normal wiring pattern is registered in the mask table 96. The cells 961 and 969 are masked as pseudo defect data in the mask table (this is referred to as mask data). Cells 962 to 967 that are not pseudo defect data are not masked. On the other hand, in the data table 95 obtained from the inspected wiring pattern, defect candidate data detected as a defect shape are stored in cells 951, 953, and 959. Therefore, the mask table 96 and the data table 95
Are compared, the defect candidate data of the cells 951 and 959 among the three defect candidate data coincide with the cells 961 and 969 of the pseudo defect data. Therefore, it is determined that the two data are not the defect shapes. On the other hand, the cell 953 of the defect candidate data is determined to be true defect data 973 because there is no matching pseudo defect data.

【0006】ところで,上記検査の際には,疑似欠陥デ
ータを登録したときの標準基板の位置と,被検査基板の
位置とを一致させるが,実際には若干の位置ズレを生ず
る。そのため,疑似欠陥データに基づくマスクの位置に
ズレを生じ,正確な検査をすることができない。例え
ば,マスク寸法が200μmであり,標準基板と被検査
基板との位置決めのバラツキが±50μmあるとする
と,被検査基板において欠陥候補形状と認識された適合
ポイントが,マスク位置から外れてしまうことがある。
In the above inspection, the position of the standard substrate at the time of registering the pseudo defect data is made to coincide with the position of the substrate to be inspected. However, a slight displacement actually occurs. For this reason, the position of the mask based on the pseudo defect data is shifted, and accurate inspection cannot be performed. For example, if the mask dimension is 200 μm and the variation in the positioning between the standard substrate and the substrate to be inspected is ± 50 μm, the conforming point recognized as the defect candidate shape on the substrate to be inspected may deviate from the mask position. is there.

【0007】そこで,上記検査方法においては,照合処
理における疑似欠陥洩れ,即ち本来は疑似の欠陥データ
であるにも拘らず真の欠陥データと判断されることを防
止するため,データテーブルに対するマスクの位置補正
が必要である。そこで,この位置補正手段として,一般
に次の2つの手段が行われている。その1つは,マスク
を大き目に設ける拡大マスク法である。他の1つは,位
置決め精度向上のために画像処理によるアライメントを
追加する方法である。
Therefore, in the above inspection method, in order to prevent false defect leakage in the collation processing, that is, to prevent the defect data from being judged as true defect data despite being originally pseudo defect data, masking of the data table is performed. Position correction is required. Therefore, the following two means are generally used as the position correcting means. One of them is an enlarged mask method in which a large mask is provided. Another method is to add alignment by image processing to improve positioning accuracy.

【0008】そして,上記の拡大マスク法は,図18に
示すごとく,マスクテーブル81において,マスクする
範囲を,疑似欠陥データのセル815を中心に,これに
隣接するセル811〜814,816〜819の9倍に
拡大するものである。そして,図19に示すごとく,デ
ータテーブル82において,被検査体で得られた欠陥候
補データセル828と,マスクテーブル81における拡
大マスクセル811〜819とを比較する。比較の結
果,欠陥候補データセル828は,上記拡大マスクセル
811〜819の中にあるので真の欠陥データでないと
判断される。また,一方の画像処理によるアライメント
を追加する方法は,別系統の画像処理を行い,位置ズレ
補正を行う方法である。
In the enlarged mask method, as shown in FIG. 18, in the mask table 81, a range to be masked is set around a cell 815 of the pseudo defect data and cells 811 to 814 and 816 to 819 adjacent thereto. 9 times as large as. Then, as shown in FIG. 19, in the data table 82, the defect candidate data cell 828 obtained in the inspection object is compared with the enlarged mask cells 811 to 819 in the mask table 81. As a result of the comparison, since the defect candidate data cell 828 is in the enlarged mask cells 811 to 819, it is determined that it is not true defect data. Further, a method of adding alignment by one image processing is a method of performing image processing of another system and correcting positional deviation.

【0009】[0009]

【解決しようとする課題】しかしながら,上記の拡大マ
スク法においては,プリント配線基板がファイン(精
密)パターンの場合,マスクセル相当位置に近接した欠
陥候補データは,拡大されたマスクのために真の欠陥デ
ータでないと判断されてしまう。そのため,真の欠陥デ
ータを見逃すおそれがあるという問題を生ずる。また,
後者のアライメント法は上記別系統の画像処理装置が必
要なため,装置がコスト高となり,またアライメントに
要する時間が長く生産性が低い。本発明はかかる問題点
に鑑み,真の欠陥データを見逃すことなく正確な検査が
でき,また位置ズレ補正の必要がない,プリント配線基
板の検査装置を提供しようとするものである。
However, in the above-described enlarged mask method, when the printed wiring board has a fine (precision) pattern, defect candidate data close to a position corresponding to a mask cell is a true defect due to the enlarged mask. It is determined that it is not data. Therefore, there is a problem that the true defect data may be missed. Also,
The latter alignment method requires an image processing apparatus of another system, so that the cost of the apparatus is high, and the time required for alignment is long and the productivity is low. SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an inspection apparatus for a printed wiring board which can perform an accurate inspection without overlooking true defect data and does not require a positional deviation correction.

【0010】[0010]

【課題の解決手段】本発明の検査装置は,プリント配線
基板上の配線パターンを読み取る撮像装置と,該撮像装
置の画像信号に基づいて真の欠陥データであるか否かを
選別する欠陥検出手段と,該欠陥検出手段によって選別
された真の欠陥データを集計するデータ集計手段とを有
する。そして,上記欠陥検出手段は,抽出すべきパター
ンの特徴をアルゴリズムとしてマスク分解能より小さな
単位で構成した空間フィルター上に展開すると共に,
スク作成時には欠陥形状を認識すると共にアルゴリズム
に適合するポイントの面積を大きくする疑似欠陥登録用
アルゴリズムデータを,一方検査時には欠陥形状を認識
しかつアルゴリズムに適合するポイントの面積を上記疑
似欠陥登録用アルゴリズムデータの適合ポイントの面積
よりも小さくする検査用アルゴリズムデータを,それぞ
れ検査アルゴリズム部に書き込むためのアルゴリズム設
定CPU部と,マスク作成時には上記疑似欠陥登録用ア
ルゴリズムデータに基づいて標準基板の2値画像を形状
認識して疑似欠陥データを出力し,一方検査時には上記
検査用アルゴリズムデータに基づいて被検査基板の2値
画像を形状認識して欠陥候補データを出力する検査アル
ゴリズム部と,該検査アルゴリズム部からの上記両適合
データをそれぞれマスク分解能単位に補正し,補正済み
欠陥形状適合データとして出力する適合データ補正部
と,上記マスク作成時における適合データ補正部からの
補正済み欠陥形状適合データをマスクデータとして記憶
させるためのマスクメモリー部と,検査時における適合
データ補正部からの補正済み欠陥形状適合データと上記
マスクメモリー部からのマスクデータとを照合するマス
ク照合部とより構成してある。
An inspection apparatus according to the present invention comprises: an imaging device for reading a wiring pattern on a printed wiring board; and a defect detection device for selecting whether or not the data is true defect data based on an image signal of the imaging device. And data compiling means for compiling the true defect data selected by the defect detecting means. Then, the defect detecting means includes a pattern to be extracted.
Algorithm is used to reduce the
In addition to developing on a spatial filter composed of units, it also recognizes the defect shape when creating a mask and increases the area of points that match the algorithm with pseudo defect registration algorithm data. An algorithm setting CPU unit for writing inspection algorithm data for reducing the area of the conforming point smaller than the area of the conforming point of the pseudo defect registration algorithm data to the inspection algorithm unit; Based on the algorithm data, the binary image of the standard board is shape-recognized and pseudo defect data is output. On the other hand, at the time of inspection, the binary image of the board to be inspected is shape-recognized based on the algorithm data for inspection to generate defect candidate data. An inspection algorithm section to be output; A matching data correction unit that corrects both the matching data from the inspection algorithm unit in units of mask resolution and outputs the corrected data as a corrected defect shape matching data; and a corrected defect shape matching data from the matching data correction unit when the mask is created. And a mask matching unit for comparing the corrected defect shape matching data from the matching data correcting unit during inspection with the mask data from the mask memory unit. .

【0011】本発明において,最も注目すべきことは,
欠陥検出手段として上記アルゴリズム設定CPU部,検
査アルゴリズム部,適合データ補正部,マスクメモリー
部及びマスク照合部を設けたことに加え,抽出すべきパ
ターンの特徴をアルゴリズムとしてマスク分解能より小
さな単位で構成した空間フィルター上に展開すると共
に,検査アルゴリズム部を構成している空間フィルター
のアルゴリズムデータを,疑似欠陥マスク作成用と検査
用とに分けたことにある。上記疑似欠陥登録用アルゴリ
ズムデータは,マスク作成時において,検査よりも広
域に検出すべき形状を認識できるよう,抽出すべきパタ
ーンの特徴を調整,すなわちその検出形状に対するアル
ゴリズムの適合ポイント(画像の画素単位)の面積を
大きくす検査アルゴリズム部に書き込むデータであ
る。
In the present invention, the most remarkable thing is
The algorithm set CPU unit as a defect detection device, the inspection algorithm unit, adapted data correction unit, in addition to providing the mask memory unit and the mask verification unit, Pas to be extracted
Turn features smaller than mask resolution as algorithm
When expanded on a spatial filter composed of small units,
In addition, the algorithm data of the spatial filter constituting the inspection algorithm section is divided into those for creating a pseudo defect mask and those for inspection. The above pseudo defect registration algorithm data is used to extract patterns to be able to recognize shapes to be detected in a wider area than at the time of inspection when creating a mask.
Adjusting the characteristics of over emissions, that is, data to be written to the inspection algorithm unit you increase the total area of the fit point (pixel images) of algorithm for the detection feature.

【0012】また,検査用アルゴリズムデータは,検査
時において,検出形状の認識不可のみに着目したルール
になっており,形状認識は行うが,その際のアルゴリズ
ム適合ポイントの面積を比較的小さくするために,検査
アルゴリズム部に書き込むデータである。そして,この
両データを疑似欠陥用マスク作成(疑似欠陥登録)時と
検査時とで使い分けることにより,最適な位置に最適な
大きさの疑似欠陥マスクを施すことができる。
The inspection algorithm data is based on a rule that focuses only on the inability to recognize a detected shape at the time of inspection. Shape recognition is performed, but the area of algorithm matching points at that time is made relatively small. Next, the data to be written to the inspection algorithm section. Then, by using these two data at the time of creating a pseudo defect mask (pseudo defect registration) and at the time of inspection, a pseudo defect mask having an optimal size can be applied to an optimal position.

【0013】即ち,検査アルゴリズム部で設定されるア
ルゴリズムに入力画像が適合した際の適合ポイント部の
中心位置が,後述のマスクセル1個の中の端部分に位置
した場合(マスクセルの寸法は画素よりも大きい),適
合ポイント部の大きさ次第では隣のマスクセルへも適合
ポイントが位置することになる。そして,後述の適合デ
ータ補正部の作用により,適合ポイントのかかっている
マスクセル位置に,マスクデータが発生し(後述の補正
済み疑似欠陥データと同意),マスクメモリに保存され
る。疑似欠陥登録時には,この現象を利用して,任意の
位置補正量に合わせて適合ポイントの面積を大きくする
アルゴリズムデータを,検査アルゴリズム部に設定す
る。こうすることで,最適な位置に最適な大きさの疑似
欠陥マスクが作成できる。
That is, when the center position of the conforming point when the input image conforms to the algorithm set by the inspection algorithm unit is located at the end of one mask cell described later (the size of the mask cell is smaller than the pixel). Is also large), depending on the size of the matching point portion, the matching point will be located on the adjacent mask cell. Then, the mask data is generated at the position of the mask cell where the matching point is applied by the operation of the matching data correction unit described later (same as the corrected pseudo defect data described later) and stored in the mask memory. At the time of registering a pseudo defect, algorithm data for increasing the area of a conforming point in accordance with an arbitrary position correction amount is set in the inspection algorithm unit using this phenomenon. This makes it possible to create a pseudo defect mask having an optimal size at an optimal position.

【0014】疑似欠陥データは,マスク作成のために,
上記疑似欠陥登録用アルゴリズムデータに基づいて,標
準基板の2値画像を形状認識して作成されたデータであ
る。即ち,疑似欠陥データは,標準基板の正常な配線パ
ターンを用いて検査し,本来正常な形状であるにも拘ら
ず,欠陥形状であるかのごとく,疑似欠陥形状として認
識される疑似データである。該疑似欠陥データは,適合
データ補正部において後述のごとく補正され,マスクデ
ータとしてマスクメモリー部に記録される。欠陥候補デ
ータは,上記検査用アルゴリズムデータに基づいて被検
査基板の2値画像を形状認識して作成されたデータであ
る。即ち,欠陥候補データは,被検査体であるプリント
配線基板の配線パターンを検査した際に,一応欠陥形状
であると検出された形状,即ち欠陥候補形状として認識
されたデータである。この欠陥候補データは,適合デー
タ補正部において後述のごとく補正され,マスクと照合
される。
The pseudo defect data is used to create a mask.
This is data created by recognizing the shape of a binary image of a standard substrate based on the above pseudo defect registration algorithm data. That is, the pseudo defect data is pseudo data that is inspected using a normal wiring pattern of a standard substrate and is recognized as a pseudo defect shape as if it were a defect shape, although it is originally a normal shape. . The pseudo-defect data is corrected as described later in the matching data correction unit, and is recorded in the mask memory unit as mask data. The defect candidate data is data created by recognizing the shape of a binary image of the substrate to be inspected based on the inspection algorithm data. That is, the defect candidate data is a shape that is temporarily detected as a defect shape when inspecting a wiring pattern of a printed wiring board that is an object to be inspected, that is, data that is recognized as a defect candidate shape. The defect candidate data is corrected in the matching data correction unit as described later, and is compared with the mask.

【0015】また,適合データ補正部は,上記疑似欠陥
データ及び欠陥候補データをそれぞれマスクの分解能単
位に補正し,前者の補正済み欠陥形状適合データはマス
クメモリー部に出力する。また,後者の補正済み欠陥形
状適合データは検査時においてマスク照合部へ出力す
る。また,上記マスクの分解能単位とは,マスクメモリ
ー部のメモリ1セルに保存するマスクの画像上の大きさ
をいう。
The conforming data correction unit corrects the pseudo defect data and the defect candidate data in units of mask resolution, and outputs the former corrected defect shape conforming data to the mask memory unit. Further, the latter corrected defect shape conformance data is output to the mask collating unit at the time of inspection. The resolution unit of the mask refers to the size of an image of the mask stored in one memory cell of the mask memory unit.

【0016】また,上記マスク照合部での照合は,上記
適合データ補正部で作成された疑似欠陥データの補正済
み欠陥形状適合データ即ち,マスクメモリー部から読み
出されるマスクデータと,上記欠陥候補データの補正済
み欠陥形状適合データとの間で行う。また,データ集計
手段は,欠陥検出手段において判断されたデータを集計
記録する手段である。また,撮像装置から出力される画
像信号は,一般にはアナログ信号であるため,A/D変
換器によりディジタル信号に変換し,2値画像とする。
The matching by the mask matching unit is performed by correcting the corrected defect shape matching data of the pseudo defect data created by the matching data correcting unit, ie, the mask data read from the mask memory unit and the defect candidate data. This is performed between the corrected defect shape matching data. The data tabulation unit is a unit that tabulates and records the data determined by the defect detection unit. In addition, since an image signal output from an imaging device is generally an analog signal, it is converted into a digital signal by an A / D converter to obtain a binary image.

【0017】[0017]

【作用及び効果】本発明の検査装置を用いて検査するに
当たっては,標準基板に基づくマスク作成時段階と,被
検査基板についての検査段階とがある。まず,マスク作
成時段階においては,アルゴリズム設定CPU部により
その専用ROM等から疑似欠陥登録用アルゴリズムデー
タを読み出して,これを検査アルゴリズム部に書き込
む。また,検査アルゴリズム部においては,標準基板の
2値画像を入力し,この入力画像の中から,上記のごと
く内部設定した疑似欠陥登録用アルゴリズムデータに適
合する欠陥形状を捜し出す(形状認識する)。そして,
疑似欠陥登録用アルゴリズムデータに適合したポイント
(適合ポイント)の有無の状態を信号化し,疑似欠陥デ
ータとして適合データ補正部へ出力する。
In the inspection using the inspection apparatus of the present invention, there are a stage when a mask is created based on a standard substrate and an inspection stage for a substrate to be inspected. First, at the stage of mask creation, the algorithm setting CPU reads algorithm data for registering a pseudo defect from its dedicated ROM or the like and writes it in the inspection algorithm. In the inspection algorithm unit, a binary image of the standard substrate is input, and a defect shape that matches the pseudo defect registration algorithm data set internally as described above is searched from the input image (shape recognition). And
The presence / absence of a point (adapted point) that matches the pseudo-defect registration algorithm data is converted into a signal, and is output as pseudo-defect data to the appropriate data correction unit.

【0018】適合データ補正部においては,上記疑似欠
陥データをマスクの分解能単位に補正し,補正済み欠陥
形状適合データとして出力する。この補正済み欠陥形状
適合データは,マスクデータとしてマスクメモリー部に
記憶される。一方,検査段階においては,アルゴリズム
設定CPU部により,その専用ROM等から検査用アル
ゴリズムデータを読み出してこれを検査アルゴリズム部
に書き込む。また,検査アルゴリズム部においては,被
検査基板の2値画像を入力し,この入力画像の中から上
記のごとく内部設定した検査用アルゴリズムデータに適
合する欠陥形状を捜し出す(形状認識する)。
The adaptive data correction unit corrects the pseudo defect data in units of the resolution of the mask, and outputs the corrected data as the corrected defect shape compatible data. The corrected defect shape conformance data is stored in the mask memory unit as mask data. On the other hand, in the inspection stage, the algorithm setting CPU reads out the inspection algorithm data from its dedicated ROM or the like and writes it into the inspection algorithm. In the inspection algorithm section, a binary image of the substrate to be inspected is input, and a defect shape that matches the internally set inspection algorithm data as described above is searched from the input image (shape recognition).

【0019】そして,検査用アルゴリズムデータに適合
したポイント(適合ポイント)の有無の状態を信号化
し,欠陥候補データとして適合データ補正部へ出力す
る。適合データ補正部においては,上記欠陥候補データ
をマスクの分解能単位に補正し,補正済み欠陥形状適合
データとしてマスク照合部へ出力する。マスク照合部に
おいては,上記欠陥候補データの補正済み欠陥形状適合
データを入力すると共に,マスクメモリー部中の上記マ
スクデータを読み出し,両者を照合する。ここで,欠陥
候補データの補正済み欠陥形状適合データがマスクデー
タの中に入っていないときには,該欠陥候補データは真
の欠陥データと判断され,データ集計部に送信される。
欠陥候補データがマスクの中にあるときには,真の欠陥
データではないと判断される。
Then, the state of the presence or absence of a point (conforming point) conforming to the inspection algorithm data is signalized and output to the conforming data correcting section as defect candidate data. The conforming data correction unit corrects the defect candidate data in units of the resolution of the mask and outputs the corrected data as corrected defect shape conforming data to the mask matching unit. The mask collation unit inputs the corrected defect shape conformance data of the defect candidate data, reads the mask data in the mask memory unit, and collates the two. Here, when the corrected defect shape conformance data of the defect candidate data is not included in the mask data, the defect candidate data is determined to be true defect data and transmitted to the data totaling unit.
If the defect candidate data is in the mask, it is determined that the data is not true defect data.

【0020】本発明で大きな作用をもたらす手段として
は,上記のごとくマスク作成時における疑似欠陥データ
の認識用アルゴリズム(空間フィルターのルール)を,
検査用のそれとは別に設定している点があげられる。そ
れ故,従来のごとく拡大マスクを施さなくとも最適な位
置に最適の大きさのマスクを登録できる。
As means for providing a great effect in the present invention, as described above, an algorithm for recognizing pseudo defect data at the time of mask creation (the rule of the spatial filter) is used.
The point is that it is set separately from that for inspection. Therefore, a mask having an optimum size can be registered at an optimum position without applying an enlargement mask as in the related art.

【0021】即ち,本発明では,疑似欠陥登録用アルゴ
リズムデータの適合ポイントの総面積を検査用アルゴリ
ズムデータよりも大きくなるようにルール設定してい
る。そのため,マスクセル境界近傍に適合ポイントの中
心が位置した時に,隣のマスクにまで適合ポイントがさ
しかかることになり,ワークの位置決め精度のバラつき
を吸収できる程度の最適寸法のマスクデータが作成でき
る。一方,前記従来の拡大マスク法は,疑似欠陥データ
のセルに隣接する8個のセル(合計9個のセル)にまで
マスク範囲を拡大している(図3C〜E,図18,図1
9参照)。そのため,真の欠陥データがあっても,マス
クセル数が大きいためにそれがマスクされ,真の欠陥デ
ータを見逃すことがあった。
That is, in the present invention, rules are set so that the total area of the conforming points of the pseudo defect registration algorithm data is larger than that of the inspection algorithm data. Therefore, when the center of the conforming point is located near the boundary of the mask cell, the conforming point comes to the next mask, and mask data having an optimal size enough to absorb variations in the positioning accuracy of the work can be created. On the other hand, in the conventional enlarged mask method, the mask range is extended to eight cells (a total of nine cells) adjacent to the cell of the pseudo defect data (FIGS. 3C to 3E, FIG. 18, FIG. 1).
9). Therefore, even if there is true defect data, it is masked due to the large number of mask cells, and the true defect data may be missed.

【0022】それ故,本発明においては,最適な方向の
みに最小のマスク拡大が成されている為,上記従来のご
とく真の欠陥データを見逃すことがない。また,疑似欠
陥形状を誤検出することがない為,前記従来のごとく基
板の位置ズレ補正装置も必要ない。したがって,本発明
によれば,真の欠陥データを見逃すことがなく,正確な
検査ができ,また基板の位置ズレ補正装置を必要としな
い,プリント配線基板の検査装置を提供することができ
る。
Therefore, in the present invention, since the minimum mask enlargement is performed only in the optimum direction, the true defect data is not missed as in the above-described conventional case. Further, since the false defect shape is not erroneously detected, there is no need for a device for correcting the positional deviation of the substrate as in the conventional case. Therefore, according to the present invention, it is possible to provide an inspection apparatus for a printed wiring board which can perform an accurate inspection without overlooking true defect data and does not require a board position shift correcting apparatus.

【0023】[0023]

【実施例】【Example】

実施例1 本発明の実施例にかかる,プリント配線基板の検査装置
につき,図1〜図3を用いて説明する。本例の検査装置
は,図1に示すごとく,プリント配線基板10上の配線
パターン11を読取るCCDカメラよりなる撮像装置2
1と,該撮像装置21のアナログ信号をディジタル信号
に変換するA/D変換器22と,欠陥検出手段23と,
データ集計用マスターCPU部24と,端末25とより
なる。
First Embodiment A printed wiring board inspection apparatus according to an embodiment of the present invention will be described with reference to FIGS. As shown in FIG. 1, the inspection apparatus according to the present embodiment includes an imaging device 2 including a CCD camera for reading a wiring pattern 11 on a printed wiring board 10.
1, an A / D converter 22 for converting an analog signal of the imaging device 21 into a digital signal, a defect detection unit 23,
It comprises a data totaling master CPU unit 24 and a terminal 25.

【0024】また,欠陥検出手段23は,検査アルゴリ
ズム部3と,適合データ補正部33と,マスク照合部3
4と,欠陥データメモリー部35とよりなると共に,ア
ルゴリズム設定CPU部37,マスクメモリー部38よ
りなる。また,アルゴリズム設定CPU部37は疑似欠
陥登録用アルゴリズムデータ保存ROM371,及び検
査用アルゴリズムデータ保存ROM372を有する。ま
た,上記欠陥検出手段23は,断線検出用であり,同図
に示すごとく,この他に,ショート検出用の欠陥検出手
段301,欠け検出用の欠陥検出手段302などの欠陥
検出手段を有する。
The defect detecting means 23 includes an inspection algorithm unit 3, a conforming data correction unit 33, and a mask collation unit 3.
4 and a defect data memory unit 35, an algorithm setting CPU unit 37, and a mask memory unit 38. The algorithm setting CPU unit 37 has a pseudo defect registration algorithm data storage ROM 371 and an inspection algorithm data storage ROM 372. Further, the defect detecting means 23 is for detecting a disconnection, and as shown in the figure, further includes defect detecting means such as a defect detecting means 301 for detecting a short circuit and a defect detecting means 302 for detecting a chip.

【0025】上記装置により検査するに当たっては,ま
ず標準基板に基づきマスクデータを作成する。このマス
ク作成時段階においては,まずアルゴリズム設定CPU
部37により,疑似欠陥登録用アルゴリズムデータを,
その専用ROM371より読み出して,これを検査アル
ゴリズム部3の空間フィルターに書き込む。また,検査
アルゴリズム部3においては,標準基板の2値画像を,
撮像装置21,A/D変換器22より入力し,この入力
画像の中から,上記のごとく書き込んだ疑似欠陥登録用
アルゴリズムデータに適合する欠陥形状を形状認識す
る。そして,疑似欠陥登録用アルゴリズムデータに適合
した適合ポイントの有無の状態を信号化し,疑似欠陥デ
ータとして適合データ補正部33へ出力する。
In the inspection by the above apparatus, first, mask data is created based on a standard substrate. In this mask creation stage, first, the algorithm setting CPU
By the unit 37, the pseudo defect registration algorithm data is
The data is read from the dedicated ROM 371 and written in the spatial filter of the inspection algorithm unit 3. In the inspection algorithm unit 3, the binary image of the standard board is
A defect shape that is input from the imaging device 21 and the A / D converter 22 and that matches the pseudo defect registration algorithm data written as described above is recognized from the input image. Then, a signal indicating whether or not there is a matching point that matches the pseudo defect registration algorithm data is signalized and output to the matching data correction unit 33 as pseudo defect data.

【0026】適合データ補正部33においては,上記疑
似欠陥データをマスクの分解能単位に補正し,補正済み
欠陥形状適合データとして出力する。この補正済み欠陥
形状適合データは,マスクデータとしてマスクメモリー
部38に記憶される。次に,検査段階に入る。この場合
には,アルゴリズム設定CPU部37により,検査用ア
ルゴリズムデータを,その専用ROM372より読み出
して,これを検査アルゴリズム部3の空間フィルターに
書き込む。
The adaptive data correction unit 33 corrects the pseudo defect data in units of the resolution of the mask, and outputs the corrected data as corrected defect shape appropriate data. The corrected defect shape conformance data is stored in the mask memory unit 38 as mask data. Next, it enters the inspection stage. In this case, the algorithm setting CPU unit 37 reads the inspection algorithm data from the dedicated ROM 372 and writes the read algorithm data into the spatial filter of the inspection algorithm unit 3.

【0027】また,検査アルゴリズム部3においては,
被検査基板の2値画像を入力し,この入力画像の中から
上記のごとく内部設定した検査用アルゴリズムデータに
適合する欠陥形状を形状認識する。そして,検査用アル
ゴリズムデータに適合した適合ポイントの有無の状態を
信号化し,欠陥候補データとして適合データ補正部33
へ出力する。適合データ補正部33においては,上記欠
陥候補データをマスクの分解能単位に補正し,補正済み
欠陥形状適合データとしてマスク照合部へ出力34す
る。マスク照合部においては,上記欠陥候補データの補
正済み欠陥形状適合データを入力すると共に,マスクメ
モリー部中の上記マスクデータを読み出し,両者を照合
する。
In the inspection algorithm unit 3,
A binary image of the substrate to be inspected is input, and a defect shape conforming to the inspection algorithm data set internally as described above is recognized from the input image. Then, the state of the presence / absence of a conforming point that conforms to the inspection algorithm data is signalized, and the conforming data correcting unit 33 is used as defect candidate data.
Output to The matching data correction unit 33 corrects the defect candidate data in units of the resolution of the mask and outputs the corrected defect shape matching data to the mask matching unit as corrected defect shape matching data. The mask collation unit inputs the corrected defect shape conformance data of the defect candidate data, reads the mask data in the mask memory unit, and collates the two.

【0028】ここで欠陥候補データの補正済み欠陥形状
適合データがマスクデータの中に入っていないときに
は,欠陥候補データは真の欠陥データと判断され,欠陥
データメモリー部35に入る。そして,更にデータ集計
用マスターCPU部24に送られ,端末25に表示され
る。一方,欠陥候補データがマスクの中に入っていると
きには,欠陥候補データは真の欠陥データではないと判
断される。
If the corrected defect shape conformance data of the defect candidate data is not included in the mask data, the defect candidate data is determined to be true defect data and enters the defect data memory unit 35. The data is further sent to the data totaling master CPU 24 and displayed on the terminal 25. On the other hand, when the defect candidate data is in the mask, it is determined that the defect candidate data is not true defect data.

【0029】次に,検査アルゴリズム部3及び適合デー
タ補正部33のデータ処理の概要につき,2次元の図に
より模擬的に,図2を用いて説明する。まず,検査アル
ゴリズム部3に,検査用アルゴリズムデータを設定した
場合(検査時)につき図2(A)(B)を用いて述べ
る。そして,図2の(A)に,縦方向の断線形状の2値
画像(1と0で表現。1の部分が配線パターン,0の部
分は基材部分)を示す。また,上記の断線形状を検査ア
ルゴリズム部3において認識する。
Next, the outline of the data processing of the inspection algorithm unit 3 and the adaptation data correction unit 33 will be described with reference to FIG. First, the case where inspection algorithm data is set in the inspection algorithm unit 3 (at the time of inspection) will be described with reference to FIGS. FIG. 2A shows a binary image of a vertical disconnection shape (represented by 1 and 0. 1 is a wiring pattern, and 0 is a base material). In addition, the above-described disconnection shape is recognized by the inspection algorithm unit 3.

【0030】図2(A)において,破線は,参考まで
に,マスク座標上のマスクの絶対位置に示したものであ
り,マスクセル41〜44が示されている。このマスク
セル41〜44の大きさは,2値画像の基本画素の10
倍に設定してある。次に,図2(A)に示す黒丸は,検
査アルゴリズム部において,断線形状の検査用アルゴリ
ズムデータのルールが適合した適合ポイントであり,そ
の群れを適合ポイント群4と呼ぶこととする。この適合
ポイントは,2値画像の基本画素単位の大きさである。
そして,この適合ポイントの有無が,形状認識の有無を
示している。
In FIG. 2A, the dashed line shows the absolute position of the mask on the mask coordinates for reference, and shows mask cells 41 to 44. The size of the mask cells 41 to 44 is 10 pixels of the basic pixel of the binary image.
It is set to double. Next, the black circles shown in FIG. 2A are conforming points to which the rule of the inspection algorithm data of the disconnection shape conforms in the inspection algorithm section, and the group is referred to as a conforming point group 4. This matching point is the size of a basic image unit of the binary image.
The presence or absence of the matching point indicates the presence or absence of shape recognition.

【0031】ここで,上記適合ポイント群4に着目する
と,群を成した複数の適合ポイントが見られるが,これ
は検査用アルゴリズムデータのルールを2値画像に対し
て1画素づつ,上下左右にずらしながら適合具合を見て
いくと,複数の適合ポイントが派生するためである。検
査アルゴリズム部3においては,この適合ポイントの有
無の状態,即ち適合ポイント群4の群れ具合を,欠陥候
補データとして出力する。
Here, when focusing on the above-mentioned matching point group 4, a plurality of matching points forming a group can be seen. This is because a plurality of conformity points are derived when looking at the conformity while shifting. The inspection algorithm unit 3 outputs the state of the presence or absence of the conforming point, that is, the condition of the conforming point group 4 as defect candidate data.

【0032】次に,適合データ補正部33においては,
欠陥候補データがマスクセル単位に補正される。この様
子を図2の(B)に示す。ここで,(便宜上,欠陥候補
データを適合ポイントの形で説明すると,セル41の中
には,上記図2(A)で示した適合ポイント4の全てが
入り込んでいる。そこで,セル41が「1」となる(斜
線で示した部分)。一方,セル42〜44には適合ポイ
ント4が入っていないので,その情報は「0」である。
このようにして得られた情報が,欠陥候補データの補正
済み欠陥形状適合データであり,マスク照合部へ送られ
る。
Next, in the adaptation data correction unit 33,
The defect candidate data is corrected for each mask cell. This state is shown in FIG. Here, for the sake of convenience, if the defect candidate data is described in the form of a conforming point, all the conforming points 4 shown in FIG. (Portion indicated by oblique lines) On the other hand, since the matching points 4 are not included in the cells 42 to 44, the information is “0”.
The information thus obtained is the corrected defect shape conformance data of the defect candidate data, and is sent to the mask matching unit.

【0033】次に,検査アルゴリズム部3に,疑似欠陥
登録用アルゴリズムデータを設定した場合(マスク作成
時)につき,図2の(C),(D)により述べる。即
ち,例えば後述する図9,図10に示される手法を利用
した疑似欠陥登録用アルゴリズムデータを,検査アルゴ
リズム部3に設定した場合には,図2(C)に示す様な
適合ポイント群40が得られる。この適合ポイント群4
0は,上記図2(A)の適合ポイント群4に比して,適
合ポイントの数が多くなっている。そのため,セル4
2,43,44にも適合ポイントが位置している。そし
て,これらの適合ポイントは,疑似欠陥登録用アルゴリ
ズムデータに基づく疑似欠陥データである。
Next, a case where the pseudo-defect registration algorithm data is set in the inspection algorithm unit 3 (when a mask is created) will be described with reference to FIGS. 2C and 2D. That is, for example, when the pseudo-defect registration algorithm data using the method shown in FIGS. 9 and 10 described later is set in the inspection algorithm unit 3, the matching point group 40 as shown in FIG. can get. This matching point group 4
0 indicates that the number of matching points is larger than that of the matching point group 4 in FIG. Therefore, cell 4
2, 43 and 44 also have matching points. These conforming points are pseudo defect data based on the pseudo defect registration algorithm data.

【0034】そこで,適合データ補正部においては,該
疑似欠陥データがマスクセル単位に補正される。この様
子を図2の(D)に示す。そして,この(D)において
は,適合ポイント群40が4つのセル41〜44の中に
入っている。そのため,セル41〜44の情報が全て
「0→1」となる。それ故,この情報をマスクメモリー
部38に登録することにより,適切な大きさのマスクが
得られる。
Therefore, the adaptive data correction section corrects the pseudo defect data on a mask cell basis. This state is shown in FIG. In this (D), the matching point group 40 is included in the four cells 41 to 44. Therefore, the information of all the cells 41 to 44 becomes “0 → 1”. Therefore, by registering this information in the mask memory unit 38, a mask of an appropriate size can be obtained.

【0035】そして,検査時には,上記図2(A)に示
した検査データと,同図(D)に示したマスクデータと
が比較される。このとき,検査データ(図2(B)のセ
ル41)に,検査基板の若干の位置ずれに基づく位置ず
れがあったとしても,該データはマスクデータ(図2
(D)のセル41〜44)の中に入っている。そのた
め,真の欠陥データと判断されず,誤報を生じない。こ
の点につき,今少し追記すれば,図2において注目すべ
きことは,検査時(図2A,B)のセル41中の適合ポ
イント群4の位置である。この適合ポイント群4は,セ
ル41の右上に片寄っており,セル42,43,44に
近い位置にある。
At the time of inspection, the inspection data shown in FIG. 2A is compared with the mask data shown in FIG. At this time, even if the inspection data (cell 41 in FIG. 2B) has a positional deviation based on a slight positional deviation of the inspection substrate, the data is mask data (FIG. 2B).
(D) cells 41 to 44). Therefore, it is not determined as true defect data, and no false information is generated. If this point is added a little, what should be noted in FIG. 2 is the position of the matching point group 4 in the cell 41 at the time of inspection (FIGS. 2A and 2B). The matching point group 4 is shifted to the upper right of the cell 41 and is located at a position close to the cells 42, 43, and 44.

【0036】もし,仮に,検査時において,被検査基板
の位置決め誤差や,エッチングムラ等によって,真の欠
陥データでないにも拘わらず,適合ポイント群4がセル
42〜44にも入ることがある。このとき,マスクがセ
ル41のみの領域であった場合には,真の欠陥データで
あるとして,誤報が出てしまう。しかし,本例において
は上記のごとく,検査アルゴリズム部における形状認識
アルゴリズムを疑似欠陥登録用アルゴリズムデータと検
査用アルゴリズムデータとに分離し,疑似欠陥登録用ア
ルゴリズムデータにおける適合ポイント群40を検査時
の適合ポイント4よりも拡大して,マスクデータを作成
している。そのため,マスクセルは最大4倍必要とする
のみである。一方,従来の拡大マスク法は,9倍のマス
クセルを必要とする。
If there is no true defect data due to a positioning error of the substrate to be inspected or etching unevenness during the inspection, the conformable point group 4 may enter the cells 42 to 44. At this time, if the mask is an area of only the cell 41, a false report is issued as true defect data. However, in the present embodiment, as described above, the shape recognition algorithm in the inspection algorithm section is separated into the pseudo-defect registration algorithm data and the inspection algorithm data, and the matching point group 40 in the pseudo-defect registration algorithm data is matched at the time of inspection. Mask data is created by enlarging from point 4. Therefore, only four times as many mask cells are required. On the other hand, the conventional enlarged mask method requires nine times as many mask cells.

【0037】更に,上記に関して,図3を用いて,従来
との比較をしながら説明する。図3の(A),(B)は
本発明を,(C)〜(E)は従来の前記拡大マスク法を
示している。これらは,同図に示したパターン90(図
15参照)における,断線疑似欠陥形状のオープンエン
ド910に関して示している。また,図3の(A)と
(C)とは,アルゴリズムの適合ポイントとマスクメモ
リ座標との重ね合わせ図を示し,(B)と(D),
(E)はマスクメモリ内部のマスクの状態を示してい
る。まず,本発明に関しては図3の(A),(B)に示
すごとく,疑似欠陥データの適合ポイント401はセル
41〜44の部分にある。なお,符号405はパターン
の断片部91である。
Further, the above will be described with reference to FIG. 3A and 3B show the present invention, and FIGS. 3C to 3E show the conventional enlarged mask method. These show the open end 910 of the disconnection pseudo defect shape in the pattern 90 (see FIG. 15) shown in FIG. 3 (A) and 3 (C) show a superposition diagram of the matching points of the algorithm and the mask memory coordinates, and FIG. 3 (B), (D),
(E) shows the state of the mask inside the mask memory. First, according to the present invention, as shown in FIGS. 3A and 3B, the matching point 401 of the pseudo defect data is located in the cells 41 to 44. Note that reference numeral 405 is a fragment portion 91 of the pattern.

【0038】そこで,上記図2に示したごとく,適合デ
ータ補正部により補正を行うと,適合ポイントがセル4
1〜44にあるため,図3(B)に示すごとく,4つの
マスクセル41〜44にマスクが登録される。一方,従
来の拡大マスク法においては,図3(C)〜(E)に示
すごとく,まず通常のアルゴリズムでの適合ポイント4
02は上記図3(A)と異なり,1マスクセル内におさ
まっている。そして,図3(D)に示すごとく,マスク
メモリに登録したときにも,登録マスクセル41のまま
である。そこで,マスク照合部で照合するに先立って,
セル41に隣接する全てのセル42〜49に,マスクを
拡大する。これにより,マスクセルは当初の9倍の大き
さになる。
Therefore, as shown in FIG. 2, when the correction is performed by the relevant data correction unit, the relevant point is
3B, masks are registered in the four mask cells 41 to 44, as shown in FIG. On the other hand, in the conventional enlarged mask method, as shown in FIGS.
02 is different from the above-mentioned FIG. 3A and is contained in one mask cell. Then, as shown in FIG. 3D, the registered mask cell 41 remains as it is when registered in the mask memory. Therefore, before matching in the mask matching unit,
The mask is enlarged to all the cells 42 to 49 adjacent to the cell 41. As a result, the size of the mask cell becomes nine times as large as the initial size.

【0039】上記より知られるごとく,従来の拡大マス
ク法では,疑似欠陥データに基づくマスク拡大が9倍と
なる。そのため,前記のごとく,真の欠陥データを見逃
す可能性が出てくる。一方,本発明では,適合ポイント
の面積を拡大して,その適合ポイントが位置する4個の
セル41〜44のみをマスクセルとしている。そのた
め,基板の位置ズレに対応する最小限に拡大したマスク
を作成でき,真の欠陥データを見逃すことが殆どない。
それ故,正確な検査ができ,また前記従来のごとく,基
板の位置ズレ補正装置も必要としない。
As is known from the above, in the conventional enlarged mask method, the mask enlargement based on the pseudo defect data is 9 times. Therefore, as described above, there is a possibility that the true defect data is missed. On the other hand, in the present invention, the area of the conforming point is enlarged, and only the four cells 41 to 44 where the conforming point is located are used as mask cells. Therefore, it is possible to create a mask enlarged to a minimum corresponding to the displacement of the substrate, and it is almost impossible to miss true defect data.
Therefore, accurate inspection can be performed, and a device for correcting the positional deviation of the substrate is not required unlike the above-mentioned conventional device.

【0040】また,上例では,図3(A)に示したごと
く,疑似欠陥データの適合ポイント401の中心が,セ
ル41の右上部分にあるため,適合ポイントが4つのマ
スクセルにマスク登録される。しかし,疑似欠陥データ
の適合ポイント401の中心が,セル41の右中央部付
近にあるときには,適合ポイントが41と44との2つ
のマスクセルに渡るのみである為,マスク登録されるマ
スクセルは2個(セル41と44)になるのみである。
In the above example, as shown in FIG. 3A, since the center of the matching point 401 of the pseudo defect data is located at the upper right portion of the cell 41, the matching point is registered as a mask in four mask cells. . However, when the center of the conforming point 401 of the pseudo defect data is near the right center of the cell 41, the conforming point only extends to two mask cells 41 and 44. (Cells 41 and 44).

【0041】実施例2 次に,実施例1に示した装置における信号処理につき,
図4〜図8のフローチャートを用いて説明する。まず,
図4は,疑似欠陥データの登録工程,即ちマスクデータ
作成工程を示している。同図において,ステップ(以下
省略)501においては,標準基板に疑似欠陥形状があ
るか否か判断され,それがないときには,図5の508
以下へ進む。一方,疑似欠陥形状があるときには,50
2に進み,データ集計用マスターCPU部24より,ア
ルゴリズム設定CPU部37に,疑似欠陥形状登録用ア
ルゴリズムの設定指令が出される。
Embodiment 2 Next, signal processing in the apparatus shown in Embodiment 1 will be described.
This will be described with reference to the flowcharts of FIGS. First,
FIG. 4 shows a process of registering pseudo defect data, that is, a process of creating mask data. In this figure, in step (hereinafter abbreviated) 501, it is determined whether or not there is a pseudo-defect shape on the standard substrate.
Proceed to the following. On the other hand, when there is a pseudo defect shape, 50
In step 2, the data totaling master CPU 24 issues a pseudo defect shape registration algorithm setting command to the algorithm setting CPU 37.

【0042】次に,503において,アルゴリズム設定
CPU部37が,検査アルゴリズム部3内の空間フィル
ターのルールを,疑似欠陥形状登録用のものに設定す
る。次に,504において良品の標準基板を検査ケーブ
ル上に固定し,505においてこれを撮像装置21(一
次元CCDカメラ)にて撮像し,A/D変換器22にて
2値のディジタル画像信号を得る。次に,506におい
て,検査アルゴリズム部3により,上記2値画像中の疑
似欠陥形状を認識し,疑似欠陥データを発生させる。次
いで,507において,適合データ補正部33により,
マスク登録するための適合データのタイミングを補正
し,マスクメモリー部38に上記適合データの有無を登
録する。この様にして,マスクメモリー部38にマスク
データの登録が成される。
Next, at 503, the algorithm setting CPU 37 sets the rules of the spatial filter in the inspection algorithm 3 to those for registering the pseudo defect shape. Next, in step 504, a non-defective standard board is fixed on the inspection cable. In step 505, this is imaged by the imaging device 21 (one-dimensional CCD camera). obtain. Next, at 506, the inspection algorithm unit 3 recognizes a pseudo defect shape in the binary image and generates pseudo defect data. Next, at 507, the matching data correction unit 33
The timing of the matching data for registering the mask is corrected, and the presence or absence of the matching data is registered in the mask memory unit 38. In this way, the registration of the mask data in the mask memory unit 38 is performed.

【0043】次に,図5に示すごとく,検査工程に入
る。即ち,上記507における登録後,508におい
て,マスターCPU部24より,アルゴリズム設定CP
U部37に,検査用アルゴリズムの設定指令が出る。そ
して509において,アルゴリズム設定CPU部が検査
アルゴリズム3内の空間フィルターのルールを検査用に
設定する。次に,510において,被検査基板を検査テ
ーブル上に固定し,511で被検査基板を上記一次元C
CDカメラで撮像し,A/D変換器にて2値のディジタ
ル画像信号を得る。次に,512において,検査アルゴ
リズム部3により,2値画像中の欠陥候補形状を認識
し,欠陥候補データを発生させる。
Next, as shown in FIG. 5, an inspection process is started. That is, after the registration at 507, at 508, the algorithm setting CP is sent from the master CPU unit 24.
A command to set the inspection algorithm is issued to the U section 37. Then, in 509, the algorithm setting CPU unit sets the rule of the spatial filter in the inspection algorithm 3 for inspection. Next, at 510, the substrate to be inspected is fixed on the inspection table, and at 511, the substrate to be inspected is
An image is taken by a CD camera, and a binary digital image signal is obtained by an A / D converter. Next, at step 512, the inspection algorithm unit 3 recognizes a defect candidate shape in the binary image and generates defect candidate data.

【0044】次に図6の513以下に進み,適合データ
補正部33により,上記欠陥候補データのタイミングを
マスクデータと照合できる形に補正する。そして,51
4に進み,マスクメモリー部からマスクデータが読み出
され,マスク照合部34において,上記欠陥候補データ
とマスクデータとが照合される。次に,515におい
て,上記照合の結果,真の欠陥データとされたデータを
欠陥データメモリー部35に記録する。そして,516
にて欠陥データメモリー部中のデータを,マスターCP
U部24により読み出し,集計を行い,その結果を端末
25に表示する。
Next, proceeding to 513 and below in FIG. 6, the matching data correction unit 33 corrects the timing of the defect candidate data so that it can be compared with the mask data. And 51
In step 4, the mask data is read from the mask memory section, and the mask collation section 34 collates the defect candidate data with the mask data. Next, in step 515, the data determined as the true defect data as a result of the above-described comparison is recorded in the defect data memory unit 35. And 516
The data in the defective data memory section is transferred to the master CP
The data is read out and counted by the U unit 24, and the result is displayed on the terminal 25.

【0045】そして,517において,検査が終了した
か否かを判断し,終了しておれば検査を終わる。また,
続行するときには,再び510に戻る。次に,図7及び
図8により,アルゴリズム設定CPU部37が,検査ア
ルゴリズム部3のデータを設定するフローにつき説明す
る。まず,図7の521において,マスターCPU部2
4より,設定すべきアルゴリズムデータの番号を受信す
る。この設定すべきアルゴリズムのデータ番号より,設
定アルゴリズムが検査用かマスク登録用かが判別できて
いる。例えば,1〜10が検査用のデータROMからの
読み込み,11〜20が疑似欠陥登録用データROMか
らの読み込みといった具合である。
Then, at 517, it is determined whether or not the inspection has been completed. If the inspection has been completed, the inspection is terminated. Also,
To continue, return to 510 again. Next, a flow in which the algorithm setting CPU unit 37 sets data of the inspection algorithm unit 3 will be described with reference to FIGS. First, at 521 in FIG.
4, the number of the algorithm data to be set is received. From the data number of the algorithm to be set, it can be determined whether the setting algorithm is for inspection or for mask registration. For example, 1 to 10 are read from the inspection data ROM, and 11 to 20 are read from the pseudo defect registration data ROM.

【0046】次に,522でモード切り変え信号を設定
(H)側にする。これにより,検査アルゴリズム部3内
のRAMのアドレス・バスと,データ・バスが,設定C
PU部37と直結する。本例における検査アルゴリズム
部3を構成する空間フィルターは,後述の図11,図1
2に示す様に,RAMを用いており,アドレスバスに画
像信号を入力すると空間フィルターとして働き,データ
バスにフィルターのアルゴリズムに応じた結果が出力さ
れる仕組みになっている。
Next, at 522, the mode switching signal is set to the setting (H) side. Thereby, the address bus and the data bus of the RAM in the inspection algorithm section 3 are set to the setting C
Directly connected to the PU unit 37. The spatial filter constituting the inspection algorithm unit 3 in this example is described in FIGS.
As shown in FIG. 2, a RAM is used. When an image signal is input to an address bus, it works as a spatial filter, and a result according to a filter algorithm is output to a data bus.

【0047】このアドレスバスとデータバスが,上記モ
ード切り変え信号によって,設定CPU部37と直結
し,RAMに任意のデータが書きこめるのである。次
に,523において,アルゴリズム設定CPU部上のデ
ータROMより,指定番号のパターン・データを必要数
分読み出す。なお,ここでは,後述する図11の検査ア
ルゴリズム部に示すように,1度に8種の空間フィルタ
ーが実現されるので,8種類分のパターンデータが読み
出される(第0ビット用〜第7ビット用まで)。
The address bus and the data bus are directly connected to the setting CPU 37 by the mode switching signal, and arbitrary data can be written to the RAM. Next, in 523, the required number of pattern data of the designated number is read from the data ROM on the algorithm setting CPU unit. Here, as shown in the inspection algorithm section of FIG. 11, which will be described later, eight types of spatial filters are realized at a time, so that eight types of pattern data are read (for the 0th bit to the 7th bit). Up to).

【0048】また,上記パターンデータは,各ビットが
‘1’,‘0’,そしてどちらでも良いことを示す必要
性から,図11の様な3×3の空間フィルターの場合,
3×3=9ビットだけではなく,9ビット×2=18ビ
ット分/種類必要である。例えば,ビットが1のデータ
は〔001010100〕B,ビットが0のデータは
〔010101010〕Bとすると,表現したいデータ
は〔Z0101010Z〕(Zはどちらでも良いの意
味)である。
In the case of a 3 × 3 spatial filter as shown in FIG. 11, the above pattern data needs to indicate that each bit is “1”, “0”, and either one is acceptable.
Not only 3 × 3 = 9 bits, but 9 bits × 2 = 18 bits / type are required. For example, assuming that data with a bit of 1 is [001010100] B and data with a bit of 0 is [010101010] B, the data to be expressed is [Z0101010Z] (Z means either may be used).

【0049】次に,524において,アドレス・パター
ンの初期化
Next, at 524, the address pattern is initialized.

〔000000000〕Bを行う。そして5
25において,ビット指定変数X←0,データ変数A←
0とし,526において,アドレスパターンがXビット
用パターンデータと一致するまで判断が行われる。そし
て,一致したときには,527においてデータAの第X
ビットを立てる(1にする)。そして,528において
ビット指定Xを1つ加え,529において,X=8であ
るか否か判定する。そして,Xが8でないときには,上
記526に戻る。
[000000000] B is performed. And 5
25, the bit designation variable X ← 0, the data variable A ←
It is set to 0, and at 526, the determination is made until the address pattern matches the X-bit pattern data. Then, when they match, at 527 the X-th data
Set a bit (set to 1). Then, at 528, one bit designation X is added, and at 529, it is determined whether or not X = 8. If X is not 8, the process returns to step 526.

【0050】また,Xが8のときには,図8の530に
進み,検査アルゴリズム部のRAMのアドレスパターン
で示されるメモリセルに,データAの内容を書き込む。
次に,531にてアドレスパターンを1つ進め,532
において,アドレスパターンが〔100000000
0〕であるか否か判断され,NOの場合は,図7に示し
た525に戻る。YESの場合には,533において,
モード切換え信号を‘検査(L)’側にする。これによ
り,SRAMのアドレス線に画像データが入力され,デ
ータ線からパターンマッチング出力が出される。次に,
534において,マスターCPU部にデータ設定の終了
を知らせ,処理を終了する。
When X is 8, the process proceeds to 530 in FIG. 8, and the contents of the data A are written in the memory cell indicated by the address pattern of the RAM in the inspection algorithm section.
Next, the address pattern is advanced by one at 531 and 532
The address pattern is [10000000
0], and in the case of NO, the process returns to 525 shown in FIG. If yes, at 533
The mode switching signal is set to the "test (L)" side. As a result, image data is input to the address lines of the SRAM, and a pattern matching output is output from the data lines. next,
At 534, the master CPU is notified of the end of the data setting, and the processing is terminated.

【0051】実施例3 本例は,実施例1に示した検査アルゴリズム部3に設定
可能な,検査専用のアルゴリズムと,疑似欠陥登録専用
のアルゴリズムとの違いを示すものである。そして,両
者に違いを設ける手法としては,基本的には,限定条件
に違いをつける第1方法(図9)と,複数空間フィルタ
ー上に位置をズラしてルールを描く第2方法(図10)
の2種がある。なお,本例はショート欠陥の判定につき
示している。
Embodiment 3 This embodiment shows the difference between the inspection-only algorithm and the pseudo-defect registration-only algorithm that can be set in the inspection algorithm unit 3 shown in the first embodiment. As a method of providing a difference between the two, basically, a first method (FIG. 9) for providing a difference in a limiting condition and a second method for drawing a rule by shifting a position on a multiple spatial filter (FIG. 10) )
There are two types. Note that this example shows the determination of a short defect.

【0052】まず,図9は,限定条件に違いをつける第
1方法を示している。同図の(A)は,空間フィルター
上に展開された検査用アルゴリズムを示し,(B)はこ
のアルゴリズムによって検出される適合ポイント群4を
示している(4個の黒点)。同図の(A)及び(B)に
おいて,0は基材部分を示し,1はパターン部分を示し
ている。また,同図の(C)は空間フィルター上に展開
された疑似欠陥登録用アルゴリズムを示し,標準基板を
用いて疑似欠陥データを登録するときに用いるアルゴリ
ズムである。そして,(D)は,このアルゴリズムによ
って検出される適合ポイント群40を示している。
(C)及び(D)において,0は基材部分,1はパター
ン部分を示している。
First, FIG. 9 shows a first method for making a difference in the limiting condition. FIG. 7A shows an inspection algorithm developed on a spatial filter, and FIG. 7B shows a matching point group 4 detected by the algorithm (four black points). In (A) and (B) of the figure, 0 indicates a substrate portion, and 1 indicates a pattern portion. FIG. 3C shows a pseudo defect registration algorithm developed on a spatial filter, which is an algorithm used when registering pseudo defect data using a standard substrate. (D) shows the matching point group 40 detected by this algorithm.
In (C) and (D), 0 indicates a substrate portion, and 1 indicates a pattern portion.

【0053】上記のことは,実際に(A)と(B)もし
くは(C)と(D)を重ね合わせて,上下左右1画素ず
つずらした組合わせについて照合すれば明らかである。
すなわち,一般的に実施される特徴抽出法の手順どお
り,検査用アルゴリズムの展開された縦×横が11×1
1画素からなる空間フィルター(A)を標準基板表面を
撮像した2値画像(B)に重ね合わせ,両者を上下左右
1画素ずつずらし,空間フィルター(A)上に展開され
たアルゴリズムが画像(B)に適合するときの空間フィ
ルター(A)の中心画素(この場合,上下4つ並んだ0
の上から3つ目の画素)に対応する画像(B)上のポイ
ントを適合ポイントとしている。上記のごとく,(C)
における限定条件を(A)のそれよりも減らすことで,
適合ポイント群の大きさが増すことが分かる。
The above is clear from the fact that (A) and (B) or (C) and (D) are actually superimposed and collated with respect to a combination shifted by one pixel at the top, bottom, left and right.
In other words, the procedure of the commonly used feature extraction method
11 × 1 in the vertical and horizontal directions where the inspection algorithm is developed
A spatial filter consisting of one pixel (A)
Superimposed on the captured binary image (B)
Shifted one pixel at a time, expanded on the spatial filter (A)
Spatial filter when the algorithm applied to image (B)
Luther (A) center pixel (in this case, the four pixels
On the image (B) corresponding to the third pixel from the top)
Is the point of conformity. As described above, (C)
By reducing the limiting condition in that of (A),
It can be seen that the size of the matching point group increases.

【0054】次に,図10は,複数の空間フィルター上
に,位置をズラしてルールを描く,第2方法を示してい
る。図10の(A)〜(D)は,空間フィルター上のア
ルゴリズムルールの位置を変えた4種の登録用アルゴリ
ズムを示している。これら(A)〜(D)のアルゴリズ
ムを設定した空間フィルターの出力はORをとられ,1
つの出力として次段へ接続されている。この時,各空間
フィルターに,(E)で示す2×2画素の正方形パター
ンを入力した場合,各1つの空間フィルターの出力が2
×2画素分の適合ポイントであることは明らかである。
すなわち,上記第1の方法と同様,アルゴリズムが展開
された空間フィルター((A)(B)(C)(D))を
画像(E)に重ね合わせ,両者を上下左右1画素ずつず
らし,空間フィルター上に展開されたアルゴリズムが画
像(E)に適合するときの空間フィルターの中心画素に
対応する画像(E)上のポイントは,各1つの空間フィ
ルターともに2×2画素の適合ポイントとなる。加えて
全空間フィルターのOR出力は,アルゴリズムデータの
ずらし位置の関係から,4×4画素の適合ポイントにな
る。
Next, FIG. 10 shows a second method of drawing a rule by shifting the position on a plurality of spatial filters. FIGS. 10A to 10D show four types of registration algorithms in which the positions of the algorithm rules on the spatial filter are changed. The outputs of the spatial filters in which these algorithms (A) to (D) are set are ORed and 1
It is connected to the next stage as one output. At this time, if a square pattern of 2 × 2 pixels shown in (E) is input to each spatial filter, the output of each spatial filter is 2
It is clear that the matching point corresponds to × 2 pixels.
That is, the algorithm is developed as in the first method.
(A) (B) (C) (D))
Superimpose on the image (E), and do not put them one pixel at a time
Algorithm developed on the spatial filter
For the center pixel of the spatial filter when matching the image (E)
The corresponding point on the image (E) is one spatial filter each.
Both luters are 2 × 2 pixel compatible points. In addition, the OR output of the full spatial filter is a 4 × 4 pixel matching point due to the relationship of the shift position of the algorithm data.

【0055】この様に1つのルールを,複数の空間フィ
ルターに位置をズラして設定し,各フィルターの出力の
ORをとることで,適合ポイントの面積を大きくするこ
とができる。そして,該適合ポイント(16個の黒点)
が,疑似欠陥データとして適合データ補正部に送られ
る。一方,図10の(F)は,検査用アルゴリズムを示
し,具体的には(A)〜(D)で使用した4つの空間フ
ィルターの全てに(F)のアルゴリズムを書き込むもの
である。これは「1」が検出された画素(4個の黒点)
そのままの状態で,適合データ補正部に送られる。ま
た,上記第1方法と第2方法とを組み合わせることもで
きる。
As described above, one rule is set by shifting the positions of a plurality of spatial filters, and the output of each filter is ORed to increase the area of the matching point. And the matching points (16 black dots)
Is sent to the matching data correction unit as pseudo defect data. On the other hand, FIG. 10 (F) shows an inspection algorithm, and specifically, the algorithm of (F) is written in all four spatial filters used in (A) to (D). This is the pixel where "1" is detected (4 black dots)
As it is, it is sent to the adaptation data correction unit. Further, the first method and the second method can be combined.

【0056】実施例4 本例は,図11に示すごとく,実施例1に示した検査ア
ルゴリズム部の基本構成について,3×3画素の空間フ
ィルターを用いた場合を示す。同図の左方の入力画像例
中に,破線50で囲んで示すごとく,ここでは,3×3
画素分を入力画像としている。そして,8個の空間フィ
ルターが,OR回路に接続されている。そして,この8
個の空間フィルター上にかかれるアルゴリズムが,図
9,図10で説明された手法に基づくものになる。
Fourth Embodiment As shown in FIG. 11, this embodiment shows a case where a 3 × 3 pixel spatial filter is used for the basic configuration of the inspection algorithm unit shown in the first embodiment. In the example of the input image on the left side of FIG.
The pixels are used as the input image. Then, eight spatial filters are connected to the OR circuit. And this 8
The algorithm applied to the individual spatial filters is based on the method described with reference to FIGS.

【0057】実施例5 本例は,図12に示すごとく,上記実施例4に示した空
間フィルターを用いた,検査アルゴリズム部3における
ブロック線図を示している。A/D変換器から入力され
た2値画像は,シフトレジスタ51,マルチプレクサ5
2,RAM53によりそれぞれ処理されて,OR回路を
経て,疑似欠陥データとして出力される。
Fifth Embodiment As shown in FIG. 12, this embodiment shows a block diagram in the inspection algorithm unit 3 using the spatial filter shown in the fourth embodiment. The binary image input from the A / D converter is supplied to a shift register 51, a multiplexer 5
2. Processed by the RAM 53 and output as pseudo defect data via the OR circuit.

【0058】また,アルゴリズム設定CPU部37から
は,上記マルチプレクサ52へアドレスバスが,また3
ステートバッファへデータバスが接続されている。検査
アルゴリズム部3を駆動するシステムクロックが画素ク
ロックであり,ラインメモリやシフトレジスタを駆動し
ている。ラインメモリとシフトレジスタとの組合わせに
より一次元の2値画像が2次元に展開されている。そし
て,この2次元の2値画像がRAM53により形状認識
され,その結果がORを介して出力される。
An address bus from the algorithm setting CPU section 37 to the multiplexer 52,
The data bus is connected to the state buffer. A system clock that drives the inspection algorithm unit 3 is a pixel clock, and drives a line memory and a shift register. A one-dimensional binary image is developed two-dimensionally by a combination of a line memory and a shift register. The shape of the two-dimensional binary image is recognized by the RAM 53, and the result is output via the OR.

【0059】実施例6 本例は,図13,図14に示すごとく,マスクセルの寸
法が10×10画素のときの,適合データ補正部の回路
例及びタイミングチャートを示している。検査アルゴリ
ズム部3からの疑似欠陥データはシフトレジスタ(10
画素分のシフト)56に入り,OR回路を経て,Dフリ
ップフロップ57に入る。そして,マスクセル間隔補正
済のマスクデータが,マスク照合部34又はマスクメモ
リー部38に入る。
Embodiment 6 This embodiment shows, as shown in FIGS. 13 and 14, a circuit example and a timing chart of a suitable data correction unit when the size of a mask cell is 10.times.10 pixels. The pseudo defect data from the inspection algorithm unit 3 is stored in a shift register (10
(Shift by the number of pixels) 56, and through an OR circuit, enters a D flip-flop 57. Then, the mask data whose mask cell interval has been corrected enters the mask comparison unit 34 or the mask memory unit 38.

【0060】また,画素クロック581がシフトレジス
タ56に入る。また,画素クロック581は,マスクセ
ルが10画素分の幅を持つ場合,1/10分周回路58
を経て,10回に1回ラッチの割合で,Dフリップフロ
ップ57に入る。上記画素クロックは,1画素クロック
で入力される。そして,マスク幅の区間(本例では10
画素)に1画素でも疑似欠陥データがあれば,1マスク
セル分遅れて1マスクセル間‘H’状態を保持する。図
14は,上記図13の回路における,タイミングチャー
トと,その入力及び出力を示している。マスクセル間隔
補正済の疑似欠陥データは,マスクセル画像幅(10ク
ロック)である。また,出力側の時間2では,この時間
中,欠陥形状適合データが存在していることがわかる。
The pixel clock 581 enters the shift register 56. When the mask cell has a width of 10 pixels, the pixel clock 581 is a 1/10 frequency dividing circuit 58.
, And enters the D flip-flop 57 at the rate of latch once every ten times. The pixel clock is input by one pixel clock. Then, the section of the mask width (10 in this example)
If even one pixel has pseudo defect data in one pixel, the state "H" is maintained between one mask cell with a delay of one mask cell. FIG. 14 shows a timing chart and its inputs and outputs in the circuit of FIG. The pseudo defect data after the mask cell interval correction is the mask cell image width (10 clocks). At time 2 on the output side, it can be seen that the defect shape conformance data exists during this time.

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

【図1】実施例1における検査装置のブロック図。FIG. 1 is a block diagram of an inspection apparatus according to a first embodiment.

【図2】実施例1における適合ポイントの面積拡大の説
明。
FIG. 2 is a view for explaining expansion of the area of a conforming point in the first embodiment.

【図3】実施例1における,本発明と従来例とのマスク
メモリの比較説明図。
FIG. 3 is a comparative explanatory diagram of a mask memory according to a first embodiment of the present invention and a mask memory according to a conventional example.

【図4】実施例2における疑似欠陥登録工程のフローチ
ャート。
FIG. 4 is a flowchart of a pseudo defect registration process according to the second embodiment.

【図5】実施例2における検査工程のフローチャート。FIG. 5 is a flowchart of an inspection process according to the second embodiment.

【図6】図5から続く,検査工程のフローチャート。FIG. 6 is a flowchart of an inspection process continued from FIG. 5;

【図7】実施例2における検査用アルゴリズムデータの
設定工程のフローチャート。
FIG. 7 is a flowchart of a setting process of inspection algorithm data according to the second embodiment.

【図8】図7から続く,検査用アルゴリズムデータの設
定工程のフローチャート。
FIG. 8 is a flowchart of a setting process of algorithm data for inspection continued from FIG. 7;

【図9】実施例3における,検査専用のアルゴリズムと
疑似欠陥登録用のアルゴリズムとの違いを示す説明図。
FIG. 9 is an explanatory diagram showing a difference between an algorithm dedicated to inspection and an algorithm for registering a pseudo defect in the third embodiment.

【図10】実施例3における,検査専用のアルゴリズム
と疑似欠陥登録用のアルゴリズムとの違いを示す他の説
明図。
FIG. 10 is another explanatory diagram showing the difference between the inspection-specific algorithm and the pseudo defect registration algorithm in the third embodiment.

【図11】実施例4における検査アルゴリズム部の働き
を示す説明図。
FIG. 11 is an explanatory diagram illustrating the operation of an inspection algorithm unit according to the fourth embodiment.

【図12】実施例5における検査アルゴリズム部のブロ
ック線図。
FIG. 12 is a block diagram of an inspection algorithm unit according to the fifth embodiment.

【図13】実施例6における適合データ補正部のブロッ
ク線図。
FIG. 13 is a block diagram of a matching data correction unit according to a sixth embodiment.

【図14】実施例6における,検査時のタイミングチャ
ート。
FIG. 14 is a timing chart at the time of inspection in the sixth embodiment.

【図15】プリント配線板のパターンにおける疑似欠陥
形状の説明図。
FIG. 15 is an explanatory diagram of a pseudo defect shape in a pattern of a printed wiring board.

【図16】プリント配線板のパターンにおける疑似欠陥
形状の説明図。
FIG. 16 is an explanatory diagram of a pseudo defect shape in a pattern of a printed wiring board.

【図17】欠陥候補データと真の欠陥データとの関係を
示す説明図。
FIG. 17 is an explanatory diagram showing a relationship between defect candidate data and true defect data.

【図18】従来の拡大マスク法の説明図。FIG. 18 is an explanatory view of a conventional enlarged mask method.

【図19】従来の拡大マスク法の問題点を示す説明図。FIG. 19 is an explanatory view showing a problem of the conventional enlarged mask method.

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

10...プリント配線基板,11...パターン,
4...適合ポイント,41〜49...セル,
10. . . Printed wiring board, 11. . . pattern,
4. . . Conformity points, 41-49. . . cell,

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G01B 11/24 G01N 21/88 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06T 1/00 G01B 11/24 G01N 21/88

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プリント配線基板上の配線パターンを読
み取る撮像装置と,該撮像装置の画像信号に基づいて真
の欠陥データであるか否かを選別する欠陥検出手段と,
該欠陥検出手段によって選別された真の欠陥データを集
計するデータ集計手段とよりなり, かつ,上記欠陥検出手段は,抽出すべきパターンの特徴
をアルゴリズムとしてマスク分解能より小さな単位で構
成した空間フィルター上に展開すると共に, マスク作成時には欠陥形状を認識すると共にアルゴリズ
ムに適合するポイントの面積を大きくする疑似欠陥登録
用アルゴリズムデータを,一方検査時には欠陥形状を認
識しかつアルゴリズムに適合するポイントの面積を上記
疑似欠陥登録用アルゴリズムデータの適合ポイントの面
積よりも小さくする検査用アルゴリズムデータを,それ
ぞれ検査アルゴリズム部に書き込むためのアルゴリズム
設定CPU部と, マスク作成時には上記疑似欠陥登録用アルゴリズムデー
タに基づいて標準基板の2値画像を形状認識して疑似欠
陥データを出力し,一方検査時には上記検査用アルゴリ
ズムデータに基づいて被検査基板の2値画像を形状認識
して欠陥候補データを出力する検査アルゴリズム部と, 該検査アルゴリズム部からの上記両適合データをそれぞ
れマスク分解能単位に補正し,補正済み欠陥形状適合デ
ータとして出力する適合データ補正部と, 上記マスク作成時における適合データ補正部からの補正
済み欠陥形状適合データをマスクデータとして記憶させ
るためのマスクメモリー部と, 検査時における適合データ補正部からの補正済み欠陥形
状適合データと上記マスクメモリー部からのマスクデー
タとを照合するマスク照合部とより構成したことを特徴
とするプリント配線基板の検査装置。
1. A method for reading a wiring pattern on a printed wiring board.
Based on an image signal to be captured and an image signal of the image capturing device.
Defect detection means for selecting whether or not the data is defect data;
The true defect data selected by the defect detection means is collected.
And a means for counting data.Features of the pattern to be extracted
As an algorithm in units smaller than the mask resolution.
Along with the spatial filter created,  When creating a mask, it recognizes the shape of the defect and
Pseudo defect registration to increase the area of points that fit the system
Algorithm data on the other hand, and defect shape during inspection
Above and the area of the point that fits the algorithm
Conformity point surface of pseudo defect registration algorithm data
Inspection algorithm data that is smaller than the product
Algorithm for writing to each inspection algorithm part
The setting CPU unit and the algorithm data for registering the pseudo defect at the time of mask creation.
The shape of the binary image of the standard board based on the
Output the defect data, while the inspection algorithm
Recognition of Binary Image of Inspection Board Based on Motion Data
And an inspection algorithm unit for outputting defect candidate data, and the above matching data from the inspection algorithm unit.
Is corrected to the mask resolution unit, and the corrected defect shape conformance data is corrected.
Data correction unit that outputs the data, and correction from the data correction unit when creating the mask.
Stores the already-formed defect shape conformance data as mask data.
Memory part for correction, and corrected defect type from the conformance data correction part during inspection
Condition data and the mask data from the mask memory
And a mask matching unit that matches data
Inspection equipment for printed wiring boards.
【請求項2】 請求項1に記載のプリント配線基板の検2. The printed circuit board according to claim 1,
査装置を用いることを特徴とするプリント配線基板の検Inspection of printed circuit boards characterized by using inspection equipment
査方法。Inspection method.
JP03200115A 1991-07-15 1991-07-15 Inspection apparatus and inspection method for printed wiring board Expired - Lifetime JP3116438B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03200115A JP3116438B2 (en) 1991-07-15 1991-07-15 Inspection apparatus and inspection method for printed wiring board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03200115A JP3116438B2 (en) 1991-07-15 1991-07-15 Inspection apparatus and inspection method for printed wiring board

Publications (2)

Publication Number Publication Date
JPH0520433A JPH0520433A (en) 1993-01-29
JP3116438B2 true JP3116438B2 (en) 2000-12-11

Family

ID=16419080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03200115A Expired - Lifetime JP3116438B2 (en) 1991-07-15 1991-07-15 Inspection apparatus and inspection method for printed wiring board

Country Status (1)

Country Link
JP (1) JP3116438B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3466286B2 (en) * 1994-08-09 2003-11-10 富士通株式会社 Pattern inspection method and pattern inspection device
KR100722622B1 (en) * 2005-09-28 2007-05-28 삼성전기주식회사 Intelligence DES Machine and method thereof
JP2007200246A (en) * 2006-01-30 2007-08-09 Sharp Corp Method for evaluating image processing algorithm, method, device, and program for generating same algorithm, and recording medium
JP5676899B2 (en) 2010-03-25 2015-02-25 東芝ホクト電子株式会社 Magnetron and microwave oven using the same

Also Published As

Publication number Publication date
JPH0520433A (en) 1993-01-29

Similar Documents

Publication Publication Date Title
US4628531A (en) Pattern checking apparatus
US6865288B1 (en) Pattern inspection method and apparatus
US5048094A (en) Method and apparatus for checking pattern
US20020181760A1 (en) Hole inspection apparatus and method
JPH0737892B2 (en) Pattern defect inspection method
JPH07117498B2 (en) Inspection system
JP2747105B2 (en) Image data verification method and apparatus
JPH08292014A (en) Measuring method of pattern position and device thereof
JP3116438B2 (en) Inspection apparatus and inspection method for printed wiring board
JP3111563B2 (en) Inspection equipment for printed wiring boards
JP2002042112A (en) Part mounting inspecting method for circuit board and its system
JP3049488B2 (en) Pattern inspection method and pattern inspection device
US6327379B2 (en) Pattern inspection method and apparatus
JPH10111108A (en) Method and device for pattern inspection
JPH03201454A (en) Aligning method for semiconductor device
JP2003203218A (en) Visual inspection device and method
JPH1091788A (en) Device for positioning pattern and method therefor
JPH063541B2 (en) Pattern inspection equipment
JPH05288520A (en) Pattern matching method
TWI786894B (en) Detection method
JP2676990B2 (en) Wiring pattern inspection equipment
JP2003149171A (en) Pattern examining device and method
JP3267372B2 (en) Method and apparatus for generating matching pattern signal in pattern matching inspection
JPH10141930A (en) Method and device for inspecting pattern
JPH0254375A (en) Method and device for checking pattern defect

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20081006

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091006

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091006

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101006

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20111006

Year of fee payment: 11

EXPY Cancellation because of completion of term