JPS61270090A - Method of controlling robot with camera for visual recognition - Google Patents

Method of controlling robot with camera for visual recognition

Info

Publication number
JPS61270090A
JPS61270090A JP11362985A JP11362985A JPS61270090A JP S61270090 A JPS61270090 A JP S61270090A JP 11362985 A JP11362985 A JP 11362985A JP 11362985 A JP11362985 A JP 11362985A JP S61270090 A JPS61270090 A JP S61270090A
Authority
JP
Japan
Prior art keywords
recognition
robot
camera
visual recognition
arm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11362985A
Other languages
Japanese (ja)
Inventor
佐藤 和克
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11362985A priority Critical patent/JPS61270090A/en
Publication of JPS61270090A publication Critical patent/JPS61270090A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、視覚認識用カメラ(以下カメラ)をアームの
一部に取付けだロボット(以下ロボット)の制御方法に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a method of controlling a robot (hereinafter referred to as a robot) having a visual recognition camera (hereinafter referred to as a camera) attached to a part of its arm.

従来の技術 一般に、ロボットにカメラを取付ける場合、第1図に示
すように、カメラ3および視覚認識装置4は固定位置に
設置され、ロボットのアーム1゜ロボット制御装置2と
は物理的に分離していた。
BACKGROUND ART Generally, when a camera is attached to a robot, the camera 3 and visual recognition device 4 are installed in a fixed position, and the robot arm 1 is physically separated from the robot control device 2, as shown in FIG. was.

発明が解決しようとする問題点 上記従来例の場合、視覚認識範囲が固定化され、視野を
広くすれば分解能が低下し、複数の視覚認識箇所が必要
な場合は、複数のカメラが必要になると共に、カメラ支
持台等が複雑になりロボットの可動範囲が制約を受ける
欠点を持っていた。
Problems to be Solved by the Invention In the case of the above conventional example, the visual recognition range is fixed, and if the field of view is widened, the resolution decreases, and if multiple visual recognition points are required, multiple cameras are required. In addition, the camera support stand and the like are complicated, which limits the robot's movable range.

問題点を解決するだめの手段 上記問題点を解決するため、本発明は第3図に示すよう
にロボットのアームの一部に視覚認識用カメラを取付け
、ロボットのアームの移動、停止に連動して認識の範囲
9倍率、方向を変えながら、前記ロボット・アームの移
動範囲内にある基準となる2つの領域で認識マークの有
無及び位置を認識検索し、前記2つの認識された認識マ
ーク間の距離と認識対象物の物理的寸法である理論値と
を比較し、両者間の値の差が所定の範囲にある場合に、
さらにあらかじめ登録された認識マークの基準位置と認
識された認識マークの位置との差から補正値を求め、ロ
ボットのアームの作業位置を前記補正値により補正する
ようにした視覚認識用カメラ付きロボットの制御方法を
提供するものである。
Means for Solving the Problems In order to solve the above problems, the present invention, as shown in FIG. While changing the recognition range 9 magnification and direction, the presence or absence and position of the recognition mark is searched in two reference areas within the movement range of the robot arm, and the position between the two recognized recognition marks is searched. Compare the distance with the theoretical value, which is the physical dimension of the recognition target, and if the difference between the two values is within a predetermined range,
Furthermore, a correction value is calculated from the difference between the reference position of the recognition mark registered in advance and the position of the recognized recognition mark, and the working position of the robot arm is corrected using the correction value. The present invention provides a control method.

作  用 本発明は上記手段によって、ロボットのアームの一部に
カメラを取付け、ロボットのアームの移動、停止に連動
して認識の範囲9倍率、方向を変えながら認識検索する
機能、認識結果より求めた値と認識対象物の物理的寸法
である理論値とを比較し、認識結果の妥当性を評価する
機能、および認識結果よシ補正値を求め、ロボットの作
業位置を補正する機能等を有し、認識範囲の広域化と多
目的化に対処できるようにしたものである。
Operation The present invention uses the above means to attach a camera to a part of the robot's arm, and has a recognition range of 9 magnification in conjunction with the movement and stop of the robot's arm, a function to perform recognition search while changing the direction, and a function to perform a recognition search while changing the direction. It has a function to evaluate the validity of the recognition result by comparing the calculated value with the theoretical value, which is the physical dimensions of the recognition target, and a function to calculate the correction value based on the recognition result and correct the robot's working position. This makes it possible to widen the recognition range and make it more versatile.

実施例 以下、本発明の一実施例について、図面を参照しながら
説明する。第4図は、実施例のブロック構成図であり、
8はロボット本体に取付けられた把持機構、9は搬送体
、1oは搬送体上の認識マーク、11は搬送体上の作業
対象物(以下ワーク)である。実施例では、ワークが1
乃至数個設置された搬送体がロボットの近傍まで移動し
、停止するが停止精度が良くないため、搬送体上に設け
られた2個の認識マークをロボットのアームに取付けら
れたカメラ3で画像入力し、視覚認識装置4で認識をし
、搬送体の位置ずれ、回転の検出をする。搬送体の上に
は、1乃至数個のワークが認識マークとの一定距離を保
ちながら置かれており、認識されたずれ量2回転量をロ
ボット制御装置2が把握し、ワークの把持位置の補正計
算後把持機構8によシ把持する。
EXAMPLE Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 4 is a block diagram of the embodiment,
8 is a gripping mechanism attached to the robot body, 9 is a carrier, 1o is a recognition mark on the carrier, and 11 is a workpiece (hereinafter referred to as a work) on the carrier. In the example, the workpiece is 1
Several conveyors move close to the robot and stop, but the stopping accuracy is not good, so two recognition marks placed on the conveyor are imaged with the camera 3 attached to the robot's arm. The information is input and recognized by the visual recognition device 4, and positional deviation and rotation of the transport body are detected. One to several workpieces are placed on the conveyor while maintaining a constant distance from the recognition mark, and the robot control device 2 grasps the recognized deviation amount of 2 rotations and determines the gripping position of the workpiece. After the correction calculation, it is gripped by the gripping mechanism 8.

また、実施例では搬送体の位置決め精度は移動方向と平
面での直角方向(以下y方向)は比較的良いが、移動方
向(以下X方向)には良くないため、認識マーク10が
カメラの視野内に入らない場合がある。このため、実施
例では、第5図に示すように複数個の認識エリア12(
1回のカメラ操作で画像入力のできる範囲)を設定でき
るようにし、第6図に示すような手順で認識検索および
その評価を行ない認識マークの有無および位置の認識を
行なう。認識エリアは任意に設定できるが、実施例では
各認識エリアにオーバーラツプ部13を設け、認識エリ
ア境界上で認識不卵にならないようにしている。
In addition, in the embodiment, the positioning accuracy of the carrier is relatively good in the direction perpendicular to the movement direction and the plane (hereinafter referred to as the y direction), but not so good in the movement direction (hereinafter referred to as the X direction). It may not go inside. Therefore, in the embodiment, a plurality of recognition areas 12 (
The image input range (range in which images can be input) can be set with one camera operation, and the presence/absence and position of a recognition mark is recognized by performing a recognition search and its evaluation in accordance with the procedure shown in FIG. Although the recognition areas can be set arbitrarily, in the embodiment, each recognition area is provided with an overlap portion 13 to prevent recognition failure on the boundaries of the recognition areas.

さらに、実施例では、認識マーク間の物理的距離(L)
は一定であるため、認識結果より求めた距離(L′)を
次式により評価し、誤認識を防止している。
Furthermore, in the embodiment, the physical distance (L) between the recognition marks
Since L' is constant, the distance (L') obtained from the recognition result is evaluated using the following equation to prevent misrecognition.

(1−α)L≦L′≦(1+α)L ここにαは係数である。(1-α)L≦L'≦(1+α)L Here α is a coefficient.

また、第7図よりL′は次式により求めるL′= 〔(
x2−xl +α3”2−xm)−α1(”1−”m)
 )2十(Y2−Y1+α4(y2−ym)−α2(7
1−7m月”2〕%ここに P(Xl、Yl)・・・・・・認識エリア1におけるロ
ボットの位置 P(X2.Y2)・・・・・・認識エリア2におけるロ
ボットの位置 P(”m ”工)・・・・・・画像入力時に基準となる
位置(ピクセル値) P(xl、yl)・・・・・・認識エリア1において視
覚認識された位置(ピクセル値) α1.α2 ・・・・・・・・・認識エリア1における
1方向。
Also, from Fig. 7, L' is calculated by the following formula: L' = [(
x2-xl +α3"2-xm)-α1("1-"m)
)20(Y2-Y1+α4(y2-ym)-α2(7
1-7m month"2]%Here P(Xl, Yl)...Position of the robot in recognition area 1 P(X2.Y2)...Position of the robot in recognition area 2 P( ``m'' engineering)...... Reference position (pixel value) when inputting an image P (xl, yl)...... Position visually recognized in recognition area 1 (pixel value) α1.α2 ......One direction in recognition area 1.

y方向の倍率 P(x2.y2)・・・・・・認識エリア2において視
覚認識された位置(ピクセル値) α3.α4 ・・・・・・・・・認識エリア2における
X方向。
Magnification P in the y direction (x2.y2)...Position visually recognized in recognition area 2 (pixel value) α3. α4......X direction in recognition area 2.

y方向の倍率 である。Magnification in y direction It is.

次に、実施例におけるワーク把持位置の補正について、
第8図を使い説明する。認識マークの基準位置をPMl
、2M2とし、認識されたマーク位置をPRl、PH1
とすれば、ワーク把持位置の補正は次のようになる。
Next, regarding the correction of the workpiece gripping position in the example,
This will be explained using FIG. PMl the reference position of the recognition mark
, 2M2, and the recognized mark positions are PRl and PH1.
Then, the workpiece gripping position is corrected as follows.

■ PMl、PRlより搬送体の平行移動量(ΔX。■ Amount of parallel movement of the conveyor (ΔX) from PMl and PRl.

Δy)を求める。Find Δy).

■ ”Ml ” M2の線分とPRl、PH1の線分と
の傾きにより回転量θを求める。
■ "Ml" Find the rotation amount θ from the slope of the line segment of M2 and the line segments of PRl and PH1.

■ ■、■エリ求めた値を使用し、基準位置をΔ”+’
Vだけ平行移動し、”R1を中心にθだけ回転させる。
■ ■、■Use the value obtained by Eri and set the reference position to Δ”+'
Translate by V and rotate by θ around R1.

このように、ロボットのアームの一部にカメラを取付け
、ロボット制御装置に認識検索機能、認識検証機能、認
識補正機能を付加することにより、ロボットの可動範囲
全域での認識、補正作業のできるシステムの構築が容易
にできる。
In this way, by attaching a camera to a part of the robot's arm and adding recognition search, recognition verification, and recognition correction functions to the robot control device, we have created a system that can perform recognition and correction work throughout the robot's range of motion. can be easily constructed.

発明の効果 以上の通り、本発明ではロボットの可動範囲全ワークの
位置決め規制装置が不用または簡素化できるため、フレ
キシビリティの高いシステムが安価に実現できるもので
ある。
Effects of the Invention As described above, in the present invention, a positioning regulating device for the entire workpiece within the movable range of the robot can be omitted or simplified, so that a highly flexible system can be realized at low cost.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来例を表わした斜視図、第2図及び第4図は
本発明の一実施例の斜視図及びブロック構成図、第3図
は本発明の基本的な手順を示す流れ図、第5図は認識検
索の方法の説明図、第6図は認識検索の流れ図、第7図
は認識結果により距離を求めるだめの位置の関連図、第
8図は同実施例におけるワーク把持位置の補正手順の関
連図である。 6・・・・・・ロボット制御装置と視覚認識装置間のケ
ーブル、θ・・・・・・カメラと視覚認識装置間のケー
ブル、7・・・・・・カメラの支持柱、12・・・・・
・認識エリア、13・・・・・・認識エリアのオーバー
ラツプ部。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名] 第1図 第2図 第3図 fo”°−1ムJhマーク 13−一−スr−IC−ラッ、・115第6図
FIG. 1 is a perspective view showing a conventional example, FIGS. 2 and 4 are perspective views and block diagrams of an embodiment of the present invention, FIG. 3 is a flowchart showing the basic procedure of the present invention, and FIG. Fig. 5 is an explanatory diagram of the recognition search method, Fig. 6 is a flowchart of the recognition search, Fig. 7 is a related diagram of the position where the distance is determined based on the recognition result, and Fig. 8 is the correction of the work gripping position in the same embodiment. It is a related diagram of a procedure. 6...Cable between robot control device and visual recognition device, θ...Cable between camera and visual recognition device, 7...Camera support column, 12...・・・
- Recognition area, 13...Overlapping part of recognition areas. Name of agent: Patent attorney Toshio Nakao and 1 other person] Figure 1 Figure 2 Figure 3 Fo”°-1 M Jh Mark 13-1-SR-IC-R,・115 Figure 6

Claims (1)

【特許請求の範囲】[Claims] ロボットのアームの一部に視覚認識用カメラを取付け、
ロボットのアームの移動、停止に連動して認識の範囲、
倍率、方向を変えながら、前記ロボット・アームの移動
範囲内にある基準となる2つの領域で認識マークの有無
及び位置を認識検索し、前記2つの認識された認識マー
ク間の距離と認識対象物の物理的寸法である理論値とを
比較し、両者間の値の差が所定の範囲にある場合に、さ
らにあらかじめ登録された認識マークの基準位置と認識
された認識マークの位置との差から補正値を求め、ロボ
ットのアームの作業位置を前記補正値により補正する視
覚認識用カメラ付きロボットの制御方法。
A visual recognition camera is attached to a part of the robot's arm,
The range of recognition changes in conjunction with the movement and stopping of the robot arm.
While changing the magnification and direction, the existence and position of recognition marks are recognized and searched in two reference areas within the movement range of the robot arm, and the distance between the two recognized recognition marks and the recognition target are searched. is compared with the theoretical value, which is the physical dimension of A control method for a robot equipped with a camera for visual recognition, which calculates a correction value and corrects the working position of a robot arm using the correction value.
JP11362985A 1985-05-27 1985-05-27 Method of controlling robot with camera for visual recognition Pending JPS61270090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11362985A JPS61270090A (en) 1985-05-27 1985-05-27 Method of controlling robot with camera for visual recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11362985A JPS61270090A (en) 1985-05-27 1985-05-27 Method of controlling robot with camera for visual recognition

Publications (1)

Publication Number Publication Date
JPS61270090A true JPS61270090A (en) 1986-11-29

Family

ID=14617068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11362985A Pending JPS61270090A (en) 1985-05-27 1985-05-27 Method of controlling robot with camera for visual recognition

Country Status (1)

Country Link
JP (1) JPS61270090A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63175204U (en) * 1987-04-30 1988-11-14
JPH01102603A (en) * 1987-10-16 1989-04-20 Mitsubishi Electric Corp Robot controller
JPH0239109U (en) * 1988-09-08 1990-03-15
US5220498A (en) * 1989-12-28 1993-06-15 Hitachi Koki Company, Limited Positioning data correction apparatus with image analyzing and positioning apparatus including the same
WO1995008143A1 (en) * 1993-09-14 1995-03-23 Tomoyuki Terada Method of correcting teach program for robot
JPWO2017130286A1 (en) * 2016-01-26 2018-11-22 株式会社Fuji Job creation device, work system, and work robot control device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63175204U (en) * 1987-04-30 1988-11-14
JPH01102603A (en) * 1987-10-16 1989-04-20 Mitsubishi Electric Corp Robot controller
JPH0239109U (en) * 1988-09-08 1990-03-15
US5220498A (en) * 1989-12-28 1993-06-15 Hitachi Koki Company, Limited Positioning data correction apparatus with image analyzing and positioning apparatus including the same
WO1995008143A1 (en) * 1993-09-14 1995-03-23 Tomoyuki Terada Method of correcting teach program for robot
US5572103A (en) * 1993-09-14 1996-11-05 Fanuc, Ltd. Robot teaching program correction method
JPWO2017130286A1 (en) * 2016-01-26 2018-11-22 株式会社Fuji Job creation device, work system, and work robot control device

Similar Documents

Publication Publication Date Title
JP6707713B2 (en) How to automatically find the bending position with a robot
KR920700797A (en) How to place metal sheets for sheet metal working machines
US10569419B2 (en) Control device and robot system
US10399233B2 (en) Robot
US11376734B2 (en) Trajectory control device
JP3412465B2 (en) Mobile robot device
JPS61270090A (en) Method of controlling robot with camera for visual recognition
JPH11156764A (en) Locomotive robot device
JPH089151B2 (en) Position correction method for robot equipped with automatic guided vehicle
JPH0448304A (en) Method and device for correcting position of self-traveling robot
JPH11320465A (en) Control method for robot arm
KR100194216B1 (en) Position Correction Device and Method of Mobile Robot Using Vision System
JP2003330538A (en) Autonomous moving robot and autonomous moving method thereof
WO2023272529A1 (en) Dynamic assembly method, apparatus, and system
JPH01153289A (en) Industrial robot device
JPH1119891A (en) Handling method for moving object and calibration method in handling device for moving object
JPH04269194A (en) Plane measuring method
JP4862383B2 (en) Cooperative transport method and cooperative transport apparatus
EP0610758A3 (en) Method and assembly for determining the size and position of a roll head.
KR0176540B1 (en) Position correction device of mobile robot
JPH04100573A (en) Correction method of shifting of camera coordinate system
JPH03277491A (en) Mobile robot
JPS60242987A (en) Industrial robot
JPH03166072A (en) Detection of work position
JPH11254362A (en) Position correcting system for robot hand