JP2004226160A - Appearance measuring instrument - Google Patents
Appearance measuring instrument Download PDFInfo
- Publication number
- JP2004226160A JP2004226160A JP2003012221A JP2003012221A JP2004226160A JP 2004226160 A JP2004226160 A JP 2004226160A JP 2003012221 A JP2003012221 A JP 2003012221A JP 2003012221 A JP2003012221 A JP 2003012221A JP 2004226160 A JP2004226160 A JP 2004226160A
- Authority
- JP
- Japan
- Prior art keywords
- light pattern
- height
- measurement target
- photographing
- phase
- 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.)
- Granted
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、位相シフト法を用いた外観計測装置に関し、特に、自動車部品、半導体電子部品その他の電子部品が実装されたプリント基板、または、プリント基板上に印刷されたクリーム半田などの良否を判定する外観計測装置に関する。なお、本発明に使用する位相シフト法とは、縞状の光パターンの位相を一周期分(−π〜π)だけ変化させながら複数枚の光パターンの画像を撮影し、得られた複数の画像から位相分布を求める公知の方法である。この位相分布から計測対象物の高さ情報が得られる。
【0002】
【従来技術および発明が解決しようとする課題】
従来より、位相シフト法を用いた立体的な計測対象物の外観形状を計測する種々の外観計測装置が提案されている(例えば、特許文献1参照。)。
【0003】
これらの装置は、計測対象物上に縞状の光パターンを照射する照射装置と、縞状の光パターンが照射された計測対象物の画像を撮影する撮影装置と、この撮影装置によって撮影された画像に基づいて計測対象物の外観形状を演算する演算装置とを備える。このうち撮影装置には、通常、CCD(固体撮像素子)イメージセンサを用いたラインセンサカメラ、または、公知の画像処理装置であるエリアセンサカメラが用いられているが以下のような課題がある。
【0004】
エリアセンサカメラを使用する場合、撮影装置が1つのエリアセンサカメラを備え、照射装置に光パターンを移動させるための移動格子を取り付け、光パターンを計測対象物に対して移動させることによって撮影装置が計測対象物の同一部位に対する少なくとも3つの画像を撮影するように構成されているので、機械的な構造が複雑となっている。また、エリアセンサカメラにおいては、計測対象物の所定の部位の画像で処理が行える位相シフト法の場合でも、計測対象物の外観形状の検査に不要な撮影範囲に写っている全ての画像を取り込まなければならないので、撮影および演算処理に時間がかかるという課題がある。
【0005】
一方、ラインセンサカメラは計測対象物の外観検査に必要な部位のみ撮影し、上記エリアセンサカメラのように計測対象物の外観形状の検査に不要な画像を取り込まないので演算処理の時間が短くなる。しかしながら、その構成として、例えば、撮影装置が少なくとも3つのラインセンサカメラを備え、計測対象物を光パターンに対して移動させることによって撮影装置が計測対象物の同一部位対する少なくとも3つの画像を撮影するように構成されるか、撮影装置が少なくとも3つの画像を同一の感度で撮影することができる特殊な1つのラインセンサカメラを備え、計測対象物を光パターンに対して移動させることによって撮影装置が計測対象物の同一部位に対する少なくとも3つの画像を撮影するように構成されるので、ラインセンサカメラ本体の構造が複雑となる。また、測定精度を向上させるためにより多くのラインセンサカメラを設置して多くの画像を得ることが望ましいが、機械的な構造が複雑になること、および、4つ以上の画像を同一の感度で撮影することができる1つのラインセンサカメラが存在しないことから、ラインセンサカメラの設置個数が制限され、高い測定精度を得ることが難しいという課題がある。
【0006】
本発明は、以上の課題を解決するためになされたものであり、構造が簡単であって高い精度の測定を行うことができる外観計測装置を提供することを目的とする。
【0007】
【特許文献1】
特開2002−81924号公報(第4−5、第1図)
【0008】
【課題を解決するための手段】
本発明に係る外観計測装置は、上記の課題を解決するために、光の強度が周期的に変化する縞状の光パターンを計測対象物の表面上に照射する光パターン照射手段と、光パターン照射手段からの光パターンが照射された計測対象物の画像を撮影する撮影手段と、計測対象物と光パターンとの相対位置関係を変化させる変位手段とを備えており、撮影手段は光パターンの周期と異なる周期の間隔で配置された、上記相対位置関係を変化させる方向と交差する方向に延びる少なくとも3つの撮影範囲を設定することが可能なように構成されており、撮影手段によって撮影された少なくとも3つの、この撮影範囲に対応する画像上の光の強度分布に基づいて位相シフト法により計測対象物の各部位の高さ情報を得るべく演算する演算手段とを備えてなる。
【0009】
この構成によれば、撮影手段の撮影範囲の設定を変更するだけで位相シフト法に必要な計測対象物の同一部位に対する少なくとも3つの光の強度(位相)の異なる光パターンが照射された場合の画像を得ることができる。従って、本発明に係る外観計測装置を用いれば、従来のラインセンサカメラを使用する場合のように構造が複雑にならない。また、撮影手段の撮影範囲を設定変更することにより撮影範囲の数を簡単に増やすことができる。これにより、計測対象物の同一部位に対する多くの画像を得ることが可能となる。そして、演算手段ではこれら多くの画像に基づいて計測対象物の高さが演算されるので、これにより得られた高さ情報は精度の高いものになる。なお、撮影手段としては、例えばCMOS(相補性金属酸化膜半導体)イメージセンサが使用される。
【0010】
上記撮影手段の撮影範囲が計測対象物の外観形状に応じて設定変更可能に構成されてもよい。この構成では、撮影手段の撮影範囲が設定変更可能であるので、計測対象物の計測寸法に応じて拡大または縮小することが可能である。従って、大きな計測対象物の高さを計測する場合であっても、1つの撮影装置で対応することができるので構造が簡単になる。また、小さな計測対象物にあっては計測に不要な撮影を防止することができるので、演算手段の処理速度を向上させることが可能となる。
【0011】
上記変位手段が、計測対象物に対して光パターン照射手段および撮影手段を、または、光パターン照射手段および撮影手段に対して計測対象物を変位可能に構成されてもよい。これにより、従来の、光パターン照射手段に移動格子を取り付けて光パターンを計測対象物に対して移動させる場合に比べて構造が簡単になる。
【0012】
上記光パターン照射手段の光パターンが、上記変位手段の変位方向に沿って正弦波状に光の強度が変化するように構成されてもよい。これにより、位相シフト法による高さ情報を得るための演算を簡易なものとすることができ、演算手段の処理速度を速くすることも可能となる。
【0013】
上記光パターン照射手段が、複数の周期を有する光パターンを照射可能に構成されてもよい。この構成では、各周期の光パターンの一周期から得られる情報量が同じである場合、複数の周期を有する光パターンのうち短周期の光パターンによる高さ情報の分解能(計測精度)は長周期の光パターンより高くなる。従って、これらの高さ情報を組み合わせることにより互いに高さ情報を補間することが可能となる。これにより、複雑な形状の計測対象物であっても計測対象物の高さを精度良く計測することができる。
【0014】
上記演算手段が、撮影手段によって撮影された画像に基づいて上記複数の周期の光パターンの位相を計算する位相計算手段と、該位相計算手段によって計算された各位相を接続する位相接続手段とを備えており、該位相接続手段が、一の周期の光パターンの位相を参照しながら他の周期の光パターンの位相を接続するように構成されてもよい。
【0015】
この構成では、短周期(一の周期)の光パターンの位相を参照しながら長周期(他の周期)の光パターンの位相を接続したり、長周期の光パターンの位相を参照しながら短周期の光パターンの位相を接続することができる。これにより、段差などの不連続部分のある計測対象物であっても光パターンの位相接続を適切に行うことができ、計測対象物の正確な高さ情報を求めることができる。これは、光パターンの周期が異なるため計測対象物の段差部分で短周期の光パターンの位相が重なり合っても(いわゆる、位相飛びを起こしても)長周期の光パターンの位相が同時に重なり合うことがないことによる。
【0016】
上記演算手段が、撮影手段によって撮影された計測対象物の同一部位に対する少なくとも3つの画像上の光の強度分布から該部位の高さ情報を得るべく演算する第1演算処理テーブルをさらに備えるように構成されてもよい。この構成では、第1演算処理テーブルを参照することにより計測対象物の各部位の高さ情報を得ることができる。従って、高さ情報を迅速に得ることが可能となる。
【0017】
上記演算手段が、一の周期の光パターンの各位相を参照しながら他の周期の光パターンの各位相を接続するための第2演算処理テーブルをさらに備えてもよい。この構成では、第2演算処理テーブルを参照することにより位相接続を正確に、かつ、迅速に行うことができる。これにより、正確な高さ情報を迅速に得ることが可能となる。
【0018】
上記演算手段が該演算手段によって演算された計測対象物の高さ情報に基づいて該計測対象物の良否を判定する判定手段をさらに備えており、該判定手段が、予め設定された基準となる計測対象物の各部の高さ情報と、検査対象となる計測対象物を撮影して得られた画像から演算された該計測対象物の各部の高さ情報との相違に基づいて計測対象物の良否を判定するように構成されてもよい。
【0019】
この構成では、判定手段を備えるので計測対象物の良否を簡単に判定することができる。なお、基準となる計測対象物Mの各部位の高さ情報として、撮影装置により予め撮影された基準となる計測対象物の画像情報、基準となる計測対象物のCAD(コンピュータ支援設計)変換データ、または、ユーザによる入力データなどに基づいて予め演算され設定されたものを使用する。従って、計測対象物の設計変更などにも極めて簡単に対応することが可能となる。
【0020】
【発明の実施の形態】
以下、本発明の一実施形態について図面を参照しながら説明する。
【0021】
図1は、本発明の実施形態に係る外観計測装置の構成を示すブロック図である。
この外観計測装置は、縞状の光パターンPを計測対象物Mの表面上に照射する光パターン照射装置1と、この光パターン照射装置1からの光パターンPが照射された計測対象物Mの画像を撮影する撮影装置2と、この撮影装置2によって撮影された画像に基づいて位相シフト法により計測対象物Mの各部位の高さ情報を得るべく演算する演算処理装置3と、計測対象物Mと光パターンPとの相対位置関係を変化させる変位装置Tとを備えている。
【0022】
この変位装置Tは、計測対象物Mを搭載するテーブル4と、このテーブル4を一方向(図1の矢符X方向)に所定の速度で直線移動させる駆動機構5と、この駆動機構5を駆動させるモータ6と、このモータ6に電源を供給し駆動させるモータ駆動装置7とを備える。
【0023】
テーブル4はリニアガイド(図示せず)によって水平に支持されたスライダなどからなる。駆動機構5はボールねじまたはベルトなどからなり、テーブル4とモータ6とを連結してモータ6の回転動作をテーブル4の直線移動に変えるため使用される。従って、モータ6の駆動によりテーブル4に搭載された計測対象物Mは一方向に直線移動させることが可能となる。なお、モータ6として位置決めが容易なサーボモータなどを使用することが望ましい。また、テーブル4はリニアモータによって直線移動させるように構成されてもよい。
【0024】
光パターン照射装置1は格子投影器であり、テーブル4の表面の法線方向に対して計測対象物Mの移動方向に所定の角度だけ傾斜させた方向(図1の矢符L方向)、すなわち、計測対象物Mの移動方向側の斜め上方から計測対象物Mの表面に光パターンPを照射するように配置されている。光パターンPはレーザ干渉縞などである。
【0025】
図2は光パターン照射装置からテーブル上に照射された光パターンの一例を示している。図示するように光パターンPは計測対象物Mの移動方向に縞状に配され、全体が楕円形状をなしている。なお、ここでは、光パターンPの形状を楕円形状にしているがこれに限定するものではない。例えば、矩形状であっても構わない。これにより、光パターンPを照射する範囲を拡大することができる。この縞状の光パターンPは計測対象物Mの移動方向に対して後側半分の部分には周期(ピッチ)P1の第1光パターンPP1が形成され、前側半分の部分には周期(ピッチ)P2の第2光パターンPP2が形成されている。ここでは、P2=P1x8になるように設定されている。このように複数の周期P1、P2の光パターンPを用いるのは、計測対象物Mの形状変化が大きい場合にもその形状を精度良く求めるためである。詳細は後述する。
【0026】
なお、ここでは、2つの周期P1、P2の光パターンPを設定しているが、計測対象物Mの形状に応じて1または3以上の周期の光パターンPを設定しても構わない。具体的には、例えば、計測対象物Mの形状変化が緩やかな場合には1つの周期の光パターンPを使用し、計測対象物Mの形状変化が急激である場合(例えば、段差がある場合)には複数の周期の光パターンPを使用する。
【0027】
また、図示されていないが光パターンPは位相シフト法による高さ情報の演算を簡易にするため一周期で光の強度が正弦波状に変化するように設定されている。
【0028】
撮影装置2は、テーブル4の上方に、テーブル4に対向して配置され、図2に示すように予め設定された所定の撮影範囲20を撮影することができるようになっている。この撮影範囲20は計測対象物Mの形状に応じて適宜設定される。
【0029】
また、この撮影範囲20内には、上記光パターンの周期P1、P2とそれぞれ異なる周期の間隔で配置された、計測対象物Mの移動方向に対して交差する方向に延びる少なくとも3つの撮影範囲が設定されている。
【0030】
そして、撮影装置2は、計測対象物Mの表面上の同一部位が各撮影範囲の真下にきたときに計測対象物Mの表面上の同一部位を撮影するように構成されている。そのため、撮影装置2は、計測対象物Mの移動に同期して予め設定された回数の撮影を行うことができるように構成されている。詳細は後述する。これにより、計測対象物Mの同一部位に異なる光パターンPが照射された少なくとも3つの画像を撮影することができる。
【0031】
以上のような撮影装置2として、例えばCMOS(相補性金属酸化膜半導体)イメージセンサが使用される。このCMOSイメージセンサカメラでは、撮影範囲を任意に設定することができるので、撮影範囲の数は3つに限定されることはない。従って、計測対象物Mの外観形状(高さ)の測定精度を向上させるためにさらに多くの撮影範囲を設定することも可能である。
【0032】
演算処理装置3は、入力部30、演算部31、記憶部32、および出力部33を備えており、これらは配線を介してそれぞれ接続されている。また、演算処理装置3は、撮影装置2の撮影画像取込開始信号を出力するカウント比較装置8と、テーブル4の位置を決める位置決め装置9とにそれぞれ配線を介して接続されている。また、上述したモータ6にはテーブル4の現在位置を計測するための位置センサ9aが取り付けられており、この位置センサ9aは位置決め装置9に配線を介して接続されている。
【0033】
入力部30は撮影装置2およびカウント比較装置8に接続されており、撮影装置2からの画像情報、および、カウント比較装置8からの画像取込開始情報が入力されるようになっている。入力部30には、論理回路からなる演算処理テーブル30aが組み込まれている。この演算処理テーブル30aは撮影装置2からの画像情報に基づいて計測対象物Mの各部位の高さ情報を得るべく演算する機能などを備える。さらに、入力部30は演算処理テーブル30aで得られた高さ情報を演算部31に出力可能に接続されている。なお、ここでは、入力部30が演算処理テーブル30aを備えるが、演算処理テーブル30aを記憶部32に設けてもよい。
【0034】
演算部31はマイクロプロセッサを主体に構成されており、記憶部32はリードオンリーメモリ(ROM)およびランダムアクセスメモリ(RAM)を含み、演算部31の動作手順を規定するプログラム、または、演算部31によって処理されるべきデータを記憶する。
【0035】
演算部31は、計測対象物Mの移動と撮影装置2の撮影とを同期させるため予め記憶部32に記憶されたテーブル4の移動位置および移動速度を出力部33を介して位置決め装置9に送信するように構成されている。この位置決め装置9は、受信したテーブル4の移動位置をモータ駆動装置7に送信するように構成されている。これにより、位置決め装置9からのテーブル4の移動位置および移動速度に基づいてモータ駆動装置7はモータ6を駆動させ、これによってテーブル4は駆動機構5を介して一方向に移動せしめられる。
【0036】
同時に、演算部31は、計測対象物Mの移動と撮影装置2の撮影とを同期させるため予め記憶部32に記憶された画像取込開始位置を出力部33を介してカウント比較装置8に送信するように構成されている。このカウント比較装置8は、画像取込開始位置と、位置センサ9aから位置決め装置9を介して送信された移動中のテーブル4の現在位置とを比較して、テーブル4の現在位置が画像取込開始位置と一致したときに上記入力部30に画像取込開始情報を出力するようになっている。これにより、演算部31が前記画像取込開始情報に基づいて撮影装置2からの画像情報を入力部30に取込開始させる。
【0037】
以上のように計測対象物Mの移動と撮影装置2の撮影とを同期させることにより計測対象物Mの表面上の所定の部位と撮影した画像情報との対応付けがなされる。
【0038】
また、演算部31は、上記演算処理テーブル30aからの計測対象物Mの各部位の高さ情報と、基準となる計測対象物Mの各部位の高さ情報とを比較して、これらの差が所定の値を超えるか否かによって計測対象物Mの良否を判定するように構成されている。この判定結果は表示装置(図示せず)などに表示されるようになっている。なお、基準となる計測対象物Mの各部位の高さ情報は、撮影装置2により予め撮影された基準となる計測対象物Mの画像情報、基準となる計測対象物のCAD(コンピュータ支援設計)変換データ、または、ユーザによる入力データなどに基づいて演算されており記憶部32に記憶されている。
【0039】
以上のように構成された外観計測装置の作用について図3〜図6を用いて説明する。なお、本実施形態では外観計測装置に使用される演算処理装置3は8ビット(256個)の高さ情報を処理することができるものとする。ただし、この情報量は計測対象物Mの外観形状を計測する精度、計測処理速度または設備費用などに応じて適宜設定されるものであり、この数値に限定されるものではない。
【0040】
図3は光パターン照射装置から計測対象物に光パターンが照射される状態を模式的に示す側面図である。図示するように、まず、光パターン照射装置1より異なる2つの周期P1、P2の光パターンP(図2参照)がテーブル4の表面の法線方向に対して計測対象物Mの移動方向に所定の角度αだけ傾斜させた方向から計測対象物Mに照射される。上述したように異なる周期P1、P2はP2=P1x8に設定されている。具体的に、例えば、P1=1mmとするとP2=8mmとなる。なお、ここでは、P2=P1x8に設定されているが、計測対象物Mの形状に応じてP2=P1x2からP2=P1x128の間の偶数倍に設定されてもよい。この点に関しては後述する。
【0041】
撮影装置2は、変位装置Tによって一方向(図1のX方向)に移動する計測対象物Mの表面上の同一部位が予め設定された各撮影範囲20(図2参照)の真下にきたときに計測対象物Mの表面上の同一部位を撮影する。この撮影範囲20としては、例えば、幅200mm、長さ200mmの計測対象物Mを計測する場合には、幅220mm、長さ20mm程度に設定される。従って、周期P1(1mm)の第1光パターンPP1では撮影装置2によって20周期分が同時に撮影される。周期P2(8mm)の第2光パターンPP2では撮影装置2によって2周期分が同時に撮影される。実際には、このように撮影装置2によって撮影された画像のうち位相シフト法による高さ情報の演算に必要な画像のみを適宜選択し、その画像に基づいて計測対象物Mの高さが演算される。
【0042】
さらに、この撮影範囲には、第1および第2光パターンPP1、PP2の周期P1、P2と異なるように撮影範囲が設定される。上述したように位相シフト法では計測対象物Mの同一部位に対する少なくとも3つの光強度の光パターンPが照射された画像が必要であるので、例えば、光パターンPの一周期に対してこの撮影範囲を4つ設定すると、P1=1mmの第1光パターンPP1では0.25mm間隔で撮影範囲が設定され、P2=8mmの第2光パターンPP2では2mm間隔で撮影範囲が設定される。そして、撮影装置2がこの各撮影範囲に対応する計測対象物Mの表面上の画像を撮影する。
【0043】
なお、上述の撮影範囲は一例であり、計測対象物Mの形状、光パターンの周期の数、計測対象物Mの同一部位に対する光強度の異なる光パターンが照射される画像の数などに応じて適宜設定される。
【0044】
撮影装置2が撮影した画像は、画像情報として入力部30に入力される。そして、入力部30の演算処理テーブル30aは画像情報に基づいて位相シフト法により計測対象物Mの高さ情報(高さ)を得るべく演算する。
【0045】
図3を参照して、この計測対象物Mの高さH1は、下式(数1)より求めることができる。
【0046】
【数1】
tanα=D1/H1
なお、D1は、第1および第2光パターンPP1、PP2が計測対象物Mに照射されるか否かにより第1および第2光パターンPP1、PP2の縞が計測対象物Mの移動方向(図3の矢符X方向)に変位せしめられる量(第1および第2光パターンPP1、PP2の位相ずれに対応する変位量)である。この変位量D1は位相シフト法により求められる。また、αは、テーブル4の表面の法線方向に対する第1および第2光パターンPP1、PP2の照射角度である。
【0047】
以上より、(数1)において、例えば、α=45°とすると、第1および第2光パターンPP1、PP2のそれぞれの周期P1、P2に対応する計測可能高さH1max、H2maxは光パターンPの周期P1、P2にそれぞれ等しくなる。その理由は、第1および第2光パターンPP1、PP2の隣り合う縞が重なる限界の変位量D1がそれぞれの周期P1、P2であり、これを超えると変位した第1および第2光パターンPP1、PP2の縞が変位する前のどの縞のものに対応するのか区別することができないからである。具体的には、P1=1mmの場合、H1max=P1となりH1max=1mmとなる。同様に、P2=8mmの場合、H2max=P2となりH2max=8mmとなる。
【0048】
また、この場合の高さ情報の分解能は、演算処理装置3が光パターンPの一周期に対して8ビット(256個)の高さ情報を処理することができるので、例えば、第1光パターンPP1の分解能H1resは、H1res=H1max/256=3.90625マイクロメートルとなる。同様に、第2光パターンPP2の分解能H2resは、H2res=H2max/256=31.25マイクロメートルとなる。
【0049】
以上のように第1光パターンPP1を計測対象物Mに照射する場合、これに対応する計測可能高さH1maxは小さいが分解能が高くなる。その結果、第1光パターンPP1の周期P1、すなわち計測可能高さH1maxより測定対象物Mの実際の高さの変化量が大きい場合には、上述したように変位量D1も測定可能高さH1maxを超えるので、第1光パターンPP1の1つの縞が周期P1を超えて大きく計測対象物Mの移動方向に変位して他の縞と重なり合う。これにより、計測対象物Mの正確な高さを得ることができない。一方、第2光パターンPP2を計測対象物Mに照射する場合、第2光パターンPP2に対応する計測可能高さは大きいがその代わり分解能が低くなる。それゆえ、計測対象物Mの全体の外観形状の変化は把握することはできるが精度の高い計測結果を得ることはできない。そこで、本実施形態では、第1および第2光パターンPP1、PP2を組み合わせることにより、第2光パターンPP2を用いて計測対象物Mの全体形状の変化を把握し、第1光パターンPP1を用いて計測精度の向上を図っている。以下、さらに詳細に説明する。
【0050】
図4(a)は、本発明の一実施形態に係る外観計測装置を用いて計測対象物Mの一部位の高さを計測して得られた結果の一例を示す図である。図中横軸は第1および第2光パターンPP1、PP2の周期P1、P2にそれぞれ対応する計測対象物Mの第1高さ階調H1hexおよび第2高さ階調H2hexである。この第1および第2高さ階調H1hex、H2hexはそれぞれ上記変位量D1から求められるものであり、第1および第2光パターンPP1,PP2の一周期(−π〜π)の光の強度分布を256個に変換した値(0〜255)である。縦軸は計測対象物Mの高さである。
【0051】
図4(a)に示すように第1光パターンPP1に対応する計測対象物Mの高さH12は0〜1mmの間で計測対象物Mの移動方向に対して繰り返し変化する。また、これに対応する第1高さ階調H1hexも0〜255の間で計測対象物Mの移動方向に対して繰り返し変化する。一方、第2光パターンPP2に対応する計測対象物Mの高さH13は0〜8mmの間で計測対象物Mの移動方向に対して変化する。また、これに対応する第2高さ階調H2hexも0〜255の間で計測対象物Mの移動方向に対して変化する。
【0052】
なお、ここでは、第2光パターンPP2の一周期P2分のみを示しているが、これも第1光パターンPP1同様、第2光パターンPP2に対応する計測対象物Mの高さH13は0〜8mmの間で計測対象物Mの移動方向に対して繰り返し変化し、これに対応する第2高さ階調H2hexも0〜255の間で計測対象物Mの移動方向に対して繰り返し変化する。また、ここでは、計測対象物Mの高さが単調に増加する場合を示している。
【0053】
図4(b)は図4(a)中の破線で示す範囲BBを拡大して示した図である。第1光パターンPP1に対応する計測対象物Mの高さH12は第1高さ階調H1hexの増加に従って増加する。そして、第1高さ階調H1hexが255になったときに計測対象物Mの高さH12が1mmになり、これを超えると第1高さ階調H1hexが0になり計測対象物Mの高さH12も0mmになる。しかし、これに対応する第2光パターンPP2に対応する計測対象物Mの高さH13は、第2光パターンPP2の計測可能高さH2maxが第1光パターンPP1に比べて大きいので第1光パターンPP1のように0mmになることはなく計測対象物Mの実際の高さになる。従って、第2光パターンPP2に対応する計測対象物Mの高さH13を参照すれば各周期ごとの第1光パターンPP1に対応する計測対象物Mの高さH12をそれぞれ正確に接続(位相接続)することが可能となり、これにより計測対象物Mの正確な高さを得ることができる。このように計測対象物Mの正確な高さを得るためには、正確な位相接続が行われることが重要である。以下に、より具体的に説明する。
【0054】
図5は、計測対象物Mの高さ(例えば、0.01、0.98、0.99、1.00、1.01および7.99mm)に対応する第1および第2高さ階調の演算結果を示す図である。図示するように、第1高さ階調H1hexのみの場合、計測対象物Mの高さH12が0.01mmと1.01mmとに対応する第1高さ階調H1hexがいずれも2となり区別が付かない。しかしながら、この結果に第2高さ階調H2hexの結果を反映すると計測対象物Mの高さH12が0.01mmと1.01mmとに対応する第2高さ階調H2hexがそれぞれ0および32となり区別することが可能となる。このようにして正確な位相接続(計測対象物Mの高さH12が1.00mmから0.01mmではなく1.01mmになる)が実施される。その結果、計測対象物Mの正確な高さが求められる。
【0055】
また、計測対象物Mの高さを計測中に誤差が発生することにより計測対象物Mの高さH13が0.99mmで第1高さ階調H1hex=253、第2高さ階調H2hex=32になった場合であっても、第1高さ階調H1hexに基づいて正しい第2高さ階調H2hexを求めることができる。詳細は後述する。これにより、第2高さ階調H2hexの正確な位相接続が実施され、その結果計測対象物Mの正確な高さが求められる。
【0056】
次に、上記処理をさらに具体的に図6に基づいて説明する。図6は、本発明の一実施形態に係る外観計測装置の高さを演算処理するフロー図を示す。
【0057】
撮影装置2が計測対象物Mを撮影する(S1)。この撮影装置2から入力部30に入力された画像情報に基づいて演算処理テーブル30aが上記(数1)に示す変位量D1を算出する(S2、S4)。ステップS2では、第1光パターンPP1に対応する変位量D1を算出する。ステップ4では、第2光パターンPP2に対応する変位量D1を算出する。その後、それぞれの変位量D1から第1および第2高さ階調H1hex、H2hexを算出する(S3、S5)。
【0058】
その後、H1hex>5であるか否か判定する(S6)。ステップS6においてH1hex>5でない場合、第2高さ階調H2hexが偶数であるか否か判定する(S7)。ステップS7において、第2高さ階調H2hexが偶数でない場合にはH2hex=H2hex+1に置き換え(S8)、第2高さ階調H2hexが偶数である場合にはそのままの数字としてステップS12にて処理される。また、ステップS6においてH1hex>5である場合には、H1hex<250であるか否か判定する(S9)。
【0059】
ステップS9において、第1高さ階調H1hex<250でない場合には第2高さ階調H2hexが奇数であるか否か判定する(S10)。ステップS10において、第2高さ階調H2hexが奇数でない場合には第2高さ階調H2hex=H2hex−1に置き換え(S11)、第2高さ階調H2hexが奇数である場合にはそのままの数字としてステップS12にて処理される。また、ステップS9において、第1高さ階調H1hex<250である場合には第1高さ階調H1hexと第2高さ階調H2hexとで精度が高くなったH2hexがステップS12で生成される。以上のステップS6〜S11に従えば、例えば、上述した計測対象物Mの高さを計測中に誤差が発生することにより計測対象物Mの高さH13が0.99mmで第1高さ階調H1hex=253、第2高さ階調H2hex=32になった場合であっても、第1高さ階調H1hex=253(S9)且つ第2高さ階調H2hexが偶数(S10)であるので、第2高さ階調H2hex=H2hex−1(S11)となり正しい第2高さ階調H2hex=31(図5参照)を導くことができる。
【0060】
ステップS12では、上述した第1高さ階調H1hex(8ビット)と第2高さ階調H2hex(8ビット)とが合成されて、第2高さ階調H2hex(11ビット)が求められる。この場合、第1高さ階調H1hex(8ビット)と第2高さ階調H2hex(8ビット)との同一項が5ビットあるため第2高さ階調H2hexの上位3ビットが第1高さ階調H1hexと異なる。これにより、第1高さ階調H1hex(8ビット)と第2高さ階調H2hex(3ビット)とが合成され、第2高さ階調H2hexは11ビットになる。そして、ステップS12において得られた高さ階調H2hex(11ビット)に基づいて計測対象物Mの高さが算出される。その結果、8ビットの情報に基づいた計測対象物Mの高さ情報に比べて精度の高い高さ情報が得られる。なお、ここでは、光パターンPの異なる周期の関係がP2=P1x8である場合を示しているが、P2=P1x128の場合には、第1高さ階調H1hex(8ビット)および第2高さ階調H2hex(8ビット)の同一項が1ビットであるので、これらを合成すると15ビットの第2高さ階調H2hexになる。
【0061】
上記ステップS2、S4が位相計算手段を構成し、ステップS3、S5、S6〜S11が位相接続手段を構成する。上記演算処理テーブル30aが第1演算処理テーブルを構成する。
【0062】
また、上記位相接続手段を第2演算処理テーブルに置き換えてもよい。これにより演算処理速度の向上を図ることが可能となる。
【0063】
また、上述したステップS6〜S11において第2高さ階調が偶数であるか奇数であるかを判定する工程があるので周期P1、P2の関係は一方の周期に対して他方の周期を偶数倍としている。従って、情報量が8ビット(256個)である場合、周期P2はP2=P1x2からP2=P1x128の間で調整される。もちろん、情報量が8ビットでない場合には、その情報量に基づいて設定される。例えば、情報量が4ビット(16個)の場合、P2=P1x2からP2=P1x8の間で調整される。
【0064】
さらに、演算処理装置3では、以上のようにして演算された計測対象物Mの各部位の高さ情報と、基準となる計測対象物Mの各部位の高さ情報とを比較して、これらの差が所定の値を超えるか否かによって計測対象物Mの良否を判定する。
【0065】
【発明の効果】
本発明によれば、構造が簡単であって高い精度の測定を行うことができる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係る外観計測装置の構成を示すブロック図である。
【図2】光パターン照射装置からテーブル上に照射された光パターンの一例を示す図である。
【図3】光パターン照射装置から計測対象物に光パターンが照射される状態を模式的に示す側面図である。
【図4】本発明の一実施形態に係る外観計測装置を用いて計測対象物の高さを計測して得られた結果の一例を示す図である。
【図5】計測対象物の高さに対応する第1および第2高さ階調の演算結果を示す図である。
【図6】本発明の一実施形態に係る外観計測装置が計測対象物の高さを演算処理するフロー図を示す。
【符号の説明】
1 光パターン照射装置
2 撮影装置
3 演算処理装置
4 テーブル
5 駆動機構
6 モータ
7 モータ駆動装置
8 カウント比較装置
9 位置決め装置
9a 位置センサ
M 計測対象物
P 光パターン
T 変位装置
30a 演算処理テーブル[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an appearance measuring device using a phase shift method, and particularly, determines the quality of a printed circuit board on which an automobile component, a semiconductor electronic component or other electronic components are mounted, or cream solder printed on the printed circuit board. The present invention relates to an appearance measuring device. Note that the phase shift method used in the present invention means that a plurality of light pattern images are captured while changing the phase of the striped light pattern by one period (−π to π), and a plurality of obtained light patterns are obtained. This is a known method for obtaining a phase distribution from an image. From this phase distribution, height information of the measurement object is obtained.
[0002]
Problems to be solved by the prior art and the invention
2. Description of the Related Art Conventionally, various appearance measurement devices that measure a three-dimensional appearance of a measurement object using a phase shift method have been proposed (for example, see Patent Literature 1).
[0003]
These devices are an irradiation device that irradiates a striped light pattern on the measurement target, an imaging device that captures an image of the measurement target that is irradiated with the striped light pattern, and an image captured by the imaging device. A calculating device for calculating the external shape of the measurement target based on the image. Of these, a line sensor camera using a CCD (solid-state imaging device) image sensor or an area sensor camera, which is a known image processing device, is usually used for the imaging device, but has the following problems.
[0004]
When using an area sensor camera, the imaging device is provided with one area sensor camera, a moving grid for moving the light pattern is attached to the irradiation device, and the imaging device is moved by moving the light pattern with respect to the measurement target. Since it is configured to capture at least three images of the same part of the measurement target, the mechanical structure is complicated. In addition, even in the case of the phase shift method, in which the area sensor camera can perform processing on an image of a predetermined portion of the measurement target, all images in an imaging range unnecessary for inspection of the external shape of the measurement target are captured. Therefore, there is a problem that it takes time to perform photographing and arithmetic processing.
[0005]
On the other hand, the line sensor camera photographs only a part necessary for the appearance inspection of the measurement object, and does not take in an unnecessary image for the inspection of the appearance shape of the measurement object unlike the area sensor camera, so that the calculation processing time is shortened. . However, as the configuration, for example, the imaging device includes at least three line sensor cameras, and the imaging device captures at least three images of the same portion of the measurement target by moving the measurement target with respect to the light pattern. Or a special one line sensor camera capable of taking at least three images with the same sensitivity, and moving the measuring object with respect to the light pattern, Since the configuration is such that at least three images of the same part of the measurement target are captured, the structure of the line sensor camera body is complicated. It is also desirable to obtain more images by installing more line sensor cameras in order to improve measurement accuracy, but the mechanical structure is complicated, and four or more images can be obtained with the same sensitivity. Since there is no single line sensor camera capable of capturing an image, the number of line sensor cameras to be installed is limited, and there is a problem that it is difficult to obtain high measurement accuracy.
[0006]
The present invention has been made in order to solve the above-described problems, and has as its object to provide an appearance measuring device that has a simple structure and can perform highly accurate measurement.
[0007]
[Patent Document 1]
JP-A-2002-81924 (FIG. 4-5, FIG. 1)
[0008]
[Means for Solving the Problems]
In order to solve the above-described problem, an appearance measurement device according to the present invention includes a light pattern irradiation unit that irradiates a striped light pattern in which the intensity of light periodically changes on a surface of a measurement target, and a light pattern irradiation unit. The imaging device includes an imaging unit that captures an image of the measurement target irradiated with the light pattern from the irradiation unit, and a displacement unit that changes a relative positional relationship between the measurement target and the light pattern. It is configured such that it is possible to set at least three shooting ranges that are arranged at intervals of a cycle different from the cycle and extend in a direction intersecting with the direction in which the relative positional relationship is changed, and the shooting range is set by the shooting unit. Calculating means for calculating at least three pieces of height information of each part of the measurement object by a phase shift method based on the light intensity distribution on the image corresponding to the photographing range; That.
[0009]
According to this configuration, a light pattern having at least three different light intensities (phases) is irradiated on the same portion of the measurement target required for the phase shift method only by changing the setting of the imaging range of the imaging unit. Images can be obtained. Therefore, when the appearance measuring device according to the present invention is used, the structure is not complicated as in the case where a conventional line sensor camera is used. Further, by changing the setting of the photographing range of the photographing means, the number of photographing ranges can be easily increased. Thus, it is possible to obtain many images for the same part of the measurement target. Then, since the height of the measurement object is calculated based on these many images by the calculation means, the height information obtained thereby has high accuracy. In addition, as a photographing unit, for example, a CMOS (complementary metal oxide semiconductor) image sensor is used.
[0010]
The imaging range of the imaging means may be configured to be changeable according to the external shape of the measurement target. In this configuration, since the photographing range of the photographing means can be changed, it is possible to enlarge or reduce the photographing range according to the measurement size of the measurement object. Therefore, even when measuring the height of a large measurement object, the structure can be simplified because one imaging device can cope with the measurement. Further, in the case of a small measurement object, unnecessary photographing for measurement can be prevented, so that the processing speed of the calculation means can be improved.
[0011]
The displacement means may be configured to be able to displace the light pattern irradiating means and the photographing means with respect to the measuring object, or to displace the measuring object with respect to the light pattern irradiating means and the photographing means. This simplifies the structure as compared with the conventional case in which a moving grating is attached to the light pattern irradiation unit and the light pattern is moved with respect to the measurement target.
[0012]
The light pattern of the light pattern irradiating means may be configured such that the light intensity changes in a sinusoidal manner along the displacement direction of the displacement means. As a result, the operation for obtaining the height information by the phase shift method can be simplified, and the processing speed of the operation means can be increased.
[0013]
The light pattern irradiation means may be configured to be able to irradiate a light pattern having a plurality of periods. In this configuration, when the information amount obtained from one cycle of the light pattern in each cycle is the same, the resolution (measurement accuracy) of the height information by the short cycle light pattern among the light patterns having a plurality of cycles is long cycle. Light pattern. Therefore, it is possible to interpolate the height information by combining these height information. Thereby, even if the measurement target has a complicated shape, the height of the measurement target can be accurately measured.
[0014]
The calculation means includes: phase calculation means for calculating the phases of the plurality of periods of the light pattern based on an image captured by the imaging means; and phase connection means for connecting the phases calculated by the phase calculation means. And the phase connection means may be configured to connect the phase of the light pattern of another cycle while referring to the phase of the light pattern of one cycle.
[0015]
In this configuration, the phase of a long-period (other period) optical pattern is connected while referring to the phase of a short-period (one period) optical pattern, or the short-period is referenced while referring to the phase of a long-period optical pattern. Can be connected to each other. Accordingly, even if the measurement target has a discontinuous portion such as a step, the phase connection of the light pattern can be appropriately performed, and accurate height information of the measurement target can be obtained. This is because even if the phases of the short-period light patterns overlap at the stepped part of the measurement object because the periods of the light patterns are different (so-called phase jumps occur), the phases of the long-period light patterns may simultaneously overlap. It depends.
[0016]
The calculation means may further include a first calculation processing table for calculating height information of the portion from at least three images on the same portion of the measurement object photographed by the photographing device from the intensity distribution of the light. It may be configured. With this configuration, the height information of each part of the measurement target can be obtained by referring to the first arithmetic processing table. Therefore, height information can be obtained quickly.
[0017]
The calculation means may further include a second calculation processing table for connecting each phase of the light pattern of another cycle while referring to each phase of the light pattern of one cycle. In this configuration, phase connection can be performed accurately and quickly by referring to the second arithmetic processing table. This makes it possible to quickly obtain accurate height information.
[0018]
The calculating means further includes a judging means for judging the quality of the measuring object based on the height information of the measuring object calculated by the calculating means, and the judging means serves as a preset reference. The height information of each part of the measurement target and the height of each part of the measurement target based on the difference between the height information of each part of the measurement target calculated from an image obtained by photographing the measurement target to be inspected. It may be configured to determine pass / fail.
[0019]
In this configuration, the determination unit is provided, so that the quality of the measurement target can be easily determined. In addition, as height information of each part of the measurement target M serving as a reference, image information of the reference measurement target taken in advance by an imaging device, CAD (computer aided design) conversion data of the reference measurement target M Alternatively, a data which is calculated and set in advance based on data input by the user or the like is used. Therefore, it is possible to very easily cope with a design change of the measurement object and the like.
[0020]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0021]
FIG. 1 is a block diagram showing the configuration of the appearance measuring device according to the embodiment of the present invention.
This appearance measuring device includes a light
[0022]
The displacement device T includes a table 4 on which a measurement object M is mounted, a
[0023]
The table 4 includes a slider or the like horizontally supported by a linear guide (not shown). The
[0024]
The light
[0025]
FIG. 2 shows an example of a light pattern irradiated on the table from the light pattern irradiation device. As shown in the figure, the light pattern P is arranged in a stripe shape in the moving direction of the measurement target M, and has an overall elliptical shape. Here, the shape of the light pattern P is an elliptical shape, but is not limited to this. For example, it may be rectangular. This makes it possible to expand the range in which the light pattern P is irradiated. In the striped light pattern P, a first light pattern PP1 having a period (pitch) P1 is formed in a rear half portion with respect to the moving direction of the measurement target M, and a period (pitch) is formed in a front half portion. A second light pattern PP2 of P2 is formed. Here, it is set so that P2 = P1 × 8. The reason why the light pattern P having the plurality of periods P1 and P2 is used is to accurately determine the shape of the measurement target M even when the shape change of the measurement target M is large. Details will be described later.
[0026]
Although the light pattern P having two periods P1 and P2 is set here, the light pattern P having one or three or more periods may be set according to the shape of the measurement target M. Specifically, for example, when the shape change of the measurement target M is gradual, the light pattern P of one cycle is used, and when the shape change of the measurement target M is abrupt (for example, when there is a step). ), A light pattern P having a plurality of periods is used.
[0027]
Although not shown, the light pattern P is set such that the light intensity changes sinusoidally in one cycle in order to simplify the calculation of height information by the phase shift method.
[0028]
The photographing
[0029]
Further, in this photographing
[0030]
Then, the photographing
[0031]
For example, a CMOS (complementary metal oxide semiconductor) image sensor is used as the photographing
[0032]
The
[0033]
The
[0034]
The
[0035]
The
[0036]
At the same time, the
[0037]
As described above, by synchronizing the movement of the measurement target M with the photographing of the photographing
[0038]
The
[0039]
The operation of the appearance measuring device configured as described above will be described with reference to FIGS. In this embodiment, it is assumed that the
[0040]
FIG. 3 is a side view schematically illustrating a state in which a light pattern is irradiated from the light pattern irradiation device onto the measurement target. As shown in the drawing, first, a light pattern P (see FIG. 2) having two different periods P1 and P2 from the light
[0041]
The photographing
[0042]
Further, the shooting range is set in this shooting range so as to be different from the periods P1 and P2 of the first and second light patterns PP1 and PP2. As described above, the phase shift method requires an image in which the same portion of the measurement target M is irradiated with the light patterns P of at least three light intensities. When four are set, the shooting range is set at an interval of 0.25 mm in the first light pattern PP1 of P1 = 1 mm, and the shooting range is set at an interval of 2 mm in the second light pattern PP2 of P2 = 8 mm. Then, the photographing
[0043]
Note that the above-described photographing range is an example, and the shape of the measurement target M, the number of periods of the light pattern, the number of images irradiated with light patterns having different light intensities on the same part of the measurement target M, and the like are determined. It is set appropriately.
[0044]
The image photographed by the photographing
[0045]
Referring to FIG. 3, height H1 of measurement object M can be obtained by the following equation (Equation 1).
[0046]
(Equation 1)
tanα = D1 / H1
In addition, D1 indicates whether the stripes of the first and second light patterns PP1 and PP2 move in the moving direction of the measurement target M depending on whether the measurement target M is irradiated with the first and second light patterns PP1 and PP2 (see FIG. 3 (the direction of the arrow X in FIG. 3) (a displacement amount corresponding to a phase shift between the first and second light patterns PP1 and PP2). This displacement amount D1 is obtained by the phase shift method. Α is the irradiation angle of the first and second light patterns PP1 and PP2 with respect to the normal direction of the surface of the table 4.
[0047]
From the above, in (Equation 1), for example, when α = 45 °, the measurable heights H1max and H2max corresponding to the respective periods P1 and P2 of the first and second light patterns PP1 and PP2 are equal to the light pattern P. It becomes equal to the periods P1 and P2, respectively. The reason is that the limit displacement amount D1 at which the adjacent stripes of the first and second light patterns PP1 and PP2 overlap each other is the period P1 and P2, respectively. This is because it is impossible to distinguish which stripe before PP2 corresponds to which stripe before the displacement. Specifically, when P1 = 1 mm, H1max = P1 and H1max = 1 mm. Similarly, when P2 = 8 mm, H2max = P2 and H2max = 8 mm.
[0048]
In this case, the resolution of the height information is such that the
[0049]
When the first light pattern PP1 is irradiated on the measurement target M as described above, the measurable height H1max corresponding thereto is small but the resolution is high. As a result, when the change amount of the actual height of the measuring object M is larger than the period P1 of the first light pattern PP1, that is, the measurable height H1max, the displacement amount D1 is also measurable height H1max as described above. , One stripe of the first light pattern PP1 is greatly displaced in the moving direction of the measuring object M beyond the period P1 and overlaps with the other stripes. As a result, an accurate height of the measurement target M cannot be obtained. On the other hand, when irradiating the measurement object M with the second light pattern PP2, the measurable height corresponding to the second light pattern PP2 is large, but the resolution is reduced instead. Therefore, it is possible to grasp the change in the overall appearance of the measurement object M, but it is not possible to obtain a highly accurate measurement result. Therefore, in the present embodiment, by combining the first and second light patterns PP1 and PP2, a change in the overall shape of the measurement target M is grasped using the second light pattern PP2, and the first light pattern PP1 is used. To improve measurement accuracy. The details will be described below.
[0050]
FIG. 4A is a diagram illustrating an example of a result obtained by measuring the height of one portion of the measurement target M using the appearance measurement device according to the embodiment of the present invention. In the figure, the horizontal axis represents the first height gradation H1hex and the second height gradation H2hex of the measurement object M corresponding to the periods P1 and P2 of the first and second light patterns PP1 and PP2, respectively. The first and second height gradations H1hex and H2hex are obtained from the displacement amount D1, respectively, and the intensity distribution of the light of one cycle (−π to π) of the first and second light patterns PP1 and PP2. Is converted into 256 values (0 to 255). The vertical axis is the height of the measurement target M.
[0051]
As shown in FIG. 4A, the height H12 of the measurement target M corresponding to the first light pattern PP1 repeatedly changes in the movement direction of the measurement target M between 0 and 1 mm. Further, the corresponding first height gradation H1hex also changes repeatedly between 0 and 255 with respect to the moving direction of the measuring object M. On the other hand, the height H13 of the measurement target M corresponding to the second light pattern PP2 changes between 0 and 8 mm with respect to the moving direction of the measurement target M. The corresponding second height gradation H2hex also changes between 0 and 255 with respect to the moving direction of the measuring object M.
[0052]
Although only one period P2 of the second light pattern PP2 is shown here, the height H13 of the measurement target M corresponding to the second light pattern PP2 is 0 to 0, similarly to the first light pattern PP1. During the interval of 8 mm, the direction of movement of the measuring object M changes repeatedly, and the corresponding second height gradation H2hex also changes between 0 and 255 in the direction of moving of the measuring object M. Here, a case where the height of the measurement object M monotonously increases is shown.
[0053]
FIG. 4B is an enlarged view of a range BB indicated by a broken line in FIG. The height H12 of the measurement object M corresponding to the first light pattern PP1 increases as the first height gradation H1hex increases. Then, when the first height gradation H1hex becomes 255, the height H12 of the measurement object M becomes 1 mm, and when it exceeds this, the first height gradation H1hex becomes 0 and the height of the measurement object M becomes higher. The height H12 also becomes 0 mm. However, the height H13 of the measuring object M corresponding to the second light pattern PP2 is the first light pattern PP because the measurable height H2max of the second light pattern PP2 is larger than the first light pattern PP1. It does not become 0 mm like PP1 but becomes the actual height of the measuring object M. Therefore, referring to the height H13 of the measurement object M corresponding to the second light pattern PP2, the height H12 of the measurement object M corresponding to the first light pattern PP1 in each cycle is accurately connected (phase connection). ), Whereby the accurate height of the measuring object M can be obtained. In order to obtain an accurate height of the measurement object M, it is important that accurate phase connection is performed. This will be described more specifically below.
[0054]
FIG. 5 shows first and second height gradations corresponding to the height of the measurement target M (for example, 0.01, 0.98, 0.99, 1.00, 1.01, and 7.99 mm). FIG. 9 is a diagram showing the calculation result of. As shown in the drawing, in the case of only the first height gradation H1hex, the first height gradation H1hex corresponding to the height H12 of the measurement object M of 0.01 mm and 1.01 mm is 2 and the distinction is made. Does not stick. However, when the result of the second height gradation H2hex is reflected in this result, the second height gradation H2hex corresponding to the height H12 of the measurement object M of 0.01 mm and 1.01 mm becomes 0 and 32, respectively. It is possible to distinguish them. In this manner, accurate phase connection (the height H12 of the measuring object M is changed from 1.00 mm to 1.01 mm instead of 0.01 mm) is performed. As a result, an accurate height of the measurement target M is obtained.
[0055]
In addition, since an error occurs during the measurement of the height of the measurement target M, the height H13 of the measurement target M is 0.99 mm, the first height gradation H1hex = 253, and the second height gradation H2hex = Even in the case of 32, the correct second height gradation H2hex can be obtained based on the first height gradation H1hex. Details will be described later. Thereby, accurate phase connection of the second height gradation H2hex is performed, and as a result, the accurate height of the measurement target M is obtained.
[0056]
Next, the above process will be described more specifically with reference to FIG. FIG. 6 is a flowchart for calculating the height of the appearance measuring device according to the embodiment of the present invention.
[0057]
The photographing
[0058]
Thereafter, it is determined whether or not H1hex> 5 (S6). If H1hex> 5 is not satisfied in step S6, it is determined whether the second height gradation H2hex is an even number (S7). In step S7, if the second height gradation H2hex is not an even number, it is replaced with H2hex = H2hex + 1 (S8), and if the second height gradation H2hex is an even number, it is processed as it is in step S12. You. If H1hex> 5 in step S6, it is determined whether H1hex <250 (S9).
[0059]
If the first height gradation H1hex <250 is not satisfied in step S9, it is determined whether or not the second height gradation H2hex is an odd number (S10). In step S10, if the second height gradation H2hex is not an odd number, it is replaced with the second height gradation H2hex = H2hex-1 (S11), and if the second height gradation H2hex is an odd number, it is left as it is. It is processed in step S12 as a number. If the first height gradation H1hex <250 in step S9, an H2hex having higher accuracy in the first height gradation H1hex and the second height gradation H2hex is generated in step S12. . According to the above steps S6 to S11, for example, an error occurs during the measurement of the height of the measurement target M described above, so that the height H13 of the measurement target M is 0.99 mm and the first height gradation is set. Even when H1hex = 253 and the second height gradation H2hex = 32, since the first height gradation H1hex = 253 (S9) and the second height gradation H2hex is an even number (S10). , The second height gradation H2hex = H2hex-1 (S11), and a correct second height gradation H2hex = 31 (see FIG. 5) can be derived.
[0060]
In step S12, the first height gradation H1hex (8 bits) and the second height gradation H2hex (8 bits) are combined to obtain a second height gradation H2hex (11 bits). In this case, since the same term of the first height gradation H1hex (8 bits) and the second height gradation H2hex (8 bits) has 5 bits, the upper 3 bits of the second height gradation H2hex are the first height. Is different from the gradation H1hex. Thereby, the first height gradation H1hex (8 bits) and the second height gradation H2hex (3 bits) are combined, and the second height gradation H2hex becomes 11 bits. Then, the height of the measurement target M is calculated based on the height gradation H2hex (11 bits) obtained in step S12. As a result, highly accurate height information can be obtained as compared with the height information of the measurement target M based on the 8-bit information. Here, the case where the relationship between the different periods of the light pattern P is P2 = P1 × 8 is shown. However, when P2 = P1 × 128, the first height gradation H1hex (8 bits) and the second height Since the same term of the gradation H2hex (8 bits) is 1 bit, when these are combined, a 15-bit second height gradation H2hex is obtained.
[0061]
Steps S2 and S4 constitute phase calculation means, and steps S3, S5 and S6 to S11 constitute phase connection means. The arithmetic processing table 30a constitutes a first arithmetic processing table.
[0062]
Further, the phase connection means may be replaced with a second arithmetic processing table. This makes it possible to improve the operation processing speed.
[0063]
In addition, since there is a step of determining whether the second height gradation is an even number or an odd number in steps S6 to S11 described above, the relationship between the periods P1 and P2 is such that one period is an even multiple of the other period. And Therefore, when the information amount is 8 bits (256), the period P2 is adjusted between P2 = P1 × 2 and P2 = P1 × 128. Of course, if the amount of information is not 8 bits, it is set based on the amount of information. For example, when the information amount is 4 bits (16 pieces), adjustment is performed between P2 = P1 × 2 and P2 = P1 × 8.
[0064]
Further, the
[0065]
【The invention's effect】
ADVANTAGE OF THE INVENTION According to this invention, a structure is simple and highly accurate measurement can be performed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an appearance measuring device according to an embodiment of the present invention.
FIG. 2 is a diagram showing an example of a light pattern irradiated on a table from a light pattern irradiation device.
FIG. 3 is a side view schematically showing a state in which a light pattern is irradiated from a light pattern irradiation device onto a measurement object.
FIG. 4 is a diagram illustrating an example of a result obtained by measuring the height of a measurement target using the appearance measurement device according to the embodiment of the present invention.
FIG. 5 is a diagram showing calculation results of first and second height gradations corresponding to the height of a measurement target.
FIG. 6 is a flowchart illustrating a process in which the appearance measuring device according to the embodiment of the present invention calculates the height of the measurement target object.
[Explanation of symbols]
1 Light pattern irradiation device
2 Shooting device
3 arithmetic processing unit
4 tables
5 Drive mechanism
6 motor
7 Motor drive
8 count comparison device
9 Positioning device
9a Position sensor
M Object to be measured
P light pattern
T displacement device
30a arithmetic processing table
Claims (9)
上記光パターン照射手段からの光パターンが照射された上記計測対象物の画像を撮影する撮影手段と、
上記計測対象物と上記光パターンとの相対位置関係を変化させる変位手段とを備えており、
上記撮影手段は上記光パターンの周期と異なる周期の間隔で配置された、上記相対位置関係を変化させる方向と交差する方向に延びる少なくとも3つの撮影範囲を設定することが可能なように構成されており、
この撮影手段によって撮影された少なくとも3つの、上記撮影範囲に対応する画像上の光の強度分布に基づいて位相シフト法により上記計測対象物の各部位の高さ情報を得るべく演算する演算手段とを備えてなる、外観計測装置。Light pattern irradiation means for irradiating the surface of the measurement target with a striped light pattern in which the intensity of light changes periodically,
A photographing means for photographing an image of the measurement object irradiated with the light pattern from the light pattern irradiation means,
Displacement means for changing the relative positional relationship between the measurement object and the light pattern,
The photographing means is configured to be able to set at least three photographing ranges disposed at intervals of a cycle different from the cycle of the light pattern and extending in a direction intersecting with the direction in which the relative positional relationship is changed. Yes,
Calculating means for calculating height information of each part of the measurement object by a phase shift method based on at least three light intensity distributions on an image corresponding to the shooting range, shot by the shooting means; and An external appearance measuring device comprising:
上記撮影手段によって撮影された画像に基づいて上記複数の周期の光パターンの位相を計算する位相計算手段と、
該位相計算手段によって計算された各位相を接続する位相接続手段とを備えており、
該位相接続手段が、一の周期の光パターンの各位相を参照しながら他の周期の光パターンの各位相を接続するように構成されてなる、請求項5記載の外観計測装置。The arithmetic means is
Phase calculation means for calculating the phase of the light pattern of the plurality of cycles based on the image taken by the imaging means,
Phase connection means for connecting each phase calculated by the phase calculation means,
6. The external appearance measuring device according to claim 5, wherein the phase connection means is configured to connect each phase of the light pattern of another cycle while referring to each phase of the light pattern of one cycle.
該判定手段が、予め設定された基準となる上記計測対象物の各部の高さ情報と、検査対象となる計測対象物を撮影して得られた画像から演算された該計測対象物の各部の高さ情報との相違に基づいて計測対象物の良否を判定するように構成されてなる、外観計測装置。The calculation means further includes a determination means for determining the quality of the measurement target based on the height information of the measurement target calculated by the calculation means,
The determination means is a preset reference height information of each part of the measurement object, and the height of each part of the measurement object calculated from an image obtained by photographing the measurement object to be inspected An appearance measurement device configured to determine the quality of a measurement target based on a difference from height information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003012221A JP4289893B2 (en) | 2003-01-21 | 2003-01-21 | Appearance measuring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003012221A JP4289893B2 (en) | 2003-01-21 | 2003-01-21 | Appearance measuring device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004226160A true JP2004226160A (en) | 2004-08-12 |
JP4289893B2 JP4289893B2 (en) | 2009-07-01 |
Family
ID=32900899
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003012221A Expired - Lifetime JP4289893B2 (en) | 2003-01-21 | 2003-01-21 | Appearance measuring device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4289893B2 (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007232474A (en) * | 2006-02-28 | 2007-09-13 | Takaoka Electric Mfg Co Ltd | Grid-pattern projection type surface profile measuring apparatus |
JP2008145209A (en) * | 2006-12-08 | 2008-06-26 | Nec Engineering Ltd | Device for measuring three-dimensional shape, and method for measuring three-dimensional shape |
JP2008190990A (en) * | 2007-02-05 | 2008-08-21 | Nec Engineering Ltd | Apparatus and method for measuring three-dimensional shape |
JP2008261679A (en) * | 2007-04-11 | 2008-10-30 | Nikke Kikai Seisakusho:Kk | Shape inspection device |
JP2009031150A (en) * | 2007-07-27 | 2009-02-12 | Omron Corp | Three-dimensional shape measuring device, three-dimensional shape measurement method, three-dimensional shape measurement program, and record medium |
JP2010151842A (en) * | 2010-03-26 | 2010-07-08 | Nec Engineering Ltd | Three-dimensional shape measuring instrument and three-dimensional shape measurement method |
JP2010175554A (en) * | 2010-03-26 | 2010-08-12 | Nec Engineering Ltd | Device and method for measuring three-dimensional shape |
JP2011085411A (en) * | 2009-10-13 | 2011-04-28 | Nippon Steel Corp | Device and method for measuring shape, and program |
JP2013104858A (en) * | 2011-11-17 | 2013-05-30 | Ckd Corp | Three-dimensional measuring device |
JP2014508938A (en) * | 2011-03-10 | 2014-04-10 | ミルテク カンパニー リミテッド | Vision inspection equipment using multiple grid patterns |
JP2014534448A (en) * | 2011-11-10 | 2014-12-18 | ケアストリーム ヘルス インク | 3D oral measurement using optical multiline method |
JP2014534846A (en) * | 2011-10-21 | 2014-12-25 | コーニンクレッカ フィリップス エヌ ヴェ | Method and apparatus for determining anatomic characteristics of a patient |
CN105300316A (en) * | 2015-09-22 | 2016-02-03 | 大连理工大学 | Light stripe center rapid extraction method based on gray centroid method |
CN107429992A (en) * | 2015-05-11 | 2017-12-01 | Ckd株式会社 | Three-dimensional measuring apparatus and method for three-dimensional measurement |
US10223606B2 (en) | 2014-08-28 | 2019-03-05 | Carestream Dental Technology Topco Limited | 3-D intraoral measurements using optical multiline method |
-
2003
- 2003-01-21 JP JP2003012221A patent/JP4289893B2/en not_active Expired - Lifetime
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007232474A (en) * | 2006-02-28 | 2007-09-13 | Takaoka Electric Mfg Co Ltd | Grid-pattern projection type surface profile measuring apparatus |
JP4516949B2 (en) * | 2006-12-08 | 2010-08-04 | Necエンジニアリング株式会社 | Three-dimensional shape measuring apparatus and three-dimensional shape measuring method |
JP2008145209A (en) * | 2006-12-08 | 2008-06-26 | Nec Engineering Ltd | Device for measuring three-dimensional shape, and method for measuring three-dimensional shape |
JP2008190990A (en) * | 2007-02-05 | 2008-08-21 | Nec Engineering Ltd | Apparatus and method for measuring three-dimensional shape |
JP2008261679A (en) * | 2007-04-11 | 2008-10-30 | Nikke Kikai Seisakusho:Kk | Shape inspection device |
JP2009031150A (en) * | 2007-07-27 | 2009-02-12 | Omron Corp | Three-dimensional shape measuring device, three-dimensional shape measurement method, three-dimensional shape measurement program, and record medium |
JP2011085411A (en) * | 2009-10-13 | 2011-04-28 | Nippon Steel Corp | Device and method for measuring shape, and program |
JP2010175554A (en) * | 2010-03-26 | 2010-08-12 | Nec Engineering Ltd | Device and method for measuring three-dimensional shape |
JP2010151842A (en) * | 2010-03-26 | 2010-07-08 | Nec Engineering Ltd | Three-dimensional shape measuring instrument and three-dimensional shape measurement method |
JP2014508938A (en) * | 2011-03-10 | 2014-04-10 | ミルテク カンパニー リミテッド | Vision inspection equipment using multiple grid patterns |
JP2014534846A (en) * | 2011-10-21 | 2014-12-25 | コーニンクレッカ フィリップス エヌ ヴェ | Method and apparatus for determining anatomic characteristics of a patient |
JP2014534448A (en) * | 2011-11-10 | 2014-12-18 | ケアストリーム ヘルス インク | 3D oral measurement using optical multiline method |
JP2013104858A (en) * | 2011-11-17 | 2013-05-30 | Ckd Corp | Three-dimensional measuring device |
US10223606B2 (en) | 2014-08-28 | 2019-03-05 | Carestream Dental Technology Topco Limited | 3-D intraoral measurements using optical multiline method |
CN107429992A (en) * | 2015-05-11 | 2017-12-01 | Ckd株式会社 | Three-dimensional measuring apparatus and method for three-dimensional measurement |
CN107429992B (en) * | 2015-05-11 | 2019-09-03 | Ckd株式会社 | Three-dimensional measuring apparatus and method for three-dimensional measurement |
CN105300316A (en) * | 2015-09-22 | 2016-02-03 | 大连理工大学 | Light stripe center rapid extraction method based on gray centroid method |
CN105300316B (en) * | 2015-09-22 | 2017-10-13 | 大连理工大学 | Optical losses rapid extracting method based on grey scale centre of gravity method |
Also Published As
Publication number | Publication date |
---|---|
JP4289893B2 (en) | 2009-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4289893B2 (en) | Appearance measuring device | |
US7286246B2 (en) | Method and apparatus for non-contact three-dimensional surface measurement | |
US7259871B2 (en) | Apparatus and method for rapid and precise scanning of three-dimensional occlusal profile of dental cast | |
KR101155816B1 (en) | Image processing device and image processing method for performing three dimensional measurements | |
Land II et al. | In-situ metrology system for laser powder bed fusion additive process | |
CN101782375B (en) | Three-dimensional measuring device | |
EP2588836B1 (en) | Three-dimensional measurement apparatus, three-dimensional measurement method, and storage medium | |
CN105358092B (en) | The automatic acquisition based on video for dental surface imaging equipment | |
US7525669B1 (en) | High-speed, scanning phase-shifting profilometry using 2D CMOS sensor | |
EP1946376B1 (en) | Apparatus for and method of measuring image | |
JP4255865B2 (en) | Non-contact three-dimensional shape measuring method and apparatus | |
JP6170281B2 (en) | Three-dimensional measuring device, control method for three-dimensional measuring device, and program | |
WO1997028421A1 (en) | Scanning phase measuring method and system for an object at a vision station | |
JP2002257528A (en) | Three-dimensional shape measuring device by phase shift method | |
JP5138968B2 (en) | Pass / fail judgment device | |
WO2020065850A1 (en) | Three-dimensional measuring device | |
JP5611022B2 (en) | Three-dimensional measuring apparatus and three-dimensional measuring method | |
KR101854366B1 (en) | 3D-image measuring method | |
JP3507865B2 (en) | Method and apparatus for real-time shape measurement by CCD camera using DMD | |
KR100394208B1 (en) | Apparatus and method for measuring human body | |
JP2008145139A (en) | Shape measuring device | |
JP2003121115A (en) | Visual inspection apparatus and method therefor | |
KR101465996B1 (en) | Method for measurement of high speed 3d shape using selective long period | |
JP2016001131A (en) | Measurement device | |
JP5482411B2 (en) | Three-dimensional shape measuring device, inspection device, and three-dimensional shape measuring adjustment method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20051221 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071010 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071023 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071221 |
|
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: 20090310 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090331 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4289893 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120410 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130410 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140410 Year of fee payment: 5 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |