JP5204575B2 - Position measuring method and position measuring apparatus - Google Patents
Position measuring method and position measuring apparatus Download PDFInfo
- Publication number
- JP5204575B2 JP5204575B2 JP2008194321A JP2008194321A JP5204575B2 JP 5204575 B2 JP5204575 B2 JP 5204575B2 JP 2008194321 A JP2008194321 A JP 2008194321A JP 2008194321 A JP2008194321 A JP 2008194321A JP 5204575 B2 JP5204575 B2 JP 5204575B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- master data
- measurement
- circle
- position data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 37
- 238000005259 measurement Methods 0.000 claims description 55
- 238000012937 correction Methods 0.000 claims description 54
- 238000006243 chemical reaction Methods 0.000 claims description 11
- 230000009466 transformation Effects 0.000 claims description 7
- 238000003860 storage Methods 0.000 claims description 6
- 238000000691 measurement method Methods 0.000 claims description 5
- 238000012935 Averaging Methods 0.000 claims description 4
- 230000001131 transforming effect Effects 0.000 claims 1
- 238000010422 painting Methods 0.000 description 23
- 238000007789 sealing Methods 0.000 description 23
- 230000008569 process Effects 0.000 description 19
- 238000004519 manufacturing process Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000003384 imaging method Methods 0.000 description 9
- 238000013461 design Methods 0.000 description 8
- 238000012549 training Methods 0.000 description 8
- 239000003795 chemical substances by application Substances 0.000 description 5
- 238000005286 illumination Methods 0.000 description 5
- 239000011159 matrix material Substances 0.000 description 4
- 229910000831 Steel Inorganic materials 0.000 description 3
- 238000005452 bending Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 239000010959 steel Substances 0.000 description 3
- 238000003466 welding Methods 0.000 description 3
- 239000011324 bead Substances 0.000 description 2
- 239000011248 coating agent Substances 0.000 description 2
- 238000000576 coating method Methods 0.000 description 2
- JEIPFZHSYJVQDO-UHFFFAOYSA-N iron(III) oxide Inorganic materials O=[Fe]O[Fe]=O JEIPFZHSYJVQDO-UHFFFAOYSA-N 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000000565 sealant Substances 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 238000011109 contamination Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000036544 posture Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 238000005507 spraying Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B05—SPRAYING OR ATOMISING IN GENERAL; APPLYING FLUENT MATERIALS TO SURFACES, IN GENERAL
- B05B—SPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES
- B05B13/00—Machines or plants for applying liquids or other fluent materials to surfaces of objects or other work by spraying, not covered by groups B05B1/00 - B05B11/00
- B05B13/02—Means for supporting work; Arrangement or mounting of spray heads; Adaptation or arrangement of means for feeding work
- B05B13/04—Means for supporting work; Arrangement or mounting of spray heads; Adaptation or arrangement of means for feeding work the spray heads being moved during spraying operation
- B05B13/0431—Means for supporting work; Arrangement or mounting of spray heads; Adaptation or arrangement of means for feeding work the spray heads being moved during spraying operation with spray heads moved by robots or articulated arms, e.g. for applying liquid or other fluent material to 3D-surfaces
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B05—SPRAYING OR ATOMISING IN GENERAL; APPLYING FLUENT MATERIALS TO SURFACES, IN GENERAL
- B05B—SPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES
- B05B12/00—Arrangements for controlling delivery; Arrangements for controlling the spray area
- B05B12/08—Arrangements for controlling delivery; Arrangements for controlling the spray area responsive to condition of liquid or other fluent material to be discharged, of ambient medium or of target ; responsive to condition of spray devices or of supply means, e.g. pipes, pumps or their drive means
- B05B12/12—Arrangements for controlling delivery; Arrangements for controlling the spray area responsive to condition of liquid or other fluent material to be discharged, of ambient medium or of target ; responsive to condition of spray devices or of supply means, e.g. pipes, pumps or their drive means responsive to conditions of ambient medium or target, e.g. humidity, temperature position or movement of the target relative to the spray apparatus
- B05B12/122—Arrangements for controlling delivery; Arrangements for controlling the spray area responsive to condition of liquid or other fluent material to be discharged, of ambient medium or of target ; responsive to condition of spray devices or of supply means, e.g. pipes, pumps or their drive means responsive to conditions of ambient medium or target, e.g. humidity, temperature position or movement of the target relative to the spray apparatus responsive to presence or shape of target
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B05—SPRAYING OR ATOMISING IN GENERAL; APPLYING FLUENT MATERIALS TO SURFACES, IN GENERAL
- B05B—SPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES
- B05B13/00—Machines or plants for applying liquids or other fluent materials to surfaces of objects or other work by spraying, not covered by groups B05B1/00 - B05B11/00
- B05B13/02—Means for supporting work; Arrangement or mounting of spray heads; Adaptation or arrangement of means for feeding work
- B05B13/0221—Means for supporting work; Arrangement or mounting of spray heads; Adaptation or arrangement of means for feeding work characterised by the means for moving or conveying the objects or other work, e.g. conveyor belts
- B05B13/0264—Overhead conveying means, i.e. the object or other work being suspended from the conveying means; Details thereof, e.g. hanging hooks
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B05—SPRAYING OR ATOMISING IN GENERAL; APPLYING FLUENT MATERIALS TO SURFACES, IN GENERAL
- B05B—SPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES
- B05B13/00—Machines or plants for applying liquids or other fluent materials to surfaces of objects or other work by spraying, not covered by groups B05B1/00 - B05B11/00
- B05B13/02—Means for supporting work; Arrangement or mounting of spray heads; Adaptation or arrangement of means for feeding work
- B05B13/04—Means for supporting work; Arrangement or mounting of spray heads; Adaptation or arrangement of means for feeding work the spray heads being moved during spraying operation
- B05B13/0447—Installation or apparatus for applying liquid or other fluent material to conveyed separate articles
- B05B13/0452—Installation or apparatus for applying liquid or other fluent material to conveyed separate articles the conveyed articles being vehicle bodies
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1679—Programme controls characterised by the tasks executed
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/002—Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
- G01B11/005—Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates coordinate measuring machines
- G01B11/007—Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates coordinate measuring machines feeler heads therefor
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B21/00—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
- G01B21/02—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness
- G01B21/04—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness by measuring coordinates of points
- G01B21/045—Correction of measurements
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/45—Nc applications
- G05B2219/45013—Spraying, coating, painting
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Measurement Of Optical Distance (AREA)
- Numerical Control (AREA)
Description
本発明は、対象物の位置を測定するための方法及び装置に関する。 The present invention relates to a method and apparatus for measuring the position of an object.
自動車の生産現場では、所定箇所まで搬送されて停止した車体に、防錆、防振、防音用のシーラ剤が塗装される。通常、この塗装作業はロボットアームに搭載されたシーリングガンを用いることによって自動化され、シーリングガンから吐出されるシーラ剤が車体の所定部位に塗布されるようロボットアームの駆動制御が実行されている。 At automobile production sites, a sealer for rust, vibration, and soundproofing is applied to a car body that has been transported to a predetermined location and stopped. Usually, this painting operation is automated by using a sealing gun mounted on the robot arm, and the drive control of the robot arm is executed so that the sealer discharged from the sealing gun is applied to a predetermined part of the vehicle body.
適切な部位にシーラ剤を塗装すべく車体の搬送や停止の制御を精密に実行すると多大なイニシャルコスト及びメンテナンスコストを要するため、車体の停止位置の精度は塗装作業で要求される精度よりも低くなりがちである。このため、ロボットアームを制御する装置は、まず停止した車体に設けられている基準点の位置を測定し、予め記憶されたマスターデータを測定された位置のずれ量に相当する補正値を算出する。ロボットアームの駆動制御はマスターデータをこの補正値を用いて補正することにより得られる位置データに基づいて実行され、これにより車体の停止位置の精度を過度に高くすることなくシーラ剤が適切な部位に塗布され得る(例えば、特許文献1参照)。 The precision of the vehicle stop position is lower than the accuracy required for the painting work because precise initial control and maintenance costs are required if the control of the transport and stop of the car body is performed precisely in order to apply the sealant to the appropriate part. It tends to be. For this reason, the apparatus for controlling the robot arm first measures the position of the reference point provided on the stopped vehicle body, and calculates a correction value corresponding to the measured position deviation amount from the master data stored in advance. . The drive control of the robot arm is executed based on the position data obtained by correcting the master data using this correction value, so that the sealer agent can be applied to an appropriate part without excessively increasing the accuracy of the stop position of the vehicle body. (For example, refer patent document 1).
特許文献1には、CAD値やCAM値等の理想的ではあるが机上の設計データをマスターデータとして利用し、このマスターデータを測定された三次元の位置データに応じて補正するよう構成された位置測定装置が開示されている。また、この位置測定装置は、6本のロボットアームの各々に1台ずつカメラが設けられて構成されている。これら6台のカメラは3組に分けられ、各組2台のカメラがステレオ視により基準点を撮像する。この撮像結果に基づいて3つの基準点の三次元の位置データを取得するようになっている。
しかし、実際には、複数の鋼板を溶接してなる車体を設計データどおりに生産することは困難であるため、実際に生産された車体の寸法と設計データの寸法との間には不可避的な偏差がある。このため、特許文献1のように設計データをマスターデータとして利用すると、補正後のデータには実際の寸法と設計上の寸法との偏差が残ったままとなる。このようにマスターデータとして設計データを利用した場合には、特異解が発生して補正値を精度よく算出することが困難となり、シーラ剤の塗布位置がずれる場合がある。
However, in practice, it is difficult to produce a car body made by welding a plurality of steel plates according to the design data, so it is unavoidable between the dimensions of the car body actually produced and the dimensions of the design data. There is a deviation. For this reason, when the design data is used as master data as in
しかも、特許文献1によると、ロボットアーム1台につきカメラが1台設けられており、別個のロボットアームに取り付けられた2台のカメラでステレオ視による画像を生成する構成となっている。ロボットアームにはカメラの重量や自重に基づいて鉛直下向きの撓みが不可避的に発生するため、この各ロボットアームの撓みによってステレオベースや挟角が所望の値から外れ、基準点の位置測定を高精度に行うことが困難となっている。ロボットアームの撓みを予め考慮したロボットアームの駆動制御を実行するとなると、制御内容が煩雑になってカメラのセッティングに要する時間が長くなる。このため、塗装作業に要する時間が長くなり、自動車の生産性に影響を及ぼすおそれがある。
In addition, according to
そこで本発明は、対象物の位置の測定を精度よく行うこと、さらには対象物の位置データの補正を精度よく行うことを目的としている。 Therefore, an object of the present invention is to accurately measure the position of an object and further to accurately correct position data of the object.
本発明に係る位置測定方法は、対象物を実測して得た位置データに基づき該対象物の位置の基準となるマスターデータに対する補正値を算出し、該マスターデータに補正値を加味した補正位置データに基づいて前記対象物の所定部位に作業を行う構成の装置に適用される位置測定方法であって、対象物の複数のサンプル各々に設けられている複数の基準点の位置を測定して各基準点の位置データを取得する事前測定ステップと、該事前測定ステップで取得された前記各サンプルの複数の基準点の位置データに基づいて該複数の基準点の各々について前記マスターデータを事前に算出する事前算出ステップと、対象物に設けられている複数の基準点の位置を測定して各基準点の位置データを取得する実測ステップと、該実測ステップで取得された前記位置データに基づいて前記事前算出ステップで算出されたマスターデータに対する補正値を算出する補正値算出ステップとを有し、前記補正値算出ステップが、前記マスターデータ間の位置関係を、前記各マスターデータが通る第1の円によって定義するステップと、前記実測ステップで測定された各基準点間の位置関係を、各基準点が通る第2の円によって定義するステップと、前記第1の円を規定する第1の座標系を前記第2の円を規定する第2の座標系に変換するための座標変換量を算出するステップと、式L1(φ) 2 +L2(φ) 2 +……+Ln(φ) 2 が最小値をとるときの角度φを求めるステップとを有し、ここで、φは、前記第1の円の法線周りに回転したときの回転角、Ln(φ)は、前記第1の円が角度φだけ法線回りに回転したときの、n個目のマスターデータと該n個目のマスターデータと対応する基準点の位置データとの間の距離であり、更に、前記座標変換量及び前記角度φを前記補正値として算出するステップを有することを特徴としている。 The position measurement method according to the present invention calculates a correction value for master data serving as a reference for the position of the object based on position data obtained by actually measuring the object, and a correction position in which the correction value is added to the master data. A position measurement method applied to an apparatus configured to work on a predetermined part of the object based on data, wherein the position of a plurality of reference points provided in each of a plurality of samples of the object is measured. A pre-measurement step for acquiring position data of each reference point, and the master data for each of the plurality of reference points in advance based on the position data of the plurality of reference points of each sample acquired in the pre-measurement step and pre-calculating step of calculating, the measured steps of measuring the positions of a plurality of reference points provided on the object to obtain position data of each reference point, obtained in said actual measuring step Have a correction value calculation step of calculating a correction value for the master data calculated by the pre-calculation step on the basis of the position data, the correction value calculation step, the positional relationship between the master data, each Defining a first circle through which the master data passes, defining a positional relationship between each reference point measured in the actual measurement step with a second circle through which each reference point passes, and the first circle Calculating a coordinate conversion amount for converting the first coordinate system that defines the second circle into the second coordinate system that defines the second circle, and the expression L1 (φ) 2 + L2 (φ) 2 +. + Ln (φ) 2 to obtain an angle φ when 2 takes a minimum value, where φ is a rotation angle when rotating around the normal of the first circle, and Ln (φ) is The first circle is normal times by an angle φ Is the distance between the n-th master data and the position data of the reference point corresponding to the n-th master data, and the coordinate transformation amount and the angle φ are the correction values. It is characterized in that have a step of calculating a.
かかる構成によれば、対象物のサンプルを利用して対象物の基準点の位置の基準となるマスターデータが作成され、実測された位置データに基づいて該マスターデータを補正するための補正値が算出される。このように、理想的な設計データをマスターデータとして用いるのではなく、実測によって取得したデータをマスターデータとして利用し、同じく実測された位置データに基づいて補正値を算出し、この補正値に従ってマスターデータを補正して取得されたデータに基づいて対象物に対する作業を行うようになっている。このため、対象物に対する作業を正確に行うことができるようになる。また、最小二乗法を利用して補正値が算出されており、複数の基準点それぞれについてバランスよく補正することができるようになる。 According to this configuration, master data serving as a reference for the position of the reference point of the object is created using the sample of the object, and a correction value for correcting the master data based on the actually measured position data is provided. Calculated. In this way, ideal design data is not used as master data, but data obtained by actual measurement is used as master data, and a correction value is calculated based on position data that is also actually measured. Work is performed on the object based on the data obtained by correcting the data. For this reason, the operation | work with respect to a target object can be performed correctly. In addition, the correction value is calculated using the least square method, and correction can be performed with a good balance for each of the plurality of reference points.
前記事前測定ステップにおいて、ステレオ視により前記サンプルを撮影した一対の画像に基づいて、三次元の前記位置データが取得され、前記実測ステップにおいて、ステレオ視により前記対象物を撮影した一対の画像に基づいて、三次元の前記位置データが取得されてもよい。かかる構成によれば、三次元の位置データが取得され、高度な位置測定が実現される。 In the preliminary measurement step, the three-dimensional position data is acquired based on a pair of images obtained by photographing the sample by stereo vision. In the actual measurement step, the pair of images obtained by photographing the object by stereo vision is obtained. Based on this, the three-dimensional position data may be acquired. According to this configuration, three-dimensional position data is acquired, and advanced position measurement is realized.
前記事前算出ステップにおいて、前記マスターデータが各サンプルの基準点の位置データを平均することによって算出されてもよい。かかる構成によれば、マスターデータの算出を平易に行うことができるとともに、サンプル数を増やすことによって信頼性の高いデータを作成することができるようになる。 In the pre-calculation step, the master data may be calculated by averaging position data of reference points of each sample. According to such a configuration, it is possible to easily calculate master data, and it is possible to create highly reliable data by increasing the number of samples.
本発明に係る位置測定装置は、測定対象物の位置の基準となるマスターデータを記憶する記憶部と、対象物に設けられた複数の基準点の位置を測定して位置データを取得する測定部と、該測定部で取得された位置データに基づいて前記マスターデータを補正するための補正値算出部とを有する位置測定装置であって、測定対象物の実測の事前に、前記測定部により前記測定対象物の複数のサンプルの各々に設けられた複数の基準点の位置が測定されて各サンプルの複数の基準点の位置データが取得され、前記記憶部に該取得された各位置データに基づいて算出された前記マスターデータが記憶され、測定対象物の実測時に、前記補正値算出部が、前記記憶部に記憶された前記マスターデータを、実測された測定対象物の基準点の位置データに基づいて補正する構成であり、前記補正値算出部は、前記マスターデータ間の位置関係を、前記各マスターデータが通る第1の円によって定義し、実測された各基準点間の位置関係を各基準点が通る第2の円によって定義し、前記第1の円を規定する第1の座標系を前記第2の円を規定する第2の座標系に変換するための座標変換量を算出し、式L1(φ) 2 +L2(φ) 2 +……+Ln(φ) 2 が最小値をとるときの角度φを求め、前記座標変換量及び前記角度φを補正値として算出し、ここで、φは、前記第1の円の法線周りに回転したときの回転角、Ln(φ)は、前記第1の円が角度φだけ法線回りに回転したときの、n個目のマスターデータと該n個目のマスターデータと対応する基準点の位置データとの間の距離であることを特徴としている。かかる装置においても上記同様の作用を生じる。 A position measuring device according to the present invention includes a storage unit that stores master data that serves as a reference for the position of a measurement object, and a measurement unit that measures position of a plurality of reference points provided on the object to obtain position data. And a correction value calculation unit for correcting the master data based on the position data acquired by the measurement unit, the measurement unit by the measurement unit prior to actual measurement of the measurement object The position of a plurality of reference points provided in each of the plurality of samples of the measurement object is measured, and the position data of the plurality of reference points of each sample is acquired. Based on the acquired position data in the storage unit The calculated master data is stored, and at the time of actual measurement of the measurement object, the correction value calculation unit converts the master data stored in the storage unit into the position data of the reference point of the measured measurement object. Ri configuration der for correcting Zui, the correction value calculation unit, a positional relationship between said master data, said defined by a first circle which each master data passes, the positional relationship between the reference points is measured Defined by a second circle through which each reference point passes, and calculates a coordinate conversion amount for converting the first coordinate system defining the first circle to the second coordinate system defining the second circle Then, the angle L when the expression L1 (φ) 2 + L2 (φ) 2 +... + Ln (φ) 2 takes the minimum value is obtained, and the coordinate transformation amount and the angle φ are calculated as correction values. , Φ is the rotation angle when rotating around the normal of the first circle, and Ln (φ) is the nth master when the first circle is rotated around the normal by the angle φ the distance der Rukoto between data and said of n-th master data and the position data of the corresponding reference points characterized ing. Even in such a device, the same operation as described above occurs.
前記基準点をステレオ視により撮影する第1及び第2のカメラを備え、前記測定部は該第1及び第2のカメラで撮影された一対の画像に基づいて基準点の位置データを測定するよう構成されており、該第1及び第2のカメラが、単一のロボットアームに取り付けられていることが好ましい。かかる構成によれば、同一のロボットアームにステレオ視するカメラが取り付けられることにより、ロボットアームに撓みが発生してもステレオベースや挟角が変更されることはない。したがって、ステレオ視により撮影した画像に基づく位置測定を高精度に行うことができるようになる。 First and second cameras for photographing the reference point by stereo vision are provided, and the measurement unit measures position data of the reference point based on a pair of images photographed by the first and second cameras. Preferably, the first and second cameras are attached to a single robot arm. According to such a configuration, the stereo base and the included angle are not changed even if the robot arm is bent by attaching the stereo camera to the same robot arm. Therefore, position measurement based on an image captured by stereo vision can be performed with high accuracy.
前記ロボットアームに、前記補正部により補正された位置データに基づいて対象物に所定の作業を行う作業装置が搭載されていることを特徴とする請求項7に記載の位置測定装置。かかる構成によれば、撮像結果に基づく位置の測定及び位置データの補正処理の終了後ただちに所定の作業に移行することができ、位置計測を利用した作業に要する時間の短縮化を図ることができる。
The position measuring device according to
このように本発明によれば、特異解を発生することなく対象物の位置データの補正を精度よく行うことができる。 As described above, according to the present invention, it is possible to accurately correct the position data of an object without generating a singular solution.
以下、添付する図面を参照して本発明に係る実施の形態について説明する。 Embodiments according to the present invention will be described below with reference to the accompanying drawings.
ここでは、本発明に係る対象物の実施例を自動車の車体として説明する。図1は自動車の生産現場の一部概要を平面視で模式的に示す説明図、図2はそれを背面視で模式的に示す説明図である。図1及び図2に示す生産現場には、多数の鋼板を溶接してなる車体100の搬送経路をなすレール1が設けられている。レール1には走行ユニット2を介して複数のハンガー3が吊るされており、各ハンガー3は車体100の側方の窓枠部101に係合している。このようにハンガー3によって吊り下げられた車体100は、走行ユニット2の動作に基づいてレール1に沿って搬送される。
Here, an example of an object according to the present invention will be described as a vehicle body. FIG. 1 is an explanatory diagram schematically showing a partial outline of a vehicle production site in a plan view, and FIG. 2 is an explanatory diagram schematically showing it in a rear view. The production site shown in FIGS. 1 and 2 is provided with a
この搬送経路中には、車体100の床裏部102や鋼板の合わせ目に防錆用、防音用、防振用のシーラ剤をシーリング塗布したりスプレー塗装するための塗装エリア5が設定されている。この塗装エリア5には、複数台の多関節型のロボット6a,6b,6c,6dが設けられている。各ロボット6a,6b,6c,6dは、複数のアーム7と、アーム同士を揺動可能に連結する関節8とを有してなる。ロボット6a,6b,6cの先端アーム9には、後述する車体に防錆及び防水用のシーラ材を塗布するために用いるシーリングガン25や、搬送されて停止した車体の位置を計測するために用いるカメラ33等が搭載されており、ロボット6dにはシーリングガン25が搭載されている。なお、図3は、ロボット6a,6b,6cの全体の外観を参照するための左側面図であり、その先端アーム9には、1台のシーリングガン25と、左右に並ぶ2台のカメラ33が搭載されている。
In this conveyance path, a
この塗装エリア5は掘割状になっており、一対の上床面10の相互間を車体100が搬送される。各上床面10,10及び下床面11のそれぞれには、車体100の搬送方向に延在するスライドレール12が設けられている。ロボット6a,6b,6cは、上床面に設けられたスライドレール12に沿ってスライド可能になっており、ロボット6dは下床面に設けられたスライドレール12に沿ってスライド可能になっている。
The
また、この塗装エリア5には、後述する原点位置の確認のために利用され、キャリブレーション孔13aが形成されたキャリブレーションスタンド13が設けられている。
Further, the
図4は先端アーム9の正面斜視図、図5はその背面斜視図、図6はその正面図、図7はその背面図、図8はその平面図、図9はその底面図、図10はその右側面図、図11はその左側面図、図12はその正面視断面図である。以下のロボットハンド9についての方向は、便宜上カメラの光軸を水平に向けた場合にカメラの被写体側を前側、その反対側を後側としている。但し、この方向の概念は、上記塗装エリア内でのロボットの動作に応じて適宜変更されるものである。
4 is a front perspective view of the
図4乃至図12に示すように、先端アーム9は関節8に揺動可能に取り付けられた基部ブラケット21を有し、この基部ブラケット21には先端側に延びるブラケット23が締結されている。
As shown in FIGS. 4 to 12, the
ブラケット23の先端面には更に先端側に延びるステー24が締結されている。このステー24の先端部にはブラケット23の延在方向に対して傾斜する傾斜面24aが形成されており、この傾斜面24aにシーリングガン25が締結されている。シーリングガン25は上記シーラ剤を車体100(図1,図2,図15参照)に噴射する装置であり、シーリングガン25にはシーラ剤を供給するホース26が接続されている。ブラケット23にはこのホース26を固定するためのホースブラケット27が外側に締結されている。
A
また、ブラケット23にはカメラブラケット28が締結されている。カメラブラケット28は、ブラケット23から起立するように設けられた起立部29と、起立部29の上端面に締結されてブラケット23と平行に延びる取付部30とを有し、起立部29と取付部30とは正面視でT字形状をなしている。
A
取付部30は、起立部29に対して先端側に延在している。このため、起立部29の先端面には、先端側に突出して取付部30の裏面に固定されたリブ31が接合されており、このリブ31によって取付部30に固定される部材の重量が支えられている。これにより取付部30の撓みが防止される。
The
取付部30は起立部29に対して左右方向に延在しており、この取付部30の上面の左右各端部には、カメラホルダ32が1つずつ締結され、各カメラホルダ32によって円筒状の鏡筒34を有したカメラ33が保持されている。このカメラ33は、CCDやCMOS等の光電変換素子を備え、撮像結果をこの光電変換素子において電気信号に変換して外部に出力する構成となっている。カメラ33の焦点距離や倍率等は、鏡筒34の外面に設けられたダイヤル35によって撮影するのに適切な所定値に設定されている。なお、カメラ33が取り付けられた取付部30の鉛直下向きの撓みを防止するため、取付部30の裏面に、リブ31から取付部30の延在方向に延びるブラケットを設けてもよい。
The mounting
また、取付部30にはカメラカバー36が締結され、このカメラカバー36によってカメラ33の表面全体が覆われている。これら一対のカメラ33は、ステレオ視による画像処理を可能にすべく、互いの光軸が交わるようにして配置されている。このように、同一のカメラブラケット28にステレオ視する2台のカメラ33を設置したことにより、アーム7(図1参照)の動作、および該アーム7の鉛直下向きの撓み量に関わらず、ステレオベースδ及び挟角θが一定になる。したがって、いわゆるハンドアイタイプにおいて、ステレオ視による画像に基づいた位置計測を精巧に行うことができるようになる。
A
取付部30の前端面には、一対のカメラカバー36の相互間において、ランプカバー37が締結されており、このランプカバー37によってリング蛍光ランプ等の照明光源38が取り付けられている。
A
ホース26はカメラ33に対して下側に配置されており、ランプカバー37はカメラ33の対物レンズの後方に配置されており、シーリングガン25は一対のカメラ33の相互間に配置されている。このため、ブラケット23に対して多種の部品が固定されているが、カメラの視野内にこれらの部品が位置することはなく、その上でこれら部品の集約配置が実現されている。
The
図13は上記カメラ33により撮像された画像を処理するとともにシーリングガン25の動作を制御する制御系の構成を説明するブロック図である。図13に示す制御装置40は、CPU41、ROM42、RAM43及び入出力インターフェイス(以下、I/F)44を備えたマイクロコンピュータであり、これら各要素41〜44はバス45を介して接続されている。CPU41は、I/F44を介して入力された情報やRAM43に記憶されている情報に基づいてROM42に記憶されたプログラムを実行し、I/F44を介して接続される機器の動作制御を行う。
FIG. 13 is a block diagram illustrating the configuration of a control system that processes the image captured by the
I/F44には、入力装置として6台のカメラ33が接続されている。これらカメラ33は3組に分けられ、各組はステレオ視する2台のカメラ33から構成されている。これら各組を構成する2台のカメラ33は、前述したように、同一のカメラブラケット28(先端アーム9)に取り付けられている。このため、前述したように、各組の2台のカメラ33によってステレオ視による画像に基づいた位置計測を精巧に行うことができる。
Six
I/F44には、出力装置として、複数の上記シーリングガン25、複数の走行軸モータ46、複数のアーム駆動モータ47が接続されている。走行軸モータ46は各ロボット6a,6b,6c,6d(図1,図2参照)をスライドレール12(図1,図2参照)に沿って走行させる駆動源である。アーム駆動モータ28は各ロボット6a,6b,6c,6dの関節8を駆動してアーム7(図1,図2参照)を揺動させる駆動源である。なお、ここでは、複数のロボット6a,6b,6c,6dの動作を単一の制御装置によって制御する形態を例示したが、各ロボット6a,6b,6c,6dに対して個別のコントローラを分散して設けるようなシステム構成であってもよい。
A plurality of the sealing
以下、上記ロボット6a,6b,6c,6dの動作と上記制御装置40により実行される制御の内容とについて説明する。
Hereinafter, the operation of the
まず、各ロボットの可動範囲内において共通の座標系を使用可能なようにする。この処理自体は公知であるため、その概要を簡単に説明する。各ロボット6a,6b,6c,6dにニードルバー(図示せず)を取り付ける。このニードルバーは、カメラ33(図2参照)は取り付けたままとしてシーリングガン25(図2参照)に替えて設けられる。次に、ロボットの動作範囲内の任意の接触点を設定する。この接触点は、単一でもよいが複数であることが好ましい。また、この接触点は隣接するロボットの姿勢が同じ姿勢をとったときに互いのニードルバーが接触するものと予め想定される点に設定されていることが好ましい。これは、アームの撓みによる影響を極力避けるためである。
First, a common coordinate system can be used within the movable range of each robot. Since this process itself is publicly known, its outline will be briefly described. A needle bar (not shown) is attached to each
次に、隣接する2つのロボットに取り付けられたニードルバーの先端が上記のように設定された任意の接触点に移動するよう、2つのロボットを駆動する。そして、一方のニードルバーの所定部位と、他方のニードルバーの所定部位とを点接触させる。そのときのロボットの座標値とロボットの座標値を出力する。2つの座標値に基づいて、一方のロボットの座標値を他方の座標値に変換するための変換行列を算定する。任意の接触点が複数設定されている場合には、この手順が接触点ごとに繰り返し行われることとなる。 Next, the two robots are driven so that the tips of the needle bars attached to the two adjacent robots move to an arbitrary contact point set as described above. Then, the predetermined part of one needle bar and the predetermined part of the other needle bar are brought into point contact. The robot coordinate value and the robot coordinate value at that time are output. Based on the two coordinate values, a conversion matrix for converting the coordinate value of one robot into the other coordinate value is calculated. When a plurality of arbitrary contact points are set, this procedure is repeated for each contact point.
このようにして算定された変換行列を用いることにより、あるロボットの座標を隣接するロボットの座標域に拡張可能となる。なお、複数の接触点を設定した場合には、接触点ごとに変換行列が算定されることとなる。このため、これら複数の変換行列を平均して得られた平均変換行列を、座標の拡張に使用することもできる。上記の処理は、隣接するロボットの組の全てに対して行われる。 By using the conversion matrix calculated in this way, the coordinates of a certain robot can be extended to the coordinate area of an adjacent robot. When a plurality of contact points are set, a conversion matrix is calculated for each contact point. For this reason, an average transformation matrix obtained by averaging the plurality of transformation matrices can also be used for the extension of coordinates. The above processing is performed for all of the adjacent robot sets.
次に、カメラ33のキャリブレーション処理が行われる。この処理自体は公知であるため、その概要を簡単に説明する。まず、上記のニードルバーを用いてキャリブレーションスタンド13(図2参照)の座標位置を測定する。上記のとおりキャリブレーションスタンド13は、塗装エリア5の適当な位置に設置されており、所定の孔13aが形成されている。この座標位置は、例えばニードルバーをキャリブレーションスタンド13の孔13a内に挿入し、ニードルバーが孔13a内に挿入されたときのロボットの座標値を座標位置として特定することにより測定される。このようにキャリブレーションスタンド13の座標位置の測定後には、カメラ33(図2参照)を用いてキャリブレーションスタンド13の孔13aを撮影し、この孔13aの撮像結果に基づいてカメラ寸法の校正を行う。このキャリブレーションの処理は、後述する基準点の測定に用いるカメラ33が搭載される予定の全てのロボット6a,6b,6cについて行われる。
Next, the calibration process of the
次に、本制御装置40は、ある車種に対して実際に塗装作業を行う前に、この実際の作業時に実行される処理で必要とするマスターデータの作成を行う。マスターデータの作成に際しては、生産現場において今後実際に塗装作業を行う予定の車種の車体100のサンプルを複数台(例えば3乃至10台)用意しておき、この生産現場においてこれらサンプルをハンガー3に吊り下げる。すなわち、このマスターデータは、理想的であるが机上の設計値であるCAD値やCAM値等に基づいて作成されるものではなく、実際に塗装作業を行う生産現場での事前トレーニングを通じて車種ごとに1つずつ作成される。
Next, before actually performing a painting operation on a certain vehicle type, the
図14はマスターデータを作成する手順を説明するフローチャートである。図14に示すように、まず、生産現場においてハンガー3に吊り下げられた車体100のサンプルをレール1に沿って搬送し、塗装エリア5で停止させる(ステップS1)。次いで、車体100のカメラ群33を用いてサンプルを撮像し(ステップS2)、カメラ群33から入力した画像データに基づいて、車体100に適宜定義される基準点の位置を測定する(ステップS3)。
FIG. 14 is a flowchart illustrating a procedure for creating master data. As shown in FIG. 14, first, a sample of the
図15はこの車体100の撮像処理及び基準点の位置測定処理の概念図である。ここでは、いわゆるフロントエンジンタイプの車体(サンプルを含む)100を例示している。車体100の床裏部102には多数の貫通孔が形成されており、例えば、リアトランクに浸入した水を抜くための小孔103、フロントボンネットに収容されるべきエンジンを車体100に固定する際に利用される小孔104,105が形成されている。ここでは、これら小孔103,104,105をそれぞれ、カメラ33の撮像対象であってその後の位置測定の対象である基準点P1,P2,P3として利用している。
FIG. 15 is a conceptual diagram of the imaging process of the
図14中ステップS2においては、例えばロボット6aに取り付けられた2台のカメラ33で基準点P1に対応する小孔103を、ロボット6bに取り付けられた2台のカメラ33で基準点P2に対応する小孔104を、ロボット6cに取り付けられた2台のカメラ33で基準点P3に対応する小孔105をそれぞれステレオ視で撮像する。
In step S2 in FIG. 14, for example, the
図14中ステップS3においては、各組の2台のカメラ33が撮像した2つの画像から小孔の像103,104,105をパターンマッチングによって特定し、特定した像位置について三角測量の原理を利用した計算式から基準点P1,P2,P3としての三次元位置を検出する。基準点P1,P2,P3の位置は三次元座標系において定義される。なお、このステップS3には、二値化処理などの他の画像処理を適宜追加してもよい。
In step S3 in FIG. 14, the
図14に戻り、位置検出の処理(ステップS3)が終了すると、次いでこの検出した位置情報をRAM43(図13参照)に記憶する(ステップS4)。そして、位置データを取得したサンプルの台数が所定値に達したか否かが判断され(ステップS5)、所定値に達していない場合は、次のサンプルに対してステップS1〜S4の処理が再び行われる。 Returning to FIG. 14, when the position detection process (step S3) is completed, the detected position information is then stored in the RAM 43 (see FIG. 13) (step S4). Then, it is determined whether or not the number of samples for which position data has been acquired has reached a predetermined value (step S5). If the predetermined value has not been reached, the processing of steps S1 to S4 is performed again for the next sample. Done.
所定台数のサンプルの位置データを取得した場合には、これら位置データに基づいて各基準点P1,P2,P3の位置のマスターデータが作成される(ステップS6)。各マスターデータは、基準点P1,P2,P3ごとに取得された複数の位置データを平均することによって作成される。このとき適宜外れ値を除外した上でマスターデータを作成するようにしてもよい。この外れ値を選定するために、CAD値やCAM値を利用することも可能である。そして、このように作成された各基準点P1,P2,P3についてのマスターデータがRAM43に記憶される(ステップS7)。 When the position data of a predetermined number of samples is acquired, master data of the positions of the reference points P1, P2, P3 is created based on these position data (step S6). Each master data is created by averaging a plurality of position data acquired for each of the reference points P1, P2, P3. At this time, master data may be created after appropriately removing outliers. In order to select this outlier, it is also possible to use a CAD value or a CAM value. Then, the master data for the reference points P1, P2, P3 created in this way is stored in the RAM 43 (step S7).
次に、上記事前トレーニングを通じて作成されたマスターデータを利用して行われる実際の塗装作業を行う手順について図16に基づいて説明する。図16に示すように、まず、事前トレーニングと同様にして車体100を搬送して塗装エリア5で停止させ(ステップS11)、停止した車体100に形成されている小孔103、104,105をステレオ視により撮像し(ステップS12)、入力された画像データに基づいて基準点P1′,P2′,P3′の位置を測定し(ステップS13)、測定されたデータに基づいてマスターデータを補正するための補正値を算出する(ステップS14)。
Next, a procedure for performing an actual painting operation performed using the master data created through the prior training will be described with reference to FIG. As shown in FIG. 16, first, the
図17はこの補正の手順を説明するフローチャートであり、図18はこの補正処理の概念図である。図17及び図18に示すように、まず、マスターデータによって定義される基準点P1をX軸上に位置させる座標系を規定し、その座標系の原点を中心Oとして基準点P1,P2,P3を通る円Cを求める。また、計測された基準点P1′をX′軸上に位置させる座標系を設定し、その座標系の原点を中心O′として基準点P1′,P2′,P3′を通る円C′を求める(ステップS41)。すなわち、ステップS41においては、基準点P1を基準にした3つの基準点P1,P2,P3間の位置関係と、基準点P1′を基準にした3つの基準点P1′,P2′,P3′間の位置関係とをそれぞれ、二次元座標系に規定される円によって定義する処理が実行されている。 FIG. 17 is a flowchart for explaining the correction procedure, and FIG. 18 is a conceptual diagram of the correction process. As shown in FIGS. 17 and 18, first, a coordinate system for positioning the reference point P1 defined by the master data on the X axis is defined, and the reference points P1, P2, P3 are set with the origin O of the coordinate system as the center O. A circle C passing through is obtained. In addition, a coordinate system for setting the measured reference point P1 ′ on the X ′ axis is set, and a circle C ′ passing through the reference points P1 ′, P2 ′, P3 ′ is obtained with the origin of the coordinate system as the center O ′. (Step S41). That is, in step S41, the positional relationship between the three reference points P1, P2 and P3 with reference to the reference point P1, and between the three reference points P1 ', P2' and P3 'with reference to the reference point P1'. Are defined by circles defined in a two-dimensional coordinate system.
次いで、マスターデータ側の円Cの中心が計測値側の円C′の中心O′と一致するように円Cを平行移動させる(ステップS42)。そして、この平行移動後の円Cを規定する平面を計測値側の円C′を規定する平面と一致させるため、円Cを規定する平面を回転移動させる(ステップS43)。すなわち、ステップS42,S43においては、基準点P1を基準にして設定された座標系を、基準点P1′を基準にして設定された座標系に変換する処理が実行されている。 Next, the circle C is translated so that the center of the circle C on the master data side coincides with the center O ′ of the circle C ′ on the measurement value side (step S42). Then, in order to make the plane defining the circle C after the parallel movement coincide with the plane defining the circle C ′ on the measurement value side, the plane defining the circle C is rotated (step S43). That is, in steps S42 and S43, processing for converting a coordinate system set with reference to the reference point P1 into a coordinate system set with reference to the reference point P1 ′ is executed.
そして、この回転移動後の面内で規定される円Cを、中心O′を通る法線回りに角度φだけ回転したときに、L1(φ)2+L2(φ)2+L3(φ)2が最小値をとる角度φを求める(ステップS44)。ここで、L1(φ)は、角度φだけ回転した後の基準点P1と測定値P1′との距離、L2(φ)は、同基準点P2と測定値P2′との距離、L3(φ)は、同基準点P3と測定値P3′との距離である。すなわち、ステップS44においては、最小二乗法の原理を利用して、マスターデータにおける基準点間の位置関係を定義する円Cを、測定された基準点間の位置関係を定義する円C′に近似させる処理が実行されている。 When the circle C defined in the plane after the rotational movement is rotated by an angle φ around the normal line passing through the center O ′, L1 (φ) 2 + L2 (φ) 2 + L3 (φ) 2 becomes An angle φ that takes the minimum value is obtained (step S44). Here, L1 (φ) is the distance between the reference point P1 after rotation by the angle φ and the measured value P1 ′, L2 (φ) is the distance between the reference point P2 and the measured value P2 ′, and L3 (φ ) Is the distance between the reference point P3 and the measured value P3 ′. That is, in step S44, using the principle of the least square method, the circle C that defines the positional relationship between the reference points in the master data is approximated to the circle C ′ that defines the positional relationship between the measured reference points. The process to be executed is executed.
そして、ステップS42〜S44を経て円Cが移動した量を補正値として算出する(ステップS45)。 Then, the amount of movement of the circle C through steps S42 to S44 is calculated as a correction value (step S45).
図16に戻り、このようにして算出された補正値を用いてマスターデータを補正し、補正されたデータ(補正位置データ)に基づいて車体100の所定部位に塗装作業が行われる(ステップS15)。図15を参照して、この塗装作業によって、フェンダー106にシーラ剤が塗布されるとともに、車体100の床裏部102に複数条のシーリングビード107が形成される。シーリングビード107の形成は窓枠部101を通じて車体100内にオペレートされたシーリングガン25により行われる。本実施形態では、このように室内シーリングを行うロボット6a,6b、6cにカメラ33を搭載していることから、位置計測を終了した後直ちに塗装作業に移行することができる。また、カメラを持たないロボット6dの駆動制御も、ロボット6a,6b,6cを利用して算出された補正位置データに基づいて実行するようにしている。このように、カメラ33が搭載されたロボット6a,6b,6cをマスターロボット、シーリングガン25のような作業装置のみを搭載したロボット6dをスレーブロボットとするシステム構成によって塗装作業を行うこともできる。
Returning to FIG. 16, the master data is corrected using the correction value calculated in this way, and a painting operation is performed on a predetermined portion of the
このようにCPU41の処理内容に基づけば、CPU41は、カメラ33から入力した撮像結果を示す画像信号に基づいて車体100の基準点の三次元位置を測定する測定部と、測定部により測定された基準点の位置データに基づいてマスターデータを補正するための補正値を算出する補正値算出部と、補正値算出部により補正された車体の補正位置データに基づいてアーム7(図1参照)の揺動制御とシーリングガン25の揺動制御を実行する作業制御部とを機能的に有することとなる。該測定部においては事前トレーニングでのサンプルの基準点の位置の測定が行われ、CPU41は更にこの測定部によって事前測定されたサンプルの位置データに基づいて車体の基準点のマスターデータを算出するマスターデータ算出部を機能的に有することとなる。
Based on the processing content of the
以上のように、本実施形態によれば、事前トレーニングで作成されたマスターデータに基づいて測定された基準点P1′,P2′,P3′の位置を補正している。このため、現実の生産過程に即した補正値を得ることができ、塗装作業を適切に行うことができるようになる。より具体的には、設計データと実際に生産された車体のデータとの間の公差をなくすことができ、また、この公差を生み出す車体100を形成するときに利用される溶接ロボットの動作の癖や、走行ユニット2の停止動作の癖などをマスターデータ側に吸収することができ、補正誤差を小さくすることができるようになっている。また、ロボット6a,6b,6cのアーム7の撓みも事前トレーニングによってマスターデータ内に吸収することができ、補正誤差を小さくすることができる。アーム7の撓みはカメラ33の解像度に比べて大きいことが一般的であるため、位置計測を正確に行う上で、この撓みを吸収することができることは特に有効である。
As described above, according to the present embodiment, the positions of the reference points P1 ′, P2 ′, P3 ′ measured based on the master data created in the prior training are corrected. For this reason, a correction value adapted to the actual production process can be obtained, and the painting operation can be performed appropriately. More specifically, the tolerance between the design data and the actually produced vehicle body data can be eliminated, and the operation of the welding robot used when forming the
なお、カメラ33を搭載したロボット6a,6b,6cは噴霧されたシーラ剤が付着して汚れ易い下床面11には配置されていない。このため、カメラ33にはシーラ剤の付着を防護するシャッター機構を設ける必要がなくなり、カメラの周辺構造及び制御系の構成を簡略化することができる。また、シャッター機構の開閉時間を確保する必要がなくなるため、塗装作業に要する時間の短縮化にも繋がる。照明光源38も同様にして下床面11から除かれるため、照明光源38の汚れも防ぐことができるようになる。
The
このように下床面11には撮像に関係する多数の部品が省略されているため、複数車種に対応するカメラ及び照明光源の点数の削減を図ることができるとともに、ここに塗装専用のロボットを多数配置することができるようになる。このため、コンベア長やブース長の短縮化及び全工程時間の短縮化を図ることができ、初期設備投資額を少なくすることができる。また、生産現場の保全作業を安価に行うことができるようになる。
In this way, since many parts related to imaging are omitted on the
また、同一の生産現場において異なる車種を作業対象として取り扱ういわゆる混流生産を実施する場合には、追加される車種に対して実際に作業を行う事前にトレーニングを行ってマスターデータを作成することとなる。このように車種ごとにマスターデータを作成しておくだけで、容易に混流生産に対応することができる。 In addition, when carrying out so-called mixed-flow production in which different vehicle types are handled as work objects at the same production site, master data is created by performing training prior to actually performing operations on the added vehicle types. . Thus, it is possible to easily cope with mixed flow production only by creating master data for each vehicle type.
さらに、本実施形態ではロボット6a,6b,6cにカメラ33を搭載しているため、車種間で基準点の位置が大幅に変更されることがあっても、ロボット6a,6b,6cの動作に基づいて容易に各車種の基準点を視野内に収めることができる。また、スライドレール12に沿って各ロボット6a〜6dは移動可能になっている。したがって、混流生産が実施される場合であっても、カメラ33及び照明光源38の台数を増加させる必要はない。最終的に塗装エリア5をコンパクトに建設でき、環境面からも良好である。
Furthermore, in this embodiment, since the
次に、マスターデータの補正処理の別の手順を説明する。図19はその手順を説明するフローチャートであり、図20はこの補正処理の概念図である。図19及び図20に示すように、まず、基準点P1についてのマスターデータを原点とし、基準点P2についてのマスターデータをP軸上にとり、基準点P3をPQ平面上に位置させるようなPQ座標系を設定し、測定された基準点P1′を原点とし、基準点P2′をP′軸上にとり、基準点P3′をP′Q′平面上に位置させるようなP′Q′座標系を設定する(ステップS141)。このように、本実施形態においては、基準点P3を基準点P1,P2を基準にした二次元座標系に位置させることによって基準点P1,P2,P3間の位置関係を定義し、基準点P3′を基準点P1′,P2′を基準にした二次元座標系に位置させることによって基準点P1′,P2′,P3′間の位置関係を定義している。 Next, another procedure for correcting the master data will be described. FIG. 19 is a flowchart for explaining the procedure, and FIG. 20 is a conceptual diagram of this correction processing. As shown in FIGS. 19 and 20, first, PQ coordinates are set such that the master data for the reference point P1 is the origin, the master data for the reference point P2 is on the P axis, and the reference point P3 is positioned on the PQ plane. A P′Q ′ coordinate system is set such that the measured reference point P1 ′ is the origin, the reference point P2 ′ is on the P ′ axis, and the reference point P3 ′ is positioned on the P′Q ′ plane. Set (step S141). As described above, in this embodiment, the positional relationship between the reference points P1, P2, and P3 is defined by positioning the reference point P3 in the two-dimensional coordinate system based on the reference points P1 and P2, and the reference point P3. 'Is positioned in a two-dimensional coordinate system with reference points P1' and P2 'as a reference, thereby defining the positional relationship between the reference points P1', P2 'and P3'.
次に、基準点P1についてのマスターデータの座標をP1′上に平行移動し(ステップS142)、P軸をP′軸に一致させるように変換し(ステップS143)、Q軸をQ′軸に一致させるように変換する(ステップS144)。そして、ステップS142〜S143における座標の変換量を補正値として算出する(ステップS145)。すなわち、ステップS142〜S143においては座標を定義する軸の移動によって基準点間の位置関係を互いに近似させる処理が実行されている。 Next, the coordinates of the master data for the reference point P1 are translated on P1 ′ (step S142), the P axis is converted to coincide with the P ′ axis (step S143), and the Q axis is changed to the Q ′ axis. Conversion is performed so as to match (step S144). Then, the coordinate conversion amount in steps S142 to S143 is calculated as a correction value (step S145). That is, in steps S142 to S143, processing for approximating the positional relationship between the reference points is performed by moving the axes defining the coordinates.
このように本変更例においても、事前トレーニングにおいて作成されたマスターデータに基づいて測定値が補正されるため、この補正後の補正位置データに基づいて適切に塗布作業を行うことができるようになる。 As described above, also in the present modified example, the measurement value is corrected based on the master data created in the pre-training, so that the coating operation can be appropriately performed based on the corrected position data after the correction. .
しかも、この補正方法は、簡単な座標変換のみで行うことができるため、上記実施形態と比べて簡便に補正値を算出することができる点で有利となっている。但し、この変更例においては、ステップS142〜S144の手順の順番に応じた重み付けがなされてしまうため、基準点P3の補正精度は基準点P1の補正精度に比べて低くなる。上記の実施形態は、最小二乗法を利用することによってこのような基準点相互間での重み付けが解消され、基準点の位置関係をバランスよく補正することができる点で本変更例に対して有利となっている。 In addition, since this correction method can be performed only with simple coordinate transformation, it is advantageous in that the correction value can be easily calculated as compared with the above embodiment. However, in this modified example, weighting is performed according to the order of steps S142 to S144, so that the correction accuracy of the reference point P3 is lower than the correction accuracy of the reference point P1. The above embodiment is advantageous over the present modification in that the weighting between the reference points is eliminated by using the least square method, and the positional relationship between the reference points can be corrected in a balanced manner. It has become.
これまで、本発明に係る実施の形態について説明したが、本発明の範囲は上記の構成に限られず、適宜変更可能である。例えば、カメラの焦点距離は固定であっても可変であっても良い。さらに、取付部30上に設置されるカメラ33が、そのステレオベースδや挟角θが変化するよう可動に構成されていてもよい。
Although the embodiments according to the present invention have been described so far, the scope of the present invention is not limited to the above-described configuration, and can be changed as appropriate. For example, the focal length of the camera may be fixed or variable. Furthermore, the
なお、本実施形態においては、多関節型ロボットを例示したが、ロボットの形態はこれに限られず、円筒座標型ロボットや直交座標型ロボット等の他の形態のロボットにも好適に適用される。また、塗装作業に限らず、他の用途においても本位置計測方法を適宜適用することができる。 In the present embodiment, an articulated robot is exemplified, but the form of the robot is not limited to this, and the present invention is also suitably applied to other forms of robots such as a cylindrical coordinate type robot and an orthogonal coordinate type robot. Further, the position measurement method can be appropriately applied not only to the painting work but also to other uses.
本発明は、対象物の位置の測定を行う技術分野において広く適用することができる。 The present invention can be widely applied in the technical field of measuring the position of an object.
6a,6b,6c,6d ロボット
25 シーリングガン
28 カメラブラケット
33 カメラ
100 車体(サンプル含む)
6a, 6b, 6c,
Claims (6)
対象物の複数のサンプル各々に設けられている複数の基準点の位置を測定して各基準点の位置データを取得する事前測定ステップと、
該事前測定ステップで取得された前記各サンプルの複数の基準点の位置データに基づいて該複数の基準点の各々について前記マスターデータを事前に算出する事前算出ステップと、
対象物に設けられている複数の基準点の位置を測定して各基準点の位置データを取得する実測ステップと、
該実測ステップで取得された前記位置データに基づいて前記事前算出ステップで算出されたマスターデータに対する補正値を算出する補正値算出ステップとを有し、
前記補正値算出ステップが、
前記マスターデータ間の位置関係を、前記各マスターデータが通る第1の円によって定義するステップと、
前記実測ステップで測定された各基準点間の位置関係を、各基準点が通る第2の円によって定義するステップと、
前記第1の円を規定する第1の座標系を前記第2の円を規定する第2の座標系に変換するための座標変換量を算出するステップと、
式L1(φ) 2 +L2(φ) 2 +……+Ln(φ) 2 が最小値をとるときの角度φを求めるステップとを有し、
ここで、φは、前記第1の円の法線周りに回転したときの回転角、Ln(φ)は、前記第1の円が角度φだけ法線回りに回転したときの、n個目のマスターデータと該n個目のマスターデータと対応する基準点の位置データとの間の距離であり、
更に、前記座標変換量及び前記角度φを前記補正値として算出するステップを有することを特徴とする位置測定方法。 Based on the position data obtained by actually measuring the object, a correction value for the master data serving as a reference for the position of the object is calculated, and the predetermined value of the object is determined based on the correction position data obtained by adding the correction value to the master data. A position measurement method applied to an apparatus configured to work on a site,
A pre-measurement step of measuring the position of a plurality of reference points provided in each of a plurality of samples of the object to obtain position data of each reference point;
A pre-calculation step for pre-calculating the master data for each of the plurality of reference points based on the position data of the plurality of reference points of each sample acquired in the preliminary measurement step;
An actual measurement step of measuring the positions of a plurality of reference points provided on the object and obtaining position data of each reference point;
Have a correction value calculation step of calculating a correction value for the master data calculated by the pre-calculating step based on the positional data obtained by said actual measurement step,
The correction value calculating step includes:
Defining a positional relationship between the master data by a first circle through which each of the master data passes;
Defining a positional relationship between each reference point measured in the actual measurement step by a second circle through which each reference point passes;
Calculating a coordinate conversion amount for converting the first coordinate system defining the first circle into the second coordinate system defining the second circle;
Calculating the angle φ when the expression L1 (φ) 2 + L2 (φ) 2 +... + Ln (φ) 2 takes the minimum value,
Here, φ is the rotation angle when rotating around the normal line of the first circle, and Ln (φ) is the nth rotation angle when the first circle rotates around the normal line by the angle φ. And the position data of the reference point corresponding to the n-th master data and the n-th master data,
Furthermore, the position measuring method characterized by have a step of calculating the coordinate conversion amount and the angle φ as the correction value.
前記実測ステップにおいて、ステレオ視により前記対象物を撮影した一対の画像に基づいて、三次元の前記位置データが取得されることを特徴とする請求項1に記載の位置測定方法。 In the preliminary measurement step, based on a pair of images obtained by photographing the sample by stereo vision, the three-dimensional position data is acquired,
The position measurement method according to claim 1, wherein in the actual measurement step, the three-dimensional position data is acquired based on a pair of images obtained by photographing the object by stereo vision.
対象物に設けられた複数の基準点の位置を測定して位置データを取得する測定部と、
該測定部で取得された位置データに基づいて前記マスターデータを補正するための補正値算出部とを有する位置測定装置であって、
測定対象物の実測の事前に、前記測定部により前記測定対象物の複数のサンプルの各々に設けられた複数の基準点の位置が測定されて各サンプルの複数の基準点の位置データが取得され、前記記憶部に該取得された各位置データに基づいて算出された前記マスターデータが記憶され、
測定対象物の実測時に、前記補正値算出部が、前記記憶部に記憶された前記マスターデータを、実測された測定対象物の基準点の位置データに基づいて補正する構成であり、
前記補正値算出部は、前記マスターデータ間の位置関係を、前記各マスターデータが通る第1の円によって定義し、実測された各基準点間の位置関係を各基準点が通る第2の円によって定義し、前記第1の円を規定する第1の座標系を前記第2の円を規定する第2の座標系に変換するための座標変換量を算出し、式L1(φ) 2 +L2(φ) 2 +……+Ln(φ) 2 が最小値をとるときの角度φを求め、前記座標変換量及び前記角度φを補正値として算出し、
ここで、φは、前記第1の円の法線周りに回転したときの回転角、Ln(φ)は、前記第1の円が角度φだけ法線回りに回転したときの、n個目のマスターデータと該n個目のマスターデータと対応する基準点の位置データとの間の距離であることを特徴とする位置測定装置。 A storage unit for storing master data serving as a reference for the position of the measurement object;
A measurement unit that measures the positions of a plurality of reference points provided on the object and obtains position data;
A position measurement device having a correction value calculation unit for correcting the master data based on the position data acquired by the measurement unit,
Prior to actual measurement of the measurement object, the measurement unit measures the positions of a plurality of reference points provided on each of the plurality of samples of the measurement object, and acquires position data of the plurality of reference points of each sample. , The master data calculated based on the acquired position data is stored in the storage unit,
When measured of the measuring object, the correction value calculation unit, the master data stored in the storage unit, Ri configuration der to correct based on the position data of the reference points of the actually measured measurement object,
The correction value calculation unit defines a positional relationship between the master data by a first circle through which the master data passes, and a second circle through which each reference point passes through a measured positional relationship between the reference points. And a coordinate transformation amount for transforming the first coordinate system defining the first circle into the second coordinate system defining the second circle is calculated, and the expression L1 (φ) 2 + L2 (Φ) 2 +... + Ln (φ) 2 is obtained as an angle φ when the minimum value is obtained, and the coordinate transformation amount and the angle φ are calculated as correction values,
Here, φ is the rotation angle when rotating around the normal line of the first circle, and Ln (φ) is the nth rotation angle when the first circle rotates around the normal line by the angle φ. position measuring device according to claim distance der Rukoto between the master data and said n-th master data and the position data of the corresponding reference point.
該第1及び第2のカメラが、単一のロボットアームに取り付けられていることを特徴とする請求項4に記載の位置測定装置。 A first and second camera that captures the reference point by stereo vision, and the measurement unit acquires position data of the reference point based on a pair of images captured by the first and second cameras And
The position measuring apparatus according to claim 4 , wherein the first and second cameras are attached to a single robot arm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008194321A JP5204575B2 (en) | 2008-07-29 | 2008-07-29 | Position measuring method and position measuring apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008194321A JP5204575B2 (en) | 2008-07-29 | 2008-07-29 | Position measuring method and position measuring apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010032339A JP2010032339A (en) | 2010-02-12 |
JP5204575B2 true JP5204575B2 (en) | 2013-06-05 |
Family
ID=41736992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008194321A Expired - Fee Related JP5204575B2 (en) | 2008-07-29 | 2008-07-29 | Position measuring method and position measuring apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5204575B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4344887A1 (en) * | 2022-09-30 | 2024-04-03 | The Boeing Company | Robotics for inkjet printing vehicle livery |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5686279B2 (en) * | 2010-09-16 | 2015-03-18 | いすゞ自動車株式会社 | Work posture detection device, work processing execution device, and work posture detection method |
JP5973863B2 (en) * | 2012-10-02 | 2016-08-23 | 住友ゴム工業株式会社 | Inspection method for core assembly |
JP6416456B2 (en) * | 2012-10-16 | 2018-10-31 | Jfeスチール株式会社 | Car body stiffness test apparatus and car body stiffness test method |
JP2019076854A (en) * | 2017-10-26 | 2019-05-23 | トヨタ自動車株式会社 | Paint apparatus |
JP6836564B2 (en) | 2018-10-05 | 2021-03-03 | ファナック株式会社 | Sensor bracket and robot system |
CN111994188A (en) * | 2020-09-11 | 2020-11-27 | 广汽本田汽车有限公司 | Automatic automobile glass installation system and control method thereof |
CN112077862B (en) * | 2020-09-29 | 2025-01-03 | 广汽本田汽车有限公司 | A visual camera robot |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62226308A (en) * | 1986-03-28 | 1987-10-05 | Fanuc Ltd | Control system for robot having visual sensor |
JP2767417B2 (en) * | 1986-08-29 | 1998-06-18 | ファナック 株式会社 | Robot control device |
JP2782959B2 (en) * | 1991-01-31 | 1998-08-06 | 日産自動車株式会社 | Automatic mounting device with visual function |
JPH06246436A (en) * | 1993-02-25 | 1994-09-06 | Sharp Corp | Brazing equipment |
JP3665353B2 (en) * | 1993-09-14 | 2005-06-29 | ファナック株式会社 | 3D position correction amount acquisition method of robot teaching position data and robot system |
JPH0944218A (en) * | 1995-08-02 | 1997-02-14 | Nippon Telegr & Teleph Corp <Ntt> | Position and attitude correcting method for object and taught course correcting method for robot |
JPH11296218A (en) * | 1998-04-09 | 1999-10-29 | Hitachi Ltd | Offline teaching method for robots |
JP3950805B2 (en) * | 2003-02-27 | 2007-08-01 | ファナック株式会社 | Teaching position correction device |
JP4830444B2 (en) * | 2005-10-21 | 2011-12-07 | パナソニック株式会社 | Laser processing apparatus and laser processing method |
JP2007240342A (en) * | 2006-03-09 | 2007-09-20 | Tokyo Electric Power Co Inc:The | Flaw inspection apparatus and method |
-
2008
- 2008-07-29 JP JP2008194321A patent/JP5204575B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4344887A1 (en) * | 2022-09-30 | 2024-04-03 | The Boeing Company | Robotics for inkjet printing vehicle livery |
Also Published As
Publication number | Publication date |
---|---|
JP2010032339A (en) | 2010-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5204575B2 (en) | Position measuring method and position measuring apparatus | |
JP7153085B2 (en) | ROBOT CALIBRATION SYSTEM AND ROBOT CALIBRATION METHOD | |
US8346392B2 (en) | Method and system for the high-precision positioning of at least one object in a final location in space | |
JP6423848B2 (en) | Method for determining the three-dimensional coordinates of an object | |
CA2765626C (en) | Calibration method for a measuring system | |
JP4827744B2 (en) | Inspection path setting and inspection area determination method | |
JP5978941B2 (en) | Method for manufacturing joined body and apparatus for manufacturing the same | |
US20120072021A1 (en) | Method and system for highly precisely positioning at least one object in an end position in space | |
TWI667090B (en) | Laser processing device | |
JP5811327B2 (en) | Camera calibration device | |
JP6922204B2 (en) | Controls, robots and robot systems | |
JP2011115877A (en) | Double arm robot | |
JP4015161B2 (en) | Industrial robot controller | |
CN111707189B (en) | Beam direction calibration method of laser displacement sensor based on binocular vision | |
JPWO2018092243A1 (en) | Work position correction method and work robot | |
CN108827264A (en) | Mobile workbench and its mechanical arm optics target positioning device and localization method | |
CN110006345A (en) | A device and method for on-line detection of automobile wiring harness based on machine vision | |
JP5686279B2 (en) | Work posture detection device, work processing execution device, and work posture detection method | |
JP2007122705A (en) | Welding teaching point correction system and calibration method | |
KR20210102566A (en) | Machine vision apparatus for installation of automobile door parts with precision compensation | |
JP2007533963A (en) | Non-contact optical measuring method and measuring apparatus for 3D position of object | |
JP2007533963A5 (en) | ||
JP7427370B2 (en) | Imaging device, image processing device, image processing method, calibration method for imaging device, robot device, method for manufacturing articles using robot device, control program, and recording medium | |
JP2021013983A (en) | Apparatus and method for acquiring deviation of moving locus of moving machine | |
JP2001246582A (en) | Working robot device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110713 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120907 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121016 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121026 |
|
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: 20130122 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130215 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160222 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |