[go: up one dir, main page]

JP2003141508A - Method, apparatus and program for visual inspection of substrate, and computer readable storage medium - Google Patents

Method, apparatus and program for visual inspection of substrate, and computer readable storage medium

Info

Publication number
JP2003141508A
JP2003141508A JP2001335620A JP2001335620A JP2003141508A JP 2003141508 A JP2003141508 A JP 2003141508A JP 2001335620 A JP2001335620 A JP 2001335620A JP 2001335620 A JP2001335620 A JP 2001335620A JP 2003141508 A JP2003141508 A JP 2003141508A
Authority
JP
Japan
Prior art keywords
inspection
image data
processing
image
inspected
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
JP2001335620A
Other languages
Japanese (ja)
Inventor
Wataru Nagata
渉 永田
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP2001335620A priority Critical patent/JP2003141508A/en
Publication of JP2003141508A publication Critical patent/JP2003141508A/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)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To increase the efficiency of inspection process by equally dividing a plurality of pads for inspection. SOLUTION: Two processing areas Q11 and Q21 for inspection image data are set so that, in inspection image data provided by picking up an image of a substrate 3 to be inspected with a plurality of pads 1 thereon, the inspected areas (number or total area) of the pads 1 are equally divided. For each of the processing areas Q11 and Q21 , an inspection image processing thread is started via the parallel processing of a multiprocessor 22 to visual inspect the substrate 3.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プリント基板を撮
像し、その画像データに基づいてプリント基板の傷やシ
ミ、欠けなどの欠陥を検出する基板外観検査方法及びそ
の装置、この基板の外観検査を行なわせるための基板外
観検査用プログラム、このプログラムを記憶したコンピ
ュータにより読み取り可能な記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a board appearance inspection method and apparatus for picking up an image of a printed board and detecting defects such as scratches, spots, and chips on the printed board based on the image data, and an appearance inspection for the board. And a computer-readable storage medium storing this program.

【0002】[0002]

【従来の技術】近年、電子機器の小型化に伴ってプリン
ト基板等の電子部品の高密度化が急激に進んでいる。こ
のようなプリント基板に対しては、その傷、シミ、欠け
等の欠陥が基板外観検査装置によって検出されている。
ところが、電子部品の高密度化に伴って基板外観検査装
置は、検査画像データの処理に対する負担が大きくな
り、検査処理時間の増大を招いている。このような状況
下において精度高くかつ高速で検査可能な基板外観検査
装置が求められており、そのためには高解像度で撮像さ
れた検査画像データに対する画像処理を効率よく行なわ
せる必要がある。
2. Description of the Related Art In recent years, with the miniaturization of electronic equipment, the density of electronic components such as printed circuit boards has rapidly increased. With respect to such a printed circuit board, defects such as scratches, stains, and chips are detected by the board appearance inspection device.
However, with the increase in the density of electronic components, the board appearance inspection apparatus has a heavy load on the processing of the inspection image data, resulting in an increase in the inspection processing time. Under such circumstances, there is a demand for a board appearance inspection device capable of inspecting with high accuracy and high speed, and for that purpose, it is necessary to efficiently perform image processing on inspection image data imaged at high resolution.

【0003】検査画像データに対する処理の高速化を図
るにはその画像処理を分散させる方法が考えられる。例
えば、製品の検査の高速化を目的とした技術としては、
例えば特開平6−222012号公報に記載されている
外観検査装置がある。この外観検査装置は、多項目の検
査を並行して実行することにより高速の検査を実現した
もので、単項目の検査を高速化させたものではない。
In order to speed up the processing of the inspection image data, a method of distributing the image processing can be considered. For example, as a technology aimed at speeding up product inspection,
For example, there is a visual inspection device described in Japanese Patent Laid-Open No. 6-222012. This appearance inspection apparatus realizes high-speed inspection by executing inspections of multiple items in parallel, and does not speed up inspection of a single item.

【0004】又、マルチプロセッサを利用して処理の分
散を図る画像処理方法としては、例えば特開平6−52
296号公報がある。この画像処理方法は、処理モジュ
ールを分割させた画像分割並列処理であり、画像処理過
程の中で直前の処理結果への依存度が高い場合には効果
が薄いものである。
As an image processing method for distributing processing by using a multiprocessor, for example, Japanese Patent Laid-Open No. 6-52 is available.
There is a 296 publication. This image processing method is an image division parallel processing in which processing modules are divided, and is not effective when the degree of dependence on the immediately preceding processing result in the image processing process is high.

【0005】一方、検査画像データに対する画像処理領
域を分割してマルチプロセッサにより並列処理する場合
には、マルチプロセッサに掛かる負担が均等に分散され
ることが望ましいので、検査画像データの画像サイズを
均等に分割して行なうことが一般に行われている。
On the other hand, when the image processing area for the inspection image data is divided and processed in parallel by the multiprocessors, it is desirable that the load on the multiprocessors be evenly distributed. Therefore, the image size of the inspection image data is equalized. It is generally done by dividing into.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、検査画
像データの画像サイズを単純に均等に分割する方法で
は、必ずしも検査画像データ量が均等に分散されるとは
限らない。例えば、図11に示すような複数のパッド1
を四角形状に配列してなるピース2が複数配列、例えば
2列に配列された被検査基板3に対して外観検査を行な
う場合、これら2列のピースを含む検査範囲4で検査画
像データを取得する必要がある。
However, in the method of simply dividing the image size of the inspection image data evenly, the amount of inspection image data is not always evenly distributed. For example, a plurality of pads 1 as shown in FIG.
When a visual inspection is performed on a plurality of pieces 2 of squares arranged in a square, for example, a substrate 3 to be inspected arranged in two rows, inspection image data is acquired in an inspection range 4 including these two rows of pieces. There is a need to.

【0007】この検査画像データを取得する場合、図1
2に示すようにイメージセンサ5の幅が検査範囲4の幅
よりも短い場合、イメージセンサ5を被検査基板3に対
して2回走査すなわち1列目走査と2列目走査とを行な
うことになる。
When acquiring the inspection image data,
As shown in 2, when the width of the image sensor 5 is shorter than the width of the inspection range 4, the image sensor 5 scans the substrate 3 to be inspected twice, that is, the first-row scanning and the second-row scanning. Become.

【0008】このように2回に分割して走査を行なって
取得された検査画像データは、例えば1列目走査により
図13(a)に示すような第1列のピースと第2列のピー
スの一部を含む検査画像データDaとなり、2列目走査
により同図(b)に示すような第2列のピースの残りの部
分からなる検査画像データDbとなる。
The inspection image data obtained by dividing the scan into two pieces as described above is obtained, for example, by scanning the first row by the first row piece and the second row piece as shown in FIG. 13 (a). Becomes the inspection image data Da including a part of the above, and becomes the inspection image data Db including the remaining portion of the second row piece as shown in FIG.

【0009】これら検査画像データDa、Dbに対して
それぞれサイズを均等に分割して検査を行なうには、検
査画像データDaに対して各画像領域WとWとに分
割し、検査画像データDbに対して各画像領域WとW
とに分割し、マルチプロセッサによって並列に検査処
理を実行することになる。
To perform inspection by equally dividing the inspection image data Da and Db into respective sizes, the inspection image data Da is divided into image areas W 1 and W 2, and the inspection image data Da is obtained. Each image area W 3 and W for Db
4, and the inspection processing is executed in parallel by the multiprocessor.

【0010】ところが、検査画像データの画像サイズを
単純に均等に分割する方法では、それぞれに分割された
各画像領域に含まれるパッド1の数量(検査画像データ
量)が著しく不均衡となり、特に図13(b)に示す2列
目走査の検査画像データDbでは、画像領域Wにパッ
ド1が全く含まれないことになり、マルチプロセッサに
よって並列処理を実行させても、それぞれの画像領域W
とWに対する処理の負担を均等にして処理時間を短
くするような効果が全く発揮されないことになる。
However, in the method of simply dividing the image size of the inspection image data into equal parts, the number of pads 1 (inspection image data amount) included in each divided image area becomes extremely unbalanced, and especially in the case of FIG. In the inspection image data Db of the second column scanning shown in 13 (b), the image area W 4 does not include the pad 1 at all, and even if the parallel processing is executed by the multiprocessor, each image area W 4
The effect of making the processing load on 3 and W 4 equal and shortening the processing time is not exhibited at all.

【0011】一方、被検査基板3に対する検査処理で
は、検査画像データからパッド1を抽出するために、一
般的な画像処理手法であるクラスタリングが利用されて
いる。このクラスタリングの手法は、検査画像データを
2値化した2値化画像データにおいて隣接する画素から
連結しているものを算出するので、その処理量は連結探
索を行なう画素が多いほど、すなわち抽出されるパッド
数が多いほどその処理に時間を要する。
On the other hand, in the inspection process for the substrate 3 to be inspected, clustering, which is a general image processing method, is used to extract the pad 1 from the inspection image data. Since this clustering method calculates binarized image data obtained by binarizing inspection image data by concatenating from adjacent pixels, the processing amount is extracted as the number of pixels for which the concatenated search is performed is increased. The larger the number of pads, the longer the processing time.

【0012】又、抽出されたパッド1の周囲を走査して
欠け等の欠陥を検出する検査処理においては、その処理
に要する時間がパッド1の輪郭点の総量に影響される。
Further, in the inspection processing for scanning the periphery of the extracted pad 1 to detect a defect such as a chip, the time required for the processing is affected by the total amount of contour points of the pad 1.

【0013】従って、このような検査処理において、上
記の検査画像データの画像サイズを均等に分割して並列
処理する場合、上記図13(b)に示す検査画像データD
bのようにパッド1の数量を不均衡に分割した状態で
は、パッド1が多く含まれる一方の画像領域W側の処
理時間が長くかかり、他方の画像領域W4側に対する処
理が速く終了して余分な待ち時間が生じる。
Therefore, in such an inspection process, when the image size of the inspection image data is equally divided and processed in parallel, the inspection image data D shown in FIG.
In the state where the number of pads 1 is disproportionately divided as shown in b, the processing time on one side of the image region W 3 where the pad 1 is included is long, and the processing on the other side of the image region W 4 ends quickly. Extra latency will occur.

【0014】そこで本発明は、複数の検査対象物の検査
画像データ量を均等に分割させて検査処理の効率化を図
ることができる基板外観検査方法及びその装置を提供す
ることを目的とする。
Therefore, it is an object of the present invention to provide a board appearance inspection method and apparatus capable of efficiently dividing inspection image data of a plurality of inspection objects to improve the efficiency of inspection processing.

【0015】又、本発明は、複数の検査対象物の検査画
像データ量を均等に分割させて検査処理の効率化を図る
ための基板外観検査用プログラム、及びこのプログラム
を記憶したコンピュータにより読み取り可能な記憶媒体
を提供することを目的とする。
Further, according to the present invention, a board appearance inspection program for evenly dividing the inspection image data amount of a plurality of inspection objects to improve the efficiency of the inspection process, and a computer that stores this program can read the program. The purpose of the present invention is to provide a flexible storage medium.

【0016】[0016]

【課題を解決するための手段】本発明は、複数の検査対
象物が配置された被検査基板を撮像し、その画像データ
に基づいて被検査基板の外観検査を行なう基板外観検査
方法において、画像データにおける検査対象物の検査領
域がそれぞれ均等に分割されるように画像データに対す
る処理領域を複数に分割し、これら処理領域ごとにそれ
ぞれ画像処理して被検査基板の外観検査を行なうことを
特徴とする基板外観検査方法である。
The present invention provides a board appearance inspection method for picking up an image of a board to be inspected on which a plurality of objects to be inspected are arranged and performing an appearance inspection of the board to be inspected based on the image data. The processing area for the image data is divided into a plurality of sections so that the inspection areas of the inspection object in the data are evenly divided, and image processing is performed for each of these processing areas to perform a visual inspection of the substrate to be inspected. This is a method for inspecting the appearance of a substrate.

【0017】本発明は、複数の検査対象物が配置された
被検査基板を撮像し、その画像データに基づいて被検査
基板の外観検査を行なう基板外観検査装置において、画
像データにおける検査対象物の検査領域がそれぞれ均等
に分割されるように画像データに対する処理領域を複数
に分割する領域分割手段と、この領域分割手段により分
割された複数の処理領域ごとにそれぞれ画像処理して被
検査基板の外観検査を行なう検査処理手段とを具備した
ことを特徴とする基板外観検査装置である。
According to the present invention, in a board appearance inspecting apparatus for picking up an image of a board to be inspected on which a plurality of objects to be inspected are arranged and inspecting the appearance of the board to be inspected based on the image data, the object to be inspected in the image data. Appearance of the substrate to be inspected by performing image processing on each of the plurality of processing areas divided by the area dividing means so as to divide the processing area for the image data into a plurality of areas so that each inspection area is equally divided. An inspection apparatus for inspecting a substrate, comprising: inspection processing means for inspecting.

【0018】本発明は、複数の検査対象物が配置された
被検査基板を撮像して取得された画像データを取り込
み、この画像データにおける検査対象物の検査領域がそ
れぞれ均等に分割されるように画像データに対する処理
領域を複数に分割させ、これら分割された複数の処理領
域ごとにそれぞれ画像処理させて被検査基板の外観検査
を行なうことを特徴とする基板外観検査用プログラムで
ある。
According to the present invention, the image data obtained by picking up an image of the substrate to be inspected on which a plurality of inspection objects are arranged is taken in, and the inspection area of the inspection object in this image data is equally divided. A board appearance inspection program is characterized in that a processing area for image data is divided into a plurality of portions, and image processing is performed on each of the divided plurality of processing areas to perform an appearance inspection of a substrate to be inspected.

【0019】[0019]

【発明の実施の形態】以下、本発明の一実施の形態につ
いて図面を参照して説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings.

【0020】図1は基板外観検査装置の構成図である。
搬送ステージ10上には、上記図11に示すように複数
のパッド1を四角形状に配列してなるピースが複数配
列、例えば2列に配列された被検査基板3が載置されて
いる。この搬送ステージ10は、図2に示すように搬送
装置11を構成するものである。この搬送装置11は、
未検査の被検査基板3を収納するカセット12と、この
カセット12に収納されている未検査の被検査基板3を
保持して搬送ステージ10の上方に搬送し、未検査の被
検査基板3を搬送ステージ10上に載置するローダ13
と、良品カセット14及び不良品カセット15と、搬送
ステージ10上から検査済みの被検査基板3を排出し、
基板検査の判定結果に応じて検査済みの被検査基板3を
良品カセット14又は不良品カセット15内に収納する
アンローダ16とを備えている。
FIG. 1 is a block diagram of a substrate visual inspection apparatus.
On the transfer stage 10, as shown in FIG. 11, a plurality of pieces each having a plurality of pads 1 arranged in a square shape are arranged, for example, a substrate 3 to be inspected is arranged in two rows. The transfer stage 10 constitutes a transfer device 11 as shown in FIG. This transport device 11 is
The cassette 12 that stores the uninspected substrate 3 to be inspected, and the uninspected substrate 3 that is stored in the cassette 12 are held and transported above the transport stage 10 to transfer the uninspected substrate 3 to the uninspected substrate 3. Loader 13 mounted on the transfer stage 10
Then, the non-defective product cassette 14 and the defective product cassette 15 and the inspected substrate 3 that has been inspected are ejected from the transport stage 10,
An unloader 16 that stores the inspected substrate 3 that has been inspected in the good product cassette 14 or the defective product cassette 15 according to the determination result of the substrate inspection is provided.

【0021】撮像装置17は、搬送ステージ10の上方
に設けられている。この撮像装置17は、被検査基板3
を照明するための照明光発生手段(光源)18を備え、
この照明光発生手段18から発生した照明光が光ファイ
バ等の照明光学系19を通して被検査基板3の全面に照
射されるようになっている。又、撮像装置17は、被検
査基板3のほぼ真上となる方向に結像光学系20を介し
てイメージセンサ5が設けられている。このイメージセ
ンサ5は、例えば複数のCCD素子を羅列したものとな
っている。この撮像装置17から出力された画像信号
は、画像処理装置21に送られるようになっている。
The image pickup device 17 is provided above the transfer stage 10. This image pickup device 17 includes
An illumination light generating means (light source) 18 for illuminating
The illumination light generated by the illumination light generating means 18 is applied to the entire surface of the substrate 3 to be inspected through an illumination optical system 19 such as an optical fiber. Further, in the image pickup device 17, the image sensor 5 is provided via the image forming optical system 20 in a direction almost directly above the substrate 3 to be inspected. The image sensor 5 includes, for example, a plurality of CCD elements. The image signal output from the image pickup device 17 is sent to the image processing device 21.

【0022】この画像処理装置21は、撮像装置17か
ら出力された画像信号を取り込んで検査画像データとし
て記憶するもので、マルチプロセッサ22に対してシス
テムバス23を介して画像入力装置24及び複数の画像
メモリ25−1〜25−Nを接続したものとなってい
る。画像入力装置24は、撮像装置17から出力された
画像信号を取り込んで検査画像データとして一時蓄える
ものとなっている。画像メモリ25−1〜25−Nは、
検査画像データの任意の画像サイズ、記憶すべき検査画
像データの枚数などが設定可能となっている。
The image processing device 21 takes in an image signal output from the image pickup device 17 and stores it as inspection image data. The image processing device 21 sends an image input device 24 and a plurality of image data to the multiprocessor 22 via the system bus 23. The image memories 25-1 to 25-N are connected. The image input device 24 takes in the image signal output from the image pickup device 17 and temporarily stores it as inspection image data. The image memories 25-1 to 25-N are
An arbitrary image size of inspection image data, the number of inspection image data to be stored, and the like can be set.

【0023】この画像処理装置21は、画像入力装置2
4に一時蓄えられた検査画像データをマルチプロセッサ
22が介在しないDMA(direct memory access)転
送により複数の画像メモリ25−1〜25−Nのうちい
ずれかの画像メモリに転送する処理と、マルチプロセッ
サ22による基板検査などの画像処理とを非同期的に並
列して実行するものとなっている。
The image processing device 21 is an image input device 2
A process of transferring the inspection image data temporarily stored in 4 to any one of the plurality of image memories 25-1 to 25-N by DMA (direct memory access) transfer without interposing the multiprocessor 22; Image processing such as board inspection by 22 is asynchronously executed in parallel.

【0024】又、画像処理装置21は、実際の検査運用
に先立って仮検査モードを行なうための領域分割手段2
6の機能を備えている。この領域分割手段26は、1枚
の被検査基板3の検査画像データを画像メモリ25−1
〜25−Nから読み出し、この検査画像データにおける
パッド1の検査領域(数量又は総面積)がそれぞれ均等
に分割されるように検査画像データに対する処理領域を
複数、例えば2つの処理領域に分割し、この分割結果の
情報からなる領域テーブル27を作成する機能を有して
いる。
Further, the image processing device 21 has the area dividing means 2 for performing the temporary inspection mode prior to the actual inspection operation.
It has 6 functions. The area dividing means 26 stores the inspection image data of one inspected substrate 3 in the image memory 25-1.
25-N, the processing areas for the inspection image data are divided into a plurality of processing areas, for example, two processing areas so that the inspection areas (quantity or total area) of the pads 1 in the inspection image data are equally divided. It has a function of creating an area table 27 including information of the division result.

【0025】具体的に領域分割手段26は、領域分割ア
ルゴリズム実行手段28によって、図3に示すように検
査画像データから画素位置(X画素)に対するパッド1
に当たる画素値「1」の頻度を示すヒストグラムを作成
し、このヒストグラムからパッド1の数量がそれぞれ均
等に分割される2つの処理領域を算出するために、画像
データ開始画素番号P1と、画素値「1」の頻度の累計
が総数の2分の1となる画素番号P2と、画像データ終
了画素番号P3とを割り出し、これら画素番号P1、P
2、P3から図4に示すような領域テーブル27を作成
する機能を有している。
Specifically, the area dividing means 26 is caused by the area dividing algorithm executing means 28 to detect the pad 1 from the inspection image data to the pixel position (X pixel) as shown in FIG.
In order to create a histogram showing the frequency of the pixel value “1” corresponding to the above, and to calculate two processing areas in which the numbers of the pads 1 are equally divided from this histogram, the image data start pixel number P1 and the pixel value “1” are calculated. The pixel number P2 and the image data end pixel number P3 for which the cumulative total of the frequencies of "1" is 1/2 of the total number are calculated, and these pixel numbers P1 and P
2, P3 has a function of creating an area table 27 as shown in FIG.

【0026】この領域テーブル27は、複数の画像メモ
リ25−1〜25−Nに対してそれぞれ付された画像メ
モリ番号(25−1〜25−N)と、オフセット
「1」、幅「1」、オフセット「2」及び幅「2」から
形成されている。
The area table 27 has image memory numbers (25-1 to 25-N) assigned to the plurality of image memories 25-1 to 25-N, an offset "1", and a width "1". , Offset “2” and width “2”.

【0027】このうちオフセット「1」は、図3に示す
画像データ開始画素番号P1に対応するもので、例えば
画像メモリ番号25−1においては、画像データ開始画
素番号P1がS1として記録される。
[0027] Among the offset "1", which corresponds to the image data start pixel number P1 shown in FIG. 3, the image memory number 25-1 For example, the image data start pixel number P1 is recorded as S1 1 .

【0028】幅「1」は、画素番号P2から画像データ
開始画素番号P1を差し引いて求められるもので、上記
画像メモリ番号25−1においては、P2−P1=W1
として記録される。
The width "1" is obtained by subtracting the image data start pixel number P1 from the pixel number P2, and in the image memory number 25-1, P2-P1 = W1.
Recorded as 1 .

【0029】オフセット「2」は、画素番号P2に対応
するもので、上記画像メモリ番号25−1においては、
当該画素番号P1がS2として記録される。
The offset "2" corresponds to the pixel number P2, and in the image memory number 25-1,
The pixel number P1 is recorded as S2 1 .

【0030】幅「2」は画像データ終了画素番号P3か
ら画素番号P2を差し引いて求められるもので、上記画
像メモリ番号25−1においては、P3−P2=W2
として記録される。
The width "2" is obtained by subtracting the pixel number P2 from the image data end pixel number P3. In the image memory number 25-1, P3-P2 = W2 1
Is recorded as.

【0031】又、画像処理装置21は、仮検査の後に、
被検査基板3の自動検査を行なうための検査処理手段2
9の機能を備えている。この検査処理手段29は、領域
分割手段26により作成された領域テーブル27からオ
フセット「1」、幅「1」、オフセット「2」及び幅
「2」の情報を読み出し、これら情報に基づいて画像メ
モリ25−1〜25−Nに記憶されている検査画像デー
タを例えば2つの処理利用域に分割し、これら処理領域
ごとにそれぞれ画像処理して被検査基板3の外観検査を
行なう機能を有している。
Further, the image processing device 21 is
Inspection processing means 2 for automatically inspecting the substrate 3 to be inspected
It has 9 functions. The inspection processing means 29 reads the information of the offset “1”, the width “1”, the offset “2” and the width “2” from the area table 27 created by the area dividing means 26, and based on these information, the image memory. The inspection image data stored in 25-1 to 25-N is divided into, for example, two processing use areas, and the image processing is performed for each of these processing areas to perform a visual inspection of the substrate 3 to be inspected. There is.

【0032】この検査処理手段29では、上記の如くマ
ルチプロセッサ22が介在しないDMA転送を行なうこ
とにより、被検査基板2を撮像して取得された検査画像
データを取り込む処理と、この取り込んだ検査画像デー
タから被検査基板2の外観検査を行なう処理とを並列処
理するものとなる。
The inspection processing means 29 performs the DMA transfer without the interposition of the multiprocessor 22 as described above to capture the inspection image data obtained by imaging the substrate 2 to be inspected and the inspection image thus captured. The process of performing a visual inspection of the inspected substrate 2 from the data is performed in parallel.

【0033】なお、画像処理装置21には、複数のパッ
ド1が配置された被検査基板3を撮像して取得された検
査画像データを取り込んで画像メモリ25−1〜25−
Nに記憶させ、この検査画像データにおけるパッド1の
数量(検査画像データ量)がそれぞれ均等に分割される
ように検査画像データに対する処理領域を複数に分割さ
せるための領域テーブル27を作成させ、この領域テー
ブル27に記録された情報に基づいて複数の処理領域ご
とにそれぞれ画像処理させて被検査基板3の外観検査を
行なうための基板外観検査用プログラムを記憶したマル
チプロセッサ22によりにより読み取り可能なプログラ
ムメモリ30がシステムバス23に接続されている。
The image processing device 21 captures the inspection image data obtained by imaging the substrate 3 to be inspected on which the plurality of pads 1 are arranged, and stores the image data in the image memories 25-1 to 25-.
In N, the area table 27 for dividing the processing area for the inspection image data into a plurality of areas is created so that the number of pads 1 in the inspection image data (inspection image data quantity) is equally divided. A program that can be read by the multiprocessor 22 that stores a board appearance inspection program for performing an image inspection of each of the plurality of processing areas based on the information recorded in the area table 27 and performing an appearance inspection of the board 3 to be inspected. The memory 30 is connected to the system bus 23.

【0034】この基板外観検査用プログラムには、検査
画像データから画素位置(X画素)に対するパッド1に
当たる画素値「1」の頻度を示すヒストグラムを作成さ
せ、このヒストグラムからパッド1の検査領域がそれぞ
れ均等に分割される2つの処理領域を算出するために、
画像データ開始画素番号P1と、画素値「1」の頻度の
累計が総数の2分の1となる画素番号P2と、画像デー
タ終了画素番号P3とを割り出し、これら画素番号P
1、P2、P3から領域テーブル27を作成させる領域
分割アルゴリズムのプログラムが含まれている。
This board appearance inspection program is made to generate a histogram showing the frequency of the pixel value "1" corresponding to the pad 1 with respect to the pixel position (X pixel) from the inspection image data, and the inspection area of the pad 1 is respectively generated from this histogram. In order to calculate two processing areas that are evenly divided,
The image data start pixel number P1, the pixel number P2 at which the cumulative frequency of pixel values “1” is ½ of the total number, and the image data end pixel number P3 are determined, and these pixel numbers P
The program of the area division algorithm for creating the area table 27 from 1, P2 and P3 is included.

【0035】次に、上記の如く構成された装置の作用に
ついて説明する。
Next, the operation of the apparatus configured as described above will be described.

【0036】先ず、被検査基板3に対する外観検査全体
の検査運用について図5に示す検査手順のフローチャー
トに従って説明する。
First, the inspection operation of the entire visual inspection of the substrate 3 to be inspected will be described with reference to the flowchart of the inspection procedure shown in FIG.

【0037】画像処理装置21には、ステップ#1にお
いて、被検査基板3の長さ、幅などの基板形状情報が入
力される。これにより、画像処理装置21では、被検査
基板3の全体を撮像するのに必要な搬送ステージ10に
よる走査長及び走査回数が決定される。
In step # 1, the image processing apparatus 21 is input with board shape information such as the length and width of the board 3 to be inspected. As a result, in the image processing device 21, the scanning length and the number of times of scanning by the transport stage 10 necessary to image the entire substrate 3 to be inspected are determined.

【0038】次に、画像処理装置21は、ステップ#2
において、撮像装置17から出力される画像信号を取り
込んで被検査基板3の全体の検査画像データを画像メモ
リ25−1〜25−Nのいずれかに記憶し、この検査画
像データから図6に示すような検査対象となるピースが
含まれる検査範囲4を指定する。
Next, the image processing apparatus 21 proceeds to step # 2.
In FIG. 6, the image signal output from the image pickup device 17 is captured and the inspection image data of the entire substrate 3 to be inspected is stored in any of the image memories 25-1 to 25-N, and the inspection image data is shown in FIG. The inspection range 4 including such a piece to be inspected is designated.

【0039】次に、画像処理装置21には、ステップ#
3において、検査画像データからパッド1を抽出するた
めの2値化閾値、及びパッド1と認識する面積範囲、そ
の他の検査パラメータが設定される。
Next, in the image processing device 21, step #
In 3, the binarization threshold value for extracting the pad 1 from the inspection image data, the area range recognized as the pad 1, and other inspection parameters are set.

【0040】次に、画像処理装置21は、ステップ#4
において、実際の検査運用に先立って、上記設定された
検査パラメータにより得られる検出結果を調整するため
に、1枚の被検査基板3を用いて仮検査を実行する。
Next, the image processing apparatus 21 proceeds to step # 4.
In order to adjust the detection result obtained by the above-mentioned set inspection parameters, the temporary inspection is executed using one inspected substrate 3 prior to the actual inspection operation.

【0041】この仮検査について図7に示す仮検査フロ
ーチャートに従って説明する。
This temporary inspection will be described with reference to the temporary inspection flowchart shown in FIG.

【0042】画像処理装置21の領域分割手段26は、
ステップ#10において、図6に示す検査範囲4の画像
データを入力させるのに必要なN枚分の画像メモリ25
−1〜25−Nを確保し、次のステップ#11におい
て、被検査基板3の第1列目の全体の検査画像データを
入力するためにn=1を設定し、次のステップ#12に
おいて、被検査基板3の第1列目を撮像した撮像装置1
7からの画像信号を取り込んで画像メモリ25−1〜2
5−Nのいずれかに記憶する。
The area dividing means 26 of the image processing device 21 is
In step # 10, the image memory 25 for N sheets necessary for inputting the image data of the inspection range 4 shown in FIG.
-1 to 25-N are secured, and in the next step # 11, n = 1 is set to input the inspection image data of the entire first column of the substrate 3 to be inspected, and in the next step # 12. , The imaging device 1 that has imaged the first row of the board 3 to be inspected
Image memories 25-1 and 25-2 that capture the image signal from
Store in any of 5-N.

【0043】ここで、撮像装置17は、上記検査範囲4
の画像データを取得するために、被検査基板3に対する
撮像を次の通り行う。この撮像装置17におけるイメー
ジセンサ5の撮像解像度がR、イメージセンサ5の有効
画素数がMとすると、図8に示すようにイメージセンサ
5による撮像範囲Waは、 Wa=R×M …(1) となる。
Here, the image pickup device 17 has the above-mentioned inspection range 4
In order to acquire the image data of, the imaging of the substrate 3 to be inspected is performed as follows. If the image pickup resolution of the image sensor 5 in the image pickup device 17 is R and the number of effective pixels of the image sensor 5 is M, the image pickup range Wa of the image sensor 5 is Wa = R × M (1) as shown in FIG. Becomes

【0044】ここで、検査範囲の幅をWpとして、これ
ら撮像範囲Waと検査範囲幅Wpとの間に、 Wa<Wp≦Wa×2 …(2) の関係が有る場合には、撮像装置17は、上記検査範囲
4を取得するために被検査基板3に対して2回の走査
(1列目走査、2列目走査)を行なって被検査基板3を
撮像するものとなる。なお、撮像範囲Waと検査範囲幅
Wpとの比率は、被検査基板3の基板サイズの種類によ
って異なる。
Here, when the width of the inspection range is Wp, and there is a relationship of Wa <Wp ≦ Wa × 2 (2) between the imaging range Wa and the inspection range width Wp, the imaging device 17 In order to obtain the inspection range 4, the substrate 3 to be inspected is scanned twice (first-row scanning and second-column scanning) to image the substrate 3 to be inspected. The ratio between the imaging range Wa and the inspection range width Wp differs depending on the type of substrate size of the inspected substrate 3.

【0045】図9(a)(b)は1列目走査と2列目走査とに
より取り込んだ検査画像データの摸式図であって、同図
(a)は1列目走査により取り込んだ検査画像データDa
であり、同図(b)は2列目走査により取り込んだ検査画
像データDbである。検査画像データDaは第1列のピ
ースと第2列のピースの一部を含む画像データであり、
検査画像データDbは第2列のピースの残りの部分から
なる画像データとなっている。
FIGS. 9 (a) and 9 (b) are schematic diagrams of inspection image data captured by the first-row scanning and the second-row scanning.
(a) is the inspection image data Da acquired by scanning the first column
FIG. 3B shows the inspection image data Db captured by scanning the second column. The inspection image data Da is image data including a part of the pieces in the first row and the pieces in the second row,
The inspection image data Db is image data including the rest of the pieces in the second row.

【0046】次に、領域分割手段26は、ステップ#1
3において、画像メモリ25−1〜25−Nのいずれか
に記憶した1列走査目の検査画像データを読み出し、こ
の検査画像データに対して予め設定された閾値を用いて
2値化処理し、パッド1とその背景情報とを分離する。
このとき2値化された検査画像データにおいてパッド1
は画素値「1」、背景情報は画素値「0」である。
Next, the area dividing means 26 performs step # 1.
3, the inspection image data of the first-row scan stored in any of the image memories 25-1 to 25-N is read out, and binarization processing is performed on the inspection image data using a preset threshold value. The pad 1 and its background information are separated.
At this time, the pad 1 in the binarized inspection image data
Has a pixel value of "1", and the background information has a pixel value of "0".

【0047】次に、領域分割手段26の領域分割アルゴ
リズム実行手段28は、ステップ#14において、図3
に示すように1列走査目の検査画像データから画素位置
(X方向画素列)に対するパッド1に当たる画素値
「1」の頻度を示すヒストグラムを作成する。
Next, the area dividing algorithm executing means 28 of the area dividing means 26, in step # 14, executes the processing shown in FIG.
As shown in (1), a histogram showing the frequency of the pixel value “1” corresponding to the pad 1 with respect to the pixel position (X-direction pixel column) is created from the inspection image data of the first-row scanning.

【0048】次に、領域分割アルゴリズム実行手段28
は、同ヒストグラムからパッド1の検査領域(数量又は
総面積)がそれぞれ均等に分割される2つの処理領域を
算出するために、先ずは、ステップ#15においてヒス
トグラムの画像データ開始画素番号P1を算出し、次の
ステップ#16においてヒストグラムの画素値「1」の
頻度の累計が総数の2分の1となる画素番号P2を算出
し、次のステップ#17においてヒストグラムの画像デ
ータ終了画素番号P3を算出する。
Next, the area division algorithm execution means 28
In order to calculate two processing areas in which the inspection area (quantity or total area) of the pad 1 is equally divided from the histogram, first, in step # 15, the image data start pixel number P1 of the histogram is calculated. Then, in the next step # 16, the pixel number P2 at which the cumulative frequency of the pixel value “1” in the histogram is ½ of the total number is calculated, and in the next step # 17, the image data end pixel number P3 in the histogram is calculated. calculate.

【0049】次に、領域分割アルゴリズム実行手段28
は、ステップ#18において、上記算出された1列走査
目の検査画像データにおける画像データ開始画素番号P
1、画素番号P2及び画像データ終了画素番号P3を図
4に示すような領域テーブル27に記録する。
Next, the area division algorithm executing means 28
Is the image data start pixel number P in the calculated inspection image data for the first column scan in step # 18.
1, the pixel number P2 and the image data end pixel number P3 are recorded in the area table 27 as shown in FIG.

【0050】なお、この領域テーブル27には、図3及
び図9(a)と対比すると分かり易いように、オフセット
「1」の欄に画像データ開始画素番号P1が開始点S1
として記録され、幅「1」の欄に画素番号P2から画
像データ開始画素番号P1を差し引いたP2−P1=W
が記録され、オフセット「2」の欄に画素番号P1
が開始点S2として記録され、幅「2」の欄に画像デ
ータ終了画素番号P3から画素番号P2を差し引いたP
3−P2=W2が記録される。
In the area table 27, the image data start pixel number P1 is set to the start point S1 in the column of offset "1" for easy understanding in comparison with FIG. 3 and FIG. 9 (a).
Is recorded as 1, P2-P1 = W obtained by subtracting the image data start pixel number P1 from the pixel number P2 column width "1"
1 1 is recorded, and the pixel number P1 is recorded in the column of offset “2”.
P that but recorded as the starting point S2 1, minus the pixel number P2 from the image data end pixel number P3 in the column width "2"
3-P2 = W2 1 are recorded.

【0051】従って、図9(a)に示すように1列走査目の
検査画像データDaはパッド1の数量がそれぞれ均等に
分散された幅W1と幅W2との2つの処理領域に分
割されるようになる。
Therefore, as shown in FIG. 9A, the inspection image data Da of the first-row scan is divided into two processing regions of width W1 1 and width W2 1 in which the numbers of the pads 1 are evenly distributed. Will be done.

【0052】なお、上記領域テーブル27に記録された
オフセット「1」、幅「1」、オフセット「2」及び幅
「2」は、1列走査目の検査画像データDaに対するも
のであり、2列走査時にも上記同様に、オフセット
「1」、幅「1」、オフセット「2」及び幅「2」が記
録される。図9(b)は2列走査目の検査画像データDb
の模式図であり、各開始点F1、F2及び各幅E1
、E2が示されている。
The offset "1", the width "1", the offset "2" and the width "2" recorded in the area table 27 are for the inspection image data Da of the first row scanning and are for the two rows. At the time of scanning, the offset "1", the width "1", the offset "2", and the width "2" are recorded in the same manner as above. FIG. 9B shows the inspection image data Db of the second row scan.
It is a schematic diagram of each starting point F1 1 , F2 1 and each width E1
2, E2 2 is shown.

【0053】以上の仮検査の動作は、上記図6に示す検
査範囲4の検査画像データの入力が終了するので、すな
わちN枚分の画像メモリ25−1〜25−Nへの検査画
像データの記憶が終了(N<n)するまで繰り返され
る。
In the above-described temporary inspection operation, since the input of the inspection image data of the inspection range 4 shown in FIG. 6 is completed, that is, the inspection image data is stored in the N image memories 25-1 to 25-N. It is repeated until the storage is completed (N <n).

【0054】次に、画像処理装置21は、図5に示すス
テップ#5に移り、図10に示す自動検査フローチャー
トに従って被検査基板3の自動検査を行なう。この画像
処理装置21の検査処理手段29は、ステップ#30に
おいて、図8に示す1列目走査で検査範囲4の長さを撮
像するのに必要な枚数の画像メモリ25−1〜25−N
を確保する。例えば、イメージセンサ5がラインセンサ
型である場合には、1枚の画像メモリのサイズは、横幅
がラインセンサ5の有効画素数となり、縦幅が1回の読
み出し単位となるライン数になる。
Next, the image processing apparatus 21 proceeds to step # 5 shown in FIG. 5 to automatically inspect the substrate 3 to be inspected according to the automatic inspection flowchart shown in FIG. In step # 30, the inspection processing unit 29 of the image processing apparatus 21 includes the image memories 25-1 to 25-N of the number of sheets required to capture the length of the inspection range 4 by the first column scanning shown in FIG.
Secure. For example, when the image sensor 5 is a line sensor type, the size of one image memory is such that the horizontal width is the number of effective pixels of the line sensor 5 and the vertical width is the number of lines serving as one reading unit.

【0055】実際の読み出しは、画像入力装置24の中
にある一時的に画像データを蓄えるメモリによってさら
に細分化されたダブルバッファリング処理がなされる。
このダブルバッファリング処理は、2つのバッファがあ
り、一方のバッファにデータが入力されている間に、他
方のバッファがシステムバス23を通して画像メモリ2
5−1〜25−NにDMA転送するものである。読み出
し単位のライン数分の画像メモリ25−1〜25−Nへ
のデータ転送が完了すると、次の画像メモリ25−1〜
25−Nへ転送先が変る。
In actual reading, double buffering processing is further subdivided by a memory in the image input device 24 for temporarily storing image data.
In this double buffering process, there are two buffers, and while the data is input to one buffer, the other buffer passes through the system bus 23 to the image memory 2
5-1 to 25-N are DMA-transferred. When the data transfer to the image memories 25-1 to 25-N for the number of lines of the reading unit is completed, the next image memories 25-1 to 25-1 to 25-N are completed.
The transfer destination changes to 25-N.

【0056】次に、検査処理手段29は、ステップ#3
1において、ローダ13により順次搬送されて搬送ステ
ージ10上に載置される最初の被検査基板3を確認する
ためにn=1を設定し、次のステップ#32において、
図4に示す領域テーブル27から1列目走査の検査画像
データに対するオフセット「1」の欄の開始点S1
幅「1」の欄の幅W1とを読み出し、次のステップ#
33において、これら開始点S1と幅W1とに基づ
いて1列目走査の検査画像データが記憶される画像メモ
リ25−1〜25−Nに対して処理領域Q1を設定す
る。
Next, the inspection processing means 29 determines in step # 3.
1, n = 1 is set in order to confirm the first substrate 3 to be inspected which is sequentially transported by the loader 13 and placed on the transport stage 10, and in the next step # 32,
From the area table 27 shown in FIG. 4, the starting point S1 1 of the column of the offset “1” and the width W1 1 of the column of the width “1” for the inspection image data of the first column scanning are read out, and the next step #
In 33, the inspection image data in the first column scan sets a processing area Q1 1 to the image memory 25-1 to 25-N that are stored on the basis of the these start point S1 1 and width W1 1.

【0057】次に、検査処理手段29は、ステップ#3
4において、図4に示す領域テーブル27からオフセッ
ト「2」の欄の開始点S2と幅「2」の欄の幅W2
とを読み出し、次のステップ#35において、これら開
始点S2と幅W2とに基づいて1列目走査の検査画
像データが記憶される画像メモリ25−1〜25−Nに
対して処理領域Q1を設定する。
Next, the inspection processing means 29 performs step # 3.
4, the starting point S2 1 of the column of offset “2” and the width W2 1 of the column of width “2” from the area table 27 shown in FIG.
Is read out, and in the next step # 35, the processing area is stored in the image memories 25-1 to 25-N in which the inspection image data of the first-row scanning is stored based on the starting point S2 1 and the width W2 1. setting the Q1 2.

【0058】次に、検査処理手段29は、ステップ#3
6及び#37において、1列目走査に必要な枚数分の画
像メモリ25−1〜25−Nに対する処理領域Q1
設定を繰り返す。
Next, the inspection processing means 29 performs step # 3.
6 and # 37, the setting of the processing areas Q1 N for the number of image memories 25-1 to 25-N necessary for the first column scanning is repeated.

【0059】以上の動作により画像メモリ25−1〜2
5−Nに対して1列目走査の検査画像データの全体に対
して図9に示すように2つの処理領域Q1、Q2
設定される。
By the above operation, the image memories 25-1 to 25-2
As shown in FIG. 9, two processing areas Q1 1 and Q2 1 are set for the entire inspection image data of the first column scanning for 5-N.

【0060】次に、検査処理手段29は、ステップ#3
8に移り、上記n=1を設定し、次のステップ#39に
おいて1列目走査の検査画像データが最初の記憶される
画像メモリ25−1〜25−Nに対して画像入力命令
(1回目)を発行し、続くステップ#40において1列
目走査の検査画像データが次に記憶される画像メモリ2
5−1〜25−Nに対して画像入力命令(2回目)を発
行する。
Next, the inspection processing means 29 determines in step # 3.
8, the above n = 1 is set, and in the next step # 39, the image input command (first time) is input to the image memories 25-1 to 25-N in which the inspection image data of the first column scanning is initially stored. ) Is issued and the inspection image data of the first column scanning is stored next in step # 40.
An image input command (second time) is issued to 5-1 to 25-N.

【0061】このとき検査画像データの取り込みは、上
記したように取り込んだ検査画像データから被検査基板
2の外観検査を行なう処理と非同期に行なうので、マル
チプロセッサ22は、各画像入力命令を発行した後に直
ぐに次のステップに進んで処理を実行できる。
At this time, since the inspection image data is taken in asynchronously with the process of inspecting the appearance of the substrate 2 to be inspected from the inspection image data taken in as described above, the multiprocessor 22 issues each image input command. You can immediately proceed to the next step and execute the process.

【0062】上記2回目の画像入力命令を発行して画像
入力装置24に取り込まれた検査画像データは、外観検
査処理の実行待ちに置かれ、その間に、最初に取り込ま
れた検査画像データは、DMA転送によりマルチプロセ
ッサ22を介在せずに画像メモリ25−1〜25−Nに
転送される。
The inspection image data fetched by the image input device 24 by issuing the second image input command is placed in the execution waiting state of the appearance inspection process, during which the inspection image data fetched first is By the DMA transfer, the data is transferred to the image memories 25-1 to 25-N without interposing the multiprocessor 22.

【0063】次に、画像処理装置21は、ステップ#4
1において、最初に取り込まれる検査画像データの画像
入力の完了を確認する。実際には、画像入力装置24が
複数の撮像実行待ちを許可しないので、当該画像入力装
置24の内部において同期処理が行なわれ、ここでの完
了確認に対してマルチプロセッサ22の時間は消費しな
い。
Next, the image processing apparatus 21 proceeds to step # 4.
In step 1, it is confirmed that the image input of the inspection image data first captured is completed. Actually, since the image input device 24 does not allow a plurality of image pickup execution waits, a synchronization process is performed inside the image input device 24, and the time of the multiprocessor 22 is not consumed for confirmation of completion here.

【0064】次に、検査処理手段29は、ステップ#4
2において、上記ステップ#33において設定された図
9(a)に示す処理領域Q1に対する検査画像処理スレ
ッドを起動し、続くステップ#43において上記ステッ
プ#35において設定された図9(a)に示す処理領域Q
に対する検査画像処理スレッドを起動する。これら
検査画像処理スレッドは、マルチプロセッサ22に割当
てることができる最小単位であって、起動された当該検
査画像処理スレッドは、図10に示す自動検査フローチ
ャートの実行とは切り離されて実行される。
Next, the inspection processing means 29 causes the step # 4.
In 2, the above step # Start inspection image processing threads for processing region Q1 1 shown in FIG. 9, which is set (a) at 33, followed by step # in 43 is set at step # 35 9 (a) Shown processing area Q
The inspection image processing thread for 2 1 is started. These inspection image processing threads are the minimum units that can be assigned to the multiprocessor 22, and the activated inspection image processing threads are executed separately from the execution of the automatic inspection flowchart shown in FIG.

【0065】この検査画像処理スレッドの実行により被
検査基板3に対する傷、シミ、欠け等の欠陥検査が実行
される。
By executing this inspection image processing thread, the inspection of the substrate 3 to be inspected is carried out for defects such as scratches, stains and chips.

【0066】これら処理領域Q1、Q2に対する各
検査画像処理スレッドの起動の後、検査処理手段29
は、ステップ#44及び#45において、1列目走査分
が終了したかを確認し、この1列目走査分が終了してい
なければ、上記ステップ#40に戻って3回目の画像入
力命令を画像メモリ25−1〜25−Nに対して発行す
る。
After starting the inspection image processing threads for these processing areas Q1 1 and Q2 1 , the inspection processing means 29
Confirms in step # 44 and # 45 whether or not the scanning for the first column is completed. If the scanning for the first column is not completed, the process returns to step # 40 and the third image input command is issued. It is issued to the image memories 25-1 to 25-N.

【0067】この3回目の画像入力命令を発行し、当該
画像入力命令に対する撮像入力が待ち状態にあるとき、
上記2回目の画像入力命令に対する検査画像データがD
MA転送されて画像メモリ25−1〜25−Nに記憶さ
れる。そして、検査処理手段29は、かかる検査画像デ
ータにおける処理領域に対して検査画像処理スレッドを
起動する。
When the third image input command is issued and the image pickup input corresponding to the image input command is in the waiting state,
The inspection image data for the second image input command is D
The MA is transferred and stored in the image memories 25-1 to 25-N. Then, the inspection processing means 29 activates the inspection image processing thread for the processing area in the inspection image data.

【0068】これ以降、1列目走査分の検査画像データ
に対する基板検査処理が終了するまで、上記ステップ#
40〜#45が繰り返される。
After this, until the board inspection processing for the inspection image data for the first column scanning is completed, the above step #
40 to # 45 are repeated.

【0069】1列目走査分の検査画像データに対する基
板検査処理が終了すると、次には2列目走査分の検査画
像データに対して上記ステップ#40〜#45が繰り返
し実行されて基板検査処理が行われる。例えば、検査処
理手段29は、上記ステップ#42において、上記図9
(b)に示す処理領域Q1に対する検査画像処理スレッ
ドを起動し、続く上記ステップ#43において処理領域
Q2に対する検査画像処理スレッドを起動し、これら
検査画像処理スレッドの実行により2列目走査分の検査
画像データから被検査基板3に対する傷、シミ、欠け等
の欠陥検査を実行する。
When the board inspection processing for the inspection image data for the first column scanning is completed, the above steps # 40 to # 45 are repeatedly executed for the inspection image data for the second row scanning to perform the board inspection processing. Is done. For example, the inspection processing means 29, in step # 42, carries out the process shown in FIG.
Start inspection image processing threads for processing region Q1 1 shown in (b), followed by starting the inspection image processing threads for processing region Q2 1 in step # 43, the second column scanning operation by the execution of these inspection image processing threads Defect inspections such as scratches, spots, and chips on the substrate 3 to be inspected are executed from the inspection image data of 1.

【0070】以上のようにして1枚の被検査基板3に対
する一連の自動検査処理が終了すると、その検査の判定
結果が搬送装置11に通知される。この搬送装置11の
アンローダ16は、搬送ステージ10上から検査済みの
被検査基板3を排出し、基板検査の判定結果に応じて検
査済みの被検査基板3を良品カセット14又は不良品カ
セット15内に振り分けて収納する。
When a series of automatic inspection processing for one substrate 3 to be inspected is completed as described above, the transport device 11 is notified of the determination result of the inspection. The unloader 16 of the transfer device 11 ejects the inspected substrate 3 that has been inspected from the transfer stage 10 and stores the inspected substrate 3 that has been inspected in the non-defective product cassette 14 or the defective product cassette 15 according to the determination result of the substrate inspection. Sort and store.

【0071】これと共にローダ13は、次に検査を行な
う未検査の被検査基板3をカセット12から取り出して
保持し、搬送ステージ10の上方に搬送し、未検査の被
検査基板3を搬送ステージ10上に載置する。これによ
り当該被検査基板3に対する検査が上記同様に実行され
る。
At the same time, the loader 13 takes out the uninspected substrate 3 to be inspected next from the cassette 12, holds it, and conveys it to the upper side of the conveying stage 10 to convey the uninspected substrate 3 to the conveying stage 10. Place on top. As a result, the inspection of the substrate 3 to be inspected is executed in the same manner as above.

【0072】このように上記一実施の形態においては、
複数のパッド1が配置された被検査基板3を撮像して取
得された検査画像データにおけるパッド1の数量がそれ
ぞれ均等に分割されるように検査画像データに対する2
つの処理領域Q1、Q2を設定し、これら処理領域
Q1、Q2ごとにそれぞれマルチプロセッサ22の
並列処理により各検査画像処理スレッドを起動して被検
査基板3の外観検査を行なうようにしたので、2つの処
理領域Q1、Q2において複数のパッド1をそれぞ
れ均等に分散させることができ、処理速度の最適化が実
現でき、検査処理を高速に実行でき、検査画像データに
対する画像処理の遅れを最小限にすることができ、検査
処理の効率化を図ることができる。
As described above, in the above embodiment,
2 with respect to the inspection image data so that the number of pads 1 in the inspection image data acquired by imaging the substrate 3 to be inspected on which the plurality of pads 1 are arranged is equally divided.
Two processing areas Q1 1 and Q2 1 are set, and the inspection image processing threads are activated by the parallel processing of the multiprocessor 22 for each of these processing areas Q1 1 and Q2 1 , and the appearance inspection of the substrate 3 to be inspected is performed. Therefore, the plurality of pads 1 can be evenly distributed in each of the two processing areas Q1 1 and Q2 1 , the processing speed can be optimized, the inspection processing can be executed at high speed, and the image processing for the inspection image data can be performed. Can be minimized and the efficiency of the inspection process can be improved.

【0073】複数のパッド1を2つの処理領域Q1
Q2にそれぞれ均等に分散させるために、検査画像デ
ータから画素位置に対するパッド1に当たる画素値
「1」の頻度を示すヒストグラムを作成し、このヒスト
グラムからパッド1の数量がそれぞれ均等に分割される
ように2つの処理領域Q1、Q2を割り出すので、
イメージセンサ5の撮像範囲Waと被検査基板3に対す
る検査範囲幅Wpとの関係から被検査基板3に対して列
目走査と2列目走査とを行なって被検査基板3を撮像す
る場合、図9(a)(b)に示す1列目走査と2列目走査の検
査画像データDa、Dbのように複数のパッド1が不均
衡に分散された画像であっても、これら検査画像データ
Da、Dbに対して複数のパッド1を均衡に分散させた
各処理領域Q1、Q2、G1、G2を確実に得
ることができる。
A plurality of pads 1 are connected to two processing areas Q1 1 ,
In order to uniformly disperse each Q2 1, a histogram showing the frequency of pixel values corresponds to the pad 1 "1" to the pixel position from the inspection image data, so that the quantity of the pad 1 from the histogram is equally divided respectively Since two processing areas Q1 1 and Q2 1 are determined in
When the inspection target substrate 3 is imaged by performing column scanning and second column scanning on the inspection target substrate 3 based on the relationship between the imaging range Wa of the image sensor 5 and the inspection range width Wp for the inspection target substrate 3, FIG. Even if the images have a plurality of pads 1 disproportionately distributed like the inspection image data Da and Db of the first-row scanning and the second-row scanning shown in 9 (a) and (b), these inspection image data Da , Db, it is possible to reliably obtain the respective processing regions Q1 1 , Q2 1 , G1 1 , G2 1 in which a plurality of pads 1 are balancedly distributed.

【0074】この場合、基板サイズがそれぞれ異なる複
数種類の被検査基板3に対して自動検査を行なう場合で
も、その基板サイズに対応した各処理領域Q1、Q2
、G1、G2を設定できる。
In this case, even when an automatic inspection is performed on a plurality of types of substrates 3 to be inspected having different substrate sizes, the processing areas Q1 1 and Q2 corresponding to the substrate sizes are obtained.
1 , G1 1 , G2 1 can be set.

【0075】このような検査対象となるパッド1の検査
領域(数量又は総面積)がそれぞれ均等に分割されるよ
うに2つの処理領域Q1、Q2を割り出す領域分割
手段28を備えて検査画像データに対する処理時間を効
率化できれば、動作周波数が高速なイメージセンサ5を
使用でき、自動検査運用したときの基板外観検査装置全
体としての検査時間を短縮できる。
The inspection image is provided with the area dividing means 28 for dividing the two processing areas Q1 1 and Q2 1 so that the inspection area (quantity or total area) of the pad 1 to be inspected is equally divided. If the processing time for data can be made efficient, the image sensor 5 having a high operating frequency can be used, and the inspection time of the entire board appearance inspection device when performing automatic inspection operation can be shortened.

【0076】又、被検査基板3を撮像して取得された検
査画像データを取り込む処理と、この取り込んだ検査画
像データから被検査基板3の外観検査を行なう検査処理
とを並列処理するので、被検査基板3に対する検査処理
を高速化できる。
Further, since the process of taking in the inspection image data obtained by picking up the image of the substrate 3 to be inspected and the inspection process of performing the appearance inspection of the inspected substrate 3 from the taken in inspection image data are processed in parallel, The inspection processing for the inspection substrate 3 can be speeded up.

【0077】これにより、電子機器の小型化に伴ってプ
リント基板等の電子部品の高密度化が急激に進み、プリ
ント基板等における単位当たりの処理量が増加した場合
でも、検査時間の増加を最小限に抑えることができる。
As a result, the increase in the density of electronic parts such as a printed circuit board rapidly progresses with the downsizing of electronic equipment, and the increase in the inspection time is minimized even when the processing amount per unit of the printed circuit board or the like increases. You can keep it to the limit.

【0078】なお、本発明は、上記一実施の形態に限定
されるものでなく、実施段階ではその要旨を逸脱しない
範囲で種々に変形することが可能である。
The present invention is not limited to the above-mentioned one embodiment, but can be variously modified at the stage of implementation without departing from the spirit of the invention.

【0079】さらに、上記実施形態には、種々の段階の
発明が含まれており、開示されている複数の構成要件に
おける適宜な組み合わせにより種々の発明が抽出でき
る。例えば、実施形態に示されている全構成要件から幾
つかの構成要件が削除されても、発明が解決しようとす
る課題の欄で述べた課題が解決でき、発明の効果の欄で
述べられている効果が得られる場合には、この構成要件
が削除された構成が発明として抽出できる。
Furthermore, the above-described embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiment, the problem described in the section of the problem to be solved by the invention can be solved, and it is described in the section of the effect of the invention. When the effect of being obtained is obtained, a configuration in which this constituent element is deleted can be extracted as an invention.

【0080】[0080]

【発明の効果】以上詳記したように本発明によれば、複
数の検査対象物の検査画像データ量を均等に分割させて
検査処理の効率化を図ることができる基板外観検査方法
及びその装置を提供できる。
As described above in detail, according to the present invention, a method and apparatus for inspecting a substrate, which can divide the inspection image data amount of a plurality of inspection objects evenly to improve the efficiency of the inspection process. Can be provided.

【0081】又、本発明によれば、複数の検査対象物の
検査画像データ量を均等に分割させて検査処理の効率化
を図るための基板外観検査用プログラム、及びこのプロ
グラムを記憶したコンピュータにより読み取り可能な記
憶媒体を提供できる。
Further, according to the present invention, a board appearance inspection program for evenly dividing the inspection image data amount of a plurality of inspection objects to improve the efficiency of the inspection process, and a computer storing the program. A readable storage medium can be provided.

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

【図1】本発明に係わる基板外観検査装置の一実施の形
態を示す構成図。
FIG. 1 is a configuration diagram showing an embodiment of a substrate visual inspection apparatus according to the present invention.

【図2】本発明に係わる基板外観検査装置の一実施の形
態における搬送装置及び撮像装置の構成図。
FIG. 2 is a configuration diagram of a transfer device and an image pickup device in an embodiment of a substrate appearance inspection device according to the present invention.

【図3】本発明に係わる基板外観検査装置の一実施の形
態における領域分割手段により作成されるヒストグラム
を示す図。
FIG. 3 is a diagram showing a histogram created by an area dividing unit in one embodiment of the substrate visual inspection apparatus according to the present invention.

【図4】本発明に係わる基板外観検査装置の一実施の形
態における領域テーブルを示す模式図。
FIG. 4 is a schematic diagram showing an area table in one embodiment of the substrate visual inspection apparatus according to the present invention.

【図5】本発明に係わる基板外観検査装置の一実施の形
態における検査手順のフローチャート。
FIG. 5 is a flowchart of the inspection procedure in the embodiment of the board appearance inspection apparatus according to the present invention.

【図6】本発明に係わる基板外観検査装置の一実施の形
態におけるピース枠を示す図。
FIG. 6 is a diagram showing a piece frame in one embodiment of the substrate visual inspection apparatus according to the present invention.

【図7】本発明に係わる基板外観検査装置の一実施の形
態における仮検査フローチャート。
FIG. 7 is a temporary inspection flowchart in one embodiment of the board appearance inspection apparatus according to the present invention.

【図8】本発明に係わる基板外観検査装置の一実施の形
態における撮像装置の撮像範囲と被検査基板幅との関係
を示す模式図。
FIG. 8 is a schematic diagram showing the relationship between the imaging range of the imaging device and the width of the board to be inspected in one embodiment of the board visual inspection apparatus according to the present invention.

【図9】本発明に係わる基板外観検査装置の一実施の形
態における1列目走査と2列目走査とにより取り込んだ
各検査画像データの摸式図。
FIG. 9 is a schematic diagram of each inspection image data captured by the first-row scanning and the second-row scanning in the embodiment of the board visual inspection apparatus according to the present invention.

【図10】本発明に係わる基板外観検査装置の一実施の
形態における自動検査フローチャート。
FIG. 10 is an automatic inspection flowchart in one embodiment of the board appearance inspection apparatus according to the present invention.

【図11】複数のパッドからなる複数のピースを複数配
列した被検査基板の外観図。
FIG. 11 is an external view of a substrate to be inspected in which a plurality of pieces each including a plurality of pads are arranged.

【図12】イメージセンサの幅と検査範囲の幅との関係
を示す図。
FIG. 12 is a diagram showing the relationship between the width of the image sensor and the width of the inspection range.

【図13】イメージセンサにより取得される検査画像デ
ータの模式図。
FIG. 13 is a schematic diagram of inspection image data acquired by an image sensor.

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

1:パッド 2:ピース 3:被検査基板 4:検査範囲 5:イメージセンサ 10:搬送ステージ 11:搬送装置 12:カセット 13:ローダ 14:良品カセット 15:不良品カセット 16:アンローダ 17:撮像装置 18:照明光発生手段(光源) 19:照明光学系 20:結像光学系 21:画像処理装置 22:マルチプロセッサ 23:システムバス 24:画像入力装置 25−1〜25−N:画像メモリ 26:領域分割手段 27:領域テーブル 28:領域分割アルゴリズム実行手段 29:検査処理手段 30:プログラムメモリ 1: Pad 2: Peace 3: Inspected board 4: Inspection range 5: Image sensor 10: Transport stage 11: Transport device 12: cassette 13: loader 14: Good quality cassette 15: Defective cassette 16: Unloader 17: Imaging device 18: Illumination light generating means (light source) 19: Illumination optical system 20: Imaging optical system 21: Image processing device 22: Multiprocessor 23: System bus 24: Image input device 25-1 to 25-N: Image memory 26: Area dividing means 27: Area table 28: Area division algorithm execution means 29: Inspection processing means 30: Program memory

フロントページの続き Fターム(参考) 2F065 AA49 BB02 CC01 DD06 FF04 HH12 JJ03 JJ26 LL02 PP11 QQ31 QQ43 2G051 AA65 AB02 CA04 CB01 CC09 DA05 EA14 EA19 EB01 EC02 ED22 5B057 AA03 BA11 CA08 CA12 CA16 CB08 CB12 CB16 CE09 CE12 CH04 DB02 DB08 DC04 DC19Continued front page    F term (reference) 2F065 AA49 BB02 CC01 DD06 FF04                       HH12 JJ03 JJ26 LL02 PP11                       QQ31 QQ43                 2G051 AA65 AB02 CA04 CB01 CC09                       DA05 EA14 EA19 EB01 EC02                       ED22                 5B057 AA03 BA11 CA08 CA12 CA16                       CB08 CB12 CB16 CE09 CE12                       CH04 DB02 DB08 DC04 DC19

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数の検査対象物が配置された被検査基
板を撮像し、その画像データに基づいて前記被検査基板
の外観検査を行なう基板外観検査方法において、 前記画像データにおける前記検査対象物の検査領域がそ
れぞれ均等に分割されるように前記画像データに対する
処理領域を複数に分割し、これら処理領域ごとにそれぞ
れ画像処理して前記被検査基板の外観検査を行なうこと
を特徴とする基板外観検査方法。
1. A board appearance inspection method for picking up an image of a board to be inspected on which a plurality of objects to be inspected are arranged, and inspecting the appearance of the board to be inspected based on the image data. The board appearance, characterized in that the processing area for the image data is divided into a plurality of parts so that each of the inspection areas is evenly divided, and image processing is performed for each of these processing areas to perform a visual inspection of the inspected board. Inspection method.
【請求項2】 複数の検査対象物が配置された被検査基
板を撮像し、その画像データに基づいて前記被検査基板
の外観検査を行なう基板外観検査装置において、 前記画像データにおける前記検査対象物の検査領域がそ
れぞれ均等に分割されるように前記画像データに対する
処理領域を複数に分割する領域分割手段と、 この領域分割手段により分割された複数の前記処理領域
ごとにそれぞれ画像処理して前記被検査基板の外観検査
を行なう検査処理手段と、を具備したことを特徴とする
基板外観検査装置。
2. A board appearance inspecting apparatus for picking up an image of a board to be inspected, on which a plurality of objects to be inspected are arranged, and inspecting the appearance of the board to be inspected based on the image data. Area dividing means for dividing the processing area for the image data into a plurality of areas so that each inspection area is equally divided, and image processing is performed for each of the plurality of processing areas divided by the area dividing means. A board appearance inspection apparatus comprising: an inspection processing unit that performs an appearance inspection of an inspection board.
【請求項3】 前記領域分割手段は、前記画像データか
ら画素位置に対する前記検査対象物に当たる画素値の頻
度を示すヒストグラムを作成し、このヒストグラムから
前記検査対象物の検査領域がそれぞれ均等に分割される
複数の前記処理領域を割り出すことを特徴とする請求項
2記載の基板外観検査装置。
3. The area dividing means creates a histogram showing the frequency of pixel values corresponding to the inspection object with respect to pixel positions from the image data, and the inspection areas of the inspection object are evenly divided from the histogram. The substrate appearance inspection apparatus according to claim 2, wherein a plurality of the processing regions are indexed.
【請求項4】 前記検査処理手段は、被検査基板を撮像
して取得された画像データを取り込む処理と、この取り
込んだ前記画像データから前記被検査基板の外観検査を
行なう処理とを並列処理する機能を有することを特徴と
する請求項2記載の基板外観検査装置。
4. The inspection processing means performs parallel processing of a process of capturing image data obtained by capturing an image of a substrate to be inspected and a process of performing a visual inspection of the substrate to be inspected from the captured image data. The board appearance inspection apparatus according to claim 2, having a function.
【請求項5】 複数の検査対象物が配置された被検査基
板を撮像して取得された画像データを取り込み、この画
像データにおける前記検査対象物の検査領域がそれぞれ
均等に分割されるように前記画像データに対する処理領
域を複数に分割させ、これら分割された複数の前記処理
領域ごとにそれぞれ画像処理させて前記被検査基板の外
観検査を行なうことを特徴とする基板外観検査用プログ
ラム。
5. The image data obtained by picking up an image of a substrate to be inspected on which a plurality of inspection objects are arranged is captured, and the inspection area of the inspection object in the image data is divided evenly. A board appearance inspection program, wherein a processing area for image data is divided into a plurality of portions, and image processing is performed on each of the divided plurality of processing areas to perform an appearance inspection of the substrate to be inspected.
【請求項6】 複数の検査対象物が配置された被検査基
板を撮像して取得された画像データを取り込み、この画
像データにおける前記検査対象物の検査領域がそれぞれ
均等に分割されるように前記画像データに対する処理領
域を複数に分割させ、これら分割された複数の前記処理
領域ごとにそれぞれ画像処理させて前記被検査基板の外
観検査を行なう基板外観検査用プログラムを記憶したこ
とを特徴とするコンピュータにより読み取り可能な記憶
媒体。
6. The image data obtained by picking up an image of a substrate to be inspected on which a plurality of inspection objects are arranged is taken in, and the inspection area of the inspection object in the image data is divided evenly. A computer characterized in that a processing area for image data is divided into a plurality of areas, and a board appearance inspection program for performing an appearance inspection of the board to be inspected by performing image processing on each of the plurality of divided processing areas is stored. Readable storage medium.
JP2001335620A 2001-10-31 2001-10-31 Method, apparatus and program for visual inspection of substrate, and computer readable storage medium Withdrawn JP2003141508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001335620A JP2003141508A (en) 2001-10-31 2001-10-31 Method, apparatus and program for visual inspection of substrate, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001335620A JP2003141508A (en) 2001-10-31 2001-10-31 Method, apparatus and program for visual inspection of substrate, and computer readable storage medium

Publications (1)

Publication Number Publication Date
JP2003141508A true JP2003141508A (en) 2003-05-16

Family

ID=19150584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001335620A Withdrawn JP2003141508A (en) 2001-10-31 2001-10-31 Method, apparatus and program for visual inspection of substrate, and computer readable storage medium

Country Status (1)

Country Link
JP (1) JP2003141508A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009047465A (en) * 2007-08-15 2009-03-05 Yokogawa Electric Corp Image quality inspection device
JP2011100323A (en) * 2009-11-06 2011-05-19 Hitachi High-Technologies Corp Image data delivery method and inspection apparatus
JP2012194061A (en) * 2011-03-16 2012-10-11 Canon Inc Three-dimensional distance measuring device, three-dimensional distance measuring method and program
JP2013148363A (en) * 2012-01-17 2013-08-01 Dainippon Screen Mfg Co Ltd Visual inspection device
KR101434484B1 (en) * 2012-06-20 2014-08-26 한국기술교육대학교 산학협력단 Apparatus and method for vision inspecting using image division
US9196031B2 (en) 2012-01-17 2015-11-24 SCREEN Holdings Co., Ltd. Appearance inspection apparatus and method
JP2017055984A (en) * 2015-09-16 2017-03-23 キヤノン株式会社 Image processing apparatus, image processing method, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009047465A (en) * 2007-08-15 2009-03-05 Yokogawa Electric Corp Image quality inspection device
JP2011100323A (en) * 2009-11-06 2011-05-19 Hitachi High-Technologies Corp Image data delivery method and inspection apparatus
JP2012194061A (en) * 2011-03-16 2012-10-11 Canon Inc Three-dimensional distance measuring device, three-dimensional distance measuring method and program
JP2013148363A (en) * 2012-01-17 2013-08-01 Dainippon Screen Mfg Co Ltd Visual inspection device
US9196031B2 (en) 2012-01-17 2015-11-24 SCREEN Holdings Co., Ltd. Appearance inspection apparatus and method
KR101434484B1 (en) * 2012-06-20 2014-08-26 한국기술교육대학교 산학협력단 Apparatus and method for vision inspecting using image division
JP2017055984A (en) * 2015-09-16 2017-03-23 キヤノン株式会社 Image processing apparatus, image processing method, and program

Similar Documents

Publication Publication Date Title
US20150043805A1 (en) Image processing system, image processing method, and computer-readable recording medium
KR100873672B1 (en) Vision Inspection System of Semiconductor Devices
JP2000266691A (en) Visual examination apparatus
JP2015137921A (en) Appearance inspection apparatus, appearance inspection method, and program
JP2003141508A (en) Method, apparatus and program for visual inspection of substrate, and computer readable storage medium
JPH06222012A (en) Image processing apparatus, image processing method, and semiconductor package appearance inspection apparatus
WO2018158888A1 (en) Backup-pin recognizing method and component mounting device
KR100196457B1 (en) Method for preparing partial TERT-butoxylated poly (P-hydroxystyrene)
JP2002310937A (en) Defect inspection method and device
JP2002005850A (en) Defect inspection method and apparatus, mask manufacturing method
JP2003097931A (en) Method and device for optical inspection
KR100705645B1 (en) Semiconductor device classification method
KR100740251B1 (en) Vision Inspection System of Semiconductor Devices
JP3039704B2 (en) Printing evaluation method and printing evaluation device
JP2002267619A (en) Defect inspection method and device
CN111474180A (en) Detection data concatenation system and method
JPH0590365A (en) Testing apparatus
JP4474006B2 (en) Inspection device
TWI852571B (en) Circuit image inspection method and automatic optical inspection system comprising thereof
JPH05272945A (en) Apparatus for inspecting bent part of lead
JP6074210B2 (en) Image processing apparatus, appearance inspection apparatus, image processing method, and appearance inspection method
JP3412732B2 (en) Defect inspection method and apparatus
JP2002181730A (en) Appearance inspection device
JP7207014B2 (en) Display control device, display control program and inspection system
JP3119376B2 (en) Printing evaluation method and printing evaluation device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050104