JP2022158516A - Three-dimensional shape measuring apparatus - Google Patents

Three-dimensional shape measuring apparatus Download PDF

Info

Publication number
JP2022158516A
JP2022158516A JP2021063483A JP2021063483A JP2022158516A JP 2022158516 A JP2022158516 A JP 2022158516A JP 2021063483 A JP2021063483 A JP 2021063483A JP 2021063483 A JP2021063483 A JP 2021063483A JP 2022158516 A JP2022158516 A JP 2022158516A
Authority
JP
Japan
Prior art keywords
measurement
unit
dimensional shape
rotation
measurement object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021063483A
Other languages
Japanese (ja)
Inventor
晋也 ▲高▼橋
Shinya Takahashi
剛 末永
Go Suenaga
和毅 名取
Kazuki Natori
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 JP2021063483A priority Critical patent/JP2022158516A/en
Publication of JP2022158516A publication Critical patent/JP2022158516A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Analysis (AREA)

Abstract

To provide a three-dimensional shape measuring apparatus capable of measuring a shape over a wide range on a surface of a measurement subject without requiring a complicated setting operation.SOLUTION: A rotation unit sequentially rotates a measurement subject S about a rotation axis RA to a plurality of preset measurement angular positions. In a state where the measurement subject S is at each measurement angular position, an existence region of the measurement subject S is detected. A measurement region to be imaged by an imaging section for the measurement angular position is set in a direction orthogonal to at least the rotation axis RA on the basis of a detection result. A stage to which the rotation unit is attached, and the imaging section are controlled so that the set measurement region is imaged. In a state where the measurement subject S is at each measurement angular position, a plurality of pieces of three-dimensional shape data corresponding to a plurality of portions of the measurement subject S respectively are generated on the basis of a plurality of pieces of image data generated by the imaging the set measurement region.SELECTED DRAWING: Figure 25

Description

本発明は、測定対象物の三次元形状を光学的に測定する三次元形状測定装置に関する。 The present invention relates to a three-dimensional shape measuring apparatus that optically measures the three-dimensional shape of an object to be measured.

測定対象物の三次元形状を測定するために三次元形状測定装置が用いられる。三次元形状測定装置の一例として、特許文献1の形状測定装置においては、ステージに載置された測定対象物に対して斜め上方の位置から複数のパターンを有する複数の測定光が投光部から測定対象物に順次照射される。各測定光の照射時には、ステージの上方に配置された受光部により測定対象物が撮像される。それにより、測定光のパターンが投影された複数の画像が取得される。取得された複数の画像に基づいて、三角測距方式により測定対象物の三次元形状を示すデータが生成される。 A three-dimensional shape measuring device is used to measure the three-dimensional shape of an object to be measured. As an example of a three-dimensional shape measuring apparatus, in the shape measuring apparatus of Patent Document 1, a plurality of measurement lights having a plurality of patterns are emitted from a light projecting section from a position obliquely above a measurement object placed on a stage. The object to be measured is sequentially irradiated. At the time of irradiation of each measurement light, the measurement object is imaged by the light receiving section arranged above the stage. Thereby, a plurality of images in which the patterns of the measurement light are projected are obtained. Data indicating the three-dimensional shape of the object to be measured is generated by triangulation based on the plurality of acquired images.

ここで、上記のステージは、測定対象物が載置される載置面が、当該載置面に平行なX方向およびY方向に移動可能でかつ載置面に直交する軸の周りで回転可能となるように構成されている。それにより、使用者は、測定対象物がステージに載置された状態で、載置面を移動または回転させることにより測定対象物の所望の部分の形状を測定することができる。 Here, the stage has a mounting surface on which the object to be measured is mounted, which is movable in the X and Y directions parallel to the mounting surface and rotatable around an axis orthogonal to the mounting surface. is configured to be Thereby, the user can measure the shape of a desired portion of the measurement object by moving or rotating the mounting surface while the measurement object is placed on the stage.

特開2014-055814号公報JP 2014-055814 A

三角測距方式による形状測定方法では、測定対象物の表面の死角部分、すなわち測定対象物の表面のうち測定光を照射できない部分、および測定対象物の表面のうち撮像することができない部分については、形状を測定することができない。 In the shape measurement method using the triangulation method, blind spots on the surface of the object to be measured, that is, parts of the surface of the object to be measured that cannot be irradiated with the measurement light, and parts of the surface of the object to be measured that cannot be imaged , the shape cannot be measured.

上記の形状測定装置においては、ステージ上の測定対象物は、投光部および受光部の下方に位置する。そのため、測定対象物のうち下方を向く部分は死角となる。したがって、ステージ上の測定対象物を移動または回転させても、測定対象物の表面のうち特定の部分については、死角から外すことができない。この場合、測定対象物の形状を測定可能な部分が制限される。 In the shape measuring apparatus described above, the object to be measured on the stage is positioned below the light projecting section and the light receiving section. Therefore, the portion of the object to be measured that faces downward becomes a blind spot. Therefore, even if the object to be measured on the stage is moved or rotated, a specific portion of the surface of the object to be measured cannot be removed from the blind spot. In this case, the portion where the shape of the object to be measured can be measured is limited.

そこで、上記の形状測定装置に、ステージ上の測定対象物の位置または姿勢を調整するための調整装置を設けることが考えられる。しかしながら、測定対象物の位置または姿勢を調整することにより平面視における測定対象物のサイズに変動が生じると、使用者は、測定対象物の位置または姿勢を調整するごとに受光部により撮像すべき領域を設定する必要がある。このような設定作業は煩雑である。 Therefore, it is conceivable to provide the above shape measuring apparatus with an adjusting device for adjusting the position or posture of the object to be measured on the stage. However, if the size of the measurement object in plan view changes due to the adjustment of the position or orientation of the measurement object, the user should capture an image with the light receiving unit each time the position or orientation of the measurement object is adjusted. A region must be set. Such setting work is complicated.

本発明の目的は、煩雑な設定作業を要することなく測定対象物の表面における広い範囲に渡って形状を測定することが可能な三次元形状測定装置を提供することである。 SUMMARY OF THE INVENTION An object of the present invention is to provide a three-dimensional shape measuring apparatus capable of measuring the shape over a wide range on the surface of an object to be measured without complicated setting work.

(1)本発明に係る三次元形状測定装置は、測定対象物の三次元形状を示す三次元形状データを生成する三次元形状測定装置であって、測定対象物を保持する保持部と保持部をX軸方向に延びる回転軸の周りに、第一の回転角度と第二の回転角度に回転させる回転駆動部とを含む回転ユニットと、X軸と直交するZ軸方向に延びる光軸を有し、保持部により保持された測定対象物を撮像して測定対象物の画像を示す三次元形状データ生成用の画像データを生成するための撮像部と、X軸およびZ軸と直交するY軸方向において、撮像部の撮像視野が順次移動するように回転ユニットを撮像部に対して相対的に移動させる並進駆動部と、第一の回転角度に測定対象物を回転させた状態で撮像部から見たY軸方向に延びる測定対象物の幅に基づいて、当該Y軸方向に並ぶ複数の第一測定領域を設定し、第二の回転角度に測定対象物を回転させた状態で撮像部から見たY軸方向に延びる測定対象物の幅に基づいて、当該Y軸方向に並ぶ複数の第二測定領域を設定する設定部と、第一の回転角度に測定対象物を回転させて、撮像部の撮像視野を複数の第一測定領域に順次移動させて測定対象物の撮像を行い、続いて、第二の回転角度に測定対象物を回転させて、撮像部の撮像視野を複数の第二測定領域に順次移動させて測定対象物の撮像を行うように、並進駆動部、回転駆動部、および撮像部を制御する制御部とを備える。 (1) A three-dimensional shape measuring apparatus according to the present invention is a three-dimensional shape measuring apparatus that generates three-dimensional shape data representing a three-dimensional shape of an object to be measured. around a rotation axis extending in the X-axis direction to a first rotation angle and a second rotation angle; and an optical axis extending in the Z-axis direction orthogonal to the X-axis. an imaging unit for capturing an image of the measurement object held by the holding unit and generating image data for generating three-dimensional shape data representing an image of the measurement object; a translation drive unit that moves the rotation unit relative to the imaging unit so that the imaging field of view of the imaging unit is sequentially moved in the direction; Based on the width of the object to be measured extending in the Y-axis direction, a plurality of first measurement regions are set in line with the Y-axis direction. A setting unit that sets a plurality of second measurement regions aligned in the Y-axis direction based on the width of the measured object that extends in the Y-axis direction, and rotates the measurement object to a first rotation angle to capture an image. The imaging field of view of the imaging unit is sequentially moved to a plurality of first measurement regions to capture an image of the object to be measured, and then the object to be measured is rotated to a second rotation angle to move the imaging field of view of the imaging unit to a plurality of first measurement regions. A control unit for controlling the translation drive unit, the rotation drive unit, and the imaging unit is provided so as to sequentially move to the two measurement regions and image the measurement object.

その三次元形状測定装置においては、第一の回転角度に測定対象物を回転させた状態で撮像部から見たY軸方向に延びる測定対象物の幅に基づいて、Y軸方向に並ぶ複数の第一測定領域が設定される。また、第二の回転角度に測定対象物を回転させた状態で撮像部から見たY軸方向に延びる測定対象物の幅に基づいて、Y軸方向に並ぶ複数の第二測定領域が設定される。この場合、使用者は、第一の回転角度および第二の回転角度の各々について測定対象物の形状に応じた煩雑な設定作業を行う必要がない。その後、測定対象物が第一の回転角度にある状態で、撮像部の撮像視野が複数の第一測定領域に順次移動され、測定対象物の撮像が行われる。また、測定対象物が第二の回転角度にある状態で、撮像部の撮像視野が複数の第二測定領域に順次移動され、測定対象物の撮像が行われる。このようにして生成される複数の画像データに基づいて、第一の回転角度に対応する三次元形状データ、および第二の回転角度に対応する三次元形状データを生成することができる。これらの結果、煩雑な設定作業を要することなく測定対象物の表面における広い範囲に渡って形状を測定することが可能になる。 In the three-dimensional shape measuring apparatus, based on the width of the measurement object extending in the Y-axis direction as seen from the imaging unit in a state where the measurement object is rotated by the first rotation angle, a plurality of A first measurement area is set. Further, a plurality of second measurement regions arranged in the Y-axis direction are set based on the width of the measurement object extending in the Y-axis direction as seen from the imaging unit while the measurement object is rotated by the second rotation angle. be. In this case, the user does not need to perform complicated setting work according to the shape of the measurement object for each of the first rotation angle and the second rotation angle. After that, while the object to be measured is at the first rotation angle, the imaging field of view of the imaging unit is sequentially moved to a plurality of first measurement regions, and the object to be measured is imaged. Further, while the object to be measured is at the second rotation angle, the imaging field of view of the imaging unit is sequentially moved to a plurality of second measurement regions, and the object to be measured is imaged. Three-dimensional shape data corresponding to the first rotation angle and three-dimensional shape data corresponding to the second rotation angle can be generated based on a plurality of image data thus generated. As a result, it is possible to measure the shape over a wide range on the surface of the object to be measured without complicated setting work.

(2)三次元形状測定装置は、設定部が設定した、第一の回転角度と複数の第一測定領域とを関連付けた設定、および第二の回転角度と複数の第二測定領域を関連付けた設定を記憶する記憶部をさらに備え、制御部は、記憶部に記憶された設定に基づいて、並進駆動部、回転駆動部、および撮像部を制御してもよい。 (2) The three-dimensional shape measuring device associates the first rotation angle with the plurality of first measurement regions, and associates the second rotation angle with the plurality of second measurement regions, which are set by the setting unit. A storage unit that stores settings may be further provided, and the control unit may control the translation drive unit, the rotation drive unit, and the imaging unit based on the settings stored in the storage unit.

この場合、記憶部に記憶された設定に基づいて、第一の回転角度にある測定対象物の一部が適切に撮像され、第二の回転角度にある測定対象物の一部が適切に撮像される。 In this case, based on the settings stored in the storage unit, a portion of the measurement object at the first rotation angle is properly imaged, and a portion of the measurement object at the second rotation angle is properly imaged. be done.

(3)三次元形状測定装置は、第一の回転角度および第二の回転角度のそれぞれにおいてY軸方向における測定対象物の存在領域を検出する検出部をさらに備え、設定部は、検出部が検出した存在領域の幅に基づいて、当該存在領域の全体を撮像するために必要なY軸方向に並ぶ第一測定領域の数と第二測定領域の数とを自動的に設定してもよい。 (3) The three-dimensional shape measuring apparatus further includes a detection unit that detects the presence area of the measurement object in the Y-axis direction at each of the first rotation angle and the second rotation angle, and the setting unit detects Based on the width of the detected existence area, the number of first measurement areas and the number of second measurement areas arranged in the Y-axis direction necessary for imaging the entire existence area may be automatically set. .

この場合、使用者による設定作業を要することなく、検出部による検出結果に基づいて、第一の回転角度に対応する複数の第一測定領域、および第二の回転角度に対応する複数の第二測定領域が適切に設定される。 In this case, the plurality of first measurement regions corresponding to the first rotation angle and the plurality of second measurement regions corresponding to the second rotation angle are obtained based on the detection result of the detection unit without requiring setting work by the user. The measurement area is properly set.

(4)三次元形状測定装置は、検出部により検出された測定対象物の存在領域に基づいて設定された複数の第一測定領域と複数の第二測定領域とを調整するための設定画面を表示する表示部をさらに備え、設定部は、使用者からの指示を受け付けて、設定画面上でY軸方向に延びる第一測定領域と第二測定領域の数を拡張または縮小可能に構成されてもよい。この場合、使用者は、測定対象物の所望の部分について形状測定を行うことができる。 (4) The three-dimensional shape measuring device displays a setting screen for adjusting the plurality of first measurement regions and the plurality of second measurement regions set based on the existence region of the measurement object detected by the detection unit. A display unit for displaying is further provided, and the setting unit is configured to be able to receive an instruction from the user and expand or reduce the number of the first measurement regions and the second measurement regions extending in the Y-axis direction on the setting screen. good too. In this case, the user can measure the shape of the desired portion of the object to be measured.

(5)制御部は、第一の回転角度および第二の回転角度のそれぞれにおいて、測定対象物を撮像部に対してX軸方向およびY軸方向に相対的に移動して複数回撮像して測定対象物の全体が撮像されたマップ画像を生成するように、撮像部、並進駆動部および回転駆動部を制御し、表示部は、設定画面上にマップ画像を表示するとともに、設定部により設定された複数の第一測定領域と複数の第二測定領域とを、マップ画像上に重畳して表示し、三次元形状測定装置は、複数の第一測定領域および複数の第二測定領域にそれぞれ対応する複数の三次元形状データを生成するとともに、生成された複数の三次元形状データを合成し、測定対象物全体の三次元形状データを生成するデータ生成部とをさらに備えてもよい。 (5) At each of the first rotation angle and the second rotation angle, the control unit relatively moves the object to be measured in the X-axis direction and the Y-axis direction with respect to the imaging unit and images the object a plurality of times. The imaging unit, the translation driving unit, and the rotation driving unit are controlled so as to generate a map image in which the entire measurement object is captured, and the display unit displays the map image on the setting screen and is set by the setting unit. The plurality of first measurement regions and the plurality of second measurement regions are superimposed and displayed on the map image, and the three-dimensional shape measuring device measures the plurality of first measurement regions and the plurality of second measurement regions, respectively. A data generation unit may be further provided which generates a plurality of corresponding three-dimensional shape data and synthesizes the generated plurality of three-dimensional shape data to generate three-dimensional shape data of the entire measurement object.

この場合、使用者は、第一の回転角度に対応するマップ画像を視認することにより、第一の回転角度にある測定対象物と複数の第一測定領域との位置関係を容易に把握することができる。また、使用者は、第二の回転角度に対応するマップ画像を視認することにより、第二の回転角度にある測定対象物と複数の第二測定領域との位置関係を容易に把握することができる。 In this case, the user can easily grasp the positional relationship between the measurement object at the first rotation angle and the plurality of first measurement regions by visually recognizing the map image corresponding to the first rotation angle. can be done. Also, by visually recognizing the map image corresponding to the second rotation angle, the user can easily grasp the positional relationship between the measurement target at the second rotation angle and the plurality of second measurement regions. can.

さらに、上記の構成によれば、複数の第一測定領域および複数の第二測定領域にそれぞれ対応する複数の三次元形状データが生成されて合成されるので、測定対象物の表面における広い範囲に渡って形状を測定することが可能となる。 Furthermore, according to the above configuration, a plurality of three-dimensional shape data corresponding to the plurality of first measurement regions and the plurality of second measurement regions are generated and synthesized, so that the measurement object can be measured over a wide range of surfaces. It becomes possible to measure the shape across.

(6)撮像部は、第一の倍率で光を結像させる第一光学系と、第一光学系で結像した光を受光する第一カメラと、第一の倍率よりも低い第二の倍率で光を結像させる第二光学系と、第二光学系で結像した光を受光する第二カメラとを含み、マップ画像は、第二の倍率で測定対象物の全体を撮像することにより生成され、データ生成部は、複数の第一測定領域および複数の第二測定領域を第一の倍率で撮像して生成した複数の画像データに基づいて三次元形状データを生成してもよい。 (6) The imaging unit includes a first optical system that forms an image of light at a first magnification, a first camera that receives the light imaged by the first optical system, and a second camera that is lower than the first magnification. It includes a second optical system that forms an image of light at a magnification, and a second camera that receives the light formed by the second optical system, and the map image captures the entire measurement object at the second magnification. The data generation unit may generate three-dimensional shape data based on a plurality of image data generated by imaging the plurality of first measurement regions and the plurality of second measurement regions at a first magnification. .

第二の倍率に対応する撮像部の撮像領域は、第一の倍率に対応する撮像部の撮像領域に比べて大きい。そのため、測定対象物の全体をカバーするように第二の倍率で撮像する場合には、測定対象物の全体をカバーするように第一の倍率で撮像する場合に比べて、撮像回数を低減することができる。上記の構成によれば、マップ画像が測定対象物を第二の倍率で撮像することにより生成されるので、マップ画像の生成に要する時間を短くすることができる。 The imaging area of the imaging section corresponding to the second magnification is larger than the imaging area of the imaging section corresponding to the first magnification. Therefore, when imaging at the second magnification so as to cover the entire measurement object, the number of times of imaging is reduced compared to the case of imaging at the first magnification so as to cover the entire measurement object. be able to. According to the above configuration, since the map image is generated by imaging the measurement object at the second magnification, the time required to generate the map image can be shortened.

また、三次元形状データを生成するために、複数の第一測定領域および複数の第二測定領域が第一の倍率で撮像される。この場合、複数の第一測定領域および複数の第二測定領域を第二の倍率で撮像する場合に比べて、測定対象物における所望の部分をより高い分解能で測定することができる。 Also, the plurality of first measurement regions and the plurality of second measurement regions are imaged at a first magnification to generate three-dimensional shape data. In this case, the desired portion of the object to be measured can be measured with higher resolution than when the plurality of first measurement regions and the plurality of second measurement regions are imaged at the second magnification.

(7)回転駆動部は、保持部を第一の回転角度および第二の回転角度を含む複数の異なる回転角度に順次回転させることが可能に構成され、設定部は、測定対象物が複数の異なる回転角度の各々にある状態で撮像部から見たY軸方向に延びる測定対象物の幅に基づいてY軸方向に並ぶ複数の測定領域を設定可能に構成され、制御部は、複数の異なる回転角度の各々に測定対象物を回転させて、撮像部の撮像視野を当該回転角度に対応する複数の測定領域に順次移動させて測定対象物の撮像を行うように並進駆動部、回転駆動部、および撮像部を制御し、三次元形状測定装置は、複数の異なる回転角度のそれぞれにおいてY軸方向における測定対象物の存在領域を測定対象物の幅として検出する検出部と、検出部により検出された測定対象物の存在領域に基づいて回転角度ごとに設定された測定領域を調整するための設定画面を表示する表示部と、測定対象物が箱形状であるか軸形状であるかを選択するための操作部とをさらに備え、表示部は、操作部によって箱形状が選択された際に、箱形状の測定対象物の測定に関する設定を行うための第一設定画面を設定画面として表示し、操作部によって軸形状が選択された際に、軸形状の測定対象物の測定に関する設定を行うための第二設定画面を設定画面として表示してもよい。 (7) The rotation drive section is configured to be capable of sequentially rotating the holding section to a plurality of different rotation angles including the first rotation angle and the second rotation angle, and the setting section is configured to rotate the measurement object at a plurality of angles. A plurality of measurement regions arranged in the Y-axis direction can be set based on the width of the measurement object extending in the Y-axis direction as viewed from the imaging unit at different rotation angles. The translation drive unit and the rotation drive unit rotate the object to be measured by each of the rotation angles, sequentially move the imaging field of view of the imaging unit to a plurality of measurement regions corresponding to the rotation angles, and perform imaging of the object to be measured. , and an imaging unit, and the three-dimensional shape measuring apparatus includes a detection unit that detects the presence area of the measurement object in the Y-axis direction as the width of the measurement object at each of a plurality of different rotation angles, and a detection unit that detects A display unit that displays a setting screen for adjusting the measurement area set for each rotation angle based on the presence area of the measurement object, and a selection of whether the measurement object is box-shaped or shaft-shaped. The display unit displays, as a setting screen, a first setting screen for making settings related to the measurement of the box-shaped measurement object when the box shape is selected by the operation unit. Alternatively, when the shaft shape is selected by the operation unit, a second setting screen may be displayed as the setting screen for making settings related to the measurement of the shaft-shaped measurement object.

この場合、測定対象物が複数の異なる回転角度の各々にある状態で、検出部の検出結果に基づいて、Y軸方向に並ぶ複数の測定領域が設定される。設定された測定領域を調整するための設定画面が表示部に表示される。使用者が箱形状および軸形状のうちいずれかを選択することにより、各形状に応じた設定画面が表示装置に表示される。これにより、使用者は、箱形状の測定対象物の測定に関する設定を行う場合に、箱形状に適した第一設定画面により測定領域を調整することができる。また、使用者は、軸形状の測定対象物の測定に関する設定を行う場合に、軸形状に適した第二設定画面により測定領域を調整することができる。 In this case, a plurality of measurement regions aligned in the Y-axis direction are set based on the detection result of the detection unit while the measurement object is positioned at each of a plurality of different rotation angles. A setting screen for adjusting the set measurement area is displayed on the display. When the user selects either the box shape or the shaft shape, a setting screen corresponding to each shape is displayed on the display device. Thereby, the user can adjust the measurement area on the first setting screen suitable for the box shape when performing the settings related to the measurement of the box-shaped measurement object. In addition, when the user makes settings related to the measurement of the shaft-shaped measurement object, the user can adjust the measurement region on the second setting screen suitable for the shaft shape.

(8)操作部は、当該操作部により箱形状が選択されることにより表示部に第一設定画面が表示された状態で、離散的な複数の異なる回転角度を選択可能に構成され、表示部は、第一設定画面において、操作部により選択された複数の異なる回転角度のそれぞれにおいて撮像された測定対象物の画像上に、検出部により検出されて設定された複数の測定領域を重畳して表示してもよい。 (8) The operation unit is configured to be able to select a plurality of different discrete rotation angles in a state in which the box shape is selected by the operation unit and the first setting screen is displayed on the display unit. superimposes a plurality of measurement regions detected and set by the detection unit on the image of the measurement object captured at each of the plurality of different rotation angles selected by the operation unit on the first setting screen. may be displayed.

この場合、操作部により選択された複数の異なる回転角度で測定対象物を撮像することができる。また、使用者は、第一設定画面を視認することにより、複数の異なる回転角度の各々に対応する測定領域を容易に把握することができる。 In this case, the object to be measured can be imaged at a plurality of different rotation angles selected by the operation unit. In addition, by viewing the first setting screen, the user can easily grasp the measurement regions corresponding to each of a plurality of different rotation angles.

(9)表示部は、操作部により軸形状が選択されることにより第二設定画面を表示する際に、当該第二設定画面において、複数の異なる回転角度のうち特定の一の回転角度で撮像部により撮像された測定対象物の画像を表示し、設定部は、特定の一の回転角度の指定を使用者から受け付けてもよい。 (9) The display unit, when displaying the second setting screen by selecting the shaft shape by the operation unit, captures an image at a specific one rotation angle among a plurality of different rotation angles on the second setting screen. The image of the object to be measured captured by the unit may be displayed, and the setting unit may receive a designation of a specific rotation angle from the user.

この場合、軸形状が選択された場合に、使用者により指定された一の回転角度で撮像された測定対象物の画像が第二設定画面に表示される。 In this case, when the shaft shape is selected, the image of the object to be measured captured at one rotation angle designated by the user is displayed on the second setting screen.

(10)設定部は、操作部によって箱形状が選択された際に、予め定められた角度の整数倍の角度ピッチで、複数の異なる回転角度を設定してもよい。この場合、測定対象物が回転ユニットにより予め定められた角度ピッチで回転し、各回転が行われるごとに測定対象物が撮像される。 (10) The setting unit may set a plurality of different rotation angles at angular pitches that are integral multiples of a predetermined angle when the box shape is selected by the operation unit. In this case, the measurement object is rotated by the rotation unit at a predetermined angular pitch, and the measurement object is imaged at each rotation.

(11)設定部は、操作部によって軸形状が選択された際に、軸形状の測定対象物を回転させた時に当該測定対象物の全周を測定するために必要な複数の異なる回転角度のピッチを、当該測定対象物の径に基づいて自動的に設定し、制御部は、設定部により設定された回転角度のピッチで測定対象物を回転させるように、回転駆動部を制御してもよい。この場合、煩雑な設定作業を要することなく、軸形状を有する測定対象物の全周を測定するために必要な回転角度のピッチが設定される。 (11) When the shaft shape is selected by the operation unit, the setting unit selects a plurality of different rotation angles necessary to measure the entire circumference of the shaft-shaped measurement object when the shaft-shaped measurement object is rotated. The pitch is automatically set based on the diameter of the object to be measured, and the control unit controls the rotation drive unit so as to rotate the object to be measured at the pitch of the rotation angle set by the setting unit. good. In this case, the pitch of the rotation angle required to measure the entire circumference of the object having the axial shape is set without complicated setting work.

(12)設定部は、操作部によって軸形状が選択された際に、使用者から軸形状の測定対象物を回転させる回転角度のピッチの入力を受け付け、当該回転角度のピッチは、測定対象物を回転させた時に当該測定対象物の全周を測定するために必要な数値に制限されてもよい。この場合、使用者は、所望のピッチで複数の異なる回転角度を設定することができる。また、上記の構成によれば、回転角度のピッチが測定対象物の全周を測定するために必要な数値に制限されるので、誤った設定が行われることが防止される。 (12) When the shaft shape is selected by the operation unit, the setting unit receives an input of a rotation angle pitch for rotating the shaft-shaped measurement object from the user. may be limited to the numerical values necessary to measure the entire circumference of the object to be measured when the is rotated. In this case, the user can set a plurality of different rotation angles at the desired pitch. In addition, according to the above configuration, since the pitch of the rotation angle is limited to the numerical value necessary for measuring the entire circumference of the object to be measured, erroneous setting is prevented.

(13)三次元形状測定装置は、複数の第一測定領域に対応する三次元形状データを取得するデータ取得部をさらに備え、設定部は、データ取得部により取得された複数の第一測定領域に対応する複数の三次元形状データに基づいて、Y軸方向に並ぶ複数の第二測定領域を設定することが可能に構成されてもよい。 (13) The three-dimensional shape measuring device further includes a data acquisition unit that acquires three-dimensional shape data corresponding to the plurality of first measurement regions, and the setting unit measures the plurality of first measurement regions acquired by the data acquisition unit. A plurality of second measurement regions arranged in the Y-axis direction may be set based on a plurality of three-dimensional shape data corresponding to .

この場合、第一の回転角度にあるときの測定対象物の三次元形状データに基づいて、第二の回転角度に対応する複数の第二測定領域が設定される。したがって、第二の回転角度に対応する複数の第二測定領域を設定するために、予め第二の回転角度に測定対象物を回転させた状態で測定対象物を撮像する等の作業が不要となる。 In this case, a plurality of second measurement regions corresponding to the second rotation angle are set based on the three-dimensional shape data of the measurement object at the first rotation angle. Therefore, in order to set a plurality of second measurement regions corresponding to the second rotation angle, it is not necessary to take an image of the measurement object while rotating the measurement object to the second rotation angle in advance. Become.

(14)三次元形状測定装置は、回転ユニットと撮像部とのZ軸方向の相対距離を変化させるための垂直駆動部をさらに備え、制御部は、第一の回転角度と第二の回転角度のそれぞれにおいて複数の第一測定領域と複数の第二測定領域とを相対距離を変化させながら複数回撮像して複数の画像データを生成するように並進駆動部、垂直駆動部、回転駆動部及び撮像部を制御し、データ生成部は、相対距離を変化させながら複数の第一測定領域および複数の第二測定領域を複数回撮像して生成された複数の画像データに基づいて複数の第一測定領域および複数の第二測定領域にそれぞれ対応する複数の三次元形状データを生成するとともに、当該生成された複数の三次元形状データを合成し、測定対象物の三次元形状データを生成してもよい。この場合、Z軸方向における広い範囲に渡って測定対象物の形状を高い精度で測定することができる。 (14) The three-dimensional shape measuring apparatus further includes a vertical drive section for changing the relative distance in the Z-axis direction between the rotation unit and the imaging section, and the control section controls the first rotation angle and the second rotation angle. A translation drive unit, a vertical drive unit, a rotation drive unit, and a The data generation unit controls the imaging unit, and the data generation unit generates the plurality of first measurement regions based on the plurality of image data generated by imaging the plurality of first measurement regions and the plurality of second measurement regions a plurality of times while changing the relative distance. generating a plurality of three-dimensional shape data respectively corresponding to the measurement region and the plurality of second measurement regions, and synthesizing the generated plurality of three-dimensional shape data to generate three-dimensional shape data of the object to be measured; good too. In this case, the shape of the measurement object can be measured with high accuracy over a wide range in the Z-axis direction.

(15)三次元形状測定装置は、回転ユニットが取り付けられるステージと、ステージの上面に斜め上方の位置から周期的なパターンを有するパターン光を位相シフトさせつつ複数回照射するプロジェクタとをさらに備え、撮像部は、光軸がZ軸に一致するようにステージの上方に設けられ、プロジェクタから回転ユニットにより保持された測定対象物にパターン光が照射され、測定対象物から反射されるパターン光を受光することにより当該測定対象物を複数回撮像し、当該測定対象物の画像を示す複数の画像データを生成し、プロジェクタは、X軸方向に並ぶとともにX軸方向に直交する仮想面を挟んで対称に配置された第1および第2の投光装置を含み、第1および第2の投光装置の各々は、Y軸に直交しかつX軸およびZ軸に対してそれぞれ所定の角度で傾斜する光軸を有し、当該投光装置の光軸に沿って撮像部の光軸に向かうようにパターン光を出射し、回転ユニットは、ステージが撮像部に対して予め定められた基準位置にあるときに、第1の投光装置によるパターン光の照射領域と、第2の投光装置によるパターン光の照射領域と、撮像部の撮像領域とが重複する空間から外れた位置に配置されるように設けられてもよい。 (15) The three-dimensional shape measuring apparatus further includes a stage to which a rotating unit is attached, and a projector that irradiates pattern light having a periodic pattern from an obliquely upper position on the upper surface of the stage a plurality of times while shifting the phase, The imaging unit is provided above the stage so that the optical axis is aligned with the Z-axis. The image pickup unit irradiates pattern light from the projector onto the measurement object held by the rotation unit, and receives the pattern light reflected from the measurement object. By doing so, the object to be measured is imaged multiple times to generate a plurality of image data representing images of the object to be measured, and the projectors are aligned in the X-axis direction and symmetrical with respect to a virtual plane perpendicular to the X-axis direction. wherein each of the first and second light projection devices is orthogonal to the Y axis and inclined at a predetermined angle with respect to the X and Z axes, respectively The rotating unit has an optical axis, and emits pattern light along the optical axis of the light projecting device toward the optical axis of the imaging unit, and the stage of the rotating unit is at a predetermined reference position with respect to the imaging unit. Sometimes, the irradiation region of the pattern light by the first light projection device, the irradiation region of the pattern light by the second light projection device, and the imaging region of the imaging unit are arranged in a position outside the overlapping space. may be provided in

第1の投光装置によるパターン光の照射領域と、第2の投光装置によるパターン光の照射領域と、撮像部の撮像領域とが重複する空間を測定空間と呼ぶ。上記の構成によれば、測定対象物を測定空間に配置することにより、測定対象物には、互いに異なる2つの方向に沿ってパターン光が照射される。それにより、測定対象物の表面においてパターン光が照射される範囲を拡大することができる。 A space in which the pattern light irradiation region by the first light projection device, the pattern light irradiation region by the second light projection device, and the imaging region of the imaging unit overlap is called a measurement space. According to the above configuration, by arranging the measurement object in the measurement space, the measurement object is irradiated with the pattern light along two mutually different directions. As a result, it is possible to expand the range of the surface of the measurement object irradiated with the pattern light.

また、上記の構成によれば、ステージが基準位置にあるときに回転ユニットが測定空間に位置しない。したがって、ステージと撮像部とを予め定められた位置関係を有するように配置することで、測定対象物の測定可能な範囲が回転ユニットにより制限されることが防止される。したがって、測定空間に配置された測定対象物の表面の広い範囲に渡って高い精度を有する三次元形状データを生成することができる。 Moreover, according to the above configuration, the rotation unit is not located in the measurement space when the stage is at the reference position. Therefore, by arranging the stage and the imaging section so as to have a predetermined positional relationship, it is possible to prevent the rotation unit from restricting the measurable range of the measurement object. Therefore, it is possible to generate highly accurate three-dimensional shape data over a wide range of the surface of the object to be measured placed in the measurement space.

本発明によれば、煩雑な設定作業を要することなく測定対象物の表面におけるより広い範囲に渡って形状を測定することが可能になる。 According to the present invention, it is possible to measure the shape over a wider range on the surface of the object to be measured without complicated setting work.

本発明の一実施の形態に係る形状測定装置の構成を示すブロック図である。1 is a block diagram showing the configuration of a shape measuring device according to one embodiment of the present invention; FIG. 図1の形状測定装置の測定部の構成を示す模式図である。FIG. 2 is a schematic diagram showing the configuration of a measuring section of the shape measuring apparatus of FIG. 1; 図1の形状測定装置の測定部の外観斜視図である。2 is an external perspective view of a measuring section of the shape measuring apparatus of FIG. 1; FIG. 回転ユニットの構成とステージに対する回転ユニットの取り付けおよび取り外しを説明するための図である。FIG. 4 is a diagram for explaining the configuration of the rotation unit and attachment and detachment of the rotation unit to and from the stage; 保持部の構成の詳細を説明するための外観斜視図である。FIG. 4 is an external perspective view for explaining the details of the configuration of the holding portion; 保持部の構成の詳細を説明するための外観斜視図である。FIG. 4 is an external perspective view for explaining the details of the configuration of the holding portion; 保持部の構成の詳細を説明するための外観斜視図である。FIG. 4 is an external perspective view for explaining the details of the configuration of the holding portion; 図1のステージのZ方向における好ましい可動ストローク範囲について説明するための図である。2 is a diagram for explaining a preferable movable stroke range in the Z direction of the stage of FIG. 1; FIG. 図1のステージのZ方向における好ましい可動ストローク範囲について説明するための図である。2 is a diagram for explaining a preferable movable stroke range in the Z direction of the stage of FIG. 1; FIG. 図1のステージのZ方向における好ましい可動ストローク範囲について説明するための図である。2 is a diagram for explaining a preferable movable stroke range in the Z direction of the stage of FIG. 1; FIG. 三角測距方式の原理を説明するための図である。It is a figure for demonstrating the principle of a triangulation ranging method. ステージの上面をXY方向に移動させることにより複数の三次元形状データを生成する例を説明するための図である。FIG. 5 is a diagram for explaining an example of generating a plurality of three-dimensional shape data by moving the upper surface of the stage in the XY directions; ステージの上面をZ方向に移動させることにより複数の三次元形状データを生成する例を説明するための図である。FIG. 10 is a diagram for explaining an example of generating a plurality of three-dimensional shape data by moving the upper surface of the stage in the Z direction; 回転ユニットを用いて測定対象物を回転軸周りで回転させることにより複数の三次元形状データを生成する例を説明するための図である。FIG. 5 is a diagram for explaining an example of generating a plurality of three-dimensional shape data by rotating a measurement object around a rotation axis using a rotation unit; 第1の校正機能を説明するための図である。FIG. 4 is a diagram for explaining a first calibration function; FIG. 第2の校正機能を説明するための図である。FIG. 11 is a diagram for explaining a second calibration function; FIG. 第2のマーカの位置での回転軸のずれのみを用いて三次元形状データの補正を行う場合の一例を説明するための図である。FIG. 10 is a diagram for explaining an example of correcting three-dimensional shape data using only the displacement of the rotation axis at the position of the second marker; 第3の校正機能を説明するための図である。FIG. 11 is a diagram for explaining a third calibration function; FIG. 図1の形状測定装置を用いた測定対象物の形状測定手順を示すフローチャートである。2 is a flow chart showing a procedure for measuring the shape of an object using the shape measuring apparatus of FIG. 1; 図1の形状測定装置を用いた測定対象物の形状測定手順を示すフローチャートである。2 is a flow chart showing a procedure for measuring the shape of an object using the shape measuring apparatus of FIG. 1; 回転を伴う測定対象物の形状測定を行うための測定領域の設定手順を示すフローチャートである。4 is a flow chart showing a procedure for setting a measurement region for shape measurement of a measurement object that involves rotation; ステージに回転ユニットが取り付けられない状態で形状測定装置の電源がオンされたときに表示部に表示される測定基本画面の一例を示す図である。FIG. 10 is a diagram showing an example of a basic measurement screen displayed on the display section when the power of the shape measuring apparatus is turned on without the rotating unit attached to the stage. 図22の領域設定ボタンが操作されることにより表示部に表示される領域設定画面の一例を示す図である。FIG. 23 is a diagram showing an example of an area setting screen displayed on the display unit when the area setting button in FIG. 22 is operated; ステージに回転ユニットが取り付けられた状態で表示部に表示される測定基本画面の一例を示す図である。FIG. 10 is a diagram showing an example of a basic measurement screen displayed on the display section with the rotating unit attached to the stage; 図24の箱部分ボタンが操作されることに応答して実行される形状測定装置の動作を説明するための図である。FIG. 25 is a diagram for explaining the operation of the shape measuring device that is executed in response to the operation of the box portion button of FIG. 24; 図24の箱部分ボタンが操作されることにより表示部に表示される領域設定画面の一例を示す図である。FIG. 25 is a diagram showing an example of an area setting screen displayed on the display unit when the box portion button in FIG. 24 is operated; 図24の箱全周ボタンが操作されることにより表示部に表示される領域設定画面の一例を示す図である。FIG. 25 is a diagram showing an example of an area setting screen displayed on the display unit when the box perimeter button in FIG. 24 is operated; 図24の軸ボタンが操作されることにより表示部に表示される領域設定画面の一例を示す図である。FIG. 25 is a diagram showing an example of a region setting screen displayed on the display unit when the axis button of FIG. 24 is operated; 図24の回転詳細ボタンが操作されることにより表示部に表示される副表示領域の一例を示す図である。FIG. 25 is a diagram showing an example of a sub-display area displayed on the display unit when the detailed rotation button in FIG. 24 is operated; 図26~図28の編集ボタンが操作されることにより表示部に表示される副表示領域の一例を示す図である。FIG. 29 is a diagram showing an example of a sub-display area displayed on the display unit when the edit button in FIGS. 26 to 28 is operated; FIG. 図30の第1の校正チェックボックスにチェックが入れられることにより表示部に表示される領域設定画面の一例を示す図である。FIG. 31 is a diagram showing an example of a region setting screen displayed on the display unit when a first calibration check box in FIG. 30 is checked; 図30の第2の校正チェックボックスにチェックが入れられることにより表示部に表示される領域設定画面の一例を示す図である。FIG. 31 is a diagram showing an example of a region setting screen displayed on the display unit when a second calibration check box in FIG. 30 is checked; 図32のマーカ反転チェックボックスにチェックが入れられることにより表示部に表示される領域設定画面の一例を示す図である。FIG. 33 is a diagram showing an example of a region setting screen displayed on the display unit when a marker reversal check box in FIG. 32 is checked; 第1のマーカおよび第2のマーカについての新たな測定領域が設定された状態で表示部に表示される領域設定画面の一例を示す図である。FIG. 10 is a diagram showing an example of a region setting screen displayed on the display section with new measurement regions set for the first marker and the second marker; 回転ユニットを用いた測定対象物の形状測定の一例を示す外観斜視図である。FIG. 4 is an external perspective view showing an example of shape measurement of a measurement object using a rotating unit; 図35の形状測定により得られる全ての三次元形状データに基づく三次元形状画像の一例を示す図である。FIG. 36 is a diagram showing an example of a three-dimensional shape image based on all three-dimensional shape data obtained by the shape measurement of FIG. 35; 図36の三次元形状画像からステージの上面に対応する三次元形状画像を除去した図である。FIG. 37 is a diagram obtained by removing a three-dimensional shape image corresponding to the upper surface of the stage from the three-dimensional shape image of FIG. 36; 図1のCPUの機能的な構成を示すブロック図である。2 is a block diagram showing a functional configuration of a CPU in FIG. 1; FIG. CPUにより実行される形状測定処理の一例を示すフローチャートである。4 is a flowchart showing an example of shape measurement processing executed by a CPU; CPUにより実行される形状測定処理の一例を示すフローチャートである。4 is a flowchart showing an example of shape measurement processing executed by a CPU; CPUにより実行される測定領域設定処理の一例を示すフローチャートである。4 is a flowchart showing an example of measurement area setting processing executed by a CPU; CPUにより実行される測定領域設定処理の一例を示すフローチャートである。4 is a flowchart showing an example of measurement area setting processing executed by a CPU; Z方向の測定対象物の測定範囲を設定することの要否を受け付け可能な領域設定画面の一例を示す図である。FIG. 10 is a diagram showing an example of a region setting screen capable of accepting whether or not to set the measurement range of the measurement object in the Z direction; 測定対象物のZ方向における測定範囲を設定するための領域設定画面の一例を示す図である。FIG. 5 is a diagram showing an example of a region setting screen for setting a measurement range in the Z direction of a measurement object; 測定対象物とステージとの干渉判定機能を説明するための図である。FIG. 4 is a diagram for explaining a function of determining interference between a measurement object and a stage; 他の実施の形態に係る回転ユニットの構成例を示す図である。It is a figure showing the example of composition of the rotation unit concerning other embodiments.

以下、本発明の一実施の形態に係る三次元形状測定装置について図面を参照しつつ説明する。なお、以下の説明では、三次元形状測定装置を形状測定装置と略記する。 A three-dimensional shape measuring apparatus according to an embodiment of the present invention will be described below with reference to the drawings. In addition, in the following description, the three-dimensional shape measuring device is abbreviated as a shape measuring device.

[1]形状測定装置の構成
図1は、本発明の一実施の形態に係る形状測定装置の構成を示すブロック図である。図2は、図1の形状測定装置500の測定部の構成を示す模式図である。図3は、図1の形状測定装置500の測定部の外観斜視図である。
[1] Configuration of Shape Measuring Apparatus FIG. 1 is a block diagram showing the configuration of a shape measuring apparatus according to an embodiment of the present invention. FIG. 2 is a schematic diagram showing the configuration of the measuring section of the shape measuring device 500 of FIG. FIG. 3 is an external perspective view of the measuring section of the shape measuring device 500 of FIG.

図1に示すように、形状測定装置500は、測定部100、PC(パーソナルコンピュータ)200、制御部300および表示部400を備える。測定部100は、例えば顕微鏡であり、複数の投光部110A,110B、受光部120、照明光出力部130、ステージ140、制御基板150および回転ユニット190を含む。図2に示すように、各投光部110A,110Bは、測定光源111、パターン生成部112、複数のレンズ113,114,115、絞り116および複数の折り曲げミラー117,118を含む。受光部120は、複数のカメラ121A,121B、複数のレンズ122,123A,123B、ハーフミラー124および絞り125A,125Bを含む。 As shown in FIG. 1 , the shape measuring device 500 includes a measurement section 100 , a PC (personal computer) 200 , a control section 300 and a display section 400 . The measuring section 100 is, for example, a microscope, and includes a plurality of light projecting sections 110A and 110B, a light receiving section 120, an illumination light output section 130, a stage 140, a control board 150 and a rotating unit 190. As shown in FIG. 2, each light projection section 110A, 110B includes a measurement light source 111, a pattern generator 112, a plurality of lenses 113, 114, 115, an aperture 116 and a plurality of folding mirrors 117, 118. FIG. Light receiving unit 120 includes a plurality of cameras 121A, 121B, a plurality of lenses 122, 123A, 123B, a half mirror 124, and diaphragms 125A, 125B.

測定部100においては、測定対象物Sの形状を測定可能な測定空間101が、投光部110A,110Bおよび受光部120の位置関係に基づいて定まる。図2および図3では、測定空間101が一点鎖線で示される。ステージ140の上面141sの一部は、測定空間101に位置する。ステージ140の上面141sに測定対象物Sが載置されること、または後述する回転ユニット190により測定対象物Sが保持されることにより、測定空間101に測定対象物Sが配置される。 In the measurement section 100, a measurement space 101 in which the shape of the measurement object S can be measured is determined based on the positional relationship between the light projection sections 110A and 110B and the light reception section 120. FIG. In FIGS. 2 and 3 the measurement space 101 is indicated by a dashed line. A portion of the upper surface 141 s of the stage 140 is positioned in the measurement space 101 . The measurement object S is arranged in the measurement space 101 by placing the measurement object S on the upper surface 141 s of the stage 140 or by holding the measurement object S by a rotation unit 190 which will be described later.

ここで、図2および図3の測定部100において、ステージ140の上面141s内で互いに直交する2方向をX方向およびY方向と定義し、それぞれ矢印X,Yで示す。なお、X方向は測定部100の前後方向に平行な方向であり、Y方向は測定部100の左右方向に平行な方向である。また、ステージ140の上面141sに対して直交する方向をZ方向と定義し、矢印Zで示す。 Here, in the measurement unit 100 of FIGS. 2 and 3, the two directions orthogonal to each other within the upper surface 141s of the stage 140 are defined as the X direction and the Y direction, and indicated by arrows X and Y, respectively. The X direction is a direction parallel to the front-rear direction of the measurement unit 100 , and the Y direction is a direction parallel to the left-right direction of the measurement unit 100 . A direction orthogonal to the upper surface 141s of the stage 140 is defined as a Z direction and indicated by an arrow Z. As shown in FIG.

図3に示すように、ステージ140は台座990に設けられる。台座990から上方に延びるように支柱991が設けられている。支柱991の上端部に光学系支持体992が取り付けられている。光学系支持体992は、ステージ140の上方に位置するように受光部120を支持する。また、光学系支持体992は、それぞれステージ140の斜め上方に位置するように2つの投光部110A,110Bを支持する。2つの投光部110A,110Bは、X方向に並ぶように配置される。より具体的には、2つの投光部110A,110Bは、受光部120の光軸ROAを含みかつX方向に直交する面を挟んで対称に配置される。2つの投光部110A,110Bおよび受光部120は光学系支持体992に支持された状態で後述するヘッドケーシング160(図8~図10)に収容される。 As shown in FIG. 3, stage 140 is provided on base 990 . A post 991 is provided to extend upward from the base 990 . An optical system support 992 is attached to the upper end of the post 991 . The optical system supporter 992 supports the light receiving section 120 so as to be positioned above the stage 140 . Also, the optical system supporter 992 supports the two light projecting sections 110A and 110B so as to be positioned obliquely above the stage 140, respectively. The two light projection units 110A and 110B are arranged side by side in the X direction. More specifically, the two light projecting sections 110A and 110B are arranged symmetrically across a plane that includes the optical axis ROA of the light receiving section 120 and is perpendicular to the X direction. The two light projecting sections 110A and 110B and the light receiving section 120 are housed in a head casing 160 (FIGS. 8 to 10) described later while being supported by the optical system support 992. FIG.

各投光部110A,110Bの測定光源111は、例えば白色光を出射するハロゲンランプである。測定光源111は、白色光を出射する白色LED(発光ダイオード)等の他の光源であってもよい。 The measurement light source 111 of each of the light projection 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.

図2および図3に示すように、測定光源111から出射された光は、レンズ113により適切に集光された後、折り曲げミラー117により反射され、パターン生成部112に入射する。パターン生成部112は、例えばDMD(デジタルマイクロミラーデバイス)である。パターン生成部112は、透過型LCD(液晶ディスプレイ)、反射型LCD、LCOS(Liquid Crystal on Silicon:反射型液晶素子)またはマスクであってもよい。パターン生成部112は、入射した光から予め設定された形状測定用のパターンおよび予め設定された強度(明るさ)を有する光束(以下、パターン光と呼ぶ。)を生成し、生成されたパターン光をパターン出射面112S(図3)から出射する。 As shown in FIGS. 2 and 3, the light emitted from the measurement light source 111 is properly collected by the lens 113 and then reflected by the folding mirror 117 to enter the pattern generator 112 . The pattern generator 112 is, for example, a DMD (digital micromirror device). The pattern generator 112 may be a transmissive LCD (liquid crystal display), a reflective LCD, a LCOS (Liquid Crystal on Silicon), or a mask. The pattern generation unit 112 generates a light flux (hereinafter referred to as pattern light) having a preset pattern for shape measurement and a preset intensity (brightness) from the incident light, and generates pattern light. is emitted from the pattern exit surface 112S (FIG. 3).

パターン生成部112により出射されたパターン光は、複数のレンズ114,115および絞り116により拡大された後、折り曲げミラー118により反射され、ステージ140上の測定対象物Sに照射される。本実施の形態においては、複数のレンズ114,115および絞り116により両側テレセントリック光学系TT(図3)が構成される。 The pattern light emitted by the pattern generator 112 is magnified by a plurality of lenses 114 and 115 and an aperture 116 , reflected by a folding mirror 118 , and irradiated onto the measurement object S on the stage 140 . In this embodiment, a plurality of lenses 114 and 115 and a diaphragm 116 constitute a double telecentric optical system TT (FIG. 3).

受光部120においては、測定対象物Sによりステージ140の上方に反射されたパターン光が、受光部120のレンズ122に入射する。レンズ122に入射されたパターン光の一部は、ハーフミラー124を透過し、レンズ123Aおよび絞り125Aにより集光および結像され、カメラ121Aで受光される。また、レンズ122に入射されたパターン光の残りは、ハーフミラー124で反射され、受光部120の複数のレンズ123Bおよび絞り125Bにより集光および結像され、カメラ121Bで受光される。 In the light receiving section 120 , the pattern light reflected upward from the stage 140 by the measurement object S enters the lens 122 of the light receiving section 120 . Part of the pattern light incident on the lens 122 is transmitted through the half mirror 124, condensed and imaged by the lens 123A and the diaphragm 125A, and received by the camera 121A. The remainder of the pattern light incident on lens 122 is reflected by half mirror 124, condensed and imaged by a plurality of lenses 123B and diaphragm 125B of light receiving unit 120, and received by camera 121B.

本実施の形態に係る受光部120においては、レンズ122,123Aおよび絞り125Aによりカメラ121Aに対応する一の両側テレセントリック光学系が構成される。また、レンズ122,123Bおよび絞り125Bによりカメラ121Bに対応する他の両側テレセントリック光学系が構成される。 In light-receiving unit 120 according to the present embodiment, lenses 122 and 123A and diaphragm 125A constitute one double-telecentric optical system corresponding to camera 121A. Lenses 122, 123B and diaphragm 125B constitute another bilateral telecentric optical system corresponding to camera 121B.

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

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

なお、レンズ123Aの倍率はレンズ123Bの倍率に比べて低い。あるいは、カメラ121Aのレンズの倍率は、カメラ121Bのレンズの倍率に比べて低い。そのため、カメラ121Aは低倍率カメラとして用いられ、カメラ121Bは、高倍率カメラとして用いられる。使用者は、例えば後述する操作部250を操作することにより、測定対象物Sの観察および形状測定に用いるカメラとして、低倍率カメラおよび高倍率カメラのうちいずれか一方を選択することができる。 Note that the magnification of the lens 123A is lower than that of the lens 123B. Alternatively, the magnification of the lens of camera 121A is lower than the magnification of the lens of camera 121B. Therefore, camera 121A is used as a low-magnification camera, and camera 121B is used as a high-magnification camera. The user can select either one of the low-magnification camera and the high-magnification camera as the camera used for observing and measuring the shape of the object S by operating the operation unit 250, which will be described later.

制御基板150には、図示しないA/D変換器(アナログ/デジタル変換器)およびFIFO(First In First Out)メモリが実装される。カメラ121A,121Bから出力される受光信号は、制御部300による制御に基づいて、制御基板150のA/D変換器により一定のサンプリング周期でサンプリングされるとともにデジタル信号に変換される。A/D変換器から出力されるデジタル信号は、FIFOメモリに順次蓄積される。FIFOメモリに蓄積されたデジタル信号は画素データとして順次PC200に転送される。 The control board 150 is mounted with an A/D converter (analog/digital converter) and FIFO (First In First Out) memory (not shown). The received light signals output from the cameras 121A and 121B are sampled at regular sampling intervals and converted into digital signals by the A/D converter of the control board 150 under the control of the control unit 300 . Digital signals output from the A/D converter are sequentially stored in a 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 working memory 230 , a storage device 240 and an operation section 250 . Operation unit 250 also includes a keyboard and a pointing device. A mouse, a joystick, or the like is used as the pointing device.

ROM220には、システムプログラムが記憶される。作業用メモリ230は、RAM(ランダムアクセスメモリ)からなり、種々のデータの処理のために用いられる。記憶装置240は、ハードディスク等からなる。記憶装置240には、測定対象物Sの形状測定を行うための形状測定プログラムが記憶される。また、記憶装置240は、測定対象物Sの形状測定に関する種々のデータを保存するために用いられる。 A system program is stored in the ROM 220 . The working memory 230 consists of RAM (random access memory) and is used for processing various data. The storage device 240 consists of a hard disk or the like. The storage device 240 stores a shape measurement program for measuring the shape of the object S to be measured. Also, the storage device 240 is used to store various data relating to the shape measurement of the object S to be measured.

CPU210は、記憶装置240に記憶された形状測定プログラムを実行する。それにより、CPU210は、制御基板150から与えられる画素データに基づいて画像データを生成する。また、CPU210は、生成した画像データに作業用メモリ230を用いて各種処理を行うとともに、画像データに基づく画像を表示部400に表示させる。さらに、CPU210は、後述するステージ駆動部146および後述する回転駆動部192に駆動パルスを与える。CPU210が形状測定プログラムを実行することにより発揮される具体的な機能については後述する。表示部400は、例えばLCDパネルまたは有機EL(エレクトロルミネッセンス)パネルにより構成される。 CPU 210 executes a shape measurement program stored in storage device 240 . Thereby, CPU 210 generates image data based on the pixel data provided from control board 150 . Further, the CPU 210 performs various processes on the generated image data using the working memory 230 and causes the display unit 400 to display an image based on the image data. Further, the CPU 210 gives driving pulses to the stage driving section 146 (to be described later) and the rotation driving section 192 (to be described later). A specific function exhibited by the execution of the shape measurement program by the CPU 210 will be described later. The display unit 400 is configured by, for example, an LCD panel or an organic EL (electroluminescence) panel.

ステージ140は、XYステージ141およびZステージ142を含む。XYステージ141は、上面141sを有するとともに、X方向移動機構およびY方向移動機構を有する。X方向移動機構は、上面141sをX方向に移動させるための機構である。Y方向移動機構は、上面141sをY方向に移動させるための機構である。Zステージ142は、上面141sをZ方向に移動させるためのZ方向移動機構を有する。なお、ステージ140は、θステージを含んでもよいし、チルトステージを含んでもよい。θステージは、例えば上面141sに直交する軸を中心に回転可能な機構を有するステージである。チルトステージは、上面141sに平行な軸を基準として傾斜可能な機構を有するステージである。 Stage 140 includes an XY stage 141 and a Z stage 142 . The XY stage 141 has an upper surface 141s and an X-direction movement mechanism and a Y-direction movement mechanism. The X direction moving mechanism is a mechanism for moving the upper surface 141s in the X direction. The Y direction moving mechanism is a mechanism for moving the upper surface 141s in the Y direction. The Z stage 142 has a Z direction movement mechanism for moving the upper surface 141s in the Z direction. Note that the stage 140 may include a θ stage or a tilt stage. The θ stage is, for example, a stage having a rotatable mechanism around an axis perpendicular to the upper surface 141s. The tilt stage is a stage having a tiltable mechanism on the basis of an axis parallel to the upper surface 141s.

ここで、受光部120の焦点に位置しかつ受光部120の光軸ROAに垂直な平面を受光部120の焦点面と呼ぶ。図2および図3に示すように、投光部110A,110B、受光部120およびステージ140の相対的な位置関係は、投光部110Aからステージ140の上面141sに向かう投光部110Aの光軸TOA1、投光部110Bからステージ140の上面141sに向かう投光部110Bの光軸TOA2、およびステージ140の上面141sから受光部120に向かう受光部120の光軸ROAが受光部120の焦点面で互いに交差するように設定される。 Here, a plane positioned at the focal point of the light receiving section 120 and perpendicular to the optical axis ROA of the light receiving section 120 is called a focal plane of the light receiving section 120 . As shown in FIGS. 2 and 3, 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 directed from the light projecting unit 110A to the upper surface 141s of the stage 140 is TOA1, the optical axis TOA2 of light projecting unit 110B extending from light projecting unit 110B toward upper surface 141s of stage 140, and the optical axis ROA of light receiving unit 120 extending from upper surface 141s of stage 140 toward light receiving unit 120 are the focal planes of light receiving unit 120. set to intersect each other.

また、投光部110Aの焦点を含みXY方向に平行な平面を投光部110Aの焦点面と呼び、投光部110Bの焦点を含みXY方向に平行な平面を投光部110Bの焦点面と呼ぶ。この場合、各投光部110A,110Bは、投光部110Aの焦点面および投光部110Bの焦点面が受光部120の焦点を含む位置で交差するように構成される。 A plane including the focal point of the light projecting unit 110A and parallel to the XY directions is called the focal plane of the light projecting unit 110A, and a plane including the focal point of the light projecting unit 110B and parallel to the XY directions is called the focal plane of the light projecting unit 110B. call. In this case, each of the light projecting sections 110A and 110B is configured such that the focal plane of the light projecting section 110A and the focal plane of the light projecting section 110B intersect at a position including the focus of the light receiving section 120. FIG.

上記のような構成により、測定部100においては、投光部110Aによる測定光の照射領域と、投光部110Bによる測定光の照射領域と、受光部120の撮像領域(撮像視野)とが重複する空間が形成される。この3つの領域の重複空間が、測定空間101である。なお、測定空間101のサイズは、使用者により選択されるカメラの倍率(高倍率または低倍率)に応じて異なる。低倍率が選択されたときの測定空間101のサイズは、高倍率が選択されたときの測定空間101のサイズよりも大きい。 With the configuration described above, in the measurement unit 100, the irradiation area of the measurement light from the light projection unit 110A, the irradiation area of the measurement light from the light projection unit 110B, and the imaging area (imaging field of view) of the light receiving unit 120 overlap. space is formed. The overlapping space of these three regions is measurement space 101 . Note that the size of the measurement space 101 differs according to the magnification of the camera selected by the user (high magnification or low magnification). The size of the measurement space 101 when low magnification is selected is larger than the size of the measurement space 101 when high magnification is selected.

ステージ140のX方向移動機構、Y方向移動機構およびZ方向移動機構には、それぞれステッピングモータが用いられる。図1に示すように、測定部100は、ステージ140に付随する構成要素としてステージ操作部145およびステージ駆動部146を含む。ステージ140のX方向移動機構、Y方向移動機構およびZ方向移動機構は、図1のステージ操作部145またはステージ駆動部146により駆動される。 A stepping motor is used for each of the X-direction movement mechanism, Y-direction movement mechanism, and Z-direction movement mechanism of the stage 140 . As shown in FIG. 1 , the measuring section 100 includes a stage operating section 145 and a stage driving section 146 as components attached to the stage 140 . The X-direction movement mechanism, Y-direction movement mechanism, and Z-direction movement mechanism of the stage 140 are driven by the stage operation section 145 or the stage drive section 146 in FIG.

使用者は、ステージ操作部145を手動で操作することにより、ステージ140の上面141sを受光部120に対して相対的にX方向、Y方向またはZ方向に移動させることができる。ステージ駆動部146は、PC200より与えられる駆動パルスに基づいて、ステージ140の各ステッピングモータに電流を供給することにより、ステージ140の上面141sを受光部120に相対的にX方向、Y方向またはZ方向に移動させる。 The user can move the upper surface 141 s of the stage 140 relative to the light receiving section 120 in the X direction, the Y direction, or the Z direction by manually operating the stage operation section 145 . The stage drive unit 146 supplies current to each stepping motor of the stage 140 based on the drive pulse given from the PC 200, thereby moving the upper surface 141s of the stage 140 relative to the light receiving unit 120 in the X direction, Y direction or Z direction. move in the direction

ステージ140のX方向移動機構、Y方向移動機構およびZ方向移動機構の各々に用いられるステッピングモータにはエンコーダが取り付けられている。各エンコーダの出力信号は、例えばCPU210に与えられる。CPU210は、ステージ140の各エンコーダから与えられる信号に基づいて、ステージ140の上面141sのX方向の位置(X位置)、Y方向の位置(Y位置)またはZ方向の位置(Z位置)の変化量を算出することができる。 An encoder is attached to the stepping motor used for each of the X-direction movement mechanism, Y-direction movement mechanism, and Z-direction movement mechanism of the stage 140 . An output signal of each encoder is given to the CPU 210, for example. The CPU 210 changes the position of the upper surface 141s of the stage 140 in the X direction (X position), the position in the Y direction (Y position), or the position in the Z direction (Z position) based on the signals given from the encoders of the stage 140. Amount can be calculated.

ステージ140においては、XYステージ141について、予めXY方向における基準位置が定められている。基準位置は、例えば上面141sの中心が受光部120の光軸ROA上に位置するときのXYステージ141の位置である。なお、基準位置は、平面視で測定空間101の全体がステージ140の上面141s上に重なるように定められればよい。そのため、基準位置は、測定空間101がステージ140の上面141s上に位置するのであれば、上面141sの中心を除く部分が受光部120の光軸ROA上に位置するときのXYステージ141の位置であってもよい。 In the stage 140, the XY stage 141 has a reference position set in advance in the XY directions. The reference position is the position of the XY stage 141 when the center of the upper surface 141s is positioned on the optical axis ROA of the light receiving section 120, for example. The reference position may be determined such that the entire measurement space 101 overlaps the top surface 141s of the stage 140 in plan view. Therefore, if the measurement space 101 is located on the top surface 141s of the stage 140, the reference position is the position of the XY stage 141 when the portion of the top surface 141s excluding the center is located on the optical axis ROA of the light receiving unit 120. There may be.

図2および図3に示すように、本実施の形態に係るXYステージ141は、X方向に延びる長方形の板形状を有する。X方向におけるXYステージ141の端部には、回転ユニット190が設けられている。回転ユニット190は、ステージ140に対して取り付けることが可能かつ取り外すことが可能に構成されている。 As shown in FIGS. 2 and 3, the XY stage 141 according to this embodiment has a rectangular plate shape extending in the X direction. A rotation unit 190 is provided at the end of the XY stage 141 in the X direction. The rotation unit 190 is configured to be attachable to and detachable from the stage 140 .

図4は、回転ユニット190の構成とステージ140に対する回転ユニット190の取り付けおよび取り外しを説明するための図である。図4(a)に、回転ユニット190の平面図が示される。図4(b)に、XYステージ141の平面図が示される。図4(c)に、回転ユニット190が取り付けられたXYステージ141の平面図が示される。 4A and 4B are diagrams for explaining the configuration of the rotation unit 190 and attachment and detachment of the rotation unit 190 to and from the stage 140. FIG. FIG. 4(a) shows a plan view of the rotation unit 190. As shown in FIG. A plan view of the XY stage 141 is shown in FIG. FIG. 4(c) shows a plan view of the XY stage 141 to which the rotating unit 190 is attached.

図4(a)に示すように、回転ユニット190は、保持部191および回転駆動部192を含む。回転駆動部192は、ステッピングモータsmおよび電源部ppが略直方体形状を有するケーシング内に収容された構成を有する。ステッピングモータsmは保持部191を回転させるために用いられる。電源部ppはステッピングモータsmに電力を供給する。回転駆動部192のケーシングは、長手方向において互いに対向する2つの端面es1,es2を有するとともに、短手方向において互いに対向する2つの側面ss1,ss2を有する。 As shown in FIG. 4( a ), the rotation unit 190 includes a holding portion 191 and a rotation driving portion 192 . Rotation drive unit 192 has a configuration in which stepping motor sm and power supply unit pp are accommodated in a casing having a substantially rectangular parallelepiped shape. A stepping motor sm is used to rotate the holding portion 191 . A power supply unit pp supplies power to the stepping motor sm. The casing of the rotary drive unit 192 has two end faces es1 and es2 facing each other in the longitudinal direction and two side faces ss1 and ss2 facing each other in the transverse direction.

保持部191は、後述する一対の保持片92,93(図5~図7)で測定対象物Sを挟み込むことにより測定対象物Sを保持可能に構成されたチャックであり、側面ss1から所定距離突出するように設けられている。また、保持部191は、側面ss1に直交する回転軸の周りで回転可能に回転駆動部192のステッピングモータsmにより支持されている。保持部191の詳細は後述する。回転駆動部192の他方の側面ss2には、後述する一対の保持片92,93(図5~図7)間の距離を調整するための保持ダイヤル195が設けられている。 The holding part 191 is a chuck configured to be able to hold the measurement object S by sandwiching the measurement object S between a pair of holding pieces 92 and 93 (FIGS. 5 to 7), which will be described later. provided to protrude. Further, the holding portion 191 is supported by the stepping motor sm of the rotation driving portion 192 so as to be rotatable around a rotation axis perpendicular to the side surface ss1. Details of the holding portion 191 will be described later. A holding dial 195 for adjusting the distance between a pair of holding pieces 92 and 93 (FIGS. 5 to 7), which will be described later, is provided on the other side surface ss2 of the rotation driving portion 192. As shown in FIG.

回転駆動部192の両端面es1,es2の下端には、回転ユニット190をXYステージ141上に取り付けるための取付部199が設けられている。取付部199には、ねじを挿入可能な貫通孔が形成されている。また、回転駆動部192には、ケーシング内の電源部ppから一方の端面es2を通して外方に延びるようにケーブル193が設けられている。ケーブル193の先端には、コネクタ194が設けられている。ケーブル193およびコネクタ194は、XYステージ141内部に設けられる後述する回転ユニット用基板から電源部ppに電力を供給するためおよび回転ユニット用基板と電源部ppとの間で信号のやり取りを行うために用いられる。 Attachment portions 199 for attaching the rotation unit 190 onto the XY stage 141 are provided at the lower ends of both end faces es1 and es2 of the rotation drive portion 192 . The mounting portion 199 is formed with a through hole into which a screw can be inserted. Further, a cable 193 is provided in the rotation driving portion 192 so as to extend outward from the power supply portion pp in the casing through one end surface es2. A connector 194 is provided at the tip of the cable 193 . The cable 193 and the connector 194 are used to supply power to the power supply section pp from a rotation unit board (described later) provided inside the XY stage 141 and to exchange signals between the rotation unit board and the power supply section pp. Used.

図4(b)に示すように、XYステージ141の上面141sは、X方向に延びる矩形状を有する。X方向における上面141sの一端部には、回転ユニット190の2つの取付部199にそれぞれ対応する2つのねじ孔141hが形成されている。本例では、XYステージ141は、基準位置にあるものとする。この場合、平面視で、測定空間101の外縁はXYステージ141の上面141sの中心を取り囲む。 As shown in FIG. 4B, the upper surface 141s of the XY stage 141 has a rectangular shape extending in the X direction. Two screw holes 141h respectively corresponding to the two mounting portions 199 of the rotating unit 190 are formed at one end of the upper surface 141s in the X direction. In this example, the XY stage 141 is assumed to be at the reference position. In this case, the outer edge of the measurement space 101 surrounds the center of the upper surface 141s of the XY stage 141 in plan view.

XYステージ141内部には、回転ユニット190の電源部ppに電力を供給するためおよび回転駆動部192の動作を制御するための制御基板(以下、回転ユニット用基板と呼ぶ。)が設けられている。XYステージ141のうち測定部100の前方を向く一側部には、回転ユニット用基板と回転ユニット190とを電気的に接続するためのコネクタ141cが設けられている。 Inside the XY stage 141, a control board (hereinafter referred to as a rotation unit board) is provided for supplying power to the power supply section pp of the rotation unit 190 and for controlling the operation of the rotation drive section 192. . A connector 141 c for electrically connecting the rotation unit board and the rotation unit 190 is provided on one side of the XY stage 141 facing the front of the measurement unit 100 .

図4(c)に示すように、XYステージ141上に回転ユニット190が取り付けられる。この取付時には、XYステージ141の2つのねじ孔141h上に回転ユニット190の2つの取付部199が位置決めされる。また、各取付部199の貫通孔を通してねじ孔141hにねじが取り付けられる。それにより、XYステージ141の上面141sにおける予め定められた位置に回転ユニット190が固定される。XYステージ141が基準位置にある状態で、回転ユニット190は測定空間101から外れた空間に位置する。この場合、回転ユニット190が測定空間101に位置しないので、測定対象物Sの測定可能な範囲が回転ユニット190により制限されることが防止される。 As shown in FIG. 4(c), a rotating unit 190 is attached on the XY stage 141. As shown in FIG. During this mounting, the two mounting portions 199 of the rotating unit 190 are positioned over the two screw holes 141 h of the XY stage 141 . A screw is attached to the screw hole 141h through the through hole of each attachment portion 199. As shown in FIG. Thereby, the rotating unit 190 is fixed at a predetermined position on the upper surface 141 s of the XY stage 141 . With the XY stage 141 at the reference position, the rotation unit 190 is positioned in a space separate from the measurement space 101 . In this case, since the rotation unit 190 is not positioned in the measurement space 101, the rotation unit 190 prevents the measurable range of the measurement object S from being restricted.

さらに、XYステージ141への回転ユニット190の取付時には、ケーブル193に設けられたコネクタ194が、XYステージ141のコネクタ141cに接続される。これにより、XYステージ141から回転ユニット190への電力供給が可能になる。また、回転ユニット190の回転駆動部192が、XYステージ141の回転ユニット用基板を介してCPU210により制御される。 Furthermore, when the rotation unit 190 is attached to the XY stage 141 , the connector 194 provided on the cable 193 is connected to the connector 141 c of the XY stage 141 . This enables power supply from the XY stage 141 to the rotation unit 190 . Further, the rotation drive section 192 of the rotation unit 190 is controlled by the CPU 210 via the rotation unit substrate of the XY stage 141 .

回転駆動部192のステッピングモータsmにはエンコーダが取り付けられている。当該エンコーダの出力信号は、回転ユニット190とXYステージ141とが電気的に接続されることによりCPU210に与えられる。CPU210は、回転ユニット190のエンコーダから与えられる信号に基づいて、保持部191の回転方向における角度位置(回転角度)を算出することができる。 An encoder is attached to the stepping motor sm of the rotary drive unit 192 . An output signal of the encoder is given to CPU 210 by electrically connecting rotating unit 190 and XY stage 141 . The CPU 210 can calculate the angular position (rotation angle) of the holding portion 191 in the rotation direction based on the signal given from the encoder of the rotation unit 190 .

ここで、保持部191の詳細について説明する。図5~図7は、保持部191の構成の詳細を説明するための外観斜視図である。図5に示すように、保持部191は、回転支持軸91、一対の保持片92,93および図示しない開閉機構を含む。 Here, the details of the holding portion 191 will be described. 5 to 7 are external perspective views for explaining the details of the configuration of the holding portion 191. FIG. As shown in FIG. 5, the holding portion 191 includes a rotation support shaft 91, a pair of holding pieces 92 and 93, and an opening/closing mechanism (not shown).

回転支持軸91は、回転駆動部192のステッピングモータsmに接続され、当該回転支持軸91の中心軸周りで回転可能に支持されている。一対の保持片92,93は、それぞれ半円柱形状を有し、回転支持軸91の先端部分を挟み込むようにかつ一対の保持片92,93により一本の円柱を形成するように設けられている。図示しない開閉機構は、図5に白抜きの矢印で示すように、使用者による保持ダイヤル195(図4(a))の操作に応じて一対の保持片92,93間の距離を変化させる。それにより、図6に示すように、保持部191は、一対の保持片92,93が測定対象物Sの一部を挟み込むことにより測定対象物Sを保持(把持)することが可能に構成されている。 The rotation support shaft 91 is connected to the stepping motor sm of the rotation drive unit 192 and supported rotatably around the central axis of the rotation support shaft 91 . The pair of holding pieces 92 and 93 each have a semi-cylindrical shape, and are provided so as to sandwich the tip portion of the rotation support shaft 91 and to form a single column with the pair of holding pieces 92 and 93. . The opening/closing mechanism (not shown) changes the distance between the pair of holding pieces 92 and 93 according to the operation of the holding dial 195 (FIG. 4(a)) by the user, as indicated by the white arrows in FIG. As a result, as shown in FIG. 6, the holding portion 191 is configured to be able to hold (grip) the measurement object S by sandwiching a portion of the measurement object S between the pair of holding pieces 92 and 93. ing.

各保持片92,93の先端に位置する端面92e,93eには、複数の孔92h,93hが形成されている。これらの複数の孔92h,93hには、棒状部材94を挿入することができる。保持片92,93の複数の孔92h,93hに選択的に所定数の棒状部材94が挿入されることにより、図7に示すように、複数の棒状部材94を用いて測定対象物Sを保持することも可能である。 A plurality of holes 92h, 93h are formed in end faces 92e, 93e located at the tips of the holding pieces 92, 93, respectively. A rod-shaped member 94 can be inserted into these plurality of holes 92h and 93h. By selectively inserting a predetermined number of rod-shaped members 94 into the plurality of holes 92h and 93h of the holding pieces 92 and 93, the measurement object S is held using the plurality of rod-shaped members 94 as shown in FIG. It is also possible to

保持部191により保持された測定対象物Sを測定空間101に配置することにより、測定空間101内に位置する測定対象物Sの上方を向く部分について三次元形状を測定することができる。 By arranging the measurement object S held by the holding part 191 in the measurement space 101, the three-dimensional shape of the upward facing portion of the measurement object S located in the measurement space 101 can be measured.

上記の保持部191の構成によれば、測定対象物Sが片持ち保持されるので、保持部191により保持される測定対象物Sの部分が低減される。したがって、測定空間101内で測定対象物Sを回転させることにより、測定対象物Sの表面のより広い範囲について三次元形状を測定することができる。 According to the configuration of the holding portion 191 described above, the measurement object S is held in a cantilever manner, so the portion of the measurement object S held by the holding portion 191 is reduced. Therefore, by rotating the measurement object S within the measurement space 101, the three-dimensional shape of a wider range of the surface of the measurement object S can be measured.

ところで、Z方向移動機構により上下動可能なステージ140の範囲(以下、可動ストローク範囲と呼ぶ。)は、例えばステージ140と受光部120との位置関係に基づいて定められることが好ましい。図8~図10は、図1のステージ140のZ方向における好ましい可動ストローク範囲について説明するための図である。 By the way, the range of the stage 140 that can be vertically moved by the Z-direction moving mechanism (hereinafter referred to as the movable stroke range) is preferably determined based on the positional relationship between the stage 140 and the light receiving section 120, for example. 8 to 10 are diagrams for explaining a preferable movable stroke range in the Z direction of stage 140 in FIG.

図8~図10では、測定部100の模式的正面図が示される。また、図8~図10では、投光部110A,110Bおよび受光部120を収容するヘッドケーシング160が二点鎖線で示され、受光部120の焦点面120Fが太い点線で示される。さらに、回転ユニット190における回転支持軸91(図5~図7)の中心を通る回転軸RAが一点鎖線で示される。本例では、ヘッドケーシング160の下端部に受光部120のレンズ122(図2)が位置する。また、本例では、回転軸RAは、回転ユニット190がステージ140に取り付けられた状態で、X方向に平行に延びる。 8 to 10 show schematic front views of the measurement unit 100. FIG. 8 to 10, the head casing 160 housing the light projecting units 110A and 110B and the light receiving unit 120 is indicated by a two-dot chain line, and the focal plane 120F of the light receiving unit 120 is indicated by a thick dotted line. Furthermore, the rotation axis RA passing through the center of the rotation support shaft 91 (FIGS. 5 to 7) in the rotation unit 190 is indicated by a dashed line. In this example, the lens 122 ( FIG. 2 ) of the light receiving section 120 is positioned at the lower end of the head casing 160 . Further, in this example, the rotation axis RA extends parallel to the X direction with the rotation unit 190 attached to the stage 140 .

図8に示すように、ステージ140は、少なくとも上面141sが受光部120の焦点面120Fに位置する高さ位置p1に配置可能に構成されることが好ましい。この場合、回転ユニット190は、Z方向の寸法(高さ)dhが受光部120のレンズ122から焦点面120Fまでの作動距離WDよりも小さくなるように設計されることが好ましい。 As shown in FIG. 8, the stage 140 is preferably configured to be arranged at a height position p1 where at least the upper surface 141s is positioned on the focal plane 120F of the light receiving section 120. As shown in FIG. In this case, the rotation unit 190 is preferably designed such that the dimension (height) dh in the Z direction is smaller than the working distance WD from the lens 122 of the light receiving section 120 to the focal plane 120F.

次に、図9に示すように、ステージ140は、回転ユニット190が取り付けられた状態で、少なくとも回転ユニット190の回転軸RAが受光部120の焦点面120Fに位置する高さ位置p2に配置可能に構成されることが好ましい。図8および図9の例に示される配置を実現するためには、図1のステージ140のZ方向における可動ストローク範囲RMは、受光部120の焦点面120FをZ方向における上面141sと回転軸RAとの間で位置調整できるように定められる必要がある。 Next, as shown in FIG. 9, the stage 140, with the rotating unit 190 attached, can be arranged at a height position p2 where at least the rotating unit 190's rotation axis RA is positioned on the focal plane 120F of the light receiving unit 120. is preferably configured to In order to realize the arrangements shown in the examples of FIGS. 8 and 9, the movable stroke range RM in the Z direction of the stage 140 in FIG. must be defined so that the position can be adjusted between

ここで、Z方向における上面141sから回転軸RAまでの距離を基準距離RDと定義する。この場合、図10に示すように、ステージ140は、回転ユニット190が取り付けられた状態で、焦点面120Fが上面141sから上方に基準距離RDの2倍の距離離間した高さ位置に配置されるときの高さ位置p3に配置可能に構成されることがより好ましい。 Here, the distance from the top surface 141s to the rotation axis RA in the Z direction is defined as a reference distance RD. In this case, as shown in FIG. 10, the stage 140, with the rotating unit 190 attached, is arranged at a height position where the focal plane 120F is separated from the upper surface 141s by a distance twice the reference distance RD. It is more preferable to be configured so that it can be arranged at the height position p3.

このような構成によれば、回転軸RAを基準とする回転時に上面141sに干渉しない測定対象物Sについて、広い範囲に渡って形状測定を行うことができる。したがって、図1のステージ140のZ方向における可動ストローク範囲RMは、受光部120の焦点面120Fを上面141sと上面141sの上方に基準距離RDの2倍の距離離間した高さ位置との間で位置調整できるように定められることが好ましい。 According to such a configuration, shape measurement can be performed over a wide range for the measurement object S that does not interfere with the upper surface 141s during rotation about the rotation axis RA. Therefore, the movable stroke range RM in the Z direction of the stage 140 in FIG. It is preferably defined to be positionally adjustable.

図1に示すように、制御部300は、制御基板310および照明光源320を含む。制御基板310には、図示しないCPUが実装される。制御基板310のCPUは、PC200のCPU210からの指令に基づいて、投光部110A,110B、受光部120および制御基板150を制御する。 As shown in FIG. 1, the control unit 300 includes a control board 310 and an illumination light source 320. As shown in FIG. A CPU (not shown) is mounted on the control board 310 . The CPU of the control board 310 controls the light projecting sections 110A and 110B, the light receiving section 120 and the control board 150 based on commands from the CPU 210 of the PC 200 .

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

図2の照明光出力部130は、円環形状を有し、受光部120を取り囲むようにステージ140の上方に配置される。これにより、影が発生しないように照明光出力部130から測定対象物Sに照明光が照射される。 Illumination light output section 130 in FIG. 2 has an annular shape and is arranged above stage 140 so as to surround light receiving section 120 . As a result, the illumination light output unit 130 irradiates the measurement object S with the illumination light so as not to generate a shadow.

[2]測定対象物の立体形状を示す三次元形状データ
(1)三角測距方式による測定対象物の形状測定
測定部100においては、三角測距方式により測定対象物Sの形状が測定される。図11は、三角測距方式の原理を説明するための図である。図11に示すように、例えば投光部110Aから出射される光線の光軸と受光部120に入射する反射光の光軸(受光部120の光軸)との間の角度γが予め設定される。角度γは、0度よりも大きく90度よりも小さい。
[2] Three-dimensional shape data indicating the three-dimensional shape of the object to be measured (1) Shape measurement of the object to be measured by triangulation The measuring unit 100 measures the shape of the object S by triangulation. . FIG. 11 is a diagram for explaining the principle of the triangulation method. As shown in FIG. 11, for example, an angle γ between the optical axis of the light beam emitted from the light projecting portion 110A and the optical axis of the reflected light incident on the light receiving portion 120 (the optical axis of the light receiving portion 120) is set in advance. be. The angle γ is greater than 0 degrees and less than 90 degrees.

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

点Oと点Aとの間のX方向における距離をdとすると、ステージ140の上面141sに対する測定対象物Sの点Aの高さhは、h=d÷tan(γ)により与えられる。図1のPC200のCPU210は、制御基板150により与えられる測定対象物Sの画素データに基づいて、X方向における点Oと点Aとの間の距離dを測定する。また、CPU210は、測定された距離dに基づいて、測定対象物Sの表面の点Aの高さhを算出する。測定対象物Sの表面の全ての点の高さを算出することにより、測定対象物Sの三次元的な形状が測定される。 Assuming that the distance in the X direction between the points O and A is d, the height h of the point A of the measuring object S with respect to the upper surface 141s 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 . The CPU 210 also calculates the height h of the point A on the surface of the measurement object S based on the measured distance d. By calculating the heights of all points on the surface of the measurement object S, the three-dimensional shape of the measurement object S is measured.

三角測距方式の形状測定時には、測定対象物Sの表面の全ての点に光を照射するために、図1の投光部110A,110Bからステージ140に向かって種々のパターンを有するパターン光が順次出射される。例えば、Y方向に平行でかつX方向に並ぶような直線状の断面を有する縞状のパターン光が、その空間位相が変化されつつ各投光部110A,110Bから複数回出射される。また、Y方向に平行な直線状の断面を有しかつ明部分と暗部分とがX方向に並ぶコード状のパターン光が、その明部分および暗部分がグレイコード状に変化されつつ各投光部110A,110Bから複数回出射される。 In order to irradiate light onto all points on the surface of the measurement object S during shape measurement using the triangulation method, pattern light having various patterns is emitted from the light projection units 110A and 110B shown in FIG. 1 toward the stage 140. They are emitted sequentially. For example, striped pattern light having a linear cross section parallel to the Y direction and aligned in the X direction is emitted from each of the light projection units 110A and 110B a plurality of times while its spatial phase is changed. In addition, a code-like pattern light having a linear cross section parallel to the Y direction and having bright portions and dark portions aligned in the X direction is projected while the bright portions and dark portions are changed in the form of a gray code. It is emitted multiple times from the portions 110A and 110B.

CPU210(図1)においては、所定のパターン光が投影された測定対象物Sの画像データに基づいて測定対象物Sの立体形状を表す三次元形状データが生成される。三次元形状データは、測定対象物Sの表面上の位置データを含む。測定部100においては、受光部120に対して固有の位置関係を有する三次元座標系(以下、装置座標系と呼ぶ。)が定義される。本例の装置座標系は、X方向、Y方向およびZ方向に平行なX軸、Y軸およびZ軸を含む。位置データは、例えば装置座標系における座標を表す。以下の説明では、三次元形状データに基づいて表示される測定対象物Sの画像を三次元形状画像と呼ぶ。 In the CPU 210 (FIG. 1), three-dimensional shape data representing the three-dimensional shape of the measuring object S is generated based on the image data of the measuring object S onto which the predetermined pattern light is projected. The three-dimensional shape data includes position data on the surface of the object S to be measured. In the measuring section 100, a three-dimensional coordinate system (hereinafter referred to as a device coordinate system) having a unique positional relationship with respect to the light receiving section 120 is defined. The apparatus coordinate system in this example includes X, Y and Z axes parallel to the X, Y and Z directions. The position data represents coordinates in the device coordinate system, for example. In the following description, the image of the measuring object S displayed based on the three-dimensional shape data is called a three-dimensional shape image.

(2)XY方向における複数の三次元形状データの合成
測定対象物Sがステージ140の上面141s上に載置された状態で、XY方向において測定対象物Sが測定空間101内に収まらない場合には、測定対象物Sの上面の一部にしかパターン光が照射されない。そのため、測定対象物Sの表面の広範囲に渡る三次元形状データを求めることができない。
(2) Synthesis of a plurality of three-dimensional shape data in the XY directions When the measurement target S is placed on the upper surface 141s of the stage 140 and the measurement target S does not fit within the measurement space 101 in the XY directions, , only a part of the upper surface of the measurement object S is irradiated with the pattern light. Therefore, three-dimensional shape data over a wide range of the surface of the measurement object S cannot be obtained.

そこで、XY方向において測定対象物Sの上面が測定空間101内に収まらない場合には、ステージ140の上面141sを受光部120に対して相対的にXY方向に移動させることにより、測定対象物Sの複数の部分を撮像してもよい。この場合、測定対象物Sの複数の部分にそれぞれ対応する複数の三次元形状データを取得し、取得された複数の三次元形状データを合成することができる。 Therefore, when the upper surface of the measurement object S does not fit within the measurement space 101 in the XY directions, the upper surface 141 s of the stage 140 is moved in the XY directions relative to the light receiving unit 120 so that the measurement object S may be imaged. In this case, it is possible to obtain a plurality of three-dimensional shape data respectively corresponding to a plurality of portions of the measurement object S, and synthesize the obtained plurality of three-dimensional shape data.

図12は、ステージ140の上面141sをXY方向に移動させることにより複数の三次元形状データを生成する例を説明するための図である。例えば、図12(a)に示すように、使用者により測定対象物Sがステージ140上に載置される。また、測定対象物Sの位置および姿勢がステージ140上で調整された後、パターン光を用いた撮像が行われることにより1番目の三次元形状データが生成される。これにより取得される三次元形状画像の一例が図12(e)に示される。なお、図12(e)~(h)および後述する図13(c),(d)および図14(d)~(f)に示される三次元形状画像において、点線は測定対象物Sの全体の外形を仮想的に表したものである。 FIG. 12 is a diagram for explaining an example of generating a plurality of three-dimensional shape data by moving the upper surface 141s of the stage 140 in the XY directions. For example, as shown in FIG. 12( a ), the user places the object S to be measured on the stage 140 . Also, after the position and orientation of the measuring object S are adjusted on the stage 140, the first three-dimensional shape data is generated by imaging using the pattern light. An example of the three-dimensional shape image acquired by this is shown in FIG.12(e). In addition, in the three-dimensional shape images shown in FIGS. 12(e) to (h) and FIGS. 13(c), (d) and FIGS. is a virtual representation of the outline of the

図12(a)に示すように、本例では、1番目の三次元形状データの生成時に、XY方向における測定対象物Sの一部分のみが測定空間101内に配置される。したがって、図12(e)に示される三次元形状画像は、測定対象物Sの上面のうちXY方向における複数の部分が欠落している。 As shown in FIG. 12A, in this example, only a portion of the measurement object S in the XY directions is placed within the measurement space 101 when the first three-dimensional shape data is generated. Therefore, the three-dimensional shape image shown in FIG. 12( e ) lacks a plurality of portions in the XY directions of the upper surface of the measurement object S.

そこで、図12(b)~(d)に示すように、1番目の三次元形状データで表されていない測定対象物Sの複数の部分が順次測定空間101に配置されるように、ステージ140の上面141sがXY方向に移動される。また、測定空間101の各部分が測定空間101に配置されるごとに、パターン光を用いた撮像が行われ、2番目~4番目の三次元形状データが生成される。2番目~4番目の三次元形状データにそれぞれ対応する三次元形状画像が図12(f)~(h)に示される。このようにして、ステージ140のXY方向への移動および測定対象物Sの撮像が繰り返されることにより、測定対象物Sの上面の複数の部分にそれぞれ対応する複数の三次元形状データが生成される。生成された複数の三次元形状データが合成されることにより、測定対象物Sの表面の広い範囲に渡る三次元形状データが生成される。以下の説明では、XY方向において測定対象物Sの形状測定の対象範囲を拡大するための合成を平面方向合成と呼ぶ。 Therefore, as shown in FIGS. 12(b) to 12(d), the stage 140 is arranged such that a plurality of portions of the measurement object S that are not represented by the first three-dimensional shape data are sequentially arranged in the measurement space 101. is moved in the XY directions. Also, every time each part of the measurement space 101 is arranged in the measurement space 101, an image is captured using the pattern light, and the second to fourth three-dimensional shape data are generated. Three-dimensional shape images corresponding to the second to fourth three-dimensional shape data are shown in FIGS. 12(f) to (h). By repeating the movement of the stage 140 in the XY directions and the imaging of the measurement object S in this manner, a plurality of three-dimensional shape data corresponding to a plurality of portions of the upper surface of the measurement object S are generated. . By synthesizing a plurality of generated three-dimensional shape data, three-dimensional shape data covering a wide range of the surface of the measurement object S is generated. In the following description, synthesis for enlarging the target range of shape measurement of the measurement object S in the XY directions is called planar direction synthesis.

(3)Z方向における複数の三次元形状データの合成
測定対象物Sがステージ140の上面141s上に載置された状態で、Z方向において測定対象物Sの上面が測定空間101内(受光部120の被写界深度の範囲内)に収まらない場合には、測定対象物Sの上面の一部にしか受光部120の焦点が合わない。そのため、測定対象物Sの表面の広範囲に渡る三次元形状データを求めることができない。
(3) Synthesis of a plurality of three-dimensional shape data in the Z direction With the measurement object S placed on the upper surface 141s of the stage 140, the upper surface of the measurement object S in the Z direction is within the measurement space 101 (light receiving unit 120), the light receiving unit 120 is focused only on a part of the upper surface of the object S to be measured. Therefore, three-dimensional shape data over a wide range of the surface of the measurement object S cannot be obtained.

そこで、Z方向において測定対象物Sの上面が測定空間101内に収まらない場合には、ステージ140の上面141sを受光部120に対して相対的にZ方向に移動させることにより、測定対象物Sの複数の部分を撮像してもよい。この場合、測定対象物Sの複数の部分にそれぞれ対応する複数の三次元形状データを取得し、取得された複数の三次元形状データを合成することができる。 Therefore, when the upper surface of the measurement object S cannot be accommodated in the measurement space 101 in the Z direction, the upper surface 141s of the stage 140 is moved in the Z direction relative to the light receiving unit 120 so that the measurement object S may be imaged. In this case, it is possible to obtain a plurality of three-dimensional shape data respectively corresponding to a plurality of portions of the measurement object S, and synthesize the obtained plurality of three-dimensional shape data.

図13は、ステージ140の上面141sをZ方向に移動させることにより複数の三次元形状データを生成する例を説明するための図である。例えば、図13(a)に示すように、使用者により測定対象物Sがステージ140上に載置され、パターン光を用いた撮像が行われることにより1番目の三次元形状データが生成される。これにより取得される三次元形状画像の一例が図13(c)に示される。 FIG. 13 is a diagram for explaining an example of generating a plurality of three-dimensional shape data by moving the upper surface 141s of the stage 140 in the Z direction. For example, as shown in FIG. 13(a), the user places the measurement object S on the stage 140, and the first three-dimensional shape data is generated by performing imaging using the pattern light. . An example of the three-dimensional shape image acquired by this is shown in FIG.13(c).

図13(a)に示すように、本例では、1番目の三次元形状データの生成時に、Z方向における測定対象物Sの上面の一部分のみが測定空間101内に配置される。そのため、図13(c)に示される三次元形状画像は、測定対象物SのうちZ方向における最上端部分が欠落している。 As shown in FIG. 13A, in this example, only a portion of the upper surface of the measurement object S in the Z direction is arranged within the measurement space 101 when the first three-dimensional shape data is generated. Therefore, the three-dimensional shape image shown in FIG. 13(c) lacks the uppermost end portion of the measuring object S in the Z direction.

そこで、図13(b)に示すように、1番目の三次元形状データで表されていない測定対象物Sの部分が測定空間101に配置されるように、ステージ140の上面141sがZ方向に移動される。また、パターン光を用いた撮像が行われ、2番目の三次元形状データが生成される。2番目の三次元形状データに対応する三次元形状画像が図13(d)に示される。 Therefore, as shown in FIG. 13B, the upper surface 141s of the stage 140 is moved in the Z direction so that the portion of the measurement object S that is not represented by the first three-dimensional shape data is arranged in the measurement space 101. be moved. Further, imaging is performed using pattern light, and second three-dimensional shape data is generated. A three-dimensional shape image corresponding to the second three-dimensional shape data is shown in FIG. 13(d).

このようにして、ステージ140のZ方向への移動および測定対象物Sの撮像が繰り返されることにより、測定対象物Sの複数の部分にそれぞれ対応する複数の三次元形状データが生成される。生成された複数の三次元形状データが合成されることにより、測定対象物Sの表面の広い範囲に渡る三次元形状データが生成される。以下の説明では、Z方向において測定対象物Sの形状測定の対象範囲を拡大するための合成を高さ方向合成と呼ぶ。 By repeating the movement of the stage 140 in the Z direction and the imaging of the measurement object S in this way, a plurality of three-dimensional shape data corresponding to a plurality of portions of the measurement object S are generated. By synthesizing a plurality of generated three-dimensional shape data, three-dimensional shape data covering a wide range of the surface of the measurement object S is generated. In the following description, synthesis for enlarging the target range of shape measurement of the measurement object S in the Z direction is called height direction synthesis.

(4)回転方向における複数の三次元形状データの合成
回転ユニット190により保持された測定対象物Sが測定空間101内に配置される場合であっても、受光部120の方向に向かない測定対象物Sの部分で反射されるパターン光は受光部120に入射しない。そこで、回転ユニット190により保持された測定対象物Sの形状測定時には、測定対象物Sを回転軸RAの周りで回転させることにより測定対象物Sの複数の部分を撮像してもよい。この場合、測定対象物Sの複数の部分にそれぞれ対応する複数の三次元形状データを取得し、取得された複数の三次元形状データを合成することができる。
(4) Synthesis of a plurality of three-dimensional shape data in the rotation direction Even if the measurement object S held by the rotation unit 190 is arranged in the measurement space 101, the measurement object not facing the direction of the light receiving unit 120 The pattern light reflected by the object S does not enter the light receiving section 120 . Therefore, when measuring the shape of the measurement object S held by the rotation unit 190, a plurality of portions of the measurement object S may be imaged by rotating the measurement object S around the rotation axis RA. In this case, it is possible to obtain a plurality of three-dimensional shape data respectively corresponding to a plurality of portions of the measurement object S, and synthesize the obtained plurality of three-dimensional shape data.

図14は、回転ユニット190を用いて測定対象物Sを回転軸RA周りで回転させることにより複数の三次元形状データを生成する例を説明するための図である。例えば、図14(a)に示すように、使用者により測定対象物Sが回転ユニット190の保持部191に取り付けられる。図14(a)~(c)においては、測定対象物Sを保持する保持部191が二点鎖線で模式的に示される。 FIG. 14 is a diagram for explaining an example of generating a plurality of three-dimensional shape data by rotating the measurement object S around the rotation axis RA using the rotation unit 190. FIG. For example, as shown in FIG. 14( a ), the user attaches the measuring object S to the holding portion 191 of the rotating unit 190 . In FIGS. 14A to 14C, the holding portion 191 holding the measurement object S is schematically indicated by a chain double-dashed line.

測定対象物Sが回転ユニット190により保持された状態で、測定対象物Sが測定空間101内に位置するように位置合わせが行われる。さらに、パターン光を用いた撮像が行われることにより1番目の三次元形状データが生成される。これにより取得される三次元形状画像の一例が図14(d)に示される。 Alignment is performed so that the measurement object S is positioned within the measurement space 101 while the measurement object S is held by the rotation unit 190 . Furthermore, the first three-dimensional shape data is generated by performing imaging using the pattern light. An example of the three-dimensional shape image acquired by this is shown in FIG.14(d).

なお、本例で用いられる測定対象物Sは、一方向に延びる略円柱形状を有し、当該測定対象物Sの軸心が回転軸RAに一致するように、測定対象物Sの一端が保持部191に保持されている。また、本例の測定対象物Sの端部には、当該測定対象物Sの回転状態が理解しやすいように、黒点が付されている。 The measurement object S used in this example has a substantially cylindrical shape extending in one direction, and one end of the measurement object S is held so that the axis of the measurement object S coincides with the rotation axis RA. It is held in the portion 191 . In addition, black dots are added to the end portions of the measurement object S in this example so that the rotation state of the measurement object S can be easily understood.

図14(a)に示すように、1番目の三次元形状データの生成時には、測定対象物Sの外周面のうち受光部120に向く一部分のみが受光部120により撮像される。したがって、図14(d)に示される三次元形状画像は、測定対象物Sの外周面における比較的広範囲の部分が欠落している。 As shown in FIG. 14( a ), when the first three-dimensional shape data is generated, only a portion of the outer peripheral surface of the measurement object S facing toward the light receiving unit 120 is imaged by the light receiving unit 120 . Therefore, the three-dimensional shape image shown in FIG. 14(d) lacks a relatively wide area on the outer peripheral surface of the object S to be measured.

そこで、図14(b),(c)に示すように、1番目の三次元形状データで表されていない測定対象物Sの外周面の複数の部分が順次受光部120に向くように、予め定められた角度の整数倍の角度間隔(所定の角度ピッチ)で回転ユニット190が測定対象物Sを回転させる。また、測定対象物Sが所定角度回転するごとに、パターン光を用いた撮像が行われ、2番目および3番目の三次元形状データが生成される。2番目および3番目の三次元形状データにそれぞれ対応する三次元形状画像が図14(e),(f)に示される。 Therefore, as shown in FIGS. 14(b) and 14(c), a plurality of portions of the outer peripheral surface of the measurement object S that are not represented by the first three-dimensional shape data are arranged in advance so as to sequentially face the light receiving unit 120. The rotation unit 190 rotates the measurement object S at an angular interval (predetermined angular pitch) that is an integral multiple of the determined angle. Also, every time the measurement object S rotates by a predetermined angle, an image is captured using the pattern light, and second and third three-dimensional shape data are generated. Three-dimensional shape images corresponding to the second and third three-dimensional shape data are shown in FIGS. 14(e) and (f).

このようにして、測定対象物Sの所定角度分の回転および測定対象物Sの撮像が繰り返されることにより、測定対象物Sの外周面の複数の部分にそれぞれ対応する複数の三次元形状データが生成される。生成された複数の三次元形状データが合成されることにより、測定対象物Sの表面の広い範囲(本例では、外周面全体)に渡る三次元形状データが生成される。以下の説明では、回転軸RAを基準とする回転方向において測定対象物Sの形状測定の対象範囲を拡大するための合成を回転方向合成と呼ぶ。 By repeating the rotation of the measurement object S by a predetermined angle and the imaging of the measurement object S in this manner, a plurality of three-dimensional shape data corresponding to a plurality of portions of the outer peripheral surface of the measurement object S are obtained. generated. By synthesizing a plurality of generated three-dimensional shape data, three-dimensional shape data covering a wide range of the surface of the measurement object S (in this example, the entire outer peripheral surface) is generated. In the following description, synthesis for enlarging the target range of shape measurement of the measurement object S in the rotation direction with respect to the rotation axis RA is referred to as rotation direction synthesis.

[3]回転方向合成を行う際の校正機能
(1)校正機能の概要
上記のように、回転方向合成を行う場合には、測定対象物Sが回転軸RAを基準として、予め定められた角度位置(以下、基準角度位置と呼ぶ。)から所定の角度ピッチで回転する。また、基準角度位置にある状態で測定対象物Sの三次元形状データが生成されるとともに、所定の角度ピッチで回転されるごとに測定対象物Sの三次元形状データが生成される。
[3] Calibration function when performing rotation direction synthesis (1) Overview of calibration function As described above, when performing rotation direction synthesis, the measurement object S is at a predetermined angle with respect to the rotation axis RA It rotates at a predetermined angular pitch from a position (hereinafter referred to as a reference angular position). In addition, the three-dimensional shape data of the measuring object S is generated while it is in the reference angular position, and the three-dimensional shape data of the measuring object S is generated each time it is rotated at a predetermined angular pitch.

ここで、温度環境の変化または測定部100の経時的な使用により、回転ユニット190の回転軸RAが装置座標系で規定される設計上の位置からずれていると、正確な三次元形状データを得ることができない。そこで、本実施の形態に係る形状測定装置500は、回転方向合成を用いた測定対象物Sの形状測定時に、生成された三次元形状データの装置座標系に対するずれ(ずれ量およびずれている方向)を相殺するための第1、第2および第3の校正機能を有する。第1、第2および第3の校正機能について順に説明する。 Here, if the rotation axis RA of the rotation unit 190 deviates from the design position defined by the device coordinate system due to changes in the temperature environment or use of the measurement unit 100 over time, accurate three-dimensional shape data can be obtained. can't get Therefore, the shape measuring apparatus 500 according to the present embodiment, when measuring the shape of the measurement object S using rotation direction synthesis, shifts the generated three-dimensional shape data from the device coordinate system (shift amount and shift direction ) to offset the first, second and third calibration functions. The first, second and third calibration functions will be described in order.

(2)第1の校正機能
図15は、第1の校正機能を説明するための図である。図15(a)に、Y方向に見た回転ユニット190の保持部191の側面図が示される。図15(a)に示すように、保持部191においては、回転駆動部192と保持片92,93との間に位置する回転支持軸91の一部が、第1のマーカM1として第1の校正機能に用いられる。この第1のマーカM1は、円筒状の外周面を有し、その中心が回転ユニット190の回転軸RA上に位置するように設けられる。第1のマーカM1の外周面の寸法は、既知であり、例えば図1の記憶装置240に記憶される。
(2) First Calibration Function FIG. 15 is a diagram for explaining the first calibration function. FIG. 15(a) shows a side view of the holding portion 191 of the rotating unit 190 viewed in the Y direction. As shown in FIG. 15(a), in the holding portion 191, a portion of the rotation support shaft 91 positioned between the rotation driving portion 192 and the holding pieces 92 and 93 serves as the first marker M1. Used for calibration function. The first marker M1 has a cylindrical outer peripheral surface and is provided so that its center is positioned on the rotation axis RA of the rotation unit 190 . The dimensions of the outer peripheral surface of the first marker M1 are known and stored in the storage device 240 of FIG. 1, for example.

図15(a)において、回転ユニット190の回転軸RAが、装置座標系において設計上存在すべき理想的な回転軸(以下、設計回転軸と呼ぶ。)DRAから平行にずれている場合を想定する。この場合、測定対象物Sについて正確な三次元形状データを得るためには、設計回転軸DRAと回転軸RAとの間のずれsvを算出する必要がある。 In FIG. 15(a), it is assumed that the rotation axis RA of the rotation unit 190 is displaced in parallel from the ideal rotation axis (hereinafter referred to as the design rotation axis) DRA that should exist in the device coordinate system. do. In this case, in order to obtain accurate three-dimensional shape data of the measurement object S, it is necessary to calculate the deviation sv between the design rotation axis DRA and the rotation axis RA.

そこで、第1の校正機能では、回転される測定対象物Sの形状測定時に、測定対象物Sとともに第1のマーカM1の外周面の形状が測定される。例えば、測定対象物Sが基準角度位置から回転軸RA周りに120°ピッチで回転する場合、0°、120°および240°の各々の角度位置において測定対象物Sとともに第1のマーカM1の外周面を示す三次元形状データが生成される。 Therefore, in the first calibration function, the shape of the outer peripheral surface of the first marker M1 is measured together with the measurement object S when measuring the shape of the measurement object S that is rotated. For example, when the measurement object S rotates around the rotation axis RA from the reference angular position at a pitch of 120°, the circumference of the first marker M1 along with the measurement object S is rotated at each of the angular positions of 0°, 120° and 240°. Three-dimensional shape data representing the surface is generated.

上記の3つの角度の各々に対応する第1のマーカM1の三次元形状データは、例えば図15(a)で第1のマーカM1を通るQ-Q線断面(X方向に直交するYZ平面)において円弧形状を有する。上記のように、第1のマーカM1の外周面の寸法は、既知である。したがって、図15(b)に太い実線で示すように、第1のマーカM1の外周面の一部を示す円弧形状の三次元形状データによれば、YZ平面内における第1のマーカM1の中心CM1を算出することができる。なお、図15(b)に一点鎖線で示される円は、設計回転軸DRAを基準として本来生成されるべき第1のマーカM1の三次元形状データを表す。 The three-dimensional shape data of the first marker M1 corresponding to each of the above three angles is, for example, a QQ line cross section (YZ plane orthogonal to the X direction) passing through the first marker M1 in FIG. has an arc shape at As described above, the dimensions of the outer peripheral surface of the first marker M1 are known. Therefore, as indicated by the thick solid line in FIG. 15B, according to the arc-shaped three-dimensional shape data indicating a part of the outer peripheral surface of the first marker M1, the center of the first marker M1 in the YZ plane CM1 can be calculated. Note that the circle indicated by the dashed-dotted line in FIG. 15(b) represents the three-dimensional shape data of the first marker M1 that should be originally generated based on the design rotation axis DRA.

第1のマーカM1の中心は、回転軸RA上に位置する。したがって、第1の校正機能においては、特定のYZ平面における第1のマーカM1の中心の算出は、特定のYZ平面における回転軸RAの位置を算出していることに等しい。 The center of the first marker M1 is located on the rotation axis RA. Therefore, in the first calibration function, calculating the center of the first marker M1 on the specific YZ plane is equivalent to calculating the position of the rotation axis RA on the specific YZ plane.

三次元形状データ上の第1のマーカM1の中心CM1は、YZ平面において本来的に設計回転軸DRAに重なる必要がある。しかしながら、上記のように実際の回転軸RAが、設計回転軸DRAからずれていると、三次元形状データ上の第1のマーカM1の中心CM1は設計回転軸DRAに重ならない。そこで、三次元形状データ上の第1のマーカM1の中心CM1と設計回転軸DRAとの間のずれsvを算出する。 The center CM1 of the first marker M1 on the three-dimensional shape data should essentially overlap the design rotation axis DRA on the YZ plane. However, when the actual rotation axis RA deviates from the design rotation axis DRA as described above, the center CM1 of the first marker M1 on the three-dimensional shape data does not overlap the design rotation axis DRA. Therefore, the deviation sv between the center CM1 of the first marker M1 on the three-dimensional shape data and the design rotation axis DRA is calculated.

この場合、図15(c)に示すように、複数の角度位置の各々に対応する第1のマーカM1の三次元形状データは、当該角度位置で算出されたずれsvが相殺されるように補正することで、正確な三次元形状データとすることができる。換言すれば、各角度位置で生成された第1のマーカM1の三次元形状データは、三次元形状データ上の第1のマーカM1の中心CM1が設計回転軸DRAに一致するように補正することで、正確な三次元形状データとすることができる。 In this case, as shown in FIG. 15(c), the three-dimensional shape data of the first marker M1 corresponding to each of the plurality of angular positions is corrected so that the deviation sv calculated at the angular position is canceled. By doing so, accurate three-dimensional shape data can be obtained. In other words, the three-dimensional shape data of the first marker M1 generated at each angular position is corrected so that the center CM1 of the first marker M1 on the three-dimensional shape data matches the design rotation axis DRA. , accurate three-dimensional shape data can be obtained.

そこで、第1のマーカM1の三次元形状データとともに生成される測定対象物Sの三次元形状データについて、各角度位置で算出されたずれsvが相殺されるように補正を行う。これにより、測定対象物Sについて正確な三次元形状データを得ることができる。その結果、複数の角度位置で生成された三次元形状データを合成する場合に、広い範囲に渡って測定対象物Sの正確な形状測定を行うことが可能になる。 Therefore, the three-dimensional shape data of the measuring object S generated together with the three-dimensional shape data of the first marker M1 is corrected so that the deviation sv calculated at each angular position is canceled. As a result, accurate three-dimensional shape data of the measuring object S can be obtained. As a result, when synthesizing three-dimensional shape data generated at a plurality of angular positions, it is possible to accurately measure the shape of the measurement object S over a wide range.

(3)第2の校正機能
図16は、第2の校正機能を説明するための図である。図16(a)に、Y方向に見た回転ユニット190の保持部191の側面図が示される。図16(a)の例では、回転ユニット190の回転軸RAが、設計回転軸DRAから傾斜してずれている。この場合、設計回転軸DRAと回転軸RAとの間のずれsvが、X方向の位置に応じて異なる。そのため、第1の校正機能により第1のマーカM1および測定対象物Sの三次元形状データについて補正を行っても、測定対象物Sの部分によっては正確な三次元形状データが得られない。
(3) Second calibration function FIG. 16 is a diagram for explaining the second calibration function. FIG. 16(a) shows a side view of the holding portion 191 of the rotating unit 190 viewed in the Y direction. In the example of FIG. 16(a), the rotation axis RA of the rotation unit 190 is tilted and deviated from the design rotation axis DRA. In this case, the deviation sv between the design rotation axis DRA and the rotation axis RA varies depending on the position in the X direction. Therefore, even if the three-dimensional shape data of the first marker M1 and the measurement object S are corrected by the first calibration function, depending on the part of the measurement object S, accurate three-dimensional shape data cannot be obtained.

そこで、第2の校正機能では、設計回転軸DRAに対して実際の回転軸RAが傾斜する場合であっても正確な三次元形状データが得られるように、第2のマーカM2が用いられる。図16(b)の吹き出し内に示すように、第2のマーカM2は、径大部M2aおよび径小部M2bから構成される。径大部M2aおよび径小部M2bは、それぞれ円柱形状を有し、軸心に沿って並ぶように一体成形されている。 Therefore, in the second calibration function, the second marker M2 is used so that accurate three-dimensional shape data can be obtained even when the actual rotation axis RA is inclined with respect to the design rotation axis DRA. As shown in the balloon in FIG. 16(b), the second marker M2 is composed of a large diameter portion M2a and a small diameter portion M2b. The large-diameter portion M2a and the small-diameter portion M2b each have a columnar shape and are integrally formed so as to be aligned along the axis.

径大部M2aには、磁石が内蔵されている。また、径大部M2aの端面には、粘着剤または粘着シートが設けられることにより粘着性が付与されている。このような構成により、第2のマーカM2は、磁力により強磁性体からなる測定対象物Sの所望の位置に取り付けおよび取り外しが可能であるとともに、粘着力により非磁性体からなる測定対象物Sの所望の位置に取り付けおよび取り外しが可能である。 A magnet is built in the large diameter portion M2a. Adhesiveness is imparted to the end surface of the large diameter portion M2a by providing an adhesive or an adhesive sheet. With such a configuration, the second marker M2 can be attached and detached at a desired position of the measurement object S made of a ferromagnetic material by magnetic force, and can be attached to and removed from the measurement object S made of a non-magnetic material by an adhesive force. can be attached and detached at any desired position.

第2の校正機能では、例えば測定対象物Sのうち第1のマーカM1から最も離間した部分に第2のマーカM2が取り付けられる。第2のマーカM2の径大部M2aおよび径小部M2bの外周面の寸法は、既知であり、例えば図1の記憶装置240に記憶される。 In the second calibration function, for example, the second marker M2 is attached to the part of the measurement object S that is the most distant from the first marker M1. The dimensions of the outer peripheral surfaces of the large diameter portion M2a and the small diameter portion M2b of the second marker M2 are known and stored in the storage device 240 of FIG. 1, for example.

この状態で、回転される測定対象物Sの形状測定時に、測定対象物Sが予め定められた複数の角度位置に回転される。また、複数の角度位置の各々で、測定対象物Sとともに第1のマーカM1および第2のマーカM2の外周面の形状が測定される。このとき、第1の校正機能で説明した方法により、例えば図16(b)で第1のマーカM1を通るQ1-Q1線断面において設計回転軸DRAと回転軸RAとの間のずれsvが求められる。 In this state, when measuring the shape of the rotating measuring object S, the measuring object S is rotated to a plurality of predetermined angular positions. Also, the shapes of the outer peripheral surfaces of the measurement object S, the first marker M1 and the second marker M2 are measured at each of the plurality of angular positions. At this time, the deviation sv between the design rotation axis DRA and the rotation axis RA in the Q1-Q1 line section passing through the first marker M1 in FIG. be done.

第2のマーカM2は、例えば図16(b)で第2のマーカM2を通るQ2-Q2線断面において設計回転軸DRAと回転軸RAとの間のずれsvを求めるために用いられる。具体的には、第2のマーカM2について、Q2-Q2線断面で径大部M2a(または径小部M2b)の全周がカバーされるように、予め定められた複数の角度位置に対応する複数の円弧形状の三次元形状データを生成する。その後、複数の角度位置の各々で、既知である径大部M2a(または径小部M2b)の寸法に合うように、複数の円弧形状の三次元形状データを合成する。 The second marker M2 is used, for example, to find the deviation sv between the design rotation axis DRA and the rotation axis RA in the Q2-Q2 line section passing through the second marker M2 in FIG. 16(b). Specifically, the second marker M2 corresponds to a plurality of predetermined angular positions so that the entire circumference of the large diameter portion M2a (or the small diameter portion M2b) is covered by the Q2-Q2 cross section. Generate three-dimensional shape data of a plurality of circular arcs. After that, at each of the plurality of angular positions, a plurality of arc-shaped three-dimensional shape data are synthesized so as to match the known dimensions of the large diameter portion M2a (or the small diameter portion M2b).

この場合、図16(c)に示すように、Q2-Q2線断面において、第2のマーカM2が複数の角度位置にそれぞれ位置するときの第2のマーカM2の中心CM2を算出することができる。それにより、Q2-Q2線断面における、第2のマーカM2の回転中心、すなわち回転軸RAの位置を算出することができる。そこで、算出された回転軸RAと設計回転軸DRAとの間のずれsvを算出する。 In this case, as shown in FIG. 16(c), it is possible to calculate the center CM2 of the second marker M2 when the second marker M2 is positioned at each of a plurality of angular positions on the Q2-Q2 cross section. . Thereby, the rotation center of the second marker M2, that is, the position of the rotation axis RA in the Q2-Q2 line section can be calculated. Therefore, the deviation sv between the calculated rotation axis RA and the design rotation axis DRA is calculated.

このようにして、X方向において互いに離間したQ1-Q1線断面の位置におけるずれsvとQ2-Q2線断面の位置におけるずれsvが算出される。それにより、算出された2つのずれsvに基づいて、第1のマーカM1と第2のマーカM2との間に位置する測定対象物Sの補正量を適切に算出することが可能になる。したがって、測定対象物Sについてより正確な三次元形状データを得ることができる。その結果、複数の角度位置で生成された三次元形状データを合成する場合に、広い範囲に渡って測定対象物Sのより正確な形状測定を行うことが可能になる。 In this way, the deviation sv at the position of the Q1-Q1 line cross section and the deviation sv at the position of the Q2-Q2 line cross section which are separated from each other in the X direction are calculated. Accordingly, it is possible to appropriately calculate the correction amount of the measurement object S located between the first marker M1 and the second marker M2 based on the calculated two deviations sv. Therefore, more accurate three-dimensional shape data of the measurement object S can be obtained. As a result, when synthesizing three-dimensional shape data generated at a plurality of angular positions, it becomes possible to perform more accurate shape measurement of the measurement object S over a wide range.

上記のように、第2の校正機能によれば、X方向における第2のマーカM2の位置での回転軸のずれsvが算出される。したがって、測定対象物Sの形状によっては、第2のマーカM2の位置での回転軸のずれsvのみを用いて三次元形状データの補正を行ってもよい。なお、本実施の形態においては、第2のマーカM2の位置での回転軸のずれsvのみを用いて三次元形状データの補正を行う構成機能は、第2の校正機能に含まれるものとする。 As described above, according to the second calibration function, the deviation sv of the rotation axis at the position of the second marker M2 in the X direction is calculated. Therefore, depending on the shape of the measurement object S, the three-dimensional shape data may be corrected using only the deviation sv of the rotation axis at the position of the second marker M2. In the present embodiment, the second calibration function includes the function of correcting the three-dimensional shape data using only the deviation sv of the rotation axis at the position of the second marker M2. .

第2のマーカM2の位置での回転軸のずれsvのみを用いて三次元形状データの補正を行う場合、第2のマーカM2は、X方向において測定対象物Sと保持部191との間に位置するように配置されてもよい。 When correcting the three-dimensional shape data using only the deviation sv of the rotation axis at the position of the second marker M2, the second marker M2 is positioned between the measurement object S and the holding unit 191 in the X direction. may be arranged to be positioned

図17は、第2のマーカM2の位置での回転軸のずれsvのみを用いて三次元形状データの補正を行う場合の一例を説明するための図である。図17に示すように、本例では、第2のマーカM2の径小部M2bが保持部191により保持される。また、第2のマーカM2の径大部M2aの端面に例えば円板状の測定対象物Sが取り付けられる。図17の測定対象物Sは、一方向に延びるような長手形状を有しない。そのため、X方向において測定対象物Sに隣接する第2のマーカM2の位置で算出されるずれsvのみに基づいて三次元形状データを補正する場合でも、比較的高い精度の三次元形状データを得ることができる。 FIG. 17 is a diagram for explaining an example of correcting three-dimensional shape data using only the deviation sv of the rotation axis at the position of the second marker M2. As shown in FIG. 17, in this example, the small diameter portion M2b of the second marker M2 is held by the holding portion 191. As shown in FIG. For example, a disk-shaped measuring object S is attached to the end surface of the large diameter portion M2a of the second marker M2. The measuring object S in FIG. 17 does not have a longitudinal shape extending in one direction. Therefore, even when the three-dimensional shape data is corrected based only on the deviation sv calculated at the position of the second marker M2 adjacent to the measurement object S in the X direction, relatively highly accurate three-dimensional shape data can be obtained. be able to.

(4)第3の校正機能
第3の校正機能では、上記の第1のマーカM1および第2のマーカM2に相当する校正具が用いられない。第3の校正機能では、回転される測定対象物Sの形状測定時に、予め定められた複数の角度位置で当該測定対象物Sについて生成される複数の三次元形状データに基づいて回転軸RAと設計回転軸DRAとの間のずれsvが算出される。
(4) Third Calibration Function In the third calibration function, calibration tools corresponding to the first marker M1 and the second marker M2 are not used. In the third calibration function, when measuring the shape of the rotating measurement object S, the rotational axis RA and A deviation sv from the design rotation axis DRA is calculated.

図18は、第3の校正機能を説明するための図である。図18(a)に、回転ユニット190により保持された測定対象物SのX方向に直交する断面が示される。第3の校正機能では、測定対象物Sの回転方向で互いに重複する部分の三次元形状データが生成されるように、複数の角度位置が設定される。その上で、図18(a)に白抜きの矢印で示すように、複数の角度位置で測定対象物Sの表面が撮像され、複数の角度位置にそれぞれ対応する複数の三次元形状データが生成される。図18(a)では、複数の角度位置にそれぞれ対応する複数の三次元形状データのうちの一部(3つ)が、データDAa,DAb,DAcとして、吹き出し内に示される。データDAa,DAb,DAcは、それぞれ点線、実線および一点鎖線で示される。データDAa,DAb間では、点線の枠内にある部分が測定対象物Sにおける共通の部分を示す重複部分である。データDAb,DAc間では、一点鎖線の枠内にある部分が重複部分である。これらの重複部分は、生成される三次元形状データから、特定の形状(面または凹凸)等を検出することにより識別することができる。 FIG. 18 is a diagram for explaining the third calibration function. FIG. 18(a) shows a cross section orthogonal to the X direction of the measurement object S held by the rotation unit 190. As shown in FIG. In the third calibration function, a plurality of angular positions are set so that the three-dimensional shape data of the portions of the measurement object S that overlap each other in the rotational direction are generated. Then, as indicated by white arrows in FIG. 18(a), the surface of the measurement object S is imaged at a plurality of angular positions, and a plurality of three-dimensional shape data corresponding to the plurality of angular positions are generated. be done. In FIG. 18A, part (three) of the plurality of three-dimensional shape data respectively corresponding to the plurality of angular positions are shown in balloons as data DAa, DAb, and DAc. Data DAa, DAb and DAc are indicated by dotted lines, solid lines and dashed lines, respectively. Between the data DAa and DAb, the portion within the frame of the dotted line is the overlapping portion indicating the common portion of the object S to be measured. Between the data DAb and DAc, the portion within the frame of the dashed-dotted line is the overlapping portion. These overlapping portions can be identified by detecting a specific shape (surface or unevenness) or the like from the generated three-dimensional shape data.

次に、測定対象物Sの回転中心が例えば設計回転軸DRAにあるものとして、複数の角度位置にそれぞれ対応する複数の三次元形状データを、X方向に直交する仮想面上に配置する。この場合、回転軸RAと設計回転軸DRAとの間のずれsvが大きいと、図18(b)に示すように、隣り合う各2つのデータの一方のデータの重複部分と他方のデータの重複部分との間に大きいずれが生じる。 Next, assuming that the center of rotation of the measurement object S is, for example, the design rotation axis DRA, a plurality of three-dimensional shape data corresponding to a plurality of angular positions are arranged on a virtual plane perpendicular to the X direction. In this case, if the deviation sv between the rotation axis RA and the design rotation axis DRA is large, as shown in FIG. A large discrepancy occurs between the parts.

そこで、隣り合う各2つのデータの重複部分間のずれが最小となるように、複数の角度位置にそれぞれ対応する複数の三次元形状データに基づいて測定対象物Sの真の回転軸RAを求めるための収束計算を行う。算出された回転軸RAと設計回転軸DRAとのずれに基づいて複数の三次元形状データを補正する。それにより、図18(c)に示すように、測定対象物Sについて正確な三次元形状データを得ることができる。その結果、複数の角度位置で生成された三次元形状データを合成する場合に、測定精度の低下を低減しつつ広い範囲に渡って測定対象物Sの形状測定を行うことが可能になる。なお、図18(b),(c)では、図18(a)の複数の角度位置に対応する複数の三次元形状データのうちデータDAa,DAb,DAcのみが示される。 Therefore, the true rotation axis RA of the measurement object S is obtained based on a plurality of three-dimensional shape data corresponding to a plurality of angular positions so that the deviation between the overlapped portions of each two adjacent data is minimized. perform convergence calculations for A plurality of three-dimensional shape data are corrected based on the calculated deviation between the rotation axis RA and the design rotation axis DRA. Thereby, as shown in FIG. 18(c), accurate three-dimensional shape data of the measuring object S can be obtained. As a result, when synthesizing three-dimensional shape data generated at a plurality of angular positions, it is possible to measure the shape of the measurement object S over a wide range while reducing deterioration in measurement accuracy. 18B and 18C, only data DAa, DAb, and DAc are shown among the plurality of three-dimensional shape data corresponding to the plurality of angular positions in FIG. 18A.

[4]形状測定装置500を用いた測定対象物Sの形状測定手順
図19および図20は、図1の形状測定装置500を用いた測定対象物Sの形状測定手順を示すフローチャートである。初期状態においては、形状測定装置500の電源はオン状態にある。また、形状測定装置500においては、パターン光を用いた形状測定のための撮像が行われる場合を除いて、照明光出力部130からステージ140の上面141sに向けて照明光が照射される。このとき、図1の表示部400には、受光部120によりリアルタイムで取得される画像データに基づく画像(以下、ライブ画像と呼ぶ。)が表示される。
[4] Procedure for measuring shape of object S using shape measuring device 500 FIGS. 19 and 20 are flowcharts showing procedures for measuring the shape of the object S using the shape measuring device 500 of FIG. In the initial state, the shape measuring device 500 is powered on. Moreover, in the shape measuring apparatus 500, illumination light is emitted from the illumination light output unit 130 toward the upper surface 141s of the stage 140, except when imaging for shape measurement using pattern light is performed. At this time, the display unit 400 in FIG. 1 displays an image (hereinafter referred to as a live image) based on the image data obtained by the light receiving unit 120 in real time.

まず、使用者は、測定対象物Sのうち所望の部分の形状測定を行うために回転ユニット190が必要であるか否かを判定する(ステップS1)。そこで、回転ユニット190が必要である場合、使用者は、回転ユニット190がステージ140に取り付けられているか否かを判定する(ステップS2)。回転ユニット190がステージ140に取り付けられていない場合、使用者は、回転ユニット190をステージ140に取り付ける(ステップS3)。 First, the user determines whether or not the rotation unit 190 is necessary to measure the shape of a desired portion of the measurement object S (step S1). Therefore, if the rotation unit 190 is necessary, the user determines whether or not the rotation unit 190 is attached to the stage 140 (step S2). If the rotation unit 190 is not attached to the stage 140, the user attaches the rotation unit 190 to the stage 140 (step S3).

ステップS2またはステップS3において回転ユニット190がステージ140に取り付けられた状態で、使用者は、少なくとも一部が測定空間101に位置するように測定対象物Sを回転ユニット190の保持部191に取り付ける(ステップS4)。これにより、測定対象物Sは、回転軸RAの周りで回転可能に保持される。次に、使用者は、測定対象物Sに対する受光部120の焦点面120Fの位置調整を行う(ステップS5)。具体的には、使用者は、ライブ画像を視認しつつ図1のステージ操作部145または操作部250を操作することにより、測定対象物Sに受光部120の焦点面120Fが合うようにステージ140の上面141sの高さを調整する。 With the rotation unit 190 attached to the stage 140 in step S2 or step S3, the user attaches the measurement object S to the holding part 191 of the rotation unit 190 so that at least a part of it is positioned in the measurement space 101 ( step S4). Thereby, the measuring object S is rotatably held around the rotation axis RA. Next, the user adjusts the position of the focal plane 120F of the light receiving unit 120 with respect to the measurement object S (step S5). Specifically, the user operates stage operation unit 145 or operation unit 250 in FIG. adjust the height of the upper surface 141s of the .

次に、使用者は、Z方向に直交するステージ140上の面(例えば水平面)内で受光部120により撮像されるべき領域(以下、測定領域と呼ぶ。)の設定を行う(ステップS6)。これにより、測定対象物Sの上面全体が測定空間101内に収まらない場合でも、複数の測定領域が設定され、それらの測定領域の三次元形状データが生成されることにより、平面方向合成を行うことが可能になる。 Next, the user sets a region (hereinafter referred to as a measurement region) to be imaged by the light receiving section 120 within a plane (for example, a horizontal plane) on the stage 140 perpendicular to the Z direction (step S6). As a result, even if the entire upper surface of the object to be measured S does not fit within the measurement space 101, a plurality of measurement areas are set, and three-dimensional shape data of these measurement areas are generated to perform planar direction synthesis. becomes possible.

上記の測定領域の設定は、使用者が表示部400に表示される後述の領域設定画面を操作することにより行われる。なお、測定領域の設定時には、Z方向において上記の高さ方向合成を行うためのZ方向の撮像範囲が定められてもよい。測定領域の設定の詳細については後述する。 The setting of the measurement region is performed by the user operating a region setting screen, which will be described later, displayed on the display unit 400 . Note that when setting the measurement area, an imaging range in the Z direction for performing the above-described height direction synthesis in the Z direction may be determined. The details of setting the measurement area will be described later.

ここで、上記のステップS1において、回転ユニット190が不要である場合、使用者は、少なくとも一部が測定空間101に位置するように測定対象物Sをステージ140上に載置する(ステップS11)。次に、使用者は、上記のステップS5,S6と同様に、測定対象物Sに対する受光部120の焦点面120Fの位置調整を行い(ステップS12)、測定領域の設定を行う(ステップS13)。 Here, in the above step S1, if the rotation unit 190 is unnecessary, the user places the measurement object S on the stage 140 so that at least a part of it is located in the measurement space 101 (step S11). . Next, the user adjusts the position of the focal plane 120F of the light receiving unit 120 with respect to the measurement object S (step S12) and sets the measurement area (step S13), as in steps S5 and S6.

その後、使用者は、操作部250を操作することにより、設定された測定領域についてパターン光を用いた撮像の開始を指令する(ステップS7)。それにより、設定された測定領域にパターン光が照射され、撮像が行われる。また、当該測定領域についての三次元形状データが生成される。 After that, the user operates the operation unit 250 to command the start of imaging using the pattern light for the set measurement area (step S7). As a result, the set measurement area is irradiated with the pattern light, and an image is captured. Also, three-dimensional shape data is generated for the measurement area.

次に、使用者は、ステップS7の作業で生成された三次元形状データを測定対象物Sの形状測定結果として確認し(ステップS21)、その三次元形状データに欠落部分がないか否かを判定する(ステップS22)。三次元形状データに欠落部分がない場合、使用者は、三次元形状データを図1の作業用メモリ230または記憶装置240に保存し、その三次元形状データに基づいて測定対象物Sの形状の解析を行う(ステップS23)。これにより、一連の作業が終了する。 Next, the user confirms the three-dimensional shape data generated by the work in step S7 as the shape measurement result of the measurement object S (step S21), and checks whether or not there is a missing portion in the three-dimensional shape data. Determine (step S22). When the three-dimensional shape data has no missing part, the user saves the three-dimensional shape data in the working memory 230 or the storage device 240 of FIG. Analysis is performed (step S23). This completes a series of operations.

上記のステップS22において、三次元形状データに欠落部分がある場合、使用者は、三次元形状データの欠落部分に対応する測定対象物Sの部分が撮像されるように、測定領域の追加設定を行う(ステップS24)。次に、使用者は、操作部250を操作することにより、追加設定された測定領域についてパターン光を用いた撮像の開始を指令する(ステップS25)。それにより、追加設定された測定領域の形状を示す三次元形状データが生成される。また、使用者は、操作部250を操作することにより、ステップS7の作業により生成された三次元形状データにステップS25の作業により生成された三次元形状データを合成する(ステップS26)。このステップS26の作業は、CPU210により自動的に行われる場合、省略されてもよい。その後、使用者は、上記のステップS23の作業を進める。 In step S22 above, if there is a missing portion in the three-dimensional shape data, the user additionally sets the measurement region so that the portion of the measurement object S corresponding to the missing portion in the three-dimensional shape data is imaged. (step S24). Next, the user operates the operation unit 250 to command the start of imaging using the pattern light for the additionally set measurement area (step S25). As a result, three-dimensional shape data representing the shape of the additionally set measurement region is generated. Further, the user operates the operation unit 250 to combine the three-dimensional shape data generated by the work of step S7 with the three-dimensional shape data generated by the work of step S25 (step S26). The operation of step S26 may be omitted if it is automatically performed by the CPU 210 . After that, the user proceeds with the work of step S23.

本実施の形態に係る形状測定装置500においては、図1のCPU210は、回転ユニット190による回転を伴う測定対象物Sの形状測定時に、3種類のモードのいずれかで測定領域を設定することが可能に構成されている。これらの3種類のモードを第1の箱形状領域設定モード、第2の箱形状領域設定モードおよび軸形状領域設定モードと呼ぶ。 In the shape measuring apparatus 500 according to the present embodiment, the CPU 210 in FIG. 1 can set the measurement area in one of three modes when measuring the shape of the measurement object S that is rotated by the rotation unit 190. configured as possible. These three types of modes are called a first box-shaped area setting mode, a second box-shaped area setting mode, and an axis-shaped area setting mode.

第1の箱形状領域設定モードは、箱形状を有する測定対象物Sを回転軸RA周りで360°回転させつつ形状測定を行う場合の測定領域設定に適したモードである。第2の箱形状領域設定モードは、回転軸RA周りの予め定められた角度範囲(例えば180°)内で箱形状を有する測定対象物Sを回転させつつ形状測定を行う場合の測定領域設定に適したモードである。軸形状領域設定モードは、軸形状を有する測定対象物Sを回転軸RAに沿って延びるように配置し、回転軸RA周りで360°回転させつつ形状測定を行う場合の測定領域設定に適したモードである。 The first box-shaped area setting mode is a mode suitable for setting a measurement area when performing shape measurement while rotating the box-shaped measurement object S by 360° around the rotation axis RA. The second box-shaped area setting mode is used to set the measurement area when measuring the shape while rotating the box-shaped measurement object S within a predetermined angular range (for example, 180°) around the rotation axis RA. Suitable mode. The axial shape area setting mode is suitable for setting the measurement area when measuring the shape of an object S having an axial shape that is arranged to extend along the rotation axis RA and rotated 360° around the rotation axis RA. mode.

ここで、上記のステップS6における測定領域設定の手順について詳細を説明する。図21は、回転を伴う測定対象物Sの形状測定を行うための測定領域の設定手順を示すフローチャートである。使用者は、操作部250を用いて後述する領域設定画面を操作することにより下記の設定作業を行う。 Here, the procedure for setting the measurement area in step S6 will be described in detail. FIG. 21 is a flow chart showing the procedure for setting the measurement area for performing the shape measurement of the measurement object S that involves rotation. The user uses the operation unit 250 to operate a region setting screen, which will be described later, to perform the following setting work.

使用者は、測定領域を設定するCPU210のモードとして、第1の箱形状領域設定モード、第2の箱形状領域設定モードおよび軸形状領域設定モードのいずれか1つを選択する(ステップS31)。 The user selects any one of the first box-shaped area setting mode, the second box-shaped area setting mode, and the shaft-shaped area setting mode as the mode of CPU 210 for setting the measurement area (step S31).

この選択は、具体的には次のように行われる。まず、使用者は、測定対象物Sの形状を箱形状および軸形状のいずれに属するかを主観的に判定する。その上で、使用者は、測定対象物Sの形状が軸形状に属すると判定した場合には、軸形状領域設定モードを選択する。 This selection is specifically performed as follows. First, the user subjectively determines whether the shape of the measurement object S belongs to the box shape or the shaft shape. Then, when the user determines that the shape of the measuring object S belongs to the shaft shape, the user selects the shaft shape region setting mode.

一方、使用者は、測定対象物Sの形状が箱形状に属すると判定した場合には、さらに測定対象物Sの測定対象となる部分を決定する。その上で、使用者は、測定対象物Sの形状を回転軸RA周りの全周(360°分)に渡って測定したい場合に、第1の箱形状領域設定モードを選択する。一方、使用者は、測定対象物Sの形状を回転軸RA周りの一部の範囲(例えば180°分)に渡って測定したい場合に、第2の箱形状領域設定モードを選択する。 On the other hand, when the user determines that the shape of the measurement object S belongs to the box shape, the user further determines the portion of the measurement object S to be measured. After that, the user selects the first box-shaped area setting mode when the user wants to measure the shape of the measurement object S over the entire circumference (360°) around the rotation axis RA. On the other hand, the user selects the second box-shaped area setting mode when the user wants to measure the shape of the measurement object S over a partial range (for example, 180°) around the rotation axis RA.

次に、使用者は、測定領域の仮設定を開始すべき旨の指令を行う(ステップS32)。この場合、CPU210は、測定領域の仮設定指令に応答して、現在の測定対象物Sに対する暫定的な仮の測定領域を設定する。それにより、測定対象物Sと測定領域との位置関係を平面図で示す画像(以下、領域設定マップ画像と呼ぶ。)が表示部400に表示される。 Next, the user issues a command to start provisional setting of the measurement area (step S32). In this case, the CPU 210 sets a provisional provisional measurement region for the current measurement object S in response to the provisional measurement region setting command. As a result, an image showing the positional relationship between the measurement object S and the measurement area in a plan view (hereinafter referred to as an area setting map image) is displayed on the display unit 400 .

そこで、使用者は、表示部400に表示される領域設定マップ画像を視認しつつ暫定的に設定された仮の測定領域を確認する(ステップS33)。また、使用者は、領域設定マップ画像に示される測定領域が適切であるか否かを判定する(ステップS34)。測定領域が適切でない場合、使用者は、測定領域を修正する(ステップS35)。 Therefore, the user confirms the provisionally set temporary measurement area while viewing the area setting map image displayed on the display unit 400 (step S33). Also, the user determines whether or not the measurement area shown in the area setting map image is appropriate (step S34). If the measurement area is not appropriate, the user modifies the measurement area (step S35).

ステップS34において測定領域が適切である場合またはステップS35で測定領域が修正された場合、使用者は、マーカによる校正機能(上記の第1または第2の校正機能)を使用するか否かを判定する(ステップS36)。マーカによる校正機能を使用しない場合、ステップS36の時点で設定されている測定領域が正規な設定領域として設定される。それにより、測定領域の設定が完了する。 If the measurement area is appropriate in step S34 or if the measurement area is corrected in step S35, the user determines whether or not to use the marker calibration function (the first or second calibration function described above). (step S36). If the marker-based calibration function is not used, the measurement area set at step S36 is set as the normal set area. This completes the setting of the measurement area.

一方、ステップS36において、マーカによる校正機能を使用する場合には、使用者は、校正機能用のマーカとして、第1のマーカM1および第2のマーカM2のうち少なくとも一方を選択する(ステップS37)。ここで、第2のマーカM2を選択した場合、使用者は、第2のマーカM2を測定対象物Sに取り付ける。その後、使用者は、ステップS37で選択したマーカが受光部120により撮像されるように、測定領域を修正する(ステップS38)。それにより、測定領域の設定が完了する。 On the other hand, in step S36, when using the calibration function using markers, the user selects at least one of the first marker M1 and the second marker M2 as a marker for the calibration function (step S37). . Here, when the second marker M2 is selected, the user attaches the second marker M2 to the measurement object S. FIG. After that, the user corrects the measurement area so that the marker selected in step S37 is imaged by the light receiving unit 120 (step S38). This completes the setting of the measurement area.

なお、上記のステップS13における測定領域設定の手順、すなわち回転を伴わない測定対象物Sの形状測定時の測定領域設定の手順は、ステップS31,S36~S38の手順が省略される点を除いて、図21のステップS32~S35の設定手順と同じである。 Note that the procedure for setting the measurement area in step S13, that is, the procedure for setting the measurement area when measuring the shape of the measurement object S without rotation, except that the procedures of steps S31 and S36 to S38 are omitted. , is the same as the setting procedure of steps S32 to S35 in FIG.

[5]表示部400に表示される各種画面
(1)初期状態で表示される測定基本画面
図22は、ステージ140に回転ユニット190が取り付けられない状態で形状測定装置500の電源がオンされたときに表示部400に表示される測定基本画面の一例を示す図である。図22に示すように、測定基本画面401は、左右に並ぶ主表示領域410および副表示領域420を含む。測定基本画面401において、主表示領域410には、ライブ画像が表示される。それにより、例えば測定空間101に位置するようにステージ140上に測定対象物Sが載置される場合には、主表示領域410内に測定対象物Sの表面状態を示す対象物画像SIが表示される。
[5] Various screens displayed on the display unit 400 (1) Basic measurement screen displayed in the initial state FIG. 4 is a diagram showing an example of a basic measurement screen that is sometimes displayed on the display unit 400. FIG. As shown in FIG. 22, the basic measurement screen 401 includes a main display area 410 and a sub display area 420 arranged horizontally. A live image is displayed in the main display area 410 of the basic measurement screen 401 . Thereby, for example, when the measurement object S is placed on the stage 140 so as to be positioned in the measurement space 101, the object image SI showing the surface state of the measurement object S is displayed in the main display area 410. be done.

また、図22の主表示領域410には、ステージ140の上面141sをXY方向に移動させるための水平移動操作ウィンドウ411がライブ画像上に重畳表示される。水平移動操作ウィンドウ411内には、ステージ140の上面141sを互いに異なる複数の方向に移動させるための複数(本例では8つ)の移動ボタン412が表示される。これにより、使用者は、図1の操作部250を用いて測定基本画面401上のポインタを操作し、例えば複数の移動ボタン412のいずれかをクリックする。それにより、ステージ140の上面141sを測定空間101に対してXY方向に相対的に移動させ、受光部120の撮像領域を移動させることができる。 Also, in the main display area 410 of FIG. 22, a horizontal movement operation window 411 for moving the upper surface 141s of the stage 140 in the XY directions is superimposed on the live image. In the horizontal movement operation window 411, a plurality of (eight in this example) movement buttons 412 are displayed for moving the upper surface 141s of the stage 140 in a plurality of mutually different directions. As a result, the user operates the pointer on the basic measurement screen 401 using the operation unit 250 in FIG. As a result, the top surface 141s of the stage 140 can be moved in the XY directions relative to the measurement space 101, and the imaging area of the light receiving section 120 can be moved.

図22の測定基本画面401においては、副表示領域420に、測定対象物Sの形状測定に関する複数のボタンおよび画像が表示される。具体的には、測定基本画面401の副表示領域420には、領域設定ボタン421、編集ボタン422、領域クリアボタン423、視野確認画像424、測定開始ボタン425および上面除去ボタン429が表示される。 In the measurement basic screen 401 of FIG. 22, a plurality of buttons and images relating to the shape measurement of the measurement object S are displayed in the sub-display area 420 . Specifically, in the sub-display area 420 of the measurement basic screen 401, an area setting button 421, an edit button 422, an area clear button 423, a view confirmation image 424, a measurement start button 425, and an upper surface removal button 429 are displayed.

領域設定ボタン421は、使用者が測定領域の設定を指令するためのボタンである。使用者は、例えば上記のステップS13の測定領域設定時に領域設定ボタン421を操作する。それにより、表示部400には、図22の測定基本画面401に代えて後述する図23の領域設定画面402が表示される。 The area setting button 421 is a button for the user to command setting of the measurement area. The user operates the area setting button 421, for example, when setting the measurement area in step S13. As a result, an area setting screen 402 shown in FIG. 23, which will be described later, is displayed on the display unit 400 instead of the basic measurement screen 401 shown in FIG.

編集ボタン422は、使用者が測定領域の設定を修正するためのボタンである。使用者は、例えば上記のステップS13の測定領域の設定中に編集ボタン422を操作することにより、測定領域の設定内容について修正および追加を行うことができる。使用者により編集ボタン422が操作された場合にも、表示部400には図22の測定基本画面401に代えて後述する図23の領域設定画面402が表示される。領域クリアボタン423は、使用者が、測定領域の設定をリセットするためのボタンである。 The edit button 422 is a button for the user to modify the setting of the measurement area. The user can modify and add to the setting contents of the measurement area by operating the edit button 422 during the setting of the measurement area in step S13, for example. Also when the edit button 422 is operated by the user, the area setting screen 402 of FIG. 23, which will be described later, is displayed on the display unit 400 instead of the basic measurement screen 401 of FIG. The area clear button 423 is a button for the user to reset the setting of the measurement area.

視野確認画像424は、受光部120の撮像領域(撮像視野)が例えばステージ140の上面141s上のどこにあるのかを示す画像である。視野確認画像424においては、ステージ140の上面141sの平面図上に、受光部120の現在の撮像領域を示す矩形状の指標が重畳表示される。また、測定領域の設定後、視野確認画像424には、受光部120の撮像領域を示す指標とともに、設定された測定領域を示す指標が撮像領域の指標に対して識別可能に表示される。図22の視野確認画像424では、受光部120の現在の撮像領域を示す指標が実線で示される。また、現時点で設定されている測定領域を示す指標が点線で示される。 The field-of-view confirmation image 424 is an image indicating where the imaging region (imaging field of view) of the light receiving unit 120 is on the top surface 141 s of the stage 140 , for example. In the view confirming image 424, a rectangular index indicating the current imaging area of the light receiving unit 120 is displayed superimposed on the plan view of the upper surface 141s of the stage 140. FIG. After the measurement area is set, the view confirmation image 424 displays an index indicating the imaging area of the light receiving unit 120 and an index indicating the set measurement area so as to be identifiable with respect to the index of the imaging area. In the field-of-view confirmation image 424 of FIG. 22, the index indicating the current imaging area of the light receiving unit 120 is indicated by a solid line. Also, an index indicating the currently set measurement area is indicated by a dotted line.

測定開始ボタン425は、測定対象物Sの三次元形状データを得るために、例えば上記のステップS7で使用者がパターン光を用いた測定対象物Sの撮像開始を指令するためのボタンである。測定領域の設定後に使用者が測定開始ボタン425を操作すると、設定された測定領域が撮像され、測定対象物Sの三次元形状データが生成される。上面除去ボタン429は、ステージ140の上面141sの三次元形状データを測定結果から除去すべき旨を使用者が指令するためのボタンである。なお、図22の測定基本画面401には、図示しない倍率切替ボタンも表示される。それにより、使用者は、倍率切替ボタンを操作することにより、所望の倍率で表示されるライブ画像に基づいて測定対象物Sの表面状態を観察することができる。 The measurement start button 425 is a button for the user to command the start of imaging the measurement object S using the pattern light in step S7, for example, in order to obtain the three-dimensional shape data of the measurement object S. When the user operates the measurement start button 425 after setting the measurement area, an image of the set measurement area is captured and three-dimensional shape data of the measurement object S is generated. The top surface removal button 429 is a button for the user to instruct that the three-dimensional shape data of the top surface 141s of the stage 140 should be removed from the measurement results. Note that a magnification switching button (not shown) is also displayed on the measurement basic screen 401 of FIG. Accordingly, the user can observe the surface state of the measuring object S based on the live image displayed at a desired magnification by operating the magnification switching button.

(2)回転を伴わない測定対象物Sの形状測定を行うための領域設定画面
図23は、図22の領域設定ボタン421が操作されることにより表示部400に表示される領域設定画面の一例を示す図である。図23に示すように、領域設定画面402は、測定基本画面401と同様に、主表示領域410および副表示領域420を含む。
(2) Area setting screen for performing shape measurement of measurement object S without rotation FIG. 23 is an example of an area setting screen displayed on the display unit 400 when the area setting button 421 in FIG. 22 is operated. It is a figure which shows. As shown in FIG. 23, the area setting screen 402 includes a main display area 410 and a sub display area 420, like the basic measurement screen 401. FIG.

図22の領域設定ボタン421が操作されると、例えばステージ140上に載置された測定対象物Sの全体が受光部120により自動的に撮像される。このとき、測定対象物Sの全体が受光部120の撮像領域内に収まらない場合には、ステージ140の上面141sが受光部120に対してXY方向に相対的に移動され、撮像が複数回繰り返される。撮像により得られた測定対象物Sの画像に基づいて、Z方向に直交するステージ140上の面(例えば水平面)内で測定対象物Sが存在する領域(以下、存在領域と呼ぶ。)が検出される。その上で、検出された存在領域が仮の測定領域として暫定的に設定される。 When the region setting button 421 in FIG. 22 is operated, the light receiving unit 120 automatically captures an image of the entire measuring object S placed on the stage 140, for example. At this time, if the entire measurement object S does not fit within the imaging area of the light receiving unit 120, the upper surface 141s of the stage 140 is moved relative to the light receiving unit 120 in the XY directions, and the imaging is repeated multiple times. be Based on the image of the measurement object S obtained by imaging, an area where the measurement object S exists (hereinafter referred to as an existing area) is detected within a plane (for example, a horizontal plane) on the stage 140 orthogonal to the Z direction. be done. Then, the detected presence area is provisionally set as a temporary measurement area.

図23の領域設定画面402においては、主表示領域410に、領域設定マップ画像が表示される。ここで、測定領域は、受光部120が一度に撮像可能な測定空間101の少なくとも一部の領域を単位領域として、1または複数の単位領域がステージ140上に並ぶように設定される。したがって、領域設定マップ画像においては、図23に点線で示すように、測定領域を構成する単位領域を示す指標が、対象物画像SIとともに単位領域枠MMとして表示される。図23の例では、対象物画像SIの全体をカバーするように、4つの単位領域枠MMが示される。 In the area setting screen 402 of FIG. 23, an area setting map image is displayed in the main display area 410. FIG. Here, the measurement area is set such that one or a plurality of unit areas are arranged on the stage 140 with at least a partial area of the measurement space 101 that can be imaged by the light receiving unit 120 at one time as a unit area. Therefore, in the area setting map image, as indicated by dotted lines in FIG. 23, indices indicating the unit areas forming the measurement area are displayed as unit area frames MM together with the object image SI. In the example of FIG. 23, four unit area frames MM are shown so as to cover the entire object image SI.

また、図23の領域設定画面402においては、副表示領域420に、領域設定マップ画像上で測定領域の位置およびサイズを調整すべきメッセージが表示される。さらに、除外ボタン426、OKボタン427およびキャンセルボタン428が表示される。使用者は、領域設定画面402上のポインタを操作することにより、領域設定マップ画像上で各単位領域枠MMの位置およびサイズを調整することができる。また、使用者は、単位領域枠MMを追加することもできる。このようにして、使用者は、領域設定マップ画像上で、X方向およびY方向における測定領域を容易に拡張または縮小することができる。 23, a sub-display area 420 displays a message to adjust the position and size of the measurement area on the area setting map image. Furthermore, an Exclude button 426, an OK button 427 and a Cancel button 428 are displayed. The user can adjust the position and size of each unit area frame MM on the area setting map image by operating the pointer on the area setting screen 402 . The user can also add a unit area frame MM. In this way, the user can easily expand or contract the measurement area in the X and Y directions on the area setting map image.

除外ボタン426は、領域設定マップ画像において、形状測定が不要と判定した領域を使用者が除外領域として指定するためのボタンである。使用者は、除外ボタン426を操作した後、領域設定マップ画像上で複数の単位領域枠MMのうちいずれかの単位領域枠MMを指定することにより、当該単位領域枠MMの部分を測定領域から除外することができる。 The exclusion button 426 is a button for the user to specify, as an exclusion area, an area determined not to require shape measurement in the area setting map image. After operating the exclusion button 426, the user designates one of the plurality of unit area frames MM on the area setting map image, thereby removing the portion of the unit area frame MM from the measurement area. can be excluded.

OKボタン427は、使用者が、領域設定マップ画像を用いた測定領域の設定が完了したことを指令するためのボタンである。使用者がOKボタン427を操作すると、OKボタン427の操作時点で設定された測定領域の情報が正規の設定情報として、図1の作業用メモリ230または記憶装置240に記憶される。表示部400には、図23の領域設定画面402に代えて直前に表示されていた図22の測定基本画面401が再表示される。 The OK button 427 is a button for the user to command that the setting of the measurement area using the area setting map image is completed. When the user operates the OK button 427, the information of the measurement area set at the time of operating the OK button 427 is stored in the work memory 230 or the storage device 240 of FIG. 1 as normal setting information. The display unit 400 redisplays the measurement basic screen 401 of FIG. 22 that was displayed immediately before instead of the area setting screen 402 of FIG.

キャンセルボタン428は、使用者が、現在表示されている領域設定画面402上で設定された測定領域の情報をリセットしつつ、表示部400に図22の測定基本画面401を表示させるためのボタンである。 A cancel button 428 is a button for the user to reset the measurement area information set on the currently displayed area setting screen 402 and cause the display unit 400 to display the basic measurement screen 401 of FIG. be.

(3)回転ユニット190の接続時に表示される測定基本画面
表示部400に図22の測定基本画面401が表示された状態で、使用者が上記のステップS3の作業により回転ユニット190をステージ140に取り付ける。この場合、測定基本画面401が図22の表示態様から変化する。図24は、ステージ140に回転ユニット190が取り付けられた状態で表示部400に表示される測定基本画面401の一例を示す図である。
(3) Basic measurement screen displayed when rotating unit 190 is connected With the basic measurement screen 401 of FIG. Install. In this case, the basic measurement screen 401 changes from the display mode shown in FIG. FIG. 24 is a diagram showing an example of a basic measurement screen 401 displayed on the display section 400 with the rotation unit 190 attached to the stage 140. As shown in FIG.

図24に示すように、ステージ140に回転ユニット190が接続されると、主表示領域410には、ライブ画像上に図22の水平移動操作ウィンドウ411に加えて回転操作ウィンドウ413がさらに重畳表示される。 As shown in FIG. 24, when the rotation unit 190 is connected to the stage 140, in addition to the horizontal movement operation window 411 shown in FIG. be.

回転操作ウィンドウ413内には、原点ボタン414、正回転ボタン415および逆回転ボタン416が表示される。原点ボタン414は、回転軸RA周りの回転方向において、回転ユニット190の保持部191の角度位置を基準角度位置へ戻すためのボタンである。 An origin button 414 , a forward rotation button 415 and a reverse rotation button 416 are displayed in the rotation operation window 413 . The origin button 414 is a button for returning the angular position of the holding portion 191 of the rotating unit 190 to the reference angular position in the direction of rotation about the rotation axis RA.

正回転ボタン415は回転ユニット190の保持部191を回転軸RA周りの一方向に回転させるためのボタンであり、逆回転ボタン416は回転ユニット190の保持部191を回転軸RA周りの逆方向に回転させるためのボタンである。これにより、使用者は、保持部191の先端に測定対象物Sが保持された状態で、図1の操作部250を用いて測定基本画面401上のポインタを操作し、例えば正回転ボタン415および逆回転ボタン416のいずれかをクリックする。それにより、ステージ140上で測定対象物Sを回転軸RA周りで所望の方向に回転させることができる。 The forward rotation button 415 is a button for rotating the holding portion 191 of the rotation unit 190 in one direction around the rotation axis RA, and the reverse rotation button 416 rotates the holding portion 191 of the rotation unit 190 in the opposite direction around the rotation axis RA. A button for rotating. As a result, the user operates the pointer on the measurement basic screen 401 using the operation unit 250 in FIG. Click one of the reverse rotation buttons 416 . Thereby, the measuring object S can be rotated in a desired direction around the rotation axis RA on the stage 140 .

なお、回転操作ウィンドウ413には、さらに、保持部マーク417、基準姿勢マーク418および複数の測定角度位置マーク419が表示される。保持部マーク417は、X方向に見た保持部191の外形を模式的に表すものであり、円形状を有する。基準姿勢マーク418は、保持部191に保持される測定対象物Sのうちの特定の面に対向する角度位置(以下、基準姿勢位置と呼ぶ。)を示すものであり、基準姿勢位置は予め定められた方法に従ってCPU210または使用者により設定される。例えば、基準姿勢位置は、測定対象物Sが回転軸RA周りに回転する際に、受光部120により最も広い面積で撮像されるときの測定対象物Sの角度位置であってもよい。 Note that the rotation operation window 413 further displays a holding portion mark 417 , a reference posture mark 418 and a plurality of measurement angle position marks 419 . The holding portion mark 417 schematically represents the outer shape of the holding portion 191 viewed in the X direction, and has a circular shape. The reference attitude mark 418 indicates an angular position (hereinafter referred to as a reference attitude position) facing a specific surface of the measurement object S held by the holding unit 191, and the reference attitude position is predetermined. It is set by the CPU 210 or the user according to the specified method. For example, the reference posture position may be the angular position of the measurement object S when the measurement object S is imaged in the widest area by the light receiving unit 120 when the measurement object S rotates around the rotation axis RA.

回転を伴う測定対象物Sの形状測定では、測定対象物Sのうち回転軸RA周りの複数の部分の形状測定を行うために、受光部120により撮像されるべき複数の角度位置が測定角度位置として設定される。測定角度位置マーク419は、現時点で設定されている測定角度位置を示すものであり、保持部マーク417の円上に配置される。図24の例では、複数の測定角度位置マーク419が、保持部マーク417の中心を基準として45°の角度間隔で保持部マーク417の円上に並んでいる。 In the shape measurement of the measurement object S that involves rotation, a plurality of angular positions to be imaged by the light receiving unit 120 are used as the measurement angular positions in order to measure the shape of a plurality of portions of the measurement object S around the rotation axis RA. is set as The measurement angle position mark 419 indicates the currently set measurement angle position, and is arranged on the circle of the holding portion mark 417 . In the example of FIG. 24 , a plurality of measurement angle position marks 419 are arranged on the circle of the holder mark 417 at angular intervals of 45° with the center of the holder mark 417 as a reference.

また、ステージ140に回転ユニット190が接続されると、副表示領域420には、図22に示される各種ボタン(421~425,429)および視野確認画像424に加えて、さらに他の複数のボタンが表示される。具体的には、副表示領域420には、回転オンボタン431、回転オフボタン432、箱全周ボタン434、箱部分ボタン435、軸ボタン436および回転詳細ボタン437がさらに表示される。 Further, when the rotation unit 190 is connected to the stage 140, in addition to the various buttons (421 to 425, 429) and the view confirmation image 424 shown in FIG. is displayed. Specifically, in the secondary display area 420, a rotation ON button 431, a rotation OFF button 432, a box perimeter button 434, a box portion button 435, an axis button 436, and a rotation detail button 437 are further displayed.

回転オンボタン431は、回転を伴う測定対象物Sの形状測定、すなわち回転ユニット190の回転機能を用いた形状測定を行うために使用者により操作される。使用者が、回転オンボタン431を操作することにより、後述する箱全周ボタン434、箱部分ボタン435、軸ボタン436および回転詳細ボタン437の操作が有効となり、平面方向合成および回転方向合成を行うための各種設定が可能になる。なお、このとき領域設定ボタン421の操作は無効となる。 The rotation ON button 431 is operated by the user to perform shape measurement of the measurement object S involving rotation, that is, shape measurement using the rotation function of the rotation unit 190 . When the user operates the rotation ON button 431, the operations of the box perimeter button 434, the box portion button 435, the axis button 436, and the rotation details button 437, which will be described later, become effective, and the plane direction synthesis and rotation direction synthesis are performed. Various settings for At this time, operation of the region setting button 421 is disabled.

回転オフボタン432は、回転を伴なわない測定対象物Sの形状測定、すなわち回転ユニット190の回転機能を用いない形状測定を行うために使用者により操作される。使用者が、回転オフボタン432を操作することにより、後述する箱全周ボタン434、箱部分ボタン435、軸ボタン436および回転詳細ボタン437の操作が無効となり、回転方向合成を行うための各種設定が不可能になる。なお、このとき領域設定ボタン421の操作は有効となる。それにより、平面方向合成を行うための各種設定は可能である。 The rotation off button 432 is operated by the user to perform shape measurement of the measurement object S without rotation, that is, shape measurement without using the rotation function of the rotation unit 190 . When the user operates the rotation off button 432, the operations of the box perimeter button 434, the box part button 435, the axis button 436, and the rotation details button 437, which will be described later, are disabled, and various settings are made for performing rotation direction synthesis. becomes impossible. At this time, the operation of the region setting button 421 is enabled. As a result, various settings for performing planar direction synthesis are possible.

箱全周ボタン434は、使用者が、上記のステップS31の作業において、測定領域を設定するCPU210のモードとして、第1の箱形状領域設定モードを選択する場合に操作されるボタンである。箱部分ボタン435は、使用者が、測定領域を設定するCPU210のモードとして、第2の箱形状領域設定モードを選択する場合に操作されるボタンである。軸ボタン436は、使用者が、測定領域を設定するCPU210のモードとして、軸形状領域設定モードを選択する場合に操作されるボタンである。回転詳細ボタン437は、使用者が、CPU210において予め定められたモードによらず、詳細に測定領域を設定したい場合に操作されるボタンである。 Box all-around button 434 is a button operated when the user selects the first box-shaped area setting mode as the mode of CPU 210 for setting the measurement area in the operation of step S31. Box portion button 435 is a button operated when the user selects the second box-shaped area setting mode as the mode of CPU 210 for setting the measurement area. The axis button 436 is a button operated when the user selects the axis shape area setting mode as the mode of the CPU 210 for setting the measurement area. Rotation detail button 437 is a button operated when the user wants to set the measurement area in detail regardless of the mode predetermined in CPU 210 .

なお、図24の視野確認画像424では、ステージ140の上面141sの平面図上に、現在の測定対象物Sの角度位置に設定された測定領域を示す指標が、受光部120の現在の撮像領域を示す矩形状の指標とともに重畳表示される。 In view confirmation image 424 of FIG. 24 , the index indicating the measurement area set at the current angular position of measurement object S on the plan view of upper surface 141 s of stage 140 is the current imaging area of light receiving unit 120 . is superimposed and displayed together with a rectangular index indicating .

回転オンボタン431が操作された状態で、箱全周ボタン434、箱部分ボタン435、軸ボタン436および回転詳細ボタン437のいずれかが操作される。それにより、操作されたボタンに対応する領域設定画面が表示部400に表示される。以下、測定領域を設定するための各ボタン(434,435,436,437)が操作された場合に表示部400に表示される領域設定画面について説明する。 With the rotation ON button 431 operated, any one of the box perimeter button 434, the box portion button 435, the axis button 436, and the rotation details button 437 is operated. As a result, the area setting screen corresponding to the operated button is displayed on display unit 400 . The area setting screen displayed on the display unit 400 when each button (434, 435, 436, 437) for setting the measurement area is operated will be described below.

(4)回転を伴う測定対象物Sの形状測定を行うための領域設定画面
本実施の形態においては、複数の測定角度位置は、測定領域の設定モードごとにデフォルトの情報として記憶装置240に記憶されているものとする。図24の箱部分ボタン435が操作された場合、すなわち使用者が測定領域の設定モードとして第2の箱形状領域設定モードを選択した場合には、当該モードに対応する複数の測定角度位置が記憶装置240から読み出され、設定される。なお、複数の測定角度位置は、使用者が指定することにより設定されてもよい。
(4) Region setting screen for performing shape measurement of measurement object S involving rotation In the present embodiment, a plurality of measurement angular positions are stored in storage device 240 as default information for each measurement region setting mode. It shall be When the box portion button 435 in FIG. 24 is operated, that is, when the user selects the second box-shaped area setting mode as the measurement area setting mode, a plurality of measurement angular positions corresponding to the mode are stored. Read from device 240 and set. Note that the plurality of measurement angular positions may be set by the user's designation.

本例では、複数の測定角度位置として、0°(基準角度位置)、45°、90°、135°および180°が設定される。この場合、各測定角度位置にあるときの測定対象物Sの存在領域が検出され、検出された存在領域を覆うように1または複数の単位領域で構成される領域が当該測定角度位置における仮の測定領域として暫定的に設定される。この設定内容、すなわち、各測定角度位置に関連付けられた測定領域は、例えば作業用メモリ230および記憶装置240のいずれかに記憶される。 In this example, 0° (reference angular position), 45°, 90°, 135° and 180° are set as the plurality of measured angular positions. In this case, the existence area of the measurement object S at each measurement angular position is detected, and an area composed of one or a plurality of unit areas so as to cover the detected existence area is a provisional area at the measurement angular position. Temporarily set as measurement area. The contents of this setting, that is, the measurement area associated with each measurement angular position, are stored in either the working memory 230 or the storage device 240, for example.

図25は、図24の箱部分ボタン435が操作されることに応答して実行される形状測定装置500の動作を説明するための図である。図25(a)~(e)には、0°、45°、90°、135°および180°の角度位置にあるときの測定対象物SをX方向に見た外観図(端面図)がそれぞれ示される。図25(a)~(e)においては、測定対象物Sの表面のうち形状測定の対象となる部分が太い実線で示される。 FIG. 25 is a diagram for explaining the operation of shape measuring device 500 that is executed in response to operation of box portion button 435 in FIG. 25(a) to (e) are external views (end views) of the measuring object S at the angular positions of 0°, 45°, 90°, 135° and 180° as viewed in the X direction. each indicated. In FIGS. 25A to 25E, the portion of the surface of the object S to be subjected to shape measurement is indicated by a thick solid line.

例えば、図25(a)に示すように、最初に、測定対象物Sが0°の測定角度位置に位置決めされる。その上で、図23の例と同様に、測定対象物Sの全体が受光部120により自動的に撮像される。図25(f)に、図25(a)の状態で撮像された測定対象物Sの画像の一例が示される。撮像された測定対象物Sの画像に基づいて存在領域が検出される。その上で、検出された存在領域を含みかつ1または複数の単位領域で構成される領域が0°の測定角度位置に対応する仮の測定領域として暫定的に設定される。 For example, as shown in FIG. 25(a), first, the measurement object S is positioned at the measurement angular position of 0°. After that, the entire measurement object S is automatically imaged by the light receiving unit 120 as in the example of FIG. 23 . FIG. 25(f) shows an example of an image of the measuring object S imaged in the state of FIG. 25(a). An existing region is detected based on the captured image of the measurement object S. FIG. Then, an area including the detected presence area and composed of one or more unit areas is tentatively set as a temporary measurement area corresponding to the measurement angular position of 0°.

次に、図25(b)に示すように、測定対象物Sが回転軸RA周りで回転され、45°の測定角度位置に位置決めされる。その上で、測定対象物Sの全体が受光部120により自動的に撮像される。図25(g)に、図25(b)の状態で撮像された測定対象物Sの画像の一例が示される。撮像された測定対象物Sの画像に基づいて存在領域が検出される。その上で、検出された存在領域を含みかつ1または複数の単位領域で構成される領域が45°の測定角度位置に対応する仮の測定領域として暫定的に設定される。 Next, as shown in FIG. 25(b), the measurement object S is rotated around the rotation axis RA and positioned at the measurement angular position of 45°. After that, the entire measurement object S is automatically imaged by the light receiving unit 120 . FIG. 25(g) shows an example of an image of the measuring object S captured in the state of FIG. 25(b). An existing region is detected based on the captured image of the measurement object S. FIG. Then, an area including the detected existence area and composed of one or more unit areas is tentatively set as a temporary measurement area corresponding to the measurement angular position of 45°.

その後、測定対象物Sの回転、位置決めおよび撮像が繰り返され、存在領域が検出される。図25(h),(i),(j)に、90°、135°および180°の測定角度位置で撮像された測定対象物Sの画像がそれぞれ示される。各測定角度位置で検出された存在領域を含みかつ1または複数の単位領域で構成される領域が、当該測定角度位置に対応する仮の測定領域として暫定的に設定される。このようにして設定された複数の測定角度位置にそれぞれ対応する複数の仮の測定領域が表示部400に表示される。 After that, rotation, positioning, and imaging of the measuring object S are repeated, and the existence area is detected. 25(h), (i), and (j) show images of the measuring object S taken at the measuring angular positions of 90°, 135°, and 180°, respectively. An area that includes the presence area detected at each measurement angular position and is configured by one or more unit areas is tentatively set as a temporary measurement area corresponding to the measurement angular position. A plurality of temporary measurement areas respectively corresponding to the plurality of measurement angular positions set in this manner are displayed on the display unit 400 .

図26は、図24の箱部分ボタン435が操作されることにより表示部400に表示される領域設定画面の一例を示す図である。図26の領域設定画面403においては、主表示領域410に、複数の測定角度位置(0°、45°、90°、135°および180°)の各々に対応する領域設定マップ画像が表示される。 FIG. 26 is a diagram showing an example of the area setting screen displayed on the display unit 400 by operating the box part button 435 in FIG. In the area setting screen 403 of FIG. 26, an area setting map image corresponding to each of a plurality of measurement angular positions (0°, 45°, 90°, 135° and 180°) is displayed in the main display area 410. .

また、図26の領域設定画面403においては、副表示領域420に、編集ボタン422、OKボタン427およびキャンセルボタン428とともに角度位置一覧441が表示される。角度位置一覧441は、現時点で設定されている複数の測定角度位置を示す。使用者は、角度位置一覧441に表示される複数の測定角度位置のうち所望の測定角度位置を選択し、編集ボタン422を操作する。それにより、使用者は、図23の例と同様に、選択した測定角度位置に対応する領域設定マップ画像上で、X方向およびY方向における測定領域を容易に拡張または縮小することができる。 In the area setting screen 403 of FIG. 26, an angle position list 441 is displayed along with an edit button 422 , an OK button 427 and a cancel button 428 in the sub display area 420 . The angular position list 441 indicates a plurality of measured angular positions currently set. The user selects a desired measured angular position from among the plurality of measured angular positions displayed in the angular position list 441 and operates the edit button 422 . Thereby, the user can easily expand or reduce the measurement area in the X and Y directions on the area setting map image corresponding to the selected measurement angular position, as in the example of FIG.

箱形状を有する測定対象物Sを回転させる場合、Y方向における存在領域の範囲は複数の測定角度位置で大きく変化する可能性が高い。したがって、上記のような測定領域の編集機能は、箱形状を有する測定対象物Sについての測定領域の設定に非常に有効である。 When rotating the measuring object S having a box shape, there is a high possibility that the range of the existence area in the Y direction changes greatly at a plurality of measurement angular positions. Therefore, the measurement area editing function as described above is very effective in setting the measurement area for the measuring object S having a box shape.

図26の領域設定画面403においてOKボタン427が操作されると、測定領域の設定が完了したものとして、表示部400には、図24の測定基本画面401が再表示される。一方、キャンセルボタン428が操作されると、領域設定画面403上で設定された測定領域についての情報がリセットされ、表示部400に図24の測定基本画面401が再表示される。 When the OK button 427 is operated on the area setting screen 403 of FIG. 26, the measurement basic screen 401 of FIG. On the other hand, when the cancel button 428 is operated, the information about the measurement area set on the area setting screen 403 is reset, and the basic measurement screen 401 of FIG.

図24の箱全周ボタン434が操作された場合、すなわち使用者が測定領域の設定モードとして第1の箱形状領域設定モードを選択した場合には、当該モードに対応する複数の測定角度位置が記憶装置240から読み出され、設定される。なお、複数の測定角度位置は、使用者が指定することにより設定されてもよい。 When the box perimeter button 434 in FIG. 24 is operated, that is, when the user selects the first box-shaped area setting mode as the measurement area setting mode, a plurality of measurement angular positions corresponding to the mode are displayed. It is read from the storage device 240 and set. Note that the plurality of measurement angular positions may be set by the user's designation.

本例では、複数の測定角度位置として、0°(基準角度位置)、45°、90°、135°、180°、225°、270°および315°が設定される。この場合、図24の箱部分ボタン435が操作された場合と同様に、各測定角度位置にあるときの測定対象物Sの存在領域が検出され、検出された存在領域を含みかつ1または複数の単位領域で構成される領域が当該測定角度位置における仮の測定領域として暫定的に設定される。設定された複数の測定角度位置にそれぞれ対応する複数の仮の測定領域が表示部400に表示される。 In this example, 0° (reference angular position), 45°, 90°, 135°, 180°, 225°, 270° and 315° are set as the plurality of measurement angular positions. In this case, as in the case where the box portion button 435 in FIG. 24 is operated, the existence area of the measurement object S at each measurement angle position is detected, and one or more A region composed of unit regions is provisionally set as a temporary measurement region at the measurement angular position. A plurality of temporary measurement regions corresponding to the plurality of set measurement angular positions are displayed on the display unit 400 .

図27は、図24の箱全周ボタン434が操作されることにより表示部400に表示される領域設定画面の一例を示す図である。図27の領域設定画面404においては、主表示領域410に、複数の測定角度位置(0°、45°、90°、135°、180°、225°、270°および315°)の各々に対応する領域設定マップ画像が表示される。 FIG. 27 is a diagram showing an example of a region setting screen displayed on the display unit 400 when the box perimeter button 434 in FIG. 24 is operated. In the area setting screen 404 of FIG. 27, the main display area 410 corresponds to each of a plurality of measurement angle positions (0°, 45°, 90°, 135°, 180°, 225°, 270° and 315°). area setting map image is displayed.

また、図27の領域設定画面404においては、図26の領域設定画面403と同様に、副表示領域420に、編集ボタン422、OKボタン427、キャンセルボタン428および角度位置一覧441が表示される。これにより、使用者は、各種ボタン(422,427,428)および角度位置一覧441を操作することにより、測定領域の設定の修正、設定の完了指令、設定のリセット指令を行うことができる。OKボタン427またはキャンセルボタン428が操作されることにより、表示部400に図24の測定基本画面401が再表示される。 27, an edit button 422, an OK button 427, a cancel button 428, and an angular position list 441 are displayed in the sub-display area 420 in the same way as the area setting screen 403 in FIG. Accordingly, by operating various buttons (422, 427, 428) and the angular position list 441, the user can correct the setting of the measurement region, command the completion of the setting, and command the reset of the setting. By operating the OK button 427 or the cancel button 428, the basic measurement screen 401 of FIG. 24 is displayed on the display unit 400 again.

図24の軸ボタン436が操作された場合、すなわち使用者が測定領域の設定モードとして軸形状領域設定モードを選択した場合には、当該モードに対応する複数の測定角度位置が記憶装置240から読み出され、設定される。なお、複数の測定角度位置は、使用者が指定することにより設定されてもよい。 When the axis button 436 in FIG. 24 is operated, that is, when the user selects the axis shape area setting mode as the measurement area setting mode, a plurality of measurement angular positions corresponding to the mode are read from the storage device 240. issued and set. Note that the plurality of measurement angular positions may be set by the user's designation.

本例では、複数の測定角度位置として、0°(基準角度位置)、45°、90°、135°、180°、225°、270°および315°が設定される。ここで、一方向に延びる軸形状を有する測定対象物Sを、回転軸RAに沿って延びるように配置し、その回転軸RA周りで回転させる場合には、測定対象物Sの外周面と回転軸RAとの間の距離がほぼ一定に保たれる。そのため、複数の測定角度位置に対応する存在領域は、ほぼ共通すると考えられる。 In this example, 0° (reference angular position), 45°, 90°, 135°, 180°, 225°, 270° and 315° are set as the plurality of measurement angular positions. Here, when the measuring object S having an axial shape extending in one direction is arranged so as to extend along the rotation axis RA and rotated around the rotation axis RA, the outer peripheral surface of the measuring object S and the rotation The distance between the axis RA is kept substantially constant. Therefore, it is considered that existence regions corresponding to a plurality of measurement angular positions are substantially common.

そこで、図24の軸ボタン436が操作された場合には、複数の測定角度位置のうち一の測定角度位置にあるときの測定対象物Sの存在領域のみが検出される。その上で、検出された存在領域を含みかつ1または複数の単位領域で構成される領域が全ての測定角度位置における仮の測定領域として暫定的に設定される。複数の測定角度位置に共通する仮の測定領域が表示部400に表示される。 Therefore, when the axis button 436 in FIG. 24 is operated, only the existence area of the measurement object S at one of the plurality of measurement angular positions is detected. Then, an area including the detected presence area and composed of one or more unit areas is tentatively set as a temporary measurement area at all measurement angular positions. A temporary measurement area common to a plurality of measurement angular positions is displayed on the display section 400 .

図28は、図24の軸ボタン436が操作されることにより表示部400に表示される領域設定画面の一例を示す図である。図28の領域設定画面405においては、主表示領域410に、一の測定角度位置(例えば0°)に対応する領域設定マップ画像が表示される。また、図28の領域設定画面405においては、副表示領域420に、編集ボタン422、OKボタン427およびキャンセルボタン428が表示される。これにより、使用者は、各種ボタン(422,427,428)および角度位置一覧441を操作することにより、測定領域の設定の修正、設定の完了指令、設定のリセット指令を行うことができる。OKボタン427またはキャンセルボタン428が操作されることにより、表示部400に図24の測定基本画面401が再表示される。 FIG. 28 is a diagram showing an example of an area setting screen displayed on the display unit 400 by operating the axis button 436 in FIG. In the area setting screen 405 of FIG. 28, an area setting map image corresponding to one measurement angular position (for example, 0°) is displayed in the main display area 410 . 28, an edit button 422, an OK button 427 and a cancel button 428 are displayed in the sub-display area 420 of the area setting screen 405 of FIG. Accordingly, by operating various buttons (422, 427, 428) and the angular position list 441, the user can correct the setting of the measurement region, command the completion of the setting, and command the reset of the setting. By operating the OK button 427 or the cancel button 428, the basic measurement screen 401 of FIG. 24 is displayed on the display unit 400 again.

上記のように、使用者が軸形状領域設定モードを選択した場合、複数の測定角度位置の全てについて存在領域が検出されない。それにより、存在領域の検出に要する時間が短縮される。また、この場合、表示部400には、一の測定角度位置に対応する一の領域設定マップ画像のみが表示されるので、使用者は、複数の領域設定マップ画像を確認する必要がない。さらに、複数の測定角度位置の各々について測定領域を調整する必要もない。その結果、測定領域の設定に要する作業および時間を低減することができる。 As described above, when the user selects the shaft shape area setting mode, the existence area is not detected for all of the plurality of measured angular positions. This shortens the time required to detect the presence area. Also, in this case, since only one region setting map image corresponding to one measurement angular position is displayed on the display unit 400, the user does not need to confirm a plurality of region setting map images. Furthermore, it is not necessary to adjust the measurement area for each of the plurality of measurement angular positions. As a result, the work and time required for setting the measurement area can be reduced.

なお、使用者が軸形状領域設定モードを選択した場合、表示対象となる一の測定角度位置は、使用者が操作部250を操作することによりCPU210に指定可能であってもよい。この場合、CPU210は、使用者による一の測定角度位置の指定を受け付ける。 When the user selects the shaft shape area setting mode, one measurement angular position to be displayed may be designated by the CPU 210 by the user operating the operation unit 250 . In this case, the CPU 210 accepts designation of one measurement angular position by the user.

図24の回転詳細ボタン437が操作された場合には、副表示領域420の表示態様が変化する。図29は、図24の回転詳細ボタン437が操作されることにより表示部400に表示される副表示領域420の一例を示す図である。図29に示すように、図24の測定基本画面401において回転詳細ボタン437が操作されると、副表示領域420には、基準姿勢入力枠451、基準姿勢登録ボタン452、角度条件設定部453、角度ピッチ設定部454、測定回数設定部455、除外角度入力枠456および合成要否チェックボックス457等が表示される。 When the detailed rotation button 437 in FIG. 24 is operated, the display mode of the sub-display area 420 changes. FIG. 29 is a diagram showing an example of the sub-display area 420 displayed on the display unit 400 by operating the detailed rotation button 437 in FIG. As shown in FIG. 29, when the rotation details button 437 is operated on the measurement basic screen 401 of FIG. An angle pitch setting portion 454, a measurement count setting portion 455, an exclusion angle input frame 456, a synthesis necessity check box 457, and the like are displayed.

基準姿勢入力枠451は、使用者が、所望の角度位置を入力することが可能に構成されている。基準姿勢登録ボタン452は、使用者により基準姿勢入力枠451に入力された角度位置を基準姿勢位置として登録するために操作される。基準姿勢登録ボタン452が操作されることにより、基準姿勢入力枠451に入力された角度位置が基準姿勢位置として作業用メモリ230または記憶装置240に記憶される。 The reference attitude input frame 451 is configured so that the user can input a desired angular position. A reference posture registration button 452 is operated to register the angular position input in the reference posture input frame 451 by the user as a reference posture position. By operating the reference attitude registration button 452, the angular position input to the reference attitude input frame 451 is stored in the working memory 230 or the storage device 240 as the reference attitude position.

角度条件設定部453は、複数の測定角度位置をどのように定めるのかを設定するために使用者により操作可能に構成される。具体的には、角度条件設定部453は、複数種類の設定方法から所望の方法を選択可能なプルダウンボタンで構成される。 The angle condition setting unit 453 is operable by the user to set how to determine a plurality of measurement angle positions. Specifically, the angle condition setting unit 453 is configured with a pull-down button that enables selection of a desired method from among multiple types of setting methods.

角度ピッチ設定部454は、複数の測定角度位置をどのような角度間隔で設定するのかを設定するために使用者により操作可能に構成される。具体的には、角度ピッチ設定部454は、複数種類の角度から所望の角度を選択可能なプルダウンボタンで構成される。測定回数設定部455は、角度ピッチ設定部454で設定された角度間隔でどれだけの回数三次元形状データを生成すべきかを設定するために使用者により操作可能に構成される。除外角度入力枠456は、使用者が、三次元形状データを生成する必要がない測定角度位置を入力することが可能に構成されている。 The angular pitch setting unit 454 is configured to be operable by the user to set the angular intervals at which the plurality of measurement angular positions are to be set. Specifically, the angular pitch setting section 454 is configured with a pull-down button that allows selection of a desired angle from a plurality of types of angles. The number-of-measurements setting unit 455 is operable by the user to set how many times the three-dimensional shape data should be generated at the angular intervals set by the angular pitch setting unit 454 . The exclusion angle input frame 456 is configured so that the user can input measurement angle positions that do not require the generation of three-dimensional shape data.

合成要否チェックボックス457は、測定対象物Sを複数回に渡って設定された角度間隔で回転させつつ複数の三次元形状データを生成した後、生成された複数の三次元形状データを合成するか否かを選択可能に構成される。 The synthesis necessity check box 457 generates a plurality of three-dimensional shape data while rotating the measuring object S at a set angle interval a plurality of times, and then synthesizes the generated plurality of three-dimensional shape data. It is configured to be selectable whether or not.

使用者は、複数の三次元形状データを合成させたい場合に、合成要否チェックボックス457にチェックを入れる。それにより、測定対象物Sの形状測定時に複数の測定角度位置で生成された複数の三次元形状データが合成される。一方、使用者は、複数の三次元形状データを合成させたくない場合に、合成要否チェックボックス457にチェックを入れない。それにより、測定対象物Sの形状測定時に複数の測定角度位置で生成された複数の三次元形状データが合成されない。上記のように、使用者は、図24の回転詳細ボタン437を操作した場合、図29に示される各種入力枠、ボタンおよび設定部をさらに操作することにより測定対象物Sの形状測定に関して細かな設定を行うことができる。 When the user wishes to synthesize a plurality of pieces of three-dimensional shape data, the user checks the synthesis necessity check box 457 . As a result, a plurality of three-dimensional shape data generated at a plurality of measurement angular positions during the shape measurement of the measurement object S are synthesized. On the other hand, if the user does not want to synthesize a plurality of pieces of three-dimensional shape data, the user does not check the synthesis necessity check box 457 . As a result, a plurality of three-dimensional shape data generated at a plurality of measurement angular positions during the shape measurement of the measurement object S are not synthesized. As described above, when the user operates the detailed rotation button 437 in FIG. 24, the user can further operate various input frames, buttons, and setting sections shown in FIG. Settings can be made.

(5)設定の修正および追加等
図26~図28の編集ボタン422が操作された場合には、副表示領域420の表示態様が変化する。図30は、図26~図28の編集ボタン422が操作されることにより表示部400に表示される副表示領域420の一例を示す図である。図30に示すように、図26~図28の領域設定画面402~405において編集ボタン422が操作されると、図23の例と同様に、副表示領域420に領域設定マップ画像上で測定領域の位置およびサイズを調整すべきメッセージが表示される。また、除外ボタン426、OKボタン427およびキャンセルボタン428が表示される。さらに、第1の校正チェックボックス463および第2の校正チェックボックス464が表示される。
(5) Correction and addition of settings, etc. When the edit button 422 in FIGS. 26 to 28 is operated, the display mode of the secondary display area 420 changes. FIG. 30 is a diagram showing an example of the sub-display area 420 displayed on the display section 400 by operating the edit button 422 in FIGS. 26-28. As shown in FIG. 30, when the edit button 422 is operated on the area setting screens 402 to 405 shown in FIGS. A message appears asking you to adjust the position and size of the . Also, an Exclude button 426, an OK button 427 and a Cancel button 428 are displayed. Additionally, a first calibration check box 463 and a second calibration check box 464 are displayed.

第1の校正チェックボックス463は、図15(a)の第1のマーカM1を用いた第1の構成機能を使用するか否かを設定するためのチェックボックスである。一方、第2の校正チェックボックス464は、図16(b)の第2のマーカM2を用いた第2の構成機能を使用するか否かを設定するためのチェックボックスである。 The first calibration check box 463 is a check box for setting whether or not to use the first configuration function using the first marker M1 in FIG. 15(a). On the other hand, the second calibration check box 464 is a check box for setting whether or not to use the second configuration function using the second marker M2 in FIG. 16(b).

使用者は、上記のステップS36の作業において、第1のマーカM1を用いた第1の構成機能を使用したい場合、図30の第1の校正チェックボックス463にチェックを入れる。この場合、第1のマーカM1についても形状測定が行われるように、測定領域を設定する必要がある。ここで、第1のマーカM1は、回転支持軸91の一部であるため、ステージ140上の第1のマーカM1の存在領域は既知である。そのため、第1の校正チェックボックス463にチェックが入れられた場合には、現時点で設定されている測定領域に加えて、第1のマーカM1の存在領域をカバーするための新たな測定領域が設定される。 If the user wishes to use the first configuration function using the first marker M1 in the operation of step S36 described above, the user checks the first calibration check box 463 in FIG. In this case, it is necessary to set the measurement area so that the shape measurement is also performed for the first marker M1. Here, since the first marker M1 is a part of the rotation support shaft 91, the existence area of the first marker M1 on the stage 140 is known. Therefore, when the first calibration check box 463 is checked, a new measurement area is set to cover the existence area of the first marker M1 in addition to the currently set measurement area. be done.

図31は、図30の第1の校正チェックボックス463にチェックが入れられることにより表示部400に表示される領域設定画面の一例を示す図である。図31の領域設定画面406においては、主表示領域410に特定の一の測定角度位置(例えば0°)に対応する領域設定マップ画像が表示される。 FIG. 31 is a diagram showing an example of the area setting screen displayed on the display unit 400 when the first calibration check box 463 in FIG. 30 is checked. In the area setting screen 406 of FIG. 31, an area setting map image corresponding to one specific measurement angular position (for example, 0°) is displayed in the main display area 410 .

その領域設定マップ画像においては、測定対象物Sの三次元形状データを生成するための測定領域が複数の単位領域枠MMで示される。さらに、その領域設定マップ画像においては、第1のマーカM1の三次元形状データを生成するための測定領域が複数の単位領域枠MMaで示される。 In the area setting map image, the measurement area for generating the three-dimensional shape data of the measurement object S is indicated by a plurality of unit area frames MM. Furthermore, in the area setting map image, the measurement area for generating the three-dimensional shape data of the first marker M1 is indicated by a plurality of unit area frames MMa.

図31では、保持部191および第1のマーカM1の画像が二点鎖線で示される。また、第1のマーカM1の位置が理解しやすいように、第1のマーカM1の画像部分にハッチングが付されている。 In FIG. 31, images of the holding portion 191 and the first marker M1 are indicated by two-dot chain lines. Further, the image portion of the first marker M1 is hatched so that the position of the first marker M1 can be easily understood.

ここで、第1のマーカM1に対応して追加される単位領域枠MMaは、測定対象物Sに対応する単位領域枠MMに対して識別可能となるように、単位領域枠MMとは異なる態様(本例では太い一点鎖線)で表示される。これにより、使用者は、第1のマーカM1を用いた第1の校正機能を使用するために、新たな測定領域が設定されたことを容易に把握することができる。 Here, the unit area frame MMa added corresponding to the first marker M1 is different from the unit area frame MM so as to be identifiable with respect to the unit area frame MM corresponding to the measurement object S. (In this example, it is displayed with a thick one-dot chain line). Thereby, the user can easily grasp that a new measurement area has been set in order to use the first calibration function using the first marker M1.

使用者は、第2のマーカM2を用いた第2の構成機能を使用したい場合、図30の第2の校正チェックボックス464にチェックを入れる。この場合、第2のマーカM2についても形状測定が行われるように、測定領域を設定する必要がある。ここで、第2のマーカM2は、使用者が上記のステップS37の作業においいて測定対象物Sに取り付けるものである。そのため、使用者は、測定対象物Sに取り付けられる第2のマーカM2の位置に応じて第2のマーカM2の存在領域をカバーするための新たな測定領域を設定する必要がある。 If the user wishes to use the second configure function with the second marker M2, the user checks the second calibration checkbox 464 in FIG. In this case, it is necessary to set the measurement area so that the shape measurement is also performed for the second marker M2. Here, the second marker M2 is attached to the measurement object S by the user in the work of step S37. Therefore, the user needs to set a new measurement area for covering the existence area of the second marker M2 according to the position of the second marker M2 attached to the measurement object S.

図32は、図30の第2の校正チェックボックス464にチェックが入れられることにより表示部400に表示される領域設定画面の一例を示す図である。図32の領域設定画面407においては、図31の領域設定画面406の例と同様に、主表示領域410に特定の一の測定角度位置(例えば0°)に対応する領域設定マップ画像が表示される。 FIG. 32 is a diagram showing an example of a region setting screen displayed on the display unit 400 when the second calibration check box 464 in FIG. 30 is checked. In the area setting screen 407 of FIG. 32, similarly to the example of the area setting screen 406 of FIG. be.

さらに、その領域設定マップ画像においては、測定対象物Sの三次元形状データを生成するための測定領域が複数の単位領域枠MMで示されるとともに、第2のマーカM2の位置を指定するためのマーカ画像M2iが表示される。この状態で、使用者は、例えばマーカ画像M2iをドラッグすることにより領域設定マップ画像上で実際の第2のマーカM2の位置に対応する位置にマーカ画像M2iを配置する。 Furthermore, in the area setting map image, the measurement area for generating the three-dimensional shape data of the measurement object S is indicated by a plurality of unit area frames MM, and the position of the second marker M2 is specified. A marker image M2i is displayed. In this state, the user places the marker image M2i at a position corresponding to the actual position of the second marker M2 on the area setting map image by dragging the marker image M2i, for example.

副表示領域420には、マーカ反転チェックボックス465、OKボタン427およびキャンセルボタン428が表示される。ここで、本実施の形態に係る形状測定装置500においては、第2の校正機能の使用時に測定対象物Sに取り付けられるべき第2のマーカM2の基本姿勢が予め定められている。例えば、測定対象物Sに取り付けられるべき第2のマーカM2の基本姿勢は、第2のマーカM2の軸心が回転軸RAに対して平行かまたはほぼ平行でかつ径大部M2aおよび径小部M2bがこの順で回転ユニット190から離れるように配置される姿勢である。一方、図17の例に示されるように、第2のマーカM2は、基本姿勢をX方向で反転した反転姿勢で回転ユニット190に取り付けることもできる。 A marker reversal check box 465 , an OK button 427 and a cancel button 428 are displayed in the secondary display area 420 . Here, in the shape measuring apparatus 500 according to the present embodiment, the basic posture of the second marker M2 to be attached to the measurement object S when using the second calibration function is determined in advance. For example, the basic posture of the second marker M2 to be attached to the measurement object S is such that the axis of the second marker M2 is parallel or substantially parallel to the rotation axis RA, and the large diameter portion M2a and the small diameter portion are in parallel. In this posture, M2b is arranged so as to be separated from the rotating unit 190 in this order. On the other hand, as shown in the example of FIG. 17, the second marker M2 can also be attached to the rotating unit 190 in a reversed posture in which the basic posture is reversed in the X direction.

マーカ反転チェックボックス465は、第2のマーカM2の向きをX方向において反転して配置するか否かを設定するためのチェックボックスである。図33は、図32のマーカ反転チェックボックス465にチェックが入れられることにより表示部400に表示される領域設定画面の一例を示す図である。図33に示すように、領域設定画面407においては、マーカ反転チェックボックス465にチェックが入れられることにより、マーカ画像M2iの向きが図32の表示例に対して左右方向で反転している。 The marker reversal check box 465 is a check box for setting whether or not to reverse the orientation of the second marker M2 in the X direction. FIG. 33 is a diagram showing an example of the area setting screen displayed on the display unit 400 when the marker reversal check box 465 in FIG. 32 is checked. As shown in FIG. 33, on the region setting screen 407, the orientation of the marker image M2i is horizontally reversed with respect to the display example of FIG. 32 by checking the marker reversal check box 465. FIG.

上記のようにして、領域設定マップ画像上で、マーカ画像M2iの位置および向きが調整された後、OKボタン427が操作される。それにより、当該マーカ画像M2iに対応する領域がカバーされるように新たな測定領域が設定される。 After the position and orientation of the marker image M2i are adjusted on the area setting map image as described above, the OK button 427 is operated. Thereby, a new measurement area is set so as to cover the area corresponding to the marker image M2i.

図34は、第1のマーカM1および第2のマーカM2についての新たな測定領域が設定された状態で表示部400に表示される領域設定画面の一例を示す図である。図34の領域設定画面408においては、主表示領域410に表示される領域設定マップ画像に、対象物画像SIの三次元形状データを生成するための測定領域が複数の単位領域枠MMで示される。また、第1のマーカM1の三次元形状データを生成するための測定領域が複数の単位領域枠MMaで示される。さらに、第2のマーカM2の三次元形状データを生成するための測定領域が複数の単位領域枠MMbで示される。これにより、使用者は、第1のマーカM1および第2のマーカM2を用いた第1および第2の校正機能を使用するために、新たな測定領域が設定されたことを容易に把握することができる。 FIG. 34 is a diagram showing an example of a region setting screen displayed on the display unit 400 with new measurement regions set for the first marker M1 and the second marker M2. In the area setting screen 408 of FIG. 34, the area setting map image displayed in the main display area 410 shows the measurement areas for generating the three-dimensional shape data of the object image SI by a plurality of unit area frames MM. . Also, the measurement area for generating the three-dimensional shape data of the first marker M1 is indicated by a plurality of unit area frames MMa. Furthermore, the measurement area for generating the three-dimensional shape data of the second marker M2 is indicated by a plurality of unit area frames MMb. Thereby, the user can easily grasp that a new measurement area has been set in order to use the first and second calibration functions using the first marker M1 and the second marker M2. can be done.

図34の例で、第1のマーカM1に対応する単位領域枠MMa、第2のマーカM2に対応する単位領域枠MMb、測定対象物Sに対応する単位領域枠MMは、互いに識別可能な異なる態様で表示されている。これにより、使用者は、測定領域の各部について設定されている目的を容易に把握することができる。 In the example of FIG. 34, the unit area frame MMa corresponding to the first marker M1, the unit area frame MMb corresponding to the second marker M2, and the unit area frame MM corresponding to the measurement object S are identifiably different from each other. displayed in the form. This allows the user to easily grasp the purpose set for each portion of the measurement area.

[6]上面除去機能
ところで、上記のように、図22および図29の上面除去ボタン429が操作された場合、すなわちステージ140の上面141sの三次元形状データを測定結果から除去すべき旨を使用者が指令した場合を想定する。この場合、形状測定装置500においては、測定対象物Sを撮像することにより得られる全ての三次元形状データから、上面141sに対応する三次元形状データが除かれた状態で、測定対象物Sの三次元形状画像が表示部400に表示される(上面除去機能)。この具体例について説明する。
[6] Upper Surface Removal Function By the way, as described above, when the upper surface removal button 429 in FIGS. 22 and 29 is operated, that is, the fact that the three-dimensional shape data of the upper surface 141s of the stage 140 should be removed from the measurement result is used. It is assumed that the person instructed In this case, in the shape measuring apparatus 500, the three-dimensional shape data corresponding to the upper surface 141s is removed from all the three-dimensional shape data obtained by imaging the measurement object S. A three-dimensional shape image is displayed on the display unit 400 (upper surface removal function). A specific example of this will be described.

図35は、回転ユニット190を用いた測定対象物Sの形状測定の一例を示す外観斜視図である。図35に示すように、本例では、2本の棒状部材94により保持部191に保持された測定対象物Sが回転されつつ形状測定される。この場合、ステージ140の上面141sが測定空間101内に位置すると、上面141sの形状を示す三次元形状データが、測定対象物Sの形状を示す三次元形状データと共に生成される。 FIG. 35 is an external perspective view showing an example of shape measurement of the measuring object S using the rotating unit 190. FIG. As shown in FIG. 35, in this example, the shape of the measuring object S held by the holding portion 191 by the two rod-shaped members 94 is measured while being rotated. In this case, when the upper surface 141s of the stage 140 is positioned within the measurement space 101, three-dimensional shape data indicating the shape of the upper surface 141s is generated together with the three-dimensional shape data indicating the shape of the object S to be measured.

図36は、図35の形状測定により得られる全ての三次元形状データに基づく三次元形状画像の一例を示す図である。図36および後述する図37の三次元形状画像では、Z方向の位置(高さ)がハッチングおよびドットパターンにより表される。図36の三次元形状画像においては、白抜きの矢印で示される部分は、ステージ140の上面141sを表す部分である。このように、測定対象物Sに加えてステージ140の三次元形状画像が表示されると、使用者は測定対象物Sの形状を把握しにくい。 FIG. 36 is a diagram showing an example of a three-dimensional shape image based on all three-dimensional shape data obtained by shape measurement in FIG. In the three-dimensional shape image of FIG. 36 and FIG. 37 described later, the position (height) in the Z direction is represented by hatching and dot patterns. In the three-dimensional shape image of FIG. 36 , the portion indicated by the white arrow is the portion representing the top surface 141 s of the stage 140 . When the three-dimensional shape image of the stage 140 is displayed in addition to the object S to be measured in this way, it is difficult for the user to grasp the shape of the object S to be measured.

図36に示されるように、ステージ140の上面141sに対応する三次元形状データは、ある程度の連続的な広がりを有する平面形状を示す。これらの三次元形状データは、連続的な広がりを有する平面のデータ群を抽出するとともに、各測定角度位置でその抽出された平面についての法線方向が上向きでありかつZ方向の位置が設計上の上面141sの位置にあるか否かに基づいて識別することができる。 As shown in FIG. 36, the three-dimensional shape data corresponding to the upper surface 141s of the stage 140 indicates a planar shape that has a certain degree of continuous spread. From these three-dimensional shape data, a data group of a plane having a continuous spread is extracted, and at each measurement angle position, the normal direction of the extracted plane is upward and the position of the Z direction is designed can be identified based on whether it is at the position of the upper surface 141s.

図37は、図36の三次元形状画像からステージ140の上面141sに対応する三次元形状画像を除去した図である。図37の三次元形状画像によれば、使用者は、測定対象物Sの三次元形状を容易かつ正確に把握することができる。なお、図36および図37の三次元形状画像では、Z方向の表示レンジが互いに異なる。 FIG. 37 is a diagram obtained by removing the three-dimensional shape image corresponding to the upper surface 141s of the stage 140 from the three-dimensional shape image of FIG. According to the three-dimensional shape image of FIG. 37, the user can grasp the three-dimensional shape of the measuring object S easily and accurately. Note that the three-dimensional shape images in FIGS. 36 and 37 have different display ranges in the Z direction.

[7]PC200におけるCPU210の機能的な構成
図38は、図1のCPU210の機能的な構成を示すブロック図である。図38に示すように、CPU210は、移動制御部21a、回転制御部21b、撮像制御部21c、領域設定部21d、設定画面提示部21e、回転角度設定部21f、三次元形状データ生成部21g、データ合成部21h、データ補正部21i、着脱判定部21jおよび表示制御部21kを含む。これらの構成要素は、CPU210が、記憶装置240に記憶された形状測定プログラムを実行することにより実現される。なお、CPU210に含まれる上記の複数の構成要素の一部または全てが電子回路等のハードウェアにより実現されてもよい。
[7] Functional Configuration of CPU 210 in PC 200 FIG. 38 is a block diagram showing the functional configuration of the CPU 210 in FIG. As shown in FIG. 38, the CPU 210 includes a movement control unit 21a, a rotation control unit 21b, an imaging control unit 21c, an area setting unit 21d, a setting screen presentation unit 21e, a rotation angle setting unit 21f, a three-dimensional shape data generation unit 21g, It includes a data synthesis section 21h, a data correction section 21i, an attachment/detachment determination section 21j, and a display control section 21k. These components are implemented by CPU 210 executing a shape measurement program stored in storage device 240 . A part or all of the plurality of components included in CPU 210 may be realized by hardware such as an electronic circuit.

移動制御部21aは、受光部120に対してステージ140の上面141sの位置が相対的に移動するように、ステージ駆動部146を制御する。換言すれば、移動制御部21aは、ステージ140上に測定対象物Sが配置された状態で、ステージ140の上面141sを移動させることにより測定対象物Sに対する測定空間101の相対的な位置を調整する。回転制御部21bは、回転を伴う測定対象物Sの形状測定時に、測定対象物Sが予め定められた複数の測定角度位置に順次回転するように回転ユニット190を制御する。 The movement control section 21 a controls the stage driving section 146 so that the position of the upper surface 141 s of the stage 140 moves relative to the light receiving section 120 . In other words, the movement control unit 21a adjusts the relative position of the measurement space 101 to the measurement object S by moving the upper surface 141s of the stage 140 with the measurement object S placed on the stage 140. do. The rotation control section 21b controls the rotation unit 190 so that the measurement object S is sequentially rotated to a plurality of predetermined measurement angular positions during shape measurement of the measurement object S that involves rotation.

撮像制御部21cは、測定対象物Sの存在領域を検出するために、ステージ140上に配置された測定対象物Sが低倍率で撮像されるように照明光出力部130および受光部120を制御する。また、撮像制御部21cは、測定対象物Sが各測定角度位置にある状態で、後述する領域設定部21dにより設定された測定領域が撮像されるように投光部110A,110Bおよび受光部120を制御する。 The imaging control unit 21c controls the illumination light output unit 130 and the light receiving unit 120 so that the measurement object S placed on the stage 140 is imaged at a low magnification in order to detect the existence area of the measurement object S. do. Further, the imaging control unit 21c controls the light projecting units 110A and 110B and the light receiving unit 120 so that the measurement area set by the area setting unit 21d, which will be described later, is imaged while the measurement object S is at each measurement angle position. to control.

領域設定部21dは、測定対象物Sがステージ140上に載置された状態または回転ユニット190に保持された測定対象物Sが各測定角度位置にある状態で、測定対象物Sの存在領域を検出する。また、領域設定部21dは、存在領域の検出結果に基づいて測定領域を設定する。さらに、領域設定部21dは、使用者による操作部250の操作に基づいて、設定された測定領域を修正する。 The region setting unit 21d determines the existence region of the measurement object S in a state where the measurement object S is placed on the stage 140 or in a state where the measurement object S held by the rotation unit 190 is at each measurement angle position. To detect. Further, the area setting unit 21d sets the measurement area based on the detection result of the existence area. Further, the area setting section 21d corrects the set measurement area based on the operation of the operation section 250 by the user.

設定画面提示部21eは、領域設定部21dによる測定領域の設定時に領域設定マップ画像を表示部400に表示させる。また、設定画面提示部21eは、設定された測定領域が識別可能となるように、領域設定マップ画像において測定対象物Sの画像上に単位領域枠MM,MMa,MMbを重畳表示させる。 The setting screen presentation unit 21e causes the display unit 400 to display the area setting map image when the measurement area is set by the area setting unit 21d. Further, the setting screen presentation unit 21e superimposes and displays the unit area frames MM, MMa, and MMb on the image of the measurement object S in the area setting map image so that the set measurement area can be identified.

回転角度設定部21fは、回転を伴う測定対象物Sの形状測定が行われる場合に、複数の測定角度位置を設定する。ここで、第1の箱形状領域設定モード、第2の箱形状領域設定モードおよび軸形状領域設定モードにそれぞれ対応する複数の測定角度位置は、上記のように、例えばデフォルトの情報として記憶装置240に記憶されている。 The rotation angle setting unit 21f sets a plurality of measurement angle positions when the shape measurement of the measurement object S involving rotation is performed. Here, the plurality of measured angular positions respectively corresponding to the first box-shaped area setting mode, the second box-shaped area setting mode, and the shaft-shaped area setting mode are stored in the storage device 240 as default information, for example, as described above. stored in

この場合、回転角度設定部21fは、回転を伴う測定対象物Sの形状測定時に、選択された領域設定モードに応じて記憶装置240に記憶された複数の測定角度位置を読み込むことにより複数の測定角度位置の設定を行う。回転角度設定部21fは、使用者が操作部250を用いて例えば図29の角度ピッチ設定部454等を操作することにより特定の角度位置の指定を受けた場合に、指定された角度位置を測定角度位置として設定してもよい。 In this case, the rotation angle setting unit 21f performs a plurality of measurements by reading a plurality of measurement angle positions stored in the storage device 240 according to the selected area setting mode when measuring the shape of the measurement object S that involves rotation. Set the angular position. The rotation angle setting section 21f measures the designated angular position when the user receives a designation of a specific angular position by operating the angular pitch setting section 454 of FIG. It may be set as an angular position.

三次元形状データ生成部21gは、測定領域にパターン光が照射されるとともに測定領域が撮像されることにより生成される複数の画像データに基づいて測定対象物Sの形状を示す三次元形状データを生成する。また、三次元形状データ生成部21gは、測定領域に位置する第1のマーカM1が撮像されることにより生成される複数の画像データに基づいて第1のマーカM1の形状を示す三次元形状データを生成する。さらに、三次元形状データ生成部21gは、測定領域に位置する第2のマーカM2が撮像されることにより生成される複数の画像データに基づいて第2のマーカM2の形状を示す三次元形状データを生成する。 The three-dimensional shape data generation unit 21g generates three-dimensional shape data representing the shape of the measurement object S based on a plurality of image data generated by irradiating the measurement region with pattern light and capturing an image of the measurement region. Generate. The three-dimensional shape data generator 21g also generates three-dimensional shape data representing the shape of the first marker M1 based on a plurality of image data generated by imaging the first marker M1 located in the measurement area. to generate Further, the three-dimensional shape data generator 21g generates three-dimensional shape data representing the shape of the second marker M2 based on a plurality of image data generated by imaging the second marker M2 located in the measurement area. to generate

データ合成部21hは、測定対象物Sの表面のうちXY方向に並ぶ複数の部分の三次元形状データが個別に生成された場合に、上記の平面方向合成を行う。また、データ合成部21hは、測定対象物Sの表面のうち回転軸RA周りに並ぶ複数の部分の三次元形状データが個別に生成された場合に、使用者による合成の指定に応答して上記の回転方向合成を行う。さらに、データ合成部21hは、平面方向合成により生成された三次元形状データと回転方向合成により生成された三次元形状データとの合成を行う。また、データ合成部21hは、例えば測定対象物Sの表面に対してZ方向における複数の位置で撮像を行うことにより共通の測定領域において複数の三次元形状データが個別に生成された場合に、上記の高さ方向合成を行うこともできる。 The data synthesizing unit 21h performs the planar direction synthesizing when the three-dimensional shape data of a plurality of portions of the surface of the measurement object S arranged in the XY directions are individually generated. Further, when the three-dimensional shape data of a plurality of portions arranged around the rotation axis RA on the surface of the object to be measured S are individually generated, the data synthesizing unit 21h responds to the user's instruction for synthesizing. Synthesis of rotation direction is performed. Furthermore, the data synthesizing unit 21h synthesizes the three-dimensional shape data generated by the planar direction synthesis and the three-dimensional shape data generated by the rotation direction synthesis. Further, the data synthesizing unit 21h, for example, when a plurality of pieces of three-dimensional shape data are individually generated in a common measurement area by imaging the surface of the measurement object S at a plurality of positions in the Z direction, The above-mentioned height direction synthesis can also be performed.

データ補正部21iは、回転を伴う測定対象物Sの形状測定が行われる場合に、第1のマーカM1および第2のマーカM2の使用の要否に応じて、上記の第1~第3の校正機能のいずれかに従う三次元形状データの補正処理を行う。具体的には、データ補正部21iは、第1の校正機能に従う補正処理において、第1のマーカM1の三次元形状データおよびその寸法に基づいて、複数の測定角度位置にそれぞれ対応する測定対象物Sの複数の三次元形状データを補正する。 The data correction unit 21i determines whether or not to use the first marker M1 and the second marker M2 when the shape measurement of the measurement object S involving rotation is performed. Correction processing of the three-dimensional shape data according to one of the calibration functions is performed. Specifically, in the correction process according to the first calibration function, the data correction unit 21i corrects the measurement object corresponding to each of the plurality of measurement angular positions based on the three-dimensional shape data of the first marker M1 and its dimensions. A plurality of three-dimensional shape data of S are corrected.

また、データ補正部21iは、第2の校正機能に従う補正処理において、第1のマーカM1および第2のマーカM2の三次元形状データおよびそれらの寸法とに基づいて、複数の測定角度位置にそれぞれ対応する測定対象物Sの複数の三次元形状データを補正する。なお、データ補正部21iは、第2の校正機能に従う補正処理において、第1のマーカM1の三次元形状データが存在しない場合には、第2のマーカM2の三次元形状データおよびその寸法に基づいて、複数の測定角度位置にそれぞれ対応する測定対象物Sの複数の三次元形状データを補正する。 In addition, in the correction process according to the second calibration function, the data correcting unit 21i performs correction at a plurality of measured angular positions based on the three-dimensional shape data of the first marker M1 and the second marker M2 and their dimensions. A plurality of three-dimensional shape data of the corresponding measuring object S are corrected. In addition, in the correction process according to the second calibration function, if the three-dimensional shape data of the first marker M1 does not exist, the data correction unit 21i performs correction based on the three-dimensional shape data of the second marker M2 and its dimensions. to correct a plurality of three-dimensional shape data of the measurement object S respectively corresponding to a plurality of measurement angular positions.

さらに、データ補正部21iは、第3の校正機能に従う補正処理において、複数の測定角度位置における測定対象物Sの三次元形状データの重複関係に基づいて、複数の測定角度位置にそれぞれ対応する測定対象物Sの複数の三次元形状データを補正する。 Furthermore, in the correction process according to the third calibration function, the data correction unit 21i performs measurement data corresponding to each of the plurality of measurement angular positions based on the overlapping relationship of the three-dimensional shape data of the measurement object S at the plurality of measurement angular positions. A plurality of three-dimensional shape data of the object S are corrected.

着脱判定部21jは、回転ユニット190がステージ140に取り付けられているか否かを判定する。具体的には、着脱判定部21jは、回転ユニット190のコネクタ194とステージ140のコネクタ141cとが接続されている場合に、回転ユニット190がステージ140に取り付けられていると判定する。また、着脱判定部21jは、回転ユニット190のコネクタ194とステージ140のコネクタ141cとが接続されていない場合に、回転ユニット190がステージ140に取り付けられていないと判定する。なお、回転ユニット190のコネクタ194とステージ140のコネクタ141cとが接続されているか否かは、着脱判定部21jと回転ユニット190との間で電気信号の授受が可能か否かに基づいて容易に判定することができる。 The attachment/detachment determination section 21j determines whether the rotation unit 190 is attached to the stage 140 or not. Specifically, the attachment/detachment determination section 21j determines that the rotation unit 190 is attached to the stage 140 when the connector 194 of the rotation unit 190 and the connector 141c of the stage 140 are connected. Further, the attachment/detachment determination section 21j determines that the rotation unit 190 is not attached to the stage 140 when the connector 194 of the rotation unit 190 and the connector 141c of the stage 140 are not connected. Whether or not the connector 194 of the rotation unit 190 and the connector 141c of the stage 140 are connected can be easily determined based on whether or not an electrical signal can be exchanged between the attachment/detachment determining section 21j and the rotation unit 190. can judge.

表示制御部21kは、測定対象物Sのライブ画像、測定対象物Sの三次元形状画像を表示部400に表示させるとともに、測定基本画面401および領域設定画面402~408等の各種設定画面を表示部400に表示させる。 The display control unit 21k causes the display unit 400 to display a live image of the measurement object S and a three-dimensional shape image of the measurement object S, and displays various setting screens such as a basic measurement screen 401 and area setting screens 402 to 408. 400 is caused to display.

特に、表示制御部21kは、回転ユニット190がステージ140に取り付けられている場合に、水平移動操作ウィンドウ411および回転操作ウィンドウ413を表示部400に表示させる。さらに、この場合、表示制御部21kは、回転を伴う測定対象物Sの形状測定に関する各種設定を行うための画像を表示部400に表示させる。 In particular, the display control section 21k causes the display section 400 to display the horizontal movement operation window 411 and the rotation operation window 413 when the rotation unit 190 is attached to the stage 140 . Furthermore, in this case, the display control unit 21k causes the display unit 400 to display an image for performing various settings related to shape measurement of the measurement object S involving rotation.

また、表示制御部21kは、回転ユニット190がステージ140に取り付けられていない場合に、水平移動操作ウィンドウ411を表示部400に表示させるが、回転操作ウィンドウ413を表示部400に表示させない。さらに、この場合、表示制御部21kは、回転を伴わない測定対象物Sの形状測定に関する各種設定を行うための画像を表示部400に表示させる。 Further, the display control section 21k causes the display section 400 to display the horizontal movement operation window 411 but does not display the rotation operation window 413 on the display section 400 when the rotation unit 190 is not attached to the stage 140 . Furthermore, in this case, the display control unit 21k causes the display unit 400 to display an image for performing various settings related to the shape measurement of the measurement object S that does not involve rotation.

[8]形状測定処理
図39および図40は、CPU210により実行される形状測定処理の一例を示すフローチャートである。図39および図40の形状測定処理は、形状測定装置500の電源がオンされた状態で、PC200のCPU210が記憶装置240に記憶された形状測定プログラムを実行することにより所定周期で繰り返して行われる。なお、初期状態においては、照明光出力部130からステージ140に向けて照明光が照射され、受光部120はステージ140の上面141sを撮像しているものとする。
[8] Shape Measurement Processing FIGS. 39 and 40 are flowcharts showing an example of shape measurement processing executed by the CPU 210. FIG. The shape measurement process of FIGS. 39 and 40 is repeatedly performed at a predetermined cycle by executing the shape measurement program stored in the storage device 240 by the CPU 210 of the PC 200 while the power of the shape measurement device 500 is turned on. . In the initial state, illumination light is emitted from the illumination light output unit 130 toward the stage 140, and the light receiving unit 120 captures an image of the upper surface 141s of the stage 140. FIG.

まず、表示制御部21kは、図22の例に示すように、ライブ画像および測定開始ボタン425等を含む測定基本画面401を、回転ユニット190の操作が不可能な状態で表示部400に表示させる(ステップS101)。そのため、ステップS101で表示される測定基本画面401は、ステージ140を操作するための水平移動操作ウィンドウ411(図22)を含むが、回転ユニット190を操作するための回転操作ウィンドウ413(図24)を含まない。 First, as shown in the example of FIG. 22, the display control unit 21k causes the display unit 400 to display a measurement basic screen 401 including a live image, a measurement start button 425, etc., in a state in which the rotation unit 190 cannot be operated. (Step S101). Therefore, the basic measurement screen 401 displayed in step S101 includes a horizontal movement operation window 411 (FIG. 22) for operating the stage 140, and a rotation operation window 413 (FIG. 24) for operating the rotation unit 190. does not include

次に、着脱判定部21jは、ステージ140に回転ユニット190が取り付けられているか否かを判定する(ステップS102)。ステージ140に回転ユニット190が取り付けられていない場合、着脱判定部21jは、処理を後述するステップS105へ進める。一方、ステージ140に回転ユニット190が取り付けられている場合、表示制御部21kは、図24の例に示すように、測定基本画面401を回転ユニット190の操作が可能な状態で表示部400に表示させる(ステップS103)。なお、ステップS102の判定時において、表示制御部21kは、判定結果に応じて回転ユニット190がステージ140に取り付けられているか否かを示すメッセージまたは指標等を表示部400に表示させてもよい。 Next, the attachment/detachment determination section 21j determines whether or not the rotation unit 190 is attached to the stage 140 (step S102). If the rotation unit 190 is not attached to the stage 140, the attachment/detachment determining section 21j advances the process to step S105, which will be described later. On the other hand, when the rotation unit 190 is attached to the stage 140, the display control unit 21k displays the measurement basic screen 401 on the display unit 400 in a state in which the operation of the rotation unit 190 is possible, as shown in the example of FIG. (step S103). At the time of determination in step S102, the display control section 21k may cause the display section 400 to display a message, an index, or the like indicating whether or not the rotation unit 190 is attached to the stage 140 according to the determination result.

次に、着脱判定部21jは、回転ユニット190の操作が可能な測定基本画面401(図24)が表示部400に表示された状態で、回転ユニット190が外れているか否かを判定する(ステップS104)。回転ユニット190が外れている場合、着脱判定部21jは、処理をステップS101に戻す。一方、回転ユニット190が外れていない場合、移動制御部21aおよび回転制御部21bは、ステージ140等の位置調整の指令を受け付ける(ステップS105)。ステージ140等の位置調整は、例えば、使用者が操作部250を用いて水平移動操作ウィンドウ411(図22および図24)または回転操作ウィンドウ413(図24)を操作することにより指令される。このとき、移動制御部21aは、ステージ140の位置調整の指令に応答してステージ140の上面141sをX方向、Y方向およびZ方向に移動させる。また、回転制御部21bは、使用者からの回転ユニット190の回転指令に応答して、回転ユニット190の保持部191を回転させる。これにより、例えば受光部120の焦点の位置調整が行われる。 Next, the attachment/detachment determination section 21j determines whether or not the rotation unit 190 is detached while the basic measurement screen 401 (FIG. 24) enabling the operation of the rotation unit 190 is displayed on the display section 400 (step S104). If the rotating unit 190 is detached, the attachment/detachment determination section 21j returns the process to step S101. On the other hand, if the rotation unit 190 is not removed, the movement control section 21a and the rotation control section 21b receive a position adjustment command for the stage 140 and the like (step S105). Position adjustment of the stage 140 and the like is instructed by, for example, the user using the operation unit 250 to operate the horizontal movement operation window 411 (FIGS. 22 and 24) or the rotation operation window 413 (FIG. 24). At this time, the movement control unit 21a moves the upper surface 141s of the stage 140 in the X direction, the Y direction and the Z direction in response to the command to adjust the position of the stage 140. FIG. Further, the rotation control section 21b rotates the holding section 191 of the rotation unit 190 in response to a rotation command of the rotation unit 190 from the user. Thereby, for example, the position of the focal point of the light receiving unit 120 is adjusted.

その後、使用者の操作部250の操作に基づいて測定領域設定処理が行われる(ステップS106)。測定領域設定処理により、回転を伴う測定対象物Sの形状測定では、複数の測定角度位置が設定されるとともに各測定角度位置について1または複数の測定領域が設定される。また、回転を伴わない測定対象物Sの形状測定では、1または複数の測定領域が設定される。CPU210において実行される測定領域設定処理の詳細は後述する。 After that, a measurement area setting process is performed based on the user's operation of the operation unit 250 (step S106). By the measurement area setting process, in the shape measurement of the measurement object S involving rotation, a plurality of measurement angular positions are set, and one or more measurement areas are set for each measurement angular position. Also, in the shape measurement of the measurement object S that does not involve rotation, one or more measurement regions are set. The details of the measurement area setting process executed by the CPU 210 will be described later.

次に、データ合成部21hは、回転を伴う測定対象物Sの形状測定についての測定領域が設定された場合に、複数の測定角度位置で取得される複数の三次元形状データを合成するか否かについての指令を受け付ける(ステップS107)。この受け付けは、例えば図29の合成要否チェックボックス457が使用者によりチェックされたか否かに基づいて行われる。回転を伴わない測定対象物Sの形状測定時には、ステップS107の処理はスキップされる。なお、例えば図22または図24の測定基本画面401には、平面方向合成を行うか否か、および回転方向合成を行うか否かを指定するための合成要否入力部が設けられてもよい。この場合、データ合成部21hは、ステップS107において、合成要否入力部の入力を受け付けてもよい。 Next, the data synthesizing unit 21h determines whether or not to synthesize a plurality of three-dimensional shape data acquired at a plurality of measurement angular positions when a measurement region for shape measurement of the measurement object S involving rotation is set. A command as to whether or not is received (step S107). This acceptance is performed, for example, based on whether or not the combination necessity check box 457 in FIG. 29 is checked by the user. The processing of step S107 is skipped during shape measurement of the measurement object S that does not involve rotation. Note that, for example, the basic measurement screen 401 of FIG. 22 or 24 may be provided with a synthesis necessity input section for designating whether or not to perform planar direction synthesis and whether to perform rotational direction synthesis. . In this case, the data synthesizing unit 21h may receive input from the synthesizing necessity input unit in step S107.

次に、データ補正部21iは、測定対象物Sの形状測定で生成される三次元形状データからステージ140の上面141sを示す三次元形状データを要するか否かについての指令を受け付ける(ステップS108)。この受け付けは、例えば図22または図24の上面除去ボタン429が使用者により操作されたか否かに基づいて行われる。 Next, the data correction unit 21i receives a command as to whether or not the three-dimensional shape data representing the upper surface 141s of the stage 140 is required from the three-dimensional shape data generated by measuring the shape of the measurement object S (step S108). . This reception is performed based on, for example, whether the top face removal button 429 in FIG. 22 or 24 has been operated by the user.

次に、撮像制御部21cは、パターン光を用いた測定対象物Sの撮像を開始する指令を受けたか否かを判定する(ステップS109)。この受け付けは、例えば図22または図24の測定開始ボタン425が使用者により操作されたか否かに基づいて行われる。撮像開始の指令を受けない場合、撮像制御部21cは、初期状態へ戻すべき指令があるか否かを判定する(ステップS112)。この判定は、例えば図22または図24の領域クリアボタン423が使用者により操作されたか否かに基づいて行われる。初期状態へ戻すべき指令がある場合、撮像制御部21cは、処理をステップS101に戻す。初期状態へ戻すべき指令がない場合、撮像制御部21cは、処理を後述するステップS111へ進める。 Next, the imaging control unit 21c determines whether or not an instruction to start imaging the measurement object S using the pattern light has been received (step S109). This acceptance is performed, for example, based on whether or not the measurement start button 425 in FIG. 22 or 24 has been operated by the user. When the imaging start command is not received, the imaging control unit 21c determines whether or not there is an instruction to return to the initial state (step S112). This determination is made, for example, based on whether or not the area clear button 423 in FIG. 22 or 24 has been operated by the user. If there is an instruction to return to the initial state, the imaging control unit 21c returns the process to step S101. If there is no command to return to the initial state, the imaging control unit 21c advances the process to step S111, which will be described later.

一方、撮像開始の指令を受けると、設定された測定領域についてパターン光を用いた撮像が行われ、撮像により得られる複数の画像データに基づいて三次元形状データが生成される(ステップS110)。 On the other hand, when a command to start imaging is received, the set measurement area is imaged using pattern light, and three-dimensional shape data is generated based on a plurality of image data obtained by imaging (step S110).

具体的には、複数の測定角度位置が設定されている場合に、回転制御部21bは、測定対象物Sが回転軸RA周りで設定された複数の測定角度位置に順次回転するように回転ユニット190を制御する。また、移動制御部21aは、ステージ140上に載置された測定対象物Sまたは回転ユニット190により保持された測定対象物Sについて、設定された測定領域が撮像されるように、ステージ駆動部146を制御する。また、撮像制御部21cは、設定された測定領域が撮像されるように、投光部110A,110Bおよび受光部120を制御する。さらに、三次元形状データ生成部21gは、撮像により得られる複数の画像データに基づいて測定領域の三次元形状データを生成する。このとき、表示制御部21kは、生成された三次元形状データに基づく三次元形状画像を表示部400に表示させる。 Specifically, when a plurality of measurement angular positions are set, the rotation control unit 21b rotates the rotation unit so that the object S to be measured S is sequentially rotated to the plurality of measurement angular positions set around the rotation axis RA. 190 is controlled. Further, the movement control unit 21a controls the stage driving unit 146 so that the set measurement area of the measurement object S placed on the stage 140 or the measurement object S held by the rotation unit 190 is imaged. to control. Further, the imaging control section 21c controls the light projecting sections 110A and 110B and the light receiving section 120 so that the set measurement area is imaged. Furthermore, the three-dimensional shape data generating section 21g generates three-dimensional shape data of the measurement region based on a plurality of image data obtained by imaging. At this time, the display control unit 21k causes the display unit 400 to display a three-dimensional shape image based on the generated three-dimensional shape data.

なお、データ合成部21hは、ステップS107で複数の三次元形状データを合成することが指令されている場合に、複数の測定角度位置に対応する複数の三次元形状データを合成する(回転方向合成)。一方、データ合成部21hは、ステップS107で複数の三次元形状データを合成することが指令されていない場合に、複数の測定角度位置に対応する複数の三次元形状データを合成しない。 Note that the data synthesizing unit 21h synthesizes a plurality of three-dimensional shape data corresponding to a plurality of measured angular positions (rotational direction synthesizing) when it is instructed to synthesize a plurality of three-dimensional shape data in step S107. ). On the other hand, the data synthesizing unit 21h does not synthesize a plurality of three-dimensional shape data corresponding to a plurality of measured angular positions when it is not instructed to synthesize a plurality of three-dimensional shape data in step S107.

また、データ補正部21iは、後述する測定領域設定処理のステップS236,S237の処理で有効化されている校正機能に従って合成前の複数の三次元形状データをそれぞれ補正する。さらに、データ補正部21iは、ステップS108で上面141sを示す三次元形状データが不要であることが指令されている場合に、生成された全ての三次元形状データからステージ140の上面141sを示す三次元形状データを除去する。 In addition, the data correction unit 21i corrects each of the plurality of three-dimensional shape data before synthesis in accordance with the calibration function activated in steps S236 and S237 of the measurement area setting process, which will be described later. Furthermore, the data correction unit 21i performs a three-dimensional shape representing the top surface 141s of the stage 140 from all the generated three-dimensional shape data when it is instructed in step S108 that the three-dimensional shape data representing the top surface 141s is unnecessary. Remove the original shape data.

次に、領域設定部21dは、使用者が操作部250を操作することによる測定領域の再設定指令があるか否かを判定する(ステップS111)。そこで、再設定指令があると、領域設定部21dは、処理をステップS106に戻す。一方、再設定指令がない場合、領域設定部21dは、一連の形状測定処理を終了する。このとき、三次元形状データ生成部21gは、生成された三次元形状データを各種設定情報(例えば、複数の測定角度位置および複数の測定領域等)とともに、記憶装置240に記憶させる。 Next, the region setting unit 21d determines whether or not there is an instruction to reset the measurement region by the user operating the operation unit 250 (step S111). Therefore, when there is a reset command, the area setting unit 21d returns the process to step S106. On the other hand, if there is no reset command, the region setting section 21d terminates a series of shape measurement processing. At this time, the three-dimensional shape data generator 21g stores the generated three-dimensional shape data in the storage device 240 together with various setting information (for example, multiple measurement angular positions and multiple measurement regions).

形状測定処理に含まれる測定領域設定処理の詳細を説明する。なお、以下に説明する測定領域設定処理は、回転ユニット190による回転を伴う測定対象物Sの形状測定に対応するものとする。図41および図42は、CPU210により実行される測定領域設定処理の一例を示すフローチャートである。 Details of the measurement area setting process included in the shape measurement process will be described. It should be noted that the measurement area setting process described below corresponds to shape measurement of the measurement object S that is rotated by the rotation unit 190 . 41 and 42 are flowcharts showing an example of the measurement area setting process executed by CPU 210. FIG.

図41に示すように、まず、領域設定部21dは、測定領域を設定するためのモードとして、第1または第2の箱形状領域設定モードが選択されたか否かを判定する(ステップS201)。この判定は、上記のステップS31の作業で、例えば図24の箱全周ボタン434または箱部分ボタン435が使用者により操作されたか否かに基づいて行われる。 As shown in FIG. 41, the area setting unit 21d first determines whether or not the first or second box-shaped area setting mode is selected as the mode for setting the measurement area (step S201). This determination is made based on whether or not, for example, the box perimeter button 434 or the box portion button 435 in FIG. 24 has been operated by the user in the operation of step S31.

第1または第2の箱形状領域設定モードが選択された場合、回転角度設定部21fは、選択された箱形状領域設定モードに対応する複数の測定角度位置を記憶装置240から読み込む(ステップS202)。複数の測定角度位置は、予め定められた角度(例えば、30°、45°または90°)の整数倍の間隔で規定される。換言すれば、複数の測定角度位置は、予め定められた角度ピッチで規定される。上記の読み込み処理は、複数の測定角度位置の設定処理に相当する。なお、回転角度設定部21fは、使用者が図29の角度条件設定部453および角度ピッチ設定部454等を操作することにより指定される情報に基づいて複数の測定角度位置を設定してもよい。 When the first or second box-shaped area setting mode is selected, the rotation angle setting unit 21f reads a plurality of measured angular positions corresponding to the selected box-shaped area setting mode from the storage device 240 (step S202). . A plurality of measurement angular positions are defined at intervals of integral multiples of a predetermined angle (eg, 30°, 45° or 90°). In other words, a plurality of measured angular positions are defined at a predetermined angular pitch. The reading process described above corresponds to a process of setting a plurality of measurement angular positions. Note that the rotation angle setting unit 21f may set a plurality of measurement angle positions based on information specified by the user operating the angle condition setting unit 453, the angular pitch setting unit 454, etc. in FIG. .

次に、各測定角度位置で低倍率カメラによる測定対象物Sの全体の撮像が行われる(ステップS203)。このとき、回転制御部21bは、測定対象物Sが設定された複数の測定角度位置に順次回転するように回転ユニット190を制御する。また、撮像制御部21cは、測定対象物Sが各測定角度位置にある状態で、当該測定対象物Sが低倍率カメラで撮像されるように照明光出力部130および受光部120を制御する。さらに、移動制御部21aは、測定対象物Sの全体が一度に撮像されない場合、測定対象物Sのうち撮像されていない部分が受光部120の撮像領域内に順次移動するように、ステージ140の上面141sをXY方向に移動させる。 Next, an image of the entire measurement object S is taken by the low-magnification camera at each measurement angular position (step S203). At this time, the rotation control section 21b controls the rotation unit 190 so that the measurement object S is sequentially rotated to the set measurement angular positions. Further, the imaging control unit 21c controls the illumination light output unit 130 and the light receiving unit 120 so that the measurement object S is imaged by the low-magnification camera while the measurement object S is at each measurement angle position. Furthermore, the movement control unit 21a moves the stage 140 so that the part of the measurement object S that is not imaged sequentially moves into the imaging area of the light receiving unit 120 when the entire measurement object S is not imaged at once. The upper surface 141s is moved in the XY directions.

その後、領域設定部21dは、ステップS203の撮像により得られた画像データに基づいて各測定角度位置に対応する存在領域を検出する(ステップS204)。ここで、ステップS203における測定対象物Sの撮像は、後続のステップS204で測定対象物Sの存在領域を検出するために行われる。そのため、基本的には、測定対象物Sの全体が撮像される必要がある。 After that, the area setting unit 21d detects an existing area corresponding to each measured angular position based on the image data obtained by the imaging in step S203 (step S204). Here, the imaging of the measurement object S in step S203 is performed in order to detect the presence area of the measurement object S in subsequent step S204. Therefore, basically, the entire measurement object S needs to be imaged.

上記のように、ステップS203では、測定対象物Sが低倍率カメラにより撮像される。低倍率カメラであるカメラ121Aの撮像領域は、高倍率カメラであるカメラ121Bの撮像領域よりも大きい。そのため、測定対象物Sの全体を低倍率カメラで撮像する場合には、測定対象物Sの全体を高倍率カメラで撮像する場合に比べて、撮像回数を低減することができる。したがって、存在領域の検出に要する時間を短くすることができる。 As described above, in step S203, the measurement object S is imaged by the low-magnification camera. The imaging area of camera 121A, which is a low-magnification camera, is larger than the imaging area of camera 121B, which is a high-magnification camera. Therefore, when the entire measurement object S is imaged with a low-magnification camera, the number of imaging operations can be reduced compared to when the entire measurement object S is imaged with a high-magnification camera. Therefore, it is possible to shorten the time required to detect the presence area.

ステップS204の処理後、領域設定部21dは、検出された各測定角度位置の存在領域を含む領域を当該測定角度位置の測定領域として仮に設定する(ステップS205)。そこで、設定画面提示部21eは、ステップS204で得られた複数の画像データと設定された各測定角度位置の測定領域とに基づいて領域設定マップ画像を生成し、表示部400に表示させる(ステップS206)。このとき、設定画面提示部21eは、設定された測定領域が識別可能となるように、領域設定マップ画像において測定対象物Sの画像上に1または複数の単位領域枠MMを重畳表示させる。 After the process of step S204, the area setting unit 21d provisionally sets an area including the existence area of each detected measurement angular position as the measurement area of the measurement angular position (step S205). Therefore, the setting screen presentation unit 21e generates a region setting map image based on the plurality of image data obtained in step S204 and the measurement regions of the set measurement angular positions, and displays it on the display unit 400 (step S206). At this time, the setting screen presentation unit 21e superimposes one or more unit area frames MM on the image of the measurement object S in the area setting map image so that the set measurement area can be identified.

次に、領域設定部21dは、測定領域の設定が完了したか否かを判定する(ステップS207)。この判定は、例えば図24の測定開始ボタン425が使用者により操作されたか否かに基づいて行われる。測定領域の設定が完了すると、測定領域設定処理が終了する。一方、測定領域の設定が完了していない場合、領域設定部21dは、測定領域を修正すべき指令があるか否かを判定する(ステップS231)。この判定は、例えば図26~図28の領域設定画面403~405上で、使用者による測定領域の変更、追加または削除の指令があったか否かに基づいて行われる。 Next, the area setting unit 21d determines whether setting of the measurement area is completed (step S207). This determination is made, for example, based on whether or not the measurement start button 425 in FIG. 24 has been operated by the user. When the setting of the measurement area is completed, the measurement area setting process ends. On the other hand, if the setting of the measurement area has not been completed, the area setting section 21d determines whether or not there is an instruction to correct the measurement area (step S231). This determination is made, for example, on the area setting screens 403 to 405 of FIGS. 26 to 28, based on whether or not the user has instructed to change, add, or delete the measurement area.

ステップS231において測定領域を修正すべき指令がない場合、領域設定部21dは、処理を後述するステップS233に進める。一方、ステップS231において測定領域を修正すべき指令があると、領域設定部21dは、修正を受け付け、受け付けた内容に応じて設定済みの測定領域を修正する(ステップS232)。 If there is no instruction to correct the measurement area in step S231, the area setting section 21d advances the process to step S233, which will be described later. On the other hand, when there is an instruction to correct the measurement region in step S231, the region setting unit 21d accepts the correction, and corrects the set measurement region according to the received content (step S232).

次に、データ補正部21iは、三次元形状データの校正のために第1のマーカM1または第2のマーカM2のいずれかのマーカを使用する旨の指令があるか否かを判定する(ステップS233)。マーカを使用する旨の指令があると、データ補正部21iは、使用するマーカの種類を判定する(ステップS234)。データ補正部21iによるステップS233,S234の判定は、例えば図30の第1の校正チェックボックス463および第2の校正チェックボックス464のうちいずれが使用者によりチェックされたかに基づいて行われる。 Next, the data correction unit 21i determines whether there is an instruction to use either the first marker M1 or the second marker M2 for calibration of the three-dimensional shape data (step S233). When there is an instruction to use a marker, the data correction unit 21i determines the type of marker to be used (step S234). The determinations in steps S233 and S234 by the data correction unit 21i are made based on, for example, which one of the first proofreading check box 463 and the second proofreading check box 464 in FIG. 30 is checked by the user.

次に、データ補正部21iは、使用するマーカに応じて新たな測定領域の設定を追加するとともに(ステップS235)、使用するマーカに応じた校正機能を有効化させる(ステップS236)。その後、データ補正部21iは、処理をステップS207に戻す。なお、ステップS236においては、使用するマーカが第1のマーカM1である場合には、上記の第1の校正機能が有効化する。一方、使用するマーカが第2のマーカM2である場合には、上記の第2の校正機能が有効化する。上記のステップS233においてマーカを使用する旨の指令がない場合、データ補正部21iは、上記の第3の校正機能を有効化させ(ステップS237)、処理をステップS207に戻す。 Next, the data correction unit 21i adds a setting of a new measurement area according to the marker to be used (step S235), and activates the calibration function according to the marker to be used (step S236). After that, the data correction unit 21i returns the process to step S207. It should be noted that in step S236, when the marker to be used is the first marker M1, the first calibration function is activated. On the other hand, if the marker used is the second marker M2, the second calibration function is activated. If there is no instruction to use the marker in step S233, the data correction unit 21i enables the third calibration function (step S237), and returns the process to step S207.

上記のステップS201において、第1または第2の箱形状領域設定モードが選択されなかった場合、領域設定部21dは、測定領域を設定するためのモードとして、軸形状領域設定モードが選択されたか否かを判定する(ステップS211)。この判定は、例えば図24の軸ボタン436が使用者により操作されたかに基づいて行われる。 In step S201 above, if the first or second box-shaped region setting mode is not selected, the region setting unit 21d determines whether the shaft-shaped region setting mode is selected as the mode for setting the measurement region. (step S211). This determination is made, for example, based on whether the axis button 436 in FIG. 24 has been operated by the user.

軸形状領域設定モードが選択された場合、回転角度設定部21fは、軸形状領域設定モードに対応する複数の測定角度位置を記憶装置240から読み込む(ステップS212)。この読み込み処理は、ステップS202の処理と同様に、複数の測定角度位置の設定処理に相当する。なお、回転角度設定部21fは、使用者が図29の角度条件設定部453および角度ピッチ設定部454等を操作することにより指定される条件に基づいて複数の測定角度位置を設定してもよい。このとき、角度ピッチ設定部454により設定可能な角度ピッチは、例えば測定対象物Sを回転させた時に当該測定対象物Sの全周を測定するために必要な数値に制限されてもよい。これにより、適切でない角度ピッチの設定が防止される。 When the shaft-shaped region setting mode is selected, the rotation angle setting unit 21f reads a plurality of measured angular positions corresponding to the shaft-shaped region setting mode from the storage device 240 (step S212). This reading process, like the process of step S202, corresponds to the process of setting a plurality of measurement angular positions. The rotation angle setting unit 21f may set a plurality of measurement angular positions based on conditions designated by the user operating the angle condition setting unit 453, the angular pitch setting unit 454, etc. in FIG. . At this time, the angular pitch that can be set by the angular pitch setting unit 454 may be limited to a numerical value necessary for measuring the entire circumference of the measurement object S when the measurement object S is rotated, for example. This prevents setting an inappropriate angular pitch.

次に、複数の測定角度位置のうち一の測定角度位置で低倍率カメラによる測定対象物Sの全体の撮像が行われる(ステップS213)。このとき、回転制御部21bは、測定対象物Sが設定された複数の測定角度位置のうち一の測定角度位置で保持されるように回転ユニット190を制御する。また、撮像制御部21cは、測定対象物Sが一の測定角度位置にある状態で、当該測定対象物Sが低倍率カメラで撮像されるように照明光出力部130および受光部120を制御する。さらに、移動制御部21aは、測定対象物Sの全体が一度に撮像されない場合、測定対象物Sのうち撮像されていない部分が受光部120の撮像領域内に順次移動するように、ステージ140の上面141sをXY方向に移動させる。 Next, an image of the entire measurement object S is captured by the low-magnification camera at one of the plurality of measurement angular positions (step S213). At this time, the rotation control section 21b controls the rotation unit 190 so that the object S to be measured is held at one of the set measurement angular positions. In addition, the imaging control unit 21c controls the illumination light output unit 130 and the light receiving unit 120 so that the measurement object S is imaged by the low-magnification camera while the measurement object S is at one measurement angle position. . Furthermore, the movement control unit 21a moves the stage 140 so that the part of the measurement object S that is not imaged sequentially moves into the imaging area of the light receiving unit 120 when the entire measurement object S is not imaged at once. The upper surface 141s is moved in the XY directions.

その後、領域設定部21dは、ステップS213の撮像により得られた画像データに基づいて一の測定角度位置に対応する存在領域を検出し(ステップS214)、処理をステップS205に進める。上記のステップS213では、ステップS203の処理と同様に、測定対象物Sが低倍率カメラにより撮像される。それにより、存在領域の検出に要する時間を短くすることができる。 After that, the area setting unit 21d detects an existence area corresponding to one measured angular position based on the image data obtained by the imaging in step S213 (step S214), and advances the process to step S205. In the above step S213, similarly to the process of step S203, the measurement object S is imaged by the low-magnification camera. As a result, the time required to detect the presence area can be shortened.

上記のステップS211において、軸形状領域設定モードが選択されなかった場合、領域設定部21dは、測定領域について詳細な設定を行うべき指令を受けたか否かを判定する(ステップS221)。この判定は、例えば図24の回転詳細ボタン437が使用者により操作されたかに基づいて行われる。 If the shaft shape area setting mode is not selected in step S211, the area setting unit 21d determines whether or not an instruction to set the measurement area in detail has been received (step S221). This determination is made, for example, based on whether the detailed rotation button 437 in FIG. 24 has been operated by the user.

測定領域について詳細な設定を行うべき指令を受けた場合、領域設定部21dは、測定領域の設定を受け付ける(ステップS222)。ここでは、例えば使用者が図29の角度条件設定部453および角度ピッチ設定部454等を操作することにより指定される条件が受け付けられる。その後、領域設定部21dは、処理をステップS207に進める。 When receiving a command to set the measurement area in detail, the area setting unit 21d accepts the setting of the measurement area (step S222). Here, for example, conditions specified by the user operating the angle condition setting section 453 and the angle pitch setting section 454 shown in FIG. 29 are accepted. After that, the area setting unit 21d advances the process to step S207.

なお、回転を伴なわない測定対象物Sの形状測定に対応する測定領域設定処理では、測定対象物Sの存在領域の検出が行われた後、上記のステップS205~S207,S231,S232と同様の処理が行われる。 In the measurement area setting process corresponding to the shape measurement of the measurement object S that does not involve rotation, after the existence area of the measurement object S is detected, steps S205 to S207, S231, and S232 are performed. is processed.

[9]効果
(1)本実施の形態に係る形状測定装置500においては、回転を伴う測定対象物Sの形状測定を行うための測定領域の設定時に、少なくともY方向において設定された複数の測定角度位置にそれぞれ対応する測定対象物Sの存在領域が検出される。換言すれば、設定された各測定角度位置にある測定対象物Sを受光部120から見たときの少なくともY方向に延びる測定対象物Sの幅が検出される。
[9] Effect (1) In the shape measuring apparatus 500 according to the present embodiment, when setting the measurement area for performing the shape measurement of the measurement object S that involves rotation, a plurality of measurements set in at least the Y direction are performed. Existence areas of the measuring object S corresponding to the respective angular positions are detected. In other words, the width of the measurement object S extending at least in the Y direction when the measurement object S at each of the set measurement angular positions is viewed from the light receiving unit 120 is detected.

また、各測定角度位置について受光部120により撮像されるべき複数の測定領域が、当該測定角度位置の少なくともY方向における存在領域の検出結果に基づいて設定される。この場合、使用者は、各測定角度位置について測定対象物Sの形状に応じた煩雑な設定作業を行う必要がない。その後、測定対象物Sが設定された複数の測定角度位置に順次回転される。測定対象物Sが各測定角度位置にある状態で、受光部120の撮像領域が少なくともY方向における複数の測定領域に順次移動され、測定対象物Sの撮像が行われる。このようにして生成される複数の画像データに基づいて、各測定角度位置に対応する三次元形状データを生成することができる。これらの結果、煩雑な設定作業を要することなく測定対象物Sの表面における広い範囲に渡って形状を測定することが可能になる。 Moreover, a plurality of measurement regions to be imaged by the light receiving unit 120 for each measurement angular position are set based on the detection result of the existence region of the measurement angular position at least in the Y direction. In this case, the user does not need to perform complicated setting work according to the shape of the measurement object S for each measurement angular position. After that, the measuring object S is sequentially rotated to a plurality of set measurement angular positions. With the measurement object S at each measurement angle position, the imaging area of the light receiving unit 120 is sequentially moved to at least a plurality of measurement areas in the Y direction, and the measurement object S is imaged. Three-dimensional shape data corresponding to each measured angular position can be generated based on a plurality of image data generated in this way. As a result, it is possible to measure the shape over a wide range on the surface of the object S without complicated setting work.

(2)本実施の形態に係る形状測定装置500においては、ステージ140の上面141s上に測定対象物Sが載置された状態で、その測定対象物Sにパターン光が照射される。または、回転ユニット190により測定対象物Sが保持された状態で、受光部120の光軸ROAに交差する回転軸RAの周りで回転する測定対象物Sにパターン光が照射される。パターン光が照射された測定対象物Sが受光部120により撮像される。撮像により得られた複数の画像データに基づいて測定対象物Sの三次元形状データが生成される。 (2) In the shape measuring apparatus 500 according to the present embodiment, the object S to be measured is placed on the upper surface 141s of the stage 140, and the object S to be measured is irradiated with the pattern light. Alternatively, while the measurement object S is held by the rotation unit 190, the measurement object S rotating around the rotation axis RA that intersects the optical axis ROA of the light receiving unit 120 is irradiated with the pattern light. The measurement object S irradiated with the pattern light is imaged by the light receiving unit 120 . Three-dimensional shape data of the measuring object S is generated based on a plurality of image data obtained by imaging.

この場合、使用者は、測定対象物Sおける所望の部位の形状にパターン光が入射するように、測定対象物Sをステージの上面に載置しまたは測定対象物Sを回転ユニットにより回転させることができる。その結果、測定対象物Sの表面における広い範囲に渡って形状を測定することが可能になる。 In this case, the user places the measurement object S on the upper surface of the stage or rotates the measurement object S by the rotation unit so that the pattern light is incident on the shape of the desired portion of the measurement object S. can be done. As a result, it becomes possible to measure the shape over a wide range on the surface of the object S to be measured.

(3)本実施の形態に係る形状測定装置500においては、回転を伴う測定対象物Sの形状測定を行うために、例えば第1のマーカM1を用いた第1の構成機能を使用することが設定される。この場合、第1のマーカM1および測定対象物Sが撮像される。その撮像により得られた画像データに基づいて、第1のマーカM1の三次元形状データおよび測定対象物Sの三次元形状データが生成される。第1のマーカM1の三次元形状データおよび第1のマーカM1の寸法に基づいて、第1の校正機能に従う三次元形状データの補正処理が行われる。 (3) In the shape measuring apparatus 500 according to the present embodiment, it is possible to use the first configuration function using the first marker M1, for example, in order to measure the shape of the measurement object S that involves rotation. set. In this case, the first marker M1 and the measurement object S are imaged. Three-dimensional shape data of the first marker M1 and three-dimensional shape data of the measuring object S are generated based on the image data obtained by the imaging. Correction processing of the three-dimensional shape data according to the first calibration function is performed based on the three-dimensional shape data of the first marker M1 and the dimensions of the first marker M1.

この場合、測定対象物Sが保持部191に保持された状態で第1のマーカM1の三次元形状データが生成されるので、保持部191が測定対象物Sを保持することにより保持部191の回転状態が変化する場合には、第1のマーカM1の回転状態も保持部191と同様に変化する。したがって、第1のマーカM1の三次元形状データは、測定対象物Sが保持部191に保持されない状態で生成される場合に比べて、測定対象物Sの三次元形状データを補正するためにより適したものとなる。その結果、測定対象物Sの表面における広い範囲に渡って、高い精度で形状を測定することが可能になる。 In this case, since the three-dimensional shape data of the first marker M1 is generated while the measuring object S is held by the holding unit 191, the holding unit 191 holds the measuring object S, and the holding unit 191 When the rotation state changes, the rotation state of the first marker M1 also changes in the same manner as the holding portion 191. FIG. Therefore, the three-dimensional shape data of the first marker M1 is more suitable for correcting the three-dimensional shape data of the measurement object S than when the measurement object S is not held by the holding unit 191. It becomes a thing. As a result, it is possible to measure the shape of the object S over a wide range with high accuracy.

なお、第1のマーカM1は、保持部191の一部を構成する。そのため、形状測定装置500の校正を行うために、保持部191に校正具を取り付ける作業および保持部191に取り付けられた校正具を測定対象物Sに交換する作業が不要である。したがって、形状測定装置500の校正作業に要する時間が短縮される。 Note that the first marker M1 forms part of the holding portion 191 . Therefore, in order to calibrate the shape measuring apparatus 500, the work of attaching the calibration tool to the holding part 191 and the work of exchanging the calibration tool attached to the holding part 191 with the measurement object S are unnecessary. Therefore, the time required for calibrating the shape measuring device 500 is shortened.

(4)また、形状測定装置500においては、回転を伴う測定対象物Sの形状測定を行うために、第2のマーカM2を用いた第2の構成機能を使用することが設定される。この場合、第2のマーカM2および測定対象物Sが撮像され、当該撮像により得られる、第2のマーカM2の三次元形状データおよび測定対象物Sの三次元形状データが生成される。第2のマーカM2の三次元形状データおよび第2のマーカM2の寸法に基づいて、第2の校正機能に従う三次元形状データの補正処理が行われる。第2の校正機能によれば、第1のマーカM1および第2のマーカM2の三次元形状データが用いられることにより、測定対象物Sの測定精度が向上する。 (4) In the shape measuring apparatus 500, the use of the second configuration function using the second marker M2 is set in order to measure the shape of the measurement object S that involves rotation. In this case, the second marker M2 and the measurement object S are imaged, and three-dimensional shape data of the second marker M2 and three-dimensional shape data of the measurement object S obtained by the imaging are generated. Correction processing of the three-dimensional shape data according to the second calibration function is performed based on the three-dimensional shape data of the second marker M2 and the dimensions of the second marker M2. According to the second calibration function, the measurement accuracy of the measurement object S is improved by using the three-dimensional shape data of the first marker M1 and the second marker M2.

さらに、形状測定装置500においては、回転を伴う測定対象物Sの形状測定を行うために、第1のマーカM1および第2のマーカM2を用いない第3の構成機能を使用することが設定される。この場合、測定対象物Sの三次元形状データに基づいて、第3の校正機能に従う三次元形状データの補正処理が行われる。第3の校正機能によれば、第1のマーカM1および第2のマーカM2を撮像する必要がないため、測定対象物Sの測定に要する時間を短縮することができる。 Furthermore, the shape measuring apparatus 500 is set to use a third configuration function that does not use the first marker M1 and the second marker M2 in order to measure the shape of the measurement object S that involves rotation. be. In this case, based on the three-dimensional shape data of the measuring object S, correction processing of the three-dimensional shape data according to the third calibration function is performed. According to the third calibration function, it is not necessary to image the first marker M1 and the second marker M2, so the time required for measuring the measurement object S can be shortened.

(5)使用者は、例えば図31の第1の校正チェックボックス463および第2の校正チェックボックス464のいずれかをチェックするか、チェックしないことにより、第1~第3の校正機能のうち1つを選択することができる。したがって、形状測定の用途に応じて所望の校正機能を容易に選択することができるので、測定対象物Sの形状測定の利便性が向上する。 (5) The user selects one of the first to third calibration functions by checking or unchecking either the first calibration check box 463 or the second calibration check box 464 in FIG. 31, for example. You can choose one. Therefore, since a desired calibration function can be easily selected according to the purpose of shape measurement, the convenience of shape measurement of the measurement object S is improved.

[10]他の実施の形態
(1)上記実施の形態に係る形状測定処理においては、領域設定部21dは、測定対象物Sの測定領域設定時にZ方向における測定対象物Sの測定範囲を設定してもよい。また、設定されたZ方向の撮像範囲がZ方向の測定空間101の範囲(受光部120の被写界深度の範囲)を超える場合に、高さ方向合成が行われてもよい。
[10] Other Embodiments (1) In the shape measurement process according to the above embodiment, the area setting unit 21d sets the measurement range of the measurement object S in the Z direction when setting the measurement area of the measurement object S. You may Further, when the set imaging range in the Z direction exceeds the range of the measurement space 101 in the Z direction (range of the depth of field of the light receiving unit 120), synthesis in the height direction may be performed.

この場合、領域設定画面は、例えばZ方向の測定対象物Sの測定範囲を設定することの要否を受け付け可能に表示部400に表示される。図43は、Z方向の測定対象物Sの測定範囲を設定することの要否を受け付け可能な領域設定画面の一例を示す図である。図43の領域設定画面404においては、主表示領域410に領域設定マップ画像が表示された状態で、副表示領域420に高さ範囲ボタン471が表示される。 In this case, the area setting screen is displayed on the display unit 400 so as to accept whether or not it is necessary to set the measurement range of the measurement object S in the Z direction, for example. FIG. 43 is a diagram showing an example of a region setting screen capable of accepting whether or not it is necessary to set the measurement range of the measurement object S in the Z direction. In the area setting screen 404 of FIG. 43, the height range button 471 is displayed in the secondary display area 420 while the area setting map image is displayed in the main display area 410 .

使用者は、Z方向の測定範囲を設定したい場合に、高さ範囲ボタン471を操作する。それにより、表示部400には、測定対象物SのZ方向の測定範囲を設定するための領域設定画面が表示される。図44は、測定対象物SのZ方向における測定範囲を設定するための領域設定画面の一例を示す図である。 The user operates the height range button 471 to set the measurement range in the Z direction. Thereby, the area setting screen for setting the measurement range of the measurement object S in the Z direction is displayed on the display unit 400 . FIG. 44 is a diagram showing an example of a region setting screen for setting the measurement range of the measurement object S in the Z direction.

図44の領域設定画面409では、副表示領域420の角度位置一覧441が操作されることにより指定された測定角度位置(本例では0°)の測定範囲を設定するための各種画像および操作用のウィンドウが表示されている。 On the area setting screen 409 of FIG. 44, various images and operation window is displayed.

具体的には、主表示領域410には、角度位置一覧441により指定された測定角度位置の領域設定マップ画像IMaと、指定された測定角度位置に対して90°ずれた測定角度位置の領域設定マップ画像IMbとが表示されている。また、領域設定マップ画像IMb上には、Z方向における測定範囲の上限位置および下限位置をそれぞれ示す上限マーク472および下限マーク473が上下方向にスライド可能に重畳表示されている。これにより、使用者は、領域設定マップ画像IMbに表示される測定対象物Sの画像を視認しつつ上限マーク472および下限マーク473を上下方向にスライドさせることにより、指定された測定角度位置におけるZ方向の測定範囲を設定することができる。 Specifically, in the main display area 410, the area setting map image IMa of the measurement angular position designated by the angular position list 441 and the area setting of the measurement angular position shifted by 90° from the designated measurement angular position are displayed. A map image IMb is displayed. An upper limit mark 472 and a lower limit mark 473 respectively indicating the upper limit position and lower limit position of the measurement range in the Z direction are superimposed on the area setting map image IMb so as to be vertically slidable. As a result, the user can vertically slide the upper limit mark 472 and the lower limit mark 473 while viewing the image of the measurement object S displayed in the area setting map image IMb, thereby adjusting the Z angle at the specified measurement angle position. Direction measurement range can be set.

また、主表示領域410には、さらにZ方向の測定範囲を数値で指定するためまたは自動設定を行うべき指令をするための範囲設定ウィンドウ481が表示されている。範囲設定ウィンドウ481には、使用者がZ方向における測定範囲の上限位置および下限位置をそれぞれ数値入力するための上限入力部482および下限入力部483が表示される。また、範囲設定ウィンドウ481には、使用者がZ方向における測定範囲の大きさ(上下方向の幅)およびその中心位置をそれぞれ数値入力するための幅入力部484および中心入力部485が表示される。さらに、範囲設定ウィンドウ481には、全ての測定角度位置の各々について自動的にZ方向における測定範囲を設定することを指令するための自動設定ボタン486が表示される。 Further, in the main display area 410, a range setting window 481 is displayed for designating the measurement range in the Z direction numerically or for issuing a command for automatic setting. The range setting window 481 displays an upper limit input section 482 and a lower limit input section 483 for the user to input numerical values for the upper limit position and lower limit position of the measurement range in the Z direction, respectively. The range setting window 481 also displays a width input section 484 and a center input section 485 for the user to input numerical values for the size of the measurement range in the Z direction (vertical width) and its center position. . Further, the range setting window 481 displays an automatic setting button 486 for commanding automatic setting of the measurement range in the Z direction for each of all the measurement angular positions.

これにより、使用者は、上限マーク472および下限マーク473を操作することに代えて、上限入力部482および下限入力部483に数値を入力することにより測定範囲を設定することができる。または、使用者は、幅入力部484および中心入力部485に数値を入力することにより測定範囲を設定することができる。あるいは、使用者は、自動設定ボタン486を操作することにより、全ての測定角度位置についてZ方向の測定範囲を設定することができる。 Thereby, the user can set the measurement range by inputting numerical values into the upper limit input section 482 and the lower limit input section 483 instead of operating the upper limit mark 472 and the lower limit mark 473 . Alternatively, the user can set the measurement range by inputting numerical values into the width input section 484 and the center input section 485 . Alternatively, the user can set the measurement range in the Z direction for all measurement angular positions by operating the automatic setting button 486 .

なお、自動設定ボタン486が操作された場合、領域設定部21dは各測定角度位置について以下のように測定範囲を設定してもよい。例えば、領域設定部21dは、一の測定角度位置についてZ方向の測定範囲を設定する場合、一の測定角度位置に対して90°ずれた測定角度位置の領域設定マップ画像を読み込む。また、領域設定部21dは、読み込んだ領域設定マップ画像から測定対象物Sが存在するZ方向の範囲を検出し、検出された範囲を一の測定角度位置のZ方向の範囲として設定する。 Note that when the automatic setting button 486 is operated, the area setting unit 21d may set the measurement range for each measurement angular position as follows. For example, when setting the measurement range in the Z direction for one measurement angle position, the area setting unit 21d reads the area setting map image of the measurement angle position shifted by 90° from the one measurement angle position. Further, the area setting unit 21d detects the range in the Z direction where the measurement object S exists from the read area setting map image, and sets the detected range as the range in the Z direction of one measurement angular position.

または、領域設定部21dは各測定角度位置について以下のように測定範囲を設定することもできる。例えば、回転制御部21bは、回転ユニット190を複数の測定角度位置に順次移動させる。そこで、撮像制御部21cは、各測定角度位置にある状態で、受光部120により測定対象物Sの複数の部分を撮像させ、上方を向く測定対象物Sの複数の部分にそれぞれ受光部120の焦点面120Fが合うようにステージ140をZ方向に移動させる。その上で、領域設定部21dは、Z方向におけるステージ140の移動範囲に基づいて測定範囲を設定する。 Alternatively, the area setting unit 21d can also set the measurement range for each measurement angular position as follows. For example, the rotation control section 21b sequentially moves the rotation unit 190 to a plurality of measurement angular positions. Therefore, the imaging control unit 21c causes the light receiving unit 120 to image a plurality of portions of the measurement object S in a state of being at each measurement angle position, and the light receiving unit 120 captures each of the plurality of portions of the measurement object S facing upward. The stage 140 is moved in the Z direction so that the focal plane 120F is aligned. Then, the region setting unit 21d sets the measurement range based on the movement range of the stage 140 in the Z direction.

この場合、撮像制御部21cは、測定範囲が測定空間101の範囲(受光部120の被写界深度の範囲)を超える場合に、測定対象物Sの複数の部分が測定空間101の範囲内に含まれるように、Z方向における上面141sの複数の位置を決定してもよい。 In this case, when the measurement range exceeds the range of the measurement space 101 (the range of the depth of field of the light receiving unit 120), the imaging control unit 21c allows the plurality of portions of the measurement object S to be within the range of the measurement space 101. As included, multiple positions of the top surface 141s in the Z direction may be determined.

あるいは、領域設定部21dは各測定角度位置について以下のように測定範囲を設定することもできる。例えば、回転制御部21bは、回転ユニット190を複数の測定角度位置に順次移動させる。そこで、撮像制御部21cは、測定対象物Sが各測定角度位置にある状態で、パターン光を用いて測定対象物Sを撮像し、三次元形状データを生成することによりZ方向における測定対象物Sの上端部の位置を検出する。その上で、領域設定部21dは、生成された測定対象物Sの三次元形状データに基づいて測定範囲を設定する。なお、Z方向の測定範囲を設定するための測定対象物Sの撮像時には、いわゆる粗測定として、分解能が低いパターン光を用いて、パターン光の照射回数を低減することが好ましい。 Alternatively, the area setting unit 21d can also set the measurement range for each measurement angular position as follows. For example, the rotation control section 21b sequentially moves the rotation unit 190 to a plurality of measurement angular positions. Therefore, the imaging control unit 21c captures an image of the measurement object S using the pattern light while the measurement object S is at each measurement angle position, and generates three-dimensional shape data to generate three-dimensional shape data of the measurement object S in the Z direction. The position of the upper end of S is detected. Then, the region setting unit 21d sets the measurement range based on the generated three-dimensional shape data of the object S to be measured. When imaging the measurement object S for setting the measurement range in the Z direction, it is preferable to reduce the number of pattern light irradiations by using pattern light with low resolution as so-called rough measurement.

上記のようにして、測定対象物SのZ方向の測定範囲が設定される。これにより、CPU210は、任意の測定角度位置で設定された測定範囲が測定空間101を超える場合に、当該測定角度位置でZ方向におけるステージ140の位置を変更しながら複数回三次元形状データを生成することができる。また、生成された複数の三次元形状データを用いて高さ方向合成を行うことにより、測定対象物の表面におけるより広い範囲に渡って形状を測定することが可能になる。 As described above, the measurement range of the measurement object S in the Z direction is set. As a result, when the measurement range set at an arbitrary measurement angular position exceeds the measurement space 101, the CPU 210 generates three-dimensional shape data a plurality of times while changing the position of the stage 140 in the Z direction at the measurement angular position. can do. Moreover, by performing height direction synthesis using a plurality of generated three-dimensional shape data, it becomes possible to measure the shape over a wider range on the surface of the object to be measured.

(2)上記実施の形態に係る形状測定処理においては、回転を伴う測定対象物Sの形状測定時に各測定角度位置に対応する測定対象物Sの存在領域を検出するために、各測定角度位置にある測定対象物Sが照明光を用いて撮像されるが、本発明はこれに限定されない。 (2) In the shape measurement process according to the above embodiment, when measuring the shape of the measurement object S involving rotation, each measurement angular position is imaged using illumination light, but the present invention is not limited to this.

各測定角度位置に対応する測定対象物Sの存在領域を検出するために、CPU210は、以下の処理を行ってもよい。例えば、ステップS204において、回転制御部21bは、測定対象物Sが複数の測定角度位置のうち一部(例えば、0°および180°)の代表角度位置で保持されるように回転ユニット190を制御する。また、撮像制御部21cは、測定対象物Sが各代表角度位置にある状態で、パターン光を照射しつつ測定対象物Sを撮像することにより複数の画像データが生成されるように投光部110A,110Bおよび受光部120を制御する。三次元形状データ生成部21gは、測定対象物Sが各代表角度位置にある状態で生成された複数の画像データに基づいて、各代表角度位置に対応する三次元形状データを生成する。 The CPU 210 may perform the following processing in order to detect the presence area of the measurement object S corresponding to each measurement angular position. For example, in step S204, the rotation control unit 21b controls the rotation unit 190 so that the measurement object S is held at some representative angular positions (for example, 0° and 180°) out of the plurality of measurement angular positions. do. In addition, the imaging control unit 21c controls the light projecting unit so that a plurality of image data are generated by imaging the measurement object S while irradiating the pattern light while the measurement object S is at each representative angular position. 110A, 110B and light receiving section 120 are controlled. The three-dimensional shape data generator 21g generates three-dimensional shape data corresponding to each representative angular position based on a plurality of image data generated with the measurement object S at each representative angular position.

この場合、一の代表角度位置である0°に対応する三次元形状データと、他の代表角度位置である180°に対応する三次元形状データとを合成すると、測定対象物Sのほぼ全体の形状を把握することができる。そこで、領域設定部21dは、生成された三次元形状データに基づいて複数の測定角度位置に対応する測定対象物Sの存在領域を検出する。上記の処理によれば、複数の測定角度位置について存在領域を検出するために、複数の角度位置の各々で測定対象物を撮像する必要がなくなる。 In this case, when the three-dimensional shape data corresponding to one representative angular position of 0° and the three-dimensional shape data corresponding to another representative angular position of 180° are combined, almost the entire measurement object S can be obtained. You can grasp the shape. Therefore, the area setting unit 21d detects the existing area of the measurement object S corresponding to the plurality of measurement angular positions based on the generated three-dimensional shape data. According to the above processing, it is not necessary to image the measurement object at each of the plurality of angular positions in order to detect the existence region for the plurality of measurement angular positions.

なお、存在領域を検出するために生成される三次元形状データは、高い測定精度を要しない。したがって、存在領域を検出するための三次元形状データの生成時には、測定対象物Sの形状を取得するための三次元形状データの生成時に対して、分解能が低いパターン光を用いて、パターン光の照射回数を低減することが好ましい。 The three-dimensional shape data generated for detecting the existence area does not require high measurement accuracy. Therefore, when generating the three-dimensional shape data for detecting the existing region, the pattern light having a lower resolution than when generating the three-dimensional shape data for obtaining the shape of the measurement object S is used. It is preferable to reduce the number of times of irradiation.

(3)上記実施の形態に係る形状測定処理においては、データ合成部21hは、ステップS107の処理で複数の測定角度位置の三次元形状データを合成するか否かについての指令を受け付けるが、本発明はこれに限定されない。 (3) In the shape measurement process according to the above embodiment, the data synthesizing unit 21h receives an instruction as to whether or not to synthesize three-dimensional shape data at a plurality of measurement angular positions in the process of step S107. The invention is not so limited.

ステップS107においては、データ合成部21hは、複数の測定角度位置の複数の三次元形状データのうち一部のみを合成することを受け付けてもよい。この場合、例えば図29の副表示領域420においては合成要否チェックボックス457に代えて、複数の測定角度位置のうち三次元形状データが合成されるべき測定角度位置を選択するための入力部等が設けられてもよい。 In step S107, the data synthesizer 21h may accept to synthesize only a part of the plurality of three-dimensional shape data of the plurality of measured angular positions. In this case, for example, in the sub-display area 420 of FIG. 29, instead of the synthesis necessity check box 457, an input section or the like for selecting the measurement angle position at which the three-dimensional shape data should be synthesized from among the plurality of measurement angle positions. may be provided.

複数の測定角度位置のうち一部で取得された複数の三次元形状データのみを合成することが受け付けられた場合、データ合成部21hは、受け付けられた情報に従って複数の三次元形状データの一部のみを合成してもよい。 When it is accepted to synthesize only the plurality of three-dimensional shape data obtained at some of the plurality of measured angular positions, the data synthesizing unit 21h synthesizes a part of the plurality of three-dimensional shape data according to the received information. may be synthesized only.

なお、回転方向に並ぶ少なくとも一部の三次元形状データを回転方向合成するか否かを指令するためのデータ合成指令部が表示部400に表示されてもよい。具体的には、図26~図28の領域設定画面403~405の副表示領域420に、合成されるべき三次元形状データを個別に指定するためのチェックボックス等がデータ合成指令部として表示されてもよい。これにより、使用者は、測定対象物Sの形状について所望の態様で三次元形状データを取得することができる。 Note that the display unit 400 may display a data synthesizing command section for instructing whether or not to synthesize at least a portion of the three-dimensional shape data arranged in the rotational direction. Specifically, a check box or the like for individually designating three-dimensional shape data to be synthesized is displayed as a data synthesizing command section in the sub-display area 420 of the area setting screens 403 to 405 in FIGS. may Thereby, the user can acquire the three-dimensional shape data of the shape of the measurement object S in a desired manner.

(4)上記実施の形態においては、回転角度設定部21fは、ステップS212の処理でモード毎に予め定められた複数の測定角度位置を記憶装置240から読み込み、複数の測定角度位置の設定を行うが、本発明はこれに限定されない。 (4) In the above embodiment, the rotation angle setting unit 21f reads a plurality of measurement angular positions predetermined for each mode from the storage device 240 in the process of step S212, and sets the plurality of measurement angular positions. However, the invention is not so limited.

回転角度設定部21fは、ステップS212の処理として、予め定められた複数の測定角度位置を読み込む代わりに、以下の方法で複数の測定角度位置の設定を行ってもよい。 As the process of step S212, the rotation angle setting unit 21f may set a plurality of measurement angular positions by the following method instead of reading a plurality of predetermined measurement angular positions.

例えば、回転角度設定部21fは、ステップS211で軸形状領域設定モードが選択された場合に、まず受光部120の焦点面120Fが測定対象物Sの最も高い部分に一致するようにステージ140のZ方向の位置を調整する。次に、回転角度設定部21fは、受光部120の焦点面120Fが測定対象物Sの表面に位置するときのステージ140のZ方向の位置と、受光部120の作動距離WD(図8)とに基づいて回転軸RAを基準とする測定対象物Sの半径方向のサイズ(実寸法)を算出する。 For example, when the axis shape area setting mode is selected in step S211, the rotation angle setting unit 21f first shifts the Z direction of the stage 140 so that the focal plane 120F of the light receiving unit 120 coincides with the highest part of the object S to be measured. Adjust the direction position. Next, the rotation angle setting unit 21f determines the position of the stage 140 in the Z direction when the focal plane 120F of the light receiving unit 120 is positioned on the surface of the measurement object S, and the working distance WD (FIG. 8) of the light receiving unit 120. , the radial size (actual size) of the measurement object S with reference to the rotation axis RA is calculated.

この場合、算出されたサイズに基づいて測定対象物Sの外周面上に設定される測定領域のサイズを把握することが可能になる。それにより、回転軸RAの周りで回転させつつ受光部120により測定対象物Sを撮像する場合に、回転方向において連続する2つの測定領域の一部が互いに重複するように、回転角度設定部21fは複数の測定角度位置を設定してもよい。あるいは、回転角度設定部21fは、回転方向において連続する2つの測定領域の一部が互いに重複する測定角度位置を使用者に提示して、当該測定角度位置の設定を誘導するメッセージ等を表示部400に表示させてもよい。 In this case, it is possible to grasp the size of the measurement area set on the outer peripheral surface of the measurement object S based on the calculated size. As a result, when the measurement object S is imaged by the light receiving unit 120 while being rotated around the rotation axis RA, the rotation angle setting unit 21f is set such that two measurement regions that are continuous in the rotation direction partially overlap each other. may set a plurality of measurement angular positions. Alternatively, the rotation angle setting unit 21f presents to the user a measurement angle position where two measurement regions that are continuous in the rotation direction partially overlap each other, and displays a message or the like to guide the user to set the measurement angle position. 400 may be displayed.

上記の測定角度位置の設定方法によれば、回転ユニット190により保持された測定対象物Sの回転方向において、測定対象物Sの表面全体をカバーするように測定領域が適切に設定される。 According to the method of setting the measurement angular position described above, the measurement area is appropriately set so as to cover the entire surface of the measurement object S in the rotation direction of the measurement object S held by the rotation unit 190 .

(5)上記実施の形態に係る形状測定装置500は、いわゆるオートフォーカス機能を有してもよい。例えば、受光部120による測定対象物Sの撮像時に、受光部120の焦点面120Fが測定対象物Sの少なくとも一部に位置するように、Z方向における上面141sの位置が調整されてもよい。あるいは、受光部120内のレンズ122の位置が調整されてもよい。 (5) The shape measuring device 500 according to the above embodiment may have a so-called autofocus function. For example, the position of the upper surface 141s in the Z direction may be adjusted so that the focal plane 120F of the light receiving unit 120 is located on at least part of the measuring object S when the light receiving unit 120 captures the image of the measuring object S. Alternatively, the position of the lens 122 within the light receiving section 120 may be adjusted.

(6)上記実施の形態に係る形状測定処理においては、使用者が領域設定マップ画像を確認することにより測定領域の設定が行われるが、本発明はこれに限定されない。形状測定処理においては、例えば使用者の指令により領域設定マップ画像が生成されることなく測定対象物Sの形状測定が行われてもよい。 (6) In the shape measurement process according to the above embodiment, the measurement area is set by the user confirming the area setting map image, but the present invention is not limited to this. In the shape measurement process, for example, the shape of the measuring object S may be measured according to a user's command without generating the area setting map image.

具体的には、回転ユニット190がステージ140に取り付けられた状態で、使用者が、操作部250を操作して領域設定マップ画像の確認を行うことなく測定対象物Sの形状測定を行うべきことを指令する。この場合、CPU210は、予め定められた複数の測定角度位置の各々でパターン光を用いた撮像を行うとともに、三次元形状データの生成を行う。 Specifically, with the rotating unit 190 attached to the stage 140, the user should operate the operation unit 250 to measure the shape of the measurement object S without checking the area setting map image. command. In this case, the CPU 210 performs imaging using pattern light at each of a plurality of predetermined measurement angular positions, and generates three-dimensional shape data.

そこで、CPU210は、各測定角度位置に対応する一の測定領域を設定し、当該一の測定領域についての三次元形状データを生成し、生成された三次元形状データから測定対象物Sが存在する領域を推定(検出)しつつ、必要に応じて新たな測定領域を設定する。このとき、新たな測定領域は、一部が一の測定領域に重複するように設定される。その後、CPU210は、新たな測定領域について、三次元形状データの生成、測定対象物Sが存在する領域の推定(検出)およびさらに新たな測定領域の設定を行う。 Therefore, the CPU 210 sets one measurement area corresponding to each measurement angular position, generates three-dimensional shape data for the one measurement area, and determines whether the measurement object S exists from the generated three-dimensional shape data. While estimating (detecting) the area, a new measurement area is set as necessary. At this time, the new measurement area is set so as to partially overlap the one measurement area. After that, the CPU 210 generates three-dimensional shape data, estimates (detects) the area where the measurement object S exists, and sets a new measurement area for the new measurement area.

このようにして、CPU210が、各測定角度位置について、三次元形状データの生成、測定対象物Sが存在する領域の推定、および測定領域の設定を交互に繰り返すことにより、測定対象物Sの全周に渡る形状測定が行われてもよい。 In this manner, the CPU 210 alternately repeats the generation of the three-dimensional shape data, the estimation of the area where the measurement object S exists, and the setting of the measurement area for each measurement angle position, thereby allowing the measurement object S to be measured. Circumferential shape measurements may be taken.

(7)上記実施の形態に係る形状測定装置500においては、測定対象物Sの形状測定時に設定された測定角度位置および測定領域に関する情報が、当該測定対象物Sの三次元形状データとともに設定情報として記憶装置240に保存されてもよい。この場合、例えば測定対象物Sに応じて記憶装置240に記憶された設定情報を読み出すことにより、読み出された設定情報に基づいて測定角度位置および測定領域が設定されてもよい。 (7) In the shape measuring apparatus 500 according to the above-described embodiment, the information about the measurement angular position and the measurement area set at the time of shape measurement of the measurement object S is set together with the three-dimensional shape data of the measurement object S. may be stored in the storage device 240 as In this case, for example, by reading the setting information stored in the storage device 240 according to the measurement object S, the measurement angular position and the measurement area may be set based on the read setting information.

このように、形状測定装置500が設定情報の保存および読み出し機能を有することにより、同一形状を有する多数の測定対象物Sを順次形状測定する場合に、使用者は測定角度位置および測定領域の設定作業を繰り返す必要がない。 In this way, since the shape measuring apparatus 500 has the function of storing and reading setting information, the user can set the measurement angle position and the measurement area when sequentially measuring the shapes of a large number of measurement objects S having the same shape. No need to repeat work.

(8)上記実施の形態に係る形状測定処理のステップS203の処理では、複数の測定角度位置で低倍率カメラによる測定対象物Sの撮像が行われる。このとき、各測定角度位置で撮像される測定対象物Sの画像データに基づいて、他の測定角度位置にあるときに測定対象物Sとステージ140とが干渉するか否かの判定が行われてもよい。さらに、測定対象物Sとステージ140とが干渉すると判定された他の測定角度位置については、測定対象物Sの撮像がスキップされるとともに、測定対象物Sとステージ140とが干渉する旨のメッセージまたは指標等が表示部400に表示されてもよい。 (8) In the process of step S203 of the shape measurement process according to the above embodiment, the measurement object S is imaged by the low-magnification camera at a plurality of measurement angle positions. At this time, based on the image data of the measurement object S captured at each measurement angular position, it is determined whether or not the measurement object S interferes with the stage 140 at other measurement angular positions. may Furthermore, for other measurement angular positions determined to interfere with the measurement object S and the stage 140, imaging of the measurement object S is skipped, and a message to the effect that the measurement object S and the stage 140 interfere is displayed. Alternatively, an index or the like may be displayed on the display unit 400 .

図45は、測定対象物Sとステージ140との干渉判定機能を説明するための図である。例えば一の測定角度位置で測定対象物Sが撮像されることにより、図45(a)の領域設定マップ画像が生成されるものとする。この場合、図45(a)で一点鎖線RAiに示すように、領域設定マップ画像上の回転軸RAの位置は既知である。そのため、領域設定マップ画像上で、回転軸RAに直交する方向において、対象物画像SIの一端部と一点鎖線RAiとの間の距離di1を求めることにより、測定対象物Sの一端部がどのような半径で回転するのかを求めることができる。 FIG. 45 is a diagram for explaining the interference determination function between the measuring object S and the stage 140. FIG. For example, it is assumed that the area setting map image of FIG. 45(a) is generated by imaging the measurement object S at one measurement angular position. In this case, the position of the rotation axis RA on the area setting map image is known, as indicated by the dashed line RAi in FIG. 45(a). Therefore, by obtaining the distance di1 between one end of the target object image SI and the one-dot chain line RAi in the direction perpendicular to the rotation axis RA on the region setting map image, it is possible to determine how the one end of the measurement target S is located. You can find out if it rotates with a certain radius.

図45(b)に、図45(a)の領域設定マップ画像に対応する回転ユニット190のX方向に見た側面図が示される。上記のように、測定対象物Sの一端部がどのような半径で回転するのかを求めることができれば、図45(b)に示すように、求められた半径d1と、回転ユニット190およびステージ140の実寸法とに基づいて、測定対象物Sの一端部がステージ140と干渉する角度範囲rθを求めることができる。 FIG. 45(b) shows a side view of the rotation unit 190 corresponding to the area setting map image of FIG. 45(a) as viewed in the X direction. As described above, if the radius at which one end of the measurement object S rotates can be obtained, the obtained radius d1, the rotation unit 190 and the stage 140 are shown in FIG. 45(b). The angular range rθ in which one end portion of the measurement object S interferes with the stage 140 can be obtained based on the actual dimension of .

(9)上記実施の形態に係る形状測定装置500においては、回転ユニット190は、回転駆動部192のケーシングの側面ss1から保持部191が突出するように設けられた構成を有するが、本発明はこれに限定されない。 (9) In the shape measuring apparatus 500 according to the above embodiment, the rotating unit 190 has a configuration in which the holding portion 191 protrudes from the side surface ss1 of the casing of the rotation driving portion 192. However, the present invention It is not limited to this.

図46は、他の実施の形態に係る回転ユニット190の構成例を示す図である。図46(a)に示すように、本例の回転ユニット190は、保持部191および回転駆動部192に加えて、固定保持部材810および回転保持部材820を含む。固定保持部材810は、2本の支柱部811および連結部812から構成される。連結部812は、水平方向に延びるように設けられている。2本の支柱部811は、連結部812の両端部から上方に延びるように設けられている。連結部812は、2本の支柱部811の下端部を連結するとともに、ステージ140の上面141s上に設置可能に構成される。 FIG. 46 is a diagram showing a configuration example of a rotating unit 190 according to another embodiment. As shown in FIG. 46( a ), the rotation unit 190 of this example includes a fixed holding member 810 and a rotary holding member 820 in addition to the holding portion 191 and the rotation driving portion 192 . The fixed holding member 810 is composed of two strut portions 811 and a connecting portion 812 . The connecting portion 812 is provided so as to extend in the horizontal direction. The two pillars 811 are provided so as to extend upward from both ends of the connecting portion 812 . The connecting portion 812 connects the lower end portions of the two supporting columns 811 and is configured to be installable on the upper surface 141 s of the stage 140 .

回転保持部材820は、固定保持部材810の2本の支柱部811の間に設けられている。回転保持部材820は、2本の支柱部821および連結部822から構成される。一方の支柱部821の各々の一端は、固定保持部材810の一方の支柱部811に対して、予め定められた回転軸830周りで回転可能に支持されている。他方の支柱部821の各々の一端は、固定保持部材810の他方の支柱部811に対して、予め定められた回転軸830周りで回転可能に支持されている。2本の支柱部821の他端は連結部822により連結されている。連結部822に回転駆動部192が取り付けられている。 The rotary holding member 820 is provided between the two support columns 811 of the fixed holding member 810 . The rotation holding member 820 is composed of two supporting columns 821 and a connecting portion 822 . One end of each of the one strut portions 821 is rotatably supported by one of the strut portions 811 of the fixed holding member 810 around a predetermined rotating shaft 830 . One end of each of the other strut portions 821 is rotatably supported by the other strut portion 811 of the fixed holding member 810 around a predetermined rotation axis 830 . The other ends of the two strut portions 821 are connected by a connecting portion 822 . A rotation driving portion 192 is attached to the connecting portion 822 .

上記の構成によれば、固定保持部材810がステージ140上に固定された状態で、図46(b)に示すように、回転保持部材820を固定保持部材810に対して回転させることができる。それにより、保持部191により保持される測定対象物Sについて、調整可能な姿勢の自由度を向上させることができる。 According to the above configuration, while the fixed holding member 810 is fixed on the stage 140, the rotary holding member 820 can be rotated with respect to the fixed holding member 810 as shown in FIG. 46(b). As a result, the degree of freedom of the adjustable posture of the measuring object S held by the holding portion 191 can be improved.

(10)上記実施の形態に係る測定部100においては、ステージ140の上面141sと受光部120との間の位置関係を調整するために、ステージ駆動部146が受光部120に対してステージ140の上面141sを移動させる。本発明は、これに限定されない。 (10) In the measuring unit 100 according to the above embodiment, the stage driving unit 146 moves the stage 140 relative to the light receiving unit 120 in order to adjust the positional relationship between the upper surface 141s of the stage 140 and the light receiving unit 120. 141 s of upper surfaces are moved. The invention is not limited to this.

例えば、測定部100は、ステージ140の上面141sと受光部120との間の位置関係を調整するために、ステージ140の上面141sに対して、光学系支持体992を移動可能に支持する構成を有してもよい。また、光学系支持体992を移動させる駆動部を有してもよい。 For example, the measurement unit 100 has a configuration in which the optical system supporter 992 is movably supported on the top surface 141s of the stage 140 in order to adjust the positional relationship between the top surface 141s of the stage 140 and the light receiving unit 120. may have. Further, a driving section for moving the optical system support 992 may be provided.

(11)上記実施の形態に係る形状測定装置500においては、第1および第2の校正機能で用いられる第1のマーカM1および第2のマーカM2は、それぞれ円筒状の外周面を有するが、本発明はこれに限定されない。 (11) In the shape measuring apparatus 500 according to the above embodiment, the first marker M1 and the second marker M2 used in the first and second calibration functions each have a cylindrical outer peripheral surface. The invention is not limited to this.

第1のマーカM1および第2のマーカM2として、正多角形状の断面を有する軸部材を用いてもよい。この場合、軸部材の断面を表す正多角形の頂点の数は、4よりも大きいことが好ましい。 A shaft member having a regular polygonal cross section may be used as the first marker M1 and the second marker M2. In this case, the number of vertices of the regular polygon representing the cross section of the shaft member is preferably greater than four.

(12)上記実施の形態に係る形状測定装置500においては、測定対象物Sにパターン光が複数回照射され、測定対象物Sが撮像される。撮像により得られた複数の画像データに基づいて三次元形状データが生成される。しかしながら、本発明は上記の例に限定されない。 (12) In the shape measuring apparatus 500 according to the above embodiment, the measurement object S is irradiated with the pattern light a plurality of times, and the measurement object S is imaged. Three-dimensional shape data is generated based on a plurality of image data obtained by imaging. However, the invention is not limited to the above examples.

三次元形状データは、パターン光の照射を伴う撮像に代えて、他の撮像方法により得られる画像データに基づいて生成されてもよい。例えば、複数の受光部120で測定対象物Sを撮像するかまたは複数の位置から測定対象物Sを撮像することにより、ステレオ法によって三次元形状データが生成されてもよい。 The three-dimensional shape data may be generated based on image data obtained by another imaging method instead of imaging with irradiation of pattern light. For example, three-dimensional shape data may be generated by a stereo method by imaging the measurement object S with a plurality of light receiving units 120 or by imaging the measurement object S from a plurality of positions.

(13)上記実施の形態に係る形状測定装置500においては、測定対象物Sを載置するためおよび回転ユニット190を支持するためにステージ140が設けられるが、本発明はこれに限定されない。回転ユニット190により保持された測定対象物Sについて形状測定を行うことができるのであれば、ステージ140は設けられなくてもよい。この場合、回転ユニット190は、例えば図3の台座990に取り付けられる。 (13) In shape measuring apparatus 500 according to the above-described embodiment, stage 140 is provided for placing measurement object S and for supporting rotation unit 190, but the present invention is not limited to this. The stage 140 may not be provided if the shape of the measurement object S held by the rotation unit 190 can be measured. In this case, the rotating unit 190 is attached to the pedestal 990 of FIG. 3, for example.

(14)上記実施の形態に係る形状測定装置500は、第1、第2および第3の校正機能を有するが、本発明はこれに限定されない。形状測定装置500は、第1、第2および第3の校正機能のうち少なくとも一部を有しなくてもよい。 (14) The shape measuring apparatus 500 according to the above embodiment has first, second and third calibration functions, but the present invention is not limited to this. Shape measuring device 500 may not have at least some of the first, second and third calibration functions.

(15)上記実施の形態に係る形状測定処理においては、回転ユニット190による回転を伴う測定対象物Sの形状測定を行う場合に、測定領域設定処理により複数の測定角度位置が設定されるが、本発明はこれに限定されない。 (15) In the shape measurement process according to the above embodiment, when performing shape measurement of the object S to be measured that is rotated by the rotation unit 190, a plurality of measurement angular positions are set by the measurement area setting process. The invention is not limited to this.

回転ユニット190による回転を伴う測定対象物Sの形状測定を行う場合に、測定領域設定処理において、例えば使用者により指定される一の測定角度位置が設定可能であってもよい。 When performing shape measurement of the measurement object S with rotation by the rotation unit 190, in the measurement area setting process, for example, one measurement angle position designated by the user may be settable.

この場合、使用者は、操作部250を操作することにより、例えば一の測定角度位置を指定するとともに一の測定角度位置に対応する形状測定の指令をCPU210に与える。そこで、CPU210は、一の測定角度位置に対応する形状測定の指令に応答して、指定された一の角度位置に対応する三次元形状データが生成されるように、形状測定装置500の各構成要素を制御する。これにより、使用者は、測定対象物Sの形状について所望の態様で三次元形状データを取得することができる。 In this case, the user operates the operation unit 250 to specify, for example, one measurement angular position and give the CPU 210 a shape measurement command corresponding to the one measurement angular position. Therefore, the CPU 210 controls each component of the shape measuring device 500 so that three-dimensional shape data corresponding to one designated angular position is generated in response to a shape measurement command corresponding to one measurement angular position. control elements. Thereby, the user can acquire the three-dimensional shape data of the shape of the measurement object S in a desired manner.

(16)上記実施の形態に係る形状測定装置500においては、回転を伴う測定対象物Sの形状測定を行うための測定領域の設定時に、撮像により得られた測定対象物Sの画像に基づいて存在領域が検出されるが、本発明はこれに限定されない。存在領域は、例えば予め記憶装置240に記憶された測定対象物Sの寸法情報(例えばCADデータ等)、あるいは入力された寸法情報をCPU210が取得することにより、取得された寸法情報に基づいて検出されてもよい。 (16) In the shape measuring apparatus 500 according to the above embodiment, when setting the measurement region for performing shape measurement of the measurement object S that involves rotation, based on the image of the measurement object S obtained by imaging, A presence area is detected, but the invention is not so limited. The existence area is detected based on the dimension information (for example, CAD data, etc.) of the measurement object S stored in advance in the storage device 240, or the input dimension information obtained by the CPU 210. may be

(17)上記実施の形態では、回転を伴う測定対象物Sの形状測定を行うための測定領域の設定時に、各測定角度位置にあるときの測定対象物Sの存在領域が検出される。また、測定対象物Sの存在領域に基づいて各測定角度位置に対応する複数の測定領域が設定される。本発明はこの例に限定されない。 (17) In the above embodiment, when setting the measurement area for performing the shape measurement of the measurement object S involving rotation, the existence area of the measurement object S at each measurement angular position is detected. Also, based on the existence area of the measurement object S, a plurality of measurement areas corresponding to each measurement angular position are set. The invention is not limited to this example.

上記実施の形態に係る形状測定装置500においては、回転を伴う測定対象物Sの形状測定を行うための測定領域の設定時に、各測定角度位置にあるときのX方向およびY方向における測定対象物Sの幅が検出されてもよい。この場合、検出された幅に基づいて各測定角度位置に対応する複数の測定領域が設定されてもよい。 In the shape measuring apparatus 500 according to the above embodiment, when setting the measurement area for performing the shape measurement of the measurement object S that involves rotation, the measurement object in the X direction and the Y direction at each measurement angular position The width of S may be detected. In this case, a plurality of measurement regions corresponding to each measurement angular position may be set based on the detected width.

[11]請求項の各構成要素と実施の形態の各要素との対応関係
以下、請求項の各構成要素と実施の形態の各要素との対応の例について説明する。上記実施の形態では、形状測定装置500が三次元形状測定装置の例であり、保持部191が保持部の例であり、回転軸RAが回転軸の例であり、回転駆動部192が回転駆動部の例であり、回転ユニット190が回転ユニットの例である。
[11] Correspondence between each constituent element of the claims and each element of the embodiment Hereinafter, an example of correspondence between each constituent element of the claim and each element of the embodiment will be described. In the above embodiment, the shape measuring device 500 is an example of a three-dimensional shape measuring device, the holding section 191 is an example of a holding section, the rotation axis RA is an example of a rotation axis, and the rotation drive section 192 is a rotation drive. , and the rotation unit 190 is an example of the rotation unit.

また、受光部120およびCPU210が撮像部、検出部およびデータ取得部の例であり、XYステージ141およびステージ駆動部146が並進駆動部の例であり、CPU210が設定部および制御部の例であり、ROM220、作業用メモリ230および記憶装置240のいずれかが記憶部の例であり、表示部400が表示部の例である。 Further, the light receiving unit 120 and the CPU 210 are examples of the imaging unit, the detection unit and the data acquisition unit, the XY stage 141 and the stage driving unit 146 are examples of the translation driving unit, and the CPU 210 is an example of the setting unit and the control unit. , ROM 220, work memory 230, and storage device 240 are examples of the storage unit, and the display unit 400 is an example of the display unit.

また、CPU210の三次元形状データ生成部21gおよびデータ合成部21hがデータ生成部の例であり、レンズ123Bが第一光学系の例であり、カメラ121Bが第一カメラの例であり、レンズ123Aが第二光学系の例であり、カメラ121Aが第二カメラの例である。 The three-dimensional shape data generation unit 21g and the data synthesis unit 21h of the CPU 210 are examples of the data generation unit, the lens 123B is an example of the first optical system, the camera 121B is an example of the first camera, and the lens 123A. is an example of the second optical system, and the camera 121A is an example of the second camera.

また、受光部120およびCPU210が検出部の例であり、操作部250が操作部の例であり、Zステージ142およびステージ駆動部146が垂直駆動部の例であり、ステージ140がステージの例であり、ステージ140の上面141sが上面の例であり、投光部110A,110Bがプロジェクタの例であり、投光部110Aが第1の投光装置の例であり、投光部110Bが第2の投光装置の例であり、測定空間101が第1の投光装置によるパターン光の照射領域と、第2の投光装置によるパターン光の照射領域と、撮像部の撮像領域とが重複する空間の例である。 Further, the light receiving unit 120 and the CPU 210 are examples of the detection unit, the operation unit 250 is an example of the operation unit, the Z stage 142 and the stage driving unit 146 are examples of the vertical driving unit, and the stage 140 is an example of the stage. The upper surface 141s of the stage 140 is an example of the upper surface, the light projecting units 110A and 110B are examples of projectors, the light projecting unit 110A is an example of a first light projecting device, and the light projecting unit 110B is an example of a second light projecting device. In the measurement space 101, the pattern light irradiation area by the first light projection apparatus, the pattern light irradiation area by the second light projection apparatus, and the imaging area of the imaging unit overlap. It is an example of space.

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

21a…移動制御部,21b…回転制御部,21c…撮像制御部,21d…領域設定部,21e…設定画面提示部,21f…回転角度設定部,21g…三次元形状データ生成部,21h…データ合成部,21i…データ補正部,21j…着脱判定部,21k…表示制御部,91…回転支持軸,92,93…保持片,92e,93e,es1,es2…端面,92h,93h…孔,94…棒状部材,100…測定部,101…測定空間,110A,110B…投光部,111…測定光源,112…パターン生成部,112S…パターン出射面,113,114,115,122,123A,123B…レンズ,116,125A,125B…絞り,117,118…ミラー,120…受光部,120F…焦点面,121a…撮像素子,121A,121B…カメラ,124…ハーフミラー,130…照明光出力部,140…ステージ,141…XYステージ,141c,194…コネクタ,141h…ねじ孔,141s…上面,142…Zステージ,145…ステージ操作部,146…ステージ駆動部,150,310…制御基板,160…ヘッドケーシング,190…回転ユニット,191…保持部,192…回転駆動部,193…ケーブル,195…保持ダイヤル,199…取付部,200…PC,210…CPU,220…ROM,230…作業用メモリ,240…記憶装置,250…操作部,300…制御部,320…照明光源,400…表示部,401…測定基本画面,402~409…領域設定画面,410…主表示領域,411…水平移動操作ウィンドウ,412…移動ボタン,413…回転操作ウィンドウ,414…原点ボタン,415…正回転ボタン,416…逆回転ボタン,417…保持部マーク,418…基準姿勢マーク,419…測定角度位置マーク,420…副表示領域,421…領域設定ボタン,422…編集ボタン,423…領域クリアボタン,424…視野確認画像,425…測定開始ボタン,426…除外ボタン,427…OKボタン,428…キャンセルボタン,429…上面除去ボタン,431…回転オンボタン,432…回転オフボタン,434…箱全周ボタン,435…箱部分ボタン,436…軸ボタン,437…回転詳細ボタン,441…角度位置一覧,451…基準姿勢入力枠,452…基準姿勢登録ボタン,453…角度条件設定部,454…角度ピッチ設定部,455…測定回数設定部,456…除外角度入力枠,457…合成要否チェックボックス,463…第1の校正チェックボックス,464…第2の校正チェックボックス,465…マーカ反転チェックボックス,471…範囲ボタン,472…上限マーク,473…下限マーク,481…範囲設定ウィンドウ,482…上限入力部,483…下限入力部,484…幅入力部,485…中心入力部,486…自動設定ボタン,500…形状測定装置,810…固定保持部材,811,821…支柱部,812,822…連結部,820…回転保持部材,830,RA…回転軸,990…台座,991…支柱,992…光学系支持体,DRA…設計回転軸,IMa,IMb…領域設定マップ画像,M1…第1のマーカ,M2…第2のマーカ,M2a…径大部,M2b…径小部,M2i…マーカ画像,MM,MMa,MMb…単位領域枠,pp…電源部,rθ…角度範囲,RD…基準距離,RM…可動ストローク範囲,ROA,TOA1,TOA2…光軸,S…測定対象物,SI…対象物画像,sm…ステッピングモータ,ss1,ss2…側面,sv…ずれ,WD…作動距離 21a movement control unit 21b rotation control unit 21c imaging control unit 21d area setting unit 21e setting screen presentation unit 21f rotation angle setting unit 21g three-dimensional shape data generation unit 21h data Synthesis unit 21i Data correction unit 21j Detachment determination unit 21k Display control unit 91 Rotation support shaft 92, 93 Holding piece 92e, 93e, es1, es2 End face 92h, 93h Hole, 94... Rod-shaped member 100... Measuring part 101... Measuring space 110A, 110B... Light projecting part 111... Measuring light source 112... Pattern generating part 112S... Pattern emitting surface 113, 114, 115, 122, 123A, DESCRIPTION OF SYMBOLS 123B... Lens, 116, 125A, 125B... Diaphragm, 117, 118... Mirror, 120... Light-receiving part, 120F... Focal plane, 121a... Imaging element, 121A, 121B... Camera, 124... Half mirror, 130... Illumination light output part , 140... Stage, 141... XY stage, 141c, 194... Connector, 141h... Screw hole, 141s... Upper surface, 142... Z stage, 145... Stage operating unit, 146... Stage driving unit, 150, 310... Control board, 160 Head casing 190 Rotating unit 191 Holding part 192 Rotary drive part 193 Cable 195 Holding dial 199 Mounting part 200 PC 210 CPU 220 ROM 230 For work Memory 240 Storage device 250 Operation unit 300 Control unit 320 Illumination light source 400 Display unit 401 Basic measurement screen 402 to 409 Area setting screen 410 Main display area 411 Horizontal Movement operation window 412 Movement button 413 Rotation operation window 414 Origin button 415 Forward rotation button 416 Reverse rotation button 417 Holding part mark 418 Reference attitude mark 419 Measurement angle position mark , 420... Sub-display area, 421... Area setting button, 422... Edit button, 423... Area clear button, 424... View confirmation image, 425... Measurement start button, 426... Exclude button, 427... OK button, 428... Cancel button 429 Top face removal button 431 Rotation ON button 432 Rotation OFF button 434 Box whole circumference button 435 Box part button 436 Axis button 437 Rotation detail button 441 Angle position list 451 ... reference attitude input frame, 452 ... reference attitude registration button, 453 ... angle condition setting section, 454 ... angle pitch setting section, 455 ... Number of measurement setting unit 456 Excluded angle input frame 457 Synthesis necessity check box 463 First calibration check box 464 Second calibration check box 465 Marker inversion check box 471 Range button 472... Upper limit mark, 473... Lower limit mark, 481... Range setting window, 482... Upper limit input section, 483... Lower limit input section, 484... Width input section, 485... Center input section, 486... Automatic setting button, 500... Shape measurement Apparatus 810 Fixed holding member 811, 821 Strut part 812, 822 Connecting part 820 Rotating holding member 830, RA Rotating shaft 990 Pedestal 991 Strut 992 Optical system support, DRA... Design rotation axis, IMa, IMb... Area setting map image, M1... First marker, M2... Second marker, M2a... Large diameter part, M2b... Small diameter part, M2i... Marker image, MM, MMa, MMb: unit area frame, pp: power source, rθ: angle range, RD: reference distance, RM: movable stroke range, ROA, TOA1, TOA2: optical axis, S: object to be measured, SI: object image, sm: Stepping motor, ss1, ss2... Side surface, sv... Deviation, WD... Working distance

Claims (15)

測定対象物の三次元形状を示す三次元形状データを生成する三次元形状測定装置であって、
前記測定対象物を保持する保持部と前記保持部をX軸方向に延びる回転軸の周りに、第一の回転角度と第二の回転角度に回転させる回転駆動部とを含む回転ユニットと、
前記X軸と直交するZ軸方向に延びる光軸を有し、前記保持部により保持された前記測定対象物を撮像して前記測定対象物の画像を示す三次元形状データ生成用の画像データを生成するための撮像部と、
前記X軸および前記Z軸と直交するY軸方向において、前記撮像部の撮像視野が順次移動するように前記回転ユニットを前記撮像部に対して相対的に移動させる並進駆動部と、
前記第一の回転角度に前記測定対象物を回転させた状態で前記撮像部から見た前記Y軸方向に延びる前記測定対象物の幅に基づいて、当該Y軸方向に並ぶ複数の第一測定領域を設定し、前記第二の回転角度に前記測定対象物を回転させた状態で前記撮像部から見た前記Y軸方向に延びる前記測定対象物の幅に基づいて、当該Y軸方向に並ぶ複数の第二測定領域を設定する設定部と、
前記第一の回転角度に前記測定対象物を回転させて、前記撮像部の撮像視野を前記複数の第一測定領域に順次移動させて前記測定対象物の撮像を行い、続いて、前記第二の回転角度に前記測定対象物を回転させて、前記撮像部の撮像視野を前記複数の第二測定領域に順次移動させて前記測定対象物の撮像を行うように、前記並進駆動部、前記回転駆動部、および前記撮像部を制御する制御部とを備える、三次元形状測定装置。
A three-dimensional shape measuring device that generates three-dimensional shape data representing the three-dimensional shape of an object to be measured,
a rotation unit including a holding section that holds the object to be measured and a rotation driving section that rotates the holding section to a first rotation angle and a second rotation angle around a rotation axis extending in the X-axis direction;
Image data for generating three-dimensional shape data showing an image of the measurement object, which has an optical axis extending in the Z-axis direction orthogonal to the X-axis and is held by the holding unit, by imaging the measurement object an imaging unit for generating
a translation drive unit that moves the rotation unit relative to the imaging unit so that the imaging field of the imaging unit is sequentially moved in the Y-axis direction orthogonal to the X-axis and the Z-axis;
A plurality of first measurements arranged in the Y-axis direction based on the width of the measurement object extending in the Y-axis direction viewed from the imaging unit while the measurement object is rotated by the first rotation angle. A region is set, and arranged in the Y-axis direction based on the width of the measurement object extending in the Y-axis direction as seen from the imaging unit in a state where the measurement object is rotated to the second rotation angle. a setting unit for setting a plurality of second measurement regions;
The object to be measured is rotated to the first rotation angle, the imaging field of view of the imaging unit is sequentially moved to the plurality of first measurement regions, and the object to be measured is imaged. and the imaging field of the imaging unit is sequentially moved to the plurality of second measurement regions to capture an image of the measurement object. A three-dimensional shape measuring apparatus, comprising: a drive unit; and a control unit that controls the imaging unit.
前記設定部が設定した、前記第一の回転角度と前記複数の第一測定領域とを関連付けた設定、および前記第二の回転角度と前記複数の第二測定領域を関連付けた設定を記憶する記憶部をさらに備え、
前記制御部は、前記記憶部に記憶された設定に基づいて、前記並進駆動部、前記回転駆動部、および前記撮像部を制御する、請求項1記載の三次元形状測定装置。
A memory that stores the setting that associates the first rotation angle with the plurality of first measurement regions and the setting that associates the second rotation angle with the plurality of second measurement regions, which are set by the setting unit. further comprising the
2. The three-dimensional shape measuring apparatus according to claim 1, wherein said control section controls said translation drive section, said rotation drive section, and said imaging section based on settings stored in said storage section.
前記第一の回転角度および前記第二の回転角度のそれぞれにおいて前記Y軸方向における前記測定対象物の存在領域を検出する検出部をさらに備え、
前記設定部は、前記検出部が検出した前記存在領域の幅に基づいて、当該存在領域の全体を撮像するために必要な前記Y軸方向に並ぶ前記第一測定領域の数と前記第二測定領域の数とを自動的に設定する、請求項1または2記載の三次元形状測定装置。
further comprising a detection unit that detects an existence area of the measurement object in the Y-axis direction at each of the first rotation angle and the second rotation angle,
Based on the width of the existence area detected by the detection unit, the setting unit determines the number of the first measurement areas arranged in the Y-axis direction necessary for capturing an image of the entire existence area and the second measurement area. 3. The three-dimensional shape measuring apparatus according to claim 1, wherein the number of regions is automatically set.
前記検出部により検出された前記測定対象物の存在領域に基づいて設定された前記複数の第一測定領域と前記複数の第二測定領域とを調整するための設定画面を表示する表示部をさらに備え、
前記設定部は、使用者からの指示を受け付けて、前記設定画面上で前記Y軸方向に延びる前記第一測定領域と前記第二測定領域の数を拡張または縮小可能に構成された、請求項3記載の三次元形状測定装置。
a display unit configured to display a setting screen for adjusting the plurality of first measurement regions and the plurality of second measurement regions set based on the existence region of the measurement object detected by the detection unit; prepared,
The setting unit is configured to receive an instruction from a user and expand or reduce the number of the first measurement area and the second measurement area extending in the Y-axis direction on the setting screen. 3. The three-dimensional shape measuring device according to 3.
前記制御部は、前記第一の回転角度および前記第二の回転角度のそれぞれにおいて、前記測定対象物を前記撮像部に対して前記X軸方向および前記Y軸方向に相対的に移動して複数回撮像して前記測定対象物の全体が撮像されたマップ画像を生成するように、前記撮像部、前記並進駆動部および前記回転駆動部を制御し、
前記表示部は、前記設定画面上に前記マップ画像を表示するとともに、前記設定部により設定された前記複数の第一測定領域と前記複数の第二測定領域とを、前記マップ画像上に重畳して表示し、
前記三次元形状測定装置は、前記複数の第一測定領域および前記複数の第二測定領域にそれぞれ対応する複数の三次元形状データを生成するとともに、生成された複数の三次元形状データを合成し、前記測定対象物全体の三次元形状データを生成するデータ生成部とをさらに備える、請求項4記載の三次元形状測定装置。
The control unit relatively moves the object to be measured in the X-axis direction and the Y-axis direction with respect to the imaging unit at each of the first rotation angle and the second rotation angle. controlling the imaging unit, the translation driving unit, and the rotation driving unit so as to generate a map image in which the entire measurement object is imaged by imaging repeatedly;
The display unit displays the map image on the setting screen, and superimposes the plurality of first measurement regions and the plurality of second measurement regions set by the setting unit on the map image. and
The three-dimensional shape measuring device generates a plurality of three-dimensional shape data respectively corresponding to the plurality of first measurement regions and the plurality of second measurement regions, and synthesizes the generated plurality of three-dimensional shape data. 5. The three-dimensional shape measuring apparatus according to claim 4, further comprising: a data generator for generating three-dimensional shape data of the entire measurement object.
前記撮像部は、
第一の倍率で光を結像させる第一光学系と、
前記第一光学系で結像した光を受光する第一カメラと、
前記第一の倍率よりも低い第二の倍率で光を結像させる第二光学系と、
前記第二光学系で結像した光を受光する第二カメラとを含み、
前記マップ画像は、前記第二の倍率で前記測定対象物の全体を撮像することにより生成され、
前記データ生成部は、前記複数の第一測定領域および前記複数の第二測定領域を前記第一の倍率で撮像して生成した複数の前記画像データに基づいて前記三次元形状データを生成する、請求項5記載の三次元形状測定装置。
The imaging unit is
a first optical system that forms an image of light at a first magnification;
a first camera that receives light imaged by the first optical system;
a second optical system that forms an image of light at a second magnification lower than the first magnification;
a second camera that receives the light imaged by the second optical system,
the map image is generated by imaging the entire measurement object at the second magnification;
The data generation unit generates the three-dimensional shape data based on the plurality of image data generated by imaging the plurality of first measurement regions and the plurality of second measurement regions at the first magnification. The three-dimensional shape measuring device according to claim 5.
前記回転駆動部は、前記保持部を前記第一の回転角度および前記第二の回転角度を含む複数の異なる回転角度に順次回転させることが可能に構成され、
前記設定部は、前記測定対象物が前記複数の異なる回転角度の各々にある状態で前記撮像部から見た前記Y軸方向に延びる前記測定対象物の幅に基づいて前記Y軸方向に並ぶ複数の測定領域を設定可能に構成され、
前記制御部は、前記複数の異なる回転角度の各々に前記測定対象物を回転させて、前記撮像部の撮像視野を当該回転角度に対応する前記複数の測定領域に順次移動させて前記測定対象物の撮像を行うように前記並進駆動部、前記回転駆動部、および前記撮像部を制御し、
前記三次元形状測定装置は、
前記複数の異なる回転角度のそれぞれにおいて前記Y軸方向における前記測定対象物の存在領域を前記測定対象物の幅として検出する検出部と、
前記検出部により検出された前記測定対象物の存在領域に基づいて回転角度ごとに設定された測定領域を調整するための設定画面を表示する表示部と、
前記測定対象物が箱形状であるか軸形状であるかを選択するための操作部とをさらに備え、
前記表示部は、前記操作部によって箱形状が選択された際に、箱形状の測定対象物の測定に関する設定を行うための第一設定画面を前記設定画面として表示し、前記操作部によって軸形状が選択された際に、軸形状の測定対象物の測定に関する設定を行うための第二設定画面を前記設定画面として表示する、請求項1または2記載の三次元形状測定装置。
The rotation drive section is configured to be capable of sequentially rotating the holding section to a plurality of different rotation angles including the first rotation angle and the second rotation angle,
The setting unit is arranged in the Y-axis direction based on the width of the measurement object extending in the Y-axis direction as viewed from the imaging unit when the measurement object is at each of the plurality of different rotation angles. is configured to be able to set the measurement area of
The control unit rotates the measurement object to each of the plurality of different rotation angles, sequentially moves the imaging field of view of the imaging unit to the plurality of measurement regions corresponding to the rotation angles, and rotates the measurement object. controlling the translation drive unit, the rotation drive unit, and the imaging unit so as to perform imaging of
The three-dimensional shape measuring device
a detection unit that detects the presence area of the measurement object in the Y-axis direction as a width of the measurement object at each of the plurality of different rotation angles;
a display unit for displaying a setting screen for adjusting the measurement area set for each rotation angle based on the existence area of the measurement object detected by the detection unit;
an operation unit for selecting whether the object to be measured is box-shaped or shaft-shaped,
The display unit displays, as the setting screen, a first setting screen for performing settings related to measurement of a box-shaped measurement object when a box shape is selected by the operation unit. 3. The three-dimensional shape measuring apparatus according to claim 1, wherein, when is selected, a second setting screen for setting the measurement of the shaft-shaped object to be measured is displayed as the setting screen.
前記操作部は、当該操作部により箱形状が選択されることにより前記表示部に前記第一設定画面が表示された状態で、離散的な前記複数の異なる回転角度を選択可能に構成され、
前記表示部は、前記第一設定画面において、前記操作部により選択された前記複数の異なる回転角度のそれぞれにおいて撮像された前記測定対象物の画像上に、前記検出部により検出されて設定された前記複数の測定領域を重畳して表示する、請求項7記載の三次元形状測定装置。
The operation unit is configured to be able to select a plurality of different discrete rotation angles in a state where the first setting screen is displayed on the display unit by selecting a box shape with the operation unit,
The display unit is set on the image of the measurement object captured at each of the plurality of different rotation angles selected by the operation unit on the first setting screen as detected by the detection unit. 8. The three-dimensional shape measuring apparatus according to claim 7, wherein the plurality of measurement areas are displayed in a superimposed manner.
前記表示部は、前記操作部により軸形状が選択されることにより前記第二設定画面を表示する際に、当該第二設定画面において、前記複数の異なる回転角度のうち特定の一の回転角度で前記撮像部により撮像された前記測定対象物の画像を表示し、
前記設定部は、前記特定の一の回転角度の指定を使用者から受け付ける、請求項7または8記載の三次元形状測定装置。
When the second setting screen is displayed by selecting the shaft shape by the operation unit, the display unit is configured to display the second setting screen at a specific one rotation angle among the plurality of different rotation angles. displaying an image of the object to be measured captured by the imaging unit;
9. The three-dimensional shape measuring apparatus according to claim 7, wherein said setting unit receives designation of said one specific rotation angle from a user.
前記設定部は、前記操作部によって箱形状が選択された際に、予め定められた角度の整数倍の角度ピッチで、前記複数の異なる回転角度を設定する、請求項7~9のいずれか一項に記載の三次元形状測定装置。 10. The setting unit according to any one of claims 7 to 9, wherein, when the box shape is selected by the operation unit, the plurality of different rotation angles are set at angular pitches that are integral multiples of a predetermined angle. The three-dimensional shape measuring device according to the item. 前記設定部は、前記操作部によって軸形状が選択された際に、軸形状の前記測定対象物を回転させた時に当該測定対象物の全周を測定するために必要な前記複数の異なる回転角度のピッチを、当該測定対象物の径に基づいて自動的に設定し、
前記制御部は、前記設定部により設定された前記回転角度のピッチで前記測定対象物を回転させるように、前記回転駆動部を制御する、請求項7~10のいずれか一項に記載の三次元形状測定装置。
When the shaft shape is selected by the operation unit, the setting unit sets the plurality of different rotation angles necessary to measure the entire circumference of the measurement object when the shaft-shaped measurement object is rotated. automatically set the pitch of based on the diameter of the object to be measured,
The tertiary according to any one of claims 7 to 10, wherein the control unit controls the rotation drive unit so as to rotate the measurement object at the pitch of the rotation angle set by the setting unit. Original shape measuring device.
前記設定部は、前記操作部によって軸形状が選択された際に、前記使用者から前記軸形状の測定対象物を回転させる回転角度のピッチの入力を受け付け、当該回転角度のピッチは、前記測定対象物を回転させた時に当該測定対象物の全周を測定するために必要な数値に制限される、請求項7~11のいずれか一項に記載の三次元形状測定装置。 The setting unit receives input from the user of a rotation angle pitch for rotating the measurement object having the shaft shape when the shaft shape is selected by the operation unit, and the pitch of the rotation angle is used for the measurement. 12. The three-dimensional shape measuring apparatus according to any one of claims 7 to 11, wherein the numerical values are limited to values necessary for measuring the entire circumference of the object to be measured when the object is rotated. 前記複数の第一測定領域に対応する三次元形状データを取得するデータ取得部をさらに備え、
前記設定部は、前記データ取得部により取得された前記複数の第一測定領域に対応する複数の三次元形状データに基づいて、Y軸方向に並ぶ複数の第二測定領域を設定することが可能に構成された、請求項1または2記載の三次元形状測定装置。
further comprising a data acquisition unit that acquires three-dimensional shape data corresponding to the plurality of first measurement regions;
The setting unit can set a plurality of second measurement regions aligned in the Y-axis direction based on the plurality of three-dimensional shape data corresponding to the plurality of first measurement regions acquired by the data acquisition unit. 3. The three-dimensional shape measuring apparatus according to claim 1, wherein the three-dimensional shape measuring apparatus is configured to:
前記回転ユニットと前記撮像部との前記Z軸方向の相対距離を変化させるための垂直駆動部をさらに備え、
前記制御部は、前記第一の回転角度と前記第二の回転角度のそれぞれにおいて前記複数の第一測定領域と前記複数の第二測定領域とを前記相対距離を変化させながら複数回撮像して複数の前記画像データを生成するように前記並進駆動部、前記垂直駆動部、前記回転駆動部及び前記撮像部を制御し、
前記データ生成部は、前記相対距離を変化させながら前記複数の第一測定領域および前記複数の第二測定領域を複数回撮像して生成された複数の画像データに基づいて前記複数の第一測定領域および前記複数の第二測定領域にそれぞれ対応する複数の三次元形状データを生成するとともに、当該生成された複数の三次元形状データを合成し、前記測定対象物の三次元形状データを生成する、請求項5または6記載の三次元形状測定装置。
further comprising a vertical drive unit for changing the relative distance in the Z-axis direction between the rotation unit and the imaging unit;
The control unit captures images of the plurality of first measurement regions and the plurality of second measurement regions at each of the first rotation angle and the second rotation angle a plurality of times while changing the relative distance. controlling the translation drive section, the vertical drive section, the rotation drive section, and the imaging section to generate a plurality of the image data;
The data generator performs the plurality of first measurements based on a plurality of image data generated by imaging the plurality of first measurement regions and the plurality of second measurement regions a plurality of times while changing the relative distance. generating a plurality of three-dimensional shape data respectively corresponding to the region and the plurality of second measurement regions, and synthesizing the generated plurality of three-dimensional shape data to generate the three-dimensional shape data of the measurement object; The three-dimensional shape measuring apparatus according to claim 5 or 6.
前記回転ユニットが取り付けられるステージと、
前記ステージの上面に斜め上方の位置から周期的なパターンを有するパターン光を位相シフトさせつつ複数回照射するプロジェクタとをさらに備え、
前記撮像部は、光軸が前記Z軸に一致するように前記ステージの上方に設けられ、前記プロジェクタから前記回転ユニットにより保持された前記測定対象物にパターン光が照射され、前記測定対象物から反射されるパターン光を受光することにより当該測定対象物を複数回撮像し、当該測定対象物の画像を示す複数の画像データを生成し、
前記プロジェクタは、前記X軸方向に並ぶとともに前記X軸方向に直交する仮想面を挟んで対称に配置された第1および第2の投光装置を含み、
前記第1および第2の投光装置の各々は、前記Y軸に直交しかつ前記X軸および前記Z軸に対してそれぞれ所定の角度で傾斜する光軸を有し、当該投光装置の光軸に沿って前記撮像部の光軸に向かうようにパターン光を出射し、
前記回転ユニットは、前記ステージが前記撮像部に対して予め定められた基準位置にあるときに、前記第1の投光装置によるパターン光の照射領域と、前記第2の投光装置によるパターン光の照射領域と、前記撮像部の撮像領域とが重複する空間から外れた位置に配置されるように設けられる、請求項1~14のいずれか一項に記載の三次元形状測定装置。
a stage on which the rotating unit is attached;
a projector that irradiates the upper surface of the stage with patterned light having a periodic pattern from an obliquely upper position a plurality of times while shifting the phase;
The imaging unit is provided above the stage such that an optical axis thereof coincides with the Z-axis, and pattern light is emitted from the projector onto the measurement object held by the rotation unit. capturing images of the object to be measured a plurality of times by receiving the reflected pattern light to generate a plurality of image data representing images of the object to be measured;
The projector includes first and second projection devices arranged in the X-axis direction and arranged symmetrically with respect to a virtual plane perpendicular to the X-axis direction,
Each of the first and second light projecting devices has an optical axis orthogonal to the Y-axis and inclined at a predetermined angle with respect to the X-axis and the Z-axis, respectively. emitting pattern light along the axis toward the optical axis of the imaging unit;
When the stage is at a predetermined reference position with respect to the imaging section, the rotating unit is configured to: The three-dimensional shape measuring apparatus according to any one of claims 1 to 14, provided so as to be arranged at a position out of a space in which the irradiation region of and the imaging region of the imaging unit overlap.
JP2021063483A 2021-04-02 2021-04-02 Three-dimensional shape measuring apparatus Pending JP2022158516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021063483A JP2022158516A (en) 2021-04-02 2021-04-02 Three-dimensional shape measuring apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021063483A JP2022158516A (en) 2021-04-02 2021-04-02 Three-dimensional shape measuring apparatus

Publications (1)

Publication Number Publication Date
JP2022158516A true JP2022158516A (en) 2022-10-17

Family

ID=83639263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021063483A Pending JP2022158516A (en) 2021-04-02 2021-04-02 Three-dimensional shape measuring apparatus

Country Status (1)

Country Link
JP (1) JP2022158516A (en)

Similar Documents

Publication Publication Date Title
US10508902B2 (en) Three-dimensional measurement device
US9959451B2 (en) Image inspection device, image inspection method and image inspection program
US20170030706A1 (en) Measurement Target Measuring Program, Measurement Target Measuring Method, And Magnifying Observation Device
TWI623724B (en) Shape measuring device, structure manufacturing system, stage system, shape measuring method, structure manufacturing method, shape measuring program, and computer readable recording medium
JP2006276022A (en) Image measuring device
JPH07505958A (en) Coordinate measurement method on workpiece
JP6663807B2 (en) Image measuring device
JP2012159409A (en) Dimension measuring device, dimension measuring method, and program for dimension measuring device
JP5278808B2 (en) 3D shape measuring device
JP2014106094A (en) Shape measurement device
US12013230B2 (en) Three-dimensional shape measuring apparatus
JP6552074B2 (en) Image measuring instrument
JP6736424B2 (en) Three-dimensional measuring device
JP6635892B2 (en) Magnifying observation device
JPH07325623A (en) Method and device for controlling xy stage
JP2022158516A (en) Three-dimensional shape measuring apparatus
JP6799893B2 (en) Three-dimensional measuring device
JP2022158517A (en) Three-dimensional shape measuring apparatus
JP2012093258A (en) Shape measurement device
JP2005172610A (en) Three-dimensional measurement apparatus
JP3744166B2 (en) Infrared microscope
JP5079779B2 (en) Camera calibration method and camera calibration apparatus
JP2017227609A (en) Three-dimensional measurement device and control method of the same
JP6748520B2 (en) Calibration tool manufacturing method and three-dimensional measuring apparatus
JP6928803B2 (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240311