JP6476252B2 - Shape measuring device, shape measuring method, and shape measuring program - Google Patents

Shape measuring device, shape measuring method, and shape measuring program Download PDF

Info

Publication number
JP6476252B2
JP6476252B2 JP2017166985A JP2017166985A JP6476252B2 JP 6476252 B2 JP6476252 B2 JP 6476252B2 JP 2017166985 A JP2017166985 A JP 2017166985A JP 2017166985 A JP2017166985 A JP 2017166985A JP 6476252 B2 JP6476252 B2 JP 6476252B2
Authority
JP
Japan
Prior art keywords
measurement
light
shape
pattern
stage
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.)
Active
Application number
JP2017166985A
Other languages
Japanese (ja)
Other versions
JP2017207520A (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 JP2017166985A priority Critical patent/JP6476252B2/en
Publication of JP2017207520A publication Critical patent/JP2017207520A/en
Application granted granted Critical
Publication of JP6476252B2 publication Critical patent/JP6476252B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、形状測定装置、形状測定方法および形状測定プログラムに関する。   The present invention relates to a shape measuring device, a shape measuring method, and a shape measuring program.

三角測距方式の形状測定装置では、測定対象物の表面に光が照射され、その反射光が1次元または2次元に配列された画素を有する受光素子により受光される。受光素子により得られる受光量分布のピーク位置に基づいて、測定対象物の表面の高さを計測することができる。これにより、測定対象物の形状を測定することができる。   In a triangulation type shape measuring apparatus, light is irradiated on the surface of a measurement object, 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 measurement object can be measured based on the peak position of the received light amount distribution obtained by the light receiving element. Thereby, the shape of the measurement object can be measured.

非特許文献1においては、符号化された光と位相シフト法とを組み合わせた三角測距方式の形状測定が提案されている。また、非特許文献2においては、符号化された光とストライプ状の光とを組み合わせた三角測距方式の形状測定が提案されている。これらの方式においては、測定対象物の形状測定の精度を向上させることができる。   Non-Patent Document 1 proposes a shape measurement by a triangulation system that combines encoded light and a phase shift method. Further, Non-Patent Document 2 proposes a shape measurement using a triangulation system in which encoded light and striped light are combined. In these methods, the accuracy of the 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 OpticalMethods for 3D Shape Measurement", Proceedings of SPIE, Volume 4309, pp. 219-231 (2001)Sabry F. El-Hakim and Armin Gruen, "Videometrics and OpticalMethods for 3D Shape Measurement", Proceedings of SPIE, Volume 4309, pp. 219-231 (2001)

三角測距方式による形状測定においては、影が発生する部分または光の多重反射が発生する部分等の正確な形状測定が不可能または困難な部分を含むことが多い。したがって、測定対象物の測定すべき位置が測定可能となるように、測定対象物の姿勢を適切に調整しなければならない。しかしながら、測定対象物の形状によっては測定対象物の姿勢を適切に調整することは容易ではない。   In the shape measurement by the triangulation method, it often includes a portion where accurate shape measurement is impossible or difficult, such as a portion where a shadow occurs or a portion where multiple reflection of light occurs. Therefore, the posture of the measurement object must be appropriately adjusted so that the position to be measured of the measurement object can be measured. However, depending on the shape of the measurement object, it is not easy to appropriately adjust the posture of the measurement object.

本発明の目的は、測定対象物の形状測定前に、測定対象物の姿勢を形状測定に適切な状態に容易に調整することが可能な形状測定装置、形状測定方法および形状測定プログラムを提供することである。   An object of the present invention is to provide a shape measuring device, a shape measuring method, and a shape measuring program capable of easily adjusting the posture of a measuring object to a state suitable for shape measurement before measuring the shape of the measuring object. That is.

(1)第1の発明に係る形状測定装置は、測定対象物が載置されるステージと、測定対象物の姿勢確認用の第1の調整光をステージに載置された測定対象物に斜め上方から照射し、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第1の測定光をステージに載置された測定対象物に斜め上方から照射するように構成される第1の投光部と、測定対象物の姿勢確認用の第2の調整光をステージに載置された測定対象物に、第1の投光部とは異なる方向から照射し、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第2の測定光をステージに載置された測定対象物に、第1の投光部とは異なる方向から照射するように構成される第2の投光部と、ステージの上方に配置され、ステージに載置された測定対象物により反射された光を受光し、受光量を示す受光信号を出力するとともに、ステージに載置された測定対象物を撮像するように構成される受光部と、受光部により出力される受光信号に基づいて、三角測距方式により測定対象物の立体形状を示す立体形状データを生成するように構成されるデータ生成部と、受光部により撮像された測定対象物の画像を表示するように構成される表示部と、形状測定前に、第1の調整光と第2の調整光を測定対象物に同時に照射して当該第1の調整光と当該第2の調整光が照射された測定対象物の画像が表示部に表示されるように投光部を制御し、形状測定時に、第1の測定光を測定対象物に照射するとともに受光部により出力される受光信号に基づいて測定対象物の第1の立体形状データを生成し、第2の測定光を測定対象物に照射するとともに受光部により出力される受光信号に基づいて測定対象物の第2の立体形状データを生成し、第1の立体形状データと第2の立体形状データとを合成して、合成立体形状データを生成するように第1の投光部、第2の投光部、受光部およびデータ生成部を制御する制御部と、第1および第2の調整光が同時に照射された測定対象物の画像が表示部により表示された状態で、測定対象物の姿勢を調整するように操作可能な姿勢調整部とを備え、複数の縞状測定光は、所定の空間周期を有しかつ互いに異なる空間位相を有する縞状の明暗パターンを含み、複数のコード状測定光は、それぞれ異なる符号を表す明暗パターンを含むものである。 (1) In the shape measuring apparatus according to the first aspect of the invention, the stage on which the measurement object is placed and the first adjustment light for confirming the posture of the measurement object are oblique to the measurement object placed on the stage. Irradiated from above and configured to irradiate the measurement object placed on the stage obliquely from above with the first measurement light for shape measurement including a plurality of striped measurement lights and a plurality of code-like measurement lights The first light projecting unit and the second adjustment light for confirming the posture of the measurement object are irradiated to the measurement object placed on the stage from a direction different from the first light projecting unit, and a plurality of stripes The second measurement light for shape measurement including the shape measurement light and the plurality of code-like measurement lights is configured to irradiate the measurement object placed on the stage from a direction different from that of the first light projecting unit. a second light projecting portion that is disposed above the stage, the measuring object mounted on the stage A light receiving unit configured to image a measurement object placed on the stage and a light receiving signal output from the light receiving unit. And a data generation unit configured to generate three-dimensional shape data indicating the three-dimensional shape of the measurement object by a triangulation method, and configured to display an image of the measurement object captured by the light receiving unit. and that the display unit, before the shape measurement, the measurement of the first adjustment light and the second of the the adjustment light is irradiated to the measurement object at the same time the first adjustment light and the second adjustment light is irradiated The light projecting unit is controlled so that an image of the object is displayed on the display unit, and at the time of shape measurement, the first measurement light is irradiated onto the measurement object and the measurement target is based on the light reception signal output from the light receiving unit. generating a first three-dimensional shape data of the object, the second The measurement object is irradiated with the measurement light, and second 3D shape data of the measurement object is generated based on the light reception signal output from the light receiving unit, and the first 3D shape data and the second 3D shape data are generated. The control unit that controls the first light projecting unit, the second light projecting unit, the light receiving unit, and the data generating unit to synthesize and generate composite solid shape data, and the first and second adjustment lights are simultaneously And a posture adjustment unit operable to adjust the posture of the measurement target in a state where the image of the irradiated measurement target is displayed on the display unit, and the plurality of striped measurement lights have a predetermined spatial period And a plurality of code-like measurement light beams each including a light-dark pattern representing a different code.

(2)第1または第2の調整光のパターンは、第1または第2の測定光のいずれのパターンとも異なってもよい。 (2) The pattern of the first or second adjustment light may be different from any pattern of the first or second measurement light.

(3)第1または第2の調整光のパターンは、横パターン、縦パターン、ドットパターン、チェッカーパターンまたは均一パターンのいずれかであってもよい。 (3) The first or second adjustment light pattern may be a horizontal pattern, a vertical pattern, a dot pattern, a checker pattern, or a uniform pattern.

(4)制御部は、形状測定前に、第1または第2の調整光が照射されない測定対象物の部分を測定困難領域として推定し、推定された測定困難領域に対応する部分を第1または第2の調整光が照射された測定対象物の画像上に重畳して表示するように表示部を制御してもよい。 (4) Before the shape measurement, the control unit estimates a part of the measurement object that is not irradiated with the first or second adjustment light as the measurement difficult area, and sets the part corresponding to the estimated measurement difficult area to the first or second The display unit may be controlled so as to be superimposed on the image of the measurement object irradiated with the second adjustment light.

)第2の発明に係る形状測定方法は、形状測定前に、斜め上方から第1の投光部により出射された測定対象物の姿勢確認用の第1の調整光と、第1の投光部とは異なる方向から第2の投光部により出射された測定対象物の姿勢確認用の第2の調整光とを投光部によりステージに載置された測定対象物に同時に照射するステップと、形状測定前に、ステージの上方で受光部によりステージに載置されかつ第1の調整光と第2の調整光が照射された測定対象物を撮像するステップと、形状測定前に、受光部により撮像された測定対象物の画像を表示部に表示するステップと、形状測定前に、第1および第2の調整光が同時に照射された測定対象物の画像が表示部により表示された状態で、測定対象物の姿勢の調整を受け付けるステップと、形状測定時に、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第1の測定光を第1の投光部によりステージに載置された測定対象物に斜め上方から照射するステップと、形状測定時に、ステージに載置された測定対象物により反射された第1の測定光をステージの上方で受光部により受光し、受光量を示す第1の受光信号を出力するステップと、形状測定時に、出力された第1の受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第1の立体形状データを生成するステップと、形状測定時に、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第2の測定光を第2の投光部によりステージに載置された測定対象物に、第1の投光部とは異なる方向から照射するステップと、形状測定時に、ステージに載置された測定対象物により反射された第2の測定光をステージの上方で受光部により受光し、受光量を示す第2の受光信号を出力するステップと、形状測定時に、出力された第2の受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第2の立体形状データを生成するステップと、第1の立体形状データと第2の立体形状データとを合成して、合成立体形状データを生成するステップとを備え、複数の縞状測定光は、所定の空間周期を有しかつ互いに異なる空間位相を有する縞状の明暗パターンを含み、複数のコード状測定光は、それぞれ異なる符号を表す明暗パターンを含むものである。 ( 5 ) The shape measuring method according to the second invention is the first adjustment light for confirming the posture of the measuring object emitted from the first light projecting unit obliquely from the upper side before the shape measurement , Simultaneously irradiates the measurement object placed on the stage by the light projecting unit with the second adjustment light for confirming the posture of the measurement object emitted from the second light projecting unit from a direction different from the light projecting unit. Before the shape measurement, before imaging the measurement object that has been placed on the stage by the light receiving unit and irradiated with the first adjustment light and the second adjustment light before the shape measurement; The step of displaying the image of the measurement object imaged by the light receiving unit on the display unit, and the image of the measurement object irradiated with the first and second adjustment lights simultaneously before the shape measurement are displayed on the display unit. Receiving the adjustment of the posture of the measurement object in the During shape measurement, irradiation from obliquely above to a plurality of striped measurement light and the first measuring object mounted on the stage of the measurement light by the first light projecting portion for shape measurement, including a plurality of coded measurement light And a step of receiving the first measurement light reflected by the measurement object placed on the stage by the light receiving unit above the stage and outputting a first received light signal indicating the amount of received light during the shape measurement. Generating a first three-dimensional shape data indicating a three-dimensional shape of an object to be measured by a triangulation method based on the output first received light signal at the time of shape measurement, and a plurality of stripes at the time of shape measurement. The second measuring light for shape measurement including the measuring light and the plurality of code-shaped measuring lights is applied to the measurement object placed on the stage by the second light projecting unit from a direction different from that of the first light projecting unit. During the irradiation step and shape measurement, The second measurement light reflected by the measurement object placed on the stage is received by the light receiving unit above the stage, and a second received light signal indicating the amount of received light is output. Generating second solid shape data indicating the three-dimensional shape of the object to be measured by the triangulation method based on the second received light signal, and combining the first three-dimensional shape data and the second three-dimensional shape data A plurality of striped measurement lights including a striped light-and-dark pattern having a predetermined spatial period and having different spatial phases, and a plurality of code-shaped measurements. The light includes light and dark patterns representing different signs.

)第3の発明に係る形状測定プログラムは、処理装置により実行可能な形状測定プログラムであって、形状測定前に、斜め上方から第1の投光部により出射された測定対象物の姿勢確認用の第1の調整光と、第1の投光部とは異なる方向から第2の投光部により出射された測定対象物の姿勢確認用の第2の調整光とをステージに載置された測定対象物に斜め上方から同時に照射する処理と、形状測定前に、ステージの上方で受光部によりステージに載置されかつ第1の調整光と第2の調整光が照射された測定対象物を撮像する処理と、形状測定前に、受光部により撮像された測定対象物の画像を表示部に表示する処理と、形状測定前に、第1および第2の調整光が同時に照射された測定対象物の画像が表示部により表示された状態で、測定対象物の姿勢の調整を受け付ける処理と、形状測定時に、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第1の測定光を第1の投光部によりステージに載置された測定対象物に斜め上方から照射する処理と、形状測定時に、ステージに載置された測定対象物により反射された第1の測定光をステージの上方で受光部により受光し、受光量を示す第1の受光信号を出力する処理と、形状測定時に、出力された第1の受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第1の立体形状データを生成する処理と、形状測定時に、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第2の測定光を第2の投光部によりステージに載置された測定対象物に、第1の投光部とは異なる方向から照射する処理と、形状測定時に、ステージに載置された測定対象物により反射された第2の測定光をステージの上方で受光部により受光し、受光量を示す第2の受光信号を出力する処理と、形状測定時に、出力された第2の受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第2の立体形状データを生成する処理と、第1の立体形状データと第2の立体形状データとを合成して、合成立体形状データを生成する処理とを、処理装置に実行させ、複数の縞状測定光は、所定の空間周期を有しかつ互いに異なる空間位相を有する縞状の明暗パターンを含み、複数のコード状測定光は、それぞれ異なる符号を表す明暗パターンを含むものである。 ( 6 ) The shape measurement program according to the third invention is a shape measurement program that can be executed by the processing device, and before the shape measurement, the posture of the measurement object emitted from the obliquely upper part by the first light projecting unit The first adjustment light for confirmation and the second adjustment light for confirming the posture of the measurement object emitted from the second light projecting unit from a direction different from that of the first light projecting unit are placed on the stage. a process of simultaneously irradiated obliquely from above the measuring object that is, before the shape measurement, is placed on the stage by the light receiving portion above the stage and the measurement in which the first adjustment light and the second adjustment light is irradiated The process of imaging the object, the process of displaying the image of the measurement object imaged by the light receiving unit on the display unit before the shape measurement, and the first and second adjustment lights are simultaneously irradiated before the shape measurement. With the image of the measured object displayed on the display A process of accepting an adjustment of the posture of the measuring object at the time of shape measurement, a plurality of striped measurement light and for shape measurement, including a plurality of coded measurement light first measuring beam to the stage by the first light projecting portion A process for irradiating the placed measurement object from obliquely above, and at the time of shape measurement, the first measurement light reflected by the measurement object placed on the stage is received by the light receiving unit above the stage and received. Processing to output a first light reception signal indicating the amount, and generating first solid shape data indicating the three-dimensional shape of the measurement object by a triangulation method based on the output first light reception signal during shape measurement Processing and shape measurement, a second measurement light for shape measurement including a plurality of striped measurement lights and a plurality of code-like measurement lights is applied to the measurement object placed on the stage by the second light projecting unit. Irradiation from a different direction from the first light projecting unit And a process of receiving a second measurement light reflected by the measurement object placed on the stage by the light receiving unit above the stage and outputting a second received light signal indicating the amount of received light during the shape measurement. And processing for generating second solid shape data indicating the three-dimensional shape of the object to be measured by the triangulation method based on the output second received light signal at the time of shape measurement, the first three-dimensional shape data and the first The processing apparatus executes the process of combining the two-dimensional shape data and generating the combined three-dimensional shape data, and the plurality of striped measurement lights have a predetermined spatial period and different spatial phases. The plurality of code-like measurement lights include a light-and-dark pattern representing a different code.

本発明によれば、測定対象物の形状測定前に、測定対象物の姿勢を形状測定に適切な状態に容易に調整することが可能になる。   According to the present invention, it is possible to easily adjust the posture of a measurement object to a state suitable for shape measurement before measuring the shape of the measurement object.

本発明の一実施の形態に係る形状測定装置の構成を示すブロック図である。It is a block diagram which shows the structure of the shape measuring apparatus which concerns on one embodiment of this invention. 図1の形状測定装置の測定部の構成を示す模式図である。It is a schematic diagram which shows the structure of the measurement part of the shape measuring apparatus of FIG. 光が照射された状態の測定対象物の模式図である。It is a schematic diagram of the measuring object in the state irradiated with light. 光が照射された状態の測定対象物の模式図である。It is a schematic diagram of the measuring object in the state irradiated with light. 画像を2画面表示するGUIの一例を示す図である。It is a figure which shows an example of GUI which displays an image on 2 screens. 三角測距方式の原理を説明するための図である。It is a figure for demonstrating the principle of a triangulation system. 測定光の第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 between the timing (number) by which the image in the specific part of the measuring object was image | photographed, and the intensity | strength of the received light. 測定光の第4のパターンを説明するための図である。It is a figure for demonstrating the 4th pattern of measurement light. 動作モード選択時における表示部のGUIの一例を示す図である。It is a figure which shows an example of GUI of the display part at the time of operation mode selection. 動作モード選択時における表示部のGUIの一例を示す図である。It is a figure which shows an example of GUI of the display part at the time of operation mode selection. 形状測定処理実行後における表示部のGUIの一例を示す図である。It is a figure which shows an example of GUI of the display part after shape measurement processing execution. 全焦点テクスチャ画像を説明するための測定対象物の模式的側面図である。It is a typical side view of a measuring object for explaining an all-focus texture image. 受光部の焦点位置とテクスチャ画像の鮮明度との関係を示す図である。It is a figure which shows the relationship between the focus position of a light-receiving part, and the definition of a texture image. 生成された全焦点テクスチャ画像データに基づく測定対象物の全焦点テクスチャ画像である。It is an omnifocal texture image of the measuring object based on generated omnifocal texture image data. 合成データに基づく測定対象物の合成画像である。It is a synthesized image of the measurement object based on the synthesized data. テクスチャ画像の種類の選択時における表示部のGUIの一例を示す図である。It is a figure which shows an example of the GUI of the display part at the time of selection of the kind of texture image. 副立体形状データによる主立体形状データの補正を説明するための図である。It is a figure for demonstrating correction | amendment of the main solid shape data by substereoscopic shape data. 副立体形状データによる主立体形状データの補正を説明するための図である。It is a figure for demonstrating correction | amendment of the main solid shape data by substereoscopic shape data. 副立体形状データによる主立体形状データの補正を説明するための図である。It is a figure for demonstrating correction | amendment of the main solid shape data by substereoscopic shape data. 形状測定の準備の手順を示すフローチャートである。It is a flowchart which shows the procedure of preparation for shape measurement. 形状測定の準備の手順における第1の調整の詳細を示すフローチャートである。It is a flowchart which shows the detail of the 1st adjustment in the preparation procedure of shape measurement. 形状測定の準備の手順における第1の調整の詳細を示すフローチャートである。It is a flowchart which shows the detail of the 1st adjustment in the preparation procedure of shape measurement. X方向から見た図2の受光部を示す模式図である。It is a schematic diagram which shows the light-receiving part of FIG. 2 seen from the X direction. 形状測定の準備の手順における第2の調整の詳細を示すフローチャートである。It is a flowchart which shows the detail of the 2nd adjustment in the procedure of a preparation for shape measurement. 形状測定の準備の手順における第2の調整の詳細を示すフローチャートである。It is a flowchart which shows the detail of the 2nd adjustment in the procedure of a preparation for shape measurement. 第2の調整の実行時における表示部のGUIの一例を示す図である。It is a figure which shows an example of the GUI of the display part at the time of execution of 2nd adjustment. 形状測定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a shape measurement process. 形状測定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a shape measurement process. 形状測定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a shape measurement process. 焦点調整の第1の補助機能の第1の例を説明するための図である。It is a figure for demonstrating the 1st example of the 1st auxiliary | assistant function of focus adjustment. 焦点調整の第1の補助機能の第1の例を説明するための図である。It is a figure for demonstrating the 1st example of the 1st auxiliary | assistant function of focus adjustment. 焦点調整の第1の補助機能の第2の例を説明するための図である。It is a figure for demonstrating the 2nd example of the 1st auxiliary | assistant function of focus adjustment. 補助パターンを表示させる位置を指定するGUIの一例を示す図である。It is a figure which shows an example of GUI which designates the position which displays an auxiliary pattern. 焦点調整の第1の補助機能の第3の例を説明するための図である。It is a figure for demonstrating the 3rd example of the 1st auxiliary | assistant function of focus adjustment. 焦点調整の第1の補助機能の第4の例を説明するための図である。It is a figure for demonstrating the 4th example of the 1st auxiliary | assistant function of focus adjustment. 焦点調整の第1の補助機能の第5の例を説明するための図である。It is a figure for demonstrating the 5th example of the 1st auxiliary | assistant function of focus adjustment. 焦点調整の第1の補助機能の第5の例を説明するための図である。It is a figure for demonstrating the 5th example of the 1st auxiliary | assistant function of focus adjustment. 測定光源から測定対象物に枠パターンを有する光が照射される例を示す図である。It is a figure which shows the example by which the light which has a frame pattern is irradiated to a measuring object from a measurement light source. 測定光源から測定対象物に枠パターンを有する光が照射される例を示す図である。It is a figure which shows the example by which the light which has a frame pattern is irradiated to a measuring object from a measurement light source. デジタルズーム機能に対応する枠パターンを示す図である。It is a figure which shows the frame pattern corresponding to a digital zoom function. 補助パターンおよびガイドパターンの形状の一例を示す図である。It is a figure which shows an example of the shape of an auxiliary pattern and a guide pattern. 補助パターンおよびガイドパターンの形状の他の例を示す図である。It is a figure which shows the other example of the shape of an auxiliary pattern and a guide pattern. 補助パターンおよびガイドパターンの形状のさらに他の例を示す図である。It is a figure which shows the further another example of the shape of an auxiliary | assistant pattern and a guide pattern. 測定対象物に照明光が照射されない場合に表示部に表示される測定対象物を示す図である。It is a figure which shows the measuring object displayed on a display part when illumination light is not irradiated to a measuring object. 測定対象物に照明光が照射された場合に表示部に表示される測定対象物を示す図である。It is a figure which shows the measuring object displayed on a display part when illumination light is irradiated to a measuring object. 焦点調整の第2の補助機能の第1の例を説明するための図である。It is a figure for demonstrating the 1st example of the 2nd auxiliary | assistant function of focus adjustment. 焦点調整の第2の補助機能の第2の例を説明するための図である。It is a figure for demonstrating the 2nd example of the 2nd auxiliary | assistant function of focus adjustment. 焦点調整の第2の補助機能の第2の例を説明するための図である。It is a figure for demonstrating the 2nd example of the 2nd auxiliary | assistant function of focus adjustment. 焦点調整の第2の補助機能の第3の例を説明するための図である。It is a figure for demonstrating the 3rd example of the 2nd auxiliary | assistant function of focus adjustment. 焦点調整の第2の補助機能の第3の例を説明するための図である。It is a figure for demonstrating the 3rd example of the 2nd auxiliary | assistant function of focus adjustment. 高さの算出を高速化するための第1の手法を説明するための図である。It is a figure for demonstrating the 1st method for speeding up calculation of height. 高さの算出を高速化するための第2の手法を説明するための図である。It is a figure for demonstrating the 2nd method for speeding up calculation of height. 高さの算出を高速化するための第3の手法を説明するための図である。It is a figure for demonstrating the 3rd method for speeding up calculation of height. 高さ表示機能の一例を示す図である。It is a figure which shows an example of a height display function. 測定対象物のプロファイルの測定を説明するための図である。It is a figure for demonstrating the measurement of the profile of a measuring object. 測定対象物のプロファイルの測定を説明するための図である。It is a figure for demonstrating the measurement of the profile of a measuring object. 測定対象物のプロファイルの測定手順を示す図である。It is a figure which shows the measurement procedure of the profile of a measurement object. 測定対象物のプロファイルの測定手順を示す図である。It is a figure which shows the measurement procedure of the profile of a measurement object. 測定対象物の姿勢の調整を説明するための図である。It is a figure for demonstrating adjustment of the attitude | position of a measurement object. 姿勢調整の第1の補助機能の第1の例を説明するための図である。It is a figure for demonstrating the 1st example of the 1st auxiliary | assistant function of attitude | position adjustment. 姿勢調整の第1の補助機能の第1の例を説明するための図である。It is a figure for demonstrating the 1st example of the 1st auxiliary | assistant function of attitude | position adjustment. 姿勢調整の第1の補助機能の第2の例を説明するための図である。It is a figure for demonstrating the 2nd example of the 1st auxiliary | assistant function of attitude | position adjustment. 画像を2画面表示するGUIの一例を示す図である。It is a figure which shows an example of GUI which displays an image on 2 screens. 調整光として均一パターンを有する光が照射された測定対象物を示す図である。It is a figure which shows the measuring object irradiated with the light which has a uniform pattern as adjustment light. 測定困難領域の推定結果を含む測定対象物の画像を示す図である。It is a figure which shows the image of the measurement object containing the estimation result of a measurement difficult area | region. 一方の投光部から測定対象物に調整光を照射する場合の測定困難領域の変化を示す図である。It is a figure which shows the change of a measurement difficult area | region when irradiating adjustment light to a measuring object from one light projection part. 一方の投光部から測定対象物に調整光を照射する場合の測定困難領域の変化を示す図である。It is a figure which shows the change of a measurement difficult area | region when irradiating adjustment light to a measuring object from one light projection part. 一方の投光部から測定対象物に調整光を照射する場合の測定困難領域の変化を示す図である。It is a figure which shows the change of a measurement difficult area | region when irradiating adjustment light to a measuring object from one light projection part. 両方の投光部から図69〜図71の測定対象物に調整光を照射する場合の測定困難領域の変化を示す図である。FIG. 72 is a diagram illustrating a change in a measurement difficulty region when adjusting light is irradiated from both light projecting units to the measurement object in FIGS. 69 to 71. 両方の投光部から図69〜図71の測定対象物に調整光を照射する場合の測定困難領域の変化を示す図である。FIG. 72 is a diagram illustrating a change in a measurement difficulty region when adjusting light is irradiated from both light projecting units to the measurement object in FIGS. 69 to 71. 両方の投光部から図69〜図71の測定対象物に調整光を照射する場合の測定困難領域の変化を示す図である。FIG. 72 is a diagram illustrating a change in a measurement difficulty region when adjusting light is irradiated from both light projecting units to the measurement object in FIGS. 69 to 71. 姿勢調整の第1の補助機能に基づく姿勢調整の手順を示すフローチャートである。It is a flowchart which shows the procedure of attitude | position adjustment based on the 1st auxiliary | assistant function of attitude | position adjustment. 姿勢調整の第1の補助機能に基づく姿勢調整の手順を示すフローチャートである。It is a flowchart which shows the procedure of attitude | position adjustment based on the 1st auxiliary | assistant function of attitude | position adjustment. ROIが設定された表示部の表示の一例を示す図である。It is a figure which shows an example of the display of the display part to which ROI was set. 測定困難領域を有する測定対象物の画像の一例を示す図である。It is a figure which shows an example of the image of the measuring object which has a measurement difficult area | region. 測定困難領域を有する測定対象物の画像の他の例を示す図である。It is a figure which shows the other example of the image of the measuring object which has a measurement difficult area | region. 測定困難領域を有する測定対象物の画像のさらに他の例を示す図である。It is a figure which shows the further another example of the image of the measuring object which has a measurement difficult area | region. 測定困難領域を有する測定対象物の画像のさらに他の例を示す図である。It is a figure which shows the further another example of the image of the measuring object which has a measurement difficult area | region. 姿勢調整の第2の補助機能に基づく姿勢調整の手順を示すフローチャートである。It is a flowchart which shows the procedure of the attitude | position adjustment based on the 2nd auxiliary | assistant function of attitude | position adjustment. 姿勢調整の第2の補助機能に基づく姿勢調整の手順を示すフローチャートである。It is a flowchart which shows the procedure of the attitude | position adjustment based on the 2nd auxiliary | assistant function of attitude | position adjustment. 姿勢調整の第3の補助機能に基づく姿勢調整の手順を示すフローチャートである。It is a flowchart which shows the procedure of the attitude | position adjustment based on the 3rd auxiliary | assistant function of attitude | position adjustment.

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

図1に示すように、測定部100は、例えば顕微鏡であり、投光部110、受光部120、照明光出力部130、ステージ140および制御基板150を含む。投光部110は、測定光源111、パターン生成部112および複数のレンズ113,114,115を含む。受光部120は、カメラ121および複数のレンズ122,123を含む。ステージ140上には、測定対象物Sが載置される。   As illustrated in FIG. 1, the measurement unit 100 is a microscope, for example, and includes a light projecting unit 110, a light receiving unit 120, an illumination light output unit 130, a stage 140, and a control board 150. The light projecting unit 110 includes a measurement light source 111, a pattern generation unit 112, and a plurality of lenses 113, 114, and 115. The light receiving unit 120 includes a camera 121 and a plurality of lenses 122 and 123. On the stage 140, the measuring object S is placed.

投光部110は、ステージ140の斜め上方に配置される。測定部100は、複数の投光部110を含んでもよい。図2の例においては、測定部100は2つの投光部110を含む。以下、2つの投光部110を区別する場合は、一方の投光部110を投光部110Aと呼び、他方の投光部110を投光部110Bと呼ぶ。投光部110A,110Bは受光部120の光軸を挟んで対称に配置される。   The light projecting unit 110 is disposed obliquely above the stage 140. The measuring unit 100 may include a plurality of light projecting units 110. In the example of FIG. 2, the measurement 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 110 </ b> A and 110 </ b> B are arranged symmetrically across the optical axis of the light receiving unit 120.

各投光部110A,110Bの測定光源111は、例えば白色光を出射するハロゲンランプである。測定光源111は、白色光を出射する白色LED(発光ダイオード)等の他の光源であってもよい。測定光源111から出射された光(以下、測定光と呼ぶ)は、レンズ113により適切に集光された後、パターン生成部112に入射する。   The measurement light source 111 of each of the light projecting units 110A and 110B is, for example, a halogen lamp that emits white light. The measurement light source 111 may be another light source such as a white LED (light emitting diode) that emits white light. 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,115により測定対象物Sの寸法よりも大きい径を有する光に変換された後、ステージ140上の測定対象物Sに照射される。   The pattern generation unit 112 is a DMD (digital micromirror device), for example. The pattern generation unit 112 may be an LCD (Liquid Crystal Display), LCOS (Liquid Crystal on Silicon), or a mask. The measurement light incident on the pattern generation unit 112 is converted into a preset pattern and a preset intensity (brightness) and emitted. The measurement light emitted from the pattern generation unit 112 is converted into light having a diameter larger than the dimension of the measurement object S by the plurality of lenses 114 and 115 and then irradiated to the measurement object S on the stage 140. .

受光部120は、ステージ140の上方に配置される。測定対象物Sによりステージ140の上方に反射された測定光は、受光部120の複数のレンズ122,123により集光および結像された後、カメラ121により受光される。   The light receiving unit 120 is disposed above the stage 140. The measurement light reflected above the stage 140 by the measurement object S is collected and imaged by the plurality of lenses 122 and 123 of the light receiving unit 120 and then received by the camera 121.

カメラ121は、例えば撮像素子121aおよびレンズを含むCCD(電荷結合素子)カメラである。撮像素子121aは、例えばモノクロCCD(電荷結合素子)である。撮像素子121aは、CMOS(相補性金属酸化膜半導体)イメージセンサ等の他の撮像素子であってもよい。撮像素子121aの各画素からは、受光量に対応するアナログの電気信号(以下、受光信号と呼ぶ)が制御基板150に出力される。   The camera 121 is, for example, a CCD (Charge Coupled Device) camera including an image sensor 121a and a lens. 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 electrical signal (hereinafter referred to as a light reception signal) corresponding to the amount of received light is output to the control board 150.

モノクロCCDには、カラーCCDとは異なり、赤色波長の光を受光する画素、緑色波長の光を受光する画素および青色波長の光を受光する画素を設ける必要がない。そのため、モノクロCCDの計測の分解能はカラーCCDの分解能よりも高くなる。また、モノクロCCDには、カラーCCDとは異なり、各画素にカラーフィルタを設ける必要がない。そのため、モノクロCCDの感度はカラーCCDの感度よりも高くなる。これらの理由により、本例におけるカメラ121にはモノクロCCDが設けられる。   Unlike a color CCD, a monochrome CCD does not need to be provided with pixels that receive red wavelength light, pixels that receive green wavelength light, and pixels that receive blue wavelength light. Therefore, the measurement resolution of the monochrome CCD is higher than the resolution of the color CCD. Further, unlike a color CCD, a monochrome CCD does not require 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 emits red wavelength light, green wavelength light, and blue wavelength light to the measurement object S in a time-sharing manner. According to this configuration, a color image of the measuring object S can be taken by the light receiving unit 120 using a monochrome CCD.

一方、カラーCCDが十分な分解能および感度を有する場合には、撮像素子121aは、カラーCCDであってもよい。この場合、照明光出力部130は、測定対象物Sに赤色波長の光、緑色波長の光および青色波長の光を時分割で照射する必要はなく、白色光を測定対象物Sに照射する。そのため、照明光源320の構成を単純にすることができる。   On the other hand, when the color CCD has sufficient resolution and sensitivity, the image sensor 121a may be a color CCD. In this case, the illumination light output unit 130 does not need to irradiate the measurement object S with red wavelength light, green wavelength light, and blue wavelength light in a time-sharing manner, and irradiates the measurement object S with 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に転送される。   On the control board 150, an A / D converter (analog / digital converter) and a FIFO (First In First Out) memory (not shown) are mounted. 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 based on the control by the control unit 300. 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.

図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 includes a keyboard and a pointing device. A mouse or a joystick is used as the pointing device.

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

CPU210は、制御基板150から与えられる画素データに基づいて画像データを生成する。また、CPU210は、生成した画像データに作業用メモリ230を用いて各種処理を行うとともに、画像データに基づく画像を表示部400に表示させる。さらに、CPU210は、後述するステージ駆動部146に駆動パルスを与える。表示部400は、例えばLCDパネルまたは有機EL(エレクトロルミネッセンス)パネルにより構成される。   The CPU 210 generates image data based on the pixel data given from the control board 150. The CPU 210 performs various processes on the generated image data using the work memory 230 and causes the display unit 400 to display an image based on the image data. Further, the CPU 210 gives a driving pulse to a stage driving unit 146 to be described later. The display unit 400 is configured by, for example, an LCD panel or an organic EL (electroluminescence) panel.

図2において、測定対象物Sが載置されるステージ140上の平面(以下、載置面と呼ぶ)内で互いに直交する2方向をX方向およびY方向と定義し、それぞれ矢印X,Yで示す。ステージ140の載置面に対して直交する方向をZ方向と定義し、矢印Zで示す。Z方向に平行な軸を中心に回転する方向をθ方向と定義し、矢印θで示す。   In FIG. 2, two directions orthogonal to each other within a plane (hereinafter referred to as a placement surface) on the stage 140 on which the measurement object S is placed are defined as an X direction and a Y direction, and arrows X and Y respectively. Show. A direction orthogonal to the mounting surface of the stage 140 is defined as a Z direction and is indicated by an arrow Z. A direction rotating around an axis parallel to the Z direction is defined as a θ direction, and is indicated by an arrow θ.

ステージ140は、X−Yステージ141、Zステージ142、θステージ143およびチルトステージ144を含む。X−Yステージ141は、X方向移動機構およびY方向移動機構を有する。Zステージ142は、Z方向移動機構を有する。θステージ143は、θ方向回転機構を有する。チルトステージ144は、載置面に平行な軸を中心に回転可能な機構(以下、あおり回転機構と呼ぶ)を有する。X−Yステージ141、Zステージ142、θステージ143およびチルトステージ144により、ステージ140が構成される。また、ステージ140は、載置面に測定対象物Sを固定する図示しない固定部材(クランプ)をさらに含む。   The stage 140 includes an XY stage 141, a Z stage 142, a θ stage 143, and a tilt stage 144. The XY stage 141 has an X direction moving mechanism and a Y direction moving mechanism. The Z stage 142 has a Z direction moving mechanism. The θ stage 143 has a θ direction rotation mechanism. The tilt stage 144 has a mechanism that can rotate around an axis parallel to the mounting surface (hereinafter referred to as a tilt rotation mechanism). The XY stage 141, the Z stage 142, the θ stage 143, and the tilt stage 144 constitute a stage 140. The stage 140 further includes a fixing member (clamp) (not shown) that fixes the measuring object S to the placement surface.

ここで、受光部120の焦点に位置しかつ受光部120の光軸に垂直な平面を受光部120の焦点面と呼ぶ。図2に示すように、投光部110A,110B、受光部120およびステージ140の相対的な位置関係は、投光部110Aの光軸、投光部110Bの光軸および受光部120の光軸が受光部120の焦点面で互いに交差するように設定される。   Here, a plane located at the focal point of the light receiving unit 120 and perpendicular to the optical axis of the light receiving unit 120 is referred to as a focal plane of the light receiving unit 120. As shown in FIG. 2, the relative positional relationship among the light projecting units 110A and 110B, the light receiving unit 120, and the stage 140 is such that the optical axis of the light projecting unit 110A, the optical axis of the light projecting unit 110B, and the optical axis of the light receiving unit 120. Are set so as to cross each other at the focal plane of the light receiving unit 120.

また、投光部110の焦点(測定光のパターンが結像する点)に位置しかつ投光部110の光軸に垂直な平面を投光部110の焦点面と呼ぶ。各投光部110A,110Bは、投光部110Aの焦点面および投光部110Bの焦点面が受光部120の焦点を含む位置で交差するように構成される。   A plane that is located at the focal point of the light projecting unit 110 (the point where the pattern of the measurement light is imaged) and is perpendicular to the optical axis of the light projecting unit 110 is referred to as a focal plane of the light projecting unit 110. Each of the light projecting units 110 </ b> A and 110 </ b> B is configured such that the focal plane of the light projecting unit 110 </ b> A and the focal plane of the light projecting unit 110 </ b> B intersect at a position including the focal point of the light receiving unit 120.

θステージ143のθ方向の回転軸の中心は、受光部120の光軸と一致している。そのため、θステージ143をθ方向に回転させた場合に、測定対象物Sを視野から外すことなく、回転軸を中心に視野内で回転させることができる。また、X−Yステージ141、θステージ143およびチルトステージ144は、Zステージ142により支持されている。   The center of the rotation axis of the θ stage 143 in the θ direction coincides with the optical axis of the light receiving unit 120. Therefore, when the θ stage 143 is rotated in the θ direction, the measuring object S can be rotated within the field of view around the rotation axis without removing the measuring object S from the field of view. Further, the XY stage 141, the θ stage 143, and the tilt stage 144 are supported by the Z stage 142.

すなわち、θステージ143をθ方向に回転させるか、またはチルトステージ144をあおり方向に回転させた状態であっても、受光部120の中心軸とZステージ142の移動軸とにずれが生じないように構成されている。ここで、あおり方向とは、載置面に平行な軸を中心とする回転方向である。この構成により、測定対象物Sの位置または姿勢を変化させた状態であっても、Z方向にステージ140を移動させて受光部120の異なる複数の焦点位置においてそれぞれ撮像した複数の画像を合成することが可能となる。   That is, even if the θ stage 143 is rotated in the θ direction or the tilt stage 144 is rotated in the tilt direction, the center axis of the light receiving unit 120 and the movement axis of the Z stage 142 do not shift. It is configured. Here, the tilt direction is a rotation direction about an axis parallel to the placement surface. With this configuration, even when the position or orientation of the measurement object S is changed, the stage 140 is moved in the Z direction to synthesize a plurality of images respectively captured at a plurality of different focal positions of the light receiving unit 120. It becomes possible.

ステージ140のX方向移動機構、Y方向移動機構、Z方向移動機構、θ方向回転機構およびあおり回転機構には、それぞれステッピングモータが用いられる。ステージ140のX方向移動機構、Y方向移動機構、Z方向移動機構、θ方向回転機構およびあおり回転機構は、図1のステージ操作部145またはステージ駆動部146により駆動される。   Stepping motors are used for the X direction moving mechanism, the Y direction moving mechanism, the Z direction moving mechanism, the θ direction rotating mechanism, and the tilt rotating mechanism of the stage 140, respectively. The X direction moving mechanism, the Y direction moving mechanism, the Z direction moving mechanism, the θ direction rotating mechanism, and the tilt rotating mechanism of the stage 140 are driven by the stage operation unit 145 or the stage driving unit 146 in FIG.

使用者は、ステージ操作部145を手動で操作することにより、ステージ140の載置面を受光部120に対して相対的にX方向、Y方向もしくはZ方向に移動させるか、またはθ方向もしくはあおり方向に回転させることができる。ステージ駆動部146は、PC200より与えられる駆動パルスに基づいて、ステージ140のステッピングモータに電流を供給することにより、ステージ140を受光部120に相対的にX方向、Y方向もしくはZ方向に移動させるか、またはθ方向もしくはあおり方向に回転させることができる。   The user manually operates the stage operation unit 145 to move the mounting surface of the stage 140 in the X direction, the Y direction, or the Z direction relative to the light receiving unit 120, or the θ direction or tilt. Can be rotated in the direction. The stage driving unit 146 moves the stage 140 relative to the light receiving unit 120 in the X direction, the Y direction, or the Z direction by supplying current to the stepping motor of the stage 140 based on the driving pulse given from the PC 200. Or can be rotated in the θ direction or the tilt direction.

なお、本実施の形態では、ステージ140はステッピングモータにより駆動することが可能であるとともに手動により操作することが可能な電動ステージであるが、これに限定されない。ステージ140はステッピングモータでのみ駆動することが可能な電動ステージであってもよいし、手動でのみ操作することが可能な手動ステージであってもよい。   In the present embodiment, stage 140 is an electric stage that can be driven by a stepping motor and can be manually operated, but is not limited thereto. The stage 140 may be an electric stage that can be driven only by a stepping motor, or may be a manual stage that can be operated only manually.

制御部300は、制御基板310および照明光源320を含む。制御基板310には、図示しないCPUが実装される。制御基板310のCPUは、PC200のCPU210からの指令に基づいて、投光部110、受光部120および制御基板150を制御する。   The control unit 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 unit 110, the light receiving unit 120, and the control board 150 based on a command from the CPU 210 of the PC 200.

照明光源320は、例えば赤色光、緑色光および青色光を出射する3つのLEDを含む。各LEDから出射される光の輝度を制御することにより、照明光源320から任意の色の光を発生することができる。照明光源320から発生される光(以下、照明光と呼ぶ)は、導光部材(ライトガイド)を通して測定部100の照明光出力部130から出力される。なお、制御部300に照明光源320を設けずに、測定部100に照明光源320を設けてもよい。この場合、測定部100には照明光出力部130が設けられない。   The illumination light source 320 includes, for example, three LEDs that emit red light, green light, and blue light. By controlling the luminance of the light emitted from each LED, light of an arbitrary color can be generated 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 a light guide member (light guide). Note that the illumination light source 320 may be provided in the measurement unit 100 without providing the illumination light source 320 in the control unit 300. In this case, the illumination light output unit 130 is not provided in the measurement unit 100.

図2の照明光出力部130は、円環形状を有し、受光部120を取り囲むようにステージ140の上方に配置される。これにより、影が発生しないように照明光出力部130から測定対象物Sに照明光が照射される。図3および図4は、光が照射された状態の測定対象物Sの模式図である。図3および図4の例においては、測定対象物Sは上面の略中央に孔Shを有する。また、図3(a),(c)および図4(a)においては、影Ssをハッチングにより表わしている。   The illumination light output unit 130 of FIG. 2 has an annular shape and is disposed above the stage 140 so as to surround the light receiving unit 120. Thereby, illumination light is irradiated to the measuring object S from the illumination light output unit 130 so that no shadow is generated. 3 and 4 are schematic views of the measuring object S in a state irradiated with light. In the example of FIGS. 3 and 4, the measuring object S has a hole Sh at the approximate center of the upper surface. 3A, 3C, and 4A, the shadow Ss is represented by hatching.

図3(a)は図2の一方の投光部110Aからの測定光が照射された状態の測定対象物Sの平面図であり、図3(b)は図3(a)のA−A線断面図である。図3(a),(b)に示すように、一方の投光部110Aから測定光を測定対象物Sに照射した場合、孔Shの深さによっては、孔Shの底部にまで測定光が到達せず、影Ssが発生する。したがって、測定対象物Sの一部を観察することができない。   FIG. 3A is a plan view of the measuring object S in a state irradiated with measurement light from one of the light projecting units 110A in FIG. 2, and FIG. 3B is a cross-sectional view taken along line AA in FIG. It is line sectional drawing. As shown in FIGS. 3A and 3B, when the measurement object S is irradiated with the measurement light from one light projecting unit 110A, the measurement light may reach the bottom of the hole Sh depending on the depth of the hole Sh. The shadow Ss is generated without reaching. Therefore, a part of the measuring object S cannot be observed.

図3(c)は図2の他方の投光部110Bからの測定光が照射された状態の測定対象物Sの平面図であり、図3(d)は図3(c)のB−B線断面図である。図3(c),(d)に示すように、他方の投光部110Bから測定光を測定対象物Sに照射した場合、孔Shの深さによっては、孔Shの底部にまで測定光が到達せず、影Ssが発生する。したがって、測定対象物Sの一部を観察することができない。   FIG. 3C is a plan view of the measuring object S in a state irradiated with the measurement light from the other light projecting unit 110B in FIG. 2, and FIG. 3D is a cross-sectional view taken along line BB in FIG. It is line sectional drawing. As shown in FIGS. 3C and 3D, when the measurement object S is irradiated with the measurement light from the other light projecting unit 110B, the measurement light may reach the bottom of the hole Sh depending on the depth of the hole Sh. The shadow Ss is generated without reaching. Therefore, a part of the measuring object S cannot be observed.

図4(a)は投光部110A,110Bの両方からの測定光が照射された状態の測定対象物Sの平面図であり、図4(b)は図4(a)のC−C線断面図である。図4(a),(b)に示すように、投光部110A,110Bの両方から測定光を測定対象物Sに照射した場合、投光部110A,110Bの一方から測定光を測定対象物Sに照射した場合に比べて、孔Shの底部にまで到達しない測定光が減少するため、発生する影Ssが減少する。したがって、観察することができる測定対象物Sの部分が増加する。   FIG. 4A is a plan view of the measurement object S in a state where measurement light from both the light projecting units 110A and 110B is irradiated, and FIG. 4B is a CC line in FIG. 4A. It is sectional drawing. As shown in FIGS. 4A and 4B, when the measurement object S is irradiated with the measurement light from both the light projecting units 110A and 110B, the measurement light is applied from one of the light projecting units 110A and 110B. Compared with the case where S is irradiated, the measurement light that does not reach the bottom of the hole Sh is reduced, so that the generated shadow Ss is reduced. Therefore, the portion of the measuring object S that can be observed increases.

図4(c)は図2の照明光出力部130からの照明光が照射された状態の測定対象物Sの平面図であり、図4(d)は図4(c)のD−D線断面図である。図4(c),(d)に示すように、照明光は測定対象物Sの略真上から照射されるので、孔Shの深さによらず、孔Shの底部にまで照明光が到達する。したがって、測定対象物Sの大部分を観察することができる。   FIG. 4C is a plan view of the measuring object S in a state irradiated with illumination light from the illumination light output unit 130 in FIG. 2, and FIG. 4D is a DD line in FIG. It is sectional drawing. As shown in FIGS. 4C and 4D, since the illumination light is irradiated from substantially right above the measurement object S, the illumination light reaches the bottom of the hole Sh regardless of the depth of the hole Sh. To do. Therefore, most of the measuring object S can be observed.

一方の投光部110Aから測定光が照射された測定対象物Sの画像と他方の投光部110Bから測定光が照射された測定対象物Sの画像とが並ぶように表示部400に表示(2画面表示)されてもよい。図5は、画像を2画面表示するGUI(Graphical User Interface)の一例を示す図である。   Displayed on the display unit 400 so that the image of the measuring object S irradiated with the measuring light from one light projecting unit 110A and the image of the measuring object S irradiated with the measuring light from the other light projecting unit 110B are aligned ( (2 screen display). FIG. 5 is a diagram illustrating an example of a GUI (Graphical User Interface) that displays an image on two screens.

図5に示すように、表示部400には2つの画像表示領域410,420が並ぶように設けられる。画像を2画面表示する場合には、投光部110A,110Bから測定対象物Sに測定光が切り替わるように交互に照射される。画像表示領域410には、一方の投光部110Aから測定光が照射された場合における測定対象物Sの画像が表示される。画像表示領域420には、他方の投光部110Bから測定光が照射された場合における測定対象物Sの画像が表示される。これにより、使用者は投光部110A,110Bの各々により測定光を照射された場合における測定対象物Sの画像を区別して認識することができる。   As shown in FIG. 5, the display unit 400 is provided with two image display areas 410 and 420 arranged side by side. When displaying two images on the screen, the measurement light is alternately irradiated from the light projecting units 110 </ b> A and 110 </ b> B so that the measurement light S is switched. In the image display area 410, an image of the measurement object S when the measurement light is irradiated from one light projecting unit 110A is displayed. In the image display area 420, an image of the measurement object S when the measurement light is irradiated from the other light projecting unit 110B is displayed. Thereby, the user can distinguish and recognize the image of the measuring object S when each of the light projecting units 110A and 110B is irradiated with the measurement light.

本例においては、投光部110A,110Bからの測定光の切り替えの頻度は、例えば数Hzである。なお、投光部110A,110Bからの測定光の切り替えの頻度は、使用者に切り替えの認識をすることができない値(例えば100Hz)に設定されてもよい。この場合、使用者には、測定部100において両方の投光部110A,110Bから測定対象物Sに測定光が同時に照射されるように観測される。   In this example, the frequency of switching the measurement light from the light projecting units 110A and 110B is, for example, several Hz. Note that the frequency of switching the measurement light from the light projecting units 110A and 110B may be set to a value (for example, 100 Hz) that cannot be recognized by the user. In this case, the user observes that the measuring object 100 is simultaneously irradiated with the measuring light from both the light projecting units 110 </ b> A and 110 </ b> B in the measuring unit 100.

表示部400には2つの光量設定バー430,440が表示される。光量設定バー430は、水平方向に移動可能なスライダ430sを有する。光量設定バー440は、水平方向に移動可能なスライダ440sを有する。以下、一方の投光部110Aから出射される測定光を一方の測定光と呼び、他方の投光部110Bから出射される測定光を他方の測定光と呼ぶ。光量設定バー430上のスライダ430sの位置は、一方の測定光を受光する際の受光部120の光量(以下、一方の測定光の光量と呼ぶ)に対応する。光量設定バー440上のスライダ440sの位置は、他方の測定光を受光する際の受光部120の光量(以下、他方の測定光の光量と呼ぶ)に対応する。   Two light amount setting bars 430 and 440 are displayed on the display unit 400. The light amount setting bar 430 includes a slider 430s that can move in the horizontal direction. The light amount setting bar 440 includes a slider 440s that can move in the horizontal direction. Hereinafter, the measurement light emitted from one light projecting unit 110A is referred to as one measurement light, and the measurement light emitted from the other light projection unit 110B is referred to as the other measurement light. The position of the slider 430s on the light amount setting bar 430 corresponds to the light amount of the light receiving unit 120 when receiving one measurement light (hereinafter, referred to as the light amount of one measurement light). The position of the slider 440s on the light amount setting bar 440 corresponds to the light amount of the light receiving unit 120 when receiving the other measurement light (hereinafter referred to as the light amount of the other measurement light).

使用者は、図1のPC200の操作部250を操作して光量設定バー430のスライダ430sを水平方向に移動させることにより、一方の測定光の光量を変更することができる。一方の測定光の光量の変更は、一方の測定光の明るさまたは一方の測定光を受光する際の受光部120の露光時間を変更することにより行われる。同様に、使用者は、操作部250を操作して光量設定バー440のスライダ440sを水平方向に移動させることにより、他方の測定光の光量を変更することができる。他方の測定光の光量の変更は、他方の測定光の明るさまたは他方の測定光を受光する際の受光部120の露光時間を変更することにより行われる。   The user can change the light quantity of one measurement light by operating the operation unit 250 of the PC 200 in FIG. 1 and moving the slider 430s of the light quantity setting bar 430 in the horizontal direction. The light quantity of one measurement light is changed by changing the brightness of one measurement light or the exposure time of the light receiving unit 120 when receiving one measurement light. Similarly, the user can change the light amount of the other measurement light by operating the operation unit 250 and moving the slider 440s of the light amount setting bar 440 in the horizontal direction. The light quantity of the other measurement light is changed by changing the brightness of the other measurement light or the exposure time of the light receiving unit 120 when receiving the other measurement light.

上記のように、画像表示領域410,420には、投光部110A,110Bの各々により測定光が照射された場合における測定対象物Sの画像が並ぶように表示される。したがって、使用者は、画像表示領域410,420に表示された測定対象物Sの画像を見ながら、光量設定バー430,440のスライダ430s,440sの位置をそれぞれ移動させることにより、一方および他方の測定光の光量を適切に調整することができる。   As described above, in the image display areas 410 and 420, images of the measurement object S when the measurement light is irradiated by each of the light projecting units 110A and 110B are displayed so as to be aligned. Therefore, the user moves the positions of the sliders 430 s and 440 s of the light amount setting bars 430 and 440 while viewing the images of the measurement object S displayed in the image display areas 410 and 420, respectively, and thereby The amount of measurement light can be adjusted appropriately.

また、一方および他方の測定光の光量と照明光出力部130から出射される照明光を受光する際の受光部120の光量(以下、照明光の光量と呼ぶ)との間に相関がある場合がある。この場合、一方および他方の測定光の光量は、照明光の光量に基づいて自動的に調整されてもよい。あるいは、照明光の光量に基づいて、一方および他方の測定光の光量を適切にするための調整ガイドが表示部400に表示されてもよい。この場合、使用者は、調整ガイドに基づいて光量設定バー430,440のスライダ430s,440sの位置をそれぞれ移動させることにより、一方および他方の測定光の光量を適切に調整することができる。   In addition, when there is a correlation between the light quantity of one and the other measurement light and the light quantity of the light receiving unit 120 when receiving the illumination light emitted from the illumination light output unit 130 (hereinafter referred to as illumination light quantity) There is. In this case, the light quantity of the one and the other measurement light may be automatically adjusted based on the light quantity of the illumination light. Or based on the light quantity of illumination light, the adjustment guide for making the light quantity of one and the other measurement light suitable may be displayed on the display part 400. FIG. In this case, the user can appropriately adjust the light amounts of one and the other measurement light by moving the positions of the sliders 430 s and 440 s of the light amount setting bars 430 and 440 based on the adjustment guide.

光の照射方向が異なれば、光の反射方向も異なる。そのため、測定対象物Sの同一の部分であっても、一方の測定光が照射された部分の画像の明るさと他方の測定光が照射された部分の画像の明るさとは互いに異なる。すなわち、形状測定に適した光量は照射方向によって異なる。   If the light irradiation direction is different, the light reflection direction is also different. Therefore, even in the same portion of the measurement object S, the brightness of the image irradiated with one measurement light is different from the brightness of the image irradiated with the other measurement light. That is, the amount of light suitable for shape measurement varies depending on the irradiation direction.

本実施の形態では、投光部110A、110Bから測定光が照射された際の画像の各々の明るさを個別に調整することができる。そのため、光の照射方向に応じた適切な光量を設定することができる。また、光量の調整中の画像は、画像表示領域410,420に更新されながら表示される。これにより、使用者は、画像を確認しながら光量を調整することができる。   In the present embodiment, it is possible to individually adjust the brightness of each image when the measurement light is irradiated from the light projecting units 110A and 110B. Therefore, it is possible to set an appropriate amount of light according to the light irradiation direction. Further, the image whose light amount is being adjusted is displayed in the image display areas 410 and 420 while being updated. Thereby, the user can adjust the light amount while confirming the image.

この場合において、PC200は、画像中の明るすぎるために白とびが生じている部分または暗すぎるために黒つぶれが生じている部分を識別可能に画像表示領域410,420に表示することができる。これにより、使用者は、適切に光量が調整されているか否かを容易に確認することができる。   In this case, the PC 200 can display, in the image display areas 410 and 420, a portion in which an overexposure occurs because the image is too bright or a portion where an overexposure occurs because the image is too dark. Thereby, the user can easily confirm whether or not the light amount is appropriately adjusted.

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

ステージ140上に測定対象物Sが載置されない場合、投光部110から出射される測定光は、ステージ140の載置面の点Oにより反射され、受光部120に入射する。一方、ステージ140上に測定対象物Sが載置される場合、投光部110から出射される測定光は、測定対象物Sの表面の点Aにより反射され、受光部120に入射する。   When the measurement object S is not placed on the stage 140, the measurement light emitted from the light projecting unit 110 is reflected by the point O on the placement surface of the stage 140 and enters the light receiving unit 120. On the other hand, when the measuring object S is placed on the stage 140, the measuring light emitted from the light projecting unit 110 is reflected by the point A on the surface of the measuring object 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 in the X direction between the point O and the point A 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 given 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. By calculating the heights of all points on the surface of the measuring object S, the three-dimensional shape of the measuring object S is measured.

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

(2)測定光の第1のパターン
図7は、測定光の第1のパターンを説明するための図である。図7(a)は、ステージ140上の測定対象物Sに投光部110から測定光を照射した状態を示す。図7(b)は、測定光が照射された測定対象物Sの平面図を示す。図7(a)に示すように、第1のパターンとして、Y方向に平行な直線状の断面を有する測定光(以下、ライン状測定光と呼ぶ)が投光部110から出射される。この場合、図7(b)に示すように、ステージ140に照射されたライン状測定光の部分と測定対象物Sの表面に照射されたライン状測定光の部分とは、測定対象物Sの表面の高さhに対応する距離dだけX方向に互いにずれる。したがって、距離dを測定することにより、測定対象物Sの高さhを算出することができる。
(2) First Pattern of Measurement Light FIG. 7 is a diagram for explaining the first pattern of measurement light. FIG. 7A shows a state in which the measuring object S on the stage 140 is irradiated with the measuring light from the light projecting unit 110. FIG. 7B shows a plan view of the measuring object S irradiated with the measuring light. As shown in FIG. 7A, as the first pattern, measurement light having a linear cross section parallel to the Y direction (hereinafter referred to as linear measurement light) is emitted from the light projecting unit 110. In this case, as shown in FIG. 7B, the portion of the line-shaped measurement light irradiated on the stage 140 and the portion of the line-shaped measurement light irradiated on the surface of the measurement object S are the same as those of the measurement object S. They are shifted 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 in 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 line-shaped measurement 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 height h of the several part of the measuring object S along the Y direction in the several position of a X direction is calculated. By scanning the line-shaped measurement light in the X direction in a range wider than the dimension in the X direction of the measurement object S, the height h of all points on the surface of the measurement object S can be calculated. Thereby, the three-dimensional shape of the measuring object S can be measured.

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

図8(a)は、1回目に出射される正弦波状測定光を示す。1回目に出射される正弦波状測定光の強度は、測定対象物Sの表面上の任意の部分P0において初期位相φを有する。この正弦波状測定光が出射されることにより、測定対象物Sの表面で反射された光が受光部120により受光される。受光された光の強度が測定対象物Sの画素データに基づいて測定される。測定対象物Sの表面上の部分P0により反射された光の強度をI1とする。   FIG. 8A shows 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 measurement object S. When the sinusoidal measurement light is emitted, the light reflected by the surface of the measurement object S is received by the light receiving unit 120. 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 I1.

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

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

図8(d)は、4回目に出射される正弦波状測定光を示す。4回目の正弦波状測定光の強度は、測定対象物Sの表面上の部分P0において位相(φ+3π/2)を有する。この正弦波状測定光が出射されることにより、測定対象物Sの表面で反射された光が受光部120により受光される。受光された光の強度が測定対象物Sの画素データに基づいて測定される。測定対象物Sの表面上の部分P0により反射された光の強度をI4とする。   FIG. 8D shows 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 measurement object S. When the sinusoidal measurement light is emitted, the light reflected by the surface of the measurement object S is received by the light receiving unit 120. 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 assumed to be 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)]. A 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 all portions of the measuring object S can be calculated at high speed and easily by measuring the intensity of light four times. Note that 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 all the parts on the surface of the measuring object S, the three-dimensional shape of the measuring object S can be measured.

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

すなわち、縞状測定光においては、Y方向に平行な直線状の明部分およびY方向に平行な直線状の暗部分がX方向に周期的に配列される。ここで、パターン生成部112がDMDである場合には、マイクロミラーの寸法を1単位とする。縞状測定光の各明部分のX方向の幅は、例えば3単位であり、縞状測定光の各暗部分のX方向の幅は、例えば13単位である。この場合、縞状測定光のX方向の周期は16単位である。なお、明部分および暗部分の単位は、図2のパターン生成部112の構成により異なる。例えば、パターン生成部112が液晶である場合には、1単位は1画素の寸法である。   That is, in the striped measurement light, a linear bright portion parallel to the Y direction and a linear dark portion parallel to the Y direction are periodically arranged in the X direction. Here, when the pattern generation unit 112 is a DMD, the dimension of the micromirror is set to one unit. The width of each bright portion of the striped measurement light in the X direction is, for example, 3 units, and the width of each dark portion of the striped measurement light in the X direction is, for example, 13 units. In this case, the period of the striped measurement light in the X direction is 16 units. The unit of the bright part and the dark part differs depending on the configuration of the pattern generation unit 112 in FIG. For example, when the pattern generation unit 112 is a liquid crystal, one unit is the size of one pixel.

1回目の縞状測定光が出射されることにより、測定対象物Sの表面で反射された光が受光部120により受光される。受光された光の強度が、測定対象物Sの1番目の撮影画像の画素データに基づいて測定される。図9(a)は、1回目の縞状測定光に対応する測定対象物Sの1番目の撮影画像である。   When the first striped measurement light is emitted, the light reflected by the surface of the measurement object S is received by the light receiving unit 120. The intensity of the received light is measured based on the pixel data of the first captured image of the measuring object S. FIG. 9A is a first photographed 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. When the second striped measurement light is emitted, the light reflected by the surface of the measurement object S is received by the light receiving unit 120. 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 part and the dark part are moved by one unit in the X direction from the second striped measurement light. By emitting the third striped measurement light, the light reflected by the surface of the measuring object S is received by the light receiving unit 120. 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の表面の全ての部分に縞状測定光が照射される。なお、図9(b)は、7回目の縞状測定光に対応する測定対象物Sの7番目の撮影画像である。図9(c)は、13回目の縞状測定光に対応する測定対象物Sの13番目の撮影画像である。   By repeating the same operation, the intensity of the light corresponding to the 4th to 16th striped measurement light is measured based on the pixel data of the 4th to 16th captured images of the measuring object S, respectively. The striped measurement light whose period in the X direction is 16 units is emitted 16 times, so that the entire surface of the measurement object S is irradiated with the striped measurement light. FIG. 9B is a seventh captured image of the measuring object S corresponding to the seventh striped measurement light. FIG. 9C is a thirteenth captured image of the measuring object S corresponding to the thirteenth striped measurement light.

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

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

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

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

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

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

図11(a)は、1回目に出射されるコード状測定光を示す。1回目に出射されるコード状測定光は、測定対象物Sの第1〜第8の領域に照射される明部分を有する。また、1回目に出射されるコード状測定光は、測定対象物Sの第9〜第16の領域に照射される暗部分を有する。これにより、1回目に出射されるコード状測定光においては、明部分と暗部分とがY方向に平行でかつX方向に並ぶ。また、1回目に出射されるコード状測定光の明部分および暗部分の割合は、それぞれ50%である。   FIG. 11A shows the code-like measurement light emitted for the first time. The code-shaped measurement light emitted for the first time has a bright portion that is irradiated onto the first to eighth regions of the measurement object S. Moreover, the code-shaped measurement light emitted for the first time has a dark part irradiated on the ninth to sixteenth regions of the measuring object S. Thereby, in the code-like 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 part and the dark part of the code-like measurement light emitted for the first time is 50%.

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

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

図11(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. 11D shows the code-like measurement light emitted for the fourth time. The coded measurement light emitted for the fourth time has a bright portion that is irradiated on the first, fourth, fifth, eighth, ninth, twelfth, thirteenth, and sixteenth regions of the measurement object S. . In addition, the coded measurement light emitted for the fourth time is a dark portion irradiated on the second, third, sixth, seventh, tenth, eleventh, fourteenth and fifteenth regions of the measuring object S. Have Thereby, in the code-like measurement light emitted for the fourth time, the bright part and the dark part are parallel to the Y direction and aligned in the X direction. Further, the ratio of the bright part and the dark part of the code-like measurement light emitted for the fourth time is 50%.

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

測定対象物Sの第2の領域には、符号“1010”のコード状測定光が照射される。これにより、測定対象物Sの第2の領域は、符号“1010”に符号化される。測定対象物Sの第3の領域には、符号“1000”のコード状測定光が照射される。これにより、測定対象物Sの第3の領域は、符号“1000”に符号化される。同様に、測定対象物Sの第16の領域には、符号“0011”のコード状測定光が照射される。これにより、測定対象物Sの第16の領域は、符号“0011”に符号化される。   The second area of the measurement object S is irradiated with code-shaped measurement light with a code “1010”. As a result, the second region of the measuring object S is encoded to the code “1010”. The third region of the measuring object S is irradiated with code-shaped measurement light with a code “1000”. As a result, the third region of the measuring object S is encoded with the code “1000”. Similarly, the 16th region of the measuring object S is irradiated with the code-shaped measurement light with the code “0011”. Thus, the sixteenth 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 measurement object S, the code-shaped measurement light is irradiated to the measurement object S a plurality of times so that any digit of the code differs by “1”. That is, the code-shaped measurement light is applied to the measurement object S a plurality of times so that the bright portion and the dark portion change into a gray code shape.

測定対象物Sの表面の各領域で反射された光が受光部120により受光される。受光された光の符号を測定することにより、測定対象物Sの領域ごとに、測定対象物Sが存在することにより変化した符号が得られる。得られた符号と領域ごとに測定対象物Sが存在しない場合の符号との差分を求めることにより、図6の距離dに相当する距離を算出することができる。ここで、画像におけるX軸方向には、上記の符号は1回のみ出現するというコード状測定光を用いた測定方法の特徴から、距離dの絶対的な値が算出される。これにより、測定対象物Sのその領域の絶対的な高さ(高さの絶対値)が算出される。測定対象物Sの表面上の全ての領域の高さを算出することにより、測定対象物Sの三次元的な形状を測定することができる。   Light reflected by each region on the surface of the measuring object S is received by the light receiving unit 120. By measuring the sign of the received light, a sign that has changed due to the presence of the measurement object S is obtained for each region of the measurement object S. A distance corresponding to the distance d in FIG. 6 can be calculated by obtaining a 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 feature of the measurement method using the code-like measurement light that the code appears only once in the X-axis direction in the image. Thereby, the absolute height (absolute value of the height) of the region of the measuring object S is calculated. By calculating the height of all 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方向において2Nの領域(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 code-shaped measurement light is emitted from the light projecting unit 110 four times. However, the present invention is not limited to this. The surface of the measurement object S may be divided into 2N regions (N is a natural number) in the X direction, and the code-shaped measurement light may be emitted from the light projecting unit 110 N times. In the above description, N is set to 4 for easy understanding. In the shape measurement process in the present embodiment, 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 code-like measurement light, the distance that can be identified by separating the code-like measurement light, that is, the distance corresponding to one pixel is the minimum resolution. Therefore, when the number of pixels in the field of view in the X direction of the light receiving unit 120 is 1024 pixels, a measurement object S having a height of, for example, 10 mm can be measured with a resolution of 10 mm ÷ 1024≈10 μm. Measurement by combining shape measurement using code-shaped measurement light with low resolution but capable of calculating absolute value and shape measurement using sinusoidal measurement light or striped measurement light that cannot calculate absolute value but has high resolution The absolute value of the height of the object S can be calculated with higher resolution.

特に、図9の縞状測定光を用いた測定対象物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 measurement light in FIG. 9, the resolution can be 1/100 pixels. The resolution of 1/100 pixels is that the surface of the measuring object S is divided into about 100,000 areas in the X direction when the number of pixels of the field of view in the X direction of the light receiving unit 120 is 1024 pixels (that is, N≈ 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に照射する方法は空間コード法に分類される。   A method of scanning the above-described line-shaped measurement light on the measurement object S is generally called a light cutting method. On the other hand, the method of irradiating the measuring object S with sinusoidal measurement light, striped measurement light or code-like measurement light is classified as a pattern projection method. Among the pattern projection methods, the method of irradiating the measuring object S with sinusoidal measuring light or the striped measuring light is classified as a phase shift method, and the method of irradiating the measuring object S with code-like measuring light is a spatial code. Classified into law.

位相シフト法においては、周期的な投影パターンである正弦波状測定光または縞状測定光を出射した際に、測定対象物Sが存在しない場合の基準高さ位置から反射した受光量に基づいて計算された位相と、測定対象物Sが存在する場合の測定対象物S表面から反射した受光量に基づいて計算された位相との位相差から測定対象物Sの高さを求める。位相シフト法においては、個々の周期的な縞が区別できず、縞1周期分(2π)の整数倍に相当する不確かさが存在するため、絶対位相が求まらないという欠点がある。しかしながら、光切断法に比べて取得する画像の枚数が少ないため測定時間が比較的短く、測定分解能が高いという長所がある。   In the phase shift method, when a sinusoidal measurement light or a striped measurement light that is a periodic projection pattern is emitted, the calculation is based on the amount of light received reflected from the reference height position when the measurement object S does not exist. The height of the measuring object S is obtained from the phase difference between the phase thus calculated and the phase calculated based on the received light amount reflected from the surface of the measuring object S when the measuring object S exists. 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π), so that there is a drawback that the absolute phase cannot be obtained. However, since the number of images to be acquired is smaller than that of the light cutting method, 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, for each region of the measurement object S, a code that has changed due to the presence of the measurement object S is obtained. 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 measurement can be performed with a relatively small number of images, and an absolute height can be obtained. However, the measurement resolution is limited compared to the phase shift method.

これらの投影法は、各々短所および長所を有しているが、いずれも三角測量の原理を用いている点は共通である。したがって、測定光が照射されない影の部分の測定はいずれの測定方法でも不可能である。   Each of these projection methods has its advantages and disadvantages, but both use the principle of triangulation. Therefore, it is impossible to measure a shadow portion that is not irradiated with the measurement light by any measurement method.

[3]顕微鏡モードおよび形状測定モード
本実施の形態に係る形状測定装置500は、顕微鏡モードで動作可能であるとともに形状測定モードで動作可能である。図12および図13は、動作モード選択時における表示部400のGUIの一例を示す図である。図12および図13に示すように、画像表示領域450および設定変更領域470,480が表示部400に表示される。画像表示領域450には、受光部120により撮像された測定対象物Sの画像が表示される。
[3] Microscope Mode and Shape Measurement Mode The shape measurement apparatus 500 according to the present embodiment can operate in the microscope mode and in the shape measurement mode. 12 and 13 are diagrams illustrating an example of the GUI of the display unit 400 when the operation mode is selected. As shown in FIGS. 12 and 13, an image display area 450 and setting change areas 470 and 480 are displayed on the display unit 400. In the image display area 450, an image of the measuring object S captured by the light receiving unit 120 is displayed.

設定変更領域470には、明るさ選択欄471、明るさ設定バー472、表示切換欄473、倍率切換欄474、倍率選択欄475、焦点調整欄476および焦点ガイド表示欄477が表示される。明るさ設定バー472は、水平方向に移動可能なスライダ472sを有する。   In the setting change area 470, a brightness selection field 471, a brightness setting bar 472, a display switching field 473, a magnification switching field 474, a magnification selection field 475, a focus adjustment field 476, and a focus guide display field 477 are displayed. The brightness setting bar 472 includes a slider 472s that can move in the horizontal direction.

使用者は、明るさ選択欄471において受光部120の露光時間の方式を選択することにより、受光部120の露光時間の方式をオート(自動)と手動との間で切り換えることができる。受光部120の露光時間の方式として手動が選択されている場合、使用者は、PC200の操作部250を操作して明るさ設定バー472のスライダ472sを水平方向に移動させることにより、受光部120の露光時間を調整することができる。使用者は、表示切換欄473から画像の表示の種類を選択することにより、画像の表示の種類をカラーとモノクロとの間で切り換えることができる。   The user can switch the exposure time method of the light receiving unit 120 between auto (automatic) and manual by selecting the exposure time method of the light receiving unit 120 in the brightness selection field 471. When manual is selected as the exposure time method of the light receiving unit 120, the user operates the operation unit 250 of the PC 200 to move the slider 472 s of the brightness setting bar 472 in the horizontal direction, whereby the light receiving unit 120. The exposure time can be adjusted. The user can switch the image display type between color and monochrome by selecting the image display type from the display switching field 473.

後述する図26に示すように、受光部120は、カメラ121としてレンズの倍率が互いに異なるカメラ121Aおよびカメラ121Bを含む。本例においては、例えば一方のカメラ121Aを低倍率カメラと呼び、他方のカメラ121Bを高倍率カメラと呼ぶ。使用者は、倍率切換欄474においてカメラの倍率を選択することにより、受光部120のカメラ121を高倍率カメラと低倍率カメラとの間で切り換えることができる。   As shown in FIG. 26 described later, the light receiving unit 120 includes a camera 121A and a camera 121B having different lens magnifications as the camera 121. In this example, for example, one camera 121A is called a low-magnification camera, and the other camera 121B is called a high-magnification camera. The user can switch the camera 121 of the light receiving unit 120 between the high magnification camera and the low magnification camera by selecting the magnification of the camera in the magnification switching field 474.

受光部120はデジタルズーム機能を有する。本例においては、2つのカメラ121とデジタルズーム機能とを組み合わせることにより、カメラ121の倍率を実質的に2種類以上に変更することができる。使用者は、倍率選択欄475において倍率を選択することにより、受光部120のカメラ121の倍率を設定することができる。   The light receiving unit 120 has a digital zoom function. In this example, by combining the two cameras 121 and the digital zoom function, the magnification of the camera 121 can be substantially changed to two or more types. The user can set the magnification of the camera 121 of the light receiving unit 120 by selecting the magnification in the magnification selection field 475.

使用者は、焦点調整欄476に数値を入力することにより、入力された数値に対応する距離だけZ方向に受光部120の焦点位置を変化させることができる。受光部120の焦点位置の変化は、ステージ140のZステージ142の位置、すなわち受光部120と測定対象物Sとの間のZ方向の相対的な距離を変化させることにより行われる。   The user can change the focus position of the light receiving unit 120 in the Z direction by a distance corresponding to the input numerical value by inputting a numerical value in the focus adjustment field 476. The focus position of the light receiving unit 120 is changed by changing the position of the Z stage 142 of the stage 140, that is, the relative distance in the Z direction between the light receiving unit 120 and the measurement object S.

後述する図34および図40に示すように、使用者は、焦点ガイド表示欄477を操作することにより、表示部400または測定対象物Sに補助パターンAPを表示させるとともに、測定対象物SにガイドパターンGPを表示させることができる。詳細は、後述の「焦点調整の第1の補助機能」において説明する。   As shown in FIGS. 34 and 40 to be described later, the user operates the focus guide display field 477 to display the auxiliary pattern AP on the display unit 400 or the measurement object S and guide the measurement object S. The pattern GP can be displayed. Details will be described in “first auxiliary function of focus adjustment” described later.

設定変更領域480には、顕微鏡モード選択タブ480Aおよび形状測定モード選択タブ480Bが表示される。顕微鏡モード選択タブ480Aが選択されている場合には、形状測定装置500は、顕微鏡モードで動作する。顕微鏡モードにおいては、照明光出力部130から照明光が測定対象物Sに照射される。この状態で、測定対象物Sの拡大観察を行うことができる。   In the setting change area 480, a microscope mode selection tab 480A and a shape measurement mode selection tab 480B are displayed. When the microscope mode selection tab 480A is selected, the shape measuring apparatus 500 operates in the microscope mode. In the microscope mode, the measurement object S is irradiated with illumination light from the illumination light output unit 130. In this state, the enlarged observation of the measuring object S can be performed.

図12に示すように、顕微鏡モード選択タブ480Aが選択されている場合、設定変更領域480には、ツール選択欄481および撮影ボタン482が表示される。使用者は、撮影ボタン482を操作することにより、画像表示領域450に表示されている測定対象物Sの画像を撮影(キャプチャ)することができる。   As shown in FIG. 12, when the microscope mode selection tab 480A is selected, a tool selection field 481 and a shooting button 482 are displayed in the setting change area 480. The user can capture (capture) an image of the measurement object S displayed in the image display area 450 by operating the capture button 482.

ツール選択欄481には、複数の実行ツールをそれぞれ選択するための複数のアイコンが表示される。使用者は、ツール選択欄481の複数のアイコンのいずれかを操作することにより、観察されている測定対象物Sの画像の平面測定、画像への目盛りの挿入、深度合成、画像へのコメントの挿入または画像の改善等の実行ツールを実行することができる。   The tool selection field 481 displays a plurality of icons for selecting a plurality of execution tools. The user operates any one of the plurality of icons in the tool selection field 481 to perform planar measurement of the image of the measurement object S being observed, insertion of scales in the image, depth synthesis, and comment on the image. Execution tools such as insertion or image improvement can be executed.

例えば、平面測定の実行が選択されている場合、ツール選択欄481の下方には測定ツール表示欄481aおよび補助ツール表示欄481bが表示される。測定ツール表示欄481aには、2点間の距離の測定、2つの平行線間の距離の測定、円の直径または半径の測定、および2つの直線がなす角度の測定等をそれぞれ実行するための複数のアイコンが表示される。補助ツール表示欄481bには、画像表示領域450の画像に点、線または円等の補助的な描画をそれぞれ実行するための複数のアイコンが表示される。   For example, when execution of plane measurement is selected, a measurement tool display field 481a and an auxiliary tool display field 481b are displayed below the tool selection field 481. The measurement tool display field 481a is used for measuring the distance between two points, measuring the distance between two parallel lines, measuring the diameter or radius of a circle, and measuring the angle formed by two straight lines. Multiple icons are displayed. In the auxiliary tool display field 481b, a plurality of icons for executing auxiliary drawing such as dots, lines or circles on the image in the image display area 450 are displayed.

形状測定モード選択タブ480Bが選択されている場合には、形状測定装置500は、形状測定モードで動作する。図13に示すように、形状測定モード選択タブ480Bが選択されている場合、設定変更領域480には、測定ボタン483が表示される。使用者は、形状測定の準備が終了した後、測定ボタン483を操作することにより、形状測定処理を実行することができる。   When the shape measurement mode selection tab 480B is selected, the shape measurement apparatus 500 operates in the shape measurement mode. As shown in FIG. 13, when the shape measurement mode selection tab 480B is selected, a measurement button 483 is displayed in the setting change area 480. The user can execute the shape measurement process by operating the measurement button 483 after preparation for shape measurement is completed.

[4]テクスチャ画像
(1)合成画像
測定部100においては、照明光出力部130からの照明光または投光部110からの均一パターンを有する測定光が照射された状態で、測定対象物Sの表面の状態の画像を示すデータが生成される。表面の状態は、例えば模様または色彩を含む。以下、測定対象物Sの表面の状態の画像をテクスチャ画像と呼び、テクスチャ画像を示すデータをテクスチャ画像データと呼ぶ。
[4] Texture Image (1) Composite Image In the measurement unit 100, the measurement object 100 is irradiated with illumination light from the illumination light output unit 130 or measurement light having a uniform pattern from the light projection unit 110. Data indicating an image of the surface state is generated. The surface state includes, for example, a pattern or a color. Hereinafter, the image of the surface state of the measuring object S is referred to as a texture image, and the data indicating the texture image is referred to as texture image data.

生成されたテクスチャ画像データと形状測定処理において生成された立体形状データとが合成されることにより、合成データが生成される。表示部400には、合成データに基づいて測定対象物Sの立体形状および表面の状態の合成された画像が表示される。以下、形状測定処理において生成された立体形状データを主立体形状データと呼ぶ。また、主立体形状データに基づいて表示される画像を主立体形状の画像と呼ぶ。   The generated texture image data and the 3D shape data generated in the shape measurement process are combined to generate combined data. The display unit 400 displays a combined image of the three-dimensional shape and surface state of the measurement object S based on the combined data. Hereinafter, the solid shape data generated in the shape measurement process is referred to as main solid shape data. An image displayed based on the main stereoscopic shape data is referred to as a main stereoscopic shape image.

図14は、形状測定処理実行後における表示部400のGUIの一例を示す図である。図14に示すように、形状測定処理において生成された合成データに基づいて、測定対象物Sの画像が画像表示領域450に表示される。使用者は、合成画像上で、測定対象物Sの測定結果の確認または簡単な計測を実行することができる。   FIG. 14 is a diagram illustrating an example of the GUI of the display unit 400 after execution of the shape measurement process. As shown in FIG. 14, an image of the measuring object S is displayed in the image display area 450 based on the composite data generated in the shape measurement process. The user can confirm the measurement result of the measurement object S or perform simple measurement on the composite image.

ここで、測定対象物Sの表面全体が受光部120のZ方向の測定可能範囲に位置している場合であっても、測定対象物Sの表面全体が被写界深度の範囲内に位置していない場合、テクスチャ画像の全部または一部が鮮明に表示されない。そのため、測定対象物SのZ方向の寸法が受光部120の被写界深度の範囲よりも大きい場合には、受光部120と測定対象物Sとの間の相対的な距離を変化させつつ、受光部120の被写界深度の範囲内に位置する測定対象物Sのテクスチャ画像データが取得される。取得された複数のテクスチャ画像データを合成することにより、測定対象物Sの表面全体にわたって鮮明に表示可能なテクスチャ画像データ(以下、全焦点テクスチャ画像データと呼ぶ)が生成される。   Here, even when the entire surface of the measuring object S is located within the measurable range in the Z direction of the light receiving unit 120, the entire surface of the measuring object S is located within the depth of field. If not, all or part of the texture image is not displayed clearly. Therefore, when the dimension in the Z direction of the measuring object S is larger than the range of the depth of field of the light receiving unit 120, while changing the relative distance between the light receiving unit 120 and the measuring object S, Texture image data of the measurement object S located within the range of the depth of field of the light receiving unit 120 is acquired. By synthesizing the acquired plurality of texture image data, texture image data (hereinafter referred to as omnifocal texture image data) that can be clearly displayed over the entire surface of the measurement object S is generated.

図15は、全焦点テクスチャ画像を説明するための測定対象物Sの模式的側面図である。図15の測定対象物Sにおいては、回路基板Sb上に電解コンデンサScが実装された構成を有する。また、回路基板Sbの上面および電解コンデンサScには、文字が付されている。図15に示すように、測定対象物SのZ方向の寸法(本例においては、回路基板Sbの下面から電解コンデンサScの上面までの寸法)は、受光部120のZ方向の測定可能範囲よりも小さく、被写界深度の範囲よりも大きい。   FIG. 15 is a schematic side view of the measuring object S for explaining the omnifocal texture image. The measuring object S in FIG. 15 has a configuration in which an electrolytic capacitor Sc is mounted on a circuit board Sb. Further, letters are attached to the upper surface of the circuit board Sb and the electrolytic capacitor Sc. As shown in FIG. 15, the dimension of the measuring object S in the Z direction (in this example, the dimension from the lower surface of the circuit board Sb to the upper surface of the electrolytic capacitor Sc) is larger than the measurable range of the light receiving unit 120 in the Z direction. Is smaller than the range of depth of field.

図16は、受光部120の焦点位置とテクスチャ画像の鮮明度との関係を示す図である。図16(a),(c),(e)は、図15の測定対象物Sの側面図を示す。図16(a)においては、測定対象物Sの電解コンデンサScの上面の位置aに受光部120の焦点が合わされる。図16(b)においては、測定対象物Sの電解コンデンサScの上面と回路基板Sbの上面との中間の位置bに受光部120の焦点が合わされる。図16(c)においては、測定対象物Sの回路基板Sbの上面の位置cに受光部120の焦点が合わされる。   FIG. 16 is a diagram illustrating the relationship between the focal position of the light receiving unit 120 and the sharpness of the texture image. FIGS. 16A, 16C, and 16E are side views of the measuring object S in FIG. In FIG. 16A, the light receiving unit 120 is focused on the position a on the upper surface of the electrolytic capacitor Sc of the measurement object S. In FIG. 16B, the light receiving unit 120 is focused on a position b intermediate between the upper surface of the electrolytic capacitor Sc of the measurement object S and the upper surface of the circuit board Sb. In FIG. 16C, the light receiving unit 120 is focused on the position c of the upper surface of the circuit board Sb of the measurement object S.

図16(b)は、図16(a)の状態において取得されたテクスチャ画像データに基づく測定対象物Sのテクスチャ画像を示す。この場合、電解コンデンサScの上面の位置aが受光部120の被写界深度の範囲内に位置するので、図16(b)に示すように、電解コンデンサScの上面に付された文字が鮮明に表示される。しかしながら、回路基板Sbの上面の位置cは、受光部120の被写界深度の範囲内に位置しない。そのため、回路基板Sbの上面に付された文字が不鮮明に表示される。また、回路基板Sbの上面の位置cは、受光部120のZ方向の測定可能範囲内にも位置していない。したがって、図16(e)の位置にステージ140の高さを合わせると、電解コンデンサScの上面の位置aの高さを算出することができないか、または算出される高さの信頼性が低くなる。   FIG. 16B shows a texture image of the measuring object S based on the texture image data acquired in the state of FIG. In this case, since the position “a” on the upper surface of the electrolytic capacitor Sc is located within the range of the depth of field of the light receiving unit 120, the letters attached to the upper surface of the electrolytic capacitor Sc are clear as shown in FIG. Is displayed. However, the position c on the upper surface of the circuit board Sb is not located within the range of the depth of field of the light receiving unit 120. Therefore, the characters attached to the upper surface of the circuit board Sb are displayed unclearly. Further, the position c on the upper surface of the circuit board Sb is not located within the measurable range of the light receiving unit 120 in the Z direction. Therefore, when the height of the stage 140 is adjusted to the position of FIG. 16E, the height of the position a on the upper surface of the electrolytic capacitor Sc cannot be calculated, or the reliability of the calculated height is lowered. .

図16(d)は、図16(c)の状態において取得されたテクスチャ画像データに基づく測定対象物Sのテクスチャ画像を示す。この場合、電解コンデンサScの上面と回路基板Sbの上面との中間の位置bが受光部120の被写界深度の範囲内に位置する。しかしながら、電解コンデンサScの上面および回路基板Sbの上面が受光部120の被写界深度の範囲外でかつZ方向の測定可能範囲に位置するので、図16(d)に示すように、電解コンデンサScの上面に付された文字および回路基板Sbの上面に付された文字がやや不鮮明に表示される。   FIG. 16D shows a texture image of the measuring object S based on the texture image data acquired in the state of FIG. In this case, an intermediate position b between the upper surface of the electrolytic capacitor Sc and the upper surface of the circuit board Sb is located within the range of the depth of field of the light receiving unit 120. However, since the upper surface of the electrolytic capacitor Sc and the upper surface of the circuit board Sb are located outside the range of the depth of field of the light receiving unit 120 and within the measurable range in the Z direction, as shown in FIG. The characters attached to the top surface of Sc and the characters attached to the top surface of the circuit board Sb are displayed slightly unclear.

図16(f)は、図16(e)の状態において取得されたテクスチャ画像データに基づく測定対象物Sのテクスチャ画像を示す。この場合、回路基板Sbの上面の位置cが受光部120の被写界深度の範囲内に位置するので、図16(f)に示すように、回路基板Sbの上面に付された文字が鮮明に表示される。しかしながら、電解コンデンサScの上面の位置aは、受光部120の被写界深度の範囲内に位置しない。そのため、電解コンデンサScの上面に付された文字が不鮮明に表示される。また、電解コンデンサScの上面の位置aは、受光部120のZ方向の測定可能範囲内にも位置していない。したがって、図16(a)の位置にステージ140の高さを合わせると、回路基板Sbの上面の位置cの高さを算出することができないか、または算出される高さの信頼性が低くなる。   FIG. 16F shows a texture image of the measuring object S based on the texture image data acquired in the state of FIG. In this case, since the position c of the upper surface of the circuit board Sb is located within the range of the depth of field of the light receiving unit 120, the characters attached to the upper surface of the circuit board Sb are clear as shown in FIG. Is displayed. However, the position a on the upper surface of the electrolytic capacitor Sc is not located within the range of the depth of field of the light receiving unit 120. Therefore, characters attached to the upper surface of the electrolytic capacitor Sc are displayed unclearly. Further, the position a of the upper surface of the electrolytic capacitor Sc is not located within the measurable range of the light receiving unit 120 in the Z direction. Accordingly, when the height of the stage 140 is adjusted to the position of FIG. 16A, the height of the position c on the upper surface of the circuit board Sb cannot be calculated, or the reliability of the calculated height is lowered. .

位置a〜cにおけるテクスチャ画像データが合成されることにより全焦点テクスチャ画像データが生成される。図17は、生成された全焦点テクスチャ画像データに基づく測定対象物Sの全焦点テクスチャ画像である。全焦点テクスチャ画像においては、図17に示すように、電解コンデンサScの上面に付された文字が鮮明に表示されるとともに、回路基板Sbの上面に付された文字が鮮明に表示される。   The omnifocal texture image data is generated by synthesizing the texture image data at the positions a to c. FIG. 17 is an omnifocal texture image of the measuring object S based on the generated omnifocal texture image data. In the omnifocal texture image, as shown in FIG. 17, characters attached to the upper surface of the electrolytic capacitor Sc are clearly displayed, and characters attached to the upper surface of the circuit board Sb are clearly displayed.

このように、受光部120とステージ140との相対的なZ方向の位置を変化させることにより、測定対象物Sに対して、受光部120の焦点が合う高さが変化する。そのため、一度に受光部120の被写界深度の範囲内に収めることができない高低差がある測定対象物Sであっても、受光部120の焦点を変化させて撮像した複数のテクスチャ画像を合成することにより、全体に焦点が合った全焦点テクスチャ画像を取得することができる。なお、被写界深度は、受光部120のレンズの倍率によって変化する形状測定装置500の固有の幅を有している。   Thus, by changing the relative position of the light receiving unit 120 and the stage 140 in the Z direction, the height at which the light receiving unit 120 is focused with respect to the measurement object S is changed. Therefore, even if the measurement object S has a height difference that cannot be within the range of the depth of field of the light receiving unit 120 at a time, a plurality of texture images captured by changing the focus of the light receiving unit 120 are combined. By doing so, it is possible to obtain an omnifocal texture image in which the whole is in focus. Note that the depth of field has a unique width of the shape measuring apparatus 500 that varies depending on the magnification of the lens of the light receiving unit 120.

全焦点テクスチャ画像を生成する際には、受光部120とステージ140とのZ方向の相対位置を所定範囲内で、所定の間隔で変化させて複数のテクスチャ画像を取得する。このときの受光部120とステージ140とをZ方向に相対的に移動させる範囲および間隔は、形状測定装置500の固有の値である。ただし、測定対象物Sの形状測定処理を予め実行した場合、または測定対象物Sの形状を示すデータ(例えばCADデータ)を予め保有している場合など、測定対象物Sの形状が既知である場合には、このデータに基づいて最適な移動範囲および間隔を決定してもよい。   When generating an omnifocal texture image, a plurality of texture images are acquired by changing the relative position in the Z direction between the light receiving unit 120 and the stage 140 within a predetermined range at predetermined intervals. The range and interval in which the light receiving unit 120 and the stage 140 are relatively moved in the Z direction at this time are unique values of the shape measuring apparatus 500. However, the shape of the measuring object S is known, for example, when the shape measuring process of the measuring object S is executed in advance or when data indicating the shape of the measuring object S (for example, CAD data) is held in advance. In some cases, the optimal movement range and interval may be determined based on this data.

例えば、測定対象物Sの高さの上限および下限により規定される範囲よりもやや広い範囲を、移動範囲としてもよい。また、測定対象物Sの高さ形状の勾配に応じて間隔を変化させてもよい。全焦点テクスチャ画像を取得する際にステージ140と受光部120との相対的なZ方向の移動を規定する上記のパラメータは使用者により任意に設定可能であってもよい。   For example, a range slightly wider than the range defined by the upper and lower limits of the height of the measuring object S may be set as the movement range. Further, the interval may be changed according to the gradient of the height shape of the measuring object S. When acquiring an all-focus texture image, the above-described parameter that defines the relative movement in the Z direction between the stage 140 and the light receiving unit 120 may be arbitrarily set by the user.

全焦点テクスチャ画像データは、測定対象物Sの全ての部分のうち受光部120の被写界深度の範囲内に含まれている部分についての複数のテクスチャ画像データが合成されることにより生成される。また、測定対象物Sの各部分のテクスチャ画像データの取得の際には、測定対象物Sの各部分が受光部120の被写界深度の範囲内に含まれるときの受光部120と測定対象物Sとの相対的な距離に基づいて測定対象物Sの各部分の高さが算出される。   The all-focus texture image data is generated by synthesizing a plurality of texture image data for the portions included in the depth of field of the light receiving unit 120 among all the portions of the measurement object S. . When acquiring the texture image data of each part of the measuring object S, the light receiving unit 120 and the measuring object when each part of the measuring object S is included in the range of the depth of field of the light receiving unit 120. Based on the relative distance to the object S, the height of each part of the measurement object S is calculated.

測定対象物Sの全ての部分について算出された高さを合成することにより、測定対象物Sの立体的な形状を示すデータが生成される。この測定対象物Sの立体的な形状を示すデータを副立体形状データと呼ぶ。全焦点テクスチャ画像データと主立体形状データとが合成されることにより、合成データが生成される。   By combining the heights calculated for all parts of the measurement object S, data indicating the three-dimensional shape of the measurement object S is generated. Data indicating the three-dimensional shape of the measuring object S is referred to as sub-three-dimensional shape data. The synthesized data is generated by synthesizing the omnifocal texture image data and the main stereoscopic shape data.

図18は、合成データに基づく測定対象物Sの合成画像である。図18(a)は、主立体形状データに基づく測定対象物Sの主立体形状の画像を示す。図18(a)の主立体形状を示す主立体形状データと全焦点テクスチャ画像データとが合成されることにより、合成データが生成される。図18(b)は、生成された合成データに基づく合成画像である。図18(b)に示すように、測定対象物SのZ方向の寸法が受光部120の被写界深度の範囲よりも大きい場合であっても、測定対象物Sの異なる高さを有する部分の表面の状態が鮮明に表示される。   FIG. 18 is a composite image of the measuring object S based on the composite data. FIG. 18A shows an image of the main stereoscopic shape of the measuring object S based on the main stereoscopic shape data. The synthesized data is generated by synthesizing the main stereoscopic shape data indicating the main stereoscopic shape of FIG. 18A and the omnifocal texture image data. FIG. 18B is a composite image based on the generated composite data. As shown in FIG. 18B, even when the dimension of the measurement object S in the Z direction is larger than the range of the depth of field of the light receiving unit 120, the measurement object S has different heights. The state of the surface of is clearly displayed.

主立体形状データの各画素の値は、その画素の位置における高さのデータを示している。一方、全焦点テクスチャ画像データの各画素の値は、その画素の位置における色および輝度を含むテクスチャ情報(表面の状態の情報)を示している。したがって、対応する画素同士の情報を合成することにより、図18に示す合成画像を生成することができる。   The value of each pixel in the main stereoscopic shape data indicates the height data at the position of the pixel. On the other hand, the value of each pixel of the omnifocal texture image data indicates texture information (surface state information) including color and luminance at the position of the pixel. Therefore, the synthesized image shown in FIG. 18 can be generated by synthesizing the information of corresponding pixels.

なお、詳細については後述するが、測定対象物Sの形状測定は、通常1回の処理で行われる。例えば、図16(a)の例では、回路基板Sbの上面cが受光部120の測定可能範囲内にないため、回路基板Sbの上面cの高さを算出することができない。したがって、図16(c)に示すように、できるだけ測定対象物Sの全体が受光部120のZ方向の測定可能範囲内に収まるように、受光部120とステージ140とのZ方向の相対距離を調整する必要がある。   In addition, although mentioned later for details, the shape measurement of the measuring object S is normally performed by one process. For example, in the example of FIG. 16A, since the upper surface c of the circuit board Sb is not within the measurable range of the light receiving unit 120, the height of the upper surface c of the circuit board Sb cannot be calculated. Therefore, as shown in FIG. 16C, the relative distance in the Z direction between the light receiving unit 120 and the stage 140 is set so that the entire measurement object S is within the measurable range of the light receiving unit 120 in the Z direction as much as possible. It needs to be adjusted.

一方、全焦点テクスチャ画像を生成する処理では、受光部120とステージ140とのZ方向の相対距離を変化させて複数回の撮像を行うので、1回の撮像で測定対象物Sの全体が受光部120の被写界深度の範囲内に収まるように受光部120とステージ140との相対距離を予め調整する必要はない。したがって、使用者は、テクスチャ画像を取得する際の受光部120の被写界深度の範囲ではなく、形状測定処理を行うための受光部120のZ方向の測定可能範囲内に測定対象物Sが収まっているか否かを意識して、受光部120とステージ140とのZ方向の相対距離を調整する。   On the other hand, in the process of generating the omnifocal texture image, imaging is performed a plurality of times by changing the relative distance between the light receiving unit 120 and the stage 140 in the Z direction, so that the entire measurement object S is received by one imaging. It is not necessary to previously adjust the relative distance between the light receiving unit 120 and the stage 140 so as to be within the range of the depth of field of the unit 120. Therefore, the user does not place the measurement object S within the measurable range in the Z direction of the light receiving unit 120 for performing the shape measurement process, not in the range of the depth of field of the light receiving unit 120 when acquiring the texture image. The relative distance in the Z direction between the light receiving unit 120 and the stage 140 is adjusted in consideration of whether or not it is within the range.

図16(a)に示すステージ140の位置で形状測定処理を行う場合、回路基板Sbの上面cの高さの算出ができないか、または算出される高さの信頼性が低くなる。一方、全焦点テクスチャ画像の生成処理においては、受光部120とステージ140とのZ方向の相対距離を変化させて複数回の撮像を行うので、回路基板Sbの上面cに受光部120の焦点が合ったテクスチャ画像を取得することはできる。したがって、テクスチャ画像の一部に高さのデータが欠損していたり、信頼性が低い画素が存在していても、その画素に全焦点テクスチャ画像データのテクスチャ情報を付与することは可能である。   When the shape measurement process is performed at the position of the stage 140 shown in FIG. 16A, the height of the upper surface c of the circuit board Sb cannot be calculated, or the reliability of the calculated height becomes low. On the other hand, in the omnifocal texture image generation process, imaging is performed a plurality of times by changing the relative distance between the light receiving unit 120 and the stage 140 in the Z direction, so the focus of the light receiving unit 120 is on the upper surface c of the circuit board Sb. A matched texture image can be obtained. Therefore, even if height data is missing in a part of a texture image or a pixel with low reliability exists, it is possible to give texture information of omnifocal texture image data to that pixel.

本発明における三角測距を用いた形状測定処理においては、一般的に受光部120のZ方向の測定可能範囲は、受光部120の被写界深度の範囲よりも広い。これは、三角測距においては、画像に多少のぼけが発生していても、測定対象物Sの形状を測定することが可能だからである。ただし、受光部120の被写界深度の範囲は、使用者にとって焦点が合っているように見える主観的な範囲である。また、受光部120のZ方向の測定可能範囲は、投光部110および受光部120により定まる形状測定装置500の固有の値であるものの、受光部120のZ方向の測定可能範囲内にない測定対象物Sが必ずしも測定不可能になるのではない。   In the shape measurement process using triangulation in the present invention, the measurable range in the Z direction of the light receiving unit 120 is generally wider than the range of the depth of field of the light receiving unit 120. This is because in the triangulation, it is possible to measure the shape of the measuring object S even if some blur occurs in the image. However, the range of the depth of field of the light receiving unit 120 is a subjective range that seems to be in focus for the user. Further, the measurable range in the Z direction of the light receiving unit 120 is a unique value of the shape measuring apparatus 500 determined by the light projecting unit 110 and the light receiving unit 120, but is not within the measurable range in the Z direction of the light receiving unit 120. The object S is not necessarily impossible to measure.

また、測定対象物Sの高低差が大きい場合は、どのように受光部120とステージ140とのZ方向の相対距離を調整しても、測定対象物Sの全体を1度で測定することができない場合がある。その場合は、形状測定処理を行う際にも、受光部120とステージ140とのZ方向の相対距離を変化させて、複数回の形状測定処理を行い、各画素の最も信頼性が高い高さのデータにより構成された立体形状を取得することもできる。この場合は、受光部120のZ方向の測定可能範囲を超えた高低差を有する測定対象物Sの全体の測定が可能になり、大きな高低差を有する測定対象物Sの立体形状全体に対して、テクスチャ情報を付与することが可能である。   Further, when the height difference of the measuring object S is large, the entire measuring object S can be measured at a time, no matter how the relative distance in the Z direction between the light receiving unit 120 and the stage 140 is adjusted. There are cases where it is impossible In that case, when performing the shape measurement process, the relative distance in the Z direction between the light receiving unit 120 and the stage 140 is changed, and the shape measurement process is performed a plurality of times. It is also possible to acquire a three-dimensional shape constituted by the data. In this case, the entire measurement object S having a height difference exceeding the measurable range in the Z direction of the light receiving unit 120 can be measured, and the entire three-dimensional shape of the measurement object S having a large height difference can be measured. Texture information can be added.

図18の例においては、三次元的に表示された測定対象物Sにテクスチャ画像が合成されるが、これに限定されない。例えば、測定対象物Sの高さを色彩の変化により表現した二次元の画像上にテクスチャ情報を重畳して表示してもよい。この場合、例えば高さを示す二次元の画像とテクスチャ情報との比率を使用者が調整可能にすることで、高さを示す二次元の画像とテクスチャ画像との中間的な色彩および輝度の画像を生成して表示することも可能である。   In the example of FIG. 18, the texture image is synthesized with the measurement object S displayed three-dimensionally, but the present invention is not limited to this. For example, texture information may be superimposed and displayed on a two-dimensional image in which the height of the measuring object S is expressed by a change in color. In this case, for example, by allowing the user to adjust the ratio between the two-dimensional image indicating the height and the texture information, an image having an intermediate color and brightness between the two-dimensional image indicating the height and the texture image. Can also be generated and displayed.

なお、上記の説明においては、理解を容易にするために3つの位置a〜cにおけるテクスチャ画像データおよび高さに基づいて全焦点テクスチャ画像データおよび副立体形状データがそれぞれ生成されるが、これに限定されない。2つ以下の位置または4つ以上の位置におけるテクスチャ画像データおよび高さに基づいて全焦点テクスチャ画像データおよび副立体形状データがそれぞれ生成されてもよい。   In the above description, the omnifocal texture image data and the sub-stereoscopic shape data are respectively generated based on the texture image data and the height at the three positions a to c for easy understanding. It is not limited. The omnifocal texture image data and the sub-stereoscopic shape data may be respectively generated based on the texture image data and the height at two or less positions or four or more positions.

本例においては、測定対象物SのZ方向の位置が、受光部120の被写界深度の範囲よりも小さい間隔で、受光部120のZ方向の測定可能範囲の上限から下限へ向かって、または下限から上限へ向かって変化される。Z方向の各位置におけるテクスチャ画像データおよび高さに基づいて全焦点テクスチャ画像データおよび副立体形状データがそれぞれ生成される。   In this example, the position of the measuring object S in the Z direction is smaller than the range of the depth of field of the light receiving unit 120, toward the lower limit from the upper limit of the measurable range of the light receiving unit 120 in the Z direction. Or it is changed from the lower limit to the upper limit. All-focus texture image data and sub-stereoscopic shape data are generated based on the texture image data and height at each position in the Z direction.

あるいは、全焦点テクスチャ画像データおよび副立体形状データの生成前に測定対象物Sの主立体形状データが生成されている場合には、主立体形状データに基づいて測定対象物SのZ方向の上端および下端を算出することができる。したがって、測定対象物SのZ方向の位置が、受光部120の被写界深度の範囲よりも小さい間隔で、測定対象物SのZ方向の寸法の上端から下端へ向かって、または下端から上端へ向かって変化されてもよい。Z方向の各位置におけるテクスチャ画像データおよび高さに基づいて全焦点テクスチャ画像データおよび副立体形状データがそれぞれ生成される。   Alternatively, when the main stereoscopic shape data of the measuring object S is generated before the generation of the omnifocal texture image data and the sub-stereoscopic shape data, the upper end in the Z direction of the measuring object S based on the main stereoscopic shape data And the lower end can be calculated. Therefore, the position of the measuring object S in the Z direction is smaller than the range of the depth of field of the light receiving unit 120, and the dimension of the measuring object S in the Z direction is from the upper end to the lower end or from the lower end to the upper end. May be changed. All-focus texture image data and sub-stereoscopic shape data are generated based on the texture image data and height at each position in the Z direction.

この場合、測定対象物Sの全焦点テクスチャ画像データおよび副立体形状データを生成するための最小限の範囲でテクスチャ画像データを取得し、高さを算出することができる。これにより、全焦点テクスチャ画像データおよび副立体形状データを高速に生成することができる。   In this case, the texture image data can be acquired in the minimum range for generating the omnifocal texture image data and the sub-stereoscopic shape data of the measurement object S, and the height can be calculated. Thereby, all-focus texture image data and sub-stereoscopic shape data can be generated at high speed.

(2)テクスチャ画像の種類
使用者は、テクスチャ画像データの取得において、テクスチャ画像の種類を選択することができる。テクスチャ画像の種類は、例えば通常のテクスチャ画像、全焦点テクスチャ画像もしくはハイダイナミックレンジ(HDR)テクスチャ画像またはこれらの組み合わせを含む。全焦点テクスチャ画像が選択された場合、上記の全焦点テクスチャ画像データが生成される。HDRテクスチャ画像が選択された場合、公知のハイダイナミックレンジ(HDR)合成が行われたテクスチャ画像データが生成される。
(2) Type of texture image The user can select the type of texture image in acquiring the texture image data. The types of texture images include, for example, normal texture images, omnifocal texture images, high dynamic range (HDR) texture images, or combinations thereof. When an omnifocal texture image is selected, the above omnifocal texture image data is generated. When an HDR texture image is selected, texture image data subjected to a known high dynamic range (HDR) composition is generated.

測定対象物Sの表面の複数の部分の反射率の差または色彩による明るさの差が小さくかつZ方向における測定対象物Sの寸法が受光部120の被写界深度よりも大きい場合、使用者は全焦点テクスチャ画像を選択する。これにより、測定対象物Sの表面状態を鮮明に示すテクスチャ画像データを短時間で生成させることができる。測定対象物Sの表面に反射率が高い部分および低い部分が含まれる場合、または色彩による明るさの差が大きい場合、使用者はHDRテクスチャ画像を選択する。これにより、黒つぶれおよび白とびが含まれない測定対象物Sの表面状態を鮮明に示すテクスチャ画像データを生成させることができる。   When the difference in reflectance of a plurality of portions on the surface of the measuring object S or the difference in brightness due to color is small and the dimension of the measuring object S in the Z direction is larger than the depth of field of the light receiving unit 120, the user Selects an all-focus texture image. Thereby, the texture image data which clearly shows the surface state of the measuring object S can be generated in a short time. When the surface of the measuring object S includes a portion having a high reflectance and a portion having a low reflectance, or when a difference in brightness due to color is large, the user selects an HDR texture image. Thereby, it is possible to generate texture image data that clearly shows the surface state of the measuring object S that does not include blackout and overexposure.

通常のテクスチャ画像においては、テクスチャ画像の合成が行われない。この場合、受光部120の焦点位置を固定した状態で受光部120により出力される受光信号に基づいて一のテクスチャ画像データが生成される。測定対象物Sの表面の複数の部分の反射率の差または色彩による明るさの差が小さくかつZ方向における測定対象物Sの寸法が受光部120の被写界深度の範囲よりも小さい場合、使用者は通常のテクスチャ画像を選択する。これにより、測定対象物Sの表面状態を鮮明に示すテクスチャ画像データをより短時間で生成させることができる。   In a normal texture image, the texture image is not synthesized. In this case, one texture image data is generated based on the light reception signal output from the light receiving unit 120 with the focus position of the light receiving unit 120 fixed. When the difference in reflectance or the brightness difference due to color of a plurality of portions on the surface of the measurement object S is small and the dimension of the measurement object S in the Z direction is smaller than the range of the depth of field of the light receiving unit 120, The user selects a normal texture image. Thereby, the texture image data which clearly shows the surface state of the measuring object S can be generated in a shorter time.

HDRテクスチャ画像が選択された場合、Z方向の一の位置において、異なる撮像条件の下で複数のテクスチャ画像データが生成される。ここで、撮像条件は、受光部120の露光時間を含む。あるいは、撮像条件は、照明光出力部130からの照明光の強度(明るさ)または投光部110からの均一な測定光の強度(明るさ)を含んでもよい。これらの場合、CPU210は、複数の撮像条件で複数のテクスチャ画像データを容易に生成することができる。   When the HDR texture image is selected, a plurality of texture image data is generated under different imaging conditions at one position in the Z direction. Here, the imaging conditions include the exposure time of the light receiving unit 120. Alternatively, the imaging condition may include the intensity (brightness) of illumination light from the illumination light output unit 130 or the intensity (brightness) of uniform measurement light from the light projecting unit 110. In these cases, the CPU 210 can easily generate a plurality of texture image data under a plurality of imaging conditions.

生成された複数のテクスチャ画像データは、そのZ方向の位置におけるテクスチャ画像に黒つぶれおよび白とびが含まれないように合成(HDR合成)される。これにより、テクスチャ画像のダイナミックレンジが拡大される。HDR合成されたテクスチャ画像データ(以下、HDRテクスチャ画像データと呼ぶ)に基づいてHDRテクスチャ画像が表示される。   The plurality of generated texture image data are combined (HDR combined) so that the texture image at the position in the Z direction does not include blackout and overexposure. As a result, the dynamic range of the texture image is expanded. An HDR texture image is displayed based on the HDR synthesized texture image data (hereinafter referred to as HDR texture image data).

全焦点テクスチャ画像とHDRテクスチャ画像との組み合わせ(以下、HDR全焦点テクスチャ画像と呼ぶ。)が選択された場合、測定対象物SのZ方向の位置を変化させつつ、Z方向の各位置について異なる撮像条件における複数のテクスチャ画像データが取得される。Z方向の各位置において取得された複数のテクスチャ画像データが、そのZ方向の位置における画像のダイナミックレンジが拡大されるようにHDR合成されることにより、HDRテクスチャ画像データが生成される。   When a combination of an omnifocal texture image and an HDR texture image (hereinafter referred to as an HDR omnifocal texture image) is selected, the position of the measuring object S is changed for each position in the Z direction while being changed. A plurality of texture image data under the imaging condition is acquired. A plurality of texture image data acquired at each position in the Z direction is HDR-synthesized so that the dynamic range of the image at the position in the Z direction is expanded, thereby generating HDR texture image data.

また、測定対象物Sの全ての部分のうち受光部120の被写界深度の範囲内に含まれている部分についての複数のHDRテクスチャ画像データが合成されることにより、測定対象物Sの表面全体にわたって表示可能なHDRテクスチャ画像データ(以下、HDR全焦点テクスチャ画像データと呼ぶ)が生成される。HDR全焦点テクスチャ画像データに基づいて、HDR全焦点テクスチャ画像が表示される。   Moreover, the surface of the measuring object S is obtained by synthesizing a plurality of HDR texture image data of the parts included in the range of the depth of field of the light receiving unit 120 among all the parts of the measuring object S. HDR texture image data that can be displayed throughout (hereinafter referred to as HDR omnifocal texture image data) is generated. An HDR omnifocal texture image is displayed based on the HDR omnifocal texture image data.

このように、測定対象物Sの表面に反射率が高い部分および低い部分が含まれるかまたは色彩による明るさの差が大きく、かつ測定対象物Sの寸法が受光部の被写界深度よりも大きい場合、使用者はHDR全焦点テクスチャ画像を選択する。これにより、測定対象物Sの表面状態を鮮明に示すテクスチャ画像データを生成させることができる。   As described above, the surface of the measuring object S includes a portion having a high reflectance and a low reflectance, or the brightness difference due to the color is large, and the dimension of the measuring object S is larger than the depth of field of the light receiving unit. If so, the user selects an HDR omnifocal texture image. Thereby, the texture image data which shows the surface state of the measuring object S clearly can be produced | generated.

図19は、テクスチャ画像の種類の選択時における表示部400のGUIの一例を示す図である。図19に示すように、テクスチャ画像の種類の選択時には、表示部400の設定変更領域480にテクスチャ画像選択欄484が表示される。テクスチャ画像選択欄484には、3つのチェックボックス484a,484b,484cが表示される。   FIG. 19 is a diagram illustrating an example of the GUI of the display unit 400 when a texture image type is selected. As shown in FIG. 19, when selecting the type of texture image, a texture image selection field 484 is displayed in the setting change area 480 of the display unit 400. In the texture image selection field 484, three check boxes 484a, 484b and 484c are displayed.

使用者は、チェックボックス484a〜484cを指定することにより、通常のテクスチャ画像、HDRテクスチャ画像および全焦点テクスチャ画像をそれぞれ選択することができる。また、使用者は、チェックボックス484b,484cを指定することにより、HDR全焦点テクスチャ画像を選択することができる。   The user can select a normal texture image, HDR texture image, and omnifocal texture image by designating check boxes 484a to 484c, respectively. Further, the user can select the HDR omnifocal texture image by specifying the check boxes 484b and 484c.

(3)主立体形状データの補正
副立体形状データの精度は、主立体形状データの精度よりも低い。しかしながら、主立体形状データは三角測距方式に基づいて生成されるので、主立体形状データを生成するためには、受光部120の光軸とは異なる角度から測定対象物Sに光を照射する必要がある。そのため、主立体形状データは、測定対象物Sの形状を正確に測定することができない領域に対応する不良部分を含むことが多い。ここで、不良部分は、画像の影の部分に対応する空白データ、ノイズの部分に対応するノイズデータ、または多重反射等による測定対象物Sの偽の形状の部分に対応する偽形状データを含む。
(3) Correction of main stereoscopic shape data The accuracy of sub stereoscopic shape data is lower than the accuracy of main stereoscopic shape data. However, since the main stereoscopic shape data is generated based on the triangulation method, in order to generate the main stereoscopic shape data, the measurement object S is irradiated with light from an angle different from the optical axis of the light receiving unit 120. There is a need. Therefore, the main stereoscopic shape data often includes a defective portion corresponding to a region where the shape of the measuring object S cannot be accurately measured. Here, the defective portion includes blank data corresponding to the shadow portion of the image, noise data corresponding to the noise portion, or false shape data corresponding to the false shape portion of the measuring object S due to multiple reflection or the like. .

一方で、副立体形状データを生成するためには、受光部120の光軸とは異なる角度から測定対象物Sに光を照射する必要がなく、受光部120の光軸と略等しい角度から測定対象物Sに照射することができる。この場合、副立体形状データは、不良部分をほとんど含まない。したがって、測定対象物Sの略上方に配置される照明光出力部130から出射される照明光を用いることにより、不良部分をほとんど含まない副立体形状データを生成することができる。   On the other hand, in order to generate sub-stereoscopic shape data, it is not necessary to irradiate the measurement object S from an angle different from the optical axis of the light receiving unit 120, and measurement is performed from an angle substantially equal to the optical axis of the light receiving unit 120. The object S can be irradiated. In this case, the sub-stereoscopic shape data includes almost no defective portion. Therefore, by using illumination light emitted from the illumination light output unit 130 disposed substantially above the measurement object S, sub-stereoscopic shape data that hardly includes a defective portion can be generated.

副立体形状データに基づいて主立体形状データの不良部分が判定される。本例においては、同一の測定対象物Sについての副立体形状データと主立体形状データとが比較される。これにより、主立体形状データのうちの不良部分を容易に判定することができる。また、形状測定処理において、測定光のパターンのコントラストが部分的に低下した場合、その部分に対応する主立体形状データの部分の信頼性が低下する。   A defective portion of the main stereoscopic shape data is determined based on the sub stereoscopic shape data. In this example, the sub stereoscopic shape data and the main stereoscopic shape data for the same measurement object S are compared. Thereby, it is possible to easily determine a defective portion in the main stereoscopic shape data. Further, in the shape measurement process, when the contrast of the pattern of the measurement light is partially reduced, the reliability of the part of the main stereoscopic shape data corresponding to that part is lowered.

この場合でも、副立体形状データおよび主立体形状データに基づいて、主立体形状データの信頼性が低い部分を判定することができる。本例においては、副立体形状データと主立体形状データとが比較される。副立体形状データの各部分と主立体形状データの各部分との差分がそれぞれ算出され、その差分が予め定められたしきい値より大きい主立体形状データの部分は信頼性が低いと判定される。   Even in this case, it is possible to determine a portion with low reliability of the main stereoscopic shape data based on the sub stereoscopic shape data and the main stereoscopic shape data. In this example, the sub stereoscopic shape data and the main stereoscopic shape data are compared. The difference between each part of the sub-stereoscopic shape data and each part of the main stereoscopic shape data is calculated, and it is determined that the part of the main stereoscopic shape data whose difference is larger than a predetermined threshold is low in reliability. .

このように、主立体形状データの複数の部分のうち副立体形状データからの乖離がしきい値よりも大きい部分は信頼性が低いと判定される。なお、しきい値は固定値であってもよいし、使用者がスライダ等を操作することにより任意に調整可能な可変値であってもよい。以下、主立体形状データのうちの信頼性が低いと判定された部分を主立体形状データの信頼性低下部分と呼ぶ。   In this way, it is determined that the portion of the plurality of portions of the main stereoscopic shape data whose deviation from the sub stereoscopic shape data is larger than the threshold value has low reliability. The threshold value may be a fixed value or a variable value that can be arbitrarily adjusted by the user operating a slider or the like. Hereinafter, a portion of the main stereoscopic shape data that has been determined to be low in reliability is referred to as a reliability-decreasing portion of the main stereoscopic shape data.

主立体形状データの不良部分または信頼性低下部分は、対応する副立体形状データの部分により置換または補間等の補正がされてもよい。これにより、使用者は、表示部400において外観上不良部分または信頼性低下部分を含まない測定対象物Sの主立体形状の画像または合成画像を観測することができる。また、主立体形状データの信頼性低下部分について、信頼性を向上させることができる。主立体形状データの補正においては、主立体形状データの不良部分または信頼性低下部分がその周囲の主立体形状データの部分により補間されてもよい。   The defective part or the reduced reliability part of the main stereoscopic shape data may be corrected by replacement or interpolation by the corresponding sub stereoscopic shape data part. Thereby, the user can observe an image or a composite image of the main three-dimensional shape of the measuring object S that does not include a defective portion or a reduced reliability portion on the display unit 400. Further, it is possible to improve the reliability of the portion of the main stereoscopic shape data whose reliability is reduced. In the correction of the main stereoscopic shape data, the defective portion or the reduced reliability portion of the main stereoscopic shape data may be interpolated by the surrounding main stereoscopic shape data portion.

図20、図21および図22は、副立体形状データによる主立体形状データの補正を説明するための図である。図20(a),(b)は、測定対象物Sの主立体形状の画像および合成画像をそれぞれ示す。図21(a),(b)は、測定対象物Sの副立体形状の画像および合成画像をそれぞれ示す。図22(a),(b)は、測定対象物Sの補正された主立体形状の画像および補正された合成画像をそれぞれ示す。   20, FIG. 21, and FIG. 22 are diagrams for explaining the correction of the main stereoscopic shape data by the sub stereoscopic shape data. FIGS. 20A and 20B show a main stereoscopic image and a composite image of the measuring object S, respectively. FIGS. 21A and 21B show a sub-stereoscopic image and a composite image of the measurement object S, respectively. FIGS. 22A and 22B show a corrected main stereoscopic image and a corrected combined image of the measuring object S, respectively.

図20(a),(b)に示すように、主立体形状の画像および合成画像には、空白データに基づく影Ssが含まれるとともに、偽形状データに基づく偽の形状Spが含まれる。一方、図21(a),(b)に示すように、副立体形状の画像および合成画像には、影の影響が出ない。   As shown in FIGS. 20A and 20B, the main stereoscopic image and the composite image include a shadow Ss based on blank data and a false shape Sp based on false shape data. On the other hand, as shown in FIGS. 21A and 21B, the sub-stereoscopic image and the composite image are not affected by the shadow.

図20(a),(b)の主立体形状の画像および合成画像における影Ssおよび偽の形状Spの部分が、図21(a),(b)の副立体形状の画像および全焦点テクスチャ画像の相当する部分により補正される。これにより、図22(a),(b)に示すように、影の影響が出ない主立体形状の画像および合成画像を観測することができる。   The portion of the shadow Ss and the false shape Sp in the main stereoscopic shape image and the composite image of FIGS. 20A and 20B are the sub-stereo shape image and the omnifocal texture image of FIGS. 21A and 21B. It is corrected by the corresponding part. As a result, as shown in FIGS. 22A and 22B, it is possible to observe a main stereoscopic image and a synthesized image that are not affected by a shadow.

表示部400に主立体形状の画像またはテクスチャ画像を表示させる際に、主立体形状データの不良部分または信頼性低下部分が補正されず、主立体形状データの不良部分または信頼性低下部分に相当する立体形状の画像またはテクスチャ画像の部分が強調表示されてもよい。あるいは、表示部400に補正された主立体形状の画像を表示させる際に、主立体形状データの不良部分または信頼性低下部分が補正された状態で、主立体形状データの不良部分または信頼性低下部分に相当する補正された立体形状の画像の部分が強調表示されてもよい。これにより、使用者は、主立体形状データの不良部分または信頼性低下部分を容易かつ確実に認識することができる。主立体形状データの不良部分または信頼性低下部分は、形状測定処理における測定位置の計測または解析においては、無効データとして扱われてもよい。   When displaying the main stereoscopic shape image or the texture image on the display unit 400, the defective portion or the reduced reliability portion of the main stereoscopic shape data is not corrected, and corresponds to the defective portion or the reduced reliability portion of the main stereoscopic shape data. A three-dimensional image or texture image portion may be highlighted. Alternatively, when displaying the corrected main stereoscopic shape image on the display unit 400, the defective portion or the reduced reliability of the main stereoscopic shape data in a state where the defective portion or the reduced reliability portion of the main stereoscopic shape data is corrected. A portion of the corrected three-dimensional image corresponding to the portion may be highlighted. As a result, the user can easily and reliably recognize a defective portion or a reduced reliability portion of the main stereoscopic shape data. The defective part or the reduced reliability part of the main stereoscopic shape data may be treated as invalid data in measurement or analysis of the measurement position in the shape measurement process.

形状測定処理において、投光部110A,110Bの両方からの測定光を用いて主立体形状データが生成される場合、投光部110A,110Bの各々からの測定光に基づく主立体形状データが適切な重み付けで合成されることにより主立体形状データが生成される。ここで、一方の測定光に基づく主立体形状データが不良部分または信頼性低下部分を含む場合には、その部分においては、一方の測定光に基づく主立体形状データの合成の重み付けを低減させるとともに、他方の測定光に基づく主立体形状データの合成の重み付けを増加させてもよい。   In the shape measurement process, when the main stereoscopic shape data is generated using measurement light from both the light projecting units 110A and 110B, the main stereoscopic shape data based on the measurement light from each of the light projecting units 110A and 110B is appropriate. The main three-dimensional shape data is generated by combining with appropriate weighting. Here, when the main stereoscopic shape data based on one measurement light includes a defective portion or a reliability reduction portion, the weight of the synthesis of the main stereoscopic shape data based on one measurement light is reduced in that portion. The weight of the synthesis of the main stereoscopic shape data based on the other measurement light may be increased.

(4)形状測定処理の効率化
後述する図30〜図32の形状測定処理において、投光部110から測定対象物Sにコード状測定光(図11参照)が照射されるとともに、縞状測定光(図9参照)が照射される。この場合、コード状測定光に基づいて測定対象物Sの各部分の高さの絶対値が算出されるとともに、縞状測定光に基づいて測定対象物Sの各部分の高さの相対値が高い分解能で算出される。これにより、測定対象物Sの各部分の高さの絶対値が高い分解能で算出される。すなわち、コード状測定光に基づいて算出された高さにより、縞状測定光に基づいて算出された高さの絶対値が決定される。
(4) Efficiency improvement of shape measurement process In the shape measurement process of FIGS. 30 to 32 described later, the measurement light S is irradiated with the code-shaped measurement light (see FIG. 11) and the stripe measurement is performed. Light (see FIG. 9) is irradiated. In this case, the absolute value of the height of each part of the measuring object S is calculated based on the code-shaped measuring light, and the relative value of the height of each part of the measuring object S is calculated based on the striped measuring light. Calculated with high resolution. Thereby, the absolute value of the height of each part of the measuring object S is calculated with high resolution. That is, the absolute value of the height calculated based on the striped measurement light is determined by the height calculated based on the code-shaped measurement light.

これに代えて、副立体形状データにおける各部分の高さにより、縞状測定光に基づいて算出された高さの絶対値が決定されてもよい。この場合、形状測定処理において、投光部110から測定対象物Sにコード状測定光を照射しなくてもよい。これにより、測定対象物Sの各部分の高さの絶対値を高い分解能で算出しつつ形状測定処理を短時間でかつ効率的に実行することができる。   Instead, the absolute value of the height calculated based on the striped measurement light may be determined based on the height of each part in the sub-stereoscopic shape data. In this case, it is not necessary to irradiate the measurement object S from the light projecting unit 110 with the code-shaped measurement light in the shape measurement process. Thereby, the shape measurement process can be executed in a short time and efficiently while calculating the absolute value of the height of each part of the measuring object S with high resolution.

[5]形状測定処理
(1)形状測定の準備
測定対象物Sの形状測定処理を実行する前に、使用者は、形状測定の準備を行う。図23は、形状測定の準備の手順を示すフローチャートである。以下、図1、図2および図23を参照しながら形状測定の準備の手順を説明する。まず、使用者は、測定対象物Sをステージ140上に載置する(ステップS1)。次に、使用者は、照明光出力部130から測定対象物Sに照明光を照射する(ステップS2)。これにより、測定対象物Sの画像が表示部400に表示される。続いて、使用者は、表示部400に表示された測定対象物Sの画像を見ながら、照明光の光量、受光部120の焦点ならびに測定対象物Sの位置および姿勢の調整(以下、第1の調整と呼ぶ)を行う(ステップS3)。
[5] 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. 23 is a flowchart showing a procedure for preparing for shape measurement. Hereinafter, a procedure for preparing for shape measurement will be described with reference to FIGS. 1, 2, and 23. First, the user places the measuring object S on the stage 140 (step S1). Next, the user irradiates the measurement object S with illumination light from the illumination light output unit 130 (step S2). Thereby, the image of the measuring object S is displayed on the display unit 400. Subsequently, the user adjusts the light amount of the illumination light, the focus of the light receiving unit 120, and the position and orientation of the measurement object S (hereinafter referred to as the first object) while viewing the image of the measurement object S displayed on the display unit 400. Is called (step S3).

次に、使用者は、照明光の照射を停止するとともに、投光部110から測定対象物Sに測定光を照射する(ステップS4)。これにより、測定対象物Sの画像が表示部400に表示される。続いて、使用者は、表示部400に表示された測定対象物Sの画像を見ながら、測定光の光量、受光部120の焦点ならびに測定対象物Sの位置および姿勢の調整(以下、第2の調整と呼ぶ)を行う(ステップS5)。ステップS5において、測定対象物Sの測定したい位置に影が発生していない場合には、使用者は、第2の調整として受光部120の焦点ならびに測定対象物Sの位置および姿勢の調整を行う必要はなく、測定光の光量の調整を行えばよい。   Next, the user stops the irradiation of the illumination light and irradiates the measurement object S with the measurement light from the light projecting unit 110 (step S4). Thereby, the image of the measuring object S is displayed on the display unit 400. Subsequently, the user adjusts the light amount of the measurement light, the focal point of the light receiving unit 120, and the position and orientation of the measurement object S (hereinafter referred to as the second) while viewing the image of the measurement object S displayed on the display unit 400. Is called (step S5). In step S5, when no shadow is generated at the position to be measured of the measurement object S, the user adjusts the focus of the light receiving unit 120 and the position and orientation of the measurement object S as the second adjustment. There is no need to adjust the amount of measurement light.

その後、使用者は、測定光の照射を停止するとともに、再び照明光出力部130から測定対象物Sに照明光を照射する(ステップS6)。これにより、測定対象物Sの画像が表示部400に表示される。次に、使用者は、表示部400に表示された測定対象物Sの画像を確認する(ステップS7)。ここで、使用者は、表示部400に表示された測定対象物Sの画像から、光の光量、受光部120の焦点ならびに測定対象物Sの位置および姿勢(以下、観察状態と呼ぶ)が適切であるか否かを判定する(ステップS8)。   Thereafter, the user stops the irradiation of the measurement light and irradiates the measurement object S from the illumination light output unit 130 again with the illumination light (step S6). Thereby, the image of the measuring object S is displayed on the display unit 400. Next, the user confirms the image of the measuring object S displayed on the display unit 400 (step S7). Here, from the image of the measuring object S displayed on the display unit 400, the user appropriately determines the amount of light, the focus of the light receiving unit 120, and the position and orientation of the measuring object S (hereinafter referred to as an observation state). It is determined whether or not (step S8).

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

なお、上記の説明においては、第1の調整の後に第2の調整が行われるが、これに限定されない。第2の調整の後に第1の調整が行われてもよい。この場合、ステップS6においては照明光ではなく測定光が測定対象物Sに照射される。また、ステップS5において、第2の調整のうち受光部120の焦点ならびに測定対象物Sの位置および姿勢の調整を行わなかった場合には、使用者は、ステップS6〜S8の手順を省略して形状測定の準備を終了してもよい。   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, in step S6, the measurement object S is irradiated with the measurement light instead of the illumination light. In step S5, when the focus of the light receiving unit 120 and the position and orientation of the measurement object S are not adjusted in the second adjustment, the user omits the steps S6 to S8. The preparation for shape measurement may be completed.

(2)第1の調整
図24および図25は、形状測定の準備の手順における第1の調整の詳細を示すフローチャートである。以下、図1、図2、図24および図25を参照しながら形状測定の準備の手順における第1の調整の詳細を説明する。まず、使用者は、照明光の光量を調整する(ステップS11)。照明光の光量の調整は、制御部300の照明光源320から出射される照明光の明るさまたは受光部120の露光時間を調整することにより行われる。次に、使用者は、表示部400に表示される測定対象物Sの画像に基づいて、測定対象物Sに照射される照明光の光量が適切であるか否かを判定する(ステップS12)。
(2) First Adjustment FIGS. 24 and 25 are flowcharts showing 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 preparation of the shape measurement will be described with reference to FIGS. 1, 2, 24 and 25. First, the user adjusts the amount of illumination light (step S11). The adjustment of the amount of illumination light is performed by adjusting the brightness of the illumination light emitted from the illumination light source 320 of the control unit 300 or the exposure time of the light receiving unit 120. Next, the user determines whether or not the amount of illumination light applied to the measurement object S is appropriate based on the image of the measurement object S displayed on the display unit 400 (step S12). .

ステップS12において、照明光の光量が適切でないと判定した場合、使用者は、ステップS11の処理に戻る。一方、ステップS12において、照明光の光量が適切であると判定した場合、使用者は、受光部120の焦点を調整する(ステップS13)。受光部120の焦点の調整は、ステージ140のZステージ142の位置を変化させ、受光部120と測定対象物Sとの間のZ方向の相対的な距離を調整することにより行われる。次に、使用者は、表示部400に表示される測定対象物Sの画像に基づいて、受光部120の焦点が適切であるか否かを判定する(ステップS14)。   If it is determined in step S12 that the amount of illumination light is not appropriate, the user returns to the process in step S11. On the other hand, if it is determined in step S12 that the amount of illumination light is appropriate, the user adjusts the focus of the light receiving unit 120 (step S13). The focus of the light receiving unit 120 is adjusted by changing the position of the Z stage 142 of the stage 140 and adjusting the relative distance in the Z direction between the light receiving unit 120 and the measuring object S. Next, the user determines whether or not the focus of the light receiving unit 120 is appropriate based on the image of the measurement object S displayed on the display unit 400 (step S14).

ステップS14において、受光部120の焦点が適切でないと判定した場合、使用者は、ステップS13の処理に戻る。一方、ステップS14において、受光部120の焦点が適切であると判定した場合、使用者は、測定対象物Sの位置および姿勢を調整する(ステップS15)。測定対象物Sの位置および姿勢の調整は、ステージ140のX−Yステージ141の位置およびθステージ143の角度を変化させることにより行われる。   If it is determined in step S14 that the focus of the light receiving unit 120 is not appropriate, the user returns to the process of step S13. On the other hand, when it determines with the focus of the light-receiving part 120 being appropriate in step S14, a user adjusts the position and attitude | position of the measuring object S (step S15). The position and orientation of the measuring object S are adjusted by changing the position of the XY stage 141 and the angle of the θ stage 143 of the stage 140.

次に、使用者は、表示部400に表示される測定対象物Sの画像に基づいて、測定対象物Sの位置および姿勢が適切であるか否かを判定する(ステップS16)。ここで、測定対象物Sの測定位置が受光部120の視野範囲に含まれている場合、使用者は、測定対象物Sの位置および姿勢が適切であると判断する。一方、測定対象物Sの測定位置が受光部120の視野範囲に含まれていない場合、使用者は、測定対象物Sの位置および姿勢が適切でないと判断する。   Next, the user determines whether or not the position and orientation of the measurement object S are appropriate based on the image of the measurement object S displayed on the display unit 400 (step S16). Here, when the measurement position of the measurement object S is included in the visual field range of the light receiving unit 120, the user determines that the position and orientation of the measurement object S are appropriate. On the other hand, when the measurement position of the measurement object S is not included in the visual field range of the light receiving unit 120, the user determines that the position and orientation of the measurement object S are not appropriate.

ステップS16において、測定対象物Sの位置および姿勢が適切でないと判定した場合、使用者は、ステップS15の処理に戻る。一方、ステップS16において、測定対象物Sの位置および姿勢が適切であると判定した場合、使用者は、視野サイズを調整する(ステップS17)。視野サイズの調整は、例えば受光部120のカメラ121のレンズの倍率を変更することにより行われる。   If it is determined in step S16 that the position and orientation of the measurement object S are not appropriate, the user returns to the process of step S15. On the other hand, if it is determined in step S16 that the position and orientation of the measuring object S are appropriate, the user adjusts the visual field size (step S17). The adjustment of the visual field size is performed by changing the magnification of the lens of the camera 121 of the light receiving unit 120, for example.

次に、使用者は、表示部400に表示される測定対象物Sの画像に基づいて、視野サイズが適切であるか否かを判定する(ステップS18)。ステップS18において、視野サイズが適切でないと判定した場合、使用者は、ステップS17の処理に戻る。一方、ステップS18において、視野サイズが適切であると判定した場合、使用者は、テクスチャ画像の種類を選択し(ステップS19)、第1の調整を終了する。第1の調整が行われることにより、テクスチャ画像データを生成するために最適な照明光の光量条件が設定される。   Next, the user determines whether or not the visual field size is appropriate based on the image of the measurement object S displayed on the display unit 400 (step S18). If it is determined in step S18 that the field of view size is not appropriate, the user returns to the process of step S17. On the other hand, if it is determined in step S18 that the visual field size is appropriate, the user selects the type of texture image (step S19), and the first adjustment is terminated. By performing the first adjustment, an optimal illumination light amount condition for generating texture image data is set.

なお、ステップS17においては、受光部120が、レンズの倍率が互いに異なる複数のカメラ121を含み、カメラ121を切り換えることによりレンズの倍率を変更してもよい。あるいは、レンズの倍率を切り換え可能な一のカメラ121を含み、レンズの倍率を切り換えることによりレンズの倍率を変更してもよい。または、受光部120のデジタルズーム機能により、レンズの倍率を変更することなく視野サイズが調整されてもよい。   In step S <b> 17, the light receiving unit 120 may include a plurality of cameras 121 having different lens magnifications, and the lens magnification may be changed by switching the cameras 121. Alternatively, one lens 121 that can switch the lens magnification may be included, and the lens magnification may be changed by switching the lens magnification. Alternatively, the visual field size may be adjusted by the digital zoom function of the light receiving unit 120 without changing the magnification of the lens.

図26は、X方向から見た図2の受光部120を示す模式図である。図26に示すように、受光部120は、複数のカメラ121としてカメラ121A,121Bを含む。カメラ121Aのレンズの倍率とカメラ121Bのレンズの倍率とは互いに異なる。また、受光部120はハーフミラー124をさらに含む。   FIG. 26 is a schematic diagram showing the light receiving unit 120 of FIG. 2 viewed from the X direction. As shown in FIG. 26, the light receiving unit 120 includes cameras 121 </ b> A and 121 </ b> B as a plurality of cameras 121. The lens magnification of the camera 121A and the lens magnification of the camera 121B are different from each other. The light receiving unit 120 further includes a half mirror 124.

複数のレンズ122,123を通過した光は、ハーフミラー124により2つの光に分離される。一方の光はカメラ121Aにより受光され、他方の光はカメラ121Bにより受光される。図1の制御基板150に受光信号を出力するカメラ121をカメラ121Aとカメラ121Bとの間で切り換えることにより、レンズの倍率を変更することができる。カメラ121Aとカメラ121Bとの間の切り換えは、図13の倍率切換欄474においてカメラの倍率を選択することにより行われる。   The light that has passed through the plurality of lenses 122 and 123 is separated into two lights by the half mirror 124. One light is received by the camera 121A, and the other light is received by the camera 121B. By switching the camera 121 that outputs a light reception signal to the control board 150 in FIG. 1 between the camera 121A and the camera 121B, the magnification of the lens can be changed. Switching between the camera 121A and the camera 121B is performed by selecting the camera magnification in the magnification switching field 474 of FIG.

(3)第2の調整
図27および図28は、形状測定の準備の手順における第2の調整の詳細を示すフローチャートである。以下、図1、図2、図27および図28を参照しながら形状測定の準備の手順における第2の調整の詳細を説明する。まず、使用者は、一方の測定光の光量を調整する(ステップS21)。
(3) Second Adjustment FIGS. 27 and 28 are flowcharts showing details of the second adjustment in the procedure for preparing for shape measurement. Hereinafter, the details of the second adjustment in the procedure for the preparation of the shape measurement will be described with reference to FIGS. 1, 2, 27 and 28. First, the user adjusts the amount of one measurement light (step S21).

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

ステップS22において、測定対象物Sの位置および姿勢が適切でないと判定した場合、使用者は、測定対象物Sの位置および姿勢を調整する(ステップS23)。測定対象物Sの位置および姿勢の調整は、ステージ140のX−Yステージ141の位置およびθステージ143の角度を変化させることにより行われる。その後、使用者は、ステップS22の処理に戻る。   If it is determined in step S22 that the position and orientation of the measurement object S are not appropriate, the user adjusts the position and orientation of the measurement object S (step S23). The position and orientation of the measuring object S are adjusted by changing the position of the XY stage 141 and the angle of the θ stage 143 of the stage 140. Thereafter, the user returns to the process of step S22.

一方、ステップS22において、測定対象物Sの位置および姿勢が適切であると判定した場合、使用者は、表示部400に表示される測定対象物Sの画像に基づいて、測定対象物Sに照射される一方の測定光の光量が適切であるか否かを判定する(ステップS24)。   On the other hand, when it is determined in step S22 that the position and orientation of the measurement target S are appropriate, the user irradiates the measurement target S based on the image of the measurement target S displayed on the display unit 400. It is determined whether or not the amount of one of the measured light is appropriate (step S24).

ステップS24において、一方の測定光の光量が適切でないと判定した場合、使用者は、一方の測定光の光量を調整する(ステップS25)。その後、使用者は、ステップS24の処理に戻る。   If it is determined in step S24 that the light amount of one measurement light is not appropriate, the user adjusts the light amount of one measurement light (step S25). Thereafter, the user returns to the process of step S24.

一方、ステップS24において、一方の測定光の光量が適切であると判定した場合、使用者は、表示部400に表示される測定対象物Sの画像に基づいて、受光部120の焦点が適切であるか否かを判定する(ステップS26)。   On the other hand, if it is determined in step S24 that the amount of the one measurement light is appropriate, the user is appropriately focused on the light receiving unit 120 based on the image of the measurement object S displayed on the display unit 400. It is determined whether or not there is (step S26).

ステップS26において、受光部120の焦点が適切でないと判定した場合、使用者は、受光部120の焦点を調整する(ステップS27)。受光部120の焦点の調整は、ステージ140のZステージ142の位置を変化させ、受光部120と測定対象物Sとの間のZ方向の相対的な距離を調整することにより行われる。その後、使用者は、ステップS26の処理に戻る。   If it is determined in step S26 that the focus of the light receiving unit 120 is not appropriate, the user adjusts the focus of the light receiving unit 120 (step S27). The focus of the light receiving unit 120 is adjusted by changing the position of the Z stage 142 of the stage 140 and adjusting the relative distance in the Z direction between the light receiving unit 120 and the measuring object S. Thereafter, the user returns to the process of step S26.

一方、ステップS26において、受光部120の焦点が適切であると判定した場合、使用者は、表示部400に表示された測定対象物Sの画像から、観察状態が適切であるか否かを判定する(ステップS28)。   On the other hand, when it is determined in step S26 that the focus of the light receiving unit 120 is appropriate, the user determines whether or not the observation state is appropriate from the image of the measurement object S displayed on the display unit 400. (Step S28).

ステップS28において、観察状態が適切でないと判定した場合、使用者は、ステップS23、ステップS25またはステップS27の処理に戻る。具体的には、観察状態のうち測定対象物Sの位置および姿勢が適切でないと判定した場合、使用者は、ステップS23の処理に戻る。観察状態のうち光(一方の測定光)の光量が適切でないと判定した場合、使用者は、ステップS25の処理に戻る。観察状態のうち受光部120の焦点が適切でないと判定した場合、使用者は、ステップS27の処理に戻る。   If it is determined in step S28 that the observation state is not appropriate, the user returns to the process in step S23, step S25, or step S27. Specifically, when it is determined that the position and orientation of the measurement object S are not appropriate in the observation state, the user returns to the process of step S23. If it is determined that the amount of light (one measurement light) is not appropriate in the observation state, the user returns to the process of step S25. When it is determined that the focus of the light receiving unit 120 is not appropriate in the observation state, the user returns to the process of step S27.

一方、ステップS28において、観察状態が適切であると判定した場合、使用者は、一方の測定光の照射を停止するとともに、他方の投光部110Bから測定対象物Sに測定光を照射する(ステップS29)。これにより、測定対象物Sの画像が表示部400に表示される。続いて、使用者は、表示部400に表示された測定対象物Sの画像を見ながら、他方の測定光の光量の調整を行う(ステップS30)。   On the other hand, when it is determined in step S28 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 S29). Thereby, the image of the measuring object S is displayed on the display unit 400. Subsequently, the user adjusts the light quantity of the other measurement light while viewing the image of the measurement object S displayed on the display unit 400 (step S30).

その後、使用者は、表示部400に表示される測定対象物Sの画像に基づいて、他方の測定光の光量が適切であるか否かを判定する(ステップS31)。ステップS31において、他方の測定光の光量が適切でないと判定した場合、使用者は、ステップS30の処理に戻る。一方、ステップS31において、他方の測定光の光量が適切であると判定した場合、使用者は、第2の調整を終了する。第2の調整が行われることにより、主立体形状データを生成するために最適な一方および他方の測定光の光量条件が設定される。なお、他方の投光部110Bを使用しない場合には、使用者は、ステップS28の処理の後、ステップS29〜S31の手順を省略して第2の調整を終了してもよい。   Thereafter, the user determines whether or not the amount of the other measurement light is appropriate based on the image of the measurement object S displayed on the display unit 400 (step S31). If it is determined in step S31 that the amount of the other measurement light is not appropriate, the user returns to the process of step S30. On the other hand, if it is determined in step S31 that the amount of the other measurement light is appropriate, the user ends the second adjustment. By performing the second adjustment, an optimal light quantity condition for one and the other measurement light is set in order to generate the main stereoscopic shape data. In addition, when not using the other light projection part 110B, the user may abbreviate | omit the procedure of step S29-S31 after the process of step S28, and may complete | finish 2nd adjustment.

図29は、第2の調整の実行時における表示部400のGUIの一例を示す図である。図29に示すように、第2の調整の実行時には、表示部400の設定変更領域480に図5と同様の光量設定バー430,440が表示される。使用者は、操作部250を操作して光量設定バー430のスライダ430sを水平方向に移動させることにより、一方の測定光の光量を変更することができる。同様に、使用者は、操作部250を操作して光量設定バー440のスライダ440sを水平方向に移動させることにより、他方の測定光の光量を変更することができる。   FIG. 29 is a diagram illustrating an example of the GUI of the display unit 400 when the second adjustment is performed. As shown in FIG. 29, when the second adjustment is executed, light amount setting bars 430 and 440 similar to those in FIG. 5 are displayed in the setting change area 480 of the display unit 400. The user can change the light amount of one measurement light by operating the operation unit 250 and moving the slider 430s of the light amount setting bar 430 in the horizontal direction. Similarly, the user can change the light amount of the other measurement light by operating the operation unit 250 and moving the slider 440s of the light amount setting bar 440 in the horizontal direction.

第2の調整の実行時には、表示部400に3つの画像表示領域450a,450b,450cが設けられる。画像表示領域450aには、一方および他方の測定光が照射された場合における測定対象物Sの画像が表示される。画像表示領域450bには、一方の測定光が照射された場合における測定対象物Sの画像が表示される。画像表示領域450cには、他方の測定光が照射された場合における測定対象物Sの画像が表示される。   When the second adjustment is performed, the display unit 400 is provided with three image display areas 450a, 450b, and 450c. In the image display area 450a, an image of the measurement object S when one and the other measurement light is irradiated is displayed. In the image display area 450b, an image of the measurement object S when one measurement light is irradiated is displayed. In the image display area 450c, an image of the measurement object S when the other measurement light is irradiated is displayed.

ここで、画像は、明るすぎるために白とびが生じている部分および暗すぎるために黒つぶれが生じている部分を識別可能に、画像表示領域450a〜450cに表示される。図29の例においては、明るすぎるために白とびが生じている部分がドットパターンにより強調表示されている。また、暗すぎるために黒つぶれが生じている部分がハッチングパターンにより強調表示されている。   Here, the image is displayed in the image display areas 450a to 450c so that a portion where overexposure occurs because it is too bright and a portion where blackout occurs because it is too dark can be identified. In the example of FIG. 29, the overexposed part is highlighted by the dot pattern because it is too bright. In addition, a portion that is blackened due to being too dark is highlighted by a hatching pattern.

(4)形状測定処理
図23の形状測定の準備の後、測定対象物Sの形状測定処理が実行される。図30、図31および図32は、形状測定処理の手順を示すフローチャートである。以下、図1、図2および図30〜図32を参照しながら形状測定処理の手順を説明する。使用者は、形状測定の準備の終了後に、CPU210に形状測定処理の開始を指示する。CPU210は、使用者により形状測定処理の開始が指示されたか否かを判定する(ステップS41)。
(4) Shape measurement process After the preparation of the shape measurement of FIG. 23, the shape measurement process of the measuring object S is executed. 30, 31 and 32 are flowcharts showing the procedure of the shape measurement process. Hereinafter, the procedure of the shape measurement process will be described with reference to FIGS. 1, 2, and 30 to 32. The user instructs the CPU 210 to start the shape measurement process after completing the preparation for the shape measurement. The CPU 210 determines whether or not the user has instructed the start of the shape measurement process (step S41).

ステップS41において、形状測定処理の開始が指示されていない場合、CPU210は、形状測定処理の開始が指示されるまで待機する。なお、使用者は、形状測定処理の開始を指示するまで形状測定の準備を行うことができる。一方、ステップS41において、形状測定処理の開始が指示された場合、CPU210は、第2の調整において設定された光量条件に従って投光部110から測定対象物Sに測定光を照射し、測定対象物Sに測定光のパターンが投影された画像(以下、パターン画像と呼ぶ)を取得する(ステップS42)。取得されたパターン画像は、作業用メモリ230に記憶される。   If the start of the shape measurement process is not instructed in step S41, the CPU 210 waits until the start of the shape measurement process is instructed. The user can prepare for shape measurement until instructing the start of the shape measurement process. On the other hand, when the start of the shape measurement process is instructed in step S41, the CPU 210 irradiates the measurement object S with the measurement light from the light projecting unit 110 according to the light amount condition set in the second adjustment, and the measurement object. An image obtained by projecting the measurement light pattern onto S (hereinafter referred to as a pattern image) is acquired (step S42). The acquired pattern image is stored in the work memory 230.

次に、CPU210は、取得したパターン画像を所定の計測アルゴリズムで処理することにより、測定対象物Sの立体形状を示す主立体形状データを生成する(ステップS43)。生成された主立体形状データは、作業用メモリ230に記憶される。続いて、CPU210は、生成した主立体形状データに基づいて測定対象物Sの主立体形状の画像を表示部400に表示する(ステップS44)。   Next, the CPU 210 generates main three-dimensional shape data indicating the three-dimensional shape of the measuring object S by processing the acquired pattern image with a predetermined measurement algorithm (step S43). The generated main stereoscopic shape data is stored in the work memory 230. Subsequently, the CPU 210 displays an image of the main stereoscopic shape of the measuring object S on the display unit 400 based on the generated main stereoscopic shape data (step S44).

その後、CPU210は、使用者の指示に基づいて、測定すべき位置(以下、測定位置と呼ぶ)の立体形状が表示されているか否かを判定する(ステップS45)。使用者は、表示部400に表示されている測定対象物Sの主立体形状の画像を見て、測定位置の立体形状が表示されているか否かをCPU210に指示する。   Thereafter, the CPU 210 determines whether or not a three-dimensional shape of a position to be measured (hereinafter referred to as a measurement position) is displayed based on a user instruction (step S45). The user views the image of the main three-dimensional shape of the measuring object S displayed on the display unit 400 and instructs the CPU 210 whether or not the three-dimensional shape at the measurement position is displayed.

ステップS45において、測定位置の立体形状が表示されていないと判定した場合、CPU210はステップS41の処理に戻る。これにより、CPU210は形状測定処理の開始が指示されるまで待機するとともに、使用者は形状測定処理の開始を再び指示するまで測定位置の立体形状が表示されるように形状測定の準備を行うことができる。一方、ステップS45において、測定位置の立体形状が表示されていると判定した場合、CPU210は、使用者により図25の第1の調整のステップS19で通常のテクスチャ画像が選択されたか否かを判定する(ステップS46)。   If it is determined in step S45 that the three-dimensional shape of the measurement position is not displayed, the CPU 210 returns to the process of step S41. Thus, the CPU 210 waits until the start of the shape measurement process is instructed, and the user prepares for shape measurement so that the three-dimensional shape of the measurement position is displayed until the user instructs the start of the shape measurement process again. Can do. On the other hand, if it is determined in step S45 that the three-dimensional shape of the measurement position is displayed, the CPU 210 determines whether or not a normal texture image has been selected by the user in step S19 of the first adjustment in FIG. (Step S46).

ここで、CPU210は、図19のテクスチャ画像選択欄484のチェックボックス484aが指定された場合、通常のテクスチャ画像が選択されたと判定する。また、CPU210は、図19のテクスチャ画像選択欄484のチェックボックス484a〜484cのいずれも指定されなかった場合にも、CPU210は、通常のテクスチャ画像が選択されたと判定する。   Here, when the check box 484a in the texture image selection field 484 of FIG. 19 is designated, the CPU 210 determines that a normal texture image has been selected. Further, the CPU 210 determines that a normal texture image has been selected even when none of the check boxes 484a to 484c in the texture image selection field 484 of FIG. 19 is designated.

ステップS46において、通常のテクスチャ画像が選択されたと判定した場合、CPU210は、第1の調整において設定された光量条件に従って照明光出力部130から測定対象物Sに照明光を照射し、測定対象物Sの通常のテクスチャ画像データを生成する(ステップS47)。その後、CPU210はステップS55の処理に進む。   If it is determined in step S46 that a normal texture image has been selected, the CPU 210 irradiates the measurement object S with illumination light from the illumination light output unit 130 in accordance with the light amount condition set in the first adjustment, and the measurement object. Normal texture image data of S is generated (step S47). Thereafter, the CPU 210 proceeds to the process of step S55.

ステップS46において、通常のテクスチャ画像が選択されなかったと判定した場合、CPU210は、使用者により図25の第1の調整のステップS19で全焦点テクスチャ画像が選択されたか否かを判定する(ステップS48)。ここで、CPU210は、図19のテクスチャ画像選択欄484のチェックボックス484cが指定された場合、全焦点テクスチャ画像が選択されたと判定する。   If it is determined in step S46 that the normal texture image has not been selected, the CPU 210 determines whether or not the omnifocal texture image has been selected by the user in step S19 of the first adjustment in FIG. 25 (step S48). ). Here, when the check box 484c of the texture image selection field 484 of FIG. 19 is designated, the CPU 210 determines that the omnifocal texture image has been selected.

ステップS48において、全焦点テクスチャ画像が選択されたと判定した場合、CPU210は、第1の調整において設定された光量条件に従って照明光出力部130から測定対象物Sに照明光を照射し、測定対象物Sの全焦点テクスチャ画像データを生成する(ステップS49)。一方、ステップS48において、全焦点テクスチャ画像が選択されなかったと判定した場合、CPU210はステップS50の処理に進む。   If it is determined in step S48 that the omnifocal texture image has been selected, the CPU 210 irradiates the measurement object S with illumination light from the illumination light output unit 130 according to the light amount condition set in the first adjustment, and the measurement object. S omnifocal texture image data is generated (step S49). On the other hand, if it is determined in step S48 that the omnifocal texture image has not been selected, the CPU 210 proceeds to the process of step S50.

次に、CPU210は、使用者により図25の第1の調整のステップS19でHDRテクスチャ画像が選択されたか否かを判定する(ステップS50)。ここで、CPU210は、図19のテクスチャ画像選択欄484のチェックボックス484bが指定された場合、HDRテクスチャ画像が選択されたと判定する。   Next, the CPU 210 determines whether or not the HDR texture image has been selected by the user in the first adjustment step S19 of FIG. 25 (step S50). Here, when the check box 484b of the texture image selection field 484 of FIG. 19 is designated, the CPU 210 determines that the HDR texture image has been selected.

ステップS50において、HDRテクスチャ画像が選択されたと判定した場合、CPU210は、第1の調整において設定された光量条件に従って照明光出力部130から測定対象物Sに照明光を照射し、測定対象物SのHDRテクスチャ画像データを生成する(ステップS51)。なお、ステップS49で全焦点テクスチャ画像データが生成されていた場合には、CPU210は、ステップS51でHDRテクスチャ画像データではなくHDR全焦点テクスチャ画像データを生成する。一方、ステップS50において、HDRテクスチャ画像が選択されなかったと判定した場合、CPU210はステップS52の処理に進む。   If it is determined in step S50 that the HDR texture image has been selected, the CPU 210 irradiates the measurement object S with illumination light from the illumination light output unit 130 according to the light amount condition set in the first adjustment, and the measurement object S HDR texture image data is generated (step S51). If the omnifocal texture image data has been generated in step S49, the CPU 210 generates HDR omnifocal texture image data instead of the HDR texture image data in step S51. On the other hand, if it is determined in step S50 that the HDR texture image has not been selected, the CPU 210 proceeds to the process of step S52.

使用者は、生成されたテクスチャ画像データに基づくテクスチャ画像を表示部400に表示させることをCPU210に指示することができる。CPU210は、テクスチャ画像の表示が指示されたか否かを判定する(ステップS52)。ステップS52において、テクスチャ画像の表示が指示されなかったと判定した場合、CPU210はステップS55の処理に進む。一方、ステップS52において、テクスチャ画像の表示が指示されたと判定した場合、CPU210は生成されたテクスチャ画像データに基づいてテクスチャ画像を表示部400に表示させる(ステップS53)。   The user can instruct the CPU 210 to display a texture image based on the generated texture image data on the display unit 400. CPU 210 determines whether display of a texture image has been instructed (step S52). If it is determined in step S52 that the display of the texture image has not been instructed, the CPU 210 proceeds to the process of step S55. On the other hand, if it is determined in step S52 that display of a texture image has been instructed, the CPU 210 causes the display unit 400 to display a texture image based on the generated texture image data (step S53).

次に、CPU210は、使用者の指示に基づいて、テクスチャ画像が適切であるか否かを判定する(ステップS54)。使用者は、表示部400に表示されているテクスチャ画像を見て、テクスチャ画像が適切であるか否かをCPU210に指示する。   Next, the CPU 210 determines whether or not the texture image is appropriate based on a user instruction (step S54). The user looks at the texture image displayed on the display unit 400 and instructs the CPU 210 whether or not the texture image is appropriate.

ステップS54において、テクスチャ画像が適切でないと判定した場合、CPU210はステップS48の処理に戻る。これにより、テクスチャ画像が適切であると判定されるまで、ステップS48〜S54の処理が繰り返される。使用者は選択するテクスチャ画像の種類を変更することにより、CPU210に適切なテクスチャ画像データを生成させることができる。   If it is determined in step S54 that the texture image is not appropriate, the CPU 210 returns to the process of step S48. Thereby, the processing of steps S48 to S54 is repeated until it is determined that the texture image is appropriate. The user can cause the CPU 210 to generate appropriate texture image data by changing the type of texture image to be selected.

ステップS54において、テクスチャ画像が適切であると判定した場合、CPU210は、合成データを生成する(ステップS55)。合成データは、ステップS47,ステップS49またはステップS51で生成されたテクスチャ画像データとステップS43において生成されたと主立体形状データを合成することにより生成される。   If it is determined in step S54 that the texture image is appropriate, the CPU 210 generates composite data (step S55). The combined data is generated by combining the texture image data generated in step S47, step S49 or step S51 with the main stereoscopic shape data generated in step S43.

続いて、CPU210は、生成された合成データに基づいて測定対象物Sの合成画像を表示部400に表示させる(ステップS56)。その後、CPU210は、使用者の指示に基づいて測定位置の計測または解析を実行する(ステップS57)。これにより、形状測定処理を終了する。このような形状測定処理により、CPU210は、使用者の指示に基づいて合成画像上において測定位置の計測または解析を実行することができる。   Subsequently, the CPU 210 causes the display unit 400 to display a composite image of the measurement object S based on the generated composite data (step S56). Thereafter, the CPU 210 performs measurement or analysis of the measurement position based on a user instruction (step S57). This completes the shape measurement process. With such shape measurement processing, the CPU 210 can perform measurement or analysis of the measurement position on the composite image based on the user's instruction.

上記のステップS42において、投光部110A,110Bの両方から測定対象物Sに測定光が照射される場合、一方の投光部110Aからの測定光に対応する一方のパターン画像が取得されるとともに、他方の投光部110Bからの測定光に対応する他方のパターン画像が取得される。   In step S42 described above, when the measurement object S is irradiated with the measurement object S from both the light projecting units 110A and 110B, one pattern image corresponding to the measurement light from the one light projecting unit 110A is acquired. The other pattern image corresponding to the measurement light from the other light projecting unit 110B is acquired.

ステップS43において、一方の投光部110Aからの測定光に対応する一方の主立体形状データが生成されるとともに、他方の投光部110Bからの測定光に対応する他方の主立体形状データが生成される。一方の主立体形状データと他方の主立体形状データとが適切な重み付けで合成されることにより、一の主立体形状データが生成される。   In step S43, one main stereoscopic shape data corresponding to the measurement light from one light projecting unit 110A is generated, and the other main stereoscopic shape data corresponding to the measurement light from the other light projecting unit 110B is generated. Is done. One main stereoscopic shape data is generated by combining one main stereoscopic shape data and the other main stereoscopic shape data with appropriate weighting.

上記のステップS47,S49,S51において、照明光出力部130から測定対象物Sに照明光が照射されることにより、測定対象物Sのテクスチャ画像データが生成されるが、これに限定されない。ステップS47,S49,S51において、投光部110から測定対象物Sに測定光が照射されることにより、測定対象物Sのテクスチャ画像データが生成されてもよい。この場合、形状測定装置500は照明光出力部130を含まなくてもよいので、形状測定装置500を小型化することができる。また、形状測定装置500の製造コストを低減することができる。   In steps S47, S49, and S51 described above, the illumination light is applied to the measurement object S from the illumination light output unit 130, and the texture image data of the measurement object S is generated. However, the present invention is not limited to this. In steps S47, S49, and S51, texture image data of the measurement object S may be generated by irradiating the measurement object S with the measurement light from the light projecting unit 110. In this case, since the shape measuring apparatus 500 does not need to include the illumination light output unit 130, the shape measuring apparatus 500 can be downsized. Moreover, the manufacturing cost of the shape measuring apparatus 500 can be reduced.

上記の形状測定処理においては、全焦点テクスチャ画像が選択されたか否かが判定された後にHDR画像が選択されたか否かが判定されるが、これに限定されない。HDRテクスチャ画像が選択されたか否かが判定された後に全焦点画像が選択されたか否かが判定されてもよい。   In the shape measurement process described above, it is determined whether an HDR image is selected after it is determined whether an omnifocal texture image is selected, but the present invention is not limited to this. It may be determined whether an omnifocal image has been selected after determining whether an HDR texture image has been selected.

上記の形状測定処理においては、テクスチャ画像データの生成の処理(ステップS46〜S54)が主立体形状データの生成の処理(ステップS42〜S45)の後に実行されるが、これに限定されない。テクスチャ画像データの生成の処理および主立体形状データの生成の処理はいずれが先に実行されてもよく、テクスチャ画像データの生成の処理および主立体形状データの生成の処理の一部が同時に実行されてもよい。   In the shape measurement process, the texture image data generation process (steps S46 to S54) is executed after the main stereoscopic shape data generation process (steps S42 to S45), but the present invention is not limited to this. Either the texture image data generation process or the main stereoscopic shape data generation process may be executed first, and a part of the texture image data generation process and the main stereoscopic shape data generation process are executed simultaneously. May be.

例えば、テクスチャ画像データの生成の処理(ステップS46〜S54)が行われた後に、主立体形状データの生成の処理(ステップS42〜S45)が行われてもよい。この場合でも、CPU210はステップS55の処理において合成データを生成することができる。また、ステップS54において、使用者が表示部400に表示されているテクスチャ画像を見て、テクスチャ画像が適切であるか否かを判断している間に、主立体形状データの生成の処理の一部が実行可能となる。そのため、形状測定処理を短時間でかつ効率的に実行することができる。   For example, after the process of generating texture image data (steps S46 to S54) is performed, the process of generating main stereoscopic shape data (steps S42 to S45) may be performed. Even in this case, the CPU 210 can generate composite data in the process of step S55. In step S54, while the user looks at the texture image displayed on the display unit 400 and determines whether the texture image is appropriate, the process of generating the main stereoscopic shape data is performed. Can be executed. Therefore, the shape measurement process can be executed efficiently in a short time.

また、主立体形状データの生成の処理の前にテクスチャ画像データの生成の処理が行われた場合、副立体形状データに基づいて測定対象物SのZ方向の寸法の上端および下端を算出可能となる。したがって、主立体形状データの生成の処理において、受光部120の焦点を測定対象物SのZ方向の中心に自動的に調整することができる。この場合、主立体形状データの精度をさらに向上させることができる。   In addition, when the texture image data generation process is performed before the main stereoscopic shape data generation process, the upper and lower ends of the dimension in the Z direction of the measuring object S can be calculated based on the sub stereoscopic shape data. Become. Therefore, in the process of generating the main stereoscopic shape data, the focus of the light receiving unit 120 can be automatically adjusted to the center of the measurement object S in the Z direction. In this case, the accuracy of the main stereoscopic shape data can be further improved.

一方、図30〜図32の形状測定処理のようにテクスチャ画像データの生成の処理の前に主立体形状データの生成の処理が行われた場合、主立体形状データに基づいて測定対象物SのZ方向の寸法の上端および下端を算出可能となる。したがって、テクスチャ画像データの生成の処理において、全焦点テクスチャ画像データの生成する際に、受光部120に対するステージ140のZ方向の移動範囲を最小限にしかつ移動間隔を適切に設定することができる。これにより、全焦点テクスチャ画像データを高速に生成することができる。   On the other hand, when the process of generating the main stereoscopic shape data is performed before the process of generating the texture image data as in the shape measurement process of FIGS. 30 to 32, the measurement object S is measured based on the main stereoscopic shape data. It becomes possible to calculate the upper end and the lower end of the dimension in the Z direction. Therefore, in the process of generating the texture image data, when generating the omnifocal texture image data, the movement range of the stage 140 with respect to the light receiving unit 120 in the Z direction can be minimized and the movement interval can be set appropriately. Thereby, omnifocal texture image data can be generated at high speed.

(5)効果
本実施の形態に係る形状測定装置500においては、三角測距方式により測定対象物Sの立体形状を示す主立体形状データが高い精度で生成される。また、測定対象物Sの各部分が受光部120の被写界深度の範囲内に位置する場合における測定対象物Sのテクスチャ画像データが合成されることにより、全焦点テクスチャ画像データが生成される。そのため、全焦点テクスチャ画像データは、測定対象物Sの表面全体にわたる表面状態を鮮明に示す。
(5) Effect In the shape measuring apparatus 500 according to the present embodiment, main three-dimensional shape data indicating the three-dimensional shape of the measuring object S is generated with high accuracy by the triangulation method. Further, the omnifocal texture image data is generated by synthesizing the texture image data of the measurement object S when each part of the measurement object S is located within the range of the depth of field of the light receiving unit 120. . Therefore, the omnifocal texture image data clearly shows the surface state over the entire surface of the measuring object S.

これにより、主立体形状データと全焦点テクスチャ画像データとを合成した合成データは、高い精度で測定された測定対象物Sの立体形状を示しかつ測定対象物Sの表面状態を鮮明に示す。合成データに基づく合成画像が表示部400に表示される。その結果、使用者は、測定対象物Sの形状を高い精度で測定しつつ測定対象物Sの表面状態を鮮明に観測することができる。   Thereby, the synthesized data obtained by synthesizing the main stereoscopic shape data and the omnifocal texture image data shows the stereoscopic shape of the measuring object S measured with high accuracy and clearly shows the surface state of the measuring object S. A composite image based on the composite data is displayed on the display unit 400. As a result, the user can clearly observe the surface state of the measuring object S while measuring the shape of the measuring object S with high accuracy.

また、本実施の形態に係る形状測定装置500においては、主立体形状データを生成するために適した一方および他方の測定光の光量条件とテクスチャ画像データを生成するために適した照明光の光量条件とが個別に設定される。これにより、主立体形状データをより高精度で生成することが可能になるとともに、測定対象物Sの表面全体にわたる表面状態をより鮮明に示すテクスチャ画像データを生成することが可能になる。その結果、測定対象物Sの形状をより高い精度で測定しつつ測定対象物Sの表面状態をより鮮明に観測することができる。   In the shape measuring apparatus 500 according to the present embodiment, the light quantity condition of one and the other measurement light suitable for generating main stereoscopic shape data and the light quantity of illumination light suitable for generating texture image data Conditions are set individually. As a result, it is possible to generate the main stereoscopic shape data with higher accuracy, and it is possible to generate texture image data that shows the surface state over the entire surface of the measuring object S more clearly. As a result, the surface state of the measuring object S can be observed more clearly while measuring the shape of the measuring object S with higher accuracy.

[6]焦点調整の第1の補助機能
(1)焦点調整の第1の補助機能の第1の例
形状測定の準備における第2の調整において、受光部120の焦点の調整が行われることにより、測定対象物Sは受光部120の被写界深度の範囲内に位置する。これにより、測定対象物Sの形状を正確に測定することができる。ここで、測定対象物Sが受光部120の被写界深度の範囲の中心付近、すなわち受光部120の焦点付近に位置する場合、測定対象物Sの形状をより正確に測定することができる。
[6] First Auxiliary Function for Focus Adjustment (1) First Example of First Auxiliary Function for Focus Adjustment In the second adjustment in the preparation for shape measurement, the focus of the light receiving unit 120 is adjusted. The measurement object S is located within the range of the depth of field of the light receiving unit 120. Thereby, the shape of the measuring object S can be measured accurately. Here, when the measuring object S is located near the center of the range of the depth of field of the light receiving unit 120, that is, near the focal point of the light receiving unit 120, the shape of the measuring object S can be measured more accurately.

しかしながら、Zステージ142を調整して被写界深度の範囲内において測定対象物SをZ方向に移動させても、表示部400に表示される測定対象物Sの画像はほとんど変化しない。例えば、被写界深度が5mmであり、視野サイズが25mm×25mmであるとする。この場合、被写界深度5mmの全範囲において、測定対象物Sが受光部120の焦点位置にあるように観察される。そのため、焦点の調整においては数mm程度のずれが発生し得ると考えられる。   However, even when the Z stage 142 is adjusted to move the measuring object S in the Z direction within the range of the depth of field, the image of the measuring object S displayed on the display unit 400 hardly changes. For example, it is assumed that the depth of field is 5 mm and the visual field size is 25 mm × 25 mm. In this case, the measurement object S is observed to be at the focal position of the light receiving unit 120 in the entire range of the depth of field of 5 mm. For this reason, it is considered that a deviation of about several mm may occur in the focus adjustment.

このように、測定対象物Sを受光部120の焦点付近に位置させることは困難である。そこで、本実施の形態に係る形状測定装置500には、測定対象物Sを受光部120の焦点付近に位置させることを補助する機能(以下、焦点調整の第1の補助機能と呼ぶ)が設けられる。   Thus, it is difficult to position the measuring object S near the focal point of the light receiving unit 120. In view of this, the shape measuring apparatus 500 according to the present embodiment is provided with a function (hereinafter referred to as a first auxiliary function for focus adjustment) for assisting the measurement object S to be positioned near the focal point of the light receiving unit 120. It is done.

図33および図34は、焦点調整の第1の補助機能の第1の例を説明するための図である。図33(a),(c)は、ステージ140上の測定対象物Sに照明光出力部130から照明光を照射した状態を示す。図33(b),(d)は、それぞれ図33(a),(c)の受光部120で測定対象物Sが撮像されることにより表示部400に表示される画像を示す。図34(a)は、受光部120で測定対象物Sが撮像されることにより表示部400に表示される画像を示す。図34(b)は、Y方向から見た測定対象物Sの位置と焦点位置との関係を示す。   33 and 34 are diagrams for describing a first example of the first auxiliary function of focus adjustment. FIGS. 33A and 33C show a state in which the measurement object S on the stage 140 is irradiated with illumination light from the illumination light output unit 130. FIG. 33 (b) and 33 (d) show images displayed on the display unit 400 when the measurement object S is imaged by the light receiving unit 120 of FIGS. 33 (a) and 33 (c), respectively. FIG. 34A shows an image displayed on the display unit 400 when the measurement object S is imaged by the light receiving unit 120. FIG. 34B shows the relationship between the position of the measuring object S and the focal position as viewed from the Y direction.

使用者が図13の焦点ガイド表示欄477を操作することにより、図33(b),(d)に示すように、表示部400に表示される画像の予め設定された特定の位置に予め設定された所定のパターン(以下、補助パターンと呼ぶ)APが表示される。本例においては、補助パターンAPは、表示部400の画面の中心、上下左右または四隅等の特定の位置に表示される。図34(a)に示すように、補助パターンAPが表示される表示部400上の座標を(x,y)とする。補助パターンAPは、表示部400上の画像に重なるように表示されるパターンである。そのため、図33(a),(c)の測定対象物Sを移動または変化させても、補助パターンAPは移動または変化しない。   When the user operates the focus guide display field 477 of FIG. 13, as shown in FIGS. 33 (b) and 33 (d), the user sets in advance a specific position set in advance on the image displayed on the display unit 400. A predetermined pattern (hereinafter referred to as an auxiliary pattern) AP is displayed. In this example, the auxiliary pattern AP is displayed at a specific position such as the center of the screen of the display unit 400, up / down / left / right, or four corners. As shown in FIG. 34A, the coordinates on the display unit 400 where the auxiliary pattern AP is displayed are (x, y). The auxiliary pattern AP is a pattern that is displayed so as to overlap the image on the display unit 400. Therefore, even if the measuring object S in FIGS. 33A and 33C is moved or changed, the auxiliary pattern AP does not move or change.

受光部120の焦点位置は既知である。図34(b)において、焦点位置が太い実線で示される。受光部120の焦点位置は、Z方向に垂直な平面状に存在する。投光部110は、補助パターンAPの座標(x,y)に対応する測定対象物S上の点を通るZ方向の線分と受光部120の焦点位置との交点に向けて、予め設定された所定のパターン(以下、ガイドパターンと呼ぶ。)GPを有する光を照射する。   The focal position of the light receiving unit 120 is known. In FIG. 34 (b), the focal position is indicated by a thick solid line. The focal position of the light receiving unit 120 exists on a plane perpendicular to the Z direction. The light projecting unit 110 is set in advance toward the intersection between the line segment in the Z direction passing through the point on the measurement object S corresponding to the coordinates (x, y) of the auxiliary pattern AP and the focal position of the light receiving unit 120. Further, light having a predetermined pattern (hereinafter referred to as a guide pattern) GP is irradiated.

これにより、図33(a),(c)に示すように測定対象物Sの表面上にガイドパターンGPが投影されるとともに、図33(b),(d)および図34(a)に示すように表示部400の測定対象物Sの画像上にガイドパターンGPが表示される。この場合、図1のCPU210は、補助パターンAPおよびガイドパターンGPのY方向の位置が等しくなるように投光部110を制御する。   As a result, the guide pattern GP is projected onto the surface of the measuring object S as shown in FIGS. 33 (a) and 33 (c), and shown in FIGS. 33 (b), 33 (d), and 34 (a). As described above, the guide pattern GP is displayed on the image of the measuring object S on the display unit 400. In this case, the CPU 210 in FIG. 1 controls the light projecting unit 110 so that the auxiliary pattern AP and the guide pattern GP have the same position in the Y direction.

この構成によれば、測定対象物Sの表面が受光部120の焦点位置にある場合、ガイドパターンGPは補助パターンAPの座標(x,y)と等しい座標上に表示される。すなわち、ガイドパターンGPと補助パターンAPとが重なるように表示される。   According to this configuration, when the surface of the measuring object S is at the focal position of the light receiving unit 120, the guide pattern GP is displayed on the coordinates equal to the coordinates (x, y) of the auxiliary pattern AP. That is, the guide pattern GP and the auxiliary pattern AP are displayed so as to overlap.

一方、測定対象物Sの表面が受光部120の焦点位置にない場合、ガイドパターンGPは補助パターンAPの座標(x,y)とは異なる座標(x’,y)上に表示される。位置xと位置x’との間の距離は、受光部120の焦点位置と測定対象物Sの表面の位置との間のZ方向の距離に比例する。したがって、測定対象物SがZ方向に移動すると、ガイドパターンGPはY方向には移動せず、X方向に移動する。   On the other hand, when the surface of the measuring object S is not at the focal position of the light receiving unit 120, the guide pattern GP is displayed on coordinates (x ', y) different from the coordinates (x, y) of the auxiliary pattern AP. The distance between the position x and the position x ′ is proportional to the distance in the Z direction between the focal position of the light receiving unit 120 and the position of the surface of the measuring object S. Therefore, when the measuring object S moves in the Z direction, the guide pattern GP does not move in the Y direction but moves in the X direction.

図33(a)の例においては、測定対象物Sの表面の位置と受光部120の焦点位置とが一致していない。したがって、図33(b)に示すように、表示部400上においてガイドパターンGPと補助パターンAPとが重なっていない。   In the example of FIG. 33A, the position of the surface of the measuring object S and the focal position of the light receiving unit 120 do not match. Therefore, as shown in FIG. 33B, the guide pattern GP and the auxiliary pattern AP do not overlap on the display unit 400.

図33(c)に示すように、ステージ140をZ方向に移動させることにより、ガイドパターンGPはX方向に移動する。使用者は、表示部400に表示された補助パターンAPおよびガイドパターンGPを見ながら、ガイドパターンGPが補助パターンAPに近づくようにステージ140をZ方向に移動させることができる。図33(d)に示すように、ガイドパターンGPと補助パターンAPとが重なるようにステージ140を調整することにより、使用者は、測定対象物Sの表面の位置と受光部120の焦点位置とを容易に一致させることができる。   As shown in FIG. 33C, the guide pattern GP moves in the X direction by moving the stage 140 in the Z direction. The user can move the stage 140 in the Z direction so that the guide pattern GP approaches the auxiliary pattern AP while watching the auxiliary pattern AP and the guide pattern GP displayed on the display unit 400. As shown in FIG. 33 (d), the user adjusts the stage 140 so that the guide pattern GP and the auxiliary pattern AP overlap each other, so that the user can determine the position of the surface of the measuring object S and the focal position of the light receiving unit 120. Can be easily matched.

例えば、視野サイズが25mm×25mmであり、受光部120のX方向における視野の画素数が1024画素であり、ガイドパターンGPと補助パターンAPとのずれを1画素の単位で認識可能であるとする。この場合、1画素の大きさは25mm÷1024≒24μmとなる。すなわち、ガイドパターンGPと補助パターンAPとのずれを24μmの単位で認識可能である。図6の角度αを例えば45度として、このずれの距離dを高さhに換算すると、高さhは24÷tan45°=24μmとなる。したがって、焦点調整の第1の補助機能により非常に高い精度で受光部120の焦点を調整することができる。   For example, the field size is 25 mm × 25 mm, the number of pixels in the field of view in the X direction of the light receiving unit 120 is 1024 pixels, and the deviation between the guide pattern GP and the auxiliary pattern AP can be recognized in units of one pixel. . In this case, the size of one pixel is 25 mm ÷ 1024≈24 μm. That is, the deviation between the guide pattern GP and the auxiliary pattern AP can be recognized in units of 24 μm. When the angle α in FIG. 6 is 45 degrees, for example, and the distance d of this deviation is converted into the height h, the height h is 24 ÷ tan45 ° = 24 μm. Therefore, the focus of the light receiving unit 120 can be adjusted with very high accuracy by the first auxiliary function of focus adjustment.

なお、図37においては、投光部110が簡略的に図示されている。投光部110は形状測定処理の実行時には周期的なパターンを有する測定光を測定対象物Sに照射する機能を有する投影パターン光学系である。投光部110は、代表的にはDMDまたはLCD等のパターン生成部112(図2)により生成された光を測定対象物Sに照射する。   In FIG. 37, the light projecting unit 110 is illustrated in a simplified manner. The light projecting unit 110 is a projection pattern optical system having a function of irradiating the measuring object S with measurement light having a periodic pattern when the shape measurement process is executed. The light projecting unit 110 typically irradiates the measurement object S with light generated by a pattern generation unit 112 (FIG. 2) such as a DMD or LCD.

このような投影パターン光学系を用いてガイドパターンGPを測定対象物Sの表面に投影することにより、ガイドパターンGP用の光源を測定部100に別途設ける必要がない。また、任意の形状を有するガイドパターンGPを測定対象物Sの表面に投影することができる。さらに、投光部110の照射範囲内で使用者が指定した測定対象物Sの部分に受光部120の焦点が合うようにガイドパターンGPの投影位置を変更することもできる。詳細については後述する。   By projecting the guide pattern GP onto the surface of the measurement object S using such a projection pattern optical system, it is not necessary to separately provide a light source for the guide pattern GP in the measurement unit 100. In addition, a guide pattern GP having an arbitrary shape can be projected onto the surface of the measuring object S. Furthermore, the projection position of the guide pattern GP can be changed so that the light receiving unit 120 is focused on the portion of the measuring object S designated by the user within the irradiation range of the light projecting unit 110. Details will be described later.

(2)焦点調整の第1の補助機能の第2の例
図35は、焦点調整の第1の補助機能の第2の例を説明するための図である。図35(a),(c)は、ステージ140上の測定対象物Sに照明光出力部130から照明光を照射した状態を示す。図35(b),(d)は、それぞれ図35(a),(c)の受光部120で測定対象物Sが撮像されることにより表示部400に表示される画像を示す。
(2) Second Example of First Auxiliary Function for Focus Adjustment FIG. 35 is a diagram for describing a second example of the first auxiliary function for focus adjustment. FIGS. 35A and 35C show a state in which the measurement object S on the stage 140 is irradiated with illumination light from the illumination light output unit 130. FIG. FIGS. 35B and 35D show images displayed on the display unit 400 when the measurement object S is imaged by the light receiving unit 120 of FIGS. 35A and 35C, respectively.

本例においては、使用者が表示部400上の画像の指定した位置に補助パターンAPが表示される。すなわち、使用者は、補助パターンAPが表示される図34(a)の座標(x,y)を指定することができる。図35(a),(c)に示すように、投光部110から測定対象物SにガイドパターンGPを有する光が照射される。この場合、図1のCPU210は、使用者の指定に基づいて、APの座標(x,y)を算出し、図34(b)の焦点位置上の座標(x,y)に向けて光が照射されるように投光部110を制御する。これにより、測定対象物Sの表面上にガイドパターンGPが投影されるとともに、表示部400の測定対象物Sの画像上にガイドパターンGPが表示される。   In this example, the auxiliary pattern AP is displayed at a position designated by the user on the display unit 400. That is, the user can specify the coordinates (x, y) in FIG. 34 (a) where the auxiliary pattern AP is displayed. As shown in FIGS. 35A and 35C, the light having the guide pattern GP is irradiated from the light projecting unit 110 to the measuring object S. In this case, the CPU 210 in FIG. 1 calculates the coordinates (x, y) of the AP based on the designation by the user, and the light is directed toward the coordinates (x, y) on the focal position in FIG. The light projecting unit 110 is controlled so as to be irradiated. Thereby, the guide pattern GP is projected on the surface of the measurement object S, and the guide pattern GP is displayed on the image of the measurement object S on the display unit 400.

図35(a)の例においては、測定対象物Sの表面の位置と受光部120の焦点位置とが一致していない。したがって、図35(b)に示すように、表示部400上においてガイドパターンGPと補助パターンAPとが重なっていない。   In the example of FIG. 35A, the position of the surface of the measuring object S and the focal position of the light receiving unit 120 do not match. Therefore, as shown in FIG. 35B, the guide pattern GP and the auxiliary pattern AP do not overlap on the display unit 400.

図35(c)に示すように、使用者は、表示部400に表示された補助パターンAPおよびガイドパターンGPを見ながら、ガイドパターンGPが補助パターンAPに近づくようにステージ140をZ方向に移動させることができる。図35(d)に示すように、ガイドパターンGPと補助パターンAPとが重なるようにステージ140を調整することにより、使用者は、測定対象物Sの表面の位置と受光部120の焦点位置とを容易に一致させることができる。   As shown in FIG. 35C, the user moves the stage 140 in the Z direction so that the guide pattern GP approaches the auxiliary pattern AP while looking at the auxiliary pattern AP and the guide pattern GP displayed on the display unit 400. Can be made. As shown in FIG. 35 (d), the user adjusts the stage 140 so that the guide pattern GP and the auxiliary pattern AP overlap each other, so that the user can determine the position of the surface of the measuring object S and the focal position of the light receiving unit 120. Can be easily matched.

図36は、補助パターンAPを表示させる位置を指定するGUIの一例を示す図である。図36(a)に示すように、使用者は図1のPC200の操作部250を操作して表示部400の画像の任意の位置にカーソルCを合わせることができる。   FIG. 36 is a diagram illustrating an example of a GUI for designating a position for displaying the auxiliary pattern AP. As shown in FIG. 36A, the user can move the cursor C to an arbitrary position of the image on the display unit 400 by operating the operation unit 250 of the PC 200 in FIG.

この状態でその位置を選択することにより、図36(b)に示すように、使用者はカーソルCの位置に補助パターンAPを表示させるとともに、ガイドパターンGPを表示させることができる。このように、本例においては、使用者が任意の位置に補助パターンAPを表示させることができる。これにより、使用者は、測定対象物Sの表面の任意の位置に受光部120の焦点を合わせることができる。   By selecting the position in this state, the user can display the auxiliary pattern AP at the position of the cursor C and the guide pattern GP as shown in FIG. Thus, in this example, the user can display the auxiliary pattern AP at an arbitrary position. Thereby, the user can focus the light receiving unit 120 on an arbitrary position on the surface of the measuring object S.

(3)焦点調整の第1の補助機能の第3の例
図37は、焦点調整の第1の補助機能の第3の例を説明するための図である。図37(a),(c)は、ステージ140上の測定対象物Sに照明光出力部130から照明光を照射した状態を示す。図37(b),(d)は、それぞれ図37(a),(c)の受光部120で測定対象物Sが撮像されることにより表示部400に表示される画像を示す。
(3) Third Example of First Auxiliary Function for Focus Adjustment FIG. 37 is a diagram for describing a third example of the first auxiliary function for focus adjustment. FIGS. 37A and 37C show a state in which the measurement object S on the stage 140 is irradiated with illumination light from the illumination light output unit 130. FIG. FIGS. 37B and 37D show images displayed on the display unit 400 when the measurement object S is imaged by the light receiving unit 120 in FIGS. 37A and 37C, respectively.

焦点調整の第1の補助機能の第1および第2の例と同様に、表示部400上の画像に補助パターンAPが表示される。補助パターンAPが表示される位置は、予め設定されていてもよいし、使用者により指定されてもよい。本例においては、補助パターンAPは矩形枠からなる。また、補助パターンAPの矩形枠のX方向の寸法は、受光部120のZ方向の測定可能範囲を示す。   Similar to the first and second examples of the first auxiliary function of focus adjustment, the auxiliary pattern AP is displayed on the image on the display unit 400. The position where the auxiliary pattern AP is displayed may be set in advance or specified by the user. In this example, the auxiliary pattern AP is a rectangular frame. Further, the dimension in the X direction of the rectangular frame of the auxiliary pattern AP indicates the measurable range in the Z direction of the light receiving unit 120.

図37(a),(c)に示すように、投光部110から測定対象物SにガイドパターンGPを有する光が照射される。これにより、測定対象物Sの表面上にガイドパターンGPが投影されるとともに、表示部400に表示される測定対象物Sの画像上にガイドパターンGPが表示される。ガイドパターンGPは矩形状を有し、ガイドパターンGPの寸法は補助パターンAPの寸法よりも小さい。この構成により、補助パターンAPの矩形枠内にガイドパターンGPが位置するときには、測定対象物Sの表面が受光部120のZ方向の測定可能範囲内に含まれる。   As shown in FIGS. 37A and 37C, the light having the guide pattern GP is irradiated from the light projecting unit 110 to the measurement object S. Thereby, the guide pattern GP is projected on the surface of the measurement object S, and the guide pattern GP is displayed on the image of the measurement object S displayed on the display unit 400. The guide pattern GP has a rectangular shape, and the size of the guide pattern GP is smaller than the size of the auxiliary pattern AP. With this configuration, when the guide pattern GP is positioned within the rectangular frame of the auxiliary pattern AP, the surface of the measuring object S is included in the measurable range of the light receiving unit 120 in the Z direction.

図37(a)の例においては、測定対象物Sの表面は受光部120のZ方向の測定可能範囲内に位置していない。したがって、図37(b)に示すように、表示部400上においてガイドパターンGPが補助パターンAPの矩形枠内に位置していない。   In the example of FIG. 37A, the surface of the measuring object S is not located within the measurable range of the light receiving unit 120 in the Z direction. Therefore, as shown in FIG. 37B, the guide pattern GP is not positioned within the rectangular frame of the auxiliary pattern AP on the display unit 400.

図37(c)に示すように、使用者は、表示部400に表示された補助パターンAPおよびガイドパターンGPを見ながら、ガイドパターンGPが補助パターンAPに近づくようにステージ140をZ方向に移動させることができる。図37(d)に示すように、ガイドパターンGPが補助パターンAPの矩形枠内に位置するようにステージ140を調整することにより、使用者は、測定対象物Sの表面を受光部120のZ方向の測定可能範囲内に容易に位置させることができる。   As shown in FIG. 37 (c), the user moves the stage 140 in the Z direction so that the guide pattern GP approaches the auxiliary pattern AP while watching the auxiliary pattern AP and the guide pattern GP displayed on the display unit 400. Can be made. As shown in FIG. 37 (d), the user adjusts the surface of the measuring object S to Z of the light receiving unit 120 by adjusting the stage 140 so that the guide pattern GP is positioned within the rectangular frame of the auxiliary pattern AP. It can be easily positioned within the measurable range of directions.

このように、測定対象物Sの表面の位置と受光部120の焦点位置とを一致させる必要がなく、測定対象物Sを受光部120のZ方向の測定可能範囲内に位置させる場合には、補助パターンAPのX方向の寸法は、受光部120のZ方向の測定可能範囲に対応した広がり範囲を有していてもよい。この場合、測定対象物Sを受光部120のZ方向の測定可能範囲内により容易に位置させることができる。   Thus, when the position of the surface of the measuring object S does not need to coincide with the focal position of the light receiving unit 120, and the measuring object S is positioned within the measurable range in the Z direction of the light receiving unit 120, The dimension of the auxiliary pattern AP in the X direction may have a spread range corresponding to the measurable range of the light receiving unit 120 in the Z direction. In this case, the measuring object S can be easily positioned within the measurable range of the light receiving unit 120 in the Z direction.

(4)焦点調整の第1の補助機能の第4の例
図38は、焦点調整の第1の補助機能の第4の例を説明するための図である。図38(a),(c)は、ステージ140上の測定対象物Sに照明光出力部130から照明光を照射した状態を示す。図38の(a),(c)の測定対象物Sは、複数の異なる高さの上面を有する。図38(b),(d)は、それぞれ図38(a),(c)の受光部120で測定対象物Sが撮像されることにより表示部400に表示される画像を示す。
(4) Fourth Example of First Auxiliary Function for Focus Adjustment FIG. 38 is a diagram for describing a fourth example of the first auxiliary function for focus adjustment. 38A and 38C show a state in which the measuring object S on the stage 140 is irradiated with illumination light from the illumination light output unit 130. FIG. The measurement object S in FIGS. 38A and 38C has a plurality of upper surfaces having different heights. 38B and 38D show images displayed on the display unit 400 when the measurement object S is imaged by the light receiving unit 120 of FIGS. 38A and 38C, respectively.

本例においては、使用者により指定された表示部400上の画像の複数の位置に補助パターンAPが表示される。したがって、使用者は、表示部400に表示された測定対象物Sの複数の異なる高さの上面の各々に補助パターンAPを指定することができる。各補助パターンAPは矩形枠からなる。また、各補助パターンAPの矩形枠のX方向の寸法は、受光部120のZ方向の測定可能範囲を示す。   In this example, auxiliary patterns AP are displayed at a plurality of positions on the display unit 400 designated by the user. Therefore, the user can designate the auxiliary pattern AP on each of a plurality of upper surfaces having different heights of the measurement object S displayed on the display unit 400. Each auxiliary pattern AP consists of a rectangular frame. Further, the dimension in the X direction of the rectangular frame of each auxiliary pattern AP indicates the measurable range in the Z direction of the light receiving unit 120.

図38(a),(c)に示すように、投光部110から測定対象物Sに複数のガイドパターンGPを有する光が照射される。これにより、測定対象物Sの表面上に複数のガイドパターンGPが投影されるとともに、表示部400に表示される測定対象物Sの画像上に複数のガイドパターンGPが表示される。複数のガイドパターンGPは、複数の補助パターンAPにそれぞれ対応する。各ガイドパターンGPは矩形状を有し、各ガイドパターンGPの寸法は各補助パターンAPの寸法よりも小さい。この構成により、各補助パターンAPの矩形枠内に各ガイドパターンGPが位置したときは、測定対象物Sの複数の上面が受光部120のZ方向の測定可能範囲内に位置する。   As shown in FIGS. 38A and 38C, light having a plurality of guide patterns GP is irradiated from the light projecting unit 110 to the measuring object S. Thereby, a plurality of guide patterns GP are projected on the surface of the measuring object S, and a plurality of guide patterns GP are displayed on the image of the measuring object S displayed on the display unit 400. The plurality of guide patterns GP respectively correspond to the plurality of auxiliary patterns AP. Each guide pattern GP has a rectangular shape, and the size of each guide pattern GP is smaller than the size of each auxiliary pattern AP. With this configuration, when each guide pattern GP is positioned within the rectangular frame of each auxiliary pattern AP, the plurality of upper surfaces of the measuring object S are positioned within the measurable range of the light receiving unit 120 in the Z direction.

図38(a)の例においては、測定対象物Sの複数の上面は受光部120のZ方向の測定可能範囲内に含まれていない。したがって、図38(b)に示すように、表示部400上において各ガイドパターンGPが各補助パターンAPの矩形枠内に位置していない。   In the example of FIG. 38A, the plurality of upper surfaces of the measuring object S are not included in the measurable range of the light receiving unit 120 in the Z direction. Therefore, as shown in FIG. 38B, each guide pattern GP is not positioned within the rectangular frame of each auxiliary pattern AP on the display unit 400.

図38(c)に示すように、使用者は、表示部400に表示された補助パターンAPおよびガイドパターンGPを見ながら、各ガイドパターンGPが各補助パターンAPに近づくようにステージ140をZ方向に移動させることができる。図38(d)に示すように、各ガイドパターンGPが各補助パターンAPの矩形枠内に位置するようにステージ140を調整することにより、使用者は、測定対象物Sの複数の上面を受光部120の被写界深度の範囲内に容易に位置させることができる。   As shown in FIG. 38C, the user moves the stage 140 in the Z direction so that each guide pattern GP approaches each auxiliary pattern AP while viewing the auxiliary pattern AP and the guide pattern GP displayed on the display unit 400. Can be moved to. As shown in FIG. 38D, the user receives a plurality of upper surfaces of the measuring object S by adjusting the stage 140 so that each guide pattern GP is positioned within the rectangular frame of each auxiliary pattern AP. It can be easily positioned within the range of the depth of field of the unit 120.

このように、測定対象物Sにおいて複数の位置を受光部120のZ方向の測定可能範囲内に位置させる場合には、それらの位置に対応する複数の補助パターンAPが指定されてもよい。これにより、測定対象物Sの複数の部分がZ方向において複数の異なる位置にある場合でも、測定対象物Sの複数の部分の各々を正確かつ容易に受光部120の焦点に位置させることができる。また、各補助パターンAPのX方向の寸法は、受光部120のZ方向の測定可能範囲に対応した広がり範囲を有していてもよい。この場合、測定対象物Sを受光部120のZ方向の測定可能範囲内により容易に位置させることができる。   As described above, when a plurality of positions on the measuring object S are positioned within the measurable range of the light receiving unit 120 in the Z direction, a plurality of auxiliary patterns AP corresponding to these positions may be designated. Thereby, even when a plurality of parts of the measuring object S are at a plurality of different positions in the Z direction, each of the plurality of parts of the measuring object S can be accurately and easily positioned at the focal point of the light receiving unit 120. . Further, the dimension in the X direction of each auxiliary pattern AP may have a spread range corresponding to the measurable range in the Z direction of the light receiving unit 120. In this case, the measuring object S can be easily positioned within the measurable range of the light receiving unit 120 in the Z direction.

(5)焦点調整の第1の補助機能の第5の例
図39および図40は、焦点調整の第1の補助機能の第5の例を説明するための図である。図39(a),(c)は、ステージ140上の測定対象物Sに照明光出力部130から照明光を照射した状態を示す。図39(b),(d)は、それぞれ図39(a),(c)の受光部120で測定対象物Sが撮像されることにより表示部400に表示される画像を示す。図40(a)は、受光部120で測定対象物Sが撮像されることにより表示部400に表示される画像を示す。図40(b)は、Y方向から見た測定対象物Sの位置と焦点位置との関係を示す。本例においては、焦点調整の第1の補助機能のために複数の投光部110A,110Bが用いられる。
(5) Fifth Example of First Auxiliary Function for Focus Adjustment FIGS. 39 and 40 are diagrams for describing a fifth example of the first auxiliary function for focus adjustment. 39 (a) and 39 (c) show a state in which the measurement object S on the stage 140 is irradiated with illumination light from the illumination light output unit 130. FIG. FIGS. 39B and 39D show images displayed on the display unit 400 when the measurement object S is imaged by the light receiving unit 120 in FIGS. 39A and 39C, respectively. FIG. 40A shows an image displayed on the display unit 400 when the measurement object S is imaged by the light receiving unit 120. FIG. 40B shows the relationship between the position of the measuring object S and the focal position as viewed from the Y direction. In this example, a plurality of light projecting units 110A and 110B are used for the first auxiliary function of focus adjustment.

図40(b)において、焦点位置が太い実線で示される。使用者が図13の焦点ガイド表示欄477を操作することにより、図39(a),(c)および図40(b)に示すように、一方の投光部110Aから測定対象物SにガイドパターンGPを有する光が照射される。これにより、図39(a),(c)に示すように測定対象物Sの表面上にガイドパターンGPが投影されるとともに、図39(b),(d)および図40(a)に示すように表示部400の測定対象物Sの画像上にガイドパターンGPが表示される。この場合、図1のCPU210は、予め設定された任意の座標(x,y)に対し、焦点位置上の座標(x,y)に向けて光が照射されるように一方の投光部110Aを制御する。   In FIG. 40B, the focal position is indicated by a thick solid line. When the user operates the focus guide display field 477 of FIG. 13, as shown in FIGS. 39 (a), (c) and FIG. 40 (b), a guide is provided from one light projecting unit 110A to the measuring object S. Light having the pattern GP is irradiated. As a result, the guide pattern GP is projected onto the surface of the measuring object S as shown in FIGS. 39A and 39C, and as shown in FIGS. 39B, 39D, and 40A. As described above, the guide pattern GP is displayed on the image of the measuring object S on the display unit 400. In this case, the CPU 210 in FIG. 1 applies one of the light projecting units 110A so that light is emitted toward the coordinates (x, y) on the focal position with respect to arbitrary coordinates (x, y) set in advance. To control.

同様に、図39(a),(c)および図40(b)に示すように、他方の投光部110Bから測定対象物Sに補助パターンAPを有する光が照射される。これにより、図39(a),(c)に示すように、測定対象物Sの表面上に補助パターンAPが投影されるとともに、図39(b),(d)および図40(a)に示すように、表示部400の測定対象物Sの画像上に補助パターンAPが表示される。この場合、CPU210は、予め設定された任意の座標(x,y)に対し、焦点位置上の座標(x,y)に向けて光が照射されるように他方の投光部110Bを制御する。補助パターンAPおよびガイドパターンGPのY方向の位置が等しくなるように投光部110A,110Bが制御される。   Similarly, as shown in FIGS. 39A, 39C, and 40B, the measurement object S is irradiated with light having the auxiliary pattern AP from the other light projecting unit 110B. As a result, as shown in FIGS. 39A and 39C, the auxiliary pattern AP is projected onto the surface of the measuring object S, and FIGS. 39B, 39D, and 40A are used. As shown, the auxiliary pattern AP is displayed on the image of the measuring object S on the display unit 400. In this case, the CPU 210 controls the other light projecting unit 110B so that light is emitted toward a coordinate (x, y) on the focal position with respect to an arbitrary coordinate (x, y) set in advance. . The light projecting units 110A and 110B are controlled so that the auxiliary pattern AP and the guide pattern GP have the same position in the Y direction.

焦点調整の第1の補助機能の第1〜第4の例と異なり、本例における補助パターンAPは、表示部400上の画像に重なるように表示されたパターンではない。そのため、図39(a),(c)の測定対象物Sを移動または変化させると、補助パターンAPは移動または変化する。   Unlike the first to fourth examples of the first auxiliary function of focus adjustment, the auxiliary pattern AP in this example is not a pattern displayed so as to overlap the image on the display unit 400. Therefore, when the measuring object S in FIGS. 39A and 39C is moved or changed, the auxiliary pattern AP is moved or changed.

この構成によれば、測定対象物Sの表面が受光部120の焦点位置にある場合、ガイドパターンGPおよび補助パターンAPは、座標(x,y)と等しい座標上に表示される。すなわち、ガイドパターンGPと補助パターンAPとが重なるように表示される。   According to this configuration, when the surface of the measuring object S is at the focal position of the light receiving unit 120, the guide pattern GP and the auxiliary pattern AP are displayed on coordinates equal to the coordinates (x, y). That is, the guide pattern GP and the auxiliary pattern AP are displayed so as to overlap.

一方、測定対象物Sの表面が受光部120の焦点位置にない場合、ガイドパターンGPは座標(x,y)とは異なる座標(x’,y)上に表示され、補助パターンAPは座標(x,y)および座標(x’,y)とは異なる座標(x’’,y)上に表示される。位置x’と位置x’’との間の距離は、受光部120の焦点位置と測定対象物Sの表面の位置との間のZ方向の距離に比例する。したがって、測定対象物SをZ方向に移動させると、ガイドパターンGPおよび補助パターンAPはY方向には移動せず、X方向における互いに逆方向に移動する。   On the other hand, when the surface of the measuring object S is not at the focal position of the light receiving unit 120, the guide pattern GP is displayed on coordinates (x ′, y) different from the coordinates (x, y), and the auxiliary pattern AP is coordinate ( x, y) and coordinates (x ′, y) are displayed on different coordinates (x ″, y). The distance between the position x ′ and the position x ″ is proportional to the distance in the Z direction between the focal position of the light receiving unit 120 and the position of the surface of the measuring object S. Therefore, when the measuring object S is moved in the Z direction, the guide pattern GP and the auxiliary pattern AP do not move in the Y direction, but move in opposite directions in the X direction.

図39(a)の例においては、測定対象物Sの表面の位置と受光部120の焦点位置とが一致していない。したがって、図39(b)に示すように、測定対象物S上および表示部400上においてガイドパターンGPと補助パターンAPとが重なっていない。   In the example of FIG. 39A, the position of the surface of the measuring object S and the focal position of the light receiving unit 120 do not match. Therefore, as shown in FIG. 39B, the guide pattern GP and the auxiliary pattern AP do not overlap on the measurement object S and the display unit 400.

図39(c)に示すように、ステージ140をZ方向に移動させることにより、ガイドパターンGPおよび補助パターンAPはX方向上で互いに逆方向に移動する。使用者は、測定対象物Sの表面上に投影されまたは表示部400に表示された補助パターンAPおよびガイドパターンGPを見ながら、ガイドパターンGPおよび補助パターンAPが互いに近づくようにステージ140をZ方向に移動させることができる。図39(d)に示すように、ガイドパターンGPと補助パターンAPとが重なるようにステージ140を調整することにより、使用者は、測定対象物Sの表面の位置と受光部120の焦点位置とを容易に一致させることができる。   As shown in FIG. 39C, by moving the stage 140 in the Z direction, the guide pattern GP and the auxiliary pattern AP move in the opposite directions in the X direction. While viewing the auxiliary pattern AP and the guide pattern GP projected on the surface of the measuring object S or displayed on the display unit 400, the user moves the stage 140 in the Z direction so that the guide pattern GP and the auxiliary pattern AP approach each other. Can be moved to. As shown in FIG. 39D, by adjusting the stage 140 so that the guide pattern GP and the auxiliary pattern AP overlap each other, the user can determine the position of the surface of the measuring object S and the focal position of the light receiving unit 120. Can be easily matched.

このように、本例においては、補助パターンAPおよびガイドパターンGPが表示部400だけでなく測定対象物Sにも表示される。したがって、使用者は、示部400を見ることができない状況であっても、測定対象物Sに表示された補助パターンAPおよびガイドパターンGPを見ながら受光部120の焦点の調整を行うことができる。これにより、図1の測定部100の操作性を向上させることができる。   Thus, in this example, the auxiliary pattern AP and the guide pattern GP are displayed not only on the display unit 400 but also on the measurement object S. Therefore, the user can adjust the focus of the light receiving unit 120 while viewing the auxiliary pattern AP and the guide pattern GP displayed on the measurement object S even when the display unit 400 cannot be viewed. . Thereby, the operativity of the measurement part 100 of FIG. 1 can be improved.

また、本例においても、使用者が表示部400上で受光部120の焦点を合わせたい測定対象物Sの部分を指定可能に構成することもできる。この場合、使用者により指定された部分に受光部120の焦点がある場合に、一方の投光部110Aにより測定対象物Sに投影されるガイドパターンGPと他方の投光部110Bにより測定対象物Sに投影される補助パターンAPとが重なるように、各投光部110A,110Bによる測定光の照射位置が変更される。   Also in this example, it can be configured such that the user can specify the part of the measuring object S that the user wants to focus on the light receiving unit 120 on the display unit 400. In this case, when the focus of the light receiving unit 120 is in a portion designated by the user, the measurement object is guided by the guide pattern GP projected onto the measurement object S by the one light projecting unit 110A and the other light projecting unit 110B. The irradiation position of the measurement light by each of the light projecting units 110A and 110B is changed so that the auxiliary pattern AP projected onto S overlaps.

投光部110A,110Bの少なくとも一方からガイドパターンGPまたは補助パターンAPに加えて受光部120の視野範囲を示す枠パターンを有する光が照射されてもよい。図41および図42は、投光部110Aから測定対象物Sに枠パターンを有する光が照射される例を示す図である。   In addition to the guide pattern GP or the auxiliary pattern AP, light having a frame pattern indicating the visual field range of the light receiving unit 120 may be irradiated from at least one of the light projecting units 110A and 110B. 41 and 42 are diagrams illustrating an example in which light having a frame pattern is irradiated onto the measurement object S from the light projecting unit 110A.

図41(a),(b)に示すように、一方の投光部110Aから測定対象物Sに枠パターンFPを有する光が照射される。これにより、測定対象物Sの表面上に枠パターンFPが投影される。枠パターンFPはガイドパターンGPを中心にした視野範囲を示す。   As shown in FIGS. 41A and 41B, the light having the frame pattern FP is irradiated to the measuring object S from one light projecting unit 110A. Thereby, the frame pattern FP is projected on the surface of the measuring object S. The frame pattern FP indicates a visual field range centering on the guide pattern GP.

図41および図42の例においては、枠パターンFPは視野サイズの四隅を示す4つのL字形状のパターンである。枠パターンFPは視野範囲の四隅を示す4つの十字形状のパターンまたは4つの点状のパターンであってもよい。あるいは、枠パターンFPは視野範囲を示す矩形状のパターンであってもよい。   In the example of FIGS. 41 and 42, the frame pattern FP is four L-shaped patterns indicating the four corners of the visual field size. The frame pattern FP may be four cross-shaped patterns or four dot-shaped patterns indicating the four corners of the visual field range. Alternatively, the frame pattern FP may be a rectangular pattern indicating the visual field range.

図42(a),(b)に示すように、使用者は、ガイドパターンGPと補助パターンAPとが重なるようにステージ140を調整することにより、測定対象物Sの表面の位置と受光部120の焦点位置とを一致させることができる。この状態における枠パターンFPにより囲まれる範囲が受光部120の視野範囲となる。   As shown in FIGS. 42A and 42B, the user adjusts the stage 140 so that the guide pattern GP and the auxiliary pattern AP overlap with each other, so that the surface position of the measurement object S and the light receiving unit 120 are adjusted. Can be made to coincide with the focal position. The range surrounded by the frame pattern FP in this state is the visual field range of the light receiving unit 120.

このように、本例においては、測定対象物S上に枠パターンFPが投影される。したがって、使用者は、表示部400を見ることができない状況であっても、表示部400に表示される受光部120の視野範囲を容易に認識することができる。これにより、測定部100の操作性をより向上させることができる。   Thus, in this example, the frame pattern FP is projected on the measuring object S. Therefore, the user can easily recognize the visual field range of the light receiving unit 120 displayed on the display unit 400 even in a situation where the display unit 400 cannot be seen. Thereby, the operativity of the measurement part 100 can be improved more.

また、本例においては、受光部120はデジタルズーム機能を有する。図43は、デジタルズーム機能に対応する枠パターンFPを示す図である。図43に示すように、受光部120のデジタルズーム機能により測定対象物Sを実際に拡大観察する前に、拡大後の視野範囲を枠パターンFPにより測定対象物Sの表面上に投影することができる。図43において、デジタルズーム機能を使用しない場合における視野範囲が点線の枠パターンFPにより示され、デジタルズーム機能を使用する場合における拡大後の視野範囲が実線の枠パターンFPにより示される。   In this example, the light receiving unit 120 has a digital zoom function. FIG. 43 is a diagram showing a frame pattern FP corresponding to the digital zoom function. As shown in FIG. 43, before the measurement object S is actually magnified and observed by the digital zoom function of the light receiving unit 120, the enlarged visual field range can be projected on the surface of the measurement object S by the frame pattern FP. . In FIG. 43, the visual field range when the digital zoom function is not used is indicated by a dotted frame pattern FP, and the enlarged visual field range when the digital zoom function is used is indicated by a solid line frame pattern FP.

このように、使用者は、受光部120のデジタルズーム機能により測定対象物Sを実際に拡大観察する前に、拡大後の視野範囲を認識することができる。これにより、測定部100の操作性をさらに向上させることができる。   As described above, the user can recognize the enlarged visual field range before actually magnifying and observing the measurement object S by the digital zoom function of the light receiving unit 120. Thereby, the operativity of the measurement part 100 can further be improved.

焦点調整の第1の補助機能の第5の例の変形例として、測定部100は、焦点調整の第1の補助機能のための調整光源を有してもよい。この場合、焦点調整の第1の補助機能のために投光部110Aおよび調整光源が用いられる。また、測定部100は、他方の投光部110Bを有さなくてもよい。調整光源は測定対象物Sの形状の測定には用いられないので、簡易な構成を有する光源であってもよい。本例においては、調整光源は、例えばレーザポインタである。   As a modification of the fifth example of the first auxiliary function for focus adjustment, the measurement unit 100 may include an adjustment light source for the first auxiliary function for focus adjustment. In this case, the light projecting unit 110A and the adjustment light source are used for the first auxiliary function of focus adjustment. Moreover, the measurement part 100 does not need to have the other light projection part 110B. Since the adjustment light source is not used for measuring the shape of the measuring object S, it may be a light source having a simple configuration. In this example, the adjustment light source is, for example, a laser pointer.

投光部110Aから測定対象物SにガイドパターンGPを有する光が照射される。これにより、測定対象物Sの表面上にガイドパターンGPが投影されるとともに、表示部400の測定対象物Sの画像上にガイドパターンGPが表示される。調整光源から測定対象物Sに補助パターンAPを有する光が照射される。これにより、測定対象物Sの表面上に補助パターンAPが投影されるとともに、表示部400の測定対象物Sの画像上に補助パターンAPが表示される。   The light having the guide pattern GP is irradiated onto the measuring object S from the light projecting unit 110A. Thereby, the guide pattern GP is projected on the surface of the measurement object S, and the guide pattern GP is displayed on the image of the measurement object S on the display unit 400. The measuring object S is irradiated with light having the auxiliary pattern AP from the adjustment light source. Thereby, the auxiliary pattern AP is projected on the surface of the measuring object S, and the auxiliary pattern AP is displayed on the image of the measuring object S on the display unit 400.

使用者は、測定対象物Sの表面上に投影されまたは表示部400に表示された補助パターンAPおよびガイドパターンGPを見ながら、ガイドパターンGPと補助パターンAPとが重なるようにステージ140を調整することにより、測定対象物Sの表面の位置と受光部120の焦点位置とを容易に一致させることができる。   The user adjusts the stage 140 so that the guide pattern GP and the auxiliary pattern AP overlap while watching the auxiliary pattern AP and the guide pattern GP projected on the surface of the measurement object S or displayed on the display unit 400. Thus, the position of the surface of the measuring object S and the focal position of the light receiving unit 120 can be easily matched.

調整光源は、投光部110Aからの測定対象物Sへの光の照射方向とは異なる方向から測定対象物Sへ光を照射可能である限り、測定部100のいずれの部分に設けられてもよい。例えば、調整光源は受光部120に設けられ、測定対象物Sの略真上から測定対象物Sに光が照射されてもよい。あるいは、測定対象物Sが光を透過する場合には、調整光源はステージ140に設けられ、測定対象物Sの下から測定対象物Sに光が照射されてもよい。   The adjustment light source may be provided in any part of the measurement unit 100 as long as it can irradiate the measurement target S from a direction different from the light irradiation direction of the measurement target S from the light projecting unit 110A. Good. For example, the adjustment light source may be provided in the light receiving unit 120, and the measurement object S may be irradiated with light from directly above the measurement object S. Alternatively, when the measurement object S transmits light, the adjustment light source may be provided on the stage 140 and the measurement object S may be irradiated with light from under the measurement object S.

(6)焦点調整の第1の補助機能の変形例
上記の焦点調整の第1の補助機能の第1〜第5の例においては、ガイドパターンGPと補助パターンAPとが重なるか、またはガイドパターンGPが補助パターンAPの矩形枠内に位置するように、使用者が手動で受光部120の焦点を調整するが、これに限定されない。図1のCPU210がガイドパターンGPと補助パターンAPとの間の距離に基づいて、図1のステージ駆動部146を駆動することにより、使用者の操作によらずに自動で受光部120の焦点が調整されてもよい。
(6) Modification of First Auxiliary Function for Focus Adjustment In the first to fifth examples of the first auxiliary function for focus adjustment described above, the guide pattern GP and the auxiliary pattern AP overlap, or the guide pattern Although the user manually adjusts the focus of the light receiving unit 120 so that the GP is positioned within the rectangular frame of the auxiliary pattern AP, the present invention is not limited to this. The CPU 210 in FIG. 1 drives the stage driving unit 146 in FIG. 1 based on the distance between the guide pattern GP and the auxiliary pattern AP, so that the focus of the light receiving unit 120 is automatically set regardless of the user's operation. It may be adjusted.

あるいは、CPU210は、ガイドパターンGPと補助パターンAPとを近づけるためにステージ140をZ方向上のいずれの方向に移動させるべきかを判定し、その方向を例えば表示部400に表示してもよい。また、CPU210は、ガイドパターンGPと補助パターンAPとの重なりの度合いにより合焦の程度を判定し、合焦の程度を数値的または視覚的に表示部400に表示してもよい。合焦の程度の視覚的な表示は、例えばバーによる表示を含む。合焦の程度の視覚的な他の表示として、ガイドパターンGPと補助パターンAPとが完全に重なったときに、ガイドパターンGPおよび補助パターンAPの色彩が変化してもよい。   Alternatively, the CPU 210 may determine in which direction on the Z direction the stage 140 should be moved in order to bring the guide pattern GP and the auxiliary pattern AP closer, and may display the direction on the display unit 400, for example. Further, the CPU 210 may determine the degree of focusing based on the degree of overlap between the guide pattern GP and the auxiliary pattern AP, and may display the degree of focusing numerically or visually on the display unit 400. The visual indication of the degree of focus includes, for example, a bar display. As another visual indication of the degree of focus, when the guide pattern GP and the auxiliary pattern AP completely overlap, the colors of the guide pattern GP and the auxiliary pattern AP may change.

(7)補助パターンおよびガイドパターンの形状
上記の焦点調整の第1の補助機能の第1、第2および第5の例においては、ガイドパターンGPと補助パターンAPとが重なる場合に測定対象物Sの表面の位置と受光部120の焦点位置とが一致するように、ガイドパターンGPおよび補助パターンAPが設定される。また、焦点調整の第1の補助機能の第3および第4の例においては、ガイドパターンGPが補助パターンAPの矩形枠内に位置する場合に測定対象物Sが受光部120のZ方向の測定可能範囲内に位置されるように、ガイドパターンGPおよび補助パターンAPが設定される。
(7) Shape of auxiliary pattern and guide pattern In the first, second, and fifth examples of the first auxiliary function of the focus adjustment described above, the measurement object S when the guide pattern GP and the auxiliary pattern AP overlap. The guide pattern GP and the auxiliary pattern AP are set so that the position of the surface of the light and the focal position of the light receiving unit 120 coincide with each other. In the third and fourth examples of the first auxiliary function of focus adjustment, the measurement object S is measured in the Z direction of the light receiving unit 120 when the guide pattern GP is positioned within the rectangular frame of the auxiliary pattern AP. The guide pattern GP and the auxiliary pattern AP are set so as to be positioned within the possible range.

これらに限定されず、ガイドパターンGPと補助パターンAPとが特定の位置関係になる場合に測定対象物Sの表面の位置と受光部120の焦点位置とが一致するか、または測定対象物Sが受光部120のZ方向の測定可能範囲内に位置されるように、ガイドパターンGPおよび補助パターンAPが設定されてもよい。なお、特定の位置関係とは、使用者がガイドパターンGPと補助パターンAPとの相対的な位置関係を視認することにより、その位置に受光部120の焦点が一致したことを認識可能な関係であり、受光部120の焦点が一致していないときのガイドパターンGPと補助パターンAPとの位置関係とは異なる。   Without being limited thereto, when the guide pattern GP and the auxiliary pattern AP are in a specific positional relationship, the position of the surface of the measurement object S matches the focal position of the light receiving unit 120, or the measurement object S is The guide pattern GP and the auxiliary pattern AP may be set so as to be positioned within the measurable range of the light receiving unit 120 in the Z direction. The specific positional relationship is a relationship in which the user can recognize that the focal point of the light receiving unit 120 coincides with the position by visually recognizing the relative positional relationship between the guide pattern GP and the auxiliary pattern AP. Yes, the positional relationship between the guide pattern GP and the auxiliary pattern AP when the focal points of the light receiving unit 120 do not match is different.

図44は、補助パターンAPおよびガイドパターンGPの形状の一例を示す図である。図44(a)〜(e)においては、補助パターンAPをハッチングパターンで表わし、ガイドパターンGPをドットパターンで表わす。   FIG. 44 is a diagram illustrating an example of the shapes of the auxiliary pattern AP and the guide pattern GP. 44 (a) to 44 (e), the auxiliary pattern AP is represented by a hatching pattern, and the guide pattern GP is represented by a dot pattern.

図44(a)の例においては、補助パターンAPおよびガイドパターンGPは、十字形状を有する。図44(b)の例においては、補助パターンAPおよびガイドパターンGPは、円環形状を有する。図44(c)の例においては、補助パターンAPおよびガイドパターンGPは、矩形枠状を有する。図44(d)の例においては、補助パターンAPおよびガイドパターンGPは、X字形状を有する。図44(d)の例においては、補助パターンAPおよびガイドパターンGPは、I字形状を有する。   In the example of FIG. 44A, the auxiliary pattern AP and the guide pattern GP have a cross shape. In the example of FIG. 44B, the auxiliary pattern AP and the guide pattern GP have an annular shape. In the example of FIG. 44C, the auxiliary pattern AP and the guide pattern GP have a rectangular frame shape. In the example of FIG. 44D, the auxiliary pattern AP and the guide pattern GP have an X shape. In the example of FIG. 44D, the auxiliary pattern AP and the guide pattern GP have an I shape.

このように、図44(a)〜(e)の例においては、補助パターンAPおよびガイドパターンGPが同一の形状を有する。これらの例においては、ガイドパターンGPと補助パターンAPとが重なるときに測定対象物Sの表面の位置と受光部120の焦点位置とが一致することとなる。なお、上記の焦点調整の第1の補助機能の第1、第2および第5の例における補助パターンAPおよびガイドパターンGPは、それぞれ図44(a)の補助パターンAPおよびガイドパターンGPである。   Thus, in the example of FIGS. 44A to 44E, the auxiliary pattern AP and the guide pattern GP have the same shape. In these examples, when the guide pattern GP and the auxiliary pattern AP overlap, the position of the surface of the measuring object S and the focal position of the light receiving unit 120 coincide with each other. Note that the auxiliary pattern AP and the guide pattern GP in the first, second, and fifth examples of the first auxiliary function of the focus adjustment described above are the auxiliary pattern AP and the guide pattern GP in FIG.

図45は、補助パターンAPおよびガイドパターンGPの形状の他の例を示す図である。図45(a)〜(e)においては、補助パターンAPをハッチングパターンで表わし、ガイドパターンGPをドットパターンで表わす。   FIG. 45 is a diagram showing another example of the shapes of the auxiliary pattern AP and the guide pattern GP. 45 (a) to 45 (e), the auxiliary pattern AP is represented by a hatching pattern, and the guide pattern GP is represented by a dot pattern.

図45(a)の例においては、補助パターンAPは十字形状の一方の半分の形状を有し、ガイドパターンGPは十字形状の他方の半分の形状を有する。この例においては、ガイドパターンGPと補助パターンAPが結合して十字形状が形成されたときに測定対象物Sの表面の位置と受光部120の焦点位置とが一致することとなる。   In the example of FIG. 45A, the auxiliary pattern AP has one half shape of a cross shape, and the guide pattern GP has the other half shape of the cross shape. In this example, when the guide pattern GP and the auxiliary pattern AP are combined to form a cross shape, the position of the surface of the measuring object S coincides with the focal position of the light receiving unit 120.

図45(b)の例においては、補助パターンAPは円環形状の一方の半分の形状を有し、ガイドパターンGPは円環形状の他方の半分の形状を有する。この例においては、ガイドパターンGPと補助パターンAPが結合して円環形状が形成されたときに測定対象物Sの表面の位置と受光部120の焦点位置とが一致することとなる。   In the example of FIG. 45B, the auxiliary pattern AP has one half shape of an annular shape, and the guide pattern GP has the other half shape of an annular shape. In this example, when the guide pattern GP and the auxiliary pattern AP are combined to form an annular shape, the position of the surface of the measuring object S matches the focal position of the light receiving unit 120.

図45(c)の例においては、補助パターンAPは文字“FP”の形状の一部分の形状を有し、ガイドパターンGPは文字“FP”の形状の他の部分の形状を有する。この例においては、ガイドパターンGPと補助パターンAPが結合して文字“FP”の形状が形成されたときに測定対象物Sの表面の位置と受光部120の焦点位置とが一致することとなる。   In the example of FIG. 45C, the auxiliary pattern AP has a shape of a part of the shape of the character “FP”, and the guide pattern GP has the shape of another portion of the shape of the character “FP”. In this example, when the shape of the character “FP” is formed by combining the guide pattern GP and the auxiliary pattern AP, the position of the surface of the measuring object S coincides with the focal position of the light receiving unit 120. .

図45(d)の例においては、補助パターンAPはアスタリスク形状の一部分の形状を有し、ガイドパターンGPはアスタリスク形状の他の部分の形状を有する。この例においては、ガイドパターンGPと補助パターンAPが結合してアスタリスク形状が形成されたときに測定対象物Sの表面の位置と受光部120の焦点位置とが一致することとなる。   In the example of FIG. 45D, the auxiliary pattern AP has a shape of a part of an asterisk shape, and the guide pattern GP has a shape of another part of the asterisk shape. In this example, when the guide pattern GP and the auxiliary pattern AP are combined to form an asterisk shape, the position of the surface of the measuring object S and the focal position of the light receiving unit 120 coincide.

図45(e)の例においては、上下方向に延びかつ長さが異なる複数の棒形状の一部分の形状を有し、ガイドパターンGPは上下方向に延びかつ長さが異なる複数の棒形状の他の部分の形状を有する。この例においては、ガイドパターンGPと補助パターンAPが結合して上下方向に延びかつ長さが異なる複数の棒形状が形成されたときに測定対象物Sの表面の位置と受光部120の焦点位置とが一致することとなる。   In the example of FIG. 45 (e), the guide pattern GP has a plurality of bar shapes extending in the vertical direction and having different lengths, and the guide pattern GP extends in the vertical direction and has a plurality of bar shapes having different lengths. It has the shape of the part. In this example, the position of the surface of the measuring object S and the focal position of the light receiving unit 120 when the guide pattern GP and the auxiliary pattern AP are combined to form a plurality of bar shapes extending in the vertical direction and having different lengths. Will match.

図46は、補助パターンAPおよびガイドパターンGPの形状のさらに他の例を示す図である。図46(a)〜(c)においては、補助パターンAPをハッチングパターンで表わし、ガイドパターンGPをドットパターンで表わす。   FIG. 46 is a diagram showing still another example of the shapes of the auxiliary pattern AP and the guide pattern GP. In FIGS. 46A to 46C, the auxiliary pattern AP is represented by a hatching pattern, and the guide pattern GP is represented by a dot pattern.

図46(a)の例においては、補助パターンAPは矩形枠からなり、ガイドパターンGPは補助パターンAPの寸法よりも小さい矩形状を有する。補助パターンAPの横方向(図2のX方向)の寸法は、図1の受光部120のZ方向の測定可能範囲を示す。この例においては、補助パターンAPの矩形枠内にガイドパターンGPが位置するときに測定対象物S上のガイドパターンGPの表示部分が受光部120のZ方向の測定可能範囲内に位置することとなる。   In the example of FIG. 46A, the auxiliary pattern AP has a rectangular frame, and the guide pattern GP has a rectangular shape smaller than the dimension of the auxiliary pattern AP. The dimension in the horizontal direction (X direction in FIG. 2) of the auxiliary pattern AP indicates the measurable range in the Z direction of the light receiving unit 120 in FIG. In this example, when the guide pattern GP is positioned within the rectangular frame of the auxiliary pattern AP, the display portion of the guide pattern GP on the measurement target S is positioned within the measurable range of the light receiving unit 120 in the Z direction. Become.

なお、上記の焦点調整の第1の補助機能の第3および第4の例における補助パターンAPおよびガイドパターンGPは、それぞれ図46(a)の補助パターンAPおよびガイドパターンGPである。   Note that the auxiliary pattern AP and the guide pattern GP in the third and fourth examples of the first auxiliary function of the focus adjustment described above are the auxiliary pattern AP and the guide pattern GP in FIG. 46A, respectively.

図46(b)の例においては、補助パターンAPは、横方向において互いに対向する2つの角括弧からなる。ガイドパターンGPは、補助パターンAPの寸法よりも小さい矩形部分と十字部分とが結合した形状を有する。補助パターンAPの2つの角括弧の横方向の間隔は、受光部120のZ方向の測定可能範囲を示す。この例においては、補助パターンAPの2つの角括弧の間にガイドパターンGPの矩形部分が位置するときに測定対象物S上のガイドパターンGPの表示部分が受光部120のZ方向の測定可能範囲内に位置することとなる。   In the example of FIG. 46B, the auxiliary pattern AP is composed of two square brackets facing each other in the horizontal direction. The guide pattern GP has a shape in which a rectangular portion smaller than the dimension of the auxiliary pattern AP and a cross portion are combined. The distance in the horizontal direction between the two square brackets of the auxiliary pattern AP indicates the measurable range of the light receiving unit 120 in the Z direction. In this example, when the rectangular portion of the guide pattern GP is located between two square brackets of the auxiliary pattern AP, the display portion of the guide pattern GP on the measurement object S is the measurable range in the Z direction of the light receiving unit 120. It will be located inside.

図46(c)の例においては、補助パターンAPは、上下方向に延びかつ横方向に並ぶ2つの棒状部を有する。ガイドパターンGPは、上下方向に延びかつ補助パターンAPの寸法よりも小さい棒形状を有する。補助パターンAPの2つの棒状部の横方向の間隔は、受光部120のZ方向の測定可能範囲を示す。この例においては、補助パターンAPの2つの棒状部の間にガイドパターンGPが位置するときに測定対象物S上のガイドパターンGPの表示部分が受光部120のZ方向の測定可能範囲内に位置することとなる。   In the example of FIG. 46C, the auxiliary pattern AP has two rod-like portions that extend in the vertical direction and are arranged in the horizontal direction. The guide pattern GP has a bar shape that extends in the vertical direction and is smaller than the dimension of the auxiliary pattern AP. The interval in the horizontal direction between the two rod-shaped portions of the auxiliary pattern AP indicates the measurable range of the light receiving unit 120 in the Z direction. In this example, when the guide pattern GP is positioned between the two rod-shaped portions of the auxiliary pattern AP, the display portion of the guide pattern GP on the measurement object S is positioned within the measurable range of the light receiving unit 120 in the Z direction. Will be.

(8)照明光による効果
上記の焦点調整の第1の補助機能の第1〜第5の例においては、照明光出力部130を通して図1の制御部300の照明光源320から測定対象物Sに照明光が照射される。以下、照明光による効果を測定対象物Sに照明光が照射されない例と照明光が照射される例とを比較して説明する。
(8) Effect of illumination light In the first to fifth examples of the first auxiliary function of the focus adjustment described above, the illumination light source 320 to the measurement object S from the illumination light source 320 of the control unit 300 in FIG. Illumination light is irradiated. Hereinafter, an effect of illumination light will be described by comparing an example in which the measurement object S is not irradiated with illumination light and an example in which illumination light is irradiated.

ここで、図2のパターン生成部112は、投光部110から出射されるべき光に明部分と暗部分とを形成することにより、ガイドパターンGPを生成する。ガイドパターンGPは、明部分および暗部分のいずれによっても形成することができる。明部分により形成されるガイドパターンGPを白ガイドパターンGPと呼び、暗部分により形成されるガイドパターンGPを黒ガイドパターンGPと呼ぶ。   Here, the pattern generation unit 112 in FIG. 2 generates the guide pattern GP by forming a bright part and a dark part in the light to be emitted from the light projecting unit 110. The guide pattern GP can be formed by either a bright part or a dark part. The guide pattern GP formed by the bright part is called a white guide pattern GP, and the guide pattern GP formed by the dark part is called a black guide pattern GP.

図47は、測定対象物Sに照明光が照射されない場合に表示部400に表示される測定対象物Sを示す図である。図47(a)は、参考例として、投光部110から均一な光(明部分のみからなる光)が照射された状態の測定対象物Sを示す。図47(a)に示すように、投光部110から測定対象物Sに均一な光を照射すると、測定対象物Sの一部に影が発生する。   FIG. 47 is a diagram illustrating the measurement target S displayed on the display unit 400 when the measurement target S is not irradiated with illumination light. FIG. 47A shows the measurement object S in a state where uniform light (light consisting only of a bright part) is irradiated from the light projecting unit 110 as a reference example. As shown in FIG. 47A, when uniform light is irradiated from the light projecting unit 110 to the measurement object S, a shadow is generated on a part of the measurement object S.

図47(b)は、投光部110により白ガイドパターンGPを有する光が照射された状態の測定対象物Sを示す。図47(b)に示すように、測定対象物Sに照明光が照射されない場合には、表示部400に白ガイドパターンGPが表示される。しかしながら、測定対象物Sは照明されないので、表示部400に測定対象物Sは表示されない。そのため、受光部120の焦点を調整することが難しい。   FIG. 47B shows the measuring object S in a state where the light having the white guide pattern GP is irradiated by the light projecting unit 110. As shown in FIG. 47B, when the measurement object S is not irradiated with illumination light, the white guide pattern GP is displayed on the display unit 400. However, since the measuring object S is not illuminated, the measuring object S is not displayed on the display unit 400. For this reason, it is difficult to adjust the focus of the light receiving unit 120.

図47(c)は、投光部110により黒ガイドパターンGPを有する光が照射された状態の測定対象物Sを示す。図47(c)に示すように、測定対象物Sに照明光が照射されない場合には、表示部400に黒ガイドパターンGPが表示される。また、投光部110からの光の明部分により測定対象物Sの一部が照明されるので、使用者は測定対象物Sの位置を認識することができる。しかしながら、測定対象物Sの一部に影が発生するので、黒ガイドパターンGPと影とが重なる場合には、影の中に黒ガイドパターンGPが埋もれることとなり、黒ガイドパターンGPの正確な位置を認識することが難しい。   FIG. 47C shows the measuring object S in a state where the light having the black guide pattern GP is irradiated by the light projecting unit 110. As shown in FIG. 47 (c), when the measurement object S is not irradiated with illumination light, the black guide pattern GP is displayed on the display unit 400. In addition, since a part of the measurement object S is illuminated by the bright part of the light from the light projecting unit 110, the user can recognize the position of the measurement object S. However, since a shadow is generated in a part of the measuring object S, when the black guide pattern GP and the shadow overlap, the black guide pattern GP is buried in the shadow, and the accurate position of the black guide pattern GP. It is difficult to recognize.

図48は、測定対象物Sに照明光が照射された場合に表示部400に表示される測定対象物Sを示す図である。図48(a)は、参考例として、照明光出力部130から照明光が照射された状態の測定対象物Sを示す。図48(a)に示すように、照明光出力部130から測定対象物Sに照明光が照射されると、測定対象物Sにほとんど影が発生しない。   FIG. 48 is a diagram illustrating the measurement target S displayed on the display unit 400 when the measurement target S is irradiated with illumination light. FIG. 48A shows the measurement object S in a state where illumination light is irradiated from the illumination light output unit 130 as a reference example. As shown in FIG. 48A, when the measurement object S is irradiated with illumination light from the illumination light output unit 130, almost no shadow is generated on the measurement object S.

図48(b)は、投光部110により白ガイドパターンGPを有する光が照射された状態の測定対象物Sを示す。図48(b)に示すように、測定対象物Sに適切な明るさに調整された照明光が照射された場合には、表示部400に測定対象物Sとともに白ガイドパターンGPが表示される。また、測定対象物Sにほとんど影が発生しないので、測定対象物Sおよび白ガイドパターンGPの位置を正確に認識することができる。   FIG. 48B shows the measuring object S in a state where the light having the white guide pattern GP is irradiated by the light projecting unit 110. As illustrated in FIG. 48B, when the measurement object S is irradiated with illumination light adjusted to an appropriate brightness, the white guide pattern GP is displayed on the display unit 400 together with the measurement object S. . In addition, since almost no shadow is generated on the measuring object S, the positions of the measuring object S and the white guide pattern GP can be accurately recognized.

図48(c)は、投光部110により黒ガイドパターンGPを有する光が照射された状態の測定対象物Sを示す。図48(c)に示すように、測定対象物Sに適切な明るさに調整された照明光が照射された場合には、測定対象物Sとともに表示部400に黒ガイドパターンGPが表示される。また、測定対象物Sにほとんど影が発生しないので、測定対象物Sおよび黒ガイドパターンGPの位置を正確に認識することができる。   FIG. 48 (c) shows the measurement object S in a state where light having the black guide pattern GP is irradiated by the light projecting unit 110. As shown in FIG. 48C, when the measurement object S is irradiated with illumination light adjusted to an appropriate brightness, the black guide pattern GP is displayed on the display unit 400 together with the measurement object S. . Further, since almost no shadow is generated on the measuring object S, the positions of the measuring object S and the black guide pattern GP can be accurately recognized.

このように、受光部120の光軸と略等しい角度から照明光が出射されるので、影の発生が抑制されつつ測定対象物Sが照明される。これにより、使用者は、測定対象物Sの画像ならびに補助パターンAPおよびガイドパターンGPを確実に認識することができる。その結果、測定対象物Sをより正確に受光部120の焦点に位置させることができる。   As described above, since the illumination light is emitted from an angle substantially equal to the optical axis of the light receiving unit 120, the measurement object S is illuminated while the generation of shadows is suppressed. Thereby, the user can surely recognize the image of the measuring object S, the auxiliary pattern AP, and the guide pattern GP. As a result, the measuring object S can be more accurately positioned at the focal point of the light receiving unit 120.

特に、表示部400上で使用者が受光部120の焦点を合わせたい測定対象物Sの部分を指定する場合において、図47(b)に示すように、測定対象物Sの画像が暗くて表示されない状態には、使用者は本来焦点を合わせたい部分を適切に指定することが難しくなる。そこで、照明光出力部130により照明光を測定対象物Sの全体に照明して画像を表示することにより、使用者が焦点を合わせたい部分を指定しやすくなる。   In particular, when the user designates the part of the measuring object S on the display unit 400 that the light receiving unit 120 is to be focused on, the image of the measuring object S is displayed dark as shown in FIG. In a state where it is not performed, it becomes difficult for the user to appropriately designate a portion which is originally desired to be focused. Therefore, the illumination light output unit 130 illuminates the entire measurement object S with the illumination light to display an image, so that the user can easily specify a portion to be focused.

焦点調整の第1の補助機能の第1〜第4の例においては、測定対象物SにガイドパターンGPを有する測定光が照射されるときの照明光の強度は、測定対象物SにガイドパターンGPを有する測定光が照射されないときの照明光の強度よりも小さくなるように設定される。   In the first to fourth examples of the first auxiliary function of the focus adjustment, the intensity of the illumination light when the measurement object S is irradiated with the measurement light having the guide pattern GP is the guide pattern on the measurement object S. It is set to be smaller than the intensity of the illumination light when the measurement light having GP is not irradiated.

この構成によれば、照明光およびガイドパターンGPを有する測定光が測定対象物Sに同時に照射された場合でも、照明光の強度が小さいので、測定対象物Sの表面上に投影されたガイドパターンGPを認識可能となる。これにより、使用者は、表示部400に表示される測定対象物Sの画像およびガイドパターンGPを確実に認識することができる。その結果、測定対象物Sの表面を確実に受光部120の焦点に位置させることができる。   According to this configuration, even when the measurement light having the illumination light and the guide pattern GP is simultaneously irradiated onto the measurement object S, the intensity of the illumination light is small, so that the guide pattern projected onto the surface of the measurement object S GP can be recognized. Thereby, the user can reliably recognize the image of the measuring object S and the guide pattern GP displayed on the display unit 400. As a result, the surface of the measuring object S can be reliably positioned at the focal point of the light receiving unit 120.

同様に、焦点調整の第1の補助機能の第5の例においては、測定対象物SにガイドパターンGPおよび補助パターンAPを有する測定光が照射されるときの照明光の強度は、測定対象物SにガイドパターンGPおよび補助パターンAPを有する測定光が照射されないときの照明光の強度よりも小さくなるように設定される。   Similarly, in the fifth example of the first auxiliary function for focus adjustment, the intensity of illumination light when the measurement object S is irradiated with the measurement light having the guide pattern GP and the auxiliary pattern AP is the measurement object. S is set to be smaller than the intensity of the illumination light when the measurement light having the guide pattern GP and the auxiliary pattern AP is not irradiated on S.

この構成によれば、照明光ならびにガイドパターンGPおよび補助パターンAPを有する測定光が測定対象物Sに同時に照射された場合でも、照明光の強度が小さいので、測定対象物Sの表面上に投影されたガイドパターンGPおよび補助パターンAPを認識可能となる。これにより、使用者は、表示部400に表示される測定対象物Sの画像ならびにガイドパターンGPおよび補助パターンAPを確実に認識することができる。その結果、測定対象物Sの表面を確実に受光部120の焦点に位置させることができる。   According to this configuration, even when the measurement light having the illumination light and the guide pattern GP and the auxiliary pattern AP is simultaneously irradiated onto the measurement object S, the intensity of the illumination light is small, and thus the light is projected onto the surface of the measurement object S. It is possible to recognize the guide pattern GP and the auxiliary pattern AP. Thereby, the user can reliably recognize the image of the measuring object S displayed on the display unit 400, the guide pattern GP, and the auxiliary pattern AP. As a result, the surface of the measuring object S can be reliably positioned at the focal point of the light receiving unit 120.

(9)効果
本実施の形態に係る形状測定装置500においては、表示部400に表示されるかまたは他方の投光部110Bにより測定対象物Sの表面上に投影された補助パターンAPと、一方の投光部110Aにより測定対象物Sの表面上に投影されたガイドパターンGPとが重なるように、ステージ140がZ方向に移動される。これにより、使用者は、測定対象物Sの表面を受光部120の焦点に位置させることができる。その結果、測定対象物Sの形状測定処理において測定対象物Sを正確かつ容易に受光部120の焦点に位置させることができる。
(9) Effect In the shape measuring apparatus 500 according to the present embodiment, the auxiliary pattern AP displayed on the display unit 400 or projected on the surface of the measuring object S by the other light projecting unit 110B, and one The stage 140 is moved in the Z direction so as to overlap the guide pattern GP projected on the surface of the measurement object S by the light projecting unit 110A. Thereby, the user can position the surface of the measuring object S at the focal point of the light receiving unit 120. As a result, the measuring object S can be accurately and easily positioned at the focal point of the light receiving unit 120 in the shape measuring process of the measuring object S.

特に、表示部400上で使用者が焦点を合わせたい測定対象物Sの部分を指定し、指定された部分に補助パターンAPを表示または投影することにより、使用者が最も精度よく測定を行いたい部分に焦点を合わせることができる。この際、使用者が焦点を合わせたい測定対象物Sの複数の部分を指定可能に形状測定装置500を構成することも可能である。   In particular, the user wants to perform the measurement with the highest accuracy by designating the portion of the measuring object S that the user wants to focus on the display unit 400 and displaying or projecting the auxiliary pattern AP on the designated portion. You can focus on the part. At this time, it is also possible to configure the shape measuring apparatus 500 so that the user can specify a plurality of portions of the measuring object S to be focused.

この場合、使用者はステージ140を移動させながら指定された測定対象物Sの複数の部分にバランスよく焦点が合うようにそれぞれの部分に対応した補助パターンAPおよびガイドパターンGPを視認しながら調整することができる。また、補助パターンAPにより測定可能な範囲が表示されることにより、使用者は指定された全ての部分が受光部120のZ方向の測定可能範囲に含まれているか否かを確認することが可能である。   In this case, the user adjusts while visually recognizing the auxiliary pattern AP and the guide pattern GP corresponding to each portion so that the plurality of portions of the designated measuring object S are focused in a balanced manner while moving the stage 140. be able to. In addition, since the measurable range is displayed by the auxiliary pattern AP, the user can confirm whether or not all the specified parts are included in the measurable range in the Z direction of the light receiving unit 120. It is.

なお、ステージ140の移動は、使用者がステージ操作部145を操作することにより行われてもよいし、CPU210がステージ駆動部146を駆動することにより自動的に行われてもよい。   The stage 140 may be moved by the user operating the stage operation unit 145, or may be automatically performed by the CPU 210 driving the stage drive unit 146.

[7]焦点調整の第2の補助機能
(1)焦点調整の第2の補助機能の第1の例
以下、焦点調整の第1の補助機能とは異なる焦点調整の第2の補助機能について説明する。図49は、焦点調整の第2の補助機能の第1の例を説明するための図である。図49(a),(b)の例においては、図1のステージ140に互いに異なる高さを有する複数の測定対象物SA,SB,SC,SDが載置される。表示部400には、図1の受光部120により出力される受光信号に基づいて測定対象物SA〜SDの静止画像またはライブ画像が表示される。
[7] Second Auxiliary Function for Focus Adjustment (1) First Example of Second Auxiliary Function for Focus Adjustment Hereinafter, a second auxiliary function for focus adjustment different from the first auxiliary function for focus adjustment will be described. To do. FIG. 49 is a diagram for describing a first example of the second auxiliary function of focus adjustment. In the example of FIGS. 49A and 49B, a plurality of measurement objects SA, SB, SC, and SD having different heights are placed on the stage 140 of FIG. On the display unit 400, a still image or a live image of the measurement objects SA to SD is displayed based on the light reception signal output from the light receiving unit 120 of FIG.

図49(a)に示すように、使用者は図1のPC200の操作部250を操作して表示部400の画像の任意の位置にカーソルCを合わせることができる。図49(a)の例においては、表示部400に表示された測定対象物SA上の位置にカーソルCが合わせられる。この状態で、その位置を選択することにより、図49(b)に示すように、表示部400において、使用者はカーソルCで指定した測定対象物SA上の位置にマーカMを表示させることができる。   As shown in FIG. 49A, the user can move the cursor C to an arbitrary position of the image on the display unit 400 by operating the operation unit 250 of the PC 200 in FIG. In the example of FIG. 49A, the cursor C is placed at a position on the measurement object SA displayed on the display unit 400. By selecting the position in this state, the user can display the marker M at the position on the measuring object SA designated by the cursor C on the display unit 400 as shown in FIG. it can.

マーカMが表示された後、少なくともマーカMが表示された位置に対応する測定対象物SAの部分およびその付近の部分に投光部110から測定光が照射される。これにより、三角測距方式によりマーカMが表示された位置に対応する測定対象物SAの部分の高さが算出される。   After the marker M is displayed, at least the portion of the measurement object SA corresponding to the position where the marker M is displayed and the portion in the vicinity thereof are irradiated with the measurement light from the light projecting unit 110. Thereby, the height of the part of the measuring object SA corresponding to the position where the marker M is displayed by the triangulation method is calculated.

ただし、マーカMが表示された画像上の位置に対応する測定対象物Sの部分の高さは測定光の照射前には分からないので、測定光をその部分のみに正確に照射することはできない。したがって、その部分に受光部120の焦点が合っているとした場合に、その部分を中心とする所定範囲(例えば受光部120の被写界深度の範囲)に対応する広がりを有する測定光が測定対象物Sに照射される。これにより、マーカMが表示された位置に対応する測定対象物Sの部分に測定光を照射し、その部分の高さを算出することができる。   However, since the height of the part of the measuring object S corresponding to the position on the image on which the marker M is displayed is not known before the measurement light is irradiated, it is not possible to accurately irradiate only the part with the measurement light. . Therefore, when the light receiving unit 120 is focused on the portion, measurement light having a spread corresponding to a predetermined range (for example, a range of the depth of field of the light receiving unit 120) centered on the portion is measured. The object S is irradiated. Thereby, the portion of the measuring object S corresponding to the position where the marker M is displayed can be irradiated with the measuring light, and the height of the portion can be calculated.

マーカMが表示された位置に対応する測定対象物SAの部分が受光部120のZ方向の測定可能範囲にない場合は、高さを算出することができなかったことを示すエラーメッセージが表示部400に表示される。これにより、使用者は、指定した位置が受光部120のZ方向の測定可能範囲にないことを容易に認識することができる。   If the portion of the measuring object SA corresponding to the position where the marker M is displayed is not within the measurable range of the light receiving unit 120 in the Z direction, an error message indicating that the height could not be calculated is displayed on the display unit. 400. Thereby, the user can easily recognize that the designated position is not within the measurable range of the light receiving unit 120 in the Z direction.

形状測定処理の実行の際には、算出された高さに基づいてマーカMが表示された位置に対応する測定対象物Sの部分に受光部120の焦点が合うように、図2のステージ140のZステージ142が移動される。Zステージ142の移動は、図1のCPU210が図1のステージ駆動部146を駆動することにより、自動的に行われてもよい(オートフォーカス機能)。あるいは、Zステージ142の移動は、使用者が図1のステージ操作部145を操作することにより、手動で行われてもよい。この場合、CPU210は、Zステージ142を移動させる方向および移動させる量を数値的または視覚的に表示部400に表示してもよい。これにより、使用者は、測定対象物SAの指定した部分に受光部120の焦点を合わせることができる。   When performing the shape measurement process, the stage 140 in FIG. 2 is set so that the light receiving unit 120 is focused on the portion of the measurement object S corresponding to the position where the marker M is displayed based on the calculated height. The Z stage 142 is moved. The movement of the Z stage 142 may be automatically performed by the CPU 210 in FIG. 1 driving the stage driving unit 146 in FIG. 1 (autofocus function). Alternatively, the Z stage 142 may be moved manually by the user operating the stage operation unit 145 of FIG. In this case, the CPU 210 may display the direction and amount of movement of the Z stage 142 on the display unit 400 numerically or visually. Thereby, the user can focus the light receiving unit 120 on the designated portion of the measurement object SA.

(2)焦点調整の第2の補助機能の第2の例
図50および図51は、焦点調整の第2の補助機能の第2の例を説明するための図である。図50および図51の例においては、図1のステージ140に一の測定対象物Sが載置される。図50および図51の測定対象物Sは複数の上面を有し、各上面の高さはそれぞれ異なる。表示部400には、図1の受光部120により出力される受光信号に基づいて測定対象物Sの静止画像またはライブ画像が表示される。
(2) Second Example of Focus Adjustment Second Auxiliary Function FIGS. 50 and 51 are diagrams for explaining a second example of the focus adjustment second auxiliary function. 50 and 51, one measuring object S is placed on the stage 140 in FIG. 50 and 51 has a plurality of upper surfaces, and the heights of the upper surfaces are different from each other. On the display unit 400, a still image or a live image of the measuring object S is displayed based on the light reception signal output from the light receiving unit 120 of FIG.

焦点調整の第2の補助機能の第2の例においては、焦点調整の第2の補助機能の第1の例と同様に、使用者は図1のPC200の操作部250を操作して表示部400の画像の任意の位置にカーソルCを合わせることができる。また、この状態でその位置を選択することにより、使用者はカーソルCで指定した位置にマーカMを表示させることができる。   In the second example of the second auxiliary function for focus adjustment, the user operates the operation unit 250 of the PC 200 in FIG. 1 to display the display unit, as in the first example of the second auxiliary function for focus adjustment. The cursor C can be positioned at an arbitrary position in the 400 images. In addition, by selecting the position in this state, the user can display the marker M at the position specified by the cursor C.

ここで、使用者は、複数の任意の位置の各々にカーソルCを合わせた後にマーカMを表示させることを順次繰り返すことにより、表示部400において、カーソルCで指定した複数の位置にそれぞれマーカMを表示させることができる。また、指定した位置にマーカMが表示されるごとに、その位置に対応する測定対象物Sの部分の高さが算出される。   Here, the user repeatedly displays the marker M after placing the cursor C at each of a plurality of arbitrary positions, whereby the marker M is respectively displayed at a plurality of positions designated by the cursor C on the display unit 400. Can be displayed. Each time the marker M is displayed at the designated position, the height of the portion of the measuring object S corresponding to the position is calculated.

本例においては、図50(a)に示すように、使用者は表示部400に表示された測定対象物S上の位置にカーソルCを合わせる。この状態で、その位置を選択することにより、図50(b)に示すように、表示部400において、使用者はカーソルCで指定した測定対象物S上の位置に1番目のマーカM1を表示させることができる。   In this example, as shown in FIG. 50A, the user moves the cursor C to the position on the measurement object S displayed on the display unit 400. By selecting the position in this state, the user displays the first marker M1 at the position on the measuring object S designated by the cursor C on the display unit 400 as shown in FIG. Can be made.

マーカM1が表示された後、少なくともマーカM1が表示された位置に対応する測定対象物Sの部分およびその付近の部分に投光部110から測定光が照射される。これにより、三角測距方式によりマーカM1が表示された位置に対応する測定対象物Sの部分の高さが算出される。マーカM1が表示された位置に対応する測定対象物Sの部分がZ方向の測定可能範囲にない場合は、高さを算出することができなかったことを示すエラーメッセージが表示部400に表示される。   After the marker M1 is displayed, the measurement light is irradiated from the light projecting unit 110 to at least the part of the measurement object S corresponding to the position where the marker M1 is displayed and the vicinity thereof. Thereby, the height of the part of the measuring object S corresponding to the position where the marker M1 is displayed is calculated by the triangulation method. If the portion of the measuring object S corresponding to the position where the marker M1 is displayed is not within the measurable range in the Z direction, an error message indicating that the height could not be calculated is displayed on the display unit 400. The

次に、図50(a)に示すように、使用者は表示部400に表示された測定対象物S上の他の位置にカーソルCを合わせる。この状態で、その位置を選択することにより、図50(b)に示すように、表示部400において、使用者はカーソルCで指定した測定対象物S上の位置に2番目のマーカM2を表示させることができる。   Next, as shown in FIG. 50A, the user moves the cursor C to another position on the measurement object S displayed on the display unit 400. By selecting the position in this state, the user displays the second marker M2 at the position on the measuring object S designated by the cursor C on the display unit 400 as shown in FIG. Can be made.

マーカM2が表示された後、少なくともマーカM2が表示された位置に対応する測定対象物Sの部分およびその付近の部分に投光部110から測定光が照射される。これにより、三角測距方式によりマーカM2が表示された位置に対応する測定対象物Sの部分の高さが算出される。マーカM2が表示された位置に対応する測定対象物Sの部分がZ方向の測定可能範囲にない場合は、高さを算出することができなかったことを示すエラーメッセージが表示部400に表示される。   After the marker M2 is displayed, the measurement light is irradiated from the light projecting unit 110 to at least the portion of the measurement object S corresponding to the position where the marker M2 is displayed and the vicinity thereof. Thereby, the height of the part of the measuring object S corresponding to the position where the marker M2 is displayed by the triangulation method is calculated. When the portion of the measuring object S corresponding to the position where the marker M2 is displayed is not within the measurable range in the Z direction, an error message indicating that the height could not be calculated is displayed on the display unit 400. The

続いて、図50(a)に示すように、使用者は表示部400に表示された測定対象物S上のさらに他の位置にカーソルCを合わせる。この状態で、その位置を選択することにより、図50(b)に示すように、表示部400において、使用者はカーソルCで指定した測定対象物S上の位置に3番目のマーカM3を表示させることができる。   Subsequently, as shown in FIG. 50A, the user moves the cursor C to another position on the measurement object S displayed on the display unit 400. By selecting the position in this state, the user displays the third marker M3 at the position on the measuring object S designated by the cursor C on the display unit 400 as shown in FIG. Can be made.

マーカM3が表示された後、少なくともマーカM3が表示された位置に対応する測定対象物Sの部分およびその付近の部分に投光部110から測定光が照射される。これにより、三角測距方式によりマーカM3が表示された位置に対応する測定対象物Sの部分の高さが算出される。マーカM3が表示された位置に対応する測定対象物Sの部分がZ方向の測定可能範囲にない場合は、高さを算出することができなかったことを示すエラーメッセージが表示部400に表示される。   After the marker M3 is displayed, the measurement light is irradiated from the light projecting unit 110 to at least the part of the measurement object S corresponding to the position where the marker M3 is displayed and the vicinity thereof. Thereby, the height of the part of the measuring object S corresponding to the position where the marker M3 is displayed by the triangulation method is calculated. If the portion of the measuring object S corresponding to the position where the marker M3 is displayed is not within the measurable range in the Z direction, an error message indicating that the height could not be calculated is displayed on the display unit 400. The

なお、使用者は、表示部400に表示された測定対象物S上の複数の位置にカーソルCを合わせる場合において、測定対象物Sの複数の部分のうち、最も高い位置にある部分と最も低い位置にある部分とを含むようにカーソルCを合わせることが好ましい。また、複数のマーカM1〜M3に対応する測定対象物Sの複数の部分間のZ方向の距離が計測されてもよい。   Note that when the user places the cursor C at a plurality of positions on the measurement object S displayed on the display unit 400, among the plurality of parts of the measurement object S, the user has the lowest position and the lowest position. It is preferable to align the cursor C so as to include the portion at the position. Moreover, the distance of the Z direction between several parts of the measuring object S corresponding to several markers M1-M3 may be measured.

形状測定処理の実行の際には、図51に示すように、算出された複数の高さに基づいてマーカM1〜M3に対応する測定対象物Sの複数の部分が受光部120の焦点付近に分布するように、図2のステージ140のZステージ142が移動される。本例において、表示部400の画像上に表示されたマーカM1〜M3に対応する測定対象物Sの複数の部分が点線の丸印で示される。   When performing the shape measurement process, as shown in FIG. 51, a plurality of portions of the measuring object S corresponding to the markers M1 to M3 are located near the focus of the light receiving unit 120 based on the calculated heights. The Z stage 142 of the stage 140 in FIG. 2 is moved so as to be distributed. In this example, a plurality of portions of the measuring object S corresponding to the markers M1 to M3 displayed on the image of the display unit 400 are indicated by dotted circles.

このように、焦点調整の第2の補助機能の第2の例によれば、使用者が表示部400に表示された測定対象物Sの画像上の任意の複数の位置を指定することにより、指定された複数の位置にそれぞれ対応する測定対象物Sの複数の部分を受光部120の被写界深度の範囲内に位置させることができる。これにより、測定対象物Sの形状測定処理において、測定対象物Sの任意の複数の部分を正確かつ容易に受光部120の被写界深度の範囲内に位置させることができる。   Thus, according to the second example of the second auxiliary function of the focus adjustment, the user designates a plurality of positions on the image of the measuring object S displayed on the display unit 400, A plurality of portions of the measuring object S respectively corresponding to a plurality of designated positions can be positioned within the range of the depth of field of the light receiving unit 120. Thereby, in the shape measurement process of the measuring object S, arbitrary plural portions of the measuring object S can be accurately and easily positioned within the range of the depth of field of the light receiving unit 120.

焦点調整の第2の補助機能の第1の例と同様に、Zステージ142の移動は、自動的に行われてもよいし、使用者により手動で行われてもよい。これにより、使用者は、測定対象物Sの所望の複数の部分に受光部120の焦点を合わせることができる。Zステージ142の移動が使用者により手動で行われた場合には、測定対象物Sの形状測定処理を実行する前に、測定したい部分の高さを再度算出し、測定対象物Sが形状測定処理に適した位置に載置されているか否かを確認してもよい。   As in the first example of the second auxiliary function of focus adjustment, the Z stage 142 may be moved automatically or manually by the user. Thereby, the user can focus the light receiving unit 120 on a plurality of desired portions of the measuring object S. When the movement of the Z stage 142 is manually performed by the user, the height of the part to be measured is calculated again before executing the shape measurement process of the measurement object S, and the measurement object S measures the shape. You may confirm whether it is mounted in the position suitable for a process.

(3)焦点調整の第2の補助機能の第3の例
図52および図53は、焦点調整の第2の補助機能の第3の例を説明するための図である。図52および図53の例においては、図1のステージ140に互いに異なる高さを有する複数の測定対象物SA,SB,SC,SDが載置される。表示部400には、図1の受光部120により出力される受光信号に基づいて測定対象物SA〜SDの静止画像またはライブ画像が表示される。
(3) Third Example of Second Auxiliary Function for Focus Adjustment FIGS. 52 and 53 are diagrams for describing a third example of the second auxiliary function for focus adjustment. 52 and 53, a plurality of measurement objects SA, SB, SC, SD having different heights are placed on the stage 140 in FIG. On the display unit 400, a still image or a live image of the measurement objects SA to SD is displayed based on the light reception signal output from the light receiving unit 120 of FIG.

焦点調整の第2の補助機能の第3の例においては、焦点調整の第2の補助機能の第2の例と同様に、使用者は図1のPC200の操作部250を操作して表示部400の画像において複数の指定した位置にそれぞれマーカMを表示させることができる。また、指定した位置にマーカMが表示されるごとに、その位置に対応する測定対象物Sの部分の高さが算出される。   In the third example of the second auxiliary function for focus adjustment, as in the second example of the second auxiliary function for focus adjustment, the user operates the operation unit 250 of the PC 200 in FIG. Markers M can be displayed at a plurality of designated positions in 400 images. Each time the marker M is displayed at the designated position, the height of the portion of the measuring object S corresponding to the position is calculated.

本例においては、図52(a)に示すように、使用者は表示部400に表示された測定対象物SA上の位置にカーソルCを合わせる。この状態で、その位置を選択することにより、図52(b)に示すように、表示部400において、使用者はカーソルCで指定した測定対象物SA上の位置にマーカMAを表示させることができる。   In this example, as shown in FIG. 52A, the user moves the cursor C to the position on the measurement object SA displayed on the display unit 400. When the position is selected in this state, the user can display the marker MA at the position on the measurement object SA designated by the cursor C on the display unit 400 as shown in FIG. it can.

マーカMAが表示された後、少なくともマーカMAが表示された位置に対応する測定対象物SAの部分およびその付近の部分に投光部110から測定光が照射される。これにより、三角測距方式によりマーカMAが表示された位置に対応する測定対象物SAの部分の高さが算出される。マーカMAが表示された位置に対応する測定対象物SAの部分がZ方向の測定可能範囲にない場合は、高さを算出することができなかったことを示すエラーメッセージが表示部400に表示される。   After the marker MA is displayed, at least the portion of the measurement object SA corresponding to the position where the marker MA is displayed and the portion in the vicinity thereof are irradiated with the measurement light from the light projecting unit 110. Thereby, the height of the part of the measuring object SA corresponding to the position where the marker MA is displayed is calculated by the triangulation method. When the portion of the measuring object SA corresponding to the position where the marker MA is displayed is not within the measurable range in the Z direction, an error message indicating that the height could not be calculated is displayed on the display unit 400. The

次に、図52(a)に示すように、使用者は表示部400に表示された測定対象物SB上の位置にカーソルCを合わせる。この状態で、その位置を選択することにより、図52(b)に示すように、表示部400において、使用者はカーソルCで指定した測定対象物SB上の位置にマーカMBを表示させることができる。   Next, as shown in FIG. 52A, the user moves the cursor C to a position on the measurement object SB displayed on the display unit 400. In this state, by selecting the position, the user can display the marker MB at the position on the measurement object SB designated by the cursor C on the display unit 400 as shown in FIG. it can.

マーカMBが表示された後、少なくともマーカMBが表示された位置に対応する測定対象物SBの部分およびその付近の部分に投光部110から測定光が照射される。これにより、三角測距方式によりマーカMBが表示された位置に対応する測定対象物SBの部分の高さが算出される。マーカMBが表示された位置に対応する測定対象物SBの部分がZ方向の測定可能範囲にない場合は、高さを算出することができなかったことを示すエラーメッセージが表示部400に表示される。   After the marker MB is displayed, at least the portion of the measurement object SB corresponding to the position where the marker MB is displayed and the portion in the vicinity thereof are irradiated with the measurement light from the light projecting unit 110. Thereby, the height of the part of the measuring object SB corresponding to the position where the marker MB is displayed by the triangulation method is calculated. If the portion of the measurement object SB corresponding to the position where the marker MB is displayed is not within the measurable range in the Z direction, an error message indicating that the height could not be calculated is displayed on the display unit 400. The

続いて、図52(a)に示すように、使用者は表示部400に表示された測定対象物SC上の位置にカーソルCを合わせる。この状態で、その位置を選択することにより、図52(b)に示すように、表示部400において、使用者はカーソルCで指定した測定対象物SC上の位置にマーカMCを表示させることができる。   Subsequently, as shown in FIG. 52A, the user moves the cursor C to the position on the measurement object SC displayed on the display unit 400. By selecting the position in this state, the user can display the marker MC at the position on the measuring object SC designated by the cursor C on the display unit 400 as shown in FIG. it can.

マーカMCが表示された後、少なくともマーカMCが表示された位置に対応する測定対象物SCの部分およびその付近の部分に投光部110から測定光が照射される。これにより、三角測距方式によりマーカMCが表示された位置に対応する測定対象物SCの部分の高さが算出される。マーカMCが表示された位置に対応する測定対象物SCの部分がZ方向の測定可能範囲にない場合は、高さを算出することができなかったことを示すエラーメッセージが表示部400に表示される。   After the marker MC is displayed, at least the portion of the measuring object SC corresponding to the position where the marker MC is displayed and the portion in the vicinity thereof are irradiated with the measuring light from the light projecting unit 110. Thereby, the height of the part of the measuring object SC corresponding to the position where the marker MC is displayed by the triangulation method is calculated. If the portion of the measuring object SC corresponding to the position where the marker MC is displayed is not within the measurable range in the Z direction, an error message indicating that the height could not be calculated is displayed on the display unit 400. The

その後、図52(a)に示すように、使用者は表示部400に表示された測定対象物SD上の位置にカーソルCを合わせる。この状態で、その位置を選択することにより、図52(b)に示すように、表示部400において、使用者はカーソルCで指定した測定対象物SD上の位置にマーカMDを表示させることができる。   Thereafter, as shown in FIG. 52A, the user moves the cursor C to the position on the measurement object SD displayed on the display unit 400. By selecting the position in this state, the user can display the marker MD at the position on the measuring object SD designated by the cursor C on the display unit 400 as shown in FIG. it can.

マーカMDが表示された後、少なくともマーカMDが表示された位置に対応する測定対象物SDの部分およびその付近の部分に投光部110から測定光が照射される。これにより、三角測距方式によりマーカMDが表示された位置に対応する測定対象物SDの部分の高さが算出される。マーカMDが表示された位置に対応する測定対象物SDの部分がZ方向の測定可能範囲にない場合は、高さを算出することができなかったことを示すエラーメッセージが表示部400に表示される。   After the marker MD is displayed, the measurement light is irradiated from the light projecting unit 110 to at least the portion of the measurement object SD corresponding to the position where the marker MD is displayed and the vicinity thereof. Thereby, the height of the part of the measuring object SD corresponding to the position where the marker MD is displayed by the triangulation method is calculated. If the portion of the measurement object SD corresponding to the position where the marker MD is displayed is not within the measurable range in the Z direction, an error message indicating that the height could not be calculated is displayed on the display unit 400. The

なお、使用者は、表示部400に表示された複数の測定対象物SA〜SD上の位置にそれぞれカーソルCを合わせる場合において、複数の測定対象物SA〜SDの部分のうち、最も高い位置にある部分から最も低い位置にある部分までの間の複数の部分が略等間隔になるようにカーソルCを合わせることが好ましい。また、複数のマーカMA〜MDに対応する測定対象物SA〜SDの部分間のZ方向の距離が計測されてもよい。   In addition, when the user places the cursor C on the positions on the plurality of measurement objects SA to SD displayed on the display unit 400, the user places the highest position among the plurality of measurement objects SA to SD. It is preferable to align the cursor C so that a plurality of portions between a certain portion and a portion at the lowest position are at substantially equal intervals. Moreover, the distance of the Z direction between the parts of measurement object SA-SD corresponding to several marker MA-MD may be measured.

形状測定処理の実行の際には、図53(a)に示すように、算出された複数の部分のうち最も高い位置にある測定対象物SAの部分が受光部120の焦点に合うように、ステージ140のZステージ142が移動される。本例において、表示部400の画像上に表示されたマーカMA〜MDに対応する測定対象物SA〜SDの部分が点線の丸印で示される。この状態で測定対象物SAの形状測定が行われる。測定対象物SAの形状測定が行われた後、図53(b)に示すように、算出された複数の部分のうち2番目に高い位置にある測定対象物SDの部分が受光部120の焦点に合うように、ステージ140のZステージ142が移動される。この状態で測定対象物SDの形状測定が行われる。   When performing the shape measurement process, as shown in FIG. 53A, the portion of the measurement object SA at the highest position among the plurality of calculated portions is in focus with the light receiving unit 120. The Z stage 142 of the stage 140 is moved. In this example, the portions of the measurement objects SA to SD corresponding to the markers MA to MD displayed on the image of the display unit 400 are indicated by dotted circles. In this state, the shape of the measurement object SA is measured. After the shape measurement of the measurement object SA is performed, the portion of the measurement object SD at the second highest position among the calculated plurality of portions is the focus of the light receiving unit 120 as shown in FIG. The Z stage 142 of the stage 140 is moved so that. In this state, the shape of the measurement object SD is measured.

測定対象物SDの形状測定が行われた後、図53(c)に示すように、算出された複数の部分のうち3番目に高い位置にある測定対象物SBの部分が受光部120の焦点に合うように、ステージ140のZステージ142が移動される。この状態で測定対象物SBの形状測定が行われる。測定対象物SBの形状測定が行われた後、図53(d)に示すように、算出された複数の部分のうち最も低い位置にある測定対象物SCの部分が受光部120の焦点に合うように、ステージ140のZステージ142が移動される。この状態で測定対象物SCの形状測定が行われる。   After the shape measurement of the measurement object SD is performed, the portion of the measurement object SB at the third highest position among the plurality of calculated portions is the focus of the light receiving unit 120 as shown in FIG. 53 (c). The Z stage 142 of the stage 140 is moved so that. In this state, the shape of the measurement object SB is measured. After the shape measurement of the measurement object SB is performed, as shown in FIG. 53 (d), the portion of the measurement object SC at the lowest position among the plurality of calculated portions is in focus with the light receiving unit 120. As described above, the Z stage 142 of the stage 140 is moved. In this state, the shape of the measuring object SC is measured.

測定対象物SA〜SDの形状測定が終了した後、測定対象物SA〜SDの形状を示す形状データが合成される。焦点調整の第2の補助機能の第1の例と同様に、Zステージ142の移動は、自動的に行われてもよいし、使用者により手動で行われてもよい。これにより、指定した最も高い位置にある部分から指定した最も低い位置にある部分までの距離がZ方向の測定可能範囲を超える場合であっても、使用者は、複数の測定対象物SA〜SDの指定した部分の各々に受光部120の焦点を合わせることができる。   After the shape measurement of the measurement objects SA to SD is completed, shape data indicating the shapes of the measurement objects SA to SD is synthesized. As in the first example of the second auxiliary function of focus adjustment, the Z stage 142 may be moved automatically or manually by the user. Thereby, even when the distance from the designated portion at the highest position to the designated portion at the lowest position exceeds the measurable range in the Z direction, the user can make a plurality of measurement objects SA to SD. The light receiving unit 120 can be focused on each of the designated portions.

このように、焦点調整の第2の補助機能の第3の例によれば、使用者が表示部400に表示された測定対象物Sの画像上の任意の複数の位置を指定することにより、指定された複数の位置にそれぞれ対応する測定対象物Sの複数の部分の各々が受光部120の焦点に位置する状態で測定対象物Sに光を照射することができる。これにより、測定対象物Sの形状測定処理において、測定対象物Sの任意の複数の部分の各々を正確かつ容易に受光部120の焦点に位置させることができる。   Thus, according to the third example of the second auxiliary function of focus adjustment, the user designates a plurality of arbitrary positions on the image of the measuring object S displayed on the display unit 400, The measurement object S can be irradiated with light in a state where each of the plurality of portions of the measurement object S respectively corresponding to the designated plurality of positions is located at the focal point of the light receiving unit 120. Thereby, in the shape measurement process of the measuring object S, each of a plurality of arbitrary portions of the measuring object S can be accurately and easily positioned at the focal point of the light receiving unit 120.

上記の焦点調整の第2の補助機能の第1〜第3の例において、マーカMが表示された位置に対応する測定対象物Sの部分がZ方向の測定可能範囲にない場合、図1のCPU210は、マーカMが表示される位置を変更することにより変更後の位置に対応する測定対象物Sの部分をZ方向の測定可能範囲内に位置させてもよい。これにより、変更後のマーカMの位置またはその付近の位置に対応する測定対象物Sの部分に受光部120の焦点を正確かつ容易に合わせることができる。また、形状測定処理において、変更後のマーカMの位置に基づいて測定対象物Sの形状を測定することができる。   In the first to third examples of the second auxiliary function of the focus adjustment described above, when the portion of the measurement object S corresponding to the position where the marker M is displayed is not in the measurable range in the Z direction, FIG. The CPU 210 may position the portion of the measuring object S corresponding to the changed position by changing the position where the marker M is displayed within the measurable range in the Z direction. Thereby, the focus of the light receiving unit 120 can be accurately and easily focused on the portion of the measurement object S corresponding to the position of the marker M after the change or a position in the vicinity thereof. In the shape measurement process, the shape of the measuring object S can be measured based on the position of the marker M after the change.

焦点調整の第2の補助機能の第2および第3の例においては、使用者が表示部400上で焦点を合わせたい位置を指定し、指定された位置に対応する測定対象物Sの部分に受光部120の焦点を合わせるように、Zステージ142が制御される。指定された位置に対応する測定対象物Sの部分に受光部120の焦点を合わせるためには、その部分の高さを知る必要があるので、その部分に測定光を照射して高さを算出する。   In the second and third examples of the second auxiliary function of the focus adjustment, the user designates a position on the display unit 400 to be focused, and the measurement object S corresponding to the designated position is designated. The Z stage 142 is controlled so that the light receiving unit 120 is focused. In order to focus the light receiving unit 120 on the portion of the measuring object S corresponding to the specified position, it is necessary to know the height of the portion, and thus the height is calculated by irradiating the portion with measurement light. To do.

しかしながら、指定された位置に対応する測定対象物Sの部分に測定光を正確に照射することは難しい。これは、測定対象物Sの高さによって、測定光がX方向にずれるためである。したがって、指定された位置に対応する測定対象物Sの部分に測定光を正確に照射するためには、その部分の高さが必要になる。そこで、本例では、指定された位置に対応する測定対象物Sの部分の高さが少なくとも算出されるように、X方向に所定の幅を有する測定光が測定対象物Sに照射される。なお、X方向における測定対象物Sの全幅にわたって測定光が照射されてもよい。   However, it is difficult to accurately irradiate the portion of the measuring object S corresponding to the designated position with the measuring light. This is because the measuring light is shifted in the X direction depending on the height of the measuring object S. Therefore, in order to accurately irradiate the portion of the measuring object S corresponding to the designated position with the measuring light, the height of that portion is required. Therefore, in this example, the measurement object S is irradiated with measurement light having a predetermined width in the X direction so that at least the height of the portion of the measurement object S corresponding to the designated position is calculated. Note that the measurement light may be irradiated over the entire width of the measurement object S in the X direction.

指定された位置に対応する測定対象物Sの部分の高さが算出された後、算出された高さに受光部120の焦点が合うようにZステージ142が移動される。ただし、現在の受光部120のZ方向の測定可能範囲外にある測定対象物Sの部分については、高さを算出することができないため、その部分に受光部120の焦点が合うようにZステージ142を移動させることができない。   After the height of the part of the measuring object S corresponding to the designated position is calculated, the Z stage 142 is moved so that the light receiving unit 120 is focused on the calculated height. However, since the height of the part of the measuring object S that is outside the measurable range in the Z direction of the light receiving unit 120 cannot be calculated, the Z stage is set so that the light receiving unit 120 is focused on that part. 142 cannot be moved.

したがって、使用者は、現在のZステージ142の位置から比較的受光部120の焦点に近いと思われる測定対象物Sの部分に対応する位置を指定しながら、焦点を合わせたい部分に対応する位置を順次指定してZステージ142を移動させていく。これにより、Z方向の寸法が大きい測定対象物Sであっても、測定対象物Sの全体の高さを算出することができる。   Therefore, the user designates a position corresponding to the part of the measuring object S that is considered to be relatively close to the focus of the light receiving unit 120 from the current position of the Z stage 142, and a position corresponding to the part to be focused. Are sequentially designated and the Z stage 142 is moved. Thereby, even if it is the measuring object S with a large dimension of a Z direction, the whole height of the measuring object S is computable.

(4)高さの算出の高速化
マーカMが表示された位置に対応する測定対象物Sの部分の高さは、高速で算出されることが好ましい。以下、高さの算出を高速化する手法について説明する。
(4) High-speed calculation of height It is preferable that the height of the portion of the measuring object S corresponding to the position where the marker M is displayed is calculated at high speed. Hereinafter, a method for speeding up the height calculation will be described.

図54は、高さの算出を高速化するための第1の手法を説明するための図である。ここで、マーカMが表示された位置に対応する測定対象物Sの部分を測定部分Msと呼ぶ。図54に示すように、投光部110は、点Aから点A’までの範囲において斜め上方から測定対象物Sに測定光を照射可能である。図54の例においては、測定対象物Sの測定部分Msの高さが算出される。ここで、測定対象物Sの測定部分MsのZ方向の測定可能範囲は、点Pから点P’までの範囲である。点P,P’は、測定部分MsのX方向の位置により定まる。   FIG. 54 is a diagram for explaining a first method for speeding up the height calculation. Here, the part of the measuring object S corresponding to the position where the marker M is displayed is called a measurement part Ms. As shown in FIG. 54, the light projecting unit 110 can irradiate the measuring object S with the measurement light from obliquely above in the range from the point A to the point A ′. In the example of FIG. 54, the height of the measurement portion Ms of the measurement object S is calculated. Here, the measurable range in the Z direction of the measurement portion Ms of the measurement object S is a range from the point P to the point P ′. The points P and P ′ are determined by the position of the measurement portion Ms in the X direction.

Z方向の測定可能範囲の上限である点Pには、投光部110の点Bから出射された測定光が照射される。一方、Z方向の測定可能範囲の下限である点P’には、投光部110の点B’から出射された測定光が照射される。すなわち、測定対象物Sの測定部分Msの高さを算出するためには、投光部110は点Aから点A’までの範囲のうち点Bから点B’までの範囲で測定光を照射すればよい。   The point P that is the upper limit of the measurable range in the Z direction is irradiated with the measurement light emitted from the point B of the light projecting unit 110. On the other hand, the measurement light emitted from the point B ′ of the light projecting unit 110 is irradiated to the point P ′ that is the lower limit of the measurable range in the Z direction. That is, in order to calculate the height of the measurement part Ms of the measurement object S, the light projecting unit 110 irradiates the measurement light in the range from the point B to the point B ′ in the range from the point A to the point A ′. do it.

そのため、投光部110は、点Bから点B’までの範囲で測定光を測定対象物Sに照射し、点Aから点Bまでの範囲および点B’から点A’までの範囲では測定光を測定対象物Sに照射しない。この場合、高さの算出の際に、パターン画像を取得する範囲が低減される。これにより、測定対象物Sの測定部分Msの高さの算出を高速化することができる。   Therefore, the light projecting unit 110 irradiates the measuring object S with the measurement light in the range from the point B to the point B ′, and measures in the range from the point A to the point B and from the point B ′ to the point A ′. The measurement object S is not irradiated with light. In this case, the range for acquiring the pattern image is reduced when calculating the height. Thereby, calculation of the height of the measurement part Ms of the measuring object S can be speeded up.

図55は、高さの算出を高速化するための第2の手法を説明するための図である。ここで、マーカMが表示された位置に対応する測定対象物Sの部分を測定部分Msと呼ぶ。図55の例においては、測定対象物Sの測定部分Msの高さが算出される。図1の受光部120は、二次元的に配列された画素に対応する受光信号のうち特定の範囲のみを選択的に図2の制御基板150に出力することができる。   FIG. 55 is a diagram for explaining a second method for speeding up the height calculation. Here, the part of the measuring object S corresponding to the position where the marker M is displayed is called a measurement part Ms. In the example of FIG. 55, the height of the measurement part Ms of the measurement object S is calculated. The light receiving unit 120 of FIG. 1 can selectively output only a specific range among the light reception signals corresponding to the pixels arranged two-dimensionally to the control board 150 of FIG.

本例においては、高さの算出の際に、図55に示すように、受光部120は、視野範囲の受光信号のうち測定部分Msを含みかつX方向に延びる一定幅のラインLに対応する受光信号のみを図1の制御基板150に出力する。一方、受光部120は、視野範囲の受光信号のうち他の部分に対応する受光信号を出力しない。すなわち、図2および図55の例においては、測定光の照射位置は、測定対象物Sの高さによってX方向には変化するが、Y方向には変化しない。この特性を利用し、少なくとも指定された位置に対応する測定対象物Sの部分の高さを算出することができる状態で、受光部120により出力される受光信号のY方向の範囲が限定される。   In this example, when calculating the height, as shown in FIG. 55, the light receiving unit 120 corresponds to a line L having a constant width including the measurement portion Ms and extending in the X direction among the received light signals in the visual field range. Only the received light signal is output to the control board 150 of FIG. On the other hand, the light receiving unit 120 does not output light reception signals corresponding to other parts of the light reception signals in the visual field range. That is, in the example of FIGS. 2 and 55, the irradiation position of the measurement light changes in the X direction depending on the height of the measurement object S, but does not change in the Y direction. Using this characteristic, the range in the Y direction of the received light signal output by the light receiving unit 120 is limited in a state where the height of the portion of the measuring object S corresponding to at least the specified position can be calculated. .

この場合、受光部120から制御基板150への受光信号の転送速度が向上する。したがって、受光部120のフレームレートを増加させることができる。これにより、図1のCPU210はパターン画像を高速で取得することができる。その結果、測定対象物Sの測定部分Msの高さの算出を高速化することができる。   In this case, the transfer speed of the received light signal from the light receiving unit 120 to the control board 150 is improved. Therefore, the frame rate of the light receiving unit 120 can be increased. Thereby, the CPU 210 in FIG. 1 can acquire the pattern image at high speed. As a result, the calculation of the height of the measurement part Ms of the measurement object S can be speeded up.

図56は、高さの算出を高速化するための第3の手法を説明するための図である。ここで、複数のマーカMが表示された位置に対応する測定対象物Sの部分をそれぞれ測定部分Ms1,Ms2,Ms3と呼ぶ。図56の例においては、測定対象物Sの複数の測定部分Ms1〜Ms3の高さが算出される。   FIG. 56 is a diagram for explaining a third method for speeding up the height calculation. Here, the portions of the measurement object S corresponding to the positions where the plurality of markers M are displayed are referred to as measurement portions Ms1, Ms2, and Ms3, respectively. In the example of FIG. 56, the heights of the plurality of measurement portions Ms1 to Ms3 of the measurement object S are calculated.

本例においては、高さの算出の際に、測定対象物Sの複数の測定部分Ms1〜Ms3のパターン画像を取得するために、複数の測定部分Ms1〜Ms3の付近に測定光が照射される。この場合,測定部分Ms1〜Ms3のY方向の位置を含むように測定光のパターンが設定されることが好ましい。一方で、測定対象物Sの部分のうち他の部分には測定光が照射されない。これにより、パターン画像を取得する範囲が低減される。その結果、測定対象物Sの複数の測定部分Ms1〜Ms3の高さの算出を高速化することができる。   In this example, in order to obtain pattern images of the plurality of measurement portions Ms1 to Ms3 of the measurement object S when calculating the height, measurement light is irradiated in the vicinity of the plurality of measurement portions Ms1 to Ms3. . In this case, it is preferable that the measurement light pattern is set so as to include the positions in the Y direction of the measurement portions Ms1 to Ms3. On the other hand, the measurement light is not irradiated to other parts of the part of the measuring object S. Thereby, the range which acquires a pattern image is reduced. As a result, the calculation of the heights of the plurality of measurement portions Ms1 to Ms3 of the measurement object S can be speeded up.

このように、高さの算出を高速化するための第1〜第3の手法においては、高さの算出の際に、CPU210の処理時間が短縮される。これにより、操作部250により指定された位置に対応する測定対象物Sの部分の位置を高速に算出することができる。高さの算出を高速化するための第1〜第3の手法は、組み合わせて実行されてもよい。これにより、測定対象物Sの測定部分Msの高さを例えば220msで算出することができる。   Thus, in the first to third methods for speeding up the height calculation, the processing time of the CPU 210 is shortened when calculating the height. Thereby, the position of the part of the measuring object S corresponding to the position designated by the operation unit 250 can be calculated at high speed. The first to third methods for speeding up the height calculation may be executed in combination. Thereby, the height of the measurement part Ms of the measuring object S can be calculated in 220 ms, for example.

(5)高さ表示機能
使用者は、測定対象物Sにおける指定した部分の位置に関する情報(例えば高さ)を表示部400に表示させることができる。図57は、高さ表示機能の一例を示す図である。図57(a)に示すように、使用者は図1のPC200の操作部250を操作して表示部400に表示される測定対象物Sの任意の位置にカーソルCを合わせることができる。
(5) Height Display Function The user can cause the display unit 400 to display information (for example, height) related to the position of the designated portion in the measurement object S. FIG. 57 is a diagram illustrating an example of the height display function. As shown in FIG. 57A, the user can move the cursor C to an arbitrary position of the measuring object S displayed on the display unit 400 by operating the operation unit 250 of the PC 200 of FIG.

この状態で、その位置を選択することにより、少なくとも選択された位置に対応する測定対象物Sの部分およびその付近の部分に図1の投光部110から測定光が照射される。これにより、三角測距方式により選択された位置に対応する測定対象物Sの部分の高さが算出される。算出された高さは、図57(b)に示すように、表示部400に表示される。これにより、使用者は、算出された高さを容易に認識することができる。   In this state, by selecting the position, at least the portion of the measuring object S corresponding to the selected position and the vicinity thereof are irradiated with the measuring light from the light projecting unit 110 in FIG. Thereby, the height of the part of the measuring object S corresponding to the position selected by the triangulation method is calculated. The calculated height is displayed on the display unit 400 as shown in FIG. Thereby, the user can easily recognize the calculated height.

使用者はPC200の操作部250を操作して表示部400に表示された測定対象物Sの他の位置にカーソルCを合わせることができる。この状態で、その位置を選択することにより、選択された位置に対応する測定対象物Sの部分の高さが算出される。算出された高さは、図57(c)に示すように、表示部400に表示される。PC200の操作部250により選択された測定対象物Sの複数の部分の高さの差が表示部400に表示されてもよい。この場合、使用者は、算出された複数の部分の高さの差を認識することができる。   The user can operate the operation unit 250 of the PC 200 to place the cursor C on another position of the measurement object S displayed on the display unit 400. By selecting the position in this state, the height of the part of the measuring object S corresponding to the selected position is calculated. The calculated height is displayed on the display unit 400 as shown in FIG. Differences in height of the plurality of portions of the measuring object S selected by the operation unit 250 of the PC 200 may be displayed on the display unit 400. In this case, the user can recognize the difference in height between the calculated plurality of portions.

(6)プロファイル表示機能
使用者は、測定対象物Sにおける指定した部分のプロファイルを表示部400に表示させることができる。図58および図59は、測定対象物Sのプロファイルの測定を説明するための図である。図58および図59の測定対象物Sは複数の上面を有し、各上面の高さはそれぞれ異なる。図58(a)および図59(a)は、投光部110から測定光が照射された状態の測定対象物Sの斜視図を示す。図58(b)および図59(b)は、測定光を照射された測定対象物Sの平面図を示す。
(6) Profile Display Function The user can cause the display unit 400 to display the profile of the specified portion of the measurement object S. 58 and 59 are diagrams for explaining the measurement of the profile of the measuring object S. FIG. 58 and 59 has a plurality of upper surfaces, and the height of each upper surface is different. FIGS. 58A and 59A are perspective views of the measurement object S in a state where measurement light is irradiated from the light projecting unit 110. FIG. FIGS. 58B and 59B are plan views of the measuring object S irradiated with the measuring light.

図58(a)の例においては、Y方向に平行なライン状測定光が投光部110から出射される。この場合、図58(b)に示すように、Y方向に平行なライン状測定光の複数の部分は、測定対象物Sの複数の上面の高さに対応する距離だけX方向に互いにずれて測定対象物Sの複数の上面に照射される。   In the example of FIG. 58A, linear measurement light parallel to the Y direction is emitted from the light projecting unit 110. In this case, as shown in FIG. 58B, the plurality of portions of the linear measurement light parallel to the Y direction are shifted from each other in the X direction by distances corresponding to the heights of the plurality of upper surfaces of the measuring object S. A plurality of upper surfaces of the measuring object S are irradiated.

一方、図59(a)の例においては、Y方向に平行でかつ測定対象物Sの各上面の高さに対応する距離だけX方向にずらした複数のライン状測定光が投光部110から出射される。この場合、図59(b)に示すように、Y方向に平行な複数のライン状測定光は、同一のライン上に並ぶように測定対象物Sの複数の上面に照射される。投光部110から出射される複数のライン状測定光間のX方向の距離および各ライン状測定光のY方向の位置に基づいて、測定対象物Sのプロファイルを測定することができる。   On the other hand, in the example of FIG. 59 (a), a plurality of linear measurement lights that are parallel to the Y direction and shifted in the X direction by a distance corresponding to the height of each upper surface of the measuring object S are emitted from the light projecting unit 110. Emitted. In this case, as shown in FIG. 59 (b), a plurality of line-shaped measurement lights parallel to the Y direction are irradiated onto a plurality of upper surfaces of the measuring object S so as to be aligned on the same line. The profile of the measuring object S can be measured based on the distance in the X direction between the plurality of linear measurement lights emitted from the light projecting unit 110 and the position in the Y direction of each linear measurement light.

図60および図61は、測定対象物Sのプロファイルの測定手順を示す図である。まず、図60(a)に示すように、使用者は、図1のPC200の操作部250を操作して、表示部400において測定対象物Sの測定部分のX方向の位置を指定する。指定されたX方向の位置上には、図60(a)において点線で示されるY方向に平行な基準線RLが表示されてもよい。なお、基準線RLを表示させない場合には、図60(a)の手順は省略されてもよい。   60 and 61 are diagrams showing a procedure for measuring the profile of the measuring object S. FIG. First, as shown in FIG. 60A, the user operates the operation unit 250 of the PC 200 in FIG. 1 to designate the position in the X direction of the measurement portion of the measurement object S on the display unit 400. A reference line RL parallel to the Y direction indicated by a dotted line in FIG. 60A may be displayed on the designated position in the X direction. When the reference line RL is not displayed, the procedure of FIG. 60 (a) may be omitted.

次に、図60(b)に示すように、使用者は、操作部250を操作して、表示部400において測定対象物Sの上面の一部に表示されたライン状測定光を基準線RLに重ねるようにX方向に移動させる。ここで、移動されるライン状測定光の部分は、例えば使用者が操作部250を操作してライン状測定光のY方向の位置を複数箇所指定することにより決定される。図1のCPU210は、表示部400に表示されるライン状測定光が測定対象物Sに照射されるように、図2のパターン生成部112を制御することにより投光部110から出射されるライン状測定光を変形させる。   Next, as illustrated in FIG. 60B, the user operates the operation unit 250 to display the linear measurement light displayed on a part of the upper surface of the measurement object S on the display unit 400 as the reference line RL. And move in the X direction to overlap. Here, the portion of the linear measurement light to be moved is determined, for example, by the user operating the operation unit 250 and designating a plurality of positions in the Y direction of the linear measurement light. The CPU 210 in FIG. 1 controls the pattern generation unit 112 in FIG. 2 so that the line-shaped measurement light displayed on the display unit 400 is irradiated on the measurement object S. The shape measuring light is deformed.

続いて、図60(c)および図61(a)に示すように、使用者は、操作部250を操作して、表示部400において測定対象物Sの上面の他の一部に表示されたライン状測定光を基準線RLに重ねるようにX方向に移動させる動作を繰り返す。これにより、CPU210は、表示部400に表示されるライン状測定光が測定対象物Sに照射されるように、パターン生成部112を制御することにより投光部110から出射されるライン状測定光をさらに変形させる。   Subsequently, as shown in FIGS. 60C and 61A, the user operates the operation unit 250 and is displayed on another part of the upper surface of the measurement object S on the display unit 400. The operation of moving the linear measurement light in the X direction so as to overlap the reference line RL is repeated. Thereby, the CPU 210 controls the pattern generation unit 112 so that the line-shaped measurement light displayed on the display unit 400 is irradiated on the measurement target S, and thereby the line-shaped measurement light emitted from the light projecting unit 110. Is further deformed.

CPU210は、表示部400に表示されるライン状測定光が直線状になるまでに表示部400上で移動したライン状測定光の各部分の移動距離に基づいて測定対象物Sのプロファイル(断面形状)を算出する。また、図61(b)に示すように、算出された測定対象物SのプロファイルPRは、測定対象物Sの画像と並ぶように表示部400に表示される。この場合、使用者は、表示部400に表示される光のパターンを操作することにより測定対象物Sの断面形状を容易に認識することができる。プロファイルPRは、測定対象物Sの画像と重なるように表示部400に表示されてもよいし、測定対象物Sが表示されるウインドウとは別のウインドウに表示されてもよい。   The CPU 210 determines the profile of the measurement object S (cross-sectional shape) based on the movement distance of each part of the linear measurement light that has moved on the display unit 400 until the linear measurement light displayed on the display unit 400 becomes linear. ) Is calculated. 61B, the calculated profile PR of the measurement object S is displayed on the display unit 400 so as to be aligned with the image of the measurement object S. In this case, the user can easily recognize the cross-sectional shape of the measuring object S by manipulating the light pattern displayed on the display unit 400. The profile PR may be displayed on the display unit 400 so as to overlap the image of the measurement object S, or may be displayed in a window different from the window in which the measurement object S is displayed.

使用者は、操作部250を操作して、プロファイルPRの複数の部分を指定することができる。図61(c)に示すように、使用者により指定された複数の部分に対応する測定対象物Sの複数の部分の間の寸法は、表示部400に表示される。これにより、測定対象物Sの任意の部分間の幅または高さ等の寸法を容易に認識することができる。   The user can designate a plurality of parts of the profile PR by operating the operation unit 250. As shown in FIG. 61 (c), the dimensions between the plurality of parts of the measuring object S corresponding to the plurality of parts specified by the user are displayed on the display unit 400. Thereby, dimensions, such as the width | variety or height between arbitrary parts of the measuring object S, can be recognized easily.

(7)効果
本実施の形態に係る形状測定装置500においては、使用者が表示部400に表示された測定対象物Sの画像上の任意の位置を指定することにより、指定された位置に対応する測定対象物Sの部分の位置が三角測距方式により算出される。また、算出された位置が受光部120の焦点に位置される。これにより、測定対象物Sの形状測定処理において測定対象物Sの任意の部分を正確かつ容易に受光部120の焦点に位置させることができる。
(7) Effect In the shape measuring apparatus 500 according to the present embodiment, the user specifies an arbitrary position on the image of the measuring object S displayed on the display unit 400, thereby corresponding to the specified position. The position of the part of the measuring object S to be calculated is calculated by the triangulation method. Further, the calculated position is positioned at the focal point of the light receiving unit 120. Thereby, in the shape measurement process of the measuring object S, an arbitrary portion of the measuring object S can be accurately and easily positioned at the focus of the light receiving unit 120.

[8]姿勢調整の第1の補助機能
(1)姿勢調整の第1の補助機能の第1の例
形状測定の準備における第2の調整において、測定対象物Sの姿勢が調整される。図62は、測定対象物Sの姿勢の調整を説明するための図である。図62(a),(c)は、ステージ140上の測定対象物Sに投光部110から測定光を照射した状態を示す。図62(b),(d)は、それぞれ図62(a),(c)の受光部120で測定対象物Sが撮像されることにより表示部400に表示される画像を示す。
[8] First Auxiliary Function of Attitude Adjustment (1) First Example of First Auxiliary Function of Attitude Adjustment In the second adjustment in the preparation for shape measurement, the attitude of the measuring object S is adjusted. FIG. 62 is a diagram for explaining the adjustment of the posture of the measuring object S. FIG. 62A and 62C show a state in which the measuring object S on the stage 140 is irradiated with the measuring light from the light projecting unit 110. FIG. 62B and 62D show images displayed on the display unit 400 when the measurement object S is imaged by the light receiving unit 120 of FIGS. 62A and 62C, respectively.

図62の例においては、測定対象物Sは、異なる高さの2段の上面を有する断面L字形状のブロックである。図62(a)の例においては、測定対象物Sの上段の上面により投光部110からの測定光が遮られる。この場合、図62(b)に示すように、測定対象物Sの下段の上面の測定位置に影Ssが発生する。したがって、測定対象物Sの測定位置の形状を測定することができない。   In the example of FIG. 62, the measuring object S is a block having an L-shaped cross section having two upper surfaces having different heights. In the example of FIG. 62A, the measurement light from the light projecting unit 110 is blocked by the upper surface of the measurement object S. In this case, as shown in FIG. 62B, a shadow Ss is generated at the measurement position on the upper surface of the lower stage of the measurement object S. Therefore, the shape of the measurement position of the measuring object S cannot be measured.

図62(c)の例においては、測定対象物Sの向きを変えることにより測定対象物Sの姿勢が調整される。この場合、図62(d)に示すように、測定対象物Sの下段の上面の測定位置に影Ssが発生しない。これにより、測定対象物Sの測定位置の形状を測定することができる。   In the example of FIG. 62C, the posture of the measuring object S is adjusted by changing the direction of the measuring object S. In this case, as shown in FIG. 62 (d), no shadow Ss occurs at the measurement position on the upper surface of the lower stage of the measurement object S. Thereby, the shape of the measurement position of the measuring object S can be measured.

しかしながら、測定位置に影が発生しない場合であっても、測定対象物Sの複数の部分により複数回にわたって反射(多重反射)した測定光が図1の受光部120により受光されることがある。この場合、図1の表示部400に測定対象物Sの画像上に多重反射した測定光による偽の画像が重畳して表示されることとなる。そのため、測定対象物Sの測定位置の形状を正確に測定することができない。   However, even when no shadow is generated at the measurement position, the measurement light reflected (multiple reflection) by a plurality of portions of the measurement object S may be received by the light receiving unit 120 in FIG. In this case, a fake image of the measurement light that has been multiple-reflected on the image of the measurement object S is superimposed and displayed on the display unit 400 of FIG. Therefore, the shape of the measurement position of the measuring object S cannot be measured accurately.

また、測定対象物Sの一部に影Ssまたは多重反射が発生することは自然現象であり、測定位置に影Ssまたは多重反射が発生していても、使用者がそれに気づかないことがある。そこで、本実施の形態に係る形状測定装置500には、測定位置に影Ssまたは多重反射が発生しない姿勢で測定対象物Sを載置することを補助する機能(以下、姿勢調整の第1の補助機能と呼ぶ)が設けられる。   In addition, it is a natural phenomenon that a shadow Ss or multiple reflection occurs in a part of the measurement object S, and even if the shadow Ss or multiple reflection occurs in the measurement position, the user may not notice it. Therefore, the shape measuring apparatus 500 according to the present embodiment has a function for assisting placing the measuring object S in a posture in which no shadow Ss or multiple reflection occurs at the measurement position (hereinafter referred to as a first posture adjustment). Called an auxiliary function).

姿勢調整の第1の補助機能の第1の例においては、図2の投光部110から所定のパターンを有する姿勢調整のための測定光が測定対象物Sに照射される。以下、姿勢調整のために投光部110から測定対象物Sに照射される測定光を調整光と呼ぶ。調整光のパターンは、形状測定処理において測定対象物Sに照射される測定光のパターンとは異なっていてもよい。   In the first example of the first auxiliary function of posture adjustment, the measuring object S is irradiated with measurement light for posture adjustment having a predetermined pattern from the light projecting unit 110 of FIG. Hereinafter, the measurement light emitted from the light projecting unit 110 to the measurement object S for posture adjustment is referred to as adjustment light. The pattern of the adjustment light may be different from the pattern of the measurement light irradiated on the measurement object S in the shape measurement process.

形状測定処理において測定対象物Sに照射される測定光のパターンとは異なる調整光のパターンの一例として、形状測定処理において測定対象物Sに順次照射される複数の測定光のうちの1つの測定光のパターンを有する調整光が測定対象物Sに照射されてもよい。あるいは、形状測定処理において測定対象物Sに順次照射される複数の測定光のうちのいずれの測定光のパターンとも異なるパターンを有する調整光が測定対象物Sに照射されてもよい。   As an example of a pattern of adjustment light different from the pattern of measurement light irradiated on the measurement object S in the shape measurement process, one measurement of a plurality of measurement lights sequentially irradiated on the measurement object S in the shape measurement process The measuring object S may be irradiated with adjustment light having a light pattern. Alternatively, the measuring object S may be irradiated with adjustment light having a pattern different from the pattern of any of the plurality of measuring lights sequentially irradiated onto the measuring object S in the shape measurement process.

調整光は、使用者にとって影または多重反射が発生していることを判断しやすいパターンを有することが好ましい。このようなパターンを有する調整光が測定対象物Sに照射されることにより、使用者は測定位置に影または多重反射が発生していることを容易に判断することができる。ここで、図2のY方向に平行な縞状のパターンを縦パターンと呼び、図2のX方向に平行な縞状のパターンを横パターンと呼ぶ。   The adjustment light preferably has a pattern that allows the user to easily determine that a shadow or multiple reflection has occurred. By irradiating the measuring object S with the adjustment light having such a pattern, the user can easily determine that a shadow or multiple reflection has occurred at the measurement position. Here, the striped pattern parallel to the Y direction in FIG. 2 is referred to as a vertical pattern, and the striped pattern parallel to the X direction in FIG. 2 is referred to as a horizontal pattern.

図63および図64は、姿勢調整の第1の補助機能の第1の例を説明するための図である。図63(a)は、一方の投光部110Aから縦パターンを有する調整光が照射された測定対象物Sの画像を示す。図63(a)に示すように、点線の円で示される領域R1,R2,R3,R4においては、影が発生している。また、点線の矩形で示される領域R5においては、多重反射により縦パターンのコントラストの低下が発生している。   63 and 64 are diagrams for describing a first example of the first auxiliary function of posture adjustment. FIG. 63A shows an image of the measuring object S irradiated with the adjustment light having the vertical pattern from one light projecting unit 110A. As shown in FIG. 63 (a), shadows are generated in regions R1, R2, R3, and R4 indicated by dotted circles. Further, in the region R5 indicated by the dotted rectangle, the contrast of the vertical pattern is reduced due to multiple reflection.

図63(b)は、他方の投光部110Bから縦パターンを有する調整光が照射された測定対象物Sの画像を示す。図63(b)に示すように、点線の円で示される領域R6,R7,R8,R9においては、影が発生している。また、点線の矩形で示される領域R10においては、測定対象物Sの部分が傾斜していることにより縦パターンの間隔が過密になっている。   FIG. 63B shows an image of the measuring object S irradiated with the adjustment light having the vertical pattern from the other light projecting unit 110B. As shown in FIG. 63 (b), shadows are generated in regions R6, R7, R8, and R9 indicated by dotted circles. Further, in the region R10 indicated by the dotted rectangle, the vertical pattern interval is overcrowded because the portion of the measuring object S is inclined.

図64(a)は、一方の投光部110Aから横パターンを有する調整光が照射された測定対象物Sの画像を示す。図64(a)に示すように、点線の円で示される領域R1,R2,R3,R4においては、影が発生している。また、点線の矩形で示される領域R5においては、多重反射により横パターンのコントラストの低下が発生している。   FIG. 64A shows an image of the measuring object S irradiated with the adjustment light having the horizontal pattern from one light projecting unit 110A. As shown in FIG. 64A, shadows are generated in regions R1, R2, R3, and R4 indicated by dotted circles. In the region R5 indicated by the dotted rectangle, the contrast of the horizontal pattern is reduced due to multiple reflection.

図64(b)は、他方の投光部110Bから横パターンを有する調整光が照射された測定対象物Sの画像を示す。図64(b)に示すように、点線の円で示される領域R6,R7,R8,R9においては、影が発生している。   FIG. 64B shows an image of the measuring object S irradiated with the adjustment light having the horizontal pattern from the other light projecting unit 110B. As shown in FIG. 64B, shadows are generated in regions R6, R7, R8, and R9 indicated by dotted circles.

図63および図64に示すように、測定対象物Sにおいて影が発生する領域、多重反射によりパターンのコントラストの低下が発生する領域およびパターンの間隔が過密になる領域では、形状を正確に測定することができない。以下、測定対象物Sにおいて影が発生する領域、多重反射によりパターンのコントラストの低下が発生する領域およびパターンの間隔が過密になる領域を測定困難領域と呼ぶ。   As shown in FIGS. 63 and 64, the shape is accurately measured in a region where a shadow is generated in the measurement object S, a region where a decrease in pattern contrast occurs due to multiple reflection, and a region where the pattern interval is excessively dense. I can't. Hereinafter, a region where a shadow is generated in the measurement object S, a region where a decrease in pattern contrast occurs due to multiple reflection, and a region where patterns are overly dense are referred to as a measurement difficulty region.

姿勢調整の第1の補助機能においては、形状測定処理における測定光のパターンとは異なるパターンを有する調整光が測定対象物Sに照射されることにより、使用者は測定困難領域を認識しやすくなる。上述した正弦波状測定光、縞状測定光またはコード状測定光のパターンと同一のパターンを有する調整光のパターンを用いることは、測定困難領域の認識には適切ではない場合がある。   In the first auxiliary function of posture adjustment, the measurement object S is irradiated with the adjustment light having a pattern different from the measurement light pattern in the shape measurement process, so that the user can easily recognize the measurement difficulty region. . Using the adjustment light pattern having the same pattern as the sine wave measurement light, the stripe measurement light, or the code measurement light described above may not be appropriate for recognizing the measurement difficulty region.

その理由は、パターンを形成するY方向に平行な複数の直線(縞)の間隔および移動の単位は、形状測定処理を適切に行うために設定されているからである。したがって、使用者が測定困難領域となる影等が発生する部分を認識しやすいパターンを有する調整光を測定対象物Sに照射することが好ましい。これにより、使用者は測定困難領域を容易に認識することができる。   The reason for this is that the intervals between the plurality of straight lines (stripes) parallel to the Y direction forming the pattern and the unit of movement are set in order to appropriately perform the shape measurement process. Therefore, it is preferable to irradiate the measuring object S with adjustment light having a pattern in which a user can easily recognize a portion where a shadow or the like that becomes a measurement difficult region occurs. Thereby, the user can easily recognize the measurement difficult region.

使用者は、測定対象物Sに調整光が照射された状態で測定対象物Sの姿勢を調整することができる。測定対象物Sの姿勢の調整は、ステージ140上で測定対象物Sを例えば回転させることにより行われてもよいし、ステージ140の例えばθステージ143を移動させることにより行われてもよい。この場合、測定困難領域を確認しながら測定対象物Sの姿勢を調整することができるので、測定対象物Sの形状測定前に、測定対象物Sの姿勢を形状測定に適切な状態に容易に調整することができる。   The user can adjust the posture of the measuring object S in a state in which the measuring object S is irradiated with the adjustment light. The adjustment of the posture of the measurement object S may be performed by rotating the measurement object S on the stage 140, for example, or may be performed by moving the θ stage 143 of the stage 140, for example. In this case, since the posture of the measuring object S can be adjusted while checking the measurement difficulty region, the posture of the measuring object S can be easily set to a state suitable for shape measurement before measuring the shape of the measuring object S. Can be adjusted.

(2)姿勢調整の第1の補助機能の第2の例
姿勢調整の第1の補助機能の第2の例においては、投光部110A,110Bの両方から調整光が測定対象物Sに照射される。投光部110Aからの調整光および投光部110Bからの調整光のいずれを測定対象物Sに照射した場合にも影が発生する領域、多重反射によりパターンのコントラストの低下が発生する領域およびパターンの間隔が過密になる領域が測定困難領域となる。
(2) Second Example of First Auxiliary Function for Attitude Adjustment In the second example of the first auxiliary function for attitude adjustment, adjustment light is irradiated to the measuring object S from both the light projecting units 110A and 110B. Is done. A region where a shadow is generated when the measurement object S is irradiated with either the adjustment light from the light projecting unit 110A or the adjustment light from the light projection unit 110B, a region where the contrast of the pattern is reduced due to multiple reflection, and a pattern A region where the intervals of the two are too dense becomes a difficult measurement region.

図65は、姿勢調整の第1の補助機能の第2の例を説明するための図である。図65は、一方の投光部110Aから横パターンを有する調整光が照射されるとともに、他方の投光部110Bから縦パターンを有する調整光が照射された測定対象物Sの画像を示す。   FIG. 65 is a diagram for describing a second example of the first auxiliary function of posture adjustment. FIG. 65 shows an image of the measuring object S irradiated with the adjustment light having the horizontal pattern from one light projecting unit 110A and the adjustment light having the vertical pattern from the other light projecting unit 110B.

図65に示すように、点線の矩形で示される領域R5においては、多重反射により横パターンのコントラストの低下が発生している。また、点線の矩形で示される領域R10においては、測定対象物Sの部分が傾斜していることにより縦パターンの間隔が過密になっている。   As shown in FIG. 65, in the region R5 indicated by the dotted rectangle, the contrast of the horizontal pattern is reduced due to multiple reflection. Further, in the region R10 indicated by the dotted rectangle, the vertical pattern interval is overcrowded because the portion of the measuring object S is inclined.

したがって、本例においては、領域R5,R10が測定困難領域となる。このように、投光部110A,110Bの両方から調整光を測定対象物Sに照射することにより、投光部110A,110Bのいずれか一方から調整光を測定対象物Sに照射する場合に比べて測定困難領域を減少させることができる。   Accordingly, in this example, the regions R5 and R10 are measurement difficult regions. In this way, by irradiating the measuring object S with the adjustment light from both the light projecting units 110A and 110B, as compared with the case where the measuring object S is irradiated with the adjusting light from either one of the light projecting units 110A and 110B. Thus, the measurement difficulty region can be reduced.

上記の例においては、一方の投光部110Aから横パターンを有する調整光が出射され、他方の投光部110Bから縦パターンを有する調整光が出射されるが、これに限定されない。一方の投光部110Aから縦パターンを有する調整光が出射され、他方の投光部110Bから横パターンを有する調整光が出射されてもよい。投光部110Aからの調整光と投光部110Bからの調整光とを区別する必要がない場合は、投光部110A,110Bのいずれもが縦パターンの調整光を出射してもよいし、投光部110A,110Bのいずれもが横パターンの調整光を出射してもよい。   In the above example, adjustment light having a horizontal pattern is emitted from one light projecting unit 110A, and adjustment light having a vertical pattern is emitted from the other light projecting unit 110B. However, the present invention is not limited to this. The adjustment light having the vertical pattern may be emitted from one light projecting unit 110A, and the adjustment light having the horizontal pattern may be emitted from the other light projection unit 110B. When there is no need to distinguish between the adjustment light from the light projecting unit 110A and the adjustment light from the light projection unit 110B, both the light projection units 110A and 110B may emit the adjustment light in the vertical pattern, Either of the light projecting units 110A and 110B may emit the adjustment light of the horizontal pattern.

また、上記の例においては、投光部110A,110Bから同時に調整光が照射された測定対象物Sの画像が表示されるが、これに限定されない。一方の投光部110Aから調整光が照射された測定対象物Sの画像(例えば図64(a)の画像)と他方の投光部110Bから調整光が照射された測定対象物Sの画像(例えば図63(b)の画像)とが別個に表示されてもよい。この場合、図63(b)の画像と図64(a)の画像とを合成することにより、実質的に図65の画像と等価な画像を表示することができる。   In the above example, the image of the measuring object S irradiated with the adjustment light from the light projecting units 110A and 110B is displayed, but the present invention is not limited to this. An image of the measurement object S irradiated with the adjustment light from one light projecting unit 110A (for example, the image of FIG. 64A) and an image of the measurement object S irradiated with the adjustment light from the other light projection unit 110B ( For example, the image shown in FIG. 63B may be displayed separately. In this case, by synthesizing the image of FIG. 63B and the image of FIG. 64A, an image substantially equivalent to the image of FIG. 65 can be displayed.

あるいは、図5の例と同様に、一方の投光部110Aから調整光が照射された測定対象物Sの画像と他方の投光部110Bから調整光が照射された測定対象物Sの画像とが並ぶように表示部400に2画面表示されてもよい。図66は、画像を2画面表示するGUIの一例を示す図である。   Or similarly to the example of FIG. 5, the image of the measuring object S irradiated with the adjustment light from one light projecting unit 110A and the image of the measuring object S irradiated with the adjustment light from the other light projecting unit 110B Two screens may be displayed on the display unit 400 so that the FIG. 66 is a diagram illustrating an example of a GUI that displays an image on two screens.

図66に示すように、表示部400の画像表示領域410には、一方の投光部110Aから調整光が照射された測定対象物Sの画像が表示される。表示部400の画像表示領域420には、他方の投光部110Bから調整光が照射された測定対象物Sの画像が表示される。このように、2つの測定対象物Sの画像が並ぶように表示されることにより、使用者は、一方の投光部110Aから測定対象物Sに調整光を照射するときの測定困難領域と他方の投光部110Bから測定対象物Sに調整光を照射するときの測定困難領域とを容易に区別して認識することができる。   As shown in FIG. 66, in the image display area 410 of the display unit 400, an image of the measuring object S irradiated with the adjustment light from one light projecting unit 110A is displayed. In the image display area 420 of the display unit 400, an image of the measuring object S irradiated with the adjustment light from the other light projecting unit 110B is displayed. As described above, the images of the two measurement objects S are displayed so that the user can arrange the measurement difficulty region when the adjustment light is irradiated from the one light projecting unit 110A to the measurement object S and the other. It is possible to easily distinguish and recognize the measurement difficult region when the adjustment light is irradiated from the light projecting unit 110B to the measuring object S.

このように、投光部110A,110Bの各々から調整光が照射された測定対象物Sの画像を別個に表示部400に表示することにより、使用者は、投光部110Aに対応する測定困難領域と投光部110Bに対応する測定困難領域とを容易に区別して認識することができる。これにより、使用者は、投光部110A,110Bのうち、測定位置が測定困難領域に含まれない投光部110を選択して形状測定処理を行うことができる。   As described above, by separately displaying the image of the measuring object S irradiated with the adjustment light from each of the light projecting units 110A and 110B on the display unit 400, the user has difficulty in measuring corresponding to the light projecting unit 110A. The region and the measurement difficulty region corresponding to the light projecting unit 110B can be easily distinguished and recognized. Thereby, the user can perform the shape measurement process by selecting the light projecting unit 110 whose measurement position is not included in the measurement difficulty region among the light projecting units 110A and 110B.

また、投光部110A,110Bの両方から測定光を測定対象物に照射される場合には、投光部110A,110Bの一方から測定光が測定対象物に照射される場合に比べて測定困難領域が減少する。投光部110A,110Bの各々から調整光が照射された測定対象物Sの画像を合成して表示部400に表示することにより、使用者は、投光部110A,110Bの両方から測定光を測定対象物Sに照射した場合の測定困難領域を認識することができる。   Further, when the measurement object is irradiated with the measurement light from both the light projecting units 110A and 110B, the measurement is difficult compared to the case where the measurement object is irradiated with the measurement light from one of the light projection units 110A and 110B. The area decreases. By synthesizing and displaying the image of the measuring object S irradiated with the adjustment light from each of the light projecting units 110A and 110B on the display unit 400, the user receives measurement light from both the light projecting units 110A and 110B. It is possible to recognize a measurement difficulty region when the measurement object S is irradiated.

投光部110A,110Bからの測定光のうち少なくとも一方の測定光が照射されている測定対象物Sの部分については形状測定を行うことができる。すなわち、いずれの投光部110A,110Bからの測定光も照射されない測定対象物Sの部分については形状測定を行うことができない。したがって、使用者は、いずれの投光部110A,110Bからの測定光も照射されない測定対象物Sの部分を認識すればよい。   Shape measurement can be performed on the part of the measuring object S irradiated with at least one of the measurement light from the light projecting units 110A and 110B. That is, shape measurement cannot be performed on the portion of the measuring object S that is not irradiated with the measurement light from any of the light projecting units 110A and 110B. Therefore, the user only has to recognize the part of the measurement object S that is not irradiated with the measurement light from any of the light projecting units 110A and 110B.

図65の例においては、両方の投光部110A,110Bからの調整光が照射された状態の測定対象物Sの画像が表示部400に表示される。図66の例においては、一方の投光部110Aからの調整光が照射された状態の測定対象物Sの画像と他方の投光部110Bからの調整光が照射された状態の測定対象物Sの画像とが表示部400に並べて表示される。これにより、使用者は、いずれの投光部110A,110Bからの測定光も照射されないことにより測定困難領域となる測定対象物Sの部分を認識しやすくなる。   In the example of FIG. 65, an image of the measuring object S in a state where the adjustment light from both the light projecting units 110A and 110B is irradiated is displayed on the display unit 400. In the example of FIG. 66, the measurement object S in the state irradiated with the adjustment light from one light projecting unit 110A and the measurement object S in the state irradiated with the adjustment light from the other light projecting unit 110B. Are displayed side by side on the display unit 400. This makes it easier for the user to recognize the portion of the measurement object S that is a measurement difficulty region by not being irradiated with the measurement light from any of the light projecting units 110A and 110B.

上記の姿勢調整の第1の補助機能の第1および第2の例において、調整光は縦パターンまたは横パターンを有するが、これに限定されない。調整光は、例えばドットパターンを有してもよいし、チェッカーパターン(市松模様)を有してもよい。あるいは、調整光は、均一な光量分布(均一パターン)を有してもよい。これにより、使用者は、測定困難領域をより容易に認識することができる。図67は、調整光として均一パターンを有する光が照射された測定対象物Sを示す図である。図67に示すように、測定対象物Sの一部に影Ssが発生している。使用者は、測定対象物Sに発生する影Ssに基づいて測定困難領域と認識することができる。   In the first and second examples of the first auxiliary function for posture adjustment described above, the adjustment light has a vertical pattern or a horizontal pattern, but is not limited thereto. The adjustment light may have, for example, a dot pattern or a checker pattern (checkered pattern). Alternatively, the adjustment light may have a uniform light amount distribution (uniform pattern). Thus, the user can more easily recognize the measurement difficult region. FIG. 67 is a diagram illustrating the measurement object S irradiated with light having a uniform pattern as adjustment light. As shown in FIG. 67, a shadow Ss is generated on a part of the measuring object S. The user can recognize the measurement difficulty region based on the shadow Ss generated on the measurement object S.

なお、調整光として均一パターンを有する光を用いる場合、使用者が測定困難領域となる影等が発生する部分を認識しやすくなるように強度または周波数等を適切に設定した調整光を測定対象物Sに照射することが好ましい。この構成によれば、使用者は、自然現象として自然光が測定対象物Sに照射されている場合よりも測定困難領域を容易に認識することができる。   When light having a uniform pattern is used as the adjustment light, the adjustment light having an intensity or frequency appropriately set so that the user can easily recognize a portion where a shadow or the like that becomes a measurement difficult region occurs is measured. It is preferable to irradiate S. According to this configuration, the user can easily recognize the measurement difficulty region as compared with the case where natural light is irradiated on the measurement object S as a natural phenomenon.

(3)測定困難領域の推定
姿勢調整の第1の補助機能の第1および第2の例において、使用者は測定対象物Sに照射される調整光の画像を見て測定困難領域を認識するが、これに限定されない。使用者が測定困難領域を認識することが困難である場合には、図1のCPU210が測定対象物Sに照射される調整光に基づいて測定困難領域を推定してもよい。
(3) Estimation of measurement difficulty region In the first and second examples of the first auxiliary function of posture adjustment, the user recognizes the measurement difficulty region by looking at the image of the adjustment light irradiated on the measurement object S. However, it is not limited to this. When it is difficult for the user to recognize the measurement difficulty region, the CPU 210 of FIG. 1 may estimate the measurement difficulty region based on the adjustment light applied to the measurement object S.

測定困難領域に対応する主立体形状データの部分は、データ欠落部分またはデータ不正確部分等の不良部分となる。主立体形状データの不良部分が推定され、推定された不良部分を識別可能に測定対象物Sの画像が表示されることにより、使用者は、測定困難領域を正確に認識することができる。これにより、測定対象物Sの形状測定処理前に、測定対象物Sの姿勢を形状測定に適切な状態に容易かつ正確に調整することができる。   The part of the main stereoscopic shape data corresponding to the difficult measurement area becomes a defective part such as a data missing part or a data inaccurate part. Since the defective portion of the main stereoscopic shape data is estimated, and the image of the measurement object S is displayed so that the estimated defective portion can be identified, the user can accurately recognize the measurement difficulty region. Thereby, before the shape measurement process of the measuring object S, the posture of the measuring object S can be easily and accurately adjusted to a state suitable for the shape measurement.

図68は、測定困難領域の推定結果を含む測定対象物Sの画像を示す図である。図68の例においては、CPU210は、調整光が照射されずに暗くなっている測定対象物Sの部分、すなわち影の部分に基づいて表示部400において影が発生する部分を測定困難領域と推定する。また、CPU210は、調整光のパターンのコントラストに基づいて表示部400において多重反射が発生する部分を測定困難領域と推定することもできる。さらに、CPU210は、調整光のパターンが過密になる部分を測定困難領域と推定することもできる。   FIG. 68 is a diagram illustrating an image of the measuring object S including the estimation result of the measurement difficulty region. In the example of FIG. 68, the CPU 210 estimates the portion of the measurement object S that is dark without being irradiated with the adjustment light, that is, the portion where the shadow is generated in the display unit 400 based on the shadow portion as the measurement difficulty region. To do. Further, the CPU 210 can also estimate a portion where multiple reflection occurs in the display unit 400 as a measurement difficulty region based on the contrast of the adjustment light pattern. Further, the CPU 210 can estimate a portion where the adjustment light pattern is too dense as a measurement difficulty region.

図68に示すように、CPU210は、推定した測定困難領域を測定対象物Sの画像に重畳して表示する。図68の例においては、測定困難領域はハッチングパターンにより強調表示されている。これにより、使用者は測定困難領域を容易に認識することができる。   As shown in FIG. 68, the CPU 210 displays the estimated measurement difficulty region superimposed on the image of the measurement object S. In the example of FIG. 68, the measurement difficulty region is highlighted by a hatching pattern. Thereby, the user can easily recognize the measurement difficult region.

なお、測定困難領域の推定においては、投光部110からパターンが互いに異なる複数の調整光が測定対象物Sに順次照射されてもよい。例えば、投光部110から任意のパターンを有する第1の調整光が測定対象物Sに照射された後、第1の調整光の明部分と暗部分とを反転させたパターンを有する第2の調整光が測定対象物Sに照射されてもよい。   In the estimation of the difficult measurement region, the measurement object S may be sequentially irradiated with a plurality of adjustment lights having different patterns from the light projecting unit 110. For example, after the first adjustment light having an arbitrary pattern is irradiated from the light projecting unit 110 onto the measurement object S, the second adjustment pattern has a pattern in which the bright part and the dark part of the first adjustment light are reversed. The adjustment light may be applied to the measuring object S.

この場合、第1の調整光および第2の調整光のいずれを測定対象物Sに照射した場合にも反射光が検出されない領域には影が発生するので、その領域が測定困難領域と推定される。この手順によれば、調整光の暗部分に対応することにより反射光が検出されない領域と影が発生することにより反射光が検出されない領域とを識別することができる。   In this case, when either the first adjustment light or the second adjustment light is applied to the measurement object S, a shadow is generated in an area where the reflected light is not detected, so that the area is estimated to be a difficult measurement area. The According to this procedure, it is possible to distinguish between a region where reflected light is not detected due to the dark portion of the adjustment light and a region where reflected light is not detected due to a shadow.

また、表示部400に表示される測定対象物Sの画像は、一方の測定光を用いて撮像された測定対象物Sの画像であってもよいし、一方および他方の測定光を用いて撮像された測定対象物Sの画像であってもよい。あるいは、表示部400に表示される測定対象物Sの画像は、照明光を用いて撮像された測定対象物Sの画像であってもよいし、測定対象物Sの立体形状の画像であってもよい。   The image of the measurement object S displayed on the display unit 400 may be an image of the measurement object S captured using one measurement light, or may be captured using one and the other measurement light. An image of the measured object S may be used. Alternatively, the image of the measurement object S displayed on the display unit 400 may be an image of the measurement object S captured using illumination light, or may be a three-dimensional image of the measurement object S. Also good.

測定対象物Sへの調整光の照射が一定時間ごとに行われてもよい。この場合、CPU210は、測定対象物Sに照射される調整光に基づいて測定困難領域を一定時間ごとに順次推定する。この構成によれば、測定対象物の姿勢が変化した場合、測定対象物Sの姿勢の変化に追従して表示部400に表示される測定対象物Sの画像上の測定困難領域が順次更新される。   Irradiation of the adjustment light to the measurement object S may be performed at regular intervals. In this case, the CPU 210 sequentially estimates the measurement difficulty region at regular intervals based on the adjustment light applied to the measurement object S. According to this configuration, when the posture of the measurement object changes, the measurement difficulty region on the image of the measurement object S displayed on the display unit 400 is sequentially updated following the change in the posture of the measurement object S. The

図69、図70および図71は、一方の投光部110Aから測定対象物Sに調整光を照射する場合の測定困難領域の変化を示す図である。図69(a)、図70(a)および図71(a)は、ステージ140上の測定対象物Sに一方の投光部110Aから調整光を照射した状態を示す。図69(b)、図70(b)および図71(b)は、それぞれ図69(a)、図70(a)および図71(a)の受光部120で測定対象物Sが撮像されることにより表示部400に表示される画像を示す。   69, 70, and 71 are diagrams illustrating changes in the measurement difficulty region when the adjustment light is irradiated from the one light projecting unit 110A to the measurement object S. FIG. 69 (a), 70 (a), and 71 (a) illustrate a state in which the measuring object S on the stage 140 is irradiated with the adjustment light from one light projecting unit 110A. 69 (b), 70 (b), and 71 (b), the measurement object S is imaged by the light receiving unit 120 of FIGS. 69 (a), 70 (a), and 71 (a), respectively. Thus, an image displayed on the display unit 400 is shown.

図69〜図71の測定対象物Sにおいては、板状部材Su上に2つの角柱状部材Svが並ぶように形成される。本例においては、一方の角柱状部材Svの周囲の3つの点P1,P2,P3を測定位置とする。   69 to 71, the measurement object S is formed so that two prismatic members Sv are arranged on the plate-like member Su. In this example, three points P1, P2, and P3 around one prismatic member Sv are set as measurement positions.

図69(a)の測定対象物Sの姿勢においては、測定対象物Sは、2つの角柱状部材SvがX方向に並ぶようにステージ140に配置されている。この場合、2つの角柱状部材Sv間の部分および一方の角柱状部材Svの一方(左方)の部分が測定困難領域であると推定される。   In the posture of the measuring object S in FIG. 69 (a), the measuring object S is arranged on the stage 140 so that the two prismatic members Sv are arranged in the X direction. In this case, it is estimated that the portion between the two prismatic members Sv and one (left side) of one prismatic member Sv are difficult to measure.

図69(b)に示すように、推定された測定困難領域が測定対象物Sの画像に重畳して表示される。図69(b)の測定対象物Sの姿勢においては、点P2,P3は測定困難領域に含まれない。しかしながら、点P1が測定困難領域に含まれる。   As shown in FIG. 69B, the estimated measurement difficulty region is displayed superimposed on the image of the measurement object S. In the posture of the measuring object S in FIG. 69 (b), the points P2 and P3 are not included in the measurement difficulty region. However, the point P1 is included in the measurement difficulty region.

使用者は、ステージ操作部145を操作することにより、測定対象物Sの姿勢を調整することができる。図70(a)は、図69(a)のステージ140をθ方向に45度回転された状態を示す図である。図70(a)に示すように、ステージ140が回転されることにより、ステージ140上の測定対象物Sの姿勢が変化する。   The user can adjust the posture of the measuring object S by operating the stage operation unit 145. FIG. 70A is a diagram showing a state where the stage 140 of FIG. 69A is rotated 45 degrees in the θ direction. As shown in FIG. 70A, when the stage 140 is rotated, the posture of the measuring object S on the stage 140 changes.

また、図70(b)に示すように、測定対象物Sの姿勢の変化に追従して表示部400に表示される測定対象物Sの画像上の測定困難領域が更新される。図70(b)の測定対象物Sの姿勢においては、点P3は測定困難領域に含まれない。しかしながら、点P1,P2が測定困難領域に含まれる。   Further, as shown in FIG. 70B, the measurement difficulty region on the image of the measurement object S displayed on the display unit 400 is updated following the change in the posture of the measurement object S. In the posture of the measuring object S in FIG. 70B, the point P3 is not included in the measurement difficulty region. However, the points P1 and P2 are included in the measurement difficulty region.

使用者は、ステージ操作部145をさらに操作することにより、測定対象物Sの姿勢をさらに調整することができる。図71(a)は、図70(a)のステージ140をθ方向にさらに45度回転された状態を示す図である。図71(a)に示すように、ステージ140が回転されることにより、ステージ140上の測定対象物Sの姿勢が変化する。   The user can further adjust the posture of the measuring object S by further operating the stage operation unit 145. FIG. 71A is a diagram showing a state in which the stage 140 of FIG. 70A is further rotated 45 degrees in the θ direction. As shown in FIG. 71A, the posture of the measuring object S on the stage 140 changes as the stage 140 is rotated.

また、図71(b)に示すように、測定対象物Sの姿勢の変化に追従して表示部400に表示される測定対象物Sの画像上の測定困難領域が更新される。図71(b)の測定対象物Sの姿勢においては、点P1,P3は測定困難領域に含まれない。しかしながら、点P2が測定困難領域に含まれる。   In addition, as shown in FIG. 71B, the measurement difficulty region on the image of the measurement object S displayed on the display unit 400 is updated following the change in the posture of the measurement object S. In the posture of the measuring object S in FIG. 71 (b), the points P1 and P3 are not included in the measurement difficulty region. However, the point P2 is included in the measurement difficulty region.

このように、使用者は、表示部400に表示される測定困難領域を確認しながらステージ操作部145を操作することにより測定対象物の姿勢を調整することができる。一方で、図69〜図71の例のように、測定対象物Sの形状によっては、点P1〜P3が測定困難領域に含まれないように測定対象物Sの姿勢を調整することが困難である場合がある。このような場合でも、両方の投光部110A,110Bから測定対象物Sに調整光を照射することによって測定困難領域を減少させることができる。   In this manner, the user can adjust the posture of the measurement object by operating the stage operation unit 145 while confirming the measurement difficulty region displayed on the display unit 400. On the other hand, as in the examples of FIGS. 69 to 71, depending on the shape of the measurement object S, it is difficult to adjust the posture of the measurement object S so that the points P1 to P3 are not included in the measurement difficulty region. There may be. Even in such a case, the measurement difficulty region can be reduced by irradiating the measuring object S with the adjustment light from both the light projecting units 110A and 110B.

図72、図73および図74は、両方の投光部110A,110Bから図69〜図71の測定対象物Sに調整光を照射する場合の測定困難領域の変化を示す図である。図72(a)、図73(a)および図74(a)は、ステージ140上の測定対象物Sに両方の投光部110A,110Bから調整光を照射した状態を示す。図72(b)、図73(b)および図74(b)は、それぞれ図72(a)、図73(a)および図74(a)の受光部120で測定対象物Sが撮像されることにより表示部400に表示される画像を示す。   72, 73, and 74 are diagrams showing changes in the measurement difficulty region when the adjustment light is irradiated from both the light projecting units 110A and 110B to the measuring object S in FIGS. 69 to 71. FIG. 72 (a), 73 (a), and 74 (a) show a state in which the measuring object S on the stage 140 is irradiated with the adjustment light from both the light projecting units 110A and 110B. 72 (b), 73 (b), and 74 (b), the measurement object S is imaged by the light receiving unit 120 of FIGS. 72 (a), 73 (a), and 74 (a), respectively. Thus, an image displayed on the display unit 400 is shown.

図72(a)の測定対象物Sの姿勢においては、測定対象物Sは、2つの角柱状部材SvがX方向に並ぶようにステージ140に配置されている。この場合、2つの角柱状部材Sv間の部分が測定困難領域であると推定される。   In the posture of the measuring object S in FIG. 72A, the measuring object S is arranged on the stage 140 so that the two prismatic members Sv are arranged in the X direction. In this case, the portion between the two prismatic members Sv is estimated to be a measurement difficult region.

図72(b)に示すように、推定された測定困難領域が測定対象物Sの画像に重畳して表示される。図72(b)の測定対象物Sの姿勢においては、点P2,P3は測定困難領域に含まれない。しかしながら、点P1が測定困難領域に含まれる。   As shown in FIG. 72B, the estimated measurement difficulty region is displayed superimposed on the image of the measurement object S. In the posture of the measuring object S in FIG. 72 (b), the points P2 and P3 are not included in the measurement difficulty region. However, the point P1 is included in the measurement difficulty region.

使用者は、ステージ操作部145を操作することにより、測定対象物Sの姿勢を調整することができる。図73(a)は、図72(a)のステージ140をθ方向に45度回転された状態を示す図である。図73(a)に示すように、ステージ140が回転されることにより、ステージ140上の測定対象物Sの姿勢が変化する。   The user can adjust the posture of the measuring object S by operating the stage operation unit 145. FIG. 73A shows a state where the stage 140 of FIG. 72A is rotated 45 degrees in the θ direction. As shown in FIG. 73A, when the stage 140 is rotated, the posture of the measuring object S on the stage 140 changes.

また、図73(b)に示すように、測定対象物Sの姿勢の変化に追従して表示部400に表示される測定対象物Sの画像上の測定困難領域が更新される。図73(b)の測定対象物Sの姿勢においては、点P2,P3は測定困難領域に含まれない。しかしながら、点P1が測定困難領域に含まれる。   Further, as shown in FIG. 73B, the measurement difficulty region on the image of the measurement object S displayed on the display unit 400 is updated following the change in the posture of the measurement object S. In the posture of the measuring object S in FIG. 73 (b), the points P2 and P3 are not included in the measurement difficulty region. However, the point P1 is included in the measurement difficulty region.

使用者は、ステージ操作部145をさらに操作することにより、測定対象物Sの姿勢をさらに調整することができる。図74(a)は、図73(a)のステージ140をθ方向にさらに45度回転された状態を示す図である。図74(a)に示すように、ステージ140が回転されることにより、ステージ140上の測定対象物Sの姿勢が変化する。   The user can further adjust the posture of the measuring object S by further operating the stage operation unit 145. FIG. 74A is a diagram showing a state in which the stage 140 of FIG. 73A is further rotated 45 degrees in the θ direction. As shown in FIG. 74A, when the stage 140 is rotated, the posture of the measuring object S on the stage 140 changes.

また、図74(b)に示すように、測定対象物Sの姿勢の変化に追従して表示部400に表示される測定対象物Sの画像上の測定困難領域が更新される。図74(b)の測定対象物Sの姿勢においては、点P1〜P3は測定困難領域に含まれない。このように、使用者は、両方の投光部110A,110Bから測定対象物Sに調整光を照射することにより、点P1〜P3が測定困難領域に含まれないように測定対象物Sの姿勢を調整することができる。   Further, as shown in FIG. 74 (b), the measurement difficulty region on the image of the measurement object S displayed on the display unit 400 is updated following the change in the posture of the measurement object S. In the posture of the measuring object S in FIG. 74 (b), the points P1 to P3 are not included in the measurement difficulty region. In this way, the user irradiates the measuring object S with the adjusting light from both the light projecting units 110A and 110B, so that the posture of the measuring object S is not included in the measurement difficulty region. Can be adjusted.

(4)姿勢調整の第1の補助機能に基づく姿勢調整の手順
図75および図76は、姿勢調整の第1の補助機能に基づく姿勢調整の手順を示すフローチャートである。以下、図1、図2、図75および図76を参照しながら姿勢調整の第1の補助機能に基づく姿勢調整の手順を説明する。CPU210は、使用者により調整光の照射が指示されたか否かを判定する(ステップS61)。使用者は、例えば第2の調整における図27のステップS22において、CPU210に調整光の照射を指示することができる。
(4) Posture Adjustment Procedure Based on First Auxiliary Function of Posture Adjustment FIGS. 75 and 76 are flowcharts showing the posture adjustment procedure based on the first auxiliary function of posture adjustment. Hereinafter, the procedure of posture adjustment based on the first auxiliary function of posture adjustment will be described with reference to FIGS. 1, 2, 75, and 76. FIG. The CPU 210 determines whether or not the user has instructed irradiation of the adjustment light (step S61). For example, in step S22 of FIG. 27 in the second adjustment, the user can instruct the CPU 210 to irradiate the adjustment light.

ステップS61において、調整光の照射が指示されていない場合、CPU210は調整光の照射が指示されるまで待機する。一方、ステップS61において、調整光の照射が指示された場合、CPU210は投光部110から測定対象物Sに調整光を照射する(ステップS62)。ここで、CPU210は、使用者の指示に基づいて投光部110A,110Bの一方または両方から測定対象物Sに調整光を照射することができる。   In step S61, when the adjustment light irradiation is not instructed, the CPU 210 waits until the adjustment light irradiation is instructed. On the other hand, when the adjustment light is instructed in step S61, the CPU 210 irradiates the measurement object S with the adjustment light from the light projecting unit 110 (step S62). Here, the CPU 210 can irradiate the measuring object S with the adjustment light from one or both of the light projecting units 110A and 110B based on a user instruction.

次に、CPU210は、調整光が照射された測定対象物Sの画像を表示部400に表示させる(ステップS63)。この状態で、CPU210は、使用者により測定困難領域の推定が指示されたか否かを判定する(ステップS64)。ステップS64において、測定困難領域の推定が指示されていない場合、CPU210は、ステップS67の処理に進む。   Next, the CPU 210 displays an image of the measuring object S irradiated with the adjustment light on the display unit 400 (step S63). In this state, the CPU 210 determines whether or not the user has instructed estimation of the measurement difficulty region (step S64). If the estimation of the difficult measurement area is not instructed in step S64, the CPU 210 proceeds to the process of step S67.

一方、ステップS64において、測定困難領域の推定が指示された場合、CPU210は測定困難領域を推定する(ステップS65)。また、CPU210は、推定した測定困難領域を測定対象物Sの画像に重畳して表示部400に表示する(ステップS66)。   On the other hand, when the estimation of the measurement difficulty region is instructed in step S64, the CPU 210 estimates the measurement difficulty region (step S65). Further, the CPU 210 superimposes the estimated measurement difficulty region on the image of the measurement object S and displays it on the display unit 400 (step S66).

その後、CPU210は、使用者の指示に基づいて測定対象物Sの姿勢が適切であるか否かを判定する(ステップS67)。使用者は、測定対象物Sの姿勢が適切であるか否かをCPU210に指示することができる。   Thereafter, the CPU 210 determines whether or not the posture of the measuring object S is appropriate based on a user instruction (step S67). The user can instruct the CPU 210 whether or not the posture of the measuring object S is appropriate.

ステップS67において、測定対象物Sの姿勢が適切でない場合、CPU210は、使用者による測定対象物Sの姿勢の調整を受け付ける(ステップS68)。その間、使用者は、測定対象物Sの姿勢を調整することができる。その後、CPU210はステップS67に戻る。一方、ステップS67において、測定対象物Sの姿勢が適切である場合、使用者は、測定対象物Sの姿勢が適切であることをCPU210に指示する。これにより、姿勢調整の第1の補助機能に基づく姿勢調整の手順が終了する。   In step S67, when the posture of the measuring object S is not appropriate, the CPU 210 accepts adjustment of the posture of the measuring object S by the user (step S68). Meanwhile, the user can adjust the posture of the measuring object S. Thereafter, the CPU 210 returns to step S67. On the other hand, when the posture of the measuring object S is appropriate in step S67, the user instructs the CPU 210 that the posture of the measuring object S is appropriate. This completes the posture adjustment procedure based on the first auxiliary function of posture adjustment.

なお、使用者は、ステップS64において測定困難領域の推定を指示しなかった場合、測定対象物Sにおいて影が発生する領域、多重反射によりパターンのコントラストの低下が発生する領域およびパターンの間隔が過密になっている領域に基づいて測定困難領域を判断する。測定対象物Sの測定位置が判断された測定困難領域にある場合は測定対象物Sの姿勢は不適切となり、測定対象物Sの測定位置が判断された測定困難領域にない場合は測定対象物Sの姿勢は適切となる。その後、使用者は、ステップS67において、測定対象物Sの姿勢が適切であるか否かをCPU210に指示する。   If the user has not instructed the estimation of the difficult measurement area in step S64, the area where the shadow is generated in the measurement object S, the area where the contrast of the pattern is reduced due to multiple reflection, and the pattern interval are too dense. The measurement difficult region is determined based on the region that is. When the measurement position of the measurement object S is in the determined measurement difficulty area, the posture of the measurement object S is inappropriate, and when the measurement position of the measurement object S is not in the determined measurement difficulty area, the measurement object is measured. The posture of S is appropriate. Thereafter, in step S67, the user instructs the CPU 210 whether or not the posture of the measuring object S is appropriate.

一方、使用者は、ステップS64において測定困難領域の推定を指示した場合、ステップS66において測定困難領域が表示部400に表示される。測定対象物Sの測定位置が表示された測定困難領域にある場合は測定対象物Sの姿勢は不適切となり、測定対象物Sの測定位置が推定された測定困難領域にない場合は測定対象物Sの姿勢は適切となる。その後、使用者は、ステップS67において、測定対象物Sの姿勢が適切であるか否かをCPU210に指示する。   On the other hand, when the user instructs the estimation of the measurement difficulty region in step S64, the measurement difficulty region is displayed on the display unit 400 in step S66. When the measurement position of the measurement object S is in the displayed measurement difficulty area, the posture of the measurement object S is inappropriate, and when the measurement position of the measurement object S is not in the estimated measurement difficulty area, the measurement object is measured. The posture of S is appropriate. Thereafter, in step S67, the user instructs the CPU 210 whether or not the posture of the measuring object S is appropriate.

ステップS67において、CPU210は、使用者の指示に基づいて測定対象物Sが姿勢は適切であるか否かを判定するが、これに限定されない。使用者により予めROI(関心領域)が設定されている場合には、CPU210は、ROIに基づいて測定対象物Sの姿勢が適切であるか否かを判定してもよい。   In step S67, the CPU 210 determines whether or not the posture of the measurement object S is appropriate based on an instruction from the user, but is not limited thereto. When the ROI (region of interest) is set in advance by the user, the CPU 210 may determine whether or not the posture of the measurement object S is appropriate based on the ROI.

図77は、ROIが設定された表示部400の表示の一例を示す図である。使用者は図1のPC200の操作部250を操作して、図77(a),(b)に示すように、ROIとして測定位置を示す測定位置指定枠MFを表示部400の画面上に設定することができる。また、ステップS64において測定困難領域の推定が指示された場合、ステップS66において測定困難領域URが表示部400に表示される。   FIG. 77 is a diagram illustrating an example of display on the display unit 400 in which the ROI is set. The user operates the operation unit 250 of the PC 200 in FIG. 1 to set a measurement position designation frame MF indicating a measurement position as an ROI on the screen of the display unit 400 as shown in FIGS. 77 (a) and 77 (b). can do. In addition, when the estimation of the difficult measurement area is instructed in step S64, the difficult measurement area UR is displayed on the display unit 400 in step S66.

図77(a)の例においては、測定位置指定枠MFが測定困難領域URと重複していない。この場合、ステップS67において、CPU210は測定対象物Sの姿勢が適切であると判定する。一方、図77(b)の例においては、測定位置指定枠MFが測定困難領域URと重複している。この場合、ステップS67において、CPU210は測定対象物Sの姿勢が適切でないと判定する。なお、測定対象物Sの姿勢が適切でないと判定された場合、ステップS68において、CPU210は、図1のステージ駆動部146を駆動することにより、使用者によらずに自動で測定対象物Sの姿勢が適切になるように測定対象物Sの姿勢を調整してもよい。   In the example of FIG. 77A, the measurement position designation frame MF does not overlap with the measurement difficulty region UR. In this case, in step S67, the CPU 210 determines that the posture of the measuring object S is appropriate. On the other hand, in the example of FIG. 77 (b), the measurement position designation frame MF overlaps the measurement difficulty region UR. In this case, in step S67, the CPU 210 determines that the posture of the measuring object S is not appropriate. When it is determined that the posture of the measurement object S is not appropriate, in step S68, the CPU 210 automatically drives the measurement object S without depending on the user by driving the stage driving unit 146 of FIG. You may adjust the attitude | position of the measuring object S so that an attitude | position may become suitable.

(5)効果
本実施の形態に係る形状測定装置500においては、形状測定前に、投光部110により調整光が測定対象物Sに照射される。調整光のパターンは、形状測定処理において測定対象物Sに照射される測定光のパターンとは異なる。これにより、表示部400に表示される測定対象物Sの画像が調整光のパターンとともに表示される。そのため、使用者は、影が発生する部分または光の多重反射が発生する部分等の測定困難領域を認識しやすくなる。使用者は、測定対象物Sの測定すべき位置が測定困難領域に含まれている場合には、測定対象物Sの形状測定処理前に、測定対象物Sの姿勢を形状測定に適切な状態に容易に調整することができる。
(5) Effect In the shape measuring apparatus 500 according to the present embodiment, the measuring object S is irradiated with the adjustment light by the light projecting unit 110 before the shape measurement. The pattern of the adjustment light is different from the pattern of the measurement light irradiated on the measurement object S in the shape measurement process. Thereby, the image of the measuring object S displayed on the display unit 400 is displayed together with the pattern of the adjustment light. Therefore, the user can easily recognize a measurement difficult region such as a portion where a shadow occurs or a portion where multiple reflection of light occurs. When the position where the measurement object S is to be measured is included in the measurement difficulty region, the user can make the posture of the measurement object S suitable for shape measurement before the shape measurement process of the measurement object S. Can be adjusted easily.

また、本実施の形態に係る形状測定装置500においては、測定対象物Sへの調整光の照射が一定時間ごとに行われ、測定対象物Sに照射される調整光に基づいて測定困難領域が一定時間ごとに順次推定される。表示部400に表示される測定対象物Sの画像上の測定困難領域が順次更新される。   Moreover, in the shape measuring apparatus 500 according to the present embodiment, the measurement target S is irradiated with the adjustment light at regular intervals, and the measurement difficult region is based on the adjustment light irradiated on the measurement target S. Estimated sequentially at regular intervals. The measurement difficulty region on the image of the measuring object S displayed on the display unit 400 is sequentially updated.

そのため、使用者がステージ操作部145を操作して測定対象物Sの姿勢を調整した場合、測定対象物Sの姿勢の変化に追従して表示部400に表示される測定困難領域が更新される。これにより、使用者は、表示部400に表示される測定困難領域を確認しながら測定対象物Sの姿勢を調整することができる。その結果、測定対象物Sの形状測定処理の前に、測定対象物Sの姿勢を形状測定に適切な状態に容易に調整することができる。   Therefore, when the user operates the stage operation unit 145 to adjust the posture of the measurement target S, the measurement difficulty region displayed on the display unit 400 is updated following the change in the posture of the measurement target S. . Accordingly, the user can adjust the posture of the measurement object S while confirming the measurement difficulty region displayed on the display unit 400. As a result, before the shape measuring process of the measuring object S, the posture of the measuring object S can be easily adjusted to a state suitable for the shape measurement.

[9]姿勢調整の第2の補助機能
(1)姿勢調整の第2の補助機能の例
以下、姿勢調整の第1の補助機能とは異なる姿勢調整の第2の補助機能について説明する。姿勢調整の第2の補助機能を実行した状態において図30〜図32の形状測定処理が実行された場合、図1のCPU210は、主立体形状データを生成するとともに、主立体形状データに基づいて測定困難領域を判定する。この場合、形状測定処理において、測定対象物Sの高さを示す主立体形状データが生成されなかった領域が測定困難領域と判定される。また、生成された主立体形状データの変化が多重反射により得られた主立体形状データの変化とみなされる領域が測定困難領域と判定される。判定された測定困難領域は、測定対象物Sの画像に重畳して表示される。
[9] Second Auxiliary Function for Posture Adjustment (1) Example of Second Auxiliary Function for Posture Adjustment Hereinafter, a second auxiliary function for posture adjustment different from the first auxiliary function for posture adjustment will be described. When the shape measurement processing of FIGS. 30 to 32 is executed in the state where the second auxiliary function of posture adjustment is executed, the CPU 210 of FIG. 1 generates main stereoscopic shape data and also based on the main stereoscopic shape data. Determine difficult measurement area. In this case, in the shape measurement process, the region in which the main stereoscopic shape data indicating the height of the measurement object S has not been generated is determined as the measurement difficulty region. Further, a region in which the generated change in the main stereoscopic shape data is regarded as the change in the main stereoscopic shape data obtained by the multiple reflection is determined as the measurement difficulty region. The determined measurement difficulty region is displayed superimposed on the image of the measurement object S.

図78は、測定困難領域を有する測定対象物Sの画像の一例を示す図である。図78(a)は、図2の一方の投光部110Aから測定光が照射された状態で図1の受光部120により撮像された測定対象物Sの画像を示す。図78(a)に示すように、測定対象物Sの一部に影が発生している。しかしながら、測定対象物Sの一部に影が発生することは自然現象であり、影が発生していても、使用者がそれに気づかないことがある。   FIG. 78 is a diagram illustrating an example of an image of the measuring object S having a measurement difficulty region. FIG. 78A shows an image of the measuring object S captured by the light receiving unit 120 in FIG. 1 in a state where the measurement light is irradiated from one light projecting unit 110A in FIG. As shown in FIG. 78 (a), a shadow is generated on a part of the measuring object S. However, the occurrence of a shadow on a part of the measurement object S is a natural phenomenon, and even if a shadow is generated, the user may not notice it.

図78(b)は、図78(a)の測定対象物Sに対する姿勢調整の第2の補助機能において判定された測定対象物Sの測定困難領域を示す。図78(b)に示すように、推定された測定困難領域は測定対象物Sの画像に重畳して表示される。図78(b)の例においては、測定困難領域はハッチングパターンにより強調表示されている。これにより、使用者は測定困難領域を確実に認識することができる。   FIG. 78B shows a measurement difficulty region of the measurement object S determined in the second auxiliary function of posture adjustment with respect to the measurement object S of FIG. As shown in FIG. 78 (b), the estimated measurement difficulty region is displayed superimposed on the image of the measuring object S. In the example of FIG. 78 (b), the measurement difficulty region is highlighted with a hatching pattern. Thereby, the user can recognize a measurement difficult area reliably.

図79は、測定困難領域を有する測定対象物Sの画像の他の例を示す図である。図79(a)は、図1の照明光出力部130から照明光が照射された状態で図1の受光部120により撮像された測定対象物Sの画像を示す。図79(a)に示すように、照明光出力部130からの照明光によっては、測定対象物Sにほとんど影が発生しない。したがって、使用者は、測定困難領域を認識することができない。   FIG. 79 is a diagram illustrating another example of an image of the measuring object S having a measurement difficulty region. FIG. 79A shows an image of the measuring object S captured by the light receiving unit 120 in FIG. 1 in a state where illumination light is irradiated from the illumination light output unit 130 in FIG. As shown in FIG. 79 (a), almost no shadow is generated on the measuring object S due to the illumination light from the illumination light output unit. Therefore, the user cannot recognize the measurement difficult region.

図79(b)は、図79(a)の測定対象物Sに対する姿勢調整の第2の補助機能において判定された測定対象物Sの測定困難領域を示す。図79(b)に示すように、推定された測定困難領域は、照明光を用いて撮像された測定対象物Sの画像に重畳して表示することも可能である。図79(b)の例においては、測定困難領域はハッチングパターンにより強調表示されている。   FIG. 79B shows a measurement difficulty region of the measurement object S determined by the second auxiliary function of posture adjustment with respect to the measurement object S of FIG. 79A. As shown in FIG. 79 (b), the estimated measurement difficulty region can be displayed by being superimposed on the image of the measuring object S imaged using illumination light. In the example of FIG. 79 (b), the measurement difficulty region is highlighted by a hatching pattern.

図80は、測定困難領域を有する測定対象物Sの画像のさらに他の例を示す図である。図80(a)は、図2の投光部110A,110Bの両方から測定光が照射された状態で図1の受光部120により撮像された測定対象物Sの画像を示す。図80(a)に示すように、投光部110A,110Bの両方から測定光を測定対象物Sに照射した場合、一方の投光部110Aから測定光を測定対象物Sに照射する場合に比べて、発生する影Ssが減少する。   FIG. 80 is a diagram illustrating still another example of the image of the measuring object S having the measurement difficulty region. FIG. 80A shows an image of the measurement object S captured by the light receiving unit 120 in FIG. 1 in a state where measurement light is irradiated from both the light projecting units 110A and 110B in FIG. As shown in FIG. 80A, when the measurement object S is irradiated with the measurement light from both of the light projecting units 110A and 110B, the measurement object S is irradiated with the measurement light from one light projecting unit 110A. In comparison, the generated shadow Ss is reduced.

図80(b)は、図80(a)の測定対象物Sに対する姿勢調整の第2の補助機能において判定された測定対象物Sの測定困難領域を示す。図80(b)に示すように、推定された測定困難領域は、一方および他方の測定光を用いて撮像された測定対象物Sの画像に重畳して表示することも可能である。図80(b)の例においては、測定困難領域はハッチングパターンにより強調表示されている。   FIG. 80B shows a measurement difficulty region of the measurement object S determined in the second auxiliary function of posture adjustment with respect to the measurement object S of FIG. As shown in FIG. 80 (b), the estimated measurement difficulty region can be displayed superimposed on the image of the measuring object S imaged using one and the other measurement light. In the example of FIG. 80 (b), the measurement difficulty region is highlighted with a hatching pattern.

図81は、測定困難領域を有する測定対象物Sの画像のさらに他の例を示す図である。図81(a)は、主立体形状データに基づく測定対象物Sの立体形状の画像を示す。図81(b)は、図81(a)の測定対象物Sに対する姿勢調整の第2の補助機能において判定された測定対象物Sの測定困難領域を示す。図81(b)に示すように、推定された測定困難領域は、測定対象物Sの立体形状の画像に重畳して表示することも可能である。図81(b)の例においては、測定困難領域はハッチングパターンにより強調表示されている。   FIG. 81 is a diagram illustrating still another example of the image of the measuring object S having the measurement difficulty region. FIG. 81A shows a three-dimensional image of the measuring object S based on the main three-dimensional shape data. FIG. 81 (b) shows a measurement difficulty region of the measuring object S determined in the second auxiliary function of posture adjustment with respect to the measuring object S of FIG. 81 (a). As shown in FIG. 81 (b), the estimated measurement difficulty region can be displayed by being superimposed on the three-dimensional image of the measurement object S. In the example of FIG. 81 (b), the measurement difficulty region is highlighted with a hatching pattern.

投光部110A,110Bの両方から測定対象物Sに測定光が照射された場合に生成される主立体形状データの不良部分は、投光部110A,110Bの一方から測定対象物Sに測定光が照射された場合に生成される主立体形状データの不良部分に比べて小さい。すなわち、投光部110A,110Bの両方から測定対象物Sにそれぞれ測定光が照射されることにより、投光部110A,110Bの一方から測定光が測定対象物Sに照射される場合に比べて測定困難領域を減少させることができる。   A defective portion of the main stereoscopic shape data generated when the measurement object S is irradiated with the measurement light S from both the light projecting units 110A and 110B is measured light from one of the light projection units 110A and 110B to the measurement object S. Is smaller than the defective portion of the main stereoscopic shape data generated when. That is, the measurement object S is irradiated with the measurement light from both the light projecting units 110A and 110B, so that the measurement light S is irradiated with the measurement light from one of the light projection units 110A and 110B. The difficult measurement area can be reduced.

投光部110A,110Bの両方から測定対象物Sに測定光が照射された場合に生成された合成立体形状データの不良部分が判定され、判定された不良部分を識別可能に測定対象物Sの画像が表示部400に表示される。これにより、使用者は、投光部110A,110Bの両方から測定光を測定対象物Sに照射した場合の測定困難領域を認識することができる。その結果、次の形状測定処理を行う前に、測定対象物Sの姿勢を形状測定に適切な状態に容易かつ正確に調整することができる。   When the measurement object S is irradiated with the measurement light from both of the light projecting units 110A and 110B, the defective portion of the composite solid shape data generated is determined, and the determined defective portion can be identified. An image is displayed on the display unit 400. Thereby, the user can recognize the measurement difficult region when the measurement object S is irradiated with the measurement light from both the light projecting units 110A and 110B. As a result, the posture of the measuring object S can be easily and accurately adjusted to a state suitable for shape measurement before performing the next shape measurement process.

主立体形状データの生成が一定時間ごとに行われてもよい。この場合、CPU210は、生成された主立体形状データに基づいて測定困難領域を一定時間ごとに順次判定する。この構成によれば、測定対象物の姿勢が変化した場合、測定対象物Sの姿勢の変化に追従して表示部400に表示される測定対象物Sの画像上の測定困難領域が順次更新される。   The main stereoscopic shape data may be generated at regular intervals. In this case, the CPU 210 sequentially determines difficult measurement areas at regular intervals based on the generated main stereoscopic shape data. According to this configuration, when the posture of the measurement object changes, the measurement difficulty region on the image of the measurement object S displayed on the display unit 400 is sequentially updated following the change in the posture of the measurement object S. The

(2)姿勢調整の第2の補助機能に基づく姿勢調整の手順
図82および図83は、姿勢調整の第2の補助機能に基づく姿勢調整の手順を示すフローチャートである。以下、図1、図2、図82および図83を参照しながら姿勢調整の第2の補助機能に基づく姿勢調整の手順を説明する。姿勢調整の第2の補助機能に基づく姿勢調整の手順は、図30〜図32の形状測定処理に含まれる。ステップS41〜S45の処理は、図30〜図32の形状測定処理のステップS41〜S45と同様である。
(2) Posture Adjustment Procedure Based on Posture Adjustment Second Auxiliary Function FIGS. 82 and 83 are flowcharts showing the posture adjustment procedure based on the second posture adjustment function. Hereinafter, the procedure of posture adjustment based on the second auxiliary function of posture adjustment will be described with reference to FIGS. 1, 2, 82, and 83. FIG. The procedure of posture adjustment based on the second auxiliary function of posture adjustment is included in the shape measurement process of FIGS. The processing of steps S41 to S45 is the same as steps S41 to S45 of the shape measurement processing of FIGS.

ステップS45において、測定位置の立体形状が表示されていると判定された場合、CPU210は、測定困難領域を判定する(ステップS71)。また、CPU210は、判定した測定困難領域を測定対象物Sの画像に重畳して表示部400に表示する(ステップS72)。   When it is determined in step S45 that the three-dimensional shape of the measurement position is displayed, the CPU 210 determines a measurement difficult region (step S71). Further, the CPU 210 superimposes the determined measurement difficulty region on the image of the measurement object S and displays it on the display unit 400 (step S72).

ここで、表示部400に表示されるSの画像は、一方の測定光を用いて撮像された測定対象物Sの画像であってもよいし、一方および他方の測定光を用いて撮像された測定対象物Sの画像であってもよい。あるいは、表示部400に表示される測定対象物Sの画像は、照明光を用いて撮像された測定対象物Sの画像であってもよいし、測定対象物Sの立体形状の画像であってもよい。   Here, the image of S displayed on the display unit 400 may be an image of the measuring object S captured using one measurement light, or captured using one and the other measurement light. It may be an image of the measuring object S. Alternatively, the image of the measurement object S displayed on the display unit 400 may be an image of the measurement object S captured using illumination light, or may be a three-dimensional image of the measurement object S. Also good.

その後、CPU210は、使用者の指示に基づいて測定対象物Sの姿勢が適切であるか否かを判定する(ステップS73)。使用者は、測定対象物Sの姿勢が適切であるか否かをCPU210に指示することができる。   Thereafter, the CPU 210 determines whether or not the posture of the measuring object S is appropriate based on a user instruction (step S73). The user can instruct the CPU 210 whether or not the posture of the measuring object S is appropriate.

ステップS73において、測定対象物Sの姿勢が適切でない場合、CPU210は、ステップS41の処理に戻る。これにより、CPU210は形状測定処理の開始が指示されるまで待機するとともに、使用者は形状測定処理の開始を再び指示するまで測定対象物Sの姿勢が適切になるように測定対象物Sの姿勢の調整を行うことができる。   In step S73, when the posture of the measuring object S is not appropriate, the CPU 210 returns to the process of step S41. Thereby, the CPU 210 stands by until the start of the shape measurement process is instructed, and the posture of the measurement object S is adjusted so that the posture of the measurement object S becomes appropriate until the user instructs the start of the shape measurement process again. Adjustments can be made.

一方、ステップS73において、測定対象物Sの姿勢が適切である場合、使用者は、測定対象物Sの姿勢が適切であることをCPU210に指示する。その後、CPU210はステップS46の処理に進む。ステップS46〜S57の処理は、図30〜図32の形状測定処理のステップS46〜S57と同様である。   On the other hand, when the posture of the measuring object S is appropriate in step S73, the user instructs the CPU 210 that the posture of the measuring object S is appropriate. Thereafter, the CPU 210 proceeds to the process of step S46. The processing of steps S46 to S57 is the same as steps S46 to S57 of the shape measurement processing of FIGS.

これにより、CPU210は、使用者の指示に基づいて測定位置の計測または解析を実行する(ステップS57)。これにより、形状測定処理を終了する。このように、姿勢調整の第2の補助機能に基づく姿勢調整の手順は、図30〜図32の形状測定処理に含まれる。ステップS71〜S73の処理により姿勢調整の第2の補助機能に基づく姿勢調整の手順が構成される。   Thereby, CPU210 performs measurement or analysis of a measurement position based on a user's directions (Step S57). This completes the shape measurement process. As described above, the posture adjustment procedure based on the second auxiliary function of posture adjustment is included in the shape measurement processing of FIGS. A posture adjustment procedure based on the second auxiliary function of posture adjustment is configured by the processing of steps S71 to S73.

(3)効果
本実施の形態に係る形状測定装置500においては、測定困難領域に対応する主立体形状データの部分が、データ欠落部分またはデータ不正確部分等の不良部分として判定される。また、測定対象物Sが受光部120により撮像され、判定された不良部分を識別可能に測定対象物Sの画像が表示部400に表示される。
(3) Effect In the shape measuring apparatus 500 according to the present embodiment, the main stereoscopic shape data portion corresponding to the measurement difficulty region is determined as a defective portion such as a data missing portion or a data inaccurate portion. Further, the measuring object S is imaged by the light receiving unit 120, and an image of the measuring object S is displayed on the display unit 400 so that the determined defective portion can be identified.

それにより、使用者は、測定困難領域を正確に認識することができる。したがって、次の形状測定処理を行う前に、測定対象物Sの姿勢を形状測定に適切な状態に容易かつ正確に調整することができる。また、測定対象物Sの測定位置が測定困難領域に含まれていない場合には、使用者は、形状測定処理を再度行う必要がないことを認識することができる。そのため、測定対象物Sの形状が単純である場合には、効率よくかつ短時間で測定対象物Sの形状を測定することができる。   Thereby, the user can recognize the measurement difficult region accurately. Therefore, before performing the next shape measurement process, the posture of the measuring object S can be easily and accurately adjusted to a state suitable for shape measurement. When the measurement position of the measurement object S is not included in the measurement difficulty region, the user can recognize that it is not necessary to perform the shape measurement process again. Therefore, when the shape of the measuring object S is simple, the shape of the measuring object S can be measured efficiently and in a short time.

また、本実施の形態に係る形状測定装置500においては、主立体形状データの生成が一定時間ごとに行われ、生成された主立体形状データに基づいて測定困難領域が一定時間ごとに順次判定される。表示部400に表示される測定対象物Sの画像上の測定困難領域が順次更新される。   Further, in shape measuring apparatus 500 according to the present embodiment, main stereoscopic shape data is generated at regular intervals, and difficult measurement areas are sequentially determined at regular intervals based on the generated main stereoscopic shape data. The The measurement difficulty region on the image of the measuring object S displayed on the display unit 400 is sequentially updated.

そのため、使用者がステージ操作部145を操作して測定対象物Sの姿勢を調整した場合、測定対象物Sの姿勢の変化に追従して表示部400に表示される測定困難領域が更新される。これにより、使用者は、表示部400に表示される測定困難領域を確認しながら測定対象物Sの姿勢を調整することができる。その結果、測定対象物Sの形状測定処理の前に、測定対象物Sの姿勢を形状測定に適切な状態に容易に調整することができる。   Therefore, when the user operates the stage operation unit 145 to adjust the posture of the measurement target S, the measurement difficulty region displayed on the display unit 400 is updated following the change in the posture of the measurement target S. . Accordingly, the user can adjust the posture of the measurement object S while confirming the measurement difficulty region displayed on the display unit 400. As a result, before the shape measuring process of the measuring object S, the posture of the measuring object S can be easily adjusted to a state suitable for the shape measurement.

[10]姿勢調整の第3の補助機能
(1)姿勢調整の第3の補助機能の第1の例
以下、姿勢調整の第1または第2の補助機能とは異なる姿勢調整の第3の補助機能について説明する。姿勢調整の第3の補助機能に基づく姿勢調整は、図23の形状測定の準備と図30〜図32の形状測定処理との間に行われる。
[10] Third Auxiliary Function of Posture Adjustment (1) First Example of Third Auxiliary Function of Posture Adjustment Hereinafter, a third auxiliary of posture adjustment different from the first or second auxiliary function of posture adjustment The function will be described. Posture adjustment based on the third auxiliary function of posture adjustment is performed between the shape measurement preparation of FIG. 23 and the shape measurement processing of FIGS. 30 to 32.

図23の形状測定の準備の後、姿勢調整の第3の補助機能の第1の例が実行された場合、図1のCPU210は、投光部110から測定対象物Sにコード状測定光(図11参照)を複数回照射し、主立体形状データを生成する。また、CPU210は、測定対象物Sの主立体形状データを生成するとともに、姿勢調整の第2の補助機能と同様に、主立体形状データに基づいて測定困難領域を判定する。判定された測定困難領域は、姿勢調整の第2の補助機能の場合と同様に、測定対象物Sの画像に重畳して表示される。   When the first example of the third auxiliary function of posture adjustment is executed after the preparation for the shape measurement in FIG. 23, the CPU 210 in FIG. 11) is generated a plurality of times to generate main three-dimensional shape data. Further, the CPU 210 generates the main stereoscopic shape data of the measurement object S and determines the measurement difficulty region based on the main stereoscopic shape data, similarly to the second auxiliary function of posture adjustment. The determined measurement difficulty region is displayed so as to be superimposed on the image of the measurement object S, as in the case of the second auxiliary function of posture adjustment.

測定対象物Sの姿勢が適切でない場合、測定対象物Sの姿勢調整が行われた後、再び姿勢調整の第3の補助機能の第1の例が実行される。測定対象物Sの姿勢が適切である場合、図30〜図32の形状測定処理が実行される。形状測定処理においては、CPU210は、投光部110から測定対象物Sに縞状測定光を複数回照射した後にコード状測定光を複数回照射し、測定対象物Sの主立体形状データを生成する。   When the posture of the measuring object S is not appropriate, after the posture adjustment of the measuring object S is performed, the first example of the third auxiliary function of the posture adjustment is executed again. When the posture of the measurement object S is appropriate, the shape measurement process of FIGS. 30 to 32 is executed. In the shape measurement process, the CPU 210 generates the main three-dimensional shape data of the measurement object S by irradiating the measurement object S from the light projecting unit 110 a plurality of times with the striped measurement light and then irradiating the code measurement light a plurality of times. To do.

このように、姿勢調整の第3の補助機能における主立体形状データは、測定困難領域を判定するために生成される。以下、姿勢調整の第3の補助機能における測定対象物Sの形状測定を簡易測定と呼ぶ。簡易測定における主立体形状データの分解能は、形状測定処理における主立体形状データの分解能よりも低くてもよい。   As described above, the main stereoscopic shape data in the third auxiliary function of posture adjustment is generated to determine the measurement difficulty region. Hereinafter, the shape measurement of the measuring object S in the third auxiliary function of posture adjustment is referred to as simple measurement. The resolution of the main stereoscopic shape data in the simple measurement may be lower than the resolution of the main stereoscopic shape data in the shape measurement process.

上記の姿勢調整の第3の補助機能の第1の例における簡易測定によれば、簡易測定における主立体形状データの精度を形状測定処理における主立体形状データの精度よりも低くすることができる。これにより、主立体形状データの生成のために必要なパターン画像の取得回数が低減され、CPU210の処理時間が短縮されるので、簡易測定における主立体形状データの不良部分を短時間で判定することができる。すなわち、測定困難領域を高速に判定することができる。したがって、測定対象物Sの形状が複雑であるため、測定対象物Sの姿勢調整を繰り返す必要がある場合などに、測定対象物Sの姿勢を短時間で適切に調整することができる。   According to the simple measurement in the first example of the third auxiliary function of posture adjustment described above, the accuracy of the main stereoscopic shape data in the simple measurement can be made lower than the accuracy of the main stereoscopic shape data in the shape measurement process. As a result, the number of pattern image acquisitions necessary for generating the main stereoscopic shape data is reduced, and the processing time of the CPU 210 is shortened, so that a defective portion of the main stereoscopic shape data in the simple measurement can be determined in a short time. Can do. That is, the measurement difficult region can be determined at high speed. Therefore, since the shape of the measuring object S is complicated, the posture of the measuring object S can be appropriately adjusted in a short time when the posture adjustment of the measuring object S needs to be repeated.

上記のように、簡易測定においては、コード状測定光のみが測定対象物Sに照射され、縞状測定光が測定対象物Sに照射されずに測定対象物Sの粗い形状が測定され、形状測定処理においては、コード状測定光および縞状測定光が測定対象物Sに順次照射され、測定対象物Sの形状が精密に測定される。   As described above, in the simple measurement, only the code-shaped measurement light is irradiated onto the measurement object S, and the rough shape of the measurement object S is measured without the striped measurement light being irradiated onto the measurement object S. In the measurement process, the code-shaped measurement light and the striped measurement light are sequentially irradiated onto the measurement object S, and the shape of the measurement object S is precisely measured.

なお、簡易測定におけるコード状測定光の出射回数Nは、形状測定処理におけるコード状測定光出射回数Nよりも少なくなるように設定されてもよい。例えば、簡易測定においては、Nは5に設定され、形状測定処理においては、Nは8に設定されてもよい。この場合、パターン画像の取得回数がさらに低減され、CPU210の処理時間がさらに短縮されるので、簡易測定における主立体形状データの不良部分をさらに短時間で判定することができる。   It should be noted that the number N of code-shaped measurement light emission times in the simple measurement may be set to be smaller than the number N of code-like measurement light emission times in the shape measurement process. For example, N may be set to 5 in simple measurement, and N may be set to 8 in shape measurement processing. In this case, the number of pattern image acquisitions is further reduced, and the processing time of the CPU 210 is further reduced, so that a defective portion of the main stereoscopic shape data in the simple measurement can be determined in a shorter time.

(2)姿勢調整の第3の補助機能の第2の例
図23の形状測定の準備の後、姿勢調整の第3の補助機能の第2の例が実行された場合、図1のCPU210は、投光部110から測定対象物Sに複数種類の測定光が組み合わされた測定光を照射し、測定対象物Sの主立体形状データを生成する。CPU210は、測定対象物Sの主立体形状データを生成する際に、主立体形状データに基づいて測定困難領域を判定する。判定された測定困難領域は、姿勢調整の第2の補助機能の場合と同様に、測定対象物Sの画像に重畳して表示される。
(2) Second Example of Posture Adjustment Third Auxiliary Function After the preparation of the shape measurement of FIG. 23, when the second example of the posture adjustment third auxiliary function is executed, the CPU 210 of FIG. Then, the light projecting unit 110 irradiates the measurement object S with measurement light in which a plurality of types of measurement light is combined, and generates main three-dimensional shape data of the measurement object S. When generating the main stereoscopic shape data of the measuring object S, the CPU 210 determines the measurement difficulty region based on the main stereoscopic shape data. The determined measurement difficulty region is displayed so as to be superimposed on the image of the measurement object S, as in the case of the second auxiliary function of posture adjustment.

測定対象物Sの姿勢が適切でない場合、測定対象物Sの姿勢調整が行われた後、再び姿勢調整の第3の補助機能の第2の例が実行される。測定対象物Sの姿勢が適切である場合、図30〜図32の形状測定処理が実行される。形状測定処理においては、CPU210は、投光部110から測定対象物Sに複数種類の測定光が組み合わされた測定光を照射し、測定対象物Sの主立体形状データを生成する。   When the posture of the measuring object S is not appropriate, after the posture adjustment of the measuring object S is performed, the second example of the third auxiliary function of the posture adjustment is executed again. When the posture of the measurement object S is appropriate, the shape measurement process of FIGS. 30 to 32 is executed. In the shape measurement process, the CPU 210 irradiates the measurement object S with a plurality of types of measurement light from the light projecting unit 110 to generate main three-dimensional shape data of the measurement object S.

簡易測定における測定光は、形状測定処理における測定光よりも主立体形状データを高速に生成できるように設定される。一の設定例として、例えば、簡易測定においては、投光部110から測定対象物Sにコード状測定光(図11参照)が照射されるとともに、正弦波状測定光(図8参照)が照射される。一方、形状測定処理においては、投光部110から測定対象物Sにコード状測定光が照射されるとともに、縞状測定光(図9参照)が照射される。   The measurement light in the simple measurement is set so that the main stereoscopic shape data can be generated at a higher speed than the measurement light in the shape measurement process. As one setting example, for example, in the simple measurement, the measurement light S is irradiated with the code-like measurement light (see FIG. 11) and the sinusoidal measurement light (see FIG. 8). The On the other hand, in the shape measurement process, the measurement light S is irradiated with the code-like measurement light from the light projecting unit 110 and the stripe-like measurement light (see FIG. 9).

他の設定例として、例えば、簡易測定および形状測定処理において、投光部110から測定対象物Sにコード状測定光が照射されるとともに、縞状測定光が照射される。ここで、簡易測定における縞状測定光の各明部分のX方向の幅が形状測定処理における縞状測定光の各明部分のX方向の幅よりも大きく設定される。例えば、簡易測定における縞状測定光の各明部分のX方向の幅は6単位であり、縞状測定光の各暗部分のX方向の幅は10単位である。一方、形状測定処理における縞状測定光の各明部分のX方向の幅は3単位であり、縞状測定光の各暗部分のX方向の幅は13単位である。   As another setting example, for example, in the simple measurement and shape measurement processing, the measurement light S is irradiated with the code-shaped measurement light and the striped measurement light is irradiated. Here, the width in the X direction of each bright portion of the striped measurement light in the simple measurement is set larger than the width in the X direction of each bright portion of the striped measurement light in the shape measurement process. For example, the width in the X direction of each bright portion of the striped measurement light in simple measurement is 6 units, and the width in the X direction of each dark portion of the striped measurement light is 10 units. On the other hand, the width in the X direction of each bright portion of the striped measurement light in the shape measurement process is 3 units, and the width in the X direction of each dark portion of the striped measurement light is 13 units.

さらに他の設定例として、例えば、簡易測定および形状測定処理において、投光部110から測定対象物Sにコード状測定光が照射されるとともに、縞状測定光が照射される。ここで、簡易測定における縞状測定光のX方向の移動距離が形状測定処理における縞状測定光のX方向の移動距離よりも大きく設定される。例えば、簡易測定における縞状測定光のX方向の移動距離は2単位である。一方、形状測定処理における縞状測定光のX方向の移動距離は1単位である。   As yet another setting example, for example, in the simple measurement and shape measurement processing, the measurement light S is irradiated with the code-shaped measurement light and the striped measurement light is irradiated. Here, the movement distance in the X direction of the striped measurement light in the simple measurement is set larger than the movement distance in the X direction of the striped measurement light in the shape measurement process. For example, the movement distance in the X direction of the striped measurement light in the simple measurement is 2 units. On the other hand, the moving distance in the X direction of the striped measurement light in the shape measurement process is 1 unit.

上記の姿勢調整の第3の補助機能の第2の例における簡易測定によれば、主立体形状データの生成のために必要なパターン画像の取得回数が低減され、CPU210の処理時間が短縮されるので、主立体形状データが高速に生成される。これにより、簡易測定における主立体形状データの不良部分を短時間で判定することができる。すなわち、測定困難領域を高速に判定することができる。したがって、測定対象物Sの形状が複雑であるため、測定対象物Sの姿勢調整を繰り返す必要がある場合などに、測定対象物Sの姿勢を短時間で適切に調整することができる。   According to the simple measurement in the second example of the third auxiliary function of the posture adjustment described above, the number of pattern image acquisitions necessary for generating the main stereoscopic shape data is reduced, and the processing time of the CPU 210 is shortened. Therefore, main stereoscopic shape data is generated at high speed. Thereby, the defective part of the main three-dimensional shape data in the simple measurement can be determined in a short time. That is, the measurement difficult region can be determined at high speed. Therefore, since the shape of the measuring object S is complicated, the posture of the measuring object S can be appropriately adjusted in a short time when the posture adjustment of the measuring object S needs to be repeated.

(3)姿勢調整の第3の補助機能の第3の例
図23の形状測定の準備の後、姿勢調整の第3の補助機能の第3の例が実行された場合、図1のCPU210は、投光部110から測定対象物Sに測定光を照射する。図1の制御基板150は、受光部120からの受光信号に対応する画素データの間引きを行う。
(3) Third Example of Posture Adjustment Third Auxiliary Function After the preparation for shape measurement in FIG. 23, when the third example of posture adjustment third auxiliary function is executed, the CPU 210 in FIG. Then, the measuring object S is irradiated with the measuring light from the light projecting unit 110. The control board 150 in FIG. 1 thins out pixel data corresponding to the light reception signal from the light receiving unit 120.

この場合、X方向の画素データが間引きされてもよいし、Y方向の画素データが間引きされてもよいし、X方向およびY方向の画素データが間引きされてもよい。あるいは、ビニング処理により画素データが間引きされてもよい。また、受光部120の露光時間が短縮されてもよい。これにより、受光部120のフレームレートを増加させることができるとともに、制御基板150からCPU210への画素データの転送速度を向上させることができる。   In this case, pixel data in the X direction may be thinned out, pixel data in the Y direction may be thinned out, and pixel data in the X direction and the Y direction may be thinned out. Alternatively, pixel data may be thinned out by binning processing. Further, the exposure time of the light receiving unit 120 may be shortened. As a result, the frame rate of the light receiving unit 120 can be increased, and the transfer rate of pixel data from the control board 150 to the CPU 210 can be improved.

CPU210は、間引き後の画素データに基づいて測定対象物Sの主立体形状データを生成する。また、CPU210は、主立体形状データを生成するとともに、主立体形状データに基づいて測定困難領域を判定する。判定された測定困難領域は、姿勢調整の第2の補助機能の場合と同様に、測定対象物Sの画像に重畳して表示される。   The CPU 210 generates main three-dimensional shape data of the measuring object S based on the pixel data after thinning. In addition, the CPU 210 generates main stereoscopic shape data and determines a measurement difficulty region based on the main stereoscopic shape data. The determined measurement difficulty region is displayed so as to be superimposed on the image of the measurement object S, as in the case of the second auxiliary function of posture adjustment.

測定対象物Sの姿勢が適切でない場合、測定対象物Sの姿勢調整が行われた後、再び姿勢調整の第3の補助機能の第3の例が実行される。測定対象物Sの姿勢が適切である場合、図30〜図32の形状測定処理が実行される。形状測定処理においては、CPU210は、投光部110から測定対象物Sに測定光を照射し、測定対象物Sの主立体形状データを生成する。   When the posture of the measuring object S is not appropriate, after the posture adjustment of the measuring object S is performed, the third example of the third auxiliary function of the posture adjustment is executed again. When the posture of the measurement object S is appropriate, the shape measurement process of FIGS. 30 to 32 is executed. In the shape measurement process, the CPU 210 irradiates the measurement object S with the measurement light from the light projecting unit 110 and generates main three-dimensional shape data of the measurement object S.

上記の姿勢調整の第3の補助機能の第3の例における簡易測定によれば、簡易測定における主立体形状データの精度を形状測定処理における主立体形状データの精度よりも低くすることができる。そのため、画素データが高速で転送されるので、CPU210は主立体形状データを高速に生成することができる。また、CPU210の処理時間が短縮される。これにより、簡易測定における主立体形状データの不良部分を短時間で判定することができる。すなわち、測定困難領域を高速に判定することができる。したがって、測定対象物Sの形状が複雑であるため、測定対象物Sの姿勢調整を繰り返す必要がある場合などに、測定対象物Sの姿勢を短時間で適切に調整することができる。   According to the simple measurement in the third example of the third auxiliary function of the posture adjustment described above, the accuracy of the main stereoscopic shape data in the simple measurement can be made lower than the accuracy of the main stereoscopic shape data in the shape measurement process. Therefore, since the pixel data is transferred at a high speed, the CPU 210 can generate the main stereoscopic shape data at a high speed. In addition, the processing time of the CPU 210 is shortened. Thereby, the defective part of the main three-dimensional shape data in the simple measurement can be determined in a short time. That is, the measurement difficult region can be determined at high speed. Therefore, since the shape of the measuring object S is complicated, the posture of the measuring object S can be appropriately adjusted in a short time when the posture adjustment of the measuring object S needs to be repeated.

(4)姿勢調整の第3の補助機能の第4の例
姿勢調整の第3の補助機能の第4の例においては、図77の例に示すように、使用者により予めROIが設定されている。図23の形状測定の準備の後、姿勢調整の第3の補助機能の第4の例が実行された場合、図1のCPU210は、投光部110から少なくともROIが設定された領域に対応する測定対象物Sに測定光を照射する。図1の制御基板150は、受光部120からの受光信号に対応する画素データをCPU210に転送する。
(4) Fourth Example of Third Auxiliary Function for Posture Adjustment In the fourth example of the third auxiliary function for posture adjustment, as shown in the example of FIG. 77, the ROI is set in advance by the user. Yes. When the fourth example of the third auxiliary function of posture adjustment is executed after the preparation of the shape measurement in FIG. 23, the CPU 210 in FIG. 1 corresponds to the region where at least the ROI is set from the light projecting unit 110. The measurement object S is irradiated with measurement light. The control board 150 in FIG. 1 transfers pixel data corresponding to the light reception signal from the light receiving unit 120 to the CPU 210.

この場合、測定対象物Sの全ての部分に測定光を照射して全ての部分の画像を取得する場合に比べて、転送される画素データが低減される。これにより、受光部120のフレームレートを増加させることができるとともに、制御基板150からCPU210への画素データの転送速度を向上させることができる。その結果、主立体形状データを高速に生成することができる。   In this case, the transferred pixel data is reduced as compared with the case where all the portions of the measurement object S are irradiated with the measurement light and the images of all the portions are acquired. As a result, the frame rate of the light receiving unit 120 can be increased, and the transfer rate of pixel data from the control board 150 to the CPU 210 can be improved. As a result, main stereoscopic shape data can be generated at high speed.

CPU210は、画素データに基づいて測定対象物Sの主立体形状データを生成するとともに、主立体形状データに基づいて測定困難領域を判定する。判定された測定困難領域は、姿勢調整の第2の補助機能の場合と同様に、測定対象物Sの画像に重畳して表示される。   The CPU 210 generates main stereoscopic shape data of the measurement object S based on the pixel data, and determines a difficult measurement area based on the main stereoscopic shape data. The determined measurement difficulty region is displayed so as to be superimposed on the image of the measurement object S, as in the case of the second auxiliary function of posture adjustment.

測定対象物Sの姿勢が適切でない場合、測定対象物Sの姿勢調整が行われた後、再び姿勢調整の第3の補助機能の第4の例が実行される。測定対象物Sの姿勢が適切である場合、図30〜図32の形状測定処理が実行される。形状測定処理においては、CPU210は、投光部110から測定対象物Sに測定光を照射し、測定対象物Sの主立体形状データを生成する。   When the posture of the measuring object S is not appropriate, after the posture adjustment of the measuring object S is performed, the fourth example of the third auxiliary function of the posture adjustment is executed again. When the posture of the measurement object S is appropriate, the shape measurement process of FIGS. 30 to 32 is executed. In the shape measurement process, the CPU 210 irradiates the measurement object S with the measurement light from the light projecting unit 110 and generates main three-dimensional shape data of the measurement object S.

上記の姿勢調整の第3の補助機能の第4の例における簡易測定によれば、簡易測定における主立体形状データのデータ量を形状測定処理における主立体形状データのデータ量よりも小さくすることができる。これにより、受光部120のフレームレートが向上するとともに、CPU210の処理時間が短縮される。また、主立体形状データが高速に生成されるので、簡易測定における主立体形状データのうち指定された位置に対応する測定対象物Sの部分が不良部分を含むか否かを短時間で判定することができる。すなわち、測定困難領域を高速に判定することができる。したがって、測定対象物Sの形状が複雑であるため、測定対象物Sの姿勢調整を繰り返す必要がある場合などに、測定対象物Sの姿勢を短時間で適切に調整することができる。   According to the simple measurement in the fourth example of the third auxiliary function of posture adjustment described above, the data amount of the main stereoscopic shape data in the simple measurement can be made smaller than the data amount of the main stereoscopic shape data in the shape measurement process. it can. Thereby, the frame rate of the light receiving unit 120 is improved and the processing time of the CPU 210 is shortened. Further, since the main stereoscopic shape data is generated at high speed, it is determined in a short time whether or not the portion of the measuring object S corresponding to the designated position in the main stereoscopic shape data in the simple measurement includes a defective portion. be able to. That is, the measurement difficult region can be determined at high speed. Therefore, since the shape of the measuring object S is complicated, the posture of the measuring object S can be appropriately adjusted in a short time when the posture adjustment of the measuring object S needs to be repeated.

上記の姿勢調整の第3の補助機能の第1〜第4の例は、組み合わせて実行されてもよい。この場合、主立体形状データがより高速に生成されるので、測定困難領域をより高速に判定することができる。その結果、測定対象物Sの姿勢をより短時間で適切に調整することができる。   The first to fourth examples of the third auxiliary function of posture adjustment described above may be executed in combination. In this case, since the main stereoscopic shape data is generated at a higher speed, it is possible to determine the difficult measurement area at a higher speed. As a result, the posture of the measuring object S can be appropriately adjusted in a shorter time.

また、簡易測定における主立体形状データの生成が一定時間ごとに行われてもよい。この場合、CPU210は、生成された主立体形状データに基づいて測定困難領域を一定時間ごとに順次判定する。この構成によれば、測定対象物の姿勢が変化した場合、測定対象物Sの姿勢の変化に追従して表示部400に表示される測定対象物Sの画像上の測定困難領域が順次更新される。   Further, generation of main stereoscopic shape data in simple measurement may be performed at regular intervals. In this case, the CPU 210 sequentially determines difficult measurement areas at regular intervals based on the generated main stereoscopic shape data. According to this configuration, when the posture of the measurement object changes, the measurement difficulty region on the image of the measurement object S displayed on the display unit 400 is sequentially updated following the change in the posture of the measurement object S. The

(5)姿勢調整の第3の補助機能に基づく姿勢調整の手順
図23の形状測定の準備の後、姿勢調整の第3の補助機能に基づく姿勢調整が実行される。図84は、姿勢調整の第3の補助機能に基づく姿勢調整の手順を示すフローチャートである。以下、図1、図2および図84を参照しながら姿勢調整の第3の補助機能に基づく姿勢調整の手順を説明する。使用者は、形状測定の準備の終了後に、CPU210に簡易測定の開始を指示する。CPU210は、使用者により簡易測定の開始が指示されたか否かを判定する(ステップS81)。
(5) Posture adjustment procedure based on the third auxiliary function of posture adjustment After preparation for the shape measurement in FIG. 23, posture adjustment based on the third auxiliary function of posture adjustment is executed. FIG. 84 is a flowchart showing the posture adjustment procedure based on the third auxiliary function of posture adjustment. Hereinafter, the procedure of posture adjustment based on the third auxiliary function of posture adjustment will be described with reference to FIGS. 1, 2, and 84. The user instructs the CPU 210 to start simple measurement after completion of preparation for shape measurement. The CPU 210 determines whether or not the user has instructed the start of simple measurement (step S81).

ステップS81において、簡易測定の開始が指示されていない場合、CPU210は、簡易測定の開始が指示されるまで待機する。なお、使用者は、簡易測定の開始を指示するまで形状測定の準備を行うことができる。一方、ステップS81において、簡易測定の開始が指示された場合、CPU210は、投光部110から測定対象物Sに測定光を照射し、測定対象物Sのパターン画像を取得する(ステップS82)。上述したように、簡易測定におけるパターン画像の取得は、後で行われる形状測定処理におけるパターン画像の取得よりも高速で行われる。取得されたパターン画像は、作業用メモリ230に記憶される。   If the start of simple measurement is not instructed in step S81, CPU 210 waits until the start of simple measurement is instructed. Note that the user can prepare for shape measurement until instructing the start of simple measurement. On the other hand, when the start of the simple measurement is instructed in step S81, the CPU 210 irradiates the measurement object S with the measurement light from the light projecting unit 110, and acquires a pattern image of the measurement object S (step S82). As described above, the pattern image acquisition in the simple measurement is performed at a higher speed than the pattern image acquisition in the shape measurement process performed later. The acquired pattern image is stored in the work memory 230.

次に、CPU210は、取得したパターン画像を所定の計測アルゴリズムで処理することにより、測定対象物Sの立体形状を示す主立体形状データを生成する(ステップS83)。生成された主立体形状データは、作業用メモリ230に記憶される。また、CPU210は、測定困難領域を判定するとともに(ステップS84)、判定した測定困難領域を測定対象物Sの画像に重畳して表示部400に表示する(ステップS85)。   Next, the CPU 210 generates main three-dimensional shape data indicating the three-dimensional shape of the measuring object S by processing the acquired pattern image with a predetermined measurement algorithm (step S83). The generated main stereoscopic shape data is stored in the work memory 230. In addition, the CPU 210 determines a measurement difficulty region (step S84), and displays the determined measurement difficulty region on the display unit 400 so as to be superimposed on the image of the measurement object S (step S85).

その後、CPU210は、使用者の指示に基づいて測定対象物Sの姿勢が適切であるか否かを判定する(ステップS86)。使用者は、測定対象物Sの姿勢が適切であるか否かをCPU210に指示することができる。   Thereafter, the CPU 210 determines whether or not the posture of the measurement object S is appropriate based on a user instruction (step S86). The user can instruct the CPU 210 whether or not the posture of the measuring object S is appropriate.

ステップS86において、測定対象物Sの姿勢が適切でない場合、CPU210は、ステップS81の処理に戻る。これにより、CPU210は簡易測定の開始が指示されるまで待機するとともに、使用者は簡易測定の開始を再び指示するまで測定対象物Sの姿勢が適切になるように測定対象物Sの姿勢の調整を行うことができる。   In step S86, when the posture of the measuring object S is not appropriate, the CPU 210 returns to the process of step S81. Thereby, the CPU 210 waits until the start of the simple measurement is instructed, and the user adjusts the posture of the measurement object S so that the posture of the measurement object S is appropriate until the user instructs the start of the simple measurement again. It can be performed.

一方、ステップS86において、測定対象物Sの姿勢が適切である場合、使用者は、測定対象物Sの姿勢が適切であることをCPU210に指示する。これにより、CPU210は、姿勢調整の第3の補助機能に基づく姿勢調整の手順を終了する。その後、CPU210は、図30〜図32の形状測定処理を実行する。   On the other hand, when the posture of the measuring object S is appropriate in step S86, the user instructs the CPU 210 that the posture of the measuring object S is appropriate. Thereby, the CPU 210 ends the posture adjustment procedure based on the third auxiliary function of posture adjustment. Thereafter, the CPU 210 executes the shape measurement process of FIGS.

このように、CPU210により簡易測定における主立体形状データの不良部分が判定された後でかつ投光部110により測定光が測定対象物Sに照射される前に測定対象物Sの姿勢を確実に調整することができる。これにより、測定対象物Sの形状測定処理を行う前に、測定対象物Sの姿勢を形状測定に適切な状態に容易に調整することができる。   As described above, after the CPU 210 determines the defective portion of the main stereoscopic shape data in the simple measurement and before the measurement light is irradiated to the measurement object S by the light projecting unit 110, the posture of the measurement object S is surely ensured. Can be adjusted. Thereby, before performing the shape measurement process of the measuring object S, the attitude | position of the measuring object S can be easily adjusted to a state suitable for shape measurement.

また、簡易測定においては、投光部110A,110Bの両方から測定対象物Sに測定光を照射してもよい。この場合、投光部110A,110Bの一方から測定光が測定対象物Sに照射される場合に比べて測定困難領域を減少させることができる。   Further, in the simple measurement, the measurement object S may be irradiated with the measurement light from both the light projecting units 110A and 110B. In this case, the measurement difficulty region can be reduced as compared with the case where the measuring object S is irradiated with the measuring light from one of the light projecting units 110A and 110B.

投光部110A,110Bの両方から測定対象物Sに測定光が照射された場合に生成された合成立体形状データの不良部分が判定され、判定された不良部分を識別可能に測定対象物Sの画像が表示部400に表示される。これにより、使用者は、投光部110A,110Bの両方から測定光を測定対象物Sに照射した場合の測定困難領域を認識することができる。その結果、形状測定処理を行う前に、測定対象物Sの姿勢を形状測定に適切な状態に容易かつ正確に調整することができる。   When the measurement object S is irradiated with the measurement light from both of the light projecting units 110A and 110B, the defective portion of the composite solid shape data generated is determined, and the determined defective portion can be identified. An image is displayed on the display unit 400. Thereby, the user can recognize the measurement difficult region when the measurement object S is irradiated with the measurement light from both the light projecting units 110A and 110B. As a result, the posture of the measuring object S can be easily and accurately adjusted to a state suitable for shape measurement before performing the shape measurement process.

(6)効果
本実施の形態に係る形状測定装置500においては、形状測定処理を行う前に、簡易測定により主立体形状データの不良部分が判定される。簡易測定における主立体形状データは、形状測定処理における主立体形状データよりも低い精度または小さいデータ量を有する。したがって、不良部分の判定を短時間で行うことができる。また、不良部分を識別可能に測定対象物Sの画像が表示部400に表示される。そのため、使用者は、測定困難部分を容易に認識することができる。
(6) Effect In the shape measuring apparatus 500 according to the present embodiment, before performing the shape measurement process, a defective portion of the main stereoscopic shape data is determined by simple measurement. The main stereoscopic shape data in the simple measurement has lower accuracy or a smaller data amount than the main stereoscopic shape data in the shape measurement process. Therefore, the defective portion can be determined in a short time. Further, an image of the measuring object S is displayed on the display unit 400 so that the defective portion can be identified. Therefore, the user can easily recognize the measurement difficult part.

測定対象物Sの測定位置が測定困難部分に含まれている場合には、使用者は、測定対象物Sの形状測定処理を行う前に、測定対象物Sの姿勢を形状測定に適切な状態に容易に調整することができる。また、形状測定処理においては、簡易測定における主立体形状データよりも高い精度または大きいデータ量を有する主立体形状データが生成される。これにより、測定対象物Sの形状を高い精度で測定することができる。   In the case where the measurement position of the measurement object S is included in the measurement difficult part, the user can make the posture of the measurement object S suitable for shape measurement before performing the shape measurement process of the measurement object S. Can be adjusted easily. In the shape measurement process, main stereoscopic shape data having higher accuracy or a larger data amount than the main stereoscopic shape data in the simple measurement is generated. Thereby, the shape of the measuring object S can be measured with high accuracy.

また、本実施の形態に係る形状測定装置500においては、簡易測定における主立体形状データの生成が一定時間ごとに行われ、生成された主立体形状データに基づいて測定困難領域が一定時間ごとに順次判定される。表示部400に表示される測定対象物Sの画像上の測定困難領域が順次更新される。簡易測定における主立体形状データの生成は、形状測定処理における主立体形状データの生成よりも高速に行われるため、測定困難領域の更新をより短い間隔で行うことができる。   Moreover, in the shape measuring apparatus 500 according to the present embodiment, the main stereoscopic shape data is generated in a simple measurement at regular intervals, and the measurement difficulty region is determined at regular intervals based on the generated main stereoscopic shape data. Sequentially determined. The measurement difficulty region on the image of the measuring object S displayed on the display unit 400 is sequentially updated. Since the generation of the main stereoscopic shape data in the simple measurement is performed at a higher speed than the generation of the main stereoscopic shape data in the shape measurement process, the measurement difficulty region can be updated at shorter intervals.

そのため、使用者がステージ操作部145を操作して測定対象物Sの姿勢を調整した場合、測定対象物Sの姿勢の変化に追従して表示部400に表示される測定困難領域がより短い間隔で更新される。これにより、使用者は、表示部400に表示される測定困難領域を確認しながら測定対象物Sの姿勢を短時間で調整することができる。その結果、測定対象物Sの形状測定処理の前に、測定対象物Sの姿勢を形状測定に適切な状態に短時間で容易に調整することができる。   Therefore, when the user operates the stage operation unit 145 to adjust the posture of the measurement object S, the measurement difficulty region displayed on the display unit 400 following the change in the posture of the measurement object S is shorter. It is updated with. Thereby, the user can adjust the posture of the measuring object S in a short time while confirming the measurement difficulty region displayed on the display unit 400. As a result, before the shape measuring process of the measuring object S, the posture of the measuring object S can be easily adjusted in a short time to a state suitable for the shape measurement.

[11]請求項の各構成要素と実施の形態の各部との対応関係
以下、請求項の各構成要素と実施の形態の各部との対応の例について説明するが、本発明は下記の例に限定されない。
[11] Correspondence relationship between each constituent element of claim and each part of embodiment The following describes an example of the correspondence between each constituent element of the claim and each part of the embodiment. It is not limited.

測定対象物Sが測定対象物の例であり、ステージ140がステージの例であり、投光部110が投光部の例であり、投光部110Aが第1の投光部の例であり、投光部110Bが第2の投光部の例であり、受光部120が受光部の例である。CPU210がデータ生成部、制御部、判定部および処理装置の例であり、表示部400が表示部の例であり、操作部250が操作部の例であり、ステージ操作部145が姿勢調整部の例であり、形状測定装置500が形状測定装置の例であり、測定光が第1および第2の光の例である。   The measurement object S is an example of a measurement object, the stage 140 is an example of a stage, the light projecting unit 110 is an example of a light projecting unit, and the light projecting unit 110A is an example of a first light projecting unit. The light projecting unit 110B is an example of a second light projecting unit, and the light receiving unit 120 is an example of a light receiving unit. The CPU 210 is an example of a data generation unit, a control unit, a determination unit, and a processing device, the display unit 400 is an example of a display unit, the operation unit 250 is an example of an operation unit, and the stage operation unit 145 is an attitude adjustment unit. For example, the shape measuring device 500 is an example of a shape measuring device, and the measurement light is an example of first and second light.

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

[12]参考形態
(1)第1の参考形態に係る形状測定装置は、測定対象物が載置されるステージと、ステージに載置された測定対象物に斜め上方から第1のパターンを有する第1の光を照射し、ステージに載置された測定対象物に斜め上方から第2のパターンを有する第2の光を照射するように構成される投光部と、ステージの上方に配置され、ステージに載置された測定対象物により反射された光を受光し、受光量を示す受光信号を出力するとともに、ステージに載置された測定対象物を撮像するように構成される受光部と、受光部により出力される受光信号に基づいて、三角測距方式により測定対象物の立体形状を示す立体形状データを生成するように構成されるデータ生成部と、受光部により撮像された測定対象物の画像を表示するように構成される表示部と、形状測定前に、第1の光を測定対象物に照射するとともに受光部により出力される受光信号に基づいて第1の立体形状データを生成するように投光部、受光部およびデータ生成部を制御し、形状測定時に、第2の光を測定対象物に照射するとともに受光部により出力される受光信号に基づいて第2の立体形状データを生成するように投光部、受光部およびデータ生成部を制御する制御部と、データ生成部により生成された第1の立体形状データの不良部分を判定する判定部と、判定部により第1の立体形状データの不良部分が判定された後でかつ投光部により第2の光が測定対象物に照射される前に測定対象物の姿勢を調整するように操作可能な姿勢調整部とを備え、制御部は、判定部により判定された不良部分を識別可能に測定対象物の画像を表示するように表示部を制御するものである。
[12] Reference form (1) A shape measuring apparatus according to the first reference form has a stage on which a measurement object is placed and a first pattern obliquely from above on the measurement object placed on the stage. A light projecting unit configured to irradiate the first light and irradiate the measurement target placed on the stage with the second light having the second pattern obliquely from above, and the light projecting unit disposed above the stage. A light receiving unit configured to receive light reflected by the measurement object placed on the stage, output a light reception signal indicating the amount of received light, and to image the measurement object placed on the stage; A data generation unit configured to generate three-dimensional shape data indicating a three-dimensional shape of the measurement object by a triangulation method based on a light reception signal output from the light reception unit, and a measurement target imaged by the light reception unit Display an image of an object The display unit configured as described above and, before measuring the shape, project the first light to irradiate the measurement object and generate first three-dimensional shape data based on the light reception signal output from the light receiving unit The light receiving unit and the data generating unit to irradiate the measurement object with the second light and generate the second three-dimensional shape data based on the received light signal output from the light receiving unit. A control unit that controls the light projecting unit, the light receiving unit, and the data generation unit; a determination unit that determines a defective portion of the first three-dimensional shape data generated by the data generation unit; A posture adjustment unit operable to adjust the posture of the measurement object after the defective portion is determined and before the second light is irradiated to the measurement object by the light projecting unit, and the control unit includes: , Defective portion determined by the determination unit It controls the display unit to display an image of the identifiable measurement object.

この形状測定装置においては、形状測定前に、投光部により第1のパターンを有する第1の光がステージに載置された測定対象物に斜め上方から照射される。ステージに載置された測定対象物により反射された第1の光がステージの上方で受光部により受光され、受光量を示す受光信号を出力される。出力された受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第1の立体形状データが生成される。また、生成された第1の立体形状データの不良部分が判定される。受光部により測定対象物が撮像される。判定された不良部分を識別可能に撮像された測定対象物の画像が表示部に表示される。第1の立体形状データの不良部分が判定された後でかつ投光部により第2の光が測定対象物に照射される前に、姿勢調整部が調整されることにより測定対象物の姿勢が調整される。   In this shape measuring apparatus, before measuring the shape, the light projecting unit irradiates the measurement object placed on the stage obliquely from above with the first light having the first pattern. The first light reflected by the measurement object placed on the stage is received by the light receiving unit above the stage, and a light reception signal indicating the amount of light received is output. Based on the output light reception signal, first three-dimensional shape data indicating the three-dimensional shape of the measurement object is generated by the triangulation method. Further, a defective portion of the generated first three-dimensional shape data is determined. The measurement object is imaged by the light receiving unit. An image of the measurement object captured so that the determined defective part can be identified is displayed on the display unit. After the defective portion of the first three-dimensional shape data is determined and before the second light is irradiated onto the measurement target by the light projecting unit, the posture of the measurement target is adjusted by adjusting the posture adjustment unit. Adjusted.

形状測定時に、投光部により第2のパターンを有する第2の光がステージに載置された測定対象物に斜め上方から照射される。ステージに載置された測定対象物により反射された第2の光がステージの上方で受光部により受光され、受光量を示す受光信号を出力される。出力された受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第2の立体形状データが生成される。   At the time of shape measurement, the light projecting unit irradiates the measurement object placed on the stage with the second light having the second pattern obliquely from above. The second light reflected by the measurement object placed on the stage is received by the light receiving unit above the stage, and a light reception signal indicating the amount of light received is output. Based on the output light reception signal, second 3D shape data indicating the 3D shape of the measurement object is generated by the triangulation method.

以下、影が発生する部分または光の多重反射が発生する部分等の正確な形状測定が不可能または困難な部分を測定困難部分と呼ぶ。測定困難部分に対応する立体形状データの部分は、データ欠落部分またはデータ不正確部分等の不良部分となる。上記の構成により、形状測定前に、第1の立体形状データの不良部分が判定される。不良部分を識別可能に測定対象物の画像が表示部に表示される。そのため、使用者は、測定困難部分を容易に認識することができる。測定対象物の測定すべき位置が測定困難部分に含まれている場合には、使用者は、測定対象物の形状測定前に、測定対象物の姿勢を形状測定に適切な状態に容易に調整することができる。   Hereinafter, a part where accurate shape measurement is impossible or difficult, such as a part where a shadow occurs or a part where multiple reflection of light occurs, is referred to as a measurement difficult part. The portion of the three-dimensional shape data corresponding to the measurement difficulty portion becomes a defective portion such as a data missing portion or a data inaccurate portion. With the above configuration, the defective portion of the first three-dimensional shape data is determined before the shape measurement. An image of the measurement object is displayed on the display unit so that the defective portion can be identified. Therefore, the user can easily recognize the measurement difficult part. When the measurement target position is included in the measurement difficult part, the user can easily adjust the posture of the measurement object to a state suitable for shape measurement before measuring the shape of the measurement object. can do.

(2)第1の立体形状データは、第2の立体形状データよりも低い精度または小さいデータ量を有してもよい。     (2) The first three-dimensional shape data may have a lower accuracy or a smaller data amount than the second three-dimensional shape data.

この場合、第1の立体形状データは低い精度または小さいデータ量を有するので、第1の立体形状データを高速に生成することができる。これにより、不良部分の判定を短時間で行うことができる。また、形状測定においては、第1の立体形状データよりも高い精度または大きいデータ量を有する第2の立体形状データが生成されるので、測定対象物の形状を高い精度で測定することができる。   In this case, since the first solid shape data has low accuracy or a small amount of data, the first solid shape data can be generated at high speed. Thereby, the defective part can be determined in a short time. Further, in the shape measurement, the second solid shape data having higher accuracy or a larger data amount than the first three-dimensional shape data is generated, so that the shape of the measurement object can be measured with high accuracy.

(3)データ生成部は、第1の立体形状データが第2の立体形状データよりも低い精度を有するように第1のパターンを第2のパターンと異なるように設定してもよい。   (3) The data generation unit may set the first pattern to be different from the second pattern so that the first three-dimensional shape data has a lower accuracy than the second three-dimensional shape data.

この場合、第1の立体形状データの精度を第2の立体形状データの精度よりも低くすることができる。これにより、データ生成部の処理時間が短縮されるので、第1の立体形状データの不良部分を短時間で判定することができる。   In this case, the accuracy of the first three-dimensional shape data can be made lower than the accuracy of the second three-dimensional shape data. Thereby, since the processing time of the data generation unit is shortened, the defective portion of the first three-dimensional shape data can be determined in a short time.

(4)受光部は、形状測定前に、間引きされた受光信号を出力してもよい。この場合、第1の立体形状データの精度を第2の立体形状データの精度よりも低くすることができる。これにより、データ生成部の処理時間が短縮されるので、第1の立体形状データの不良部分を短時間で判定することができる。   (4) The light receiving unit may output the thinned light reception signal before the shape measurement. In this case, the accuracy of the first three-dimensional shape data can be made lower than the accuracy of the second three-dimensional shape data. Thereby, since the processing time of the data generation unit is shortened, the defective portion of the first three-dimensional shape data can be determined in a short time.

(5)形状測定装置は、表示部に表示された測定対象物の画像上の任意の位置を指定するために使用者により操作される操作部をさらに備え、制御部は、形状測定前に、測定対象物の第1の領域に第1の光を照射するように投光部を制御し、形状測定時に、測定対象物の第2の領域に第2の光を照射するように投光部を制御し、第1の領域は、操作部により指定された位置に対応する測定対象物の部分を含み、第2の領域は、第1の領域を含みかつ第1の領域よりも大きいものである。   (5) The shape measuring apparatus further includes an operation unit operated by a user to designate an arbitrary position on the image of the measurement object displayed on the display unit, and the control unit is configured to measure the shape before the shape measurement. The light projecting unit is controlled so as to irradiate the first light to the first region of the measurement object, and irradiates the second light to the second region of the measurement object during the shape measurement. The first area includes a portion of the measurement object corresponding to the position designated by the operation unit, and the second area includes the first area and is larger than the first area. is there.

この場合、第1の立体形状データのデータ量を第2の立体形状データのデータ量よりも小さくすることができる。これにより、データ生成部の処理時間が短縮されるので、第1の立体形状データのうち指定された位置に対応する測定対象物の部分が不良部分を含むか否かを短時間で判定することができる。   In this case, the data amount of the first three-dimensional shape data can be made smaller than the data amount of the second three-dimensional shape data. Thereby, since the processing time of the data generation unit is shortened, it is determined in a short time whether or not the part of the measurement object corresponding to the designated position in the first three-dimensional shape data includes a defective part. Can do.

(6)判定部は、姿勢調整部により調整される測定対象物の姿勢の変化に追従して不良部分を順次判定し、制御部は、判定部により順次判定される不良部分を識別可能に測定対象物の画像を順次更新して表示するように表示部を制御してもよい。   (6) The determination unit sequentially determines the defective portion following the change in the posture of the measurement object adjusted by the posture adjustment unit, and the control unit measures the defective portion that is sequentially determined by the determination unit. The display unit may be controlled to sequentially update and display the image of the object.

この構成によれば、姿勢調整部が操作されることにより測定対象物の姿勢が調整された場合、測定対象物の姿勢の変化に追従して表示部に表示される不良部分が更新される。これにより、使用者は、表示部に表示される不良部分を確認しながら測定対象物の姿勢を調整することができる。したがって、測定対象物の形状測定前に、測定対象物の姿勢を形状測定に適切な状態に容易に調整することができる。   According to this configuration, when the posture of the measurement target is adjusted by operating the posture adjustment unit, the defective portion displayed on the display unit is updated following the change in the posture of the measurement target. Thereby, the user can adjust the posture of the measurement object while checking the defective portion displayed on the display unit. Therefore, before measuring the shape of the measurement object, the posture of the measurement object can be easily adjusted to a state suitable for shape measurement.

(7)第1の立体形状データの不良部分は、影が発生した測定対象物の部分または第1の光の多重反射が発生した測定対象物の部分に対応してもよい。   (7) The defective portion of the first three-dimensional shape data may correspond to a portion of the measurement object in which a shadow has occurred or a portion of the measurement object in which multiple reflection of the first light has occurred.

この構成によれば、使用者は、測定対象物の測定すべき位置に影が発生することになる場合または第2の光の多重反射が発生することになる場合には、測定対象物の形状測定前に、測定対象物の姿勢を形状測定に適切な状態に容易に調整することができる。   According to this configuration, the user can change the shape of the measurement object when a shadow is generated at the position to be measured of the measurement object or when multiple reflection of the second light is generated. Prior to measurement, the posture of the measurement object can be easily adjusted to a state suitable for shape measurement.

(8)投光部は、第1および第2の光を異なる位置から異なる方向において測定対象物にそれぞれ照射する第1および第2の投光部を含み、第1の投光部は、第1の光として第1の姿勢調整用の光を測定対象物に照射し、第2の投光部は、第1の光として第2の姿勢調整用の光を測定対象物に照射し、データ生成部は、第1の姿勢調整用の光の照射時に受光部により出力される受光信号に基づいて、三角測距方式により第1の立体形状データとして第1の姿勢調整用の立体形状データを生成し、第2の姿勢調整用の光の照射時に受光部により出力される受光信号に基づいて、三角測距方式により第1の立体形状データとして第2の姿勢調整用の立体形状データを生成し、第1および第2の姿勢調整用の立体形状データを合成することにより測定対象物の立体形状を示す合成立体形状データを生成し、判定部は、データ生成部により生成される合成立体形状データの不良部分を判定してもよい。   (8) The light projecting unit includes first and second light projecting units that irradiate the measurement object in different directions from different positions with the first and second lights, respectively. The first posture adjustment light is irradiated to the measurement object as the first light, and the second light projecting unit irradiates the measurement target object with the second posture adjustment light as the first light, and the data The generating unit generates the first posture adjustment three-dimensional shape data as the first three-dimensional shape data by the triangulation method based on the light reception signal output by the light receiving unit when the first posture adjustment light is emitted. Based on the light reception signal that is generated and output by the light receiving unit when the light for second posture adjustment is irradiated, the three-dimensional shape data for second posture adjustment is generated as the first three-dimensional shape data by the triangulation method. And by combining the three-dimensional shape data for the first and second posture adjustment. Generates a synthesized three-dimensional shape data showing the three-dimensional shape of the object, the determination unit may determine a defective portion of the synthetic three-dimensional shape data generated by the data generating unit.

この場合、第1および第2の投光部からそれぞれ第1および第2の姿勢調整用の光が測定対象物に照射され、第1および第2の姿勢調整用の立体形状データが生成される。さらに、第1および第2の姿勢調整用の立体形状データが合成されることにより、合成立体形状データが生成される。ここで、合成立体形状データの不良部分は、第1および第2の姿勢調整用の立体形状データの不良部分に比べて小さい。すなわち、第1および第2の投光部から測定対象物にそれぞれ第1および第2の姿勢調整用の光が照射されることにより、第1および第2の投光部の一方から姿勢調整用の光が測定対象物に照射される場合に比べて不良部分を減少させることができる。   In this case, the measurement object is irradiated with the first and second posture adjustment lights from the first and second light projecting units, respectively, and the first and second posture adjustment solid shape data is generated. . Furthermore, the combined solid shape data is generated by combining the first and second posture adjustment solid shape data. Here, the defective portion of the combined three-dimensional shape data is smaller than the defective portion of the first and second posture adjustment three-dimensional shape data. That is, the first and second light projecting units irradiate the measurement object with the first and second posture adjusting lights, respectively, so that one of the first and second light projecting units is used for posture adjustment. As compared with the case where the measurement object is irradiated with the light, the defective portion can be reduced.

生成された合成立体形状データの不良部分が判定され、判定された不良部分を識別可能に測定対象物の画像が表示部に表示される。これにより、使用者は、第1および第2の投光部の両方から第2の光を測定対象物に照射した場合の不良部分を認識することができる。その結果、測定対象物の形状測定前に、測定対象物の姿勢を形状測定に適切な状態に容易かつ正確に調整することができる。   A defective portion of the generated composite solid shape data is determined, and an image of the measurement object is displayed on the display unit so that the determined defective portion can be identified. Thereby, the user can recognize the defective part at the time of irradiating a measurement object with 2nd light from both the 1st and 2nd light projection parts. As a result, before measuring the shape of the measurement object, the posture of the measurement object can be easily and accurately adjusted to a state suitable for shape measurement.

(9)第2の参考形態に係る形状測定方法は、形状測定前に、投光部により第1のパターンを有する第1の光をステージに載置された測定対象物に斜め上方から照射するステップと、ステージに載置された測定対象物により反射された第1の光をステージの上方で受光部により受光し、受光量を示す受光信号を出力するステップと、出力された受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第1の立体形状データを生成するステップと、生成された第1の立体形状データの不良部分を判定するステップと、ステージの上方で受光部によりステージに載置された測定対象物を撮像するステップと、判定された不良部分を識別可能に撮像された測定対象物の画像を表示部に表示するステップと、測定対象物の姿勢の調整を受け付けるステップと、形状測定時に、投光部により第2のパターンを有する第2の光をステージに載置された測定対象物に斜め上方から照射するステップと、ステージに載置された測定対象物により反射された第2の光をステージの上方で受光部により受光し、受光量を示す受光信号を出力するステップと、出力された受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第2の立体形状データを生成するステップとを備えるものである。   (9) In the shape measurement method according to the second reference embodiment, the first light having the first pattern is irradiated to the measurement object placed on the stage obliquely from above by the light projecting unit before the shape measurement. A step of receiving a first light reflected by a measurement object placed on the stage by a light receiving unit above the stage and outputting a light reception signal indicating the amount of light received; and based on the output light reception signal. Generating a first three-dimensional shape data indicating the three-dimensional shape of the object to be measured by a triangulation method, a step of determining a defective portion of the generated first three-dimensional shape data, and a light receiving unit above the stage The step of imaging the measurement object placed on the stage, the step of displaying on the display unit the image of the measurement object imaged so that the determined defective part can be identified, and the adjustment of the posture of the measurement object Receiving A step of irradiating the measurement object placed on the stage with the second light having the second pattern by the light projecting unit from the obliquely upper side during the shape measurement, and the measurement object placed on the stage. A step of receiving the second light reflected by the light receiving unit above the stage by the light receiving unit and outputting a light receiving signal indicating the amount of light received, and a three-dimensional shape of the measurement object by a triangulation method based on the output light receiving signal Generating a second three-dimensional shape data indicating.

この形状測定方法においては、形状測定前に、投光部により第1のパターンを有する第1の光がステージに載置された測定対象物に斜め上方から照射される。ステージに載置された測定対象物により反射された第1の光がステージの上方で受光部により受光され、受光量を示す受光信号を出力される。出力された受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第1の立体形状データが生成される。また、生成された第1の立体形状データの不良部分が判定される。受光部により測定対象物が撮像される。判定された不良部分を識別可能に撮像された測定対象物の画像が表示部に表示される。第1の立体形状データの不良部分が判定された後でかつ投光部により第2の光が測定対象物に照射される前に、測定対象物の姿勢が調整される。   In this shape measuring method, before the shape measurement, the first light having the first pattern is irradiated to the measurement object placed on the stage obliquely from above by the light projecting unit. The first light reflected by the measurement object placed on the stage is received by the light receiving unit above the stage, and a light reception signal indicating the amount of light received is output. Based on the output light reception signal, first three-dimensional shape data indicating the three-dimensional shape of the measurement object is generated by the triangulation method. Further, a defective portion of the generated first three-dimensional shape data is determined. The measurement object is imaged by the light receiving unit. An image of the measurement object captured so that the determined defective part can be identified is displayed on the display unit. After the defective portion of the first three-dimensional shape data is determined and before the second light is irradiated onto the measurement object by the light projecting unit, the posture of the measurement object is adjusted.

形状測定時に、投光部により第2のパターンを有する第2の光がステージに載置された測定対象物に斜め上方から照射される。ステージに載置された測定対象物により反射された第2の光がステージの上方で受光部により受光され、受光量を示す受光信号を出力される。出力された受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第2の立体形状データが生成される。   At the time of shape measurement, the light projecting unit irradiates the measurement object placed on the stage with the second light having the second pattern obliquely from above. The second light reflected by the measurement object placed on the stage is received by the light receiving unit above the stage, and a light reception signal indicating the amount of light received is output. Based on the output light reception signal, second 3D shape data indicating the 3D shape of the measurement object is generated by the triangulation method.

以下、影が発生する部分または光の多重反射が発生する部分等の正確な形状測定が不可能または困難な部分を測定困難部分と呼ぶ。測定困難部分に対応する立体形状データの部分は、データ欠落部分またはデータ不正確部分等の不良部分となる。上記の構成により、形状測定前に、第1の立体形状データの不良部分が判定される。不良部分を識別可能に測定対象物の画像が表示部に表示される。そのため、使用者は、測定困難部分を容易に認識することができる。測定対象物の測定すべき位置が測定困難部分に含まれている場合には、使用者は、測定対象物の形状測定前に、測定対象物の姿勢を形状測定に適切な状態に容易に調整することができる。   Hereinafter, a part where accurate shape measurement is impossible or difficult, such as a part where a shadow occurs or a part where multiple reflection of light occurs, is referred to as a measurement difficult part. The portion of the three-dimensional shape data corresponding to the measurement difficulty portion becomes a defective portion such as a data missing portion or a data inaccurate portion. With the above configuration, the defective portion of the first three-dimensional shape data is determined before the shape measurement. An image of the measurement object is displayed on the display unit so that the defective portion can be identified. Therefore, the user can easily recognize the measurement difficult part. When the measurement target position is included in the measurement difficult part, the user can easily adjust the posture of the measurement object to a state suitable for shape measurement before measuring the shape of the measurement object. can do.

(10)第1の立体形状データは、第2の立体形状データよりも低い精度または小さいデータ量を有してもよい。   (10) The first three-dimensional shape data may have a lower accuracy or a smaller data amount than the second three-dimensional shape data.

この場合、第1の立体形状データは低い精度または小さいデータ量を有するので、第1の立体形状データを高速に生成することができる。これにより、不良部分の判定を短時間で行うことができる。また、形状測定においては、第1の立体形状データよりも高い精度または大きいデータ量を有する第2の立体形状データが生成されるので、測定対象物の形状を高い精度で測定することができる。   In this case, since the first solid shape data has low accuracy or a small amount of data, the first solid shape data can be generated at high speed. Thereby, the defective part can be determined in a short time. Further, in the shape measurement, the second solid shape data having higher accuracy or a larger data amount than the first three-dimensional shape data is generated, so that the shape of the measurement object can be measured with high accuracy.

(11)第3の参考形態に係る形状測定プログラムは、処理装置により実行可能な形状測定プログラムであって、形状測定前に、投光部により第1のパターンを有する第1の光をステージに載置された測定対象物に斜め上方から照射する処理と、ステージに載置された測定対象物により反射された第1の光をステージの上方で受光部により受光し、受光量を示す受光信号を出力する処理と、出力された受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第1の立体形状データを生成する処理と、生成された第1の立体形状データの不良部分を判定する処理と、ステージの上方で受光部によりステージに載置された測定対象物を撮像する処理と、判定された不良部分を識別可能に撮像された測定対象物の画像を表示部に表示する処理と、測定対象物の姿勢の調整を受け付ける処理と、形状測定時に、投光部により第2のパターンを有する第2の光をステージに載置された測定対象物に斜め上方から照射する処理と、ステージに載置された測定対象物により反射された第2の光をステージの上方で受光部により受光し、受光量を示す受光信号を出力する処理と、出力された受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第2の立体形状データを生成する処理とを、処理装置に実行させるものである。   (11) The shape measurement program according to the third reference embodiment is a shape measurement program that can be executed by the processing device, and the first light having the first pattern is placed on the stage by the light projecting unit before the shape measurement. A process for irradiating the placed measurement object obliquely from above and the first light reflected by the measurement object placed on the stage is received by the light receiving unit above the stage and a received light signal indicating the amount of light received , A process for generating the first three-dimensional shape data indicating the three-dimensional shape of the object to be measured by the triangulation method based on the output light reception signal, and a defect in the generated first three-dimensional shape data A process for determining the part, a process for imaging the measurement object placed on the stage by the light receiving unit above the stage, and an image of the measurement object imaged so as to identify the determined defective part on the display unit Show Processing, processing for accepting adjustment of the posture of the measurement object, and processing for irradiating the measurement object placed on the stage with the second light having the second pattern obliquely from above at the time of shape measurement. The second light reflected by the measurement object placed on the stage is received by the light receiving unit above the stage, and a light receiving signal indicating the amount of received light is output, and the output light receiving signal is used. The processing apparatus is configured to execute processing for generating second solid shape data indicating the three-dimensional shape of the measurement object by the triangulation method.

この形状測定プログラムによれば、形状測定前に、投光部により第1のパターンを有する第1の光がステージに載置された測定対象物に斜め上方から照射される。ステージに載置された測定対象物により反射された第1の光がステージの上方で受光部により受光され、受光量を示す受光信号を出力される。出力された受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第1の立体形状データが生成される。また、生成された第1の立体形状データの不良部分が判定される。受光部により測定対象物が撮像される。判定された不良部分を識別可能に撮像された測定対象物の画像が表示部に表示される。第1の立体形状データの不良部分が判定された後でかつ投光部により第2の光が測定対象物に照射される前に、測定対象物の姿勢が調整される。   According to this shape measurement program, before the shape measurement, the first light having the first pattern is irradiated to the measurement object placed on the stage obliquely from above by the light projecting unit. The first light reflected by the measurement object placed on the stage is received by the light receiving unit above the stage, and a light reception signal indicating the amount of light received is output. Based on the output light reception signal, first three-dimensional shape data indicating the three-dimensional shape of the measurement object is generated by the triangulation method. Further, a defective portion of the generated first three-dimensional shape data is determined. The measurement object is imaged by the light receiving unit. An image of the measurement object captured so that the determined defective part can be identified is displayed on the display unit. After the defective portion of the first three-dimensional shape data is determined and before the second light is irradiated onto the measurement object by the light projecting unit, the posture of the measurement object is adjusted.

形状測定時に、投光部により第2のパターンを有する第2の光がステージに載置された測定対象物に斜め上方から照射される。ステージに載置された測定対象物により反射された第2の光がステージの上方で受光部により受光され、受光量を示す受光信号を出力される。出力された受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第2の立体形状データが生成される。   At the time of shape measurement, the light projecting unit irradiates the measurement object placed on the stage with the second light having the second pattern obliquely from above. The second light reflected by the measurement object placed on the stage is received by the light receiving unit above the stage, and a light reception signal indicating the amount of light received is output. Based on the output light reception signal, second 3D shape data indicating the 3D shape of the measurement object is generated by the triangulation method.

以下、影が発生する部分または光の多重反射が発生する部分等の正確な形状測定が不可能または困難な部分を測定困難部分と呼ぶ。測定困難部分に対応する立体形状データの部分は、データ欠落部分またはデータ不正確部分等の不良部分となる。上記の構成により、形状測定前に、第1の立体形状データの不良部分が判定される。不良部分を識別可能に測定対象物の画像が表示部に表示される。そのため、使用者は、測定困難部分を容易に認識することができる。測定対象物の測定すべき位置が測定困難部分に含まれている場合には、使用者は、測定対象物の形状測定前に、測定対象物の姿勢を形状測定に適切な状態に容易に調整することができる。   Hereinafter, a part where accurate shape measurement is impossible or difficult, such as a part where a shadow occurs or a part where multiple reflection of light occurs, is referred to as a measurement difficult part. The portion of the three-dimensional shape data corresponding to the measurement difficulty portion becomes a defective portion such as a data missing portion or a data inaccurate portion. With the above configuration, the defective portion of the first three-dimensional shape data is determined before the shape measurement. An image of the measurement object is displayed on the display unit so that the defective portion can be identified. Therefore, the user can easily recognize the measurement difficult part. When the measurement target position is included in the measurement difficult part, the user can easily adjust the posture of the measurement object to a state suitable for shape measurement before measuring the shape of the measurement object. can do.

(12)第1の立体形状データは、第2の立体形状データよりも低い精度または小さいデータ量を有してもよい。   (12) The first three-dimensional shape data may have a lower accuracy or a smaller data amount than the second three-dimensional shape data.

この場合、第1の立体形状データは低い精度または小さいデータ量を有するので、第1の立体形状データを高速に生成することができる。これにより、不良部分の判定を短時間で行うことができる。また、形状測定においては、第1の立体形状データよりも高い精度または大きいデータ量を有する第2の立体形状データが生成されるので、測定対象物の形状を高い精度で測定することができる。   In this case, since the first solid shape data has low accuracy or a small amount of data, the first solid shape data can be generated at high speed. Thereby, the defective part can be determined in a short time. Further, in the shape measurement, the second solid shape data having higher accuracy or a larger data amount than the first three-dimensional shape data is generated, so that the shape of the measurement object can be measured with high accuracy.

本発明は、種々の形状測定装置、形状測定方法および形状測定プログラムに有効に利用することができる。   The present invention can be effectively used for various shape measuring apparatuses, shape measuring methods, and shape measuring programs.

100 測定部
110 投光部
111 測定光源
112 パターン生成部
113〜115,122,123 レンズ
120 受光部
121,121A,121B カメラ
121a 撮像素子
124 ハーフミラー
130 照明光出力部
140 ステージ
141 X−Yステージ
142 Zステージ
143 θステージ
144 チルトステージ
145 ステージ操作部
146 ステージ駆動部
150,310 制御基板
200 PC
210 CPU
220 ROM
230 作業用メモリ
240 記憶装置
250 操作部
300 制御部
320 照明光源
400 表示部
410,420,450,450a〜450c 画像表示領域
430,440 光量設定バー
430s,440s,472s スライダ
470,480 設定変更領域
471 明るさ選択欄
472 明るさ設定バー
473 表示切換欄
474 倍率切換欄
475 倍率選択欄
476 焦点調整欄
477 焦点ガイド表示欄
480A 顕微鏡モード選択タブ
480B 形状測定モード選択タブ
481 ツール選択欄
481a 測定ツール表示欄
481b 補助ツール表示欄
482 撮影ボタン
483 測定ボタン
484 テクスチャ画像選択欄
484a〜484c チェックボックス
500 形状測定装置
AP 補助パターン
C カーソル
FP 枠パターン
GP ガイドパターン
L ライン
M,M1〜M3,MA〜MD マーカ
MF 測定位置指定枠
Ms,Ms1〜Ms3 測定部分
PR プロファイル
R1〜R10 領域
RL 基準線
S,SA〜SD 測定対象物
Sb 回路基板
Sc 電解コンデンサ
Sh 孔
Sp 偽の形状
Ss 影
Su 板状部材
Sv 角柱状部材
UR 測定困難領域
DESCRIPTION OF SYMBOLS 100 Measurement part 110 Light projection part 111 Measurement light source 112 Pattern production | generation part 113-115,122,123 Lens 120 Light reception part 121,121A, 121B Camera 121a Image pick-up element 124 Half mirror 130 Illumination light output part 140 Stage 141 XY stage 142 Z stage 143 θ stage 144 Tilt stage 145 Stage operation unit 146 Stage drive unit 150, 310 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 410, 420, 450, 450a to 450c Image display area 430, 440 Light quantity setting bar 430s, 440s, 472s Slider 470, 480 Setting change area 471 Brightness selection field 472 Brightness setting bar 473 Display switching field 474 Magnification switching field 475 Magnification selection field 476 Focus adjustment field 477 Focus guide display field 480A Microscope mode selection tab 480B Shape measurement mode selection tab 481 Tool selection field 481a Measurement tool display field 481b Auxiliary tool display field 482 Shooting button 483 Measurement button 484 Texture image selection field 484a-484c Check box 500 Shape measuring device AP Auxiliary pattern C Cursor FP Frame pattern GP Guide pattern L line M, M1 to M3, MA to MD Marker MF Measurement position designation frame Ms, Ms1 to Ms3 Measurement part PR profile R1 to R10 area RL Reference line S, SA to SD Measurement object Sb Circuit board Sc Electrolytic capacitor Sh Hole Sp False shape Ss Shadow Su Plate member Sv Square column member UR Difficulty region

Claims (6)

測定対象物が載置されるステージと、
測定対象物の姿勢確認用の第1の調整光を前記ステージに載置された測定対象物に斜め上方から照射し、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第1の測定光を前記ステージに載置された測定対象物に斜め上方から照射するように構成される第1の投光部と、
測定対象物の姿勢確認用の第2の調整光を前記ステージに載置された測定対象物に、前記第1の投光部とは異なる方向から照射し、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第2の測定光を前記ステージに載置された測定対象物に、前記第1の投光部とは異なる方向から照射するように構成される第2の投光部と、
前記ステージの上方に配置され、前記ステージに載置された測定対象物により反射された光を受光し、受光量を示す受光信号を出力するとともに、前記ステージに載置された測定対象物を撮像するように構成される受光部と、
前記受光部により出力される受光信号に基づいて、三角測距方式により測定対象物の立体形状を示す立体形状データを生成するように構成されるデータ生成部と、
前記受光部により撮像された測定対象物の画像を表示するように構成される表示部と、
形状測定前に、前記第1の調整光と前記第2の調整光を測定対象物に同時に照射して当該第1の調整光と当該第2の調整光が照射された測定対象物の画像が前記表示部に表示されるように前記投光部を制御し、形状測定時に、前記第1の測定光を測定対象物に照射するとともに前記受光部により出力される受光信号に基づいて測定対象物の第1の立体形状データを生成し、前記第2の測定光を測定対象物に照射するとともに前記受光部により出力される受光信号に基づいて測定対象物の第2の立体形状データを生成し、前記第1の立体形状データと前記第2の立体形状データとを合成して、合成立体形状データを生成するように前記第1の投光部、前記第2の投光部、前記受光部および前記データ生成部を制御する制御部と、
前記第1および第2の調整光が同時に照射された測定対象物の画像が前記表示部により表示された状態で、測定対象物の姿勢を調整するように操作可能な姿勢調整部とを備え、
前記複数の縞状測定光は、所定の空間周期を有しかつ互いに異なる空間位相を有する縞状の明暗パターンを含み、
前記複数のコード状測定光は、それぞれ異なる符号を表す明暗パターンを含む、形状測定装置。
A stage on which the measurement object is placed;
The first adjustment light for confirming the posture of the measurement object is irradiated on the measurement object placed on the stage from obliquely above, and for shape measurement including a plurality of striped measurement lights and a plurality of code-like measurement lights. a first light projecting portion configured to illuminate obliquely from above the measuring object mounted the first measuring light to the stage,
The second adjustment light for confirming the posture of the measurement object is irradiated to the measurement object placed on the stage from a direction different from that of the first light projecting unit. A second measuring light configured to irradiate a measurement object placed on the stage with a second measuring light for shape measurement including code-shaped measuring light from a direction different from that of the first light projecting unit. A light projecting unit;
It receives light reflected by the measurement object placed on the stage and placed on the stage, outputs a received light signal indicating the amount of received light, and images the measurement object placed on the stage. A light receiving portion configured to:
A data generation unit configured to generate three-dimensional shape data indicating a three-dimensional shape of an object to be measured by a triangulation method based on a light reception signal output by the light receiving unit;
A display unit configured to display an image of the measurement object imaged by the light receiving unit;
Before shape measurement, the first adjustment light and the second adjustment light and the irradiated object to be measured at the same time the first adjustment light and the second measurement object with adjusted light is irradiated The light projecting unit is controlled so that an image is displayed on the display unit, and at the time of shape measurement, the measurement object is irradiated with the first measurement light and measured based on a light reception signal output from the light receiving unit. First solid shape data of the object is generated , and the second measurement light is irradiated on the measurement object and the second solid shape data of the measurement object is generated based on the light reception signal output from the light receiving unit. Generating and synthesizing the first three-dimensional shape data and the second three-dimensional shape data to generate combined three-dimensional shape data, the first light projecting unit, the second light projecting unit, A control unit for controlling the light receiving unit and the data generation unit;
While an image of the measurement object the first and second adjustment light is irradiated at the same time is displayed by the display unit, and an operable orientation adjuster to adjust the posture of the measuring object,
The plurality of striped measurement lights include a striped light / dark pattern having a predetermined spatial period and different spatial phases,
The shape measuring apparatus, wherein the plurality of code-like measurement lights include light and dark patterns representing different codes.
前記第1または第2の調整光のパターンは、前記第1または第2の測定光のいずれのパターンとも異なる、請求項1記載の形状測定装置。 The shape measuring apparatus according to claim 1 , wherein a pattern of the first or second adjustment light is different from any pattern of the first or second measurement light. 前記第1または第2の調整光のパターンは、横パターン、縦パターン、ドットパターン、チェッカーパターンまたは均一パターンのいずれかである、請求項1または2記載の形状測定装置。 The shape measuring apparatus according to claim 1, wherein the first or second adjustment light pattern is any one of a horizontal pattern, a vertical pattern, a dot pattern, a checker pattern, and a uniform pattern. 前記制御部は、形状測定前に、前記第1または第2の調整光が照射されない測定対象物の部分を測定困難領域として推定し、推定された測定困難領域に対応する部分を前記第1または第2の調整光が照射された測定対象物の画像上に重畳して表示するように前記表示部を制御する、請求項1〜3のいずれか一項に記載の形状測定装置 Before the shape measurement, the control unit estimates a portion of the measurement object that is not irradiated with the first or second adjustment light as a measurement difficulty region, and a portion corresponding to the estimated measurement difficulty region is the first or second measurement light. The shape measuring apparatus according to any one of claims 1 to 3, wherein the display unit is controlled so as to be superimposed and displayed on an image of the measurement object irradiated with the second adjustment light . 形状測定前に、斜め上方から第1の投光部により出射された測定対象物の姿勢確認用の第1の調整光と、前記第1の投光部とは異なる方向から第2の投光部により出射された測定対象物の姿勢確認用の第2の調整光とをステージに載置された測定対象物に斜め上方から同時に照射するステップと、
形状測定前に、前記ステージの上方で受光部により前記ステージに載置されかつ前記第1の調整光と前記第2の調整光が照射された測定対象物を撮像するステップと、
形状測定前に、前記受光部により撮像された測定対象物の画像を表示部に表示するステップと、
形状測定前に、前記第1および第2の調整光が同時に照射された測定対象物の画像が前記表示部により表示された状態で、測定対象物の姿勢の調整を受け付けるステップと、
形状測定時に、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第1の測定光を前記第1の投光部により前記ステージに載置された測定対象物に斜め上方から照射するステップと、
形状測定時に、前記ステージに載置された測定対象物により反射された前記第1の測定光を前記ステージの上方で前記受光部により受光し、受光量を示す第1の受光信号を出力するステップと、
形状測定時に、出力された前記第1の受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第1の立体形状データを生成するステップと
形状測定時に、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第2の測定光を前記第2の投光部により前記ステージに載置された測定対象物に、前記第1の投光部とは異なる方向から照射するステップと、
形状測定時に、前記ステージに載置された測定対象物により反射された前記第2の測定光を前記ステージの上方で前記受光部により受光し、受光量を示す第2の受光信号を出力するステップと、
形状測定時に、出力された前記第2の受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第2の立体形状データを生成するステップと、
前記第1の立体形状データと前記第2の立体形状データとを合成して、合成立体形状データを生成するステップとを備え、
前記複数の縞状測定光は、所定の空間周期を有しかつ互いに異なる空間位相を有する縞状の明暗パターンを含み、
前記複数のコード状測定光は、それぞれ異なる符号を表す明暗パターンを含む、形状測定方法。
Before the shape measurement, the first adjustment light for confirming the posture of the measuring object emitted from the first light projecting unit obliquely from above and the second light projecting from a direction different from the first light projecting unit. Irradiating simultaneously the measurement object placed on the stage with the second adjustment light for confirming the posture of the measurement object emitted by the unit from obliquely above;
Before shape measurement, a step of capturing an upwardly is placed on the stage by the light receiving portion and the first adjustment light and the measuring object the second and the adjustment light is irradiated of the stage,
Displaying the image of the measurement object imaged by the light receiving unit on the display unit before measuring the shape;
Accepting adjustment of the posture of the measurement object in a state where an image of the measurement object irradiated with the first and second adjustment lights at the same time is displayed by the display unit before the shape measurement;
At the time of shape measurement, the first measurement light for shape measurement including a plurality of striped measurement lights and a plurality of code-like measurement lights obliquely above the measurement object placed on the stage by the first light projecting unit Irradiating from,
Steps during shape measurement, received by the light receiving portion of the first measuring beam reflected by the upper side of the stage by the measuring object mounted on the stage, and outputs a first light reception signal indicating the amount of received light When,
Generating a first three-dimensional shape data indicating a three-dimensional shape of an object to be measured by a triangulation method based on the output first received light signal at the time of shape measurement ;
At the time of shape measurement, the second measurement light for shape measurement including a plurality of striped measurement lights and a plurality of code-like measurement lights is applied to the measurement object placed on the stage by the second light projecting unit. Irradiating from a direction different from the first light projecting unit;
The step of receiving the second measurement light reflected by the measurement object placed on the stage at the time of shape measurement by the light receiving unit above the stage and outputting a second light reception signal indicating the amount of received light When,
Generating a second three-dimensional shape data indicating a three-dimensional shape of an object to be measured by a triangulation method based on the output second received light signal at the time of shape measurement;
Synthesizing the first three-dimensional shape data and the second three-dimensional shape data to generate combined three-dimensional shape data ;
The plurality of striped measurement lights include a striped light / dark pattern having a predetermined spatial period and different spatial phases,
The shape measurement method, wherein the plurality of code-like measurement lights include light and dark patterns representing different codes.
処理装置により実行可能な形状測定プログラムであって、
形状測定前に、斜め上方から第1の投光部により出射された測定対象物の姿勢確認用の第1の調整光と、前記第1の投光部とは異なる方向から第2の投光部により出射された測定対象物の姿勢確認用の第2の調整光とをステージに載置された測定対象物に斜め上方から同時に照射する処理と、
形状測定前に、前記ステージの上方で受光部により前記ステージに載置されかつ前記第1の調整光と前記第2の調整光が照射された測定対象物を撮像する処理と、
形状測定前に、前記受光部により撮像された測定対象物の画像を表示部に表示する処理と、
形状測定前に、前記第1および第2の調整光が同時に照射された測定対象物の画像が前記表示部により表示された状態で、測定対象物の姿勢の調整を受け付ける処理と、
形状測定時に、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第1の測定光を前記第1の投光部により前記ステージに載置された測定対象物に斜め上方から照射する処理と、
形状測定時に、前記ステージに載置された測定対象物により反射された前記第1の測定光を前記ステージの上方で前記受光部により受光し、受光量を示す第1の受光信号を出力する処理と、
形状測定時に、出力された前記第1の受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第1の立体形状データを生成する処理と
形状測定時に、複数の縞状測定光および複数のコード状測定光を含む形状測定用の第2の測定光を前記第2の投光部により前記ステージに載置された測定対象物に、前記第1の投光部とは異なる方向から照射する処理と、
形状測定時に、前記ステージに載置された測定対象物により反射された前記第2の測定光を前記ステージの上方で前記受光部により受光し、受光量を示す第2の受光信号を出力する処理と、
形状測定時に、出力された前記第2の受光信号に基づいて三角測距方式により測定対象物の立体形状を示す第2の立体形状データを生成する処理と、
前記第1の立体形状データと前記第2の立体形状データとを合成して、合成立体形状データを生成する処理とを、
前記処理装置に実行させ、
前記複数の縞状測定光は、所定の空間周期を有しかつ互いに異なる空間位相を有する縞状の明暗パターンを含み、
前記複数のコード状測定光は、それぞれ異なる符号を表す明暗パターンを含む、形状測定プログラム。
A shape measurement program executable by a processing device,
Before the shape measurement, the first adjustment light for confirming the posture of the measuring object emitted from the first light projecting unit obliquely from above and the second light projecting from a direction different from the first light projecting unit. Irradiating the measurement object placed on the stage with the second adjustment light for confirming the posture of the measurement object emitted by the unit simultaneously from obliquely above;
Before shape measurement, a process of imaging the upper measurement object placed on the stage by the light receiving portion and said first adjustment light and the second adjustment light is irradiated of the stage,
Before the shape measurement, a process of displaying an image of the measurement object imaged by the light receiving unit on the display unit,
A process of accepting adjustment of the posture of the measurement object in a state where an image of the measurement object irradiated with the first and second adjustment lights at the same time is displayed by the display unit before the shape measurement;
At the time of shape measurement, the first measurement light for shape measurement including a plurality of striped measurement lights and a plurality of code-like measurement lights obliquely above the measurement object placed on the stage by the first light projecting unit The process of irradiating from
During shape measurement, the first measurement light reflected by the measured object mounted on the stage and received by the light receiving portion above said stage, and outputs a first light reception signal indicating the received light amount processing When,
Processing for generating first three-dimensional shape data indicating a three-dimensional shape of an object to be measured by a triangulation method based on the output first received light signal during shape measurement ;
At the time of shape measurement, the second measurement light for shape measurement including a plurality of striped measurement lights and a plurality of code-like measurement lights is applied to the measurement object placed on the stage by the second light projecting unit. A process of irradiating from a direction different from the first light projecting unit;
Processing for receiving the second measurement light reflected by the measurement object placed on the stage at the time of shape measurement by the light receiving unit above the stage and outputting a second light reception signal indicating the amount of received light When,
A process of generating second solid shape data indicating a three-dimensional shape of a measurement object by a triangulation method based on the output second received light signal at the time of shape measurement;
A process of combining the first three-dimensional shape data and the second three-dimensional shape data to generate combined three-dimensional shape data ;
Causing the processing device to execute,
The plurality of striped measurement lights include a striped light / dark pattern having a predetermined spatial period and different spatial phases,
The shape measurement program, wherein the plurality of code-like measurement lights include light and dark patterns representing different codes.
JP2017166985A 2017-08-31 2017-08-31 Shape measuring device, shape measuring method, and shape measuring program Active JP6476252B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017166985A JP6476252B2 (en) 2017-08-31 2017-08-31 Shape measuring device, shape measuring method, and shape measuring program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017166985A JP6476252B2 (en) 2017-08-31 2017-08-31 Shape measuring device, shape measuring method, and shape measuring program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012199986A Division JP2014055814A (en) 2012-09-11 2012-09-11 Shape measuring device, shape measuring method, and shape measuring program

Publications (2)

Publication Number Publication Date
JP2017207520A JP2017207520A (en) 2017-11-24
JP6476252B2 true JP6476252B2 (en) 2019-02-27

Family

ID=60416516

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017166985A Active JP6476252B2 (en) 2017-08-31 2017-08-31 Shape measuring device, shape measuring method, and shape measuring program

Country Status (1)

Country Link
JP (1) JP6476252B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7193308B2 (en) * 2018-11-09 2022-12-20 株式会社キーエンス Profile measuring device
JP7319083B2 (en) * 2019-04-26 2023-08-01 株式会社キーエンス optical displacement meter

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2859946B2 (en) * 1990-10-12 1999-02-24 株式会社豊田中央研究所 Non-contact measuring device
JP3893169B2 (en) * 1996-06-18 2007-03-14 コニカミノルタホールディングス株式会社 3D measuring device
JP3530972B2 (en) * 1995-11-28 2004-05-24 独立行政法人産業技術総合研究所 Shape measuring device
JP4347614B2 (en) * 2003-06-10 2009-10-21 Jfeテクノリサーチ株式会社 Measuring apparatus and measuring method for three-dimensional curved surface shape
US20090061381A1 (en) * 2007-09-05 2009-03-05 Duane Milford Durbin Systems and methods for 3D previewing
JP2009069069A (en) * 2007-09-14 2009-04-02 Mitsui Zosen System Research Inc Device and method for recognizing measuring region
JP5593177B2 (en) * 2010-09-14 2014-09-17 株式会社トプコン Point cloud position data processing device, point cloud position data processing method, point cloud position data processing system, and point cloud position data processing program

Also Published As

Publication number Publication date
JP2017207520A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
JP6112807B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6116164B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6091864B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6029394B2 (en) Shape 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
US11009344B2 (en) Image observing device, image observing method, image observing program, and computer-readable recording medium
JP7157547B2 (en) Shape measuring device, shape measuring method and shape measuring program
JP6161253B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP5956911B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6279048B2 (en) Shape measuring device
JP2014055814A (en) Shape measuring device, shape measuring method, and shape measuring program
JP6736383B2 (en) measuring device
JP6476252B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6025466B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP5969867B2 (en) Optical microscope
JP5956932B2 (en) Shape measuring device, shape measuring method, and shape measuring program
JP6695748B2 (en) measuring device
JP2014109452A (en) Optical microscope
US10704899B2 (en) Shape measuring device and shape measuring method
JP7154084B2 (en) Three-dimensional shape measuring device and three-dimensional shape measuring program
JP6695747B2 (en) measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180821

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181018

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190204

R150 Certificate of patent or registration of utility model

Ref document number: 6476252

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250