JPH10288505A - Both work position detection and appearance inspection methods and respective devices thereof - Google Patents

Both work position detection and appearance inspection methods and respective devices thereof

Info

Publication number
JPH10288505A
JPH10288505A JP9099311A JP9931197A JPH10288505A JP H10288505 A JPH10288505 A JP H10288505A JP 9099311 A JP9099311 A JP 9099311A JP 9931197 A JP9931197 A JP 9931197A JP H10288505 A JPH10288505 A JP H10288505A
Authority
JP
Japan
Prior art keywords
work
axis direction
detection
members
array
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9099311A
Other languages
Japanese (ja)
Inventor
Tomikazu Tanuki
富和 田貫
Ryuichi Murata
竜一 村田
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.)
Komatsu Ltd
Original Assignee
Komatsu 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 Komatsu Ltd filed Critical Komatsu Ltd
Priority to JP9099311A priority Critical patent/JPH10288505A/en
Publication of JPH10288505A publication Critical patent/JPH10288505A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To make any processing performable accurately and speedily at a time when each work position, for example, the position of a semiconductor package (a position of each ball), where regular sized members are plurally arranged in a fixed rule on the top of a work or an object of inspection is roughly specified in advance of the full-scale inspection. SOLUTION: A top face of a work 1 is imaged in a picture taken, and a first detection area 12 to be circumscribed with plural pieces of arrayal members 2 is fed out of this pickup picture image 10. Then, a second detection area 15 showing these members 2 in a line is fed out of this first detection area 12. In succession, well-known relative position data of these plural arrayal members 2 in relation to the work 1 and the first detection area 12 showing these arrayal members 2 fed out are butted to each other, whereby an absolute center position C of the work 1 is detected, while the well-known relative position data and the second detection area 15 showing a line of these members 2 fed out are butted to each other, whereby an attitude of the work 1 is detected as well.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、半導体パッケージ
などのワークの位置検出および検査を行う方法および装
置に関し、特に、ワークの上面に、一定の大きさの部材
が一定の規則で複数配列されたワークの位置を画像処理
によって検出するワークの位置検出方法、装置およびワ
ークの上面に、一定の大きさの部材が格子状に複数配列
されたワークの位置および当該ワーク上の各部材の位置
を画像処理によって予め検出しておき、この検出位置を
ワークの基準位置および各部材の基準位置としてワーク
上の各部材を検査するワークの外観検査方法、装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for detecting and inspecting the position of a work such as a semiconductor package, and more particularly to a method in which a plurality of members having a fixed size are arranged on a top surface of a work according to a fixed rule. A work position detection method and apparatus for detecting the position of a work by image processing, and an image of a work position in which a plurality of members of a fixed size are arranged in a lattice on the upper surface of the work and positions of the respective members on the work. The present invention relates to a method and an apparatus for inspecting the appearance of a work in which members detected on a work are detected in advance as processing, and the detected positions are used as a reference position of the work and a reference position of each member.

【0002】[0002]

【従来の技術】BGA(Ball Glid Array)またはCS
P(Chip Size Package)と呼ばれる半導体パッケージ
は、図1に示すように、半導体パッケージ1の裏面にボ
ール状のハンダバンプ2(以下、ボール2という)が2
次元配列されたものであり、半導体パッケージ1はこれ
らボール2によってプリント配線基盤に直接ハンダ付け
して実装されるようになっている。
2. Description of the Related Art BGA (Ball Glid Array) or CS
As shown in FIG. 1, a semiconductor package called a P (Chip Size Package) has two ball-shaped solder bumps 2 (hereinafter referred to as balls 2) on the back surface of the semiconductor package 1.
The semiconductor package 1 is mounted in such a manner that the semiconductor package 1 is directly soldered to the printed wiring board by the balls 2 and mounted.

【0003】そして、トレイ7上に複数の半導体パッケ
ージ1が載置され、検査対象のワークである半導体パッ
ケージ1が搬送装置であるXYZステージ8によりカメ
ラ3の真下まで搬送されて、カメラ3、4の撮像結果に
基づき検査対象の半導体パッケージ1上の各ボール2の
高さが一定になっているか否か等の外観検査がなされ
る。
A plurality of semiconductor packages 1 are placed on a tray 7 and the semiconductor package 1 to be inspected is transferred to a position directly below the camera 3 by an XYZ stage 8 as a transfer device. An appearance inspection is performed on the basis of the image pickup result to determine whether or not the height of each ball 2 on the semiconductor package 1 to be inspected is constant.

【0004】すなわち、図1において、半導体パッケー
ジ1は表裏反転されてトレイ7上に載置されており、こ
の半導体パッケージ1の上方にはカメラ3、4用の照明
を得るための照明装置9が配設されている。上カメラ3
は、半導体パッケージ1の裏面像を平面画像として撮像
する。また、斜めカメラ4でボール2が配設された半導
体パッケージ1の裏面を斜め上方から撮像する。
That is, in FIG. 1, a semiconductor package 1 is placed on a tray 7 upside down, and an illumination device 9 for obtaining illumination for cameras 3 and 4 is provided above the semiconductor package 1. It is arranged. Upper camera 3
Captures the back surface image of the semiconductor package 1 as a planar image. The oblique camera 4 captures an image of the back surface of the semiconductor package 1 on which the balls 2 are disposed from obliquely above.

【0005】こうして2台のカメラ3、4で撮像した画
像データに基づいて各ボール2の3次元情報(平面位置
(x、y)および高さ位置z)を得、所定の検査が行わ
れる。
In this way, three-dimensional information (plane position (x, y) and height position z) of each ball 2 is obtained based on the image data captured by the two cameras 3 and 4, and a predetermined inspection is performed.

【0006】しかし、上記XYZステージ8により検査
対象の半導体パッケージ1を上カメラ3の真下に搬送し
て位置決めする際に、XYZステージ8の精度、トレイ
7の精度、半導体パッケージ1とトレイ7との遊びによ
るずれ等により、毎回同じ位置に半導体パッケージ1が
搬送され、位置決めがされるとは限らない。
However, when the semiconductor package 1 to be inspected is transported and positioned directly below the upper camera 3 by the XYZ stage 8, the accuracy of the XYZ stage 8, the accuracy of the tray 7, and the accuracy of the The semiconductor package 1 is not always transported to the same position and is not always positioned due to a shift due to play or the like.

【0007】そこで、本格的な検査を行うに先だって、
検査時間を短縮するために、検査対象の半導体パッケー
ジ1の位置(各ボール2の位置)を概略特定しておく必
要がある。
Therefore, prior to performing a full-scale inspection,
In order to shorten the inspection time, it is necessary to roughly specify the position of the semiconductor package 1 to be inspected (the position of each ball 2).

【0008】図19は、こうした検査対象の半導体パッ
ケージ1の位置(各ボール2の位置)を概略特定する従
来技術を示している。
FIG. 19 shows a conventional technique for roughly specifying the position of the semiconductor package 1 to be inspected (the position of each ball 2).

【0009】・設定時 すなわち、図19(a)に示すように、予め、上カメラ
3の撮像画像10内の基準位置(理想位置)に存在する
半導体パッケージ1の一部の画像(コーナ部分)がモデ
ル画像40として記憶されておかれる。さらに検査対象
の各ボール2とモデル画像40との相対位置がベクトル
41として記憶されておかれる。
At the time of setting, that is, as shown in FIG. 19A, a partial image (corner portion) of the semiconductor package 1 existing at a reference position (ideal position) in the captured image 10 of the upper camera 3 in advance. Is stored as the model image 40. Further, the relative position between each ball 2 to be inspected and the model image 40 is stored as a vector 41.

【0010】・検査実行時 図19(b)に示すように、実際の半導体パッケージ1
´の位置は、基準位置1からずれている。そこで、上記
モデル画像40と同じ画像40´が、上カメラ3の撮像
画像10の中から、例えば相関係数を使用したパターン
マッチングを使用して探索される。実際の半導体パッケ
ージ1´上の各ボール2の位置は、モデル画像40の移
動量(ベクトル)42と、上記設定時に記憶しておいた
モデル画像40に対するボール2の相対位置(ベクト
ル)41とに基づき特定することができる。
[0010] At the time of inspection execution As shown in FIG.
The position of 'is shifted from the reference position 1. Therefore, the same image 40 ′ as the model image 40 is searched from the captured image 10 of the upper camera 3 using, for example, pattern matching using a correlation coefficient. The actual position of each ball 2 on the semiconductor package 1 'is determined by the movement amount (vector) 42 of the model image 40 and the relative position (vector) 41 of the ball 2 with respect to the model image 40 stored at the time of the above setting. It can be specified based on

【0011】しかし、この従来技術では、一つのモデル
画像40のみを用いた探索を行っているため、実際の半
導体パッケージ1´が傾いてる場合には精度よく位置を
特定することができない。つまり、傾斜によりパターマ
ッチングの際の相関係数が著しく減少するため、パター
ンマッチングの精度が落ちてしまう。仮にパターンマッ
チングに成功したとしても、計測されているのは平行移
動量だけで半導体パッケージ1の傾き量は計測していな
いため、各ボール2の位置には、傾き量分だけの誤差が
含まれることになる。
However, in this prior art, since the search is performed using only one model image 40, the position cannot be accurately specified when the actual semiconductor package 1 'is inclined. In other words, since the correlation coefficient at the time of putter matching is significantly reduced due to the inclination, the accuracy of pattern matching is reduced. Even if the pattern matching succeeds, only the amount of parallel movement is measured and the amount of inclination of the semiconductor package 1 is not measured, so that the position of each ball 2 includes an error corresponding to the amount of inclination. Will be.

【0012】そこで、こうした欠点を補うために、図2
0に示すように、二種類のモデル画像を用いた探索もな
されている。
In order to compensate for such a disadvantage, FIG.
As shown in FIG. 0, a search using two types of model images is also performed.

【0013】・設定時 すなわち、図20(a)に示すように、予め、上カメラ
3の撮像画像10内の基準位置(理想位置)に存在する
半導体パッケージ1の異なる箇所の画像(コーナ部分)
がモデル画像43A、43Bとして記憶されておかれ
る。また、モデル画像43A、43Bを結ぶ線分44の
位置と傾きが記憶されておかれる。さらにこの線分44
に対する検査対象の各ボール2の相対位置がベクトルと
して記憶されておかれる。
At the time of setting, that is, as shown in FIG. 20A, images (corner portions) of different portions of the semiconductor package 1 existing at a reference position (ideal position) in the captured image 10 of the upper camera 3 in advance.
Are stored as model images 43A and 43B. Further, the position and the inclination of the line segment 44 connecting the model images 43A and 43B are stored. Furthermore, this line segment 44
Is stored as a vector.

【0014】・検査実行時 図20(b)に示すように、実際の半導体パッケージ1
´の位置は、基準位置1に対して所定の平行移動量、傾
きをもってずれている。そこで、上記モデル画像43A
と同じ画像43´Aが、また、上記モデル画像43Bと
同じ画像43´Bがそれぞれ上カメラ3の撮像画像10
の中から、例えば相関係数を使用したパターンマッチン
グを使用して探索される。このとき、探索された画像4
3´A、43´Bを結ぶ線分44´の位置と傾きが計測
される。
At the time of inspection execution As shown in FIG.
The position of 'is shifted from the reference position 1 by a predetermined amount of parallel movement and an inclination. Therefore, the model image 43A
An image 43 ′ A that is the same as the image 43 ′, and an image 43 ′ B that is the same as the model image 43 B
Are searched from among the patterns using, for example, pattern matching using a correlation coefficient. At this time, the searched image 4
The position and inclination of a line segment 44 'connecting 3'A and 43'B are measured.

【0015】実際の半導体パッケージ1´上の各ボール
2の位置は、こうして計測された線分44´の位置、傾
きの設定時の線分44の位置、傾きに対する差分と、上
記設定時に記憶しておいた線分44に対する検査対象の
各ボール2の相対位置とに基づき特定することができ
る。
The actual position of each ball 2 on the semiconductor package 1 'is stored in the position of the line segment 44' thus measured, the position of the line segment 44 when the inclination is set, the difference with respect to the inclination, and at the time of the above setting. It can be specified based on the relative position of each ball 2 to be inspected with respect to the set line segment 44.

【0016】こうして各ボール2は、実際の半導体パッ
ケージ1の傾き量が加味されて、図19の方法よりも精
度よく位置が特定されることになる。
In this way, the position of each ball 2 is specified more accurately than the method shown in FIG. 19, taking into account the actual amount of inclination of the semiconductor package 1.

【0017】[0017]

【発明が解決しようとする課題】しかし、上記検査に用
いられる照明装置9は、半導体パッケージ1上のボール
2のみを浮き出す照明を用いているため、実際の半導体
パッケージ1´の位置はボール2の存在を頼りに探索せ
ざるを得ない。つまり、上記従来技術で用いられるモデ
ル画像43A等の中にはボール2を含めざるを得ない。
However, since the lighting device 9 used for the above inspection uses lighting that lifts only the ball 2 on the semiconductor package 1, the actual position of the semiconductor package 1 'is I have to search depending on the existence of. That is, the ball 2 must be included in the model image 43A and the like used in the above-described conventional technology.

【0018】しかし、検査対象である実際の半導体パッ
ケージ1´は、ボール2自身が欠落していたり、大きく
変形したりしてボール2が不良品であることが多い。こ
のため、こうしたボール2が不良品の半導体パッケージ
1´について、ボール2を含んでいるモデル画像による
パターンマッチングを行うと、パターンマッチングの精
度が落ちたり、場合によってはパターンマッチングその
ものが失敗することもある。
However, in the actual semiconductor package 1 'to be inspected, the ball 2 is often defective because the ball 2 itself is missing or greatly deformed. For this reason, when pattern matching is performed on a semiconductor package 1 ′ having such a defective ball 2 using a model image including the ball 2, the accuracy of the pattern matching is reduced, and in some cases, the pattern matching itself may fail. is there.

【0019】また、図20に示す傾きを考慮したパター
ンマッチングを、斜めカメラ4による撮像画像17´に
ついて行うと、ボール2の位置を正確に把握できないと
いうおそれがある。
If the pattern matching taking into account the inclination shown in FIG. 20 is performed on the image 17 'taken by the oblique camera 4, the position of the ball 2 may not be accurately grasped.

【0020】すなわち、図21に示すように、半導体パ
ッケージ1をXYZステージ8により矢印Eに示すよう
に回転させ、各回転位置で、斜めカメラ4により撮像す
ると、図22(a)、(b)に示すように、撮像画像1
7´内の半導体パッケージ1a、1bは、実際の正方形
の形状に対して台形状に変形するとともに、回転位置ご
とに異なる形状1a、1bで取得される。こうした変形
によりパターンマッチングの精度が低下することがあ
る。さらに、光学系に関して、半導体パッケージ1´が
回転位置に応じてどのように変形するのかを考慮した補
正を加える必要があるため、演算処理が繁雑となり、ボ
ール2の位置を迅速に特定することができないという問
題も招来する。
That is, as shown in FIG. 21, when the semiconductor package 1 is rotated by the XYZ stage 8 as shown by the arrow E and the image is taken by the oblique camera 4 at each rotation position, FIGS. 22 (a) and 22 (b) As shown in FIG.
The semiconductor packages 1a and 1b in 7 'are deformed into a trapezoidal shape with respect to the actual square shape, and are acquired in different shapes 1a and 1b for each rotation position. Such deformation may reduce the accuracy of pattern matching. Further, regarding the optical system, it is necessary to make a correction in consideration of how the semiconductor package 1 'is deformed according to the rotational position, so that the arithmetic processing becomes complicated, and the position of the ball 2 can be quickly specified. There is also the problem of not being able to do so.

【0021】本発明は、こうした実状に鑑みてなされた
ものであり、本格的な外観検査に先立ち、検査対象であ
るワークの上面に、一定の大きさの部材が一定の規則で
複数配列されたワークの位置(たとえば半導体パッケー
ジの位置(各ボールの位置))を概略特定する際に、そ
の処理を精度よく、かつ迅速に行えるようにすることを
解決課題とするものである。
The present invention has been made in view of such a situation, and prior to a full-scale appearance inspection, a plurality of members of a predetermined size are arranged on a top surface of a work to be inspected according to a predetermined rule. It is an object of the present invention to solve the problem in that when a position of a work (for example, a position of a semiconductor package (a position of each ball)) is roughly specified, the processing can be performed accurately and promptly.

【0022】[0022]

【課題を解決するための手段および効果】そこで、この
発明の主たる発明では、ワークの上面に、一定の大きさ
の部材が一定の規則で複数配列されたワークの位置を画
像処理によって検出するワークの位置検出方法におい
て、前記ワークの上面を撮像する撮像行程と、前記撮像
行程で撮像された画像の中から、前記複数の配列部材に
外接する第1の検出領域を切り出す第1の画像処理行程
と、前記第1の画像処理行程で切り出された複数の配列
部材を示す第1の検出領域の中から、一列の部材を示す
第2の検出領域を切り出す第2の画像処理行程と、前記
ワークに対する前記複数の配列部材の既知の相対位置デ
ータと、前記第1の画像処理行程で切り出された複数の
配列部材を示す第1の検出領域とを突き合わせることに
よって、ワークの絶対中心位置を検出するとともに、前
記既知の相対位置データと、前記第2の画像処理行程で
切り出された一列の部材を示す第2の検出領域とを突き
合わせることによって、ワークの姿勢を検出するワーク
位置、姿勢検出行程とを具えるようにしている。
SUMMARY OF THE INVENTION Therefore, in the main invention of the present invention, a work for detecting, by image processing, the position of a work in which a plurality of members of a fixed size are arranged on a top surface of the work according to a fixed rule. In the position detection method, an imaging step of imaging the upper surface of the workpiece and a first image processing step of cutting out a first detection area circumscribing the plurality of array members from an image captured in the imaging step And a second image processing step of cutting out a second detection area indicating a row of members from the first detection areas indicating the plurality of array members cut out in the first image processing step; and By comparing the known relative position data of the plurality of array members with respect to the first detection region indicating the plurality of array members cut out in the first image processing step, it is possible to cut off the workpiece. A work for detecting a posture of the work by detecting a center position and matching the known relative position data with a second detection area indicating a row of members cut out in the second image processing step. A position and posture detection process is provided.

【0023】すなわち、図6、図10に示すように、ワ
ーク1の上面が撮像され、この撮像画像10の中から、
複数の配列部材2、2…に外接する第1の検出領域12
が切り出される。そして、この切り出された複数の配列
部材2、2…を示す第1の検出領域12の中から、一列
の部材2、2…を示す第2の検出領域15が切り出され
る。そして、ワーク1に対する複数の配列部材2、2…
の既知の相対位置データと、切り出された複数の配列部
材2、2…を示す第1の検出領域12とを突き合わせる
ことによって、ワーク1の絶対中心位置Cが検出される
とともに、既知の相対位置データと、切り出された一列
の部材2、2…を示す第2の検出領域15とを突き合わ
せることによって、ワーク1の姿勢φが検出される。
That is, as shown in FIGS. 6 and 10, the upper surface of the work 1 is imaged.
The first detection region 12 circumscribing the plurality of array members 2, 2,...
Is cut out. Are cut out of the first detection area 12 showing the plurality of arranged members 2, 2,.... Then, a plurality of arrangement members 2, 2,.
The absolute center position C of the workpiece 1 is detected by matching the known relative position data with the first detection region 12 indicating the plurality of cut-out arrangement members 2, 2,. The position φ of the work 1 is detected by matching the position data with the second detection area 15 indicating the cut-out members 2, 2,....

【0024】このように、検査対象である実際のワーク
1の部材全体2、2…を単位として第1の検出領域12
が切り出され、一列の部材2、2…を単位として第2の
検出領域15が切り出され、これらに基づきワーク1の
位置C、姿勢φを検出するようにしているので、部材全
体あるいは一列の部材のうちの一部の部材2が欠落して
いたり(図10でEmは欠落部分を示す)、大きく変形
したりしている不良があったとしても、この一部の不良
の部材に影響されることなく、精度よくワーク1の位置
C、姿勢φを検出することができる。
As described above, the first detection area 12 is set in units of the entire members 2, 2,... Of the actual work 1 to be inspected.
Are cut out, and the second detection area 15 is cut out in units of one row of members 2, 2..., And the position C and the posture φ of the work 1 are detected based on these. Even if there is a defect in which some of the members 2 are missing (Em indicates a missing portion in FIG. 10) or the member 2 is greatly deformed, it is affected by the partially defective members. Without this, the position C and posture φ of the work 1 can be accurately detected.

【0025】また、本発明の第2発明では、ワークの上
面に、一定の大きさの部材が格子状に複数配列されたワ
ークの位置を画像処理によって検出するワークの位置検
出方法において、前記ワークの上面を撮像する撮像行程
と、前記撮像行程によって撮像された画像からワーク全
体が含まれる検出領域を切り出す検出領域設定行程と、
前記検出領域設定行程で切り出された検出領域のX軸方
向およびY軸方向のそれぞれについて、画像上の位置
と、この位置に対応する全画素の明度の加算値または加
算値を評価した値との関係を求める演算行程と、前記演
算行程で求められた関係における明度の加算値または加
算値を評価した値のピーク値を抽出するピーク値抽出行
程と、前記ピーク値抽出行程で抽出されたX軸方向にお
ける各ピーク値に対応するX軸方向の各位置を、前記部
材のX軸方向の配列位置であるとするとともに、前記ピ
ーク値抽出行程で抽出されたY軸方向における各ピーク
値に対応するY軸方向の各位置を、前記部材のY軸方向
の配列位置であるとする配列位置検出行程と、前記配列
位置検出行程で得られたX軸方向の部材配列位置と、Y
軸方向の部材配列位置とを突き合わせることによって、
前記複数の配列部材の各X、Y位置を検出する部材位置
検出行程と、前記ワークに対する前記複数の配列部材の
既知の相対位置データと、前記部材位置検出行程で得ら
れた複数の配列部材の各X、Y位置とを突き合わせるこ
とによって、ワークの位置、姿勢を検出するワーク位
置、姿勢検出行程とを具えるようにしている。
According to a second aspect of the present invention, there is provided a work position detecting method for detecting, by image processing, the position of a work in which a plurality of members of a predetermined size are arranged in a grid on the upper surface of the work. An imaging step of imaging the upper surface of the image, and a detection area setting step of cutting out a detection area including the entire work from the image captured by the imaging step,
In each of the X-axis direction and the Y-axis direction of the detection area cut out in the detection area setting process, the position on the image and the sum of the brightness of all the pixels corresponding to this position or the value obtained by evaluating the sum A calculation process for obtaining the relationship, a peak value extraction process for extracting a peak value of a value obtained by evaluating the added value of the brightness or the added value in the relationship obtained in the calculation process, and an X-axis extracted in the peak value extraction process. Each position in the X-axis direction corresponding to each peak value in the direction is defined as an arrangement position in the X-axis direction of the member, and corresponds to each peak value in the Y-axis direction extracted in the peak value extraction process. An arrangement position detection process in which each position in the Y-axis direction is an arrangement position in the Y-axis direction of the member; a member arrangement position in the X-axis direction obtained in the arrangement position detection process;
By matching the member arrangement position in the axial direction,
A member position detection step of detecting each X, Y position of the plurality of arrangement members, known relative position data of the plurality of arrangement members with respect to the workpiece, and a plurality of arrangement members obtained in the member position detection step By comparing the X and Y positions, a work position for detecting the position and posture of the work, and a posture detection process are provided.

【0026】すなわち、図11、図12、図13に示す
ように、ワーク1の上面が撮像され、この撮像画像17
からワーク1全体が含まれる検出領域18A、18B
(20C、20D)が切り出される。そして、この切り
出された検出領域のX軸方向およびY軸方向のそれぞれ
について、画像上の位置22と、この位置22に対応す
る全画素22Aの明度の加算値または加算値を評価した
値Pxとの関係が求められる。そして、この関係におけ
る明度の加算値または加算値を評価した値Pxのピーク
値23が抽出される。そして、この抽出されたX軸方向
における各ピーク値231、232、233、234、23
5、236に対応するX軸方向の各位置x1、x2、x3、
x4、x5、x6が、部材2のX軸方向の配列位置である
とするとともに、抽出されたY軸方向における各ピーク
値に対応するY軸方向の各位置が、部材2のY軸方向の
配列位置であるとされる。
That is, as shown in FIGS. 11, 12, and 13, the upper surface of the work 1 is imaged.
From the detection areas 18A and 18B including the entire work 1
(20C, 20D) is cut out. Then, for each of the X-axis direction and the Y-axis direction of the cut-out detection region, a position 22 on the image and a value Px obtained by evaluating the added value of the brightness of all the pixels 22A corresponding to the position 22 or the added value Is required. Then, the peak value 23 of the value Px obtained by evaluating the added value of the brightness or the added value in this relationship is extracted. Then, each of the extracted peak values 231, 232, 233, 234, 23 in the X-axis direction is extracted.
Each position x1, x2, x3 in the X-axis direction corresponding to 5, 236
It is assumed that x4, x5, and x6 are the array positions of the member 2 in the X-axis direction, and the respective positions in the Y-axis direction corresponding to the extracted peak values in the Y-axis direction are the positions of the members 2 in the Y-axis direction. It is assumed to be an array position.

【0027】そして、図17に示すように、得られたX
軸方向の部材配列位置23A、23Bと、Y軸方向の部
材配列位置23C、23Dとを突き合わせることによっ
て、複数の配列部材2、2…の各X、Y位置(x、y)
が検出される。
Then, as shown in FIG.
By abutting the member arrangement positions 23A and 23B in the axial direction with the member arrangement positions 23C and 23D in the Y axis direction, the X and Y positions (x, y) of the plurality of arrangement members 2, 2,.
Is detected.

【0028】このように、X軸、Y軸ごとに、部材配列
位置を取得し、この得られたX軸方向の部材配列位置2
3A、23Bと、Y軸方向の部材配列位置23C、23
Dとを突き合わせることによって、複数の配列部材2、
2…の各X、Y位置(x、y)を検出するようにしたの
で、ワーク1がたとえばXYZステージ8により回転さ
れ、各回転位置で、斜めカメラ4により撮像され、撮像
画像内のワーク1が変形しており、回転位置ごとに異な
る形状になっていたとしても、これらに影響されること
なく、各部材2の位置を迅速かつ正確に特定することが
できるようになる。
As described above, the member arrangement position is obtained for each of the X axis and the Y axis, and the obtained member arrangement position 2 in the X axis direction is obtained.
3A, 23B and member arrangement positions 23C, 23 in the Y-axis direction
D, the plurality of array members 2,
Since the X and Y positions (x, y) of 2... Are detected, the work 1 is rotated by, for example, the XYZ stage 8, and is imaged by the oblique camera 4 at each rotation position. Is deformed and has a different shape for each rotational position, the position of each member 2 can be quickly and accurately specified without being affected by these.

【0029】[0029]

【発明の実施の形態】以下、図面を参照して本発明に係
る方法および装置の実施の形態について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a method and an apparatus according to the present invention will be described with reference to the drawings.

【0030】図1は、本実施形態で想定している半導体
パッケージ1の検査装置を示すブロック図である。
FIG. 1 is a block diagram showing an inspection device for a semiconductor package 1 assumed in this embodiment.

【0031】同図1に示すように、トレイ7上には複数
の半導体パッケージ1、1…が載置されており、検査対
象のワークである半導体パッケージ1が搬送装置である
XYZステージ8によりカメラ3の真下まで搬送され
る。
As shown in FIG. 1, a plurality of semiconductor packages 1, 1,... Are placed on a tray 7, and a semiconductor package 1 to be inspected is moved by a camera by an XYZ stage 8 as a transfer device. 3 is transported to just below.

【0032】ここで、検査対象の半導体パッケージ1
は、BGA(Ball Glid Array)またはCSP(Chip Si
ze Package)と呼ばれる半導体パッケージであり、図
1、図6に示すように、半導体パッケージ1の裏面にボ
ール状のハンダバンプ2(以下、ボール2という)が2
次元的に格子状に配列されたものであり、半導体パッケ
ージ1はこれらボール2によってプリント配線基盤に直
接ハンダ付けして実装されるようになっている。
Here, the semiconductor package 1 to be inspected is
Is a BGA (Ball Glid Array) or CSP (Chip Si
1 and 6, a ball-shaped solder bump 2 (hereinafter referred to as a ball 2) is formed on the back surface of the semiconductor package 1 as shown in FIGS.
The semiconductor package 1 is dimensionally arranged in a lattice, and the semiconductor package 1 is directly soldered to the printed wiring board by these balls 2 and mounted.

【0033】そして、カメラ3、4の撮像結果に基づき
検査対象の半導体パッケージ1上の各ボール2の高さが
一定になっているか否か等の外観検査がなされる。
Then, based on the imaging results of the cameras 3 and 4, an appearance inspection is performed to determine whether or not the height of each ball 2 on the semiconductor package 1 to be inspected is constant.

【0034】すなわち、図1において、半導体パッケー
ジ1は表裏反転されてトレイ7上に載置されており、こ
の半導体パッケージ1の上方にはカメラ3、4用の照明
を得るための照明装置9が配設されている。上カメラ3
は、半導体パッケージ1の裏面像を平面画像として撮像
する。また、斜めカメラ4でボール2が配設された半導
体パッケージ1の裏面を斜め上方から撮像する。
That is, in FIG. 1, the semiconductor package 1 is placed upside down on a tray 7, and above the semiconductor package 1, an illuminating device 9 for obtaining illumination for the cameras 3 and 4 is provided. It is arranged. Upper camera 3
Captures the back surface image of the semiconductor package 1 as a planar image. The oblique camera 4 captures an image of the back surface of the semiconductor package 1 on which the balls 2 are disposed from obliquely above.

【0035】画像処理用コンピュータ5では、こうして
2台のカメラ3、4で撮像した画像データに基づいて、
各ボール2の3次元情報(平面位置(x、y)および高
さ位置z)が演算されて、所定の外観検査が行われる。
画像処理結果は、適宜TVモニタ6に表示される。
In the image processing computer 5, based on the image data captured by the two cameras 3 and 4,
The three-dimensional information (plane position (x, y) and height position z) of each ball 2 is calculated, and a predetermined visual inspection is performed.
The image processing result is displayed on the TV monitor 6 as appropriate.

【0036】こうした本格的な外観検査を行うに先だっ
て、検査時間を短縮するために、検査対象の半導体パッ
ケージ1の位置(各ボール2の位置)を概略特定してお
く必要がある。この処理についても、画像処理用コンピ
ュータ5により実行される。これは、上記XYZステー
ジ8により検査対象の半導体パッケージ1を上カメラ3
の真下に搬送して位置決めする際に、XYZステージ8
の精度、トレイ7の精度、半導体パッケージ1とトレイ
7との遊びによるずれ等により、毎回同じ位置に半導体
パッケージ1が搬送され、位置決めがされるとは限らな
いからである。
Prior to performing such a full-scale visual inspection, it is necessary to roughly specify the position of the semiconductor package 1 to be inspected (the position of each ball 2) in order to reduce the inspection time. This processing is also executed by the image processing computer 5. This is because the XYZ stage 8 moves the semiconductor package 1 to be inspected to the upper camera 3
XYZ stage 8 when transporting and positioning just below
This is because the semiconductor package 1 is not always conveyed to the same position and positioned every time due to the accuracy of the tray 7, the accuracy of the tray 7, the gap between the semiconductor package 1 and the tray 7, and the like.

【0037】図2から図5は、こうした検査対象の半導
体パッケージ1の位置(各ボール2の位置)を概略特定
する処理内容を示すフローチャートを示している。以
下、図6ないし図18を併せ参照して説明する。
FIGS. 2 to 5 are flowcharts showing processing contents for roughly specifying the position of the semiconductor package 1 to be inspected (the position of each ball 2). Hereinafter, description will be made with reference to FIGS.

【0038】・上カメラ3の撮像画像に基づく処理(図
2、図3)これは、検査対象である半導体パッケージ1
が図21に示すように回転したとしても撮像画像が変形
しない場合の上カメラ3の撮像結果に基づく処理であ
る。
Processing based on the image picked up by the upper camera 3 (FIGS. 2 and 3) This corresponds to the semiconductor package 1 to be inspected.
Is a process based on the imaging result of the upper camera 3 when the captured image is not deformed even when rotated as shown in FIG.

【0039】・半導体パッケージ1の中心位置Cを求め
る処理 すなわち、図6に示すように、上カメラ3によって半導
体パッケージ1の上面が撮像され、この撮像画像10が
取り込まれると(ステップ101)、この撮像画像10
の中の半導体パッケージ1が存在するとされる位置に、
この半導体パッケージ1全体を包含する検査領域11が
設定される。この検査領域11の大きさは、搬送用トレ
イ7の位置決め誤差等を考慮して決定される。具体的に
は、図面横(幅)方向にx軸をとり、図面上下(高さ)
方向にy軸を設定すると、図7(a)に示すように、幅
方向左端位置がxa1、幅方向右端位置がxa2、高さ方向
上端位置がya1、高さ方向下端位置がya2の検査領域1
1aが設定される。つまり、その幅がxa2−xa1、その
高さがya2−ya1で規定される検査領域11aが設定さ
れる(ステップ102)。
Processing for Finding Center Position C of Semiconductor Package 1 That is, as shown in FIG. 6, when the upper surface of the semiconductor package 1 is imaged by the upper camera 3 and the captured image 10 is captured (step 101), Captured image 10
In the position where the semiconductor package 1 is assumed to exist,
An inspection area 11 including the entire semiconductor package 1 is set. The size of the inspection area 11 is determined in consideration of a positioning error of the transport tray 7 and the like. Specifically, the x axis is set in the horizontal (width) direction of the drawing, and the top and bottom (height) of the drawing
When the y-axis is set in the direction, as shown in FIG. 7A, an inspection area in which the left end position in the width direction is xa1, the right end position in the width direction is xa2, the upper end position in the height direction is ya1, and the lower end position in the height direction is ya2. 1
1a is set. That is, the inspection area 11a whose width is defined by xa2-xa1 and its height is defined by ya2-ya1 is set (step 102).

【0040】ついで、この検査領域11aに対してブロ
ブ検出が行われる。つまり、格子状に配列された複数の
ボール群2、2…(以下、これをボール配列という)に
対応する明度の外縁部を、外郭ラインとするボール配列
候補の検出領域が切り出される。最終的には、ボール配
列候補の検出領域が絞り込まれて、図6に示すように、
格子状に配列された複数のボール群2、2…(ボール配
列)に外接する検出領域12が切り出される(ステップ
104〜ステップ118)。
Next, blob detection is performed on the inspection area 11a. In other words, a detection area of a ball arrangement candidate in which the outer edge portion of the brightness corresponding to the plurality of ball groups 2, 2,... Finally, the detection area of the ball arrangement candidate is narrowed down, and as shown in FIG.
The detection area 12 circumscribing the plurality of ball groups 2, 2,... (Ball arrangement) arranged in a lattice is cut out (steps 104 to 118).

【0041】具体的には、まず、図7(a)に示すよう
に、幅がxb2−xb1、高さがyb2−yb1で規定される検
出領域12bが切り出される(ステップ103)。
More specifically, first, as shown in FIG. 7A, a detection area 12b having a width defined by xb2-xb1 and a height defined by yb2-yb1 is cut out (step 103).

【0042】そして、この検出領域12bの幅xb2−x
b1が、既知のボール配列の幅と一致しているか否かが判
断される(ステップ104)。
The width xb2-x of the detection area 12b
It is determined whether or not b1 matches the width of the known ball arrangement (step 104).

【0043】同様に、この検出領域12bの高さyb2−
yb1が、既知のボール配列の高さと一致しているか否か
が判断される(ステップ111)。
Similarly, the height yb2−
It is determined whether or not yb1 matches the height of the known ball arrangement (step 111).

【0044】この結果、検出領域12bの幅xb2−xb1
が、既知のボール配列の幅と一致していないと判断され
た場合には、検出領域は、ボール配列の幅方向について
正確に外接していないと判断して、検出領域を幅方向に
ついて修正する処理が実行され(ステップ105〜ステ
ップ110)、また、検出領域12bの高さyb2−yb1
が、既知のボール配列の高さと一致していないと判断さ
れた場合には、検出領域は、ボール配列の高さ方向につ
いて正確に外接していないと判断して、検出領域を高さ
方向について修正する処理が実行される(ステップ11
2〜ステップ117)。
As a result, the width xb2-xb1 of the detection area 12b is obtained.
However, if it is determined that the detected area does not match the width of the known ball array, the detection area is determined to not accurately circumscribe the width direction of the ball array, and the detection area is corrected in the width direction. The process is executed (steps 105 to 110), and the height yb2-yb1 of the detection area 12b is set.
However, if it is determined that the detection area does not match the height of the known ball array, the detection area is determined to not accurately circumscribe the ball array in the height direction, and the detection area is determined in the height direction. Correction processing is executed (step 11
2 to step 117).

【0045】これは、たとえば、図8に示すように、ブ
ロブ検出時に、基板上のパターンやゴミ等の検出対象外
物13が存在すると、これに外接するように検出領域1
2が切り出されてしまい、本来外接すべきボール配列に
外接しないことがあるからである。
For example, as shown in FIG. 8, when a foreign object 13 to be detected such as a pattern on a substrate or dust is present at the time of detecting a blob, the detection region 1 is circumscribed.
This is because 2 may be cut out and may not circumscribe the ball arrangement that should originally circumscribe.

【0046】以下、検出領域12bの幅xb2−xb1が、
既知のボール配列の幅と一致していないと判断された場
合を代表させて説明する。
Hereinafter, the width xb2-xb1 of the detection area 12b is calculated as follows.
A case where it is determined that the width does not match the width of the known ball arrangement will be described as a representative.

【0047】この場合、手順はステップ105に移行さ
れ、 xc1=xb1+dx xc2=xb2−dx yc2=yb1 yc2=yb2 …(1) のようにして、幅がxc2−xc1、高さがyc2−yc1で規
定される、検出領域12の幅を一定量dxだけ減少させ
た幅再検査領域11cが設定される(図7(a)参
照)。ここで、この一定量dxは、上記検出対象外物1
3の直径よりもやや大きい程度であって、ボール2の半
分程度に設定されている。これは通常の場合、検出対象
外物13の直径はボール2の半分よりも小さいことによ
る(ステップ105)。そして、この幅再検査領域11
cに対してステップ103と同様のブロブ検出が行わ
れ、検出領域が絞り込まれる。こうして、図7(a)に
示すように、幅がxd2−xd1、高さがyd2−yd1で規定
される幅再検出領域12dが切り出される(ステップ1
06)。
In this case, the procedure shifts to step 105, where xc1 = xb1 + dx xc2 = xb2-dx yc2 = yb1 yc2 = yb2 (1), the width is xc2-xc1, the height is yc2-yc1, A specified width re-inspection area 11c is set in which the width of the detection area 12 is reduced by a certain amount dx (see FIG. 7A). Here, the fixed amount dx is equal to the above-mentioned object 1 to be detected.
3 is slightly larger than the diameter of the ball 2 and is set to about half of the ball 2. This is because the diameter of the detection object 13 is usually smaller than half of the ball 2 (step 105). And this width re-inspection area 11
Blob detection similar to that in step 103 is performed on c, and the detection area is narrowed down. In this way, as shown in FIG. 7A, a width re-detection area 12d whose width is defined by xd2-xd1 and whose height is defined by yd2-yd1 is cut out (step 1).
06).

【0048】ついで、この幅再検出領域12dの絞り込
まれた幅方向の外郭ラインが、幅再検査領域11cの外
郭ラインと一致しているか否かが判断される。
Next, it is determined whether or not the contour line in the width direction narrowed down in the width re-detection area 12d matches the contour line in the width re-inspection area 11c.

【0049】具体的には、 xd1−xb1≦dx …(2) xb2−xd2≦dx …(3) を満たしているか否かが判断される(ステップ107、
ステップ108)。
Specifically, it is determined whether or not xd1−xb1 ≦ dx (2) xb2−xd2 ≦ dx (3) (step 107,
Step 108).

【0050】上記(2)式または(3)式を満足してい
ない場合には、それぞれ最初の検出領域12bの外郭ラ
インは、正確でなかったものとして、これを修正すべ
く、 xa1=xd1 …(4) xa2=xd2 …(5) と、最初の検査領域11aの外郭ラインを修正する処理
が実行される(ステップ108、ステップ110)。
If the above equation (2) or (3) is not satisfied, the outer line of the first detection area 12b is assumed to be inaccurate, and xa1 = xd1. (4) xa2 = xd2 (5), and processing for correcting the outer line of the first inspection area 11a is executed (steps 108 and 110).

【0051】具体的には、図9に示すように、再検出領
域12´(12d)の絞り込まれた外郭ラインの位置x
d2と、最初の検出領域12(12b)の外郭ラインの位
置xb2との距離が一定量dxに一致している場合
((3)式を満足している場合)には、検出領域の外郭
ラインとして、最初に切り出された検出領域12(12
b)の位置xb2が正しいものとして修正はされないが
(ステップ109の判断「はい」)、再検出領域12´
(12d)の絞り込まれた外郭ラインの位置xd1と、最
初の検出領域12(12b)の外郭ラインの位置xb1と
の距離が一定量dxよりも大きい場合((2)式を満足
していない場合)には、検出領域の外郭ラインとして、
最初に切り出された検出領域12(12b)の位置xb2
は正しくない(検出対象外物13に外接している)とし
て、再検出領域12´(12d)の位置xd1が正しい
(と推定して)として修正((4)式)がなされる。
Specifically, as shown in FIG. 9, the position x of the narrowed outer line in the re-detection area 12 '(12d)
If the distance between d2 and the position xb2 of the outer line of the first detection area 12 (12b) matches the fixed amount dx (when the expression (3) is satisfied), the outer line of the detection area As the detection area 12 (12
Although the position xb2 of b) is not corrected as being correct (determination "Yes" in step 109), the re-detection area 12 '
When the distance between the narrowed outer line position xd1 of (12d) and the outer line position xb1 of the first detection area 12 (12b) is larger than the fixed amount dx (when the expression (2) is not satisfied) ) Is the outer line of the detection area,
The position xb2 of the detection region 12 (12b) cut out first
Is incorrect (circumscribes the object 13 to be detected), and the position xd1 of the re-detection area 12 '(12d) is corrected (estimated) and corrected (Equation (4)).

【0052】検出領域の幅方向の絞り込みについて説明
したが、検出領域の高さ方向の絞り込みについても同様
の処理が実行される(ステップ112〜ステップ11
7)。
Although the narrowing down of the detection area in the width direction has been described, the same processing is executed for the narrowing down of the detection area in the height direction (steps 112 to 11).
7).

【0053】つぎのステップ118では、検出領域に修
正がないか否かが判断される。すなわち、上述したよう
に、図9の位置xd1に示すように、検出領域の外郭ライ
ンが最初の検出領域12bの外郭ラインではなくて、再
検出領域12dの絞り込まれた外郭ラインの位置xd2が
正しいものとの修正があった場合には、このステップ1
18の判断は「いいえ」となり、ステップ108、ステ
ップ110、ステップ115、ステップ117に示すよ
うに、再検出領域12dの絞り込まれた外郭ライン位置
を、最初の検査領域11aの外郭ライン位置に設定し直
した上で、再度、検出領域を絞り込んでいく処理が実行
される(ステップ103〜ステップ117)。
In the next step 118, it is determined whether or not the detection area has been corrected. That is, as described above, as shown in the position xd1 of FIG. 9, the outer line of the detection area is not the outer line of the first detection area 12b, but the position xd2 of the narrowed outer line of the re-detection area 12d is correct. If there are any modifications,
The determination at 18 is "No", and as shown in Steps 108, 110, 115 and 117, the contour line position narrowed down in the re-detection area 12d is set to the contour line position of the first inspection area 11a. After the correction, the process of narrowing down the detection area is executed again (steps 103 to 117).

【0054】この結果、最終的に検出領域は、ボール配
列に外接する領域に収束することになる(ステップ10
4の判断「はい」かつステップ111の判断「はい」)
かつステップ118の判断「はい」。
As a result, the detection area finally converges to an area circumscribing the ball arrangement (step 10).
(Yes in step 4 and Yes in step 111)
In addition, the determination in step 118 is “Yes”.

【0055】そこで、図6に示すように、ボール配列に
外接する検出領域12の中心位置Cの座標位置(xp、
yp)が、 xp=(xb1+xb2)/2 yp=(yb1+yb2)/2 …(6) と、最終的に得られた検出領域12bの外郭ライン位置
xb1、xb2、yb1、yb2に基づき求められる(ステップ
119)。
Therefore, as shown in FIG. 6, the coordinate position (xp,
yp) is obtained based on xp = (xb1 + xb2) / 2 yp = (yb1 + yb2) / 2 (6) and the finally obtained outer line positions xb1, xb2, yb1, and yb2 of the detection area 12b (step). 119).

【0056】このように、本実施形態によれば、検査対
象である実際の半導体パッケージ1のボール配列2、2
…を単位として検出領域12が切り出され、これに基づ
き半導体パッケージ1の中心位置Cを求めるようにした
ので、ボール配列2、2…のうちのボール2が欠落して
いたりしている不良があったとしても、この一部の不良
に影響されることなく、精度よくワーク1の中心位置C
を検出することができる。
As described above, according to the present embodiment, the ball arrangements 2, 2 of the actual semiconductor package 1 to be inspected are
The detection area 12 is cut out in units of..., And the center position C of the semiconductor package 1 is determined based on the detection area 12. Therefore, there is a defect that the ball 2 of the ball arrangements 2, 2,. Even if the center position C of the work 1 is accurately determined without being affected by the partial defect,
Can be detected.

【0057】・半導体パッケージ1の姿勢角φを求める
処理 以上のようにして検査対象の半導体パッケージ1の中心
位置Cが求められると、つぎにその姿勢角、つまり傾き
を求める処理が図3に示すように実行される。
Process for Determining Attitude Angle φ of Semiconductor Package 1 Once the center position C of the semiconductor package 1 to be inspected is determined as described above, the process for determining the attitude angle, that is, the inclination, is shown in FIG. Is performed as follows.

【0058】すなわち、図10(a)に示すように、切
り出されたボール配列2、2…に外接する検出領域12
あるいはこれに相当する領域14に対して、半導体パッ
ケージ1の傾きを検出するための探索領域15が作成さ
れる。この探索領域15は、その中に、一列のボール
2、2…(のみ)が含まれるように画像から切り出され
る。一列のボール2、2…は、検出領域12の外郭ライ
ンの一片12a周辺付近に存在する可能性が高いので、
この位置周辺に探索領域15が設定される。探索領域1
5の長さは、検出領域12の外郭ラインの一片12aの
長さよりもやや大きい程度であり、その幅は、図10
(b)に示すようにボール配列が傾いている場合も考慮
してボール配列のピッチの2倍程度に設定されている。
このような大きさに設定することによって、一列のボー
ル2、2…のみを確実に探索領域15内に含めることが
できる(ステップ201)。
That is, as shown in FIG. 10A, the detection area 12 circumscribing the cut ball arrangements 2, 2,...
Alternatively, a search area 15 for detecting the inclination of the semiconductor package 1 is created for the area 14 corresponding to this. This search area 15 is cut out from the image so that a row of balls 2, 2,... (Only) is included therein. Since there is a high possibility that the balls 2, 2,... In one row exist around the piece 12a of the outer line of the detection area 12,
A search area 15 is set around this position. Search area 1
5 is slightly larger than the length of one piece 12a of the outer line of the detection area 12, and the width thereof is as shown in FIG.
The pitch is set to about twice the pitch of the ball arrangement in consideration of the case where the ball arrangement is inclined as shown in FIG.
.. Can be reliably included in the search area 15 (Step 201).

【0059】一列のボール2、2…の個々のボール2の
探索は、例えば相関係数を用いたパターンマッチングに
よって行われ(ステップ202)、一列の各ボール2の
位置(x、y)が検出される(ステップ203)。
The search for each of the balls 2 in a row is performed, for example, by pattern matching using a correlation coefficient (step 202), and the position (x, y) of each ball 2 in the row is detected. Is performed (step 203).

【0060】ついで、探索した一列の各ボールの位置
(x、y)に基づいて、これら各位置を結ぶ直線16
(図10(a)参照)が、例えば最小2乗直線(回帰直
線)として求められ、この直線の傾きが演算される(ス
テップ204)。そして、この直線の傾きが半導体パッ
ケージ1の傾きφとされる(ステップ205)。
Then, based on the positions (x, y) of the balls in the row searched, a straight line 16 connecting these positions is provided.
(See FIG. 10A), for example, is obtained as a least-squares straight line (regression line), and the slope of this straight line is calculated (step 204). Then, the inclination of this straight line is defined as the inclination φ of the semiconductor package 1 (step 205).

【0061】このように、検査対象である実際の半導体
パッケージ1の一列のボール2、2…を単位として探索
領域15が切り出され、これに基づき半導体パッケージ
1の姿勢角(傾き)φを検出するようにしているので、
図10(b)のEmに示すように、一列のボールのうち
の一部のボールが欠落していたり、大きく変形したりし
ている不良があったとしても、この一部の不良に影響さ
れることなく、他の不良でないボール2a、2bの位置
に基づき精度よくボール列を示す直線の傾きΔy/Δx
を求め、半導体パッケージ1の姿勢角φを検出すること
ができる。
As described above, the search area 15 is cut out in units of one row of balls 2, 2,... Of the actual semiconductor package 1 to be inspected, and the attitude angle (tilt) φ of the semiconductor package 1 is detected based on this. So that
As shown by Em in FIG. 10B, even if there is a defect that some of the balls in the row are missing or greatly deformed, they are affected by these defects. And the inclination Δy / Δx of the straight line indicating the ball row based on the positions of the other non-defective balls 2a and 2b.
And the attitude angle φ of the semiconductor package 1 can be detected.

【0062】なお、探索領域15は、検出領域12の外
郭ラインの一片12a周辺付近に設定しているが、ボー
ル配列の中心付近に設定するような実施も可能である。
例えば、図10(a)に示すように縦方向が4列(偶
数)のボール配列の場合、検査領域12の中心12aよ
りも半ピッチ上の位置にボール列が存在することが予め
わかっているので、この位置に、探索領域15の中心1
5aが一致するように探索領域15を設定すればよい。
Although the search area 15 is set in the vicinity of the piece 12a of the outer line of the detection area 12, the search area 15 may be set in the vicinity of the center of the ball array.
For example, as shown in FIG. 10A, in the case of a ball array having four rows (even number) in the vertical direction, it is known in advance that the ball row exists at a position half a pitch above the center 12a of the inspection area 12. Therefore, the center 1 of the search area 15 is located at this position.
What is necessary is just to set the search area 15 so that 5a may correspond.

【0063】以上のようにして、ボール配列の中心位
置、ボール列の傾きが、そのまま半導体パッケージ1の
中心位置C、傾きφとして求められる。
As described above, the center position of the ball array and the inclination of the ball row are directly obtained as the center position C and the inclination φ of the semiconductor package 1.

【0064】なお、半導体パッケージ1に対し、その上
のボール配列がオフセットされていたり、相対的な傾き
を持っている場合には、半導体パッケージ1に対するボ
ール配列2、2…の既知の相対位置データ、相対姿勢角
データと、上述したように検出されたボール配列の中心
位置、ボール列の傾きとに基づいて、半導体パッケージ
1の中心位置C、傾きφを求めることができる。
If the ball arrangement above the semiconductor package 1 is offset or has a relative inclination, the known relative position data of the ball arrangements 2, 2,. The center position C and the inclination φ of the semiconductor package 1 can be obtained based on the relative attitude angle data, the center position of the ball array detected as described above, and the inclination of the ball row.

【0065】ところで、図10(a)に示す本実施形態
では、検出領域12(あるいはこれに相当する領域1
4)内のボール配列2、2…が等ピッチで格子状に配列
されていることを前提としている。しかし、半導体パッ
ケージ1の種類によっては、図23に示すように、検出
領域12(あるいはこれに相当する領域14)内のボー
ル配列が等ピッチではなく、たとえば真ん中のいくつか
の列の部分のボール2が抜けた配列となっているものが
ある。
In the present embodiment shown in FIG. 10A, the detection area 12 (or the area 1 corresponding thereto) is used.
.. In 4) are arranged in a grid pattern at an equal pitch. However, depending on the type of the semiconductor package 1, as shown in FIG. 23, the ball arrangement in the detection area 12 (or the area 14 corresponding thereto) is not at a constant pitch. In some cases, 2 is missing.

【0066】そこで、このようにボール配列が等ピッチ
でないという情報が予めわかっている場合には、この情
報に基づいて、一列のボール2、2…が確実に含まれる
箇所に探索領域15´を設定することができる。
If the information that the ball arrangement is not equal pitch is known in advance, the search area 15 'is set to a position where the row of balls 2, 2,... Can be set.

【0067】たとえば、図23に示される中央のいくつ
かの列の部分のボール2が抜けている検出領域12に対
しては、「左から2番目から4番目の列にボールの抜け
あり、左端の列(左から1番目の列)と右端の列(左か
ら5番目の列)のボールのみあり」という情報に基づい
て、確実に一列のボール2、2…が含まれる、列方向の
探索領域15´を設定することができ、一列のボールを
示す直線16を正確に求めることができる。これによ
り、ボールの抜けのある行方向の探索領域15″を誤っ
て設定してしまうことが防止される。
For example, with respect to the detection area 12 in which the balls 2 in some central rows shown in FIG. 23 are missing, “the balls are missing in the second to fourth rows from the left, Column (first column from the left) and the rightmost column (fifth column from the left) ", the search in the column direction surely includes the balls 2, 2,. The area 15 'can be set, and the straight line 16 indicating a row of balls can be obtained accurately. This prevents the search area 15 ″ in the row direction where the ball is missing from being set by mistake.

【0068】・斜めカメラ4の撮像画像に基づく処理
(図4、図5) これは、検査対象である半導体パッケージ1が図21に
示すように回転した場合に、図22に示すように撮像画
像(撮像画像中の半導体パッケージの外形)が変形する
場合に行われる処理であり、処理内容は図4、図5に示
される。
Processing based on the image captured by the oblique camera 4 (FIGS. 4 and 5) This is because when the semiconductor package 1 to be inspected rotates as shown in FIG. 21, the image captured as shown in FIG. This processing is performed when (the outer shape of the semiconductor package in the captured image) is deformed, and the processing contents are shown in FIGS.

【0069】すなわち、図11、図12に示すように、
斜めカメラ4により検査対象の半導体パッケージ1の上
面が斜め方向から撮像され、この撮像画像17が取り込
まれる。そして、この撮像画像17から半導体パッケー
ジ1全体が含まれる検出領域18A、18B(20C、
20D)が切り出される(ステップ301)。
That is, as shown in FIGS. 11 and 12,
The oblique camera 4 captures an image of the upper surface of the semiconductor package 1 to be inspected from an oblique direction, and captures the captured image 17. Then, from the captured image 17, the detection regions 18A and 18B (20C,
20D) is cut out (step 301).

【0070】そして、この切り出された検出領域のx軸
方向およびy軸方向のそれぞれについて、画像上の位置
x(あるいはy)と、この位置x(あるいはy)に対応
する全画素22Aの明度の加算値または加算値を評価し
た値Pxとの関係が図13(b)に示すように求められ
る。
Then, in each of the x-axis direction and the y-axis direction of the extracted detection area, the position x (or y) on the image and the brightness of all the pixels 22A corresponding to the position x (or y) are determined. The added value or the relationship with the evaluated value Px is obtained as shown in FIG.

【0071】具体的には、x軸方向の上記関係について
は、図11に示すように検出領域18A、18Bをy軸
方向に、上領域18A、下領域18Bに分割し、これら
各分割領域18A、18B毎に求められる(ステップ3
05、ステップ306)。そして、y軸方向の上記関係
については、図12に示すように検出領域20C、20
Dをx軸方向に、左領域20C、右領域20Dに分割
し、これら各分割領域20C、20D毎に求められる
(ステップ302、ステップ303)。
More specifically, as for the above relationship in the x-axis direction, as shown in FIG. 11, the detection areas 18A and 18B are divided into an upper area 18A and a lower area 18B in the y-axis direction. , 18B (step 3
05, step 306). Then, as for the above relationship in the y-axis direction, as shown in FIG.
D is divided into a left region 20C and a right region 20D in the x-axis direction, and is obtained for each of the divided regions 20C and 20D (steps 302 and 303).

【0072】左領域20C、右領域20D、上領域18
A、下領域18Bについて行われる処理は、図5に示さ
れるように同様であるので、以下、下領域18Bについ
ての処理を代表させて説明する。
The left area 20C, the right area 20D, and the upper area 18
A, since the processing performed on the lower area 18B is the same as shown in FIG. 5, the processing on the lower area 18B will be described below as a representative.

【0073】すなわち、図4においてステップ306に
処理が進むと、手順は図5に示すボール列検出のサブル
ーチンに移行される。
That is, when the process proceeds to step 306 in FIG. 4, the procedure shifts to the ball row detection subroutine shown in FIG.

【0074】そして、図5のステップ401において、
図13(a)に示すように、下領域18Bの各位置x毎
に、位置xに対応する画素22、つまりy軸方向一列の
全画素22Aの明度を加算する処理が実行される。
Then, in step 401 of FIG.
As shown in FIG. 13A, for each position x of the lower region 18B, a process of adding the brightness of the pixels 22 corresponding to the position x, that is, all the pixels 22A in one row in the y-axis direction is executed.

【0075】このようにして画像上の位置xと、この位
置xに対応するy軸方向一列の全画素22Aの明度の加
算値(これをピクセル値という)Pxとの関係が、図1
3(b)に示すように求められる。なお、明度の加算値
の代わりに、これと同等な値、たとえば明度の加算値の
平均値等を用いるようにしてもよい。
As described above, the relationship between the position x on the image and the added value (hereinafter referred to as pixel value) Px of the brightness of all the pixels 22A in one row in the y-axis direction corresponding to this position x is shown in FIG.
3 (b). Instead of the brightness value, an equivalent value, for example, an average value of the brightness value may be used.

【0076】そして、図13(b)に示すように、ピク
セル値Pxのピーク値23が抽出される。つまり、ピク
セル値Pxの各ピーク値231、232、233、234、
235、236が求められ、これら各ピーク値231、2
32、233、234、235、236に対応するx軸上の
各位置x1、x2、x3、x4、x5、x6が、下領域18B
におけるボール2のx軸方向の配列候補位置であるとさ
れる。なお、ピーク値の検出は、図13(b)に示す曲
線を微分処理する等して求めることができる(ステップ
402)。
Then, as shown in FIG. 13B, the peak value 23 of the pixel value Px is extracted. That is, the peak values 231, 232, 233, 234,
235 and 236 are obtained, and these peak values 231 and 2
The positions x1, x2, x3, x4, x5, and x6 on the x-axis corresponding to 32, 233, 234, 235, and 236 correspond to the lower region 18B.
Is the array candidate position of the ball 2 in the x-axis direction. The peak value can be detected by differentiating the curve shown in FIG. 13B (step 402).

【0077】このようにして、図11に示す下領域18
Bにおける上下のボール2、2を一塊りのボール19と
みたとき、この一塊りのボール19のx軸方向の配列位
置(以下、ボール列という:矢印にて示す)が検出され
る。
Thus, the lower region 18 shown in FIG.
When the upper and lower balls 2 and 2 in B are regarded as a single ball 19, an arrangement position of the single ball 19 in the x-axis direction (hereinafter, referred to as a ball row: indicated by an arrow) is detected.

【0078】ただし、この段階で得られたボール列は、
検査対象の半導体パッケージ1上のボール列のみを示す
ものとは限らない。これは、たとえば、検査対象に隣接
する別の半導体パッケージ1(同じトレイ7上に載って
いる)上のボール2を誤検出する可能性があるからであ
る。また、検査対象の半導体パッケージ1についてのも
のであっても、半導体パッケージ1上のゴミや配線パタ
ーン、搬送用のトレイ7の一部(縁部分)をピーク値と
して捕らえてしまうこともあるからである。また、ボー
ル2を斜めから撮像しているため、図16に示すよう
に、ボール2のトップ部分2´とボール2を支持するパ
ッド30とが(図16(b)参照)、撮像画像上で2つ
の分離した像(図16(a)参照)として捕らえられる
ことによって、ピーク値が実際のものよりも増えてしま
うことがあるからである。
However, the ball row obtained at this stage is:
It does not necessarily indicate only the ball row on the semiconductor package 1 to be inspected. This is because, for example, the ball 2 on another semiconductor package 1 (mounted on the same tray 7) adjacent to the inspection target may be erroneously detected. In addition, even for the semiconductor package 1 to be inspected, dust or wiring patterns on the semiconductor package 1 or a part (edge) of the tray 7 for transport may be captured as a peak value. is there. Further, since the ball 2 is imaged obliquely, as shown in FIG. 16, the top portion 2 'of the ball 2 and the pad 30 supporting the ball 2 (see FIG. 16B) are displayed on the captured image. This is because the peak value may be increased from the actual value by being captured as two separate images (see FIG. 16A).

【0079】そこで、ピーク間距離が求められ、ピーク
間距離の最頻値dが取得され(ステップ403)、この
ピーク間距離の最頻値dと他のピーク間距離d´、d″
とが比較され、その差が一定のしきい値以上になったと
ころで、別のグループに属するピークであると判断され
る。たとえば、図14の場合、ピーク間距離がd(最頻
値)となっているピークが一つのグループとされ、ピー
ク間距離がd´、d″になっているピーク23´、2
3″は別のグループに属するものと判断される(ステッ
プ404)。
Then, the peak-to-peak distance is obtained, the mode d of the peak-to-peak distance is obtained (step 403), and the mode d of the peak-to-peak distance and the other peak-to-peak distances d 'and d ".
Are compared with each other, and when the difference is equal to or greater than a certain threshold value, it is determined that the peak belongs to another group. For example, in the case of FIG. 14, peaks whose peak-to-peak distance is d (mode) are grouped into one group, and peaks 23 'and 2' whose peak-to-peak distances are d 'and d "
3 "is determined to belong to another group (step 404).

【0080】こうして各ピーク23を各グループに分類
し(ステップ405)、各グループ毎に、グループに含
まれるピークの数と、検査対象の半導体パッケージ1の
既知のボール列の個数とが比較される(ステップ40
6)。
Thus, each peak 23 is classified into each group (step 405), and for each group, the number of peaks included in the group is compared with the number of known ball rows of the semiconductor package 1 to be inspected. (Step 40
6).

【0081】この結果、グループに含まれるピーク数と
実際のボール列の個数とが一致した場合には、ステップ
402で得られたピークは、正確に検査対象の半導体パ
ッケージ1上のボール列を捕らえているものとして、図
13(b)に示す各ピーク位置x1、x2、x3…をボー
ル列位置23B(図17(a)参照)であると確定する
(ステップ417)。
As a result, when the number of peaks included in the group matches the actual number of ball rows, the peak obtained in step 402 accurately captures the ball row on the semiconductor package 1 to be inspected. It is determined that the peak positions x1, x2, x3... Shown in FIG. 13B are the ball row positions 23B (see FIG. 17A) (step 417).

【0082】しかし、グループに含まれるピーク数が、
実際のボール列の個数よりも1個ないし2個だけ多い場
合には、ステップ402で得られたピークは、正確に検
査対象の半導体パッケージ1上のボール列を捕らえてい
ないものとして、このグループに含まれる両端のピーク
について、それがボール2であるかどうかを確かめる処
理が実行される。すなわち、いま図15に示すように、
実際の個数が4個(4列)のボール列のものに対して、
5個のピーク23のグループが検出されたものとする
と、このグループの両端のピーク23a、23bに対応
する領域24a、24bについてそれぞれ、ボール2の
形状をモデルとするパターンマッチングが行われ、これ
らピーク23a、23bがボール2であるか否かの判別
がなされる(ステップ407)。この判別は、グループ
の両端それぞれについて実行される(ステップ41
0)。
However, the number of peaks included in the group is
If the number of ball rows is one or two more than the actual number of ball rows, the peak obtained in step 402 is regarded as not accurately capturing the ball row on the semiconductor package 1 to be inspected, and is included in this group. With respect to the included peaks at both ends, a process of confirming whether or not the peak is the ball 2 is executed. That is, as shown in FIG.
For the actual number of 4 (4 rows) ball rows,
Assuming that a group of five peaks 23 is detected, pattern matching is performed on the regions 24a and 24b corresponding to the peaks 23a and 23b at both ends of the group by using the shape of the ball 2 as a model. It is determined whether or not 23a and 23b are balls 2 (step 407). This determination is performed for both ends of the group (step 41).
0).

【0083】このパターンマッチングの結果、グループ
のそれぞれの端部において、ボール2が見つかった場合
には(ステップ408、ステップ411の判断「は
い」)、対応するピークをグループ内のピーク個数の中
にカウントするとともに、グループのそれぞれの端部に
おいて、ボール2が見つからなかった場合には(ステッ
プ408、ステップ411の判断「いいえ」)、対応す
るピークをグループ内のピーク個数の中にカウントせ
ず、グループから削除する処理を実行する(ステップ4
09、ステップ412)。
As a result of the pattern matching, if the ball 2 is found at each end of the group (determination of “Yes” in steps 408 and 411), the corresponding peak is included in the number of peaks in the group. In addition to counting, if the ball 2 is not found at each end of the group (decision “NO” in step 408 and step 411), the corresponding peak is not counted in the number of peaks in the group, Execute processing to delete from the group (step 4
09, step 412).

【0084】最終的にグループ内のピークの個数を求め
(ステップ413)、このグループに含まれるピーク数
と実際のボール列の個数とが一致した場合には、ステッ
プ413で得られたピークは、正確に検査対象の半導体
パッケージ1上のボール列を捕らえているものとして、
これら各ピークのx軸上の位置をボール列位置23B
(図17(a)参照)であると確定する。たとえば、図
15において、一方の端部のピーク23aが削除され、
他方の端部のピーク23bがボール2を示すものとして
グループ内のピークとしてカウントされた場合には、グ
ループ内のピーク数(4)と実際のボール列の個数
(4)が一致して、23aを除く各ピークのx軸上の位
置がボール列位置23Bとされる(ステップ417)。
Finally, the number of peaks in the group is determined (step 413). If the number of peaks included in this group matches the actual number of ball rows, the peak obtained in step 413 is Assuming that the ball row on the semiconductor package 1 to be inspected is accurately captured,
The positions of these peaks on the x-axis are represented by the ball row position 23B.
(See FIG. 17A). For example, in FIG. 15, the peak 23a at one end is deleted,
When the peak 23b at the other end is counted as a peak in the group as indicating the ball 2, the number of peaks (4) in the group matches the actual number of ball rows (4), and the peak 23b is determined. The positions on the x-axis of the peaks except for are set as the ball row position 23B (step 417).

【0085】しかし、グループに含まれるピーク数が、
実際のボール列の個数に一致していない場合には、別の
グループが存在しない限り(ステップ414の判断「い
いえ」)、ステップ413で得られたピークは、正確に
検査対象の半導体パッケージ1上のボール列を捕らえて
いないものとして、ボール列の検出に失敗したものとし
て処理を終了させる(ステップ415)。ステップ40
6において、グループに含まれるピーク数が、実際のボ
ール列の個数よりも少なかった場合にも、別のグループ
が存在しない限り(ステップ414の判断「いい
え」)、ボール列の検出に失敗したものとして処理を終
了させる(ステップ415)。
However, the number of peaks included in the group is
If the number does not match the actual number of ball rows, the peak obtained in step 413 is accurately displayed on the semiconductor package 1 to be inspected unless another group exists (determination “No” in step 414). The processing is terminated assuming that the ball row has not been captured and that the detection of the ball row has failed (step 415). Step 40
In step 6, even if the number of peaks included in the group is smaller than the actual number of ball rows, the detection of the ball row fails unless another group exists (determination "No" in step 414). And the process is terminated (step 415).

【0086】別のグループが存在している場合には(ス
テップ414の判断「はい」)、このグループについ
て、同様の処理(ステップ406〜415)を実行させ
る(ステップ416)。
If another group exists (determination "Yes" in step 414), the same processing (steps 406 to 415) is executed for this group (step 416).

【0087】以上のようにして、図17(a)に示すよ
うに下領域18Bについてボール列23Bが取得され
(ステップ306)、同様にして上領域18Aについて
ボール列23Aが取得される(ステップ305)。
As described above, the ball row 23B is obtained for the lower area 18B as shown in FIG. 17A (step 306), and similarly, the ball row 23A is obtained for the upper area 18A (step 305). ).

【0088】この結果、これら上下のボール列23A、
23Bを結ぶ直線26が求められる(ステップ30
7)。
As a result, these upper and lower ball rows 23A,
A straight line 26 connecting 23B is obtained.
7).

【0089】同様にして、左領域20Cについてボール
列23Cが取得され(ステップ302)、右領域20D
についてボール列23Dが取得される(ステップ30
3)ので、これら左右のボール列23C、23Dを結ぶ
直線25を求めることができる(ステップ304)。
Similarly, a ball row 23C is obtained for the left area 20C (step 302), and the right area 20D is obtained.
The ball row 23D is obtained for (step 30)
3) Therefore, a straight line 25 connecting these left and right ball rows 23C and 23D can be obtained (step 304).

【0090】これら直線25、26の交点が、実際の半
導体パッケージ1のボール2の候補位置となる。
The intersection of these straight lines 25 and 26 is the actual candidate position of the ball 2 of the semiconductor package 1.

【0091】しかし、実際には、半導体パッケージ1上
のボール2はすべての交点上に存在しているわけではな
く、図17(b)に示すように一定の配列パターンをも
って、一部の交点上のみに存在している。
However, actually, the balls 2 on the semiconductor package 1 do not exist on all the intersections, but have a certain arrangement pattern as shown in FIG. Exists only in.

【0092】そこで、図17(c)に示すように、既知
のボール配列パターンを示すデータ(図17(b))
と、直線25、26の交点とを突き合わせて、ボール配
列パターンで示される交点のみを抽出し、この抽出した
各交点が検査対象の各ボール2の位置(概略位置)
(x、y)であると決定する(ステップ309)。
Therefore, as shown in FIG. 17C, data indicating a known ball arrangement pattern (FIG. 17B)
And the intersections of the straight lines 25 and 26 are matched to extract only the intersections indicated by the ball arrangement pattern, and each of the extracted intersections is the position (approximate position) of each ball 2 to be inspected.
(X, y) is determined (step 309).

【0093】なお、本実施形態において、検出領域を、
上下あるいは左右の領域に分割して、各分割領域毎にボ
ール列を検出するようにしているのは、つぎのような理
由による。すなわち、図18に示すように、検出領域全
体18A、18Bについてボール列を検出しようとする
と、撮像画像上の半導体パッケージ1に対して検出領域
18A、18Bが傾いているために、一方の列に含まれ
るボール2Aとこれに隣接する他の列に含まれるボール
2Bを同じ位置xにおける一塊りのボール19であると
誤検出してしまうおそれがあるからである。
In the present embodiment, the detection area is
The reason why the ball array is divided into upper and lower or left and right regions and a ball row is detected for each divided region is as follows. That is, as shown in FIG. 18, when trying to detect a ball row for the entire detection area 18A, 18B, since the detection areas 18A, 18B are inclined with respect to the semiconductor package 1 on the captured image, the ball row is This is because the ball 2A included and the ball 2B included in another row adjacent to the ball 2A may be erroneously detected as a single ball 19 at the same position x.

【0094】ただし、このような問題が生じなければ、
検出領域を分割することなくx軸方向、y軸方向ごとに
それぞれ一の領域をもってボール列を検出するようにし
てもよい。
However, if such a problem does not occur,
The detection of the ball row may be performed in each of the x-axis direction and the y-axis direction without dividing the detection area.

【0095】また、検出領域を上下に2分割、左右に2
分割して、分割領域全体をボール列の検出対象とするの
ではなく、分割した領域、たとえば下領域18Bのうち
外郭ラインに近い部分の2/3程度のみをボール列の検
出対象としてもよい。
The detection area is divided into two parts vertically and two parts left and right.
Instead of dividing the entire divided area as a ball row detection target, only the divided area, for example, about / of a portion near the outer line in the lower area 18B may be the ball row detection target.

【0096】また、ボール列の検出に失敗した場合に
は、ボール列の検出対象(たとえば上述した下領域18
Bの2/3程度の領域)をさらに1ピッチ分だけ狭め
て、再度ボール列の検出にリトライするようにしてもよ
い。
If the detection of the ball row fails, the ball row detection target (for example, the lower area
The area (about / of B) may be further narrowed by one pitch, and the detection of the ball row may be retried again.

【0097】ところで、図11、12に示す本実施形態
では、各検出領域18A、18B、20C、20D内の
ボール列2、2…が等ピッチで配列されていることを前
提としている。しかし、図23で説明したのと同様に、
半導体パッケージ1の種類によっては、図24に示すよ
うに、たとえば検出領域20C(左領域)内のボール列
が等ピッチではなく、真ん中のいくつかのボール2が抜
けたボール列となっているものがある。
In the present embodiment shown in FIGS. 11 and 12, it is assumed that the ball rows 2, 2,... In each of the detection areas 18A, 18B, 20C, 20D are arranged at an equal pitch. However, as described in FIG.
Depending on the type of the semiconductor package 1, as shown in FIG. 24, for example, the ball rows in the detection area 20C (left area) are not at equal pitches, but are ball rows in which some middle balls 2 are missing. There is.

【0098】こうしたボール列が等ピッチでない配列の
場合には、ピーク間距離の最頻値dと他のピーク間距離
d´、d″とを比較して、その差が一定のしきい値以上
になったところで、別のグループに属するピークである
と判断する処理(ステップ404)など、ボール列が等
ピッチであることを前提とする処理をそのまま適用する
ことはできない。
When the arrangement of the ball rows is not equal pitch, the mode d of the peak-to-peak distance is compared with the other peak-to-peak distances d ′ and d ″, and the difference is equal to or larger than a certain threshold value. Then, the processing based on the assumption that the ball rows have the same pitch, such as the processing of determining that the peak belongs to another group (step 404), cannot be applied as it is.

【0099】しかも、こうした等ピッチでないボール列
を有する半導体パッケージ1に、図5の処理をそのまま
適用した場合には、ピーク検出後のグループ分けで失敗
することが多いと予想される。その理由は、1つの半導
体パッケージ1の中に複数のグループが存在することが
多いからである。また、ボール列における隣り合うボー
ル間の距離が大きいために、検査対象でない隣の半導体
パッケージ1との区別、トレイ7の端との区別、パター
ンのゴミの除去が難しいからである。
Furthermore, if the processing of FIG. 5 is applied to the semiconductor package 1 having such a non-equal pitch ball row, it is expected that grouping after peak detection will often fail. The reason is that a plurality of groups exist in one semiconductor package 1 in many cases. Also, because the distance between adjacent balls in the ball row is large, it is difficult to distinguish the adjacent semiconductor package 1 that is not the inspection target, distinguish it from the end of the tray 7, and remove dust from the pattern.

【0100】そこで、等ピッチでないボール列を有する
半導体パッケージ1の場合には、図5に示す処理をその
まま適用するのではなく、図26に示す特別の処理を実
施する必要がある。
Therefore, in the case of the semiconductor package 1 having a ball row having a non-equal pitch, it is necessary to perform the special processing shown in FIG. 26 instead of applying the processing shown in FIG. 5 as it is.

【0101】図26に示す処理は、ボール列が等ピッチ
でないという情報が予めわかっている場合に、ボール列
におけるボール個数、各ボール間の距離に関する情報に
基づいて真のボール列を探索するというものである。
In the processing shown in FIG. 26, when it is known in advance that the ball rows are not at the same pitch, a true ball row is searched for based on information on the number of balls in the ball row and the distance between each ball. Things.

【0102】以下、図26に示すフローチャートについ
て、図25(a)、(b)、(c)を併せ参照しつつ説
明する。なお、この実施形態では、ボール列が等ピッチ
でない検出領域として、図24に示す左領域20Cを想
定している。
Hereinafter, the flowchart shown in FIG. 26 will be described with reference to FIGS. 25 (a), 25 (b) and 25 (c). In this embodiment, a left area 20C shown in FIG. 24 is assumed as a detection area in which the ball rows are not at the same pitch.

【0103】図26のステップ501、502では、図
5に示すステップ401、402と同様の処理が実行さ
れる。すなわち、図24に示す左領域20Cにおけるy
軸方向の各ピーク値が検出されることによって、この左
領域20Cにおけるボール2のy軸方向の配列候補位置
が検出される(ステップ501、ステップ502)。
In steps 501 and 502 in FIG. 26, the same processing as in steps 401 and 402 shown in FIG. 5 is executed. That is, y in the left area 20C shown in FIG.
By detecting each peak value in the axial direction, the arrangement candidate position of the ball 2 in the y-axis direction in the left area 20C is detected (Step 501, Step 502).

【0104】ただし、この段階で得られたボール列の位
置は配列候補位置であって、検査対象の半導体パッケー
ジ1上のボールのみを示すものとは限らない。これは、
たとえば、検査対象に隣接する別の半導体パッケージ1
(同じトレイ7上に載っている)上のボール2を誤検出
する可能性があるからである。また、同じ検査対象の半
導体パッケージ1についてのものであっても、半導体パ
ッケージ1上のゴミや配線パターン、搬送用のトレイ7
の一部(縁部分)をピーク値として捕らえてしまうこと
もあるからであるそこで、まず各ピークを、ボール2
(隣接するトレイ7上の半導体パッケージ1のボール2
も含む)と、それ以外(ゴミ等)とに分離する処理(ス
テップ504〜508)が、各ピーク毎に繰り返し実行
される(ステップ503)。
However, the position of the ball row obtained at this stage is an array candidate position, and does not necessarily indicate only the ball on the semiconductor package 1 to be inspected. this is,
For example, another semiconductor package 1 adjacent to the inspection target
This is because there is a possibility that the ball 2 on the same tray 7 is erroneously detected. Further, even for the same semiconductor package 1 to be inspected, dust and wiring patterns on the semiconductor package 1 and a transfer tray 7
In some cases (edge) may be caught as a peak value.
(Ball 2 of semiconductor package 1 on adjacent tray 7
(Steps 504 to 508) are repeatedly executed for each peak (step 503).

【0105】すなわち、図24に示すように、ステップ
502で得られたピーク位置23cを中心にしてボール
2を含む程度の大きさのサーチエリア30が、各ピーク
毎に設定され(ステップ504)、各サーチエリア30
についてそれぞれ、ボール2の形状をモデルとするパタ
ーンマッチングが行われ、各ピークがボール2であるか
否かの判別がなされる(ステップ505、506)。
That is, as shown in FIG. 24, a search area 30 large enough to include the ball 2 around the peak position 23c obtained in step 502 is set for each peak (step 504). Each search area 30
Are subjected to pattern matching using the shape of the ball 2 as a model, and it is determined whether or not each peak is the ball 2 (steps 505 and 506).

【0106】たとえば、図24においてピーク位置23
´cを中心に設定されたサーチエリア30´に対してパ
ターンマッチングを実行すると、このサーチエリア30
´内にはボール2を含まない、ピーク23´cはボール
2を示すものではないと判別される(ステップ506の
判断「いいえ」)。この結果、このピーク23´cはボ
ール列を表すものではないと判断して、ボール列の候補
から外される(ステップ507)。一方、パターンマッ
チングの結果、ピーク23cがボール2を示すものであ
ると判別された場合には(ステップ506の判断「は
い」)、このピーク23cはボール列を表すと判断し、
ボール列の候補として残すようにする(ステップ50
8)。
For example, in FIG.
When pattern matching is performed on the search area 30 'set around' c, the search area 30 '
It is determined that the ball 23 does not include the ball 2 and the peak 23'c does not indicate the ball 2 (determination "No" in step 506). As a result, it is determined that the peak 23'c does not represent a ball row, and is excluded from ball row candidates (step 507). On the other hand, when it is determined that the peak 23c indicates the ball 2 as a result of the pattern matching (determination “Yes” in step 506), it is determined that the peak 23c represents the ball row,
Leave as a ball row candidate (step 50
8).

【0107】こうして最終的にボール列の候補として残
されたピークについて、それらの組合せが設定され、各
組合せが真のボール列を表しているか否かの判断が、各
組合せ毎に繰り返し実行される(ステップ509)。
Thus, combinations of peaks finally left as ball row candidates are set, and it is repeatedly determined whether or not each combination represents a true ball row. (Step 509).

【0108】ここで、図25(b)に示すように、真の
ボール列のボール個数(4個)およびこの真のボール列
における隣り合うボール間の距離(d1、d2、d3)
は、既知の情報として予め記憶されている。
Here, as shown in FIG. 25 (b), the number of balls in the true ball row (four) and the distances (d1, d2, d3) between adjacent balls in the true ball row
Is stored in advance as known information.

【0109】そこで、図25(a)に示すように、この
真のボール列のボール個数(4個)に応じた数のピーク
の組合せ(1)、(2)、(3)、(4)が設定される
(ステップ510)。
Thus, as shown in FIG. 25A, combinations of peaks (1), (2), (3), and (4) corresponding to the number of balls (four) in this true ball row are used. Is set (step 510).

【0110】ついで、各組合せ毎に、隣り合うボール間
の距離が演算される。たとえば、組合せ(2)について
は、図25(c)に示すように、隣り合うボール間の距
離はd1´、d2´、d3´と演算される(ステップ51
1)。
Next, the distance between adjacent balls is calculated for each combination. For example, for the combination (2), as shown in FIG. 25C, the distance between adjacent balls is calculated as d1 ', d2', and d3 '(step 51).
1).

【0111】ついで、こうして演算されたボール間距離
di´(i=1、2、3)と、真のボール列におけるボ
ール間距離di(i=1、2、3)とが比較される。
Next, the calculated inter-ball distance di '(i = 1, 2, 3) is compared with the inter-ball distance di (i = 1, 2, 3) in a true ball row.

【0112】具体的には、演算、 により、ボール間距離の差の二乗和Δが求められる(ス
テップ512)。
Specifically, calculation, Thus, the sum of squares Δ of the difference between the distances between the balls is obtained (step 512).

【0113】各組合せ(1)〜(4)毎に、つまり各ボ
ール列候補毎に、上記ボール間距離の差の二乗和Δが求
められる(ステップ513)。
For each of the combinations (1) to (4), that is, for each ball row candidate, the sum of squares Δ of the difference between the balls is obtained (step 513).

【0114】そして、各ボール列候補毎に得られたボー
ル間距離の差の二乗和Δを比較し、最も小さい値を取る
組合せが、真のボール列であると決定する。図25
(a)の場合には、組合せ(3)が真のボール列、つま
り検査対象のボール列であると決定される(ステップ5
14)。
Then, the sum of squares Δ of the difference in the distance between the balls obtained for each ball row candidate is compared, and the combination having the smallest value is determined to be the true ball row. FIG.
In the case of (a), it is determined that the combination (3) is a true ball row, that is, a ball row to be inspected (step 5).
14).

【0115】このように、本実施形態によれば、x軸、
y軸ごとに、ボール列(ボール列位置)を取得して、こ
の得られたx軸方向のボール列(ボール列位置)23
A、23Bと、y軸方向のボール列(ボール列位置)2
3C、23Dとを突き合わせることによって、各ボール
2、2…のx、y座標位置(x、y)を検出するように
したので、検査対象の半導体パッケージ1がたとえばX
YZステージ8により回転され、各回転位置で、斜めカ
メラ4により撮像され、撮像画像内の半導体パッケージ
1が変形しており、回転位置ごとに異なる形状になって
いたとしても、これらに影響されることなく、各ボール
2の位置を迅速かつ正確に特定することができるように
なる。
As described above, according to the present embodiment, the x-axis,
A ball row (ball row position) is acquired for each y-axis, and the obtained ball row (ball row position) 23 in the x-axis direction is obtained.
A, 23B and ball row (ball row position) 2 in the y-axis direction
3C, 23D, the x, y coordinate position (x, y) of each ball 2, 2,... Is detected.
The semiconductor package 1 is rotated by the YZ stage 8 and imaged by the oblique camera 4 at each rotational position. Even if the semiconductor package 1 in the captured image is deformed and has a different shape for each rotational position, it is affected by these. Without this, the position of each ball 2 can be quickly and accurately specified.

【0116】以上のようにして、上カメラ3の撮像結果
に基づき、検査対象の半導体パッケージ1の中心位置
C、姿勢角φが取得され、斜めカメラ4の撮像結果に基
づき、各ボール2のx、y位置(x、y)が取得される
と、これらに基づき、検査対象の半導体パッケージ1を
外観検査するにあたって必要となる、この半導体パッケ
ージ1およびこの上の各ボール1の基準位置が定められ
る。
As described above, the center position C and the attitude angle φ of the semiconductor package 1 to be inspected are obtained based on the imaging result of the upper camera 3, and the x of each ball 2 is obtained based on the imaging result of the oblique camera 4. , Y positions (x, y) are obtained, the reference positions of the semiconductor package 1 and the respective balls 1 on the semiconductor package 1 which are necessary for the appearance inspection of the semiconductor package 1 to be inspected are determined based on these. .

【0117】そこで、こうして決定された半導体パッケ
ージ1の基準位置および当該半導体パッケージ1上の各
ボール2の基準位置を基準にして、各ボール2の高さ等
の外観検査が行われる。
Therefore, an appearance inspection of the height of each ball 2 is performed with reference to the reference position of the semiconductor package 1 thus determined and the reference position of each ball 2 on the semiconductor package 1.

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

【図1】図1は本発明の実施形態の装置構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing an apparatus configuration according to an embodiment of the present invention.

【図2】図2は図1に示す画像処理用コンピュータで実
行される処理手順であって、上カメラの撮像結果に基づ
き実行される処理手順を示すフローチャートである。
FIG. 2 is a flowchart showing a processing procedure executed by the image processing computer shown in FIG. 1, which is executed based on an imaging result of an upper camera.

【図3】図3は図1に示す画像処理用コンピュータで実
行される処理手順であって、上カメラの撮像結果に基づ
き実行される処理手順を示すフローチャートである。
FIG. 3 is a flowchart showing a processing procedure executed by the image processing computer shown in FIG. 1, which is executed based on an imaging result of an upper camera.

【図4】図4は図1に示す画像処理用コンピュータで実
行される処理手順であって、斜めカメラの撮像結果に基
づき実行される処理手順を示すフローチャートである。
FIG. 4 is a flowchart showing a processing procedure executed by the image processing computer shown in FIG. 1, which is executed based on an imaging result of an oblique camera.

【図5】図5は図1に示す画像処理用コンピュータで実
行される処理手順であって、斜めカメラの撮像結果に基
づき実行される処理手順を示すフローチャートである。
FIG. 5 is a flowchart showing a processing procedure executed by the image processing computer shown in FIG. 1, which is executed based on an image pickup result of an oblique camera.

【図6】図6は図2に示す処理内容を説明するために用
いた図である。
FIG. 6 is a diagram used to explain the processing contents shown in FIG. 2;

【図7】図7(a)、(b)は図2に示す処理内容を説
明するために用いた図である。
FIGS. 7A and 7B are diagrams used to explain the processing contents shown in FIG. 2;

【図8】図8は図2に示す処理内容を説明するために用
いた図である。
FIG. 8 is a diagram used to explain the processing contents shown in FIG. 2;

【図9】図9は図2に示す処理内容を説明するために用
いた図である。
FIG. 9 is a diagram used to explain the processing contents shown in FIG. 2;

【図10】図10(a)、(b)は図3に示す処理内容
を説明するために用いた図である。
FIGS. 10A and 10B are diagrams used to explain the processing contents shown in FIG. 3;

【図11】図11は図4に示す処理内容を説明するため
に用いた図である。
FIG. 11 is a diagram used to explain the processing contents shown in FIG. 4;

【図12】図12は図4に示す処理内容を説明するため
に用いた図である。
FIG. 12 is a diagram used to explain the processing contents shown in FIG. 4;

【図13】図13(a)、(b)は図5に示す処理内容
を説明するために用いた図である。
FIGS. 13A and 13B are views used to explain the processing contents shown in FIG. 5;

【図14】図14は図5に示す処理内容を説明するため
に用いた図である。
FIG. 14 is a diagram used to explain the processing contents shown in FIG. 5;

【図15】図15は図5に示す処理内容を説明するため
に用いた図である。
FIG. 15 is a diagram used to explain the processing contents shown in FIG. 5;

【図16】図16(a)、(b)は図5に示す処理内容
を説明するために用いた図である。
FIGS. 16A and 16B are diagrams used to explain the processing contents shown in FIG. 5;

【図17】図17(a)、(b)、(c)は図4に示す
処理内容を説明するために用いた図である。
FIGS. 17A, 17B, and 17C are diagrams used to explain the processing contents shown in FIG. 4;

【図18】図18は図4に示す処理内容を説明するため
に用いた図である。
FIG. 18 is a diagram used to explain the processing contents shown in FIG. 4;

【図19】図19(a)、(b)は従来技術を説明する
ために用いた図である。
FIGS. 19A and 19B are diagrams used to explain a conventional technique.

【図20】図20(a)、(b)は従来技術を説明する
ために用いた図である。
FIGS. 20 (a) and 20 (b) are diagrams used for explaining a conventional technique.

【図21】図21は従来技術を説明するために用いた図
である。
FIG. 21 is a diagram used for explaining a conventional technique.

【図22】図22(a)、(b)は従来技術を説明する
ために用いた図である。
FIGS. 22 (a) and 22 (b) are diagrams used to explain a conventional technique.

【図23】図23は等ピッチでないボール配列を扱う場
合の処理を説明する図である。
FIG. 23 is a diagram for explaining processing when a ball array having a non-equal pitch is handled;

【図24】図24は等ピッチでないボール配列を扱う場
合の処理を説明する図である。
FIG. 24 is a diagram for explaining processing when a ball array having a non-equal pitch is handled;

【図25】図25(a)、(b)、(c)は等ピッチで
ないボール配列を扱う場合の処理を説明する図である。
FIGS. 25 (a), (b) and (c) are views for explaining processing when a ball array having a non-equal pitch is handled.

【図26】図26は等ピッチでないボール配列を扱う場
合の処理の手順を示すフローチャートである。
FIG. 26 is a flowchart illustrating a procedure of processing when a ball array having a non-equal pitch is handled.

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

1 半導体パッケージ 2 ボール 3 上カメラ 4 斜めカメラ 5 画像処理用コンピュータ DESCRIPTION OF SYMBOLS 1 Semiconductor package 2 Ball 3 Upper camera 4 Oblique camera 5 Image processing computer

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 ワークの上面に、一定の大きさの部
材が一定の規則で複数配列されたワークの位置を画像処
理によって検出するワークの位置検出方法において、 前記ワークの上面を撮像する撮像行程と、 前記撮像行程で撮像された画像の中から、前記複数の配
列部材に外接する第1の検出領域を切り出す第1の画像
処理行程と、 前記第1の画像処理行程で切り出された複数の配列部材
を示す第1の検出領域の中から、一列の部材を示す第2
の検出領域を切り出す第2の画像処理行程と、 前記ワークに対する前記複数の配列部材の既知の相対位
置データと、前記第1の画像処理行程で切り出された複
数の配列部材を示す第1の検出領域とを突き合わせるこ
とによって、ワークの絶対中心位置を検出するととも
に、前記既知の相対位置データと、前記第2の画像処理
行程で切り出された一列の部材を示す第2の検出領域と
を突き合わせることによって、ワークの姿勢を検出する
ワーク位置、姿勢検出行程とを具えたワークの位置検出
方法。
1. A work position detection method for detecting, by image processing, the position of a work in which a plurality of members of a fixed size are arranged on a top surface of a work according to a predetermined rule, wherein an imaging process of imaging the top surface of the work is performed. A first image processing step of cutting out a first detection region circumscribing the plurality of array members from an image captured in the imaging step; and a plurality of image processing steps cut out in the first image processing step. From the first detection area showing the array members, the second showing the row members
A second image processing step of cutting out the detection region of the above, known relative position data of the plurality of array members with respect to the workpiece, and a first detection indicating the plurality of array members cut out in the first image processing step The absolute center position of the work is detected by matching the area, and the known relative position data is matched with a second detection area indicating a row of members cut out in the second image processing step. A work position detection method comprising a work position and a posture detection step for detecting the posture of the work.
【請求項2】 前記ワークは、その上面にボール状
のハンダバンプが格子状に配列されている半導体パッケ
ージである請求項1記載のワークの位置検出方法。
2. The method according to claim 1, wherein the work is a semiconductor package in which ball-shaped solder bumps are arranged in a grid on the upper surface.
【請求項3】 前記第1の画像処理行程は、 前記撮像行程によって撮像された画像からワーク全体が
含まれる検査領域を切り出す検査領域設定行程と、 前記検査領域設定行程で切り出された検査領域の中か
ら、前記複数の配列部材に対応する明度の外縁部を、外
郭ラインとする配列部材候補の検出領域として切り出す
検出領域絞り込み行程と、 前記検出領域絞り込み行程で切り出された配列部材候補
検出領域のX軸方向の長さおよびY軸方向の長さが、前
記配列部材の既知のX軸方向の長さおよびY軸方向の長
さと一致しているか否かを判断する判断行程と、 前記判断行程によって、配列部材候補検出領域の長さが
配列部材の既知の長さと一致していないと判断された場
合には、X軸、Y軸のうち一致していない方向につい
て、外郭ラインを、配列部材候補検出領域が前記部材の
幅よりも小さくなる方向に小さい距離だけずらした再検
査領域を設定する再検査領域設定行程と、 前記再検査領域設定行程で設定された再検査領域につい
て前記検出領域絞り込み行程と同様の処理を行い再検出
領域を切り出す再検出行程と、 前記再検出行程で切り出された再検出領域の外郭ライン
が、前記再検査領域の外郭ラインと一致していない場合
には、この一致していない再検出領域の外郭ラインを配
列部材候補検出領域の外郭ラインとする修正行程と、 前記修正行程で修正された配列部材候補検出領域につい
て前記判断行程と同様の処理を行わせ、前記判断行程に
よって、最終的に、配列部材候補検出領域の長さが配列
部材の既知の長さと一致していると判断された場合に
は、この配列部材候補検出領域を、前記複数の配列部材
に外接する領域と判定する行程とからなる請求項1記載
のワークの位置検出方法。
3. The first image processing step includes: an inspection area setting step of cutting out an inspection area including the entire work from an image captured by the imaging step; and an inspection area setting step of cutting out the inspection area cut out by the inspection area setting step. From the inside, a detection area narrowing step of cutting out the outer edge portions of the brightness corresponding to the plurality of array members as a detection area of an array member candidate to be an outer line, and an array member candidate detection area cut out in the detection area narrowing step A determining step of determining whether the length in the X-axis direction and the length in the Y-axis direction match the known lengths of the array member in the X-axis direction and the known length in the Y-axis direction; When it is determined that the length of the array member candidate detection area does not match the known length of the array member, the outer line is set in the X-axis and Y-axis directions that do not match. A re-inspection area setting step of setting a re-inspection area shifted by a small distance in a direction in which the arrangement member candidate detection area is smaller than the width of the member; and the re-inspection area set in the re-inspection area setting step. A re-detection step of cutting out a re-detection area by performing the same processing as the detection area narrowing step, and when an outer line of the re-detection area cut out in the re-detection step does not match the outer line of the re-inspection area. Performs the same process as the above-described determination process on the array member candidate detection region corrected in the correction process, using the outer line of the non-matched re-detection region as the outer line of the array member candidate detection region. If the length of the array member candidate detection area is finally determined to be equal to the known length of the array member by the determination process, 2. The method according to claim 1, further comprising the step of determining the supplementary detection area as an area circumscribing the plurality of array members.
【請求項4】 ワークの上面に、一定の大きさの部
材が格子状に複数配列されたワークの位置を画像処理に
よって検出するワークの位置検出方法において、 前記ワークの上面を撮像する撮像行程と、 前記撮像行程によって撮像された画像からワーク全体が
含まれる検出領域を切り出す検出領域設定行程と、 前記検出領域設定行程で切り出された検出領域のX軸方
向およびY軸方向のそれぞれについて、画像上の位置
と、この位置に対応する全画素の明度の加算値または加
算値を評価した値との関係を求める演算行程と、 前記演算行程で求められた関係における明度の加算値ま
たは加算値を評価した値のピーク値を抽出するピーク値
抽出行程と、 前記ピーク値抽出行程で抽出されたX軸方向における各
ピーク値に対応するX軸方向の各位置を、前記部材のX
軸方向の配列位置であるとするとともに、前記ピーク値
抽出行程で抽出されたY軸方向における各ピーク値に対
応するY軸方向の各位置を、前記部材のY軸方向の配列
位置であるとする配列位置検出行程と、 前記配列位置検出行程で得られたX軸方向の部材配列位
置と、Y軸方向の部材配列位置とを突き合わせることに
よって、前記複数の配列部材の各X、Y位置を検出する
部材位置検出行程とを具えたワークの位置検出方法。
4. A work position detection method for detecting, by image processing, the position of a work in which a plurality of members of a predetermined size are arranged in a lattice on an upper surface of the work, wherein: A detection area setting step of cutting out a detection area including the entire work from the image captured by the imaging step; and an X-axis direction and a Y-axis direction of the detection area cut out in the detection area setting step. And a calculation step for finding the relationship between the brightness value of all pixels corresponding to this position and the value obtained by evaluating the addition value, and evaluating the brightness addition value or the addition value in the relationship obtained in the calculation step. A peak value extraction step of extracting a peak value of the calculated value, and each position in the X-axis direction corresponding to each peak value in the X-axis direction extracted in the peak value extraction step. X of the member
The position in the Y-axis direction corresponding to each peak value in the Y-axis direction extracted in the peak value extraction step is defined as the arrangement position in the Y-axis direction of the member. An X-axis direction member arrangement position obtained in the arrangement position detection step, and an X-axis direction member arrangement position obtained in the above-described arrangement position detection step. A workpiece position detecting method for detecting a workpiece position.
【請求項5】 前記ワークは、その上面にボール状
のハンダバンプが格子状に配列されている半導体パッケ
ージである請求項4記載のワークの位置検出方法。
5. The work position detecting method according to claim 4, wherein the work is a semiconductor package in which ball-shaped solder bumps are arranged in a grid on the upper surface.
【請求項6】 前記演算行程は、X軸方向の前記関
係については、前記検出領域をY軸方向に複数に分割
し、これら各分割領域毎に求めるとともに、Y軸方向の
前記関係については、前記検出領域をX軸方向に複数に
分割し、これら各分割領域毎に求めるものであり、 前記部材位置検出行程は、各分割領域毎に求められたX
軸方向の部材配列位置に基づきY軸方向の部材配列を示
す直線を生成するとともに、各分割領域毎に求められた
Y軸方向の部材配列位置に基づきX軸方向の部材配列を
示す直線を生成し、これら直線の交点として、前記複数
の配列部材の各X、Y位置を検出するものである請求項
4記載のワークの位置検出方法。
6. The calculation step includes, for the relationship in the X-axis direction, dividing the detection area into a plurality of pieces in the Y-axis direction and obtaining each of the divided areas, and regarding the relationship in the Y-axis direction, The detection area is divided into a plurality of parts in the X-axis direction, and is obtained for each of these divided areas. The member position detection process is performed by using X obtained for each of the divided areas.
A straight line indicating the member arrangement in the Y-axis direction is generated based on the member arrangement position in the axial direction, and a straight line indicating the member arrangement in the X-axis direction is generated based on the member arrangement position in the Y-axis direction obtained for each divided region. 5. The work position detecting method according to claim 4, wherein the X and Y positions of the plurality of array members are detected as intersections of these straight lines.
【請求項7】 前記配列位置検出行程は、前記ピー
ク値抽出行程で抽出されたX軸方向における各ピーク値
に対応するX軸方向の各位置の間隔を求め、この間隔の
大きさに応じて、検査対象のワーク上の複数の配列部材
のX軸方向の端部を判断するとともに、前記ピーク値抽
出行程で抽出されたY軸方向における各ピーク値に対応
するY軸方向の各位置の間隔を求め、この間隔の大きさ
に応じて、検査対象のワーク上の複数の配列部材のY軸
方向の端部を判断するようにした請求項4記載のワーク
の位置検出方法。
7. The arrangement position detection step obtains an interval between positions in the X-axis direction corresponding to each peak value in the X-axis direction extracted in the peak value extraction step, and calculates an interval according to the size of the interval. Determining the ends of the plurality of array members on the work to be inspected in the X-axis direction, and determining the intervals between the respective positions in the Y-axis direction corresponding to the respective peak values in the Y-axis direction extracted in the peak value extraction step. 5. The work position detection method according to claim 4, wherein the end of the plurality of array members on the work to be inspected in the Y-axis direction is determined according to the size of the interval.
【請求項8】 前記配列位置検出行程は、前記ピー
ク値抽出行程で抽出されたX軸方向における各ピーク値
の個数を求め、X軸方向のピーク値の個数が前記ワーク
のX軸方向の配列部材の個数と異なっている場合には、
X軸方向の端部に対応する画像についてパターンマッチ
ングを行い、X軸方向の端部が前記部材であるか否かを
判断するとともに、前記ピーク値抽出行程で抽出された
Y軸方向における各ピーク値の個数を求め、Y軸方向の
ピーク値の個数が前記ワークのY軸方向の配列部材の個
数と異なっている場合には、Y軸方向の端部に対応する
画像についてパターンマッチングを行い、Y軸方向の端
部が前記部材であるか否かを判断するものである請求項
4記載のワークの位置検出方法。
8. The arrangement position detecting step calculates the number of peak values in the X-axis direction extracted in the peak value extracting step, and determines the number of peak values in the X-axis direction in the X-axis direction of the workpiece. If it is different from the number of parts,
Pattern matching is performed on the image corresponding to the end in the X-axis direction, and it is determined whether or not the end in the X-axis direction is the member, and each peak in the Y-axis direction extracted in the peak value extraction process is determined. Determine the number of values, if the number of peak values in the Y-axis direction is different from the number of array members in the Y-axis direction of the work, perform pattern matching on the image corresponding to the end in the Y-axis direction, 5. The method according to claim 4, wherein it is determined whether or not an end in the Y-axis direction is the member.
【請求項9】 ワークの上面に、一定の大きさの部
材が格子状に複数配列されたワークの位置および当該ワ
ーク上の各部材の位置を画像処理によって予め検出して
おき、この検出位置をワークの基準位置および各部材の
基準位置として前記ワーク上の各部材を検査するワーク
の検査方法において、 前記ワークの上面を直上から撮像する第1の撮像行程
と、 前記第1の撮像行程で撮像された画像の中から、前記複
数の配列部材に外接する第1の検出領域を切り出す第1
の画像処理行程と、 前記第1の画像処理行程で切り出された複数の配列部材
を示す第1の検出領域の中から、一列の部材を示す第2
の検出領域を切り出す第2の画像処理行程と、 前記ワークに対する前記複数の配列部材の既知の相対位
置データと、前記第1の画像処理行程で切り出された複
数の配列部材を示す第1の検出領域とを突き合わせるこ
とによって、ワークの絶対中心位置を検出するととも
に、前記既知の相対位置データと、前記第2の画像処理
行程で切り出された一列の部材を示す第2の検出領域と
を突き合わせることによって、ワークの姿勢を検出する
ワーク中心位置、姿勢検出行程と、 前記ワークの上面を斜め方向から撮像する第2の撮像行
程と、 前記第2の撮像行程によって撮像された画像からワーク
全体が含まれる斜め検出領域を切り出す検出領域設定行
程と、 前記検出領域設定行程で切り出された斜め検出領域のX
軸方向およびY軸方向のそれぞれについて、画像上の位
置と、この位置に対応する全画素の明度の加算値または
加算値を評価した値との関係を求める演算行程と、 前記演算行程で求められた関係における明度の加算値ま
たは加算値を評価した値のピーク値を抽出するピーク値
抽出行程と、 前記ピーク値抽出行程で抽出されたX軸方向における各
ピーク値に対応するX軸方向の各位置を、前記部材のX
軸方向の配列位置であるとするとともに、前記ピーク値
抽出行程で抽出されたY軸方向における各ピーク値に対
応するY軸方向の各位置を、前記部材のY軸方向の配列
位置であるとする配列位置検出行程と、 前記配列位置検出行程で得られたX軸方向の部材の配列
位置と、Y軸方向の部材の配列位置とを突き合わせるこ
とによって、前記複数の部材の各X、Y位置を検出する
部材位置検出行程と、 前記ワーク中心位置、姿勢検出行程で得られたワーク中
心位置および姿勢と、前記部材位置検出行程で得られた
前記複数の部材の各X、Y位置とに基づいて、 前記ワークの基準位置および当該ワーク上の各部材の基
準位置を設定する基準設定行程と、 前記基準設定行程で設定されたワークの基準位置および
当該ワーク上の各部材の基準位置を基準にして前記ワー
ク上の各部材を検査する行程とを具えたワークの検査方
法。
9. The position of a work in which a plurality of members of a fixed size are arranged in a lattice on the upper surface of the work and the position of each member on the work are detected in advance by image processing, and the detected position is determined. In a work inspection method for inspecting each member on the work as a reference position of the work and a reference position of each member, a first imaging process of directly imaging an upper surface of the work, and an imaging process in the first imaging process A first detection region for cutting out a first detection region circumscribing the plurality of array members from the image thus obtained;
An image processing step; and a second detection area indicating a row of members from a first detection area indicating a plurality of array members cut out in the first image processing step.
A second image processing step of cutting out the detection region of the above, known relative position data of the plurality of array members with respect to the workpiece, and a first detection indicating the plurality of array members cut out in the first image processing step The absolute center position of the work is detected by matching the area, and the known relative position data is matched with a second detection area indicating a row of members cut out in the second image processing step. A work center position for detecting the posture of the work, a posture detection process, a second imaging process for obliquely imaging the upper surface of the work, and an entire work from an image captured by the second imaging process. A detection area setting step of cutting out the oblique detection area including the following, and X of the oblique detection area cut out in the detection area setting step.
In each of the axial direction and the Y-axis direction, an operation step for obtaining a relationship between a position on the image and an added value of the brightness of all pixels corresponding to this position or a value obtained by evaluating the added value; A peak value extraction process for extracting a peak value of a value obtained by evaluating the lightness value or the value obtained by evaluating the sum value in the relationship, and an X-axis direction corresponding to each peak value in the X-axis direction extracted in the peak value extraction process. Set the position to X
The position in the Y-axis direction corresponding to each peak value in the Y-axis direction extracted in the peak value extraction step is defined as the arrangement position in the Y-axis direction of the member. An array position detecting step to be performed, an array position of members in the X-axis direction obtained in the array position detecting step, and an array position of members in the Y-axis direction. A member position detection process for detecting a position, the work center position, the work center position and posture obtained in the posture detection process, and the X, Y positions of the plurality of members obtained in the member position detection process. A reference setting step of setting a reference position of the work and a reference position of each member on the work based on the reference position of the work and a reference position of each member on the work set in the reference setting step. Inspecting each member on the work according to a standard.
【請求項10】 前記ワークは、その上面にボール
状のハンダバンプが格子状に配列されている半導体パッ
ケージであり、前記ワークの検査は、前記半田ダンプの
欠陥の検査である請求項9記載のワークの検査方法。
10. The work according to claim 9, wherein the work is a semiconductor package in which ball-shaped solder bumps are arranged in a grid on the upper surface, and the inspection of the work is an inspection of the solder dump for defects. Inspection method.
【請求項11】 ワークの上面に、一定の大きさの
部材が一定の規則で複数配列されたワークの位置を画像
処理によって検出するワークの位置検出装置において、 前記ワークの上面を撮像する撮像手段と、 前記撮像手段で撮像された画像の中から、前記複数の配
列部材に外接する検出領域を切り出す第1の画像処理手
段と、 前記第1の画像処理手段で切り出された複数の配列部材
を示す第1の検出領域の中から、一列の部材を示す第2
の検出領域を切り出す第2の画像処理手段と、 前記ワークに対する前記複数の配列部材の既知の相対位
置データと、前記第1の画像処理手段で切り出された複
数の配列部材を示す第1の検出領域とを突き合わせるこ
とによって、ワークの絶対中心位置を検出するととも
に、前記既知の相対位置データと、前記第2の画像処理
手段で切り出された一列の部材を示す第2の検出領域と
を突き合わせることによって、ワークの姿勢を検出する
ワーク位置、姿勢検出手段とを具えたワークの位置検出
装置。
11. A work position detecting device for detecting, by image processing, a position of a work in which a plurality of members of a fixed size are arranged on a top surface of the work according to a predetermined rule, wherein: an imaging unit for imaging the top surface of the work A first image processing unit that cuts out a detection region circumscribing the plurality of array members from an image captured by the imaging unit; and a plurality of array members cut out by the first image processing unit. From the first detection region shown, a second member showing a row of members is shown.
A second image processing unit that cuts out the detection region of the above, a known relative position data of the plurality of arrangement members with respect to the workpiece, and a first detection indicating the plurality of arrangement members cut out by the first image processing unit The absolute center position of the workpiece is detected by matching the area, and the known relative position data is matched with a second detection area indicating a row of members cut out by the second image processing means. A work position detecting device comprising a work position and posture detecting means for detecting the posture of the work.
【請求項12】 前記ワークは、その上面にボール
状のハンダバンプが格子状に配列されている半導体パッ
ケージである請求項11記載のワークの位置検出装置。
12. The work position detecting device according to claim 11, wherein the work is a semiconductor package in which ball-shaped solder bumps are arranged in a grid on the upper surface.
【請求項13】 前記第1の画像処理手段は、 前記撮像手段によって撮像された画像からワーク全体が
含まれる検査領域を切り出す検査領域設定手段と、 前記検査領域設定手段で切り出された検査領域の中か
ら、前記複数の配列部材に対応する明度の外縁部を、外
郭ラインとする配列部材候補の検出領域として切り出す
検出領域絞り込み手段と、 前記検出領域絞り込み手段で切り出された配列部材候補
検出領域のX軸方向の長さおよびY軸方向の長さが、前
記配列部材の既知のX軸方向の長さおよびY軸方向の長
さと一致しているか否かを判断する判断手段と、 前記判断手段によって、配列部材候補検出領域の長さが
配列部材の既知の長さと一致していないと判断された場
合には、X軸、Y軸のうち一致していない方向につい
て、外郭ラインを配列部材候補検出領域が前記部材の幅
よりも小さくなる方向に小さい距離だけずらした再検査
領域を設定する再検査領域設定手段と、 前記再検査領域設定手段で設定された再検査領域につい
て前記検出領域絞り込み手段と同様の処理を行い再検出
領域を切り出す再検出手段と、 前記再検出手段で切り出された再検出領域の外郭ライン
が、前記再検査領域の外郭ラインと一致していない場合
には、この一致していない再検出領域の外郭ラインを配
列部材候補検出領域の外郭ラインとする修正手段と、 前記修正手段で修正された配列部材候補検出領域につい
て前記判断手段と同様の処理を行わせ、前記判断手段に
よって、最終的に、配列部材候補検出領域の長さが配列
部材の既知の長さと一致していると判断された場合に
は、この配列部材候補検出領域を、前記複数の配列部材
に外接する領域と判定する手段とからなる請求項11記
載のワークの位置検出装置。
13. An inspection area setting means for cutting out an inspection area including an entire workpiece from an image taken by the imaging means, wherein the first image processing means comprises: From the inside, a detection area narrowing unit that cuts out the outer edge portions of the brightness corresponding to the plurality of array members as a detection region of an array member candidate to be an outer line, and an array member candidate detection region cut out by the detection region narrowing unit. Determining means for determining whether the length in the X-axis direction and the length in the Y-axis direction match the known lengths in the X-axis direction and the Y-axis direction of the array member; When it is determined that the length of the array member candidate detection area does not match the known length of the array member, the outer line is determined in the X axis and the Y axis that do not match. A re-inspection area setting means for setting a re-inspection area shifted by a small distance in a direction in which the arrangement member candidate detection area is smaller than the width of the member, and the re-inspection area set by the re-inspection area setting means A re-detection unit that cuts out a re-detection region by performing the same processing as the detection region narrowing-down unit, and when an outer line of the re-detection region cut out by the re-detection unit does not match an outer line of the re-inspection region. Performs the same processing as the determining means on the array member candidate detection area corrected by the correcting means, using the outer line of the non-matched re-detection area as the outer line of the array member candidate detection area. If the determining unit finally determines that the length of the array member candidate detection area matches the known length of the array member, 12. The work position detecting device according to claim 11, further comprising means for determining a supplementary detection region as a region circumscribing the plurality of array members.
【請求項14】 ワークの上面に、一定の大きさの
部材が格子状に複数配列されたワークの位置を画像処理
によって検出するワークの位置検出装置において、 前記ワークの上面を撮像する撮像手段と、 前記撮像手段によって撮像された画像からワーク全体が
含まれる検出領域を切り出す検出領域設定手段と、 前記検出領域設定手段で切り出された検出領域のX軸方
向およびY軸方向のそれぞれについて、画像上の位置
と、この位置に対応する全画素の明度の加算値または加
算値を評価した値との関係を求める演算手段と、 前記演算手段で求められた関係における明度の加算値ま
たは加算値を評価した値のピーク値を抽出するピーク値
抽出手段と、 前記ピーク値抽出手段で抽出されたX軸方向における各
ピーク値に対応するX軸方向の各位置を、前記部材のX
軸方向の配列位置であるとするとともに、前記ピーク値
抽出手段で抽出されたY軸方向における各ピーク値に対
応するY軸方向の各位置を、前記部材のY軸方向の配列
位置であるとする配列位置検出手段と、 前記配列位置検出手段で得られたX軸方向の部材配列位
置と、Y軸方向の部材配列位置とを突き合わせることに
よって、前記複数の配列部材の各X、Y位置を検出する
部材位置検出手段とを具えたワークの位置検出装置。
14. A work position detecting device for detecting, by image processing, the position of a work in which a plurality of members of a predetermined size are arranged in a lattice on the upper surface of the work, wherein: A detection region setting unit that cuts out a detection region including the entire work from an image captured by the imaging unit; and an X-axis direction and a Y-axis direction of the detection region that is cut out by the detection region setting unit. Calculating means for determining the relationship between the position of (i) and the value of the brightness of all the pixels corresponding to the position or the value obtained by evaluating the value of the pixel; and evaluating the value of the brightness or the value of the value of the relationship obtained by the calculating means. Value extracting means for extracting a peak value of the obtained value, and each position in the X-axis direction corresponding to each peak value in the X-axis direction extracted by the peak value extracting means. , X of the member
In addition to the arrangement position in the axial direction, each position in the Y-axis direction corresponding to each peak value in the Y-axis direction extracted by the peak value extraction means is the arrangement position in the Y-axis direction of the member. Array position detecting means, and the X and Y member arrangement positions obtained by the array position detection means are compared with the member arrangement position in the Y axis direction, whereby the X and Y positions of the plurality of arrangement members are compared. And a member position detecting means for detecting the position of the workpiece.
【請求項15】 前記ワークは、その上面にボール
状のハンダバンプが格子状に配列されている半導体パッ
ケージである請求項14記載のワークの位置検出装置。
15. The work position detecting device according to claim 14, wherein the work is a semiconductor package in which ball-shaped solder bumps are arranged in a grid on the upper surface.
【請求項16】 前記演算手段は、X軸方向の前記
関係については、前記検出領域をY軸方向に複数に分割
し、これら各分割領域毎に求めるとともに、Y軸方向の
前記関係については、前記検出領域をX軸方向に複数に
分割し、これら各分割領域毎に求めるものであり、 前記部材位置検出手段は、各分割領域毎に求められたX
軸方向の部材配列位置に基づきY軸方向の部材配列を示
す直線を生成するとともに、各分割領域毎に求められた
Y軸方向の部材配列位置に基づきX軸方向の部材配列を
示す直線を生成し、これら直線の交点として、前記複数
の配列部材の各X、Y位置を検出するものである請求項
14記載のワークの位置検出装置。
16. The arithmetic means divides the detection area into a plurality of parts in the Y-axis direction for the relation in the X-axis direction, obtains each of these divided areas, and obtains the relation in the Y-axis direction: The detection region is divided into a plurality of regions in the X-axis direction, and the divided region is determined for each of the divided regions.
A straight line indicating the member arrangement in the Y-axis direction is generated based on the member arrangement position in the axial direction, and a straight line indicating the member arrangement in the X-axis direction is generated based on the member arrangement position in the Y-axis direction obtained for each divided region. 15. The work position detecting device according to claim 14, wherein X and Y positions of the plurality of array members are detected as intersections of these straight lines.
【請求項17】 前記配列位置検出手段は、前記ピ
ーク値抽出手段で抽出されたX軸方向における各ピーク
値に対応するX軸方向の各位置の間隔を求め、この間隔
の大きさに応じて、検査対象のワーク上の複数の配列部
材のX軸方向の端部を判断するとともに、前記ピーク値
抽出手段で抽出されたY軸方向における各ピーク値に対
応するY軸方向の各位置の間隔を求め、この間隔の大き
さに応じて、検査対象のワーク上の複数の配列部材のY
軸方向の端部を判断するようにした請求項14記載のワ
ークの位置検出装置。
17. The arrangement position detection means obtains an interval between each position in the X-axis direction corresponding to each peak value in the X-axis direction extracted by the peak value extraction means, and according to the size of this interval. Determining the ends of the plurality of array members on the work to be inspected in the X-axis direction, and determining the intervals between the respective positions in the Y-axis direction corresponding to the respective peak values in the Y-axis direction extracted by the peak value extracting means. Is determined, and the Y of a plurality of array members on the work to be inspected is
15. The work position detecting device according to claim 14, wherein the end in the axial direction is determined.
【請求項18】 前記配列位置検出手段は、前記ピ
ーク値抽出手段で抽出されたX軸方向における各ピーク
値の個数を求め、X軸方向のピーク値の個数が前記ワー
クのX軸方向の配列部材の個数と異なっている場合に
は、X軸方向の端部に対応する画像についてパターンマ
ッチングを行い、X軸方向の端部が前記部材であるか否
かを判断するとともに、前記ピーク値抽出手段で抽出さ
れたY軸方向における各ピーク値の個数を求め、Y軸方
向のピーク値の個数が前記ワークのY軸方向の配列部材
の個数と異なっている場合には、Y軸方向の端部に対応
する画像についてパターンマッチングを行い、Y軸方向
の端部が前記部材であるか否かを判断するものである請
求項14記載のワークの位置検出装置。
18. The arrangement position detection means obtains the number of each peak value in the X-axis direction extracted by the peak value extraction means, and determines the number of peak values in the X-axis direction of the work in the X-axis direction. If the number is different from the number of members, pattern matching is performed on the image corresponding to the end in the X-axis direction, and it is determined whether or not the end in the X-axis direction is the member, and the peak value extraction is performed. The number of peak values in the Y-axis direction extracted by the means is obtained, and if the number of peak values in the Y-axis direction is different from the number of array members in the Y-axis direction of the workpiece, the end in the Y-axis direction is determined. 15. The work position detecting device according to claim 14, wherein pattern matching is performed on an image corresponding to the part to determine whether or not an end in the Y-axis direction is the member.
【請求項19】 ワークの上面に、一定の大きさの
部材が格子状に複数配列されたワークの位置および当該
ワーク上の各部材の位置を画像処理によって予め検出し
ておき、この検出位置をワークの基準位置および各部材
の基準位置として前記ワーク上の各部材を検査するワー
クの検査装置において、 前記ワークの上面を直上から撮像する第1の撮像手段
と、 前記第1の撮像手段で撮像された画像の中から、前記複
数の配列部材に外接する第1の検出領域を切り出す第1
の画像処理手段と、 前記第1の画像処理手段で切り出された複数の配列部材
を示す第1の検出領域の中から、一列の部材を示す第2
の検出領域を切り出す第2の画像処理手段と、 前記ワークに対する前記複数の配列部材の既知の相対位
置データと、前記第1の画像処理手段で切り出された複
数の配列部材を示す第1の検出領域とを突き合わせるこ
とによって、ワークの絶対中心位置を検出するととも
に、前記既知の相対位置データと、前記第2の画像処理
手段で切り出された一列の部材を示す第2の検出領域と
を突き合わせることによって、ワークの姿勢を検出する
ワーク中心位置、姿勢検出手段と、 前記ワークの上面を斜め方向から撮像する第2の撮像手
段と、 前記第2の撮像手段によって撮像された画像からワーク
全体が含まれる斜め検出領域を切り出す検出領域設定手
段と、 前記検出領域設定手段で切り出された斜め検出領域のX
軸方向およびY軸方向のそれぞれについて、画像上の位
置と、この位置に対応する全画素の明度の加算値または
加算値を評価した値との関係を求める演算手段と、 前記演算手段で求められた関係における明度の加算値ま
たは加算値を評価した値のピーク値を抽出するピーク値
抽出手段と、 前記ピーク値抽出手段で抽出されたX軸方向における各
ピーク値に対応するX軸方向の各位置を、前記部材のX
軸方向の配列位置であるとするとともに、前記ピーク値
抽出手段で抽出されたY軸方向における各ピーク値に対
応するY軸方向の各位置を、前記部材のY軸方向の配列
位置であるとする配列位置検出手段と、 前記配列位置検出手段で得られたX軸方向の部材の配列
位置と、Y軸方向の部材の配列位置とを突き合わせるこ
とによって、前記複数の部材の各X、Y位置を検出する
部材位置検出手段と、 前記ワーク中心位置、姿勢検出手段で得られたワーク中
心位置および姿勢と、前記部材位置検出手段で得られた
前記複数の部材の各X、Y位置とに基づいて、 前記ワークの基準位置および当該ワーク上の各部材の基
準位置を設定する基準設定手段と、 前記基準設定手段で設定されたワークの基準位置および
当該ワーク上の各部材の基準位置を基準にして前記ワー
ク上の各部材を検査する手段とを具えたワークの検査装
置。
19. The position of a work in which a plurality of members of a fixed size are arranged in a lattice on the upper surface of the work and the position of each member on the work are detected in advance by image processing, and the detected position is determined. In a work inspecting apparatus for inspecting each member on the work as a reference position of the work and a reference position of each member, a first image pickup unit for picking up an image of an upper surface of the work from directly above, and an image picked up by the first image pickup unit A first detection region for cutting out a first detection region circumscribing the plurality of array members from the image thus obtained;
An image processing unit, and a second detection unit indicating a row of members from a first detection area indicating a plurality of array members cut out by the first image processing unit.
A second image processing unit that cuts out the detection region of the above, a known relative position data of the plurality of arrangement members with respect to the workpiece, and a first detection indicating the plurality of arrangement members cut out by the first image processing unit The absolute center position of the workpiece is detected by matching the area, and the known relative position data is matched with a second detection area indicating a row of members cut out by the second image processing means. A work center position and posture detection means for detecting the posture of the work, a second imaging means for obliquely imaging the upper surface of the work, and an entire work from an image taken by the second imaging means. A detection area setting unit that cuts out the oblique detection area including the following: X of the oblique detection area cut out by the detection area setting unit
Calculating means for obtaining a relationship between a position on the image and an added value of the brightness of all pixels corresponding to the position or a value obtained by evaluating the added value in each of the axial direction and the Y-axis direction; A peak value extraction unit for extracting a peak value of a value obtained by evaluating the lightness addition value or the value of the addition value in the relationship, and an X-axis direction corresponding to each peak value in the X-axis direction extracted by the peak value extraction unit. Set the position to X
In addition to the arrangement position in the axial direction, each position in the Y-axis direction corresponding to each peak value in the Y-axis direction extracted by the peak value extraction means is the arrangement position in the Y-axis direction of the member. An array position detecting unit that performs alignment of the X and Y members in the X axis direction obtained by the array position detecting unit with an array position of the members in the Y axis direction, thereby obtaining X and Y of each of the plurality of members. A member position detecting means for detecting a position; a work center position and a work center position and posture obtained by the work position detecting means; and X and Y positions of the plurality of members obtained by the member position detecting means. Reference setting means for setting a reference position of the work and a reference position of each member on the work based on the reference position of the work and a reference position of each member on the work set by the reference setting means. Means for inspecting each member on the work according to a standard.
【請求項20】 前記ワークは、その上面にボール
状のハンダバンプが格子状に配列されている半導体パッ
ケージであり、前記ワークの検査は、前記半田ダンプの
欠陥の検査である請求項19記載のワークの検査装置。
20. The work according to claim 19, wherein the work is a semiconductor package in which ball-shaped solder bumps are arranged in a grid pattern on an upper surface thereof, and the inspection of the work is an inspection of a defect of the solder dump. Inspection equipment.
JP9099311A 1997-04-16 1997-04-16 Both work position detection and appearance inspection methods and respective devices thereof Pending JPH10288505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9099311A JPH10288505A (en) 1997-04-16 1997-04-16 Both work position detection and appearance inspection methods and respective devices thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9099311A JPH10288505A (en) 1997-04-16 1997-04-16 Both work position detection and appearance inspection methods and respective devices thereof

Publications (1)

Publication Number Publication Date
JPH10288505A true JPH10288505A (en) 1998-10-27

Family

ID=14244101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9099311A Pending JPH10288505A (en) 1997-04-16 1997-04-16 Both work position detection and appearance inspection methods and respective devices thereof

Country Status (1)

Country Link
JP (1) JPH10288505A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000033023A1 (en) * 1998-11-30 2000-06-08 Olympus Optical Co., Ltd. Flaw detector
JP2002296017A (en) * 2001-03-30 2002-10-09 Nec Corp Inspection device and inspecting method for semiconductor integrated circuit
JP2003097926A (en) * 2001-09-27 2003-04-03 Nec Corp Method for inspecting ic appearance
US6584420B1 (en) 1999-11-29 2003-06-24 Olympus Optical Co., Ltd. Defect examination apparatus
JP2006019710A (en) * 2004-06-01 2006-01-19 Matsushita Electric Ind Co Ltd Bump inspecting apparatus and method for ic component, bump formation method for ic component, and ic component mounting method
JP2009014413A (en) * 2007-07-02 2009-01-22 Orion Breweries Ltd Inspection device
JP2010078513A (en) * 2008-09-26 2010-04-08 Fanuc Ltd Image processing device obtaining position of workpiece
JP2021117531A (en) * 2020-01-22 2021-08-10 国立研究開発法人産業技術総合研究所 Information processing method for recognizing arrangement state of article group, device, and program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000033023A1 (en) * 1998-11-30 2000-06-08 Olympus Optical Co., Ltd. Flaw detector
US6584420B1 (en) 1999-11-29 2003-06-24 Olympus Optical Co., Ltd. Defect examination apparatus
JP2002296017A (en) * 2001-03-30 2002-10-09 Nec Corp Inspection device and inspecting method for semiconductor integrated circuit
JP2003097926A (en) * 2001-09-27 2003-04-03 Nec Corp Method for inspecting ic appearance
JP2006019710A (en) * 2004-06-01 2006-01-19 Matsushita Electric Ind Co Ltd Bump inspecting apparatus and method for ic component, bump formation method for ic component, and ic component mounting method
JP4563254B2 (en) * 2004-06-01 2010-10-13 パナソニック株式会社 IC parts bump inspection system
JP2009014413A (en) * 2007-07-02 2009-01-22 Orion Breweries Ltd Inspection device
JP2010078513A (en) * 2008-09-26 2010-04-08 Fanuc Ltd Image processing device obtaining position of workpiece
JP2021117531A (en) * 2020-01-22 2021-08-10 国立研究開発法人産業技術総合研究所 Information processing method for recognizing arrangement state of article group, device, and program

Similar Documents

Publication Publication Date Title
US6748104B1 (en) Methods and apparatus for machine vision inspection using single and multiple templates or patterns
JP4946668B2 (en) Substrate position detection device and substrate position detection method
US7406191B2 (en) Inspection data producing method and board inspection apparatus using the method
US20060238905A1 (en) Probing apparatus and positional deviation acquiring method
KR102534983B1 (en) Apparatus and method for detecting attitude of electronic component
US6724005B2 (en) Substrate defect inspection method and substrate defect inspection system
JPH10288505A (en) Both work position detection and appearance inspection methods and respective devices thereof
JP5917492B2 (en) Appearance inspection method and apparatus
JP5609433B2 (en) Inspection method for cylindrical containers
JP2008014700A (en) Workpiece inspection method and workpiece inspection device
JP3620884B2 (en) Image processing device
JP4577717B2 (en) Bump inspection apparatus and method
JP2005351631A (en) Defect detection device and method
JP2002005850A (en) Defect inspection method and apparatus therefor, and production method of mask
JP4357666B2 (en) Pattern inspection method and apparatus
JP2002267619A (en) Defect inspection method and device therefor
JPH0644360A (en) Visual inspection method and device for electronic part with lead
KR100833740B1 (en) A Method for Detecting the Defects by Pattern Outline
JP3867615B2 (en) Work appearance inspection apparatus and appearance inspection method
JP2836580B2 (en) Projection inspection device for semiconductor integrated circuit device
JP2007333664A (en) Visual inspection apparatus
JPH05272945A (en) Apparatus for inspecting bent part of lead
JP2000258353A (en) Defect inspection method and device
JP2000011173A (en) Method for recognizing image and device therefor
JPH08340194A (en) Method of measuring dimension of part and chip mounter