JP2007107927A - Length measuring device, length measuring method, and computer program for length measurement - Google Patents

Length measuring device, length measuring method, and computer program for length measurement Download PDF

Info

Publication number
JP2007107927A
JP2007107927A JP2005296737A JP2005296737A JP2007107927A JP 2007107927 A JP2007107927 A JP 2007107927A JP 2005296737 A JP2005296737 A JP 2005296737A JP 2005296737 A JP2005296737 A JP 2005296737A JP 2007107927 A JP2007107927 A JP 2007107927A
Authority
JP
Japan
Prior art keywords
measurement
length
dimensional shape
plane
measurement object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005296737A
Other languages
Japanese (ja)
Other versions
JP4555762B2 (en
Inventor
Nobuo Ahei
信雄 阿閉
Mitsutoshi Kubo
三敏 久保
Junichi Fujisawa
淳一 藤沢
Tatsuya Sato
佐藤  達也
Kazutomi Tomita
一臣 富田
Toshihisa Takai
利久 高井
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.)
Nippon Steel Corp
Pulstec Industrial Co Ltd
Nittetsu Hokkaido Control Systems Co Ltd
Original Assignee
Nippon Steel Corp
Pulstec Industrial Co Ltd
Nittetsu Hokkaido Control Systems 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 Nippon Steel Corp, Pulstec Industrial Co Ltd, Nittetsu Hokkaido Control Systems Co Ltd filed Critical Nippon Steel Corp
Priority to JP2005296737A priority Critical patent/JP4555762B2/en
Publication of JP2007107927A publication Critical patent/JP2007107927A/en
Application granted granted Critical
Publication of JP4555762B2 publication Critical patent/JP4555762B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To dispense with strict positioning and arrangement of an imaging device for imaging each end of a measuring object, and to measure accurately the length of the measuring object regardless of the direction of the end face of the measuring object to the imaging device. <P>SOLUTION: The distance along the axial direction of a work WK between each coordinate origin in three-dimensional shape measuring devices 20A, 20B is stored as a reference distance L<SB>0</SB>, and reference planes Pka, Pkb orthogonal to the axis of the work WK are defined. Then, each end including end faces Sa, Sb of the work WK are measured by the three-dimensional shape measuring devices 20A, 20B, and planes Pwa, Pwb showing the end faces Sa, Sb are defined, and measuring planes Pma, Pmb parallel to the reference planes Pka, Pkb are defined by using the planes Pka, Pkb. Thereafter, the length L of the work WK is calculated by subtracting the distance between the measuring planes Pma, Pmb and each coordinate origin from the reference distance L<SB>0</SB>. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、測定対象物の長さを画像処理によって測定する長さ測定装置、長さ測定方法および長さ測定用コンピュータプログラムに関する。   The present invention relates to a length measurement device, a length measurement method, and a length measurement computer program that measure the length of a measurement object by image processing.

一般に、圧延加工などにより柱状または管状に成形された長尺材は、切断加工により所定の長さに切断されて製品となる。この場合、切断された長尺状の製品の長さを測定して同製品の長さが所定の長さ、すなわち製品仕様の規格内であるか否かが検査される。このような製品の長さの検査における長さ測定装置として、例えば下記特許文献1に示されているようなCCD(charge-coupled-device)を用いた装置が知られている。
特開平6−18228号公報
Generally, a long material formed into a columnar shape or a tubular shape by rolling or the like is cut into a predetermined length by a cutting process to become a product. In this case, the length of the cut long product is measured to inspect whether the length of the product is within a predetermined length, that is, within the product specification standard. As a length measuring device in such a product length inspection, for example, a device using a charge-coupled device (CCD) as disclosed in Patent Document 1 is known.
JP-A-6-18228

特許文献1に記載の長さ測定装置においては、圧延機により圧延された後、所定の長さに切断された長尺状の製品の先端部を材料揃えストッパーに当接させて位置決めし、位置決めされた製品の先端部および後端部の上方にそれぞれ配置されたCCDカメラによって同製品の先端部および後端部を撮像している。この場合、各CCDカメラには、それぞれ製品の先端部および後端部を照らす照明が併設されており、各CCDカメラは、製品の先端部および後端部からの各反射光を受光して、光量に応じた電気信号を各画素ごとに画像処理装置に出力する。画像処理装置は、各CCDカメラから各画素ごとに出力された電気信号に基づいて製品の先端部および後端部の形状を表す2次元形状データを生成し同製品の先端部および後端部の各端部を検出して製品の長さを測定している。   In the length measuring device described in Patent Document 1, positioning is performed by bringing the leading end of a long product, which has been rolled by a rolling mill and then cut into a predetermined length, into contact with a material alignment stopper. The front end and rear end of the product are imaged by a CCD camera disposed above the front end and rear end of the product. In this case, each CCD camera is provided with illumination that illuminates the front end and the rear end of the product, and each CCD camera receives each reflected light from the front end and the rear end of the product, An electrical signal corresponding to the amount of light is output to the image processing apparatus for each pixel. The image processing apparatus generates two-dimensional shape data representing the shape of the front end portion and the rear end portion of the product based on the electrical signal output for each pixel from each CCD camera, and the front end portion and the rear end portion of the product. Each end is detected to measure the length of the product.

しかしながら、このようなCCDカメラを用いた長さ測定装置においては、測定対象物(製品)の先端部および後端部における各端部を正確に検出するために、CCDカメラの受光面が測定対象物の各端部における各端面に対して直交するようにCCDカメラを配置しなければならない。このため、CCDカメラの配置位置が狭い範囲に限定される。このCCDカメラの配置作業は煩雑な作業であるとともに、定期的にCCDカメラの配置位置を校正する作業も必要であるという問題がある。また、画像処理装置によって生成される測定対象物の各端部の形状を表す画像データは測定対象物の外周を表す2次元画像データであるため、測定対象物の各端部の形状が曲がっている、または同各端部における端面が測定対象物の軸方向に対して傾いている場合には、CCDカメラの受光面に対する測定対象物の向きによって異なる端面形状の画像データが検出され、精度よく測定対象物の長さを測定することができないという問題があった。   However, in such a length measuring apparatus using a CCD camera, the light receiving surface of the CCD camera is the object to be measured in order to accurately detect each end of the front end and rear end of the measurement object (product). The CCD camera must be arranged so as to be orthogonal to each end face at each end of the object. For this reason, the arrangement position of the CCD camera is limited to a narrow range. This CCD camera placement work is a troublesome work, and there is a problem that it is necessary to periodically calibrate the CCD camera placement position. Further, since the image data representing the shape of each end of the measurement object generated by the image processing apparatus is two-dimensional image data representing the outer periphery of the measurement object, the shape of each end of the measurement object is bent. If the end face of each end is inclined with respect to the axial direction of the measurement object, image data with different end face shapes is detected depending on the orientation of the measurement object with respect to the light receiving surface of the CCD camera, and the accuracy is high. There was a problem that the length of the measurement object could not be measured.

本発明は上記問題に対処するためなされたもので、その目的は、測定対象物における各端部を撮像する撮像装置を厳格に位置決めして配置する必要がないとともに、測定対象物における各端部の形状が曲がっている、または同各端部における端面が測定対象物の軸方向に対して傾いている場合であっても撮像装置に対する同端面の向きに関わらず測定対象物の長さを精度よく測定することができる長さ測定装置、長さ測定方法および長さ測定用コンピュータプログラムを提供することにある。   The present invention has been made to cope with the above problem, and the object thereof is not to strictly position and arrange an imaging device for imaging each end of the measurement object, and each end of the measurement object. The length of the object to be measured is accurate regardless of the orientation of the end face with respect to the imaging device, even when the shape is bent or the end face at each end is inclined with respect to the axial direction of the object to be measured. An object of the present invention is to provide a length measuring device, a length measuring method, and a computer program for length measurement that can be measured well.

上記目的を達成するため、本発明の特徴は、測定対象物の長さを測定する長さ測定装置において、測定対象物を支持する支持手段と、測定対象物に向けて光を照射して同測定対象物からの反射光を用いて、同測定対象物における長さ測定の対象となる端面を含む端部を少なくとも含む測定対象物の表面の3次元形状を測定する3次元形状測定装置と、支持手段に支持される測定対象物における長さ測定の対象となる端面間の軸線と直交する平面を基準面として定義する基準面定義手段と、3次元形状測定装置の座標系内における所定の第1測定基準位置と、同3次元形状測定装置により測定される測定対象物の端部の反対側の端部における端面の位置を特定するための所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として記憶する記憶手段と、3次元形状測定装置によって測定された前記測定対象物の3次元表面形状を表す3次元形状データ群を生成する3次元形状データ群生成手段と、前記生成された3次元形状データ群を用いて、測定対象物における長さ測定の対象となる端面を定義する端面定義手段と、端面定義手段により定義された端面内の一点を含み、かつ基準面に平行な測定用平面を定義する測定用平面定義手段と、測定用平面定義手段により定義された測定用平面と記憶装置に記憶された基準距離とを用いて、測定対象物の長さを計算する長さ計算手段とを備えたことにある。   In order to achieve the above object, the present invention is characterized in that, in a length measurement device for measuring the length of a measurement object, a support means for supporting the measurement object and light irradiated toward the measurement object are the same. A three-dimensional shape measuring apparatus for measuring the three-dimensional shape of the surface of the measuring object including at least an end including the end face to be subjected to length measurement in the measuring object, using reflected light from the measuring object; Reference plane defining means for defining a plane perpendicular to the axis between the end faces of the measurement object supported by the support means as a reference plane, and a predetermined second in the coordinate system of the three-dimensional shape measuring apparatus. Of the measurement object with one measurement reference position and a predetermined second measurement reference position for specifying the position of the end surface at the end opposite to the end of the measurement object measured by the three-dimensional shape measurement apparatus The distance along the axis is the reference distance Storage means for storing as, three-dimensional shape data group generating means for generating a three-dimensional shape data group representing a three-dimensional surface shape of the measurement object measured by a three-dimensional shape measuring apparatus, and the generated three-dimensional An end face defining means for defining an end face to be subjected to length measurement in the measurement object using the shape data group, and a measuring plane including one point in the end face defined by the end face defining means and parallel to the reference plane A measuring plane defining means for defining the length, a length calculating means for calculating the length of the measurement object using the measuring plane defined by the measuring plane defining means and the reference distance stored in the storage device; It is in having.

この場合、前記第1測定基準位置は、3次元形状測定装置の座標系における座標原点であり、第2測定基準位置は、3次元形状測定装置により測定される測定対象物の端部とは反対側の端部を特定の位置に位置決めする位置にするとよい。ここで、前記特定の位置とは、例えば、ワークの一端に当接して同ワークを特定の位置に位置決めした場合における同一端の位置である。また、前記第1測定基準位置および第2測定基準位置に代えて、3次元形状測定装置を測定対象物の測定対象となる端面ごとに用意、すなわち、2つの3次元形状測定装置を用意し、第1測定基準位置を一方の3次元形状測定装置の座標系における座標原点とし、第2測定基準位置を他方の3次元形状測定装置の座標系における座標原点としてもよい。   In this case, the first measurement reference position is the coordinate origin in the coordinate system of the three-dimensional shape measurement apparatus, and the second measurement reference position is opposite to the end of the measurement object measured by the three-dimensional shape measurement apparatus. The end on the side may be positioned at a specific position. Here, the specific position is, for example, the position of the same end when the workpiece is positioned at a specific position by contacting one end of the workpiece. Further, in place of the first measurement reference position and the second measurement reference position, a three-dimensional shape measurement device is prepared for each end surface to be measured of the measurement object, that is, two three-dimensional shape measurement devices are prepared, The first measurement reference position may be the coordinate origin in the coordinate system of one three-dimensional shape measurement apparatus, and the second measurement reference position may be the coordinate origin in the coordinate system of the other three-dimensional shape measurement apparatus.

この場合、長さ測定装置における2つの3次元形状測定装置は、測定対象物に向けてそれぞれ光を照射して同測定対象物からの各反射光を用いて同測定対象物における長さ測定の対象となる2つの端面をそれぞれ含む各端部をそれぞれ少なくとも含む測定対象物の表面の3次元形状をそれぞれ測定し、前記基準面定義手段は、支持手段に支持される測定対象物における長さ測定の対象となる端面間の軸線と直交する平面を基準面として定義し、前記記憶手段は、2つの3次元形状測定装置のうち、一方の3次元形状測定装置の座標系内における所定の第1測定基準位置と、他方の3次元形状測定装置の座標系内における所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として記憶し、前記3次元形状データ群生成手段は、前記2つの3次元形状測定装置によってそれぞれ測定された測定対象物の3次元表面形状を表す3次元形状データ群をそれぞれ生成し、前記端面定義手段は、それぞれ生成された各3次元形状データ群を用いて、前記測定対象物における長さ測定の対象となる2つの端面をそれぞれ定義し、前記測定用平面定義手段は、端面定義手段により定義された各端面内の一点を含み、かつ基準面に平行な測定用平面をそれぞれ定義し、前記長さ計算手段は、前記一方の3次元形状測定装置に対応する測定用平面と第1測定基準位置との距離を第1距離として計算するとともに、前記他方の3次元形状測定装置に対応する測定用平面と第2測定基準位置との距離を第2距離として計算して、記憶装置に記憶された基準距離から前記第1距離および第2距離を減算することにより測定対象物の長さを計算するようにするとよい。   In this case, the two three-dimensional shape measurement apparatuses in the length measurement apparatus irradiate light toward the measurement object, and use the reflected light from the measurement object to measure the length of the measurement object. The three-dimensional shape of the surface of the measurement object including at least each end including each of the two target end surfaces is measured, and the reference surface definition means measures the length of the measurement object supported by the support means. A plane perpendicular to the axis between the end surfaces to be subjected to the measurement is defined as a reference plane, and the storage means is a predetermined first in the coordinate system of one of the three three-dimensional shape measuring devices. The distance along the axis of the measurement object between the measurement reference position and a predetermined second measurement reference position in the coordinate system of the other three-dimensional shape measuring apparatus is stored as a reference distance, and the three-dimensional shape data group generation hand Respectively generate three-dimensional shape data groups representing the three-dimensional surface shape of the measurement object respectively measured by the two three-dimensional shape measurement devices, and the end surface defining means generates each of the generated three-dimensional shape data. Two end surfaces to be length measurement targets in the measurement object are defined using a group, and the measurement plane definition means includes one point in each end face defined by the end face definition means, and a reference The measurement plane parallel to the surface is defined, and the length calculation means calculates the distance between the measurement plane corresponding to the one three-dimensional shape measuring apparatus and the first measurement reference position as the first distance. The distance between the measurement plane corresponding to the other three-dimensional shape measuring apparatus and the second measurement reference position is calculated as a second distance, and the first distance and the first distance and the reference distance stored in the storage device are calculated. The second distance may be such that calculates the length of the measurement object by subtracting.

また、第1測定基準位置および第2測定基準位置が前記のいずれの場合も端面定義手段により定義された各端面において前記測定用平面に含まれる一点を、同端面における中心点、同端面における重心点、同端面に面する3次元形状測定装置に対して最も近い点および同端面に面する3次元形状測定装置に対して最も遠い点のうちのいずれか1つにすればよい。   Further, in each of the cases where the first measurement reference position and the second measurement reference position are the above, one point included in the measurement plane at each end face defined by the end face defining means is a center point on the end face, and a center of gravity on the end face. Any one of a point, a point closest to the three-dimensional shape measuring apparatus facing the same end surface, and a point farthest from the three-dimensional shape measuring apparatus facing the same end surface may be used.

このように構成した本発明の特徴によれば、記憶装置に予め測定対象物における測定対象となる端面間の軸線に沿って第1測定基準位置と第2測定基準位置との距離を基準距離として記憶している。ここで、第1測定基準位置は3次元形状測定装置の座標系内に存在し、同第1測定基準位置と同3次元形状測定装置により測定される測定対象物の端面の位置とが特定される。また、第2測定基準位置は、測定対象物における測定対象となるもう一方の端面の位置を特定する位置である。そして、前記軸線に直交する基準面と平行な測定用平面を測定対象となる端面に定義し、同測定用平面と基準距離とを用いて測定対象物の長さを計算している。これによれば、測定対象となる端面に対して測定用平面が定義できれば、すなわち、測定対象となる端面を含む測定対象物の端部の表面形状を表す3次元形状データが取得できれば、常に測定対象物の軸線に沿って同測定対象物の長さが測定することができ、3次元形状測定装置の配置位置は限定されない。また、測定用平面は3次元データによって定義されるため、測定対象となる端面の形状および3次元形状測定装置に対する同端面の向きに寄らず一定の平面を定義することができる。これにより、精度の高い測定対象物の長さ測定が可能となる。   According to the feature of the present invention configured as described above, the distance between the first measurement reference position and the second measurement reference position along the axis between the end faces to be measured in the measurement object in the storage device is set as the reference distance. I remember it. Here, the first measurement reference position exists in the coordinate system of the three-dimensional shape measurement apparatus, and the first measurement reference position and the position of the end face of the measurement object measured by the three-dimensional shape measurement apparatus are specified. The In addition, the second measurement reference position is a position that specifies the position of the other end face that is the measurement target in the measurement target. Then, a measurement plane parallel to the reference plane orthogonal to the axis is defined as an end surface to be measured, and the length of the measurement target is calculated using the measurement plane and the reference distance. According to this, if a measurement plane can be defined for the end surface to be measured, that is, if 3D shape data representing the surface shape of the end of the measurement object including the end surface to be measured can be acquired, measurement is always performed. The length of the measurement object can be measured along the axis of the object, and the arrangement position of the three-dimensional shape measurement apparatus is not limited. Further, since the measurement plane is defined by three-dimensional data, a constant plane can be defined regardless of the shape of the end face to be measured and the direction of the end face with respect to the three-dimensional shape measuring apparatus. Thereby, it is possible to measure the length of the measurement object with high accuracy.

また、上記長さ測定装置において、さらに、前記測定用平面定義手段は、3次元形状データ群のうち測定対象物の端部における外周面の表面形状を表す3次元データを用いて、同測定対象物における中心軸を計算する中心軸計算手段と、端面定義手段により定義された端面と中心軸計算手段により計算された中心軸との交点を前記測定対象物の端面における中心点として計算する端面中心計算手段とを備え、端面中心計算手段にて計算された端面の中心点を含むとともに前記基準面に平行な平面を測定用平面として定義するようにしたことにある。これによれば、測定対象である端面が中心軸に対して完全に垂直でない場合や端面が若干曲がっている場合であっても、同端面と測定対象物の中心軸との交点に基づいて測定用平面が定義されるため、同端面における正確な中心点に基づいて測定用平面を定義することができる。   Further, in the length measuring apparatus, the measurement plane defining means further uses the three-dimensional data representing the surface shape of the outer peripheral surface at the end of the measurement object in the three-dimensional shape data group, A center axis calculating means for calculating the center axis of the object, and an end face center for calculating an intersection of the end surface defined by the end face defining means and the center axis calculated by the center axis calculating means as the center point of the end face of the measurement object And calculating means for defining a plane including the center point of the end face calculated by the end face center calculating means and parallel to the reference plane as a measuring plane. According to this, even when the end surface to be measured is not completely perpendicular to the central axis or when the end surface is slightly bent, the measurement is based on the intersection of the end surface and the central axis of the measuring object. Since the work plane is defined, the measurement plane can be defined based on the accurate center point on the end face.

また、本発明の他の特徴は、上記長さ測定装置において、さらに、前記端面定義手段により定義された端面の前記基準面に対する角度が所定の範囲内であるとき、測定対象物の長さ測定が可能であると判定する長さ測定可否判定手段を有し、長さ計算手段は、長さ測定可否判定手段により測定対象物の長さ測定が可能と判定されたとき、同測定対象物の長さを計算するようにしたことにある。これによれば、測定対象である端面が測定対象物の軸線に対して垂直から所定の範囲内の角度でずれている場合のみ、同測定対象物の長さ測定を行うことができ、測定した測定対象物間の長さ比較をより正確に行うことができる。   According to another aspect of the present invention, in the length measuring apparatus, when the angle of the end surface defined by the end surface defining means with respect to the reference surface is within a predetermined range, the length of the measurement object is measured. A length measurement availability determination unit that determines that the measurement object is capable of being measured when the length measurement availability determination unit determines that the length measurement of the measurement object is possible. The length is calculated. According to this, the length measurement of the measurement object can be performed and measured only when the end face as the measurement object is deviated from the perpendicular to the axis of the measurement object by an angle within a predetermined range. The length comparison between measurement objects can be performed more accurately.

また、本発明の他の特徴は、上記長さ測定装置において、さらに、3次元形状データ群のうち測定対象物における端部の表面形状を表す3次元データを用いて、同測定対象物における端部の曲がりの有無を判定する曲がり判定手段と、曲がり判定手段により測定対象物における端部の曲がりが有りと判定されたとき、前記測定用平面定義手段にて定義された測定用平面を、前記測定対象物における端部が直線状である場合における測定用平面に補正する測定用平面補正手段とを備え、前記長さ計算手段は、測定用平面定義手段により定義された測定用平面または前記測定用平面補正手段により補正した測定用平面と前記記憶装置に記憶された基準距離とを用いて、測定対象物の長さを計算するようにしたことにある。これによれば、測定対象物における端部が曲がっている場合であっても、同端部の曲がりがなく直線状に形成されている場合における測定対象物の長さを測定することができる。すなわち、同端部が曲がり変形した場合であっても測定対象物本来の長さを測定することができる。   Another feature of the present invention is that the length measurement apparatus further includes an end of the measurement object using three-dimensional data representing a surface shape of the end of the measurement object in the three-dimensional shape data group. Bending determination means for determining the presence or absence of bending of the part, and when the bending determination means determines that there is bending at the end of the measurement object, the measurement plane defined by the measurement plane definition means is A measurement plane correcting means for correcting the measurement object to a measurement plane when the end of the measurement object is linear, and the length calculation means is the measurement plane defined by the measurement plane definition means or the measurement The length of the measurement object is calculated using the measurement plane corrected by the plane correction means and the reference distance stored in the storage device. According to this, even when the end portion of the measurement object is bent, the length of the measurement object in the case where the end portion is not bent and is formed in a straight line can be measured. That is, the original length of the measurement object can be measured even when the same end is bent and deformed.

また、本発明の他の特徴は、上記長さ測定装置において、さらに、前記支持手段に支持された複数の測定対象物に対応して生成される3次元形状データ群を、同複数の測定対象ごとに分類する3次元形状データ分類手段を有し、端面定義手段は、前記複数の測定対象物ごとに長さ測定の対象となる端面を定義し、測定用平面定義手段は、前記複数の測定対象物ごとに測定用平面を定義し、長さ計算手段は、前記複数の測定対象物ごとに測定対象物の長さを測定するようにしたことにある。これによれば、複数の測定対象物を支持手段に支持させて、同時に複数の測定対象物の長さ測定を行うことができる。これにより、測定対象物の長さ測定を効率的に行うことができる。   Another feature of the present invention is that, in the length measurement apparatus, a three-dimensional shape data group generated corresponding to a plurality of measurement objects supported by the support means is further measured. 3D shape data classification means for classifying each of the plurality of measurement objects, the end face definition means defines an end face to be subjected to length measurement for each of the plurality of measurement objects, and the measurement plane definition means includes the plurality of measurement objects. The measurement plane is defined for each object, and the length calculation means is configured to measure the length of the measurement object for each of the plurality of measurement objects. According to this, a plurality of measurement objects can be supported by the support means, and the lengths of the plurality of measurement objects can be measured simultaneously. Thereby, the length measurement of a measuring object can be performed efficiently.

また、本発明は装置の発明として実施できるばかりでなく、方法の発明およびコンピュータプログラムの発明としても実施できるものである。   The present invention can be implemented not only as an apparatus invention but also as a method invention and a computer program invention.

以下、本発明に係る長さ測定装置の一実施形態について図面を参照しながら説明する。図1は、本発明の実施形態に係る長さ測定装置の基本構成を示す概略図である。   Hereinafter, an embodiment of a length measuring apparatus according to the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram showing a basic configuration of a length measuring apparatus according to an embodiment of the present invention.

この長さ測定装置は、丸棒状の測定対象物(以下、「ワーク」という)WKの両端部側をそれぞれ支持する四角柱状の2つの支持台10を備えている。この支持台10は、本発明に係る支持手段に対応する。2つの支持台10は、互いに同一の形状に形成されており、詳しくは図2に示すように、四角柱状に形成された本体部10aの上面に、同本体部10aの長手方向に沿って等間隔に3つの支持部10bが形成されている。これら3つの支持部10bは、それぞれ本体部10aの長手方向に直交する方向にV溝状に形成されており、支持台10上に載置されるワークWKを安定的に支持する。これら2つの支持台10は、後述する3次元形状測定装置20A,20Bの測定対象空間内に互いに平行に配置され、1つのワークWKを2つの支持台10にて水平状態に支持する。なお、本実施形態においては、同時に3つのワークWKの長さ測定を行うことができるように、3つの支持部10bを支持台10上に設けるようにしたが、この支持部10bの数は、同時に測定するワークWKの数に応じて適宜変更するようにすればよい。   This length measuring apparatus includes two square columnar support bases 10 that respectively support both ends of a round bar-shaped measurement object (hereinafter referred to as “workpiece”) WK. This support base 10 corresponds to the support means according to the present invention. The two support bases 10 are formed in the same shape as each other. Specifically, as shown in FIG. 2, the upper surface of the main body 10 a formed in a quadrangular column shape is formed along the longitudinal direction of the main body 10 a. Three support portions 10b are formed at intervals. These three support portions 10b are each formed in a V-groove shape in a direction orthogonal to the longitudinal direction of the main body portion 10a, and stably support the workpiece WK placed on the support base 10. These two support bases 10 are arranged in parallel to each other in a measurement target space of three-dimensional shape measuring apparatuses 20A and 20B described later, and support one work WK in a horizontal state by the two support bases 10. In the present embodiment, the three support portions 10b are provided on the support base 10 so that the lengths of the three workpieces WK can be measured simultaneously. However, the number of the support portions 10b is as follows. What is necessary is just to change suitably according to the number of the workpiece | work WK measured simultaneously.

これらの支持台10の各斜め上方には、支持台10に向けて異なる位置、具体的には、支持台10上に載置されるワークWKの2つの各端面Sa,Sbに向けてそれぞれ配置された3次元形状測定装置20A,20Bが設けられている。これらの3次元形状測定装置20A,20Bは、光を用いて支持台10上に載置されるワークWKの端面Sa,Sbを含む各端部の3次元形状を測定するもので、同測定結果を表す3次元表面形状測定情報を出力するとともに、同ワークWK表面からの反射光の光量を測定して同測定結果を表す反射光量測定情報を出力する。これらの3次元形状測定装置20A,20Bとしては、光を用いて物体の3次元表面形状を測定して同測定した3次元表面形状を表す信号を出力するとともに、同物体表面からの反射光量を表す信号を出力するものであれば、いかなる3次元形状測定装置をも利用できる。なお、反射光量に代えて物体の反射率または色を識別するものでもよい。本実施形態においては、レーザ光を用いて3角測量法に従って物体の3次元表面形状を測定するとともに、同物体表面からの反射光量を測定するものを簡単に紹介しておく。   Disposed above each of the support bases 10 at different positions toward the support base 10, specifically, toward the two end surfaces Sa and Sb of the workpiece WK placed on the support base 10, respectively. The three-dimensional shape measuring devices 20A and 20B are provided. These three-dimensional shape measuring apparatuses 20A and 20B measure the three-dimensional shape of each end portion including the end surfaces Sa and Sb of the workpiece WK placed on the support base 10 using light. Is output, and the amount of reflected light from the surface of the workpiece WK is measured, and the amount of reflected light measurement information representing the measurement result is output. These three-dimensional shape measuring apparatuses 20A and 20B measure the three-dimensional surface shape of an object using light and output a signal representing the measured three-dimensional surface shape, and the amount of light reflected from the surface of the object. Any three-dimensional shape measuring apparatus can be used as long as it outputs a signal to represent. Note that the reflectance or color of an object may be identified instead of the amount of reflected light. In the present embodiment, a method for measuring the three-dimensional surface shape of an object according to a triangulation method using laser light and measuring the amount of reflected light from the object surface will be briefly introduced.

この3次元形状測定装置においては、レーザ光源から物体に向けて出射されるレーザ光の進行方向にほぼ垂直な仮想平面を想定するとともに、同仮想平面上にて互いに直交するX軸方向およびY軸方向に沿って分割した多数の微小エリアを想定する。そして、3次元形状測定装置は、前記多数の微小エリアにレーザ光を順次照射し、物体からの反射光によって前記微小エリアが規定する物体表面までの距離をZ軸方向距離として順次検出して、物体の表面を微小エリアずつに分割した各分割エリア位置を表すX,Y,Z座標に関する情報を得て、同3次元形状測定装置に面した物体表面の形状を測定するものである。また、この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. In addition, this three-dimensional shape measuring apparatus measures the shape of the object surface and simultaneously detects the reflected light from the object for each minute area and measures the amount of reflected light for each minute area. .

したがって、この3次元形状測定装置は、出射レーザ光の向きをX軸方向に変化させるX軸方向走査器と、出射レーザ光の向きをY軸方向に変化させるY軸方向走査器と、物体表面にて反射された反射レーザ光を受光して物体表面までの距離および同物体表面からの反射光量を検出する光検出器とを備えている。X軸方向走査器およびY軸方向走査器としては、レーザ光源からの出射レーザ光の光路をX軸方向およびY軸方向に独立に変化させ得る機構であればよく、例えば、レーザ光源自体をX軸方向およびY軸方向の軸線回りに電動モータによって回転させたり、出射レーザ光の光路に設けられてその方向を変更するガルバノミラーをX軸方向およびY軸方向の軸線回りに電動モータによって回転させる機構を利用できる。光検出器としては、前記出射レーザ光の光路に追従して回転し、物体表面にて反射された反射レーザ光を集光する結像レンズおよび同集光したレーザ光を受光するCCDなどの複数の受光素子を一列に配置させたラインセンサからなり、ラインセンサによる反射レーザ光の受光位置によって物体表面までの距離を検出するとともに、同反射レーザ光の受光幅によって、同物体表面からの反射光の光量を検出する。   Therefore, this 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 photodetector that detects the distance to the object surface and the amount of reflected light from 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 photodetector, a plurality of imaging lenses such as an imaging lens that collects the reflected laser beam that rotates following the optical path of the emitted laser beam and is reflected on the object surface, and a CCD that receives the collected laser beam, etc. The line sensor is arranged in a line, and the distance to the object surface is detected by the position of the reflected laser beam received by the line sensor, and the reflected light from the object surface is detected by the light receiving width of the reflected laser beam. The amount of light is detected.

したがって、このような3次元形状測定装置は、物体の表面を微小エリアずつに分割した各分割エリア位置を表すX,Y,Z座標に関する情報として、X軸方向走査器による出射レーザ光の基準方向に対するX軸方向への傾きθx、Y軸方向走査器による出射レーザ光の基準方向に対するY軸方向への傾きθy、光検出器による物体表面までの距離Lz、および同光検出器による物体表面からの反射光量Lzsとが、前記仮想したX軸方向およびY軸方向に沿って分割した多数の微小エリアごとに出力される。より具体的には、X軸およびY軸方向への傾きθx,θyは、電動モータの基準位置からの回転角である。また、物体表面までの距離Lzは、ラインセンサにおける反射レーザ光の受光位置であり、物体表面からの反射光量Lzsは、ラインセンサにおける反射レーザ光の受光幅である。なお、3次元形状測定装置は、後述するコントローラ31からの指令により、前記X軸方向およびY軸方向に沿って分割した多数のエリアごとの出力以外に、物体表面からの反射光量Lzsが急激に変化したとき、前記X軸方向への傾きθx、Y軸方向への傾きθy、物体表面までの距離Lzおよび物体表面からの反射光量Lzsが出力されるようになっている。   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 tilt θx in the X-axis direction with respect to the angle, the tilt θy in the Y-axis direction with respect to the reference direction of the laser beam emitted by the Y-axis direction scanner, the distance Lz to the object surface by the photodetector, and the object surface by the photodetector Is output for each of a large number of minute areas divided along the virtual X-axis direction and 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. The distance Lz to the object surface is the light receiving position of the reflected laser light at the line sensor, and the reflected light amount Lzs from the object surface is the light receiving width of the reflected laser light at the line sensor. Note that the three-dimensional shape measuring apparatus has an abrupt amount of reflected light Lzs from the object surface in addition to the output for each of a large number of areas divided along the X-axis direction and the Y-axis direction according to a command from the controller 31 described later. When changed, the inclination θx in the X-axis direction, the inclination θy in the Y-axis direction, the distance Lz to the object surface, and the amount of reflected light Lzs from the object surface are output.

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

3次元画像データ処理装置32は、コンピュータ装置によって構成されて図3、図5、図6、図8、図12、図13、図16および図18の各プログラムの実行により、3次元形状測定装置20A,20Bからの3次元画像に関する情報、具体的には、X軸方向への傾きθx、Y軸方向への傾きθy、物体表面までの距離Lzを入力して、測定対象空間内に位置する物体の3次元画像データを生成し、同生成した3次元画像データを用いてワークWKの長さを計算する。また、3次元画像データ処理装置32は、物体表面からの反射光量Lzsを入力して、測定対象空間内に位置する物体表面の前記微小エリアごとの反射光量を算出する。   The three-dimensional image data processing device 32 is constituted by a computer device, and the three-dimensional shape measuring device is executed by executing the programs shown in FIGS. 3, 5, 6, 8, 12, 13, 16, and 18. Information on the three-dimensional images from 20A and 20B, specifically, an inclination θx in the X-axis direction, an inclination θy in the Y-axis direction, and a distance Lz to the object surface are input and located in the measurement target space. Three-dimensional image data of the object is generated, and the length of the work WK is calculated using the generated three-dimensional image data. In addition, the three-dimensional image data processing device 32 receives the amount of reflected light Lzs from the object surface, and calculates the amount of reflected light for each minute area of the object surface located in the measurement target space.

この3次元画像データ処理装置32には、表示装置34が接続されている。表示装置34は、液晶ディスプレイ、プラズマディスプレイまたはCRTディスプレイなどからなり、3次元画像データ処理装置32によって実行される各プログラムの実行過程および同各プログラムの実行により計算されるワークWKの長さを表示する。   A display device 34 is connected to the three-dimensional image data processing device 32. The display device 34 includes a liquid crystal display, a plasma display, a CRT display, or the like, and displays the execution process of each program executed by the three-dimensional image data processing device 32 and the length of the work WK calculated by the execution of each program. To do.

次に、上記のように構成した長さ測定装置の作動について説明する。作業者は、入力装置33を操作してワークWKの長さ測定を指示する。このワークWKの長さ測定の指示は、コントローラ31を介して3次元画像データ処理装置32に伝達され、3次元画像データ処理装置32は、図3に示すワーク長測定プログラムの実行をステップS100にて開始して、ステップS102にて、基準距離Lを計算する。基準距離Lは、図4に示すように、ワークWKの長さを計算するための基準となる長さであり、支持台10上にセットされる基準物体40を測定することにより計算される。基準物体40は、断面形状が真円状に形成された丸棒体であり、基準物体40の両端の各端面40a,40bが同基準物体40の軸線に対して直交した形状となっている。この基準物体40の長さL40は、事前に作業者により認識されており、3次元画像データ処理装置32の記憶装置に予め記憶されている。また、基準物体40の2つの端面40a,40bにレーザ光を照射した際における同端面40a,40bからそれぞれ反射される反射光の光量も事前に作業者により認識されており、3次元画像データ処理装置32の記憶装置に反射光量データとして予め記憶されている。 Next, the operation of the length measuring apparatus configured as described above will be described. The operator operates the input device 33 to instruct measurement of the length of the work WK. The instruction to measure the length of the work WK is transmitted to the three-dimensional image data processing device 32 via the controller 31, and the three-dimensional image data processing device 32 executes the work length measurement program shown in FIG. 3 in step S100. starting Te at step S102, calculates a reference distance L 0. As shown in FIG. 4, the reference distance L 0 is a reference length for calculating the length of the workpiece WK, and is calculated by measuring the reference object 40 set on the support base 10. . The reference object 40 is a round bar whose cross-sectional shape is formed in a perfect circle shape, and each end surface 40 a, 40 b at both ends of the reference object 40 has a shape orthogonal to the axis of the reference object 40. The length L 40 of the reference object 40 in advance has been recognized by the worker, it is previously stored in the storage device of the three-dimensional image data processing apparatus 32. Further, the amount of reflected light reflected from the end surfaces 40a and 40b when the two end surfaces 40a and 40b of the reference object 40 are irradiated with laser light is recognized in advance by the operator, and three-dimensional image data processing is performed. The amount of reflected light is stored in advance in the storage device of the device 32.

作業者は、基準物体40を支持台10の各支持部10b上に載置、具体的には、基準物体40の各端部を2つの各支持台10における各支持部10b上に載置して3次元形状測定装置20A,20Bの各測定対象空間内に基準物体40を配置する。この場合、基準物体40の端面40aは3次元形状測定装置20Aに面するとともに、同基準物体40の端面40bは3次元形状測定装置20Bに面した状態で配置される。なお、基準物体40は、支持台10における3つの支持部10bのうち、いずれの支持部10b上に載置してもよいが、2つの支持台10の間において互いに対応する支持部10bに載置する。すなわち、基準物体40は、支持台10の長手方向に直交した状態で載置される。   The operator places the reference object 40 on each support portion 10 b of the support base 10, specifically, places each end of the reference object 40 on each support portion 10 b of the two support bases 10. Then, the reference object 40 is arranged in each measurement target space of the three-dimensional shape measuring apparatuses 20A and 20B. In this case, the end surface 40a of the reference object 40 faces the three-dimensional shape measuring apparatus 20A, and the end surface 40b of the reference object 40 is arranged in a state facing the three-dimensional shape measuring apparatus 20B. The reference object 40 may be placed on any of the three support portions 10b of the support base 10 but may be placed on the support portions 10b corresponding to each other between the two support bases 10. Put. That is, the reference object 40 is placed in a state orthogonal to the longitudinal direction of the support base 10.

一方、3次元画像データ処理装置32は、図5に示す基準距離計算サブプログラムの実行をステップ200にて開始して、ステップS202にて、3次元形状測定装置20A,20Bによる測定情報の入力を待つ。3次元形状測定装置20A,20Bは、コントローラ31によって制御され、測定対象空間内に配置された基準物体40(基準物体40の周辺に存在する物体、例えば支持台10などを含む)の3次元表面形状の測定を開始するとともに、基準物体40の表面形状を表す情報および基準物体40の表面からの反射光の光量を表す情報を3次元画像データ処理装置32にそれぞれ出力する。すなわち、基準物体40の表面を微小エリアずつに分割した各分割エリア位置を表すX,Y,Z座標に関する情報(具体的には、傾きθx,θyおよび距離Lz)および基準物体40の物体表面からの反射光の光量に関する情報(具体的には、反射光量Lzs)をそれぞれ出力する。したがって、3次元画像データ処理装置32は、ステップS202にて、3次元形状測定装置20A,20Bから出力された前記X,Y,Z座標に関する情報および基準物体40の物体表面からの反射光の光量に関する情報を入力する。   On the other hand, the three-dimensional image data processing device 32 starts execution of the reference distance calculation subprogram shown in FIG. 5 in step 200, and inputs measurement information by the three-dimensional shape measuring devices 20A and 20B in step S202. wait. The three-dimensional shape measuring apparatuses 20A and 20B are controlled by the controller 31, and the three-dimensional surface of the reference object 40 (including an object existing around the reference object 40 such as the support table 10) disposed in the measurement target space. While measuring the shape, information representing the surface shape of the reference object 40 and information representing the amount of reflected light from the surface of the reference object 40 are output to the three-dimensional image data processing device 32, respectively. That is, from the information (specifically, inclinations θx, θy and distance Lz) regarding the X, Y, and Z coordinates representing the divided area positions obtained by dividing the surface of the reference object 40 into minute areas, and the object surface of the reference object 40 Information on the amount of reflected light (specifically, the amount of reflected light Lzs) is output. Therefore, in step S202, the three-dimensional image data processing device 32 receives information on the X, Y, and Z coordinates output from the three-dimensional shape measurement devices 20A and 20B and the amount of reflected light from the object surface of the reference object 40. Enter information about.

次に、3次元画像データ処理装置32は、ステップS204にて、前記入力した3次元形状測定装置20A,20BからのX,Y,Z座標に関する情報および基準物体40の物体表面からの反射光の光量に関する情報に基づいて、測定対象空間内に存在する基準物体40の3次元表面形状を表す3次元形状データ群を3次元形状測定装置20A,20Bごとにそれぞれ計算する。すなわち、3次元形状測定装置20A,20Bによって規定される2種類の各座標系A,Bでの基準物体40の表面を微小エリアずつに分割した各分割エリア位置をそれぞれ3次元で表現する3次元座標データと、この3次元座標データに前記微小エリアずつに分割した各分割エリア位置ごとの反射光の光量を表す反射光量データを対応させた多数のデータセットの集合を計算し、2組の3次元形状データ群Da,Dbを得る。この2組の3次元形状データ群Da,Dbは各座標系A,Bにおける各座標値X,Y,Zおよび各反射光量Qで表される。具体的には、3次元形状データ群Da,Dbを構成する各データセットは、(xa,ya,za,qa),(xb,yb,zb,qb)でそれぞれ表される。   Next, in step S204, the three-dimensional image data processing device 32 receives the input information regarding the X, Y, and Z coordinates from the three-dimensional shape measurement devices 20A and 20B and the reflected light from the object surface of the reference object 40. Based on the information relating to the amount of light, a three-dimensional shape data group representing the three-dimensional surface shape of the reference object 40 existing in the measurement target space is calculated for each of the three-dimensional shape measuring apparatuses 20A and 20B. That is, a three-dimensional representation of each divided area position obtained by dividing the surface of the reference object 40 into two microscopic areas in two types of coordinate systems A and B defined by the three-dimensional shape measuring apparatuses 20A and 20B. A set of a large number of data sets is calculated by associating the coordinate data and the reflected light amount data representing the light amount of the reflected light at each divided area position divided into the three-dimensional coordinate data into the three-dimensional coordinate data. Dimensional shape data groups Da and Db are obtained. The two sets of three-dimensional shape data groups Da and Db are represented by coordinate values X, Y, and Z and reflected light quantities Q in the coordinate systems A and B, respectively. Specifically, each data set constituting the three-dimensional shape data groups Da and Db is represented by (xa, ya, za, qa) and (xb, yb, zb, qb), respectively.

次に、3次元画像データ処理装置32は、ステップS206にて、各座標系A,Bに対応した3次元形状データ群Da,Dbのそれぞれに対して、3次元形状測定装置20A,20Bにそれぞれ面した基準物体40の端面40a,40bをそれぞれ表す2つのサブ3次元形状データ群を抽出する。具体的には、3次元画像データ処理装置32に予め記憶されている基準物体40の端面40a,40bに関する反射光量データと一致するまたは所定の判別値内にある前記3次元形状データ群Da,Dbを構成するデータセット中の反射光量Q(qa,qb)ごとに、各座標値(xa,ya,za),(xb,yb,zb)を分類する。この場合、3次元形状測定装置20A,20Bにそれぞれ面した基準物体40の端面40aまたは40bに対応して、2組のサブ3次元形状データ群Dak,Dbkがそれぞれ生成される。   Next, in step S206, the three-dimensional image data processing device 32 applies the three-dimensional shape measurement devices 20A and 20B to the three-dimensional shape data groups Da and Db corresponding to the coordinate systems A and B, respectively. Two sub three-dimensional shape data groups respectively representing the end faces 40a and 40b of the facing reference object 40 are extracted. Specifically, the three-dimensional shape data groups Da and Db that match the reflected light amount data relating to the end faces 40a and 40b of the reference object 40 stored in advance in the three-dimensional image data processing device 32 or are within a predetermined discrimination value. Each coordinate value (xa, ya, za), (xb, yb, zb) is classified for each reflected light quantity Q (qa, qb) in the data set that constitutes. In this case, two sets of sub three-dimensional shape data groups Dak and Dbk are generated corresponding to the end faces 40a or 40b of the reference object 40 facing the three-dimensional shape measuring apparatuses 20A and 20B, respectively.

次に、3次元画像データ処理装置32は、ステップS208にて、基準物体40の各端面40a,40bをそれぞれ含む平面Psa,Psbを定義する。具体的には、前記2組のサブ3次元形状データ群Dak,Dbkにおける各座標値(xa,ya,za),(xb,yb,zb)を下記式1に示す平面の式に代入する。なお、各座標値(xa,ya,za),(xb,yb,zb)は、下記式1におけるx,y,zにそれぞれ対応する。
a・x+b・y+c・z+1=0 …式1
Next, in step S208, the three-dimensional image data processing device 32 defines planes Psa and Psb including the end surfaces 40a and 40b of the reference object 40, respectively. Specifically, the coordinate values (xa, ya, za), (xb, yb, zb) in the two sets of sub three-dimensional shape data groups Dak, Dbk are substituted into the plane equation shown in the following equation 1. Each coordinate value (xa, ya, za), (xb, yb, zb) corresponds to x, y, z in the following formula 1, respectively.
a * x + b * y + c * z + 1 = 0 Formula 1

すなわち、各サブ3次元形状データ群ごとに同サブ3次元形状データ群を構成する点群(xi,yi,zi)(i=1〜n)を上記式1の左辺に代入して、その値の2乗和が最小となるa,b,cを最小2乗法を用いて計算し、同サブ3次元形状データ群が表す基準物体40の2つの端面40a,40bをそれぞれ含む平面Psa,Psbの式をそれぞれ求める。そして、3次元画像データ処理装置32は、計算した平面Psa,Psbに対してそれぞれ所定の範囲内に属する3次元形状データ群Da,Db、すなわち、3次元形状測定装置20A,20Bによって測定されたすべての3次元座標データを構成する各座標値(xa,ya,za),(xb,yb,zb)を計算した平面Psa,Psbの式の左辺に代入し、値が「0」から所定の範囲にあるデータを上記式1に代入して、前記と同様に最小2乗法を用いて平面を再度計算し、同計算した平面を新たな平面Psa,Psbとする。これにより、前記ステップS208における端面40a,40bを表すサブ3次元形状データ群Dak,Dbkの抽出処理から漏れた端面40a,40bを表す3次元形状データ群Da,Dbをも用いて、より精度よく端面40a,40bを含む平面Psa,Psbを定義することができる。   That is, for each sub three-dimensional shape data group, the point group (xi, yi, zi) (i = 1 to n) constituting the sub three-dimensional shape data group is substituted into the left side of the above equation 1, and the value Of the planes Psa and Psb respectively including two end faces 40a and 40b of the reference object 40 represented by the sub-three-dimensional shape data group. Find each formula. The three-dimensional image data processing device 32 is measured by the three-dimensional shape data groups Da and Db belonging to predetermined ranges with respect to the calculated planes Psa and Psb, that is, the three-dimensional shape measuring devices 20A and 20B. Each coordinate value (xa, ya, za), (xb, yb, zb) constituting all three-dimensional coordinate data is substituted into the left side of the calculated plane Psa, Psb, and the value is determined from “0” to a predetermined value. Substituting the data in the range into Equation 1 above, recalculating the plane using the least square method in the same manner as described above, and let the calculated planes be new planes Psa and Psb. Accordingly, the three-dimensional shape data groups Da and Db representing the end surfaces 40a and 40b that have leaked from the extraction processing of the sub three-dimensional shape data groups Dak and Dbk representing the end surfaces 40a and 40b in the step S208 are also used with higher accuracy. Planes Psa and Psb including the end faces 40a and 40b can be defined.

次に、3次元画像データ処理装置32は、ステップS210にて、基準距離Lを計算する。具体的には、前記ステップS208にてそれぞれ定義された平面Psa,Psbから、同平面Psa,Psbにそれぞれ面する3次元形状測定装置20A,20Bの各座標系A,Bの原点Oa,Obまでの距離La,Lbを計算し、記憶装置に予め記憶されている基準物体40の長さL40に同計算した距離La,Lbを加算して基準距離Lを計算する。この場合、距離Laは、3次元形状測定装置20Aに関する座標系Aにおける原点Oaを通り平面Psaに直交する直線の長さである。また、距離Lbは、3次元形状測定装置20Bに関する座標系Bにおける原点Obを通り平面Psbに直交する直線の長さである。この基準距離Lは、平面Psa,Psbに直交する直線、すなわち支持台10上に配置されるワークWKの軸線と垂直な平面において3次元形状測定装置20A,20Bの各座標系A,Bの原点Oa,Obを含む平面間の距離である。なお、3次元形状測定装置20A,20Bの各座標系A,Bの原点Oa,Obは、本発明に係る第1測定基準位置および第2測定基準位置にそれぞれ対応する。次に、3次元画像データ処理装置32は、同計算した基準距離Lを記憶装置に記憶した後、ステップS212にて、基準距離計算サブプログラムの実行を終了して、ワーク長測定プログラムにおけるステップS104に戻る。なお、以前に計算された基準距離Lが変更されない場合には、このステップS102による基準距離の計算処理をスキップしてもよい。 Next, the three-dimensional image data processor 32, at step S210, calculates a reference distance L 0. Specifically, from the planes Psa and Psb defined in step S208 to the origins Oa and Ob of the coordinate systems A and B of the three-dimensional shape measuring apparatuses 20A and 20B respectively facing the planes Psa and Psb. The distances La and Lb are calculated, and the calculated distances La and Lb are added to the length L 40 of the reference object 40 stored in advance in the storage device to calculate the reference distance L 0 . In this case, the distance La is the length of a straight line passing through the origin Oa in the coordinate system A related to the three-dimensional shape measuring apparatus 20A and orthogonal to the plane Psa. The distance Lb is the length of a straight line passing through the origin Ob in the coordinate system B related to the three-dimensional shape measuring apparatus 20B and orthogonal to the plane Psb. This reference distance L 0 is a straight line perpendicular to the planes Psa and Psb, that is, a plane perpendicular to the axis of the workpiece WK arranged on the support base 10, and the coordinate systems A and B of the three-dimensional shape measuring apparatuses 20A and 20B. The distance between the planes including the origins Oa and Ob. The origins Oa and Ob of the coordinate systems A and B of the three-dimensional shape measuring apparatuses 20A and 20B correspond to the first measurement reference position and the second measurement reference position according to the present invention, respectively. Next, the three-dimensional image data processing device 32, after storing the reference distance L 0 which is the calculated storage device, at step S212, the finished executing reference distance calculating subprogram, step in the work length measuring program Return to S104. Incidentally, if the reference distance L 0 calculated previously not been changed, it may be skipped calculation process of the reference distance by the step S102.

次に、3次元画像データ処理装置32は、図3に示すステップS104にて、基準面Pka,Pkbを定義する。具体的には、3次元画像データ処理装置32は、図6に示す基準面定義サブプログラムの実行をステップS300にて開始して、ステップS302にて、基準面設定治具50に関する情報の入力を待つ。この基準面設定治具50に関する情報の入力に際して作業者は、図7に示すように、支持台10上に載置された基準物体40における一方の端部上(図4において右側)および支持台10上に基準面設定治具50をセットする。   Next, the three-dimensional image data processing device 32 defines the reference planes Pka and Pkb in step S104 shown in FIG. Specifically, the three-dimensional image data processing device 32 starts execution of the reference plane definition subprogram shown in FIG. 6 in step S300, and inputs information regarding the reference plane setting jig 50 in step S302. wait. As shown in FIG. 7, the operator inputs information on the reference plane setting jig 50 on one end (right side in FIG. 4) of the reference object 40 placed on the support base 10 and the support base. A reference plane setting jig 50 is set on 10.

基準面設定治具50は、基準面Pka,Pkbを定義するための治具であり、直方体状に形成された本体部50aの下面中央部に、支持台10の支持部10bと同様のV溝状の溝部50bを有するとともに、同本体部50aの両端部における上面から下面に貫通する基準孔50c,50dをそれぞれ有して形成されている。溝部50bは、本体部50aの長手方向に直交する方向に形成されており、丸棒状の基準物体40上において支持台10の長手方向に基準面設定治具50を位置決めする。また、基準孔50c,50dは、真円状に形成されており互いの孔中心を結ぶ直線が溝部50bと直交、すなわち基準物体40の軸線と直交するように設けられているとともに、基準孔50cと基準孔50dとが互いに異なる孔径、具体的には、基準孔50cが基準孔50dより大きな孔径に形成されている。このように基準孔50cと基準孔50dとを異なる孔径としたのは、基準面Pka,Pkbを定義した際、同各基準面Pka,Pkb内における方向を設定し易くするためである。したがって、基準面Pka,Pkb内における方向を設定する必要のない場合には、基準孔50cおよび基準孔50dの各孔径を同一としてもよい。   The reference plane setting jig 50 is a jig for defining the reference planes Pka and Pkb, and has a V-groove similar to the support portion 10b of the support base 10 at the center of the lower surface of the main body portion 50a formed in a rectangular parallelepiped shape. And a reference hole 50c, 50d penetrating from the upper surface to the lower surface at both ends of the main body 50a. The groove part 50b is formed in a direction orthogonal to the longitudinal direction of the main body part 50a, and positions the reference plane setting jig 50 in the longitudinal direction of the support base 10 on the round bar-like reference object 40. Further, the reference holes 50c and 50d are formed in a perfect circle shape, and are provided so that a straight line connecting the center of each other is perpendicular to the groove 50b, that is, perpendicular to the axis of the reference object 40, and the reference hole 50c. And the reference hole 50d are different in diameter, specifically, the reference hole 50c is formed to have a larger diameter than the reference hole 50d. The reason why the reference hole 50c and the reference hole 50d have different hole diameters is to make it easier to set the directions in the reference surfaces Pka and Pkb when the reference surfaces Pka and Pkb are defined. Therefore, when it is not necessary to set the directions in the reference planes Pka and Pkb, the diameters of the reference hole 50c and the reference hole 50d may be the same.

そして、作業者は、入力装置33を操作して基準面設定治具50に関する情報を入力する。基準面設定治具50に関する情報とは、本実施形態においては、基準面設定治具50における基準孔50c,50dの各孔径、基準面設定治具50にレーザ光を照射した際における本体部50aの上面から反射される反射光の光量および基準面設定治具50をセットした基準物体40における一方の端部(図4において右側)を指定するデータである。この基準面設定治具50に関する入力情報は、コントローラ31を介して3次元画像データ処理装置32に供給される。なお、以前に入力された基準孔50c,50dの各孔径および本体部50aの上面からの反射光の光量が変更されない場合には、同孔径および反射光量の入力を省略してもよい。   Then, the operator operates the input device 33 to input information regarding the reference plane setting jig 50. In the present embodiment, the information regarding the reference plane setting jig 50 includes the diameters of the reference holes 50c and 50d in the reference plane setting jig 50, and the main body 50a when the reference plane setting jig 50 is irradiated with laser light. 4 is data for designating the amount of reflected light reflected from the upper surface of the light source and one end (right side in FIG. 4) of the reference object 40 on which the reference surface setting jig 50 is set. Input information regarding the reference plane setting jig 50 is supplied to the three-dimensional image data processing device 32 via the controller 31. If the previously input diameters of the reference holes 50c and 50d and the amount of reflected light from the upper surface of the main body 50a are not changed, the input of the same diameter and reflected light amount may be omitted.

このステップS302の処理後、3次元画像データ処理装置32は、ステップS304にて、3次元形状測定装置20Aまたは20Bによる測定情報の入力を待つ。この場合、3次元画像データ処理装置32は、前記ステップS302にて入力された基準面設定治具50をセットした基準物体40における一方の端部(図4において右側)に対応する3次元形状測定装置20A,20B、すなわち、3次元形状測定装置20Aによる測定をコントローラ31に指示し、さらに、3次元形状測定装置20Aが物体表面からの反射光量が急激に変化したときにもデータの出力を行う測定をコントローラ31に指示する。これにより、コントローラ31は、同指示された3次元形状測定装置20Aの作動を制御して基準面設定治具50(基準物体40および支持台10を含む)の3次元立体形状の測定を開始し、基準面設定治具50の表面形状を表す情報および基準面設定治具50の表面からの反射光の光量を表す情報が3次元画像データ処理装置32に入力される。すなわち、基準面設定治具50の表面を微小エリアずつに分割した各分割エリア位置を表すX,Y,Z座標に関する情報、物体表面からの反射光量が急激に変化したときの位置を表すX,Y,Z座標に関する情報および基準面設定治具50の物体表面からの反射光の光量に関する情報からなる3次元形状データ群Daが入力される。この3次元形状データ群Daを構成するデータセットは、(xa,ya,za,qa)で表される。また、物体表面からの反射光量が急激に変化したときの3次元形状データ群Daは、それ以外の3次元形状データ群Daから識別されている。   After the processing in step S302, the three-dimensional image data processing device 32 waits for input of measurement information by the three-dimensional shape measuring device 20A or 20B in step S304. In this case, the three-dimensional image data processing device 32 measures the three-dimensional shape corresponding to one end (right side in FIG. 4) of the reference object 40 on which the reference plane setting jig 50 input in step S302 is set. The controller 20 is instructed to perform measurement by the devices 20A and 20B, that is, the three-dimensional shape measuring device 20A, and the three-dimensional shape measuring device 20A also outputs data when the amount of reflected light from the object surface changes abruptly. The controller 31 is instructed to measure. As a result, the controller 31 controls the operation of the instructed three-dimensional shape measuring apparatus 20A to start measuring the three-dimensional solid shape of the reference surface setting jig 50 (including the reference object 40 and the support base 10). Information representing the surface shape of the reference surface setting jig 50 and information representing the amount of reflected light from the surface of the reference surface setting jig 50 are input to the three-dimensional image data processing device 32. That is, information about X, Y, Z coordinates representing the divided area positions obtained by dividing the surface of the reference plane setting jig 50 into minute areas, and X, representing the position when the amount of reflected light from the object surface changes abruptly. A three-dimensional shape data group Da composed of information related to the Y and Z coordinates and information related to the amount of reflected light from the object surface of the reference plane setting jig 50 is input. A data set constituting the three-dimensional shape data group Da is represented by (xa, ya, za, qa). Further, the three-dimensional shape data group Da when the amount of reflected light from the object surface changes abruptly is identified from the other three-dimensional shape data group Da.

次に、3次元画像データ処理装置32は、ステップS306にて、前記入力した3次元形状データ群Daから、基準面設定治具50の上面を表すサブ3次元形状データ群を抽出する。具体的には、ステップS302にて3次元画像データ処理装置32に入力された基準面設定治具50の上面に関する反射光量データと一致するまたは所定の判別値内にある前記3次元形状データ群Daを構成するデータセット中の反射光量Q(qa)ごとに、各座標値(xa,ya,za)を分類する。これにより、基準面設定治具50の上面を表すサブ3次元形状データ群Dasが抽出される。   Next, in step S306, the 3D image data processing device 32 extracts a sub 3D shape data group representing the upper surface of the reference surface setting jig 50 from the input 3D shape data group Da. Specifically, the three-dimensional shape data group Da that matches the reflected light amount data relating to the upper surface of the reference surface setting jig 50 input to the three-dimensional image data processing device 32 in step S302 or is within a predetermined discriminant value. Each coordinate value (xa, ya, za) is classified for each amount of reflected light Q (qa) in the data set that constitutes. Thereby, the sub three-dimensional shape data group Das representing the upper surface of the reference surface setting jig 50 is extracted.

次に、3次元画像データ処理装置32は、ステップS308にて、基準面設定治具50の上面を含む平面Psを定義する。具体的には、サブ3次元形状データ群Dasにおける各座標値(xa,ya,za)を前記式1に代入する。すなわち、サブ3次元形状データ群を構成する点群(xi,yi,zi)(i=1〜n)を前記式1の左辺に代入して、その値の2乗和が最小となるa,b,cを最小2乗法を用いて計算し、同サブ3次元形状データ群が表す基準面設定治具50の上面を含む平面Psの式を求める。そして、3次元画像データ処理装置32は、計算した平面Psに対して所定の範囲内に属する3次元形状データ群Daを構成する各座標値(xa,ya,za)を計算した平面Psの式の左辺に代入し、値が「0」から所定の範囲内にあるデータを前記式1に代入して、前記と同様に最小2乗法を用いて平面を再度計算し、同計算した平面を新たな平面Psとする。これにより、前記ステップS306における基準面設定治具50の上面を表すサブ3次元形状データ群の抽出処理から漏れた同基準面設定治具50の上面を表す3次元形状データ群Daを用いて、より精度よく基準面設定治具50の上面を含む平面Psを定義することができる。   Next, the three-dimensional image data processing device 32 defines a plane Ps including the upper surface of the reference plane setting jig 50 in step S308. Specifically, each coordinate value (xa, ya, za) in the sub three-dimensional shape data group Das is substituted into the equation 1. That is, by substituting the point group (xi, yi, zi) (i = 1 to n) constituting the sub three-dimensional shape data group into the left side of the equation 1, a, the sum of squares of the values a, b and c are calculated using the least square method, and an expression of the plane Ps including the upper surface of the reference plane setting jig 50 represented by the sub three-dimensional shape data group is obtained. Then, the three-dimensional image data processing device 32 calculates the coordinate value (xa, ya, za) constituting the three-dimensional shape data group Da belonging to a predetermined range with respect to the calculated plane Ps. Substituting into the left-hand side, substituting the data whose value is within a predetermined range from “0” into Equation 1, and recalculating the plane using the least-squares method in the same way as above, A flat plane Ps. Thereby, using the three-dimensional shape data group Da representing the upper surface of the reference surface setting jig 50 leaked from the extraction process of the sub three-dimensional shape data group representing the upper surface of the reference surface setting jig 50 in step S306, The plane Ps including the upper surface of the reference plane setting jig 50 can be defined with higher accuracy.

次に、3次元画像データ処理装置32は、ステップS310にて、基準孔50c,50dの中心座標を計算する。具体的には、図8に示す基準孔中心計算サブプログラムの実行をステップS400にて開始する。3次元画像データ処理装置32は、ステップS402にて、前記ステップ302にて入力された基準孔50c,50dの孔径を用いて、単位ブロックおよび探索ブロックのサイズ設定処理を実行する。単位ブロックは、基準孔50c,50dの存在位置を特定するために探索ブロックを移動させる最小のブロックであり、本実施形態では正方形に形成されているが、長方形などの他の形状でもよい。また、単位ブロックのサイズは、基準孔50c,50dの開口部の一部が存在することを確認可能である程度に小さく設定される。本実施形態においては、大径の基準孔50cを縦横8個ずつの単位ブロック内において包含するためのサイズに設定される。   Next, the three-dimensional image data processing device 32 calculates the center coordinates of the reference holes 50c and 50d in step S310. Specifically, the execution of the reference hole center calculation subprogram shown in FIG. 8 is started in step S400. In step S402, the three-dimensional image data processing device 32 executes unit block and search block size setting processing using the hole diameters of the reference holes 50c and 50d input in step 302. The unit block is a minimum block for moving the search block in order to specify the positions where the reference holes 50c and 50d are present. In the present embodiment, the unit block is formed in a square, but may be in other shapes such as a rectangle. Further, the size of the unit block is set to be small to some extent so that it can be confirmed that a part of the openings of the reference holes 50c and 50d exists. In the present embodiment, the size is set so as to include the large-diameter reference hole 50c in the unit block of 8 vertical and horizontal.

探索ブロックは、基準孔50c,50dをその内部に包含する位置を特定するために利用されるもので、本実施形態では正方形に形成されるが、長方形などの他の形状でもよい。また、この探索ブロックのサイズは、基準孔50c,50dのすべてを包含できるとともに、なるべく小さく設定される。すなわち、基準孔50cは、基準孔50dよりも大きいため、探索ブロックのサイズは基準孔50cのすべてを包含できるサイズに設定される。具体的には、単位ブロックの縦横8個ずつの大きさを探索ブロックのサイズとする。ただし、この基準孔50c,50dを包含できるとは、基準孔50c,50dの一部でも含む単位ブロックのすべてを含むことを意味する。なお、本実施形態においては、ステップS302において、単位ブロックおよび探索ブロックのサイズを設定するようにしたが、基準孔50c,50dの変更がなければ予め設定されている単位ブロックおよび探索ブロックのサイズをそのまま利用すればよいので、このステップS402の処理は不要である。   The search block is used for specifying a position including the reference holes 50c and 50d in the inside thereof. In the present embodiment, the search block is formed in a square, but may be in other shapes such as a rectangle. The size of this search block can be set to be as small as possible while including all of the reference holes 50c and 50d. That is, since the reference hole 50c is larger than the reference hole 50d, the size of the search block is set to a size that can include all of the reference holes 50c. Specifically, the size of each unit block in the vertical and horizontal directions is set as the search block size. However, the fact that the reference holes 50c and 50d can be included means that all of the unit blocks including part of the reference holes 50c and 50d are included. In this embodiment, the unit block and the search block size are set in step S302. However, if the reference holes 50c and 50d are not changed, the unit block and search block sizes set in advance are set. Since it may be used as it is, the process of step S402 is unnecessary.

次に、3次元画像データ処理装置32は、ステップS404にて探索領域のブロック化処理を実行する。この探索領域のブロック化処理は、ステップS308にて定義した平面Ps内で基準孔50c,50dの含まれる可能性のある領域を単位ブロックで分割する処理である。具体的には、3次元形状データ群Daの中から物体表面からの反射光量が急激に変化したときの3次元形状データ群Daを抽出し、平面Ps内において同抽出された3次元形状データ群Daが存在する領域を単位ブロックで平面的に分割する。すなわち、基準面設定治具50の上面における周縁部および基準孔50c,50dの開口部をそれぞれ表す3次元形状データ群Daのみを抽出し、同抽出された3次元形状データ群Daが存在する範囲で平面Psを単位ブロックで分割する。分割は、平面Psと平行に単位ブロックを並べていく方法で行う。図9は、抽出された3次元形状データ群Daが存在する平面Ps内の領域に対して本処理を実行した結果を示す概念図である。図9は、基準面設定治具50を上方から見た状態を示しており同図における破線は基準面設定治具50の上面における周縁部および基準孔50c,50dの開口部を示し、二点鎖線は平面Psを示している。   Next, the three-dimensional image data processing device 32 executes search area blocking processing in step S404. The search area blocking process is a process of dividing an area that may include the reference holes 50c and 50d into unit blocks in the plane Ps defined in step S308. Specifically, the three-dimensional shape data group Da when the amount of reflected light from the object surface suddenly changes is extracted from the three-dimensional shape data group Da, and the three-dimensional shape data group extracted in the plane Ps. An area where Da is present is divided in a plane by unit blocks. That is, only the three-dimensional shape data group Da representing the peripheral portion on the upper surface of the reference surface setting jig 50 and the openings of the reference holes 50c and 50d is extracted, and the extracted three-dimensional shape data group Da exists. Then, the plane Ps is divided into unit blocks. The division is performed by arranging unit blocks in parallel with the plane Ps. FIG. 9 is a conceptual diagram showing a result of executing this processing on an area in the plane Ps where the extracted three-dimensional shape data group Da exists. FIG. 9 shows a state in which the reference surface setting jig 50 is viewed from above, and the broken lines in FIG. 9 indicate the peripheral portion on the upper surface of the reference surface setting jig 50 and the openings of the reference holes 50c and 50d. A chain line indicates the plane Ps.

次に、3次元画像データ処理装置32は、ステップS406にて、前記ステップS404の処理によって分割した各単位ブロックごとに3次元形状データ群Daが存在するか否かを調べる。そして、3次元形状データ群Daが存在する単位ブロックを抽出する。図10は、図9に示す探索領域に対して本処理を実行した結果を示す概念図である。図10中、ハッチングを施した単位ブロックが抽出された単位ブロックを示している。   Next, in step S406, the three-dimensional image data processing device 32 checks whether or not a three-dimensional shape data group Da exists for each unit block divided by the processing in step S404. Then, a unit block in which the three-dimensional shape data group Da exists is extracted. FIG. 10 is a conceptual diagram showing a result of executing this process on the search area shown in FIG. FIG. 10 shows unit blocks from which hatched unit blocks are extracted.

次に、3次元画像データ処理装置32は、ステップS408にて、基準孔50c,50bを含む探索ブロック位置の検出を行う。この探索ブロック位置の検出処理においては、前記ステップS404の処理により単位ブロックに分割した領域(探索領域)にて、前記ステップS402の処理により設定した探索ブロックを単位ブロックを単位としてX軸およびY軸に順次移動させる。そして、各移動ごとに移動後の探索ブロック内に含まれるとともに前記ステップS406の処理によって抽出された単位ブロックの個数および配置の仕方を計算する。前記単位ブロックの数が所定の範囲内であり配置の仕方が円状であれば、該当する探索ブロック位置であるとして同位置が検出される。図11の(A)〜(D)は、この探索ブロックの移動の状態を示す概念図である。この場合、基準孔50c,50dの孔径はそれぞれ特定されているため、探索ブロック内に含まれる3次元形状データ群Daが存在する単位ブロックの数は特定される。この探索ブロック位置の検出処理は探索領域の全域に亘って実行され、基準孔50c,50bを含む探索ブロックの位置がそれぞれ検出される。   Next, in step S408, the three-dimensional image data processing device 32 detects a search block position including the reference holes 50c and 50b. In this search block position detection process, in the area (search area) divided into unit blocks by the process of step S404, the search block set by the process of step S402 is used as a unit block for the X axis and the Y axis. To move sequentially. Then, for each movement, the number of unit blocks included in the moved search block and extracted by the process of step S406 and the manner of arrangement are calculated. If the number of unit blocks is within a predetermined range and the arrangement is circular, the same position is detected as the corresponding search block position. (A) to (D) of FIG. 11 are conceptual diagrams showing the state of movement of this search block. In this case, since the hole diameters of the reference holes 50c and 50d are respectively specified, the number of unit blocks in which the three-dimensional shape data group Da included in the search block exists is specified. This search block position detection process is performed over the entire search area, and the positions of the search blocks including the reference holes 50c and 50b are detected.

次に、3次元画像データ処理装置32は、ステップS410にて、基準孔50c,50dの孔中心を計算するための仮の座標系を設定する。具体的には、前記ステップS408の処理によって検出した位置の探索ブロック内に含まれる3次元形状データ群Daにおける各座標値(xa,ya,za)を前記式1に代入する。すなわち、3次元形状データ群を構成する点群(xi,yi,zi)(i=1〜n)を前記式1の左辺に代入して、最小2乗法を用いてa,b,cを計算し、同3次元形状データ群によって表される平面Pを計算する。この場合、前記ステップS408の処理によって検出した位置の探索ブロック内に含まれる3次元形状データ群Daにおける各座標値(xa,ya,za)は基準孔50c,50dの開口部を表しており、同計算された平面Pは基準面設定治具の上面に開口した基準孔50c,50dの開口部に平行な平面である。そして、3次元画像データ処理装置32は、同計算された平面Pの法線ベクトルγと同法線ベクトルγに垂直で互いに直交するベクトルα,βを座標軸の方向とする座標系を仮の座標系として設定する。   Next, in step S410, the three-dimensional image data processing device 32 sets a temporary coordinate system for calculating the hole centers of the reference holes 50c and 50d. Specifically, each coordinate value (xa, ya, za) in the three-dimensional shape data group Da included in the search block at the position detected by the process of step S408 is substituted into the equation 1. That is, a point group (xi, yi, zi) (i = 1 to n) constituting the three-dimensional shape data group is substituted into the left side of the equation 1, and a, b, and c are calculated using the least square method. Then, the plane P represented by the same three-dimensional shape data group is calculated. In this case, each coordinate value (xa, ya, za) in the three-dimensional shape data group Da included in the position search block detected by the process of step S408 represents the opening of the reference holes 50c, 50d. The calculated plane P is a plane parallel to the openings of the reference holes 50c and 50d opened on the upper surface of the reference plane setting jig. Then, the three-dimensional image data processing device 32 uses a temporary coordinate system with a coordinate system having the normal vector γ of the calculated plane P and the vectors α and β perpendicular to the normal vector γ and orthogonal to each other as directions of the coordinate axes. Set as system.

次に、3次元画像データ処理装置32は、ステップS412にて、前記ステップS408の処理によって検出した位置の探索ブロック内に含まれる3次元形状データ群Daにおける各座標値(xa,ya,za)、すなわち基準孔50c,50dの開口部を表す各座標値を前記ステップS410にて設定された仮の座標系による座標値に座標変換する。これにより、3次元形状測定装置20Aに関する座標系Aによって表された基準孔50c,50dの開口部を表す各座標値(xa,ya,za)が、基準孔50c,50dの開口部と平行な平面P上に2つの座標軸がある座標系の座標値に座標変換され、各座標値の中で平面Pに垂直な座標軸における座標値が1つの値に統一される。次に、3次元画像データ処理装置32は、ステップS414にて、基準孔50c,50dの中心座標を計算する。具体的には、前記ステップS412にて座標変換された各座標値の中で1つの値に統一された座標値以外の2つの座標値(xa,ya)を、基準孔50c,50dごとに下記式2に示す2次元における円の式に代入し、その値の2乗和が最小となるa,bを最小2乗法を用いて計算する。この場合、a,bは円の中心座標(a,b)を示す。これにより、基準孔50c,50dの各中心座標Cc,Cdがそれぞれ計算される。なお、下記式2においてrは円の半径である。
(x−a)+(y−b)=r …式2
Next, in step S412, the three-dimensional image data processing device 32 determines each coordinate value (xa, ya, za) in the three-dimensional shape data group Da included in the search block at the position detected by the processing in step S408. That is, the coordinate values representing the openings of the reference holes 50c and 50d are coordinate-converted into coordinate values based on the temporary coordinate system set in step S410. Thereby, the respective coordinate values (xa, ya, za) representing the openings of the reference holes 50c, 50d represented by the coordinate system A related to the three-dimensional shape measuring apparatus 20A are parallel to the openings of the reference holes 50c, 50d. Coordinates are converted into coordinate values of a coordinate system having two coordinate axes on the plane P, and the coordinate values on the coordinate axis perpendicular to the plane P are unified into one value among the coordinate values. Next, the three-dimensional image data processing device 32 calculates the center coordinates of the reference holes 50c and 50d in step S414. Specifically, two coordinate values (xa, ya) other than the coordinate values unified into one value among the coordinate values transformed in step S412 are set as follows for each of the reference holes 50c and 50d. Substituting into the two-dimensional circle equation shown in Equation 2, a and b that minimize the sum of squares of the values are calculated using the method of least squares. In this case, a and b indicate the center coordinates (a and b) of the circle. Thereby, the center coordinates Cc and Cd of the reference holes 50c and 50d are calculated, respectively. In the following formula 2, r is the radius of the circle.
(Xa) 2 + (y−b) 2 = r 2 Formula 2

次に、3次元画像データ処理装置32は、ステップS416にて、前記ステップS414にて計算した基準孔50c,50dの各中心座標Cc,Cdの座標値を3次元形状測定装置20Aに関する座標系Aの座標値に座標変換する。具体的には、前記ステップS412による座標変換の逆変換を行い仮の座標系によって表された各中心座標Cc,Cdの座標値を3次元形状測定装置20Aに関する座標系Aの座標値に座標変換する。そして、3次元形状測定装置32は、ステップS418にて、基準孔中心計算サブプログラムの実行を終了して基準面定義サブプログラムにおけるステップS312に戻る。   Next, in step S416, the three-dimensional image data processing device 32 uses the coordinate values of the center coordinates Cc and Cd of the reference holes 50c and 50d calculated in step S414 as the coordinate system A related to the three-dimensional shape measuring device 20A. Coordinates to the coordinate value of. Specifically, the coordinate transformation of step S412 is reversed and the coordinate values of the center coordinates Cc and Cd expressed by the temporary coordinate system are transformed into the coordinate values of the coordinate system A related to the three-dimensional shape measuring apparatus 20A. To do. Then, in step S418, the three-dimensional shape measuring apparatus 32 ends the execution of the reference hole center calculation subprogram and returns to step S312 in the reference plane definition subprogram.

次に、3次元画像データ処理装置32は、ステップS312にて、基準面Pkaを定義する。基準面Pka,Pkbは、基準孔50c,50dの各中心座標Cc,Cdを通り平面Psに垂直な平面である。具体的には、前記基準孔中心計算サブプログラムの実行により計算された基準孔50c,50dの各中心座標Cc,Cdをそれぞれ平面の式である前記式1に代入した2つの式と、平面Psの法線ベクトルと基準面Pkaの法線ベクトルとの内積が「0」となる関係式との3つの式の連立方程式を解くことにより、平面の式におけるa,b,cを計算する。これにより、基準孔50c,50dの各中心座標Cc,Cdを通り平面Psに垂直な平面である基準面Pkaが計算される。   Next, the three-dimensional image data processing device 32 defines the reference plane Pka in step S312. The reference planes Pka and Pkb are planes that pass through the center coordinates Cc and Cd of the reference holes 50c and 50d and are perpendicular to the plane Ps. Specifically, two equations obtained by substituting the center coordinates Cc and Cd of the reference holes 50c and 50d calculated by the execution of the reference hole center calculation subprogram into the equation 1 which is a plane equation, and the plane Ps A, b, and c in the plane formula are calculated by solving three simultaneous equations of the relational expression in which the inner product of the normal vector and the normal vector of the reference plane Pka is “0”. As a result, a reference plane Pka that is a plane perpendicular to the plane Ps through the center coordinates Cc and Cd of the reference holes 50c and 50d is calculated.

次に、3次元画像データ処理装置32は、ステップS314にて、基準面Pka,Pkbの定義処理を終了するか否かを判定する。この判定処理において、基準面Pka,Pkbが共に定義されていれば「Yes」と判定されてステップS316に進み、同ステップ316にて基準面定義サブプログラムの実行を終了して、ワーク長測定プログラムにおけるステップS106に戻る。一方、同判定処理において基準面Pka,Pkbが共に定義されていなければ、すなわち基準面Pkbが定義されていなければ「No」と判定されてステップS302に戻る。この場合、3次元画像データ処理装置32は、基準面Pkaの定義と同様にして基準面Pkbを定義する。具体的には、作業者は、基準面設定治具50を基準物体40における他方の端部上(図4において左側)および支持台10上にセットした後、入力装置33を介して基準面設定治具50に関する情報を入力する。以後の処理過程は、前記と同様であるので説明を省略する。これにより、図4に示すように基準面Pkaに加えて基準面Pkbも定義される。なお、以前に定義された基準面が変更されない場合には、このステップS104による基準面の定義処理をスキップしてもよい。   Next, in step S314, the three-dimensional image data processing device 32 determines whether or not to end the definition process for the reference planes Pka and Pkb. In this determination process, if both of the reference planes Pka and Pkb are defined, it is determined as “Yes”, and the process proceeds to step S316. The process returns to step S106. On the other hand, if both the reference planes Pka and Pkb are not defined in the determination process, that is, if the reference plane Pkb is not defined, “No” is determined and the process returns to step S302. In this case, the three-dimensional image data processing device 32 defines the reference surface Pkb in the same manner as the definition of the reference surface Pka. Specifically, the operator sets the reference plane setting jig 50 on the other end of the reference object 40 (left side in FIG. 4) and on the support base 10, and then sets the reference plane via the input device 33. Information on the jig 50 is input. Subsequent processing steps are the same as described above, and a description thereof will be omitted. As a result, the reference plane Pkb is defined in addition to the reference plane Pka as shown in FIG. If the previously defined reference plane is not changed, the reference plane definition process in step S104 may be skipped.

また、本実施形態においては、基準物体40における2つの端部上に基準面設定治具50を載せ換えて基準面Pka,Pkbを定義するようにしたが、これに代えて、基準面設定治具50を2つ用意し、基準物体40における2つの各端部上に同時に基準面設定治具50をそれぞれセットする。そして、3次元形状測定装置20A,20Bによりそれぞれ対応する基準面設定治具50を同時に測定して、基準面Pka,Pkbを定義する各処理を平行して実行するようにしてもよい。   In the present embodiment, the reference plane setting jig 50 is mounted on the two ends of the reference object 40 to define the reference planes Pka and Pkb. Instead, the reference plane setting jig 50 is defined. Two tools 50 are prepared, and the reference plane setting jig 50 is set simultaneously on each of the two ends of the reference object 40. Then, the corresponding reference surface setting jigs 50 may be simultaneously measured by the three-dimensional shape measuring apparatuses 20A and 20B, and the respective processes for defining the reference surfaces Pka and Pkb may be executed in parallel.

次に、3次元画像データ処理装置32は、ステップS106にて、測定対象空間情報を取得する。この測定対象空間情報を取得する処理に際して作業者は、3次元画像データ処理装置32からの指示に基づいて、基準物体40および基準面設定治具50を支持台10上から取り除く。そして、3次元画像データ処理装置32は、図12に示す測定対象空間情報取得サブプログラムの実行をステップS500にて開始して、ステップS502にて、3次元形状測定装置20A,20Bの測定対象空間内に存在する物体の3次元表面形状を表す測定情報の入力を待つ。一方、3次元形状測定装置20A,20Bは、コントローラ31によって制御され、測定対象空間内に存在する物体、具体的には、支持台10および支持台10の周辺に存在する物体の3次元表面形状の測定を開始する。そして、3次元形状測定装置20A,20Bが測定対象空間内に存在する物体の測定を終了すると、測定結果を表す情報を3次元画像データ処理装置32に出力する。   Next, the three-dimensional image data processing device 32 acquires measurement target space information in step S106. In the process of acquiring the measurement target space information, the operator removes the reference object 40 and the reference plane setting jig 50 from the support base 10 based on an instruction from the three-dimensional image data processing device 32. Then, the three-dimensional image data processing device 32 starts execution of the measurement target space information acquisition subprogram shown in FIG. 12 in step S500, and in step S502, the measurement target spaces of the three-dimensional shape measurement devices 20A and 20B. It waits for input of measurement information representing the three-dimensional surface shape of the object existing inside. On the other hand, the three-dimensional shape measuring apparatuses 20A and 20B are controlled by the controller 31, and are three-dimensional surface shapes of an object existing in the measurement target space, specifically, an object existing around the support base 10 and the support base 10. Start measuring. Then, when the three-dimensional shape measurement apparatuses 20A and 20B complete the measurement of the object existing in the measurement target space, the information indicating the measurement result is output to the three-dimensional image data processing apparatus 32.

次に、3次元画像データ処理装置32は、ステップS502にて、前述したステップS202の処理と同様にして3次元形状測定装置20A,20Bからの測定情報をそれぞれ入力する。なお、この場合、3次元形状測定装置20A,20Bからは、測定対象空間内に存在する物体(支持台10など)の表面からの反射光の光量を表す情報も出力されるが、同情報は測定対象空間情報の取得には不要であるので3次元画像データ処理装置32は同情報の入力を無視する。そして、ステップS504にて、前述したステップS204の処理と同様にして、3次元形状測定装置20A,20Bごとに、各測定情報に基づいて測定対象空間に存在する物体に関する2組の3次元形状データ群Da,Dbを得る。この2組の3次元形状データ群Da,Dbもそれぞれ座標系A,BによるX,Y,Z座標値で表されたもので、3次元形状データ群Da,Db構成する各データセットは、(xa,ya,za),(xb,yb,zb)で表される。   Next, in step S502, the three-dimensional image data processing device 32 inputs measurement information from the three-dimensional shape measurement devices 20A and 20B, respectively, in the same manner as the processing in step S202 described above. In this case, the three-dimensional shape measuring apparatuses 20A and 20B also output information indicating the amount of reflected light from the surface of an object (such as the support base 10) existing in the measurement target space. Since it is not necessary for acquiring the measurement target space information, the three-dimensional image data processing device 32 ignores the input of the information. In step S504, in the same manner as in step S204 described above, two sets of three-dimensional shape data relating to an object existing in the measurement target space for each of the three-dimensional shape measuring apparatuses 20A and 20B based on each measurement information. Groups Da and Db are obtained. These two sets of three-dimensional shape data groups Da and Db are also expressed by X, Y, and Z coordinate values in the coordinate systems A and B, respectively. Each data set constituting the three-dimensional shape data groups Da and Db is ( xa, ya, za), (xb, yb, zb).

次に、3次元画像データ処理装置32は、ステップS506にて、前記ステップS504にて計算した2組の3次元形状データ群Da,Dbを測定対象空間情報Ma,Mbとしてそれぞれ記憶する。そして、3次元画像データ処理装置32は、ステップS508にて、測定対象空間情報取得サブプログラムの実行を終了して、ワーク長測定プログラムにおけるステップS108に戻る。なお、以前に取得された測定対象空間情報Ma,Mbが変更されない場合には、このステップS106による測定対象空間情報の取得処理をスキップしてもよい。   Next, in step S506, the three-dimensional image data processing device 32 stores the two sets of three-dimensional shape data groups Da and Db calculated in step S504 as the measurement target space information Ma and Mb, respectively. In step S508, the three-dimensional image data processing device 32 ends the execution of the measurement target space information acquisition subprogram and returns to step S108 in the workpiece length measurement program. If the previously acquired measurement target space information Ma and Mb are not changed, the measurement target space information acquisition process in step S106 may be skipped.

次に、3次元画像データ処理装置32は、ステップS108にて、ワーク測定を実行する。このワークの測定処理に際して作業者は、3次元画像データ処理装置32からの指示に基づいて、支持台10上に3つのワークWKをそれぞれセットする。そして、3次元画像データ処理装置32は、図13に示すワーク測定サブプログラムの実行をステップS600にて開始して、ステップS602にて、ワークWKの3次元表面形状を表す測定情報の入力を待つ。一方、3次元形状測定装置20A,20Bは、コントローラ31によって制御され、ワークWKの3次元表面形状の測定を開始する。そして、3次元形状測定装置20A,20BがワークWKの測定を終了すると、測定結果を表す情報を3次元画像データ処理装置32に出力する。この場合、測定結果を表す情報には、ワークWKのほかに支持台10などワークWKの周辺に存在する他の物体の表面形状を表す測定情報も含まれている。   Next, the three-dimensional image data processing device 32 performs workpiece measurement in step S108. In this workpiece measurement process, the operator sets three workpieces WK on the support base 10 based on instructions from the three-dimensional image data processing device 32. Then, the three-dimensional image data processing device 32 starts execution of the workpiece measurement subprogram shown in FIG. 13 in step S600, and waits for input of measurement information representing the three-dimensional surface shape of the workpiece WK in step S602. . On the other hand, the three-dimensional shape measuring apparatuses 20A and 20B are controlled by the controller 31 and start measuring the three-dimensional surface shape of the workpiece WK. Then, when the three-dimensional shape measuring apparatuses 20A and 20B complete the measurement of the workpiece WK, information representing the measurement result is output to the three-dimensional image data processing apparatus 32. In this case, the information representing the measurement result includes measurement information representing the surface shape of another object existing around the work WK such as the support 10 in addition to the work WK.

3次元画像データ処理装置32は、ステップS602にて、前述したステップS202およびステップS502の処理と同様にして3次元形状測定装置20A,20Bからの測定情報を入力する。なお、この場合、3次元形状測定装置20A,20Bからは、ワークWKの表面からの反射光の光量を表す情報も出力されるが、同情報はワークWKの長さ測定には不要であるので3次元画像データ処理装置32は同情報の入力を無視する。そして、ステップS604にて、前述したステップS204およびステップS504の処理と同様にして、3次元形状測定装置20A,20Bごとに、各測定情報に基づいてワークWKに関する2組の3次元形状データ群Da,Dbを得る。この2組の3次元形状データ群Da,Dbもそれぞれ座標系A,BによるX,Y,Z座標値で表されたもので、3次元形状データ群Da,Dbを構成する各データセットは、(xa,ya,za),(xb,yb,zb)で表される。   In step S602, the three-dimensional image data processing device 32 inputs measurement information from the three-dimensional shape measuring devices 20A and 20B in the same manner as the processing in steps S202 and S502 described above. In this case, information representing the amount of reflected light from the surface of the workpiece WK is also output from the three-dimensional shape measuring apparatuses 20A and 20B, but this information is not necessary for measuring the length of the workpiece WK. The three-dimensional image data processing device 32 ignores the input of the same information. In step S604, two sets of three-dimensional shape data groups Da relating to the workpiece WK are obtained for each of the three-dimensional shape measuring apparatuses 20A and 20B based on the respective measurement information in the same manner as the processing in steps S204 and S504 described above. , Db. These two sets of three-dimensional shape data groups Da and Db are also expressed by X, Y, and Z coordinate values by the coordinate systems A and B, respectively, and each data set constituting the three-dimensional shape data groups Da and Db is: (Xa, ya, za) and (xb, yb, zb).

次に、3次元画像データ処理装置32は、ステップS606にて、各座標系A,Bに対応した3次元形状データ群Da,Dbのそれぞれに対して、3次元形状測定装置20A,20Bにそれぞれ面したワークWKの表面形状をそれぞれ表す2つのサブ3次元形状データ群を抽出する。具体的には、前記ステップS604にて取得した3次元形状データ群Da,Dbを構成する各座標値(xa,ya,za),(xb,yb,zb)から前記測定対象空間情報取得プログラムの実行により3次元画像データ処理装置32に記憶された測定対象空間情報Ma,Mbを構成する各座標値(xa,ya,za),(xb,yb,zb)に所定範囲内で近い座標値があるものを除く。これにより、3次元形状測定装置20A,20Bにそれぞれ面したワークWKの表面形状を表す2組のサブ3次元形状データ群Daw,Dbwがそれぞれ抽出される。このサブ3次元形状データ群Daw,Dbwが、本発明に係る3次元形状データ群に相当する。   Next, in step S606, the three-dimensional image data processing device 32 applies the three-dimensional shape measurement devices 20A and 20B to the three-dimensional shape data groups Da and Db corresponding to the coordinate systems A and B, respectively. Two sub three-dimensional shape data groups each representing the surface shape of the facing workpiece WK are extracted. Specifically, from the coordinate values (xa, ya, za), (xb, yb, zb) constituting the three-dimensional shape data groups Da, Db acquired in step S604, the measurement target space information acquisition program Coordinate values that are close within a predetermined range to the respective coordinate values (xa, ya, za), (xb, yb, zb) constituting the measurement target space information Ma, Mb stored in the three-dimensional image data processing device 32 by execution. Exclude some. Thereby, two sets of sub three-dimensional shape data groups Daw and Dbw representing the surface shape of the workpiece WK respectively facing the three-dimensional shape measuring apparatuses 20A and 20B are extracted. The sub three-dimensional shape data groups Daw and Dbw correspond to the three-dimensional shape data group according to the present invention.

次に、3次元画像データ処理装置32は、ステップS608にて、前記ステップS606にて抽出した2組のサブ3次元形状データ群Daw,Dbwを3つのワークWKに対応させてそれぞれ3つに分類する。具体的には、作業者は、3次元形状測定装置20A,20Bの各座標系A,B内においてそれぞれ3つの領域を設定し、同設定した各領域を3次元画像データ処理装置32の記憶装置に予め記憶しておく。この3つの領域は、支持台10上にセットされる3つのワークWKの位置にそれぞれ対応しており、各領域にはそれぞれ1つのワークWKのサブ3次元形状データ群が含まれる。そして、3次元画像データ処理装置32は、この予め設定された各領域ごとにサブ3次元形状データ群Daw,Dbwを分類し6組のサブ3次元形状データ群Daw1,Dbw1,Daw2,Dbw2,Daw3,Dbw3として記憶する。この場合、サブ3次元形状データ群Daw1とDbw1、Daw2とDbw2およびDaw3とDbw3とは、それぞれ同一のワークWKにおける各端部を表す3次元形状データである。   Next, in step S608, the three-dimensional image data processing device 32 classifies the two sets of sub three-dimensional shape data groups Daw and Dbw extracted in step S606 into three corresponding to the three workpieces WK. To do. Specifically, the operator sets three areas in each of the coordinate systems A and B of the three-dimensional shape measuring apparatuses 20A and 20B, and stores the set areas in the storage device of the three-dimensional image data processing apparatus 32. Is stored in advance. These three regions respectively correspond to the positions of the three workpieces WK set on the support base 10, and each region includes a sub three-dimensional shape data group of one workpiece WK. Then, the three-dimensional image data processing device 32 classifies the sub three-dimensional shape data groups Daw and Dbw for each of the preset regions, and six sets of sub three-dimensional shape data groups Daw1, Dbw1, Daw2, Dbw2, and Daw3. , Dbw3. In this case, the sub three-dimensional shape data groups Daw1 and Dbw1, Daw2 and Dbw2, and Daw3 and Dbw3 are three-dimensional shape data representing the respective ends of the same workpiece WK.

次に、3次元画像データ処理装置32は、ステップS610にて、3つのワークWKの各端面Sa,Sbをそれぞれ表す2つの平面Pwa,PwbをワークWKごとに定義する。ここで3次元形状測定装置20Aによって測定された1つのワークWKの表面形状を表すサブ3次元形状データ群Dawを点群として図に表すと図14に示すように表される。この場合、3次元形状測定装置20Aに最も近い3次元データは、矢印Aで示した付近の3次元データ、すなわちワークWKの端面Saにおける外周部上端を定義する3次元データである。したがって、3次元画像データ処理装置32は、各サブ3次元形状データ群Daw1,Dbw1,Daw2,Dbw2,Daw3,Dbw3のうち最も3次元形状測定装置20A,20Bに近い座標値(3次元形状測定装置20Aにおいては図14中、矢印Aで示した付近の座標値)および同座標値から図示下側に存在する座標値を所定数だけ抽出し、同抽出した各座標値を前記式1に示される平面の式に代入して最小2乗法により仮の平面を定義する。そして、3次元画像データ処理装置32は、同定義された仮の平面に対して所定の範囲に属する各サブ3次元形状データ群Daw1,Dbw1,Daw2,Dbw2,Daw3,Dbw3の各座標値をそれぞれ抽出し、同抽出された各座標値を再度前記式1に代入して最小2乗法により平面をそれぞれ定義する。これにより、3次元形状測定装置20A,20Bにそれぞれ面する各ワークWKの各端面Sa,Sbをそれぞれ含む平面Pwa1,Pwb1,Pwa2,Pwb2,Pwa3,Pwb3がそれぞれ定義される。図15は、1つのワークWKにおける端面Sa,Sbに対して、それぞれ同端面Sa,Sbを表す平面Pwa,Pwbが定義された状態を示している。   Next, in step S610, the three-dimensional image data processing device 32 defines two planes Pwa and Pwb that respectively represent the end faces Sa and Sb of the three workpieces WK for each workpiece WK. Here, when the sub three-dimensional shape data group Daw representing the surface shape of one workpiece WK measured by the three-dimensional shape measuring apparatus 20A is represented as a point group in the figure, it is represented as shown in FIG. In this case, the three-dimensional data closest to the three-dimensional shape measuring apparatus 20A is the three-dimensional data in the vicinity indicated by the arrow A, that is, the three-dimensional data that defines the upper end of the outer peripheral portion of the end surface Sa of the work WK. Therefore, the three-dimensional image data processing device 32 has coordinate values (three-dimensional shape measuring device) closest to the three-dimensional shape measuring devices 20A and 20B among the sub three-dimensional shape data groups Daw1, Dbw1, Daw2, Dbw2, Daw3, and Dbw3. In 20A, a predetermined number of coordinate values existing in the lower side of the figure are extracted from the coordinate values in the vicinity of the arrow A in FIG. 14 and the same coordinate values, and each of the extracted coordinate values is expressed by Equation 1 above. A temporary plane is defined by the least square method by substituting it into the plane equation. Then, the three-dimensional image data processing device 32 obtains the coordinate values of the sub three-dimensional shape data groups Daw1, Dbw1, Daw2, Dbw2, Daw3, Dbw3 belonging to a predetermined range with respect to the defined temporary plane, respectively. Then, the extracted coordinate values are substituted again into the equation 1 to define planes by the least square method. Thereby, planes Pwa1, Pwb1, Pwa2, Pwb2, Pwa3, and Pwb3 including the end surfaces Sa and Sb of the workpieces WK respectively facing the three-dimensional shape measuring apparatuses 20A and 20B are defined. FIG. 15 shows a state in which planes Pwa and Pwb representing the end surfaces Sa and Sb are defined for the end surfaces Sa and Sb in one workpiece WK, respectively.

次に、3次元画像データ処理装置32は、ステップS612にて、ワークWKの長さ測定が可能か否かを判定する。具体的には、前記基準面定義サブプログラムにより定義された基準面Pka,Pkbに対する前記ステップS610にて定義された平面Pwa1,Pwb1,Pwa2,Pwb2,Pwa3,Pwb3の傾きをそれぞれ計算し、同計算された各傾きが所定の範囲内であるか否かをワークWKごとに判定する。すなわち、3つの各ワークWKの各端面Sa,Sbに対応する平面Pwa1とPwb1、Pwa2とPwb2およびPwa3とPwb3の各平面のセットごとに基準面Pka,Pkbに対する傾きを計算してワークWKの長さ測定が可能か否かをワークWKごとに判定する。より具体的には、基準面Pkaに対して平面Pwa1,Pwa2,Pwa3の各角度を計算するとともに、基準面Pkbに対して平面Pwb1,Pwb2,Pwb3の各角度を計算する。この判定処理において、基準面Pka,Pkbに対する各平面のセット、具体的にはPwa1とPwb1、Pwa2とPwb2およびPwa3とPwb3とがともに所定の範囲内の傾きである場合には、ワークWKの長さ測定が可能であるとして「Yes」と判定してステップS614に進む。すなわち、ワークWKの各端面Sa,Sbがともに基準面Pka,Pkbに対して略平行である場合にはワークWKの長さ測定が可能であると判定される。この場合、少なくとも1つのワークWKの長さ測定が可能であれば、同判定処理において「Yes」と判定される。   Next, in step S612, the three-dimensional image data processing device 32 determines whether the length of the workpiece WK can be measured. Specifically, the inclinations of the planes Pwa1, Pwb1, Pwa2, Pwb2, Pwa3, and Pwb3 defined in step S610 with respect to the reference planes Pka and Pkb defined by the reference plane definition subprogram are calculated, respectively. It is determined for each work WK whether or not each tilt is within a predetermined range. That is, the length of the workpiece WK is calculated by calculating the inclination with respect to the reference planes Pka and Pkb for each set of planes Pwa1 and Pwb1, Pwa2 and Pwb2, and Pwa3 and Pwb3 corresponding to the end surfaces Sa and Sb of the three workpieces WK. It is determined for each work WK whether or not the measurement is possible. More specifically, the angles of the planes Pwa1, Pwa2, and Pwa3 are calculated with respect to the reference plane Pka, and the angles of the planes Pwb1, Pwb2, and Pwb3 are calculated with respect to the reference plane Pkb. In this determination process, if the set of each plane with respect to the reference planes Pka and Pkb, specifically, Pwa1 and Pwb1, Pwa2 and Pwb2, and Pwa3 and Pwb3 are both in a predetermined range, the length of the workpiece WK It is determined that the measurement is possible and “Yes” is determined, and the process proceeds to step S614. That is, when both end surfaces Sa and Sb of the workpiece WK are substantially parallel to the reference surfaces Pka and Pkb, it is determined that the length of the workpiece WK can be measured. In this case, if the length of at least one workpiece WK can be measured, “Yes” is determined in the determination process.

一方、各平面のセット(平面Pwa1とPwb1、Pwa2とPwb2およびPwa3とPwb3)において、各セット内におけるどちらか一方の平面の基準面Pka,Pkbに対する傾きが所定の範囲外である場合、すなわち、ワークWKの各端面Sa,Sbのうち少なくとも一方の端面が基準面Pka,Pkbに対して傾斜、具体的には同端面のうち少なくとも一方の端面がワークWKの側面に対して垂直でないことによりワークWKの長手方向に対して直交していない、またはワークWKの端部が曲がっていることにより同端部における端面がワークWKの長手方向に対して直交していない場合には、ワークWKの長さ測定が不可能である。したがって、この判定処理において、すべてのワークWKの長さ測定が不可能である場合には、「No」と判定してステップS616に進み、ステップS616にてワークWKの長さ測定が不可能である旨を表示装置34に表示させる。   On the other hand, in each set of planes (planes Pwa1 and Pwb1, Pwa2 and Pwb2, and Pwa3 and Pwb3), if the inclination of one of the planes in each set with respect to the reference planes Pka and Pkb is outside a predetermined range, Since at least one of the end surfaces Sa and Sb of the work WK is inclined with respect to the reference surfaces Pka and Pkb, specifically, at least one of the end surfaces is not perpendicular to the side surface of the work WK. If the end of the workpiece WK is not orthogonal to the longitudinal direction of the workpiece WK because the end of the workpiece WK is bent, the end surface of the workpiece WK is not orthogonal to the longitudinal direction of the workpiece WK. Measurement is impossible. Therefore, in this determination process, when the length measurement of all the workpieces WK is impossible, it is determined as “No” and the process proceeds to step S616, and the length measurement of the workpieces WK is impossible in step S616. A message to that effect is displayed on the display device 34.

次に、3次元画像データ処理装置32は、ステップS614にて、前記ステップS612にてワークWKの長さ測定が可能と判定されたワークWKに対して同ワークWKの中心軸を定義する。このワークWKの中心軸の定義は、図16に示すワークの中心軸定義サブプログラムを実行することにより行われる。3次元画像データ処理装置32は、ワークの中心軸定義サブプログラムをステップS700にて開始して、ステップS702にて、基準面Pka,Pkbに平行な平面Pka’,Pkb’をそれぞれ定義する。具体的には、図15に示すように基準面Pka,Pkbに対して互いに他方の基準面Pkb,Pka側に所定の距離だけ離れた位置に、基準面Pka,Pkbと平行な平面Pka’,Pkb’をそれぞれ定義する。   Next, in step S614, the three-dimensional image data processing device 32 defines the central axis of the workpiece WK for the workpiece WK that is determined to be capable of measuring the length of the workpiece WK in step S612. The definition of the center axis of the workpiece WK is performed by executing the workpiece center axis definition subprogram shown in FIG. The three-dimensional image data processing apparatus 32 starts a center axis definition subprogram of the workpiece at step S700, and defines planes Pka 'and Pkb' parallel to the reference planes Pka and Pkb at step S702, respectively. Specifically, as shown in FIG. 15, a plane Pka ′, parallel to the reference planes Pka, Pkb, at a position away from the reference planes Pka, Pkb by a predetermined distance from the other reference planes Pkb, Pka. Pkb ′ is defined respectively.

次に、3次元画像データ処理装置32は、ステップS704にて、基準面Pka,Pkbおよび平面Pka’,Pkb’ごとに仮の座標系をそれぞれ設定する。具体的には、前記基準孔中心計算プログラムにおけるステップS410と同様に、基準面Pka,Pkbおよび平面Pka’,Pkb’に対して所定の範囲内に存在するサブ3次元形状データ群Daw,Dbwを前記式1に示す平面の式に代入して最小2乗法により基準面Pka,Pkbおよび平面Pka’,Pkb’にそれぞれ対応する4つの平面を計算する。この場合、計算される4つの平面は、ワークWKの長手方向に対して直交する。そして、計算された各平面の法線ベクトルγと同法線ベクトルγに垂直で互いに直交するベクトルα,βを座標軸の方向とする座標系を仮の座標系としてそれぞれ設定する。   Next, in step S704, the three-dimensional image data processing device 32 sets a temporary coordinate system for each of the reference planes Pka and Pkb and the planes Pka 'and Pkb'. Specifically, similarly to step S410 in the reference hole center calculation program, sub three-dimensional shape data groups Daw and Dbw existing within a predetermined range with respect to the reference surfaces Pka and Pkb and the planes Pka ′ and Pkb ′ are obtained. Substituting into the plane equation shown in Equation 1 above, four planes respectively corresponding to the reference planes Pka and Pkb and the planes Pka ′ and Pkb ′ are calculated by the least square method. In this case, the four calculated planes are orthogonal to the longitudinal direction of the workpiece WK. Then, a coordinate system in which the normal vector γ of each plane and the vectors α and β perpendicular to the normal vector γ and orthogonal to each other are set as the coordinate axes is set as a temporary coordinate system.

次に、3次元形状測定装置32は、ステップS706にて、前記ステップS412と同様に、基準面Pka,Pkbおよび平面Pka’,Pkb’に対して所定の範囲内に存在するサブ3次元形状データ群Daw,Dbwの各座標値をそれぞれ対応する前記各仮の座標系による座標値に座標変換する。これにより、3次元形状測定装置20A,20Bに関する各座標系A,Bによって表されたサブ3次元形状データ群Daw,Dbwの各座標値が、ワークWKの軸方向に直交する平面上に2つの座標軸がある座標系の座標値に座標変換され、同各座標値の中で同平面に垂直な座標軸(ワークWKの軸方向)における座標値が1つの値に統一される。次に、3次元画像データ処理装置32は、ステップS708にて、ワークWKの中心軸上の座標値を計算する。具体的には、前記ステップS414と同様に、各仮の座標系による座標値に座標変換された各座標値を前記式2に示す2次元における円の式に代入し、最小2乗法を用いて同円の中心座標Ca,Cb,Ca’,Cb’を計算する。これにより、各仮の座標系ごとにワークWKの中心軸上の座標値が計算される。   Next, in step S706, the three-dimensional shape measuring apparatus 32, in the same manner as in step S412 described above, sub-three-dimensional shape data existing within a predetermined range with respect to the reference planes Pka and Pkb and the planes Pka 'and Pkb'. The coordinate values of the groups Daw and Dbw are converted into coordinate values based on the corresponding temporary coordinate systems. As a result, the coordinate values of the sub three-dimensional shape data groups Daw and Dbw represented by the coordinate systems A and B related to the three-dimensional shape measuring apparatuses 20A and 20B are two on the plane orthogonal to the axial direction of the workpiece WK. The coordinate axis is converted into a coordinate value of a certain coordinate system, and the coordinate value in the coordinate axis perpendicular to the same plane (the axial direction of the workpiece WK) is unified into one value. Next, in step S708, the three-dimensional image data processing device 32 calculates coordinate values on the central axis of the workpiece WK. Specifically, as in step S414, each coordinate value converted to a coordinate value in each temporary coordinate system is substituted into the two-dimensional circle equation shown in equation 2, and the least square method is used. The center coordinates Ca, Cb, Ca ′, Cb ′ of the circle are calculated. Thereby, the coordinate value on the central axis of the workpiece WK is calculated for each temporary coordinate system.

次に、3次元画像データ処理装置32は、ステップS710にて、前記ステップS708にて計算した中心座標Ca,Cb,Ca’,Cb’の座標値を3次元形状測定装置20A,20Bに関する各座標系A,Bの座標値に座標変換する。具体的には、前記ステップS706による座標変換の逆変換を行い、各仮の座標系によって表された各中心座標Ca,Cb,Ca’,Cb’の座標値を3次元形状測定装置20A,20Bに関する各座標系A,Bの座標値に座標変換する。次に、3次元画像データ処理装置32は、ステップS712にて、ワークWKの中心軸を定義する。具体的には、基準面Pkaおよび平面Pka’に対応してそれぞれ計算された中心座標Ca,Ca’を通る直線CLaを計算するとともに、基準面Pkbおよび平面Pkb’に対応してそれぞれ計算された中心座標Cb,Cb’を通る直線CLbを計算する。これにより、3次元形状測定装置20A,20Bにそれぞれ面する各ワークWK(ワークWKの長さ測定可能なワークWK)に対してそれぞれ中心軸CLa,CLbが定義される。そして、3次元画像データ処理装置32は、ステップS714にて、ワークの中心軸定義サブプログラムの実行を終了してワーク長測定プログラムにおけるステップS618に戻る。   Next, in step S710, the three-dimensional image data processing device 32 uses the coordinate values of the central coordinates Ca, Cb, Ca ′, Cb ′ calculated in step S708 as coordinates for the three-dimensional shape measuring devices 20A, 20B. Coordinates are converted to the coordinate values of the systems A and B. Specifically, the coordinate transformation is reversed in step S706, and the coordinate values of the central coordinates Ca, Cb, Ca ′, Cb ′ represented by the temporary coordinate systems are obtained as the three-dimensional shape measuring apparatuses 20A, 20B. Is converted into coordinate values of each coordinate system A, B. Next, the three-dimensional image data processing device 32 defines the central axis of the workpiece WK in step S712. Specifically, straight lines CLa passing through the central coordinates Ca and Ca ′ calculated corresponding to the reference plane Pka and the plane Pka ′ are calculated, and calculated corresponding to the reference plane Pkb and the plane Pkb ′. A straight line CLb passing through the center coordinates Cb and Cb ′ is calculated. As a result, center axes CLa and CLb are defined for each workpiece WK facing each of the three-dimensional shape measuring apparatuses 20A and 20B (a workpiece WK capable of measuring the length of the workpiece WK). In step S714, the three-dimensional image data processing device 32 ends the execution of the workpiece center axis definition subprogram and returns to step S618 in the workpiece length measurement program.

次に、3次元画像データ処理装置32は、ステップS618にて、ワークWKの各端面Sa,Sbの各中心座標を計算する。具体的には、多数の座標値から重心座標を計算する場合のように、X座標,Y座標,Z座標ごとに各座標値を足し合わせ、それぞれの合計値を足し合わせた座標値の数で除算する。これにより、ワークWKの端面Sa,Sbにおける各中心座標Cwa,Cwbがそれぞれ計算される。   Next, in step S618, the three-dimensional image data processing device 32 calculates the center coordinates of the end faces Sa and Sb of the workpiece WK. Specifically, as when calculating the center-of-gravity coordinates from a large number of coordinate values, the coordinate values are added together for each of the X, Y, and Z coordinates, and the total value of each is added. Divide. Thereby, the respective center coordinates Cwa and Cwb on the end surfaces Sa and Sb of the workpiece WK are calculated.

次に、3次元画像データ処理装置32は、ステップS620にて、ワークWKの2つの各端部の曲がりを検出する。具体的には、前記ステップS610にて定義された平面Pwaと前記ステップS614におけるワークの中心軸定義サブプログラムの実行により定義された中心軸CLaとの交点および平面Pwbと中心軸CLbとの交点をそれぞれ計算する。そして、同計算された各交点の各座標値と前記ステップS618にて計算された中心座標Cwa,Cwbの各座標値との差が所定の範囲内である場合には、ワークWKの端部が曲がっていないとして「No」と判定してステップS622に進む。一方、前記計算された各交点の各座標値と中心座標Cwa,Cwbの各座標値との差が所定の範囲外である場合には、ワークWKの端部が曲がっているとして「Yes」と判定してステップS624に進む。   Next, in step S620, the three-dimensional image data processing device 32 detects the bending of each of the two ends of the work WK. Specifically, the intersection of the plane Pwa defined in step S610 and the center axis CLa defined by the execution of the workpiece center axis definition subprogram in step S614 and the intersection of the plane Pwb and the center axis CLb are defined. Calculate each. When the difference between the calculated coordinate values of the intersections and the coordinate values of the center coordinates Cwa and Cwb calculated in step S618 is within a predetermined range, the end of the workpiece WK is Since it is not bent, it determines with "No" and progresses to step S622. On the other hand, if the difference between the calculated coordinate values of the intersections and the coordinate values of the center coordinates Cwa and Cwb is outside the predetermined range, it is determined that the end portion of the work WK is bent, and “Yes”. Determination is made and the process proceeds to step S624.

この判定処理を具定例を挙げて説明すると、図17(A),(B)に示すように、ワークWKの端部の形状が曲がっていない場合、すなわち図17(A)に示すようにワークWKの端部SaがワークWKの中心軸CLaに対して直交している場合、および図17(B)に示すようにワークWKの端部が曲がっていない状態で端部SaがワークWKの中心軸CLaに対して直交していない場合には、ワークWKの端面Saの中心座標Cwaと、同ワークWKの中心軸CLaと平面Pwaとの交点とは略同一座標値となる。一方、図17(C)に示すように、ワークWKの端部Saの形状が下方に曲がっている場合には、ワークWKの端面Saの中心位置がワークWKの中心軸CLaからずれるため、ワークWKの端面Saの中心座標Cwaと、同ワークWKの中心軸CLaと平面Pwaとの交点とは同一座標値とはならず異なる値となる。したがって、ワークWKの端部Sa,Sbが曲がっている場合には、同判定処理において「Yes」と判定されてステップS624に進み、ワークWKの端部Sa,Sbが曲がっていない場合には、同判定処理において「No」と判定されてステップS622に進む。なお、図17(B),(C)においては、端面Saの傾斜している状態を誇張して示している。   This determination process will be described with a specific example. As shown in FIGS. 17A and 17B, when the shape of the end portion of the work WK is not bent, that is, as shown in FIG. When the end portion Sa of the WK is orthogonal to the center axis CLa of the workpiece WK and when the end portion of the workpiece WK is not bent as shown in FIG. 17B, the end portion Sa is the center of the workpiece WK. When not orthogonal to the axis CLa, the center coordinate Cwa of the end surface Sa of the workpiece WK and the intersection of the center axis CLa of the workpiece WK and the plane Pwa have substantially the same coordinate value. On the other hand, as shown in FIG. 17C, when the shape of the end portion Sa of the workpiece WK is bent downward, the center position of the end surface Sa of the workpiece WK is shifted from the center axis CLa of the workpiece WK. The center coordinate Cwa of the end surface Sa of the WK and the intersection of the center axis CLa of the workpiece WK and the plane Pwa do not have the same coordinate value but different values. Therefore, when the ends Sa and Sb of the work WK are bent, it is determined as “Yes” in the determination process, and the process proceeds to step S624. When the ends Sa and Sb of the work WK are not bent, In the determination process, it is determined as “No”, and the process proceeds to Step S622. In FIGS. 17B and 17C, the state in which the end surface Sa is inclined is exaggerated.

ステップS622においては、ワークWKの2つの各端部が曲がっていない場合におけるワークWKの長さ測定用の平面Pma,Pmbをそれぞれ定義する。具体的には、前記ステップ620にて計算された平面Pwaと中心軸CLaとの交点を含み基準面Pkaに平行な平面を測定用平面Pmaとして定義するとともに、平面Pwbと中心軸CLbとの交点を含み基準面Pkbに平行な平面を測定用平面Pmbとして定義する。すなわち、測定用平面Pma,Pmbは、ワークWKの2つの各端面Sa,Sbの各中心点を含み互いに平行な平面である。この測定用平面Pma,Pmbは、それぞれ平面Pwa,Pwbと略同一の平面であるが、平面Pwa,PwbがワークWKの各端面Sa,Sbに対して平行であるのに対し、測定用平面Pma,Pmbは基準面Pka,Pkbに対して平行でありワークWKの各端面Sa,Sbの傾きに因らず定義することができる。したがって、ワークWKの端部Sa,SbがワークWKの中心軸に対して直交している場合(曲がっていない場合)には、平面Pwa,Pwbを測定用平面Pma,Pmbとしてもよい。   In step S622, planes Pma and Pmb for measuring the length of the workpiece WK when the two ends of the workpiece WK are not bent are defined. Specifically, a plane parallel to the reference plane Pka including the intersection between the plane Pwa and the central axis CLa calculated in the step 620 is defined as the measurement plane Pma, and the intersection between the plane Pwb and the central axis CLb. And a plane parallel to the reference plane Pkb is defined as a measurement plane Pmb. That is, the measurement planes Pma and Pmb are planes including the center points of the two end faces Sa and Sb of the workpiece WK and parallel to each other. The measurement planes Pma and Pmb are substantially the same planes as the planes Pwa and Pwb, respectively. However, the planes Pwa and Pwb are parallel to the end surfaces Sa and Sb of the workpiece WK, whereas the measurement plane Pma. , Pmb are parallel to the reference planes Pka, Pkb and can be defined regardless of the inclination of the end faces Sa, Sb of the workpiece WK. Therefore, when the end portions Sa and Sb of the workpiece WK are orthogonal to the center axis of the workpiece WK (when not bent), the planes Pwa and Pwb may be set as the measurement planes Pma and Pmb.

ステップS624においては、前記ステップS618にて計算されたワークWKの各端面Sa,Sbの各中心座標Cwa,Cwbの各座標値を補正する。この中心座標Cwa,Cwbの補正処理は、ワークWKの2つの各端部のうち前記ステップS620にて曲がりが検出された端部における中心座標Cwa,Cwbを、同端部の曲がりがない場合(同端部が直線状である場合)における同端部の端面Sa,Sbの中心座標に補正する処理である。このステップ624における補正処理において3次元画像データ処理装置32は、図18に示す中心座標補正サブプログラムをステップS800にて開始して、ステップS802にて、曲がり測定用平面Pmcを定義する。なお、この中心座標補正サブプログラムの処理においては、図19(A)(B)に示すように、ワークWKの端面Saにおける端部が曲がっている場合を例として説明する。また、同図中のワークWKの端部は、曲がった状態を誇張して示している。また、図19(B)においては、図を分かりやすくするため、支持台10を省略している。   In step S624, the coordinate values of the center coordinates Cwa and Cwb of the end surfaces Sa and Sb of the workpiece WK calculated in step S618 are corrected. The correction processing of the center coordinates Cwa and Cwb is performed when the center coordinates Cwa and Cwb at the end where the bending is detected in the step S620 out of the two ends of the workpiece WK are not bent at the same end ( This is a process of correcting to the center coordinates of the end surfaces Sa and Sb of the end portion in the case where the end portion is linear. In the correction processing in step 624, the three-dimensional image data processing device 32 starts the central coordinate correction subprogram shown in FIG. 18 in step S800, and defines a bending measurement plane Pmc in step S802. In the processing of the center coordinate correction subprogram, as shown in FIGS. 19A and 19B, an example in which the end portion of the end surface Sa of the workpiece WK is bent will be described. Further, the end portion of the work WK in the figure exaggeratedly shows a bent state. Further, in FIG. 19B, the support base 10 is omitted for easy understanding of the drawing.

まず、3次元画像データ処理装置32は、前記ステップ620の判定処理にて曲がりが検出された端部における端面Saに対応する基準面Pkaから同端面Sa側に所定の間隔で同基準面Pkaに平行な平面Pka’を定義する。次に、3次元画像データ処理装置32は、図19(B)に示すように、平面Pka’内において直交する2つの軸を中心として各軸ごとに所定の角度範囲内において所定の角度ずつ同平面Pka’を傾ける。そして、各所定の角度ごとに、傾けられた平面Pka’に対して所定の範囲内に存在するサブ3次元形状データ群Dawを抽出し、同抽出されたサブ3次元形状データ群Dawの各座標値を前記式2に示す円の式に代入して、最小2乗法により円Cを定義する。そして、同円Cから前記抽出されたサブ3次元形状データ群Dawの各座標値との距離を計算し、同各座標値ごとの距離における標準偏差を計算する。   First, the three-dimensional image data processing device 32 changes the reference surface Pka from the reference surface Pka corresponding to the end surface Sa at the end where the bending is detected in the determination processing of the step 620 to the same reference surface Pka at the same end surface Sa side. A parallel plane Pka ′ is defined. Next, as shown in FIG. 19B, the three-dimensional image data processing device 32 has the same angle by a predetermined angle within a predetermined angle range for each axis centered on two axes orthogonal to each other in the plane Pka ′. The plane Pka ′ is tilted. Then, for each predetermined angle, a sub three-dimensional shape data group Daw existing within a predetermined range with respect to the inclined plane Pka ′ is extracted, and each coordinate of the extracted sub three-dimensional shape data group Daw is extracted. By substituting the value into the circle equation shown in Equation 2, the circle C is defined by the least square method. Then, a distance from each coordinate value of the extracted sub three-dimensional shape data group Daw from the circle C is calculated, and a standard deviation in the distance for each coordinate value is calculated.

具体的には、円Cの定義の仕方は、前記ステップS614におけるワークWKの中心軸を計算する処理と同様である。すなわち、前記基準孔中心計算プログラムにおけるステップS410と同様に、曲がり測定用平面Pmcn(n=1)において平面の法線ベクトルγと同法線ベクトルγに垂直で互いに直交するベクトルα,βを座標軸の方向とする座標系を仮の座標系としてそれぞれ設定する。次に、3次元画像データ処理装置32は、前記ステップS412と同様に、曲がり測定用平面Pmcn(n=1)に対して所定の範囲内に存在するサブ3次元形状データ群Dawの各座標値を前記各仮の座標系による座標値に座標変換する。これにより、3次元形状測定装置20Aに関する座標系Aによって表されたサブ3次元形状データ群Dawの各座標値が、曲がり測定用平面Pmc1上に2つの座標軸がある座標系の座標値に座標変換され、同各座標値の中で同曲がり測定用平面Pmcn(n=1)に垂直な座標軸(ワークWKの中心軸方向)における座標値が1つの値に統一される。そして、3次元画像データ処理装置32は、前記ステップS414と同様に、仮の座標系の座標値に座標変換された各座標値を前記式2に示す2次元における円の式に代入し、最小2乗法を用いて同円の中心座標Ccおよび半径rを計算した後、サブ3次元形状データ群Dawの各座標値から中心座標Ccまでの距離を計算し、同距離から半径rの値を減算する。この減算した値が円から各座標値までの距離に相当し、すべての座標値おける同距離の標準偏差を計算する。   Specifically, the way of defining the circle C is the same as the processing for calculating the central axis of the workpiece WK in the step S614. That is, as in step S410 in the reference hole center calculation program, the normal vector γ of the plane and the vectors α and β perpendicular to the normal vector γ and orthogonal to each other on the coordinate measurement axis Pmcn (n = 1) The coordinate system with the direction of is set as a temporary coordinate system. Next, the three-dimensional image data processing device 32, as in step S412, each coordinate value of the sub three-dimensional shape data group Daw existing within a predetermined range with respect to the bending measurement plane Pmcn (n = 1). Are converted into coordinate values based on the provisional coordinate systems. Thereby, each coordinate value of the sub three-dimensional shape data group Daw represented by the coordinate system A related to the three-dimensional shape measuring apparatus 20A is coordinate-converted into a coordinate value of a coordinate system having two coordinate axes on the bending measurement plane Pmc1. Among the coordinate values, the coordinate values on the coordinate axis (in the direction of the central axis of the workpiece WK) perpendicular to the same bending measurement plane Pmcn (n = 1) are unified into one value. Then, the three-dimensional image data processing device 32 substitutes each coordinate value coordinate-transformed into the coordinate value of the temporary coordinate system into the two-dimensional circle equation shown in Equation 2 in the same manner as in Step S414. After calculating the center coordinate Cc and the radius r of the same circle using the square method, the distance from each coordinate value of the sub three-dimensional shape data group Daw to the center coordinate Cc is calculated, and the value of the radius r is subtracted from the distance. To do. This subtracted value corresponds to the distance from the circle to each coordinate value, and the standard deviation of the same distance for all coordinate values is calculated.

この標準偏差を計算する処理を、前記所定の角度範囲内において所定の角度ずつ実行し、計算された標準偏差が最小となる角度における平面Pka’を曲がり測定用平面Pmcn(n=1)とする。すなわち、平面Pka’に対して所定の範囲内に存在するサブ3次元形状データ群Dawは、同平面Pka’の傾けられる角度に応じて楕円状または円状に抽出される。そして、楕円状または円状に抽出されたサブ3次元形状データ群Dawに基づいて円Cが計算され標準偏差が計算される。この場合、計算された円Cに対する抽出されたサブ3次元形状データ群Dawの各座標値の差が小さいほど計算される標準偏差は小さくなる。換言すれば、サブ3次元形状データ群Dawが円状に抽出されるほど円Cとの差、すなわち標準偏差が小さくなる。そして、標準偏差が最小となる平面Pka’、すなわち曲がり測定用平面Pmcは、曲がりが検出された端部におけるワークWKの中心軸に直交する平面となる。なお、図19(A)(B)において曲がり測定用平面Pmcn(n=1)は、平面Pka’と略同一平面となる。   The processing for calculating the standard deviation is executed for each predetermined angle within the predetermined angle range, and the plane Pka ′ at the angle at which the calculated standard deviation is the minimum is defined as a bending measurement plane Pmcn (n = 1). . That is, the sub three-dimensional shape data group Daw existing within a predetermined range with respect to the plane Pka 'is extracted in an elliptical shape or a circular shape according to the tilt angle of the plane Pka'. Then, a circle C is calculated based on the sub three-dimensional shape data group Daw extracted in an elliptical shape or a circular shape, and a standard deviation is calculated. In this case, the smaller the difference between the coordinate values of the extracted sub three-dimensional shape data group Daw with respect to the calculated circle C, the smaller the standard deviation calculated. In other words, the difference from the circle C, that is, the standard deviation becomes smaller as the sub three-dimensional shape data group Daw is extracted in a circular shape. The plane Pka 'having the smallest standard deviation, that is, the bending measurement plane Pmc is a plane orthogonal to the central axis of the workpiece WK at the end where the bending is detected. In FIGS. 19A and 19B, the bending measurement plane Pmcn (n = 1) is substantially the same plane as the plane Pka '.

次に、3次元画像データ処理装置32は、ステップS804にて、曲がり測定用平面Pmc内におけるワークWKの中心座標Ccを計算する。中心座標Ccは、ステップS802にて仮の座標系の座標値として計算されているため、先の座標変換とは逆の座標変換により対応する3次元形状測定装置20Aに関する座標系Aによる座標値に座標変換する。これにより、曲がり測定用平面Pmcn(n=1)内におけるワークWKの中心座標Ccが計算される。   Next, in step S804, the three-dimensional image data processing device 32 calculates the center coordinate Cc of the workpiece WK in the bending measurement plane Pmc. Since the center coordinate Cc is calculated as the coordinate value of the temporary coordinate system in step S802, the coordinate value by the coordinate system A related to the corresponding three-dimensional shape measuring apparatus 20A is obtained by the coordinate conversion opposite to the previous coordinate conversion. Convert coordinates. Thereby, the center coordinates Cc of the workpiece WK in the bending measurement plane Pmcn (n = 1) are calculated.

次に、3次元画像データ処理装置32は、ステップS806にて、ワークWKの中心座標Ccの計算を終了するか否かを判定する。具体的には、前記ステップS804にて計算したワークWKの中心座標Ccが曲がりが検出された端部における端面の中心座標Cwaと一致または所定の判別値内であるか否かを判定し、中心座標Ccが中心座標Cwaと一致または所定の判別値内でなければ「No」と判定してステップS802に戻り、再度ワークWKの中心座標Ccを計算する。この場合、ステップS802にて定義される平面Pka’’は、前回定義された平面Pka’
より端面Sa側に所定の間隔で移動した位置で定義される。また、図19(A)に示すように、平面Pka’’がワークWKの端部における曲がった部分に定義される場合には、曲がり測定用平面Pmcn(n=2)は、同端部におけるワークWKの中心軸に直交する平面となる。一方、同判定処理において、中心座標Ccが中心座標Cwaと一致または所定の判別値内であれば「Yes」と判定してステップS808に進む。これにより、曲がりが検出された端部に対応する基準面Pkaと端面Saとの間のワークWKの中心軸上の座標値が中心座標Cci(i=1〜n)として計算される。なお、図19(A)において、平面Pka’と平面Pka’’との間隔は誇張して示している。
Next, in step S806, the three-dimensional image data processing device 32 determines whether or not to end the calculation of the center coordinate Cc of the workpiece WK. Specifically, it is determined whether or not the center coordinate Cc of the workpiece WK calculated in step S804 coincides with the center coordinate Cwa of the end face at which the bending is detected or is within a predetermined determination value. If the coordinate Cc does not coincide with the center coordinate Cwa or is not within the predetermined discriminant value, it is determined as “No”, the process returns to step S802, and the center coordinate Cc of the workpiece WK is calculated again. In this case, the plane Pka ″ defined in step S802 is the plane Pka ′ previously defined.
It is defined as a position moved to the end surface Sa side at a predetermined interval. Further, as shown in FIG. 19A, when the plane Pka '' is defined as a bent portion at the end of the work WK, the bend measurement plane Pmcn (n = 2) is at the same end. It becomes a plane orthogonal to the central axis of the workpiece WK. On the other hand, in the determination process, if the center coordinate Cc matches the center coordinate Cwa or is within a predetermined determination value, “Yes” is determined, and the process proceeds to step S808. Thereby, the coordinate value on the central axis of the workpiece WK between the reference surface Pka and the end surface Sa corresponding to the end where the bending is detected is calculated as the center coordinates Cci (i = 1 to n). In FIG. 19A, the interval between the plane Pka ′ and the plane Pka ″ is exaggerated.

次に、3次元画像データ処理装置32は、ステップS808にて、曲がりが検出された端部における中心軸に対応する円Cを定義する。具体的には、図20に示すように、前記ステップS802〜S806の各処理により計算されたワークWKの中心軸の座標値である中心座標Cci(i=1〜n)を前記式1に示される平面の式にそれぞれ代入して、最小2乗法により曲がりが検出された端部における中心軸を含む平面Pを定義する。そして、前記ステップS804と同様に、平面Pの法線ベクトルγと同法線ベクトルに垂直で互いに直交するベクトルα,βを座標軸の方向とする座標系を仮の座標系としてそれぞれ設定する。次に、3次元画像データ処理装置32は、前記ステップS312と同様に、中心座標Cci(i=1〜n)の各座標値を仮の座標系による座標値に座標変換する。これにより、3次元形状測定装置20Aに関する各座標系Aによって表された中心座標Cci(i=1〜n)の各座標値が平面P上に2つの座標軸がある座標系の座標値に座標変換され、各座標値の中で平面Pに垂直な座標軸上の座標値が1つの値に統一される。   Next, in step S808, the three-dimensional image data processing device 32 defines a circle C corresponding to the central axis at the end where the bending is detected. Specifically, as shown in FIG. 20, the center coordinates Cci (i = 1 to n), which are the coordinate values of the center axis of the workpiece WK, calculated by the processes in steps S802 to S806 are shown in the above equation 1. The plane P including the central axis at the end where the bending is detected by the least square method is defined by substituting each into the equation of the plane to be determined. Similarly to step S804, a coordinate system in which the normal vector γ of the plane P and the vectors α and β perpendicular to the normal vector and orthogonal to each other are set as the coordinate axes are set as temporary coordinate systems. Next, the three-dimensional image data processing device 32 converts the coordinate values of the center coordinates Cci (i = 1 to n) into coordinate values based on a temporary coordinate system, as in step S312. Thereby, each coordinate value of the center coordinates Cci (i = 1 to n) represented by each coordinate system A related to the three-dimensional shape measuring apparatus 20A is coordinate-converted into a coordinate value of a coordinate system having two coordinate axes on the plane P. The coordinate values on the coordinate axis perpendicular to the plane P among the coordinate values are unified into one value.

そして、3次元画像データ処理装置32は、仮の座標系の座標値に座標変換された各座標値を前記式2に示す2次元における円の式に代入し、最小2乗法を用いて同円の中心座標Cをおよび半径rを計算した後、前記ステップS416と同様に仮の座標系の座標値によって表された中心座標Cを対応する3次元形状測定装置20Aに関する座標系Aによって表された座標値に座標変換する。これにより、曲がりが検出された端部における中心軸に対応する円Cが定義される。   Then, the three-dimensional image data processing device 32 substitutes each coordinate value coordinate-converted into the coordinate value of the provisional coordinate system into the two-dimensional circle equation shown in Equation 2, and uses the least square method to calculate the same circle value. After calculating the center coordinates C and the radius r, the center coordinates C represented by the coordinate values of the temporary coordinate system are represented by the coordinate system A related to the corresponding three-dimensional shape measuring apparatus 20A as in step S416. Convert coordinates to coordinate values. Thereby, a circle C corresponding to the central axis at the end where the bending is detected is defined.

次に、3次元画像データ処理装置32は、ステップS810にて、端面Saの中心座標Cwaを補正する。具体的には、曲がりが検出された端部に対応する中心軸CLaと前記円Cとの交点P0(または接点)を特定する。この交点P0は、曲がりが検出された端部における中心軸の曲がり始めを表す。次に、特定された交点P0と曲がりが検出された端部における端面Saの中心座標Cwa(換言すれば、円Cと端面Saの交点P1)とを結ぶ直線の長さLst(弦の長さ)を計算し、同長さLstと円Cの半径rとから交点P0と中心座標Cwa(換言すれば、円Cと端面Saの交点P1)とを結ぶ円Cの円周上の長さ(弧の長さ)Larcする。そして、中心軸CLa上における交点P0の座標値に中心軸CLa方向に長さLarc(弧の長さ)を加算した座標値を新たな中心座標Cwa’とする。なお、ワークWKの端面Sbにおける端部が曲がっている場合においても同様に中心座標Cwbが中心座標Cwb’に補正される。これにより、曲がりが検出された端部において、同端部の曲がりがない場合(同端部が直線状である場合)における同端部の端面Saの中心座標Cwa’,Cwb’が計算される。そして、3次元画像データ処理装置32は、ステップS812にて、中心座標補正サブプログラムの実行を終了して、ワーク測定サブプログラムにおけるステップS622に戻る。ステップS622においては、この中心座標補正サブプログラムの実行によって補正された中心座標Cwa’,Cwb’に基づいて測定用平面Pma,Pmbがそれぞれ定義される。   Next, the three-dimensional image data processing device 32 corrects the center coordinate Cwa of the end surface Sa in step S810. Specifically, an intersection point P0 (or contact point) between the center axis CLa corresponding to the end where the bending is detected and the circle C is specified. This intersection point P0 represents the start of bending of the central axis at the end where the bending is detected. Next, the length Lst (string length) of the straight line connecting the specified intersection point P0 and the center coordinates Cwa of the end surface Sa at the end where the bending is detected (in other words, the intersection point P1 of the circle C and the end surface Sa). ) And the length on the circumference of the circle C connecting the intersection point P0 and the center coordinate Cwa (in other words, the intersection point P1 of the end face Sa) with the same length Lst and the radius r of the circle C ( Arc length). A coordinate value obtained by adding the length Larc (the arc length) in the direction of the central axis CLa to the coordinate value of the intersection point P0 on the central axis CLa is defined as a new central coordinate Cwa '. Even when the end portion of the end surface Sb of the workpiece WK is bent, the center coordinate Cwb is similarly corrected to the center coordinate Cwb ′. As a result, the center coordinates Cwa ′ and Cwb ′ of the end surface Sa of the end portion in the case where there is no bend of the end portion (when the end portion is linear) are calculated at the end portion where the bend is detected. . In step S812, the three-dimensional image data processing device 32 ends the execution of the center coordinate correction subprogram, and returns to step S622 in the workpiece measurement subprogram. In step S622, measurement planes Pma and Pmb are defined based on the center coordinates Cwa 'and Cwb' corrected by the execution of the center coordinate correction subprogram.

次に、3次元画像データ処理装置32は、ステップS626にて、ワークWKの長さを計算する。具体的には、図21に示すように、測定用平面Pma,Pmbと同測定用平面Pma,Pmbに対応する3次元形状測定装置20A,20Bに関する各座標系A,Bにおける原点Oa,Obとの距離La,Lbをそれぞれ計算する。この場合、距離Laは、3次元形状測定装置20Aの座標系Aにおける原点Oaを通り測定用平面Pmaに直交する直線の長さである。また、距離Lbは、3次元形状測定装置20Bの座標系Bにおける原点Obを通り測定用平面Pmbに直交する直線の長さである。そして、3次元画像データ処理装置32は、ステップS102における基準距離計算サブプログラムにより計算された基準距離L(3次元形状測定装置20Aと3次元形状測定装置20Bとの距離)から同距離La,Lbを減算することによりワークWKの長さLを計算する。 Next, in step S626, the three-dimensional image data processing device 32 calculates the length of the work WK. Specifically, as shown in FIG. 21, the origins Oa, Ob in the coordinate systems A, B relating to the measurement planes Pma, Pmb and the three-dimensional shape measuring apparatuses 20A, 20B corresponding to the measurement planes Pma, Pmb Distances La and Lb are calculated. In this case, the distance La is the length of a straight line that passes through the origin Oa in the coordinate system A of the three-dimensional shape measuring apparatus 20A and is orthogonal to the measurement plane Pma. The distance Lb is the length of a straight line that passes through the origin Ob in the coordinate system B of the three-dimensional shape measurement apparatus 20B and is orthogonal to the measurement plane Pmb. The three-dimensional image data processing device 32 then calculates the same distance La, from the reference distance L 0 (the distance between the three-dimensional shape measuring device 20A and the three-dimensional shape measuring device 20B) calculated by the reference distance calculating subprogram in step S102. The length L of the workpiece WK is calculated by subtracting Lb.

そして、3次元画像データ処理装置32は、ステップS628にて、前記計算したワークWKの長さLを表示装置34に表示させる。この場合、3つのワークWKのうち長さ測定が不可能であるワークWKについては、同ワークWKの長さ測定が不可能である旨を表示装置34に表示させる。なお、ステップS614にて、ワークWKの長さ測定が不可能と判定された場合には、前記したように同ステップS616にてワークWKの長さ測定が不可能である旨を表示装置34に表示させた後、ステップS630に進む。次に、3次元画像データ処理装置32は、ステップS630にて、ワークWKの長さ測定を終了するか否かを判定する。具体的には、3次元画像データ処理装置32は、ワークWKの長さ測定を終了するか否かを表示装置34を介して作業者に問い合わせて作業者からの指示を待つ。この場合、作業者は、他に測定すべきワークWKが存在する場合には、支持台10上にセットされているワークWKを取り除くとともに新たなワークWKを支持台10上にセットした後、その旨を入力装置33を介して指示する。一方、作業者は、他に測定すべきワークWKが存在しない場合には、支持台10上にセットされているワークWKを取り除いた後、その旨を入力装置33を介して指示する。   In step S628, the three-dimensional image data processing device 32 causes the display device 34 to display the calculated length L of the workpiece WK. In this case, among the three workpieces WK, for the workpiece WK whose length cannot be measured, the display device 34 is displayed that the length of the workpiece WK cannot be measured. If it is determined in step S614 that the length of the workpiece WK cannot be measured, the display device 34 is informed that the length of the workpiece WK cannot be measured in step S616 as described above. After the display, the process proceeds to step S630. Next, in step S630, the three-dimensional image data processing device 32 determines whether or not to finish measuring the length of the workpiece WK. Specifically, the three-dimensional image data processing device 32 inquires of the worker via the display device 34 whether or not the measurement of the length of the workpiece WK is finished, and waits for an instruction from the worker. In this case, when there is another workpiece WK to be measured, the operator removes the workpiece WK set on the support base 10 and sets a new workpiece WK on the support base 10, and then This is instructed via the input device 33. On the other hand, when there is no other workpiece WK to be measured, the operator removes the workpiece WK set on the support base 10 and then instructs the fact via the input device 33.

3次元形状測定装置32は、作業者からワークWKの長さ測定を続行する旨の指示を受けた場合には、前記判定処理において「No」と判定してステップS602に戻り、改めてワークWKの測定処理を実行する。また、3次元形状測定装置32は、作業者からワークWKの長さ測定を終了する旨の指示を受けた場合には、前記判定処理において「Yes」と判定してステップS632にてワーク測定サブプログラムの実行を終了して、ワーク長測定プログラムにおけるステップS110に戻り、同ステップS110にてワーク長測定プログラムの実行を終了する。   When receiving an instruction from the operator to continue measuring the length of the workpiece WK, the three-dimensional shape measuring apparatus 32 determines “No” in the determination process, returns to step S602, and again determines the workpiece WK. Execute the measurement process. In addition, when receiving an instruction from the operator to end the length measurement of the workpiece WK, the three-dimensional shape measuring apparatus 32 determines “Yes” in the determination process and determines the workpiece measurement sub in step S632. The execution of the program is terminated, the process returns to step S110 in the workpiece length measurement program, and the execution of the workpiece length measurement program is terminated in step S110.

上記作動説明からも理解できるように、上記実施形態によれば、3次元画像データ処理装置32に予めワークWKにおける測定対象となる端面Sa,Sb間の軸線に沿って3次元形状測定装置20Aの座標原点Oaと3次元形状測定装置20Bの座標原点Obとの距離を基準距離Lとして記憶している。そして、前記軸線に直交する基準面Pka,Pkbと平行な測定用平面Pma,Pmbを測定対象となる端面Sa,Sbに定義し、同測定用平面Pma,pmbと基準距離Lとを用いて測定対象物の長さLを計算している。これによれば、測定対象となる端面Sa,Sbに対して測定用平面Pma,Pmbが定義できれば、すなわち、測定対象となる端面Sa,Sbを含むワークWKの端部の表面形状を表す3次元形状データ群が取得できれば、常にワークWKの軸線に沿って同ワークWKの長さを測定することができ、3次元形状測定装置20A,20Bの配置位置は限定されない。また、測定用平面Pma,Pmbは3次元データによって定義されるため、測定対象となる端面Sa,Sbの形状および3次元形状測定装置20A,20Bに対する同端面Sa,Sbの向きに寄らず一定の平面を定義することができる。これにより、精度の高いワークWKの長さ測定が可能となる。 As can be understood from the above description of the operation, according to the above embodiment, the 3D image data processing device 32 has the 3D shape measuring device 20A in advance along the axis between the end surfaces Sa and Sb to be measured on the workpiece WK. stores the distance between the coordinate origin Ob of coordinate origin Oa and the three-dimensional shape measuring apparatus 20B as a reference distance L 0. Then, measurement planes Pma and Pmb parallel to the reference planes Pka and Pkb orthogonal to the axis are defined as end surfaces Sa and Sb to be measured, and the measurement planes Pma and pmb and the reference distance L 0 are used. The length L of the measurement object is calculated. According to this, if the measurement planes Pma and Pmb can be defined with respect to the end surfaces Sa and Sb to be measured, that is, the three-dimensional representing the surface shape of the end portion of the workpiece WK including the end surfaces Sa and Sb to be measured. If the shape data group can be acquired, the length of the workpiece WK can always be measured along the axis of the workpiece WK, and the arrangement positions of the three-dimensional shape measuring apparatuses 20A and 20B are not limited. Since the measurement planes Pma and Pmb are defined by three-dimensional data, the measurement planes Pma and Pmb are constant regardless of the shape of the end surfaces Sa and Sb to be measured and the direction of the end surfaces Sa and Sb with respect to the three-dimensional shape measuring apparatuses 20A and 20B. A plane can be defined. Thereby, it is possible to measure the length of the work WK with high accuracy.

また、測定用平面Pma,Pmbは、端面Sa,Sbを表す平面Pka,PkbとワークWKの中心軸CLa,CLbとの交点に基づいて定義されるため、端面Sa,Sbが中心軸に対して完全に垂直でない場合や端部が若干曲がっている場合であっても、端面Sa,Sbにおける正確な中心点に基づいて測定用平面Pma,Pmbを定義することができる。また、ワーク測定サブプログラムにおけるステップS612において、端面Sa,Sbの傾きに応じてワークWKの長さ測定を実行するか否かを判定し、同端面Sa,SbがワークWKの軸線に対して所定量以上傾いている場合には、ワークWKの長さ測定を実行しない。これにより、端面Sa,SbがワークWKの軸線に対して垂直から所定の範囲内の角度でずれている場合のみ、同ワークWKの長さ測定を行うことができ、測定したワークWKの長さ比較をより正確に行うことができる。   Further, since the measurement planes Pma and Pmb are defined based on the intersections of the planes Pka and Pkb representing the end surfaces Sa and Sb and the center axes CLa and CLb of the workpiece WK, the end surfaces Sa and Sb are in relation to the center axis. Even if it is not completely vertical or the end is slightly bent, the measurement planes Pma and Pmb can be defined on the basis of the exact center point on the end surfaces Sa and Sb. In step S612 in the workpiece measurement subprogram, it is determined whether or not to measure the length of the workpiece WK according to the inclination of the end surfaces Sa and Sb, and the end surfaces Sa and Sb are positioned with respect to the axis of the workpiece WK. If it is tilted more than the fixed amount, the length measurement of the workpiece WK is not executed. Thereby, the length measurement of the workpiece WK can be performed only when the end surfaces Sa and Sb are deviated from the perpendicular to the axis of the workpiece WK by an angle within a predetermined range. The comparison can be made more accurately.

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

上記実施形態においては、ワークWKの各端部に対応させてそれぞれ基準面Pka,Pkbを定義するようにしたが、ワークWKの長さが短い場合など、3次元形状測定装置20A,20Bの測定対象空間が重なる場合は、同ワークWKの両端部に対応する1つの基準面Pkを定義するようにしてもよい。この場合、3次元形状測定装置20A,20Bの両測定対象空間内に基準面設定治具50を配置(例えば、基準物体40の中央部)する。これによれば、基準面Pkを設定する作業が1回で済み、基準面Pkの設定作業を効率的にできる。また、1つの基準面Pkに基づいて基準距離Lの計算や各種平面の設定を行うことができるので、ワークWKの長さ測定をより精度良く行うことができる。 In the above embodiment, the reference planes Pka and Pkb are defined in correspondence with the respective end portions of the workpiece WK. However, when the length of the workpiece WK is short, the measurement by the three-dimensional shape measuring apparatuses 20A and 20B is performed. When the target spaces overlap, one reference plane Pk corresponding to both ends of the work WK may be defined. In this case, the reference plane setting jig 50 is disposed in both the measurement target spaces of the three-dimensional shape measuring apparatuses 20A and 20B (for example, the central portion of the reference object 40). According to this, the work of setting the reference surface Pk is only required once, and the setting work of the reference surface Pk can be performed efficiently. Further, since it is possible to set the calculations and various planes of the reference distance L 0 based on a single reference plane Pk, it can be performed more accurately the length measurement of the workpiece WK.

また、上記実施形態においては、基準面設定治具50を用いて基準面Pka,Pkbを定義するように構成したが、これに限定されるものではない。例えば、基準物体40における端面40a,40bは、同基準物体40の軸線に対して直交しているため、同端面40a,40bを表す3次元形状データ群を用いて基準面Pka,Pkbを定義することもできる。これによれば、基準面設定治具50が不要になるため基準面設定作業を効率的に行うことができる。なお、この場合、端面40a,40bは面積が小さいため、比較的半径が小さなワークWKの長さ測定において有効である。   In the above embodiment, the reference planes Pka and Pkb are defined using the reference plane setting jig 50, but the present invention is not limited to this. For example, since the end surfaces 40a and 40b of the reference object 40 are orthogonal to the axis of the reference object 40, the reference surfaces Pka and Pkb are defined using a three-dimensional shape data group representing the end surfaces 40a and 40b. You can also According to this, since the reference plane setting jig 50 becomes unnecessary, the reference plane setting work can be performed efficiently. In this case, since the end surfaces 40a and 40b have a small area, they are effective in measuring the length of the workpiece WK having a relatively small radius.

また、上記実施形態においては、3次元形状測定装置20A,20Bの各座標系A,B内においてそれぞれ3つの領域を予め設定し、同設定した領域内に存在するサブ3次元形状データ群Daw,Dbwを抽出して、3つのワークWKに対応するサブ3次元形状データ群Daw,Dbwをそれぞれ分類したが、これに限定されるものではない。例えば、ステップS506にて抽出したワークWKの表面形状を表すサブ3次元形状データ群Daw,Dbwのうち、3次元形状測定装置20A,20Bに最も近い座標値(図14中、矢印Aで示した付近の3次元データ)および同座標値から図示下側に存在する座標値を所定数だけ抽出し、同抽出した各座標値を前記式1に示される平面の式にそれぞれ代入して最小2乗法により仮の平面を定義する。そして、同定義した各仮の平面に対して所定の範囲に属する各サブ3次元形状データ群Daw,Dbwの各座標値をそれぞれ抽出し、同抽出された各座標値を再度前記式1に代入して最小2乗法により平面をそれぞれ定義する。これにより、3次元形状測定装置20A,20Bにそれぞれ面するワークWKのうち最も3次元形状測定装置20A,20Bに近いワークWKの端面Saを含む平面Pa,Pbがそれぞれ定義される。この平面Pa,Pbは、ワークWKの軸線方向に直交する平面である。   Further, in the above embodiment, three regions are preset in each of the coordinate systems A and B of the three-dimensional shape measuring apparatuses 20A and 20B, and the sub three-dimensional shape data group Daw, Although Dbw is extracted and the sub three-dimensional shape data groups Daw and Dbw corresponding to the three workpieces WK are classified, the present invention is not limited to this. For example, among the sub three-dimensional shape data groups Daw and Dbw representing the surface shape of the workpiece WK extracted in step S506, the coordinate values closest to the three-dimensional shape measuring apparatuses 20A and 20B (indicated by an arrow A in FIG. 14). A predetermined number of coordinate values existing on the lower side of the figure are extracted from the three-dimensional data in the vicinity) and the same coordinate values, and each of the extracted coordinate values is substituted into the plane equation shown in Equation 1 to obtain the least square method Defines a temporary plane. Then, each coordinate value of each of the sub three-dimensional shape data groups Daw and Dbw belonging to a predetermined range with respect to each of the defined temporary planes is extracted, and each of the extracted coordinate values is substituted into the equation 1 again. Then, each plane is defined by the least square method. Thereby, planes Pa and Pb including the end surface Sa of the workpiece WK closest to the three-dimensional shape measuring devices 20A and 20B among the workpieces WK facing the three-dimensional shape measuring devices 20A and 20B, respectively, are defined. The planes Pa and Pb are planes orthogonal to the axial direction of the workpiece WK.

次に、3次元画像データ処理装置32は、3次元形状測定装置20A,20Bにおける測定対象空間を前記基準孔中心計算サブプログラムにおける単位ブロックと同様の単位ブロックによって分割する。基本的には、ワークWKに関するサブ3次元形状データ群Daw,Dbwに基づき、測定対象空間内のうちサブ3次元形状データ群Daw,Dbwが存在する空間を単位ブロックで立体的に分割する。分割は、前記平面Pa,Pbに沿って単位ブロックを並べていく方法で行う。この場合、単位ブロックの大きさは、ワークWKの一部が存在することを確認可能である程度に小さく設定され、例えば、ワークWKの端面Sa,Sbを縦横8個ずつの単位ブロック内において包含するためのサイズに設定する。   Next, the three-dimensional image data processing device 32 divides the measurement target space in the three-dimensional shape measuring devices 20A and 20B into unit blocks similar to the unit blocks in the reference hole center calculation subprogram. Basically, based on the sub three-dimensional shape data groups Daw and Dbw related to the workpiece WK, the space where the sub three-dimensional shape data groups Daw and Dbw exist in the measurement target space is three-dimensionally divided into unit blocks. The division is performed by a method of arranging unit blocks along the planes Pa and Pb. In this case, the size of the unit block is set so small that it can be confirmed that a part of the work WK is present. For example, the end faces Sa and Sb of the work WK are included in eight unit blocks in the vertical and horizontal directions. Set the size for.

そして、この縦横8個ずつの単位ブロックの集合を探索ブロックとして単位ブロックを単位として平面Pa,Pbに沿って移動させ、ワークWKの端面Sa,Sbを探索する。この場合、ワークWKの端面Sa,Sbの探索は、サブ3次元形状データ群Daw,Dbwが存在する単位ブロックを予め抽出しておき、探索ブロック内に存在する単位ブロック(サブ3次元形状データ群Daw,Dbwが存在する単位ブロック)の数および配置の仕方によりワークWKの端面Sa,Sbを検出する。そして、ワークWKの端面Sa、Sbが検出された場合には、平面Pa,Pbに直交する方向(ワークWKの軸線方向)に存在する単位ブロックにおけるサブ3次元形状データをすべて抽出する。これにより、3つのワークWKに関するサブ3次元形状データ群Daw,Dbwをそれぞれ分類することができる。これによっても、上記と同様の効果が期待できる。   Then, the set of 8 unit blocks in the vertical and horizontal directions is moved as a search block along the planes Pa and Pb with the unit block as a unit, and the end surfaces Sa and Sb of the workpiece WK are searched. In this case, for the search of the end faces Sa and Sb of the work WK, unit blocks in which the sub three-dimensional shape data groups Daw and Dbw exist are extracted in advance, and unit blocks (sub three-dimensional shape data group in the search blocks) are extracted. The end surfaces Sa and Sb of the workpiece WK are detected based on the number of unit units (Daw and Dbw) and how they are arranged. When the end surfaces Sa and Sb of the workpiece WK are detected, all the sub three-dimensional shape data in the unit block existing in the direction orthogonal to the planes Pa and Pb (the axial direction of the workpiece WK) are extracted. Thereby, the sub three-dimensional shape data groups Daw and Dbw related to the three workpieces WK can be classified. Also by this, the same effect as the above can be expected.

また、上記実施形態においては、測定用平面Pma,Pmbを定義するためのワークWKの各端面Sa,Sb上の点として、各平面Pwa,Pwbと各中心軸CLa,CLbとの各交点、すなわち、同各端面Sa,Sbの各中心点を用いてそれぞれ測定用平面Pma,Pmbを定義するようにしたが、これに限定されるものではない。例えば、各平面Pwa,Pwbと各中心軸CLa,CLbとの各交点に代えて、図13に示すワーク測定サブプログラムにおけるステップS618による各端面Sa,Sbの各中心座標Cwa,Cwbを用いて測定用平面Pma,Pmbをそれぞれ定義するようにしてもよい。この場合、各中心座標Cwa,Cwbは、各端面Sa,Sbをそれぞれ定義するサブ3次元形状データ群Daw,Dbwにより計算されており、同端面Sa,Sbにおける重心点とも言える点である。これによっても、上記と同様の効果が期待できる。   In the above embodiment, the points on the end surfaces Sa and Sb of the workpiece WK for defining the measurement planes Pma and Pmb are the intersections of the planes Pwa and Pwb and the central axes CLa and CLb, that is, The measurement planes Pma and Pmb are defined using the center points of the end surfaces Sa and Sb, respectively, but the present invention is not limited to this. For example, instead of the intersections between the planes Pwa and Pwb and the central axes CLa and CLb, the measurement is performed using the center coordinates Cwa and Cwb of the end faces Sa and Sb in step S618 in the workpiece measurement subprogram shown in FIG. The planes for use Pma and Pmb may be defined respectively. In this case, the central coordinates Cwa and Cwb are calculated by the sub three-dimensional shape data groups Daw and Dbw that define the end faces Sa and Sb, respectively, and can be said to be the center of gravity points on the end faces Sa and Sb. Also by this, the same effect as the above can be expected.

また、ワークWKの長さ測定の対象となる軸線上において、最も長い長さを測定する場合には、各端面Sa,Sbをそれぞれ定義するサブ3次元形状データ群Daw,Dbwのうち3次元形状測定装置20A,20Bに最も近い座標値を用いて測定用平面Pma,Pmbをそれぞれ定義するようにしてもよい。これによれば、ワークWKの各端面Sa,Sbのうち、それぞれ最も外側に存在する端面Sa,Sb上の点に基づいてワークWKの長さ測定を行うことができる。また、これとは逆に、ワークWKの長さ測定の対象となる軸線上において、最も短い長さを測定する場合には、各端面Sa,Sbをそれぞれ定義するサブ3次元形状データ群Daw,Dbwのうち3次元形状測定装置20A,20Bに最も遠い座標値を用いて測定用平面Pma,Pmbをそれぞれ定義するようにしてもよい。これによれば、ワークWKの各端面Sa,Sbのうち、それぞれ最も内側に存在する端面Sa,Sb上の点に基づいてワークWKの長さ測定を行うことができる。これらによれば、端面Sa,Sbが軸線に対して傾斜している場合(図17(B),(C))、ワークWKの長さとして端面Sa,Sbにおけるどの位置に基づいて測定するかについて、必要に応じて測定用平面Pma,Pmbを定義する位置を設定でき、多様な長さ測定が可能となる。   When measuring the longest length on the axis to be measured for the length of the workpiece WK, the three-dimensional shape of the sub-three-dimensional shape data groups Daw and Dbw defining the end surfaces Sa and Sb, respectively. The measurement planes Pma and Pmb may be defined using coordinate values closest to the measurement devices 20A and 20B, respectively. According to this, the length measurement of the workpiece WK can be performed based on the points on the outermost end surfaces Sa and Sb of the end surfaces Sa and Sb of the workpiece WK. On the contrary, when measuring the shortest length on the axis to be measured for the length of the workpiece WK, the sub three-dimensional shape data group Daw, which defines the end faces Sa, Sb, respectively. The measurement planes Pma and Pmb may be defined using coordinate values farthest from the three-dimensional shape measuring apparatuses 20A and 20B in Dbw. According to this, the length of the workpiece WK can be measured based on the points on the end surfaces Sa and Sb that are present on the innermost side among the end surfaces Sa and Sb of the workpiece WK. According to these, when the end surfaces Sa and Sb are inclined with respect to the axis (FIGS. 17B and 17C), based on which position on the end surfaces Sa and Sb is measured as the length of the work WK. As described above, positions for defining the measurement planes Pma and Pmb can be set as necessary, and various length measurements can be performed.

また、上記実施形態においては、前記中心座標補正サブプログラムのステップS810による中心座標Cwa,Cwbの補正において、曲がりが検出された端部における中心軸の曲がり始めである交点P0と端面Saの中心座標Cwaとの円周上の長さLarcを計算し、同長さLarcを中心軸CLa上における交点P0の座標値に加算して中心座標Cwaを補正したが、これに限定されるものではない。すなわち、曲がりが検出された端部において同端部の曲がりがない場合(同端部が直線状である場合)における同端部の端面Sa,Sbの中心座標Cwa’,Cwb’が計算されればよい。例えば、ワークWKの端面Saの中心座標Cwaを通り中心軸CLaに垂直な平面を定義し、同平面と中心軸CLaとの交点を中心座標Cwa’としてもよい。これによれば、上記実施形態における中心座標Cwa’に対する近似値を簡単に計算することができる。   In the above embodiment, in the correction of the center coordinates Cwa and Cwb in step S810 of the center coordinate correction subprogram, the center coordinates of the intersection point P0 and the end surface Sa at which the center axis begins to bend at the end where the bend is detected. Although the length Larc on the circumference with Cwa is calculated and the same length Larc is added to the coordinate value of the intersection point P0 on the center axis CLa to correct the center coordinate Cwa, the present invention is not limited to this. That is, the center coordinates Cwa ′ and Cwb ′ of the end surfaces Sa and Sb of the same end when there is no bend at the end where the bend is detected (when the end is linear) are calculated. That's fine. For example, a plane that passes through the center coordinate Cwa of the end surface Sa of the workpiece WK and is perpendicular to the center axis CLa may be defined, and the intersection of the plane and the center axis CLa may be set as the center coordinate Cwa ′. According to this, it is possible to easily calculate the approximate value for the center coordinate Cwa 'in the above embodiment.

また、上記実施形態においては、前記ワーク長測定プログラムにおけるステップS612およびS620にてワークWKの端部における形状を判定するとともに、ステップS616およびS624にて同端部における端面が傾斜しているまたは同端部が曲がっている場合における各対応処理を実行しているが、測定対象であるワークWKの中に同端部における端面が傾斜しているまたは同端部が曲がっているワークWKが存在しない場合には、前記各処理は不要である。これにより、ワーク長測定プログラムの構成を簡単にすることができる。   In the above embodiment, the shape of the end of the work WK is determined in steps S612 and S620 in the work length measurement program, and the end face of the end is inclined or the same in steps S616 and S624. Each corresponding process is executed when the end is bent, but there is no work WK in which the end face at the end is inclined or the end is bent in the work WK to be measured. In some cases, the processes are not necessary. Thereby, the structure of the workpiece length measurement program can be simplified.

また、上記実施形態においては、2つの3次元形状測定装置20A,20Bを用いてワークWKの長さ測定を行うように構成したが、1つの3次元形状測定装置20を用いてワークWKの長さ測定を行うようにしてもよい。例えば、ワークWKの一端を特定の位置に位置決めする(例えば、ワークWKの一端を位置決めするストッパーを用意する)とともに、同ワークWKの他端の端面が3次元形状測定装置20に面するようにワークWKを配置する。この場合、ワークWKの一端が位置決めされる特定の位置と3次元形状測定装置20の座標系の原点とのワークWKの軸線方向上の距離、または同特定の位置と基準面定義プログラムにより定義される基準面との距離を基準距離として3次元形状測定装置20に予め記憶すればよい。これによっても、上記と同様の効果が期待できる。   In the above embodiment, the length of the workpiece WK is measured using the two three-dimensional shape measuring devices 20A and 20B. However, the length of the workpiece WK is measured using the one three-dimensional shape measuring device 20. Measurement may be performed. For example, one end of the workpiece WK is positioned at a specific position (for example, a stopper for positioning one end of the workpiece WK is prepared), and the other end face of the workpiece WK faces the three-dimensional shape measuring apparatus 20. Arrange the work WK. In this case, the distance in the axial direction of the workpiece WK between the specific position where one end of the workpiece WK is positioned and the origin of the coordinate system of the three-dimensional shape measuring apparatus 20 or the specific position and the reference plane definition program are defined. What is necessary is just to memorize | store beforehand in the three-dimensional shape measuring apparatus 20 by making distance with the reference plane which becomes a reference | standard distance into. Also by this, the same effect as the above can be expected.

また、上記実施形態においては、3つのワークWKの長さ測定を同時に行うように構成したが、同時に測定するワークWKの数は必要に応じて適宜設定されるものであり、これに限定されるものではない。したがって、1つのワークWKの長さ測定を行うようにしてもよいし、4つ以上のワークWKの長さ測定を同時に行うように構成してもよい。これによっても、上記と同様の効果が期待できる。   Moreover, in the said embodiment, although comprised so that the length measurement of three workpiece | work WK might be performed simultaneously, the number of the workpiece | work WK measured simultaneously is suitably set as needed, and is limited to this. It is not a thing. Therefore, the length measurement of one workpiece WK may be performed, or the length measurement of four or more workpieces WK may be performed simultaneously. Also by this, the same effect as the above can be expected.

また、上記実施形態においては、測定対象である長尺状のワークWKとして丸棒体を用いたが、これに限定されるものではなく、他の断面形状、例えば三角および四角などの多角形状の断面形状を有する長尺材を測定対象としてもよい。これによっても、上記と同様の効果が期待できる。   Moreover, in the said embodiment, although the round bar was used as the elongate workpiece | work WK which is a measuring object, it is not limited to this, For example, polygonal shapes, such as a triangle and a square, are not limited to this. A long material having a cross-sectional shape may be a measurement target. Also by this, the same effect as the above can be expected.

また、上記実施形態においては、直方体状に形成された本体部50aの下面中央部に、支持台10の支持部10bと同様のV溝状の溝部50bを有するとともに、同本体部50aの両端部における上面から下面に貫通する基準孔50c,50dをそれぞれ有して形成された基準面設定治具50を用いて基準面Pka,Pkbを定義したが、基準面設定治具50の形状は、ワークWKの軸線方向に直交する平面を基準面として定義できれば、これに限定されるものでない。例えば、本体部50aにおける3次元形状測定装置20A,20Bに面する側面を大きく形成してもよい。この場合、同側面を含む平面を計算し、同平面を基準面Pka,Pkbとして定義すればよい。これによっても、上記と同様の効果が期待できる。   Moreover, in the said embodiment, while having the V-groove-shaped groove part 50b similar to the support part 10b of the support stand 10 in the center part of the lower surface of the main-body part 50a formed in the rectangular parallelepiped shape, both ends of the main-body part 50a The reference planes Pka and Pkb are defined using the reference plane setting jig 50 formed so as to have reference holes 50c and 50d penetrating from the upper surface to the lower surface, respectively. If a plane perpendicular to the axial direction of WK can be defined as the reference plane, the present invention is not limited to this. For example, the side surfaces facing the three-dimensional shape measuring apparatuses 20A and 20B in the main body 50a may be formed larger. In this case, a plane including the same side surface is calculated, and the same plane may be defined as the reference planes Pka and Pkb. Also by this, the same effect as the above can be expected.

また、上記実施形態においては、支持台10上の載置したワークWKに対してワークWKの長さ測定を行う長さ測定装置に本発明を適用した例について説明した。しかし、これに代えて、本発明を、生産ライン、検査ラインなどの各種ライン上を次々に移動するワークWKの長さを順次に測定するようにした長さ測定装置にも適用してもよい。この場合、ワークWKを支持する支持手段として例えば、ローラーの周面に螺旋状にV字溝を形成したローラーテーブルを用いるとよい。   Moreover, in the said embodiment, the example which applied this invention to the length measuring apparatus which measures the length of the workpiece | work WK with respect to the workpiece | work WK mounted on the support stand 10 was demonstrated. However, instead of this, the present invention may also be applied to a length measuring device that sequentially measures the length of the workpiece WK that moves successively on various lines such as a production line and an inspection line. . In this case, as a support means for supporting the workpiece WK, for example, a roller table in which a V-shaped groove is spirally formed on the peripheral surface of the roller may be used.

本発明の一実施形態に係る長さ測定装置の全体を示す概略図である。It is the schematic which shows the whole length measuring apparatus which concerns on one Embodiment of this invention. 図1の長さ測定装置に用いられる支持台の斜視図である。It is a perspective view of the support stand used for the length measuring apparatus of FIG. 図1の3次元画像データ処理装置によって実行されるワーク長測定プログラムのフローチャートである。2 is a flowchart of a work length measurement program executed by the three-dimensional image data processing apparatus of FIG. 図1の長さ測定装置における3次元形状測定装置、支持台、基準物体および基準面設定治具の位置関係を示す説明図である。It is explanatory drawing which shows the positional relationship of the three-dimensional shape measuring apparatus in the length measuring apparatus of FIG. 1, a support stand, a reference | standard object, and a reference plane setting jig | tool. 図1の3次元画像データ処理装置によって実行される基準距離計算サブプログラムのフローチャートである。3 is a flowchart of a reference distance calculation subprogram executed by the three-dimensional image data processing apparatus of FIG. 1. 図1の3次元画像データ処理装置によって実行される基準面定義サブプログラムのフローチャートである。3 is a flowchart of a reference plane definition subprogram executed by the three-dimensional image data processing apparatus of FIG. 1. 図1の長さ測定装置に用いられる基準面設定治具の配置状態を示す斜視図である。It is a perspective view which shows the arrangement | positioning state of the reference plane setting jig | tool used for the length measuring apparatus of FIG. 図1の3次元画像データ処理装置によって実行される基準孔中心計算サブプログラムのフローチャートである。3 is a flowchart of a reference hole center calculation subprogram executed by the three-dimensional image data processing apparatus of FIG. 1. 探索領域を2次元的に示す概念図である。It is a conceptual diagram which shows a search area two-dimensionally. 図9に示す探索領域と抽出された単位ブロックとの関係を2次元的に示す概念図である。FIG. 10 is a conceptual diagram two-dimensionally showing the relationship between the search area shown in FIG. 9 and extracted unit blocks. (A)〜(D)は、探索領域内における探索ブロックの移動を2次元的に示す概念図である。(A)-(D) are the conceptual diagrams which show the movement of the search block within a search area two-dimensionally. 図1の3次元画像データ処理装置によって実行される測定対象空間情報取得サブプログラムのフローチャートである。It is a flowchart of the measurement object space information acquisition subprogram executed by the three-dimensional image data processing apparatus of FIG. 図1の3次元画像データ処理装置によって実行されるワーク測定サブプログラムのフローチャートである。It is a flowchart of the workpiece | work measurement subprogram performed by the three-dimensional image data processing apparatus of FIG. サブ3次元形状データ群の各座標値を点群としてワーク上に現した説明図である。It is explanatory drawing which expressed on the workpiece | work each coordinate value of a sub three-dimensional shape data group as a point group. 図1の長さ測定装置における支持台およびワークに対する基準面および端面を表す平面の位置関係を示す説明図である。It is explanatory drawing which shows the positional relationship of the plane showing the reference plane and end surface with respect to the support stand and a workpiece | work in the length measuring apparatus of FIG. 図1の3次元画像データ処理装置によって実行されるワークの中心軸定義サブプログラムのフローチャートである。It is a flowchart of the central axis definition subprogram of the workpiece | work performed by the three-dimensional image data processing apparatus of FIG. (A)〜(C)はワークの端面に定義される各種平面の位置関係を端面の形状に応じて示した説明図である。(A)-(C) is explanatory drawing which showed the positional relationship of the various planes defined in the end surface of a workpiece | work according to the shape of an end surface. 図1の3次元画像データ処理装置によって実行される中心座標補正サブプログラムのフローチャートである。It is a flowchart of the center coordinate correction | amendment subprogram performed by the three-dimensional image data processing apparatus of FIG. (A),(B)は、曲がった形状のワーク端部に各種平面および座標値を計算する過程を説明するための説明図である。(A), (B) is explanatory drawing for demonstrating the process of calculating various planes and coordinate values to the workpiece | work edge part of the curved shape. 曲がった形状のワーク端部における中心座標の補正過程を説明するための説明図である。It is explanatory drawing for demonstrating the correction | amendment process of the center coordinate in the workpiece | work edge part of the curved shape. 図1の長尺状物体長さ測定装置における3次元形状測定装置およびワークに対する測定用平面の関係を示す説明図である。It is explanatory drawing which shows the relationship of the measurement plane with respect to the three-dimensional shape measuring apparatus and workpiece | work in the elongate object length measuring apparatus of FIG.

符号の説明Explanation of symbols

WK…ワーク、10…支持台、20A,20B…3次元形状測定装置、31…コントローラ、32…3次元画像データ処理装置、33…入力装置、34…表示装置、40…基準物体、50…基準面設定治具。
WK: Work, 10: Support base, 20A, 20B ... 3D shape measuring device, 31 ... Controller, 32 ... 3D image data processing device, 33 ... Input device, 34 ... Display device, 40 ... Reference object, 50 ... Reference Surface setting jig.

Claims (27)

測定対象物の長さを測定する長さ測定装置において、
測定対象物を支持する支持手段と、
測定対象物に向けて光を照射して同測定対象物からの反射光を用いて、同測定対象物における長さ測定の対象となる端面を含む端部を少なくとも含む測定対象物の表面の3次元形状を測定する3次元形状測定装置と、
前記支持手段に支持される測定対象物における長さ測定の対象となる端面間の軸線と直交する平面を基準面として定義する基準面定義手段と、
前記3次元形状測定装置の座標系内における所定の第1測定基準位置と、同3次元形状測定装置により測定される測定対象物の端部の反対側の端部における端面の位置を特定するための所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として記憶する記憶手段と、
前記3次元形状測定装置によって測定された測定対象物の3次元表面形状を表す3次元形状データ群を生成する3次元形状データ群生成手段と、
前記生成された3次元形状データ群を用いて、前記測定対象物における長さ測定の対象となる端面を定義する端面定義手段と、
前記端面定義手段により定義された端面内の一点を含み、かつ前記基準面に平行な測定用平面を定義する測定用平面定義手段と、
前記測定用平面定義手段により定義された測定用平面と前記記憶装置に記憶された基準距離とを用いて、測定対象物の長さを計算する長さ計算手段とを備えたことを特徴とする長さ測定装置。
In a length measuring device that measures the length of a measurement object,
A support means for supporting the measurement object;
3 of the surface of the measurement object including at least an end portion including an end surface to be a length measurement target in the measurement object by irradiating light toward the measurement object and using reflected light from the measurement object A three-dimensional shape measuring device for measuring a three-dimensional shape;
Reference plane defining means for defining a plane perpendicular to the axis between the end faces to be measured in the measurement object supported by the support means as a reference plane;
In order to specify the predetermined first measurement reference position in the coordinate system of the three-dimensional shape measuring apparatus and the position of the end face at the end opposite to the end of the measurement object measured by the three-dimensional shape measuring apparatus. Storage means for storing a distance along the axis of the measurement object from the predetermined second measurement reference position as a reference distance;
Three-dimensional shape data group generation means for generating a three-dimensional shape data group representing the three-dimensional surface shape of the measurement object measured by the three-dimensional shape measurement apparatus;
Using the generated three-dimensional shape data group, an end surface defining means for defining an end surface to be a length measurement target in the measurement object;
A measuring plane defining means for defining a measuring plane that includes one point in the end face defined by the end face defining means and is parallel to the reference plane;
A length calculation means for calculating the length of the measurement object using the measurement plane defined by the measurement plane definition means and the reference distance stored in the storage device is provided. Length measuring device.
請求項1に記載の長さ測定装置において、
前記第1測定基準位置は、前記3次元形状測定装置の座標系における座標原点であり、前記第2測定基準位置は、前記3次元形状測定装置により測定される測定対象物の端部とは反対側の端部を特定の位置に位置決めする位置である長さ測定装置。
The length measuring device according to claim 1,
The first measurement reference position is a coordinate origin in the coordinate system of the three-dimensional shape measurement apparatus, and the second measurement reference position is opposite to an end of the measurement object measured by the three-dimensional shape measurement apparatus. A length measuring device which is a position for positioning a side end portion at a specific position.
測定対象物の長さを測定する長さ測定装置において、
測定対象物を支持する支持手段と、
測定対象物に向けてそれぞれ光を照射して同測定対象物からの各反射光を用いて、同測定対象物における長さ測定の対象となる2つの端面をそれぞれ含む各端部をそれぞれ少なくとも含む測定対象物の表面の3次元形状をそれぞれ測定する2つの3次元形状測定装置と、
前記支持手段に支持される測定対象物における長さ測定の対象となる2つの端面間の軸線と直交する平面を基準面として定義する基準面定義手段と、
前記2つの3次元形状測定装置のうち、一方の3次元形状測定装置の座標系内における所定の第1測定基準位置と、他方の3次元形状測定装置の座標系内における所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として記憶する記憶手段と、
前記2つの3次元形状測定装置によってそれぞれ測定された測定対象物の3次元表面形状を表す3次元形状データ群をそれぞれ生成する3次元形状データ群生成手段と、
前記それぞれ生成された各3次元形状データ群を用いて、前記測定対象物における長さ測定の対象となる2つの端面をそれぞれ定義する端面定義手段と、
前記端面定義手段により定義された各端面内の一点を含み、かつ前記基準面に平行な測定用平面をそれぞれ定義する測定用平面定義手段と、
前記一方の3次元形状測定装置に対応する測定用平面と前記第1測定基準位置との距離を第1距離として計算するとともに、前記他方の3次元形状測定装置に対応する測定用平面と前記第2測定基準位置との距離を第2距離として計算して、前記記憶装置に記憶された基準距離から前記第1距離および第2距離を減算することにより測定対象物の長さを計算する長さ計算手段とを備えたことを特徴とする長さ測定装置。
In a length measuring device that measures the length of a measurement object,
A support means for supporting the measurement object;
Irradiate light toward the measurement object and use each reflected light from the measurement object to include at least each end part including two end surfaces to be subjected to length measurement in the measurement object. Two three-dimensional shape measuring devices for measuring the three-dimensional shape of the surface of the measuring object,
A reference surface defining means for defining, as a reference surface, a plane perpendicular to an axis between two end faces to be measured in length in a measurement object supported by the support means;
Of the two three-dimensional shape measuring devices, a predetermined first measurement reference position in the coordinate system of one three-dimensional shape measuring device and a predetermined second measurement reference in the coordinate system of the other three-dimensional shape measuring device. Storage means for storing, as a reference distance, a distance along the axis of the measurement object with respect to the position;
Three-dimensional shape data group generating means for generating three-dimensional shape data groups each representing a three-dimensional surface shape of the measurement object measured by the two three-dimensional shape measurement devices;
Using each of the generated three-dimensional shape data groups, end face defining means for defining two end faces to be length measurement targets in the measurement object,
Measuring plane defining means for defining a measuring plane that includes one point in each end face defined by the end face defining means and is parallel to the reference plane;
The distance between the measurement plane corresponding to the one three-dimensional shape measurement apparatus and the first measurement reference position is calculated as a first distance, and the measurement plane corresponding to the other three-dimensional shape measurement apparatus and the first 2 A length for calculating the length of the measurement object by calculating the distance from the measurement reference position as the second distance and subtracting the first distance and the second distance from the reference distance stored in the storage device. A length measuring device comprising a calculating means.
請求項3に記載の長さ測定装置において、
前記第1測定基準位置は、前記一方の3次元形状測定装置の座標系における座標原点であり、前記第2測定基準位置は、前記他方の3次元形状測定装置の座標系における座標原点である長さ測定装置。
In the length measuring device according to claim 3,
The first measurement reference position is a coordinate origin in the coordinate system of the one three-dimensional shape measurement apparatus, and the second measurement reference position is a coordinate origin in the coordinate system of the other three-dimensional shape measurement apparatus. Measuring device.
請求項1ないし請求項4のうちのいずれか1つに記載の長さ測定装置において、
前記端面定義手段により定義された各端面において前記測定用平面に含まれる一点は、同端面における中心点、同端面における重心点、同端面に面する3次元形状測定装置に対して最も近い点および同端面に面する3次元形状測定装置に対して最も遠い点のうちのいずれか1つである長さ測定装置。
In the length measuring device according to any one of claims 1 to 4,
One point included in the measurement plane in each end face defined by the end face defining means is a center point on the end face, a center point on the end face, a point closest to the three-dimensional shape measuring apparatus facing the end face, and A length measuring device which is one of the farthest points from the three-dimensional shape measuring device facing the end face.
請求項1ないし請求項4のうちのいずれか1つに記載の長さ測定装置において、さらに、
前記測定用平面定義手段は、
前記3次元形状データ群のうち測定対象物の端部における外周面の表面形状を表す3次元データを用いて、同測定対象物における中心軸を計算する中心軸計算手段と、
前記端面定義手段により定義された端面と中心軸計算手段により計算された中心軸との交点を前記測定対象物の端面における中心点として計算する端面中心計算手段とを備え、
前記端面中心計算手段にて計算された端面の中心点を含むとともに前記基準面に平行な平面を測定用平面として定義する長さ測定装置。
The length measuring device according to any one of claims 1 to 4, further comprising:
The measurement plane defining means includes:
Center axis calculation means for calculating the center axis of the measurement object using the three-dimensional data representing the surface shape of the outer peripheral surface at the end of the measurement object in the three-dimensional shape data group;
End surface center calculating means for calculating the intersection of the end surface defined by the end face defining means and the central axis calculated by the central axis calculating means as the center point of the end face of the measurement object;
A length measuring device that defines a plane that includes the center point of the end face calculated by the end face center calculating means and is parallel to the reference plane as a measuring plane.
請求項1ないし請求項6のうちのいずれか1つに記載の長さ測定装置において、さらに、
前記端面定義手段により定義された端面の前記基準面に対する角度が所定の範囲内であるとき、測定対象物の長さ測定が可能であると判定する長さ測定可否判定手段を有し、
前記長さ計算手段は、前記長さ測定可否判定手段により測定対象物の長さ測定が可能と判定されたとき、同測定対象物の長さを計算する長さ測定装置。
The length measuring device according to any one of claims 1 to 6, further comprising:
When the angle of the end face defined by the end face defining means with respect to the reference plane is within a predetermined range, there is a length measurement availability determination means that determines that the length of the measurement object can be measured,
The length calculation unit is a length measurement device that calculates the length of the measurement target when the length measurement availability determination unit determines that the length of the measurement target can be measured.
測定対象物の長さを測定する長さ測定装置において、
測定対象物を支持する支持手段と、
測定対象物に向けて光を照射して同測定対象物からの反射光を用いて、同測定対象物における長さ測定の対象となる端面を含む端部を少なくとも含む測定対象物の表面の3次元形状を測定する3次元形状測定装置と、
前記支持手段に支持される測定対象物における長さ測定の対象となる端面間の軸線と直交する平面を基準面として定義する基準面定義手段と、
前記3次元形状測定装置の座標系内における所定の第1測定基準位置と、同3次元形状測定装置により測定される測定対象物の端部の反対側の端部における端面の位置を特定するための所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として記憶する記憶手段と、
前記3次元形状測定装置によって測定された前記測定対象物の3次元表面形状を表す3次元形状データ群を生成する3次元形状データ群生成手段と、
前記生成された3次元形状データ群を用いて、前記測定対象物における長さ測定の対象となる端面を定義する端面定義手段と、
前記端面定義手段により定義された端面内の一点を含み、かつ前記基準面に平行な測定用平面を定義する測定用平面定義手段と、
前記3次元形状データ群のうち測定対象物における端部の表面形状を表す3次元データを用いて、同測定対象物における端部の曲がりの有無を判定する曲がり判定手段と、
前記曲がり判定手段により測定対象物における端部の曲がりが有りと判定されたとき、前記測定用平面定義手段にて定義された測定用平面を、前記測定対象物における端部が直線状である場合における測定用平面に補正する測定用平面補正手段と、
前記測定用平面定義手段により定義された測定用平面または前記測定用平面補正手段により補正した測定用平面と前記記憶装置に記憶された基準距離とを用いて、測定対象物の長さを計算する長さ計算手段とを備えたことを特徴とする長さ測定装置。
In a length measuring device that measures the length of a measurement object,
A support means for supporting the measurement object;
3 of the surface of the measurement object including at least an end portion including an end surface to be a length measurement target in the measurement object by irradiating light toward the measurement object and using reflected light from the measurement object A three-dimensional shape measuring device for measuring a three-dimensional shape;
Reference plane defining means for defining a plane perpendicular to the axis between the end faces to be measured in the measurement object supported by the support means as a reference plane;
In order to specify the predetermined first measurement reference position in the coordinate system of the three-dimensional shape measuring apparatus and the position of the end face at the end opposite to the end of the measurement object measured by the three-dimensional shape measuring apparatus. Storage means for storing a distance along the axis of the measurement object from the predetermined second measurement reference position as a reference distance;
Three-dimensional shape data group generation means for generating a three-dimensional shape data group representing a three-dimensional surface shape of the measurement object measured by the three-dimensional shape measurement apparatus;
Using the generated three-dimensional shape data group, an end surface defining means for defining an end surface to be a length measurement target in the measurement object;
A measuring plane defining means for defining a measuring plane that includes one point in the end face defined by the end face defining means and is parallel to the reference plane;
Bend determination means for determining the presence or absence of bending of the end of the measurement object using the three-dimensional data representing the surface shape of the end of the measurement object in the three-dimensional shape data group;
When the measurement of the measurement plane defined by the measurement plane definition means is straight when the end of the measurement object is straight when it is determined by the bending determination means that the end of the measurement object is bent Measuring plane correction means for correcting to the measuring plane in
The length of the measurement object is calculated using the measurement plane defined by the measurement plane definition means or the measurement plane corrected by the measurement plane correction means and the reference distance stored in the storage device. A length measuring device comprising a length calculating means.
請求項1ないし請求項8のうちのいずれか1つに記載の長さ測定装置において、さらに、
前記支持手段に支持された複数の測定対象物に対応して生成される3次元形状データ群を、同複数の測定対象ごとに分類する3次元形状データ分類手段を有し、
前記端面定義手段は、前記複数の測定対象物ごとに長さ測定の対象となる端面を定義し、
前記測定用平面定義手段は、前記複数の測定対象物ごとに測定用平面を定義し、
前記長さ計算手段は、前記複数の測定対象物ごとに測定対象物の長さを計算する長さ測定装置。
The length measuring device according to any one of claims 1 to 8, further comprising:
3D shape data classification means for classifying a 3D shape data group generated corresponding to a plurality of measurement objects supported by the support means for each of the plurality of measurement objects;
The end face defining means defines an end face to be subjected to length measurement for each of the plurality of measurement objects,
The measurement plane defining means defines a measurement plane for each of the plurality of measurement objects,
The length calculation unit is a length measurement device that calculates the length of a measurement object for each of the plurality of measurement objects.
測定対象物の長さを測定する長さ測定方法において、
測定対象物を支持する支持手段と、物体の表面の3次元形状を測定する3次元形状測定装置とを用意し、
前記3次元形状測定装置の座標系内における所定の第1測定基準位置と、同3次元形状測定装置により測定される測定対象物の端部の反対側の端部における端面の位置を特定するための所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として記憶手段に記憶しておくとともに、前記支持手段に支持される測定対象物における長さ測定の対象となる端面間の軸線と直交する平面を基準面として定義しておき、
前記3次元形状測定装置の測定対象空間内に前記支持手段に支持された測定対象物における長さ測定の対象となる端面を含む端部を少なくとも配置した状態で、前記3次元形状測定装置に前記支持手段に支持された測定対象物に向けて光を照射させて同測定対象物からの反射光を用いて前記長さ測定の対象となる端面を含む端部を少なくとも含む測定対象物の表面の3次元形状を測定させ、同測定対象物の3次元表面形状を表す3次元形状データ群を生成する3次元形状データ群生成ステップと、
前記生成された3次元形状データ群を用いて、前記測定対象物における長さ測定の対象となる端面を定義する端面定義ステップと、
前記端面定義ステップにより定義された端面内の一点を含み、かつ前記基準面に平行な測定用平面を定義する測定用平面定義ステップと、
前記測定用平面定義ステップにより定義された測定用平面と前記記憶装置に記憶された基準距離とを用いて、測定対象物の長さを計算する長さ計算ステップとを含むことを特徴とする長さ測定方法。
In the length measurement method for measuring the length of the measurement object,
A supporting means for supporting the measurement object and a three-dimensional shape measuring device for measuring the three-dimensional shape of the surface of the object;
In order to specify the predetermined first measurement reference position in the coordinate system of the three-dimensional shape measuring apparatus and the position of the end face at the end opposite to the end of the measurement object measured by the three-dimensional shape measuring apparatus. The distance along the axis of the measurement object with respect to the predetermined second measurement reference position is stored in the storage means as a reference distance, and the length measurement object is supported on the measurement object supported by the support means. Define a plane perpendicular to the axis between the end faces as the reference plane,
In the state where at least an end portion including an end surface to be a length measurement target in the measurement object supported by the support means is arranged in the measurement target space of the three-dimensional shape measurement apparatus, the three-dimensional shape measurement apparatus The surface of the measurement object including at least an end including the end face to be subjected to the length measurement by irradiating light toward the measurement object supported by the support means and using the reflected light from the measurement object. A three-dimensional shape data group generation step for measuring a three-dimensional shape and generating a three-dimensional shape data group representing the three-dimensional surface shape of the measurement object;
Using the generated three-dimensional shape data group, an end face defining step for defining an end face to be a length measurement target in the measurement object;
A measuring plane defining step that defines a measuring plane that includes a point in the end face defined by the end face defining step and is parallel to the reference plane;
A length calculation step of calculating a length of the measurement object using the measurement plane defined by the measurement plane definition step and the reference distance stored in the storage device. Measuring method.
請求項10に記載の長さ測定方法において、
前記第1測定基準位置は、前記3次元形状測定装置の座標系における座標原点であり、前記第2測定基準位置は、前記3次元形状測定装置により測定される測定対象物の端部とは反対側の端部を特定の位置に位置決めする位置である長さ測定方法。
The length measuring method according to claim 10,
The first measurement reference position is a coordinate origin in the coordinate system of the three-dimensional shape measurement apparatus, and the second measurement reference position is opposite to an end of the measurement object measured by the three-dimensional shape measurement apparatus. A length measurement method which is a position for positioning the end on the side at a specific position.
測定対象物の長さを測定する長さ測定方法において、
測定対象物を支持する支持手段と、物体の表面の3次元形状を測定する2つの3次元形状測定装置とを用意し、
前記2つの3次元形状測定装置のうち、一方の3次元形状測定装置の座標系内における所定の第1測定基準位置と、他方の3次元形状測定装置の座標系内における所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として記憶手段に記憶しておくとともに、前記支持手段に支持される測定対象物における長さ測定の対象となる端面間の軸線と直交する平面を基準面として定義しておき、
前記2つの3次元形状測定装置の各測定対象空間内にそれぞれ前記支持手段に支持された測定対象物における長さの測定の対象となる2つの端面をそれぞれ含む各端部を少なくとも配置した状態で、前記2つの3次元形状測定装置に前記支持手段に支持された測定対象物に向けてそれぞれ光を照射させて同測定対象物からの各反射光を用いて前記長さ測定の対象となる2つの端面をそれぞれ含む各端部を少なくとも含む測定対象物の表面の3次元形状をそれぞれ測定させ、同測定対象物の各3次元表面形状を表す3次元形状データ群をそれぞれ生成する3次元形状データ群生成ステップと、
前記それぞれ生成された各3次元形状データ群を用いて、前記測定対象物における長さ測定の対象となる2つの端面をそれぞれ定義する端面定義ステップと、
前記端面定義ステップによりそれぞれ定義された各端面内の一点を含み、かつ前記基準面に平行な測定用平面をそれぞれ定義する測定用平面定義ステップと、
前記一方の3次元形状測定装置に対応する測定用平面と前記第1測定基準位置との距離を第1距離として計算するとともに、前記他方の3次元形状測定装置に対応する測定用平面と前記第2測定基準位置との距離を第2距離として計算して、前記記憶装置に記憶された基準距離から前記第1距離および第2距離を減算することにより測定対象物の長さを計算する長さ計算ステップとを含むことを特徴とする長さ測定方法。
In the length measurement method for measuring the length of the measurement object,
Preparing a supporting means for supporting the object to be measured and two three-dimensional shape measuring devices for measuring the three-dimensional shape of the surface of the object;
Of the two three-dimensional shape measuring devices, a predetermined first measurement reference position in the coordinate system of one three-dimensional shape measuring device and a predetermined second measurement reference in the coordinate system of the other three-dimensional shape measuring device. The distance along the axis of the measurement object with respect to the position is stored in the storage means as a reference distance, and orthogonal to the axis between the end surfaces to be measured for the length of the measurement object supported by the support means Define the plane to be used as the reference plane,
In a state where at least each end portion including each of two end faces to be subjected to measurement of the length of the measurement object supported by the support means is disposed in each measurement object space of the two three-dimensional shape measuring apparatuses. The two three-dimensional shape measuring devices are irradiated with light toward the measurement object supported by the support means, and the reflected light from the measurement object is used for the length measurement 2. Three-dimensional shape data for generating a three-dimensional shape data group representing each three-dimensional surface shape of the measurement object by measuring the three-dimensional shape of the surface of the measurement object including at least each end including each of the two end surfaces A group generation step;
Using each of the generated three-dimensional shape data groups, an end face definition step for defining two end faces to be subjected to length measurement in the measurement object,
A measuring plane defining step that defines a measuring plane that includes one point in each end face defined by the end face defining step and is parallel to the reference plane;
The distance between the measurement plane corresponding to the one three-dimensional shape measurement apparatus and the first measurement reference position is calculated as a first distance, and the measurement plane corresponding to the other three-dimensional shape measurement apparatus and the first 2 A length for calculating the length of the measurement object by calculating the distance from the measurement reference position as the second distance and subtracting the first distance and the second distance from the reference distance stored in the storage device. And a calculation step.
請求項12に記載の長さ測定方法において、
前記第1測定基準位置は、前記一方の3次元形状測定装置の座標系における座標原点であり、前記第2測定基準位置は、前記他方の3次元形状測定装置の座標系における座標原点である長さ測定方法。
The length measuring method according to claim 12,
The first measurement reference position is a coordinate origin in the coordinate system of the one three-dimensional shape measurement apparatus, and the second measurement reference position is a coordinate origin in the coordinate system of the other three-dimensional shape measurement apparatus. Measuring method.
請求項10ないし請求項14のうちのいずれか1つに記載の長さ測定方法において、
前記端面定義ステップにより定義された各端面において前記測定用平面に含まれる一点は、同端面における中心点、同端面における重心点、同端面に面する3次元形状測定装置に対して最も近い点および同端面に面する3次元形状測定装置に対して最も遠い点のうちのいずれか1つである長さ測定方法。
The length measuring method according to any one of claims 10 to 14,
One point included in the measurement plane in each end face defined by the end face definition step is a center point on the end face, a center of gravity point on the end face, a point closest to the three-dimensional shape measuring apparatus facing the end face, and A length measurement method which is any one of the farthest points with respect to the three-dimensional shape measuring apparatus facing the end face.
請求項10ないし請求項14のうちのいずれか1つに記載の長さ測定方法において、さらに、
前記測定用平面定義ステップは、
前記3次元形状データ群のうち測定対象物の端部における外周面の表面形状を表す3次元データを用いて、同測定対象物における中心軸を計算する中心軸計算ステップと、
前記端面定義ステップにより定義された端面と中心軸計算ステップにより計算された中心軸との交点を前記測定対象物の端面における中心点として計算する端面中心計算ステップとを備え、
前記端面中心計算ステップにて計算された端面の中心点を含むとともに前記基準面に平行な平面を測定用平面として定義する長さ測定方法。
The length measurement method according to any one of claims 10 to 14, further comprising:
The measurement plane definition step includes:
A central axis calculation step of calculating a central axis in the measurement object using the three-dimensional data representing the surface shape of the outer peripheral surface at the end of the measurement object in the three-dimensional shape data group;
An end surface center calculation step for calculating an intersection of the end surface defined by the end surface definition step and the center axis calculated by the center axis calculation step as a center point in the end surface of the measurement object,
A length measurement method that defines a plane that includes the center point of the end face calculated in the end face center calculation step and is parallel to the reference plane as a measurement plane.
請求項10ないし請求項15のうちのいずれか1つに記載の長さ測定方法において、さらに、
前記端面定義ステップにより定義された端面の前記基準面に対する角度が所定の範囲内であるとき、測定対象物の長さ測定が可能であると判定する長さ測定可否判定ステップを有し、
前記長さ計算ステップは、前記長さ測定可否判定ステップにより測定対象物の長さ測定が可能と判定されたとき、同測定対象物の長さを計算する長さ測定方法。
The length measurement method according to any one of claims 10 to 15, further comprising:
A length measurement availability determination step that determines that the length of the measurement object can be measured when the angle of the end surface defined by the end surface definition step is within a predetermined range;
The length calculation method is a length measurement method in which, when it is determined by the length measurement availability determination step that the measurement of the length of the measurement object is possible, the length of the measurement object is calculated.
測定対象物の長さを測定する長さ測定方法において、
測定対象物を支持する支持手段と、物体の表面の3次元形状を測定する3次元形状測定装置とを用意し、
前記3次元形状測定装置の座標系内における所定の第1測定基準位置と、同3次元形状測定装置により測定される測定対象物の端部の反対側の端部における端面の位置を特定するための所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として記憶手段に記憶しておくとともに、前記支持手段に支持される測定対象物における長さ測定の対象となる端面間の軸線と直交する平面を基準面として定義しておき、
前記3次元形状測定装置の測定対象空間内に前記支持手段に支持された測定対象物における長さ測定の対象となる端面を含む端部を少なくとも配置した状態で、前記3次元形状測定装置に前記支持手段に支持された測定対象物に向けて光を照射させて同測定対象物からの反射光を用いて前記長さ測定の対象となる端面を含む端部を少なくとも含む測定対象物の表面の3次元形状を測定させ、同測定対象物の3次元表面形状を表す3次元形状データ群を生成する3次元形状データ群生成ステップと、
前記生成された3次元形状データ群を用いて、前記測定対象物における長さ測定の対象となる端面を定義する端面定義ステップと、
前記端面定義ステップにより定義された端面内の一点を含み、かつ前記基準面に平行な測定用平面を定義する測定用平面定義ステップと、
前記3次元形状データ群のうち測定対象物における端部の表面形状を表す3次元データを用いて、同測定対象物における端部の曲がりの有無を判定する曲がり判定ステップと、
前記曲がり判定ステップにより測定対象物における端部の曲がりが有りと判定されたとき、前記測定用平面定義ステップにて定義された測定用平面を、前記測定対象物における端部が直線状である場合における測定用平面に補正する測定用平面補正ステップと、
前記測定用平面定義ステップにより定義された測定用平面または前記測定用平面補正ステップにより補正した測定用平面と前記記憶装置に記憶された基準距離とを用いて、測定対象物の長さを計算する長さ計算ステップとを含むことを特徴とする長さ測定方法。
In the length measurement method for measuring the length of the measurement object,
A supporting means for supporting the measurement object and a three-dimensional shape measuring device for measuring the three-dimensional shape of the surface of the object;
In order to specify the predetermined first measurement reference position in the coordinate system of the three-dimensional shape measuring apparatus and the position of the end face at the end opposite to the end of the measurement object measured by the three-dimensional shape measuring apparatus. The distance along the axis of the measurement object with respect to the predetermined second measurement reference position is stored in the storage means as a reference distance, and the length measurement object is supported on the measurement object supported by the support means. Define a plane perpendicular to the axis between the end faces as the reference plane,
In the state where at least an end portion including an end surface to be a length measurement target in the measurement object supported by the support means is arranged in the measurement target space of the three-dimensional shape measurement apparatus, the three-dimensional shape measurement apparatus The surface of the measurement object including at least an end including the end face to be subjected to the length measurement by irradiating light toward the measurement object supported by the support means and using the reflected light from the measurement object. A three-dimensional shape data group generation step for measuring a three-dimensional shape and generating a three-dimensional shape data group representing the three-dimensional surface shape of the measurement object;
Using the generated three-dimensional shape data group, an end face defining step for defining an end face to be a length measurement target in the measurement object;
A measuring plane defining step that defines a measuring plane that includes a point in the end face defined by the end face defining step and is parallel to the reference plane;
A bending determination step for determining whether or not the end of the measurement object is bent, using the three-dimensional data representing the surface shape of the end of the measurement object in the three-dimensional shape data group;
When it is determined in the bending determination step that the end of the measurement object is bent, the measurement plane defined in the measurement plane definition step is the end of the measurement object is linear. A measurement plane correction step for correcting to the measurement plane in
The length of the measurement object is calculated using the measurement plane defined by the measurement plane definition step or the measurement plane corrected by the measurement plane correction step and the reference distance stored in the storage device. And a length calculating step.
請求項10ないし請求項17のうちのいずれか1つに記載の長さ測定方法において、さらに、
前記支持手段に支持された複数の測定対象物に対応して生成される3次元形状データ群を、同複数の測定対象ごとに分類する3次元形状データ分類ステップを有し、
前記端面定義ステップは、前記複数の測定対象物ごとに長さ測定の対象となる端面を定義し、
前記測定用平面定義ステップは、前記複数の測定対象物ごとに測定用平面を定義し、
前記長さ計算ステップは、前記複数の測定対象物ごとに測定対象物の長さを計算する長さ測定方法。
The length measurement method according to any one of claims 10 to 17, further comprising:
A three-dimensional shape data classification step of classifying a three-dimensional shape data group generated corresponding to a plurality of measurement objects supported by the support means for each of the plurality of measurement objects;
The end surface definition step defines an end surface to be a length measurement target for each of the plurality of measurement objects,
The measurement plane definition step defines a measurement plane for each of the plurality of measurement objects,
The length calculation step is a length measurement method in which a length of the measurement object is calculated for each of the plurality of measurement objects.
測定対象物を支持する支持手段と、物体の表面の3次元形状を測定する3次元形状測定装置と、記憶装置を備えるとともにコンピュータプログラムを実行するコンピュータ部とを備えた測定対象物の長さを測定する長さ測定装置に適用されるコンピュータプログラムであって、前記コンピュータ部に、
前記3次元形状測定装置の座標系内における所定の第1測定基準位置と、同3次元形状測定装置により測定される測定対象物の端部の反対側の端部における端面の位置を特定するための所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として前記記憶装置に記憶させ、
前記支持手段に支持される測定対象物における長さ測定の対象となる端面間の軸線と直交する平面を基準面として定義させ、
前記3次元形状測定装置の測定対象空間内に前記支持手段に支持された測定対象物における長さ測定の対象となる端面を含む端部を少なくとも配置した状態で、前記3次元形状測定装置に前記支持手段に支持された測定対象物に向けて光を照射させて同測定対象物からの反射光を用いて前記長さ測定の対象となる端面を含む端部を少なくとも含む測定対象物の表面の3次元形状を測定させ、同測定対象物の3次元表面形状を表す3次元形状データ群を生成させ、
前記生成された3次元形状データ群を用いて、前記測定対象物における長さ測定の対象となる端面を定義させ、
前記定義させた端面内の一点を含み、かつ前記基準面に平行な測定用平面を定義させ、
前記定義させた測定用平面と前記記憶装置に記憶させた基準距離とを用いて、測定対象物の長さを計算させるようにした長さ測定用コンピュータプログラム。
The length of the measurement object including a support means for supporting the measurement object, a three-dimensional shape measurement device for measuring the three-dimensional shape of the surface of the object, and a computer unit that includes a storage device and executes a computer program. A computer program applied to a length measuring device for measuring, wherein the computer unit includes:
In order to specify the predetermined first measurement reference position in the coordinate system of the three-dimensional shape measuring apparatus and the position of the end face at the end opposite to the end of the measurement object measured by the three-dimensional shape measuring apparatus. A distance along the axis of the measurement object with a predetermined second measurement reference position is stored as a reference distance in the storage device,
A plane perpendicular to the axis between the end faces to be measured in the measurement object supported by the support means is defined as a reference plane;
In the state where at least an end portion including an end surface to be a length measurement target in the measurement object supported by the support means is arranged in the measurement target space of the three-dimensional shape measurement apparatus, the three-dimensional shape measurement apparatus The surface of the measurement object including at least an end including the end face to be subjected to the length measurement by irradiating light toward the measurement object supported by the support means and using the reflected light from the measurement object. Measuring a three-dimensional shape, generating a three-dimensional shape data group representing the three-dimensional surface shape of the measurement object,
Using the generated three-dimensional shape data group, an end face to be a length measurement target in the measurement object is defined,
A measurement plane including a point in the defined end face and parallel to the reference plane is defined;
A length-measuring computer program for calculating the length of a measurement object using the defined measurement plane and a reference distance stored in the storage device.
請求項19に記載の長さ測定用コンピュータプログラムにおいて、
前記第1測定基準位置は、前記3次元形状測定装置の座標系における座標原点であり、前記第2測定基準位置は、前記3次元形状測定装置により測定される測定対象物の端部とは反対側の端部を特定の位置に位置決めする位置である長さ測定用コンピュータプログラム。
The computer program for length measurement according to claim 19,
The first measurement reference position is a coordinate origin in the coordinate system of the three-dimensional shape measurement apparatus, and the second measurement reference position is opposite to an end of the measurement object measured by the three-dimensional shape measurement apparatus. A computer program for length measurement which is a position for positioning a side end portion at a specific position.
測定対象物を支持する支持手段と、物体の表面の3次元形状を測定する2つの3次元形状測定装置と、記憶装置を備えるとともにコンピュータプログラムを実行するコンピュータ部とを備えた測定対象物の長さを測定する長さ測定装置に適用されるコンピュータプログラムであって、前記コンピュータ部に、
前記2つの3次元形状測定装置のうち、一方の3次元形状測定装置の座標系内における所定の第1測定基準位置と、他方の3次元形状測定装置の座標系内における所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として前記記憶装置に記憶させ、
前記支持手段に支持される測定対象物における長さ測定の対象となる端面間の軸線と直交する平面を基準面定義させ、
前記2つの3次元形状測定装置の各測定対象空間内にそれぞれ前記支持手段に支持された測定対象物における長さの測定の対象となる2つの端面をそれぞれ含む各端部を少なくとも配置した状態で、前記2つの3次元形状測定装置に前記支持手段に支持された測定対象物に向けてそれぞれ光を照射させて同測定対象物からの各反射光を用いて前記長さ測定の対象となる2つの端面をそれぞれ含む各端部を少なくとも含む測定対象物の表面の3次元形状をそれぞれ測定させ、同測定対象物の各3次元表面形状を表す3次元形状データ群をそれぞれ生成させ、
前記それぞれ生成された各3次元形状データ群を用いて、前記測定対象物における長さ測定の対象となる2つの端面をそれぞれ定義させ、
前記それぞれ定義させた各端面内の一点を含み、かつ前記基準面に平行な測定用平面をそれぞれ定義させ、
前記一方の3次元形状測定装置に対応する測定用平面と前記第1測定基準位置との距離を第1距離として計算させるとともに、前記他方の3次元形状測定装置に対応する測定用平面と前記第2測定基準位置との距離を第2距離として計算させて、前記記憶装置に記憶された基準距離から前記第1距離および第2距離を減算させることにより測定対象物の長さを計算させるようにした長さ測定用コンピュータプログラム。
The length of the measuring object including supporting means for supporting the measuring object, two three-dimensional shape measuring devices for measuring the three-dimensional shape of the surface of the object, and a computer unit that includes a storage device and executes a computer program A computer program applied to a length measuring device for measuring thickness, wherein the computer unit includes:
Of the two three-dimensional shape measuring devices, a predetermined first measurement reference position in the coordinate system of one three-dimensional shape measuring device and a predetermined second measurement reference in the coordinate system of the other three-dimensional shape measuring device. The distance along the axis of the measurement object with respect to the position is stored in the storage device as a reference distance,
A plane perpendicular to the axis between the end faces to be measured in the measurement object supported by the support means is defined as a reference plane;
In a state where at least each end portion including each of two end faces to be subjected to measurement of the length of the measurement object supported by the support means is disposed in each measurement object space of the two three-dimensional shape measuring apparatuses. The two three-dimensional shape measuring devices are irradiated with light toward the measurement object supported by the support means, and the reflected light from the measurement object is used for the length measurement 2. Measuring the three-dimensional shape of the surface of the measurement object including at least each end including each of the two end surfaces, and generating each three-dimensional shape data group representing each three-dimensional surface shape of the measurement object,
Using each of the three-dimensional shape data groups generated respectively, two end faces to be length measurement targets in the measurement object are respectively defined,
A measuring plane that includes one point in each of the defined end faces and is parallel to the reference plane,
The distance between the measurement plane corresponding to the one three-dimensional shape measuring apparatus and the first measurement reference position is calculated as a first distance, and the measurement plane corresponding to the other three-dimensional shape measuring apparatus and the first 2 The distance from the measurement reference position is calculated as the second distance, and the length of the measurement object is calculated by subtracting the first distance and the second distance from the reference distance stored in the storage device. Computer program for length measurement.
請求項21に記載の長さ測定用コンピュータプログラムにおいて、
前記第1測定基準位置は、前記一方の3次元形状測定装置の座標系における座標原点であり、前記第2測定基準位置は、前記他方の3次元形状測定装置の座標系における座標原点である長さ測定用コンピュータプログラム。
The computer program for length measurement according to claim 21,
The first measurement reference position is a coordinate origin in the coordinate system of the one three-dimensional shape measurement apparatus, and the second measurement reference position is a coordinate origin in the coordinate system of the other three-dimensional shape measurement apparatus. Computer program for measurement.
請求項19ないし請求項22のうちのいずれか1つに記載の長さ測定用コンピュータプログラムにおいて、
前記測定用平面を定義するために用いた各端面内の一点は、同端面における中心点、同端面における重心点、同端面に面する3次元形状測定装置に対して最も近い点および同端面に面する3次元形状測定装置に対して最も遠い点のうちのいずれか1つである長さ測定用コンピュータプログラム。
A computer program for length measurement according to any one of claims 19 to 22,
One point in each end face used to define the measurement plane is a center point on the end face, a centroid point on the end face, a point closest to the three-dimensional shape measuring apparatus facing the end face, and the end face. A computer program for length measurement which is one of the furthest points with respect to the facing three-dimensional shape measuring apparatus.
請求項19ないし請求項22のうちのいずれか1つに記載の長さ測定用コンピュータプログラムにおいて、前記コンピュータ部に、さらに、
前記3次元形状データ群のうち測定対象物の端部における外周面の表面形状を表す3次元データを用いて、同測定対象物における中心軸を計算させ、
前記定義させた端面と前記計算させた中心軸との交点を前記測定対象物の端面における中心点として計算させ、
前記計算させた端面の中心点を含むとともに前記基準面に平行な平面を測定用平面として定義させるようにした長さ測定用コンピュータプログラム。
The computer program for length measurement according to any one of claims 19 to 22, wherein the computer unit further includes:
Using the three-dimensional data representing the surface shape of the outer peripheral surface at the end of the measurement object in the three-dimensional shape data group, the central axis of the measurement object is calculated,
The intersection of the defined end surface and the calculated center axis is calculated as the center point on the end surface of the measurement object,
A computer program for length measurement, wherein a plane including the calculated center point of the end face and parallel to the reference plane is defined as a measurement plane.
請求項19ないし請求項24のうちのいずれか1つに記載の長さ測定用コンピュータプログラムにおいて、前記コンピュータ部に、さらに、
前記定義させた端面の前記基準面に対する角度が所定の範囲内であるとき、測定対象物の長さ測定が可能であると判定させ、
測定対象物の長さ測定が可能と判定されたとき、同測定対象物の長さを計算するようにした長さ測定用コンピュータプログラム。
25. The computer program for length measurement according to any one of claims 19 to 24, further comprising:
When the angle of the defined end surface with respect to the reference surface is within a predetermined range, it is determined that the length measurement of the measurement object is possible,
A length-measuring computer program for calculating the length of a measurement object when it is determined that the length of the measurement object can be measured.
測定対象物を支持する支持手段と、物体の表面の3次元形状を測定する3次元形状測定装置と、記憶装置を備えるとともにコンピュータプログラムを実行するコンピュータ部とを備えた測定対象物の長さを測定する長さ測定装置に適用されるコンピュータプログラムであって、前記コンピュータ部に、
前記3次元形状測定装置の座標系内における所定の第1測定基準位置と、同3次元形状測定装置により測定される測定対象物の端部の反対側の端部における端面の位置を特定するための所定の第2測定基準位置との測定対象物の前記軸線に沿った距離を基準距離として前記記憶装置に記憶させ、
前記支持手段に支持される測定対象物における長さ測定の対象となる端面間の軸線と直交する平面を基準面として定義させ、
前記3次元形状測定装置の測定対象空間内に前記支持手段に支持された測定対象物における長さ測定の対象となる端面を含む端部を少なくとも配置した状態で、前記3次元形状測定装置に前記支持手段に支持された測定対象物に向けて光を照射させて同測定対象物からの反射光を用いて前記長さ測定の対象となる端面を含む端部を少なくとも含む測定対象物の表面の3次元形状を測定させ、同測定対象物の3次元表面形状を表す3次元形状データ群を生成させ、
前記生成された3次元形状データ群を用いて、前記測定対象物における長さ測定の対象となる端面を定義させ、
前記定義させた端面内の一点を含み、かつ前記基準面に平行な測定用平面を定義させ、
前記3次元形状データ群のうち測定対象物における端部の表面形状を表す3次元データを用いて、同測定対象物における端部の曲がりの有無を判定させ、
測定対象物における端部の曲がりが有りと判定されたとき、前記定義させた測定用平面を、前記測定対象物における端部が直線状である場合における測定用平面に補正させ、
前記定義させた測定用平面または前記補正させた測定用平面と前記記憶装置に記憶させた基準距離とを用いて、測定対象物の長さを計算するようにした長さ測定用コンピュータプログラム。
The length of the measurement object including a support means for supporting the measurement object, a three-dimensional shape measurement device for measuring the three-dimensional shape of the surface of the object, and a computer unit that includes a storage device and executes a computer program. A computer program applied to a length measuring device for measuring, wherein the computer unit includes:
In order to specify the predetermined first measurement reference position in the coordinate system of the three-dimensional shape measuring apparatus and the position of the end face at the end opposite to the end of the measurement object measured by the three-dimensional shape measuring apparatus. A distance along the axis of the measurement object with a predetermined second measurement reference position is stored as a reference distance in the storage device,
A plane perpendicular to the axis between the end faces to be measured in the measurement object supported by the support means is defined as a reference plane;
In the state where at least an end portion including an end surface to be a length measurement target in the measurement object supported by the support means is arranged in the measurement target space of the three-dimensional shape measurement apparatus, the three-dimensional shape measurement apparatus The surface of the measurement object including at least an end including the end face to be subjected to the length measurement by irradiating light toward the measurement object supported by the support means and using the reflected light from the measurement object. Measuring a three-dimensional shape, generating a three-dimensional shape data group representing the three-dimensional surface shape of the measurement object,
Using the generated three-dimensional shape data group, an end face to be a length measurement target in the measurement object is defined,
A measurement plane including a point in the defined end face and parallel to the reference plane is defined;
Using the three-dimensional data representing the surface shape of the end of the measurement object in the three-dimensional shape data group, the presence or absence of bending of the end of the measurement object is determined,
When it is determined that the end of the measurement object is bent, the measurement plane defined above is corrected to the measurement plane when the end of the measurement object is linear,
A length-measuring computer program for calculating the length of a measurement object using the defined measurement plane or the corrected measurement plane and a reference distance stored in the storage device.
請求項19ないし請求項26のうちのいずれか1つに記載の長さ測定コンピュータプログラムにおいて、前記コンピュータ部に、さらに、
前記支持手段に支持された複数の測定対象物に対応して生成される3次元形状データ群を、同複数の測定対象ごとに分類させ、
前記複数の測定対象物ごとに前記長さ測定の対象となる端面を定義させ、
前記複数の測定対象物ごとに前記測定用平面を定義させ、
前記複数の測定対象物ごとに測定対象物の長さを計算させるようにした長さ測定コンピュータプログラム。
The length measurement computer program according to any one of claims 19 to 26, wherein the computer unit further includes:
A three-dimensional shape data group generated corresponding to a plurality of measurement objects supported by the support means is classified for each of the plurality of measurement objects,
For each of the plurality of measurement objects, define an end face to be subjected to the length measurement,
The measurement plane is defined for each of the plurality of measurement objects,
A length measurement computer program that calculates the length of a measurement object for each of the plurality of measurement objects.
JP2005296737A 2005-10-11 2005-10-11 LENGTH MEASUREMENT DEVICE, LENGTH MEASUREMENT METHOD, AND LENGTH MEASUREMENT COMPUTER PROGRAM Expired - Fee Related JP4555762B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005296737A JP4555762B2 (en) 2005-10-11 2005-10-11 LENGTH MEASUREMENT DEVICE, LENGTH MEASUREMENT METHOD, AND LENGTH MEASUREMENT COMPUTER PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005296737A JP4555762B2 (en) 2005-10-11 2005-10-11 LENGTH MEASUREMENT DEVICE, LENGTH MEASUREMENT METHOD, AND LENGTH MEASUREMENT COMPUTER PROGRAM

Publications (2)

Publication Number Publication Date
JP2007107927A true JP2007107927A (en) 2007-04-26
JP4555762B2 JP4555762B2 (en) 2010-10-06

Family

ID=38033911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005296737A Expired - Fee Related JP4555762B2 (en) 2005-10-11 2005-10-11 LENGTH MEASUREMENT DEVICE, LENGTH MEASUREMENT METHOD, AND LENGTH MEASUREMENT COMPUTER PROGRAM

Country Status (1)

Country Link
JP (1) JP4555762B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012098182A (en) * 2010-11-02 2012-05-24 Tokyo Electric Power Co Inc:The Load stress estimation method for support for aerial facility and shape measuring method of pole-like structure
JP2012242282A (en) * 2011-05-20 2012-12-10 Omron Corp Method, device and program for calculating position of head portion and direction of shaft portion of detection object
JP2012242281A (en) * 2011-05-20 2012-12-10 Omron Corp Method, device and program for calculating center position of detection object
JP2014055955A (en) * 2012-09-13 2014-03-27 Alstom Technology Ltd Method and system for measuring quality of tube
WO2020026677A1 (en) * 2018-07-31 2020-02-06 株式会社ニコン Detection device, processing device, detection method, and processing program
JP2022063582A (en) * 2020-10-12 2022-04-22 株式会社神戸製鋼所 Round rod body length measurement device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61130803A (en) * 1984-11-30 1986-06-18 Noda Plywood Mfg Co Ltd Centering method of material wood
JP2000171211A (en) * 1998-12-04 2000-06-23 Nkk Corp Pipe length measuring instrument
JP2001311617A (en) * 2000-04-28 2001-11-09 Sekisui Chem Co Ltd Apparatus and method for measuring dimension
JP2003262514A (en) * 2002-03-11 2003-09-19 Daido Steel Co Ltd Management system for round steel product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61130803A (en) * 1984-11-30 1986-06-18 Noda Plywood Mfg Co Ltd Centering method of material wood
JP2000171211A (en) * 1998-12-04 2000-06-23 Nkk Corp Pipe length measuring instrument
JP2001311617A (en) * 2000-04-28 2001-11-09 Sekisui Chem Co Ltd Apparatus and method for measuring dimension
JP2003262514A (en) * 2002-03-11 2003-09-19 Daido Steel Co Ltd Management system for round steel product

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012098182A (en) * 2010-11-02 2012-05-24 Tokyo Electric Power Co Inc:The Load stress estimation method for support for aerial facility and shape measuring method of pole-like structure
JP2012242282A (en) * 2011-05-20 2012-12-10 Omron Corp Method, device and program for calculating position of head portion and direction of shaft portion of detection object
JP2012242281A (en) * 2011-05-20 2012-12-10 Omron Corp Method, device and program for calculating center position of detection object
JP2014055955A (en) * 2012-09-13 2014-03-27 Alstom Technology Ltd Method and system for measuring quality of tube
CN103884275A (en) * 2012-09-13 2014-06-25 阿尔斯通技术有限公司 Method and system for determining quality of tubes
TWI512262B (en) * 2012-09-13 2015-12-11 Alstom Technology Ltd Method and system for determining quality of tubes
US9491412B2 (en) 2012-09-13 2016-11-08 General Electric Technology Gmbh Method and system for determining quality of tubes
WO2020026677A1 (en) * 2018-07-31 2020-02-06 株式会社ニコン Detection device, processing device, detection method, and processing program
JPWO2020026677A1 (en) * 2018-07-31 2021-08-02 株式会社ニコン Detection device, processing device, detection method, and processing program
JP7024876B2 (en) 2018-07-31 2022-02-24 株式会社ニコン Detection device, processing device, detection method, and processing program
JP2022063582A (en) * 2020-10-12 2022-04-22 株式会社神戸製鋼所 Round rod body length measurement device and method
JP7335859B2 (en) 2020-10-12 2023-08-30 株式会社神戸製鋼所 ROUND BAR LENGTH MEASURING DEVICE AND METHOD

Also Published As

Publication number Publication date
JP4555762B2 (en) 2010-10-06

Similar Documents

Publication Publication Date Title
JP4555762B2 (en) LENGTH MEASUREMENT DEVICE, LENGTH MEASUREMENT METHOD, AND LENGTH MEASUREMENT COMPUTER PROGRAM
EP1739391B1 (en) Image obtaining apparatus
JP4443497B2 (en) Multi-degree-of-freedom robot positioning error correction apparatus and positioning error correction method
US7502504B2 (en) Three-dimensional visual sensor
JP2007101197A (en) Object search system, robot system equipped with object searchsystem and object search method
JP5679560B2 (en) Dimension measuring apparatus, dimension measuring method and program for dimension measuring apparatus
US20050154548A1 (en) Method for calibration of a 3D measuring device
WO2015124756A1 (en) Method of inspecting an object with a vision probe
KR20210076205A (en) Method for the three-dimensional measuring of moving objects during known movement
JP2021193400A (en) Method for measuring artefact
JP3944091B2 (en) 3D image data generation method
US11276198B2 (en) Apparatus for determining dimensional and geometric properties of a measurement object
JP4291178B2 (en) 3D shape measuring system, measuring method, and 3D shape measuring stage device
JP5270138B2 (en) Calibration jig and calibration method
JP4863006B2 (en) 3D shape measurement method
Tai et al. Noncontact profilometric measurement of large-form parts
JP6526465B2 (en) Roundness measuring device
JP6751688B2 (en) Evaluation device and evaluation method
JP6554342B2 (en) Measuring system and measuring method
JP4670700B2 (en) 3D shape measuring device
Arko et al. Automatic Calibration of the Adaptive 3D Scanner-Based Robot Welding System
JP6543170B2 (en) Measuring device and measuring method
JP2001091891A (en) Irradiation position control method and device for wedge prism
JP3952467B2 (en) 3D data extraction method and 3D data extraction apparatus
JPS6129709A (en) Measuring method of shape

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070627

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100511

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100706

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100716

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees