JP3645146B2 - Appearance inspection apparatus and method - Google Patents
Appearance inspection apparatus and method Download PDFInfo
- Publication number
- JP3645146B2 JP3645146B2 JP2000070776A JP2000070776A JP3645146B2 JP 3645146 B2 JP3645146 B2 JP 3645146B2 JP 2000070776 A JP2000070776 A JP 2000070776A JP 2000070776 A JP2000070776 A JP 2000070776A JP 3645146 B2 JP3645146 B2 JP 3645146B2
- Authority
- JP
- Japan
- Prior art keywords
- point sequence
- model point
- coordinates
- coordinate plane
- points
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Processing (AREA)
- Electric Connection Of Electric Components To Printed Circuits (AREA)
- Image Analysis (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、被測定物における複数の被測定箇所の座標と、該複数の被測定箇所に対応する予め設定される基準座標とを、基準座標平面上で照合して、前記複数の半田を検査する外観検査装置及び方法に係り、特に、所定のパターンを有する点列データに基づいて座標を入力する外観検査装置及び方法に関するものである。
【0002】
【従来の技術】
従来の印刷半田の検査について説明する。図9(a)は、プリント基板上に接続する電子部品を示す図である。この電子部品W3には、その矩形状の本体の各側面にそれぞれ等間隔に配列されている5本の端子からなる端子列P5〜P8が、四方に延出している。プリント基板上には、図9(b)に示すように、各端子列P5〜P8に対応するように、半田列H5 〜H8 が印刷されている。
【0003】
また、図10(a)は、プリント基板上に接続するボールグリッドアレイ(BGA)W4を示す図である。このBGAW4の裏面には、等間隔に配列されている5個の端子が縦に4本形成されており、この4本の端子列P5〜P8に対応するように、プリント基板上には、4本の半田列H5 〜H8 が印刷されている。
【0004】
プリント基板上の半田列H5 〜H8 の位置を検査する場合、CCDカメラやCCDラインセンサの輝度情報により半田列H5 〜H8 を読み取り、各半田の座標位置を決定する。そして、電子部品W3,W4ごとに予め設定されている基準座標平面に基づく半田の基準座標と照合し、半田の欠損等を検査している。
【0005】
しかし、半田の基準座標の入力に際しては、半田一つずつに基準座標を入力していたため、入力作業が煩雑である。特に、図1や図7(a)に示すような電子部品W1,W2をプリント基板に接続する場合、図2や図7(b)に示すようなプリント基板上に形成されている各半田列P1 〜P4 の半田が等間隔で配列されていないため、基準座標の設定が困難である。
【0006】
【発明が解決しようとする課題】
本発明は、上記欠点を除くためになされたものであって、その目的とするところは、モデル点列を所定の間隔及び方向に順次複製して総ての未知点を演算することにより、少ない入力データで被測定物上の複雑な配列をなしている被測定箇所に対応する多数の未知点の座標が得られ、複数の未知点の入力手順の簡素化を図ることにある。
【0007】
【課題を解決するための手段】
要するに、本発明の請求項1記載の外観検査装置は、被測定物における複数の被測定箇所の座標と、該複数の被測定箇所に対応する予め設定される基準座標とを、基準座標平面XY上で照合して、前記複数の被測定箇所を検査する外観検査装置において、
所定の線分と、該線分の少なくともいずれか一方の端点と、前記複数の被測定箇所の一部に対応し前記端点から所望の間隔で前記線分上に配列されている複数の未知点と、からなり、前記基準座標平面上に複製されるモデル点列と、
該モデル点列が記憶されるモデル点列記憶手段と、
前記モデル点列を前記基準座標平面上に最初に複製する初期座標と、前記モデル点列の複製回数と、前記線分上の前記端点及び前記複数の未知点に基づくモデル点列データと、所定の複製座標及び点列回転量θからなる複製データ、を入力するデータ入力手段と、
前記モデル点列を前記基準座標平面上の前記初期座標から前記複製回数分順次複製する複製手段と、
前記基準座標平面上において直前に複製された前記モデル点列の端点及び複数の未知点の配列方向に基づく複製座標平面を作成する複製座標平面作成手段5と、
前記複製座標平面上において前記複製座標を読み出して新たな端点とし、該新たな端点を回転軸として前記直前に複製された前記モデル点列の配列方向に対し前記点列回転量分回転させて新たに複製される前記モデル点列の複製位置を設定する複製制御手段と、
前記初期座標,前記モデル点列データ及び前記複製データに基づき、前記基準座標平面上に複製された総ての前記モデル点列の未知点の基準座標を演算する基準座標演算手段と、
該基準座標演算手段により算出された前記基準座標を格納保持する基準座標記憶手段と、
を具備することを特徴とする。
【0008】
また、本発明の請求項2記載の外観検査方法は、被測定物における複数の被測定箇所の座標と、該複数の被測定箇所に対応する予め設定される基準座標とを、基準座標平面上に照合して、前記複数の被測定箇所を検査する外観検査方法において、
所定の線分と、該線分の少なくともいずれか一方の端点と、前記複数の被測定箇所の一部に対応し前記端点から所望の間隔で前記線分上に配列されている複数の未知点と、からなるモデル点列を設定し、
該モデル点列を前記基準座標平面上に最初に複製する初期座標と、前記モデル点列の複製回数と、前記線分上の前記端点及び前記複数の未知点に基づくモデル点列データと、所定の複製座標及び点列回転量からなる複製データ、を入力し、
前記モデル点列を前記基準座標平面上の前記初期座標から複製し、
前記基準座標平面上において直前に複製された前記モデル点列の端点及び複数の未知点の配列方向に基づく複製座標平面を作成し、
該複製座標平面上において前記複製座標を読み出して新たな端点とし、該新たな端点座標を回転軸として前記直前に複製された前記モデル点列の配列方向に対し前記点列回転量分回転させて新たに前記モデル点列を複製し、
前記モデル点列を前記複製回数複製した後、前記初期座標,前記モデル点列データ及び前記複製データに基づき、前記基準座標平面上に複製された総ての前記モデル点列の未知点の基準座標を演算し、
算出された前記基準座標を格納保持することを特徴とする。
【0009】
【発明の実施の形態】
本発明の外観検査装置の第一実施の形態について説明する。図1は、被測定物としてのプリント基板に搭載される電子部品W(W1)を示す図であり、図2は、被測定物における複数の被測定箇所としてのプリント基板上に印刷されている半田列H1 〜H4 の配列状態を示す図である。図1に示すように、電子部品W1には、その直方体形状の本体の各側面にそれぞれ配列されている5本の端子からなる端子列P1 〜P4 が、四方に延出している。各側面の端子列の一部は等間隔ピッチで形成されており、所定の間隔をおいて残りの端子が形成されている。プリント基板には、電子部品W1を接続する位置に、電子部品W1の端子の配列に対応して半田列H1 〜H4 が印刷されている。
【0010】
次に、上述したプリント基板に印刷されている半田H1 〜H4 の基準座標を入力する外観検査装置1について説明する。図3は、本発明による外観検査装置1の実施の形態を示すブロック構成図である。外観検査装置1は、内部メモリ等からなるモデル点列記憶手段2と、テンキー,タッチパネル等からなるデータ入力手段3と、不揮発性RAM等からなる基準座標記憶手段8と、を有している。また、CPUは、モデル点列記憶手段2及びデータ入力手段3からのデータに基づいて、演算処理する部分であり、その機能に応じて、複製手段4,複製座標作成手段5,複製制御手段6及び基準座標演算手段7で構成されている。
【0011】
モデル点列記憶手段2には、プリント基板上に印刷されている複数の半田H1 〜H4 の一部H1 に対応するモデル点列Lが記憶されている。モデル点列Lは、図4に示すように、所定長さの線分lと、線分lの少なくともいずれか一方の端点Qと、端点Qから所望の間隔で線分上に配列されている複数の未知点A〜Eと、で構成されている。このモデル点列Lは、線分l上の端点Qから所定間隔離れた位置に未知点Aが設定され、この未知点Aから等間隔fで未知点B〜Dが設定され、更に未知点Dから所定間隔をおいて未知点Eが設定されている。
【0012】
データ入力手段2には、モデル点列Lを基準座標平面XY上に最初に複製する初期座標(x,y)と、モデル点列Lの複製回数Nと、モデル点列データと、複製データが入力される。
【0013】
モデル点列データは、線分l上の端点Q及び複数の未知点A〜Eに基づいて設定される。具体的には、各未知点A〜Eの端点Qからの距離a〜eが設定されている。なお、このモデル点列の場合、未知点A〜Dが等間隔で配列されているため、未知点B〜Dに関しては、端点Qからの距離b〜dに換えて、その数(この場合は3個)及びその間隔fを設定してもよい。複製データは、所定の複製座標(s,t)及び点列回転量θからなるパラメータである。複製データは、直前に複製されたモデル点列Ln の端点座標及び配列方向に基づいて、新たに複製されるモデル点列Ln+1 の複製位置を設定するための相対的なパラメータである。
【0014】
複製手段4では、モデル点列Lを基準座標平面XY上の初期座標(x,y)から複製回数N分順次複製する処理が行われる。
【0015】
複製座標平面作成手段5では、複製の都度、複数の未知点A〜Eの配列方向S及び配列方向Sの直交方向Tからなる複製座標平面STを作成する処理が行われる。原点は、直前に複製されたモデル点列の端点Qn である。
【0016】
複製制御手段6では、ST複製座標平面上に複製データの複製座標(s,t)を読み出して新たな端点Qn+1 とする処理が行われる。そして、新たな端点Qn+1 を回転軸として直前に複製されたモデル点列Ln の配列方向Sに対し点列回転量θ分回転させたモデル点列Lを、新たなモデル点列Ln+1 として複製処理をする。
【0017】
基準座標演算手段7では、初期座標(x,y),モデル点列データ及び複製データに基づき、図6(d)に示すような、複製手段4により基準座標平面XY上に複製された総てのモデル点列L1 〜L4 の未知点A1 〜E1 ,A2 〜E2 ,A3 〜E3 ,A4 〜E4 ,A5 〜E5 の基準座標を演算処理する。
基準座標記憶手段8は、基準座標演算手段7により演算処理された総てのモデル点列の未知点A1 〜E1 ,A2 〜E2 ,A3 〜E3 ,A4 〜E4 ,A5 〜E5 の基準座標を格納保持する。
【0018】
次に、本実施の形態の作用について図5及び図6を用いて説明する。まず、図1に示すプリント基板上に印刷されている複数の半田H1 〜H4 の一部H1 に対応するモデル点列Lを作成して予めモデル点列記憶手段2に記憶させる。このモデル点列Lの配列方向Sは、X軸方向に設定されている。
【0019】
次に、モデル点列Lを基準座標平面XY上に最初に複製する初期座標(x,y)及びモデル点列Lの複製回数Nを入力する。そして、モデル点列Lのモデル点列データである端点Qから各未知点A〜Eまでの距離を入力する。最後に、所定の複製座標(s,t)=(s,0)及び点列回転量θ=90°からなる複製データを入力する。
【0020】
そして、モデル点列Lをモデル点列記憶手段2から読み出し、図6(a)に示すように、その端点QがXY座標平面上の初期座標(x,y)と一致するように1回目の複製処理を行う。このとき、複製されたモデル点列L1 の配列方向Sは、X軸方向と同一方向となっており、配列方向Sに直交する直交方向Tは、Y軸方向と同一方向となっている(ST1)。
【0021】
次に、基準座標平面XY上に複製されたモデル点列の数が、入力した複製回数Nと一致するか否かを判断する(ST6)。複製されたモデル点列の数が、入力した複製回数Nに満たないので、2回目の複製処理に移る(ST6−NO)。
【0022】
次に、図6(b)に示すように、2回目の複製処理を行う。最初に複製されたモデル点列L1 の端点Q1 の座標である基準座標(x,y)を原点とし、複数の未知点A1 〜E1 の配列方向S及び配列方向Sに直交する方向Tからなる複製座標平面STを作成する(ST4)。この複製座標平面ST上に複製データの複製座標(s,t)=(s,0)を読み出して新たな端点Q2 とする。そして、新たな端点Q2 を回転軸として直前に複製されたモデル点列L1 の配列方向Sに対し点列回転量θ=90°分回転させたモデル点列Lを、新たなモデル点列L2 として複製する(ST5)。
【0023】
この2回目に複製されたモデル点列の配列方向Sは、Y軸と同一方向であり、直交方向TはX軸と反対方向を向いている。
【0024】
次に、基準座標平面XY上に複製されたモデル点列の数が、入力した複製回数Nと一致するか否かを判断する(ST6)。複製されたモデル点列の数が、入力した複製回数Nに満たないので、3回目の複製処理に移る(ST6−NO)。
【0025】
次に、図6(c)に示すように、3回目の複製処理を行う。2回目に複製されたモデル点列L2 の端点Q2 を原点とし、複数の未知点A2 〜E2 の配列方向S及びその直交方向Tからなる複製座標平面STを作成する(ST4)。この複製座標平面ST上に複製データの複製座標(s,t)=(s,0)を読み出して新たな端点Q3 とする。そして、新たな端点Q3 を回転軸として直前に複製されたモデル点列L2 の配列方向Sに対し点列回転量θ=90°分回転させたモデル点列Lを、新たなモデル点列L3 として複製する(ST5)。
【0026】
この3回目に複製されたモデル点列L3 の配列方向Sは、X軸方向と平行でかつ反対方向であり、直交方向TもY軸方向と平行でかつ反対方向である。
【0027】
次に、基準座標平面XY上に複製されたモデル点列の数が、入力した複製回数Nと一致するか否かを判断する(ST6)。複製されたモデル点列の数が、入力した複製回数Nに満たないので、4回目の複製処理に移る(ST6−NO)。
【0028】
次に、図6(d)に示すように、4回目の複製処理を行う。3回目に複製されたモデル点列L3 の端点Q3 を原点とし、複数の未知点A3 〜E3 の配列方向S及び配列方向Sに直交する方向Tからなる複製座標平面STを作成する(ST4)。この複製座標平面ST上に複製データの複製座標(s,t)=(s,0)を読み出して新たな端点Q4 とする。そして、新たな端点Q4 を回転軸として直前に複製されたモデル点列L3 の配列方向Sに対し点列回転量θ=90°分回転させたモデル点列Lを、新たなモデル点列L4 として複製する(ST5)。このモデル点列L4 により、複数の未知点A4 〜E4 が設定される。
【0029】
次に、基準座標平面XY上に複製されたモデル点列の数が、入力した複製回数Nと一致するか否かを判断する(ST6)。複製されたモデル点列の数が、入力した複製回数Nに一致するので、複製処理は終了する(ST6−YES)。
【0030】
次に、基準座標平面XY上に複製された総てのモデル点列L1 〜L4 の未知点A1 〜E1 ,A2 〜E2 ,A3 〜E3 ,A4 〜E4 の基準座標を演算する(ST7)。まず、最初に複製されたモデル点列L1 の各未知点A1 〜E1 の基準座標を算出する。最初に複製されたモデル点列L1 の端点Q1 の座標は、初期座標(x,y)として求められる。そして、モデル点列データを読み込む。最初に複製されたモデル点列L1 の配列方向SはX軸方向と同一方向であるので、初期座標(x,y)のX成分に、各未知点A1 〜E1 ごとに端点Q1 からの距離a〜eを加算する。これにより、最初に複製されたモデル点列L1 の線分上の各未知点A1 〜E1 の基準座標A1 (x+a,y),B1 (x+b,y),C1 (x+c,y),D1 (x+d,y),E1 (x+e,y)が算出される。
【0031】
次に、2回目に複製されたモデル点列L2 の各未知点A2 〜E2 の基準座標を算出する。最初に複製されたモデル点列L1 の配列方向SはX軸方向と同一方向であり、直交方向TはY軸方向と同一方向である。したがって、2回目に複製されたモデル点列L2 の端点Q2 の座標は、最初に複製されたモデル点列L1 の端点座標Q1 (x,y)に複製データの複製座標(s,t)=(s,0)を加算した座標Q2 (x+s,y)となる。
【0032】
次に、モデル点列データを読み込む。2回目に複製されたモデル点列L2 の配列方向Sは、最初に複製されたモデル点列L1 の配列方向Sから点列回転量θ=90°分回転させられているので、2回目に複製されたモデル点列L2 の配列方向Sは、Y軸方向と同一方向である。したがって、2回目に複製されたモデル点列L2 の端点Q2 の座標(x+s,y)のY成分に、各未知点A2 〜E2 ごとに端点Q2 からの距離a〜eを加算する。これにより、2回目に複製されたモデル点列L2 の線分上の各未知点A2 〜E2 の基準座標A2 (x+s,y+a),B2 (x+s,y+b),C2 (x+s,y+c),D2 (x+s,y+d),E2 (x+s,y+e)が算出される。
【0033】
次に、3回目に複製されたモデル点列L3 の各未知点A3 〜E3 の基準座標を算出する。2回目に複製されたモデル点列L2 の配列方向SはY軸方向と同一方向であり、直交方向TはX軸方向と反対方向である。このため、複製座標平面STにおける複製データの複製座標(s,t)は、基準座標平面XYにおいて、(−t,s)と変換される。
【0034】
したがって、3回目に複製されたモデル点列L3 の端点Q3 の座標は、2回目に複製されたモデル点列L2 の端点座標Q2 (x+s,y)に、変換された複製データの複製座標(−t,s)=(0,s)を加算した座標Q3 (x+s,y+s)となる。
【0035】
次に、モデル点列データを読み込む。3回目に複製されたモデル点列L3 の配列方向Sは、2回目に複製されたモデル点列L2 の配列方向Sから点列回転量θ=90°分回転させられているので、3回目に複製されたモデル点列L3 の配列方向Sは、X軸方向と反対方向である。したがって、3回目に複製されたモデル点列L3 の端点Q3 の座標(x+s,y+s)のX成分に、各未知点A3 〜E3 ごとに端点Q3 からの距離a〜eを減算する。これにより、3回目に複製されたモデル点列L3 の線分上の各未知点A3 〜E3 の基準座標A3 (x+s−a,y+s),B3 (x+s−b,y+s),C3 (x+s−c,y+s),D3 (x+s−d,y+s),E3 (x+s−e,y+s)が算出される。
【0036】
次に、4回目に複製されたモデル点列L4 の各未知点A4 〜E4 の基準座標を算出する。3回目に複製されたモデル点列L3 の配列方向SはX軸方向と反対方向であり、直交方向TはY軸方向と反対方向である。このため、複製座標平面STにおける複製データの複製座標(s,t)は、基準座標平面XYにおいて、(−s,−t)と変換される。
【0037】
したがって、4回目に複製されたモデル点列L4 の端点Q4 の座標は、3回目に複製されたモデル点列L3 の端点座標Q3 (x+s,y+s)に、変換された複製データの複製座標(−s,−t)=(−s,0)を加算した座標Q4 (x,y+s)となる。
【0038】
次に、モデル点列データを読み込む。4回目に複製されたモデル点列L4 の配列方向Sは、3回目に複製されたモデル点列L3 の配列方向Sから点列回転量θ=90°分回転させられているので、4回目に複製されたモデル点列L4 の配列方向Sは、Y軸方向と反対方向である。したがって、4回目に複製されたモデル点列L4 の端点Q4 の座標(x,y+s)のY成分に、各未知点A4 〜E4 ごとの端点Q4 からの距離a〜eを減算する。これにより、4回目に複製されたモデル点列L4 の線分上の各未知点A4 〜E4 の基準座標A4 (x−a,y+s),B4 (x−b,y+s),C4 (x−c,y+s),D4 (x−d,y+s),E4 (x−e,y+s)が算出される。
【0039】
基準座標平面XY上に複製された総てのモデル点列L1 〜L4 の未知点A1 〜E1 ,A2 〜E2 ,A3 〜E3 ,A4 〜E4 の基準座標を座標記憶手段8に格納する。
【0040】
プリント基板上に印刷された半田H1 〜H4 の位置を検査する場合、半田H1 〜H4 が印刷されたプリント基板をCCD等で読み込んで、半田H1 〜H4 の印刷位置を座標値に換算する。この座標値と基準座標記憶手段8に格納されている基準座標A1 〜E1 ,A2 〜E2 ,A3 〜E3 ,A4 〜E4 を比較して、半田H1 〜H4 の印刷位置のずれや欠落しているか否かを検査する。
【0041】
次に、本発明の第二実施の形態について説明する。本実施の形態では、図7(a)に示すように、電子部品Wとしてボールグリッドアレイ(BGA)W2を用いた例である。プリント基板に印刷されている半田列H1 〜H4 は、図7(b)に示すように配列されている。なお、複製データの複製座標(s,t)=(0,t)とし、点列回転量θ=0°とする。モデル点列は、第一実施の形態のモデル点列Lを用いる。
【0042】
本実施の形態では、点列回転量θがθ=0°であるので、基準座標平面XYのX軸と複製座標平面STのS軸とが常に同一方向であり、基準座標平面XYのY軸と複製座標平面STのT軸とも常に同一方向である。
【0043】
したがって、本実施の形態の複製処理は以下のようになる。なお、ST1及びST2は第一実施の形態と同様であるので省略する。まず、図8(a)に示すように、モデル点列Lをモデル点列記憶手段2から読み出し、その端点Qが基準座標平面XY上の初期座標(x,y)と一致するように1回目の複製処理を行う(ST3)。
【0044】
次に、図8(b)に示すように、2回目の複製処理を行う。最初に複製されたモデル点列L1 の端点Q1 の座標である初期座標(x,y)を原点とし、複数の未知点A1 〜E1 の配列方向S及び配列方向Sに直交する方向Tからなる複製座標平面STを作成する(ST4)。この複製座標平面ST上に複製データの複製座標(s,t)=(0,t)を読み出して新たな端点Q2 とする。そして、点列回転量θ=0°であるため、新たな端点Q2 を回転軸として直前に複製されたモデル点列L1 と同一配列方向のモデル点列Lを、新たなモデル点列L2 として複製する(ST5)。
【0045】
次に、基準座標平面XY上に複製されたモデル点列の数が、入力した複製回数Nと一致するか否かを判断する(ST6)。複製されたモデル点列の数が、入力した複製回数Nに満たないので、2回目の複製処理に移る(ST6−NO)。
【0046】
次に、図8(c)に示すように、3回目の複製処理を行う。2回目に複製されたモデル点列L2 の端点Q2 を原点とし、複数の未知点A2 〜E2 の配列方向S及び配列方向Sに直交する直交方向Tからなる複製座標平面STを作成する(ST4)。この複製座標平面ST上に複製データの複製座標(s,t)=(0,t)を読み出して新たな端点Q3 とする。そして、点列回転量θ=0°であるため、新たな端点Q3 を回転軸として直前に複製されたモデル点列L2 と同一配列方向のモデル点列Lを、新たなモデル点列L3 として複製する(ST5)。
【0047】
次に、基準座標平面XY上に複製されたモデル点列の数が、入力した複製回数Nと一致するか否かを判断する(ST6)。複製されたモデル点列の数が、入力した複製回数Nに満たないので、4回目の複製処理に移る(ST6−NO)。
【0048】
次に、図8(d)に示すように、4回目の複製処理を行う。3回目に複製されたモデル点列L3 の端点Q3 を原点とし、複数の未知点A3 〜E3 の配列方向S及び配列方向Sに直交する直交方向Tからなる複製座標平面STを作成する(ST4)。この複製座標平面ST上に複製データの複製座標(s,t)=(0,t)を読み出して新たな端点Q4 とする。そして、点列回転量θ=0°であるため、新たな端点Q4 を回転軸として直前に複製されたモデル点列L3 と同一配列方向のモデル点列Lを、新たなモデル点列L4 として複製する(ST5)。このモデル点列L4 により、複数の未知点A4 〜E4 が設定される。
【0049】
次に、基準座標平面XY上に複製されたモデル点列の数が、入力した複製回数Nと一致するか否かを判断する(ST6)。複製されたモデル点列の数が、入力した複製回数Nに一致するので、複製処理は終了する(ST6−YES)。
【0050】
次に、基準座標平面XY上に複製された総てのモデル点列L1 〜L4 の未知点A1 〜E1 ,A2 〜E2 ,A3 〜E3 ,A4 〜E4 の基準座標を演算する(ST7)。まず、最初に複製されたモデル点列L1 の各未知点A1 〜E1 の基準座標を算出する。最初に複製されたモデル点列L1 の端点Q1 の座標は、初期座標(x,y)として求められる。そして、モデル点列データを読み込む。最初に複製されたモデル点列L1 の配列方向SはX軸方向と同一方向であるので、初期座標(x,y)のX成分に、各未知点A1 〜E1 ごとに端点Q1 からの距離a〜eを加算する。これにより、最初に複製されたモデル点列L1 の線分上の各未知点A1 〜E1 の基準座標A1 (x+a,y),B1 (x+b,y),C1 (x+c,y),D1 (x+d,y),E1 (x+e,y)が算出される。
【0051】
次に、2回目に複製されたモデル点列L2 の各未知点A2 〜E2 の基準座標を算出する。2回目に複製されたモデル点列L2 の端点Q2 の座標は、最初に複製されたモデル点列L1 の端点座標Q1 (x,y)に複製データの複製座標(s,t)=(0,t)を加算した座標Q2 (x,y+t)となる。
【0052】
次に、モデル点列データを読み込む。2回目に複製されたモデル点列L2 の端点Q2 の座標(x,y+t)のX成分に、各未知点A2 〜E2 ごとに端点Q2 からの距離a〜eを加算する。これにより、2回目に複製されたモデル点列L2 の線分上の各未知点A2 〜E2 の基準座標A2 (x+a,y+t),B2 (x+b,y+t),C2 (x+c,y+t),D2 (x+d,y+t),E2 (x+e,y+t)が算出される。
【0053】
次に、3回目に複製されたモデル点列L3 の各未知点A3 〜E3 の基準座標を算出する。3回目に複製されたモデル点列L3 の端点Q3 の座標は、2回目に複製されたモデル点列L2 の端点座標Q2 (x,y+t)に、複製データの複製座標(s,t)=(0,t)を加算した座標Q3 (x,y+2t)となる。
【0054】
次に、モデル点列データを読み込む。3回目に複製されたモデル点列L3 の端点Q3 の座標(x,y+2t)のX成分に、各未知点A3 〜E3 ごとに端点Q3 からの距離a〜eを加算する。これにより、3回目に複製されたモデル点列L3 の線分上の各未知点A3 〜E3 の基準座標A3 (x+2a,y+t),B3 (x+2b,y+t),C3 (x+2c,y+t),D3 (x+2d,y+t),E3 (x+2e,y+t)が算出される。
【0055】
次に、4回目に複製されたモデル点列L4 の各未知点A4 〜E4 の基準座標を算出する。4回目に複製されたモデル点列L4 の端点Q4 の座標は、3回目に複製されたモデル点列L3 の端点座標Q3 (x,y+2t)に、複製データの複製座標(s,t)=(0,t)を加算した座標Q4 (x,y+3t)となる。
【0056】
次に、モデル点列データを読み込む。4回目に複製されたモデル点列L4 の端点Q4 の座標(x,y+3t)のX成分に、各未知点A4 〜E4 ごとに端点Q4 からの距離a〜eを加算する。これにより、4回目に複製されたモデル点列L4 の線分上の各未知点A4 〜E4 の基準座標A4 (x+3a,y+t),B4 (x+3b,y+t),C4 (x+3c,y+t),D4 (x+3d,y+t),E4 (x+3e,y+t)が算出される。
【0057】
基準座標平面XY上に複製された総てのモデル点列L1 〜L4 の未知点A1 〜E1 ,A2 〜E2 ,A3 〜E3 ,A4 〜E4 の基準座標を座標記憶手段8に格納する(ST8)。
【0058】
なお、上述したいずれの実施の形態においても、図4に示すようなモデル点列Lを用いたがこれに限定されることはない。また、初期座標(x,y),複製回数N,モデル点列データ,複製データも任意に設定することができる。更に、基準座標平面XY上に複製された総てのモデル点列L1 〜L4 の未知点A1 〜E1 ,A2 〜E2 ,A3 〜E3 ,A4 〜E4 の基準座標と、電子部品W1上に印刷されている半田の座標と、を基準座標平面(XY)上で照合して、部品認識装置として電子部品の外観を検査することができる。
【0059】
【発明の効果】
以上説明したように本発明による外観検査装置及び方法では、モデル点列を所定の間隔及び方向に順次複製して総ての未知点を演算することにより、少ない入力データで被測定物上の複雑な配列をなしている被測定箇所に対応する多数の未知点の座標が得られ、複数の未知点の入力手順の簡素化を図ることができる。
【図面の簡単な説明】
【図1】本発明による外観検査装置及び方法の第一実施の形態で用いる電子部品を示す図である。
【図2】第一実施の形態で用いられる電子部品の端子の配列に対応した、プリント基板上に印刷されている半田を示す図である。
【図3】本発明による外観検査装置の概略ブロック構成図である。
【図4】本発明による外観検査装置及び方法で用いられるモデル点列を示す図である。
【図5】本発明による外観検査方法を示すフローチャートである。
【図6】本発明による外観検査装置及び方法の第一実施の形態における複製処理を示す図である。
【図7】本発明による外観検査装置及び方法の第一実施の形態で用いる電子部品及びプリント基板上の半田を示す図である。
【図8】本発明による外観検査装置及び方法の第二実施の形態における複製処理を示す図である。
【図9】従来の電子部品及びプリント基板上の半田を示す図である。
【図10】従来のBGA及びプリント基板上の半田を示す図である。
【符号の説明】
1…外観検査装置
2…モデル点列記憶手段
3…データ入力手段
4…複製手段
5…複製座標平面作成手段
6…複製制御手段
7…基準座標演算手段
8…基準座標記憶手段
XY…基準座標平面
ST…複製座標平面
L…モデル点列
1…所定の線分
Q…端点
A〜E…未知点
(x,y)…初期座標
N…複製回数
(s,t)…複製座標
θ…点列回転量[0001]
BACKGROUND OF THE INVENTION
The present invention inspects the plurality of solders by collating the coordinates of a plurality of measured locations in the measured object with preset reference coordinates corresponding to the plurality of measured locations on a reference coordinate plane. More particularly, the present invention relates to an appearance inspection apparatus and method for inputting coordinates based on point sequence data having a predetermined pattern.
[0002]
[Prior art]
A conventional inspection of printed solder will be described. FIG. 9A is a diagram showing electronic components connected on the printed circuit board. In the electronic component W3, terminal rows P5 to P8 each including five terminals arranged at equal intervals on each side surface of the rectangular main body extend in all directions. On the printed circuit board, as shown in FIG. 9 (b), solder rows H are provided so as to correspond to the respective terminal rows P5 to P8. Five ~ H 8 Is printed.
[0003]
FIG. 10A is a view showing a ball grid array (BGA) W4 connected on the printed circuit board. On the back surface of the BGAW 4, five terminals arranged at equal intervals are vertically formed, and four terminals are formed on the printed circuit board so as to correspond to the four terminal rows P 5 to
[0004]
Solder row H on printed circuit board Five ~ H 8 When inspecting the position of the solder row H based on the luminance information of the CCD camera or CCD line sensor Five ~ H 8 And determine the coordinate position of each solder. Then, the electronic components W3 and W4 are collated with solder reference coordinates based on a reference coordinate plane set in advance, and inspected for solder defects.
[0005]
However, when inputting the solder reference coordinates, since the reference coordinates are input for each solder, the input operation is complicated. In particular, when the electronic components W1 and W2 as shown in FIG. 1 and FIG. 7A are connected to the printed board, each solder array formed on the printed board as shown in FIG. 2 and FIG. P 1 ~ P Four Since the solders are not arranged at regular intervals, it is difficult to set the reference coordinates.
[0006]
[Problems to be solved by the invention]
The present invention has been made to eliminate the above-mentioned drawbacks, and the object is to reduce the number of unknown points by sequentially replicating the model point sequence in a predetermined interval and direction and calculating all unknown points. The object is to obtain the coordinates of a large number of unknown points corresponding to the measurement points having a complex arrangement on the measurement object, and to simplify the input procedure of the plurality of unknown points.
[0007]
[Means for Solving the Problems]
In short, the appearance inspection apparatus according to
A plurality of unknown points arranged on the line segment at desired intervals from the end points, corresponding to a part of the predetermined line segment, at least one end point of the line segment, and a part of the plurality of measured points And a model point sequence replicated on the reference coordinate plane,
Model point sequence storage means for storing the model point sequence;
Initial coordinates for first replicating the model point sequence on the reference coordinate plane, the number of times the model point sequence is replicated, model point sequence data based on the end points and the plurality of unknown points on the line segment, and predetermined Data input means for inputting the replicated data consisting of the replicated coordinates and the point sequence rotation amount θ,
Replication means for sequentially replicating the model point sequence from the initial coordinates on the reference coordinate plane by the number of times of replication;
Replicated coordinate plane creating means 5 for creating a replicated coordinate plane based on the end points of the model point sequence replicated immediately before on the reference coordinate plane and the arrangement direction of a plurality of unknown points;
On the duplicate coordinate plane, the duplicate coordinates are read out to be a new end point, and the new end point is used as a rotation axis to be rotated by the point sequence rotation amount with respect to the arrangement direction of the model point sequence replicated immediately before. Replication control means for setting a replication position of the model point sequence to be replicated to
Based on the initial coordinates, the model point sequence data, and the replication data, reference coordinate calculation means for calculating the reference coordinates of all the unknown points of the model point sequence replicated on the reference coordinate plane;
Reference coordinate storage means for storing and holding the reference coordinates calculated by the reference coordinate calculation means;
It is characterized by comprising.
[0008]
According to a second aspect of the present invention, there is provided an appearance inspection method comprising: a plurality of points to be measured on a measurement object; and a reference coordinate set in advance corresponding to the plurality of points to be measured on a reference coordinate plane. In the appearance inspection method for inspecting the plurality of measurement points in comparison with
A plurality of unknown points arranged on the line segment at desired intervals from the end points, corresponding to a part of the predetermined line segment, at least one end point of the line segment, and a part of the plurality of measured points And set a model point sequence consisting of
Initial coordinates for first replicating the model point sequence on the reference coordinate plane, the number of times the model point sequence is replicated, model point sequence data based on the end points and the plurality of unknown points on the line segment, Enter duplicate data consisting of the duplicate coordinates and point sequence rotation amount,
Replicating the model point sequence from the initial coordinates on the reference coordinate plane;
Creating a replicated coordinate plane based on the end points of the model point sequence replicated immediately before on the reference coordinate plane and the arrangement direction of a plurality of unknown points;
The duplicate coordinates are read out on the duplicate coordinate plane as a new end point, and the new end point coordinate is used as a rotation axis and rotated by the point sequence rotation amount with respect to the arrangement direction of the model point sequence replicated immediately before. Duplicate the model point sequence newly,
After duplicating the model point sequence the number of times of duplication, based on the initial coordinates, the model point sequence data and the duplicated data, the reference coordinates of all the unknown points of the model point sequence duplicated on the reference coordinate plane And
The calculated reference coordinates are stored and held.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
A first embodiment of an appearance inspection apparatus according to the present invention will be described. FIG. 1 is a diagram showing an electronic component W (W1) mounted on a printed circuit board as a measured object, and FIG. 2 is printed on the printed circuit board as a plurality of measured positions in the measured object. Solder row H 1 ~ H Four It is a figure which shows the arrangement | sequence state of. As shown in FIG. 1, the electronic component W1 has a terminal row P composed of five terminals arranged on each side surface of the rectangular parallelepiped main body. 1 ~ P Four But it extends in all directions. A part of the terminal row on each side surface is formed at an equal interval pitch, and the remaining terminals are formed at a predetermined interval. The printed circuit board has a solder row H corresponding to the arrangement of the terminals of the electronic component W1 at a position where the electronic component W1 is connected. 1 ~ H Four Is printed.
[0010]
Next, the solder H printed on the printed circuit board described above 1 ~ H Four The
[0011]
The model point sequence storage means 2 includes a plurality of solders H printed on the printed circuit board. 1 ~ H Four Part of H 1 A model point sequence L corresponding to is stored. As shown in FIG. 4, the model point sequence L is arranged on the
[0012]
The data input means 2 includes initial coordinates (x, y) for first copying the model point sequence L on the reference coordinate plane XY, the number N of times of copying the model point sequence L, model point sequence data, and replicated data. Entered.
[0013]
The model point sequence data is set based on the end point Q on the line segment l and the plurality of unknown points A to E. Specifically, distances a to e from the end points Q of the unknown points A to E are set. In the case of this model point sequence, since the unknown points A to D are arranged at equal intervals, the number of unknown points B to D is changed (in this case, instead of the distances b to d from the end point Q). 3) and the interval f may be set. The duplicate data is a parameter composed of predetermined duplicate coordinates (s, t) and a point sequence rotation amount θ. The replicated data is the model point sequence L that was replicated immediately before n Newly duplicated model point sequence L based on end point coordinates and array direction n + 1 Is a relative parameter for setting the duplication position.
[0014]
In the duplicating means 4, a process of sequentially duplicating the model point sequence L from the initial coordinates (x, y) on the reference coordinate plane XY for N times of duplication is performed.
[0015]
In the duplicated coordinate plane creating means 5, a process of creating a duplicated coordinate plane ST composed of the arrangement direction S of the plurality of unknown points A to E and the orthogonal direction T of the arrangement direction S is performed every time of duplication. The origin is the end point Q of the model point sequence replicated immediately before n It is.
[0016]
In the replication control means 6, the replication coordinates (s, t) of the replication data are read on the ST replication coordinate plane, and a new end point Q is read. n + 1 Is performed. And new end point Q n + 1 Model point sequence L that was replicated immediately before n The model point sequence L rotated by the point sequence rotation amount θ with respect to the arrangement direction S of the new model point sequence L n + 1 As a duplicate process.
[0017]
In the reference coordinate calculation means 7, all the data copied on the reference coordinate plane XY by the copying means 4 as shown in FIG. 6 (d) based on the initial coordinates (x, y), the model point sequence data, and the duplicate data. Model point sequence L 1 ~ L Four Unknown point A 1 ~ E 1 , A 2 ~ E 2 , A Three ~ E Three , A Four ~ E Four , A Five ~ E Five The reference coordinates are processed.
The reference coordinate storage means 8 is an unknown point A of all model point sequences calculated by the reference coordinate calculation means 7. 1 ~ E 1 , A 2 ~ E 2 , A Three ~ E Three , A Four ~ E Four , A Five ~ E Five Stores and holds the reference coordinates.
[0018]
Next, the effect | action of this Embodiment is demonstrated using FIG.5 and FIG.6. First, a plurality of solders H printed on the printed board shown in FIG. 1 ~ H Four Part of H 1 A model point sequence L corresponding to is created and stored in the model point sequence storage means 2 in advance. The arrangement direction S of the model point sequence L is set in the X-axis direction.
[0019]
Next, the initial coordinates (x, y) at which the model point sequence L is first replicated on the reference coordinate plane XY and the number N of copies of the model point sequence L are input. And the distance from the end point Q which is the model point sequence data of the model point sequence L to each unknown point AE is inputted. Finally, duplicate data consisting of predetermined duplicate coordinates (s, t) = (s, 0) and a point sequence rotation amount θ = 90 ° is input.
[0020]
Then, the model point sequence L is read from the model point sequence storage means 2, and as shown in FIG. 6A, the first time so that the end point Q coincides with the initial coordinate (x, y) on the XY coordinate plane. Duplicate processing is performed. At this time, the duplicated model point sequence L 1 Is the same direction as the X-axis direction, and the orthogonal direction T perpendicular to the arrangement direction S is the same direction as the Y-axis direction (ST1).
[0021]
Next, it is determined whether or not the number of model point sequences copied on the reference coordinate plane XY matches the input number N of copies (ST6). Since the number of duplicated model point sequences is less than the inputted number N of duplications, the process proceeds to the second duplication process (ST6-NO).
[0022]
Next, as shown in FIG. 6B, a second replication process is performed. First duplicated model point sequence L 1 End point Q 1 A plurality of unknown points A with reference coordinates (x, y) as the origin 1 ~ E 1 A duplicate coordinate plane ST composed of the array direction S and the direction T perpendicular to the array direction S is created (ST4). The duplicated coordinate (s, t) = (s, 0) of the duplicated data is read on this duplicated coordinate plane ST, and a new end point Q is read. 2 And And new end point Q 2 Model point sequence L that was replicated immediately before 1 The model point sequence L rotated by the point sequence rotation amount θ = 90 ° with respect to the arrangement direction S of the new model point sequence L 2 (ST5).
[0023]
The arrangement direction S of the model point sequence replicated at the second time is the same direction as the Y axis, and the orthogonal direction T faces the opposite direction to the X axis.
[0024]
Next, it is determined whether or not the number of model point sequences copied on the reference coordinate plane XY matches the input number N of copies (ST6). Since the number of replicated model point sequences is less than the input replication count N, the process proceeds to the third replication process (ST6-NO).
[0025]
Next, as shown in FIG. 6C, a third replication process is performed. Model point sequence L duplicated for the second time 2 End point Q 2 As the origin and multiple unknown points A 2 ~ E 2 A duplicate coordinate plane ST composed of the array direction S and the orthogonal direction T is created (ST4). The duplicated coordinate (s, t) = (s, 0) of the duplicated data is read on this duplicated coordinate plane ST, and a new end point Q is read. Three And And new end point Q Three Model point sequence L that was replicated immediately before 2 The model point sequence L rotated by the point sequence rotation amount θ = 90 ° with respect to the arrangement direction S of the new model point sequence L Three (ST5).
[0026]
Model point sequence L replicated for the third time Three The arrangement direction S is parallel to the X-axis direction and opposite to the X-axis direction, and the orthogonal direction T is also parallel to and opposite to the Y-axis direction.
[0027]
Next, it is determined whether or not the number of model point sequences copied on the reference coordinate plane XY matches the input number N of copies (ST6). Since the number of duplicated model point sequences is less than the inputted number N of duplications, the process proceeds to the fourth duplication process (ST6-NO).
[0028]
Next, as shown in FIG. 6D, a fourth replication process is performed. Model point sequence L replicated for the third time Three End point Q Three As the origin and multiple unknown points A Three ~ E Three A duplicate coordinate plane ST composed of the array direction S and the direction T perpendicular to the array direction S is created (ST4). The duplicated coordinate (s, t) = (s, 0) of the duplicated data is read on this duplicated coordinate plane ST, and a new end point Q is read. Four And And new end point Q Four Model point sequence L that was replicated immediately before Three The model point sequence L rotated by the point sequence rotation amount θ = 90 ° with respect to the arrangement direction S of the new model point sequence L Four (ST5). This model point sequence L Four Due to this, a plurality of unknown points A Four ~ E Four Is set.
[0029]
Next, it is determined whether or not the number of model point sequences copied on the reference coordinate plane XY matches the input number N of copies (ST6). Since the number of duplicated model point sequences matches the inputted number of times of duplication N, the duplication processing ends (ST6-YES).
[0030]
Next, all model point sequences L replicated on the reference coordinate plane XY 1 ~ L Four Unknown point A 1 ~ E 1 , A 2 ~ E 2 , A Three ~ E Three , A Four ~ E Four Are calculated (ST7). First, the first duplicated model point sequence L 1 Unknown points A 1 ~ E 1 The reference coordinates of are calculated. First duplicated model point sequence L 1 End point Q 1 Are obtained as initial coordinates (x, y). Then, the model point sequence data is read. First duplicated model point sequence L 1 Is the same direction as the X-axis direction, so that each unknown point A is included in the X component of the initial coordinates (x, y). 1 ~ E 1 Every end point Q 1 The distances a to e from are added. As a result, the model point sequence L that was replicated first 1 Unknown points A on the line segment 1 ~ E 1 Reference coordinates A 1 (X + a, y), B 1 (X + b, y), C 1 (X + c, y), D 1 (X + d, y), E 1 (X + e, y) is calculated.
[0031]
Next, the model point sequence L duplicated for the second time 2 Unknown points A 2 ~ E 2 The reference coordinates of are calculated. First duplicated model point sequence L 1 The arrangement direction S is the same direction as the X-axis direction, and the orthogonal direction T is the same direction as the Y-axis direction. Therefore, the model point sequence L duplicated for the second time 2 End point Q 2 Is the model point sequence L that was replicated first 1 End point coordinate Q 1 Coordinate Q obtained by adding replication coordinates (s, t) = (s, 0) of replication data to (x, y) 2 (X + s, y).
[0032]
Next, model point sequence data is read. Model point sequence L duplicated for the second time 2 The arrangement direction S of the model point sequence L is the first replicated model point sequence L 1 Since the point sequence rotation amount θ is rotated by 90 ° from the arrangement direction S of the model point sequence L, the model point sequence L replicated second time 2 Is the same direction as the Y-axis direction. Therefore, the model point sequence L duplicated for the second time 2 End point Q 2 Each unknown point A is added to the Y component of the coordinates (x + s, y) of 2 ~ E 2 Every end point Q 2 The distances a to e from are added. As a result, the model point sequence L duplicated the second time 2 Unknown points A on the line segment 2 ~ E 2 Reference coordinates A 2 (X + s, y + a), B 2 (X + s, y + b), C 2 (X + s, y + c), D 2 (X + s, y + d), E 2 (X + s, y + e) is calculated.
[0033]
Next, the model point sequence L replicated for the third time Three Unknown points A Three ~ E Three The reference coordinates of are calculated. Model point sequence L duplicated for the second time 2 The arrangement direction S is the same as the Y-axis direction, and the orthogonal direction T is the opposite direction to the X-axis direction. For this reason, the duplicated coordinates (s, t) of the duplicated data in the duplicated coordinate plane ST are converted to (−t, s) in the reference coordinate plane XY.
[0034]
Therefore, the model point sequence L replicated for the third time Three End point Q Three Is the model point sequence L duplicated the second time 2 End point coordinate Q 2 A coordinate Q obtained by adding the replication coordinates (−t, s) = (0, s) of the converted replication data to (x + s, y) Three (X + s, y + s).
[0035]
Next, model point sequence data is read. Model point sequence L replicated for the third time Three Is the model point sequence L replicated the second time 2 Since the point sequence rotation amount θ = 90 ° is rotated from the arrangement direction S of the model point sequence L, the model point sequence L replicated for the third time Three The arrangement direction S is opposite to the X-axis direction. Therefore, the model point sequence L replicated for the third time Three End point Q Three Each unknown point A is added to the X component of the coordinates (x + s, y + s) of Three ~ E Three Every end point Q Three The distances a to e from are subtracted. As a result, the model point sequence L replicated the third time Three Unknown points A on the line segment Three ~ E Three Reference coordinates A Three (X + s−a, y + s), B Three (X + s−b, y + s), C Three (X + s-c, y + s), D Three (X + s−d, y + s), E Three (X + s−e, y + s) is calculated.
[0036]
Next, the model point sequence L replicated for the fourth time Four Unknown points A Four ~ E Four The reference coordinates of are calculated. Model point sequence L replicated for the third time Three The arrangement direction S is opposite to the X-axis direction, and the orthogonal direction T is opposite to the Y-axis direction. For this reason, the duplicated coordinates (s, t) of the duplicated data on the duplicated coordinate plane ST are converted to (−s, −t) on the reference coordinate plane XY.
[0037]
Therefore, the model point sequence L replicated for the fourth time Four End point Q Four Is the model point sequence L replicated the third time Three End point coordinate Q Three A coordinate Q obtained by adding the duplicated coordinates (−s, −t) = (− s, 0) of the transformed duplicated data to (x + s, y + s) Four (X, y + s).
[0038]
Next, model point sequence data is read. Model point sequence L replicated for the 4th time Four Is the model point sequence L replicated the third time Three Is rotated by the amount of rotation of the point sequence θ = 90 ° from the arrangement direction S of Four The arrangement direction S is opposite to the Y-axis direction. Therefore, the model point sequence L replicated for the fourth time Four End point Q Four Each unknown point A is added to the Y component of the coordinates (x, y + s) of Four ~ E Four Each end point Q Four The distances a to e from are subtracted. As a result, the model point sequence L replicated for the fourth time Four Unknown points A on the line segment Four ~ E Four Reference coordinates A Four (X-a, y + s), B Four (X-b, y + s), C Four (X-c, y + s), D Four (X-d, y + s), E Four (X−e, y + s) is calculated.
[0039]
All model point sequences L replicated on the reference coordinate plane XY 1 ~ L Four Unknown point A 1 ~ E 1 , A 2 ~ E 2 , A Three ~ E Three , A Four ~ E Four Are stored in the coordinate storage means 8.
[0040]
Solder H printed on printed circuit board 1 ~ H Four When inspecting the position of solder H 1 ~ H Four Read the printed circuit board printed with a CCD, etc., and solder H 1 ~ H Four The print position of is converted into coordinate values. This coordinate value and the reference coordinate A stored in the reference coordinate storage means 8 1 ~ E 1 , A 2 ~ E 2 , A Three ~ E Three , A Four ~ E Four Compare the solder H 1 ~ H Four It is inspected whether the printing position is shifted or missing.
[0041]
Next, a second embodiment of the present invention will be described. In the present embodiment, as shown in FIG. 7A, a ball grid array (BGA) W2 is used as the electronic component W. Solder row H printed on printed circuit board 1 ~ H Four Are arranged as shown in FIG. Note that the replication coordinates (s, t) = (0, t) of the replication data and the point sequence rotation amount θ = 0 °. The model point sequence uses the model point sequence L of the first embodiment.
[0042]
In this embodiment, since the point sequence rotation amount θ is θ = 0 °, the X axis of the reference coordinate plane XY and the S axis of the duplicate coordinate plane ST are always in the same direction, and the Y axis of the reference coordinate plane XY. And the T-axis of the duplicate coordinate plane ST are always in the same direction.
[0043]
Therefore, the duplication processing of the present embodiment is as follows. Note that ST1 and ST2 are the same as those in the first embodiment, and are omitted. First, as shown in FIG. 8A, the model point sequence L is read from the model point sequence storage means 2, and the first time so that the end point Q coincides with the initial coordinates (x, y) on the reference coordinate plane XY. Is duplicated (ST3).
[0044]
Next, as shown in FIG. 8B, a second replication process is performed. First duplicated model point sequence L 1 End point Q 1 The initial coordinates (x, y) that are the coordinates of 1 ~ E 1 A duplicate coordinate plane ST composed of the array direction S and the direction T perpendicular to the array direction S is created (ST4). The duplicated coordinate (s, t) = (0, t) of the duplicated data is read on this duplicated coordinate plane ST, and a new end point Q is read. 2 And Since the point sequence rotation amount θ = 0 °, the new end point Q 2 Model point sequence L that was replicated immediately before 1 A model point sequence L in the same arrangement direction as a new model point sequence L 2 (ST5).
[0045]
Next, it is determined whether or not the number of model point sequences copied on the reference coordinate plane XY matches the input number N of copies (ST6). Since the number of duplicated model point sequences is less than the inputted number N of duplications, the process proceeds to the second duplication process (ST6-NO).
[0046]
Next, as shown in FIG. 8C, a third replication process is performed. Model point sequence L duplicated for the second time 2 End point Q 2 As the origin and multiple unknown points A 2 ~ E 2 A duplicate coordinate plane ST composed of the array direction S and the orthogonal direction T orthogonal to the array direction S is created (ST4). The duplicated coordinate (s, t) = (0, t) of the duplicated data is read on this duplicated coordinate plane ST, and a new end point Q is read. Three And Since the point sequence rotation amount θ = 0 °, the new end point Q Three Model point sequence L that was replicated immediately before 2 A model point sequence L in the same arrangement direction as a new model point sequence L Three (ST5).
[0047]
Next, it is determined whether or not the number of model point sequences copied on the reference coordinate plane XY matches the input number N of copies (ST6). Since the number of duplicated model point sequences is less than the inputted number N of duplications, the process proceeds to the fourth duplication process (ST6-NO).
[0048]
Next, as shown in FIG. 8D, a fourth replication process is performed. Model point sequence L replicated for the third time Three End point Q Three As the origin and multiple unknown points A Three ~ E Three A duplicate coordinate plane ST composed of the array direction S and the orthogonal direction T orthogonal to the array direction S is created (ST4). The duplicated coordinate (s, t) = (0, t) of the duplicated data is read on this duplicated coordinate plane ST, and a new end point Q is read. Four And Since the point sequence rotation amount θ = 0 °, the new end point Q Four Model point sequence L that was replicated immediately before Three A model point sequence L in the same arrangement direction as a new model point sequence L Four (ST5). This model point sequence L Four Due to this, a plurality of unknown points A Four ~ E Four Is set.
[0049]
Next, it is determined whether or not the number of model point sequences copied on the reference coordinate plane XY matches the input number N of copies (ST6). Since the number of duplicated model point sequences matches the inputted number of times of duplication N, the duplication processing ends (ST6-YES).
[0050]
Next, all model point sequences L replicated on the reference coordinate plane XY 1 ~ L Four Unknown point A 1 ~ E 1 , A 2 ~ E 2 , A Three ~ E Three , A Four ~ E Four Are calculated (ST7). First, the first duplicated model point sequence L 1 Unknown points A 1 ~ E 1 The reference coordinates of are calculated. First duplicated model point sequence L 1 End point Q 1 Are obtained as initial coordinates (x, y). Then, the model point sequence data is read. First duplicated model point sequence L 1 Is the same direction as the X-axis direction, so that each unknown point A is included in the X component of the initial coordinates (x, y). 1 ~ E 1 Every end point Q 1 The distances a to e from are added. As a result, the model point sequence L that was replicated first 1 Unknown points A on the line segment 1 ~ E 1 Reference coordinates A 1 (X + a, y), B 1 (X + b, y), C 1 (X + c, y), D 1 (X + d, y), E 1 (X + e, y) is calculated.
[0051]
Next, the model point sequence L duplicated for the second time 2 Unknown points A 2 ~ E 2 The reference coordinates of are calculated. Model point sequence L duplicated for the second time 2 End point Q 2 Is the model point sequence L that was replicated first 1 End point coordinate Q 1 Coordinate Q obtained by adding replication coordinates (s, t) = (0, t) of replication data to (x, y) 2 (X, y + t).
[0052]
Next, model point sequence data is read. Model point sequence L duplicated for the second time 2 End point Q 2 Each unknown point A is added to the X component of the coordinates (x, y + t) of 2 ~ E 2 Every end point Q 2 The distances a to e from are added. As a result, the model point sequence L duplicated the second time 2 Unknown points A on the line segment 2 ~ E 2 Reference coordinates A 2 (X + a, y + t), B 2 (X + b, y + t), C 2 (X + c, y + t), D 2 (X + d, y + t), E 2 (X + e, y + t) is calculated.
[0053]
Next, the model point sequence L replicated for the third time Three Unknown points A Three ~ E Three The reference coordinates of are calculated. Model point sequence L replicated for the third time Three End point Q Three Is the model point sequence L duplicated the second time 2 End point coordinate Q 2 Coordinate Q obtained by adding replication coordinates (s, t) = (0, t) of replication data to (x, y + t) Three (X, y + 2t).
[0054]
Next, model point sequence data is read. Model point sequence L replicated for the third time Three End point Q Three To the X component of the coordinates (x, y + 2t) of each unknown point A Three ~ E Three Every end point Q Three The distances a to e from are added. As a result, the model point sequence L replicated the third time Three Unknown points A on the line segment Three ~ E Three Reference coordinates A Three (X + 2a, y + t), B Three (X + 2b, y + t), C Three (X + 2c, y + t), D Three (X + 2d, y + t), E Three (X + 2e, y + t) is calculated.
[0055]
Next, the model point sequence L replicated for the fourth time Four Unknown points A Four ~ E Four The reference coordinates of are calculated. Model point sequence L replicated for the 4th time Four End point Q Four Is the model point sequence L replicated the third time Three End point coordinate Q Three Coordinate Q obtained by adding replication coordinates (s, t) = (0, t) of replication data to (x, y + 2t) Four (X, y + 3t).
[0056]
Next, model point sequence data is read. Model point sequence L replicated for the 4th time Four End point Q Four To the X component of the coordinates (x, y + 3t) of each unknown point A Four ~ E Four Every end point Q Four The distances a to e from are added. As a result, the model point sequence L replicated for the fourth time Four Unknown points A on the line segment Four ~ E Four Reference coordinates A Four (X + 3a, y + t), B Four (X + 3b, y + t), C Four (X + 3c, y + t), D Four (X + 3d, y + t), E Four (X + 3e, y + t) is calculated.
[0057]
All model point sequences L replicated on the reference coordinate plane XY 1 ~ L Four Unknown point A 1 ~ E 1 , A 2 ~ E 2 , A Three ~ E Three , A Four ~ E Four Are stored in the coordinate storage means 8 (ST8).
[0058]
In any of the above-described embodiments, the model point sequence L as shown in FIG. 4 is used, but the present invention is not limited to this. Further, the initial coordinates (x, y), the number N of duplications, model point sequence data, and duplication data can be arbitrarily set. Furthermore, all model point sequences L replicated on the reference coordinate plane XY 1 ~ L Four Unknown point A 1 ~ E 1 , A 2 ~ E 2 , A Three ~ E Three , A Four ~ E Four The reference coordinates and the coordinates of the solder printed on the electronic component W1 are collated on the reference coordinate plane (XY), and the appearance of the electronic component can be inspected as a component recognition device.
[0059]
【The invention's effect】
As described above, in the visual inspection apparatus and method according to the present invention, the model point sequence is sequentially replicated at a predetermined interval and direction, and all unknown points are calculated. As a result, the coordinates of a large number of unknown points corresponding to the locations to be measured having a simple arrangement can be obtained, and the input procedure for a plurality of unknown points can be simplified.
[Brief description of the drawings]
FIG. 1 is a diagram showing an electronic component used in a first embodiment of an appearance inspection apparatus and method according to the present invention.
FIG. 2 is a diagram showing solder printed on a printed circuit board corresponding to the arrangement of terminals of the electronic component used in the first embodiment.
FIG. 3 is a schematic block diagram of an appearance inspection apparatus according to the present invention.
FIG. 4 is a diagram showing a model point sequence used in an appearance inspection apparatus and method according to the present invention.
FIG. 5 is a flowchart showing an appearance inspection method according to the present invention.
FIG. 6 is a diagram showing a duplication process in the first embodiment of the appearance inspection apparatus and method according to the present invention.
FIG. 7 is a diagram showing electronic components and solder on a printed board used in the first embodiment of the visual inspection apparatus and method according to the present invention.
FIG. 8 is a diagram showing a duplication process in the second embodiment of the appearance inspection apparatus and method according to the present invention.
FIG. 9 is a diagram illustrating a conventional electronic component and solder on a printed board.
FIG. 10 is a diagram showing a conventional BGA and solder on a printed board.
[Explanation of symbols]
1. Visual inspection device
2 ... Model point sequence storage means
3. Data input means
4. Copying means
5 ... Replica coordinate plane creation means
6. Copy control means
7: Reference coordinate calculation means
8: Reference coordinate storage means
XY: Reference coordinate plane
ST: Duplicate coordinate plane
L ... Model point sequence
1 ... Predetermined line segment
Q ... End point
AE ... Unknown
(X, y) ... initial coordinates
N ... number of copies
(S, t) ... replicated coordinates
θ: Point sequence rotation
Claims (2)
所定の線分(l)と、該線分の少なくともいずれか一方の端点(Q)と、前記複数の被測定箇所の一部(H1 )に対応し前記端点から所望の間隔で前記線分上に配列されている複数の未知点(A〜E)と、からなり、前記基準座標平面上に複製されるモデル点列(L)と、
該モデル点列が記憶されるモデル点列記憶手段(2)と、
前記モデル点列を前記基準座標平面上に最初に複製する初期座標(x,y)と、前記モデル点列の複製回数(N)と、前記線分上の前記端点及び前記複数の未知点に基づくモデル点列データと、所定の複製座標(s,t)及び点列回転量(θ)からなる複製データ、を入力するデータ入力手段(3)と、
前記モデル点列を前記基準座標平面上の前記初期座標から前記複製回数分順次複製する複製手段(4)と、
前記基準座標平面上において直前に複製された前記モデル点列(Ln )の端点(Qn )及び複数の未知点(An 〜En )の配列方向(S)に基づく複製座標平面(ST)を作成する複製座標平面作成手段(5)と、
前記複製座標平面上において前記複製座標を読み出して新たな端点(Qn+1 )とし、該新たな端点を回転軸として前記直前に複製された前記モデル点列の配列方向に対し前記点列回転量分回転させて新たに複製される前記モデル点列(Ln+1 )の複製位置を設定する複製制御手段(6)と、
前記初期座標,前記モデル点列データ及び前記複製データに基づき、前記基準座標平面上に複製された総ての前記モデル点列の未知点の基準座標を演算する基準座標演算手段(7)と、
該基準座標演算手段により算出された前記基準座標を格納保持する基準座標記憶手段(8)と、
を具備することを特徴とする外観検査装置。The coordinates of a plurality of measured locations on the device under test (W) and reference coordinates set in advance corresponding to the measured locations are collated on a reference coordinate plane (XY), and the plurality of measured locations are compared. In visual inspection equipment that inspects measurement points,
Corresponding to a predetermined line segment (l), at least one end point (Q) of the line segment, and a part (H 1 ) of the plurality of measured points, the line segment at a desired interval from the end point A plurality of unknown points (A to E) arranged above, and a model point sequence (L) replicated on the reference coordinate plane;
Model point sequence storage means (2) for storing the model point sequence;
Initial coordinates (x, y) for first replicating the model point sequence on the reference coordinate plane, the number of replications (N) of the model point sequence, the end points and the plurality of unknown points on the line segment Data input means (3) for inputting the model point sequence data based on it and the replicated data consisting of the predetermined replication coordinates (s, t) and the point sequence rotation amount (θ);
Replication means (4) for sequentially replicating the model point sequence from the initial coordinates on the reference coordinate plane by the number of times of replication;
A duplicate coordinate plane (ST) based on the arrangement direction (S) of the end points (Q n ) and the plurality of unknown points (A n to E n ) of the model point sequence (L n ) just duplicated on the reference coordinate plane A duplicate coordinate plane creating means (5) for creating
The duplicated coordinates are read out on the duplicated coordinate plane and set as a new end point (Q n + 1 ), and the point sequence rotation is performed with respect to the array direction of the model point sequence replicated immediately before using the new end point as a rotation axis. A duplication control means (6) for setting a duplication position of the model point sequence (L n + 1 ) to be newly duplicated after being rotated by an amount;
Reference coordinate calculation means (7) for calculating reference coordinates of unknown points of all the model point sequences replicated on the reference coordinate plane based on the initial coordinates, the model point sequence data and the replication data;
Reference coordinate storage means (8) for storing and holding the reference coordinates calculated by the reference coordinate calculation means;
A visual inspection apparatus comprising:
所定の線分と、該線分の少なくともいずれか一方の端点と、前記複数の被測定箇所の一部に対応し前記端点から所望の間隔で前記線分上に配列されている複数の未知点と、からなるモデル点列を設定し、
該モデル点列を前記基準座標平面上に最初に複製する初期座標と、前記モデル点列の複製回数と、前記線分上の前記端点及び前記複数の未知点に基づくモデル点列データと、所定の複製座標及び点列回転量からなる複製データ、を入力し、
前記モデル点列を前記基準座標平面上の前記初期座標から複製し、
前記基準座標平面上において直前に複製された前記モデル点列の端点及び複数の未知点の配列方向に基づく複製座標平面を作成し、
該複製座標平面上において前記複製座標を読み出して新たな端点とし、該新たな端点座標を回転軸として前記直前に複製された前記モデル点列の配列方向に対し前記点列回転量分回転させて新たに前記モデル点列を複製し、
前記モデル点列を前記複製回数複製した後、前記初期座標,前記モデル点列データ及び前記複製データに基づき、前記基準座標平面上に複製された総ての前記モデル点列の未知点の基準座標を演算し、
算出された前記基準座標を格納保持することを特徴とする外観検査方法。Appearance of inspecting the plurality of measurement points by checking the coordinates of the plurality of measurement points in the measurement object and preset reference coordinates corresponding to the plurality of measurement points on a reference coordinate plane In the inspection method,
A plurality of unknown points arranged on the line segment at desired intervals from the end points, corresponding to a part of the predetermined line segment, at least one end point of the line segment, and a part of the plurality of measured points And set a model point sequence consisting of
Initial coordinates for first replicating the model point sequence on the reference coordinate plane, the number of times the model point sequence is replicated, model point sequence data based on the end points and the plurality of unknown points on the line segment, Enter duplicate data consisting of the duplicate coordinates and point sequence rotation amount,
Replicating the model point sequence from the initial coordinates on the reference coordinate plane;
Creating a replicated coordinate plane based on the end points of the model point sequence replicated immediately before on the reference coordinate plane and the arrangement direction of a plurality of unknown points;
The duplicate coordinates are read out on the duplicate coordinate plane as a new end point, and the new end point coordinate is used as a rotation axis and rotated by the point sequence rotation amount with respect to the arrangement direction of the model point sequence replicated immediately before. Duplicate the model point sequence newly,
After duplicating the model point sequence the number of times of duplication, based on the initial coordinates, the model point sequence data and the duplicated data, the reference coordinates of all the unknown points of the model point sequence duplicated on the reference coordinate plane And
An appearance inspection method characterized by storing and holding the calculated reference coordinates.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000070776A JP3645146B2 (en) | 2000-03-14 | 2000-03-14 | Appearance inspection apparatus and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000070776A JP3645146B2 (en) | 2000-03-14 | 2000-03-14 | Appearance inspection apparatus and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001256481A JP2001256481A (en) | 2001-09-21 |
| JP3645146B2 true JP3645146B2 (en) | 2005-05-11 |
Family
ID=18589456
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000070776A Expired - Fee Related JP3645146B2 (en) | 2000-03-14 | 2000-03-14 | Appearance inspection apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3645146B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI475216B (en) * | 2012-11-08 | 2015-03-01 | Quanta Comp Inc | Optical inspection method |
| JP7821302B2 (en) * | 2022-09-08 | 2026-02-26 | 株式会社Fuji | Image processing device and image processing method |
-
2000
- 2000-03-14 JP JP2000070776A patent/JP3645146B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001256481A (en) | 2001-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5801966A (en) | Machine vision methods and articles of manufacture for determination of convex hull and convex hull angle | |
| JP2776860B2 (en) | Electronic component mounting device and mounting method | |
| JP7735660B2 (en) | Inspection management system, inspection management device, inspection management method, and program | |
| JP3645146B2 (en) | Appearance inspection apparatus and method | |
| JPH11312900A (en) | Verifying method of element of printed circuit board | |
| JP7448655B2 (en) | Inspection data creation method, inspection data creation device, and inspection device | |
| JP4160656B2 (en) | Printed circuit board test method | |
| JP3537673B2 (en) | Trend correction method for surface texture measuring device | |
| JP3514486B2 (en) | Total analysis method and total analysis device | |
| US4091325A (en) | Verification technique for checking wrapped wire electronic boards | |
| KR100769529B1 (en) | Substrate Alignment Method and Device | |
| CN1979500A (en) | Parts placement automatic inspection system and method | |
| JP2858551B2 (en) | Wiring inspection data creation method | |
| JPH0777554A (en) | Inspection method of printed wiring board | |
| JPH07140088A (en) | Method of correcting unit movement amount of appearance inspection camera in circuit board inspection device | |
| CN101881595A (en) | Board inspection method | |
| JP3053129B2 (en) | Inspection device | |
| JP2573788Y2 (en) | Printed board appearance inspection device | |
| JP3566908B2 (en) | Inspection method and inspection device | |
| JP2525078B2 (en) | Logic circuit test equipment | |
| JP2001212933A (en) | Method of creating inspection data of print inspection device | |
| JP2004165232A (en) | Inspection data processing program and inspection system | |
| JP2003258499A (en) | Inspection target part determination apparatus, program, and method | |
| JPH0251076A (en) | Detector for surface mounted part suffering poor soldering | |
| JPH04278409A (en) | Inspecting apparatus of printing state of solder paste |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050121 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050201 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050202 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080210 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090210 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100210 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100210 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110210 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120210 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120210 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130210 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140210 Year of fee payment: 9 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |