JPH05108131A - Teaching device of robot - Google Patents

Teaching device of robot

Info

Publication number
JPH05108131A
JPH05108131A JP26666491A JP26666491A JPH05108131A JP H05108131 A JPH05108131 A JP H05108131A JP 26666491 A JP26666491 A JP 26666491A JP 26666491 A JP26666491 A JP 26666491A JP H05108131 A JPH05108131 A JP H05108131A
Authority
JP
Japan
Prior art keywords
work
robot
liquid agent
line
teaching
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
JP26666491A
Other languages
Japanese (ja)
Inventor
Masanori Hashimoto
正規 橋本
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP26666491A priority Critical patent/JPH05108131A/en
Publication of JPH05108131A publication Critical patent/JPH05108131A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the teaching device of a robot which can easily perform the teaching work in a short seriod of time. CONSTITUTION:A robot main body 1 performs the liquid agent applying work by tracing a liquid agent applying tool 5 at the tip part of a Z axis transfer device 4 along a work line 7 to a fixed arranged work 6. At the time of performing the applying work, the work 6 to perform the marking onto the work line 7 is photographed by a CCD camera 9, and the image data are sent to an image processing device 10. The image processing device 10 obtains the coordinates column data corresponding to the work line 7 and sends the data to a computer 11. The computer 11 converts the work line data to the internal coordinates of a robot sets a path where the liquid agent applying tool 5 should trace, further, prepares the action program of the robot, and sends it to a controller 8.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、固定配置されたワーク
に対し、液剤の塗布,切断,トリミング,ばり取り等の
作業を所定の経路にてツールをトレースすることにより
行うようにしたロボットに、前記経路を教示するための
ロボットの教示装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a robot for performing work such as application of liquid agent, cutting, trimming and deburring on a fixedly arranged work by tracing a tool along a predetermined path. , A robot teaching device for teaching the path.

【0002】[0002]

【従来の技術】例えば板材等のワークの表面の所定の線
(作業線)に沿って液剤を塗布する作業を行うロボット
にあっては、ロボットの制御装置は、アーム先端に設け
られたツール(塗布ガン)を、液剤を吐出させつつ前記
作業線に沿う所定の経路にて移動させることを繰返し実
行させる。このようなロボットにおいては、一般に、ロ
ボットによる作業を開始させるにあたって、ティーチン
グプレイバック方式による教示が行われる。
2. Description of the Related Art In a robot for applying a liquid agent along a predetermined line (working line) on the surface of a work such as a plate material, for example, a robot control device is equipped with a tool ( The application gun is repeatedly moved while discharging the liquid agent along a predetermined path along the work line. In such a robot, teaching by a teaching playback method is generally performed when starting work by the robot.

【0003】この教示(ティーチング)は、前記ワーク
の作業線上に、オペレータが複数個の目標点を設定し、
手動操作によりツールをそれら目標点上に実際に動かし
つつ、それら各目標点の座標をロボットの制御装置に記
憶させることにより行われる。そして、記憶させた各目
標点の間を、直線,円弧,スプライン曲線等により補間
して前記作業線に沿った所定の経路を得るようにロボッ
トの動作プログラムを設定するのである。
In this teaching, the operator sets a plurality of target points on the work line of the work,
This is performed by actually moving the tool on the target points by manual operation and storing the coordinates of the respective target points in the control device of the robot. Then, the operation program of the robot is set so that a predetermined path along the work line is obtained by interpolating the stored target points with a straight line, a circular arc, a spline curve, or the like.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記し
た従来の教示方式では、作業線の形状が複雑になってく
ると多数個の目標点を教示させなければならない関係
上、教示作業が面倒で時間がかかるものとなってしま
う。特に、ワークが多品種であったり短期間で品種の切
替えを行わなければならない場合などには、従来のティ
ーチングプレイバック方式による教示では対応しきれな
くなってきている。従って、本発明の目的は、教示作業
を短時間で容易に行うことが可能なロボットの教示装置
を提供するにある。
However, in the conventional teaching method described above, the teaching work is troublesome and time-consuming because it is necessary to teach a large number of target points when the shape of the work line becomes complicated. It will take a lot of time. In particular, in the case where there are many kinds of works or the kind of goods has to be switched in a short period of time, the teaching by the conventional teaching playback system is no longer sufficient. Therefore, an object of the present invention is to provide a teaching device for a robot capable of easily performing teaching work in a short time.

【0005】[0005]

【課題を解決するための手段】本発明のロボットの教示
装置は、固定配置されたワークに対し、このワークの作
業線に沿った経路にてツールをトレースすることにより
作業を行うロボットに、前記経路を教示するためのもの
であって、前記作業線に対応したマーキングが施された
ワークを撮影する撮像手段と、この撮像手段により得ら
れた画像データから作業線を検出する作業線検出手段
と、この作業線検出手段により検出された作業線データ
に基づいて前記ツールの経路を設定する経路設定手段と
を具備するところに特徴を有する。
A robot teaching device according to the present invention provides a robot for performing work on a fixedly arranged work by tracing a tool along a work line of the work. An image pickup means for teaching a route, which picks up an image of a work with marking corresponding to the work line, and a work line detection means for detecting the work line from the image data obtained by the image pickup means. , A route setting means for setting the route of the tool based on the work line data detected by the work line detecting means.

【0006】[0006]

【作用】上記手段によれば、ワークに作業線に対応した
マーキングを施し、このワークを撮像手段により撮影す
ることにより、その画像データから、作業線検出手段が
作業線を自動的に検出する。そして、その作業線検出手
段により得られた作業線データから、経路設定手段がツ
ールの経路を自動的に設定する。
According to the above means, the work line is marked on the work line, and the work line is photographed by the image pick-up unit, whereby the work line detection unit automatically detects the work line from the image data. Then, the route setting means automatically sets the route of the tool from the work line data obtained by the work line detecting means.

【0007】従って、オペレータが、手動操作によりツ
ールをワークの作業線上の複数個の目標点にいちいち移
動させる必要がなくなり、この結果、教示作業を容易に
済ませることができる。
Therefore, it is not necessary for the operator to manually move the tool to a plurality of target points on the work line of the work, and as a result, the teaching work can be completed easily.

【0008】[0008]

【実施例】以下本発明の一実施例について、図1乃至図
5を参照して説明する。尚、ここでは、平板状のワーク
の表面に液剤を塗布する場合を例として取上げている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described below with reference to FIGS. Here, the case where the liquid agent is applied to the surface of the flat plate-shaped work is taken as an example.

【0009】図1は制御系を含むロボットの全体の構成
を示しており、ここで、ロボット本体1は、周知の3軸
直交座標形ロボットよりなり、図示しない加工テーブル
上に、X軸移送装置2及びY軸移送装置3並びにZ軸移
送装置4を備えて構成されている。前記X軸移送装置2
は加工テーブルに固定的に設けられ、図示しないモータ
などからなる駆動機構により、前記Y軸移送装置3をX
軸方向に自在に移動させるようになっている。
FIG. 1 shows the overall configuration of a robot including a control system. Here, the robot body 1 is a well-known 3-axis orthogonal coordinate robot, and an X-axis transfer device is provided on a machining table (not shown). 2 and Y-axis transfer device 3 and Z-axis transfer device 4 are provided. The X-axis transfer device 2
Is fixedly provided on the machining table, and the Y-axis transfer device 3 is moved to the X-axis by a drive mechanism including a motor (not shown).
It is designed to move freely in the axial direction.

【0010】前記Y軸移送装置3は、これも図示しない
駆動機構により、先端に設けられたZ軸移送装置4をY
軸方向に自在に移動させるようになっている。そして、
前記Z軸移送装置4の先端部には、液剤塗布ツール5が
取付けられている。これにて、液剤塗布ツール5は、常
に下向きの同一姿勢を保ちながら、前記X軸移送装置2
及びY軸移送装置3により、X−Y平面上の任意の位置
に自在に移動され、また、Z軸移送装置4により上下方
向の任意の位置に自在に移動されるようになっている。
この液剤塗布ツール5は、下向きのノズル部5aを有
し、その先端から液剤が所定速度で吐出されるように構
成されている。
The Y-axis transfer device 3 is driven by a drive mechanism (not shown) to move the Z-axis transfer device 4 provided at the front end to Y-axis.
It is designed to move freely in the axial direction. And
A liquid agent application tool 5 is attached to the tip of the Z-axis transfer device 4. As a result, the liquid agent application tool 5 is always kept in the same downward posture, and the X-axis transfer device 2 is maintained.
The Y-axis transfer device 3 freely moves it to an arbitrary position on the XY plane, and the Z-axis transfer device 4 freely moves it to an arbitrary vertical position.
The liquid agent application tool 5 has a downward nozzle portion 5a, and is configured to discharge the liquid agent at a predetermined speed from its tip.

【0011】一方、平板状をなすワーク6は、前記加工
テーブル上に表面を上向きにして固定配置されるように
なっている。本実施例では、ワーク6は、図3や図4に
も示すように、角部に丸みを有する略平行四辺形状をな
し、前記ロボット本体1は、このワーク6の表面に、そ
の周縁部より所定の幅だけ内側に位置して環状に液剤を
塗布する作業を行うようになっている。この液剤が塗布
されるべき環状の部位がワーク6の作業線7となるので
ある。
On the other hand, the flat plate-shaped work 6 is fixedly arranged on the processing table with the surface thereof facing upward. In the present embodiment, the work 6 has a substantially parallelogram shape with rounded corners as shown in FIGS. 3 and 4, and the robot body 1 is provided on the surface of the work 6 from its peripheral portion. The liquid agent is applied in a ring shape by being located inside by a predetermined width. The annular portion to which the liquid agent is applied becomes the work line 7 of the work 6.

【0012】そして、前記ロボット本体1は、マイクロ
コンピュータ等から構成される制御装置8により制御さ
れるようになっている。この場合、液剤塗布ツール5
は、高さ位置(Z軸座標)を一定にしたまま、液剤を吐
出しつつ前記作業線7に沿った経路にてトレースされる
ことにより、液剤の塗布作業を実行する。この作業を行
うにあたって、前記制御装置8は、後述するように、メ
モリに記憶された動作プログラムに従って、サンプリン
グ制御によりロボット本体1の各軸のモータ等を制御す
るようになっている。
The robot body 1 is controlled by a control device 8 composed of a microcomputer or the like. In this case, the liquid application tool 5
Performs the liquid agent application work by tracing the path along the working line 7 while discharging the liquid agent while keeping the height position (Z-axis coordinate) constant. In performing this work, the control device 8 controls the motors and the like of the respective axes of the robot body 1 by sampling control according to the operation program stored in the memory, as described later.

【0013】さて、上述のようなロボット本体1による
液剤の塗布作業を行うにあたっては、前記液剤塗布ツー
ル5がトレースすべき経路に関するデータが必要となる
が、この経路に関するデータは、以下のように構成され
た本実施例に係る教示装置により、自動的に作成される
ようになっている。
When performing the liquid agent application work by the robot body 1 as described above, data regarding the route to be traced by the liquid agent applying tool 5 is required. The data regarding this route is as follows. The teaching device according to the present embodiment configured is automatically created.

【0014】即ち、前記Z軸移送装置4には、撮像手段
たるCCDカメラ9が設けられている。このCCDカメ
ラ9は、前記ワーク6を撮影するためのものであるが、
この場合、後述するように、マーキングを施してないワ
ーク6と、作業線7上にマーキングを施したワーク6と
の2つの画像を撮影するようになっている。
That is, the Z axis transfer device 4 is provided with a CCD camera 9 as an image pickup means. The CCD camera 9 is for photographing the work 6,
In this case, as will be described later, two images of the work 6 without marking and the work 6 with marking on the work line 7 are photographed.

【0015】このCCDカメラ9による画像データは、
画像処理装置10に送られるようになっている。この画
像処理装置10は、上記2つの画像を二値化処理し、一
方を白黒反転して他方との和をとることにより、前記マ
ーキングの画像を抽出する。さらに、そのマーキングの
画像を1ピクセル幅に細線化して、作業線7に対応した
座標列のデータを得るようになっている。従って、この
画像処理装置10が、本発明にいう作業線検出手段とし
て機能する。
The image data from this CCD camera 9 is
The image is transmitted to the image processing apparatus 10. The image processing device 10 extracts the image of the marking by binarizing the two images, inverting one of them in black and white, and taking the sum with the other. Further, the image of the marking is thinned into a width of 1 pixel to obtain data of a coordinate sequence corresponding to the working line 7. Therefore, the image processing apparatus 10 functions as the work line detecting means according to the present invention.

【0016】そして、この座標列のデータは、例えばパ
ーソナルコンピュータからなる計算機11に送られる。
この計算機11は、前記作業線7に対応した座標列のデ
ータを、予め設定されたキャリブレーション式により、
ロボットの内部座標に変換して前記液剤塗布ツール5が
トレースすべき経路を設定する。従って、この計算機1
1が、本発明にいう経路設定手段として機能するように
なっている。
Then, the data of the coordinate sequence is sent to the computer 11 composed of, for example, a personal computer.
This calculator 11 calculates the data of the coordinate sequence corresponding to the work line 7 by a preset calibration formula.
The path to be traced by the liquid agent application tool 5 after conversion into the internal coordinates of the robot is set. Therefore, this calculator 1
1 functions as the route setting means in the present invention.

【0017】さらに、この計算機11は、ロボットの動
作速度(液剤塗布ツール5の移動速度)が設定されるこ
とに伴い、ロボット本体1の制御サンプリング時刻ごと
の座標を前記データより補間計算して求め、位置指令デ
ータを作成する。そして、この位置指令に、液剤塗布ツ
ール5の上下方向(Z軸方向)の位置、周辺装置とのイ
ンターロックや液剤塗布ツール5のオン・オフ条件等を
付け加えることにより、動作プログラムを自動的に作成
するようになっている。この動作プログラムは、前記制
御装置8に送られ、メモリに記憶されるのである。
Further, this computer 11 obtains the coordinates of each control sampling time of the robot body 1 by interpolation calculation from the above-mentioned data as the operation speed of the robot (moving speed of the liquid agent application tool 5) is set. , Create position command data. Then, the operation program is automatically added by adding the position of the liquid application tool 5 in the vertical direction (Z-axis direction), the interlock with the peripheral device, the on / off condition of the liquid application tool 5, etc. to this position command. It is designed to be created. This operation program is sent to the control device 8 and stored in the memory.

【0018】次に、上記構成の作用について、図2乃至
図5も参照して述べる。図2には、ロボット本体1によ
るワーク6への液剤の塗布作業を行うにあたって、本実
施例に係る教示装置が液剤塗布ツール5の経路を自動的
に設定し、さらに動作プログラムを作成して制御装置8
に入力する手順を示している。
Next, the operation of the above configuration will be described with reference to FIGS. FIG. 2 shows that when the robot body 1 performs the liquid application operation on the work 6, the teaching apparatus according to the present embodiment automatically sets the path of the liquid application tool 5, and further creates and controls an operation program. Device 8
Shows the procedure to enter.

【0019】まず、ステップS1では、CCDカメラ9
によるワーク6の撮影が行われる。この撮影は、図4に
示すように、ワーク6が所定の作業位置に固定配置され
た状態で、その上方にCCDカメラ9を移動させて行
う。このとき、CCDカメラ9の画面9aには、図4に
示すようにワーク6の画像が撮影され、その画像データ
は、画像処理装置10にて二値化処理される。図3
(a)には、このときの二値化画像が示されており、こ
こでは、ワーク6が黒レベル、背景が白レベルの画像と
されている。
First, in step S1, the CCD camera 9
The work 6 is photographed. This photographing is performed by moving the CCD camera 9 above the work 6 while the work 6 is fixedly arranged at a predetermined working position, as shown in FIG. At this time, an image of the work 6 is photographed on the screen 9a of the CCD camera 9 as shown in FIG. 4, and the image data is binarized by the image processing device 10. Figure 3
The binarized image at this time is shown in (a), and here, the work 6 is a black level image and the background is a white level image.

【0020】次のステップS2では、オペレータによ
り、前記ワーク6の作業線7のマーキングが行われる。
そして、ステップS3では、ステップS1と同様にして
CCDカメラ9により、マーキングが施されたワーク6
の撮影が行われる。この画像データも、画像処理装置1
0にて二値化処理される。図3(b)は、このときの二
値化画像を示し、背景及びマーキング部分が白レベルの
画像となる。
In the next step S2, the operator marks the work line 7 of the work 6.
Then, in step S3, the work 6 marked by the CCD camera 9 is processed as in step S1.
Is taken. This image data is also processed by the image processing device 1.
Binarization processing is performed at 0. FIG. 3B shows the binarized image at this time, and the background and the marking portion are white level images.

【0021】このように、画像処理装置10に2つの画
像データが入力されると、ステップS4にて、画像処理
装置10は、一方を白黒反転して他方との和をとること
により、図3(c)に示すように、前記マーキングのみ
の画像を抽出する。この画像は、数ピクセルの幅を有す
る環状となっているため、ステップS5にて、画像処理
装置10は、図3(d)に示すように、そのマーキング
画像の幅の中心を通るような1ピクセル幅の細線を抽出
する。
As described above, when two pieces of image data are input to the image processing apparatus 10, the image processing apparatus 10 inverts one of them in black and white and takes the sum with the other in step S4. As shown in (c), the image with only the marking is extracted. Since this image has an annular shape having a width of several pixels, in step S5, the image processing apparatus 10 passes the center of the width of the marking image as shown in FIG. 3D. Extract thin lines of pixel width.

【0022】さらに、ステップS6にて、前記マーキン
グ画像を1ピクセル幅に細線化した画像を構成する各点
の座標(x,y)から、作業線データたる座標列(x1
,y1 ),(x2 ,y2 ),……(xn ,yn )が求
められる。この座標列は、ワーク6の作業線7に相当す
るものであるが、この場合、液剤の塗布作業は、例えば
ワーク6の作業線7のうち、右上部分から時計回り方向
に一周するように行われ、その作業の始点が座標(x1
,y1 )に対応し、終点が座標(xn ,yn )に対応
するのである。
Further, in step S6, from the coordinates (x, y) of each point constituting the image in which the marking image is thinned to a width of 1 pixel, a coordinate string (x1
, Y1), (x2, y2), ... (Xn, yn) are obtained. This coordinate sequence corresponds to the work line 7 of the work 6, and in this case, the liquid agent application work is performed, for example, in such a manner as to make one turn in the clockwise direction from the upper right part of the work line 7 of the work 6. The starting point of the work is the coordinates (x1
, Y1) and the end point corresponds to the coordinate (xn, yn).

【0023】この座標列のデータは計算機11に入力さ
れ、計算機11は、ステップS7にて、その座標列のデ
ータをキャリブレーション式によりロボットの内部座標
(X,,Y)に変換し、前記液剤塗布ツール5がトレー
スすべき経路データを求める。この経路データは、XY
座標列(X1 ,Y1 ),(X2 ,Y2 ),……(Xn,
Yn )で表わされる。
The data of this coordinate sequence is input to the computer 11, and in step S7, the computer 11 converts the data of the coordinate sequence into the internal coordinates (X, Y) of the robot by the calibration formula, and The application tool 5 obtains route data to be traced. This route data is XY
Coordinate sequence (X1, Y1), (X2, Y2), ... (Xn,
Yn).

【0024】そして、ステップS8にて、ロボットの動
作速度が設定されると、動作時間に対する液剤塗布ツー
ル5のX,Y座標が、図5(a)に示すように決定され
る。ステップS9にて、計算機11は、この関係から、
各サンプリング時刻における位置座標を求める。この場
合、サンプリングの時間間隔がΔtとすると、図5
(b)に示すように、各サンプリング時刻における座標
列(X1 ´,Y1 ´),(X2 ´,Y2 ´),……(X
m ´,Ym ´)が、上記図5(a)の各データを補間す
ることにより求められる。これら各座標が、ロボットの
位置指令となるのである。
Then, when the operation speed of the robot is set in step S8, the X and Y coordinates of the liquid agent application tool 5 with respect to the operation time are determined as shown in FIG. 5 (a). In step S9, the computer 11 determines from this relationship that
The position coordinates at each sampling time are obtained. In this case, assuming that the sampling time interval is Δt, FIG.
As shown in (b), the coordinate sequence (X1 ', Y1'), (X2 ', Y2'), ... (X
m ', Ym') is obtained by interpolating each data shown in FIG. Each of these coordinates serves as a position command for the robot.

【0025】さらに、液剤塗布ツール5の上下方向(Z
軸方向)の位置座標、周辺装置とのインターロックや液
剤塗布ツール5のオン・オフ条件等が設定されると、ス
テップS10にて、計算機11は、それらのデータと前
記位置指令とから動作プログラムを作成する。ステップ
S11にて、この動作プログラムが前記制御装置8のメ
モリに書込まれ、しかる後、ロボット本体1が起動され
るのである(ステップS12)。
Furthermore, the vertical direction (Z
When the position coordinates (in the axial direction), the interlock with the peripheral device, the on / off conditions of the liquid application tool 5, and the like are set, the computer 11 calculates the operation program from the data and the position command in step S10. To create. This operation program is written in the memory of the control device 8 in step S11, and then the robot body 1 is activated (step S12).

【0026】制御装置8は、このように作成された動作
プログラムにより、ロボット本体1を制御し、これによ
り、液剤塗布ツール5は、加工テーブル上に固定配置さ
れたワーク6の上方を、液剤を吐出しつつワーク6の作
業線7に沿った経路でトレースされ、もって、ワーク6
に対する液剤塗布作業が実行されるのである。この作業
は同一種類のワーク6に対して繰返し実行され、ワーク
6の種類が変更される場合には、再び上述のような動作
プログラムの作成が行われるのである。
The control device 8 controls the robot main body 1 by the operation program created in this way, whereby the liquid agent application tool 5 applies the liquid agent over the work 6 fixedly arranged on the processing table. While being discharged, the work 6 is traced along a path along the work line 7, and thus the work 6
Then, the liquid agent application work is executed. This work is repeatedly executed for the work 6 of the same type, and when the type of the work 6 is changed, the operation program as described above is created again.

【0027】このように本実施例によれば、従来では手
動操作に基づいて行っていた教示作業が、自動的に行わ
れるようになる。従って、作業線の形状が複雑なワーク
であっても、教示作業を面倒な作業なしに短時間にて済
ませることができ、ひいては、多品種少量生産に十分に
対応することが可能となるものである。
As described above, according to the present embodiment, the teaching work, which was conventionally performed based on the manual operation, is automatically performed. Therefore, even if the work line has a complicated shape, teaching work can be completed in a short time without troublesome work, and thus it is possible to sufficiently cope with small-lot production of a wide variety of products. is there.

【0028】尚、上記実施例では、ワーク6が平板状
(Z軸座標が常に一定)の場合について説明したが、図
6に示すように、ワーク21が例えば液剤を塗布すべき
面に起伏を有している場合もあり、このような場合には
位置指令にX軸,Y軸座標の他にZ軸座標も必要となっ
てくる。かかる場合については、上記実施例における構
成に加えて、例えば液剤塗布ツール5に距離センサ22
を設けるようにすれば良い。
In the above embodiment, the case where the work 6 has a flat plate shape (Z-axis coordinate is always constant) has been described. However, as shown in FIG. In some cases, the position command requires Z-axis coordinates in addition to the X-axis and Y-axis coordinates. In such a case, in addition to the configuration in the above-described embodiment, for example, the distance sensor 22 is added to the liquid agent applying tool 5.
Should be provided.

【0029】即ち、まず、XY座標での動作プログラム
を上記実施例で説明したと同様に作成し、この後、Z軸
座標を固定した状態でその動作プログラムにより液剤塗
布ツール5を動作させる。そして、このときに、位置指
令のサンプリング時刻ごとに距離センサ22によるワー
ク21との間の距離の測定を行い、そのデータから、液
剤塗布ツール5にノズル5aの先端が常にワーク21の
表面から塗布作業に最適な一定距離を保つようにサンプ
リング時刻ごとのZ軸座標列を求め、上記動作プログラ
ムにこのZ軸座標を加味して、最終的な動作プログラム
を作成するのである。
That is, first, an operation program for XY coordinates is created in the same manner as described in the above embodiment, and thereafter, the liquid agent application tool 5 is operated by the operation program with the Z axis coordinates fixed. At this time, the distance to the work 21 is measured by the distance sensor 22 at each sampling time of the position command, and from the data, the tip of the nozzle 5a is always applied to the liquid application tool 5 from the surface of the work 21. A Z-axis coordinate sequence is obtained for each sampling time so as to maintain a constant distance that is optimal for work, and the Z-axis coordinate is added to the above-mentioned operation program to create a final operation program.

【0030】さらに、上記実施例では、ツールの姿勢が
常に一定な液剤塗布作業を行う場合について説明した
が、ロボットにより例えばカッターによる切断作業を行
う場合には、図7に示すように、切断用ツール23の向
きを常に作業線7の接線方向に一致させていなければな
らない。このような場合には、切断用ツール23の水平
方向の回転角度(θ軸)の指令データが必要となる。
Further, in the above-described embodiment, the case where the liquid agent applying work in which the posture of the tool is always constant has been described. The orientation of the tool 23 must always match the tangential direction of the work line 7. In such a case, command data of the rotation angle (θ axis) of the cutting tool 23 in the horizontal direction is required.

【0031】かかる場合には、図7に示すように、画像
データから、隣接する各点を結んだ線分の傾き(θ1 ,
θ2 ,……θn )を求めて、これをθ軸の指令として動
作プログラムに加味するようにすれば良い。
In such a case, as shown in FIG. 7, from the image data, the inclination of the line segment connecting adjacent points (θ 1,
θ 2, ... θ n) should be obtained and added to the operation program as a θ axis command.

【0032】その他、本発明は上記し且つ図面に示した
実施例に限定されるものではなく、例えばツールとして
は、液剤塗布や切断のほかにもトリミング,ばり取り,
穴あけ等を行うものであっても良く、また、3軸直角座
標形ロボットの他にも多関節形ロボットや円筒座標形ロ
ボットにも適用できるなど、要旨を逸脱しない範囲内で
適宜変更して実施し得るものである。
Besides, the present invention is not limited to the embodiments described above and shown in the drawings. For example, as a tool, in addition to application of liquid agent and cutting, trimming, deburring,
It may be used for drilling, etc., and can be applied to articulated robots and cylindrical coordinate robots in addition to 3-axis Cartesian coordinate robots. It is possible.

【0033】[0033]

【発明の効果】以上の説明にて明らかなように、本発明
のロボットの教示装置によれば、作業線に対応したマー
キングが施されたワークを撮影する撮像手段と、この撮
像手段により得られた画像データから作業線を検出する
作業線検出手段と、この作業線検出手段により検出され
た作業線データに基づいてツールの経路を設定する経路
設定手段とを設けたので、ツールの経路を自動的に設定
することができ、この結果、教示作業を短時間で容易に
行うことができるという優れた効果を奏するものであ
る。
As is apparent from the above description, according to the teaching apparatus for a robot of the present invention, the image pickup means for photographing the work having the marking corresponding to the work line, and the image pickup means obtained by the image pickup means. Since the work line detecting means for detecting the work line from the image data and the route setting means for setting the tool route based on the work line data detected by the work line detecting means are provided, the tool route can be automatically determined. Therefore, the teaching work can be set easily, and as a result, the teaching work can be easily performed in a short time.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示すもので、制御系を含む
ロボットの全体構成を示す斜視図
FIG. 1 is a perspective view showing an embodiment of the present invention and showing the overall configuration of a robot including a control system.

【図2】動作プログラム作成の手順を示す図FIG. 2 is a diagram showing a procedure for creating an operation program.

【図3】画像処理装置による二値化画像を示す図FIG. 3 is a diagram showing a binarized image by an image processing device.

【図4】CCDカメラによるワークの撮影時の様子を示
す斜視図
FIG. 4 is a perspective view showing a state when a work is photographed by a CCD camera.

【図5】位置指令値の算出方法を説明するための図FIG. 5 is a diagram for explaining a method of calculating a position command value.

【図6】本発明の他の実施例を示す要部の側面図FIG. 6 is a side view of an essential part showing another embodiment of the present invention.

【図7】図6とは異なる他の実施例を示すθ軸指令の算
出方法を説明するための図
FIG. 7 is a diagram for explaining a calculation method of a θ-axis command showing another embodiment different from FIG.

【符号の説明】[Explanation of symbols]

図面中、1はロボット本体、5は液剤塗布ツール(ツー
ル)、6,21はワーク、7は作業線、8は制御装置、
9はCCDカメラ(撮像手段)、10は画像処理装置
(作業線検出手段)、11は計算機(経路設定手段)、
22は距離センサを示す。
In the drawings, 1 is a robot main body, 5 is a liquid application tool (tool), 6 and 21 are works, 7 is a work line, 8 is a control device,
9 is a CCD camera (imaging means), 10 is an image processing device (working line detecting means), 11 is a computer (path setting means),
Reference numeral 22 denotes a distance sensor.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 固定配置されたワークに対し、このワー
クの作業線に沿った経路にてツールをトレースすること
により作業を行うロボットに、前記経路を教示するため
のものであって、前記作業線に対応したマーキングが施
されたワークを撮影する撮像手段と、この撮像手段によ
り得られた画像データから作業線を検出する作業線検出
手段と、この作業線検出手段により検出された作業線デ
ータに基づいて前記ツールの経路を設定する経路設定手
段とを具備することを特徴とするロボットの教示装置。
1. A method for teaching a robot that performs a work on a fixedly arranged work by tracing a tool along a work line of the work, the work. Imaging means for photographing a work with markings corresponding to the lines, working line detecting means for detecting the working line from the image data obtained by the imaging means, and working line data detected by the working line detecting means And a path setting means for setting the path of the tool based on the above.
JP26666491A 1991-10-16 1991-10-16 Teaching device of robot Pending JPH05108131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26666491A JPH05108131A (en) 1991-10-16 1991-10-16 Teaching device of robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26666491A JPH05108131A (en) 1991-10-16 1991-10-16 Teaching device of robot

Publications (1)

Publication Number Publication Date
JPH05108131A true JPH05108131A (en) 1993-04-30

Family

ID=17433975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26666491A Pending JPH05108131A (en) 1991-10-16 1991-10-16 Teaching device of robot

Country Status (1)

Country Link
JP (1) JPH05108131A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013146814A (en) * 2012-01-18 2013-08-01 Honda Motor Co Ltd Robot teaching method
WO2014083695A1 (en) * 2012-11-30 2014-06-05 株式会社安川電機 Robotic system
JP2018114591A (en) * 2017-01-18 2018-07-26 倉敷紡績株式会社 Robot teaching device and robot teaching method
WO2020095653A1 (en) * 2018-11-07 2020-05-14 オムロン株式会社 Coating apparatus
CN116297531A (en) * 2023-05-22 2023-06-23 中科慧远视觉技术(北京)有限公司 Machine vision detection method, system, medium and equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013146814A (en) * 2012-01-18 2013-08-01 Honda Motor Co Ltd Robot teaching method
WO2014083695A1 (en) * 2012-11-30 2014-06-05 株式会社安川電機 Robotic system
CN104797386A (en) * 2012-11-30 2015-07-22 株式会社安川电机 Robotic system
JP5983763B2 (en) * 2012-11-30 2016-09-06 株式会社安川電機 Robot system
JP2018114591A (en) * 2017-01-18 2018-07-26 倉敷紡績株式会社 Robot teaching device and robot teaching method
WO2020095653A1 (en) * 2018-11-07 2020-05-14 オムロン株式会社 Coating apparatus
JP2020075213A (en) * 2018-11-07 2020-05-21 オムロン株式会社 Coating device
US11596971B2 (en) 2018-11-07 2023-03-07 Omron Corporation Coating apparatus
CN116297531A (en) * 2023-05-22 2023-06-23 中科慧远视觉技术(北京)有限公司 Machine vision detection method, system, medium and equipment

Similar Documents

Publication Publication Date Title
US11197730B2 (en) Manipulator system
JP6880982B2 (en) Control device and robot system
US8406923B2 (en) Apparatus for determining pickup pose of robot arm with camera
JPH0435885A (en) Calibration method for visual sensor
US20050065653A1 (en) Robot and robot operating method
EP3354418B1 (en) Robot control method and device
CN113056351A (en) External input device, robot system, method for controlling robot system, control program, and recording medium
JP6869159B2 (en) Robot system
JP2018167334A (en) Teaching device and teaching method
JP5427566B2 (en) Robot control method, robot control program, and robot hand used in robot control method
JP2006082171A (en) Tool location correcting method for articulated robot
JP4303411B2 (en) Tracking method and tracking system
CN114055460A (en) Teaching method and robot system
JP2006082170A (en) Calibration method
CN112598752B (en) Calibration method and operation method based on visual recognition
JPH05108131A (en) Teaching device of robot
JPH1063324A (en) Picture input-type robot system
US11759955B2 (en) Calibration method
JP3543329B2 (en) Robot teaching device
JP3803755B2 (en) Robot system and method of using the same
JP2616225B2 (en) Relative positioning method
CN109746912B (en) Robot control device and robot system
JP2915979B2 (en) Position and rotation angle detecting device, pointing device thereof, and robot operation teaching device using the same
JPH07117403B2 (en) Robot visual coordinate calibration method and system
JP2021058980A (en) Production system