JP2628033B2 - Industrial robot controller - Google Patents

Industrial robot controller

Info

Publication number
JP2628033B2
JP2628033B2 JP60002232A JP223285A JP2628033B2 JP 2628033 B2 JP2628033 B2 JP 2628033B2 JP 60002232 A JP60002232 A JP 60002232A JP 223285 A JP223285 A JP 223285A JP 2628033 B2 JP2628033 B2 JP 2628033B2
Authority
JP
Japan
Prior art keywords
robot
coordinate system
correction
intersection
intersections
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 - Lifetime
Application number
JP60002232A
Other languages
Japanese (ja)
Other versions
JPS61161511A (en
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60002232A priority Critical patent/JP2628033B2/en
Publication of JPS61161511A publication Critical patent/JPS61161511A/en
Application granted granted Critical
Publication of JP2628033B2 publication Critical patent/JP2628033B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1679Programme controls characterised by the tasks executed
    • B25J9/1692Calibration of manipulator

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、産業用ロボットに係りさらに詳しくは、ロ
ボットを正確な作業位置に移動させるようにした作業用
ロボットの制御装置に関する。
Description: TECHNICAL FIELD The present invention relates to an industrial robot, and more particularly, to a control device for a working robot that moves the robot to an accurate working position.

[従来の技術] 従来のロボットにおける制御装置を第9図ないし第14
図に基づいて説明する。第9図は、従来のロボット制御
装置の主要部を示す構成図である。図において、(1)
はマイクロプロセッサ等で構成された中央処理装置(以
下CPUと称す)、(2)はロボットのシステムプログラ
ムを格納したリードオンリーメモリ(以下ROMと称
す)、(3)はデータ等を格納したランダムアクセスメ
モリ(以下RAMと称す)、(4)は通信インターフェー
ス、(5)は入・出力インターフェース、(6)はロボ
ットをボタン操作により移動させるための各種操作ボタ
ンを有するティーチングボックス、(7)は送信された
データをディジタルからアナログに変換するD/A変換
器、(8)はD/A変換器(7)から送信されたアナログ
信号によってロボット本体(9)の所定位置に動かすサ
ーボアンプ、(9)はロボット本体である。
[Prior Art] FIGS. 9 to 14 show a control device in a conventional robot.
Description will be made based on the drawings. FIG. 9 is a configuration diagram showing a main part of a conventional robot control device. In the figure, (1)
Is a central processing unit (hereinafter, referred to as a CPU) composed of a microprocessor, etc., (2) is a read-only memory (hereinafter, referred to as a ROM) storing a robot system program, and (3) is a random access storing data, etc. Memory (hereinafter referred to as RAM), (4) is a communication interface, (5) is an input / output interface, (6) is a teaching box having various operation buttons for moving the robot by button operation, and (7) is a transmission. A D / A converter for converting the converted data from digital to analog, (8) a servo amplifier for moving to a predetermined position of the robot body (9) by an analog signal transmitted from the D / A converter (7), (9) ) Is the robot body.

第10図はCPU1,ROM2,RAM3の関係を詳細に示す説明図で
あり、ユーザのプログラムはRAM(3)の特定の領域ユ
ーザプログラム記憶部(11)に格納されており、該当す
るプログラムが選択されるとRAM(3)内の実行命令格
納部(12)に格納される。実行格納部(12)にとり出さ
れたユーザプログラムは、実行命令解読部(13)で解読
された後、ROM(2)内の位置制御部(14)で動作指令
信号に変換され、この動作指令信号がD/A変換器(7)
に送信されるとともに、この動作指令信号はサーボアン
プ(8)を介してロボット本体(9)に伝達され、所定
の動作をさせるようになっている。
FIG. 10 is an explanatory diagram showing the relationship between the CPU1, ROM2, and RAM3 in detail. A user program is stored in a specific area of the RAM (3) in the user program storage section (11), and the corresponding program is selected. Then, it is stored in the execution instruction storage unit (12) in the RAM (3). The user program fetched into the execution storage unit (12) is decoded by an execution instruction decoding unit (13), and then converted into an operation command signal by a position control unit (14) in the ROM (2). Signal is D / A converter (7)
The operation command signal is transmitted to the robot main body (9) via the servo amplifier (8) to perform a predetermined operation.

ここで、上記ロボット本体(9)は第11図に示すよう
な構造になっており、図において(16)は第I軸アーム
であり、第I軸(15)を中心にx,y平面を移動する。(1
8)は第II軸アームであり、第II軸(17)を中心にx,y平
面上を移動する。(20)は第III軸アームであり、第III
軸(19)を中心に回動する。また(21)は第III軸アー
ム(20)に取り付けられたハンドであり、図示しないワ
ーク等を把持するものである。
Here, the robot body (9) has a structure as shown in FIG. 11, and in the figure, (16) is an I-axis arm, and the x, y plane is centered on the I-axis (15). Moving. (1
8) is a II-axis arm, which moves on the x, y plane around the II-axis (17). (20) is a third axis arm,
It rotates around the shaft (19). Reference numeral (21) denotes a hand attached to the III-axis arm (20), which grips a work or the like (not shown).

第12図はロボット(9)の上面図であり、ここで位置
データはx,y成分よりなり、動作位置指令データはθ1,
θ成分よりなるものとする。
FIG. 12 is a top view of the robot (9), where the position data is composed of x and y components, and the operation position command data is θ 1 ,
It is assumed that it consists of two components.

一般にロボット(9)の現在位置は、J2の点をx,y座
標で現わしたものとなり、第I軸アーム(16)の長さを
l1、第II軸アーム(18)の長さをl2としθ1を決め
ればロボット(9)の現在位置(x,y)は、 x=l1 cosθ+l2 cos(θ+θ) ……[1] y=l1 sinθ+l2 sin(θ+θ) ……[2] となる。なお[1],[2]式と余弦定理よりθ1
で求められる。
In general the current position of the robot (9), a point J 2 x, become those manifested in y-coordinate, the length of the I-axis arm (16)
l 1 , if the length of the second axis arm (18) is l 2 and θ 1 , θ 2 is determined, the current position (x, y) of the robot (9) becomes x = l 1 cos θ 1 + l 2 cos (θ 1 + θ 2 ) [1] y = l 1 sin θ 1 + l 2 sin (θ 1 + θ 2 ) [2] Note that θ 1 , θ 2
Is Is required.

一方第13図はROM(2)上に記憶されているプログラ
ムのフローチャートであり、その動作について説明す
る。すなわちステップS1では、上位CPUより位置データ
(x,y)が送信され、ステップS2では、その位置データ
(x,y)より位置制御部(14)で移動指令データが上述
した[1],[2],[3],[4]式により求められ
る。つぎにステップS3では、上述したようにして求めら
れた動作位置指令がD/A変換器(7)、サーボアンプ
(8)を介してロボット(9)に伝達され、ロボット
(9)のハンド(21)を所望の位置へ移動させるもので
ある。
FIG. 13 is a flowchart of a program stored in the ROM (2), and its operation will be described. That is, in step S 1, the position from the upper CPU data (x, y) is transmitted, in step S 2, movement command data is described above in its position data (x, y) from the position controller (14) [1] , [2], [3], [4]. In step S 3, the operation position command obtained as described above D / A converter (7) is transmitted to the robot (9) via a servo amplifier (8), the hand of the robot (9) (21) is moved to a desired position.

しかしながら、実際にロボット(9)のアームは、所
望の位置より外れた位置に移動してしまう。これは、原
点出しを行なう際に外部入力でそれを正確に行なうこと
が困難であること、あるいはθ1を計算するために
用いるアーム長さl1,l2のデータの正確な計測が困難で
あることから、θ1の値も同時に誤差を含んだ値で
計算されてしまうこと、更にはロボット(9)が実際に
動作をするワールド座標系と、ロボット座標系がズレて
いること等が起因しているといわれている。
However, the arm of the robot (9) actually moves to a position outside a desired position. This is because it is difficult to accurately perform external origin input when performing origin search, or accurate measurement of arm length l 1 and l 2 data used to calculate θ 1 and θ 2 Is difficult, the values of θ 1 and θ 2 are also calculated at the same time with an error. In addition, the world coordinate system in which the robot (9) actually operates and the robot coordinate system are misaligned. It is said that this is caused by

ここで、ワールド座標系とは、ロボット等を含めて工
場等にレイアウトされた生産システム全体で定義された
XY座標系であり、一般には個別の機器等に設定されるも
のではない。これに対して、ロボット座標系とは、各個
別のロボットのレイアウト方向・位置に従ってロボット
毎に設定されるXY座標系であり、上記ワールド座標系か
ら各ロボット座標系への変換は上記レイアウトによって
決定される。すなわち、ワールド座標系とは生産システ
ム全体に統一的に設定された座標系であり、ロボット座
標系とは各ロボット毎にロボットを中心として設定され
た座標系である。上述したワールド座標系と、ロボット
座標系とはどのようにズレているかについて説明する。
まずロボット座標系でのy軸及びx軸にそれぞれ対応す
るX=0,Y=0なる直線をワールド座標系上で描かせよ
うとすると、第14図に示すように、Y軸、X軸ともに直
線にはならない。そこでアームの位置ズレを修正するた
めに、ティーチングボックス(6)を用いて、マニュア
ル操作により正確な位置に移動させなければならないと
いう不具合があった。
Here, the world coordinate system is defined for the entire production system laid out in a factory or the like including a robot or the like.
This is an XY coordinate system, and is not generally set for individual devices or the like. On the other hand, the robot coordinate system is an XY coordinate system set for each robot according to the layout direction and position of each individual robot, and the conversion from the world coordinate system to each robot coordinate system is determined by the layout. Is done. That is, the world coordinate system is a coordinate system uniformly set for the entire production system, and the robot coordinate system is a coordinate system set centering on each robot for each robot. How the world coordinate system described above and the robot coordinate system are displaced will be described.
First, when trying to draw a straight line of X = 0, Y = 0 corresponding to the y-axis and the x-axis in the robot coordinate system on the world coordinate system, as shown in FIG. 14, both the Y-axis and the X-axis It is not a straight line. Therefore, there is a problem that the arm must be moved to an accurate position by manual operation using the teaching box (6) in order to correct the positional deviation.

[発明が解決しようとする問題点] 従来のロボット制御装置は上述したように構成されて
いるので、ロボットの機械的な精度等により、ロボット
のアーム位置を正確に作業位置までマニュアル操作等で
移動させ、その位置をティーチングする必要があるとと
もに、このティーチング作業には非常に時間がかかる
等、ロボット制御装置の有効利用という点からも問題が
あった。
[Problems to be Solved by the Invention] Since the conventional robot control device is configured as described above, the robot arm position is accurately moved to the work position by manual operation or the like due to the mechanical accuracy of the robot. In addition, it is necessary to teach the position, and this teaching operation takes a very long time. For this reason, there is a problem in terms of effective use of the robot control device.

本発明は、上述した従来装置の問題点を解決するため
になされたもので、簡単な構造の補正盤を用いることに
より、ロボットのアームの位置ずれを短時間にかつ高精
度に補正し、ロボットのアームを正確に作業位置へ移動
させることができるロボット制御装置を得ることを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems of the conventional apparatus. By using a correction plate having a simple structure, the position of the robot arm can be corrected in a short time and with high accuracy. It is an object of the present invention to obtain a robot controller capable of accurately moving an arm of the robot to a work position.

[問題点を解決するための手段] 本発明に係るロボット制御装置は、複数軸を備えたロ
ボットのアームを所望の位置に移動させるロボットの制
御装置において、 前記ロボットの可動領域に基準直交座標系(ワールド
座標系)で配置され、表面が縦線および横線で多数の小
領域に分割されて複数の交点を持つ補正盤と、 前記補正盤の交点の位置座標を記憶する手段と、 前記補正盤の交点に前記ロボットのアームを移動さ
せ、その交点に対応するロボット座標系におけるロボッ
ト交点位置座標を記憶する手段と、 前記ロボットの移動指令値を前記基準直交座標系で入
力する手段と、 入力された前記移動指令値とその移動指令値が属する
前記補正盤の前記小領域における前記記憶された交点の
位置座標との差値と、交点間距離との比から、それぞれ
x、y方向の補正係数を求める手段と、 求められた前記補正係数および前記記憶された前記ロ
ボット交点位置座標に基づいて、前記移動指令値をロボ
ット座標系におけるロボット目標位置データに変換する
手段と、 を備えたことを特徴とするものである。
[Means for Solving the Problems] A robot control apparatus according to the present invention is a robot control apparatus for moving a robot arm having a plurality of axes to a desired position. A correction plate arranged in a (world coordinate system), the surface of which is divided into a number of small areas by vertical lines and horizontal lines, and having a plurality of intersections; means for storing position coordinates of intersections of the correction plates; Means for moving the arm of the robot to the intersection of the robot, storing the robot intersection position coordinates in the robot coordinate system corresponding to the intersection, and means for inputting the movement command value of the robot in the reference orthogonal coordinate system. The difference between the movement command value and the stored position coordinates of the intersection in the small area of the correction panel to which the movement command value belongs, and the ratio of the distance between the intersections, Means for obtaining correction coefficients in the x and y directions; means for converting the movement command value into robot target position data in a robot coordinate system based on the obtained correction coefficients and the stored robot intersection position coordinates. And characterized in that:

[作用] 本発明のロボット制御装置では、基準直交座標系(ワ
ールド座標系)で正確に配置された補正盤の各交点の位
置座標を記憶するとともに、その交点にロボットのアー
ムを移動させ、その交点移動をロボット座標系における
ロボット交点位置座標として記憶しておく。そして、ロ
ボットの移動指令値が基準直交座標系(ワールド座標
系)で入力されると、その移動指令値が属する補正盤の
小領域がわかるため、その移動指令値とその小領域にお
ける前記記憶された交点の位置座標との差値と、交点間
距離の比から、それぞれx、y方向の補正係数を求め、
さらにこの補正係数とロボット交点位置座標に基づい
て、その移動指令値をロボット座標系におけるロボット
目標位置データに変換する。
[Operation] In the robot control device of the present invention, while storing the position coordinates of each intersection of the correction board accurately arranged in the reference rectangular coordinate system (world coordinate system), the robot arm is moved to the intersection, and The intersection movement is stored as the robot intersection position coordinates in the robot coordinate system. When the movement command value of the robot is input in the reference rectangular coordinate system (world coordinate system), the small area of the correction panel to which the movement command value belongs can be known. From the difference value between the position coordinates of the intersection and the ratio of the distance between the intersections, the correction coefficients in the x and y directions are obtained, respectively.
Further, based on the correction coefficient and the robot intersection position coordinates, the movement command value is converted into robot target position data in the robot coordinate system.

[実施例] 以下、本発明による実施例を添付した図面に基づいて
詳細に説明する。図において従来例と同一符号は同一又
は相当部分を示すものとする。第1図は、本発明による
ロボットの制御装置を示す主要部の構成図である。図に
おいて、(1)はマイクロプロセッサ等で構成されてい
るCPU、(2)はプログラムを格納したROM、(3)はデ
ータ等を格納したRAM、(4)は通信インターフェースI
/F、(5)は入・出力インターフェース、(7)はデー
タ信号をディジタルからアナログに変換するD/A変換
器、(8)はD/A変換器(7)から送信されたアナログ
信号によってロボット本体(9)を動かすサーボアン
プ、(30)は記録キーと整数1〜nのNO指定キーを有す
るティーチングボックス、(31)は座標データを直接キ
ーインするためのCRTである。
Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings. In the figure, the same reference numerals as those in the conventional example indicate the same or corresponding parts. FIG. 1 is a configuration diagram of a main part showing a robot control device according to the present invention. In the figure, (1) is a CPU constituted by a microprocessor or the like, (2) is a ROM storing a program, (3) is a RAM storing data and the like, and (4) is a communication interface I.
/ F, (5) is an input / output interface, (7) is a D / A converter that converts a data signal from digital to analog, and (8) is an analog signal transmitted from the D / A converter (7). A servo amplifier that moves the robot body (9), (30) is a teaching box having a recording key and a NO designation key of integers 1 to n, and (31) is a CRT for directly inputting coordinate data.

第2図はロボットのアームの可動領域に基準直交座標
系(ワールド座標系)で配置された補正盤と、ロボット
本体(9)の上面図であり、補正盤(32)には正しく定
められた間隔で縦横に罫線が設けられている。
FIG. 2 is a top view of a correction plate arranged in a movable area of a robot arm in a reference rectangular coordinate system (world coordinate system) and a robot body (9). Ruled lines are provided vertically and horizontally at intervals.

第3図はCPU(1),ROM(2),ROM(3)の関係を詳
細に示す説明図であり、ユーザプログラムはRAM(3)
の特定の領域であるユーザプログラム記憶部(11)に格
納されており、現在実行中のユーザプログラムが終了す
れば、それがRAM(3)内の実行命令格納部(12)に格
納される。上記実行命令格納部(12)にとり出されたユ
ーザプログラムは、実行命令解読部(13)で解読され、
ROM(2)内の位置制御部(14)で動作指令に変換され
る。その際本発明では、上記位置制御部(14)で上位CP
U(1)から、あるいは直接キーインされたデータを補
正盤(32)のワールド座標系で求めた補正係数α,βを
用いてロボット座標系に補正し、ロボットの作業位置で
ある目標位置データを求め、さらに動作位置指令データ
が演算される。上記動作位置指令データはD/A変換器
(7)とサーボアンプ(8)を介してロボット本体
(9)を動作させるものである。
FIG. 3 is an explanatory diagram showing the relationship between the CPU (1), ROM (2), and ROM (3) in detail, and the user program is RAM (3)
Are stored in the user program storage unit (11), which is a specific area of the user program, and when the currently executing user program ends, it is stored in the execution instruction storage unit (12) in the RAM (3). The user program extracted to the execution instruction storage unit (12) is decoded by the execution instruction decoding unit (13),
It is converted into an operation command by the position control unit (14) in the ROM (2). At that time, in the present invention, the position control unit (14)
U (1) or directly keyed-in data is corrected to the robot coordinate system using the correction coefficients α and β obtained in the world coordinate system of the correction board (32), and the target position data, which is the working position of the robot, is corrected. Then, operation position command data is calculated. The operation position command data is for operating the robot body (9) via the D / A converter (7) and the servo amplifier (8).

一方第4図及び第5図はROM(2)上に記憶されてい
るプログラムのフローチャートであり、その動作につい
て説明する。まず、第4図はRAM(3)上の補正データ
テーブルの作成を示すフローチャートであり、ステップ
S10でi=1というのは、初期条件でロボットの移動位
置を補正盤(32)の基準マス目の1番目の交点に設定し
たときである。ステップS11で(Nは標準マス目の交点
の数)RAM(3)上のデータテーブル作成作業が終了し
たかを判断する。もし終了していればENDであり、まだ
終了していなければステップS12において補正盤(32)
の基準マス目のi番目の交点にロボットをマニュアルで
正確に移動させる。基準マス目の交点に対して第6図に
示すように、1〜nの番号(番地)がつけられているの
で、ステップS13にあるように、ロボット移動後、記録
ボタンと1〜nのNO指定キーを押すことにより、RAM
(3)上のテーブルに現在のロボット位置に対応する補
正盤(32)の基準マス目の縦線NOと横線NOが記憶され
る。また同時にその時のロボット座標系におけるx座標
とy座標が記憶される。
4 and 5 are flowcharts of programs stored on the ROM (2), and the operation will be described. First, FIG. 4 is a flowchart showing the creation of a correction data table on the RAM (3).
Because i = 1 in S 10 is when setting the movement position of the robot to the first intersection of the reference grid correction plate (32) in the initial condition. Step S 11 (N is the standard squares number of intersections) and determines whether the data table creation work on RAM (3) is completed. If an END If completed, the correction plate in step S 12 if not yet finished (32)
The robot is manually and accurately moved to the i-th intersection of the reference cell. As shown in FIG. 6 with respect to the reference grid intersections, since 1~n number (address) is attached, as in step S 13, after the robot movement, record button and 1~n By pressing the NO designation key, the RAM
(3) The vertical table NO and the horizontal line NO of the reference cell of the correction board (32) corresponding to the current robot position are stored in the upper table. At the same time, the x coordinate and the y coordinate in the robot coordinate system at that time are stored.

ステップS14ではiをインクリメントさることによ
り、つぎにロボットを移動させる補正盤(32)の基準マ
ス目の交点のNOを設定する。以上のようにステップS10
〜S14の操作を交点の1〜n番目まで繰り返して行な
い、順にマス目NOとロボットの位置テーブルをRAM
(3)上に作成する。以上のようにして、補正データテ
ーブルの作成という準備作業が終了する。
The increment Sarukoto step S 14 in i, then set to NO at the intersection of the reference grid for moving the robot correction board (32). Step S 10 as described above
Repeatedly performed by the operation of to S 14 until 1~n th intersection, turn RAM a position table squares NO and the robot
(3) Create above. As described above, the preparation work of creating the correction data table is completed.

第5図は座標データが入力された以降の動作について
の説明図であり、ステップS20より、上位CPU(1)か
ら、あるいは直接キーインされたデータが基準直交座標
系(ワールド座標系)での座標値(xc,yc)が位置制御
部(14)に送信される。ステップS21で座標値(xc,yc
が補正盤の基準マス目(座標系)の縦線NO、横線NOの何
番目に入るかを計算する。つまり補正盤は第6図に示す
ように定められた間隔でx方向はΔx,y方向はΔyで縦
横に線が描かれているため、横線NOをi、縦線NOをjと
すると、 (但し小数点以下は切り捨て)となり、座標値(xc,
yc)は横線NOのi〜i+1の間で、縦線NOのj〜j+1
の間に入ることがわかる。
FIG. 5 is an explanatory diagram of operation after the coordinate data is input, from the step S 20, in the upper CPU (1), or directly keyed data reference orthogonal coordinate system (world coordinate system) The coordinate values (x c , y c ) are transmitted to the position control unit (14). Coordinate value in step S 21 (x c, y c )
Of the vertical line NO and the horizontal line NO of the reference cell (coordinate system) of the correction panel are calculated. In other words, since the correction panel is drawn with vertical and horizontal lines in the x direction at Δx and the y direction at Δy at intervals determined as shown in FIG. 6, if the horizontal line NO is i and the vertical line NO is j, (However, fractions are truncated) and the coordinate values (x c ,
y c ) is between i to i + 1 of the horizontal line NO and j to j + 1 of the vertical line NO
It turns out that it enters between.

いま、補正テーブルの横線NO(i)、縦線NO(j)に
対応する補正盤座標を、(Xij,Yij)、横線NO(i+
1)、縦線NO(j)に対応する座標を(Xi1j,Yi1j)と
し、横線NO(i)、縦線NO(j+1)に対応する座標を
(Xij1,Yij1)とすると、第7図に示すように描ける。
そこでステップS21の結果より、さらに座標値(xc,yc
は第8図(a)のように書きあらわすことができる。ま
た、ステップS22で第8図(a)に示すように、座標Xij
とXi1jとの距離と、座標Xijとxcとの距離の比をα、座
標YijとYij1との距離と座標Yijとycとの距離の比をβと
して、α,βの値を求める。
Now, the correction board coordinates corresponding to the horizontal line NO (i) and the vertical line NO (j) in the correction table are represented by (X ij , Y ij ) and the horizontal line NO (i +
1) The coordinates corresponding to the vertical line NO (j) are (X i1j , Y i1j ), and the coordinates corresponding to the horizontal line NO (i) and the vertical line NO (j + 1) are (X ij1 , Y ij1 ). It can be drawn as shown in FIG.
Therefore the results of step S 21, further coordinates (x c, y c)
Can be written as shown in FIG. 8 (a). Further, as shown in FIG. 8 at step S 22 (a), the coordinates X ij
And as the distance between X i1J, the ratio of the distance between the coordinate X ij and x c alpha, the ratio of the distance between the distance and the coordinate Y ij and y c between the coordinate Y ij and Y ij1 β, α, β Find the value of

上記XijとXi1jとの距離はΔx,YjiとYij1との距離はΔ
yであることから、 で求められる。
The distance between X ij and X i1j is Δx, and the distance between Y ji and Y ij1 is Δ
y Is required.

ステップS23は、ステップS22で求められた(i,j)
と、RAM(3)上のデータにより、(i,j)に対応するロ
ボット座標系での位置(この位置を、ロボット交点位置
座標と記す)を求める。いま補正テーブルのロボット座
標系のx座標、y座標を以下のように定める。横線NO
(i)、縦線NO(j)に対応する座標を(xij,yij)、
横線NO(i+1)、縦線NO(j)に対応する座標を(x
i1j,yi1j)、横線NO(i)、縦線NO(j+1)に対応す
る座標を(xij1,yij1)とする。ステップS24は、入力さ
れたデータ(xc,yc)に対応するロボット座標系での相
対位置である(xR,yR)を求める。
Step S 23 is obtained in step S 22 (i, j)
Then, a position in the robot coordinate system corresponding to (i, j) (this position is referred to as a robot intersection position coordinate) is obtained from the data on the RAM (3). Now, the x coordinate and the y coordinate of the robot coordinate system in the correction table are determined as follows. Horizontal line NO
(I), the coordinates corresponding to the vertical line NO (j) are (x ij , y ij ),
The coordinates corresponding to the horizontal line NO (i + 1) and the vertical line NO (j) are (x
i1j , yi1j ), the coordinates corresponding to the horizontal line NO (i), and the vertical line NO (j + 1) are ( xij1 , yij1 ). Step S 24 determines the input data (x c, y c) is the relative position of the robot coordinate system corresponding to the (x R, y R).

ここで座標xi1jとxijの間の距離と、xRとxijの間の距
離の比は、ステップS22で求めたα値に著しく近いと
し、また座標yijとyij1との間の距離と、yRとyijとの間
の距離との比は、ステップS22で求めらたβ値に著しく
近いと考えることにより、相対位置あるいは目標位置デ
ータとして、(xR,yR)が求められるのである。これを
示したのが第8図(b)である。
Wherein the distance between the coordinates x i1J and x ij, the ratio of the distance between the x R and x ij is to remarkably close to the α value obtained in step S 22, also between the coordinate y ij and y ij1 the distance, the ratio of the distance between the y R and y ij, by considered significantly close to the β value was calculated et at step S 22, as the relative position or target position data, (x R, y R ) Is required. FIG. 8 (b) shows this.

以下、この目標位置データを求める際の補正計算を説
明する。
Hereinafter, a correction calculation for obtaining the target position data will be described.

ロボット座標系は、直交座標系ではないので、α,β
をベクトル係数と考え、第8図(b)を用いて(xR,
yR)を求めることができる。
Since the robot coordinate system is not a rectangular coordinate system, α, β
Is considered as a vector coefficient, and (x R ,
y R ).

ゆえに となり、前述した(イ),(ロ),(ハ)式より で求められることになる。therefore And from the equations (a), (b) and (c) Will be required.

ステップS25は以上のように位置制御部(14)で補正
計算を行なって求められた目標位置データ(xR,yR)か
ら、さらに位置制御部(14)で従来装置と同様に動作位
置指令データとして、各成分の移動量が計算されるもの
であり、この結果がD/A変換器(7)に送信され、サー
ボアンプ(8)を介してロボット本体(9)のアームを
所望の位置へ移動させる。
Step S 25 the target position data obtained by performing correction calculation by the position control unit, as described above (14) (x R, y R) from further operating position as in the conventional device by the position control unit (14) The movement amount of each component is calculated as command data, and the result is transmitted to the D / A converter (7), and the arm of the robot body (9) is moved to a desired position via the servo amplifier (8). Move to position.

[発明の効果] 以上詳細に説明したように、本発明のロボット制御装
置によれば、補正盤の表面に縦横の罫線で作成された全
ての交点を予めティーチングによりロボット交点位置座
標として記憶させておくだけでよいので、ティーチング
作業が極めて簡単で時間がかからず、またロボットの移
動指令値に対して、その移動指令値と補正盤の交点の位
置座標との差値と、交点間距離との比から、それぞれx,
y方向の補正係数を求めることにより、その移動指令値
をその補正係数を用いてロボット目標位置データに変換
するものであるから、ロボットのアームの位置ずれを短
時間にかつ高精度に補正することができ、位置決め精度
の高い制御を実現できるとい効果がある。
[Effects of the Invention] As described in detail above, according to the robot control device of the present invention, all intersections created by vertical and horizontal ruled lines on the surface of the correction board are stored in advance as robot intersection position coordinates by teaching. Teaching work is extremely simple and takes no time. In addition, for the robot movement command value, the difference between the movement command value and the position coordinates of the intersection of the correction board, the distance between intersections, X,
Since the movement command value is converted into robot target position data by using the correction coefficient by obtaining the correction coefficient in the y direction, the position deviation of the robot arm can be corrected in a short time and with high accuracy. Therefore, there is an effect that control with high positioning accuracy can be realized.

【図面の簡単な説明】 第1図は本発明によるロボット制御装置を示す主要部の
構成図、第2図は本発明によるロボットの上面図、第3
図は本発明によるCPU,ROMおよびRAMの関係を示す説明
図、第4図及び第5図は本発明によるROM上に記憶され
ているプログラムのフローチャート、第6図及び第7図
は本発明によるロボットアームの補正量を示す説明図、
第8図(a),(b)は本発明によるロボットアームの
動作説明図、第9図は従来のロボット制御装置を示す主
要部の構成図、第10図は従来のCPU,ROMおよびRAMの関係
を示す説明図、第11図は従来のロボット本体の構造を示
す斜視図、第12図は第4図の上面図、第13図は従来のRO
M上に記憶されているプログラムのフローチャート、第1
4図は従来ロボットの動作を説明するワールド座標系と
ロボット座標系の関係を示す説明図である。 図面中、 (1)……CPU、(2)……ROM、(3)……RAM、
(4)……通信I/F、(5)……入・出力インターフェ
ース、(7)……D/A変換器、(8)……サーボアン
プ、(9)……ロボット本体、(30)……ティーチング
ボックス、(31)……CRT、(32)……補正盤。 なお、図中同一符号は同一又は相当部分を示すものとす
る。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a structural view of a main part showing a robot control device according to the present invention, FIG. 2 is a top view of a robot according to the present invention, FIG.
FIG. 4 is an explanatory diagram showing the relationship between a CPU, a ROM, and a RAM according to the present invention. FIGS. 4 and 5 are flowcharts of programs stored on a ROM according to the present invention. FIGS. Explanatory diagram showing the correction amount of the robot arm,
8 (a) and 8 (b) are explanatory diagrams of the operation of the robot arm according to the present invention, FIG. 9 is a configuration diagram of a main part showing a conventional robot controller, and FIG. 10 is a diagram of a conventional CPU, ROM and RAM. FIG. 11 is a perspective view showing the structure of a conventional robot body, FIG. 12 is a top view of FIG. 4, and FIG. 13 is a conventional RO.
Flowchart of the program stored on M, 1st
FIG. 4 is an explanatory diagram showing the relationship between the world coordinate system and the robot coordinate system for explaining the operation of the conventional robot. In the drawings, (1) ... CPU, (2) ... ROM, (3) ... RAM,
(4) Communication I / F, (5) Input / output interface, (7) D / A converter, (8) Servo amplifier, (9) Robot body, (30) … Teaching box, (31)… CRT, (32)… Correction board. The same reference numerals in the drawings indicate the same or corresponding parts.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−205713(JP,A) 特開 昭59−103109(JP,A) 特開 昭52−63578(JP,A) 特開 昭49−68183(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-60-205713 (JP, A) JP-A-59-103109 (JP, A) JP-A-52-63578 (JP, A) JP-A-49-49 68183 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数軸を備えたロボットのアームを所望の
位置に移動させるロボットの制御装置において、 前記ロボットの可動領域に基準直交座標系で配置され、
表面が縦線および横線で多数の小領域に分割されて複数
の交点を持つ補正盤と、 前記補正盤の交点の位置座標を記憶する手段と、 前記補正盤の交点に前記ロボットのアームを移動させ、
その交点に対応するロボット座標系におけるロボット交
点位置座標を記憶する手段と、 前記ロボットの移動指令値を前記基準直交座標系で入力
する手段と、 入力された前記移動指令値とその移動指令値が属する前
記補正盤の前記小領域における前記記憶された交点の位
置座標との差値と、交点間距離との比から、それぞれ
x、y方向の補正係数を求める手段と、 求められた前記補正係数および前記記憶された前記ロボ
ット交点位置座標に基づいて、前記移動指令値をロボッ
ト座標系におけるロボット目標位置データに変換する手
段と、 を備えたことを特徴とする産業用ロボットの制御装置。
1. A robot controller for moving an arm of a robot having a plurality of axes to a desired position, wherein the controller is arranged in a movable area of the robot in a reference rectangular coordinate system,
A correction plate having a plurality of intersections whose surface is divided into a number of small areas by vertical and horizontal lines; a unit for storing position coordinates of intersections of the correction plates; and moving the robot arm to the intersections of the correction plates. Let
Means for storing a robot intersection position coordinate in a robot coordinate system corresponding to the intersection, means for inputting a movement command value of the robot in the reference orthogonal coordinate system, and wherein the input movement command value and the movement command value are Means for determining correction coefficients in the x and y directions from the ratio of the difference between the stored intersection coordinates in the small area of the correction panel and the distance between the intersections, respectively; Means for converting the movement command value into robot target position data in a robot coordinate system based on the stored robot intersection position coordinates, and a control device for an industrial robot.
JP60002232A 1985-01-11 1985-01-11 Industrial robot controller Expired - Lifetime JP2628033B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60002232A JP2628033B2 (en) 1985-01-11 1985-01-11 Industrial robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60002232A JP2628033B2 (en) 1985-01-11 1985-01-11 Industrial robot controller

Publications (2)

Publication Number Publication Date
JPS61161511A JPS61161511A (en) 1986-07-22
JP2628033B2 true JP2628033B2 (en) 1997-07-09

Family

ID=11523608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60002232A Expired - Lifetime JP2628033B2 (en) 1985-01-11 1985-01-11 Industrial robot controller

Country Status (1)

Country Link
JP (1) JP2628033B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2567372B2 (en) * 1985-09-13 1996-12-25 富士通株式会社 Robot coordinate correction processing method
JP2511072B2 (en) * 1987-10-23 1996-06-26 三菱重工業株式会社 Recording / playback method of teaching data in robot
JP4888374B2 (en) * 2007-12-20 2012-02-29 株式会社デンソーウェーブ Robot motion control apparatus and motion control method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS536308B2 (en) * 1972-11-07 1978-03-07
JPS5263578A (en) * 1975-11-20 1977-05-26 Fanuc Ltd Error correction system by means of numerical control
JPS59103106A (en) * 1982-12-06 1984-06-14 Hitachi Ltd Method and device for control of manipulator
JPS60205713A (en) * 1984-03-30 1985-10-17 Hitachi Ltd Correcting device of operation positioning error of industrial robot

Also Published As

Publication number Publication date
JPS61161511A (en) 1986-07-22

Similar Documents

Publication Publication Date Title
JP2807461B2 (en) Three-dimensional shape processing laser device
CN107297399B (en) A kind of method of robot Automatic-searching bending position
CN107560538A (en) The scaling method of six-DOF robot tool coordinates system based on laser tracker
JPH0789287B2 (en) Robot programming method
JPH0429515B2 (en)
JPH0195819A (en) Fully automatic pipe working system
JP2628033B2 (en) Industrial robot controller
JPH10301609A (en) Position error detection method for robot and device therefor
JPH05111897A (en) Finding method of relative position relationship between plurality of robots
JPH0118442B2 (en)
JP2597972B2 (en) Articulated robot control system
JP2883130B2 (en) Position correction method
JPH06162147A (en) Measuring and analyzing device for three-dimensional curved surface of structure
JPH0522814Y2 (en)
JP3148489B2 (en) 3D object placement device
JPS61205814A (en) Apparatus for measuring, correcting and controlling plural holes
CN111515613B (en) Local correction method for hole positions of skeleton structure
JP2766285B2 (en) Robot teaching method
JPS61114330A (en) Input device for cursor shift data
JP2841364B2 (en) Processing device positioning method
JP2804474B2 (en) Teaching method for industrial robots
JPH01307810A (en) Robot control method
JPH01142921A (en) Mouse type input device
JPH0699378A (en) Method for teaching robot track
JP2601835B2 (en) How to check software potential lines