JPH0232203A - Height correcting method for two-dimensional image processing - Google Patents
Height correcting method for two-dimensional image processingInfo
- Publication number
- JPH0232203A JPH0232203A JP18266288A JP18266288A JPH0232203A JP H0232203 A JPH0232203 A JP H0232203A JP 18266288 A JP18266288 A JP 18266288A JP 18266288 A JP18266288 A JP 18266288A JP H0232203 A JPH0232203 A JP H0232203A
- Authority
- JP
- Japan
- Prior art keywords
- height
- camera
- workpiece
- work
- measurement
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 5
- 238000005259 measurement Methods 0.000 claims abstract description 21
- 230000000007 visual effect Effects 0.000 claims abstract description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 1
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の目的〕
(産業上の利用分野)
本発明はワークの位置と姿勢をTV左カメラ視覚装置を
用いて計測する場合の位置補正に関するもので、産業様
ロボット等の視覚による位置補正に使用されるものであ
る。[Detailed Description of the Invention] [Object of the Invention] (Industrial Field of Application) The present invention relates to position correction when measuring the position and orientation of a workpiece using a TV left camera visual device, and is applicable to industrial robots, etc. This is used for visual position correction.
(従来の技術)
本発明に係る従来技術として、ワークの位置と姿勢をT
V左カメラ視覚装置を用いて計測する場合に、ワークの
計測できる位置が2箇所以上必要であり、又その2箇所
の点の高さ(h)が同じであれば、その高さと同じ治具
で、キャリブレーションを行うことにより位置と姿勢(
回転角)を正しく求めることができるが、2箇所の高さ
(h)が違う場合には第3図に示すようにワークの計測
する点の高さにより誤差が異なる。(Prior art) As a prior art related to the present invention, the position and posture of the workpiece are
When measuring using the V left camera visual device, it is necessary to have two or more positions where the workpiece can be measured, and if the height (h) of the two points is the same, use the same jig as that height. By performing calibration, the position and posture (
(rotation angle) can be determined correctly, but if the heights (h) of the two locations are different, the error will vary depending on the height of the point on the workpiece being measured, as shown in FIG.
このためにワークの高さ(h)に対して計測台からカメ
ラまでき高さ(h)を十分とることにより、その誤差を
少なくすることができるものである0図に於て3はカメ
ラ、4はワークで、hはワークの2点の高さ、Hはカメ
ラの高さで、点線で示すカメラ3aは誤差を少なくする
ために高くしたものである。For this reason, by taking a sufficient height (h) from the measuring table to the camera relative to the height (h) of the workpiece, the error can be reduced. 4 is a workpiece, h is the height of two points on the workpiece, H is the height of the camera, and the camera 3a shown by the dotted line is raised to reduce errors.
(発明が解決しようとする課題)
しかし、前記ワークの計測方法は、
(1)計測台からカメラまでの高さ(H)がワークの高
さhに比べて十分に大きいことが必要であり設置場所の
制約を受ける。(Problems to be Solved by the Invention) However, the method for measuring the workpiece described above requires (1) the height (H) from the measuring platform to the camera to be sufficiently larger than the height h of the workpiece; subject to location constraints.
(2)カメラの位置を高くすることにより照明装置の位
置を高くしなければならないので、照明装置の照度アッ
プが必要となる。(2) Since the position of the lighting device must be raised by raising the position of the camera, it is necessary to increase the illuminance of the lighting device.
(3)計測台からカメラまでの高さHが高いためにカメ
ラが振動し易く計測精度が落ちる。(3) Since the height H from the measurement stand to the camera is high, the camera is likely to vibrate, reducing measurement accuracy.
という問題点がある。There is a problem.
本発明はカメラの高さを上げて(レンズの焦点距離の長
いものにして)計測を行う場合に、カメラの設置上の制
約があり、カメラの高さがとれない場合に、ワークの高
さと視覚台からカメラまでの高さの情報を補正すること
により正確に計測出来る方式を技術的課題とするもので
ある。The present invention can be used to measure the height of a workpiece by raising the height of the camera (using a lens with a long focal length). The technical challenge is to develop a method that can accurately measure by correcting the height information from the viewing platform to the camera.
(課題を解決するための手段)
前記技術的課題を解決するために講じた技術的手段は次
のようである。すなわち
二次元画像処理において、ワークの位置と姿勢を計測す
る場合、位置と姿勢を計測するために2つの基準点の位
置の高さが異なることによって生ずる計測誤差をワーク
の高さとカメラの高さ情報により位置補正を行う方法で
ある。(Means for solving the problem) The technical means taken to solve the above technical problem are as follows. In other words, when measuring the position and orientation of a workpiece in two-dimensional image processing, the measurement error caused by the difference in the height of the two reference points for measuring the position and orientation is calculated using the height of the workpiece and the height of the camera. This is a method of correcting the position based on information.
(作用)
ワークに照明を当てて、視覚センサーでワークの位置と
姿勢を計測し、そこで得られた位置でデータにワークの
高さ等のデータを具えることにより、計測物の高さによ
る位置誤差を補正しその位置データに従いロボットが取
りに行くというもので、
計測物の位置と姿勢(回転角)を計測するためには最低
2箇所の計測点が必要であり、この2箇所の高さが同じ
であれば、その高さと同じ治具でロボット座標系と視覚
座標系のマツチング(キャリブレーション)を行って計
測するものである。(Function) By illuminating the workpiece, measuring the position and orientation of the workpiece with a visual sensor, and adding data such as the height of the workpiece to the data obtained from the position, the position based on the height of the workpiece can be determined. The error is corrected and the robot picks up the object according to the position data.In order to measure the position and orientation (rotation angle) of the object, at least two measurement points are required, and the heights of these two points are If they are the same, the robot coordinate system and the visual coordinate system are matched (calibrated) using the same jig to measure the height.
しかし、その2箇所の点の高さが異なる場合には視覚で
計測した位置と実際の位置に差がでる、そこで、ここで
は位置と姿勢を決定するための2つの計測点の区別がで
きることを前提とし、その2点の高さが異なる場合、キ
ャリブレーションを一方の計測点(姿勢)高さで行った
時に生ずるもう一方の計測点の位置誤差をあらかじめ図
面でわかっている計測点の高さ及び計測台からカメラま
での高さデータを具えることにより補正するものである
。However, if the heights of the two points are different, there will be a difference between the visually measured position and the actual position. Therefore, here we will explain how to distinguish between the two measurement points to determine the position and orientation. Assuming that the height of the two points is different, the height of the measurement point is known in advance from the drawing to determine the positional error of the other measurement point that will occur when calibration is performed at the height of one measurement point (posture). This is corrected by providing height data from the measurement platform to the camera.
(実施例) 以下実施例について説明する。(Example) Examples will be described below.
第1図は本実施例のシステム図で1はロボット、2は照
明装置、3はカメラ、4はワークで、15はワークの載
置台で、17は視覚装置で、18はロボットコントロー
ラーを示す。FIG. 1 is a system diagram of this embodiment, where 1 is a robot, 2 is a lighting device, 3 is a camera, 4 is a workpiece, 15 is a workpiece mounting table, 17 is a visual device, and 18 is a robot controller.
第2図は前記カメラにて前記ワーク4を見た場合のワー
クの位置と、見かけの位置との実際の位置とのずれを示
すもので、(イ)はカメラの真下にワークがあり、(ロ
)はワークがズしているところを示す。(イ)の5はワ
ークの真の位置であり、(ロ)の6は視覚で計測したワ
ークの位置で、16はワークの真の位置と視覚で計測し
た位置の誤差を示す。Figure 2 shows the position of the workpiece 4 when viewed with the camera, and the deviation between the apparent position and the actual position. B) shows the workpiece is missing. 5 in (a) is the true position of the workpiece, 6 in (b) is the visually measured position of the workpiece, and 16 is the error between the true position of the workpiece and the visually measured position.
第4図の(イ) (ロ)(ハ)はワークとカメラの位置
関係を示すもので、7はキャリブレーション用治具であ
り、8は計測台からカメラまでの高さ、9は計測穴の高
さで、IOはキャリブレーション用治具7の高さで、1
1はカメラのセンター位置である。(A), (B), and (C) in Figure 4 show the positional relationship between the workpiece and the camera, 7 is the calibration jig, 8 is the height from the measurement table to the camera, and 9 is the measurement hole. IO is the height of the calibration jig 7, 1
1 is the center position of the camera.
第5図は前記第4図のワークの計測状況を簡素化して表
わしたもので、この形状は相似三角形であるために、相
似三角形として、
A:B=△H: H,そこで
となる、
第4図のカメラの高さ8、計測点の高さ9、治具の高さ
10は図面データより既知である。Fig. 5 is a simplified representation of the measurement situation of the workpiece shown in Fig. 4. Since this shape is a similar triangle, as a similar triangle, A: B = △H: H, so, The height 8 of the camera, the height 9 of the measurement point, and the height 10 of the jig in FIG. 4 are known from the drawing data.
そこで、カメラのセンター位置の求め方として、第6図
に示す様な上部は下部のセンターよ小穴の開いた治具1
3を第7図に示す様に計測台の上に置き、上部の穴を通
して下部の見える様な位置に置き、その位置を視覚で計
測しカメラのセンター位置11とする。そこで(1)式
に値を代入すると、
となる。Therefore, as a way to find the center position of the camera, a jig 1 with a small hole in the upper part is closer to the center of the lower part as shown in Figure 6.
3 is placed on a measuring table as shown in FIG. 7, and placed in a position where the bottom part can be seen through the hole at the top, and the position is visually measured and taken as the center position 11 of the camera. So, by substituting the value into equation (1), we get:
ここでX座標について求めると、 となる。Now, if we ask about the X coordinate, becomes.
同様にY座標について求めると、 となる。Similarly, when calculating the Y coordinate, becomes.
よって■、■式により視覚で求めた見かけ上の位置(χ
、y)をワークの真の位置(X、Y)をに変換すること
ができるものである。Therefore, the apparent position (χ
, y) can be converted into the true position (X, Y) of the workpiece.
本発明は次の効果を有する。 The present invention has the following effects.
■、カメラの位置を高くせず設備の設置上の制約を少な
くすることができる、
2、照明装置の高さによる照度アップの必要がない、
3、計測位置の高さによる計測誤差を少なくすることが
できる。■Reducing constraints on equipment installation without having to raise the camera position 2. No need to increase illuminance due to the height of the lighting device 3. Reduce measurement errors due to the height of the measurement position be able to.
第1図は本実施例のシステム説明図、第2図はワークの
位置ずれの説明図、第3図は従来例の説明図、第4図の
(イ)(ロ)(ハ)は本実施例の座標形にした説明図、
第5図は第4図の要部の説明図、第6図は位置調整の説
明図、第7図は第6図の外観斜視図。
3・・・カメラ。
4・・・ワーク。
8.9・・・2つの基準高さ。Fig. 1 is an explanatory diagram of the system of this embodiment, Fig. 2 is an explanatory diagram of workpiece misalignment, Fig. 3 is an explanatory diagram of the conventional example, and Fig. 4 (a), (b), and (c) are illustrations of the present embodiment. An explanatory diagram in the coordinate form of an example,
5 is an explanatory diagram of the main part of FIG. 4, FIG. 6 is an explanatory diagram of position adjustment, and FIG. 7 is an external perspective view of FIG. 6. 3...Camera. 4...Work. 8.9...Two reference heights.
Claims (1)
にて計測する場合に、ワークの位置と姿勢を計測するた
めの2つの基準点の位置の高さが異なることによつて生
ずる計測誤差を、ワークの高さと前記カメラの高さ情報
により豫め位置補正を行う、二次元画像処理における高
さ補正方法。In two-dimensional image processing, when measuring the position and orientation of a workpiece using a visual device, measurements occur due to differences in the heights of two reference points for measuring the position and orientation of the workpiece. A height correction method in two-dimensional image processing in which errors are corrected based on the height of a workpiece and height information of the camera.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18266288A JPH0232203A (en) | 1988-07-21 | 1988-07-21 | Height correcting method for two-dimensional image processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18266288A JPH0232203A (en) | 1988-07-21 | 1988-07-21 | Height correcting method for two-dimensional image processing |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0232203A true JPH0232203A (en) | 1990-02-02 |
Family
ID=16122242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP18266288A Pending JPH0232203A (en) | 1988-07-21 | 1988-07-21 | Height correcting method for two-dimensional image processing |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0232203A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009236849A (en) * | 2008-03-28 | 2009-10-15 | Honda Motor Co Ltd | Work measuring technique |
US8712678B2 (en) | 2008-03-28 | 2014-04-29 | Honda Motor Co., Ltd. | Method of measuring a displacement amount for an automobile suspension assembly |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS4974967A (en) * | 1972-11-18 | 1974-07-19 | ||
JPS6344103A (en) * | 1986-08-12 | 1988-02-25 | Nissan Motor Co Ltd | Apparatus for confirming position and posture |
-
1988
- 1988-07-21 JP JP18266288A patent/JPH0232203A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS4974967A (en) * | 1972-11-18 | 1974-07-19 | ||
JPS6344103A (en) * | 1986-08-12 | 1988-02-25 | Nissan Motor Co Ltd | Apparatus for confirming position and posture |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009236849A (en) * | 2008-03-28 | 2009-10-15 | Honda Motor Co Ltd | Work measuring technique |
US8712678B2 (en) | 2008-03-28 | 2014-04-29 | Honda Motor Co., Ltd. | Method of measuring a displacement amount for an automobile suspension assembly |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS63180111A (en) | Automatically positioning system | |
JPH0435885A (en) | Calibration method for visual sensor | |
US10704891B2 (en) | Method and apparatus for determining the 3D coordinates of an object | |
JP2013173191A (en) | Robot apparatus, robot control apparatus, robot control method, and robot control program | |
JP2890874B2 (en) | Robot arm relative posture correction method | |
JPH03161223A (en) | Fitting of work | |
JP3095463B2 (en) | 3D measurement method | |
JPH0232203A (en) | Height correcting method for two-dimensional image processing | |
JP3286105B2 (en) | Mounting position correction method for mounting machine | |
JPH116711A (en) | Method for measuring calibration value of image pickup unit for measurement | |
JP3144233B2 (en) | Automatic adjustment of robot and camera | |
JPH04100573A (en) | Correction method of shifting of camera coordinate system | |
JP2718249B2 (en) | Robot displacement detection device | |
JPH0283183A (en) | Setting method for position of articulated robot | |
JP3419870B2 (en) | Calibration method of optical system for recognition of visual recognition device and visual recognition device using the method | |
JP3562096B2 (en) | Position detection method | |
JP2913370B2 (en) | Optical position measurement method | |
JP7379045B2 (en) | Calculation method, article manufacturing method, program, information processing device, system | |
JP2661118B2 (en) | Conversion method of object coordinates and visual coordinates using image processing device | |
JP3252870B2 (en) | Calibration method of image recognition robot camera | |
JPH01153907A (en) | Visual sensor attitude correction system utilizing image processor | |
JPH05337785A (en) | Grinding path correcting device of grinder robot | |
JPS60263691A (en) | Inspection device for robot | |
JPS62102984A (en) | Method of determining attitude of wrist section of robot | |
JPH04370705A (en) | Device for correcting resolution in image processing |