JP2007256188A - Three-dimensional shape measuring system and three-dimensional shape measuring method - Google Patents

Three-dimensional shape measuring system and three-dimensional shape measuring method Download PDF

Info

Publication number
JP2007256188A
JP2007256188A JP2006083430A JP2006083430A JP2007256188A JP 2007256188 A JP2007256188 A JP 2007256188A JP 2006083430 A JP2006083430 A JP 2006083430A JP 2006083430 A JP2006083430 A JP 2006083430A JP 2007256188 A JP2007256188 A JP 2007256188A
Authority
JP
Japan
Prior art keywords
dimensional shape
coordinate system
coordinate
dimensional
shape data
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
JP2006083430A
Other languages
Japanese (ja)
Inventor
Satoshi Suzuki
敏 鈴木
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.)
Pulstec Industrial Co Ltd
Original Assignee
Pulstec Industrial Co Ltd
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 Pulstec Industrial Co Ltd filed Critical Pulstec Industrial Co Ltd
Priority to JP2006083430A priority Critical patent/JP2007256188A/en
Publication of JP2007256188A publication Critical patent/JP2007256188A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a three-dimensional shape measuring system which can measure the three-dimensional shape of an object to be measured, using a simple and small-sized constitution. <P>SOLUTION: The three-dimensional shape measuring system comprises wire devices 20A, 20B, and 20C, respectively which can detect rotation angles θx, θz showing directions where the amount L of drawings of wires 21A, 21B, and 21C to be pulled out, and the same wires 21A, 21B, and 21C are pulled out. Each of tips 21aA, 21aB, and 21aC of the respective wires 21A, 21B, and 21C is connected to the back surface of a three-dimensional shape measuring device 10. A three-dimensional image data processor 43 calculates a coordinate transformation function F<SB>PS</SB>, by using the amount L of drawings of the wires 21A, 21B, and 21C at measurement by the three-dimensional shape measuring device 10 and the rotation angles θx, and θz. The coordinate transformation of the three-dimensional shape data formed for each measuring position is carried out, by using a coordinate transformation function F<SB>CP</SB>stored beforehand and the coordinate transformation function F<SB>PS</SB>calculated. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、3次元形状測定装置により複数の異なる位置で測定した測定対象物の各座標系における3次元形状データ群を1つの基準座標系における3次元形状データ群に変換して、同測定対象物の3次元形状を任意の方向から見た形状に表示させることが可能な3次元形状測定システムおよび3次元形状測定方法に関する。   The present invention converts a three-dimensional shape data group in each coordinate system of a measurement object measured at a plurality of different positions by a three-dimensional shape measurement apparatus into a three-dimensional shape data group in one reference coordinate system, and The present invention relates to a three-dimensional shape measurement system and a three-dimensional shape measurement method capable of displaying a three-dimensional shape of an object in a shape viewed from an arbitrary direction.

従来から、測定対象の物体に対し測定位置が移動される3次元形状測定装置により、測定対象物の3次元形状を複数の異なる位置から測定して各測定位置ごとの3次元形状データを合成し、測定対象物の立体形状を任意の方向から見て表示できるようにした3次元形状測定システムはよく知られている。例えば、下記特許文献1に記載の3次元形状測定システムにおいては、複数のアームを互いに可動的に連結して構成される支持機構の先端部に測定対象物の3次元形状を測定する3次元形状測定装置が取り付けられている。そして、作業者は、支持機構の可動範囲内において3次元形状測定装置を複数の位置に移動させ、各位置ごとに測定対象物の測定を行う。
特開2004−257927号公報
Conventionally, a three-dimensional shape measuring apparatus in which a measurement position is moved with respect to an object to be measured measures a three-dimensional shape of the measurement target from a plurality of different positions and synthesizes three-dimensional shape data for each measurement position. A three-dimensional shape measurement system that can display a three-dimensional shape of a measurement object when viewed from an arbitrary direction is well known. For example, in the three-dimensional shape measurement system described in Patent Document 1 below, a three-dimensional shape that measures the three-dimensional shape of an object to be measured at the tip of a support mechanism configured by movably connecting a plurality of arms to each other. A measuring device is attached. Then, the operator moves the three-dimensional shape measuring apparatus to a plurality of positions within the movable range of the support mechanism, and measures the measurement object for each position.
JP 2004-257927 A

この場合、各測定位置ごとに3次元形状測定装置によって測定された測定対象物の3次元形状を表す3次元形状データは、支持機構の先端部に関する座標系を介して基準座標系による3次元形状データに座標変換される。支持機構の先端部に関する座標系は、支持機構の先端部に取り付けられた3次元形状測定装置の基準座標系に対する座標軸原点の位置および座標軸の向きを特定するための座標系である。この支持機構の先端部に関する座標系の基準座標系に対する原点の位置および座標軸の向きは、支持機構を構成する各アームの長さ、各アーム間の角度および各アーム間のねじれ角などを用いて検出される。   In this case, the three-dimensional shape data representing the three-dimensional shape of the measurement object measured by the three-dimensional shape measuring device at each measurement position is obtained by using the reference coordinate system via the coordinate system related to the tip of the support mechanism. Coordinates are converted to data. The coordinate system related to the tip of the support mechanism is a coordinate system for specifying the position of the coordinate axis origin and the direction of the coordinate axis with respect to the reference coordinate system of the three-dimensional shape measuring apparatus attached to the tip of the support mechanism. The position of the origin and the direction of the coordinate axis with respect to the reference coordinate system of the coordinate system related to the tip of the support mechanism are determined by using the length of each arm constituting the support mechanism, the angle between the arms, the twist angle between the arms, and the like. Detected.

しかしながら、このような3次元形状測定システムにおいては、3次元形状測定装置を支持する支持機構が大型かつ複雑な構成となっているため、3次元形状測定システムの構成を大型かつ複雑化するという問題がある。すなわち、3次元形状測定装置を支持する支持機構は、基準座標系に対する3次元形状測定装置の位置および向きを正確に特定するため精度よく製作する必要があるとともに、3次元形状測定装置を安定的に支持するための剛性を確保する必要があるため、構成が大型かつ複雑となる。また、3次元形状測定装置の可動範囲は測定対象物の大きさに応じて設定されるため、形状の大きな測定対象物を測定する場合には可動範囲の広い支持機構を用意しなければならない。この場合、可動範囲が広くなるほど支持機構の構成がより大型かつ複雑化して3次元形状測定システムの構成がさらに大型かつ複雑化するという問題がある。   However, in such a three-dimensional shape measurement system, since the support mechanism for supporting the three-dimensional shape measurement apparatus has a large and complicated configuration, there is a problem that the configuration of the three-dimensional shape measurement system is large and complicated. There is. In other words, the support mechanism for supporting the three-dimensional shape measuring apparatus needs to be manufactured with high accuracy in order to accurately specify the position and orientation of the three-dimensional shape measuring apparatus with respect to the reference coordinate system, and the three-dimensional shape measuring apparatus is stable. Since it is necessary to ensure the rigidity for supporting it, a structure becomes large and complicated. In addition, since the movable range of the three-dimensional shape measuring apparatus is set according to the size of the measurement object, a support mechanism having a wide movable range must be prepared when measuring a measurement object having a large shape. In this case, there is a problem that the configuration of the support mechanism becomes larger and more complicated as the movable range becomes wider, and the configuration of the three-dimensional shape measurement system becomes larger and more complicated.

本発明は上記問題に対処するためなされたもので、その目的は、従来例のような支持機構に比べて、簡単かつ小型な構成で測定対象物の3次元形状を測定することが可能な3次元形状測定システムおよび3次元形状測定方法を提供することにある。   The present invention has been made to cope with the above-described problem, and an object of the present invention is to be able to measure the three-dimensional shape of an object to be measured with a simple and small configuration compared to a support mechanism such as the conventional example. A three-dimensional shape measurement system and a three-dimensional shape measurement method are provided.

上記目的を達成するため、本発明の特徴は、測定対象物の3次元形状を測定して同測定対象物の3次元形状を表す3次元形状データを出力する3次元形状測定装置と、基端部にて支持装置により引出し量および引出し方向が自在に支持され、かつ先端部に3次元形状測定装置を接続する接続部材と、接続部材の支持装置に対する引出し量および引出し方向を用いて、所定の基準座標系に対する3次元形状測定装置の少なくとも位置を表す位置情報を取得する情報取得手段と、3次元形状測定装置から出力される3次元形状データを、前記取得した位置情報を用いて前記所定の基準座標系によって表された3次元形状データに変換するデータ変換手段と、データ変換手段によって変換された複数組の3次元形状データを合成する合成手段とを備えたことにある。この場合、前記支持装置は、接続部材の引出し量および引出し方向を検出する検出器を備えるとよい。また、接続部材を、ワイヤにするとよい。   In order to achieve the above object, the present invention is characterized in that a three-dimensional shape measuring apparatus for measuring a three-dimensional shape of a measurement object and outputting three-dimensional shape data representing the three-dimensional shape of the measurement object; A connecting member that freely supports the drawing amount and the drawing direction by the support device at the portion, and connects the three-dimensional shape measuring device to the tip, and the drawing amount and the drawing direction of the connecting member with respect to the support device Information acquisition means for acquiring position information representing at least the position of the three-dimensional shape measuring apparatus with respect to a reference coordinate system, and three-dimensional shape data output from the three-dimensional shape measuring apparatus, using the acquired position information, Data conversion means for converting into three-dimensional shape data represented by a reference coordinate system, and synthesis means for combining a plurality of sets of three-dimensional shape data converted by the data conversion means It lies in the fact was. In this case, the support device may include a detector that detects the pull-out amount and pull-out direction of the connection member. The connecting member may be a wire.

この場合、前記所定の基準座標系の原点および座標軸の向きは、支持装置を基準に定められており、前記情報取得手段は、前記位置情報に加えて、前記所定の基準座標系に対する3次元形状測定装置の向きを表す向き情報も取得するとよい。この場合、前記接続部材は、少なくとも3つ用意するとよい。また、前記データ変換手段は、3次元形状測定装置から出力される3次元形状データを、前記位置情報および前記向き情報を用いて前記所定の基準座標系によって表された3次元形状データに変換するための第1の座標変換関数を計算する第1の座標変換関数計算手段と、3次元形状測定装置から出力される3次元形状データを、第1の座標変換関数を用いて前記所定の基準座標系によって表された3次元形状データに座標変換する座標変換手段とを備えるようにするとよい。この場合、第1の座標変換関数計算手段は、3次元形状測定装置に関する座標系によって表された3次元形状データを接続部材の先端部に関する座標系によって表された3次元形状データに変換するための第2の座標変換関数と、接続部材の先端部に関する座標系によって表された3次元形状データを前記所定の基準座標系に関する座標系によって表された3次元形状データに変換するための第3の座標変換関数とを第1の座標変換関数として計算するようにするとよい。   In this case, the origin of the predetermined reference coordinate system and the orientation of the coordinate axes are determined with reference to the support device, and the information acquisition means includes a three-dimensional shape relative to the predetermined reference coordinate system in addition to the position information. Orientation information indicating the orientation of the measuring device may be acquired. In this case, it is preferable to prepare at least three connection members. Further, the data conversion means converts the three-dimensional shape data output from the three-dimensional shape measuring device into the three-dimensional shape data represented by the predetermined reference coordinate system using the position information and the orientation information. First coordinate conversion function calculating means for calculating a first coordinate conversion function for the first three-dimensional shape, and three-dimensional shape data output from the three-dimensional shape measuring device, using the first coordinate conversion function, the predetermined reference coordinates Coordinate conversion means for converting coordinates into three-dimensional shape data represented by the system may be provided. In this case, the first coordinate conversion function calculating means converts the three-dimensional shape data represented by the coordinate system related to the three-dimensional shape measuring apparatus into the three-dimensional shape data represented by the coordinate system related to the tip of the connecting member. And a third coordinate conversion function for converting the three-dimensional shape data represented by the coordinate system related to the tip end portion of the connecting member into the three-dimensional shape data represented by the coordinate system related to the predetermined reference coordinate system. It is preferable to calculate the first coordinate transformation function as the first coordinate transformation function.

また、これに代えて、3次元形状測定装置は、測定対象物の3次元形状を表す3次元形状データに加え、3次元形状測定装置の測定対象空間内に配置された基準物体の3次元形状を表す3次元形状データも出力するものであり、前記所定の基準座標系の原点は支持装置を基準に定められ、かつ基準座標系の座標軸の向きは基準物体を基準に定められるものであり、データ変換手段は、3次元形状測定装置から出力される3次元形状データを、前記取得した位置情報に加え基準物体の3次元形状を表す3次元形状データを用いて、前記所定の基準座標系によって表された3次元形状データに変換するようにしてもよい。この場合、前記接続部材は、少なくとも1つ用意するとよい。また、前記データ変換手段は、基準物体の3次元形状を表す3次元形状データを用いて基準物体に関係した座標軸の向きを計算し、測定対象物の3次元形状を表す3次元形状データを、前記計算した座標軸の向きと同じ座標軸を有する3次元座標系によって表された3次元形状データに変換するための第4の座標変換関数を計算する第4の座標変換関数計算手段と、測定対象物の3次元形状を表す3次元形状データを、前記所定の基準座標系の原点と同じ原点を有する3次元座標系によって表された3次元形状データに変換するための第5の座標変換関数を計算する第5の座標変換関数計算手段と、3次元形状測定装置から出力される3次元形状データを、前記計算した第4および第5の座標変換関数を用いて、前記所定の基準座標系によって表された3次元形状データに変換する座標変換手段とで構成するとよい。この場合、前記第4の座標変換関数は、3次元形状測定装置に関する座標系によって表された3次元形状データを接続部材の先端部に関する座標系によって表された3次元形状データに変換し、前記第5の座標変換関数は、接続部材の先端部に関する座標系によって表された3次元形状データを前記所定の基準座標系に関する座標系によって表された3次元形状データに座標変換するとよい。   Instead of this, the 3D shape measuring apparatus adds 3D shape data representing the 3D shape of the measurement object to the 3D shape of the reference object arranged in the measurement target space of the 3D shape measuring apparatus. The origin of the predetermined reference coordinate system is determined with reference to the support device, and the direction of the coordinate axis of the reference coordinate system is determined with reference to the reference object, The data conversion means uses the three-dimensional shape data output from the three-dimensional shape measuring apparatus, using the three-dimensional shape data representing the three-dimensional shape of the reference object in addition to the acquired position information, according to the predetermined reference coordinate system. You may make it convert into the represented three-dimensional shape data. In this case, it is preferable to prepare at least one connection member. Further, the data conversion means calculates the direction of the coordinate axis related to the reference object using the three-dimensional shape data representing the three-dimensional shape of the reference object, and obtains the three-dimensional shape data representing the three-dimensional shape of the measurement object, A fourth coordinate conversion function calculating means for calculating a fourth coordinate conversion function for converting into three-dimensional shape data represented by a three-dimensional coordinate system having the same coordinate axis as the calculated coordinate axis; A fifth coordinate conversion function for converting the three-dimensional shape data representing the three-dimensional shape into three-dimensional shape data represented by a three-dimensional coordinate system having the same origin as that of the predetermined reference coordinate system is calculated. The third coordinate transformation function calculating means and the three-dimensional shape measuring device output from the three-dimensional shape measuring device are converted into the predetermined reference coordinate system by using the calculated fourth and fifth coordinate transformation functions. May be configured by the coordinate conversion means for converting the three-dimensional shape data represented. In this case, the fourth coordinate conversion function converts the three-dimensional shape data represented by the coordinate system related to the three-dimensional shape measuring apparatus into the three-dimensional shape data represented by the coordinate system related to the tip of the connecting member, The fifth coordinate transformation function may perform coordinate transformation from the three-dimensional shape data represented by the coordinate system related to the tip end portion of the connecting member to the three-dimensional shape data represented by the coordinate system related to the predetermined reference coordinate system.

このように構成した本発明の特徴によれば、支持装置から引き出される接続部材の先端部を3次元形状測定装置に接続している。そして、3次元形状測定装置によって測定対象物を測定する基準座標系における位置を接続部材の引出し量および引出し方向によって特定している。すなわち、基準座標系において3次元形状測定装置の位置が特定できる接続部材の先端部を3次元形状測定装置に接続した構成で測定対象物の3次元形状を任意の方向から表示可能な3次元形状データを生成することができる。このため、従来例のような大型かつ複雑な構成の支持機構を用いることなく、簡単かつ小型に3次元形状測定システムを構成することができる。また、測定対象物の大きさに応じて接続部材の長さを設定すればよいので、形状の大きな測定対象物を測定する場合であっても3次元形状測定システムを簡単かつ小型に構成することができる。   According to the feature of the present invention configured as described above, the distal end portion of the connection member pulled out from the support device is connected to the three-dimensional shape measuring device. Then, the position in the reference coordinate system for measuring the measurement object by the three-dimensional shape measuring apparatus is specified by the drawing amount and the drawing direction of the connecting member. That is, a three-dimensional shape that can display the three-dimensional shape of the measurement object from any direction with a configuration in which the tip of the connection member that can specify the position of the three-dimensional shape measurement device in the reference coordinate system is connected to the three-dimensional shape measurement device. Data can be generated. For this reason, a three-dimensional shape measuring system can be configured easily and compactly without using a support mechanism having a large and complicated configuration as in the conventional example. In addition, since the length of the connection member may be set according to the size of the measurement object, the three-dimensional shape measurement system can be easily and compactly configured even when measuring a measurement object having a large shape. Can do.

また、上記3次元形状測定システムにおいて、さらに、前記所定の基準座標系は、前記支持装置の所定の位置に基づいて定められており、前記所定の基準座標系に対して支持装置を移動させる支持装置移動手段と、前記所定の基準座標系によって表された支持装置の位置を検出する支持装置位置検出手段とを備え、データ変換手段は、前記取得された位置情報に加え、支持装置位置検出手段によって検出される支持装置の位置を用いて、3次元形状測定装置から出力される3次元形状データを、前記所定の基準座標系によって表された3次元形状データに変換するようにしてもよい。これによれば、基準座標系における支持装置の位置が検出されるため、測定対象物を複数の位置から測定する場合、3次元形状測定装置とともに支持装置も移動させることができ、3次元形状測定装置の移動範囲が拡大し測定対象物をより広範囲から測定することができる。したがって、例えば、3次元形状測定装置に対向する測定対象物の裏側の部分も3次元形状測定装置とともに支持装置を移動させることにより測定することができる。   In the three-dimensional shape measurement system, the predetermined reference coordinate system is determined based on a predetermined position of the support device, and the support device moves the support device relative to the predetermined reference coordinate system. An apparatus moving means; and a supporting apparatus position detecting means for detecting the position of the supporting apparatus represented by the predetermined reference coordinate system, wherein the data converting means is a supporting apparatus position detecting means in addition to the acquired position information. The three-dimensional shape data output from the three-dimensional shape measuring device may be converted into the three-dimensional shape data represented by the predetermined reference coordinate system using the position of the support device detected by the above. According to this, since the position of the support device in the reference coordinate system is detected, when the measurement object is measured from a plurality of positions, the support device can be moved together with the three-dimensional shape measurement device. The movement range of the apparatus is expanded, and the measurement object can be measured from a wider range. Therefore, for example, the part on the back side of the measurement object facing the three-dimensional shape measuring device can also be measured by moving the support device together with the three-dimensional shape measuring device.

また、本発明は前記3次元形状測定システムに限定されるものではなく、3次元形状測定方法によっても実施できるものである。   Further, the present invention is not limited to the three-dimensional shape measurement system, and can be implemented by a three-dimensional shape measurement method.

(第1実施形態)
以下、本発明の第1実施形態について図面を参照しながら説明する。図1は、本発明に係る3次元形状測定システムの基本構成を示す概略図である。この3次元形状測定システムは、測定対象物であるワークWKの3次元形状を測定する3次元形状測定装置10を備えている。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram showing a basic configuration of a three-dimensional shape measurement system according to the present invention. This three-dimensional shape measurement system includes a three-dimensional shape measurement apparatus 10 that measures the three-dimensional shape of a workpiece WK that is a measurement object.

3次元形状測定装置10は、箱型に形成されており、ワークWKに向けてレーザ光を出射するとともに同ワークWKからの反射光を受光して、ワークWKの3次元立体表面形状を測定して同測定結果を表す測定情報を出力する。この3次元形状測定装置10としては、ワークWKの3次元表面形状を測定するとともに同測定した3次元表面形状を表す信号を出力するものであれば、いかなる3次元形状測定装置をも利用できる。本実施形態においては、レーザ光を用いて3角測量法に従って物体の3次元表面形状を測定するものを簡単に紹介しておく。   The three-dimensional shape measuring apparatus 10 is formed in a box shape, emits a laser beam toward the workpiece WK and receives reflected light from the workpiece WK, and measures the three-dimensional solid surface shape of the workpiece WK. Output measurement information representing the measurement result. As the three-dimensional shape measuring apparatus 10, any three-dimensional shape measuring apparatus can be used as long as it measures the three-dimensional surface shape of the workpiece WK and outputs a signal representing the measured three-dimensional surface shape. In the present embodiment, a brief description will be given of measuring a three-dimensional surface shape of an object according to a triangulation method using laser light.

この3次元形状測定装置においては、レーザ光源から物体に向けて出射されるレーザ光の進行方向にほぼ垂直な仮想平面を想定するとともに、同仮想平面上にて互いに直交するX軸方向およびY軸方向に沿って分割した多数の微小エリアを想定する。そして、3次元形状測定装置は、前記多数の微小エリアにレーザ光を順次照射し、物体からの反射光によって前記微小エリアが規定する物体表面までの距離をZ軸方向距離として順次検出して、物体の表面を微小エリアずつに分割した各分割エリア位置を表すX,Y,Z座標に関する情報を得て、同3次元形状測定装置に面した物体表面の形状を測定するものである。   In this three-dimensional shape measuring apparatus, a virtual plane that is substantially perpendicular to the traveling direction of laser light emitted from a laser light source toward an object is assumed, and an X-axis direction and a Y-axis that are orthogonal to each other on the virtual plane. Assume a large number of minute areas divided along the direction. Then, the three-dimensional shape measuring apparatus sequentially irradiates the plurality of minute areas with laser light, sequentially detects the distance to the object surface defined by the minute areas by reflected light from the object as a Z-axis direction distance, Information on X, Y, and Z coordinates representing each divided area position obtained by dividing the surface of the object into minute areas is obtained, and the shape of the object surface facing the three-dimensional shape measuring apparatus is measured.

したがって、この3次元形状測定装置は、出射レーザ光の向きをX軸方向に変化させるX軸方向走査器と、出射レーザ光の向きをY軸方向に変化させるY軸方向走査器と、物体表面にて反射された反射レーザ光を受光して物体表面までの距離を検出する距離検出器とを備えている。X軸方向走査器およびY軸方向走査器としては、レーザ光源からの出射レーザ光の光路をX軸方向およびY軸方向に独立に変化させ得る機構であればよく、例えば、レーザ光源自体をX軸方向およびY軸方向の軸線回りに電動モータによって回転させたり、出射レーザ光の光路に設けられてその方向を変更するガルバノミラーをX軸方向およびY軸方向の軸線回りに電動モータによって回転させる機構を利用できる。距離検出器としては、前記出射レーザ光の光路に追従して回転し、物体表面にて反射された反射レーザ光を集光する結像レンズおよび同集光したレーザ光を受光するCCDなどの複数の受光素子を一列に配置させたラインセンサからなり、ラインセンサによる反射レーザ光の受光位置によって物体表面までの距離を検出する機構を利用できる。   Accordingly, the three-dimensional shape measuring apparatus includes an X-axis direction scanner that changes the direction of the emitted laser light in the X-axis direction, a Y-axis direction scanner that changes the direction of the emitted laser light in the Y-axis direction, and an object surface. And a distance detector for detecting the distance to the object surface by receiving the reflected laser beam reflected by the. The X-axis direction scanner and the Y-axis direction scanner may be any mechanism that can independently change the optical path of the laser beam emitted from the laser light source in the X-axis direction and the Y-axis direction. It is rotated by an electric motor around the axial lines in the axial direction and the Y-axis direction, or a galvanometer mirror provided in the optical path of the emitted laser light and changing its direction is rotated by an electric motor around the axes in the X-axis direction and the Y-axis direction. The mechanism is available. As the distance detector, a plurality of imaging lenses such as an imaging lens that condenses the reflected laser light reflected on the object surface and rotates following the optical path of the emitted laser light, and a CCD that receives the condensed laser light are used. It is possible to use a mechanism for detecting the distance to the object surface based on the light receiving position of the reflected laser beam by the line sensor.

したがって、このような3次元形状測定装置は、物体の表面を微小エリアずつに分割した各分割エリア位置を表すX,Y,Z座標に関する情報として、X軸方向走査器による出射レーザ光の基準方向に対するX軸方向への傾きθx、Y軸方向走査器による出射レーザ光の基準方向に対するY軸方向への傾きθy、および距離検出器による物体表面までの距離Lzとが、前記仮想したX軸方向およびY軸方向に沿って分割した多数の微小エリアごとに出力される。より具体的には、X軸およびY軸方向への傾きθx,θyは、電動モータの基準位置からの回転角である。また、物体表面までの距離Lzは、ラインセンサにおける反射レーザ光の受光位置である。   Therefore, such a three-dimensional shape measuring apparatus uses the reference direction of the laser beam emitted by the X-axis direction scanner as information on the X, Y, and Z coordinates representing the divided area positions obtained by dividing the surface of the object into minute areas. The inclination θx in the X-axis direction with respect to the angle, the inclination θy in the Y-axis direction with respect to the reference direction of the laser beam emitted by the Y-axis direction scanner, and the distance Lz to the object surface by the distance detector are the virtual X-axis direction. And output for each of a large number of minute areas divided along the Y-axis direction. More specifically, the inclinations θx and θy in the X-axis and Y-axis directions are rotation angles from the reference position of the electric motor. Further, the distance Lz to the object surface is the light receiving position of the reflected laser beam in the line sensor.

この3次元形状測定装置10の底面には、円柱状の把持部11が設けられており、作業者による把持部11の把持により3次元形状測定装置10を任意の位置に移動させることができる。また、3次元形状測定装置10の背面、具体的には、3次元形状測定装置10におけるレーザ光が出射される側面に対向する側面には、3つのワイヤ装置20A,20B,20Cからそれぞれ引き出されたワイヤ21A,21B,21Cの各先端部21aA,21aB,21aCがそれぞれ接続されている。具体的には、図2に示すように、3次元形状測定装置10の背面には、内周面が球面状に形成された3つの穴部12A(12B,12C)がそれぞれ設けられている。なお、図2は、穴部12Aを示しているが他の穴部12B,12Cも穴部12Aと同様である。これらの穴部12A(12B,12C)には、同穴部12A(12B,12C)の内径より小径の球体13A(13B,13C)が、その表面の一部を露出させた状態で、かつ摺動可能な状態で埋め込まれている。   A cylindrical gripping part 11 is provided on the bottom surface of the three-dimensional shape measuring apparatus 10, and the three-dimensional shape measuring apparatus 10 can be moved to an arbitrary position by gripping the gripping part 11 by an operator. Further, the three-dimensional shape measuring apparatus 10 is pulled out from the three wire devices 20A, 20B, and 20C on the back surface, specifically, the side surface opposite to the side surface from which the laser beam is emitted in the three-dimensional shape measuring apparatus 10, respectively. The tip portions 21aA, 21aB, and 21aC of the wires 21A, 21B, and 21C are connected to each other. Specifically, as shown in FIG. 2, three holes 12 </ b> A (12 </ b> B, 12 </ b> C) each having an inner peripheral surface formed in a spherical shape are provided on the back surface of the three-dimensional shape measuring apparatus 10. FIG. 2 shows the hole 12A, but the other holes 12B and 12C are the same as the hole 12A. In these hole portions 12A (12B, 12C), a sphere 13A (13B, 13C) having a diameter smaller than the inner diameter of the hole portions 12A (12B, 12C) is exposed in a state where a part of the surface is exposed and is slid. Embedded in a movable state.

この球体13A(13B,13C)における3次元形状測定装置10の背面から露出した表面部には、球体13A(13B,13C)の中心部に向けて雌ネジ13aA(13aB,13aC)が設けられており、この雌ネジ13aA(13aB,13aC)に、ワイヤ21A(21B,21C)の各先端部21aA(21aB,21aC)に設けられた雄ネジ21bA(21bB,21bC)が螺合している。したがって、3次元形状測定装置10の背面に対するワイヤ21A(21B,21C)の向きに応じて球体13A(13B,13C)は、穴部12A(12B,12C)内において回転摺動する。なお、3次元形状測定装置10の背面に設けられた穴部12A,12B,12Cは、それぞれ同一直線上に位置しないように、すなわち、各穴部12A,12B,12Cがそれぞれ三角形の頂点を形成するように配置されている。   A female screw 13aA (13aB, 13aC) is provided on the surface of the sphere 13A (13B, 13C) exposed from the back surface of the three-dimensional shape measuring apparatus 10 toward the center of the sphere 13A (13B, 13C). The male screw 21bA (21bB, 21bC) provided at each tip 21aA (21aB, 21aC) of the wire 21A (21B, 21C) is screwed to the female screw 13aA (13aB, 13aC). Therefore, the sphere 13A (13B, 13C) rotates and slides in the hole 12A (12B, 12C) according to the direction of the wire 21A (21B, 21C) with respect to the back surface of the three-dimensional shape measuring apparatus 10. It should be noted that the holes 12A, 12B, and 12C provided on the back surface of the three-dimensional shape measuring apparatus 10 are not positioned on the same straight line, that is, the holes 12A, 12B, and 12C each form a vertex of a triangle. Are arranged to be.

ワイヤ装置20A,20B,20Cは、円筒状に形成された外筒22A,22B,22C内に収容された所定の長さのワイヤ21A,21B,21Cの引出し量Lおよび同ワイヤ21A,21B,21Cの引き出される方向を表す回転角θ,θを検出して、同引出し量Lおよび各回転角θ,θを表す信号をそれぞれ出力する。これらのワイヤ装置20A,20B,20Cは、それぞれ同一の構成であるため、図3に示すワイヤ装置20Aについて説明する。外筒22A(22B,22C)は、ゼンマイバネによりロール状に巻かれたワイヤ21A(21B,21C)を収容する大径部22aA(22aB,22aC)と、同大径部22aA(22aB,22aC)より小径に形成された小径部22bA(22bB,22bC)とから構成されている。 The wire devices 20A, 20B, and 20C are configured such that a predetermined length of wires 21A, 21B, and 21C accommodated in outer cylinders 22A, 22B, and 22C formed in a cylindrical shape, and the wires 21A, 21B, and 21C, respectively. Rotation angles θ X and θ Y representing the direction in which they are drawn out are detected, and signals representing the extraction amount L and the respective rotation angles θ X and θ Z are output. Since these wire devices 20A, 20B, and 20C have the same configuration, the wire device 20A shown in FIG. 3 will be described. The outer cylinder 22A (22B, 22C) includes a large-diameter portion 22aA (22aB, 22aC) that accommodates the wire 21A (21B, 21C) wound in a roll shape by a spring, and the large-diameter portion 22aA (22aB, 22aC). The small-diameter portion 22bA (22bB, 22bC) is formed to have a small diameter.

これらのうち、大径部22aA(22aB,22aC)の外周部における中央部には、その内部に収容されたワイヤ21A(21B,21C)を引き出すための孔部22cA(22cB,22cC)が設けられている。また、大径部22aA(22aB,22aC)内には、ワイヤ21A(21B,21C)の引出し量Lを検出して同引出し量Lを表す信号を出力するリニアエンコーダ23A(23B,23C)が組み込まれている。一方、小径部22bA(22bB,22bC)内には、外筒22A(22B,22C)の軸線方向の回転角θを検出して同回転角θを表す信号を出力するエンコーダ24A(24B,24C)が組み込まれている。この外筒22A(22B,22C)は、水平方向に配置された支持軸25A(25B,25C)に同支持軸25A(25B,25C)回りに回転可能な状態で支持されている。すなわち、小径部22bA(22bB,22bC)内に組み込まれるエンコーダ24A(24B,24C)は、大径部22aA(22aB,22aC)の孔部22cA(22cB,22cC)から引き出されるワイヤ21A(21B,21C)の引き出される方向のうち、支持軸25A(25B,25C)回りの回転角を検出する。 Among these, the hole 22cA (22cB, 22cC) for drawing out the wire 21A (21B, 21C) accommodated therein is provided in the central portion of the outer peripheral portion of the large diameter portion 22aA (22aB, 22aC). ing. In addition, a linear encoder 23A (23B, 23C) that detects the pull-out amount L of the wire 21A (21B, 21C) and outputs a signal representing the pull-out amount L is incorporated in the large-diameter portion 22aA (22aB, 22aC). It is. On the other hand, the small diameter portion 22bA (22bB, 22bC) Within outer cylinder 22A (22B, 22C) encoder 24A (24B that detects the rotation angle theta X axial outputs a signal indicative of the same rotation angle theta X of 24C) is incorporated. The outer cylinder 22A (22B, 22C) is supported by a support shaft 25A (25B, 25C) arranged in the horizontal direction so as to be rotatable around the support shaft 25A (25B, 25C). That is, the encoder 24A (24B, 24C) incorporated in the small diameter portion 22bA (22bB, 22bC) is a wire 21A (21B, 21C) drawn from the hole 22cA (22cB, 22cC) of the large diameter portion 22aA (22aB, 22aC). ) Is extracted, the rotation angle around the support shaft 25A (25B, 25C) is detected.

支持軸25A(25B,25C)の両端部は、略U字状に形成された支持アーム26A(26B,26C)の両端部にそれぞれ支持されている。この支持アーム26A(26B,26C)の中央部は、垂直方向に配置された回転軸27A(27B,27C)の上面に固定されている。回転軸27A(27B,27C)は、その軸線回りに回転可能な状態で基台28A(28B,28C)に支持されている。すなわち、ワイヤ21A(21B,21C)を収容する外筒22A(22B,22C)は、回転軸27A(27B,27C)の軸線回りにも回転するように構成されている。基台28A(28B,28C)内には、回転軸27A(27B,27C)の軸線回りの回転角θを検出して同回転角θを表す信号を出力するエンコーダ29A(29B,29C)が組み込まれている。すなわち、エンコーダ29A(29B,29C)は、大径部22aA(22aB,22aC)の孔部22cA(22cB,22cC)から引き出されるワイヤ21A(21B,21C)の引き出される方向のうち、回転軸27A(27B,27C)回りの回転角を検出する。 Both ends of the support shaft 25A (25B, 25C) are supported by both ends of a support arm 26A (26B, 26C) formed in a substantially U shape. The central portion of the support arm 26A (26B, 26C) is fixed to the upper surface of the rotary shaft 27A (27B, 27C) arranged in the vertical direction. The rotating shaft 27A (27B, 27C) is supported by the base 28A (28B, 28C) in a state of being rotatable around its axis. That is, the outer cylinder 22A (22B, 22C) that accommodates the wire 21A (21B, 21C) is configured to rotate also about the axis of the rotation shaft 27A (27B, 27C). Base 28A (28B, 28C) In the rotation shaft 27A (27B, 27C) encoder 29A that detects the rotation angle theta Z around the axis and outputs a signal representing the same rotation angle theta Z of (29B, 29C) Is incorporated. In other words, the encoder 29A (29B, 29C) has a rotating shaft 27A ( 27B, 27C) around the rotation angle is detected.

これらの引出し量Lおよび回転角θ,θによって、ワイヤ装置20A(20B,20C)から引き出されるワイヤ21A(21B,21C)の先端部21aA(21aB,21aC)の先端の位置、すなわち、同先端部に接続される3次元形状測定装置10の位置を特定することができる。この場合、ワイヤ21A(21B,21C)の先端部21aA(21aB,21aC)の先端の位置とは、ワイヤ21A(21B,21C)の軸線上における先端部21aA(21aB,21aC)の先端の点からワイヤ21A(21B,21C)の軸線方向に球体13A(13B,13C)の半径長さ分移動した点である。後述する3次元画像データ処理装置43のメモリ装置内に球体13A(13B,13C)の半径長さが記憶されたおり、検出した引出し量Lにこの半径長さを追加した量を引出し量Lとする。そして、この先端の位置は、回転軸27A(27B,27C)回りの回転角を0°とするときの支持軸25A(25B,25C)の軸線をX軸とし、回転軸27A(27B,27C)の軸線をZ軸とし、同X軸とZ軸との交点を通るとともに同X軸およびZ軸に直交する軸線をY軸とする3次元座標系(以後、「ワイヤ装置座標系W(W,W)」という)による座標によって表される。 With these drawing amounts L and rotation angles θ X and θ Z , the positions of the tips of the tips 21aA (21aB and 21aC) of the wires 21A (21B and 21C) drawn from the wire devices 20A (20B and 20C), that is, the same The position of the three-dimensional shape measuring apparatus 10 connected to the tip can be specified. In this case, the position of the tip of the tip 21aA (21aB, 21aC) of the wire 21A (21B, 21C) is from the point of the tip of the tip 21aA (21aB, 21aC) on the axis of the wire 21A (21B, 21C). This is a point moved in the axial direction of the wire 21A (21B, 21C) by the radius of the sphere 13A (13B, 13C). A radius length of a sphere 13A (13B, 13C) is stored in a memory device of a three-dimensional image data processing device 43, which will be described later, and an amount obtained by adding this radius length to the detected withdrawal amount L is referred to as a withdrawal amount L. To do. And the position of this tip is the axis of the support shaft 25A (25B, 25C) when the rotation angle around the rotation shaft 27A (27B, 27C) is 0 °, and the rotation shaft 27A (27B, 27C) Is a three-dimensional coordinate system (hereinafter referred to as “wire device coordinate system W A (W”), in which the Z axis is the Z axis, the Y axis is the axis that passes through the intersection of the X axis and the Z axis and is orthogonal to the X axis and the Z axis B , W C ) ”)).

ワイヤ装置20A,20B,20Cは、柱状のワイヤ装置支持脚30の上部にそれぞれ固定されている。ワイヤ装置支持脚30は、垂直方向に設けられた支柱31の上部にワイヤ装置20A,20B,20Cを載置して固定する載置台32A,32Bを備えるとともに、支柱31の下部に三方に延びる脚33A,33B,33Cを有する脚部34を備えている。したがって、ワイヤ装置20A,20B,20Cは、ワイヤ装置支持装置30を移動させることによって、任意の位置に移動させることができる。   The wire devices 20A, 20B, and 20C are fixed to the upper portions of the columnar wire device support legs 30, respectively. The wire device support leg 30 includes mounting bases 32A and 32B for mounting and fixing the wire devices 20A, 20B, and 20C on an upper portion of a support column 31 provided in a vertical direction, and legs extending in three directions below the support column 31. The leg part 34 which has 33A, 33B, 33C is provided. Therefore, the wire devices 20A, 20B, and 20C can be moved to arbitrary positions by moving the wire device support device 30.

これらの3次元形状測定装置10およびワイヤ装置20A,20B,20Cには、コントローラ41が接続されている。コントローラ41は、キーボードからなる入力装置42からの指示に従って、3次元形状測定装置10の作動を制御する。また、コントローラ41は、入力装置42からの指示に従って3次元画像データ処理装置43の作動を制御するとともに、同入力装置42にて入力されたデータを3次元画像データ処理装置43に供給する。   A controller 41 is connected to the three-dimensional shape measuring apparatus 10 and the wire apparatuses 20A, 20B, and 20C. The controller 41 controls the operation of the three-dimensional shape measuring apparatus 10 according to an instruction from the input device 42 formed of a keyboard. Further, the controller 41 controls the operation of the three-dimensional image data processing device 43 in accordance with an instruction from the input device 42 and supplies data input by the input device 42 to the three-dimensional image data processing device 43.

3次元画像データ処理装置43は、コンピュータ装置によって構成され図5,図6および図8に示す各プログラムを実行することにより座標変換関数を計算するとともに、図9に示すプログラムを実行することにより、3次元形状測定装置10からの3次元形状に関する情報(立体形状データ群)、ワイヤ装置20A,20B,20Cからワイヤ21A,21B,21Cの引出し量L、およびワイヤ21A,21B,21Cの引出される方向を表す回転角θ,θを入力して、測定対象空間内に位置する物体の3次元画像を任意の方向から見て表示可能な3次元形状データを生成する。この3次元画像データ処理装置43には、表示装置44が接続されている。表示装置44は、液晶ディスプレイまたはCRTなどで構成され、3次元画像データ処理装置43から出力される3次元形状データに基づいて測定対象空間内に位置する物体の3次元画像を表示する。 The three-dimensional image data processing device 43 is constituted by a computer device, calculates the coordinate conversion function by executing each program shown in FIGS. 5, 6 and 8, and executes the program shown in FIG. Information about the three-dimensional shape (three-dimensional shape data group) from the three-dimensional shape measuring device 10, the amount L of the wires 21A, 21B, and 21C drawn from the wire devices 20A, 20B, and 20C, and the wires 21A, 21B, and 21C are drawn. Rotational angles θ X and θ Z representing directions are input, and three-dimensional shape data that can be displayed by viewing a three-dimensional image of an object located in the measurement target space from an arbitrary direction is generated. A display device 44 is connected to the three-dimensional image data processing device 43. The display device 44 is composed of a liquid crystal display, a CRT, or the like, and displays a 3D image of an object located in the measurement target space based on the 3D shape data output from the 3D image data processing device 43.

次に、このように構成した3次元形状測定システムの作動について説明する。作業者は、ワイヤ装置20A,20B,20Cに関する座標系であるの各ワイヤ装置座標系W,W,Wによって表された各座標値(ワイヤ21A,21B,21Cの各先端部21aA,21aB,21aCの先端の位置)を、1つの基準座標系Sによって表された座標値に変換するための座標変換関数FWSを計算する。本実施形態においては、ワイヤ装置20Aに関する座標系であるワイヤ装置座標系Wを基準座標系Sとする。 Next, the operation of the three-dimensional shape measurement system configured as described above will be described. Operator, wire apparatus 20A, 20B, each wire device coordinate system W A of a coordinate system about 20C, W B, the coordinate values represented by W C (wire 21A, 21B, 21C each tip 21aA of, 21aB, the position of the tip of 21ac) and to calculate the coordinate transformation function F WS for converting the coordinate values represented by a single reference coordinate system S. In the present embodiment, the wire device coordinate system W A is a coordinate system about the wire device 20A as a reference coordinate system S.

まず、作業者は、図4に示すように、ワイヤ装置20Aから引き出されたワイヤ21Aの先端部21aAに、先端を尖らせて形成した触針50を取り付ける。この場合、先端部21aAに取り付けられる触針50の長さは、3次元画像データ処理装置43のメモリ装置に予め記憶されており、検出した引出し量Lにこの触針50の長さを追加した量を引出し量Lとすることで、触針50の先端位置の座標を特定することができる。なお、触針50の先端を球状に形成し、同球の中心位置までの長さを記憶させておくようにしてもよい。次に、作業者は、ワイヤ装置20A,20B,20Cからそれぞれ引き出されるワイヤ21A,21B,21Cの先端が届く範囲に配置されたテーブル60上に基準物体70A,70B,70Cをそれぞれ配置する。基準物体70A,70B,70Cは、互いに直径の異なる3つの真球体で構成され、測定対象空間内において定点を定める機能を有する。なお、ワイヤ装置20A,20B,20Cからそれぞれ引き出されるワイヤ21A,21B,21Cの先端が届く範囲であれば、基準物体70A,70B,70Cを配置するばよく、必ずしもテーブル60を用意するとともに、同テーブル60上に基準物体70A,70B,70Cを配置する必要はない。   First, as shown in FIG. 4, the worker attaches a stylus 50 formed with a sharpened tip to the tip 21aA of the wire 21A drawn from the wire device 20A. In this case, the length of the stylus 50 attached to the distal end portion 21aA is stored in advance in the memory device of the three-dimensional image data processing device 43, and the length of the stylus 50 is added to the detected withdrawal amount L. By setting the amount as the withdrawal amount L, the coordinates of the tip position of the stylus 50 can be specified. The tip of the stylus 50 may be formed in a spherical shape, and the length to the center position of the sphere may be stored. Next, the operator arranges the reference objects 70A, 70B, and 70C on the table 60 that is arranged in a range where the tips of the wires 21A, 21B, and 21C drawn from the wire devices 20A, 20B, and 20C reach, respectively. The reference objects 70A, 70B, and 70C are composed of three true spheres having different diameters, and have a function of determining a fixed point in the measurement target space. The reference objects 70A, 70B, and 70C may be disposed as long as the tips of the wires 21A, 21B, and 21C drawn from the wire devices 20A, 20B, and 20C reach, respectively. It is not necessary to arrange the reference objects 70A, 70B, and 70C on the table 60.

次に、作業者は、入力装置42を操作して、座標変換関数FWSの計算を3次元画像データ処理装置43に指示する。この指示に応答して3次元画像データ処理装置43は、図5に示す、座標変換関数FWS計算プログラムの実行をステップS100にて開始して、ステップS102にて、基準物体の特徴の入力を待つ。ここで基準物体の特徴とは、基準物体70A,70B,70Cがそれぞれ球体であることを表すデータである。したがって、作業者は、入力装置42を操作して、基準物体70A,70B,70Cが球体であることを表すデータを3次元画像データ処理装置43に入力する。なお、以前に入力された基準物体の特徴が変更されない場合には、このステップS102の処理をスキップさせてもよい。 Next, the operator operates the input device 42 to instruct the three-dimensional image data processing device 43 to calculate the coordinate conversion function FWS . In response to this instruction, the three-dimensional image data processing device 43 starts execution of the coordinate conversion function FWS calculation program shown in FIG. 5 in step S100, and inputs the characteristics of the reference object in step S102. wait. Here, the characteristic of the reference object is data representing that each of the reference objects 70A, 70B, and 70C is a sphere. Therefore, the operator operates the input device 42 to input data representing that the reference objects 70A, 70B, 70C are spheres to the three-dimensional image data processing device 43. Note that if the previously inputted characteristics of the reference object are not changed, the processing in step S102 may be skipped.

次に、3次元画像データ処理装置43は、ステップS104にて、測定を行うワイヤ装置の識別番号の入力を待つ。作業者は、入力装置42を操作して、ワイヤ装置20Aを表す識別番号を3次元画像データ処理装置43に入力する。次に、3次元画像データ処理装置43は、ステップS106にて、基準物体の測定情報の入力を待つ。作業者は、ワイヤ21Aの先端部21aAに取り付けられた触針50を手で持って移動させることにより、触針50の先端を基準物体70A,70B,70Cの各表面における互いに異なる4つの位置にそれぞれ接触させるとともに、各接触ごとに入力装置42を操作することにより触針50の基準物体70A,70B,70Cに対する接触を表す情報を入力する。この場合、ワイヤ21Aは、触針50の移動に応じて外筒22Aから引き出される。また、外筒22Aは、触針50の移動に応じて支持軸25A回りおよび回転軸27A回りに回転する。3次元画像データ処理装置43は、作業者から入力される触針50の基準物体70A,70B,70Cに対する接触を表す情報ごとに、ワイヤ装置20Aから引出し量Lおよび回転角θ,θを入力して、触針50の基準物体70A,70B,70Cに対する各接触点の座標値をそれぞれ計算する。これにより、各基準物体70A,70B,70Cごとに、それぞれ4つの接触点の各座標値(x、y,z)が計算される。 Next, in step S104, the three-dimensional image data processing device 43 waits for input of the identification number of the wire device to be measured. The operator operates the input device 42 to input an identification number representing the wire device 20 </ b> A to the three-dimensional image data processing device 43. Next, in step S106, the three-dimensional image data processing device 43 waits for input of measurement information of the reference object. The operator holds and moves the stylus 50 attached to the distal end portion 21aA of the wire 21A by hand to four different positions on the surfaces of the reference objects 70A, 70B, and 70C. Information representing contact of the stylus 50 with the reference objects 70A, 70B, and 70C is input by operating the input device 42 for each contact. In this case, the wire 21 </ b> A is pulled out from the outer cylinder 22 </ b> A according to the movement of the stylus 50. Further, the outer cylinder 22A rotates around the support shaft 25A and the rotation shaft 27A according to the movement of the stylus 50. The three-dimensional image data processing device 43 calculates the drawing amount L and the rotation angles θ X and θ Z from the wire device 20A for each piece of information representing the contact of the stylus 50 with the reference objects 70A, 70B, and 70C input from the operator. The coordinate values of the contact points of the stylus 50 with respect to the reference objects 70A, 70B, and 70C are calculated. Thereby, each coordinate value (x, y, z) of four contact points is calculated for each reference object 70A, 70B, 70C.

次に、3次元画像データ処理装置43は、ステップS108にて、基準物体70A,70B,70Cごとに定点をそれぞれ計算する。具体的には、前記ステップS106にて計算した基準物体70A,70B,70Cごとの各4つの接触点の座標値(x、y,z)を、下記式1の左辺にそれぞれ代入することで成立する連立方程式を解くことで未知数a、b、cを定点として計算する。この場合、a,b、cは、前記座標値(x、y,z)によって表された各基準物体70A,70B,70Cの中心座標を表す。なお、下記式1においてdは、各基準物体70A,70B,70Cの半径を表すが、このステップS108の処理においては計算する必要はない。これにより、各基準物体70A,70B,70Cごとにそれぞれ球体中心座標が定点として計算される。

Figure 2007256188
Next, in step S108, the three-dimensional image data processing device 43 calculates a fixed point for each of the reference objects 70A, 70B, and 70C. Specifically, it is established by substituting the coordinate values (x, y, z) of each of the four contact points for each of the reference objects 70A, 70B, 70C calculated in step S106 into the left side of Equation 1 below. The unknowns a, b, and c are calculated as fixed points by solving the simultaneous equations. In this case, a, b, and c represent the center coordinates of the reference objects 70A, 70B, and 70C represented by the coordinate values (x, y, z). In the following formula 1, d represents the radius of each reference object 70A, 70B, 70C, but it is not necessary to calculate in the process of step S108. Thereby, the spherical center coordinates are calculated as fixed points for each of the reference objects 70A, 70B, and 70C.
Figure 2007256188

次に、3次元画像データ処理装置43は、ステップS110にて、各ワイヤ装置20A,20B,20Cによって基準物体70A,70B,70Cの測定を行ったか否かを判定する。すなわち、この判定処理においては、すべてのワイヤ装置20A,20B,20Cによって基準物体70A,70B,70Cの測定を行うまで、「No」と判定し続けてステップS104に戻る。ステップS104においては、前記したように、測定を行うワイヤ装置の識別番号の入力を待つ。この場合、作業者は、ワイヤ21Aの先端部21aAに取り付けられている触針50をワイヤ21B(またはワイヤ21C)の先端部21aB(または先端部21aC)に付け替えて、入力装置42からワイヤ装置20B(またはワイヤ装置20C)の識別番号を入力し、基準物体70A,70B,70Cの測定を繰り返し実行する。一方、すべてのワイヤ装置20A,20B,20Cによって基準物体70A,70B,70Cの測定を行った場合には、この判定処理において「Yes」と判定してステップS112に進む。これにより、各ワイヤ装置20A,20B,20Cごとに、各基準物体70A,70B,70Cの定点がそれぞれ計算される。   Next, in step S110, the three-dimensional image data processing device 43 determines whether or not the reference objects 70A, 70B, and 70C have been measured by the wire devices 20A, 20B, and 20C. That is, in this determination process, the determination is “No” until the reference objects 70A, 70B, and 70C are measured by all the wire devices 20A, 20B, and 20C, and the process returns to step S104. In step S104, as described above, the input of the identification number of the wire device to be measured is awaited. In this case, the operator replaces the stylus 50 attached to the distal end portion 21aA of the wire 21A with the distal end portion 21aB (or distal end portion 21aC) of the wire 21B (or wire 21C), and changes from the input device 42 to the wire device 20B. (Or the identification number of the wire device 20C) is input, and the measurement of the reference objects 70A, 70B, and 70C is repeatedly executed. On the other hand, when the reference objects 70A, 70B, and 70C are measured by all the wire devices 20A, 20B, and 20C, “Yes” is determined in this determination process, and the process proceeds to step S112. Thereby, the fixed points of the respective reference objects 70A, 70B, 70C are calculated for the respective wire devices 20A, 20B, 20C.

次に、3次元画像データ処理装置43は、ステップS112にて、座標変換関数FWSを計算する。この場合、座標変換関数FWSには、ワイヤ装置20Bに関する座標系であるワイヤ装置座標系Wによって表された座標値を基準座標系S(ワイヤ装置座標系W)によって表された座標値に変換する座標変換関数FWS1と、ワイヤ装置20Cに関する座標系であるワイヤ装置座標系Wによって表された座標値を基準座標系S(ワイヤ装置座標系W)によって表された座標値に変換する座標変換関数FWS2とがある。なお、ワイヤ装置20Aに関する座標系であるワイヤ装置座標系Wは基準座標系Sであるため、ワイヤ装置座標系Wによって表された座標値を基準座標系Sによって表された座標値に変換する座標変換関数FWSは計算する必要はない。 Next, in step S112, the three-dimensional image data processing device 43 calculates a coordinate conversion function FWS . In this case, the coordinate in the transform function F WS, wire device 20B coordinate system in which the wire device coordinate system W reference coordinate system coordinate values represented by B S (wire device coordinate system W A) coordinate value expressed by about a coordinate transformation function F WS1 to convert to, the coordinate values represented by a coordinate system about the wire device 20C wire device coordinate system W reference coordinate system coordinate values represented by C S (wire device coordinate system W a) There is a coordinate conversion function FWS2 for conversion. Since the wire device coordinate system W A is a coordinate system about the wire device 20A is the reference coordinate system S, the coordinate value expressed by the wire device coordinate system W A the coordinate values represented by the reference coordinate system S conversion It is not necessary to calculate the coordinate conversion function F WS to be performed.

このステップS112による座標変換係数FWSの計算処理に先立ち、座標変換について簡単に説明しておく。X,Y,Z座標からなる第1座標系と、同第1座標系をX軸、Y軸およびZ軸回りにそれぞれθx,θy,θzだけ回転させるとともに、同第1座標系の原点をX軸方向、Y軸方向およびZ軸方向にそれぞれa,b,cだけ移動させた第2座標系を想定する。第1座標系における一点の座標値(x,y,z)とし、第2座標系における同一点の座標値を(x’,y’,z’)とすると、これらの座標値の間には下記式2が成立する。この場合、下記式2中のMは下記式3によって表される行列値である。

Figure 2007256188
Figure 2007256188
Prior according to the step S112 to the calculation process of coordinate conversion coefficients F WS, will be briefly described coordinate transformation. A first coordinate system composed of X, Y, and Z coordinates and the first coordinate system are rotated by θx, θy, and θz about the X, Y, and Z axes, respectively, and the origin of the first coordinate system is set to X Assume a second coordinate system moved by a, b, and c in the axial direction, Y-axis direction, and Z-axis direction, respectively. Assuming that the coordinate value (x, y, z) of one point in the first coordinate system and the coordinate value of the same point in the second coordinate system are (x ′, y ′, z ′), The following formula 2 is established. In this case, M in the following formula 2 is a matrix value represented by the following formula 3.
Figure 2007256188
Figure 2007256188

このステップS112の座標変換関数FWSの計算は、前記式2および式3中の行列値M(g11,g12,g13,g21,g22,g23,g31,g32,g33)および行列値a,b,cを計算することを意味する。この場合、本実施形態のワイヤ装置座標系W(またはワイヤ装置座標系W)が第1座標系に対応するとともに、基準座標系S(ワイヤ装置座標系W)が第2座標系に対応する。したがって、各基準物体70A,70B,70Cのワイヤ装置座標系W(またはワイヤ装置座標系W)における各定点(x1,y1,z1),(x2,y2,z2),(x3,y3,z3)と、基準座標系S(ワイヤ装置座標系W)における各定点(x’1,y’1,z’1),(x’2,y’2,z’2),(x’3,y’3,z’3)とを前記式2に適用すると、下記式4〜6の関係が成立する。

Figure 2007256188
Figure 2007256188
Figure 2007256188
The calculation of the coordinate transformation function F WS in step S112 is performed by calculating the matrix values M (g 11 , g 12 , g 13 , g 21 , g 22 , g 23 , g 31 , g 32 , g in the above equations 2 and 3. 33 ) and matrix values a, b, c. In this case, the wire device coordinate system W B (or wire device coordinate system W C ) of the present embodiment corresponds to the first coordinate system, and the reference coordinate system S (wire device coordinate system W A ) corresponds to the second coordinate system. Correspond. Therefore, the fixed points (x1, y1, z1), (x2, y2, z2), (x3, y3,) in the wire device coordinate system W B (or the wire device coordinate system W C ) of the reference objects 70A, 70B, and 70C. and z3), each fixed point in the reference coordinate system S (wire device coordinate system W a) (x'1, y'1, z'1), (x'2, y'2, z'2), (x ' When 3, y′3, z′3) are applied to the above equation 2, the following equations 4 to 6 are established.
Figure 2007256188
Figure 2007256188
Figure 2007256188

前記式4を変形すると、下記式7の連立方程式が成立する。

Figure 2007256188
When Equation 4 is modified, the following simultaneous equations of Equation 7 are established.
Figure 2007256188

ここで、定点座標(x1,y1,z1),(x2,y2,z2),(x3,y3,z3)を含む平面の法線ベクトルを(α,β,γ)とし、定点座標(x’1,y’1,z’1),(x’2,y’2,z’2),(x’3,y’3,z’3)を含む平面の法線ベクトルを(α’,β’,γ’)とすると、2つの法線ベクトルの大きさが同じであれば下記式8が成立する。同式8中の行列Mは、前記式3によって表される。

Figure 2007256188
Here, the normal vector of the plane including the fixed point coordinates (x1, y1, z1), (x2, y2, z2), (x3, y3, z3) is (α, β, γ), and the fixed point coordinates (x ′ 1, y′1, z′1), (x′2, y′2, z′2), (x′3, y′3, z′3) and the normal vector of the plane including (α ′, If β ′, γ ′), the following equation 8 is established if the two normal vectors have the same magnitude. The matrix M in Equation 8 is expressed by Equation 3 above.
Figure 2007256188

定点座標(x1,y1,z1),(x2,y2,z2),(x3,y3,z3)を含む平面の法線ベクトルを(x2,y2,z2)から(x1,y1,z1)に向かうベクトルと、(x3,y3,z3)から(x2,y2,z2)に向かうベクトルとの外積により成立するベクトルとすると、前記法線ベクトル(α,β,γ)は下記式9によって表される。

Figure 2007256188
The normal vector of the plane including the fixed point coordinates (x1, y1, z1), (x2, y2, z2), (x3, y3, z3) is directed from (x2, y2, z2) to (x1, y1, z1) Assuming that the vector is established by the outer product of the vector and the vector from (x3, y3, z3) to (x2, y2, z2), the normal vector (α, β, γ) is expressed by the following equation (9). .
Figure 2007256188

同様に、前記ベクトル(α’,β’,γ’)は下記式10によって表される。

Figure 2007256188
Similarly, the vector (α ′, β ′, γ ′) is expressed by Equation 10 below.
Figure 2007256188

前記式9および前記式10を前記式8に代入すると、下記式11が成立する。

Figure 2007256188
Substituting Equation 9 and Equation 10 into Equation 8 yields Equation 11 below.
Figure 2007256188

前記式11の1番目の式を前記式7に加えれば、下記式12の連立方程式となる。

Figure 2007256188
If the first equation of the equation 11 is added to the equation 7, the simultaneous equations of the following equation 12 are obtained.
Figure 2007256188

この式12の連立方程式を解くことにより、行列値g11,g12,g13を計算することができる。また、前記式5および式6に関しても、前記式7の連立方程式のように変形し、前記式11の2番目の式および3番目の式をそれぞれ加えた連立方程式を解くことにより行列値g21,g22,g23および行列値g31,g32,g33を計算できる。そして、これらの計算した各行列値を前記式4〜6に代入すれば、行列値a,b,cを計算できる。これにより、ワイヤ装置20B(またはワイヤ装置20C)に関する座標系であるワイヤ装置座標系W(またはワイヤ装置座標系W)によって表された座標値を基準座標系S(ワイヤ装置座標系W)によって表された座標値に変換するための座標変換関数FWS1(または座標変換関数FWS2)が計算される。なお、計算された座標変換関数FWSは、3次元画像データ処理装置43のメモリ装置内に記憶される。そして、3次元画像データ処理装置43は、ステップS114にて、この座標変換関数FWS計算プログラムの実行を終了する。 By solving the simultaneous equations of Equation 12, matrix values g 11 , g 12 , and g 13 can be calculated. Also, with respect to the equations 5 and 6, the matrix value g 21 is modified by modifying the simultaneous equations of the equation 7 and solving the simultaneous equations obtained by adding the second and third equations of the equation 11, respectively. , G 22 , g 23 and matrix values g 31 , g 32 , g 33 can be calculated. Then, the matrix values a, b, and c can be calculated by substituting these calculated matrix values into the equations 4-6. Thus, wire unit 20B (or wire device 20C) relating to a coordinate system wire device coordinate system W B (or wire device coordinate system W C) reference coordinate system coordinate values represented by S (wire device coordinate system W A The coordinate conversion function F WS1 (or the coordinate conversion function F WS2 ) for conversion into the coordinate value represented by () is calculated. The calculated coordinate transformation function F WS is stored in the memory device of the three-dimensional image data processing device 43. In step S114, the three-dimensional image data processing device 43 ends the execution of the coordinate conversion function FWS calculation program.

次に、作業者は、3次元形状測定装置10に関する座標系(以後、「カメラ座標系C」という)によって表された3次元形状データを、基準座標系Sが設定されているワイヤ装置20Aから引き出されるワイヤ21Aの先端部21aAに関する座標系(以後、「ワイヤ先端座標系P」という)によって表された3次元形状データに変換するための座標変換関数FCPを計算する。ここで、カメラ座標系Cは、互いに直交する3つの座標軸(X軸,Y軸,Z軸)からなり、3次元形状測定装置10の特定点を原点とする3次元座標系である。また、ワイヤ先端座標系Pは、カメラ座標系Cに対応する3つの座標軸(X軸,Y軸,Z軸)からなり、基準座標系Sが設定されたワイヤ装置20Aから引き出されるワイヤ21Aの軸線上における先端部21aAの先端の点からワイヤ21Aの軸線方向に球体13Aの半径長さ分移動した点を原点とする3次元座標系である。この座標変換関数FCPの計算に際して作業者は、基準座標系Sが設定されたワイヤ装置20Aから引き出されるワイヤ21Aの先端部21aAに前記触針50を再度取り付ける。 Next, the operator transfers the three-dimensional shape data represented by the coordinate system (hereinafter referred to as “camera coordinate system C”) related to the three-dimensional shape measuring apparatus 10 from the wire device 20A in which the reference coordinate system S is set. A coordinate conversion function F CP for conversion into three-dimensional shape data represented by a coordinate system (hereinafter referred to as “wire tip coordinate system P”) related to the tip portion 21aA of the wire 21A to be drawn is calculated. Here, the camera coordinate system C is a three-dimensional coordinate system that includes three coordinate axes (X axis, Y axis, and Z axis) that are orthogonal to each other and that has a specific point of the three-dimensional shape measuring apparatus 10 as an origin. The wire tip coordinate system P includes three coordinate axes (X axis, Y axis, Z axis) corresponding to the camera coordinate system C, and the axis of the wire 21A drawn from the wire device 20A in which the reference coordinate system S is set. This is a three-dimensional coordinate system in which the origin is a point moved by the radial length of the sphere 13A in the axial direction of the wire 21A from the point at the tip of the tip 21aA on the line. Worker upon calculation of the coordinate transformation function F CP attaches the stylus 50 to the distal end portion 21aA of the wire 21A to be pulled out from the wire unit 20A of the reference coordinate system S is set again.

作業者は、入力装置42を操作して、座標変換関数FCPの計算を3次元画像データ処理装置43に指示する。この指示に応答して、3次元画像データ処理装置43は、図6に示す座標変換関数FCP計算プログラムの実行をステップS200にて開始して、ステップS202にて、基準物体の特徴の入力を待つ。この場合、基準物体の特徴とは、基準物体70A,70B,70Cがそれぞれ球体であることを表すデータおよび同各球体の直径を表すデータである。したがって、作業者は、入力装置42を操作して、基準物体70A,70B,70Cが球体であることを表すデータおよび同球体の直径を表すデータを3次元画像データ処理装置43に入力する。なお、以前に入力された基準物体の特徴が変更されない場合には、このステップS202の処理をスキップさせてもよい。 The operator operates the input device 42 to instruct the three-dimensional image data processing device 43 to calculate the coordinate conversion function FCP . In response to this instruction, the three-dimensional image data processing device 43 starts the execution of the coordinate conversion function FCP calculation program shown in FIG. 6 in step S200, and inputs the characteristics of the reference object in step S202. wait. In this case, the characteristics of the reference object are data indicating that each of the reference objects 70A, 70B, and 70C is a sphere and data indicating the diameter of each sphere. Therefore, the operator operates the input device 42 to input data indicating that the reference objects 70A, 70B, and 70C are spheres and data indicating the diameter of the spheres to the three-dimensional image data processing device 43. Note that if the previously inputted characteristics of the reference object are not changed, the process of step S202 may be skipped.

次に、3次元画像データ処理装置43は、ステップS204にて、触針50による基準物体の測定情報の入力を待つ。この場合、作業者は、前記ステップS106と同様にして、ワイヤ21Aの先端部21aAに取り付けられた触針50を手で持って移動させることにより、触針50の先端を基準物体70A,70B,70Cの各表面における互いに異なる4つの位置にそれぞれ接触させるとともに、各接触ごとに入力装置42を操作することにより触針50の基準物体70A,70B,70Cに対する接触を表す情報を入力する。3次元画像データ処理装置43は、作業者から入力される触針50の基準物体70A,70B,70Cに対する接触を表す情報ごとに、ワイヤ装置20Aから引出し量Lおよび回転角θ,θを入力して、触針50の基準物体70A,70B,70Cに対する各接触点の座標値をそれぞれ計算する。これにより、各基準物体70A,70B,70Cごとに、それぞれ4つの接触点の各座標値(x、y,z)が計算される。 Next, the three-dimensional image data processing device 43 waits for input of measurement information of the reference object by the stylus 50 in step S204. In this case, the operator holds the tip of the stylus 50 with the hand by moving the stylus 50 attached to the tip portion 21aA of the wire 21A with the hand in the same manner as in step S106, so that the reference objects 70A, 70B, Information representing the contact of the stylus 50 with respect to the reference objects 70A, 70B, and 70C is input by contacting the four different positions on each surface of the 70C and operating the input device 42 for each contact. The three-dimensional image data processing device 43 calculates the drawing amount L and the rotation angles θ X and θ Z from the wire device 20A for each piece of information representing the contact of the stylus 50 with the reference objects 70A, 70B, and 70C input from the operator. The coordinate values of the contact points of the stylus 50 with respect to the reference objects 70A, 70B, and 70C are calculated. Thereby, each coordinate value (x, y, z) of four contact points is calculated for each reference object 70A, 70B, 70C.

次に、3次元画像データ処理装置43は、ステップS206にて、前記ステップS108と同様にして、基準物体70A,70B,70Cごとに定点をそれぞれ計算する。具体的には、前記ステップS204にて計算した基準物体70A,70B,70Cごとの各4つの接触点の座標値(x、y,z)を、前記式1の左辺にそれぞれ代入することで成立する連立方程式を解くことで未知数a、b、cを定点として計算する。この場合、a,b、cは、前記座標値(x、y,z)によって表された各基準物体70A,70B,70Cの中心座標を表す。なお、前記式1においてdは、各基準物体70A,70B,70Cの半径を表すが、このステップS206の処理においては計算する必要はない。これにより、各基準物体70A,70B,70Cごとに各球体の中心座標が定点としてそれぞれ計算される。なお、このステップS206によって計算される基準物体70A,70B,70Cごとの各定点は、前記ステップS108にて計算される基準物体70A,70B,70Cごとの各定点と同じであるため、基準物体70A,70B,70Cの位置やワイヤ装置20A,20B,20Cの位置が変更されず前記ステップ106にて計算された基準物体70A,70B,70Cごとの各定点の座標値が記憶されていれば、ステップS204およびステップS206の処理は不要である。   Next, in step S206, the three-dimensional image data processing device 43 calculates fixed points for each of the reference objects 70A, 70B, and 70C in the same manner as in step S108. Specifically, it is established by substituting the coordinate values (x, y, z) of each of the four contact points for each of the reference objects 70A, 70B, 70C calculated in step S204 into the left side of the equation 1. The unknowns a, b, and c are calculated as fixed points by solving the simultaneous equations. In this case, a, b, and c represent the center coordinates of the reference objects 70A, 70B, and 70C represented by the coordinate values (x, y, z). In the above equation 1, d represents the radius of each of the reference objects 70A, 70B, 70C, but it is not necessary to calculate in the process of step S206. Thereby, the center coordinates of each sphere are calculated as fixed points for each of the reference objects 70A, 70B, and 70C. Each fixed point for each of the reference objects 70A, 70B, and 70C calculated in step S206 is the same as each fixed point for each of the reference objects 70A, 70B, and 70C calculated in step S108. , 70B, 70C and the positions of the wire devices 20A, 20B, 20C are not changed, and the coordinate values of the fixed points for the reference objects 70A, 70B, 70C calculated in step 106 are stored. The processing of S204 and step S206 is not necessary.

次に、3次元画像データ処理装置43は、ステップS208にて、3次元形状測定装置10による基準物体の測定情報の入力を待つ。この場合、作業者は、図7に示すように、ワイヤ21Aの先端部21aAに取り付けられている触針50を取り外して3次元形状測定装置10の背面に設けられている球体13Aに接続するとともに、他のワイヤ21B,21Cの各先端部21aB,21aCを同3次元形状測定装置10の背面に設けられている球体13B,13Cにそれぞれ接続する。そして、各ワイヤ21A,21B,21Cが接続された3次元形状測定装置10を3次元形状測定装置支持脚80に固定した後、入力装置42を操作して基準物体70A,70B,70Cの測定を行う。3次元形状測定装置支持脚80は、ワイヤ装置支持脚30と同様に3次元形状測定装置10を所定の位置に支持するものである。なお、図において、コントローラ41、入力装置42、3次元画像データ処理装置43および表示装置44の各図は省略されている。   Next, the three-dimensional image data processing device 43 waits for input of measurement information of the reference object by the three-dimensional shape measuring device 10 in step S208. In this case, as shown in FIG. 7, the operator removes the stylus 50 attached to the tip 21aA of the wire 21A and connects it to the sphere 13A provided on the back surface of the three-dimensional shape measuring apparatus 10. The tip portions 21aB and 21aC of the other wires 21B and 21C are connected to the spheres 13B and 13C provided on the back surface of the three-dimensional shape measuring apparatus 10, respectively. Then, after fixing the three-dimensional shape measuring apparatus 10 to which the wires 21A, 21B, and 21C are connected to the three-dimensional shape measuring apparatus support leg 80, the input device 42 is operated to measure the reference objects 70A, 70B, and 70C. Do. The three-dimensional shape measuring device support leg 80 supports the three-dimensional shape measuring device 10 at a predetermined position in the same manner as the wire device support leg 30. In the figure, the controller 41, the input device 42, the three-dimensional image data processing device 43, and the display device 44 are not shown.

3次元形状測定装置10は、コントローラ41からの指示に応答して基準物体70A,70B,70Cの測定を開始して、基準物体70A,70B,70Cの3次元形状を表す情報を3次元画像データ処理装置43に出力する。すなわち、基準物体70A,70B,70Cの表面を微小エリアずつに分割した各分割エリア位置を表すX−Y−Z座標に関する情報(具体的には、傾きθx,θyおよび距離Lz)を3次元画像データ処理装置43にそれぞれ出力する。そして、3次元画像データ処理装置43は、同ステップS208にて、3次元形状測定装置10から出力されたX−Y−Z座標に関する情報に基づいて、基準物体70A,70B,70Cの3次元形状を表す立体形状データ群からなる3次元形状データを生成する。この場合、3次元形状データは、3次元形状測定装置10に関する座標系、すなわちカメラ座標系Cによって表されている。なお、この3次元形状データ中には、基準物体70A,70B,70Cのほかに同基準物体70A,70B,70Cの周辺に存在する他の物体(例えば、テーブル60)の表面形状を表す3次元形状データも含まれている。   The three-dimensional shape measuring apparatus 10 starts measurement of the reference objects 70A, 70B, and 70C in response to an instruction from the controller 41, and obtains information representing the three-dimensional shapes of the reference objects 70A, 70B, and 70C as three-dimensional image data. The data is output to the processing device 43. That is, information (specifically, inclinations θx, θy and distance Lz) regarding the XYZ coordinates representing the divided area positions obtained by dividing the surfaces of the reference objects 70A, 70B, and 70C into minute areas are obtained as a three-dimensional image. The data is output to the data processor 43. The three-dimensional image data processing device 43 then uses the three-dimensional shapes of the reference objects 70A, 70B, and 70C based on the information about the XYZ coordinates output from the three-dimensional shape measurement device 10 in step S208. 3D shape data consisting of a three-dimensional shape data group representing is generated. In this case, the three-dimensional shape data is represented by a coordinate system related to the three-dimensional shape measuring apparatus 10, that is, a camera coordinate system C. In this three-dimensional shape data, in addition to the reference objects 70A, 70B, 70C, a three-dimensional representing the surface shape of other objects (for example, the table 60) existing around the reference objects 70A, 70B, 70C. Shape data is also included.

次に、3次元画像データ処理装置43は、ステップS210にて、前記ステップS208にて生成された3次元形状データの中から、基準物体70A,70B,70Cの3次元形状を表す3次元形状データをそれぞれ抽出する。この基準物体70A,70B,70Cの3次元形状を表す3次元形状データの抽出処理は、図示しない基準物体抽出サブプログラムによって実行される。基準物体抽出サブプログラムの処理内容を簡単に説明する。   Next, in step S210, the three-dimensional image data processing device 43 selects three-dimensional shape data representing the three-dimensional shapes of the reference objects 70A, 70B, and 70C from the three-dimensional shape data generated in step S208. Are extracted respectively. The extraction process of the three-dimensional shape data representing the three-dimensional shapes of the reference objects 70A, 70B, and 70C is executed by a reference object extraction subprogram (not shown). The processing contents of the reference object extraction subprogram will be briefly described.

3次元画像データ処理装置43は、前記ステップS202にて入力された基準物体の特徴のうち球体の直径を表すデータを用いて、単位ブロックおよび探索ブロックを設定する。単位ブロックは、基準物体70A,70B,70Cの存在位置を特定するために探索ブロックを移動させる最小のブロックであり、探索ブロックは、基準物体70A,70B,70Cをその内部に包含する位置を特定するために利用される単位ブロックの集まりである。3次元画像データ処理装置43は、3次元形状測定装置10の測定対象空間内を単位ブロックの大きさで立体的に分割するとともに、探索ブロックを測定対象空間内で順次移動させて探索ブロック内に包含される単位ブロックのうち3次元形状データを含む単位ブロックの数をカウントする。このカウントした単位ブロックの数に応じて、探索ブロック内に含まれる3次元形状データがそれぞれ基準物体70A,70B,70C全体を含む3次元形状データであるか否かを判定し、基準物体70A,70B,70C全体を含む3次元形状データであると判定されたとき、探索ブロック内の3次元形状データを抽出する。なお、この技術は、既によく知られた技術であり、例えば特開2004−333371号公報に記載されている。   The three-dimensional image data processing device 43 sets a unit block and a search block using data representing the diameter of the sphere among the features of the reference object input in step S202. The unit block is a minimum block that moves the search block in order to specify the positions where the reference objects 70A, 70B, and 70C exist, and the search block specifies the position that includes the reference objects 70A, 70B, and 70C. It is a collection of unit blocks used for The three-dimensional image data processing device 43 three-dimensionally divides the measurement target space of the three-dimensional shape measurement device 10 by the size of the unit block, and sequentially moves the search block in the measurement target space to enter the search block. The number of unit blocks including three-dimensional shape data among the included unit blocks is counted. In accordance with the counted number of unit blocks, it is determined whether or not the three-dimensional shape data included in the search block is three-dimensional shape data including the entire reference objects 70A, 70B, and 70C. When it is determined that the 3D shape data includes the entire 70B and 70C, the 3D shape data in the search block is extracted. This technique is already well known and is described in, for example, Japanese Patent Application Laid-Open No. 2004-333371.

また、前記説明した基準物体の抽出方法のほかに、基準物体70A,70B,70Cからの反射光の光量を用いて基準物体70A,70B,70Cの3次元形状を表す3次元形状データを抽出することもできる。この場合、基準物体70A,70B,70Cからの反射光の光量を予め検出するとともに、同反射光の光量を3次元画像データ処理装置43に設定しておく。そして、3次元形状測定装置10は、X−Y−Z座標に関する情報(具体的には、傾きθx,θyおよび距離Lz)に加えて基準物体70A,70B,70Cからの反射光の光量も検出して、前記設定した光量と一致する3次元形状データを抽出するようにする。   In addition to the reference object extraction method described above, three-dimensional shape data representing the three-dimensional shapes of the reference objects 70A, 70B, and 70C is extracted using the amount of reflected light from the reference objects 70A, 70B, and 70C. You can also. In this case, the amount of reflected light from the reference objects 70A, 70B, and 70C is detected in advance, and the amount of reflected light is set in the three-dimensional image data processing device 43. The three-dimensional shape measuring apparatus 10 also detects the amount of reflected light from the reference objects 70A, 70B, and 70C in addition to the information about the XYZ coordinates (specifically, the inclinations θx and θy and the distance Lz). Then, three-dimensional shape data that matches the set light amount is extracted.

次に、3次元画像データ処理装置43は、ステップS212にて、前記ステップS210にてそれぞれ抽出した基準物体70A,70B,70Cを表す3次元形状データを用いて基準物体70A,70B,70Cごとに定点座標をそれぞれ計算する。具体的には、前記抽出した3次元形状データを基準物体70A,70B,70Cごとに前記式1の左辺にそれぞれ代入し、最小2乗法を用いて未知数a、b、cを定点として計算する。この場合、a,b、cは、3次元形状データによって表された球体、すなわち各基準物体70A,70B,70Cの各中心座標を表す。なお、前記式1においてdは、各基準物体70A,70B,70Cの半径を表すが、このステップS212の処理においては計算する必要はない。   Next, in step S212, the three-dimensional image data processing device 43 uses the three-dimensional shape data representing the reference objects 70A, 70B, and 70C extracted in step S210, for each of the reference objects 70A, 70B, and 70C. Calculate each fixed point coordinate. Specifically, the extracted three-dimensional shape data is assigned to the left side of Equation 1 for each of the reference objects 70A, 70B, and 70C, and the unknowns a, b, and c are calculated as fixed points using the least square method. In this case, a, b, and c represent the center coordinates of the sphere represented by the three-dimensional shape data, that is, the reference objects 70A, 70B, and 70C. In the above equation 1, d represents the radius of each of the reference objects 70A, 70B, and 70C, but it is not necessary to calculate in the process of step S212.

次に、3次元画像データ処理装置43は、ステップS214にて、基準座標系Sによって表された座標値をワイヤ先端座標系Pによって表された座標値に変換する座標変換関数FSPを計算する。この座標変換関数FSPの計算は、図8に示す座標変換関数FSP計算サブプログラムの実行により行われる。 Next, in step S214, the three-dimensional image data processing device 43 calculates a coordinate conversion function FSP for converting the coordinate value represented by the reference coordinate system S into the coordinate value represented by the wire tip coordinate system P. . The calculation of the coordinate transformation function F SP is performed by executing the coordinate transformation function F SP calculation subprogram shown in FIG.

3次元画像データ処理装置43は、ステップS300にて、座標変換関数FSP計算サブプログラムの実行を開始して、ステップS302にて、ワイヤ21A,21B,21Cの各先端部21aA,21aB,21aCの先端座標を検出する。具体的には、3次元画像データ処理装置43は、前記ステップS208にて基準物体70A,70B,70Cを測定した3次元形状測定装置10の位置における各ワイヤ21A,21B,21Cの引出し量Lおよび回転角θ,θを入力して、各ワイヤ装置20A,20B,20Cごと、すなわちワイヤ装置座標系W,W,Wごとに各先端部21aA,21aB,21aCの先端の位置(座標値)を先端座標として計算する。 3-dimensional image data processor 43, at step S300, the start of execution of the coordinate transformation function F SP calculation subprogram, at step S302, the wires 21A, 21B, each tip 21aA of 21C, 21aB, the 21aC Detect tip coordinates. Specifically, the three-dimensional image data processing apparatus 43 determines the amount L of each wire 21A, 21B, 21C drawn at the position of the three-dimensional shape measurement apparatus 10 that has measured the reference objects 70A, 70B, 70C in step S208, and rotation angle theta X, enter the theta Z, each wire unit 20A, 20B, each 20C, i.e. wire device coordinate system W a, W B, the distal end portion 21aA each W C, 21aB, the position of the tip of 21ac ( (Coordinate value) is calculated as the tip coordinate.

そして、3次元画像データ処理装置43は、ステップS304にて、前記ステップS302にて計算した各先端部21aA,21aB,21aCの先端座標を、前記座標変換関数FWS計算プログラムの実行により計算された座標変換関数FWS(座標変換関数FWS1および座標変換関数FWS2)を用いて基準座標系Sによって表された座標値にそれぞれ座標変換する。この場合、ワイヤ装置座標系Wによって表された先端部21aAの先端座標は、ワイヤ装置座標系Wが基準座標系Sであるため、座標変換する必要はない。なお、このステップS304にて計算された3つの先端座標を、各先端部21aA,21aB,21aCに対応させてP,P,Pとする。 Then, the three-dimensional image data processor 43, at step S304, the front end portion 21aA calculated in the step S302, 21aB, the coordinates of the tip of 21ac, were calculated by executing the coordinate transformation function F WS calculation program The coordinates are converted into coordinate values represented by the reference coordinate system S using the coordinate conversion function F WS (coordinate conversion function F WS1 and coordinate conversion function F WS2 ). In this case, the tip coordinates of the distal end portion 21aA represented by wire system coordinate system W A, since the wire device coordinate system W A is the reference coordinate system S, there is no need to coordinate transformation. Incidentally, the three top end coordinates calculated at step S304, the front end portion 21aA, 21aB, so as to correspond to 21ac P A, P B, and P C.

次に、3次元画像データ処理装置43は、ステップS306にて、座標変換関数FSPを計算する。この座標変換関数FSPにおける座標軸の回転成分の計算は、前記ステップS304にて計算した基準座標系Sにおける3つの先端座標P,P,Pを用いて3つのベクトルA,B,Cを定義し、同3つのベクトルA,B,Cの基準座標系Sおよびワイヤ先端座標系Pにおける各ベクトルの成分を用いて計算する。具体的には、基準座標系Sにおける1つのベクトルの成分を(α,β,γ)とするとともに、ワイヤ先端座標系Pにおける前記1つのベクトルの成分を(α’,β’,γ’)とすると、前記式8が成立する。同式8中の行列値Mは、基準座標系Sの座標軸に対するワイヤ先端座標系Pの座標軸の相対的な回転成分を表しており、前記式3によって表される。この場合、ベクトル(α,β,γ)とベクトル(α’,β’,γ’)は、その大きさが同じとする。 Next, the three-dimensional image data processor 43, at step S306, calculates a coordinate transformation function F SP. Calculation of the rotational component of the coordinate axes in the coordinate transformation function F SP is three top end coordinates P A in the reference coordinate system S calculated at the step S304, P B, 3 a vector A with P C, B, C Are calculated using the components of each vector in the reference coordinate system S and the wire tip coordinate system P of the three vectors A, B, and C. Specifically, the component of one vector in the reference coordinate system S is (α, β, γ), and the component of the one vector in the wire tip coordinate system P is (α ′, β ′, γ ′). Then, the equation 8 is established. The matrix value M in Equation 8 represents the relative rotation component of the coordinate axis of the wire tip coordinate system P with respect to the coordinate axis of the reference coordinate system S, and is expressed by Equation 3 above. In this case, the vector (α, β, γ) and the vector (α ′, β ′, γ ′) have the same size.

このステップS306の座標変換関数FSPにおける座標軸の回転成分の計算は、前記式8中の行列値M(M=g11,g12,g13,g21,g22,g23,g31,g32,g33)を計算することを意味する。すなわち、互いに同一方向でない3つのベクトルA,B,Cを想定し、この3つのベクトルのA,B,Cの基準座標系Sにおける各成分A,B,Cを(α1,β1,γ1),(α2,β2,γ2),(α3,β3,γ3)とし、この3つのベクトルのA,B,Cのワイヤ先端座標系Pにおける各成分A,B,Cを(α’1,β’1,γ’1),(α’2,β’2,γ’2),(α’3,β’3,γ’3)とすれば、下記式13〜15の関係が成立する。

Figure 2007256188
Figure 2007256188
Figure 2007256188
Coordinate transformation function F calculated rotational component of the coordinate axes in the SP, the matrix value M in the formula 8 (M = g 11, g 12, g 13, g 21, g 22, g 23, g 31 in step S306, g 32 , g 33 ) is calculated. That is, assuming three vectors A, B, and C that are not in the same direction, the components A S , B S , and C S in the reference coordinate system S of the three vectors A, B, and C are expressed as (α1, β1, γ1), (α2, β2, γ2), (α3, β3, and [gamma] 3), a of the three vectors, B, the components a P in wire tip coordinate system P of C, B P, the C P (alpha If '1, β'1, γ'1), (α'2, β'2, γ'2), (α'3, β'3, γ'3), the relationship of the following equations 13-15: Is established.
Figure 2007256188
Figure 2007256188
Figure 2007256188

この前記式13〜15の連立方程式を解くことにより、行列値Mを計算することができる。本実施形態においては、前記先端座標Pから先端座標P(または先端座標P)に向かうベクトルの単位ベクトルを前記3つのベクトルA,B,CうちのベクトルAとし、先端座標Pから先端座標P(または先端座標P)に向かうベクトルと、前記ベクトルAとの外積により計算される単位ベクトルをベクトルBとし、前記ベクトルAとベクトルBとの外積により計算される単位ベクトルをベクトルCとする。この場合、ワイヤ先端座標系Pの座標軸の向きは、これらのベクトルA,B,Cの向きと同一であるとして定義する。よって同ベクトルA,B,Cのワイヤ先端座標系Pにおける各成分は(1,0,0),(0,1,0),(0,0,1)となる。そして、基準座標系Sにおける同ベクトルA,B,Cにおける各成分は、3つの先端座標P,P,Pを用いて計算される。したがって、これらのベクトルA,B,Cの基準座標系Sおよびワイヤ先端座標系Pにおける各成分を前記式13〜15に代入して連立方程式を解くことにより、行列値Mを計算することができる。また、基準座標系Sの原点に対するワイヤ先端座標系Pの原点のずれ量は先端座標Pの座標値(a,b,c)となる。これらの行列値Mおよび先端座標Pの座標値(a,b,c)が座標変換関数FSPである。基準座標系Sによって表された座標値(X,Y,Z)とワイヤ先端座標系Pによって表された座標値(X,Y,Z)との関係を座標変換関数FSPを用いて表すと下記式16に示すようになる。

Figure 2007256188
The matrix value M can be calculated by solving the simultaneous equations of Equations 13-15. In the present embodiment, the unit vector of the vector from the tip coordinate P A to the tip coordinate P B (or tip coordinate P C ) is the vector A of the three vectors A, B, C, and the tip coordinate P A is used. A unit vector calculated by the outer product of the vector directed to the tip coordinate P C (or the tip coordinate P B ) and the vector A is a vector B, and a unit vector calculated by the outer product of the vector A and the vector B is a vector. C. In this case, the direction of the coordinate axis of the wire tip coordinate system P is defined as being the same as the direction of these vectors A, B, and C. Therefore, each component in the wire tip coordinate system P of the same vector A, B, C is (1, 0, 0), (0, 1, 0), (0, 0, 1). Then, each component the vector A in the reference coordinate system S, B, in C, the three top end coordinates P A, P B, is calculated using the P C. Therefore, the matrix value M can be calculated by substituting the components of the vectors A, B, and C in the reference coordinate system S and the wire tip coordinate system P into the equations 13 to 15 and solving the simultaneous equations. . Further, the amount of deviation of the origin of the wire tip coordinates P to the origin of the reference coordinate system S is the coordinate value of the coordinates of the tip P A (a, b, c ). Coordinate values of these matrices values M and tip coordinates P A (a, b, c ) is a coordinate transformation function F SP. The relationship between the coordinate values (X S , Y S , Z S ) represented by the reference coordinate system S and the coordinate values (X P , Y P , Z P ) represented by the wire tip coordinate system P is expressed as a coordinate conversion function F. When expressed using SP , the following equation 16 is obtained.
Figure 2007256188

そして、3次元画像データ処理装置43は、前記計算した座標変換関数FSPを記憶した後、ステップS308にて、この座標変換関数FSP計算サブプログラムの実行を終了してステップS216に戻る。次に、3次元画像データ処理装置43は、ステップS216にて、前記ステップS206にて計算された基準物体70A,70B,70Cごとの各定点座標を、前記ステップS214にて計算した座標変換関数FSPを用いてワイヤ先端座標系Pによって表された定点座標に座標変換する。これにより、3つの基準物体70A,70B,70Cに対して、ワイヤ先端座標系Pによって表された3つの定点座標と、カメラ座標系Cによって表された3つの定点座標とが計算されたことになる。 Then, the three-dimensional image data processing device 43, after storing the coordinate transformation function F SP mentioned above calculation, at step S308, the flow returns to step S216 and ends the execution of the coordinate transformation function F SP calculation subprograms. Next, in step S216, the three-dimensional image data processing device 43 converts the fixed point coordinates for each of the reference objects 70A, 70B, and 70C calculated in step S206 into the coordinate conversion function F calculated in step S214. Using SP , the coordinates are converted into fixed point coordinates represented by the wire tip coordinate system P. Thereby, for the three reference objects 70A, 70B, and 70C, three fixed point coordinates represented by the wire tip coordinate system P and three fixed point coordinates represented by the camera coordinate system C are calculated. Become.

次に、3次元画像データ処理装置43は、ステップS218にて、座標変換関数FCPを計算する。この座標変換関数FCPの計算は、前記ステップS212にて計算されたカメラ座標系Cにおける3つの定点座標と、前記ステップS216にて計算されたワイヤ先端座標系Pにおける3つの定点座標とを用いて、前記座標変換関数FWSと同様な処理によって計算する。すなわち、前記第1座標系をカメラ座標系Cとし、前記第2座標系を基準座標系Sとして、カメラ座標系Cによって表された3つの定点(x1,y1,z1),(x2,y2,z2),(x3,y3,z3)と、ワイヤ先端座標系Pによって表された3つの定点(x’1,y’1,z’1),(x’2,y’2,z’2),(x’3,y’3,z’3)とを前記式2にそれぞれ代入すれば、前記と同様にして座標変換関数FCPを計算することができる。そして、3次元画像データ処理装置43は、前記計算した座標変換関数FCPを記憶した後、ステップS220にて、この座標変換関数FCP計算プログラムの実行を終了する。 Next, the three-dimensional image data processor 43, at step S218, calculates a coordinate transformation function F CP. The calculation of the coordinate transformation function F CP uses the three fixed point coordinates in the camera coordinate system C calculated in step S212 and the three fixed point coordinates in the wire tip coordinate system P calculated in step S216. Then, the calculation is performed by the same process as the coordinate conversion function FWS . That is, the first coordinate system is a camera coordinate system C, the second coordinate system is a reference coordinate system S, and three fixed points (x1, y1, z1), (x2, y2,) represented by the camera coordinate system C are used. z2), (x3, y3, z3) and three fixed points (x'1, y'1, z'1), (x'2, y'2, z'2) represented by the wire tip coordinate system P ) And (x′3, y′3, z′3) are respectively substituted into the equation 2, the coordinate transformation function F CP can be calculated in the same manner as described above. Then, the three-dimensional image data processing device 43 stores the calculated coordinate transformation function F CP and then ends the execution of the coordinate transformation function F CP calculation program in step S220.

この座標変換関数FCP計算プログラムの実行後、作業者は、テーブル60から基準物体70A,70B,70Cを取り除いて、同テーブル60上に測定対象物であるワークWKを配置する。そして、入力装置42を操作してワークWKの3次元立体形状の表示を指示する。これに応答して、3次元画像データ処理装置43は、図9に示す3次元形状表示プログラムの実行をステップS400にて開始して、ステップS402にてワークWKの3次元形状を表す測定情報の入力を待つ。 After the execution of the coordinate conversion function F CP calculation program, the operator removes the reference objects 70A, 70B, and 70C from the table 60, and places the work WK that is the measurement object on the table 60. Then, the input device 42 is operated to instruct the display of the three-dimensional shape of the work WK. In response to this, the three-dimensional image data processing device 43 starts execution of the three-dimensional shape display program shown in FIG. 9 in step S400, and in step S402, the measurement information representing the three-dimensional shape of the workpiece WK is displayed. Wait for input.

作業者は、3次元形状測定装置10を3次元形状測定装置支持脚80上から取り外し、同3次元形状測定装置10を手で持って、ワイヤ装置20A,20B,20Cから引き出されるワイヤ21A,21B,21Cの引出し量Lおよび外筒22A,22B,22Cの回転角θx,θyの変化を伴いながら、ワークWKに対して3次元形状測定装置10を移動させてワークWKの3次元形状の測定を行う。   The operator removes the three-dimensional shape measuring apparatus 10 from the three-dimensional shape measuring apparatus support leg 80, holds the three-dimensional shape measuring apparatus 10 by hand, and wires 21A, 21B pulled out from the wire devices 20A, 20B, 20C. , 21C, and the three-dimensional shape of the workpiece WK are measured by moving the three-dimensional shape measuring apparatus 10 with respect to the workpiece WK while changing the rotation angles θx, θy of the outer cylinders 22A, 22B, 22C. Do.

3次元形状測定装置10によって測定されたワークWKの測定情報は、3次元画像データ処理装置43に出力される。すなわち、ワークWKの表面を微小エリアずつに分割した各分割エリア位置を表すX−Y−Z座標に関する情報(具体的には、傾きθx,θyおよび距離Lz)を3次元画像データ処理装置43に出力する。そして、3次元画像データ処理装置43は、同ステップS402にて、3次元形状測定装置10から出力された1つのX−Y−Z座標に関する情報に基づいて、1つの3次元形状データ(すなわち、1つの座標値)を計算する。この場合、3次元形状データは、3次元形状測定装置10に関する座標系、すなわちカメラ座標系Cによって表されている。なお、この3次元形状データは、ワークWKや同ワークWKの周辺に存在する他の物体(例えば、テーブル60)の表面形状を表す3次元形状データのいずれかのデータである。   The measurement information of the workpiece WK measured by the three-dimensional shape measuring apparatus 10 is output to the three-dimensional image data processing apparatus 43. That is, information (specifically, inclinations θx, θy and distance Lz) relating to the XYZ coordinates representing the divided area positions obtained by dividing the surface of the workpiece WK into minute areas is given to the three-dimensional image data processing device 43. Output. Then, the three-dimensional image data processing device 43 determines one piece of three-dimensional shape data (that is, based on the information about one XYZ coordinate output from the three-dimensional shape measurement device 10 in step S402). One coordinate value) is calculated. In this case, the three-dimensional shape data is represented by a coordinate system related to the three-dimensional shape measuring apparatus 10, that is, a camera coordinate system C. The three-dimensional shape data is any one of the three-dimensional shape data representing the surface shape of the workpiece WK and other objects (for example, the table 60) existing around the workpiece WK.

次に、3次元画像データ処理装置43は、ステップS404にて、ワイヤ先端座標系Pによって表された座標値を基準座標系Sによって表された座標値に変換する座標変換関数FPSを計算する。この座標変換関数FPSの計算は、前記座標変換関数FSPの逆関数として計算される。すなわち、3次元画像データ処理装置43は、前記図8に示す座標変換関数FSP計算サブプログラムを実行することにより座標変換関数FSPを計算した後、同計算した座標変換関数FSPの逆関数を座標変換関数FPSとして計算する。 Next, in step S404, the three-dimensional image data processing device 43 calculates a coordinate conversion function F PS for converting the coordinate value represented by the wire tip coordinate system P into the coordinate value represented by the reference coordinate system S. . The calculation of the coordinate transformation function F PS is computed as an inverse function of the coordinate transformation function F SP. That is, the three-dimensional image data processor 43, after calculating the coordinate transformation function F SP by performing a coordinate transformation function F SP calculation subprogram shown in FIG. 8, inverse coordinate transformation function F SP that the calculated Is calculated as a coordinate transformation function FPS .

次に、3次元画像データ処理装置43は、ステップS406にて、前記ステップS402にて生成した3次元形状データを、前記座標変換関数FCP計算プログラムの実行によって計算された座標変換関数FCPを用いて、カメラ座標系Cによって表された前記3次元形状データをワイヤ先端座標系Pによって表された3次元形状データに座標変換する。そして、3次元画像データ処理装置43は、ステップS408にて、前記ワイヤ先端座標系Pに座標変換された3次元形状データを、前記ステップS404にて計算した座標変換関数FPSを用いて基準座標系Sによって表された3次元形状データに座標変換する。すなわち、これらのステップS406およびS408によって、カメラ座標系Cによって表された3次元形状データが基準座標系Sによって表された3次元形状データに座標変換される。 Next, the three-dimensional image data processor 43, at step S406, the three-dimensional shape data generated in step S402, coordinate transformation function F CP calculated by executing the coordinate transformation function F CP calculation program The three-dimensional shape data represented by the camera coordinate system C is coordinate-converted into the three-dimensional shape data represented by the wire tip coordinate system P. Then, the three-dimensional image data processing device 43 uses the coordinate transformation function F PS calculated in step S404 as the reference coordinates for the three-dimensional shape data coordinate-transformed in the wire tip coordinate system P in step S408. Coordinates are converted into three-dimensional shape data represented by the system S. That is, the three-dimensional shape data represented by the camera coordinate system C is transformed into the three-dimensional shape data represented by the reference coordinate system S through these steps S406 and S408.

なお、この場合、座標変換関数FCPと座標変換関数FPSとを乗算(FCP・FPS)した座標変換関数FCSを計算し、この座標変換関数FCSを用いてカメラ座標系Cによって表された前記3次元形状データを基準座標系Sによって表された3次元形状データに座標変換しても結果は同じである。すなわち、座標変換関数FCPが本発明に係る第2の座標変換関数に相当し、座標変換関数FPSが本発明に係る第3の座標変換関数に相当し、これらの座標変換関数FCPおよび座標変換関数FPSが本発明に係る第1の座標変換関数に相当する。この基準座標系Sに座標変換された3次元形状データは、3次元画像データ処理装置43に記憶される。 In this case, to calculate the coordinate transformation function F CP and the coordinate transformation function F PS and the multiplication (F CP · F PS) and the coordinate transformation function F CS was, by the camera coordinate system C by using the coordinate transformation function F CS Even if the expressed three-dimensional shape data is coordinate-transformed into the three-dimensional shape data represented by the reference coordinate system S, the result is the same. That is, the coordinate transformation function F CP corresponds to the second coordinate transformation function according to the present invention, the coordinate transformation function F PS corresponds to the third coordinate transformation function according to the present invention, and these coordinate transformation functions F CP and The coordinate transformation function FPS corresponds to the first coordinate transformation function according to the present invention. The three-dimensional shape data coordinate-converted to the reference coordinate system S is stored in the three-dimensional image data processing device 43.

次に、3次元画像データ処理装置43は、ステップS410にて、3次元形状測定が終了したか否かを判定する。具体的には、3次元形状測定装置10からX−Y−Z座標に関する情報が入力したときは、「Yes」と判定してステップS402に戻り、前述したように3次元形状データの計算と座標変換関数FPSを計算と、計算した3次元形状データの基準座標系Sの3次元形状データへの座標変換を行い、座標変換を行った3次元形状データを3次元画像データ処理装置43に記憶する。この処理は、3次元形状測定装置10からX−Y−Z座標に関する情報が入力する限り繰り返し行われる。一方、3次元形状測定装置10からX−Y−Z座標に関する情報が所定時間以上入力しないときは、同判定において「No」と判定してステップS412にて、ワークWKを別の測定位置から測定するか否かを判定する。具体的には、3次元画像データ処理装置43は、ワークWKの測定を続行するか否かを作業者に問い合わせ、作業者から測定終了の指示が入力されるまで、同判定において「Yes」と判定してステップS402に戻る。この場合、作業者はワークWKに対する3次元形状測定装置10の測定位置を変えて再度測定を行う。これにより、前記とは異なる測定位置からワークWKを測定した際の3次元形状データが3次元画像データ処理装置43に記憶される。なお、この場合、ワイヤ装置20A,20B,20Cの位置は固定である。一方、作業者から測定終了の指示が入力された場合には、同判定において「No」と判定してステップS414に進む。 Next, in step S410, the three-dimensional image data processing device 43 determines whether the three-dimensional shape measurement is finished. Specifically, when information regarding the XYZ coordinates is input from the three-dimensional shape measuring apparatus 10, the determination is “Yes” and the process returns to step S402. As described above, the calculation and coordinates of the three-dimensional shape data are performed. The conversion function FPS is calculated, the calculated 3D shape data is subjected to coordinate conversion to the 3D shape data of the reference coordinate system S, and the 3D shape data subjected to the coordinate conversion is stored in the 3D image data processing device 43. To do. This process is repeated as long as information about the XYZ coordinates is input from the three-dimensional shape measuring apparatus 10. On the other hand, when the information regarding the XYZ coordinates is not input from the three-dimensional shape measuring apparatus 10 for a predetermined time or more, it is determined as “No” in the same determination, and the workpiece WK is measured from another measurement position in step S412. It is determined whether or not to do. Specifically, the three-dimensional image data processing device 43 inquires of the operator whether or not to continue the measurement of the workpiece WK, and “Yes” is determined in the determination until an instruction to end the measurement is input from the operator. Determine and return to step S402. In this case, the operator changes the measurement position of the three-dimensional shape measuring apparatus 10 with respect to the workpiece WK and performs measurement again. Thereby, the three-dimensional shape data when the workpiece WK is measured from a measurement position different from the above is stored in the three-dimensional image data processing device 43. In this case, the positions of the wire devices 20A, 20B, and 20C are fixed. On the other hand, if an instruction to end measurement is input from the operator, the determination is “No” and the process proceeds to step S414.

次に、3次元画像データ処理装置43は、ステップS414にて、各測定位置ごとに基準座標系Sによって表された3次元形状データを一組の3次元形状データ群に合成する。この合成においては、すべての測定位置における3次元形状データが同一座標系である基準座標系S上の座標値で表されているので、各測定位置によって測定されないワークWKの部分を表す3次元形状データが互いに補われるとともに、同一場所で複数の3次元形状データ群が存在する場合には、平均化の処理が行われ一組のデータ群とされる。   Next, in step S414, the three-dimensional image data processing device 43 synthesizes the three-dimensional shape data represented by the reference coordinate system S for each measurement position into a set of three-dimensional shape data groups. In this synthesis, since the three-dimensional shape data at all measurement positions is represented by coordinate values on the reference coordinate system S which is the same coordinate system, the three-dimensional shape representing the part of the workpiece WK that is not measured at each measurement position. When the data are complemented to each other and a plurality of three-dimensional shape data groups exist at the same place, an averaging process is performed to form a set of data groups.

次に、3次元画像データ処理装置43は、ステップS416にて、前記合成された3次元形状データ群を用いてワークWKの3次元形状を表示装置44に表示させる。そして、3次元画像データ処理装置43は、ステップS418にて、3次元形状表示プログラムの実行を終了する。このワークWKの3次元形状の表示においては、作業者は入力装置42を操作することによりワークWKの表示方向を指示することができ、コントローラ41および3次元画像データ処理装置43は表示装置44にて表示されるワークWKの表示方向を変更する。これにより、ワークWKを任意の方向から見た立体形状を表示させることができる。   Next, in step S416, the three-dimensional image data processing device 43 causes the display device 44 to display the three-dimensional shape of the workpiece WK using the synthesized three-dimensional shape data group. Then, the three-dimensional image data processing device 43 ends the execution of the three-dimensional shape display program in step S418. In displaying the three-dimensional shape of the workpiece WK, the operator can instruct the display direction of the workpiece WK by operating the input device 42, and the controller 41 and the three-dimensional image data processing device 43 are displayed on the display device 44. The display direction of the workpiece WK displayed is changed. Thereby, the three-dimensional shape which looked at the workpiece | work WK from arbitrary directions can be displayed.

また、新たなワークWKをテーブル60上に置いて、前述のようにワークWKの表示を指示して3次元形状測定装置10による測定を行えば、前記3次元形状表示プログラムの実行により基準座標系Sによる3次元形状データの生成と3次元形状データの合成とが行われ、新たなワークWKを任意の方向から見た立体形状を表示装置44に表示させることができる。すなわち、基準物体70A,70B,70Cを用いて座標変換関数FWSおよび座標変換関数FCPを一度だけ計算しておけば、ワイヤ装置20A,20B,20C(すなわち、基準座標系S)の位置を変位させない限り、ワークWKを次々に換えて表示装置44にてワークWKの立体形状を表示させることができる。 If a new work WK is placed on the table 60 and the display of the work WK is instructed and measurement is performed by the three-dimensional shape measuring apparatus 10 as described above, a reference coordinate system is obtained by executing the three-dimensional shape display program. The generation of the three-dimensional shape data by S and the synthesis of the three-dimensional shape data are performed, and the three-dimensional shape of the new work WK viewed from an arbitrary direction can be displayed on the display device 44. That is, if the coordinate transformation function F WS and the coordinate transformation function F CP are calculated only once using the reference objects 70A, 70B, and 70C, the positions of the wire devices 20A, 20B, and 20C (that is, the reference coordinate system S) are determined. As long as the workpiece WK is not displaced, the three-dimensional shape of the workpiece WK can be displayed on the display device 44 by changing the workpiece WK one after another.

上記作動説明からも理解できるように、上記第1実施形態によれば、3次元画像データ処理装置43は、ワイヤ装置20A,20B,20Cによって検出されるワイヤ21A,21B,21Cの引出し量Lおよび同ワイヤ21A,21B,21Cの引き出される方向を表す回転角θ,θを用いて、3次元形状測定装置10、具体的にはカメラ座標系Cの基準座標系Sにおける位置を特定して座標変換関数FCPおよび座標変換関数FPSを計算している。これにより作業者は、基準座標系Sにおいて3次元形状測定装置10の位置が特定できるワイヤ21A,21B,21Cの各先端部21aA,21aB,21aCを3次元形状測定装置10にそれぞれ接続した構成でワークWKの測定を行えば、3次元画像データ処理装置43は測定により得られた3次元形状データを基準座標系Sによる3次元形状データに座標変換して合成し3次元形状を任意の方向から表示可能な3次元形状データを生成することができる。このため、従来例のように大型かつ複雑な構成の支持機構を用いることなく、簡単かつ小型に3次元形状測定システムを構成することができる。また、ワークWKの大きさに応じてワイヤ装置20A,20B,20Cに収容されているワイヤ21A,21B,21Cの長さを設定すればよいので、形状の大きなワークWKを測定する場合であっても3次元形状測定システムを簡単かつ小型に構成することができる。 As can be understood from the above description of the operation, according to the first embodiment, the three-dimensional image data processing device 43 is configured so that the drawing amounts L of the wires 21A, 21B, and 21C detected by the wire devices 20A, 20B, and 20C and Using the rotation angles θ X and θ Y representing the directions in which the wires 21A, 21B, and 21C are drawn, the position in the reference coordinate system S of the three-dimensional shape measuring apparatus 10, specifically the camera coordinate system C, is specified. A coordinate conversion function F CP and a coordinate conversion function F PS are calculated. Thereby, the operator has a configuration in which the tips 21aA, 21aB, and 21aC of the wires 21A, 21B, and 21C that can specify the position of the three-dimensional shape measuring apparatus 10 in the reference coordinate system S are connected to the three-dimensional shape measuring apparatus 10, respectively. If the workpiece WK is measured, the three-dimensional image data processing device 43 converts the three-dimensional shape data obtained by the measurement into three-dimensional shape data based on the reference coordinate system S and synthesizes the three-dimensional shape from an arbitrary direction. Displayable three-dimensional shape data can be generated. For this reason, a three-dimensional shape measuring system can be configured easily and compactly without using a support mechanism having a large and complicated configuration as in the conventional example. In addition, since the length of the wires 21A, 21B, and 21C accommodated in the wire devices 20A, 20B, and 20C may be set according to the size of the work WK, the workpiece WK having a large shape is measured. In addition, the three-dimensional shape measuring system can be configured easily and compactly.

(第2実施形態)
本発明の第2実施形態について説明する。上記第1実施形態においては、3次元形状測定装置10に3つのワイヤ装置20A,20B,20Cを接続した3次元形状測定システムについて説明した。しかし、カメラ座標系Cによって表された3次元形状データを基準座標系Sによって表された3次元形状データに座標変換するための座標変換関数(上記第1実施形態においては座標変換関数FCPおよび座標変換関数FPS)を計算することができれば、これに限定されるものではない。図10は、1つのワイヤ装置20’を3次元形状測定装置10’に接続した3次元形状測定システムを示している。ワイヤ装置20’から引き出されるワイヤ21’の先端部21’aは、上記第1実施形態と同様に、3次元形状測定装置10’の背面(3次元形状測定10’におけるレーザ光が出射される側面に対向する側面)に埋め込まれた球体13’に接続されている。なお、このワイヤ装置20’は、上記第1実施形態において座標変換関数FCPを計算するときと同様に、ワイヤ装置20’を所定の位置に支持するワイヤ装置支持脚30’上に固定されている。
(Second Embodiment)
A second embodiment of the present invention will be described. In the first embodiment, the three-dimensional shape measurement system in which the three wire devices 20A, 20B, and 20C are connected to the three-dimensional shape measurement device 10 has been described. However, a coordinate conversion function for converting the three-dimensional shape data represented by the camera coordinate system C into the three-dimensional shape data represented by the reference coordinate system S (in the first embodiment, the coordinate conversion function F CP and The present invention is not limited to this as long as the coordinate conversion function F PS ) can be calculated. FIG. 10 shows a three-dimensional shape measurement system in which one wire device 20 ′ is connected to the three-dimensional shape measurement device 10 ′. As in the first embodiment, the tip 21′a of the wire 21 ′ drawn from the wire device 20 ′ is emitted from the back surface of the three-dimensional shape measuring device 10 ′ (laser light in the three-dimensional shape measuring 10 ′ is emitted. It is connected to a sphere 13 ′ embedded in a side surface facing the side surface). The wire device 20 ′ is fixed on a wire device support leg 30 ′ that supports the wire device 20 ′ at a predetermined position, similarly to the case of calculating the coordinate transformation function F CP in the first embodiment. Yes.

3次元形状測定装置10’は、上記第1実施形態における3次元形状測定装置10によって測定される測定情報、すなわち、物体の表面を微小エリアずつに分割した各分割エリア位置を表すX−Y−Z座標に関する情報(具体的には、傾きθx,θyおよび距離Lz)に加えて、同各分割エリアごとの反射光量Rも検出する。したがって、3次元画像データ処理装置43は、3次元形状測定装置10’が検出した反射光量Rを用いて、測定対象空間内に位置する物体表面の前記微小エリアごとの反射光量を計算する。なお、図において、コントローラ41、入力装置42、3次元画像データ処理装置43および表示装置44の各図は省略されている。その他の構成は、上記第1実施形態と同様であるので説明を省略する。   The three-dimensional shape measuring apparatus 10 'is XY- representing measurement information measured by the three-dimensional shape measuring apparatus 10 in the first embodiment, that is, each divided area position obtained by dividing the surface of the object into minute areas. In addition to the information about the Z coordinate (specifically, the inclinations θx and θy and the distance Lz), the amount of reflected light R for each divided area is also detected. Therefore, the three-dimensional image data processing device 43 calculates the amount of reflected light for each minute area of the object surface located in the measurement target space, using the amount of reflected light R detected by the three-dimensional shape measuring device 10 '. In the figure, the controller 41, the input device 42, the three-dimensional image data processing device 43, and the display device 44 are not shown. Since other configurations are the same as those of the first embodiment, description thereof is omitted.

次に、このように構成した第2実施形態に係る3次元形状測定システムの作動について説明する。作業者は、ワイヤ先端座標系Pによって表された3次元形状データを基準座標系Sによって表された3次元形状データに座標変換する座標変換関数FPSを構成する座標軸の回転成分MPS、およびカメラ座標系Cによって表された3次元形状データをワイヤ先端座標系Pによって表された3次元形状データに座標変換する座標変換関数FCPを構成する座標原点の原点ずれ成分GCPを計算する。 Next, the operation of the three-dimensional shape measurement system according to the second embodiment configured as described above will be described. The operator converts the rotation component M PS of the coordinate axis constituting the coordinate conversion function F PS for converting the three-dimensional shape data represented by the wire tip coordinate system P into the three-dimensional shape data represented by the reference coordinate system S, and An origin deviation component G CP of the coordinate origin constituting the coordinate transformation function F CP for coordinate transformation of the 3D shape data represented by the camera coordinate system C to the 3D shape data represented by the wire tip coordinate system P is calculated.

まず、作業者は、図11に示すように、上記第1実施形態と同様に、ワイヤ装置20’から引き出されるワイヤ21’の先端部21’aに、先端を尖らせて形成した触針50を固定する。次に、作業者は、ワイヤ装置20A’から引き出されるワイヤ21’の先端が届く範囲に直方体状に形成されたテーブル60’を配置する。テーブル60’は、ワイヤ先端座標系Pを定義して座標変換関数FCPおよび座標変換関数FPSを計算する際に用いられる基準物体を構成する物体であり、テーブル60’を構成する少なくとも2つの面60’a,60’bが3次元形状測定装置10’に対向するように配置される。テーブル60’における3次元形状測定装置10’に対向する2つの面60’a,60’bは、互いに異なる反射率となるように形成されている。図においては、これらの各面60’a,60’bの反射率の違いを各面上の模様の違いによって表している。また、これら2つの面60’a,60’bにそれぞれレーザ光を照射した場合における各面60’a,60’bからの反射光の光量は事前に作業者により認識されており、3次元画像データ処理装置43のメモリ装置に予め記憶されている。 First, as shown in FIG. 11, the worker, as in the first embodiment, has a stylus 50 formed by sharpening the tip at the tip 21′a of the wire 21 ′ drawn from the wire device 20 ′. To fix. Next, an operator arrange | positions table 60 'formed in the shape of a rectangular parallelepiped in the range which the front-end | tip of wire 21' pulled out from wire apparatus 20A 'reaches. The table 60 ′ is an object that constitutes a reference object that is used when calculating the coordinate transformation function F CP and the coordinate transformation function F PS by defining the wire tip coordinate system P, and at least two of the tables 60 ′. The surfaces 60′a and 60′b are arranged so as to face the three-dimensional shape measuring apparatus 10 ′. Two surfaces 60′a and 60′b facing the three-dimensional shape measuring apparatus 10 ′ in the table 60 ′ are formed to have different reflectances. In the figure, the difference in reflectance between these surfaces 60'a and 60'b is represented by the difference in pattern on each surface. In addition, when the two surfaces 60'a and 60'b are respectively irradiated with laser light, the amount of reflected light from the surfaces 60'a and 60'b is recognized in advance by the operator, and is three-dimensional. It is stored in advance in the memory device of the image data processing device 43.

次に、作業者は、テーブル60’上に1つの基準物体70’を配置する。基準物体70’は、上記第1実施形態と同様に、真球体で構成されており、測定対象空間内において定点を定める機能を有する。なお、基準物体70’は、ワイヤ装置20’から引き出されるワイヤ21A’の先端が届く範囲、かつ3次元形状測定装置10’によって前記テーブル60’の2つの面60’a,60’bと同時に測定できる位置関係に配置されていれば、必ずしもテーブル60’上に配置する必要はない。   Next, the worker places one reference object 70 'on the table 60'. Similar to the first embodiment, the reference object 70 ′ is formed of a true sphere and has a function of determining a fixed point in the measurement target space. Note that the reference object 70 ′ is within the reach of the tip of the wire 21A ′ drawn from the wire device 20 ′, and simultaneously with the two surfaces 60′a and 60′b of the table 60 ′ by the three-dimensional shape measuring device 10 ′. If it is arranged in a positional relationship that can be measured, it is not necessarily arranged on the table 60 '.

次に、作業者は、入力装置42を操作して、座標変換関数FPSを構成する座標軸の回転成分MPS、および座標変換関数FCPを構成する座標原点の原点ずれ成分GCPの計算を3次元画像データ処理装置43に指示する。この指示に応答して3次元画像データ処理装置43は、図12に示す回転成分MPS,原点ずれ成分GCP計算プログラムの実行をステップS500にて開始して、ステップS502にて、基準物体の特徴の入力を待つ。この基準物体の特徴とは、基準物体が1つの球体と2つの平面とからなることを表すデータである。したがって、作業者は、入力装置42を操作して、これらの情報を3次元画像データ処理装置43に入力する。なお、前記と同様に、以前に入力された基準物体の特徴が変更されない場合には、このステップS502の処理をスキップさせてもよい。 Next, the operator operates the input device 42 to calculate the rotation component M PS of the coordinate axis constituting the coordinate transformation function F PS and the origin deviation component G CP of the coordinate origin constituting the coordinate transformation function F CP. The 3D image data processing device 43 is instructed. In response to this instruction, the three-dimensional image data processing device 43 starts execution of the rotation component M PS and origin deviation component G CP calculation program shown in FIG. 12 in step S500, and in step S502, the reference object Wait for feature input. The feature of the reference object is data representing that the reference object is composed of one sphere and two planes. Therefore, the operator operates the input device 42 to input such information to the three-dimensional image data processing device 43. As described above, when the characteristics of the previously input reference object are not changed, the processing in step S502 may be skipped.

次に、3次元画像データ処理装置43は、ステップS504にて、基準物体の測定情報の入力を待つ。この場合、作業者は、上記第1実施形態と同様に、ワイヤ21’の先端部21’aに取り付けられた触針50を手で持って移動させることにより、触針50の先端を基準物体70’の各表面における互いに異なる4つの位置にそれぞれ接触させるとともに、各接触ごとに入力装置42を操作することにより触針50の基準物体70’に対する接触を表す情報を入力する。3次元画像データ処理装置43は、作業者から入力される触針50の基準物体70’に対する接触を表す情報ごとに、ワイヤ21’の引出し量Lおよび回転角θ,θを入力して、触針50の基準物体70’に対する各接触点の座標値をそれぞれ計算する。 Next, in step S504, the three-dimensional image data processing device 43 waits for input of measurement information of the reference object. In this case, similarly to the first embodiment, the operator holds the tip of the stylus 50 with the hand and moves the stylus 50 attached to the tip 21'a of the wire 21 ', thereby moving the tip of the stylus 50 to the reference object. Information representing the contact of the stylus 50 with respect to the reference object 70 ′ is input by contacting the four different positions on each surface 70 ′ and operating the input device 42 for each contact. The three-dimensional image data processing device 43 inputs the pull-out amount L and the rotation angles θ X and θ Z of the wire 21 ′ for each piece of information representing the contact of the stylus 50 with the reference object 70 ′ input from the operator. The coordinate values of the contact points of the stylus 50 with respect to the reference object 70 'are calculated.

次に、3次元画像データ処理装置43は、ステップS506にて、面の識別番号の入力を待つ。この場合、作業者は、テーブル60’の2つの面60’a,60’bを識別するためにそれぞれ予め付けられた番号を入力する。次に、3次元画像データ処理装置43は、ステップS508にて、面の測定情報の入力を待つ。この場合、作業者は、触針50を手で持って移動させることにより、触針50の先端をテーブル60’の2つの面60’a,60’bの各表面における互いに異なる3つの位置にそれぞれ接触させるとともに、各接触ごとに入力装置42を操作することにより触針50の面60’a,60’bに対する接触を表す情報を入力する。3次元画像データ処理装置43は、作業者から入力される触針50の面60’a,60’bに対する各接触を表す情報ごとに、ワイヤ21’の引出し量Lおよび回転角θ,θを入力して、触針50の面60’a,60’bに対する各接触点の座標値をそれぞれ計算する。 Next, in step S506, the three-dimensional image data processing device 43 waits for input of a surface identification number. In this case, the worker inputs a number assigned in advance to identify the two surfaces 60′a and 60′b of the table 60 ′. Next, in step S508, the three-dimensional image data processing device 43 waits for input of surface measurement information. In this case, the operator holds the tip of the stylus 50 by hand, and moves the tip of the stylus 50 to three different positions on the two surfaces 60′a and 60′b of the table 60 ′. Information representing contact with the surfaces 60'a and 60'b of the stylus 50 is input by making the contact and operating the input device 42 for each contact. The three-dimensional image data processing device 43 obtains the amount of withdrawal L and the rotation angle θ X , θ of the wire 21 ′ for each piece of information representing each contact with the surfaces 60 ′ a, 60 ′ b of the stylus 50 input from the operator. Z is input, and the coordinate values of the respective contact points with respect to the surfaces 60′a and 60′b of the stylus 50 are calculated.

次に、3次元画像データ処理装置43は、ステップS510にて、基準物体70’の中心座標を定点として計算する。具体的には、上記第1実施形態における前記ステップ106と同様に、前記ステップS504にて計算した基準物体70’の各4つの接触点の座標値を、前記式1の左辺にそれぞれ代入することで成立する連立方程式を解くことで未知数a、b、cを定点として計算する。この計算された定点は、3次元画像データ処理装置43に記憶される。   Next, in step S510, the three-dimensional image data processing device 43 calculates the center coordinates of the reference object 70 'as a fixed point. Specifically, as in step 106 in the first embodiment, the coordinate values of each of the four contact points of the reference object 70 ′ calculated in step S504 are substituted for the left side of Equation 1. The unknown equations a, b, and c are calculated as fixed points by solving the simultaneous equations established by The calculated fixed point is stored in the three-dimensional image data processing device 43.

次に、3次元画像データ処理装置43は、ステップS512にて、テーブル60’の2つの面60’a,60’bにおける各法線ベクトルαS60’,βS60’を計算する。具体的には、前記ステップS508にて計算した各面60’a,60’bごとの各3つの接触点の座標値を下記式17の左辺にそれぞれ代入することで成立する連立方程式を解くことで未知数a、b、c、dをそれぞれ計算する。各面60’a,60’bごとに計算した未知数a、b、c、dのうち、未知数a、b、cが各面60’a,60’bに対応する各法線ベクトルαS60’,βS60’のベクトル成分を表す。

Figure 2007256188
Next, in step S512, the three-dimensional image data processing device 43 calculates the normal vectors α S60 ′ and β S60 ′ on the two surfaces 60′a and 60′b of the table 60 ′. Specifically, the simultaneous equations established by substituting the coordinate values of the three contact points for each of the surfaces 60′a and 60′b calculated in step S508 into the left side of the following equation 17 are solved. To calculate unknowns a, b, c, and d, respectively. Of the unknowns a, b, c, d calculated for each surface 60′a, 60′b, each of the normal vectors α S60 ′ in which the unknowns a, b, c correspond to the surfaces 60′a, 60′b. , Β represents the vector component of S60 ′ .
Figure 2007256188

次に、3次元画像データ処理装置43は、ステップS514にて、回転成分MPSを計算する。具体的には、前記ステップS512にて計算した2つの法線ベクトルαS60’,βS60’のうち、一方の法線ベクトルαS60’(または法線ベクトルβS60’)の単位ベクトルをベクトルAとし、同2つの法線ベクトルαS60’,βS60’の外積により計算されるベクトルの単位ベクトルをベクトルBとし、これらのベクトルA,Bの外積により計算されるベクトルの単位ベクトルをベクトルCとしてそれぞれ計算し、同計算したこれら3つのベクトルA,B,Cの方向をそれぞれ座標軸とする座標系をワイヤ先端座標系Pと定義する。 Next, the three-dimensional image data processor 43, at step S514, calculates a rotational component M PS. Specifically, a unit vector of one normal vector α S60 ′ (or normal vector β S60 ′ ) of the two normal vectors α S60 ′ and β S60 ′ calculated in step S512 is a vector A. A vector vector calculated by the outer product of the two normal vectors α S60 ′ and β S60 ′ is a vector B, and a unit vector of the vector calculated by the outer product of these vectors A and B is a vector C. A coordinate system in which the directions of these three vectors A, B, and C are calculated as coordinate axes is defined as a wire tip coordinate system P.

そして、ベクトルA,B,Cのワイヤ先端座標系Pにおける各ベクトル成分A,B,Cを(α1,β1,γ1),(α2,β2,γ2),(α3,β3,γ3)とし、同ベクトルのA,B,Cの基準座標系Sにおける各成分A,B,Cを(α’1,β’1,γ’1),(α’2,β’2,γ’2),(α’3,β’3,γ’3)とすれば、ベクトルA,B,Cのワイヤ先端座標系Pおよび基準座標系Sにおける各成分を前記式13〜15に代入して連立方程式を解くことにより、行列値M、すなわち回転成分MPSを計算することができる。この場合、ワイヤ先端座標系Pにおける各成分A,B,Cである(α1,β1,γ1),(α2,β2,γ2),(α3,β3,γ3)は、それぞれ(1,0,0),(0,1,0),(0,0,1)であり、基準座標系Sにおける各成分A,B,Cである(α’1,β’1,γ’1),(α’2,β’2,γ’2),(α’3,β’3,γ’3)は、2つの法線ベクトルαS60,βS60の各成分から前述のように既に計算されている。これにより、座標変換関数FPSにおける回転成分MPSが計算される。この計算された回転成分MPSは、3次元画像データ処理装置43に記憶される。 Then, the vector A, B, each vector component in the wire tip coordinate system P of C A P, B P, the C P (α1, β1, γ1 ), (α2, β2, γ2), (α3, β3, γ3) And each component A S , B S , C S in the reference coordinate system S of A, B, C of the same vector is expressed as (α′1, β′1, γ′1), (α′2, β′2, If [gamma] '2), ([alpha]' 3, [beta] '3, [gamma]' 3), the components of the vectors A, B, and C in the wire tip coordinate system P and the reference coordinate system S are substituted into the equations 13-15. Then, the matrix value M, that is, the rotation component MPS can be calculated by solving the simultaneous equations. In this case, the components A P in wire tip coordinate system P, B P, a C P (α1, β1, γ1 ), (α2, β2, γ2), (α3, β3, γ3) , respectively (1, 0, 0), (0, 1, 0), (0, 0, 1) and the components A S , B S , C S in the reference coordinate system S (α′1, β′1, γ '1), (α'2, β'2, γ'2), (α'3, β'3, γ'3) are obtained from the respective components of the two normal vectors α S60 and β S60 as described above. Has already been calculated. Thus, the rotational component M PS in the coordinate transformation function F PS is calculated. The calculated rotation component MPS is stored in the three-dimensional image data processing device 43.

次に、3次元画像データ処理装置43は、ステップS516にて、3次元形状測定装置10’による基準物体の測定情報の入力を待つ。この場合、作業者は、図13に示すように、上記第1実施形態と同様にして、ワイヤ21’の先端部21a’に取り付けられている触針50を取り外して3次元形状測定装置10’の背面に設けられている球体12’に接続する。そして、ワイヤ21’が接続された3次元形状測定装置10’を3次元形状測定装置支持脚80に固定した後、入力装置42を操作して基準物体70’およびテーブル60’の2つの面60’a,60’bの測定を行う。   Next, in step S516, the three-dimensional image data processing apparatus 43 waits for input of measurement information of the reference object by the three-dimensional shape measurement apparatus 10 '. In this case, as shown in FIG. 13, the operator removes the stylus 50 attached to the tip 21a ′ of the wire 21 ′ and removes the three-dimensional shape measuring apparatus 10 ′ as in the first embodiment. Are connected to a sphere 12 ′ provided on the back surface of the. Then, after fixing the three-dimensional shape measuring apparatus 10 'to which the wire 21' is connected to the three-dimensional shape measuring apparatus support leg 80, the input device 42 is operated to operate the two surfaces 60 of the reference object 70 'and the table 60'. Measure 'a, 60'b.

3次元形状測定装置10’は、コントローラ41からの指示に応答して基準物体70’およびテーブル60’の2つの面60’a,60’bの測定を開始して、基準物体70’およびテーブル60’の2つの面60’a,60’bの各3次元形状を表す情報、および基準物体70’およびテーブル60’の2つの面60’a,60’bの各表面からの反射光の光量を表す情報を3次元画像データ処理装置43に出力する。すなわち、基準物体70’およびテーブル60’の2つの面60’a,60’bの表面を微小エリアずつに分割した各分割エリア位置を表すX−Y−Z座標に関する情報(具体的には、傾きθx,θyおよび距離Lz)、および基準物体70’およびテーブル60’の2つの面60’a,60’bの各表面からの反射光に関する情報(具体的には、反射光量R)を3次元画像データ処理装置43にそれぞれ出力する。   In response to an instruction from the controller 41, the three-dimensional shape measuring apparatus 10 ′ starts measuring the two surfaces 60′a and 60′b of the reference object 70 ′ and the table 60 ′, and then performs the reference object 70 ′ and the table. Information representing the three-dimensional shapes of the two surfaces 60'a and 60'b of the 60 ', and the reflected light from the surfaces of the two surfaces 60'a and 60'b of the reference object 70' and the table 60 ' Information representing the amount of light is output to the three-dimensional image data processing device 43. That is, information on the XYZ coordinates (specifically, the coordinates of each divided area position obtained by dividing the surfaces of the two surfaces 60′a and 60′b of the reference object 70 ′ and the table 60 ′ into minute areas) 3 (inclination θx, θy and distance Lz), and information (specifically, the amount of reflected light R) relating to the reflected light from each surface of the two surfaces 60′a, 60′b of the reference object 70 ′ and the table 60 ′. Each is output to the dimensional image data processing device 43.

そして、3次元画像データ処理装置43は、同ステップS516にて、3次元形状測定装置10’から出力されたX−Y−Z座標に関する情報および反射光に関する情報に基づいて、基準物体70’およびテーブル60’の2つの面60’a,60’bの3次元形状を表す立体形状データ群からなる3次元形状データを生成する。この場合、3次元形状データには、基準物体70’およびテーブル60’の2つの面60’a,60’bの表面をそれぞれ微小エリアごとに表す3次元形状データに、各エリア位置に対応する反射光量Rを表す反射光量データが付加されている。なお、3次元形状データは、3次元形状測定装置10’に関する座標系、すなわちカメラ座標系Cによって表されている。また、この3次元形状データ中には、基準物体70’およびテーブル60’の2つの面60’a,60’bのほかに同基準物体70’およびテーブル60’の2つの面60’a,60’bの周辺に存在する他の物体(例えば、テーブル60’の上面)の表面形状を表す3次元形状データも含まれている。   Then, in step S516, the three-dimensional image data processing device 43 determines the reference object 70 ′ and the information on the XYZ coordinates and the information on the reflected light output from the three-dimensional shape measurement device 10 ′. Three-dimensional shape data including a three-dimensional shape data group representing the three-dimensional shape of the two surfaces 60′a and 60′b of the table 60 ′ is generated. In this case, in the three-dimensional shape data, the reference object 70 ′ and the surface of the two surfaces 60′a and 60′b of the table 60 ′ correspond to each area position in the three-dimensional shape data that represents the surface for each minute area. Reflected light amount data representing the reflected light amount R is added. Note that the three-dimensional shape data is represented by a coordinate system relating to the three-dimensional shape measuring apparatus 10 ', that is, a camera coordinate system C. Further, in the three-dimensional shape data, in addition to the two surfaces 60′a and 60′b of the reference object 70 ′ and the table 60 ′, the two surfaces 60′a and 60′a of the reference object 70 ′ and the table 60 ′, Three-dimensional shape data representing the surface shape of another object (for example, the upper surface of the table 60 ′) existing around 60′b is also included.

次に、3次元画像データ処理装置43は、ステップS518にて、ワイヤ21’の先端部21a’の先端座標を検出する。具体的には、3次元画像データ処理装置43は、前記ステップS512にて基準物体70’およびテーブル60’の2つの面60’a,60’bを測定した3次元形状測定装置10’の位置におけるワイヤ21’の引出し量Lおよび回転角θ,θを入力して、ワイヤ装置座標系W、すなわち基準座標系Sにおける先端部21a’の先端の位置(座標値)を先端座標として計算する。 Next, in step S518, the three-dimensional image data processing device 43 detects the tip coordinates of the tip portion 21a ′ of the wire 21 ′. Specifically, the three-dimensional image data processing apparatus 43 measures the position of the three-dimensional shape measuring apparatus 10 ′ that measured the two surfaces 60′a and 60′b of the reference object 70 ′ and the table 60 ′ in step S512. Is input with the drawing amount L of the wire 21 ′ and the rotation angles θ X and θ Z, and the position (coordinate value) of the tip end portion 21a ′ in the wire device coordinate system W, that is, the reference coordinate system S is calculated as the tip coordinate. To do.

次に、3次元画像データ処理装置43は、ステップS520にて、前記ステップS516にて生成された3次元形状データの中から、基準物体70’およびテーブル60’の2つの面60’a,60’bの3次元形状を表す各3次元形状データをそれぞれ抽出する。これらのうち、基準物体70’の3次元形状を表す3次元形状データの抽出処理は、上記第1実施形態と同様に、図示しない基準物体抽出サブプログラムによって実行される。また、テーブル60’の2つの面60’a,60’bの3次元形状を表す3次元形状データは、前記ステップS516にて生成された3次元形状データにおける反射光量データを用いてそれぞれ抽出する。すなわち、3次元画像データ処理装置43に予め記憶されているテーブル60’の2つの面60’a,60’bからの各反射光の光量に一致する、または所定の判別値内に含まれる前記反射光量データに対応する3次元形状データを各面60’a,60’bごとに抽出する。   Next, in step S520, the three-dimensional image data processing device 43 selects two surfaces 60′a and 60 of the reference object 70 ′ and the table 60 ′ from the three-dimensional shape data generated in step S516. Each three-dimensional shape data representing the three-dimensional shape of 'b is extracted. Among these, the extraction process of the three-dimensional shape data representing the three-dimensional shape of the reference object 70 'is executed by a reference object extraction subprogram (not shown), as in the first embodiment. Further, the three-dimensional shape data representing the three-dimensional shapes of the two surfaces 60′a and 60′b of the table 60 ′ are extracted using the reflected light amount data in the three-dimensional shape data generated in step S516. . That is, the light intensity of each reflected light from the two surfaces 60′a and 60′b of the table 60 ′ stored in advance in the three-dimensional image data processing device 43 is included in the predetermined discrimination value. Three-dimensional shape data corresponding to the reflected light amount data is extracted for each of the surfaces 60′a and 60′b.

次に、3次元画像データ処理装置43は、ステップS522にて、前記ステップS520にて抽出した基準物体70’を表す3次元形状データを用いて定点座標を算する。具体的には、上記第1実施形態と同様に、前記抽出した3次元形状データを前記式1の左辺にそれぞれ代入し、最小2乗法を用いて未知数a、b、cを定点として計算する。これにより、カメラ座標系Cにおける基準物体70’の中心座標が定点として計算される。なお、前記式1においてdは、基準物体70’の半径を表すが、このステップS518の処理においては計算する必要はない。   Next, in step S522, the three-dimensional image data processing device 43 calculates fixed point coordinates using the three-dimensional shape data representing the reference object 70 'extracted in step S520. Specifically, as in the first embodiment, the extracted three-dimensional shape data is substituted for the left side of Equation 1, and the unknowns a, b, and c are calculated as fixed points using the least square method. Thereby, the center coordinates of the reference object 70 ′ in the camera coordinate system C are calculated as fixed points. In the above equation 1, d represents the radius of the reference object 70 ', but it is not necessary to calculate in the process of step S518.

次に、3次元画像データ処理装置43は、ステップS524にて、前記ステップS520にて抽出したテーブル60’の2つの面60’a,60’bをそれぞれ表す各3次元形状データを用いて各面60’a,60’bごとに各法線ベクトルαC60’,βC60’を計算する。具体的には、上記第1実施形態と同様に、前記ステップS520にて生成した各面60’a,60’bごとの各3次元形状データを前記式17の左辺にそれぞれ代入して、最小2乗法を用いて未知数a、b、c、dをそれぞれ計算する。各面60’a,60’bごとに計算した未知数a、b、c、dのうち、未知数a、b、cが各面60’a,60’bに対応する法線ベクトルαC60’,βC60’のベクトル成分を表す。 Next, in step S524, the three-dimensional image data processing device 43 uses each of the three-dimensional shape data representing the two surfaces 60′a and 60′b of the table 60 ′ extracted in step S520. The normal vectors α C60 ′ and β C60 ′ are calculated for each of the surfaces 60′a and 60′b. Specifically, as in the first embodiment, the three-dimensional shape data for each of the surfaces 60′a and 60′b generated in step S520 is assigned to the left side of Equation 17, respectively. The unknowns a, b, c, and d are calculated using the square method. Of the unknowns a, b, c, d calculated for each surface 60′a, 60′b, the unknowns a, b, c are normal vectors α C60 ′ , corresponding to the surfaces 60′a, 60′b. β represents the vector component of C60 ′ .

次に、3次元画像データ処理装置43は、ステップS526にて、前記ステップS510にて計算した基準座標系Sによって表された定点座標を、ワイヤ先端座標系Pによって表された定点座標に座標変換する。具体的には、前記ステップS514にて計算した回転成分MPSの逆関数MSPと、前記ステップS518にて検出したワイヤ21’の先端座標、すなわちワイヤ先端座標系Pと基準座標系Sとの原点ずれ(座標値)とから構成される座標変換関数FSPを用いて、前記ステップS510にて計算した基準座標系Sによって表された定点座標を、ワイヤ先端座標系Pによって表された定点座標に座標変換する。これにより、基準物体70’に対して、ワイヤ先端座標系Pによって表された定点座標と、カメラ座標系Cによって表された定点座標とが計算されたことになる。 Next, in step S526, the three-dimensional image data processing device 43 converts the fixed point coordinates represented by the reference coordinate system S calculated in step S510 into fixed point coordinates represented by the wire tip coordinate system P. To do. Specifically, the inverse function M SP of the rotation component M PS calculated in step S514 and the tip coordinates of the wire 21 ′ detected in step S518, that is, the wire tip coordinate system P and the reference coordinate system S are used. since the origin displacement (coordinate values) using the coordinate transformation function F SP configured, fixed point coordinates fixed point coordinates represented by the reference coordinate system S calculated at the step S510, represented by the wire tip coordinates P Convert coordinates to. Thereby, the fixed point coordinates represented by the wire tip coordinate system P and the fixed point coordinates represented by the camera coordinate system C are calculated for the reference object 70 ′.

次に、3次元画像データ処理装置43は、ステップS528にて、原点ずれ成分GCPを計算する。具体的には、前記ステップS524にて計算した2つの法線ベクトルαC60’,βC60’のうち、一方の法線ベクトルαC60’(または法線ベクトルβC60’)の単位ベクトルをベクトルAとし、同2つの法線ベクトルαC60’,βC60’の外積により計算されるベクトルの単位ベクトルをベクトルBとし、これらのベクトルA,Bの外積により計算されるベクトルの単位ベクトルをベクトルCとしてそれぞれ計算する。これら3つのベクトルA,B,Cは、前述したベクトルA,B,Cと同一である。 Next, the three-dimensional image data processing device 43 calculates the origin deviation component G CP in step S528. Specifically, the unit vector of one normal vector α C60 ′ (or normal vector β C60 ′ ) of the two normal vectors α C60 ′ and β C60 ′ calculated in step S524 is a vector A. A vector vector calculated from the outer product of the two normal vectors α C60 ′ and β C60 ′ is a vector B, and a vector unit vector calculated from the outer product of these vectors A and B is a vector C. Calculate each. These three vectors A, B, and C are the same as the vectors A, B, and C described above.

したがって、ベクトルA,B,Cのカメラ座標系Cにおける各ベクトル成分A,B,Cを(α1,β1,γ1),(α2,β2,γ2),(α3,β3,γ3)とし、同ベクトルのA,B,Cのワイヤ先端座標系Pにおける各成分A,B,Cを(α’1,β’1,γ’1),(α’2,β’2,γ’2),(α’3,β’3,γ’3)とすれば、ベクトルA,B,Cのカメラ座標系Cおよびワイヤ先端座標系Pにおける各成分を前記式13〜15に代入して連立方程式を解くことにより、行列値M、すなわち回転成分MCPを計算することができる。この場合、ワイヤ先端座標系Pの座標軸の向きは、ベクトルA,B,Cの向きと同一である。よって、ワイヤ先端座標系Pにおける各成分A,B,Cである(α’1,β’1,γ’1),(α’2,β’2,γ’2),(α’3,β’3,γ’3)は、それぞれ(1,0,0),(0,1,0),(0,0,1)であり、カメラ座標系Cにおける各成分A,B,Cである(α1,β1,γ1),(α2,β2,γ2),(α3,β3,γ3)は、2つの法線ベクトルαC60’,βC60’の各成分から前述のように既に計算されている。 Accordingly, the vector components A C , B C , and C C of the vectors A, B, and C in the camera coordinate system C are (α1, β1, γ1), (α2, β2, γ2), and (α3, β3, γ3). , of the vector a, B, the components a P in wire tip coordinate system P of C, B P, the C P (α'1, β'1, γ'1 ), (α'2, β'2, If γ′2) and (α′3, β′3, γ′3), the respective components in the camera coordinate system C and the wire tip coordinate system P of the vectors A, B, and C are substituted into the equations 13-15. Then, by solving the simultaneous equations, the matrix value M, that is, the rotation component McP can be calculated. In this case, the direction of the coordinate axis of the wire tip coordinate system P is the same as the direction of the vectors A, B, and C. Therefore, it is the components A P, B P, C P in the wire tip coordinates P (α'1, β'1, γ'1) , (α'2, β'2, γ'2), (α '3, β'3, γ'3) are (1, 0, 0), (0, 1, 0), (0, 0, 1), respectively, and each component A C , B C and C C (α1, β1, γ1), (α2, β2, γ2), (α3, β3, γ3) are derived from the respective components of the two normal vectors α C60 ′ and β C60 ′ . Has already been calculated.

そして、計算した回転成分MCPを前記式2におけるMに代入し、カメラ座標系Cによって表された定点座標を同式2におけるx、y、zに代入し、ワイヤ先端座標系Pによって表された定点座標を同式2におけるx’、y’、z’にそれぞれ代入すれば、両座標系における原点ずれ成分GCPが同式2におけるa,b,cとして計算される。この原点ずれ成分GCPは、3次元画像データ処理装置43に記憶される。そして、3次元画像データ処理装置43は、ステップS530にて、回転成分MPS,原点ずれ成分GCP計算プログラムの実行を終了する。 Then, the calculated rotation component M CP is substituted into M in the above equation 2, and the fixed point coordinates represented by the camera coordinate system C are substituted into x, y, z in the equation 2 and represented by the wire tip coordinate system P. If the fixed point coordinates are substituted into x ′, y ′, and z ′ in Equation 2, the origin deviation components G CP in both coordinate systems are calculated as a, b, and c in Equation 2. This origin deviation component G CP is stored in the three-dimensional image data processing device 43. Then, in step S530, the three-dimensional image data processing device 43 ends the execution of the rotation component M PS and the origin deviation component G CP calculation program.

この回転成分MPS,原点ずれ成分GCP計算プログラムの実行後、作業者は、図10に示すように、テーブル60’から基準物体70’を取り除いて、同テーブル60’上に測定対象物であるワークWKを配置する。そして、入力装置42を操作してワークWKの3次元立体形状の表示を指示する。この指示に応答して、3次元画像データ処理装置43は、図14に示す3次元形状表示プログラムの実行をステップS600にて開始して、ステップS602にてワークWKの3次元形状を表す測定情報の入力を待つ。 After executing the rotation component M PS and origin deviation component G CP calculation program, as shown in FIG. 10, the operator removes the reference object 70 ′ from the table 60 ′, and places the measurement object on the table 60 ′. A certain work WK is arranged. Then, the input device 42 is operated to instruct the display of the three-dimensional shape of the work WK. In response to this instruction, the three-dimensional image data processing device 43 starts execution of the three-dimensional shape display program shown in FIG. 14 in step S600, and in step S602, measurement information representing the three-dimensional shape of the workpiece WK. Wait for input.

作業者は、3次元形状測定装置10’が取り付けられた3次元形状測定装置支持脚80を移動させることにより、ワイヤ装置20’から引き出されるワイヤ21’の引出し量Lの変化を伴いながら、ワークWKに対して3次元形状測定装置10’を移動させて3次元形状測定装置支持脚80を固定させて3次元形状の測定を行う。この場合、作業者は、3次元形状測定装置10’の測定対象空間内にワークWKとともにテーブル60’の2つの面60’a,60’bが位置するように3次元形状測定装置支持脚80、すなわち3次元形状測定装置10’を位置決めする。したがって、3次元画像データ処理装置43には、3次元形状測定装置10’の測定対象空間内に存在するワークWKおよびテーブル60’の2つの面60’a,60’bに関する測定情報が出力される。すなわち、前記ステップS512と同様に、ワークWKおよびテーブル60’の2つの面60’a,60’bの表面を微小エリアずつに分割した各分割エリア位置を表すX−Y−Z座標に関する情報(具体的には、傾きθx,θyおよび距離Lz)、およびワークWKおよびテーブル60’の2つの面60’a,60’bの各表面からの反射光に関する情報(具体的には、反射光量R)がそれぞれ出力される。   The operator moves the three-dimensional shape measuring device support leg 80 to which the three-dimensional shape measuring device 10 ′ is attached to move the workpiece while changing the drawing amount L of the wire 21 ′ drawn from the wire device 20 ′. The three-dimensional shape measuring apparatus 10 'is moved with respect to the WK, and the three-dimensional shape measuring apparatus support leg 80 is fixed to measure the three-dimensional shape. In this case, the operator supports the three-dimensional shape measuring apparatus support leg 80 so that the two surfaces 60′a and 60′b of the table 60 ′ are positioned together with the workpiece WK in the measurement target space of the three-dimensional shape measuring apparatus 10 ′. That is, the three-dimensional shape measuring apparatus 10 ′ is positioned. Accordingly, measurement information regarding the workpiece WK existing in the measurement target space of the three-dimensional shape measuring apparatus 10 ′ and the two surfaces 60′a and 60′b of the table 60 ′ is output to the three-dimensional image data processing apparatus 43. The That is, as in step S512, information on the XYZ coordinates representing the divided area positions obtained by dividing the surfaces of the workpiece WK and the two surfaces 60′a and 60′b of the table 60 ′ into minute areas ( Specifically, the inclinations θx and θy and the distance Lz) and information on the reflected light from the respective surfaces of the two surfaces 60′a and 60′b of the workpiece WK and the table 60 ′ (specifically, the reflected light amount R ) Is output.

そして、3次元画像データ処理装置43は、3次元形状測定装置10’からのX−Y−Z座標に関する情報の入力が終了すると、同ステップS602にて、3次元形状測定装置10’から出力されたX−Y−Z座標に関する情報に基づいて、ワークWKおよびテーブル60’の2つの面60’a,60’bの3次元形状を表す立体形状データ群からなる3次元形状データを生成する。この場合、3次元形状データには、ワークWKおよびテーブル60’の2つの面60’a,60’bの各表面をそれぞれ微小エリアごとに表す3次元形状データに、各エリア位置に対応する反射光量Rを表す反射光量データが付加されている。なお、3次元形状データは、3次元形状測定装置10’に関する座標系、すなわちカメラ座標系Cによって表されている。また、この3次元形状データ中には、ワークWKおよびテーブル60’の2つの面60’a,60’bのほかに同基準物体70’およびテーブル60’の2つの面60’a,60’bの周辺に存在する他の物体(例えば、テーブル60’の上面)の表面形状を表す3次元形状データも含まれている。   When the input of information relating to the XYZ coordinates from the three-dimensional shape measurement apparatus 10 ′ is completed, the three-dimensional image data processing apparatus 43 outputs the information from the three-dimensional shape measurement apparatus 10 ′ in step S602. Based on the information about the XYZ coordinates, three-dimensional shape data including a three-dimensional shape data group representing the three-dimensional shapes of the work WK and the two surfaces 60′a and 60′b of the table 60 ′ is generated. In this case, the three-dimensional shape data includes three-dimensional shape data representing the respective surfaces of the work WK and the two surfaces 60′a and 60′b of the table 60 ′ for each minute area, and the reflection corresponding to each area position. Reflected light amount data representing the light amount R is added. Note that the three-dimensional shape data is represented by a coordinate system relating to the three-dimensional shape measuring apparatus 10 ', that is, a camera coordinate system C. In addition to the two surfaces 60′a and 60′b of the workpiece WK and the table 60 ′, the three-dimensional shape data includes two surfaces 60′a and 60 ′ of the reference object 70 ′ and the table 60 ′. Also included is three-dimensional shape data representing the surface shape of another object (for example, the upper surface of the table 60 ′) existing around b.

次に、3次元画像データ処理装置43は、ステップS604にて、ワイヤ21’の先端部21a’の先端座標を検出する。具体的には、3次元画像データ処理装置43は、前記ステップS602にてワークWKおよびテーブル60’の2つの面60’a,60’bを測定した3次元形状測定装置10’の位置におけるワイヤ21’の引出し量Lおよび回転角θ,θを入力して、ワイヤ装置座標系W、すなわち基準座標系Sにおける先端部21a’の先端の位置(座標値)を先端座標として計算する。 Next, in step S604, the three-dimensional image data processing device 43 detects the tip coordinates of the tip portion 21a ′ of the wire 21 ′. Specifically, the three-dimensional image data processing device 43 measures the wire at the position of the three-dimensional shape measuring device 10 ′ that measured the two surfaces 60′a and 60′b of the work WK and the table 60 ′ in the step S602. The drawing amount L and the rotation angles θ X and θ Z of 21 ′ are input, and the position (coordinate value) of the tip end portion 21a ′ in the wire device coordinate system W, that is, the reference coordinate system S is calculated as the tip coordinate.

次に、3次元画像データ処理装置43は、ステップS606にて、前記ステップS602にて生成された3次元形状データの中から、テーブル60’の2つの面60’a,60’bの3次元形状を表す3次元形状データをそれぞれ抽出する。テーブル60’の2つの面60’a,60’bの3次元形状を表す3次元形状データは、前記ステップS516と同様に、3次元形状データにおける反射光量データを用いてそれぞれ抽出される。すなわち、3次元画像データ処理装置43に予め記憶されているテーブル60’の2つの面60’a,60’bからの各反射光の光量に一致する、または所定の判別値内に含まれる前記反射光量データに対応する3次元形状データを各面60’a,60’bごとに抽出する。   Next, in step S606, the three-dimensional image data processing device 43 selects the three-dimensional images of the two surfaces 60′a and 60′b of the table 60 ′ from the three-dimensional shape data generated in step S602. Three-dimensional shape data representing the shape is extracted. The three-dimensional shape data representing the three-dimensional shapes of the two surfaces 60'a and 60'b of the table 60 'are extracted using the reflected light amount data in the three-dimensional shape data, as in step S516. That is, the light intensity of each reflected light from the two surfaces 60′a and 60′b of the table 60 ′ stored in advance in the three-dimensional image data processing device 43 is included in the predetermined discrimination value. Three-dimensional shape data corresponding to the reflected light amount data is extracted for each of the surfaces 60′a and 60′b.

次に、3次元画像データ処理装置43は、ステップS608にて、カメラ座標系Cによって表された3次元形状データをワイヤ先端座標系Pによって表された3次元形状データに座標変換する座標変換関数FCPを計算する。この場合、座標変換関数FCPにおける原点ずれ成分GCPは、前記回転成分MPS,原点ずれ成分GCP計算プログラムの実行により3次元画像処理装置43に記憶されているため、座標変換関数FCPにおける座標軸の回転成分MCPを計算する。この回転成分MCPの計算は、前記ステップS514およびステップS528における回転成分MCPの計算と同様の処理によって行われる。 Next, in step S608, the three-dimensional image data processing device 43 converts the three-dimensional shape data represented by the camera coordinate system C into the three-dimensional shape data represented by the wire tip coordinate system P. Calculate FCP . In this case, the origin shift component G CP in the coordinate transformation function F CP, the rotation component M PS, because it is stored in the three-dimensional image processing apparatus 43 by executing the origin shift component G CP calculation program, coordinate transformation function F CP calculating the rotational component M CP of coordinate axes in. The calculation of the rotational component M CP is performed by the same process as calculating the rotational component M CP in the step S514 and step S528.

すなわち、前記ステップS606にて抽出したテーブル60’の2つの面60’a,60’bをそれぞれ表す各3次元形状データを用いて各面60’a,60’bごと各法線ベクトルαC60’,βC60’を計算し、ベクトルA,B,Cを計算する。そして、ベクトルA,B,Cのカメラ座標系Cおよびワイヤ先端座標系Pにおける各成分を前記式13〜15に代入して連立方程式を解くことにより、行列値M、すなわち回転成分MCPを計算する。この計算された回転成分MCPと前記記憶した原点ずれ成分GCPとによって座標変換関数FCPが計算される。 That is, each normal vector α C60 for each surface 60′a and 60′b using each three-dimensional shape data representing the two surfaces 60′a and 60′b of the table 60 ′ extracted in step S606. ' , Β C60' is calculated, and vectors A, B, C are calculated. Then, the matrix value M, that is, the rotational component M CP is calculated by substituting the components in the camera coordinate system C and the wire tip coordinate system P of the vectors A, B, and C into the equations 13 to 15 and solving the simultaneous equations. To do. A coordinate conversion function F CP is calculated from the calculated rotation component M CP and the stored origin deviation component G CP .

次に、3次元画像データ処理装置43は、ステップS610にて、ワイヤ先端座標系Pによって表された3次元形状データを基準座標系Sによって表された3次元形状データに座標変換する座標変換関数FPSを計算する。この場合、座標変換関数FPSにおける回転成分MPSは、前記回転成分MPS,原点ずれ成分GCP計算プログラムの実行により3次元画像処理装置43に記憶されているため、座標変換関数FPSにおける原点ずれ成分GPSを計算する。具体的には、前記ステップS604にて検出したワイヤ21’の先端部21a’の先端座標が原点ずれ成分GPSとなる。したがって、この原点ずれ成分GPSと前記記憶した回転成分MPSとによって座標変換関数FPSを計算することができる。すなわち、前記ステップS604にて検出したワイヤ21’の先端部21a’の先端座標は、基準座標系Sにおける3次元形状測定装置10’の位置、より具体的には、カメラ座標系Cの位置を特定するために用いられる。 Next, in step S610, the three-dimensional image data processing device 43 converts the three-dimensional shape data represented by the wire tip coordinate system P into the three-dimensional shape data represented by the reference coordinate system S. Calculate FPS . In this case, the rotational component M PS in the coordinate transformation function F PS, the rotation component M PS, because it is stored in the three-dimensional image processing apparatus 43 by executing the origin shift component G CP calculation program, coordinate transformation function F PS The origin deviation component GPS is calculated. Specifically, the tip coordinates of the tip portion 21a ′ of the wire 21 ′ detected in step S604 become the origin deviation component GPS . Therefore, the coordinate conversion function F PS can be calculated from the origin deviation component G PS and the stored rotation component M PS . That is, the tip coordinates of the tip 21a ′ of the wire 21 ′ detected in step S604 are the position of the three-dimensional shape measuring apparatus 10 ′ in the reference coordinate system S, more specifically, the position of the camera coordinate system C. Used to identify.

次に、3次元画像データ処理装置43は、ステップS612にて、前記ステップS602にて生成されカメラ座標系Cによって表された3次元形状データを、前記ステップS608にて計算した座標変換関数FCPを用いて、ワイヤ先端座標系Pによって表された3次元形状データに座標変換する。そして、3次元画像データ処理装置43は、ステップS614にて、前記ワイヤ先端座標系Pに座標変換された3次元形状データを、前記ステップS610にて計算した座標変換関数FPSを用いて基準座標系Sによって表された3次元形状データに座標変換する。すなわち、これらのステップS612およびS614によって、カメラ座標系Cによって表された3次元形状データが基準座標系Sによって表された3次元形状データに座標変換される。 Next, in step S612, the three-dimensional image data processing device 43 converts the three-dimensional shape data generated in step S602 and represented by the camera coordinate system C into the coordinate transformation function F CP calculated in step S608. Is used to convert the coordinates into three-dimensional shape data represented by the wire tip coordinate system P. Then, the three-dimensional image data processing device 43 uses the coordinate transformation function F PS calculated in step S610 as the reference coordinates for the three-dimensional shape data coordinate-transformed in the wire tip coordinate system P in step S614. Coordinates are converted into three-dimensional shape data represented by the system S. In other words, the three-dimensional shape data represented by the camera coordinate system C is transformed into the three-dimensional shape data represented by the reference coordinate system S through these steps S612 and S614.

なお、この場合、座標変換関数FCPと座標変換関数FPSとを乗算(FCP・FPS)した座標変換関数FCSを計算し、この座標変換関数FCSを用いてカメラ座標系Cによって表された前記3次元形状データを基準座標系Sによって表された3次元形状データに座標変換しても結果は同じである。すなわち、座標変換関数FCPが本発明に係る第4の座標変換関数に相当し、座標変換関数FPSが本発明に係る第5の座標変換関数に相当する。この基準座標系Sに座標変換された3次元形状データは、3次元画像データ処理装置43に記憶される。 In this case, to calculate the coordinate transformation function F CP and the coordinate transformation function F PS and the multiplication (F CP · F PS) and the coordinate transformation function F CS was, by the camera coordinate system C by using the coordinate transformation function F CS Even if the expressed three-dimensional shape data is coordinate-transformed into the three-dimensional shape data represented by the reference coordinate system S, the result is the same. That is, the coordinate conversion function F CP corresponds to the fourth coordinate conversion function according to the present invention, and the coordinate conversion function F PS corresponds to the fifth coordinate conversion function according to the present invention. The three-dimensional shape data coordinate-converted to the reference coordinate system S is stored in the three-dimensional image data processing device 43.

次に、3次元画像データ処理装置43は、ステップS616にて、ワークWKを別の測定位置から測定するか否かを判定する。具体的には、3次元画像データ処理装置43は、ワークWKの測定を続行するか否かを作業者に問い合わせ、作業者から測定終了の指示が入力されるまで、同判定において「Yes」と判定してステップS602に戻る。この場合、作業者はワークWKに対する3次元形状測定装置10’の測定位置を変えて再度測定を行う。これにより、前記とは異なる測定位置からワークWKを測定した際の3次元形状データが3次元画像データ処理装置43に記憶される。一方、作業者から測定終了の指示が入力された場合には、同判定において「No」と判定してステップS618に進む。   Next, in step S616, the three-dimensional image data processing device 43 determines whether to measure the workpiece WK from another measurement position. Specifically, the three-dimensional image data processing device 43 inquires of the operator whether or not to continue the measurement of the workpiece WK, and “Yes” is determined in the determination until an instruction to end the measurement is input from the operator. Determine and return to step S602. In this case, the operator changes the measurement position of the three-dimensional shape measuring apparatus 10 'with respect to the workpiece WK and performs measurement again. Thereby, the three-dimensional shape data when the workpiece WK is measured from a measurement position different from the above is stored in the three-dimensional image data processing device 43. On the other hand, if an instruction to end measurement is input from the operator, the determination is “No” and the process proceeds to step S618.

なお、異なる位置からワークWKを測定する場合、各測定位置ごとに座標変換関数FCPおよび座標変換関数FPSが計算される。これは、座標変換関数FCPにおける回転成分MCPと座標変換関数FPSにおける原点ずれ成分GPSが、3次元形状測定装置10’の測定位置に応じて変化するためである。すなわち、ワイヤ先端座標系Pの座標軸の向きは、テーブル60’の2つの面60’a,60’bによって3次元形状測定装置10’の向きとは無関係に固定的に定義されるため、3次元形状測定装置10’の向きが変化するごとにカメラ座標系Cに対するワイヤ先端座標系Pの回転成分MCPを計算する必要があり、ワイヤ先端座標系Pの座標軸原点は3次元形状測定装置10’の位置により変化するため、3次元形状測定装置10’の位置が変化するごとに基準座標系Sに対するワイヤ先端座標系Pの原点ずれ成分GPSを計算する必要があるためである。 When the workpiece WK is measured from different positions, the coordinate conversion function F CP and the coordinate conversion function F PS are calculated for each measurement position. This is the origin shift component G PS in the rotational component M CP and coordinate transformation function F PS in the coordinate transformation function F CP is because changes in accordance with the measurement position of the three-dimensional shape measurement device 10 '. That is, the direction of the coordinate axis of the wire tip coordinate system P is fixedly defined by the two surfaces 60′a and 60′b of the table 60 ′ regardless of the direction of the three-dimensional shape measuring apparatus 10 ′. It is necessary to calculate the rotation component M CP of the wire tip coordinate system P with respect to the camera coordinate system C every time the direction of the dimension shape measuring device 10 ′ changes, and the coordinate axis origin of the wire tip coordinate system P is the three-dimensional shape measuring device 10. 'for changing the position of the three-dimensional shape measuring apparatus 10' it is because it is necessary to calculate the origin shift component G PS wire tip coordinate system P relative to the reference coordinate system S every time the position of the change.

次に、3次元画像データ処理装置43は、ステップS618にて、各測定位置ごとに基準座標系によって表された3次元形状データを一組の3次元形状データ群に合成する。この合成においては、すべての測定位置における3次元画像データが同一座標系である基準座標系S上の座標値で表されているので、各測定位置によって測定されないワークWKの部分を表す3次元形状データが互いに補われるとともに、同一場所で複数の3次元形状データ群が存在する場合には、平均化の処理が行われ一組のデータ群とされる。   Next, in step S618, the three-dimensional image data processing device 43 synthesizes the three-dimensional shape data represented by the reference coordinate system for each measurement position into a set of three-dimensional shape data groups. In this synthesis, since the three-dimensional image data at all measurement positions is represented by coordinate values on the reference coordinate system S which is the same coordinate system, the three-dimensional shape representing the part of the workpiece WK that is not measured at each measurement position. When the data are complemented to each other and a plurality of three-dimensional shape data groups exist at the same place, an averaging process is performed to form a set of data groups.

次に、3次元画像データ処理装置43は、ステップS620にて、前記合成された3次元形状データ群を用いてワークWKの3次元形状を表示装置44に表示させる。そして、3次元画像データ処理装置43は、ステップS622にて、3次元形状表示プログラムの実行を終了する。このワークWKの3次元形状の表示においては、作業者は入力装置42を操作することによりワークWKの表示方向を指示することができ、コントローラ41および3次元画像データ処理装置43は表示装置44にて表示されるワークWKの表示方向を変更する。これにより、ワークWKを任意の方向から見た立体形状を表示させることができる。   Next, in step S620, the three-dimensional image data processing device 43 causes the display device 44 to display the three-dimensional shape of the workpiece WK using the synthesized three-dimensional shape data group. Then, the three-dimensional image data processing device 43 ends the execution of the three-dimensional shape display program in step S622. In displaying the three-dimensional shape of the workpiece WK, the operator can instruct the display direction of the workpiece WK by operating the input device 42, and the controller 41 and the three-dimensional image data processing device 43 are displayed on the display device 44. The display direction of the workpiece WK displayed is changed. Thereby, the three-dimensional shape which looked at the workpiece | work WK from arbitrary directions can be displayed.

また、新たなワークWKをテーブル60上に置いて、前述のようにワークWKの表示を指示して3次元形状測定装置10’による測定を行えば、前記3次元形状表示プログラムの実行により基準座標系Sによる3次元形状データの生成と3次元形状データの合成とが行われ、新たなワークWKを任意の方向から見た立体形状を表示装置44に表示させることができる。すなわち、基準物体70’およびテーブル60’を用いて座標変換関数FPSの回転成分MPSおよび座標変換関数FCPの原点ずれ成分GCPを一度だけ計算しておけば、ワイヤ装置20’(すなわち、基準座標系S)やテーブル60の位置を変位させない限り、ワークWKを次々に換えて表示装置44にて立体形状を表示させることができる。 If a new workpiece WK is placed on the table 60 and the display of the workpiece WK is instructed and measurement is performed by the three-dimensional shape measuring apparatus 10 'as described above, the reference coordinates are obtained by executing the three-dimensional shape display program. Generation of three-dimensional shape data by the system S and synthesis of the three-dimensional shape data are performed, and a three-dimensional shape of the new workpiece WK viewed from an arbitrary direction can be displayed on the display device 44. That, if the origin shift component G CP of the rotating component M PS and coordinate transformation function F CP coordinate conversion function F PS using reference object 70 'and table 60' to calculate only once, the wire device 20 '(i.e. As long as the position of the reference coordinate system S) and the table 60 is not displaced, the workpiece WK can be changed one after another and the three-dimensional shape can be displayed on the display device 44.

上記作動説明からも理解できるように、上記第2実施形態によれば、ワイヤ装置20’によって検出されるワイヤ21’の引出し量Lおよび同ワイヤ21’の引き出される方向を表す回転角θ,θを用いて、基準座標系Sにおける3次元形状測定装置10’の位置、より具体的にはカメラ座標系Cの位置を特定するとともに、テーブル60’の2つの面60’a,60’bを用いて、基準座標系Sに対する前記ワイヤ先端座標系Pの座標軸の向きを特定して、座標変換関数FCPおよび座標変換関数FPSを計算している。これにより作業者は、3次元形状測定装置10’の測定対象空間内にワークWKとともにテーブル60’を配置するようにし、基準座標系Sにおいて位置が特定できるワイヤ21’の先端部21’aを同3次元形状測定装置10’に接続した構成で測定を行えば、3次元画像データ処理装置43は測定により得られた3次元形状データを基準座標系Sによる3次元形状データに座標変換して合成し、ワークWKの3次元形状を任意の方向から表示可能な3次元形状データを生成することができる。このため、上記第1実施形態と同様に、従来例における支持機構に比べて簡単かつ小型に3次元形状測定システムを構成することができる。また、この第2実施形態においては、1つのワイヤ装置20’を用いて3次元形状測定システムを構成しているため、上記第1実施形態と比べてより簡単に3次元形状測定システムを構成することができる。 As can be understood from the above description of the operation, according to the second embodiment, the rotation angle θ X , which represents the pulling amount L of the wire 21 ′ detected by the wire device 20 ′ and the pulling direction of the wire 21 ′, Using θ Y , the position of the three-dimensional shape measuring apparatus 10 ′ in the reference coordinate system S, more specifically the position of the camera coordinate system C, is specified, and the two surfaces 60′a, 60 ′ of the table 60 ′ are identified. Using b, the direction of the coordinate axis of the wire tip coordinate system P with respect to the reference coordinate system S is specified, and the coordinate conversion function F CP and the coordinate conversion function F PS are calculated. As a result, the operator arranges the table 60 ′ together with the workpiece WK in the measurement target space of the three-dimensional shape measuring apparatus 10 ′, and sets the tip 21′a of the wire 21 ′ whose position can be specified in the reference coordinate system S. If measurement is performed with a configuration connected to the three-dimensional shape measuring apparatus 10 ', the three-dimensional image data processing apparatus 43 converts the three-dimensional shape data obtained by the measurement into three-dimensional shape data based on the reference coordinate system S. The three-dimensional shape data that can be synthesized and displayed from the arbitrary direction can be generated. For this reason, similarly to the first embodiment, the three-dimensional shape measurement system can be configured in a simple and compact manner as compared with the support mechanism in the conventional example. In the second embodiment, since the three-dimensional shape measuring system is configured by using one wire device 20 ′, the three-dimensional shape measuring system is configured more easily than the first embodiment. be able to.

なお、上記第2実施形態においては、ワークWKの3次元立体形状の測定に際して3次元形状測定装置10’を3次元形状測定装置支持脚80上に固定した。これは、前記ステップS610およびステップS612にて計算される座標変換関数FPSおよび座標変換関数FCPは、3次元形状測定装置10’の測定位置固有の座標変換関数であるため、ワークWKの測定中(レーザ光の走査中)における3次元形状測定装置10’の位置を固定するためである。したがって、ワークWKの測定中(レーザ光の走査中)における3次元形状測定装置10’の位置を変化させなければ、上記第1実施形態と同様に3次元形状測定装置10’を手で持って測定するようにしてもよい。これによっても、上記第2実施形態と同様の効果が期待できる。 In the second embodiment, the three-dimensional shape measuring device 10 ′ is fixed on the three-dimensional shape measuring device support leg 80 when measuring the three-dimensional solid shape of the workpiece WK. This is because the coordinate conversion function F PS and the coordinate conversion function F CP calculated in Steps S610 and S612 are coordinate conversion functions specific to the measurement position of the three-dimensional shape measuring apparatus 10 ′, and thus the measurement of the workpiece WK. This is for fixing the position of the three-dimensional shape measuring apparatus 10 'in the middle (during the laser beam scanning). Therefore, if the position of the three-dimensional shape measuring apparatus 10 ′ is not changed during measurement of the workpiece WK (during laser beam scanning), the three-dimensional shape measuring apparatus 10 ′ is held by hand as in the first embodiment. You may make it measure. Also by this, the same effect as the second embodiment can be expected.

また、上記第2実施形態においては、座標変換関数FCPおよび座標変換関数FPSの計算に用いる2つのベクトルα60’a,β60’bを、テーブル60’を構成する2つの面60’a,60’bを用いてそれぞれ定義した。しかし、基準物体70’およびワークWKと同時に測定できるとともに、互いに平行でない2つのベクトルが定義できれば、これに限定されるものではない。例えば、図15(A)〜(D)に示すように、ワークWK(および基準物体70’)の近傍に互いに平行でない2つの平面90a,90bを設けるようにすればよい。 In the second embodiment, the two vectors α 60′a and β 60′b used for the calculation of the coordinate transformation function F CP and the coordinate transformation function F PS are converted into two surfaces 60 ′ constituting the table 60 ′. a and 60′b, respectively. However, the present invention is not limited to this as long as two vectors that can be measured simultaneously with the reference object 70 ′ and the workpiece WK and are not parallel to each other can be defined. For example, as shown in FIGS. 15A to 15D, two non-parallel planes 90a and 90b may be provided in the vicinity of the workpiece WK (and the reference object 70 ′).

また、図16(A)に示すように、1つの平面90a上に同平面90aとは異なる反射率によって形成された直線91aを設けるようにしてもよい。この場合、3次元画像データ処理装置43は、上記第2実施形態と同様にして、平面90aを表す3次元形状データに基づいて1つのベクトルを計算するとともに、3次元形状測定装置10’から出力される測定情報の中から反射光量データに基づいて直線91aに関する3次元形状データを抽出し、同抽出した3次元形状データに基づいてもう1つのベクトルを計算する。また、図16(B)に示すように、1つの平面90a上に互いに異なる反射率によって形成された2つの直線91a,91bを設け、これら2つの直線91a,91bを用いて2つのベクトルを定義するようにしてもよい。図においては、これらの各直線91a,91bの反射率の違いを各直線上の模様の違いによって表している。これらによっても、上記第2実施形態と同様の効果が期待できる。   Further, as shown in FIG. 16A, a straight line 91a formed with a reflectance different from that of the plane 90a may be provided on one plane 90a. In this case, the three-dimensional image data processing device 43 calculates one vector based on the three-dimensional shape data representing the plane 90a and outputs it from the three-dimensional shape measurement device 10 ′, as in the second embodiment. The three-dimensional shape data related to the straight line 91a is extracted from the measured information based on the reflected light amount data, and another vector is calculated based on the extracted three-dimensional shape data. Also, as shown in FIG. 16B, two straight lines 91a and 91b formed with different reflectances are provided on one plane 90a, and two vectors are defined using these two straight lines 91a and 91b. You may make it do. In the figure, the difference in reflectance between these straight lines 91a and 91b is represented by the difference in pattern on each straight line. Also by these, the same effect as the second embodiment can be expected.

また、上記第2実施形態においては、1つの定点を定義するための基準物体70’と2つのベクトルα60’a,β60’bを定義するための2つの面60’a,60’bを備えるテーブル60’とをそれぞれ用意した。しかし、ワークWKの測定時に障害にならなければ基準物体70’を2つの面60’a,60’bと一体的に構成してもよい。これによっても、上記第2実施形態と同様の効果が期待できる。 Further, in the second embodiment, one fixed point and reference object 70 'to define two vectors alpha 60'A, beta 60'B two surfaces 60'A for defining, 60'B Table 60 ′ provided with However, the reference object 70 ′ may be integrated with the two surfaces 60′a and 60′b as long as it does not become an obstacle when measuring the workpiece WK. Also by this, the same effect as the second embodiment can be expected.

また、上記第2実施形態においては、2つのベクトルα60’a,β60’bを定義するための2つの面60’a,60’bを互いに直交するように構成した。しかし、互いに平行でない2つのベクトルをそれぞれ定義できれば、2つの面60’a,60’bは必ずしも直交する必要はない。これによっても、上記第2実施形態と同様の効果が期待できる。 In the second embodiment, the two surfaces 60′a and 60′b for defining the two vectors α 60′a and β 60′b are configured to be orthogonal to each other. However, if two vectors that are not parallel to each other can be defined, the two faces 60′a and 60′b do not necessarily need to be orthogonal. Also by this, the same effect as the second embodiment can be expected.

また、上記第2実施形態においては、基準座標系Sをワイヤ装置20’に関する座標系であるワイヤ装置座標系W’とした。しかし、これに代えて、基準座標系Sの原点をワイヤ装置座標系W’と同一とし、基準座標系Sの座標軸の向きをワイヤ先端座標系Pの座標軸の向きと同一とした座標系を基準座標系Sとしてもよい。これによれば、ワイヤ先端座標系Pによって表された3次元形状データを基準座標系Sによって表された3次元形状データに変換する座標変換関数FPSのうち、回転成分MPSが不要となる。このため、座標変換関数FPSは、原点ずれ成分GPSとなり、座標変換関数FPSの計算を簡単にすることができる。 In the second embodiment, the reference coordinate system S is the wire device coordinate system W ′ that is a coordinate system related to the wire device 20 ′. However, instead of this, the coordinate system in which the origin of the reference coordinate system S is the same as that of the wire device coordinate system W ′ and the direction of the coordinate axis of the reference coordinate system S is the same as the direction of the coordinate axis of the wire tip coordinate system P is used as a reference. A coordinate system S may be used. According to this, in the coordinate conversion function F PS for converting the three-dimensional shape data represented by the wire tip coordinate system P into the three-dimensional shape data represented by the reference coordinate system S, the rotation component M PS is not necessary. . For this reason, the coordinate conversion function F PS becomes the origin deviation component G PS , and the calculation of the coordinate conversion function F PS can be simplified.

さらに、本発明の実施にあたっては、上記第1実施形態および第2実施形態およびこれらの変形例に限定されるものではなく、本発明の目的を逸脱しない限りにおいて種々の変更が可能である。   Furthermore, in carrying out the present invention, the present invention is not limited to the first embodiment and the second embodiment and their modifications, and various modifications can be made without departing from the object of the present invention.

上記第1実施形態および第2実施形態においては、ワイヤ装置20A,20’に関する座標系であるワイヤ装置座標系W,Wを基準座標系Sに設定した。しかし、この基準座標系Sは、ワイヤ装置20A,20B,20C,20’から引き出されるワイヤ21A,21B,21C,21’の各先端部ワイヤ21aA,21aB,21aC,21a’の位置が特定できれば、これに限定されるものではない。例えば、ワイヤ装置20A,20’に関する座標系であるワイヤ装置座標系W,W’によって特定することができるワイヤ装置支持脚30,30’上のいずれかの位置に基準座標系Sの原点を設定してもよい。また、図17に示すように、基準座標系Sに対するワイヤ装置座標系Wの原点位置と座標軸の向きとを検出する機構を設けるようにしてもよい。図17は、ワイヤ装置座標系W以外の位置に基準座標系Sの原点を設定した3次元形状測定システムを示している。なお、図において、コントローラ41、入力装置42、3次元画像データ処理装置43および表示装置44の各図は省略されている。 In the first and second embodiments, and it sets a wire device 20A, 20 is a coordinate system about the 'wire system coordinate system W A, W and the reference coordinate system S. However, the reference coordinate system S can identify the positions of the tip end wires 21aA, 21aB, 21aC, 21a ′ of the wires 21A, 21B, 21C, 21 ′ drawn from the wire devices 20A, 20B, 20C, 20 ′. It is not limited to this. For example, a wire device 20A, 20 'is a coordinate system relating to wire the apparatus coordinate system W A, W' and the origin of the reference coordinate system S in any position of the wire device supported on legs 30, 30 'which can be identified by It may be set. Further, as shown in FIG. 17, it may be provided a mechanism for detecting the orientation of the origin position and coordinate axes of the wire device coordinate system W A with respect to the reference coordinate system S. Figure 17 shows a three-dimensional shape measurement system sets the origin of the reference coordinate system S in a position other than the wire device coordinate system W A. In the figure, the controller 41, the input device 42, the three-dimensional image data processing device 43, and the display device 44 are not shown.

この3次元形状測定システムにおいては、リング状に設けられたレール100に沿って摺動可能な移動体101上にワイヤ装置支持脚31’が固定されている。ワイヤ装置支持脚31’上には、上記第1実施形態と同様に3つのワイヤ装置20A,20B,20Cがそれぞれ設けられているとともに、同3つのワイヤ装置20A,20B,20Cからそれぞれ引き出されるワイヤ21A,21B,21Cの各先端部21aA,21aB,21aCに3次元形状測定装置10が接続されている。リング状に形成されたレール100の中心位置は既知であり、3次元画像データ処理装置43に予め記憶されている。このレール100の所定の位置(例えば、図示矢印の示す位置)における断面中心に基準座標系Sの原点が設定されている。また、レール100には、基準座標系Sが設定された位置に対する移動体101のレール100上の位置を検出する位置検出器(図示せず)が設けられており、検出した移動体101の位置を表す信号が3次元画像データ処理装置43に出力されるようになっている。   In this three-dimensional shape measurement system, a wire device support leg 31 ′ is fixed on a moving body 101 that can slide along a rail 100 provided in a ring shape. On the wire device support leg 31 ', three wire devices 20A, 20B, and 20C are provided in the same manner as in the first embodiment, and wires are drawn from the three wire devices 20A, 20B, and 20C, respectively. The three-dimensional shape measuring apparatus 10 is connected to the tip portions 21aA, 21aB, and 21aC of 21A, 21B, and 21C. The center position of the rail 100 formed in a ring shape is known and stored in advance in the three-dimensional image data processing device 43. The origin of the reference coordinate system S is set at the center of the cross section at a predetermined position of the rail 100 (for example, the position indicated by the arrow in the figure). Further, the rail 100 is provided with a position detector (not shown) for detecting the position of the moving body 101 on the rail 100 with respect to the position where the reference coordinate system S is set. Is output to the three-dimensional image data processing device 43.

そして、移動体101の検出位置を原点とし、座標軸の向きが移動体101の検出位置からレール100の中心に向かうベクトルとレール100の接線方向のベクトルと、この2つのベクトルに垂直なベクトルの3つのベクトルの向きと同一である座標軸を設定した場合、移動体101の検出位置からワイヤ装置座標系WA(またはワイヤ装置座標系WB,WC)の原点に向かうベクトルは常に同一であり、前記座標軸の向きに対するワイヤ装置座標系WA(またはワイヤ装置座標系WB,WC)の座標軸の向きも常に同一であり、このベクトル成分および前記座標軸の向きをワイヤ装置座標系WA(またはワイヤ装置座標系WB,WC)の座標軸の向きにするための座標変換関数の回転成分は3次元画像データ処理装置43に予め記憶されている。そして、基準座標系Sにおける移動体101の検出位置から基準座標系Sの原点に向かうベクトルは計算でき、前述のようにレール100の中心位置は既知であるので、移動体101の検出位置からレール100の中心に向かうベクトルと、レール100の接線方向のベクトルは移動体101の位置を検出すれば計算できる。すなわち、ワイヤ装置座標系WA(またはワイヤ装置座標系WB,WC)による座標値を移動体101の検出位置を原点とした座標軸による座標値に変換するための座標変換関数は記憶されており、移動体101の検出位置を原点とした座標軸による座標値を基準座標系Sの座標値に変換するための座標変換関数は、移動体101の検出位置を検出すれば計算できる。すなわち、移動体101の検出位置を検出すれば、ワイヤ装置座標系WA(またはワイヤ装置座標系WB,WC)による3次元形状データは基準座標系Sによる3次元形状データに変換することができる。   Then, with the detection position of the moving body 101 as the origin, a vector whose coordinate axis is directed from the detection position of the moving body 101 toward the center of the rail 100, a tangential vector of the rail 100, and a vector perpendicular to these two vectors. When coordinate axes that are the same as the directions of two vectors are set, the vectors from the detection position of the moving body 101 to the origin of the wire device coordinate system WA (or the wire device coordinate systems WB and WC) are always the same, The orientation of the coordinate axis of the wire device coordinate system WA (or the wire device coordinate system WB, WC) with respect to the orientation is always the same, and the direction of the vector component and the coordinate axis is determined by the wire device coordinate system WA (or the wire device coordinate system WB, WC). The rotation component of the coordinate conversion function for setting the direction of the coordinate axis of () is stored in advance in the three-dimensional image data processing device 43. There. A vector from the detection position of the moving body 101 in the reference coordinate system S to the origin of the reference coordinate system S can be calculated, and the center position of the rail 100 is known as described above. The vector toward the center of 100 and the vector in the tangential direction of the rail 100 can be calculated by detecting the position of the moving body 101. That is, a coordinate conversion function for converting the coordinate value based on the wire device coordinate system WA (or the wire device coordinate system WB, WC) into the coordinate value based on the coordinate axis with the detection position of the moving body 101 as the origin is stored. A coordinate conversion function for converting the coordinate value of the coordinate axis with the detection position of the body 101 as the origin to the coordinate value of the reference coordinate system S can be calculated by detecting the detection position of the moving body 101. That is, if the detection position of the moving body 101 is detected, the three-dimensional shape data based on the wire device coordinate system WA (or the wire device coordinate system WB, WC) can be converted into the three-dimensional shape data based on the reference coordinate system S.

ワークWKの測定に先立って作業者は、リング状に形成されたレール100の内側に基準物体70A,70B,70Cを配置(図示せず)して、上記第1形態と同様にして座標変換関数FSPおよび座標変換関数FCPを計算する。そして、レール100の内側に基準物体70A,70B,70Cに代えてワークWKを配置(図示せず)してワークWKの測定を行う。この場合、移動体101をレール100に沿って移動させることにより、ワークWKを全周に亘って測定することができる。3次元形状測定装置10によって測定され3次元画像データ処理装置43によって生成された3次元形状データは、座標変換関数FCPによりワイヤ先端座標系Pによる3次元形状データに座標変換された後、座標変換関数FPSによりワイヤ装置座標系Wによる3次元形状データに座標変換される。 Prior to measurement of the workpiece WK, the operator arranges reference objects 70A, 70B, and 70C (not shown) inside the ring-shaped rail 100, and performs the coordinate conversion function in the same manner as in the first embodiment. FSP and coordinate transformation function FCP are calculated. Then, the workpiece WK is arranged (not shown) instead of the reference objects 70A, 70B, and 70C inside the rail 100, and the workpiece WK is measured. In this case, the workpiece WK can be measured over the entire circumference by moving the moving body 101 along the rail 100. The three-dimensional shape data measured by the three-dimensional shape measuring device 10 and generated by the three-dimensional image data processing device 43 is coordinate-transformed into three-dimensional shape data by the wire tip coordinate system P by the coordinate transformation function FCP , is coordinate converted into three-dimensional shape data by wire system coordinate system W a by the transformation function F PS.

そして、このワイヤ装置座標系Wによって表された3次元形状データは、前記位置検出器によって検出される移動体101の位置から計算される移動体101の検出位置を座標軸原点とした座標値を基準座標系Sの座標値に変換するための座標変換関数と、3次元画像データ処理装置43に予め記憶されているワイヤ装置座標系WA(またはワイヤ装置座標系WB,WC)による座標値を、移動体101の検出位置を座標軸原点とした座標値に変換するための座標変換関数により、基準座標系Sによる3次元形状データに座標変換される。3次元画像処理装置43は、この基準座標系Sによって表された3次元画像データに基づいてワークWKの3次元形状を表示装置44に表示させる。これによれば、上記第1実施形態および第2実施形態と同様の効果が期待できるとともに、上記第1実施形態および第2実施形態に比べてワークWKをより広い範囲、例えば、3次元形状測定装置10に対向する測定対象物の裏側の部分から測定することができる。なお、この場合、ワイヤ装置支持脚31’の図示上下方向の長さを変化させることができる構成にすれば、3次元形状測定装置10を移動させることができる範囲を更に広くすることができ、高さのあるワークWKも測定することができる。また、いかなる測定方向からも共通の互いに平行でない2つのベクトルが定義できれば、上記第2実施形態に示したように、1つのワイヤ装置20’から引き出されるワイヤ21’の先端部21’aを3次元形状測定装置10’に接続した構成としてもよい。 Then, the three-dimensional shape data represented by the wire device coordinate system W A is the coordinate values and coordinate axes origin detected position of the moving object 101 is calculated from the position of the moving body 101 detected by the position detector A coordinate conversion function for converting to a coordinate value of the reference coordinate system S, and a coordinate value by the wire device coordinate system WA (or wire device coordinate system WB, WC) stored in advance in the three-dimensional image data processing device 43, The coordinates are converted into three-dimensional shape data based on the reference coordinate system S by a coordinate conversion function for converting the detected position of the moving body 101 into a coordinate value with the coordinate axis origin. The three-dimensional image processing device 43 displays the three-dimensional shape of the workpiece WK on the display device 44 based on the three-dimensional image data represented by the reference coordinate system S. According to this, the same effects as those of the first embodiment and the second embodiment can be expected, and the workpiece WK is wider than the first embodiment and the second embodiment, for example, three-dimensional shape measurement. The measurement can be performed from the part on the back side of the measurement object facing the apparatus 10. In this case, if the length of the wire device support leg 31 ′ in the illustrated vertical direction can be changed, the range in which the three-dimensional shape measuring apparatus 10 can be moved can be further widened. A workpiece WK having a height can also be measured. Further, if two common vectors that are not parallel to each other can be defined from any measurement direction, as shown in the second embodiment, the tip 21′a of the wire 21 ′ drawn from one wire device 20 ′ can be divided into three. It is good also as a structure connected to dimension shape measuring apparatus 10 '.

また、上記第1実施形態および第2実施形態においては、3次元形状測定装置10,10’とワイヤ装置20A,20B,20C,20’とをワイヤ21A,21B,21C,21’で接続した。しかし、ワイヤ装置20A,20B,20C,20’、すなわち、本発明に係る支持装置から引き出される量、引き出される方向が特定できる部材であれば、ワイヤに限定されるものではない。例えば、互いに外径が異なる複数の筒体を同心円状に配置して、各筒体がより大きな外径の筒体内から出没することにより長さが伸縮自在の部材を接続部材として用いるようにしてもよい。この場合、接続部材の引き出される量および引き出される方向を上記第1実施形態および上記第2実施形態と同様にして検出する検出器を、接続部材を支持する支持装置に設ける。これによっても、上記各実施形態と同様の効果が期待できる。   In the first and second embodiments, the three-dimensional shape measuring apparatuses 10 and 10 'and the wire apparatuses 20A, 20B, 20C, and 20' are connected by the wires 21A, 21B, 21C, and 21 '. However, the wire devices 20A, 20B, 20C, and 20 ', that is, the members that can identify the amount and the direction in which the wire devices are pulled out from the support device according to the present invention are not limited to wires. For example, a plurality of cylinders having different outer diameters are arranged concentrically, and a member whose length can be expanded and contracted as each cylinder protrudes and retracts from a cylinder with a larger outer diameter is used as the connection member. Also good. In this case, a detector that detects the amount and direction of the connection member to be pulled out in the same manner as in the first embodiment and the second embodiment is provided in the support device that supports the connection member. Also by this, the same effect as each said embodiment can be anticipated.

また、上記第1実施形態および第2実施形態においては、基準物体70A,70B,70C,70’として球体を用いたが、3次元形状測定装置10による測定によって生成される3次元形状データにより所定の位置を定点として定義できるものであれば、基準物体70A,70B,70C,70’の大きさおよび形状等は特に限定されるものではない。例えば、楕円状の球体、角柱、角錐、円柱、円錐および多面体などの形状により形成された基準物体70A,70B,70C,70’、またはこれらの形状を含む形状に形成された基準物体70A,70B,70C,70’を用いてもよい。また、基準物体70A,70B,70C,70’の表面に同表面と識別可能なマークを形成し同マークを抽出して定点を計算するようにしてもよい。これによっても、上記各実施形態と同様の効果が期待できる。   In the first and second embodiments, a sphere is used as the reference object 70A, 70B, 70C, 70 ′. The size and shape of the reference objects 70A, 70B, 70C, 70 ′ are not particularly limited as long as the position can be defined as a fixed point. For example, reference objects 70A, 70B, 70C, 70 ′ formed by shapes such as an elliptical sphere, prism, pyramid, cylinder, cone, and polyhedron, or reference objects 70A, 70B formed into shapes including these shapes. , 70C, 70 ′ may be used. Further, a fixed point may be calculated by forming a mark distinguishable from the same surface on the surface of the reference objects 70A, 70B, 70C and 70 'and extracting the mark. Also by this, the same effect as each said embodiment can be anticipated.

本発明の第1実施形態に係る3次元形状測定システムの全体を示す概略図である。1 is a schematic diagram showing an entire three-dimensional shape measurement system according to a first embodiment of the present invention. 図1の3次元形状測定システムにおける3次元形状測定装置とワイヤとの接続状態を説明するための断面図である。It is sectional drawing for demonstrating the connection state of the three-dimensional shape measuring apparatus and wire in the three-dimensional shape measuring system of FIG. 図1の3次元形状測定システムにおけるワイヤ装置を示す斜視図である。It is a perspective view which shows the wire apparatus in the three-dimensional shape measuring system of FIG. 第1実施形態において触針によって基準物体を測定する様子を示した斜視図である。It is the perspective view which showed a mode that a reference | standard object was measured with a stylus in 1st Embodiment. 図1の3次元形状測定システムにおける3次元画像データ処理装置によって実行される座標変換関数FWS計算プログラムのフローチャートである。It is a flowchart of the coordinate transformation function FWS calculation program performed by the three-dimensional image data processing apparatus in the three-dimensional shape measurement system of FIG. 図1の3次元形状測定システムにおける3次元画像データ処理装置によって実行される座標変換関数FCP計算プログラムのフローチャートである。It is a flowchart of the coordinate transformation function FCP calculation program performed by the three-dimensional image data processing apparatus in the three-dimensional shape measurement system of FIG. 図1の3次元形状測定システムにおける3次元形状測定装置によって基準物体を測定する様子を示した斜視図である。It is the perspective view which showed a mode that the reference | standard object was measured with the three-dimensional shape measuring apparatus in the three-dimensional shape measuring system of FIG. 図1の3次元形状測定システムにおける3次元画像データ処理装置によって実行される座標変換関数FSP計算プログラムのフローチャートである。It is a flowchart of the coordinate transformation function FSP calculation program performed by the three-dimensional image data processing apparatus in the three-dimensional shape measurement system of FIG. 図1の3次元形状測定システムにおける3次元画像データ処理装置によって実行される3次元形状表示プログラムのフローチャートである。It is a flowchart of the three-dimensional shape display program executed by the three-dimensional image data processing device in the three-dimensional shape measurement system of FIG. 本発明の第2実施形態に係る3次元形状測定システムの全体を示す概略図である。It is the schematic which shows the whole three-dimensional shape measuring system which concerns on 2nd Embodiment of this invention. 第2実施形態において触針によって基準物体を測定する様子を示した斜視図である。It is the perspective view which showed a mode that a reference | standard object was measured with a stylus in 2nd Embodiment. 図10の3次元形状測定システムにおける3次元画像データ処理装置によって実行される回転成分MPS,原点ずれ成分GCP計算プログラムのフローチャートである。FIG. 11 is a flowchart of a rotation component M PS and origin deviation component G CP calculation program executed by the three-dimensional image data processing apparatus in the three-dimensional shape measurement system of FIG. 10. 図10の3次元形状測定システムにおける3次元形状測定装置によって基準物体を測定する様子を示した斜視図である。It is the perspective view which showed a mode that the reference | standard object was measured with the three-dimensional shape measuring apparatus in the three-dimensional shape measuring system of FIG. 図10の3次元形状測定システムにおける3次元画像データ処理装置によって実行される3次元形状表示プログラムのフローチャートである。It is a flowchart of the three-dimensional shape display program performed by the three-dimensional image data processing apparatus in the three-dimensional shape measurement system of FIG. (A)〜(D)は第2実施形態における変形例を示す斜視図である。(A)-(D) are perspective views which show the modification in 2nd Embodiment. (A),(B)は第2実施形態における他の変形例を示す斜視図である。(A), (B) is a perspective view which shows the other modification in 2nd Embodiment. 第1実施形態における変形例を示す斜視図である。It is a perspective view which shows the modification in 1st Embodiment.

符号の説明Explanation of symbols

WK…ワーク、10…3次元形状測定装置、13…球体、20A,20B,20C…ワイヤ装置、21A,21B,21C…ワイヤ、21aA,21aB,21aB…先端部、22A,22B,22C…外筒、30…ワイヤ装置支持脚、41…コントローラ、42…入力装置、43…3次元画像データ処理装置、44…表示装置、50…触針、60…テーブル、70A,70B,70C…基準物体、80…3次元形状測定装置支持脚
WK: Workpiece, 10: Three-dimensional shape measuring device, 13: Sphere, 20A, 20B, 20C ... Wire device, 21A, 21B, 21C ... Wire, 21aA, 21aB, 21aB ... Tip, 22A, 22B, 22C ... Outer cylinder 30 ... Wire device support leg, 41 ... Controller, 42 ... Input device, 43 ... 3D image data processing device, 44 ... Display device, 50 ... stylus, 60 ... Table, 70A, 70B, 70C ... Reference object, 80 ... Support legs for 3D shape measuring equipment

Claims (12)

測定対象物の3次元形状を測定して同測定対象物の3次元形状を表す3次元形状データを出力する3次元形状測定装置と、
基端部にて支持装置により引出し量および引出し方向が自在に支持され、かつ先端部に前記3次元形状測定装置を接続する接続部材と、
前記接続部材の前記支持装置に対する引出し量および引出し方向を用いて、所定の基準座標系に対する前記3次元形状測定装置の少なくとも位置を表す位置情報を取得する情報取得手段と、
前記3次元形状測定装置から出力される前記3次元形状データを、前記取得した位置情報を用いて前記所定の基準座標系によって表された3次元形状データに変換するデータ変換手段と、
前記データ変換手段によって変換された複数組の3次元形状データを合成する合成手段とを備えたことを特徴とする3次元形状測定システム。
A three-dimensional shape measuring apparatus that measures the three-dimensional shape of the measurement object and outputs three-dimensional shape data representing the three-dimensional shape of the measurement object;
A connecting member that freely supports the drawing amount and the drawing direction by a support device at the base end, and connects the three-dimensional shape measuring device to the tip;
Information acquisition means for acquiring position information representing at least the position of the three-dimensional shape measuring apparatus with respect to a predetermined reference coordinate system using an amount and direction of the connection member with respect to the support device;
Data conversion means for converting the three-dimensional shape data output from the three-dimensional shape measuring apparatus into three-dimensional shape data represented by the predetermined reference coordinate system using the acquired position information;
A three-dimensional shape measurement system comprising: a combining unit that combines a plurality of sets of three-dimensional shape data converted by the data conversion unit.
請求項1に記載した3次元形状測定システムにおいて、
前記支持装置は、前記接続部材の引出し量および引出し方向を検出する検出器を備える3次元形状測定システム。
The three-dimensional shape measurement system according to claim 1,
The said support apparatus is a three-dimensional shape measuring system provided with the detector which detects the drawing amount and drawing direction of the said connection member.
請求項1または請求項2に記載した3次元形状測定システムにおいて、
前記所定の基準座標系の原点および座標軸の向きは、前記支持装置を基準に定められており、
前記情報取得手段は、前記位置情報に加えて、前記所定の基準座標系に対する前記3次元形状測定装置の向きを表す向き情報も取得する3次元形状測定システム。
In the three-dimensional shape measurement system according to claim 1 or 2,
The origin of the predetermined reference coordinate system and the orientation of the coordinate axes are determined with reference to the support device,
The information acquisition means is a three-dimensional shape measurement system that acquires direction information indicating the direction of the three-dimensional shape measurement apparatus with respect to the predetermined reference coordinate system in addition to the position information.
請求項3に記載した3次元形状測定システムにおいて、
前記接続部材は、少なくとも3つである3次元形状測定システム。
In the three-dimensional shape measurement system according to claim 3,
The connection member is a three-dimensional shape measuring system having at least three.
請求項3または請求項4のうちのいずれか1つに記載した3次元形状測定システムにおいて、
前記データ変換手段は、
前記3次元形状測定装置から出力される前記3次元形状データを、前記位置情報および前記向き情報を用いて前記所定の基準座標系によって表された3次元形状データに変換するための第1の座標変換関数を計算する第1の座標変換関数計算手段と、
前記3次元形状測定装置から出力される前記3次元形状データを、前記第1の座標変換関数を用いて前記所定の基準座標系によって表された3次元形状データに座標変換する座標変換手段とを備えた3次元形状測定システム。
In the three-dimensional shape measurement system according to any one of claims 3 and 4,
The data conversion means includes
First coordinates for converting the three-dimensional shape data output from the three-dimensional shape measuring apparatus into three-dimensional shape data represented by the predetermined reference coordinate system using the position information and the orientation information A first coordinate transformation function calculation means for calculating a transformation function;
Coordinate conversion means for converting the three-dimensional shape data output from the three-dimensional shape measuring apparatus into three-dimensional shape data represented by the predetermined reference coordinate system using the first coordinate conversion function; 3D shape measurement system provided.
請求項5に記載した3次元形状測定システムにおいて、
前記第1の座標変換関数計算手段は、前記3次元形状測定装置に関する座標系によって表された3次元形状データを前記接続部材の前記先端部に関する座標系によって表された3次元形状データに変換するための第2の座標変換関数と、前記接続部材の前記先端部に関する座標系によって表された3次元形状データを前記所定の基準座標系に関する座標系によって表された3次元形状データに変換するための第3の座標変換関数とを前記第1の座標変換関数として計算する3次元形状測定システム。
In the three-dimensional shape measurement system according to claim 5,
The first coordinate conversion function calculating means converts the three-dimensional shape data represented by the coordinate system related to the three-dimensional shape measuring apparatus into the three-dimensional shape data represented by the coordinate system related to the tip of the connecting member. For converting the three-dimensional shape data expressed by the second coordinate conversion function for the first reference coordinate system and the coordinate system related to the tip of the connecting member into the three-dimensional shape data expressed by the coordinate system related to the predetermined reference coordinate system A three-dimensional shape measurement system that calculates the third coordinate conversion function of the first coordinate conversion function as the first coordinate conversion function.
請求項1または請求項2に記載の3次元形状測定システムにおいて、
前記3次元形状測定装置は、前記測定対象物の3次元形状を表す3次元形状データに加え、前記3次元形状測定装置の測定対象空間内に配置された基準物体の3次元形状を表す3次元形状データも出力するものであり、
前記所定の基準座標系の原点は前記支持装置を基準に定められ、かつ前記所定の基準座標系の座標軸の向きは前記支持装置または前記基準物体を基準に定められるものであり、
前記データ変換手段は、前記3次元形状測定装置から出力される前記3次元形状データを、前記取得した位置情報に加え前記基準物体の3次元形状を表す3次元形状データを用いて、前記所定の基準座標系によって表された3次元形状データに変換する3次元形状測定システム。
The three-dimensional shape measurement system according to claim 1 or 2,
The three-dimensional shape measuring device is a three-dimensional device that represents a three-dimensional shape of a reference object arranged in a measurement target space of the three-dimensional shape measuring device, in addition to three-dimensional shape data that represents the three-dimensional shape of the measuring object. Shape data is also output,
The origin of the predetermined reference coordinate system is determined with reference to the support device, and the orientation of the coordinate axis of the predetermined reference coordinate system is determined with reference to the support device or the reference object,
The data conversion means uses the three-dimensional shape data representing the three-dimensional shape of the reference object in addition to the acquired position information, using the three-dimensional shape data output from the three-dimensional shape measuring device, and A three-dimensional shape measurement system for converting into three-dimensional shape data represented by a reference coordinate system.
請求項7に記載した3次元形状測定システムにおいて、
前記接続部材は、少なくとも1つである3次元形状測定システム。
The three-dimensional shape measurement system according to claim 7,
The connection member is at least one three-dimensional shape measurement system.
請求項7または請求項8に記載した3次元形状測定システムにおいて、
前記データ変換手段は、
前記基準物体の3次元形状を表す3次元形状データを用いて前記基準物体に関係した座標軸の向きを計算し、
前記測定対象物の3次元形状を表す3次元形状データを、前記計算した座標軸の向きと同じ座標軸を有する3次元座標系によって表された3次元形状データに変換するための第4の座標変換関数を計算する第4の座標変換関数計算手段と、
前記測定対象物の3次元形状を表す3次元形状データを、前記所定の基準座標系の原点と同じ原点を有する3次元座標系によって表された3次元形状データに変換するための第5の座標変換関数を計算する第5の座標変換関数計算手段と、
前記3次元形状測定装置から出力される前記3次元形状データを、前記計算した第4および第5の座標変換関数を用いて、前記所定の基準座標系によって表された3次元形状データに変換する座標変換手段とを備えた3次元形状測定システム。
In the three-dimensional shape measuring system according to claim 7 or 8,
The data conversion means includes
Calculating a direction of a coordinate axis related to the reference object using three-dimensional shape data representing a three-dimensional shape of the reference object;
Fourth coordinate conversion function for converting three-dimensional shape data representing the three-dimensional shape of the measurement object into three-dimensional shape data represented by a three-dimensional coordinate system having the same coordinate axis as the calculated coordinate axis direction A fourth coordinate transformation function calculating means for calculating
Fifth coordinates for converting three-dimensional shape data representing the three-dimensional shape of the measurement object into three-dimensional shape data represented by a three-dimensional coordinate system having the same origin as the origin of the predetermined reference coordinate system A fifth coordinate conversion function calculating means for calculating a conversion function;
The three-dimensional shape data output from the three-dimensional shape measuring device is converted into three-dimensional shape data represented by the predetermined reference coordinate system using the calculated fourth and fifth coordinate conversion functions. A three-dimensional shape measurement system comprising coordinate conversion means.
請求項9に記載した3次元形状測定システムにおいて、
前記第4の座標変換関数は、前記3次元形状測定装置に関する座標系によって表された3次元形状データを前記接続部材の前記先端部に関する座標系によって表された3次元形状データに変換し、
前記第5の座標変換関数は、前記接続部材の前記先端部に関する座標系によって表された3次元形状データを前記所定の基準座標系に関する座標系によって表された3次元形状データに座標変換する3次元形状測定システム。
The three-dimensional shape measurement system according to claim 9,
The fourth coordinate conversion function converts the three-dimensional shape data represented by the coordinate system related to the three-dimensional shape measuring apparatus into the three-dimensional shape data represented by the coordinate system related to the tip of the connection member,
The fifth coordinate conversion function performs coordinate conversion of 3D shape data represented by a coordinate system related to the tip of the connecting member into 3D shape data expressed by a coordinate system related to the predetermined reference coordinate system. Dimensional shape measurement system.
請求項1ないし請求項10のうちのいずれか1つに記載した3次元形状測定システムにおいて、さらに、
前記所定の基準座標系は、前記支持装置の所定の位置に基づいて定められており、
前記所定の基準座標系に対して前記支持装置を移動させる支持装置移動手段と、
前記所定の基準座標系によって表された前記支持装置の位置を検出する支持装置位置検出手段とを備え、
前記データ変換手段は、前記取得された位置情報に加え、前記支持装置位置検出手段によって検出される前記支持装置の位置を用いて、前記3次元形状測定装置から出力される前記3次元形状データを、前記所定の基準座標系によって表された3次元形状データに変換する3次元形状測定システム。
The three-dimensional shape measurement system according to any one of claims 1 to 10, further comprising:
The predetermined reference coordinate system is determined based on a predetermined position of the support device,
Support device moving means for moving the support device relative to the predetermined reference coordinate system;
Supporting device position detecting means for detecting the position of the supporting device represented by the predetermined reference coordinate system;
The data conversion means uses the position of the support device detected by the support device position detection means, in addition to the acquired position information, to convert the 3D shape data output from the 3D shape measurement device. A three-dimensional shape measurement system for converting into three-dimensional shape data represented by the predetermined reference coordinate system.
請求項1ないし請求項11のうちのいずれか1つに記載した3次元形状測定システムにおいて、
前記接続部材は、ワイヤである3次元形状測定システム。
The three-dimensional shape measurement system according to any one of claims 1 to 11,
The connection member is a three-dimensional shape measurement system which is a wire.
JP2006083430A 2006-03-24 2006-03-24 Three-dimensional shape measuring system and three-dimensional shape measuring method Pending JP2007256188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006083430A JP2007256188A (en) 2006-03-24 2006-03-24 Three-dimensional shape measuring system and three-dimensional shape measuring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006083430A JP2007256188A (en) 2006-03-24 2006-03-24 Three-dimensional shape measuring system and three-dimensional shape measuring method

Publications (1)

Publication Number Publication Date
JP2007256188A true JP2007256188A (en) 2007-10-04

Family

ID=38630570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006083430A Pending JP2007256188A (en) 2006-03-24 2006-03-24 Three-dimensional shape measuring system and three-dimensional shape measuring method

Country Status (1)

Country Link
JP (1) JP2007256188A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115931572A (en) * 2023-03-02 2023-04-07 阳谷领航电缆有限公司 Special cable performance online installation detection method
CN117803824A (en) * 2024-02-29 2024-04-02 成都纵横通达信息工程有限公司 Sample analysis processing device based on Z3D frame station scanning instrument
CN117803824B (en) * 2024-02-29 2024-05-03 成都纵横通达信息工程有限公司 Sample analysis processing device based on Z3D frame station scanning instrument

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115931572A (en) * 2023-03-02 2023-04-07 阳谷领航电缆有限公司 Special cable performance online installation detection method
CN117803824A (en) * 2024-02-29 2024-04-02 成都纵横通达信息工程有限公司 Sample analysis processing device based on Z3D frame station scanning instrument
CN117803824B (en) * 2024-02-29 2024-05-03 成都纵横通达信息工程有限公司 Sample analysis processing device based on Z3D frame station scanning instrument

Similar Documents

Publication Publication Date Title
US10665012B2 (en) Augmented reality camera for use with 3D metrology equipment in forming 3D images from 2D camera images
JP4491687B2 (en) Coordinate transformation function correction method
JP4443497B2 (en) Multi-degree-of-freedom robot positioning error correction apparatus and positioning error correction method
US20170160077A1 (en) Method of inspecting an object with a vision probe
CN101363717B (en) Method and measuring system for contactless coordinate measurement of the surface of an object
Blais Review of 20 years of range sensor development
JP3070953B2 (en) Method and system for point-by-point measurement of spatial coordinates
Catalucci et al. Measurement of complex freeform additively manufactured parts by structured light and photogrammetry
JP4774824B2 (en) Method for confirming measurement target range in three-dimensional measurement processing, method for setting measurement target range, and apparatus for performing each method
Lee et al. Multi-beam laser probe for measuring position and orientation of freeform surface
Beraldin et al. Metrological characterization of 3D imaging systems: progress report on standards developments
JP2004257927A (en) Three-dimensional profile measuring system and method for measuring the same
Rodríguez-Martín et al. Procedure for quality inspection of welds based on macro-photogrammetric three-dimensional reconstruction
JP6937482B2 (en) Surface shape measuring device and its stitching measuring method
JP2009300441A (en) Method and apparatus for determining position of sensor
JP2022097699A (en) Input device, input method of input device, output device and output method of output device
EP2138803A1 (en) Jig for measuring an object shape and method for measuring a three-dimensional shape
JP3944091B2 (en) 3D image data generation method
JP2021193400A (en) Method for measuring artefact
CN103398656A (en) Method and survey system for noncontact coordinate measurement on object surface
JP2021189179A (en) Coordinate measuring machine with vision probe for performing points-from-focus type measurement operations
JP4291178B2 (en) 3D shape measuring system, measuring method, and 3D shape measuring stage device
JP2006078398A (en) Method and device for measuring eccentricity and inclination of both sides
JP2007256188A (en) Three-dimensional shape measuring system and three-dimensional shape measuring method
Chang et al. Non-contact scanning measurement utilizing a space mapping method