JP6736383B2 - measuring device - Google Patents

measuring device Download PDF

Info

Publication number
JP6736383B2
JP6736383B2 JP2016127056A JP2016127056A JP6736383B2 JP 6736383 B2 JP6736383 B2 JP 6736383B2 JP 2016127056 A JP2016127056 A JP 2016127056A JP 2016127056 A JP2016127056 A JP 2016127056A JP 6736383 B2 JP6736383 B2 JP 6736383B2
Authority
JP
Japan
Prior art keywords
light
measurement
stage
light receiving
unit
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
Application number
JP2016127056A
Other languages
Japanese (ja)
Other versions
JP2018004281A (en
Inventor
政記 藤原
政記 藤原
中務 貴司
貴司 中務
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Keyence Corp
Original Assignee
Keyence Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Keyence Corp filed Critical Keyence Corp
Priority to JP2016127056A priority Critical patent/JP6736383B2/en
Publication of JP2018004281A publication Critical patent/JP2018004281A/en
Application granted granted Critical
Publication of JP6736383B2 publication Critical patent/JP6736383B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Description

本発明は、測定対象物の測定を行う測定装置に関する。 The present invention relates to a measuring device that measures an object to be measured.

三角測距方式の測定装置では、測定対象物の表面に光が照射され、その反射光が1次元または2次元に配列された画素を有する受光素子により受光される。受光素子により得られる受光量分布のピーク位置に基づいて、測定対象物の表面の高さを計測することができる。 In the triangulation type measuring apparatus, the surface of an object to be measured is irradiated with light, and the reflected light is received by a light receiving element having pixels arranged one-dimensionally or two-dimensionally. The height of the surface of the measuring object can be measured based on the peak position of the received light amount distribution obtained by the light receiving element.

非特許文献1においては、符号化された光と位相シフト法とを組み合わせた三角測距方式の形状測定が提案されている。また、非特許文献2においては、符号化された光とストライプ状の光とを組み合わせた三角測距方式の形状測定が提案されている。これらの方式においては、測定対象物の形状測定の精度を向上させることができる。 Non-Patent Document 1 proposes triangulation type shape measurement in which coded light and a phase shift method are combined. Also, Non-Patent Document 2 proposes shape measurement by a triangulation method that combines coded light and light in a stripe shape. In these methods, the accuracy of shape measurement of the measurement object can be improved.

Toni F. Schenk, "Remote Sensing and Reconstruction for Three-Dimensional Objects and Scenes", Proceedings of SPIE, Volume 2572, pp. 1-9 (1995)Toni F. Schenk, "Remote Sensing and Reconstruction for Three-Dimensional Objects and Scenes", Proceedings of SPIE, Volume 2572, pp. 1-9 (1995) Sabry F. El-Hakim and Armin Gruen, "Videometrics and Optical Methods for 3D Shape Measurement", Proceedings of SPIE, Volume 4309, pp. 219-231 (2001)Sabry F. El-Hakim and Armin Gruen, "Videometrics and Optical Methods for 3D Shape Measurement", Proceedings of SPIE, Volume 4309, pp. 219-231 (2001)

上記のような形状測定によって取得されるデータ(以下、測定データと呼ぶ。)に基づいて、測定対象物の所望の箇所の寸法等を算出することができる。例えば、測定データに基づいて、測定対象物の立体形状を表す画像が表示される。使用者が、表示された画像上で計測箇所を指定し、指定された箇所の計測値が測定データから算出される。 Based on the data obtained by the shape measurement as described above (hereinafter, referred to as measurement data), it is possible to calculate the size and the like of a desired portion of the measurement target. For example, an image showing the three-dimensional shape of the measurement target is displayed based on the measurement data. The user designates the measurement location on the displayed image, and the measurement value at the designated location is calculated from the measurement data.

計測箇所によっては、測定対象物の全体の測定データは必要でなく、特定の箇所の測定データのみ必要である場合がある。特定の箇所の測定データのみを生成する場合、受光素子に対する測定対象物の向き等を適切に調整する必要がある。しかしながら、そのような調整を行うことは容易でなく、手間および時間が必要になる。 Depending on the measurement location, the measurement data of the entire measurement object may not be needed, and only the measurement data of a specific location may be needed. When only the measurement data of a specific location is generated, it is necessary to properly adjust the orientation of the measurement object with respect to the light receiving element. However, it is not easy to make such an adjustment, and it requires labor and time.

本発明の目的は、不慣れな使用者であっても計測箇所の計測値を容易に取得することが可能な測定装置を提供することである。 An object of the present invention is to provide a measuring device that enables even an inexperienced user to easily acquire a measurement value at a measurement location.

(1)本発明に係る測定装置は、ステージ保持部と、上下方向の回転軸を中心に回転可能にステージ保持部により保持され、回転軸に対して非垂直でかつ測定対象物が載置される傾斜載置面を有するステージと、ステージに載置される測定対象物にパターンを有する測定光を照射する投光部と、測定対象物により反射された測定光を受光して受光量を表す受光信号を出力する受光部とを含むヘッド部と、ヘッド部とステージ保持部とを連結することにより、投光部から測定対象物に対して測定光が斜め下方に導かれ、かつ受光部の光軸が測定対象物に向かって斜め下方に延びるとともに、投光部と受光部とステージとの位置関係が定まるように、ヘッド部とステージ保持部とを固定的に連結する連結部と、ステージの回転を制御する回転制御手段と、受光部により出力される受光信号に基づいて、測定対象物の立体形状を表す点群データを生成する点群データ生成手段と、点群データ生成手段により生成された点群データに基づいて、計測の基準となる基準面を設定する基準面設定手段と、測定対象物の計測すべき箇所の指定を受け付け、点群データ生成手段により生成された点群データに基づいて、指定された箇所の計測値を基準面設定手段により設定された基準面を基準として算出する計測手段とを備え、受光部は、光軸に対して垂直な撮像面を有し、回転制御手段は、指示に基づいて傾斜載置面が受光部の撮像面と正対するように、ステージを予め記憶された第1の回転位置に位置させ、投光部は、ステージが第1の回転位置に位置する状態で、ステージに載置された測定対象物に二次元状に測定光を照射し、点群データ生成手段は、ステージが第1の回転位置に位置する状態で、受光部から出力される受光信号に基づいて二次元状の点群データを生成する。 (1) The measuring apparatus according to the present invention is held by the stage holding unit and the stage holding unit so as to be rotatable about a vertical rotation axis, and is non-perpendicular to the rotation axis, and an object to be measured is placed. Having a tilted mounting surface, a light projecting unit for irradiating the measuring object mounted on the stage with a measuring light having a pattern, and receiving the measuring light reflected by the measuring object to represent the received light amount. By connecting the head unit including the light receiving unit that outputs a light receiving signal, and the head unit and the stage holding unit , the measuring light is guided obliquely downward from the light projecting unit to the measurement target, and The optical axis extends obliquely downward toward the object to be measured, and a connecting portion that fixedly connects the head portion and the stage holding portion so that the positional relationship among the light projecting portion, the light receiving portion, and the stage is determined , and the stage. Generated by the rotation control means for controlling the rotation of the object, the point cloud data generating means for generating the point cloud data representing the three-dimensional shape of the measurement object based on the light receiving signal output by the light receiving section, and the point cloud data generating means. Based on the obtained point cloud data, a reference plane setting unit that sets a reference plane that serves as a measurement reference, and a point cloud data generated by the point cloud data generation unit that accepts designation of a measurement target portion of the measurement target. On the basis of the measurement means for calculating the measurement value of the designated portion with the reference plane set by the reference plane setting means as a reference, the light receiving section has an imaging surface perpendicular to the optical axis, Based on the instruction, the rotation control unit positions the stage at the first rotation position stored in advance so that the inclined mounting surface directly faces the image pickup surface of the light receiving unit, and the light projecting unit sets the stage to the first rotation position . The measuring object placed on the stage is irradiated with the measuring light in a two-dimensional manner in a state where the stage is located at the rotation position, and the point cloud data generating means is arranged such that the stage is located at the first rotation position. two dimensions of the point group data based on the light reception signal output from that generates a.

この測定装置においては、投光部および受光部を含むヘッド部がステージ保持部と固定的に連結される。ステージ保持部により保持されたステージの傾斜載置面上に測定対象物が載置され、パターンを有する測定光が投光部から測定対象物に照射される。測定対象物により反射された測定光が受光部により受光され、受光量を表す受光信号が出力される。受光信号に基づいて測定対象物の立体形状を表す点群データが生成される。 In this measuring device, the head unit including the light projecting unit and the light receiving unit is fixedly connected to the stage holding unit. The measurement target is placed on the inclined mounting surface of the stage held by the stage holding unit, and the measurement light having a pattern is applied to the measurement target from the light projecting unit. The measurement light reflected by the measurement object is received by the light receiving unit, and a light reception signal indicating the amount of received light is output. Point cloud data representing the three-dimensional shape of the measurement target is generated based on the light reception signal.

この場合、投光部、受光部およびステージが一体的に設けられているので、使用者は、これらの配置を調整する必要がなく、ステージ上に測定対象物を載置することで、測定対象物の点群データを得ることができる。また、ステージの回転軸が受光部の光軸と平行でないので、ステージが回転されることにより、受光部に向けられる測定対象物の箇所が変わる。そのため、ステージの回転位置が異なる状態で測定対象物に測定光が照射されることにより、測定対象物の異なる箇所での反射光が受光部によって受光される。したがって、受光部から出力される受光信号に基づいて、測定対象物の広い範囲の点群データを容易に生成することができる。 In this case, since the light projecting unit, the light receiving unit, and the stage are integrally provided, the user does not need to adjust their arrangement, and the measurement target is placed on the stage to measure the measurement target. Object point cloud data can be obtained. Further, since the rotation axis of the stage is not parallel to the optical axis of the light receiving section, the position of the measurement target pointed at the light receiving section changes when the stage is rotated. Therefore, the measurement light is irradiated to the measurement target in a state where the rotation position of the stage is different, and thus the reflected light at the different position of the measurement target is received by the light receiving unit. Therefore, it is possible to easily generate the point cloud data of a wide range of the measurement object based on the light reception signal output from the light receiving unit.

また、生成された点群データに基づいて計測の基準となる基準面が設定され、点群データに基づいて、指定された箇所の計測値が基準面を基準として算出される。この場合、基準面が設定されることによって、点群データから計測値を算出することが容易となる。 Further, a reference plane that is a reference for measurement is set based on the generated point cloud data, and a measurement value at a designated location is calculated based on the reference plane based on the point cloud data. In this case, setting the reference plane facilitates calculation of the measurement value from the point cloud data.

さらに、ステージが第1の回転位置に位置されることにより、傾斜載置面が受光部の撮像面と正対する。そのため、水平面上では上方に向けられる測定対象物の箇所が、傾斜載置面上では受光部の撮像面に向けられる。それにより、受光信号に基づいて、水平面上では上方に向けられる測定対象物の箇所の点群データを生成することができる。したがって、必要な箇所の点群データを効率良く生成することができる。また、生成された点群データに基づいて、測定対象物を平面図的に表すことが可能となる。そのため、操作に不慣れな使用者であっても、平面図的に表される測定対象物の箇所において基準面を容易に設定することができ、かつ計測箇所の指定を容易に行うことが可能となる。したがって、計測箇所の計測値を容易に取得することができる。 Further, since the stage is located at the first rotation position, the inclined mounting surface directly faces the image pickup surface of the light receiving unit. Therefore, the portion of the measurement object that is directed upward on the horizontal plane is directed to the imaging surface of the light receiving unit on the inclined mounting surface. Thereby, it is possible to generate the point cloud data of the location of the measurement object that is directed upward on the horizontal plane based on the light reception signal. Therefore, it is possible to efficiently generate the point cloud data of a required location. In addition, it becomes possible to represent the measurement object in a plan view based on the generated point cloud data. Therefore, even a user who is unfamiliar with the operation can easily set the reference plane at the location of the measurement target represented in a plan view and easily specify the measurement location. Become. Therefore, it is possible to easily acquire the measurement value at the measurement location.

(2)受光部は、単眼カメラであってもよい。この場合、ステレオカメラのように視点が複数にならないので、測定対象物に対して撮像面の向きを容易にかつ正確に設定することができる。それにより、測定対象物の所望の箇所の点群データを容易に生成することができる。 (2) The light receiving unit may be a monocular camera. In this case, unlike the stereo camera, the viewpoints are not plural, so that the orientation of the imaging surface can be easily and accurately set with respect to the measurement object. This makes it possible to easily generate the point cloud data of a desired portion of the measurement target.

(3)測定装置は、点群データ生成手段により生成された点群データに基づいて、基準面設定手段により設定された基準面に対して垂直に測定対象物を見た画像を表す画像データを生成する画像データ生成手段をさらに備えてもよい。この場合、生成された画像データに基づいて、基準面に対して垂直に測定対象物を見た画像が表示されることにより、使用者は平面図を用いる場合と同様に計測箇所を指定することができ、計測箇所の指定が容易となる。 (3) The measuring device, based on the point cloud data generated by the point cloud data generating means, generates image data representing an image of the measurement object viewed perpendicularly to the reference plane set by the reference plane setting means. The image data generating means for generating may be further provided. In this case, based on the generated image data, an image of the measurement object is displayed perpendicular to the reference plane, so that the user can specify the measurement location as in the case of using the plan view. This makes it easy to specify measurement points.

(4)ステージは、回転軸と直交する非傾斜載置面をさらに有してもよい。この場合、投光部から測定対象物に斜め下方に測定光が導かれ、かつ測定対象物に向かって斜め下方に延びる光軸を有する受光部によってその反射光が受光されるので、非傾斜載置面上に測定対象物が載置されることにより、測定対象物の広い範囲の点群データを効率良く生成することができる。また、ステージを回転させることにより、測定対象物のより広い範囲の点群データを容易に生成することができる。 (4) The stage may further have a non-tilted mounting surface orthogonal to the rotation axis. In this case, since the measurement light is guided obliquely downward from the light projecting unit to the measurement target and the reflected light is received by the light receiving unit having an optical axis extending obliquely downward toward the measurement target, the non-tilted mounting is performed. By placing the measurement object on the placement surface, it is possible to efficiently generate point cloud data in a wide range of the measurement object. Further, by rotating the stage, it is possible to easily generate point cloud data in a wider range of the measurement target.

(5)ステージは、非傾斜載置面を有し、ステージ保持部により保持されるステージプレートと、傾斜載置面を有し、ステージプレートに対して着脱可能な傾斜部とを含んでもよい。この場合、ステージプレートに対する傾斜部の着脱によって非傾斜載置面および傾斜載置面を選択的に使用することができ、かつその切替を容易に行うことができる。 (5) The stage may include a stage plate that has a non-tilted mounting surface and is held by the stage holding portion, and a tilted portion that has the tilted mounting surface and is attachable to and detachable from the stage plate. In this case, the non-tilted mounting surface and the inclined mounting surface can be selectively used by attaching/detaching the inclined portion to/from the stage plate, and switching between them can be easily performed.

(6)ステージは、非傾斜載置面および傾斜載置面を選択的に形成するように、回転軸に垂直な面に対する傾斜角度を調整可能に設けられたステージプレートを含んでもよい。この場合、ステージプレートの傾斜角度の調整によって非傾斜載置面および傾斜載置面を選択的に使用することができ、かつその切替を容易に行うことができる。 (6) The stage may include a stage plate that is provided so that the tilt angle with respect to the plane perpendicular to the rotation axis can be adjusted so as to selectively form the non-tilted mounting surface and the tilted mounting surface. In this case, the non-tilted mounting surface and the inclined mounting surface can be selectively used by adjusting the tilt angle of the stage plate, and the switching between them can be easily performed.

(7)ステージが第1の回転位置にある状態で、受光部の光軸が傾斜載置面に直交してもよい。この場合、水平面上では鉛直上方に向けられる測定対象物の箇所の点群データを生成することができる。そのため、生成された点群データに基づいて、測定対象物をより平面図的に表すことができる。 (7) The optical axis of the light receiving unit may be orthogonal to the inclined mounting surface in the state where the stage is in the first rotation position. In this case, it is possible to generate the point cloud data of the location of the measurement target that is oriented vertically upward on the horizontal plane. Therefore, the measurement target can be represented in a more plan view based on the generated point cloud data.

(8)回転制御手段は、指示に基づいてステージを予め記憶された第1の回転位置に位置させる第1の制御と、設定に基づいてステージを第2の回転位置、および第2の回転位置とは異なる第3の回転位置に位置させる第2の制御とを実行可能であり、点群データ生成手段は、指示に基づき回転制御手段が第1の制御を実行する場合、ステージが第1の回転位置に位置する状態で受光部により出力される受光信号に基づいて点群データとして第1の立体形状データを生成し、設定に基づき回転制御手段が第2の制御を実行する場合、ステージが第2の回転位置に位置する状態で受光部により出力される受光信号に基づいて点群データとして第2の立体形状データを生成し、ステージが第3の回転位置に位置する状態で受光部により出力される受光信号に基づいて点群データとして第3の立体形状データを生成し、第2および第3の立体形状データを合成してもよい。 (8) The rotation control means includes first control for positioning the stage at a first rotation position stored in advance based on the instruction, and second rotation position and second rotation position for the stage based on the setting. It is possible to execute a second control for positioning the third rotation position different from that, and when the rotation control means executes the first control based on the instruction, the point cloud data generating means causes the stage to move to the first rotation position. When the first stereoscopic shape data is generated as point cloud data based on the light reception signal output by the light receiving unit in the state of being located at the rotation position, and the rotation control means executes the second control based on the setting, the stage is Second stereoscopic shape data is generated as point group data based on the light reception signal output by the light receiving unit in the state of being positioned at the second rotation position, and the light receiving unit is caused to generate by the light receiving unit while the stage is at the third rotation position. Third solid shape data may be generated as point cloud data based on the output light receiving signal, and the second and third solid shape data may be combined.

(9)回転制御手段は、ステージを第1の回転位置と異なる準正対位置に位置させ、点群データ生成手段は、ステージが第1の回転位置に位置する状態で受光部により出力される受光信号に基づいて点群データとして第1の立体形状データを生成し、ステージが準正対位置に位置する状態で受光部により出力される受光信号に基づいて点群データとして第2の立体形状データを生成し、第1および第2の立体形状データを合成してもよい。
(10)投光部は、ステージが第1の回転位置に位置する状態で、ステージに載置される測定対象物に測定光を複数回照射することにより二次元状に測定光を照射してもよい。
(9) The rotation control means positions the stage in a quasi-facing position different from the first rotation position, and the point cloud data generation means outputs the light by the light receiving unit in a state where the stage is in the first rotation position. The first solid shape data is generated as point cloud data based on the light reception signal, and the second solid shape is generated as point cloud data based on the light reception signal output by the light receiving unit in a state where the stage is located at the quasi-facing position. Data may be generated and the first and second solid shape data may be combined.
(10) The light projecting unit irradiates the measurement object placed on the stage with the measurement light a plurality of times by irradiating the measurement light in a two-dimensional manner with the stage positioned at the first rotation position. Good.

この場合、ステージの回転位置が異なることによって、測定対象物の異なる箇所での反射光が受光部によって受光される。したがって、受光部により出力される受光信号に基づいて、測定対象物の広い範囲の点群データを生成することができる。なお、ステージの回転位置が変化されつつ3つ以上の点群データが生成され、それらの3つ以上の点群データが合成されてもよい。生成される点群データの数が多いほど、測定対象物の各部の立体形状が明確になり、正確な計測値を取得することができる。 In this case, due to the different rotation positions of the stage, the light receiving section receives the reflected light at different points on the measurement target. Therefore, it is possible to generate the point cloud data of a wide range of the measurement object based on the light reception signal output by the light receiving unit. It should be noted that three or more point cloud data may be generated while the rotational position of the stage is being changed, and these three or more point cloud data may be combined. The larger the number of generated point cloud data, the clearer the three-dimensional shape of each part of the measurement object, and the more accurate the measured value can be acquired.

本発明によれば、測定対象物の所望の箇所の計測値を容易に取得することができる。 According to the present invention, it is possible to easily acquire the measurement value of a desired portion of the measurement object.

本発明の一実施の形態に係る測定装置の構成を示すブロック図である。It is a block diagram which shows the structure of the measuring device which concerns on one embodiment of this invention. 図1の測定装置の測定部の構成を示す模式図である。It is a schematic diagram which shows the structure of the measurement part of the measuring device of FIG. 図1のCPUにより実現される機能を示す機能ブロック図である。2 is a functional block diagram showing functions realized by the CPU of FIG. 1. FIG. 測定部の模式的な外観斜視図である。It is a typical external appearance perspective view of a measurement part. 受光部とステージとの位置関係について説明するための図である。It is a figure for demonstrating the positional relationship of a light-receiving part and a stage. ステージの具体的な構成例について説明するための図である。It is a figure for explaining a concrete example of composition of a stage. 三角測距方式の原理を説明するための図である。It is a figure for explaining the principle of the triangulation method. 測定光の第1のパターンを説明するための図である。It is a figure for demonstrating the 1st pattern of measurement light. 測定光の第2のパターンを説明するための図である。It is a figure for demonstrating the 2nd pattern of measurement light. 測定光の第3のパターンを説明するための図である。It is a figure for demonstrating the 3rd pattern of measurement light. 測定対象物の特定の部分における画像が撮影されたタイミングと受光された光の強度との関係を示す図である。It is a figure which shows the relationship of the timing which imaged the image in the specific part of a measuring object, and the intensity|strength of the light received. 測定光の第4のパターンを説明するための図である。It is a figure for demonstrating the 4th pattern of measurement light. 複数の方向から測定対象物を撮像することにより複数の立体形状データを生成する例を説明するための図である。It is a figure for demonstrating the example which produces|generates several solid shape data by imaging a measurement target object from several directions. 形状測定の準備の手順を示すフローチャートである。It is a flowchart which shows the procedure of preparation for shape measurement. 形状測定の準備の手順における第1の調整の詳細を示すフローチャートである。It is a flow chart which shows the details of the 1st adjustment in the procedure of preparation for shape measurement. 形状測定の準備の手順における第1の調整の詳細を示すフローチャートである。It is a flow chart which shows the details of the 1st adjustment in the procedure of preparation for shape measurement. 形状測定の準備の手順における第2の調整の詳細を示すフローチャートである。It is a flow chart which shows the details of the 2nd adjustment in the procedure of preparation for shape measurement. 形状測定処理の概要を示すフローチャートである。It is a flow chart which shows an outline of shape measurement processing. 通常状態での形状測定処理と傾斜正対状態での形状測定処理との違いについて説明するための図である。It is a figure for demonstrating the difference between the shape measurement process in a normal state, and the shape measurement process in a slope facing state. 測定対象物の一例を示す図である。It is a figure which shows an example of a measuring object. 受光部により撮像される測定対象物を示す図である。It is a figure which shows the measuring object imaged by the light-receiving part. 基準面の設定時におけるCPUの動作例を示すフローチャートである。7 is a flowchart showing an operation example of a CPU when setting a reference plane. 基準面画像の例を示す図である。It is a figure which shows the example of a reference plane image. 計測条件の設定例について説明するための図である。It is a figure for demonstrating the example of setting of measurement conditions. 基準面画像の他の例を示す図である。It is a figure which shows the other example of a reference plane image. プロファイルを取得すべき箇所の指定について説明するための図である。It is a figure for demonstrating specification of the part which should acquire a profile. プロファイル画像の例を示す図である。It is a figure which shows the example of a profile image. ステージの回転位置の変化による測定対象物の向きの変化について説明するための図である。It is a figure for demonstrating the change of the direction of a measuring object by the change of the rotation position of a stage. ステージの回転位置の変化による測定対象物の向きの変化について説明するための図である。It is a figure for demonstrating the change of the direction of a measuring object by the change of the rotation position of a stage. 比較例における測定対象物の向きの変化について説明するための図である。It is a figure for demonstrating the change of the direction of a measuring object in a comparative example. 比較例における測定対象物の向きの変化について説明するための図である。It is a figure for demonstrating the change of the direction of a measuring object in a comparative example. 測定対象物の載置時におけるステージの回転位置について説明するための図である。It is a figure for demonstrating the rotation position of the stage at the time of mounting of a measuring object. ステージの他の構成例について説明するための図である。It is a figure for explaining other examples of composition of a stage.

以下、本発明の実施の形態に係る測定装置について図面を参照しながら説明する。 Hereinafter, a measuring device according to an embodiment of the present invention will be described with reference to the drawings.

[1]測定装置の構成
図1は、本発明の一実施の形態に係る測定装置の構成を示すブロック図である。図2は、図1の測定装置500の測定部の構成を示す模式図である。以下、本実施の形態に係る測定装置500について、図1および図2を参照しながら説明する。図1に示すように、測定装置500は、測定部100、PC(パーソナルコンピュータ)200、制御部300および表示部400を備える。
[1] Configuration of Measuring Apparatus FIG. 1 is a block diagram showing the configuration of the measuring apparatus according to one embodiment of the present invention. FIG. 2 is a schematic diagram showing the configuration of the measuring unit of the measuring device 500 shown in FIG. Hereinafter, the measuring device 500 according to the present embodiment will be described with reference to FIGS. 1 and 2. As shown in FIG. 1, the measurement device 500 includes a measurement unit 100, a PC (personal computer) 200, a control unit 300, and a display unit 400.

図1に示すように、測定部100は、例えば投受光一体の撮像デバイスであり、投光部110、受光部120、照明光出力部130、ステージ140および制御基板150を含む。図2に示すように、投光部110は、測定光源111、パターン生成部112および複数のレンズ113,114を含む。受光部120は、撮像素子121aを有するカメラ121、およびレンズ122を含む。本例において、カメラ121は単眼カメラである。ステージ140上には、測定対象物Sが載置される。 As shown in FIG. 1, the measurement unit 100 is, for example, an image pickup device integrated with light projection and light reception, and includes a light projection unit 110, a light reception unit 120, an illumination light output unit 130, a stage 140, and a control board 150. As shown in FIG. 2, the light projecting unit 110 includes a measurement light source 111, a pattern generating unit 112, and a plurality of lenses 113 and 114. The light receiving unit 120 includes a camera 121 having an image sensor 121a and a lens 122. In this example, the camera 121 is a monocular camera. The measuring object S is placed on the stage 140.

図2の例においては、測定部100は2つの投光部110を含む。以下、2つの投光部110を区別する場合は、一方の投光部110を投光部110Aと呼び、他方の投光部110を投光部110Bと呼ぶ。投光部110A,110Bは受光部120の光軸A1を挟んで対称に配置される。受光部120の光軸A1は、カメラ121の撮像素子121aの中心およびレンズ122の中心を通る。 In the example of FIG. 2, the measuring unit 100 includes two light projecting units 110. Hereinafter, when distinguishing the two light projecting units 110, one light projecting unit 110 is referred to as a light projecting unit 110A, and the other light projecting unit 110 is referred to as a light projecting unit 110B. The light projecting units 110A and 110B are arranged symmetrically with the optical axis A1 of the light receiving unit 120 interposed therebetween. The optical axis A1 of the light receiving unit 120 passes through the center of the image sensor 121a of the camera 121 and the center of the lens 122.

各投光部110A,110Bの測定光源111は、例えば青色LED(発光ダイオード)である。測定光源111は、ハロゲンランプ等の他の光源であってもよい。測定光源111から出射された光(以下、測定光と呼ぶ)は、レンズ113により適切に集光された後、パターン生成部112に入射する。 The measurement light source 111 of each of the light projecting units 110A and 110B is, for example, a blue LED (light emitting diode). The measurement light source 111 may be another light source such as a halogen lamp. Light emitted from the measurement light source 111 (hereinafter, referred to as measurement light) is appropriately condensed by the lens 113 and then enters the pattern generation unit 112.

パターン生成部112は、例えばDMD(デジタルマイクロミラーデバイス)である。パターン生成部112は、LCD(液晶ディスプレイ)、LCOS(Liquid Crystal on Silicon:反射型液晶素子)またはマスクであってもよい。パターン生成部112に入射した測定光は、予め設定されたパターンおよび予め設定された強度(明るさ)に変換されて出射される。パターン生成部112により出射された測定光は、レンズ114により測定対象物Sの寸法よりも大きい径を有する光に変換された後、ステージ140上の測定対象物Sに照射される。 The pattern generation unit 112 is, for example, a DMD (digital micromirror device). The pattern generation unit 112 may be an LCD (liquid crystal display), an LCOS (Liquid Crystal on Silicon) or a mask. The measurement light that has entered the pattern generation unit 112 is converted into a preset pattern and a preset intensity (brightness) and then emitted. The measurement light emitted by the pattern generation unit 112 is converted by the lens 114 into light having a diameter larger than the dimension of the measurement target S, and then the measurement target S on the stage 140 is irradiated with the measurement light.

投光部110Aの測定光源111、レンズ113およびパターン生成部112は、受光部120の光軸A1と略平行に並ぶように配置される。同様に、投光部110Bの測定光源111、レンズ113およびパターン生成部112は、受光部120の光軸A1と略平行に並ぶように配置される。一方、投光部110A,110Bのレンズ114は、測定光源111、レンズ113およびパターン生成部112に対してオフセットするように配置される。これにより、投光部110A,110Bの光軸A2が受光部120の光軸A1に対して傾斜し、受光部120の両側方から測定対象物Sに向けて測定光が出射される。測定対象物Sによりステージ140の上方に反射された測定光は、受光部120のレンズ122により集光および結像され、カメラ121の撮像素子121aにより受光される。 The measurement light source 111, the lens 113, and the pattern generation unit 112 of the light projecting unit 110A are arranged so as to be aligned substantially parallel to the optical axis A1 of the light receiving unit 120. Similarly, the measurement light source 111, the lens 113, and the pattern generation unit 112 of the light projecting unit 110B are arranged so as to be aligned substantially parallel to the optical axis A1 of the light receiving unit 120. On the other hand, the lenses 114 of the light projecting units 110A and 110B are arranged so as to be offset with respect to the measurement light source 111, the lens 113, and the pattern generating unit 112. As a result, the optical axes A2 of the light projecting units 110A and 110B are tilted with respect to the optical axis A1 of the light receiving unit 120, and the measurement light is emitted toward the measurement target S from both sides of the light receiving unit 120. The measurement light reflected above the stage 140 by the measurement target S is condensed and imaged by the lens 122 of the light receiving unit 120, and is received by the image sensor 121a of the camera 121.

本例においては、測定光の照射範囲を広くするため、一定の画角を有するように投光部110A,110Bが構成される。投光部110A,110Bの画角は、例えば、パターン生成部112の寸法およびレンズ114の焦点距離により定まる。また、受光部120の視野(撮像範囲)を広くするため、一定の画角を有するように受光部120が構成される。受光部120の画角は、例えば、撮像素子121aの寸法およびレンズ122の焦点距離により定まる。測定光の照射範囲および撮像範囲を広くする必要がない場合には、投光部110A,110Bおよび受光部120として、画角が略0度となるテレセントリック光学系が用いられてもよい。 In this example, in order to widen the irradiation range of the measurement light, the light projecting units 110A and 110B are configured to have a constant angle of view. The angles of view of the light projecting units 110A and 110B are determined by, for example, the size of the pattern generating unit 112 and the focal length of the lens 114. Further, in order to widen the visual field (imaging range) of the light receiving unit 120, the light receiving unit 120 is configured to have a constant angle of view. The angle of view of the light receiving unit 120 is determined by, for example, the size of the image sensor 121a and the focal length of the lens 122. When it is not necessary to widen the irradiation range and the imaging range of the measurement light, a telecentric optical system having an angle of view of approximately 0 degrees may be used as the light projecting units 110A and 110B and the light receiving unit 120.

測定部100は、倍率が異なる複数の受光部120を有してもよい。この場合、複数の受光部120を選択的に用いることにより、測定対象物Sを異なる倍率で撮像することができる。複数の受光部120の光軸は、互いに平行であることが好ましい。 The measurement unit 100 may include a plurality of light receiving units 120 having different magnifications. In this case, the measurement object S can be imaged at different magnifications by selectively using the plurality of light receiving units 120. The optical axes of the plurality of light receiving units 120 are preferably parallel to each other.

カメラ121は、例えばCCD(電荷結合素子)カメラである。撮像素子121aは、例えばモノクロCCD(電荷結合素子)である。撮像素子121aは、CMOS(相補性金属酸化膜半導体)イメージセンサ等の他の撮像素子であってもよい。撮像素子121aの各画素からは、受光量に対応するアナログの電気信号(以下、受光信号と呼ぶ)が制御基板150に出力される。 The camera 121 is, for example, a CCD (charge coupled device) camera. The image sensor 121a is, for example, a monochrome CCD (charge coupled device). The image sensor 121a may be another image sensor such as a CMOS (Complementary Metal Oxide Semiconductor) image sensor. From each pixel of the image sensor 121a, an analog electric signal corresponding to the amount of received light (hereinafter, referred to as a received light signal) is output to the control board 150.

モノクロCCDには、カラーCCDとは異なり、赤色波長の光を受光する画素、緑色波長の光を受光する画素および青色波長の光を受光する画素を設ける必要がない。ここで、測定光に青色波長等の特定波長を採用した場合、カラーCCDは特定波長の光を受光する画素しか計測に利用できないが、モノクロCCDにはそのような制約がない。そのため、モノクロCCDの計測の分解能はカラーCCDの分解能よりも高くなる。また、モノクロCCDには、カラーCCDとは異なり、各画素にカラーフィルタを設ける必要がない。そのため、モノクロCCDの感度はカラーCCDの感度よりも高くなる。これらの理由により、本例におけるカメラ121にはモノクロCCDが設けられる。 Unlike a color CCD, a monochrome CCD does not need to be provided with a pixel that receives light of a red wavelength, a pixel that receives light of a green wavelength, and a pixel that receives light of a blue wavelength. Here, when a specific wavelength such as a blue wavelength is adopted as the measurement light, the color CCD can be used only for measurement of pixels that receive the light of the specific wavelength, but the monochrome CCD has no such limitation. Therefore, the measurement resolution of the monochrome CCD is higher than that of the color CCD. Further, unlike the color CCD, the monochrome CCD does not need to be provided with a color filter for each pixel. Therefore, the sensitivity of the monochrome CCD is higher than that of the color CCD. For these reasons, the camera 121 in this example is provided with a monochrome CCD.

本例においては、照明光出力部130は、測定対象物Sに赤色波長の光、緑色波長の光および青色波長の光を時分割で出射する。この構成によれば、モノクロCCDを用いた受光部120により測定対象物Sのカラー画像を撮像することができる。 In this example, the illumination light output unit 130 outputs the red wavelength light, the green wavelength light, and the blue wavelength light to the measurement object S in a time division manner. With this configuration, a color image of the measuring object S can be captured by the light receiving unit 120 using the monochrome CCD.

一方、カラーCCDが十分な分解能および感度を有する場合には、撮像素子121aは、カラーCCDであってもよい。この場合、照明光出力部130は、測定対象物Sに赤色波長の光、緑色波長の光および青色波長の光を時分割で照射する必要はなく、白色光を測定対象物Sに照射する。そのため、照明光源320の構成を単純にすることができる。 On the other hand, when the color CCD has sufficient resolution and sensitivity, the image pickup device 121a may be a color CCD. In this case, the illumination light output unit 130 does not need to irradiate the measurement target S with the red wavelength light, the green wavelength light, and the blue wavelength light in a time division manner, and irradiates the measurement target S with the white light. Therefore, the configuration of the illumination light source 320 can be simplified.

制御基板150には、図示しないA/D変換器(アナログ/デジタル変換器)およびFIFO(First In First Out)メモリが実装される。カメラ121から出力される受光信号は、制御部300による制御に基づいて、制御基板150のA/D変換器により一定のサンプリング周期でサンプリングされるとともにデジタル信号に変換される。A/D変換器から出力されるデジタル信号は、FIFOメモリに順次蓄積される。FIFOメモリに蓄積されたデジタル信号は画素データとして順次PC200に転送される。ここで、カメラ121が、例えば、モノクロCMOSカメラであって、撮像素子121aの各画素から受光量に対応するデジタルの電気信号が制御基板150へ出力される場合、A/D変換器は必ずしも必要ではない。 An A/D converter (analog/digital converter) and a FIFO (First In First Out) memory (not shown) are mounted on the control board 150. The light reception signal output from the camera 121 is sampled at a constant sampling period by the A/D converter of the control board 150 and converted into a digital signal under the control of the control unit 300. The digital signals output from the A/D converter are sequentially stored in the FIFO memory. The digital signals stored in the FIFO memory are sequentially transferred to the PC 200 as pixel data. Here, when the camera 121 is, for example, a monochrome CMOS camera and each pixel of the image sensor 121a outputs a digital electric signal corresponding to the amount of received light to the control board 150, the A/D converter is not always necessary. is not.

図1に示すように、PC200は、CPU(中央演算処理装置)210、ROM(リードオンリメモリ)220、作業用メモリ230、記憶装置240および操作部250を含む。また、操作部250は、キーボードおよびポインティングデバイスを含む。ポインティングデバイスとしては、マウスまたはジョイスティック等が用いられる。 As shown in FIG. 1, the PC 200 includes a CPU (central processing unit) 210, a ROM (read only memory) 220, a work memory 230, a storage device 240, and an operation unit 250. The operation unit 250 also includes a keyboard and a pointing device. A mouse, a joystick, or the like is used as the pointing device.

ROM220には、システムプログラムが記憶される。作業用メモリ230は、RAM(ランダムアクセスメモリ)からなり、種々のデータの処理のために用いられる。記憶装置240は、ハードディスク等からなる。記憶装置240には、形状測定プログラムが記憶される。また、記憶装置240は、制御基板150から与えられる画素データ等の種々のデータを保存するために用いられる。 A system program is stored in the ROM 220. The working memory 230 is composed of a RAM (random access memory) and is used for processing various data. The storage device 240 includes a hard disk or the like. The storage device 240 stores a shape measurement program. The storage device 240 is also used to store various data such as pixel data provided from the control board 150.

CPU210は、制御基板150から与えられる画素データに基づいて画像データを生成する。また、CPU210は、生成した画像データに作業用メモリ230を用いて各種処理を行うとともに、画像データに基づく画像を表示部400に表示させる。さらに、CPU210は、後述するステージ駆動部146に制御基板150を通して駆動信号を与える。表示部400は、例えばLCDパネルまたは有機EL(エレクトロルミネッセンス)パネルにより構成される。表示部400には、受光部120のカメラ121によりリアルタイムで取得される画像データ(以下、ライブ画像データと呼ぶ。)に基づいて、リアルタイムでの測定対象物Sの画像(以下、ライブ画像と呼ぶ)を表示させることができる。 The CPU 210 generates image data based on the pixel data provided from the control board 150. Further, the CPU 210 uses the work memory 230 to perform various processes on the generated image data, and causes the display unit 400 to display an image based on the image data. Further, the CPU 210 gives a drive signal to the stage drive unit 146 described later through the control board 150. The display unit 400 is composed of, for example, an LCD panel or an organic EL (electroluminescence) panel. On the display unit 400, an image of the measurement target S in real time (hereinafter, referred to as a live image) based on image data (hereinafter, referred to as live image data) acquired in real time by the camera 121 of the light receiving unit 120. ) Can be displayed.

一方の投光部110Aから測定光が照射された測定対象物Sの画像と他方の投光部110Bから測定光が照射された測定対象物Sの画像とが並ぶように表示部400に表示(2画面表示)されてもよい。また、一方の投光部110Aから測定光が照射された測定対象物Sの画像と他方の投光部110Bから測定光が照射された測定対象物Sの画像とが重なるように表示部400に表示する等の合成表示がされてもよい。 The image of the measurement target S irradiated with the measurement light from one light projection unit 110A and the image of the measurement target S irradiated with the measurement light from the other light projection unit 110B are displayed on the display unit 400 so as to be aligned ( It may be displayed in two screens. In addition, the image of the measuring object S irradiated with the measuring light from one light projecting section 110A and the image of the measuring object S irradiated with the measuring light from the other light projecting section 110B are overlapped on the display section 400. Composite display such as display may be performed.

2画面表示がされる場合には、例えば、一定の周期(数Hz)で投光部110A,110Bから測定対象物Sに交互に測定光が照射され、投光部110Aから測定対象物Sに測定光が照射されているときに取得される画像および投光部110Bから測定対象物Sに測定光が照射されているときに取得される画像が表示部400に別個に表示される。使用者は、表示される画像を見ながら、投光部110Aから測定光が出射されるときの受光部120の受光量および投光部110Bから測定光が出射されるときの受光部120の受光量をそれぞれ調整することができる。受光部120の受光量は、投光部110A,110Bから出射される測定光の明るさまたは受光部120の露光時間を変化させることにより調整可能である。 When two screens are displayed, for example, the measuring object S is alternately irradiated from the light projecting units 110A and 110B at a constant cycle (several Hz), and the measuring object S is projected from the light projecting unit 110A. The image acquired when the measuring light is irradiated and the image acquired when the measuring object S is irradiated with the measuring light from the light projecting unit 110B are separately displayed on the display unit 400. While observing the displayed image, the user receives the amount of light received by the light receiver 120 when the measurement light is emitted from the light emitter 110A and the light reception of the light receiver 120 when the measurement light is emitted from the light emitter 110B. The amount can be adjusted individually. The amount of light received by the light receiving unit 120 can be adjusted by changing the brightness of the measurement light emitted from the light projecting units 110A and 110B or the exposure time of the light receiving unit 120.

合成表示がされる場合も、2画面表示がされる場合と同様に、使用者は、表示される画像を見ながら、投光部110Aから測定光が出射されるときの受光部120の受光量および投光部110Bから測定光が出射されるときの受光部120の受光量をそれぞれ調整することができる。この場合、表示部400においては、合成表示の画像に加えて、一方の投光部110Aから測定光が照射された測定対象物Sの画像と、他方の投光部110Bから測定光が照射された測定対象物Sの画像とが並ぶように表示されてもよい。または、表示部400においては、2画面表示の画像と合成表示の画像とが切り替えて表示されてもよい。あるいは、表示部400においては、合成表示の画像と、一方の投光部110Aから測定光が照射された測定対象物Sの画像と、他方の投光部110Bから測定光が照射された測定対象物Sの画像とが、切り替えて表示されてもよい。 Even when the composite display is performed, the user receives the amount of light received by the light receiving unit 120 when the measurement light is emitted from the light projecting unit 110A while looking at the displayed image, as in the case where the two screens are displayed. The amount of light received by the light receiving unit 120 when the measurement light is emitted from the light projecting unit 110B can be adjusted. In this case, in the display unit 400, in addition to the combined display image, the image of the measuring object S irradiated with the measurement light from one light projecting unit 110A and the measurement light from the other light projecting unit 110B are irradiated. The image of the measured object S may be displayed side by side. Alternatively, the display unit 400 may switch between the two-screen display image and the composite display image. Alternatively, in the display unit 400, an image of combined display, an image of the measurement object S irradiated with the measurement light from one light projection unit 110A, and a measurement target irradiated with the measurement light from the other light projection unit 110B. The image of the object S may be switched and displayed.

図2に示すように、ステージ140は、ステージベース141およびステージプレート142を含む。ステージベース141上にステージプレート142が配置される。ステージプレート142は、測定対象物Sが載置される載置面を有する。ここで、ステージプレート142の載置面内で互いに直交する2方向をX方向およびY方向と定義し、それぞれ矢印X,Yで示す。また、載置面に対して直交する方向をZ方向と定義し、矢印Zで示す。また、Z方向に平行な軸を中心に回転する方向をθ方向と定義し、矢印θで示す。ステージプレート142には、クランプまたは治具等を取り付けるための取付部(例えばねじ孔)が設けられてもよい。 As shown in FIG. 2, the stage 140 includes a stage base 141 and a stage plate 142. The stage plate 142 is arranged on the stage base 141. The stage plate 142 has a mounting surface on which the measuring object S is mounted. Here, two directions orthogonal to each other on the mounting surface of the stage plate 142 are defined as an X direction and a Y direction, which are indicated by arrows X and Y, respectively. Moreover, the direction orthogonal to the mounting surface is defined as the Z direction, and is indicated by an arrow Z. Further, a direction rotating about an axis parallel to the Z direction is defined as a θ direction, and is indicated by an arrow θ. The stage plate 142 may be provided with a mounting portion (for example, a screw hole) for mounting a clamp, a jig, or the like.

ステージプレート142の載置面の上方には、略円柱状の測定可能領域MRが設定される。測定可能領域MRは、投光部110A,110Bにより測定光を照射可能でかつ受光部120により撮像可能な領域である。測定可能領域MRの大きさおよび位置は、カメラ121のレンズ122の倍率および焦点位置等によって異なる。倍率が異なる複数の受光部120が設けられる場合には、使用される受光部120によって測定可能領域MRが異なる。 A substantially cylindrical measurable region MR is set above the mounting surface of the stage plate 142. The measurable region MR is a region in which the measuring light can be emitted by the light projecting units 110A and 110B and can be imaged by the light receiving unit 120. The size and position of the measurable region MR differ depending on the magnification and focal position of the lens 122 of the camera 121. When a plurality of light receiving units 120 having different magnifications are provided, the measurable region MR differs depending on the light receiving units 120 used.

ステージ140は回転機構143に取り付けられる。回転機構143は、例えばステッピングモータを含む。回転機構143は、図1のステージ操作部145またはステージ駆動部146により駆動され、ステージ140を回転軸Axを中心にθ方向に回転させる。本例において、回転軸Axは鉛直方向に延びる。回転軸Axの方向は鉛直方向に限らず、鉛直方向に対して僅かに傾斜していてもよい。使用者は、ステージ操作部145を手動で操作することにより、ステージ140をθ方向に回転させることができる。また、ステージ駆動部146は、PC200より制御基板150を通して与えられる駆動信号に基づいて、回転機構143に電流を供給することにより、ステージ140を受光部120に相対的にθ方向に回転させることができる。 The stage 140 is attached to the rotation mechanism 143. The rotation mechanism 143 includes, for example, a stepping motor. The rotation mechanism 143 is driven by the stage operation unit 145 or the stage drive unit 146 of FIG. 1 to rotate the stage 140 in the θ direction about the rotation axis Ax. In this example, the rotation axis Ax extends in the vertical direction. The direction of the rotation axis Ax is not limited to the vertical direction, and may be slightly inclined with respect to the vertical direction. The user can rotate the stage 140 in the θ direction by manually operating the stage operation unit 145. Further, the stage driving unit 146 can rotate the stage 140 in the θ direction relative to the light receiving unit 120 by supplying a current to the rotating mechanism 143 based on a drive signal given from the PC 200 through the control board 150. it can.

なお、本実施の形態では、ステージ140はステッピングモータにより駆動することが可能であるとともに手動により操作することが可能であるが、これに限定されない。ステージ140はステッピングモータでのみ駆動することが可能であってもよいし、手動でのみ操作することが可能であってもよい。また、ステッピングモータに代えて、サーボモータ等の他の駆動装置が用いられてもよい。 In this embodiment, the stage 140 can be driven by a stepping motor and can be manually operated, but the present invention is not limited to this. The stage 140 may be driven only by a stepping motor, or may be operated only manually. Further, instead of the stepping motor, another driving device such as a servo motor may be used.

制御部300は、制御基板310および照明光源320を含む。制御基板310には、図示しないCPUが実装される。制御基板310のCPUは、PC200のCPU210からの指令に基づいて、投光部110、受光部120および制御基板150を制御する。制御基板310および照明光源320は、測定部100に搭載されてもよい。ただし、制御基板310および照明光源320は熱を生じやすく、その熱の影響によって測定部100の精度が低下する可能性がある。したがって、測定部100の精度を確保するために、制御基板310および照明光源320が測定部100の外部に設けられることが好ましい。 The controller 300 includes a control board 310 and an illumination light source 320. A CPU (not shown) is mounted on the control board 310. The CPU of the control board 310 controls the light projecting section 110, the light receiving section 120, and the control board 150 based on a command from the CPU 210 of the PC 200. The control board 310 and the illumination light source 320 may be mounted on the measurement unit 100. However, the control board 310 and the illumination light source 320 are likely to generate heat, and the influence of the heat may reduce the accuracy of the measurement unit 100. Therefore, in order to ensure the accuracy of the measurement unit 100, it is preferable that the control board 310 and the illumination light source 320 be provided outside the measurement unit 100.

照明光源320は、例えば赤色光、緑色光および青色光を出射する3つのLEDを含む。各LEDから出射される光の輝度を制御することにより、照明光源320から任意の色の光を発生することができる。照明光源320から発生される光(以下、照明光と呼ぶ)は、導光部材(ライトガイド)を通して測定部100の照明光出力部130から出力される。図2の照明光出力部130は、円環形状を有し、受光部120を取り囲むようにステージ140の上方に配置される。これにより、影が発生しないように照明光出力部130から測定対象物Sに照明光が照射される。なお、照明光出力部130および照明光源320は、外部装置として設けられてもよい。 The illumination light source 320 includes, for example, three LEDs that emit red light, green light, and blue light. By controlling the brightness of the light emitted from each LED, it is possible to generate light of any color from the illumination light source 320. Light generated from the illumination light source 320 (hereinafter referred to as illumination light) is output from the illumination light output unit 130 of the measurement unit 100 through the light guide member (light guide). The illumination light output unit 130 of FIG. 2 has an annular shape and is arranged above the stage 140 so as to surround the light receiving unit 120. As a result, the illumination light output unit 130 illuminates the measurement target S with illumination light so that no shadow is generated. The illumination light output unit 130 and the illumination light source 320 may be provided as external devices.

図3は、図1のCPU210により実現される機能を示す機能ブロック図である。図3に示すように、CPU210は、回転制御部501、点群データ生成部502、基準面設定部503、計測部504および画像データ生成部505を含む。 FIG. 3 is a functional block diagram showing functions realized by the CPU 210 of FIG. As shown in FIG. 3, the CPU 210 includes a rotation control unit 501, a point cloud data generation unit 502, a reference plane setting unit 503, a measurement unit 504, and an image data generation unit 505.

回転制御部501は、ステージ駆動部146を制御することにより、ステージ140の回転を制御する。点群データ生成部502は、受光部120により出力される受光信号に基づいて、測定対象物Sの立体形状を表す点群データを生成する。基準面設定部503は、点群データ生成部502により生成された点群データに基づいて、計測の基準となる基準面を設定する。計測部504は、測定対象物Sの計測すべき箇所の指定を受け付け、点群データ生成部502により生成された点群データに基づいて、指定された箇所の計測値を基準面設定部503により設定された基準面を基準として算出する。画像データ生成部505は、点群データ生成部502により生成された点群データに基づいて、基準面設定部503により設定された基準面に対して垂直に測定対象物Sを見た画像を表す画像データを生成する。これらの機能の詳細については後述する。 The rotation control unit 501 controls the rotation of the stage 140 by controlling the stage driving unit 146. The point cloud data generation unit 502 generates point cloud data representing the three-dimensional shape of the measuring object S based on the light reception signal output by the light reception unit 120. The reference plane setting unit 503 sets a reference plane serving as a reference for measurement based on the point cloud data generated by the point cloud data generation unit 502. The measuring unit 504 receives the designation of the location of the measurement target S to be measured, and based on the point cloud data generated by the point cloud data generating unit 502, the reference plane setting unit 503 sets the measurement value of the designated location. Calculation is performed with the set reference plane as a reference. The image data generation unit 505 represents an image in which the measurement target S is viewed perpendicularly to the reference plane set by the reference plane setting unit 503 based on the point cloud data generated by the point cloud data generation unit 502. Generate image data. Details of these functions will be described later.

回転制御部501、点群データ生成部502、基準面設定部503、計測部504および画像データ生成部505は、CPU210がROM220または記憶装置240に記憶された形状測定プログラムを実行することにより実現される。これらの機能部は、電子回路等のハードウエアにより実現されてもよい。 The rotation control unit 501, the point cloud data generation unit 502, the reference plane setting unit 503, the measurement unit 504, and the image data generation unit 505 are realized by the CPU 210 executing the shape measurement program stored in the ROM 220 or the storage device 240. It These functional units may be realized by hardware such as an electronic circuit.

図4は、測定部100の模式的な外観斜視図である。図4では、測定部100の外観が太い実線で示されるとともに、測定部100の内部に設けられる一部の構成要素が点線で示される。図4に示すように、測定部100は台座170を含む。台座170には、2つの投光部110、受光部120、照明光出力部130および制御基板150が取り付けられる。この状態で、2つの投光部110、受光部120および照明光出力部130の位置関係が台座170により固定される。また、照明光出力部130は、略円筒形状を有し、受光部120を取り囲むように配置されている。照明光出力部130の一端部には、楕円形状を有する照明光の出射口131が形成されている。さらに、2つの投光部110は、受光部120および照明光出力部130を挟んで並ぶように配置される。 FIG. 4 is a schematic external perspective view of the measuring unit 100. In FIG. 4, the appearance of the measurement unit 100 is shown by a thick solid line, and some of the components provided inside the measurement unit 100 are shown by a dotted line. As shown in FIG. 4, the measuring unit 100 includes a pedestal 170. Two light projecting units 110, a light receiving unit 120, an illumination light output unit 130, and a control board 150 are attached to the pedestal 170. In this state, the positional relationship among the two light projecting units 110, the light receiving units 120, and the illumination light output units 130 is fixed by the pedestal 170. The illumination light output unit 130 has a substantially cylindrical shape and is arranged so as to surround the light receiving unit 120. An illumination light outlet 131 having an elliptical shape is formed at one end of the illumination light output unit 130. Further, the two light projecting units 110 are arranged side by side with the light receiving unit 120 and the illumination light output unit 130 interposed therebetween.

台座170には、2つの投光部110、受光部120、照明光出力部130および制御基板150の一部を収容するヘッドケーシング180が取り付けられる。2つの投光部110、受光部120、照明光出力部130、制御基板150、台座170およびヘッドケーシング180によりヘッド部190が構成される。 A head casing 180 that accommodates a part of the two light projecting units 110, the light receiving unit 120, the illumination light output unit 130, and the control board 150 is attached to the pedestal 170. A head unit 190 is configured by the two light projecting units 110, the light receiving unit 120, the illumination light output unit 130, the control board 150, the pedestal 170, and the head casing 180.

測定部100は、設置部161およびスタンド部162を含む。設置部161は、平坦な底面を有するとともに略一定幅で一方向に延びるように形成されている。スタンド部162は、設置部161の一端部に接続され、設置部161の一端部から上方に延びるように形成される。設置部161上にステージ140が回転可能に保持される。ヘッド部190の台座170は、スタンド部162の上端に着脱可能に構成されている。スタンド部162によりヘッド部190と設置部161とが固定的に連結される。これにより、ステージ140、2つの投光部110および受光部120の位置関係が一定に保持される。 The measurement unit 100 includes an installation unit 161 and a stand unit 162. The installation portion 161 has a flat bottom surface and is formed to extend in one direction with a substantially constant width. The stand portion 162 is connected to one end of the installation portion 161, and is formed to extend upward from one end of the installation portion 161. The stage 140 is rotatably held on the installation unit 161. The pedestal 170 of the head portion 190 is configured to be attachable to and detachable from the upper end of the stand portion 162. The head part 190 and the installation part 161 are fixedly connected by the stand part 162. As a result, the positional relationship between the stage 140, the two light projecting units 110, and the light receiving units 120 is held constant.

各投光部110は、測定光の照射される照射領域IRがステージ140およびその上方の空間を含むように位置決めされる。測定光は、各投光部110から測定対象物Sに対して斜め下方に導かれる。各受光部120は、図2のカメラ121による撮像領域TRがステージ140およびその上方の空間を含むように位置決めされる。図4では、各投光部110の照射領域IRが二点鎖線で示されるとともに、受光部120の撮像領域TRが一点鎖線で示される。 Each light projecting unit 110 is positioned so that the irradiation region IR to which the measurement light is irradiated includes the stage 140 and the space above it. The measurement light is guided obliquely downward with respect to the measuring object S from each light projecting unit 110. Each light receiving unit 120 is positioned so that the imaging region TR by the camera 121 of FIG. 2 includes the stage 140 and the space above it. In FIG. 4, the irradiation region IR of each light projecting unit 110 is shown by a chain double-dashed line, and the imaging region TR of the light receiving unit 120 is shown by a chain line.

図5は、受光部120とステージ140との位置関係について説明するための図である。図5には、側方から見た受光部120およびステージ140が示される。図5に示すように、受光部120の光軸A1は、ステージ140の回転軸Axに対して傾斜しており、ステージ140上の測定対象物Sに向かって斜め下方に延びる。 FIG. 5 is a diagram for explaining the positional relationship between the light receiving unit 120 and the stage 140. FIG. 5 shows the light receiving unit 120 and the stage 140 viewed from the side. As shown in FIG. 5, the optical axis A1 of the light receiving unit 120 is inclined with respect to the rotation axis Ax of the stage 140 and extends obliquely downward toward the measurement target S on the stage 140.

受光部120は、光軸A1に垂直な仮想的な撮像面120aを有する。撮像面120aが向けられる領域が、受光部120によって撮像される領域となる。本例では、測定可能領域MRに対して撮像面120aが斜め下方に向けられる。水平面に対する撮像面120aの傾斜角度D1は、例えば45度に設定される。 The light receiving unit 120 has a virtual imaging surface 120a that is perpendicular to the optical axis A1. The area where the imaging surface 120a is directed becomes the area where the light receiving unit 120 images. In this example, the imaging surface 120a is directed obliquely downward with respect to the measurable region MR. The inclination angle D1 of the imaging surface 120a with respect to the horizontal plane is set to 45 degrees, for example.

図6は、ステージ140の具体的な構成例について説明するための図である。図6(a)に示すように、ステージプレート142は、固定部401および傾斜部402を含む。固定部401は平坦な固定載置面401aを有し、傾斜部402は平坦な傾斜載置面402aを有する。固定載置面401aおよび傾斜載置面402aにより載置面142aが構成される。 FIG. 6 is a diagram for explaining a specific configuration example of the stage 140. As shown in FIG. 6A, the stage plate 142 includes a fixed portion 401 and an inclined portion 402. The fixed portion 401 has a flat fixed mounting surface 401a, and the inclined portion 402 has a flat inclined mounting surface 402a. The fixed mounting surface 401a and the inclined mounting surface 402a constitute a mounting surface 142a.

固定部401はステージベース141に固定されており、固定載置面401aは水平に維持される。一方、傾斜部402は、傾斜載置面402aが水平に維持される水平姿勢と、固定載置面401aに対して傾斜載置面402aが傾斜される傾斜姿勢とに切替可能に設けられる。図6(a)においては、傾斜部402が水平姿勢にあり、図6(b)においては、傾斜部402が傾斜姿勢にある。また、図6(c)に示すように、傾斜部402を傾斜姿勢に支持するための支持部403が設けられてもよい。また、傾斜部402を駆動部する傾斜駆動部が設けられ、CPU210の指示によって傾斜部402が自動的に傾斜されてもよい。 The fixed portion 401 is fixed to the stage base 141, and the fixed mounting surface 401a is maintained horizontally. On the other hand, the inclined portion 402 is provided so as to be switchable between a horizontal posture in which the inclined mounting surface 402a is kept horizontal and an inclined posture in which the inclined mounting surface 402a is inclined with respect to the fixed mounting surface 401a. In FIG. 6A, the inclined portion 402 is in the horizontal posture, and in FIG. 6B, the inclined portion 402 is in the inclined posture. Moreover, as shown in FIG. 6C, a support portion 403 for supporting the inclined portion 402 in an inclined posture may be provided. Further, a tilt drive unit that drives the tilt unit 402 may be provided, and the tilt unit 402 may be tilted automatically according to an instruction from the CPU 210.

傾斜部402が傾斜姿勢にある場合の固定載置面401aに対する傾斜載置面402aの傾斜角度(水平面に対する傾斜載置面402aの傾斜角度)D2は、予め定められた値にのみ調整可能であってもよく、複数段階に切替可能であってもよい。本例において、傾斜載置面402aの傾斜角度D2は、撮像面120aの傾斜角度D1(図5)と等しく調整される。なお、傾斜角度D1,D2が、45度以外の互いに等しい値に調整されてもよい。傾斜載置面402aには、測定対象物Sを係止するための係止部(例えば突起部)が設けられてもよい。 The inclination angle of the inclined mounting surface 402a with respect to the fixed mounting surface 401a (the inclination angle of the inclined mounting surface 402a with respect to the horizontal plane) D2 when the inclined portion 402 is in the inclined posture can be adjusted only to a predetermined value. Alternatively, it may be switchable in a plurality of stages. In this example, the inclination angle D2 of the inclined mounting surface 402a is adjusted to be equal to the inclination angle D1 (FIG. 5) of the imaging surface 120a. The tilt angles D1 and D2 may be adjusted to values equal to each other other than 45 degrees. A locking portion (for example, a protrusion) for locking the measuring object S may be provided on the inclined mounting surface 402a.

[2]測定対象物の形状測定
(1)三角測距方式による形状測定
測定部100においては、三角測距方式により測定対象物Sの形状が測定される。図7は、三角測距方式の原理を説明するための図である。図7に示すように、測定光の光軸A2と受光部120の光軸A1との間の角度αが予め設定される。角度αは、0度よりも大きく90度よりも小さい。
[2] Shape measurement of measurement object (1) Shape measurement by triangulation method In the measurement unit 100, the shape of the measurement object S is measured by the triangulation method. FIG. 7 is a diagram for explaining the principle of the triangulation method. As shown in FIG. 7, an angle α between the optical axis A2 of the measurement light and the optical axis A1 of the light receiving unit 120 is set in advance. The angle α is larger than 0 degrees and smaller than 90 degrees.

ステージ140上に測定対象物Sが載置されない場合、投光部110から出射される測定光は、ステージ140の載置面の点Oにより反射され、受光部120に入射する。一方、ステージ140上に測定対象物Sが載置される場合、投光部110から出射される測定光は、測定対象物Sの表面の点Aにより反射され、受光部120に入射する。 When the measurement target S is not mounted on the stage 140, the measurement light emitted from the light projecting unit 110 is reflected by the point O on the mounting surface of the stage 140 and enters the light receiving unit 120. On the other hand, when the measurement target S is placed on the stage 140, the measurement light emitted from the light projecting unit 110 is reflected by the point A on the surface of the measurement target S and enters the light receiving unit 120.

点Oと点Aとの間のX方向における距離をdとすると、ステージ140の載置面に対する測定対象物Sの点Aの高さhは、h=d÷tan(α)により与えられる。図1のPC200のCPU210は、制御基板150により与えられる測定対象物Sの画素データに基づいて、X方向における点Oと点Aとの間の距離dを測定する。また、CPU210は、測定された距離dに基づいて、測定対象物Sの表面の点Aの高さhを算出する。測定対象物Sの表面の複数の点の高さを算出することにより、測定対象物Sの三次元的な形状が測定される。 When the distance between the point O and the point A in the X direction is d, the height h of the point A of the measuring object S with respect to the mounting surface of the stage 140 is given by h=d÷tan(α). The CPU 210 of the PC 200 in FIG. 1 measures the distance d between the point O and the point A in the X direction based on the pixel data of the measurement object S provided by the control board 150. Further, the CPU 210 calculates the height h of the point A on the surface of the measuring object S based on the measured distance d. The three-dimensional shape of the measurement target S is measured by calculating the heights of a plurality of points on the surface of the measurement target S.

測定対象物Sの表面の複数の点に測定光を照射するために、図1の投光部110からは種々のパターンを有する測定光が出射される。測定光のパターンは、図2のパターン生成部112により制御される。以下、測定光のパターンについて説明する。 In order to irradiate a plurality of points on the surface of the measuring object S with the measuring light, the light projecting unit 110 in FIG. 1 emits the measuring light having various patterns. The pattern of the measurement light is controlled by the pattern generation unit 112 in FIG. The pattern of measurement light will be described below.

(2)測定光の第1のパターン
図8は、測定光の第1のパターンを説明するための図である。図8(a)は、ステージ140上の測定対象物Sに投光部110から測定光を照射した状態を示す。図8(b)は、測定光が照射された測定対象物Sの平面図を示す。図8(a)に示すように、第1のパターンとして、Y方向に平行な直線状の断面を有する測定光(以下、ライン状測定光と呼ぶ)が投光部110から出射される。この場合、図8(b)に示すように、ステージ140に照射されたライン状測定光の部分と測定対象物Sの表面に照射されたライン状測定光の部分とは、測定対象物Sの表面の高さhに対応する距離dだけX方向に互いにずれる。したがって、距離dを測定することにより、測定対象物Sの高さhを算出することができる。
(2) First Pattern of Measuring Light FIG. 8 is a diagram for explaining the first pattern of measuring light. FIG. 8A shows a state in which the measuring object S on the stage 140 is irradiated with the measurement light from the light projecting unit 110. FIG. 8B shows a plan view of the measurement object S irradiated with the measurement light. As shown in FIG. 8A, as the first pattern, measurement light having a linear cross section parallel to the Y direction (hereinafter, referred to as line measurement light) is emitted from the light projecting unit 110. In this case, as shown in FIG. 8B, the portion of the linear measuring light with which the stage 140 is irradiated and the portion of the linear measuring light with which the surface of the measuring object S is irradiated are of the measuring object S. They are offset from each other in the X direction by a distance d corresponding to the height h of the surface. Therefore, the height h of the measuring object S can be calculated by measuring the distance d.

測定対象物Sの表面のY方向に沿った複数の部分が異なる高さを有する場合には、各部分について上記の距離dを測定することにより、Y方向に沿った複数の部分の高さhを算出することができる。 When a plurality of portions along the Y direction on the surface of the measuring object S have different heights, the height h of the plurality of portions along the Y direction is measured by measuring the distance d for each portion. Can be calculated.

また、図1のCPU210は、X方向の一の位置でY方向に沿った複数の部分について距離dを測定した後、Y方向に平行なライン状測定光をX方向に走査することにより、X方向の他の位置でY方向に沿った複数の部分について距離dを測定する。これにより、X方向の複数の位置におけるY方向に沿った測定対象物Sの複数の部分の高さhが算出される。測定対象物SのX方向の寸法よりも広い範囲でライン状測定光をX方向に走査することにより、測定対象物Sの表面の各点の高さhを算出することができる。これにより、測定対象物Sの三次元的な形状を測定することができる。 Further, the CPU 210 of FIG. 1 measures the distance d for a plurality of portions along the Y direction at one position in the X direction, and then scans the linear measuring light parallel to the Y direction in the X direction, The distance d is measured for a plurality of portions along the Y direction at other positions in the direction. Thereby, the heights h of the plurality of portions of the measuring object S along the Y direction at the plurality of positions in the X direction are calculated. The height h of each point on the surface of the measuring object S can be calculated by scanning the linear measuring light in the X direction in a range wider than the dimension of the measuring object S in the X direction. Thereby, the three-dimensional shape of the measuring object S can be measured.

(3)測定光の第2のパターン
図9は、測定光の第2のパターンを説明するための図である。図9に示すように、第2のパターンとして、Y方向に平行な直線状の断面を有しかつX方向に強度が正弦波状に変化するパターンを有する測定光(以下、正弦波状測定光と呼ぶ)が投光部110から複数回(本例においては4回)出射される。
(3) Second Pattern of Measuring Light FIG. 9 is a diagram for explaining the second pattern of measuring light. As shown in FIG. 9, as the second pattern, measurement light having a linear cross section parallel to the Y direction and a pattern in which the intensity changes sinusoidally in the X direction (hereinafter referred to as sinusoidal measurement light). ) Is emitted from the light projecting unit 110 a plurality of times (four times in this example).

図9(a)は、1回目に出射される正弦波状測定光を示す。1回目に出射される正弦波状測定光の強度は、測定対象物Sの表面上の任意の部分P0において初期位相φを有する。この正弦波状測定光が出射されることにより、測定対象物Sの表面で反射された光が受光部120により受光される。受光された光の強度が測定対象物Sの画素データに基づいて測定される。測定対象物Sの表面上の部分P0により反射された光の強度をI1とする。 FIG. 9A shows the sinusoidal measurement light emitted for the first time. The intensity of the sinusoidal measurement light emitted for the first time has an initial phase φ at an arbitrary portion P0 on the surface of the measuring object S. The light reflected by the surface of the measuring object S is received by the light receiving unit 120 by emitting the sinusoidal measuring light. The intensity of the received light is measured based on the pixel data of the measuring object S. Let I1 be the intensity of the light reflected by the portion P0 on the surface of the measuring object S.

図9(b)は、2回目に出射される正弦波状測定光を示す。2回目に出射される正弦波状測定光の強度は、測定対象物Sの表面上の部分P0において位相(φ+π/2)を有する。この正弦波状測定光が出射されることにより、測定対象物Sの表面で反射された光が受光部120により受光される。受光された光の強度が測定対象物Sの画素データに基づいて測定される。測定対象物Sの表面上の部分P0により反射された光の強度をI2とする。 FIG. 9B shows the sinusoidal measurement light emitted for the second time. The intensity of the sinusoidal measurement light emitted the second time has a phase (φ+π/2) at the portion P0 on the surface of the measurement object S. The light reflected by the surface of the measuring object S is received by the light receiving unit 120 by emitting the sinusoidal measuring light. The intensity of the received light is measured based on the pixel data of the measuring object S. Let I2 be the intensity of the light reflected by the portion P0 on the surface of the measuring object S.

図9(c)は、3回目に出射される正弦波状測定光を示す。3回目に出射される正弦波状測定光の強度は、測定対象物Sの表面上の部分P0において位相(φ+π)を有する。この正弦波状測定光が出射されることにより、測定対象物Sの表面で反射された光が受光部120により受光される。受光された光の強度が測定対象物Sの画素データに基づいて測定される。測定対象物Sの表面上の部分P0により反射された光の強度をI3とする。 FIG. 9C shows the sinusoidal measurement light emitted for the third time. The intensity of the sinusoidal measurement light emitted the third time has a phase (φ+π) at the portion P0 on the surface of the measurement object S. The light reflected by the surface of the measuring object S is received by the light receiving unit 120 by emitting the sinusoidal measuring light. The intensity of the received light is measured based on the pixel data of the measuring object S. The intensity of the light reflected by the portion P0 on the surface of the measuring object S is I3.

図9(d)は、4回目に出射される正弦波状測定光を示す。4回目の正弦波状測定光の強度は、測定対象物Sの表面上の部分P0において位相(φ+3π/2)を有する。この正弦波状測定光が出射されることにより、測定対象物Sの表面で反射された光が受光部120により受光される。受光された光の強度が測定対象物Sの画素データに基づいて測定される。測定対象物Sの表面上の部分P0により反射された光の強度をI4とする。 FIG. 9D shows the sinusoidal measurement light emitted for the fourth time. The intensity of the fourth sinusoidal measurement light has a phase (φ+3π/2) at the portion P0 on the surface of the measuring object S. The light reflected by the surface of the measuring object S is received by the light receiving unit 120 by emitting the sinusoidal measuring light. The intensity of the received light is measured based on the pixel data of the measuring object S. The intensity of the light reflected by the portion P0 on the surface of the measuring object S is I4.

初期位相φは、φ=tan−1[(I1−I3)/(I2−I4)]で与えられる。初期位相φから測定対象物Sの任意の部分の高さhが算出される。この方式によれば、4回の光の強度の測定により、測定対象物Sの各部分の初期位相φを高速かつ容易に算出することができる。なお、初期位相φは、異なる位相を有する測定光を少なくとも3回出射し、受光される光の強度を測定することにより算出することができる。測定対象物Sの表面上の各部分の高さhを算出することにより、測定対象物Sの三次元的な形状を測定することができる。 The initial phase φ is given by φ=tan −1 [(I1-I3)/(I2-I4)]. The height h of an arbitrary portion of the measuring object S is calculated from the initial phase φ. According to this method, the initial phase φ of each portion of the measuring object S can be calculated quickly and easily by measuring the light intensity four times. The initial phase φ can be calculated by emitting measurement light having different phases at least three times and measuring the intensity of the received light. By calculating the height h of each portion on the surface of the measuring object S, the three-dimensional shape of the measuring object S can be measured.

(4)測定光の第3のパターン
図10は、測定光の第3のパターンを説明するための図である。図10に示すように、第3のパターンとして、Y方向に平行でかつX方向に並ぶような直線状の断面を有する測定光(以下、縞状測定光と呼ぶ)が投光部110から複数回(本例においては16回)出射される。すなわち、縞状測定光においては、Y方向に平行な直線状の明部分およびY方向に平行な直線状の暗部分がX方向に周期的に配列される。
(4) Third Pattern of Measuring Light FIG. 10 is a diagram for explaining the third pattern of measuring light. As shown in FIG. 10, as the third pattern, a plurality of measurement light beams (hereinafter, referred to as striped measurement light beams) having a linear cross section that is parallel to the Y direction and arranged in the X direction are provided from the light projecting unit 110. It is emitted once (16 times in this example). That is, in the striped measurement light, linear bright portions parallel to the Y direction and linear dark portions parallel to the Y direction are periodically arranged in the X direction.

1回目の縞状測定光が出射されることにより、測定対象物Sの表面で反射された光が受光部120により受光される。受光された光の強度が、測定対象物Sの1番目の撮影画像の画素データに基づいて測定される。図10(a)は、1回目の縞状測定光に対応する測定対象物Sの1番目の撮影画像である。 The light reflected by the surface of the measuring object S is received by the light receiving unit 120 by emitting the first striped measurement light. The intensity of the received light is measured based on the pixel data of the first captured image of the measuring object S. FIG. 10A is a first captured image of the measuring object S corresponding to the first striped measurement light.

2回目の縞状測定光は、1回目の縞状測定光から明部分および暗部分をX方向に1単位だけ移動させたパターンを有する。2回目の縞状測定光が出射されることにより、測定対象物Sの表面で反射された光が、受光部120により受光される。受光された光の強度が測定対象物Sの2番目の撮影画像の画素データに基づいて測定される。 The second striped measurement light has a pattern in which the bright portion and the dark portion are moved by one unit in the X direction from the first striped measurement light. The light reflected by the surface of the measuring object S is received by the light receiving unit 120 by the second striped measurement light being emitted. The intensity of the received light is measured based on the pixel data of the second captured image of the measuring object S.

3回目の縞状測定光は、2回目の縞状測定光から明部分および暗部分をX方向に1単位だけ移動させたパターンを有する。3回目の縞状測定光が出射されることにより、測定対象物Sの表面で反射された光が受光部120により受光される。受光された光の強度が、測定対象物Sの3番目の撮影画像の画素データに基づいて測定される。 The third striped measurement light has a pattern in which the bright portion and the dark portion are moved by one unit in the X direction from the second striped measurement light. The light reflected by the surface of the measuring object S is received by the light receiving unit 120 by the third striped measurement light being emitted. The intensity of the received light is measured based on the pixel data of the third captured image of the measuring object S.

同様の動作が繰り返されることにより、4〜16回目の縞状測定光に対応する光の強度が、測定対象物Sの4〜16番目の撮影画像の画素データに基づいてそれぞれ測定される。X方向の周期が16単位である縞状測定光が16回出射されることにより、測定対象物Sの表面の各部分に縞状測定光が照射される。なお、図10(b)は、7回目の縞状測定光に対応する測定対象物Sの7番目の撮影画像である。図10(c)は、13回目の縞状測定光に対応する測定対象物Sの13番目の撮影画像である。 By repeating the same operation, the light intensities corresponding to the 4th to 16th striped measurement lights are measured based on the pixel data of the 4th to 16th captured images of the measuring object S, respectively. The striped measurement light having a cycle of 16 units in the X direction is emitted 16 times, so that each portion of the surface of the measuring object S is irradiated with the striped measurement light. In addition, FIG.10(b) is a 7th picked-up image of the measuring object S corresponding to the 7th striped measurement light. FIG. 10C is a thirteenth captured image of the measurement object S corresponding to the thirteenth striped measurement light.

図11は、測定対象物Sの特定の部分における画像が撮影されたタイミング(番数)と受光された光の強度との関係を示す図である。図11の横軸は画像の順番を示し、縦軸は受光された光の強度を示す。上述のように、測定対象物Sの各部分について、1〜16番目の撮影画像が生成される。また、生成された1〜16番目の撮影画像の各画素に対応する光の強度が測定される。 FIG. 11 is a diagram showing the relationship between the timing (number) at which an image of a specific portion of the measuring object S is captured and the intensity of the received light. The horizontal axis of FIG. 11 represents the order of images, and the vertical axis represents the intensity of received light. As described above, for each part of the measuring object S, the 1st to 16th captured images are generated. In addition, the intensity of light corresponding to each pixel of the generated 1st to 16th captured images is measured.

図11に示すように、撮影画像の番号に対応する撮影画像の各画素の光の強度を図示することにより散布図が得られる。得られた散布図に例えばガウシアン曲線、スプライン曲線または放物線をフィッティングさせることにより、光の強度が最大になるときの撮影画像の番号(番数)を1未満の精度で推定することができる。図11の例においては、フィッティングされた点線で示す曲線により、9番目と10番目との間である仮想的な9.38番目の撮影画像において、光の強度が最大になることが推定される。 As shown in FIG. 11, a scatter diagram is obtained by illustrating the light intensity of each pixel of the captured image corresponding to the number of the captured image. By fitting a Gaussian curve, a spline curve, or a parabola to the obtained scatter diagram, it is possible to estimate the number (number) of the captured image when the light intensity is maximum with an accuracy of less than 1. In the example of FIG. 11, the fitted curved line indicates that the light intensity is maximized in the virtual 9.38th captured image between the 9th and 10th images. ..

また、フィッティングされた曲線により、光の強度の最大値を推定することができる。測定対象物Sの各部分において推定された光の強度が最大となる撮影画像の番号に基づいて、測定対象物Sの各部分の高さhを算出することができる。この方法によれば、S/N(信号/ノイズ)比が十分に大きい光の強度に基づいて、測定対象物Sの三次元的な形状が測定される。これにより、測定対象物Sの形状測定の精度を向上させることができる。 Moreover, the maximum value of the light intensity can be estimated from the fitted curve. The height h of each portion of the measuring object S can be calculated based on the number of the captured image where the light intensity estimated in each portion of the measuring object S is maximum. According to this method, the three-dimensional shape of the measuring object S is measured based on the intensity of light having a sufficiently high S/N (signal/noise) ratio. Thereby, the accuracy of the shape measurement of the measuring object S can be improved.

なお、正弦波状測定光または縞状測定光等の周期的なパターン形状を有する測定光を用いた測定対象物Sの形状測定においては、測定対象物Sの表面の各部分の相対的な高さ(高さの相対値)が測定される。これは、パターンを形成するY方向に平行な複数の直線(縞)の各々を識別することができず、複数の直線の1周期(2π)の整数倍に相当する不確かさが存在することにより、絶対位相が求まらないからである。そのため、測定対象物Sの一の部分の高さとその部分に隣接する部分の高さが連続的に変化しているという仮定に基づいて、測定された高さのデータに公知のアンラッピング処理が行われてもよい。 In the shape measurement of the measurement object S using the measurement light having a periodic pattern shape such as the sinusoidal measurement light or the striped measurement light, the relative height of each part of the surface of the measurement object S is measured. (Relative value of height) is measured. This is because it is not possible to identify each of a plurality of straight lines (stripe) parallel to the Y direction that form a pattern, and there is an uncertainty corresponding to an integral multiple of one period (2π) of the plurality of straight lines. , Because the absolute phase cannot be obtained. Therefore, a known unwrapping process is performed on the measured height data based on the assumption that the height of one portion of the measuring object S and the height of a portion adjacent to the portion continuously change. May be done.

(5)測定光の第4のパターン
図12は、測定光の第4のパターンを説明するための図である。図12に示すように、第4のパターンとして、Y方向に平行な直線状の断面を有しかつ明部分と暗部分とがX方向に並ぶ測定光(以下、コード状測定光と呼ぶ)が投光部110から複数回(本例においては4回)出射される。コード状測定光の明部分および暗部分の割合は、それぞれ50%である。
(5) Fourth Pattern of Measuring Light FIG. 12 is a diagram for explaining the fourth pattern of measuring light. As shown in FIG. 12, as the fourth pattern, measurement light (hereinafter, referred to as code measurement light) having a linear cross section parallel to the Y direction and having a bright portion and a dark portion aligned in the X direction is used. The light is emitted from the light projecting unit 110 a plurality of times (four times in this example). The proportion of the bright portion and the dark portion of the coded measuring light is 50%, respectively.

本例においては、測定対象物Sの表面がX方向において複数(図12の例では16)の領域に分割される。以下、複数に分割されたX方向における測定対象物Sの領域をそれぞれ第1〜第16の領域と呼ぶ。 In this example, the surface of the measuring object S is divided into a plurality of (16 in the example of FIG. 12) regions in the X direction. Hereinafter, the areas of the measuring object S in the X direction divided into a plurality of areas will be referred to as first to sixteenth areas, respectively.

図12(a)は、1回目に出射されるコード状測定光を示す。1回目に出射されるコード状測定光は、測定対象物Sの第1〜第8の領域に照射される明部分を有する。また、1回目に出射されるコード状測定光は、測定対象物Sの第9〜第16の領域に照射される暗部分を有する。これにより、1回目に出射されるコード状測定光においては、明部分と暗部分とがY方向に平行でかつX方向に並ぶ。また、1回目に出射されるコード状測定光の明部分および暗部分の割合は、それぞれ50%である。 FIG. 12A shows the coded measurement light emitted for the first time. The cord-shaped measurement light emitted for the first time has a bright portion with which the first to eighth regions of the measuring object S are irradiated. In addition, the cord-shaped measurement light emitted for the first time has a dark portion with which the ninth to sixteenth regions of the measuring object S are irradiated. As a result, in the coded measurement light emitted for the first time, the bright portion and the dark portion are parallel to the Y direction and aligned in the X direction. Further, the ratio of the bright portion and the dark portion of the code-shaped measuring light emitted the first time is 50%.

図12(b)は、2回目に出射されるコード状測定光を示す。2回目に出射されるコード状測定光は、測定対象物Sの第5〜第12の領域に照射される明部分を有する。また、2回目に出射されるコード状測定光は、測定対象物Sの第1〜第4および第13〜第16の領域に照射される暗部分を有する。これにより、2回目に出射されるコード状測定光においては、明部分と暗部分とがY方向に平行でかつX方向に並ぶ。また、2回目に出射されるコード状測定光の明部分および暗部分の割合は、それぞれ50%である。 FIG. 12B shows the coded measurement light emitted for the second time. The coded measurement light emitted for the second time has a bright portion with which the fifth to twelfth regions of the measuring object S are irradiated. In addition, the cord-shaped measurement light emitted the second time has a dark portion which is irradiated to the first to fourth and thirteenth to sixteenth regions of the measuring object S. As a result, in the coded measurement light emitted the second time, the bright portion and the dark portion are parallel to the Y direction and aligned in the X direction. Further, the ratio of the bright portion and the dark portion of the cord-shaped measuring light emitted the second time is 50%.

図12(c)は、3回目に出射されるコード状測定光を示す。3回目に出射されるコード状測定光は、測定対象物Sの第1、第2、第7〜第10、第15および第16の領域に照射される明部分を有する。また、3回目に出射されるコード状測定光は、測定対象物Sの第3〜第6および第11〜第14の領域に照射される暗部分を有する。これにより、3回目に出射されるコード状測定光においては、明部分と暗部分とがY方向に平行でかつX方向に並ぶ。また、3回目に出射されるコード状測定光の明部分および暗部分の割合は、それぞれ50%である。 FIG. 12C shows the coded measurement light emitted for the third time. The coded measurement light emitted for the third time has a bright portion that is irradiated to the first, second, seventh to tenth, fifteenth, and sixteenth regions of the measuring object S. In addition, the coded measurement light emitted for the third time has a dark portion that is irradiated to the third to sixth and first to fourteenth regions of the measuring object S. As a result, in the coded measurement light emitted the third time, the bright portion and the dark portion are parallel to the Y direction and aligned in the X direction. Further, the ratio of the bright portion and the dark portion of the code-like measuring light emitted the third time is 50%.

図12(d)は、4回目に出射されるコード状測定光を示す。4回目に出射されるコード状測定光は、測定対象物Sの第1、第4、第5、第8、第9、第12、第13および第16の領域に照射される明部分を有する。また、4回目に出射されるコード状測定光は、測定対象物Sの第2、第3、第6、第7、第10、第11、第14および第15の領域に照射される暗部分を有する。これにより、4回目に出射されるコード状測定光においては、明部分と暗部分とがY方向に平行でかつX方向に並ぶ。また、4回目に出射されるコード状測定光の明部分および暗部分の割合は、それぞれ50%である。 FIG. 12D shows the coded measurement light emitted for the fourth time. The cord-shaped measurement light emitted for the fourth time has a bright portion with which the first, fourth, fifth, eighth, ninth, twelfth, thirteenth, and sixteenth areas of the measuring object S are irradiated. .. In addition, the code-shaped measurement light emitted for the fourth time is a dark portion irradiated to the second, third, sixth, seventh, tenth, eleventh, fourteenth, and fifteenth regions of the measuring object S. Have. As a result, in the coded measurement light emitted for the fourth time, the bright portion and the dark portion are parallel to the Y direction and aligned in the X direction. Further, the ratio of the bright portion and the dark portion of the code-like measurement light emitted the fourth time is 50%.

コード状測定光の明部分に論理“1”が割り当てられ、コード状測定光の暗部分に論理“0”が割り当てられる。また、測定対象物Sの各領域に照射される1回目〜4回目のコード状測定光の論理の並びを符号と呼ぶ。この場合、測定対象物Sの第1の領域には、符号“1011”のコード状測定光が照射される。これにより、測定対象物Sの第1の領域は、符号“1011”に符号化される。 A logic "1" is assigned to the bright portion of the coded measurement light, and a logic "0" is assigned to the dark portion of the coded measurement light. Further, the logical arrangement of the first to fourth coded measurement lights with which each region of the measurement object S is irradiated is referred to as a code. In this case, the first region of the measuring object S is irradiated with the coded measuring light of the code “1011”. As a result, the first region of the measuring object S is encoded as the code “1011”.

測定対象物Sの第2の領域には、符号“1010”のコード状測定光が照射される。これにより、測定対象物Sの第2の領域は、符号“1010”に符号化される。測定対象物Sの第3の領域には、符号“1000”のコード状測定光が照射される。これにより、測定対象物Sの第3の領域は、符号“1000”に符号化される。同様に、測定対象物Sの第16の領域には、符号“0011”のコード状測定光が照射される。これにより、測定対象物Sの第16の領域は、符号“0011”に符号化される。 The second region of the measuring object S is irradiated with the coded measurement light of the code “1010”. As a result, the second region of the measuring object S is encoded as the code “1010”. The third region of the measuring object S is irradiated with the coded measuring light with the code “1000”. As a result, the third region of the measuring object S is encoded with the code “1000”. Similarly, the sixteenth region of the measuring object S is irradiated with the coded measuring light having the code “0011”. As a result, the 16th region of the measuring object S is encoded with the code “0011”.

このように、測定対象物Sの隣り合う領域の間では、符号のいずれかの桁が“1”のみ異なるようにコード状測定光が測定対象物Sに複数回照射される。すなわち、コード状測定光は、明部分および暗部分がグレイコード状に変化するように、複数回測定対象物Sに照射される。 In this way, between the adjacent regions of the measuring object S, the measuring object S is irradiated with the coded measuring light a plurality of times such that any one digit of the codes is different by "1". That is, the coded measurement light is applied to the measurement object S a plurality of times such that the bright portion and the dark portion change into a gray code.

測定対象物Sの表面の各領域で反射された光が受光部120により受光される。受光された光の符号を測定することにより、測定対象物Sの領域ごとに、測定対象物Sが存在することにより変化した符号が得られる。得られた符号と領域ごとに測定対象物Sが存在しない場合の符号との差分を求めることにより、図7の距離dに相当する距離を算出することができる。ここで、画像におけるX軸方向には、上記の符号は1回のみ出現するというコード状測定光を用いた測定方法の特徴から、距離dの絶対的な値が算出される。これにより、測定対象物Sのその領域の絶対的な高さ(高さの絶対値)が算出される。測定対象物Sの表面上の全ての領域の高さを算出することにより、測定対象物Sの三次元的な形状を測定することができる。 The light reflected by each region of the surface of the measuring object S is received by the light receiving unit 120. By measuring the sign of the received light, the sign changed due to the existence of the measurement object S can be obtained for each region of the measurement object S. The distance corresponding to the distance d in FIG. 7 can be calculated by obtaining the difference between the obtained code and the code when the measurement object S does not exist for each region. Here, the absolute value of the distance d is calculated from the characteristic of the measuring method using the coded measuring light that the above code appears only once in the X-axis direction in the image. Thereby, the absolute height (absolute value of height) of the region of the measuring object S is calculated. By calculating the heights of all the regions on the surface of the measuring object S, the three-dimensional shape of the measuring object S can be measured.

上記の説明においては、測定対象物Sの表面がX方向において16の領域に分割され、コード状測定光が投光部110から4回出射されたが、これに限定されない。測定対象物Sの表面がX方向において2の領域(Nは自然数)に分割され、コード状測定光が投光部110からN回出射されてもよい。上記の説明においては、理解を容易にするためにNは4に設定されている。後述の形状測定処理においては、Nは例えば8に設定される。したがって、測定対象物Sの表面はX方向において256の領域に分割される。 In the above description, the surface of the measuring object S is divided into 16 regions in the X direction, and the coded measuring light is emitted from the light projecting unit 110 four times, but the present invention is not limited to this. The surface of the measuring object S may be divided into 2 N regions (N is a natural number) in the X direction, and the coded measuring light may be emitted N times from the light projecting unit 110. In the above description, N is set to 4 for ease of understanding. In the shape measuring process described later, N is set to 8, for example. Therefore, the surface of the measuring object S is divided into 256 regions in the X direction.

コード状測定光を用いた測定対象物Sの形状測定においては、コード状測定光を分離して識別可能な距離、すなわち1画素分に相当する距離が最小の分解能となる。したがって、受光部120のX方向における視野の画素数が1024画素である場合、高さが例えば10mmの測定対象物Sを10mm÷1024≒10μmの分解能で計測することができる。分解能は低いが絶対値を算出可能なコード状測定光を用いた形状測定と絶対値を算出できないが分解能が高い正弦波状測定光または縞状測定光を用いた形状測定とを組み合わせることにより、測定対象物Sの高さの絶対値をより高い分解能で算出することができる。 In the shape measurement of the measuring object S using the coded measurement light, the minimum resolution is a distance at which the coded measurement light can be separated and identified, that is, a distance corresponding to one pixel. Therefore, when the number of pixels in the visual field of the light receiving unit 120 in the X direction is 1024 pixels, the measurement target S having a height of 10 mm can be measured with a resolution of 10 mm÷1024≈10 μm. Measurement is performed by combining shape measurement using a coded measurement light that has a low resolution but can calculate an absolute value with shape measurement that uses a sinusoidal measurement light or a striped measurement light that cannot calculate an absolute value but has a high resolution. The absolute value of the height of the object S can be calculated with higher resolution.

特に、図10の縞状測定光を用いた測定対象物Sの形状測定においては、分解能を1/100画素にすることができる。なお、1/100画素の分解能は、受光部120のX方向における視野の画素数が1024画素である場合、測定対象物Sの表面をX方向において約100000の領域に分割すること(すなわちN≒17)に相当する。そのため、コード状測定光を用いた形状測定と縞状測定光を用いた形状測定と組み合わせることにより、測定対象物Sの高さの絶対値をさらに高い分解能で算出することができる。 In particular, in the shape measurement of the measuring object S using the striped measuring light in FIG. 10, the resolution can be set to 1/100 pixel. Note that the resolution of 1/100 pixel is to divide the surface of the measuring object S into approximately 100,000 regions in the X direction when the number of pixels in the visual field of the light receiving unit 120 in the X direction is 1024 pixels (that is, N≈). It corresponds to 17). Therefore, the absolute value of the height of the measuring object S can be calculated with higher resolution by combining the shape measurement using the cord-shaped measurement light and the shape measurement using the striped measurement light.

上述のライン状測定光を測定対象物S上で走査する方法は一般に光切断法と呼ばれる。一方、正弦波状測定光、縞状測定光またはコード状測定光を測定対象物Sに照射する方法は、パターン投影法に分類される。また、パターン投影法の中でも、正弦波状測定光または縞状測定光を測定対象物Sに照射する方法は位相シフト法に分類され、コード状測定光を測定対象物Sに照射する方法は空間コード法に分類される。 The method of scanning the measuring object S with the above-mentioned line-shaped measuring light is generally called a light section method. On the other hand, the method of irradiating the measuring object S with the sinusoidal measurement light, the striped measurement light or the coded measurement light is classified into the pattern projection method. Further, among the pattern projection methods, the method of irradiating the measuring object S with the sinusoidal measuring light or the striped measuring light is classified into the phase shift method, and the method of irradiating the measuring object S with the code measuring light is a spatial code. Classified as law.

位相シフト法においては、周期的な投影パターンである正弦波状測定光または縞状測定光を出射した際に、測定対象物Sが存在しない場合の基準高さ位置から反射した受光量に基づいて計算された位相と、測定対象物Sが存在する場合の測定対象物S表面から反射した受光量に基づいて計算された位相との位相差から測定対象物Sの高さを求める。位相シフト法においては、個々の周期的な縞が区別できず、縞1周期分(2π)の整数倍に相当する不確かさが存在するため、絶対位相が求まらないという欠点がある。しかしながら、光切断法に比べて取得する画像の枚数が少ないため測定時間が比較的短く、測定分解能が高いという長所がある。 In the phase shift method, calculation is performed based on the amount of received light reflected from the reference height position when the measurement target S does not exist when the sinusoidal measurement light or the striped measurement light that is a periodic projection pattern is emitted. The height of the measurement target S is obtained from the phase difference between the calculated phase and the phase calculated based on the amount of light received reflected from the surface of the measurement target S when the measurement target S is present. In the phase shift method, individual periodic fringes cannot be distinguished, and there is an uncertainty corresponding to an integer multiple of one fringe period (2π). Therefore, the absolute phase cannot be obtained. However, compared to the light section method, the number of images to be acquired is smaller, so that the measurement time is relatively short and the measurement resolution is high.

一方、空間コード法おいては、測定対象物Sの領域ごとに、測定対象物Sが存在することによって変化した符号が得られる。得られた符号と測定対象物Sが存在しない場合の符号との差分を領域ごとに求めることにより、測定対象物Sの絶対的な高さを求めることができる。空間コード法においても、比較的少数の画像により測定が可能であり、絶対的な高さを求めることができるという長所がある。しかしながら、位相シフト法に比べると測定分解能に限界がある。 On the other hand, in the spatial code method, a code changed due to the existence of the measurement object S is obtained for each region of the measurement object S. The absolute height of the measurement object S can be obtained by obtaining the difference between the obtained code and the code when the measurement object S does not exist for each region. The spatial code method also has an advantage that it is possible to measure with a relatively small number of images and it is possible to obtain an absolute height. However, the measurement resolution is limited as compared with the phase shift method.

これらの投影法は、各々短所および長所を有しているが、いずれも三角測距の原理を用いている点は共通である。上記のような複数のパターンのうち1または複数のパターンの測定光が投影された測定対象物Sの画像データ(以下、パターン画像データと呼ぶ)に基づいて、測定対象物Sの立体形状を表す点群(ポイントクラウド)データが生成される。 Although these projection methods have their respective drawbacks and advantages, they all have the common point that they use the principle of triangulation. The three-dimensional shape of the measurement object S is represented based on the image data (hereinafter, referred to as pattern image data) of the measurement object S onto which the measurement light of one or more patterns among the plurality of patterns as described above is projected. Point cloud data is generated.

以下の説明では、測定対象物Sの立体形状を表す点群データを立体形状データと呼ぶ。立体形状データは、測定対象物Sの表面上の複数の点の位置データを含む。位置データは、例えば、X方向、Y方向およびZ方向における座標を表す。この場合、立体形状データのうち任意の点のデータをPn(nは自然数)とすると、Pnは、例えば装置座標系の座標値を用いて(Xn,Yn,Zn)で表すことができる。なお、立体形状データは、点群データに基づいて生成される面情報データにより構成されてもよく、ポリゴンメッシュ等の他の形式のデータを含んでもよい。立体形状データに基づいて、測定対象物Sの立体形状を表す画像(以下、立体形状画像と呼ぶ)を表示することができる。 In the following description, the point cloud data representing the three-dimensional shape of the measuring object S will be referred to as three-dimensional shape data. The three-dimensional shape data includes position data of a plurality of points on the surface of the measuring object S. The position data represents, for example, coordinates in the X direction, the Y direction, and the Z direction. In this case, if the data of an arbitrary point in the three-dimensional shape data is Pn (n is a natural number), Pn can be represented by (Xn, Yn, Zn) using the coordinate value of the device coordinate system, for example. The three-dimensional shape data may be composed of surface information data generated based on the point cloud data, and may include data in other formats such as a polygon mesh. An image representing the three-dimensional shape of the measuring object S (hereinafter, referred to as a three-dimensional shape image) can be displayed based on the three-dimensional shape data.

本実施の形態においては、立体形状画像は、二次元座標系が定義された任意の平面上に立体形状データが投影された状態を示す画像であり、使用者による計測箇所の指定を受け付けるための画像である。使用者は、測定対象物Sを見る方向(測定対象物Sに対する受光部120の位置)として立体形状データが投影される平面を指定することができる。それにより、立体形状画像により表される測定対象物Sの向きが変化する。 In the present embodiment, the three-dimensional shape image is an image showing a state in which the three-dimensional shape data is projected on an arbitrary plane in which the two-dimensional coordinate system is defined, and is used for receiving the designation of the measurement location by the user. It is an image. The user can specify the plane on which the three-dimensional shape data is projected as the direction in which the measurement target S is viewed (the position of the light receiving unit 120 with respect to the measurement target S). Thereby, the orientation of the measuring object S represented by the three-dimensional image changes.

投光部110および受光部120に対する測定対象物Sの位置および姿勢が一定であると、測定対象物Sの一部にしか測定光が照射されない。また、測定対象物Sの一部で反射される光しか受光部120に入射しない。そのため、測定対象物Sの表面の広範囲に渡る立体形状データを求めることができない。そこで、測定対象物Sの位置または姿勢を変化させることにより、互いに異なる複数の視点で測定対象物Sを撮像し、複数の視点にそれぞれ対応する複数の立体形状データを取得し、取得された複数の立体形状データを合成してもよい。 If the position and orientation of the measuring object S with respect to the light projecting unit 110 and the light receiving unit 120 are constant, only a part of the measuring object S is irradiated with the measuring light. Further, only the light reflected by a part of the measuring object S enters the light receiving unit 120. Therefore, it is not possible to obtain solid shape data over a wide range of the surface of the measuring object S. Therefore, by changing the position or orientation of the measuring object S, the measuring object S is imaged from a plurality of different viewpoints, a plurality of three-dimensional shape data corresponding to each of the plurality of viewpoints is acquired, and the acquired plurality of 3D shape data may be combined.

図13は、複数の視点から測定対象物Sを撮像することにより複数の立体形状データを生成する例を説明するための図である。例えば、図13(a)に示すように、使用者により測定対象物Sの位置および姿勢がステージ140上で調整された後、測定光を用いて測定対象物Sが撮像されることにより最初の立体形状データが生成される。最初の立体形状データに基づく立体形状画像の一例が図13(d)に示される。立体形状データは、測定対象物Sの表面で反射して受光部120に入射する測定光に基づいて生成される。そのため、測定対象物Sの表面のうち受光部120に向けられている部分については立体形状データが生成されるが、受光部120に向けられていない部分については立体形状データを生成することができない。 FIG. 13 is a diagram for explaining an example of generating a plurality of three-dimensional shape data by imaging the measurement target S from a plurality of viewpoints. For example, as shown in FIG. 13A, after the position and orientation of the measuring object S is adjusted by the user on the stage 140, the measuring object S is imaged by using the measurement light. Three-dimensional shape data is generated. An example of a stereoscopic image based on the first stereoscopic shape data is shown in FIG. The three-dimensional shape data is generated based on the measurement light reflected by the surface of the measuring object S and incident on the light receiving unit 120. Therefore, three-dimensional shape data is generated for the portion of the surface of the measuring object S that faces the light receiving unit 120, but three-dimensional shape data cannot be generated for the portion that does not face the light receiving unit 120. ..

そこで、図13(b)に示すように、図2の回転機構143によりステージ140が一定角度回転された後、測定光を用いて測定対象物Sが撮像されることにより2番目の立体形状データが生成される。図13(b)の例では、ステージ140が図13(a)の状態から反時計回りに所定角度回転されている。2番目の立体形状データに基づく立体形状画像の一例が図13(e)に示される。上記のように、ステージ140が回転すると、その回転に伴って測定対象物Sの表面のうち受光部120に向けられる部分が変化する。その結果、最初の撮像時には取得されなかった部分を含む立体形状データが生成される。 Then, as shown in FIG. 13B, after the stage 140 is rotated by a certain angle by the rotation mechanism 143 of FIG. 2, the measurement object S is imaged using the measurement light, so that the second three-dimensional shape data is obtained. Is generated. In the example of FIG. 13B, the stage 140 is rotated counterclockwise by a predetermined angle from the state of FIG. 13A. An example of a stereoscopic image based on the second stereoscopic shape data is shown in FIG. As described above, when the stage 140 rotates, the portion of the surface of the measuring object S facing the light receiving unit 120 changes with the rotation. As a result, three-dimensional shape data including a part that was not acquired at the time of the first imaging is generated.

さらに、図13(c)に示すように、図2の回転機構143によりステージ140が一定角度回転された後、測定光を用いて測定対象物Sが撮像されることにより3番目の立体形状データが生成される。図13(c)の例では、ステージ140が図13(b)の状態から反時計回りに所定角度回転されている。3番目の立体形状データに基づく立体形状画像の一例が図13(f)に示される。 Further, as shown in FIG. 13C, after the stage 140 is rotated by a certain angle by the rotation mechanism 143 of FIG. 2, the measurement object S is imaged using the measurement light, so that the third three-dimensional shape data is obtained. Is generated. In the example of FIG. 13C, the stage 140 is rotated counterclockwise by a predetermined angle from the state of FIG. 13B. An example of a three-dimensional shape image based on the third three-dimensional shape data is shown in FIG.

このようにして、ステージ140の回転および測定対象物Sの撮像が繰り返されることにより、複数の視点に対応する複数の立体形状データが生成される。ステージ140の1回の回転角度およびその回転の回数は、予め定められていてもよく、使用者が任意に指定可能であってもよい。これらの立体形状データが合成されることにより、測定対象物Sの広範囲の立体形状データが生成される。 In this way, the rotation of the stage 140 and the imaging of the measuring object S are repeated, so that a plurality of three-dimensional shape data corresponding to a plurality of viewpoints are generated. The one rotation angle of the stage 140 and the number of rotations thereof may be predetermined, or may be arbitrarily designated by the user. By combining these three-dimensional shape data, a wide range of three-dimensional shape data of the measuring object S is generated.

本実施の形態では、受光部120、投光部110およびステージ140の相対位置が一定であり、これらの相対位置を表すパラメータ(以下、機器パラメータ)が、例えば図1の記憶装置240に予め記憶される。また、図1のステージ駆動部146が回転機構143を駆動する場合、例えばステージ140の回転角度が使用者により予め指定され、記憶された角度に基づいてステージ駆動部146が制御される。この場合、ステージ140の回転角度は、例えば図1のROM220または作業用メモリ230に記憶される。図1のCPU210は、複数の立体形状データを合成する際に、記憶された回転角度および機器パラメータに基づいて、複数の立体形状データの位置合わせを容易にかつ正確に行うことができる。また、位置合わせの詳細設定および補正等を使用者が行ってもよい。 In the present embodiment, the relative positions of the light receiving unit 120, the light projecting unit 110, and the stage 140 are constant, and parameters (hereinafter, device parameters) representing these relative positions are stored in advance in, for example, the storage device 240 in FIG. 1. To be done. When the stage drive unit 146 of FIG. 1 drives the rotation mechanism 143, for example, the rotation angle of the stage 140 is designated in advance by the user, and the stage drive unit 146 is controlled based on the stored angle. In this case, the rotation angle of the stage 140 is stored in, for example, the ROM 220 or the work memory 230 of FIG. When synthesizing a plurality of three-dimensional shape data, the CPU 210 of FIG. 1 can easily and accurately align the plurality of three-dimensional shape data based on the stored rotation angle and the device parameter. Further, the user may perform detailed setting and correction of alignment.

ステージ140の回転角度を検出するセンサ等が設けられてもよい。この場合、使用者がステージ操作部145を操作してステージ140を回転させる場合であっても、センサによって検出された角度および上記の機器パラメータに基づいて、複数の立体形状データの位置合わせを容易にかつ正確に行うことができる。 A sensor or the like that detects the rotation angle of the stage 140 may be provided. In this case, even when the user operates the stage operation unit 145 to rotate the stage 140, it is easy to align the plurality of three-dimensional shape data on the basis of the angle detected by the sensor and the device parameter. It can be done accurately and accurately.

[3]テクスチャ画像
測定部100においては、照明光出力部130から測定対象物Sに照明光が照射された状態または投光部110A,110Bから測定対象物Sに均一な測定光が照射された状態で、測定対象物Sの外観(表面状態)を表す画像データ(以下、テクスチャ画像データと呼ぶ。)が生成される。均一な測定光とは、パターンを有さない測定光であり、照明光の代わりに用いることができる。測定対象物Sの表面状態は、例えば模様または色彩を含む。以下、テクスチャ画像データにより表される画像をテクスチャ画像と呼ぶ。
[3] Texture Image In the measurement unit 100, the illumination light output unit 130 irradiates the measurement object S with illumination light or the light projecting units 110A and 110B illuminate the measurement object S with uniform measurement light. In this state, image data (hereinafter referred to as texture image data) representing the appearance (surface state) of the measuring object S is generated. The uniform measuring light is a measuring light having no pattern and can be used in place of the illumination light. The surface state of the measuring object S includes, for example, a pattern or a color. Hereinafter, the image represented by the texture image data is referred to as a texture image.

テクスチャ画像データの種々の例について説明する。例えば、測定対象物Sに対して受光部120の焦点位置が相対的に変化されつつ複数のテクスチャ画像データが取得される。その複数のテクスチャ画像データが合成されることにより、測定対象物Sの表面の全体に焦点が合ったテクスチャ画像データ(以下、全焦点テクスチャ画像データと呼ぶ)が生成される。 Various examples of texture image data will be described. For example, a plurality of texture image data are acquired while the focus position of the light receiving unit 120 is relatively changed with respect to the measurement target S. By combining the plurality of texture image data, texture image data in which the entire surface of the measuring object S is in focus (hereinafter referred to as all-focus texture image data) is generated.

また、異なる複数の撮像条件で複数のテクスチャ画像データが取得されてもよい。撮像条件は、例えば、受光部120の露光時間、照明光出力部130からの照明光の強度(明るさ)または投光部110からの均一な測定光の強度(明るさ)等を含む。取得された複数のテクスチャ画像データを用いて公知のハイダイナミック(HDR)合成が行われる。これにより、明るさの差異による黒つぶれおよび白とび等が抑制されたテクスチャ画像データ(以下、HDRテクスチャ画像データと呼ぶ)が生成される。 Moreover, a plurality of texture image data may be acquired under a plurality of different imaging conditions. The imaging conditions include, for example, the exposure time of the light receiving unit 120, the intensity (brightness) of the illumination light from the illumination light output unit 130, the uniform intensity (brightness) of the measurement light from the light projecting unit 110, and the like. Well-known high dynamic (HDR) composition is performed using a plurality of acquired texture image data. As a result, texture image data (hereinafter referred to as HDR texture image data) in which blackout and whiteout due to differences in brightness are suppressed is generated.

また、焦点位置が変化されるとともに撮像条件が変化されてもよい。具体的には、測定対象物Sに対して受光部120の焦点位置が相対的に変化されるとともに、各焦点位置において異なる複数の撮像条件でテクスチャ画像データが取得される。取得された複数のテクスチャ画像データを合成することにより、測定対象物Sの表面の全体に焦点が合い、かつ黒つぶれおよび白とび等が抑制されたテクスチャ画像データを生成することができる。 Further, the imaging condition may be changed as the focus position is changed. Specifically, the focus position of the light receiving unit 120 is relatively changed with respect to the measurement target S, and the texture image data is acquired under a plurality of different imaging conditions at each focus position. By synthesizing a plurality of acquired texture image data, it is possible to generate texture image data in which the entire surface of the measurement target S is in focus and blackout and whiteout are suppressed.

各テクスチャ画像データは、測定対象物Sの各点の色または輝度を表すテクスチャ情報(光学的表面状態を表す情報)を含む。一方、上記の立体形状データは、測定対処物Sのテクスチャ情報を含まない。そこで、立体形状データといずれかのテクスチャ画像データとが合成されることにより、立体形状データにテクスチャ情報が付与されたテクスチャ付き立体形状データが生成される。 Each texture image data includes texture information (information indicating an optical surface state) indicating the color or brightness of each point on the measurement target S. On the other hand, the above-mentioned three-dimensional shape data does not include the texture information of the measured object S. Therefore, the solid shape data and any one of the texture image data are combined to generate textured solid shape data in which texture information is added to the solid shape data.

テクスチャ付き立体形状データは、測定対象物Sの表面上の複数の点の位置データを含むとともに各点の位置データに対応付けられた当該点の色または輝度を示すデータを含む。この場合、テクスチャ付き立体形状データのうち任意の点のデータをTPn(nは自然数)とすると、TPnは、例えば装置座標系の座標値と、赤色、緑色および青色の三原色の成分(R,G,B)とを用いて(Xn,Yn,Zn,Rn,Gn,Bn)で表すことができる。または、TPnは、例えば装置座標系の座標値と、輝度値(I)とを用いて(Xn,Yn,Zn,In)で表すことができる。テクスチャ付き立体形状データは、点群データに基づいて生成される面情報データにより構成されてもよい。 The textured three-dimensional shape data includes position data of a plurality of points on the surface of the measuring object S and data indicating the color or brightness of the point associated with the position data of each point. In this case, if the data of an arbitrary point in the textured solid shape data is TPn (n is a natural number), TPn is, for example, the coordinate value of the device coordinate system and the three primary color components (R, G) of red, green, and blue. , B) and can be represented by (Xn, Yn, Zn, Rn, Gn, Bn). Alternatively, TPn can be represented by (Xn, Yn, Zn, In) using the coordinate value of the device coordinate system and the brightness value (I), for example. The textured three-dimensional shape data may be composed of surface information data generated based on the point cloud data.

以下の説明では、一定の焦点位置および撮像条件で取得されたテクスチャ画像データにより表されるテクスチャ画像を通常テクスチャ画像と呼び、全焦点テクスチャ画像データにより表される画像を全焦点テクスチャ画像と呼び、HDRテクスチャ画像データにより表される画像をHDRテクスチャ画像と呼ぶ。また、テクスチャ付き立体形状データにより表される画像をテクスチャ付き立体形状画像と呼ぶ。 In the following description, the texture image represented by the texture image data acquired in a fixed focus position and imaging conditions is called a normal texture image, the image represented by the omnifocal texture image data is called an omnifocal texture image, An image represented by HDR texture image data is called an HDR texture image. An image represented by textured solid shape data is referred to as a textured solid shape image.

なお、上記のように測定対象物Sの位置または姿勢が異なる複数の立体形状データが生成される場合には、各立体形状データの生成時に、テクスチャ画像データが取得されてもよい。この場合、複数の立体形状データおよび複数のテクスチャ画像データを合成することにより、測定対象物Sの広い範囲の立体形状および表面状態を表すテクスチャ付き立体形状データを生成することができる。 When a plurality of three-dimensional shape data in which the position or orientation of the measuring object S is different is generated as described above, the texture image data may be acquired when generating each three-dimensional shape data. In this case, by combining a plurality of three-dimensional shape data and a plurality of texture image data, it is possible to generate textured three-dimensional shape data representing a wide range of three-dimensional shapes and surface states of the measuring object S.

[4]形状測定処理
(1)形状測定の準備
測定対象物Sの形状測定処理を実行する前に、使用者は、形状測定の準備を行う。図14は、形状測定の準備の手順を示すフローチャートである。以下、図1、図2および図14を参照しながら形状測定の準備の手順を説明する。まず、使用者は、測定対象物Sをステージ140上に載置する(ステップS1)。次に、使用者は、投光部110から測定対象物Sに測定光を照射する(ステップS2)。続いて、使用者は、表示部400に表示されたライブ画像を見ながら、取得されるライブ画像の明るさ、ならびに測定対象物Sの位置および姿勢の調整(以下、第1の調整と呼ぶ)を行う(ステップS3)。ステップS3において取得されるライブ画像の明るさは、測定光の光量および受光部120の露光時間のうち少なくとも一方を変化させることにより調整することができる。本実施の形態では、測定光を用いて取得されるライブ画像の明るさを観察に適した明るさにするために、測定光の光量または受光部120の露光時間のうち一方が調整される。なお、取得されるライブ画像の明るさは、測定光の光量を一定にし、受光部120の露光時間により調整されることが好ましい。それにより、測定光の光量の変化に伴って測定光源111の温度が変化することによる計測精度の低下が抑制される。
[4] Shape measurement processing (1) Preparation for shape measurement Before executing the shape measurement processing of the measurement object S, the user prepares for shape measurement. FIG. 14 is a flowchart showing a procedure for preparation for shape measurement. Hereinafter, the procedure for preparing the shape measurement will be described with reference to FIGS. 1, 2, and 14. First, the user places the measuring object S on the stage 140 (step S1). Next, the user irradiates the measuring object S with the measuring light from the light projecting unit 110 (step S2). Subsequently, the user adjusts the brightness of the acquired live image and the position and orientation of the measurement target S while observing the live image displayed on the display unit 400 (hereinafter, referred to as first adjustment). Is performed (step S3). The brightness of the live image acquired in step S3 can be adjusted by changing at least one of the light amount of the measurement light and the exposure time of the light receiving unit 120. In the present embodiment, in order to make the brightness of the live image acquired using the measurement light suitable for observation, one of the light amount of the measurement light or the exposure time of the light receiving unit 120 is adjusted. The brightness of the acquired live image is preferably adjusted by the exposure time of the light receiving unit 120 while keeping the amount of measurement light constant. As a result, it is possible to suppress a decrease in measurement accuracy due to a change in the temperature of the measurement light source 111 with a change in the amount of measurement light.

ステップS2では、上記の第1〜第4のパターンの測定光のいずれかが測定対象物Sに照射されてもよく、均一な測定光が測定対象物Sに照射されてもよい。ステップS3において、測定対象物Sの計測すべき箇所(以下、計測箇所と呼ぶ)に影が発生していない場合には、使用者は、測定対象物Sの位置および姿勢の調整を行う必要はなく、測定光の光量または受光部120の露光時間の調整を行えばよい。 In step S2, the measurement object S may be irradiated with any of the above-described first to fourth patterns of measurement light, or the measurement object S may be irradiated with uniform measurement light. In step S3, when a shadow of the measurement target S to be measured (hereinafter referred to as a measurement position) does not occur, the user does not need to adjust the position and orientation of the measurement target S. Instead, the light amount of the measurement light or the exposure time of the light receiving unit 120 may be adjusted.

次に、使用者は、測定光の照射を停止するとともに、照明光出力部130から測定対象物Sに照明光を照射する(ステップS4)。続いて、使用者は、表示部400に表示されたライブ画像を見ながら、照明光の光量または受光部120の露光時間の調整(以下、第2の調整と呼ぶ)を行う(ステップS5)。ステップS5において取得されるライブ画像の明るさは、基本的にステップS3の例と同様に、照明光の光量および受光部120の露光時間のうち少なくとも一方を変化させることにより調整することができる。本実施の形態では、照明光を用いて取得されるライブ画像の明るさを観察に適した明るさにするために、照明光の光量または受光部120の露光時間のうち一方が調整される。 Next, the user stops the irradiation of the measurement light and irradiates the measurement object S with the illumination light from the illumination light output unit 130 (step S4). Subsequently, the user adjusts the light amount of the illumination light or the exposure time of the light receiving unit 120 (hereinafter, referred to as second adjustment) while watching the live image displayed on the display unit 400 (step S5). The brightness of the live image acquired in step S5 can be adjusted by changing at least one of the light amount of illumination light and the exposure time of the light receiving unit 120, basically as in the example of step S3. In the present embodiment, one of the light amount of the illumination light and the exposure time of the light receiving unit 120 is adjusted in order to make the brightness of the live image acquired using the illumination light suitable for observation.

次に、使用者は、表示部400に表示されたライブ画像を確認し、光量、受光部120の露光時間、測定対象物Sの位置および姿勢(以下、観察状態と呼ぶ)が適切であるか否かを判定する(ステップS6)。ステップS6においては、測定対象物Sに測定光が照射されてもよく、照明光が照射されてもよく、または測定光および照明光が順に照射されてもよい。 Next, the user confirms the live image displayed on the display unit 400, and determines whether the light amount, the exposure time of the light receiving unit 120, and the position and orientation of the measurement target S (hereinafter, referred to as an observation state) are appropriate. It is determined whether or not (step S6). In step S6, the measurement target S may be irradiated with the measurement light, the irradiation light, or the measurement light and the illumination light may be sequentially irradiated.

ステップS6において、観察状態が適切でないと判定した場合、使用者は、ステップS2の処理に戻る。一方、ステップS6において、観察状態が適切であると判定した場合、使用者は、形状測定の準備を終了する。 When it is determined in step S6 that the observation state is not appropriate, the user returns to the process of step S2. On the other hand, when it is determined in step S6 that the observation state is appropriate, the user ends preparation for shape measurement.

なお、上記の説明においては、第1の調整の後に第2の調整が行われるが、これに限定されない。第2の調整の後に第1の調整が行われてもよい。この場合、使用者は、第2の調整において測定対象物Sの位置および姿勢を調整し、第1の調整時に測定対象物Sの所望の部分に測定光が照射されていることを確認してもよい。測定対象物Sの所望の部分に測定光が照射されていない場合には、測定対象物Sの位置および姿勢を再調整し、再度第2の調整として照明光の光量または受光部120の露光時間の調整等を行ってもよい。 In the above description, the second adjustment is performed after the first adjustment, but the present invention is not limited to this. The first adjustment may be performed after the second adjustment. In this case, the user adjusts the position and orientation of the measurement target S in the second adjustment, and confirms that the desired portion of the measurement target S is irradiated with the measurement light during the first adjustment. Good. When the measurement light is not applied to the desired portion of the measurement object S, the position and the posture of the measurement object S are readjusted, and the light amount of the illumination light or the exposure time of the light receiving unit 120 is again adjusted as the second adjustment. May be adjusted.

(2)第1の調整
図15および図16は、形状測定の準備の手順における第1の調整の詳細を示すフローチャートである。以下、図1、図2、図15および図16を参照しながら形状測定の準備の手順における第1の調整の詳細を説明する。以下、投光部110A,110Bのうち一方から出射される測定光を一方の測定光と呼び、他方から出射される測定光を他方の測定光と呼ぶ。ここで、本実施の形態に係る測定部100においては、一方および他方の測定光の光量をそれぞれ独立して設定することができる。また、一方の測定光を用いて測定対象物Sを撮像する際の受光部120の露光時間と、他方の測定光を用いて測定対象物Sを撮像する際の受光部120の露光時間とをそれぞれ独立して設定することができる。
(2) First Adjustment FIGS. 15 and 16 are flowcharts showing the details of the first adjustment in the procedure for the preparation for shape measurement. Hereinafter, the details of the first adjustment in the procedure for the shape measurement preparation will be described with reference to FIGS. 1, 2, 15, and 16. Hereinafter, the measurement light emitted from one of the light projecting units 110A and 110B will be referred to as one measurement light, and the measurement light emitted from the other will be referred to as the other measurement light. Here, in the measurement unit 100 according to the present embodiment, the light amounts of the one and the other measurement lights can be set independently. In addition, the exposure time of the light receiving unit 120 when the measurement object S is imaged using one measurement light and the exposure time of the light receiving unit 120 when the measurement object S is imaged using the other measurement light are Each can be set independently.

まず、使用者は、取得されるライブ画像の明るさを観察に適した明るさにするために、一方の測定光の光量または受光部120の露光時間を仮調整する(ステップS11)。次に、使用者は、表示部400に表示される測定対象物Sのライブ画像の倍率(以下、視野サイズと呼ぶ)を調整する(ステップS12)。具体的には、倍率が異なる複数の受光部120が用いられる場合、使用者は、いずれかの受光部120を選択する。それにより、選択された受光部120により取得されるライブ画像が表示部400に表示される。低倍率の受光部120が選択されるときの視野サイズは、高倍率の受光部120が選択されるときの視野サイズよりも大きくなる。なお、測定部100は、デジタルズーム機能を有してもよい。この場合、使用者は、受光部120により取得されるライブ画像の表示倍率を調整することができる。 First, the user provisionally adjusts the light amount of one measurement light or the exposure time of the light receiving unit 120 in order to make the brightness of the obtained live image suitable for observation (step S11). Next, the user adjusts the magnification of the live image of the measurement target S displayed on the display unit 400 (hereinafter referred to as the field size) (step S12). Specifically, when a plurality of light receiving units 120 having different magnifications are used, the user selects any one of the light receiving units 120. Thereby, the live image acquired by the selected light receiving unit 120 is displayed on the display unit 400. The visual field size when the low-magnification light receiving unit 120 is selected is larger than the visual field size when the high-magnification light receiving unit 120 is selected. The measuring unit 100 may have a digital zoom function. In this case, the user can adjust the display magnification of the live image acquired by the light receiving unit 120.

続いて、使用者は、表示部400に表示されるライブ画像に基づいて、測定対象物Sの位置および姿勢が適切であるか否かを判定する(ステップS13)。ここで、測定対象物Sの計測箇所に影が発生していない場合、使用者は、測定対象物Sの位置および姿勢が適切であると判断する。一方、測定対象物Sの計測箇所に影が発生している場合、使用者は、測定対象物Sの位置および姿勢が適切でないと判断する。 Subsequently, the user determines whether or not the position and orientation of the measuring object S are appropriate based on the live image displayed on the display unit 400 (step S13). Here, when the shadow is not generated at the measurement location of the measurement target S, the user determines that the position and orientation of the measurement target S are appropriate. On the other hand, when a shadow is generated at the measurement location of the measurement object S, the user determines that the position and orientation of the measurement object S are not appropriate.

ステップS13において、測定対象物Sの位置および姿勢が適切でないと判定した場合、使用者は、測定対象物Sの位置および姿勢を調整する(ステップS14)。具体的には、使用者は、回転機構143によってステージ140を回転させる、または手で測定対象物Sを動かすことにより、測定対象物Sの位置および姿勢を調整する。その後、使用者は、ステップS13の処理に戻る。 When it is determined in step S13 that the position and orientation of the measurement target S are not appropriate, the user adjusts the position and orientation of the measurement target S (step S14). Specifically, the user adjusts the position and orientation of the measuring object S by rotating the stage 140 with the rotating mechanism 143 or moving the measuring object S by hand. After that, the user returns to the process of step S13.

一方、ステップS13において、測定対象物Sの位置および姿勢が適切であると判定した場合、使用者は、表示部400に表示されるライブ画像に基づいて、取得されるライブ画像の明るさが観察に適した明るさであるか否か、すなわち測定対象物Sに照射される一方の測定光の光量または受光部120の露光時間が適切であるか否かを判定する(ステップS15)。 On the other hand, when it is determined in step S13 that the position and orientation of the measuring object S are appropriate, the user observes the brightness of the acquired live image based on the live image displayed on the display unit 400. It is determined whether or not the brightness is suitable for the measurement target S, that is, whether the light amount of one of the measurement lights or the exposure time of the light receiving unit 120 that is irradiated on the measurement target S is appropriate (step S15).

ステップS15において、一方の測定光の光量または受光部120の露光時間が適切でないと判定した場合、使用者は、一方の測定光の光量または受光部120の露光時間を調整する(ステップS16)。その後、使用者は、ステップS15の処理に戻る。 When it is determined in step S15 that the light amount of one measurement light or the exposure time of the light receiving unit 120 is not appropriate, the user adjusts the light amount of one measurement light or the exposure time of the light receiving unit 120 (step S16). Then, the user returns to the process of step S15.

一方、ステップS15において、一方の測定光の光量または受光部120の露光時間が適切であると判定した場合、使用者は、表示部400に表示されたライブ画像から、観察状態が適切であるか否かを判定する(ステップS17)。ステップS17において、観察状態が適切でないと判定した場合、使用者は、ステップS14またはステップS16の処理に戻る。具体的には、観察状態のうち測定対象物Sの位置および姿勢が適切でないと判定した場合、使用者は、ステップS14の処理に戻る。観察状態のうち光(一方の測定光)の光量または受光部120の露光時間が適切でないと判定した場合、使用者は、ステップS16の処理に戻る。 On the other hand, when it is determined in step S15 that the light amount of one of the measurement lights or the exposure time of the light receiving unit 120 is appropriate, the user determines whether the observation state is appropriate from the live image displayed on the display unit 400. It is determined whether or not (step S17). When it is determined in step S17 that the observation state is not appropriate, the user returns to the process of step S14 or step S16. Specifically, when it is determined that the position and orientation of the measuring object S is not appropriate in the observation state, the user returns to the process of step S14. When it is determined that the light amount of the light (one measurement light) or the exposure time of the light receiving unit 120 is not appropriate in the observation state, the user returns to the process of step S16.

一方、ステップS17において、観察状態が適切であると判定した場合、使用者は、一方の測定光の照射を停止するとともに、他方の投光部110Bから測定対象物Sに測定光を照射する(図16のステップS18)。続いて、使用者は、表示部400に表示されたライブ画像を見ながら、取得されるライブ画像の明るさを観察に適した明るさにするために、他方の測定光の光量または受光部120の露光時間の調整を行う(ステップS19)。 On the other hand, when it is determined in step S17 that the observation state is appropriate, the user stops the irradiation of one measurement light and irradiates the measurement object S with the measurement light from the other light projecting unit 110B ( Step S18 of FIG. 16). Subsequently, while viewing the live image displayed on the display unit 400, the user sets the light amount of the other measurement light or the light receiving unit 120 in order to make the brightness of the obtained live image suitable for observation. The exposure time is adjusted (step S19).

その後、使用者は、表示部400に表示されるライブ画像に基づいて、取得されるライブ画像の明るさが観察に適した明るさであるか否か、すなわち他方の測定光の光量または受光部120の露光時間が適切であるか否かを判定する(ステップS20)。ステップS20において、他方の測定光の光量または受光部120の露光時間が適切でないと判定した場合、使用者は、ステップS19の処理に戻る。一方、ステップS20において、他方の測定光の光量または受光部120の露光時間が適切であると判定した場合、使用者は、第1の調整を終了する。第1の調整が行われることにより、立体形状データを生成するために最適な一方および他方の測定光の光量条件、または一方および他方の測定光にそれぞれ対応する受光部120の露光時間の条件が設定される。なお、他方の投光部110Bを使用しない場合には、使用者は、ステップS17の処理の後、ステップS18〜S20の手順を省略して第1の調整を終了してもよい。 Then, based on the live image displayed on the display unit 400, the user determines whether the brightness of the acquired live image is suitable for observation, that is, the light amount of the other measurement light or the light receiving unit. It is determined whether the exposure time of 120 is appropriate (step S20). When it is determined in step S20 that the light amount of the other measurement light or the exposure time of the light receiving unit 120 is not appropriate, the user returns to the process of step S19. On the other hand, in step S20, when it is determined that the light amount of the other measurement light or the exposure time of the light receiving unit 120 is appropriate, the user ends the first adjustment. By performing the first adjustment, the optimal light amount condition of the one and the other measurement light for generating the three-dimensional shape data, or the exposure time condition of the light receiving unit 120 corresponding to the one and the other measurement light, respectively, can be obtained. Is set. If the other light projecting unit 110B is not used, the user may omit the procedure of steps S18 to S20 and end the first adjustment after the process of step S17.

(3)第2の調整
図17は、形状測定の準備の手順における第2の調整の詳細を示すフローチャートである。以下、図1、図2および図17を参照しながら形状測定の準備の手順における第2の調整の詳細を説明する。ここで、本実施の形態に係る測定部100においては、照明光の光量を一方および他方の測定光の光量から独立して設定することができる。また、照明光を用いて測定対象物Sを撮像する際の受光部120の露光時間を、一方および他方の測定光を用いて測定対象物Sを撮像する際の受光部120の露光時間から独立して設定することができる。
(3) Second Adjustment FIG. 17 is a flowchart showing details of the second adjustment in the procedure for the preparation for shape measurement. Hereinafter, the details of the second adjustment in the procedure for the shape measurement preparation will be described with reference to FIGS. 1, 2, and 17. Here, in measurement unit 100 according to the present embodiment, the light amount of the illumination light can be set independently of the light amounts of the one and the other measurement lights. In addition, the exposure time of the light receiving unit 120 when the measurement target S is imaged using the illumination light is independent of the exposure time of the light reception unit 120 when the measurement target S is imaged using one or the other measurement light. Can be set.

まず、使用者は、取得されるライブ画像の明るさを観察に適した明るさにするために、照明光の光量または受光部120の露光時間を調整する(ステップS31)。次に、使用者は、表示部400に表示されるライブ画像に基づいて、取得されるライブ画像の明るさが観察に適した明るさであるか否か、すなわち測定対象物Sに照射される照明光の光量または受光部120の露光時間が適切であるか否かを判定する(ステップS32)。 First, the user adjusts the light amount of the illumination light or the exposure time of the light receiving unit 120 in order to make the brightness of the acquired live image suitable for observation (step S31). Next, based on the live image displayed on the display unit 400, the user determines whether or not the brightness of the acquired live image is suitable for observation, that is, the measurement target S is illuminated. It is determined whether the amount of illumination light or the exposure time of the light receiving unit 120 is appropriate (step S32).

ステップS32において、照明光の光量または受光部120の露光時間が適切でないと判定した場合、使用者は、ステップS31の処理に戻る。一方、ステップS32において、照明光の光量または受光部120の露光時間が適切であると判定した場合、使用者は、表示すべきテクスチャ画像の種類を選択し(ステップS33)、第2の調整を終了する。テクスチャ画像の種類は、例えば、通常テクスチャ画像、全焦点テクスチャ画像、HDRテクスチャ画像を含む。第2の調整が行われることにより、テクスチャ画像データを生成するために最適な照明光の光量条件、または照明光に対応する受光部120の露光時間の条件が設定される。 When it is determined in step S32 that the amount of illumination light or the exposure time of the light receiving unit 120 is not appropriate, the user returns to the process of step S31. On the other hand, if it is determined in step S32 that the amount of illumination light or the exposure time of the light receiving unit 120 is appropriate, the user selects the type of texture image to be displayed (step S33) and makes the second adjustment. finish. The types of texture images include, for example, normal texture images, omnifocal texture images, and HDR texture images. By performing the second adjustment, the optimum light amount condition of the illumination light for generating the texture image data or the condition of the exposure time of the light receiving unit 120 corresponding to the illumination light is set.

また、ステップS33において、全焦点テクスチャ画像またはHDRテクスチャ画像が選択された場合には、全焦点テクスチャ画像データまたはHDRテクスチャ画像データを適切に取得するための設定が別途行われてもよい。例えば、全焦点テクスチャ画像が選択された場合には、焦点位置の変化範囲等が設定されてもよい。また、HDRテクスチャ画像データが選択された場合には、撮像条件の詳細等が設定されてもよい。また、これらの設定に基づいて、プレビュー用の全焦点テクスチャ画像またはHDRテクスチャ画像が表示部400に表示されてもよい。 Further, in step S33, when the omnifocal texture image or the HDR texture image is selected, the setting for appropriately acquiring the omnifocal texture image data or the HDR texture image data may be separately performed. For example, when the omnifocal texture image is selected, the change range of the focus position may be set. Further, when HDR texture image data is selected, details of the image capturing condition and the like may be set. In addition, an omnifocal texture image for preview or an HDR texture image may be displayed on the display unit 400 based on these settings.

(4)形状測定処理
図14〜図17の形状測定の準備の後、測定対象物Sの形状測定処理が実行される。図18は、形状測定処理の概要を示すフローチャートである。使用者が、CPU210に形状測定処理の開始を指示すると、CPU210は、第1の調整において設定された光量条件または露光時間の条件に従って、投光部110から測定対象物Sに測定光を照射し、測定光のパターンが投影された測定対象物Sの画像データ(パターン画像データ)を取得する(ステップS41)。取得されたパターン画像データは、作業用メモリ230に記憶される。
(4) Shape Measurement Processing After the preparation for the shape measurement of FIGS. 14 to 17, the shape measurement processing of the measuring object S is executed. FIG. 18 is a flowchart showing an outline of the shape measuring process. When the user instructs the CPU 210 to start the shape measuring process, the CPU 210 irradiates the measuring object S with the measuring light according to the light amount condition or the exposure time condition set in the first adjustment. The image data (pattern image data) of the measuring object S on which the pattern of the measurement light is projected is acquired (step S41). The acquired pattern image data is stored in the work memory 230.

次に、CPU210は、取得したパターン画像データを所定の計測アルゴリズムで処理することにより、測定対象物Sの立体形状を示す立体形状データを生成する(ステップS42)。生成された立体形状データは、作業用メモリ230に記憶される。ステップS41,S42においては、上記のように、複数の視点に対応するパターン画像データが取得され、それらのパターン画像データから生成される複数の立体形状データが合成されてもよい。それにより、測定対象物Sの広い範囲の立体形状データを生成することができる。 Next, the CPU 210 processes the acquired pattern image data with a predetermined measurement algorithm to generate three-dimensional shape data indicating the three-dimensional shape of the measuring object S (step S42). The generated three-dimensional shape data is stored in the work memory 230. In steps S41 and S42, as described above, pattern image data corresponding to a plurality of viewpoints may be acquired, and a plurality of three-dimensional shape data generated from the pattern image data may be combined. Thereby, a wide range of three-dimensional shape data of the measuring object S can be generated.

次に、CPU210は、図17のステップS33で選択されたテクスチャ画像の種類に対応するテクスチャ画像データを取得する(ステップS43)。取得されたテクスチャ画像データは、作業用メモリ230に記憶される。次に、CPU210は、ステップS42で生成された立体形状データとステップS43で取得されたテクスチャ画像データとを合成することにより、テクスチャ付き立体形状データを生成する(ステップS44)。次に、CPU210は、生成された立体形状データまたはテクスチャ付き立体形状データに基づいて、測定対象物Sの立体形状画像またはテクスチャ付き立体形状画像を表示部400に表示させる(ステップS45)。この場合、使用者は、表示すべき画像を適宜選択することができる。ステップS45において、測定対象物Sの計測箇所が適切に表示されていない場合、使用者は、図15〜図17の第1および第2の調整を再度行ってもよい。その後、CPU210は、使用者により設定された計測条件に基づいて、計測箇所の計測を実行する(ステップS46)。計測条件の設定については後述する。これにより、形状測定処理を終了する。 Next, the CPU 210 acquires texture image data corresponding to the type of texture image selected in step S33 of FIG. 17 (step S43). The acquired texture image data is stored in the work memory 230. Next, the CPU 210 generates textured solid shape data by synthesizing the solid shape data generated in step S42 and the texture image data acquired in step S43 (step S44). Next, the CPU 210 displays the three-dimensional image of the measurement object S or the three-dimensional image with texture on the display section 400 based on the generated three-dimensional data or three-dimensional data with texture (step S45). In this case, the user can appropriately select the image to be displayed. In step S45, when the measurement location of the measurement object S is not properly displayed, the user may perform the first and second adjustments of FIGS. 15 to 17 again. After that, the CPU 210 executes the measurement of the measurement location based on the measurement condition set by the user (step S46). The setting of measurement conditions will be described later. This completes the shape measurement process.

[5]標準状態および傾斜正対状態
形状測定処理は、ステージ140の傾斜部402(図6)が水平姿勢にある状態で行われてもよく、傾斜部402が傾斜姿勢にある状態で行われてもよい。測定対象物Sの計測箇所が予め定まっており、その計測箇所が測定対象物Sの限られた範囲にある場合には、測定対象物Sの広い範囲の立体形状データを生成する必要はない。本実施の形態では、傾斜部402が傾斜姿勢にありかつ傾斜部402の傾斜載置面402a(図6)と受光部120の撮像面120a(図5)とが互いに正対する状態で形状測定処理を行うことにより、測定対象物Sの必要な立体形状データを効率良く取得することができ、計測箇所の計測値を容易に取得することができる。傾斜載置面402aと撮像面120aとが正対するとは、傾斜載置面402aと撮像面120aとが互いに平行である場合に限らず、傾斜載置面402aと撮像面120aとが一定範囲内の角度(例えば、10度以下)をなす場合も含む。
[5] Standard State and Inclination Confronting State The shape measurement process may be performed in a state in which the inclined portion 402 (FIG. 6) of the stage 140 is in a horizontal posture, and is performed in a state in which the inclined portion 402 is in an inclined posture. May be. When the measurement location of the measurement target S is predetermined and the measurement location is within the limited range of the measurement target S, it is not necessary to generate the three-dimensional shape data of the wide range of the measurement target S. In the present embodiment, the shape measurement process is performed in a state where the inclined portion 402 is in the inclined posture and the inclined mounting surface 402a (FIG. 6) of the inclined portion 402 and the imaging surface 120a (FIG. 5) of the light receiving unit 120 face each other. By performing the above, it is possible to efficiently acquire the required three-dimensional shape data of the measurement object S, and it is possible to easily acquire the measurement value of the measurement location. The fact that the inclined mounting surface 402a and the imaging surface 120a face each other is not limited to the case where the inclined mounting surface 402a and the imaging surface 120a are parallel to each other, and the inclined mounting surface 402a and the imaging surface 120a are within a certain range. It also includes the case of forming an angle (for example, 10 degrees or less).

以下の説明では、傾斜部402が水平姿勢にある状態を標準状態と呼び、傾斜部402が傾斜姿勢にありかつ傾斜載置面402aが撮像面120aと正対する状態を傾斜正対状態と呼ぶ。なお、標準状態で形状測定処理が行われる場合には、上記の第1および第2の調整は標準状態で行われることが好ましく、傾斜正対状態で形状測定処理が行われる場合には、上記の第1および第2の調整は傾斜正対状態で行われることが好ましい。 In the following description, a state in which the inclined portion 402 is in the horizontal posture is called a standard state, and a state in which the inclined portion 402 is in the inclined posture and the inclined mounting surface 402a faces the imaging surface 120a is called an inclined facing state. When the shape measurement process is performed in the standard state, the first and second adjustments described above are preferably performed in the standard state, and when the shape measurement process is performed in the tilt facing state, the above-mentioned adjustment is performed. It is preferable that the first and second adjustments of (1) and (2) are performed in a tilt facing state.

通常状態での形状測定処理と傾斜正対状態での形状測定処理との違いについて説明する。図19(a)は、標準状態における受光部120と測定対象物Sとの位置関係を示し、図19(b)は、傾斜正対状態における受光部120と測定対象物Sとの位置関係を示す。図19(a)に示すように、標準状態では、水平な載置面142a上に測定対象物Sが載置される。上記のように、受光部120の撮像面120aは、測定対象領域MRに対して斜め下方に向けられる。 The difference between the shape measuring process in the normal state and the shape measuring process in the inclination facing state will be described. FIG. 19A shows the positional relationship between the light receiving unit 120 and the measuring object S in the standard state, and FIG. 19B shows the positional relationship between the light receiving unit 120 and the measuring object S in the tilt facing state. Show. As shown in FIG. 19A, in the standard state, the measuring object S is mounted on the horizontal mounting surface 142a. As described above, the image pickup surface 120a of the light receiving unit 120 is directed obliquely downward with respect to the measurement target region MR.

図19(b)に示すように、傾斜正対状態では、水平面に対して傾斜する傾斜載置面402a上に測定対象物Sが載置される。また、受光部120の撮像面aと傾斜載置面402aとが互いに正対するように、ステージ140の回転位置が調整される。以下、受光部120の撮像面aと傾斜載置面402aとが互いに正対するときのステージ140の回転位置を正対位置と呼ぶ。上記のように、本例では、傾斜載置面402aの傾斜角度D1と撮像面120aの傾斜角度D2とが互いに等しい(図5および図6)。そのため、ステージ140が正対位置にあるときに、受光部120の撮像面120aと傾斜載置面402aとが互いに平行になる。 As shown in FIG. 19B, in the inclined facing state, the measuring object S is placed on the inclined mounting surface 402a inclined with respect to the horizontal plane. Further, the rotational position of the stage 140 is adjusted so that the imaging surface a of the light receiving unit 120 and the inclined mounting surface 402a face each other. Hereinafter, the rotational position of the stage 140 when the imaging surface a of the light receiving unit 120 and the inclined mounting surface 402a face each other is referred to as a facing position. As described above, in this example, the tilt angle D1 of the tilt mounting surface 402a and the tilt angle D2 of the imaging surface 120a are equal to each other (FIGS. 5 and 6). Therefore, when the stage 140 is in the front facing position, the imaging surface 120a of the light receiving unit 120 and the inclined mounting surface 402a are parallel to each other.

本例では、傾斜部402がステージベース141と一体的に設けられているので、傾斜正対状態となるステージ140の回転位置(正対位置)は一定である。正対位置は、例えば図1の記憶装置240に予め記憶される。CPU210は、使用者の指示に基づいて、ステージ140の回転位置を予め記憶された正対位置に調整することができる。 In this example, since the inclined portion 402 is provided integrally with the stage base 141, the rotational position (face-to-face position) of the stage 140 in the tilt-faced state is constant. The facing position is stored in advance in the storage device 240 in FIG. 1, for example. The CPU 210 can adjust the rotational position of the stage 140 to a pre-stored facing position based on a user's instruction.

図20は、測定対象物Sの一例を示す図である。図21(a)は、標準状態で受光部120により撮像される測定対象物Sを示す図である。図21(b)は、傾斜正対状態で受光部120により撮像される測定対象物Sを示す図である。図20の測定対象物Sは、基板B1と、その基板B1上に実装される素子B2,B3とを含む。 FIG. 20 is a diagram showing an example of the measuring object S. FIG. 21A is a diagram showing the measuring object S imaged by the light receiving unit 120 in the standard state. FIG. 21B is a diagram showing the measuring object S imaged by the light receiving unit 120 in the inclination facing state. The measurement object S in FIG. 20 includes a board B1 and elements B2 and B3 mounted on the board B1.

標準状態では、基板B1および素子B2,B3の上面は、載置面142aと略平行であり、受光部120の撮像面120aとは平行でない。そのため、図21(a)に示すように、基板B1および素子B2,B3の上面が受光部120に対して斜めに向けられた状態で測定対象物Sが撮像される。一方、傾斜正対状態では、基板B1および素子B2,B3の上面は、傾斜載置面402aと略平行であり、受光部120の撮像面120aと略平行である。そのため、図21(b)に示すように、基板B1および素子B2,B3の上面が受光部120に対してほぼ正対する状態で測定対象物Sが撮像される。このように、標準状態では鉛直上方に向けられる測定対象物Sの箇所(以下、上面領域と呼ぶ。)が、傾斜正対状態では受光部120に向けられる。そのため、傾斜正対状態では、上面領域の立体形状データが生成される。 In the standard state, the upper surfaces of the substrate B1 and the elements B2, B3 are substantially parallel to the mounting surface 142a and not parallel to the imaging surface 120a of the light receiving unit 120. Therefore, as shown in FIG. 21A, the measurement target S is imaged in a state where the upper surfaces of the substrate B1 and the elements B2 and B3 are oriented obliquely with respect to the light receiving unit 120. On the other hand, in the inclined facing state, the upper surfaces of the substrate B1 and the elements B2 and B3 are substantially parallel to the inclined mounting surface 402a and substantially parallel to the imaging surface 120a of the light receiving unit 120. Therefore, as shown in FIG. 21B, the measurement target S is imaged in a state where the upper surfaces of the substrate B1 and the elements B2 and B3 substantially face the light receiving unit 120. In this way, the portion of the measuring object S that is directed vertically upward in the standard state (hereinafter, referred to as the upper surface region) is directed to the light receiving unit 120 in the inclined facing state. Therefore, in the inclined facing state, the three-dimensional shape data of the upper surface region is generated.

標準状態で立体形状データを生成する場合、1つの立体形状データでは上面領域が適切に表されない場合がある。図21(a)の例では、基板B1の上面の一部が素子B2,B3によって隠れている。そのため、基板B1の上面の一部の立体形状データは得られない。上面領域の立体形状データを適切に得るために、複数の視点に対応する立体形状データを生成し、その複数の立体形状データを合成する必要が生じる。一方、傾斜正対状態では、複数の立体形状データを合成することなく、上面領域の立体形状データを容易に取得することができる。 When the three-dimensional shape data is generated in the standard state, the upper surface region may not be properly represented by one three-dimensional shape data. In the example of FIG. 21A, a part of the upper surface of the substrate B1 is hidden by the elements B2 and B3. Therefore, the three-dimensional shape data of a part of the upper surface of the substrate B1 cannot be obtained. In order to properly obtain the three-dimensional shape data of the upper surface area, it is necessary to generate the three-dimensional shape data corresponding to a plurality of viewpoints and combine the plurality of three-dimensional shape data. On the other hand, in the inclined facing state, it is possible to easily acquire the three-dimensional shape data of the upper surface region without combining a plurality of three-dimensional shape data.

図18のステップS46において、使用者は、表示部400に表示された立体形状画像またはテクスチャ付き立体形状画像を見ながら、計測条件を設定する。計測条件は、計測項目および計測箇所を含む。計測項目は、計測すべきパラメータの種類であり、距離、高さ、直径および面積等を含む。また、計測項目として、計測箇所を特定するための幾何形状(例えば、点、直線、円、面、球、円筒および円錐等)が指定されてもよい。 In step S46 of FIG. 18, the user sets the measurement conditions while viewing the stereoscopic image or the textured stereoscopic image displayed on the display unit 400. The measurement conditions include measurement items and measurement points. The measurement item is the type of parameter to be measured, and includes distance, height, diameter, area, and the like. Further, as the measurement item, a geometric shape (for example, a point, a straight line, a circle, a surface, a sphere, a cylinder, a cone, etc.) for specifying a measurement location may be designated.

計測条件の設定について説明する。以下の説明では、立体形状画像およびテクスチャ付き立体形状画像を対象物画像と総称する。ここでは、計測の基準となる基準面が設定される例を説明する。図22は、基準面の設定時におけるCPU210の動作例を示すフローチャートである。 The setting of measurement conditions will be described. In the following description, the three-dimensional image and the three-dimensional image with texture are collectively referred to as an object image. Here, an example will be described in which a reference plane serving as a measurement reference is set. FIG. 22 is a flowchart showing an operation example of the CPU 210 when setting the reference plane.

使用者は、表示された対象物画像上で基準面とすべき測定対象物Sの面を指定する。例えば、表示部400に対象物画像とともにポインタが表示される。使用者は、操作部250を操作してポインタを移動させ、対象の面をポインタにより指定する。CPU210は、基準面とすべき面が指定されたか否かを判定する(ステップS61)。面が指定されていない場合、CPU210は、ステップS61の処理を繰り返す。 The user specifies the surface of the measuring object S to be the reference surface on the displayed object image. For example, a pointer is displayed on the display unit 400 together with the object image. The user operates the operation unit 250 to move the pointer and designates the target surface with the pointer. The CPU 210 determines whether or not the surface to be the reference surface is designated (step S61). When the surface is not designated, the CPU 210 repeats the process of step S61.

次に、CPU210は、立体形状データに基づいて、指定された面に最も近い平面を抽出し(ステップS62)、抽出された平面を基準面に設定する(ステップS63)。通常、測定対象物Sの各面は、僅かに凹凸を含む、または僅かに湾曲している等、完全な平面ではない。そこで、指定された面と最も一致度が高い仮想的な平面が抽出され、基準面に設定される。次に、CPU210は、設定された基準面に基づいて基準面画像データを生成し、生成された基準面画像データを用いて表示部400に基準面画像を表示する(ステップS64)。基準面画像は、基準面に対して測定対象物Sを垂直に見た2次元的(平面図的)な画像である。すなわち、基準面画像においては、設定された基準面が表示部400の画面と平行になっている。 Next, the CPU 210 extracts the plane closest to the designated plane based on the three-dimensional shape data (step S62), and sets the extracted plane as the reference plane (step S63). Usually, each surface of the measuring object S is not a perfect flat surface because it slightly includes irregularities or is slightly curved. Therefore, a virtual plane having the highest degree of coincidence with the designated plane is extracted and set as the reference plane. Next, the CPU 210 generates reference plane image data based on the set reference plane, and displays the reference plane image on the display unit 400 using the generated reference plane image data (step S64). The reference plane image is a two-dimensional (plan view) image in which the measurement target S is viewed perpendicularly to the reference plane. That is, in the reference plane image, the set reference plane is parallel to the screen of the display unit 400.

図23は、基準面画像の例を示す図である。図23の基準面画像GSにおいては、素子B2の上面が指定され、基準面に設定されている。そのため、素子B2の上面が表示部400の画面と略平行である。図24は、計測条件の設定例について説明するための図である。図24の例では、計測項目として、2線間の距離が指定され、計測箇所として、素子B2の互いに平行な2つの辺L1,L2がそれぞれ指定される。この場合、基準面画像データに基づいて辺L1,L2に対応するエッジが抽出され、計測箇所が設定される。計測項目および計測箇所が指定されると、立体形状データに基づいて、指定された計測項目および計測箇所に対応する計測値が算出され、対象物画像または基準面画像GS上に表示される。詳細には、立体形状データに基づいて生成される基準面画像データに基づいて、計測値が算出される。図24(b)の例では、基準面画像GS上に、辺L1,L2の間の距離として“xx(mm)”が表示される。 FIG. 23 is a diagram showing an example of the reference plane image. In the reference plane image GS of FIG. 23, the upper surface of the element B2 is designated and set as the reference plane. Therefore, the upper surface of the element B2 is substantially parallel to the screen of the display section 400. FIG. 24 is a diagram for explaining an example of setting measurement conditions. In the example of FIG. 24, the distance between two lines is specified as the measurement item, and two parallel sides L1 and L2 of the element B2 are specified as the measurement points. In this case, the edges corresponding to the sides L1 and L2 are extracted based on the reference plane image data, and the measurement points are set. When the measurement item and the measurement point are designated, the measurement values corresponding to the designated measurement item and the measurement point are calculated based on the three-dimensional shape data and displayed on the object image or the reference plane image GS. Specifically, the measurement value is calculated based on the reference plane image data generated based on the three-dimensional shape data. In the example of FIG. 24B, "xx (mm)" is displayed as the distance between the sides L1 and L2 on the reference plane image GS.

本実施の形態では、傾斜正対状態で形状測定処理を行うことにより、位置データの欠落が抑制された上面領域の立体形状データを生成することができる。そのため、複数の立体形状データを合成することなく、傾斜正対状態で生成された上面領域の立体形状データのみを用いて、測定対象物Sを平面図的に適切に表すことができる。それにより、立体形状データの生成に要する時間を短縮することができ、かつ計測箇所の計測を正確に行うことができる。 In the present embodiment, the shape measurement process is performed in the inclined facing state, so that it is possible to generate three-dimensional shape data of the upper surface region in which loss of position data is suppressed. Therefore, it is possible to appropriately represent the measurement object S in a plan view using only the three-dimensional shape data of the upper surface region generated in the inclined facing state without combining a plurality of three-dimensional shape data. As a result, the time required to generate the three-dimensional shape data can be shortened, and the measurement points can be accurately measured.

また、最初に表示される対象物画像における測定対象物Sの向きによっては、基準面を指定するために対象物画像における測定対象物Sの向きを調整する必要がある。例えば、基準面として指定すべき面が対象物画像に現れていない場合には、その面が対象物画像に現れるように対象物画像における測定対象物Sの向きを調整する必要がある。しかしながら、そのような作業を行うために、作業の効率が低下する可能性がある。また、最初に表示されている対象物画像における測定対象物Sの向きによっては、基準面に指定すべき面を直感的に認識することができない可能性がある。 Further, depending on the orientation of the measuring object S in the initially displayed object image, it is necessary to adjust the orientation of the measuring object S in the object image in order to specify the reference plane. For example, when the surface to be designated as the reference surface does not appear in the object image, it is necessary to adjust the orientation of the measuring object S in the object image so that the surface appears in the object image. However, performing such work may reduce the work efficiency. Further, depending on the orientation of the measuring object S in the initially displayed object image, it may not be possible to intuitively recognize the surface to be designated as the reference surface.

そこで、本実施の形態では、形状測定処理によって立体形状データが生成された後、最初に表示される対象物画像における測定対象物Sの向きは、受光部120により撮像される測定対象物Sの向き(受光部120に対する測定対象物Sの相対的な向き)と一致される。例えば、傾斜正対状態で図20の測定対象物Sに対して形状測定処理を行った場合、最初に表示される対象物画像における測定対象物Sの向きが、図21(b)の測定対象物Sの向きと一致される。そのため、上面領域に含まれる測定対象物Sの面(例えば、素子B2の上面)を基準面に指定する場合、使用者は、対象物画像における測定対象物Sの向きをほとんど変化させることなく、基準面を容易に指定することができる。また、表示される対象物画像は測定対象物Sを平面図的に表すので、操作に不慣れな使用者にとっても基準面とすべき面および計測箇所を直感的に認識することができる。したがって、使用者は、基準面の設定および計測条件の設定を効率良く迅速に行うことができる。 Therefore, in the present embodiment, after the three-dimensional shape data is generated by the shape measuring process, the orientation of the measuring object S in the object image displayed first is determined by the direction of the measuring object S imaged by the light receiving unit 120. It is matched with the orientation (the relative orientation of the measuring object S with respect to the light receiving unit 120). For example, when the shape measurement process is performed on the measurement object S of FIG. 20 in the tilt-facing state, the orientation of the measurement object S in the first object image displayed is the measurement object of FIG. It matches the direction of the object S. Therefore, when designating the surface of the measuring object S included in the upper surface region (for example, the upper surface of the element B2) as the reference surface, the user hardly changes the orientation of the measuring object S in the object image, The reference plane can be easily specified. Further, since the displayed object image represents the measurement object S in a plan view, even a user who is unfamiliar with the operation can intuitively recognize the surface to be the reference surface and the measurement location. Therefore, the user can efficiently and quickly set the reference plane and the measurement conditions.

図25は、基準面画像GSの他の例を示す図である。図25の基準面画像GSにおいては、測定対象物Sの部分に、基準面に対する高さの差分に応じた色が付される。ここで、高さとは、基準面に対して垂直な方向における基準面からの距離を意味する。図25においては、色の違いがドットパターンの違いで表される。この場合、使用者は、基準面と他の部分との高さの差を容易に認識することができる。基準面画像は、立体形状データまたはテクスチャ付き立体形状データを所定の基準面からの高さで表した高さ画像として機能する。 FIG. 25 is a diagram showing another example of the reference surface image GS. In the reference plane image GS of FIG. 25, the portion of the measuring object S is colored in accordance with the difference in height with respect to the reference plane. Here, the height means a distance from the reference plane in a direction perpendicular to the reference plane. In FIG. 25, the difference in color is represented by the difference in dot pattern. In this case, the user can easily recognize the difference in height between the reference surface and the other portion. The reference plane image functions as a height image in which the stereoscopic shape data or the textured stereoscopic shape data is represented by the height from a predetermined reference surface.

立体形状データに基づいて、測定対象物Sのプロファイル(断面形状)を表す画像(以下、プロファイル画像と呼ぶ。)が表示されてもよい。図26は、プロファイルを取得すべき箇所の指定について説明するための図であり、図27は、プロファイル画像の例を示す図である。 An image (hereinafter referred to as a profile image) representing the profile (cross-sectional shape) of the measuring object S may be displayed based on the three-dimensional shape data. FIG. 26 is a diagram for explaining designation of a portion where a profile should be acquired, and FIG. 27 is a diagram showing an example of a profile image.

図26の例では、基準面画像GS上において、線分LSによりプロファイルを取得すべき測定対象物Sの箇所が指定される。この場合、立体形状データに基づいて、線分LSを通りかつ基準面に垂直な面上における測定対象物Sのプロファイルを表すプロファイルデータが生成される。生成されたプロファイルデータに基づいて、図27のプロファイル画像GPが表示される。プロファイル画像GPは、測定対象物Sのプロファイルを表すプロファイル線PLを含む。 In the example of FIG. 26, on the reference plane image GS, the line segment LS specifies the location of the measurement target S whose profile is to be acquired. In this case, profile data representing the profile of the measuring object S on the plane passing through the line segment LS and perpendicular to the reference plane is generated based on the three-dimensional shape data. The profile image GP of FIG. 27 is displayed based on the generated profile data. The profile image GP includes a profile line PL representing the profile of the measuring object S.

プロファイル画像GPを用いて計測条件が設定されてもよい。図27の例では、計測項目として、2面間の距離が指定され、計測箇所として、プロファイル線PL上の線分L11および線分L12が指定される。線分L11,L12は、測定対象物Sの基板B1の上面および素子B3の上面にそれぞれ対応する。この場合、立体形状データまたはプロファイルデータに基づいて、線分L11と線分L12との間の距離(基板B1の上面と素子B3の上面との間の距離)が計測値として算出される。算出された計測値“yy”は、プロファイル画像GP上に表示される。 The measurement condition may be set using the profile image GP. In the example of FIG. 27, the distance between the two surfaces is designated as the measurement item, and the line segment L11 and the line segment L12 on the profile line PL are designated as the measurement points. The line segments L11 and L12 correspond to the upper surface of the substrate B1 and the upper surface of the element B3 of the measuring object S, respectively. In this case, the distance between the line segment L11 and the line segment L12 (the distance between the upper surface of the substrate B1 and the upper surface of the element B3) is calculated as a measurement value based on the three-dimensional shape data or the profile data. The calculated measurement value “yy” is displayed on the profile image GP.

[6]準正対位置
傾斜正対状態での形状測定処理において、ステージ140の回転位置が正対位置から一定の角度範囲内で変化されてもよい。図28および図29は、ステージ140の回転位置の変化による測定対象物Sの向きの変化について説明するための図である。図28および図29の例において、測定対象物Sは立方体である。
[6] Quasi-facing position In the shape measuring process in the tilt-facing state, the rotational position of the stage 140 may be changed within a certain angle range from the facing position. 28 and 29 are diagrams for explaining a change in the orientation of the measuring object S due to a change in the rotational position of the stage 140. 28 and 29, the measuring object S is a cube.

図28に示すように、ステージ140の傾斜部402が傾斜姿勢にある状態で、ステージ140の回転位置が正対位置から一方および他方の回転方向に一定角度変化される。ステージ140が正対位置にあるときには、図29(a)に示すように、測定対象物Sの上面C1のみが受光部120により撮像される。そのため、この状態で取得されるパターン画像データから、測定対象物Sの上面C1のみを表す立体形状データが生成される。 As shown in FIG. 28, in a state where the inclined portion 402 of the stage 140 is in the inclined posture, the rotational position of the stage 140 is changed by a certain angle from the facing position to one and the other rotational directions. When the stage 140 is in the facing position, as shown in FIG. 29A, only the upper surface C1 of the measuring object S is imaged by the light receiving unit 120. Therefore, three-dimensional shape data representing only the upper surface C1 of the measuring object S is generated from the pattern image data acquired in this state.

ステージ140の回転位置が正対位置から一方の回転方向に一定角度(例えば15度)だけ変化されると、図29(b)に示すように、測定対象物Sの上面C1に加えて、測定対象物Sの側面C2が撮像される。そのため、この状態で取得されるパターン画像データから、測定対象物Sの上面C1および側面C2を表す立体形状データが生成される。以下、正対位置から一方の回転方向に一定角度だけ回転されたときのステージ140の回転位置を第1の準正対位置と呼ぶ。 When the rotation position of the stage 140 is changed from the facing position by one angle in one rotation direction (for example, 15 degrees), the measurement is performed in addition to the upper surface C1 of the measurement target S as shown in FIG. The side surface C2 of the object S is imaged. Therefore, three-dimensional shape data representing the upper surface C1 and the side surface C2 of the measuring object S is generated from the pattern image data acquired in this state. Hereinafter, the rotational position of the stage 140 when the stage 140 is rotated by a certain angle in the one rotation direction from the facing position is referred to as a first quasi-facing position.

また、ステージ140の回転位置が正対位置から他方の回転方向に一定角度(例えば15度)だけ変化されると、図29(c)に示すように、測定対象物Sの上面C1に加えて、測定対象物Sの側面C3が撮像される。そのため、この状態で取得されるパターン画像データから、測定対象物Sの上面C1および側面C3を表す立体形状データが生成される。以下、正対位置から他方の回転方向に一定角度だけ回転されたときのステージ140の回転位置を第2の準正対位置と呼ぶ。 Further, when the rotation position of the stage 140 is changed from the facing position to the other rotation direction by a constant angle (for example, 15 degrees), in addition to the upper surface C1 of the measurement target S, as shown in FIG. The side surface C3 of the measuring object S is imaged. Therefore, from the pattern image data acquired in this state, three-dimensional shape data representing the upper surface C1 and the side surface C3 of the measuring object S is generated. Hereinafter, the rotational position of the stage 140 when it is rotated from the facing position in the other rotating direction by a certain angle is referred to as a second quasi-facing position.

実際の動作としては、例えば、ステージ140が正対位置にある状態で最初の立体形状データが生成され、続いてステージ140が一方向にわずかに回転されてステージ140の回転位置が第1の準正対位置に調整され、次の立体形状データが生成される。続いてステージ140が逆方向に僅かに回転されてステージ140の回転位置が第2の準正対位置に調整され、最後の立体形状データが生成される。その後、ステージ140が正対位置に戻される。 As an actual operation, for example, the first three-dimensional shape data is generated in a state where the stage 140 is in the facing position, and then the stage 140 is slightly rotated in one direction so that the rotational position of the stage 140 is the first quasi-direction. It is adjusted to the facing position, and the next solid shape data is generated. Subsequently, the stage 140 is slightly rotated in the reverse direction, the rotational position of the stage 140 is adjusted to the second quasi-facing position, and the final three-dimensional shape data is generated. Then, the stage 140 is returned to the facing position.

上記のように、本実施の形態では、受光部120の光軸A1がステージ140の回転軸Axに対して傾斜している。そのため、ステージ140が回転されると、受光部120の撮像視野において測定対象物Sの向きが3次元的に変化する。そのため、図29の例のように、ステージ140が回転されることによって測定対象物Sの異なる面を撮像することができる。 As described above, in the present embodiment, the optical axis A1 of the light receiving section 120 is tilted with respect to the rotation axis Ax of the stage 140. Therefore, when the stage 140 is rotated, the orientation of the measuring object S changes three-dimensionally in the imaging visual field of the light receiving unit 120. Therefore, as in the example of FIG. 29, the different surface of the measuring object S can be imaged by rotating the stage 140.

比較例として、ステージ140の回転軸Axと受光部120の光軸A1とが平行である場合について説明する。図30および図31は、比較例における測定対象物Sの向きの変化について説明するための図である。図30および図31の例について、図28および図29の例と異なる点を説明する。 As a comparative example, a case where the rotation axis Ax of the stage 140 and the optical axis A1 of the light receiving unit 120 are parallel to each other will be described. 30 and 31 are diagrams for explaining a change in the orientation of the measuring object S in the comparative example. Differences between the examples of FIGS. 30 and 31 and the examples of FIGS. 28 and 29 will be described.

図30の例では、ステージ140の回転軸Axと受光部120の光軸A1とが平行であり、かつステージ140が標準状態にある。この場合、図31(a)に示すように、測定対象物Sの上面C1が受光部120により撮像される。すなわち、本実施の形態における傾斜正対状態と同様に測定対象物Sを撮像することができる。しかしながら、比較例では、ステージ140が回転されても、測定対象物Sが受光部120の光軸A1に垂直な面内で回転する。そのため、受光部120の撮像視野において測定対象物Sの向きが2次元的に変化する。それにより、図31(b)および図31(c)に示すように、測定対象物Sが回転されても、上面C1以外の面が受光部120によって撮像されることはない。 In the example of FIG. 30, the rotation axis Ax of the stage 140 and the optical axis A1 of the light receiving unit 120 are parallel to each other, and the stage 140 is in the standard state. In this case, the upper surface C1 of the measuring object S is imaged by the light receiving unit 120 as shown in FIG. That is, the measurement target S can be imaged in the same manner as in the inclination facing state in the present embodiment. However, in the comparative example, even if the stage 140 is rotated, the measuring object S rotates in a plane perpendicular to the optical axis A1 of the light receiving unit 120. Therefore, the orientation of the measuring object S changes two-dimensionally in the imaging visual field of the light receiving unit 120. Thereby, as shown in FIGS. 31B and 31C, even if the measurement target S is rotated, the surfaces other than the upper surface C1 are not imaged by the light receiving unit 120.

このように、本実施の形態では、ステージ140の回転位置が正対位置と準正対位置との間で僅かに変化されることにより、傾斜正対状態では撮像されない測定対象物Sの上面領域の周囲の部分が撮像される。それにより、上面領域の周囲部分の立体形状データを生成することができる。特に、傾斜正対位置において受光部120の光軸Axと平行な測定対象物Sの面(例えば、図29(b)および図29(c)の側面C2,C3)を表す立体形状データも生成することができる。このような面を表す立体形状データの生成は、比較例のようにステージ140の回転軸Axと受光部120の光軸A1とが平行である場合には不可能である。 As described above, in the present embodiment, the rotational position of the stage 140 is slightly changed between the facing position and the quasi-facing position, so that the upper surface region of the measuring object S that is not imaged in the tilt facing state. An image of the surrounding area is captured. Thereby, three-dimensional shape data of the peripheral portion of the upper surface region can be generated. In particular, three-dimensional shape data representing a surface (for example, the side surfaces C2 and C3 of FIG. 29B and FIG. 29C) of the measuring object S parallel to the optical axis Ax of the light receiving unit 120 at the inclination facing position is also generated. can do. Generation of three-dimensional shape data representing such a surface is impossible when the rotation axis Ax of the stage 140 and the optical axis A1 of the light receiving unit 120 are parallel to each other as in the comparative example.

傾斜正対状態で生成される立体形状データと、ステージ140が第1および第2の準正対位置にある状態でそれぞれ生成される立体形状データとが合成されることにより、測定対象物Sのより広い範囲の立体形状データが生成される。したがって、計測可能な測定対象物Sの範囲がより広くなる。 By combining the three-dimensional shape data generated in the inclined facing state and the three-dimensional shape data generated in the state in which the stage 140 is in the first and second quasi-facing positions, the measurement target S A wider range of three-dimensional shape data is generated. Therefore, the range of measurable measuring object S becomes wider.

正対位置と第1の準正対位置との間の角度、および正対位置と第2の準正対位置との間の角度は、使用者が指定してもよく、予め定められていてもよい。これらの角度は、ステージ140が正対位置にあるときに受光部120の光軸A1に平行となる測定対象物Sの面(例えば、図29(b)および図29(c)の側面C2,C3)が、ステージ140が第1および第2の準正対位置にあるときに受光部120により撮像されるように、受光部120の光学特性(例えば画角)に応じて決定されることが好ましい。 The angle between the facing position and the first quasi-facing position and the angle between the facing position and the second quasi-facing position may be specified by the user and are predetermined. Good. These angles are the surfaces of the measuring object S that are parallel to the optical axis A1 of the light receiving unit 120 when the stage 140 is in the facing position (for example, the side surface C2 in FIGS. 29B and 29C). C3) is determined according to the optical characteristics (for example, the angle of view) of the light receiving unit 120 so that the image is captured by the light receiving unit 120 when the stage 140 is in the first and second quasi-facing positions. preferable.

また、指定すべき計測箇所によって、必要となる対象物画像データの範囲が異なる。そのため、第1および第2の準正対位置のうち一方が選択され、ステージ140が正対位置にある状態(傾斜正対状態)、および選択された準正対位置にある状態でのみ立体形状データが生成されてもよい。また、傾斜正対状態でパターン画像データが取得されず、ステージ140が第1および第2の準正対位置の少なくとも一方にある状態でのみ立体形状データが生成されてもよい。ただし、傾斜正対状態でパターン画像データが取得されない場合でも、立体形状データの生成後にステージ140が正対位置に戻され、表示される対象物画像における測定対象物Sの向きは、傾斜正対状態に対応する測定対象物Sの向きと同じであることが好ましい。 Further, the required range of the object image data differs depending on the measurement location to be designated. Therefore, one of the first and second quasi-facing positions is selected, and the three-dimensional shape is obtained only when the stage 140 is in the facing position (tilt facing state) and in the selected quasi-facing position. Data may be generated. Further, the pattern image data may not be acquired in the tilt facing state, and the three-dimensional shape data may be generated only in the state in which the stage 140 is at least one of the first and second quasi-facing positions. However, even when the pattern image data is not acquired in the tilt facing state, the stage 140 is returned to the facing position after the three-dimensional shape data is generated, and the direction of the measuring object S in the displayed object image is the tilt facing direction. It is preferable that the orientation of the measuring object S corresponding to the state is the same.

[7]測定対象物の載置
使用者が測定対象物Sをステージ140上に載置する際に、ステージ140の回転位置が正対位置から変化されてもよい。図32は、測定対象物Sの載置時におけるステージ140の回転位置について説明するための図である。図32の例では、傾斜部402が傾斜姿勢にあり、ステージ140が正対位置と180度異なる回転位置にある。この場合、使用者は、傾斜載置面402aと略正対する位置から傾斜載置面402a上の測定対象物Sを視認することができる。
[7] Placement of Measurement Object When the user places the measurement object S on the stage 140, the rotational position of the stage 140 may be changed from the front facing position. FIG. 32 is a diagram for explaining the rotational position of the stage 140 when the measurement target S is placed. In the example of FIG. 32, the inclined portion 402 is in an inclined posture, and the stage 140 is in a rotation position that is 180 degrees different from the facing position. In this case, the user can visually recognize the measuring object S on the inclined mounting surface 402a from a position substantially facing the inclined mounting surface 402a.

ステージ140が正対位置にある状態で使用者がステージ140上に測定対象物Sを載置する場合、使用者は、表示部400に表示されるライブ画像を見て、測定対象物Sが受光部120によってどのように撮像されているかを確認する。この場合、使用者は、表示部400の画面上における方向を現実の3次元空間での方向に変換する必要がある。そのため、このような作業に不慣れな使用者にとっては、表示部400に表示されるライブ画像を見ながら測定対象物Sの位置および姿勢を調整することは容易ではない。そこで、図32の例のように、使用者の視点が傾斜載置面402aと略正対するように、ステージ140の回転位置が調整される。この状態で使用者が見る測定対象物Sの位置および姿勢は、傾斜正対状態で受光部120により撮像される測定対象物Sの位置および姿勢と略等しい。そのため、使用者は、直接的に測定対象物Sを見ながら測定対象物Sの位置および姿勢を調整することができる。したがって、不慣れな使用者であっても、測定対象物Sの位置および姿勢を容易にかつ適切に調整することができる。 When the user places the measuring object S on the stage 140 with the stage 140 in the front facing position, the user looks at the live image displayed on the display unit 400 and the measuring object S receives the light. It is confirmed how the image is captured by the unit 120. In this case, the user needs to convert the direction on the screen of the display unit 400 into the direction in the actual three-dimensional space. Therefore, it is not easy for a user who is unfamiliar with such work to adjust the position and orientation of the measuring object S while observing the live image displayed on the display unit 400. Therefore, as in the example of FIG. 32, the rotational position of the stage 140 is adjusted so that the user's viewpoint substantially faces the inclined mounting surface 402a. In this state, the position and orientation of the measuring object S viewed by the user are substantially the same as the position and orientation of the measuring object S imaged by the light receiving unit 120 in the inclination facing state. Therefore, the user can adjust the position and orientation of the measurement target S while directly looking at the measurement target S. Therefore, even the inexperienced user can easily and appropriately adjust the position and posture of the measuring object S.

[8]効果
本実施の形態に係る測定装置500においては、投光部110、受光部120およびステージ140が一体的に設けられているので、使用者は、これらの配置を調整する必要がなく、ステージ140上に測定対象物Sを載置することで、測定対象物Sの立体形状データを得ることができる。また、ステージ140の回転軸Axが受光部120の光軸A1と平行でないので、ステージ140を回転させることにより、受光部120に向けられる測定対象物Sの箇所が変わる。そのため、測定対象物Sの異なる箇所が受光部120により撮像される。したがって、測定対象物Sの広い範囲の立体形状データを容易に生成することができる。
[8] Effects Since the light emitting unit 110, the light receiving unit 120, and the stage 140 are integrally provided in the measuring device 500 according to the present embodiment, the user does not need to adjust their arrangement. By mounting the measuring object S on the stage 140, the three-dimensional shape data of the measuring object S can be obtained. Further, since the rotation axis Ax of the stage 140 is not parallel to the optical axis A1 of the light receiving unit 120, the location of the measurement target S directed toward the light receiving unit 120 is changed by rotating the stage 140. Therefore, the light receiving unit 120 images different portions of the measurement target S. Therefore, it is possible to easily generate a wide range of three-dimensional shape data of the measuring object S.

また、生成された立体形状データに基づいて、計測の基準となる基準面が設定され、立体形状データおよび基準面に基づいて、指定された計測箇所の計測値が算出される。この場合、基準面が設定されることによって、点群データを用いた処理を2次元的に行うことができる。それにより、点群データからの計測値の算出が容易になる。 Further, a reference plane that is a reference for measurement is set based on the generated three-dimensional shape data, and a measurement value at a designated measurement point is calculated based on the three-dimensional shape data and the reference plane. In this case, the processing using the point cloud data can be two-dimensionally performed by setting the reference plane. This facilitates calculation of the measurement value from the point cloud data.

さらに、ステージ140が正対位置に位置されることにより、ステージ140の傾斜載置面402aが受光部120の撮像面120aと正対する。そのため、水平面上では上方に向けられる測定対象物Sの箇所(上面領域)が、傾斜載置面402aでは受光部120の撮像面120aに向けられる。それにより、受光部120からの受光信号に基づいて、上面領域の立体形状データを生成することができる。したがって、位置データの欠落を抑制しつつ必要な箇所の立体形状データを効率良く生成することができる。また、生成された立体形状データに基づいて、測定対象物Sを平面図的に表すことが可能となる。したがって、不慣れな使用者であっても、基準面の設定および計測箇所の指定を容易にかつ適切に行うことが可能となる。 Further, since the stage 140 is located at the front facing position, the inclined mounting surface 402a of the stage 140 directly faces the imaging surface 120a of the light receiving unit 120. Therefore, the position (upper surface region) of the measurement target S that is directed upward on the horizontal plane is directed to the imaging surface 120a of the light receiving unit 120 on the inclined mounting surface 402a. Thereby, the three-dimensional shape data of the upper surface region can be generated based on the light receiving signal from the light receiving unit 120. Therefore, it is possible to efficiently generate the three-dimensional shape data of a required portion while suppressing the loss of position data. Further, it becomes possible to represent the measurement target S in a plan view based on the generated three-dimensional shape data. Therefore, even an inexperienced user can easily and appropriately set the reference plane and the measurement location.

また、本実施の形態では、ステージ140の傾斜部402が水平姿勢と傾斜姿勢とに切替可能であるので、回転軸Axに対して垂直な載置面142aと、回転軸Axに対して傾斜する傾斜載置面402aとを選択的に使用することができる。それにより、目的に応じて、異なる態様で立体形状データを生成することができる。 In addition, in the present embodiment, since the inclined portion 402 of the stage 140 can be switched between the horizontal posture and the inclined posture, the mounting surface 142a perpendicular to the rotation axis Ax and the rotation axis Ax are inclined. The inclined mounting surface 402a can be selectively used. Thereby, the three-dimensional shape data can be generated in different modes according to the purpose.

また、本実施の形態では、ステージ140の傾斜部402が傾斜姿勢にありかつステージ140が正対位置にある状態(傾斜正対状態)で、受光部120の光軸A1が傾斜載置面402aに直交する。それにより、水平面上では鉛直上方に向けられる測定対象物Sの箇所が、傾斜載置面402aでは受光部120の撮像面120aに向けられる。したがって、生成される立体形状データに基づいて、測定対象物を高い精度で平面図的に表すことができる。 Further, in the present embodiment, the optical axis A1 of the light receiving unit 120 is inclined on the mounting surface 402a when the inclined portion 402 of the stage 140 is in the inclined posture and the stage 140 is in the facing position (inclined facing state). Orthogonal to. As a result, the position of the measuring object S that is directed vertically upward on the horizontal plane is directed to the imaging surface 120a of the light receiving unit 120 on the inclined mounting surface 402a. Therefore, the measurement object can be represented in plan view with high accuracy based on the generated three-dimensional shape data.

[9]他の実施の形態
(1)図33は、ステージ140の他の構成例について説明するための図である。図33の例では、ステージプレート142が固定部401と傾斜部402とに分割されていない。ステージプレート142の載置面142a上に、傾斜部材410が取り付けられる。傾斜部材410は、ステージプレート142に対して着脱可能である。傾斜部材410は、傾斜載置面410aを有するとともに、傾斜載置面410a上に載置された測定対象物Sを係止するための係止部411を有する。傾斜載置面410aの傾斜角度は、例えば、上記実施の形態における傾斜載置面402aの傾斜角度と同じである。
[9] Other Embodiments (1) FIG. 33 is a diagram for explaining another configuration example of the stage 140. In the example of FIG. 33, the stage plate 142 is not divided into the fixed portion 401 and the inclined portion 402. The tilting member 410 is attached on the mounting surface 142a of the stage plate 142. The tilt member 410 is attachable to and detachable from the stage plate 142. The tilting member 410 has a tilted mounting surface 410a and a locking portion 411 for locking the measuring object S mounted on the tilted mounting surface 410a. The tilt angle of the tilt mounting surface 410a is, for example, the same as the tilt angle of the tilt mounting surface 402a in the above-described embodiment.

ステージ140の回転位置と傾斜載置面402aの向きとを対応付けるため、載置面142a上における傾斜部材410の取付位置は一定であることが好ましい。本例では、ステージプレート142に複数の孔部142hが設けられ、傾斜部材410の底面に複数の孔部142hにそれぞれ対応する複数の突起部410bが設けられる。傾斜部材410の突起部410bがステージプレート142の複数の孔部142hに挿入されることにより、載置面142a上の予め定められた位置にステージプレート142が取り付けられる。孔部142hおよび突起部410bが設けられる代わりに、ステージプレート142に傾斜部材410の取付位置を表す印等が付されてもよい。 Since the rotational position of the stage 140 and the orientation of the inclined mounting surface 402a are associated with each other, it is preferable that the mounting position of the inclined member 410 on the mounting surface 142a be constant. In this example, the stage plate 142 is provided with a plurality of holes 142h, and the bottom surface of the inclined member 410 is provided with a plurality of protrusions 410b corresponding to the holes 142h. By inserting the protrusions 410b of the tilting member 410 into the plurality of holes 142h of the stage plate 142, the stage plate 142 is attached to the mounting surface 142a at predetermined positions. Instead of providing the hole 142h and the protrusion 410b, a mark or the like indicating the mounting position of the tilt member 410 may be attached to the stage plate 142.

本例においても、傾斜載置面402aを受光部120の撮像面120aと正対させることができる。そのため、水平面上では上方に向けられる測定対象物Sの箇所の立体形状データを生成することができる。また、生成された立体形状データに基づいて、測定対象物Sを平面的に表す対象物画像を容易に表示することができる。したがって、不慣れな使用者であっても、基準面の設定および計測箇所の指定を容易に行うことができる。 Also in this example, the inclined mounting surface 402a can be directly opposed to the imaging surface 120a of the light receiving unit 120. Therefore, it is possible to generate three-dimensional shape data of the position of the measuring object S that is directed upward on the horizontal plane. Further, based on the generated three-dimensional shape data, it is possible to easily display a target object image that two-dimensionally represents the measurement target S. Therefore, even an inexperienced user can easily set the reference plane and specify the measurement location.

また、傾斜部材410の着脱によって回転軸Axに対して垂直な載置面142aと回転軸Axに対して傾斜する傾斜載置面410aとを選択的に使用することができる。それにより、目的に応じて異なる態様で立体形状データを生成することができる。 Also, by mounting and dismounting the slant member 410, the mounting surface 142a perpendicular to the rotation axis Ax and the slant mounting surface 410a slanting with respect to the rotation axis Ax can be selectively used. Thereby, the three-dimensional shape data can be generated in different modes according to the purpose.

なお、傾斜載置面410aの傾斜角度が異なる複数種類の傾斜部材410が用いられてもよい。また、一の傾斜部材410において、傾斜載置面410aの傾斜角度が可変であってもよい。 It should be noted that a plurality of types of tilt members 410 having different tilt angles of the tilt mounting surface 410a may be used. Further, in the one tilt member 410, the tilt angle of the tilt mounting surface 410a may be variable.

(2)上記実施の形態では、使用者が対象物画像上で測定対象物Sのいずれかの面を指定することにより基準面が設定されるが、基準面が自動的に設定されてもよい。例えば、上記のように、傾斜正対状態で立体形状データが生成されることにより、測定対象物Sを平面図的に表す対象物画像を表示することができる。そこで、その対象物画像において、奥行き方向の傾きが最も小さい測定対象物Sの面(受光部120の撮像面120aに対する角度が最も小さい測定対象物Sの面)が特定され、特定された面との一致度が最も高い平面が抽出され、その平面が基準面に設定されてもよい。 (2) In the above embodiment, the reference plane is set by the user designating any surface of the measurement object S on the object image, but the reference plane may be set automatically. .. For example, as described above, the three-dimensional shape data is generated in the inclined facing state, so that the object image representing the measurement object S in a plan view can be displayed. Therefore, in the object image, the surface of the measuring object S having the smallest inclination in the depth direction (the surface of the measuring object S having the smallest angle with respect to the imaging surface 120a of the light receiving unit 120) is specified, and the surface is specified. The plane with the highest degree of coincidence may be extracted and set as the reference plane.

(3)上記実施の形態では、受光部120に単眼カメラが用いられるが、単眼カメラに代えてまたは単眼カメラに加えて、複眼カメラが用いられてもよい。また、複数の受光部120が用いられ、ステレオ法によって立体形状データが生成されてもよい。また、上記実施の形態では、2つの投光部110が用いられるが、立体形状データの生成が可能であれば、1つの投光部110のみが用いられてもよく、または3つ以上の投光部110が用いられてもよい。 (3) In the above embodiment, the monocular camera is used as the light receiving unit 120, but a compound eye camera may be used instead of the monocular camera or in addition to the monocular camera. In addition, a plurality of light receiving units 120 may be used and stereoscopic shape data may be generated by a stereo method. Further, in the above-described embodiment, two light projecting units 110 are used, but if it is possible to generate three-dimensional shape data, only one light projecting unit 110 may be used, or three or more light projecting units may be used. The light unit 110 may be used.

また、投光部110からの均一な測定光を用いてライブ画像データおよびテクスチャ画像データを取得する場合には、照明光出力部130および照明光源320が設けられなくてもよい。また、パターン画像データを合成してテクスチャ画像データを生成することも可能であり、その場合にも照明光出力部130および照明光源320が設けられなくてもよい。 Further, when the live image data and the texture image data are acquired using the uniform measurement light from the light projecting unit 110, the illumination light output unit 130 and the illumination light source 320 may not be provided. It is also possible to generate texture image data by synthesizing pattern image data, and in that case, the illumination light output unit 130 and the illumination light source 320 may not be provided.

また、上記実施の形態では、パターン画像データ、ライブ画像データおよびテクスチャ画像データが共通の受光部120によって取得されるが、立体形状データを取得するための受光部と、ライブ画像データおよびテクスチャ画像データを取得するための受光部とが別個に設けられてもよい。 Further, in the above embodiment, the pattern image data, the live image data, and the texture image data are acquired by the common light receiving unit 120. However, the light receiving unit for acquiring the three-dimensional shape data, the live image data, and the texture image data are acquired. May be separately provided.

また、上記実施の形態では、三角測距法により点群データが生成されるが、TOF(Time Of Flight)法等の他の方法により点群データが生成されてもよい。 Further, in the above embodiment, the point cloud data is generated by the triangulation method, but the point cloud data may be generated by another method such as the TOF (Time Of Flight) method.

(4)上記実施の形態では、ステージ駆動部146によりステージ140が回転軸Axの周りで回転可能に構成され、他の方向には移動しないが、本発明はこれに限定されない。 (4) In the above embodiment, the stage drive unit 146 allows the stage 140 to rotate about the rotation axis Ax and does not move in other directions, but the present invention is not limited to this.

ステージ140は、例えば回転軸Axの周りで回転可能であるとともに、X方向、Y方向およびZ方向のうち少なくとも一方向に移動可能に構成されてもよい。この場合、ステージ140に対して一定姿勢で測定対象物Sが載置された状態で、ステージ140の回転角度および位置を自在に変更することができる。したがって、より多様な視点で測定対象物Sを撮像することができる。その結果、測定対象物Sのより広い範囲の立体形状データを求めることが可能になる。 The stage 140 may be configured to be rotatable about, for example, the rotation axis Ax and movable in at least one of the X direction, the Y direction, and the Z direction. In this case, the rotation angle and the position of the stage 140 can be freely changed while the measurement target S is placed on the stage 140 in a fixed posture. Therefore, the measuring object S can be imaged from various viewpoints. As a result, it is possible to obtain three-dimensional shape data of a wider range of the measuring object S.

[10]請求項の各構成要素と実施の形態の各部との対応関係
以下、請求項の各構成要素と実施の形態の各部との対応の例について説明するが、本発明は下記の例に限定されない。
[10] Correspondence between each component of the claims and each part of the embodiment Hereinafter, an example of correspondence between each component of the claims and each part of the embodiment will be described, but the present invention is not limited to the following examples. Not limited.

上記実施の形態においては、設置部161がステージ保持部の例であり、ステージ140がステージの例であり、傾斜載置面402a,410aが傾斜載置面の例であり、ヘッド部190がヘッド部の例であり、投光部110が投光部の例であり、受光部120が受光部の例であり、スタンド部162が連結部の例であり、回転制御部501が回転制御手段の例であり、点群データ生成部502が点群データ生成手段の例であり、基準面設定部503が基準面設定手段の例であり、計測部504が計測手段の例であり、画像データ生成部505が画像データ生成手段の例であり、載置面142aが非傾斜載置面の例であり、ステージプレート142がステージプレートの例であり、傾斜部材410が傾斜部の例であり、正対位置が第1の回転位置の例であり、第1および第2の準正対位置が第2の回転位置の例である。 In the above embodiment, the installation unit 161 is an example of a stage holding unit, the stage 140 is an example of a stage, the inclined mounting surfaces 402a and 410a are examples of an inclined mounting surface, and the head unit 190 is a head. The light emitting unit 110 is an example of a light emitting unit, the light receiving unit 120 is an example of a light receiving unit, the stand unit 162 is an example of a connecting unit, and the rotation control unit 501 is a rotation control unit. In the example, the point cloud data generation unit 502 is an example of the point cloud data generation unit, the reference plane setting unit 503 is an example of the reference plane setting unit, the measurement unit 504 is an example of the measurement unit, and the image data generation is performed. The part 505 is an example of the image data generating means, the mounting surface 142a is an example of a non-tilted mounting surface, the stage plate 142 is an example of a stage plate, and the tilting member 410 is an example of a tilted part. The paired position is an example of the first rotational position, and the first and second quasi-positive positions are examples of the second rotational position.

請求項の各構成要素として、請求項に記載されている構成または機能を有する他の種々の要素を用いることもできる。 As each of the constituent elements in the claims, various other elements having the configurations or functions described in the claims can be used.

本発明は、測定対象物の測定を行う種々の測定装置に利用可能である。 INDUSTRIAL APPLICABILITY The present invention can be used for various measuring devices that measure an object to be measured.

100 測定部
110 投光部
111 測定光源
112 パターン生成部
113,114 レンズ
120 受光部
130 照明光出力部
140 ステージ
150 制御基板
200 PC
210 CPU
220 ROM
230 作業用メモリ
240 記憶装置
250 操作部
300 制御部
320 照明光源
400 表示部
500 測定装置
S 測定対象物
100 measuring unit 110 light projecting unit 111 measuring light source 112 pattern generating unit 113, 114 lens 120 light receiving unit 130 illumination light output unit 140 stage 150 control board 200 PC
210 CPU
220 ROM
230 Working Memory 240 Storage Device 250 Operation Unit 300 Control Unit 320 Illumination Light Source 400 Display Unit 500 Measuring Device S Measurement Object

Claims (10)

ステージ保持部と、
上下方向の回転軸を中心に回転可能に前記ステージ保持部により保持され、前記回転軸に対して非垂直でかつ測定対象物が載置される傾斜載置面を有するステージと、
前記ステージに載置される測定対象物にパターンを有する測定光を照射する投光部と、前記測定対象物により反射された測定光を受光して受光量を表す受光信号を出力する受光部とを含むヘッド部と、
前記ヘッド部と前記ステージ保持部とを連結することにより、前記投光部から前記測定対象物に対して測定光が斜め下方に導かれ、かつ前記受光部の光軸が前記測定対象物に向かって斜め下方に延びるとともに、前記投光部と前記受光部と前記ステージとの位置関係が定まるように、前記ヘッド部と前記ステージ保持部とを固定的に連結する連結部と、
前記ステージの回転を制御する回転制御手段と、
前記受光部により出力される受光信号に基づいて、前記測定対象物の立体形状を表す点群データを生成する点群データ生成手段と、
前記点群データ生成手段により生成された点群データに基づいて、計測の基準となる基準面を設定する基準面設定手段と、
前記測定対象物の計測すべき箇所の指定を受け付け、前記点群データ生成手段により生成された点群データに基づいて、指定された箇所の計測値を前記基準面設定手段により設定された基準面を基準として算出する計測手段とを備え、
前記受光部は、前記光軸に対して垂直な撮像面を有し、
前記回転制御手段は、指示に基づいて前記傾斜載置面が前記受光部の前記撮像面と正対するように、前記ステージを予め記憶された第1の回転位置に位置させ、
前記投光部は、前記ステージが前記第1の回転位置に位置する状態で、前記ステージに載置された測定対象物に二次元状に測定光を照射し、
前記点群データ生成手段は、前記ステージが前記第1の回転位置に位置する状態で、前記受光部から出力される受光信号に基づいて二次元状の点群データを生成する、測定装置。
A stage holder,
A stage that is held by the stage holding unit so as to be rotatable about a vertical rotation axis, and that has a tilted mounting surface that is non-perpendicular to the rotation axis and on which a measurement target is mounted.
A light projecting unit that irradiates the measurement target placed on the stage with a measurement light having a pattern, and a light receiving unit that receives the measurement light reflected by the measurement target and outputs a light reception signal indicating a light reception amount. Head part including
By connecting the head unit and the stage holding unit, the measurement light is guided obliquely downward from the light projecting unit to the measurement target, and the optical axis of the light receiving unit is directed toward the measurement target. And a connecting portion that fixedly connects the head portion and the stage holding portion so that the positional relationship among the light projecting portion, the light receiving portion, and the stage is determined.
Rotation control means for controlling the rotation of the stage,
Point cloud data generating means for generating point cloud data representing a three-dimensional shape of the measurement object based on a light reception signal output by the light receiving unit;
A reference plane setting means for setting a reference plane as a measurement reference, based on the point cloud data generated by the point cloud data generating means,
The designation of the location to be measured of the measurement object is accepted, and based on the point cloud data generated by the point cloud data generation unit, the measurement value of the designated location is set to the reference plane set by the reference plane setting unit. With a measuring means for calculating with
The light receiving unit has an imaging surface perpendicular to the optical axis,
The rotation control means positions the stage at a first rotation position stored in advance so that the inclined mounting surface directly faces the imaging surface of the light receiving unit based on an instruction,
The light projecting unit irradiates the measurement target placed on the stage with measurement light in a two-dimensional manner in a state where the stage is located at the first rotation position,
The said point cloud data production|generation means is a measuring apparatus which produces|generates two-dimensional point cloud data based on the light reception signal output from the said light receiving part in the state which the said stage is located in the said 1st rotation position.
前記受光部は、単眼カメラである、請求項1記載の測定装置。 The measuring device according to claim 1, wherein the light receiving unit is a monocular camera. 前記点群データ生成手段により生成された点群データに基づいて、前記基準面設定手段により設定された基準面に対して垂直に前記測定対象物を見た画像を表す画像データを生成する画像データ生成手段をさらに備える、請求項1または2記載の測定装置。 Image data for generating image data representing an image of the measurement object viewed perpendicularly to the reference plane set by the reference plane setting means, based on the point cloud data generated by the point cloud data generating means. The measurement device according to claim 1, further comprising a generation unit. 前記ステージは、前記回転軸と直交する非傾斜載置面をさらに有する、請求項1〜3のいずれか一項に記載の測定装置。 The measuring device according to claim 1, wherein the stage further has a non-tilted mounting surface orthogonal to the rotation axis. 前記ステージは、
前記非傾斜載置面を有し、前記ステージ保持部により保持されるステージプレートと、
前記傾斜載置面を有し、前記ステージプレートに対して着脱可能な傾斜部とを含む、請求項4記載の測定装置。
The stage is
A stage plate having the non-inclined mounting surface and held by the stage holding part;
The measuring device according to claim 4, further comprising: an inclined portion having the inclined mounting surface and detachable from the stage plate.
前記ステージは、前記非傾斜載置面および前記傾斜載置面を選択的に形成するように、前記回転軸に垂直な面に対する傾斜角度を調整可能に設けられたステージプレートを含む、請求項記載の測定装置。 The stage, the so a non-inclined mounting surface and the inclined placement surface is selectively formed, including the stage plate provided to be adjusted angle of inclination with respect to a plane orthogonal to the axis of rotation, according to claim 4 The measuring device described. 前記ステージが前記第1の回転位置に位置する状態で、前記受光部の光軸が前記傾斜載置面に直交する、請求項1〜6のいずれか一項に記載の測定装置。 The measuring device according to claim 1, wherein an optical axis of the light receiving unit is orthogonal to the inclined mounting surface in a state where the stage is located at the first rotation position. 前記回転制御手段は、指示に基づいて前記ステージを予め記憶された前記第1の回転位置に位置させる第1の制御と、設定に基づいて前記ステージを第2の回転位置、および前記第2の回転位置とは異なる第3の回転位置に位置させる第2の制御を実行可能であり、
前記点群データ生成手段は、前記指示に基づき前記回転制御手段が前記第1の制御を実行する場合、前記ステージが前記第1の回転位置に位置する状態で前記受光部により出力される受光信号に基づいて前記点群データとして第1の立体形状データを生成し、前記設定に基づき前記回転制御手段が前記第2の制御を実行する場合、前記ステージが前記第2の回転位置に位置する状態で前記受光部により出力される受光信号に基づいて前記点群データとして第2の立体形状データを生成し、前記ステージが前記第3の回転位置に位置する状態で前記受光部により出力される受光信号に基づいて前記点群データとして第3の立体形状データを生成し、前記第2および第3の立体形状データを合成する、請求項1〜7のいずれか一項に記載の測定装置。
The rotation control means positions the stage at the first rotation position stored in advance based on an instruction, and sets the stage at a second rotation position based on a setting, and the second control. It is possible to execute a second control of positioning the third rotation position different from the rotation position,
When the rotation control means executes the first control based on the instruction, the point cloud data generation means outputs a light reception signal output by the light reception unit in a state in which the stage is located at the first rotation position. A state in which the stage is located at the second rotational position when the first three-dimensional shape data is generated as the point cloud data based on the above, and the rotation control means executes the second control based on the setting. The second light receiving unit generates second solid shape data as the point group data based on a light receiving signal output by the light receiving unit, and outputs light by the light receiving unit when the stage is located at the third rotation position. The measuring device according to any one of claims 1 to 7, which generates third solid shape data as the point cloud data based on a signal and combines the second and third solid shape data.
前記回転制御手段は、前記ステージを前記第1の回転位置と異なる準正対位置に位置させ、
前記点群データ生成手段は、前記ステージが前記第1の回転位置に位置する状態で前記受光部により出力される受光信号に基づいて前記点群データとして第1の立体形状データを生成し、前記ステージが前記準正対位置に位置する状態で前記受光部により出力される受光信号に基づいて前記点群データとして第2の立体形状データを生成し、前記第1および第2の立体形状データを合成する、請求項1〜8のいずれか一項に記載の測定装置。
The rotation control means positions the stage at a quasi-facing position different from the first rotation position,
The point cloud data generating means generates first stereoscopic shape data as the point cloud data based on a light reception signal output by the light receiving unit in a state where the stage is located at the first rotation position, Second solid shape data is generated as the point cloud data based on a light receiving signal output by the light receiving unit in a state where the stage is located at the quasi-confronting position, and the first and second solid shape data are generated. The measuring apparatus according to any one of claims 1 to 8, which is synthesized.
前記投光部は、前記ステージが前記第1の回転位置に位置する状態で、前記ステージに載置される測定対象物に測定光を複数回照射することにより二次元状に測定光を照射する、請求項1〜9のいずれか一項に記載の測定装置。
The light projecting unit two-dimensionally irradiates the measuring object placed on the stage with the measuring light a plurality of times while the stage is located at the first rotation position. The measuring device according to any one of claims 1 to 9.
JP2016127056A 2016-06-27 2016-06-27 measuring device Expired - Fee Related JP6736383B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016127056A JP6736383B2 (en) 2016-06-27 2016-06-27 measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016127056A JP6736383B2 (en) 2016-06-27 2016-06-27 measuring device

Publications (2)

Publication Number Publication Date
JP2018004281A JP2018004281A (en) 2018-01-11
JP6736383B2 true JP6736383B2 (en) 2020-08-05

Family

ID=60948881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016127056A Expired - Fee Related JP6736383B2 (en) 2016-06-27 2016-06-27 measuring device

Country Status (1)

Country Link
JP (1) JP6736383B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106705890A (en) * 2016-12-23 2017-05-24 上海电机学院 Three-dimensional scanning magic box
CN110375674A (en) * 2019-07-02 2019-10-25 东莞理工学院 A kind of vision detection system of precision manufactureing equipment
JP7344708B2 (en) * 2019-08-06 2023-09-14 株式会社キーエンス 3D shape measuring device
JP7332386B2 (en) * 2019-08-06 2023-08-23 株式会社キーエンス Three-dimensional shape measuring device and three-dimensional shape measuring method
CN115335658A (en) * 2020-03-23 2022-11-11 发那科株式会社 Image processing apparatus and image processing method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3530972B2 (en) * 1995-11-28 2004-05-24 独立行政法人産業技術総合研究所 Shape measuring device
JP2001101410A (en) * 1999-09-28 2001-04-13 Suzuki Motor Corp Transformation matrix data generating method, correction jig and three-dimensional measuring system
JP5050994B2 (en) * 2008-05-15 2012-10-17 トヨタ自動車株式会社 Stator coil shape inspection method and shape inspection apparatus
US9875574B2 (en) * 2013-12-17 2018-01-23 General Electric Company Method and device for automatically identifying the deepest point on the surface of an anomaly
JP2014106094A (en) * 2012-11-27 2014-06-09 Keyence Corp Shape measurement device

Also Published As

Publication number Publication date
JP2018004281A (en) 2018-01-11

Similar Documents

Publication Publication Date Title
JP6029394B2 (en) Shape measuring device
JP6736383B2 (en) measuring device
JP6691837B2 (en) measuring device
US9151600B2 (en) Shape measuring device, shape measuring method, and shape measuring program
US8885176B2 (en) Shape measuring device, shape measuring method, and shape measuring program
US8743374B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6695746B2 (en) measuring device
US10262431B2 (en) Three-dimensional measurement device
JP6691838B2 (en) measuring device
JP6004851B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6161775B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6279048B2 (en) Shape measuring device
JP5956911B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6161253B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6695748B2 (en) measuring device
JP6476252B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP2014055814A (en) Shape measuring device, shape measuring method, and shape measuring program
JP6695747B2 (en) measuring device
JP6077287B2 (en) Optical microscope and pattern projection measurement method
JP5956932B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP2020046394A (en) Three-dimensional shape measuring device and three-dimensional shape measuring program
JP6722522B2 (en) Three-dimensional measuring device and control method thereof
JP2014055812A (en) Shape measuring device, shape measuring method, and shape measuring program
JP6046997B2 (en) Optical microscope

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200319

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200609

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200617

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: 20200707

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200715

R150 Certificate of patent or registration of utility model

Ref document number: 6736383

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees