JPH11214415A - Positioning method by image processing - Google Patents
Positioning method by image processingInfo
- Publication number
- JPH11214415A JPH11214415A JP10009222A JP922298A JPH11214415A JP H11214415 A JPH11214415 A JP H11214415A JP 10009222 A JP10009222 A JP 10009222A JP 922298 A JP922298 A JP 922298A JP H11214415 A JPH11214415 A JP H11214415A
- Authority
- JP
- Japan
- Prior art keywords
- parallelism
- orthogonality
- calculated
- sides
- reference value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Supply And Installment Of Electrical Components (AREA)
- Die Bonding (AREA)
Abstract
(57)【要約】
【課題】 画像処理による位置決め測定での誤検出、測
定誤差により、ずれた状態でペレットが位置決めされる
と、ボンディング装置は誤った位置でペレットを認識す
るため、ボンディング不良が発生して歩留りの低下を来
す。
【解決手段】 画像処理により、矩形の頂点で表される
位置決め点に対し「座標データの読み込み」S1を行い、
「任意の対向する一対の辺同士の平行度の演算」S2、
「平行度は基準値内か否か」S3により平行度を検査し、
「直交度の演算」S4、「直交度は基準値内か否か」S5に
より平行度を検査した辺とその隣り合う辺との直交度を
検査し、また平行度が基準値外の場合には、別の対向す
る一対の辺に対して同様に平行度、直交度の検査を行
い、さらに平行度、直交度ともに基準値外の場合には、
「全辺の平行度と直交度の演算」S7,S13,S14により、全
辺の平行度、直交度の検査を行って、正確性の高い辺
(位置決め点)を求める。
(57) [Summary] [Problem] When a pellet is positioned in a misaligned state due to erroneous detection and measurement error in positioning measurement by image processing, the bonding apparatus recognizes the pellet at an incorrect position, so that bonding failure is caused. Occurs and lowers the yield. SOLUTION: By performing image processing, "read coordinate data" S1 is performed on a positioning point represented by a rectangular vertex,
"Calculation of parallelism between any pair of opposing sides" S2,
Check whether the parallelism is within the reference value or not by S3,
"Calculation of orthogonality" S4, the orthogonality between the side whose parallelism was inspected by S5 and "Whether the orthogonality is within the reference value" S5 and the adjacent side are checked, and if the parallelism is outside the reference value, Performs a parallelism and orthogonality inspection on another pair of opposite sides in the same manner, and furthermore, when both the parallelism and the orthogonality are outside the reference value,
According to "calculation of parallelism and orthogonality of all sides" S7, S13, and S14, the parallelism and orthogonality of all sides are inspected, and a highly accurate side (positioning point) is obtained.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像処理による位
置決め方法に関し、詳しくは画像処理により読み込んだ
座標データの正確性を検査する工程を備えた画像処理に
よる位置決め方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a positioning method based on image processing, and more particularly to a positioning method based on image processing including a step of checking the accuracy of coordinate data read by image processing.
【0002】[0002]
【従来の技術】従来の画像処理による位置決め方法で
は、画像処理により読み込んだデータをそのまま用い
て、位置決めを行っていた。例えば、CCDペレット等
のボンディング装置におけるペレットの位置決めは、画
像処理により読み込んだデータが正確であるとして、そ
のデータに基づいて行われていた。2. Description of the Related Art In a conventional positioning method using image processing, positioning is performed using data read by image processing as it is. For example, positioning of a pellet in a bonding device such as a CCD pellet has been performed based on the assumption that data read by image processing is accurate.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、画像処
理による測定で位置決めするための測定部を誤検出した
場合や画像処理による測定が誤差を含んでいる場合で
は、ずれた状態で位置決めがなされる。例えばボンディ
ング装置の場合では、ボンディング位置がずれた状態に
なるため、ボンディング精度を低下させることになる。
図3の(1)に示すように、正確な位置データ(p1〜
p4)が画像処理装置から送られて来るべきところ、図
3の(2)に示すように、誤検出のためにp1’,p
2,p3,p4’なる誤った検出位置のデータが送られ
てきた場合、すなわち、p1’p4’を通る線Q’の傾
きθ’が、前記図3の(1)に示した正しいp1p4を
通る線Qの傾きθと明らかに異なる場合でも、ボンディ
ング装置はペレットを誤った位置で認識することにな
る。このように、ペレット位置を正確に認識しない状態
でボンディングが行われると、ボンディング不良が発生
して歩留りの低下を招くことになる。However, when the measurement unit for positioning by the image processing is erroneously detected or when the measurement by the image processing includes an error, the positioning is performed in a shifted state. For example, in the case of a bonding apparatus, the bonding position is shifted, so that the bonding accuracy is reduced.
As shown in FIG. 3A, accurate position data (p1 to
Although p4) should be sent from the image processing apparatus, as shown in (2) in FIG.
When the data of the erroneous detection position of 2, p3, p4 'is sent, that is, the inclination θ' of the line Q 'passing through p1' p4 'is the correct p1p4 shown in FIG. Even if the inclination is clearly different from the inclination θ of the passing line Q, the bonding apparatus will recognize the pellet at an incorrect position. As described above, if the bonding is performed without accurately recognizing the position of the pellet, a bonding failure occurs and the yield is reduced.
【0004】[0004]
【課題を解決するための手段】本発明は、上記課題を解
決するためになされた画像処理による位置決め方法であ
り、まず画像処理により、矩形の頂点で表される位置決
め点の座標データを読み込む。その座標データを頂点と
して構成される矩形の任意の対向する辺の平行度を演算
し、およびその平行度を演算した辺に隣り合う辺との直
交度を演算する。そして上記演算した平行度が基準値外
の場合には、別の対向する辺の平行度を演算し、および
その平行度を演算した辺に隣り合う辺との直交度を演算
する。このようにして演算した平行度および少なくとも
上記演算した一方の直交度が基準値内の場合には、求め
る辺を平行度を演算した辺の少なくともいづれか一方の
辺とする。一方、演算した平行度および直交度ともに基
準値外の場合には、その座標データに基づいて構成され
る矩形の全辺に対して平行度と直交度の検査を行うこと
を特徴としている。SUMMARY OF THE INVENTION The present invention is a positioning method based on image processing which has been made to solve the above problems. First, coordinate data of a positioning point represented by a rectangular vertex is read by image processing. The parallelism of an arbitrary opposing side of the rectangle constituted by the coordinate data as a vertex is calculated, and the orthogonality between the side on which the parallelism is calculated and a side adjacent thereto is calculated. If the calculated parallelism is outside the reference value, the parallelism of another opposing side is calculated, and the orthogonality of the calculated side with the adjacent side is calculated. When the parallelism calculated in this way and at least one of the orthogonalities calculated above are within the reference value, the side to be determined is at least one of the sides on which the parallelism is calculated. On the other hand, when both the calculated parallelism and orthogonality are outside the reference values, the parallelism and orthogonality are inspected for all sides of the rectangle formed based on the coordinate data.
【0005】上記矩形の全辺に対する平行度と直交度の
検査は、その矩形における一対の対向する辺の平行度
と、その矩形における他の一対の対向する辺の平行度と
を演算するとともに、その矩形の各隣り合う辺同士の全
ての直交度を演算して、各演算した平行度または直交度
が最も高くなる辺の組み合わせを選択し、その選択した
2辺の平均を求めることによる。The inspection of the parallelism and orthogonality of all sides of the rectangle is performed by calculating the parallelism of a pair of opposite sides of the rectangle and the parallelism of another pair of opposite sides of the rectangle. By calculating all orthogonalities between adjacent sides of the rectangle, selecting a combination of sides having the highest calculated parallelism or orthogonality, and calculating an average of the selected two sides.
【0006】上記画像処理による位置決め方法では、矩
形の対向する辺の平行度および隣り合う辺の直交度を演
算して、最も平行度または直交度が高い辺を選択してい
る。すなわち、矩形(長方形および正方形)は対向する
2辺が平行でかつ全ての隣り合う2辺が直角を成すた
め、画像処理により読み込んだ座標データに基づいて構
成される矩形の対向する2辺が基準値内の平行度を有
し、かつその平行度を演算した辺のうちの1辺に隣接す
る辺との直交度を求めることによって、演算した平行度
および少なくとも上記求めた一方の直交度が基準値内で
あれば、平行度を求めた辺が、正確な位置からのずれが
基準値内の辺となる。そしてその辺の両端の点が座標デ
ータであるから、その2点が正確な位置からのずれが基
準値内の位置決め点になる。In the positioning method based on the image processing, the parallelism of opposing sides of the rectangle and the orthogonality of adjacent sides are calculated, and the side having the highest parallelism or orthogonality is selected. That is, in a rectangle (rectangle and square), two opposing sides are parallel and all adjacent two sides form a right angle. Therefore, the opposing two sides of the rectangle formed based on the coordinate data read by the image processing are used as a reference. By calculating the degree of orthogonality with a side adjacent to one of the sides on which the degree of parallelism has been calculated and the degree of parallelism has been calculated, the calculated degree of parallelism and at least one of the obtained degrees of orthogonality are reference values. If the value is within the value, the side for which the parallelism is obtained is the side within the reference value that is shifted from the accurate position. Then, since the points at both ends of the side are coordinate data, a deviation from the correct position of the two points is a positioning point within the reference value.
【0007】また、初めに演算した平行度が基準値外の
場合には、上記矩形における別の対向する2辺で上記同
様の演算を行うことから、上記同様にして、正確な位置
からのずれが基準値内の辺が求まる。そしてその辺の両
端の点が座標データであるから、その2点が正確な位置
からのずれが基準値内の位置決め点になる。If the parallelism calculated first is outside the reference value, the same calculation is performed on the other two opposite sides of the rectangle. Is found within the reference value. Then, since the points at both ends of the side are coordinate data, a deviation from the correct position of the two points is a positioning point within the reference value.
【0008】さらに、演算した平行度および直交度とも
に基準値外の場合には、その座標データに基づいて構成
される矩形の全辺に対して平行度と直交度の演算を行
い、各演算した平行度または直交度が高い組み合わせの
辺を選択し、その2辺の平均を求めることから、正確な
位置からのずれが最も小さい辺が求まる。そしてその辺
の両端の点が座標データであるから、その2点が正確な
位置からのずれが最小となる位置決め点になる。Further, when both the calculated parallelism and orthogonality are outside the reference values, the parallelism and orthogonality are calculated for all sides of the rectangle formed based on the coordinate data, and each calculation is performed. By selecting a combination side having a high degree of parallelism or orthogonality and calculating the average of the two sides, the side with the smallest deviation from the correct position is determined. Since the points at both ends of the side are the coordinate data, the two points are the positioning points where the deviation from the accurate position is minimized.
【0009】その結果、誤差をともなって読み込んだ座
標データが正確な座標データまたは正確な座標データに
最も近い座標データとして求まる。As a result, the coordinate data read with an error is obtained as accurate coordinate data or coordinate data closest to the accurate coordinate data.
【0010】[0010]
【発明の実施の形態】本発明の画像処理による位置決め
方法の基本構成を説明する。この位置決め方法は、ま
ず、画像処理により、矩形の頂点で表される位置決め点
の座標データを読み込む。その際の矩形は、長方形また
は正方形とする。そして上記座標データに基づいて構成
される矩形の任意の対向する辺の平行度を演算し、およ
びその平行度を演算した辺に隣り合う辺との直交度を演
算する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A basic configuration of a positioning method using image processing according to the present invention will be described. In this positioning method, first, coordinate data of a positioning point represented by a rectangular vertex is read by image processing. The rectangle at that time is a rectangle or a square. Then, the parallelism of any opposing side of the rectangle formed based on the coordinate data is calculated, and the orthogonality between the side on which the parallelism is calculated and the side adjacent thereto is calculated.
【0011】その演算した平行度および少なくとも演算
した一方の直交度が基準値内の場合には、上記平行度を
演算した辺の少なくともいづれか一方の辺を求める辺と
する。If the calculated parallelism and at least one of the calculated orthogonalities are within the reference value, at least one of the sides on which the parallelism is calculated is determined as the side to be determined.
【0012】一方、その演算した平行度が基準値外の場
合には、別の対向する辺の平行度を演算し、およびその
平行度を演算した辺に隣り合う辺との直交度を演算す
る。そしてその演算した平行度および少なくとも演算し
た一方の直交度が基準値内の場合には、上記平行度を演
算した辺の少なくともいづれか一方の辺を求める辺とす
る。On the other hand, when the calculated parallelism is out of the reference value, the parallelism of another opposite side is calculated, and the orthogonality between the calculated side and the side adjacent thereto is calculated. . If the calculated degree of parallelism and at least one of the calculated degrees of orthogonality are within the reference value, at least one of the sides on which the calculated degree of parallelism is calculated is determined as the side to be determined.
【0013】他方、上記演算した平行度および直交度と
もに基準値外の場合には、上記座標データに基づいて構
成される矩形の全辺に対して平行度と直交度の演算を行
って、各演算した平行度または直交度が高い組み合わせ
の辺を選択し、その2辺の平均を求めて、それを求める
辺とする。On the other hand, when both the calculated parallelism and orthogonality are outside the reference values, the parallelism and orthogonality are calculated for all sides of the rectangle formed on the basis of the coordinate data. The calculated side having a high degree of parallelism or orthogonality is selected, the average of the two sides is obtained, and the average is determined as the side to be obtained.
【0014】上記位置決め方法は、一例として以下のよ
うな場合に適用される。例えば、ボンディングを行う際
に行うペレット位置の画像処理では、ペレットの角部の
点が位置を示す座標データとしてボンディング装置に送
られる。ボンディング装置では、初めに送られてきた座
標データに基づいてボンディング位置のθ方向(回転方
向)を計算する。ボンディング位置のθ方向の計算で
は、画像処理データの4点のうちの正確な2点がわかれ
ば、θは計算できる。ここでの2点とは、平面視した場
合にペレットの各側辺の位置を規定する点のことであ
る。そのθ方向の計算の前に上記座標データの正確性を
検査する。その際に上記説明した位置決め方法が採用さ
れる。The above positioning method is applied to the following cases as an example. For example, in the image processing of the pellet position performed at the time of performing bonding, a corner point of the pellet is sent to the bonding apparatus as coordinate data indicating the position. The bonding apparatus calculates the θ direction (rotation direction) of the bonding position based on the coordinate data sent first. In the calculation of the bonding position in the θ direction, θ can be calculated if two accurate points among the four points of the image processing data are known. The two points here are points that define the position of each side of the pellet when viewed in plan. Before the calculation in the θ direction, the accuracy of the coordinate data is checked. At that time, the positioning method described above is adopted.
【0015】次に、上記発明の画像処理による位置決め
方法に係わる実施形態の詳細を、図1のフローチャー
ト、図2の座標データおよび矩形データの説明図によっ
て説明する。ここでは一例として、ボンディング時のペ
レットの位置決め方法を説明する。Next, the details of the embodiment relating to the positioning method based on the image processing of the present invention will be described with reference to the flowchart of FIG. 1 and the explanatory view of the coordinate data and rectangular data of FIG. Here, as an example, a method of positioning a pellet during bonding will be described.
【0016】図1に示すように、「始め」により「座標
データの読み込み」S1を行う。すなわち、画像処理に
より、矩形の頂点で表される位置決め点の座標データを
読み込む工程を行う。例えば、図2の(1)に示すよう
に、ボンディングの際のペレット11に設定された位置
決め座標を構成するp1〜p4の各点の座標データを読
み込む。例えば点p1〜p4はペレットの角部の座標と
する。このp1〜p4は例えば矩形21の頂点に位置す
るもので、その矩形は、図示したような長方形のペレッ
トであっても、または正方形ペレット(図示省略)であ
ってもよい。またここでいう矩形21は平面視した場合
のペレットの外形になる。As shown in FIG. 1, "reading of coordinate data" S1 is performed by "beginning". That is, a step of reading coordinate data of a positioning point represented by a vertex of a rectangle by image processing is performed. For example, as shown in (1) of FIG. 2, the coordinate data of each of the points p1 to p4 constituting the positioning coordinates set on the pellet 11 at the time of bonding is read. For example, the points p1 to p4 are coordinates of the corner of the pellet. These p1 to p4 are located, for example, at the vertices of the rectangle 21, and the rectangle may be a rectangular pellet as shown or a square pellet (not shown). The rectangle 21 here is the outer shape of the pellet when viewed in plan.
【0017】次いで「任意の対向する一対の辺同士の平
行度の演算」S2により、上記座標データに基づいて構
成される矩形の任意の対向する一対の辺同士の平行度を
演算する第1演算工程を行う。ここでは、図2(2)に
示すように、画像処理によって読み込まれた矩形21の
対向する辺t0(以下辺t0は線分p1p2とする)と
辺t2(以下辺t2は線分p3p4とする)との平行度
を演算する。ここでいう矩形21の各辺t0,t1(以
下辺t1は線分p2p3とする),t2,t3(以下辺
t3は線分p4p1とする)は平面視した場合のペレッ
トの各側辺を示す。また平行度とは、2辺を平行移動し
て交差させたときの2辺のなす角度をいう。以下の平行
度は上記のように定義される。Next, a "calculation of parallelism between any pair of opposing sides" S2 is a first calculation for calculating the parallelism between any pair of opposing sides of a rectangle formed based on the coordinate data. Perform the process. Here, as shown in FIG. 2B, opposing sides t0 (hereinafter, the side t0 is a line segment p1p2) and a side t2 (hereinafter, the side t2 is a line segment p3p4) of the rectangle 21 read by the image processing. ) Is calculated. The sides t0 and t1 (hereinafter, the side t1 is a line segment p2p3), t2, and t3 (the side t3 is a line segment p4p1) of the rectangle 21 indicate the respective sides of the pellet when viewed in plan. . The parallelism refers to an angle between two sides when the two sides are moved in parallel and crossed. The following parallelism is defined as above.
【0018】続いて「平行度は基準値内か否か」S3に
より、上記第1演算工程で演算した平行度が基準値内か
否かを判定する第1判定工程を行う。ここでは、例えば
基準値を0.2°として、平行度が0.2°以下か、ま
たは0.2°よりも大きいかという基準によって判別す
る。このようにして、任意の対向する一対の辺同士の平
行度の検査を行う。Subsequently, in "whether or not the parallelism is within a reference value" S3, a first determination step of determining whether or not the parallelism calculated in the first calculation step is within a reference value is performed. Here, for example, assuming that the reference value is 0.2 °, the determination is made based on whether the parallelism is 0.2 ° or less or greater than 0.2 °. In this manner, the inspection of the parallelism between any pair of opposing sides is performed.
【0019】上記第1判定工程における平行度の判定に
おいて、その平行度が基準値内「Yes」の場合には、
「直交度の演算」S4によって、上記平行度を演算した
辺に隣り合う辺との直交度を演算する第2演算工程を行
う。ここでいう直交度とは、直交度を求める対象となる
2辺の交わる角度と直角との差の絶対値をいう。以下、
直交度とはこのように定義する。例えば、辺t0とそれ
に隣り合う辺t1、辺t0とそれに隣り合う辺t3との
各直交度を演算する。In the parallelism determination in the first determination step, when the parallelism is "Yes" within the reference value,
In the "calculation of orthogonality" S4, a second calculation step of calculating the orthogonality between the side on which the parallelism is calculated and an adjacent side is performed. Here, the orthogonality refers to the absolute value of the difference between the angle at which the two sides for which the orthogonality is determined and the right angle. Less than,
The orthogonality is defined in this way. For example, each orthogonality between the side t0 and the side t1 adjacent thereto and the side t0 and the side t3 adjacent thereto is calculated.
【0020】次いで「直交度は基準値内か否か」S5に
より、上記第2演算工程で演算した直交度が基準値内か
否かを判定する第2判定工程を行う。ここでは、例えば
基準値を0.2°として、直交度が0.2°以下か、ま
たは0.2°よりも大きいかという基準によって判別す
る。このようにして、平行度を演算した辺に隣り合う辺
との直交度の検査を行う。Next, in "whether the orthogonality is within a reference value" S5, a second determination step of determining whether or not the orthogonality calculated in the second operation step is within a reference value is performed. Here, for example, assuming that the reference value is 0.2 °, the determination is made based on whether the orthogonality is 0.2 ° or less or greater than 0.2 °. In this manner, the inspection of the orthogonality between the side on which the parallelism is calculated and the side adjacent thereto is performed.
【0021】上記第2判定工程における直交度の判定に
おいて、少なくともいずれかの上記求めた直交度が基準
値内「Yes」の場合には、「求める辺は平行度を演算
した辺」S6により、求める辺を決定して、「終了」と
なる。例えば、辺t0とそれに隣り合う辺t1との直交
度、および辺t0とそれに隣り合う辺t3との直交度の
いずれかが基準値内であれば、辺t0またはその辺t0
と平行度が基準値内にあった辺t2が求める辺となる。
すなわち、辺t0および辺t2は、上記第1演算工程で
平行度を演算した辺である。In the determination of the degree of orthogonality in the second determination step, if at least one of the obtained degrees of orthogonality is "Yes" within the reference value, the "determined side is the side on which the parallelism is calculated" S6 The side to be sought is determined, and the process ends. For example, if any of the orthogonality between the side t0 and the side t1 adjacent thereto and the orthogonality between the side t0 and the side t3 adjacent thereto are within the reference value, the side t0 or the side t0
The side t2 whose parallelism is within the reference value is the side to be obtained.
That is, the sides t0 and t2 are sides on which the parallelism is calculated in the first calculation step.
【0022】他方、上記第2判定工程の判定において、
直交度が基準値外「No」の場合には、「全辺の平行度
と直交度の検査」S7を行うことによって、前記座標デ
ータに基づいて構成される矩形の全辺に対して平行度と
直交度の検査を行う。この「全辺の平行度と直交度の検
査」の詳細は、後に詳述する。On the other hand, in the determination in the second determination step,
When the orthogonality is out of the reference value “No”, the “inspection of parallelism and orthogonality of all sides” S7 is performed, and the parallelism is applied to all sides of the rectangle formed based on the coordinate data. And inspection of orthogonality. The details of the “inspection of parallelism and orthogonality of all sides” will be described later in detail.
【0023】他方、上記第1判定工程の判定において、
平行度が基準値外「No」の場合には、「別の対向する
一対の辺同士の平行度の演算」S8により、先の第1の
演算工程における平行度の演算に用いた以外の対向する
一対の辺同士の平行度を演算する第3演算工程を行う。
ここでは、図2(2)に示すように、画像処理によって
読み込まれた矩形21の対向する辺t1と辺t3との平
行度を演算する。On the other hand, in the determination in the first determination step,
When the degree of parallelism is “No” outside the reference value, the “calculation of the degree of parallelism between another pair of opposing sides” S <b> 8 indicates that the degree of opposition other than the degree of parallelism used in the first degree of calculation in the first calculation step is different A third calculation step of calculating the parallelism between the pair of sides is performed.
Here, as shown in FIG. 2B, the parallelism between the opposing sides t1 and t3 of the rectangle 21 read by the image processing is calculated.
【0024】続いて「平行度は基準値内か否か」S9に
より、上記第3演算工程で演算した平行度が基準値内か
否かを判定する第3判定工程を行う。ここでは、例えば
基準値を0.2°として、平行度が0.2°以下か、ま
たは0.2°よりも大きいかという基準によって判別す
る。このようにして、別の対向する一対の辺同士の平行
度の検査を行う。Subsequently, in "whether or not the parallelism is within a reference value" S9, a third determination step of determining whether or not the parallelism calculated in the third calculation step is within a reference value is performed. Here, for example, assuming that the reference value is 0.2 °, the determination is made based on whether the parallelism is 0.2 ° or less or greater than 0.2 °. In this way, the inspection of the parallelism between another pair of opposite sides is performed.
【0025】上記第3判定工程における平行度の判定に
おいて、その平行度が基準値内「Yes」の場合には、
「直交度の演算」S10によって、上記平行度を演算し
た辺に隣り合う辺との直交度を演算する第4演算工程を
行う。例えば、辺t1とそれに隣り合う辺t0、辺t1
とそれに隣り合う辺t2との各直交度を演算する。In the determination of the parallelism in the third determination step, if the parallelism is "Yes" within the reference value,
In "calculation of orthogonality" S10, a fourth calculation step of calculating the orthogonality between the side on which the parallelism is calculated and the side adjacent thereto is performed. For example, the side t1 and the sides t0 and t1 adjacent to the side t1
And each orthogonality between the edge and the adjacent side t2 is calculated.
【0026】次いで「直交度は基準値内か否か」S11
により、上記第4演算工程で演算した直交度が基準値内
か否かを判定する第4判定工程を行う。ここでは、例え
ば基準値を0.2°として、直交度が0.2°以下か、
または0.2°よりも大きいかという基準によって判別
する。このようにして、平行度を演算した辺に隣り合う
辺との直交度の検査を行う。Next, "whether the orthogonality is within the reference value" S11
Thus, a fourth determination step of determining whether the orthogonality calculated in the fourth calculation step is within the reference value is performed. Here, for example, assuming that the reference value is 0.2 °, the orthogonality is 0.2 ° or less,
Alternatively, it is determined based on a criterion of whether the angle is larger than 0.2 °. In this manner, the inspection of the orthogonality between the side on which the parallelism is calculated and the side adjacent thereto is performed.
【0027】上記第4判定工程における直交度の判定に
おいて、少なくともいずれかの上記求めた直交度が基準
値内「Yes」の場合には、「求める辺は平行度を演算
した辺」S12により、求める辺を決定して、「終了」
となる。例えば、辺t1とそれに隣り合う辺t0との直
交度、および辺t1とそれに隣り合う辺t2との直交度
のいずれかが基準値内であれば、辺t1またはその辺t
1と平行度が基準値内にあった辺t3が求める辺とな
る。すなわち、辺t1および辺t3は、上記第3演算工
程で平行度を演算した辺である。In the determination of the degree of orthogonality in the fourth determination step, if at least one of the obtained degrees of orthogonality is “Yes” within the reference value, the “determined side is the side on which the parallelism is calculated” S12 Decide which side you want, and click "End"
Becomes For example, if either the orthogonality between the side t1 and the adjacent side t0 and the orthogonality between the side t1 and the adjacent side t2 are within the reference value, the side t1 or the side t
The side t3 whose parallelism with 1 is within the reference value is the side to be obtained. That is, the sides t1 and t3 are sides on which the parallelism is calculated in the third calculation step.
【0028】他方、上記第4判定工程の判定において、
直交度が基準値外「No」の場合には、「全辺の平行度
と直交度の検査」S13を行うことによって、前記座標
データに基づいて構成される矩形の全辺に対して平行度
と直交度の検査を行う。この「全辺の平行度と直交度の
検査」S13は、前記「全辺の平行度と直交度の検査」
S7のものと同様である。On the other hand, in the determination in the fourth determination step,
When the orthogonality is out of the reference value “No”, the “inspection of parallelism and orthogonality of all sides” S13 is performed to execute parallelism with respect to all sides of the rectangle configured based on the coordinate data. And inspection of orthogonality. The “inspection of parallelism and orthogonality of all sides” S13 is the “inspection of parallelism and orthogonality of all sides”.
It is the same as that of S7.
【0029】一方、上記第3判定工程の判定での直交度
が基準値外「No」の場合には、「全辺の平行度と直交
度の検査」S14を行うことによって、前記座標データ
に基づいて構成される矩形の全辺に対して平行度と直交
度の検査を行う。この「全辺の平行度と直交度の検査」
S14は、前記「全辺の平行度と直交度の検査」S7の
ものと同様である。On the other hand, if the orthogonality in the determination in the third determination step is "No" outside the reference value, the "inspection of the parallelism and orthogonality of all sides" S14 is performed, so that the coordinate data is obtained. Inspection of parallelism and orthogonality is performed on all sides of a rectangle formed based on the above. This "inspection of parallelism and orthogonality of all sides"
S14 is the same as that of the above-mentioned "inspection of parallelism and orthogonality of all sides" S7.
【0030】次に上記「全辺の平行度と直交度の検査」
について説明する。矩形における一対の対向する辺の平
行度と、その矩形における他の一対の対向する辺の平行
度とを演算する。例えば、前記図2の(2)に示すよう
な矩形21の辺t0と辺t2の平行度と、辺t1と辺t
3の平行度とを演算する。それとともに、矩形21の各
隣り合う辺同士の直交度を演算する。例えば、辺t0と
辺t1の直交度、辺t1と辺t2の直交度、辺t2と辺
t3の直交度、辺t3と辺t0の直交度を演算する。そ
して各演算した平行度または直交度が最も高い辺の組み
合わせを選択し、その選択した2辺の平均を求めること
による。Next, the above "inspection of parallelism and orthogonality of all sides"
Will be described. The parallelism of a pair of opposing sides of the rectangle and the parallelism of another pair of opposing sides of the rectangle are calculated. For example, the parallelism between the side t0 and the side t2 of the rectangle 21 as shown in FIG.
3 is calculated. At the same time, the orthogonality between each adjacent side of the rectangle 21 is calculated. For example, the orthogonality between the sides t0 and t1, the orthogonality between the sides t1 and t2, the orthogonality between the sides t2 and t3, and the orthogonality between the sides t3 and t0 are calculated. Then, a combination of sides having the highest calculated degree of parallelism or orthogonality is selected, and an average of the selected two sides is obtained.
【0031】上記図1,図2に基づいて説明した画像処
理による位置決め方法では、矩形の対向する辺の平行度
および隣り合う辺の直交度を演算して、平行度または直
交度が最も高い辺を選択している。矩形(長方形および
正方形)は対向する2辺が平行でかつ全ての隣り合う2
辺が直角を成すため、画像処理により読み込んだ矩形デ
ータの対向する2辺が基準値内の平行度を有し、かつそ
の平行度を演算した辺のうちの1辺に隣接する辺との直
交度を検査することによって、すなわち、「任意の対向
する一対の辺同士の平行度の演算」S2、「平行度は基
準値内か否か」S3、「直交度の演算」S4、および
「直交度は基準値内か否か」S5を行うことによって、
演算した平行度および少なくとも上記演算した一方の直
交度が基準値内であれば、平行度を求めた辺が、正確な
位置からのずれが基準値内の辺となる。またその辺の両
端の点が座標データであるから、正確な位置からのずれ
が基準値内の位置決め点の2点が選択されることにな
る。In the positioning method based on the image processing described with reference to FIGS. 1 and 2, the parallelism of opposing sides of a rectangle and the orthogonality of adjacent sides are calculated, and the side having the highest parallelism or orthogonality is calculated. Is selected. A rectangle (rectangle and square) has two opposing sides parallel and all adjacent two
Since the sides form a right angle, two opposite sides of the rectangular data read by the image processing have a parallelism within the reference value, and are orthogonal to the side adjacent to one of the sides on which the parallelism is calculated. By checking the degree, that is, "calculation of parallelism between any pair of opposing sides" S2, "whether or not parallelism is within a reference value" S3, "calculation of orthogonality" S4, and "orthogonality" Whether the degree is within the reference value ”S5
If the calculated parallelism and at least one of the calculated orthogonalities are within the reference value, the side from which the parallelism is obtained is the side within the reference value that is shifted from the accurate position. Further, since the points at both ends of the side are coordinate data, two points, that is, positioning points whose deviation from an accurate position is within the reference value, are selected.
【0032】また、初めに演算した平行度が基準値外の
場合には、別の対向する2辺で平行度および直交度の検
査を行うことによって、すなわち、「別の対向する一対
の辺同士の平行度の演算」S8、「平行度は基準値内か
否か」S9、「直交度の演算」S10、「直交度は基準
値内か否か」S11を行うことによって、演算した平行
度および少なくとも上記演算した一方の直交度が基準値
内であれば、その平行度を求めた辺が、正確な位置から
のずれが基準値内の辺となる。またその辺の両端の点が
座標データであるから、正確な位置からのずれが基準値
内の位置決め点の2点が選択されることになる。If the parallelism calculated first is outside the reference value, the parallelism and orthogonality are checked on another two opposite sides, that is, "another pair of opposite sides is checked. Of parallelism calculated by performing “calculation of parallelism” S8, “whether or not the parallelism is within a reference value” S9, “calculation of orthogonality” S10, and “whether or not the orthogonality is within a reference value” S11 If at least one of the calculated orthogonalities is within the reference value, the side from which the parallelism is obtained is the side within the reference value that deviates from the correct position. Further, since the points at both ends of the side are coordinate data, two points, that is, positioning points whose deviation from an accurate position is within the reference value, are selected.
【0033】さらに、演算した平行度および直交度とも
に基準値外の場合には、その座標データに基づいて構成
される矩形の全辺に対して平行度と直交度の演算を行う
ことによって、すなわち、「全辺の平行度と直交度の検
査」S7,S13,S14を行うことによって、各演算
した平行度または直交度が高い組み合わせの辺を選択
し、その2辺の平均を求めることから、正確な位置から
のずれが最も小さい辺が求まる。またその辺の両端の点
が座標データであるから、正確な位置からのずれが最小
となる位置決め点の2点が選択されることになる。Further, when both the calculated parallelism and orthogonality are outside the reference values, the parallelism and orthogonality are calculated for all sides of the rectangle formed based on the coordinate data, ie, By performing the “inspection of parallelism and orthogonality of all sides” S7, S13, and S14, a side of each combination having a high calculated parallelism or orthogonality is selected, and the average of the two sides is obtained. The side with the smallest deviation from the correct position is determined. In addition, since the points at both ends of the side are coordinate data, two points, that is, positioning points that minimize the deviation from an accurate position, are selected.
【0034】その結果、誤差をともなって読み込んだ座
標データが正確な座標データまたは正確な座標データに
最も近い座標データとして求まる。As a result, the coordinate data read with an error is obtained as accurate coordinate data or coordinate data closest to the accurate coordinate data.
【0035】上記画像処理による位置決め方法は、ボン
ディングの際のペレットの位置決めに用いることができ
る。すなわち、画像処理により読み込んだ座標データを
用いて位置決めする前に、読み込んだ座標データの正確
性を上記説明した位置決め方法により検査する。それに
よって、正確性の高い座標データに基づいて位置決めを
行うことができる。このうように位置決め精度が向上す
ることによって、例えばCCDペレット等のペレットボ
ンディング装置におけるペレットの位置決めの正確性の
向上が図れる。The above-described positioning method using image processing can be used for positioning a pellet at the time of bonding. That is, before positioning using the coordinate data read by the image processing, the accuracy of the read coordinate data is checked by the positioning method described above. Thereby, positioning can be performed based on highly accurate coordinate data. By improving the positioning accuracy in this way, it is possible to improve the accuracy of the positioning of the pellets in a pellet bonding apparatus such as a CCD pellet.
【0036】[0036]
【発明の効果】以上、説明したように本発明によれば、
画像処理により読み込んだ座標データに基づいて構成さ
れる矩形の対向する2辺の平行度を検査し、平行度を検
査した辺のうちの1辺に隣接する辺との直交度を検査す
ることによって、正確な位置からのずれが基準値内の
辺、または正確な位置からのずれが最も小さい辺を求め
ることができるので、求めた辺の両端の点から、最も正
確性の高い2点の位置決め点を求めることが可能にな
る。よって、例えば、ボンディングの際のペレットのθ
方向を位置を検出する際には、正確性の高い2点の位置
決め点からθ方向を検出することが可能になるので、ボ
ンディング精度の向上が図れ、さらにボンディング工程
での歩留りの向上が図れる。As described above, according to the present invention,
By inspecting the parallelism of two opposing sides of a rectangle formed based on the coordinate data read by the image processing, and inspecting the orthogonality with the side adjacent to one of the sides whose parallelism has been inspected. It is possible to determine the side where the deviation from the accurate position is within the reference value or the side where the deviation from the accurate position is the smallest, so that the two points with the highest accuracy are determined from both ends of the determined side. It is possible to find points. Therefore, for example, θ of the pellet at the time of bonding
When detecting the position in the direction, the θ direction can be detected from two highly accurate positioning points, so that the bonding accuracy can be improved and the yield in the bonding process can be improved.
【図1】本発明の画像処理による位置決め方法に係わる
実施形態のフローチャートである。FIG. 1 is a flowchart of an embodiment relating to a positioning method based on image processing of the present invention.
【図2】座標データおよび矩形データの説明図である。FIG. 2 is an explanatory diagram of coordinate data and rectangular data.
【図3】課題の説明図である。FIG. 3 is an explanatory diagram of a problem.
S1…「座標データの読み込み」、S2…「任意の対向
する一対の辺同士の平行度の演算」、S3,S9…「平
行度は基準値内か否か」、S4,S10…「直交度の演
算」、S5,S11…「直交度は基準値内か否か」、S
6,S12…「求める辺は平行度を演算した辺」、S
7,S13,S14…「全辺の平行度と直交度の演
算」、S8…「別の対向する一対の辺同士の平行度の演
算」S1 ... "reading of coordinate data", S2 ... "calculation of parallelism between any pair of opposing sides", S3, S9 ... "whether or not the parallelism is within a reference value", S4, S10 ... "orthogonality" , S5, S11... "Whether the orthogonality is within the reference value", S5
6, S12... "The side to be calculated is the side on which the parallelism is calculated", S
7, S13, S14 ... "calculation of parallelism and orthogonality of all sides", S8 ... "calculation of parallelism of another pair of opposite sides"
Claims (4)
位置決め点の座標データを読み込み、 前記座標データを頂点として構成される矩形の任意の対
向する辺の平行度を演算し、およびその平行度を演算し
た辺に隣り合う辺との直交度を演算して、 前記演算した平行度が基準値外の場合には、別の対向す
る辺の平行度を演算し、およびその平行度を演算した辺
に隣り合う辺との直交度を演算し、 前記演算した平行度および少なくとも前記演算した一方
の直交度が基準値内の場合には、求める辺を前記平行度
を演算した辺の少なくともいづれか一方の辺とし、 前記演算した平行度および直交度ともに基準値外の場合
には、該座標データに基づいて構成される矩形の全辺に
対して平行度と直交度の検査を行うことを特徴とする画
像処理による位置決め方法。An image processing device reads coordinate data of a positioning point represented by a vertex of a rectangle, calculates parallelism of an arbitrary opposing side of a rectangle having the coordinate data as a vertex, and calculates the parallelism of the parallel data. Calculating the degree of orthogonality between the side on which the degree was calculated and the side adjacent thereto, and calculating the degree of parallelism of another opposite side if the calculated degree of parallelism is outside the reference value, and calculating the degree of parallelism Calculating the degree of orthogonality with the side adjacent to the calculated side, and when the calculated degree of parallelism and at least one of the calculated degrees of orthogonality are within a reference value, at least one of the sides on which the calculated side is calculated. When both the calculated parallelism and orthogonality are outside the reference values, the inspection of the parallelism and orthogonality is performed on all sides of the rectangle formed based on the coordinate data. Rank by image processing How to decide.
方法であって、 画像処理により、矩形の頂点で表される位置決め点の座
標データを読み込む工程と、 前記座標データを頂点として構成される矩形の任意の対
向する一対の辺同士の平行度を演算する第1演算工程
と、 前記第1演算工程で演算した平行度が基準値内か否かを
判定する第1判定工程と、 前記平行度の判定において前記平行度が基準値内の場合
には、前記平行度を演算した辺に隣り合う辺との直交度
を演算する第2演算工程と、 前記第2演算工程で演算した直交度が基準値内か否かを
判定する第2判定工程と、 前記第2判定工程の判定における少なくともいずれかの
直交度が基準値内の場合には、求める辺を前記平行度を
演算した辺とする工程と、 前記第2判定工程の判定における直交度が基準値外の場
合には、前記座標データに基づいて構成される矩形の全
辺に対して平行度と直交度の検査を行う工程と、 前記第1判定工程の判定における平行度が基準値外の場
合には、前記平行度を演算した以外の対向する一対の辺
同士の平行度を演算する第3演算工程と、 前記第3演算工程で演算した平行度が基準値内か否かを
判定する第3判定工程と、 前記第3判定工程の判定における平行度が基準値内の場
合には、当該平行度を演算した辺に隣り合う辺との直交
度を演算する第4演算工程と、 前記第4演算工程で演算した直交度が基準値内か否かを
判定する第4判定工程と、 前記第4判定工程の判定における少なくともいずれかの
直交度が基準値内の場合には、求める辺を前記第3演算
工程で平行度を演算した辺とする工程と、 前記第4判定工程の判定における直交度が基準値外の場
合には、前記座標データに基づいて構成される矩形の全
辺に対して平行度と直交度の検査を行う工程と、 前記第3判定工程の判定における直交度が基準値外の場
合には、前記座標データに基づいて構成される矩形の全
辺に対して平行度と直交度の検査を行う工程とを備えた
ことを特徴とする画像処理による位置決め方法。2. The positioning method according to claim 1, wherein the coordinate data of a positioning point represented by a vertex of the rectangle is read by the image processing; A first calculation step of calculating the parallelism between any pair of opposing sides, a first determination step of determining whether the parallelism calculated in the first calculation step is within a reference value, and the parallelism. In the determination of the above, if the parallelism is within the reference value, a second calculation step of calculating the orthogonality between the side on which the parallelism is calculated and an adjacent side, and the orthogonality calculated in the second calculation step is A second determination step of determining whether or not the value is within a reference value; and if at least one of the orthogonalities in the determination of the second determination step is within the reference value, the side to be determined is the side on which the parallelism is calculated. And the determination in the second determination step When the orthogonality in the rectangular shape is outside the reference value, a step of inspecting the parallelism and the orthogonality for all sides of the rectangle formed based on the coordinate data; and the parallelism in the determination in the first determination step. Is outside the reference value, a third calculation step of calculating the parallelism between a pair of opposing sides other than the calculation of the parallelism, and whether the parallelism calculated in the third calculation step is within the reference value. A third determining step of determining whether or not the parallelism in the determination in the third determining step is within a reference value; and a fourth calculating step of calculating an orthogonality between the side on which the parallelism is calculated and an adjacent side. A calculating step, a fourth determining step of determining whether or not the orthogonality calculated in the fourth calculating step is within a reference value, and at least one of the orthogonalities in the determination of the fourth determining step is within a reference value. , The side to be determined is the side on which the parallelism is calculated in the third calculation step. And if the orthogonality in the determination of the fourth determination step is outside the reference value, a step of inspecting the parallelism and orthogonality for all sides of the rectangle configured based on the coordinate data, When the orthogonality in the determination in the third determination step is outside the reference value, a step of inspecting the parallelism and the orthogonality for all sides of the rectangle configured based on the coordinate data. A positioning method by image processing characterized by the following.
方法において、 前記座標データに基づいて構成される矩形の全辺に対す
る平行度と直交度の検査は、 該矩形における一対の対向する辺の平行度と、該矩形に
おける他の一対の対向する辺の平行度とを演算するとと
もに、該矩形の各隣り合う辺同士の直交度を演算し、 各演算した平行度または直交度が高い組み合わせの辺を
選択し、その2辺の平均を求めることを特徴とする画像
処理による位置決め方法。3. The positioning method according to claim 1, wherein the inspection of the parallelism and the orthogonality with respect to all sides of the rectangle based on the coordinate data is performed by checking the parallelism of a pair of opposite sides in the rectangle. And the degree of parallelism of the other pair of opposing sides of the rectangle are calculated, and the degree of orthogonality between adjacent sides of the rectangle is calculated. And determining the average of the two sides of the image.
方法において、 前記座標データに基づいて構成される矩形の全辺の検査
は、 該矩形における一対の対向する辺の平行度と、該矩形に
おける他の一対の対向する辺の平行度とを演算するとと
もに、該矩形の各隣り合う辺同士の直交度を演算し、 各演算した平行度または直交度が最も高い組み合わせの
辺を選択し、その2辺の平均を求めることを特徴とする
画像処理による位置決め方法。4. The positioning method according to claim 2, wherein the inspection of all sides of the rectangle configured based on the coordinate data includes the parallelism of a pair of opposite sides of the rectangle and the parallelism of the rectangle. Along with calculating the parallelism of the other pair of opposing sides, the orthogonality of each adjacent side of the rectangle is calculated, and the side of the combination having the highest calculated parallelism or orthogonality is selected. A positioning method based on image processing, wherein an average of two sides is obtained.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10009222A JPH11214415A (en) | 1998-01-21 | 1998-01-21 | Positioning method by image processing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10009222A JPH11214415A (en) | 1998-01-21 | 1998-01-21 | Positioning method by image processing |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11214415A true JPH11214415A (en) | 1999-08-06 |
Family
ID=11714411
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10009222A Pending JPH11214415A (en) | 1998-01-21 | 1998-01-21 | Positioning method by image processing |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11214415A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110539306A (en) * | 2019-09-06 | 2019-12-06 | 广东利元亨智能装备股份有限公司 | Workpiece bonding method and equipment |
-
1998
- 1998-01-21 JP JP10009222A patent/JPH11214415A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110539306A (en) * | 2019-09-06 | 2019-12-06 | 广东利元亨智能装备股份有限公司 | Workpiece bonding method and equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6690841B2 (en) | Method and apparatus for image registration | |
| CN102567724B (en) | Image correction system and method | |
| US20020186897A1 (en) | Camera calibration system using planar concentric circles and method thereof | |
| US10102631B2 (en) | Edge detection bias correction value calculation method, edge detection bias correction method, and edge detection bias correcting program | |
| EP3534334B1 (en) | Method for identification of characteristic points of a calibration pattern within a set of candidate points derived from an image of the calibration pattern | |
| Van Den Heuvel et al. | Digital close-range photogrammetry using artificial targets | |
| CN113256729A (en) | External parameter calibration method, device, equipment and storage medium for laser radar and camera | |
| CN111829439B (en) | High-precision translation measuring method and device | |
| US6519358B1 (en) | Parallax calculating apparatus, distance calculating apparatus, methods of the same, and information providing media | |
| JP2002081914A (en) | Dimension inspection method and apparatus and mask manufacturing method | |
| CN111912369B (en) | Method, device and program for determining chamfer properties of a workpiece chamfer | |
| CN112651261B (en) | Calculation method for conversion relation between high-precision 2D camera coordinate system and mechanical coordinate system | |
| JPH11214415A (en) | Positioning method by image processing | |
| JP4513394B2 (en) | Color image processing method and image processing apparatus | |
| JP2010182330A (en) | Method for processing color image and image processor | |
| JPH10289315A (en) | Parallax calculation device and method, and distance calculation device and method | |
| JP3864491B2 (en) | Disparity calculating device, distance calculating device, and methods thereof | |
| JP4670995B2 (en) | Color image processing method and image processing apparatus | |
| JP4670993B2 (en) | Color image processing method and image processing apparatus | |
| JPH11132763A (en) | Distance measuring method | |
| JP2007528065A (en) | Method and apparatus for determining angular posture of object | |
| JP4887820B2 (en) | Image position measuring method, image position measuring apparatus, and image position measuring program | |
| JP3111433B2 (en) | Image processing device | |
| JPH07280560A (en) | Correlation computation evaluating method | |
| JP5039083B2 (en) | Image creation method, calculation device, image creation program, and storage medium |