JP3632278B2 - Inter-robot coordinate transformation matrix setting method and correction method - Google Patents

Inter-robot coordinate transformation matrix setting method and correction method Download PDF

Info

Publication number
JP3632278B2
JP3632278B2 JP03884296A JP3884296A JP3632278B2 JP 3632278 B2 JP3632278 B2 JP 3632278B2 JP 03884296 A JP03884296 A JP 03884296A JP 3884296 A JP3884296 A JP 3884296A JP 3632278 B2 JP3632278 B2 JP 3632278B2
Authority
JP
Japan
Prior art keywords
robot
coordinate
coordinate system
transformation matrix
robots
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP03884296A
Other languages
Japanese (ja)
Other versions
JPH09207088A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP03884296A priority Critical patent/JP3632278B2/en
Publication of JPH09207088A publication Critical patent/JPH09207088A/en
Application granted granted Critical
Publication of JP3632278B2 publication Critical patent/JP3632278B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、産業用ロボットの座標変換方式にかかわり、複数のロボットが共同して作業を行う時の、ロボット間座標変換行列の設定方式および設定されたロボット間座標変換行列の補正方式に関する。
【0002】
【従来の技術】
近年、多方面においてロボットが活用されているが、ロボット単体の活用の他に、他の動作軸と協調して動作させる活用方法がある。
【0003】
以下、従来のロボットの協調動作について説明する。従来、ロボットと外部軸とを協調させて動作を行うために、外部軸上にも座標系を設定し、外部軸座標系とロボット座標系との間に変換行列を設定している。この座標変換行列を用いると、外部軸が回転した時にも、外部軸座標系で表した座標系をロボット座標に変換することで、外部軸とロボットとが同じ関係を保ちながら追従することが可能になる。
【0004】
このような、ロボットと外部軸間との座標変換行列の設定方式については、例えば、特開平6−250714号公報に開示された手段がある。この手段は、外部軸が所定の軸を中心として回転することを利用し、任意の1点が外部軸の回転につれて移動した位置座標を3カ所についてロボットにより読み取ることで、回転中心を原点とする座標系を設定する手段である。外部軸自身には、予め設定された座標系は存在しないため、ここで設定された座標系をそのまま利用して、協調動作のための座標変換行列を設定することができる。
【0005】
【発明が解決しようとする課題】
上記従来の座標変換行列設定方式において、ロボットと外部軸との協調の考えを発展させると、2台のロボット間で協調動作を行う方式が考えられる。2台のロボット間で協調動作が可能になると、例えば、2台のロボットがその先端位置の相対関係を保ちながら動作することができる。このような、ロボット間の協調動作を実現するためには、一方のロボット座標系で表示された座標を、他方のロボットでの座標に変換することが必要となる。すなわち、一方のロボットの座標系における座標値を、別のロボット座標系における座標値に変換するようなロボット間の座標変換行列を設定しなければならない。
【0006】
しかし、ロボットはそれぞれそのロボット固有の座標系を有している。したがって、上記の外部軸に対する考えと同じように、一方のロボットを外部軸と見なして動作させ、その点の座標を別なロボットで読み取ることで座標系を設定しても、設定した座標系は、外部軸と見なされたロボット固有の座標系に一致しない。そのため、上記点の座標から求めた座標系をロボット間の座標変換行列として設定しても、ロボット間で位置データを変換することはできない。そのため、複数のロボット座標系間の座標変換行列を簡易に設定する方式が望まれていた。また、ロボット間の変換座標系により協調動作を行う場合には、演算時の位置ずれの影響が大きいので、得られた変換行列を補正し、正確な変換を行なうための手段が望まれていた。
【0007】
本発明は上記の課題を解決するもので、ロボット座標系間の座標変換行列を容易に求めることができ、また変換誤差を補正できるロボット間座標変換行列設定方式および補正方式を提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明のロボット間座標変換行列設定方式は、複数のロボットの先端を位置合わせし、空間上の任意の3点についてそれぞれのロボットの座標系で位置を読み取り、前記3点で決めた別の単位座標系、例えば、前記3点を通る円弧の中心を原点として設定した単位座標系をもとに演算することにより、前記単位座標系に対する座標系からのそれぞれの座標変換行列を求め、そのそれぞれの座標変換行列からロボット間座標変換行列を求め、前記ロボット間座標変換行列を前記ロボットシステムに設定するロボット間座標変換行列設定方式である。
【0009】
これにより、ロボット間座標変換行列を容易に設定でき、そのロボット間座標変換行列を用いて複数ロボット間の協調動作を容易に実現することができる。
【0010】
また、本発明のロボット間座標変換行列の補正方式は、上記方法で求めたロボット間座標変換行列について、前記3点以外の任意の2点を追加した5点の位置をそれぞれの座標系により読み取り、前記複数のロボットの内の任意1台の座標系で記述した前記5点の位置座標を、残り他の任意1台のロボットの座標系により記述した位置座標に等しくする前記任意2台のロボット間座標変換行列の補正行列として求めるロボット間座標変換行列の補正方式である。
【0011】
これにより、座標変換行列を求める時に発生する誤差を容易に補正でき、精度の高い協調動作を実行させることができる。
【0012】
【発明の実施の形態】
位置合わせ,位置読み取りは、制御装置により実行される。また、演算処理は前記制御装置におけるマイクロコンピュータのプログラム処理で実行できる。
【0013】
以下、実施例について説明する。
【0014】
【実施例】
(実施例1)
以下、請求項1にかかわる本発明のロボット間座標変換行列設定方式の一実施例について図面を参照しながら説明する。
【0015】
図1は、請求項1にかかわる本発明のロボット間座標変換行列設定方式を適用するロボットシステムの構成例を示す斜視図である。図において、1と2はそれぞれロボット、3はロボット1の動作を制御する制御装置、4はロボット2の動作を制御する制御装置である。なお、ロボットシステムはこの例に限るものではなく、1台の制御装置により2台のロボットが制御可能な場合、例えば、ロボット2も制御装置により制御される。ロボットが協調して動作する場合には、例えば、ロボット1の先端5の位置および姿勢を変化させた場合に、ロボット2の先端6がロボット1の先端5との相対位置や相対速度を保ちながら動作する。
【0016】
図2は、ロボット間座標変換行列設定方式におけるロボット操作の一例を示す模式図である。図において、5はロボット1の先端、6はロボット2の先端、Pi (i=1,2,3)は任意の基準位置であり、ロボット1の先端5とロボット2の先端6とを合わせる目標位置である。なお、各基準位置から紙面下方向に描いた線分は、それらの基準位置が空間的な位置であることを示しているに過ぎない。Pc は3点のデータに基づいて座標系を決定する場合の原点であり、例えば、前記Pi の3点で決まる円弧の中心位置である。また、Nc ,Tc ,Vc はそれぞれ前記座標系の直交する3軸を示す方向ベクトルであり、例えば、Nc は前記円弧中心を通り円弧平面に垂直な方向ベクトル、Tc は円弧中心Pc とPi を結んだ方向ベクトル、Vc はNc とTc とに直交する方向ベクトルである。
【0017】
図3は、本実施例のロボット間座標変換行列設定方式における演算処理を示すフローチャートである。まず、ステップ1において、ロボット1を制御装置3により駆動させて先端5を任意の基準位置P1 に位置決めし、ステップ2において、ロボット2を制御装置4により駆動させて先端6をロボット1の先端5の位置に誘導し、ステップ3において、基準位置P1 の位置をそれぞれのロボット座標系で読み取り、ロボット1の座標系での位置をPA1(XA1,YA1,ZA1)、ロボット2の座標系での位置をPB1(XB1,YB1,ZB1)として記憶させる。以下、ロボット1の座標系での座標データに添字Aを、またロボット2の座標系での座標データには添字Bを付与する。以上の処理により、基準位置P1 の位置データの採取を完了する。
【0018】
つぎに、ステップ1に戻って同様の処理により、ロボット1の先端5とロボット2の先端6とを基準位置P2 に位置決めし、ロボット1の座標系での位置をPA2(XA2,YA2,ZA2)、ロボット2の座標系での位置をPB2(XB2,YB2,ZB2)として記憶させる。また、ステップ1に戻って同様の処理により、ロボット1の先端5とロボット2の先端6とを基準位置P3 に位置決めし、ロボット1の座標系での位置をPA3(XA3,YA3,ZA3)、ロボット2の座標系での位置をPB3(XB3,YB3,ZB3)として記憶させる。
【0019】
つぎに、ステップ4において、上記3回の操作により求められた基準位置P1,P2 ,P3 のロボット1の座標系での位置データと、ロボット2の座標系での位置データとから、3つの基準位置P1,P2,P3 を円弧上の点と見なした場合の円弧の中心位置をそれぞれの座標系で記述したPcAとPcB、円弧が与える平面の法線ベクトルNc をそれぞれの座標系で記述したNcAとNcB、円弧中心Pc と基準位置P1 とから生成される方向ベクトルTc をそれぞれの座標系で記述したTcAとTcB、および前記方向ベクトルTc にそれぞれ直交する方向ベクトルVc をそれぞれの座標系で記述したVcAとVcBとを、公知の幾何学演算により求める。
【0020】
つぎに、ステップ5において、PcAおよびPcBを原点とし、この原点で直交するベクトルNcAおよびNcBと、TcAおよびTcBと、VcAおよびVcBとから、各ロボット座標系で表現される単位座標系を計算し、ロボット1の座標系で記述した単位座標系行列を、ロボット2の座標系で記述した単位座標系行列を とする。ここで、単位座標系行列 は、それぞれ前記単位座標系に対するロボット1の座標系からの変換行列とロボット2の座標系からの変換行列を与え、前記単位座標系からロボット2の座標系への変換行列は (−1 になる。したがって、ステップ6において、ロボット1の座標系からロボット2の座標系への変換行列 が、・(−1として得られる。以上の操作と演算処理とにより得られた座標変換行列 を用いて、ロボット1から見た位置座標をロボット2から見た位置座標に変換することができ、ロボット間の協調動作を容易に実現することができる。以上の操作はロボットシステムの設定時に1度実施するだけで足りる。
【0021】
なお、ロボット2からロボット1への変換行列 は、・(−1として求められることは言うまでもない。また、本実施例では前記3点を通る円弧の中心を原点とし、円弧平面に対する法線単位ベクトルと基準位置P1 を通る方向ベクトルとを座標軸方向ベクトルとする単位座標系を設定したが、これに限定されるものでなく、前記3点の位置データに基づいて固定設定したものであれば任意でよいことも言うまでもない。
【0022】
以下、本発明のロボット間座標変換行列補正方式について説明する。上記ロボット間座標変換行列を設定する時、ロボット1の先端5とロボット2の先端6とを同一基準位置に位置決めする時の位置合わせ不良により人為的な誤差が発生する。
【0023】
図4は本発明のロボット間座標変換行列補正方式により変換行列を補正する場合のロボット操作を示す模式図である。なお、各基準位置から紙面下方向に描いた線分は、それらの基準位置が空間的な位置であることを示しているに過ぎない。図において、P1 ,P2 およびP3 は前記ロボット間座標変換行列設定処理において指定された座標系設定時の任意の基準位置、P4 およびP5 は座標変換行列を補正するための補正データを取得する目的で指定された任意の基準位置であり、ロボット1の先端5およびロボット2の先端6を合わせる場合の目標である。
【0024】
図5は、本発明のロボット間座標変換行列補正方式の操作および処理を示すフローチャートである。まず、ステップ1において、ロボット1を制御装置3により駆動させ、その先端5を座標系設定時に設定した基準位置P1 〜P3 以外の任意の基準位置P4 に位置決めする。ステップ2において、ロボット2を、同様に、制御装置4により駆動させ、その先端6をロボット1の先端5の位置に誘導し、ステップ3において、基準位置P4 の位置をそれぞれのロボット座標系で読み取り、ロボット1の座標系での位置をPA4(XA4,YA4,ZA4)、ロボット2の座標系での位置をPB4(XB4,YB4,ZB4)として記憶させる。つぎに、ステップ1に戻って、ロボット1の先端5を制御装置3により駆動させて位置を変更し、新たにP1 〜P4 以外の基準位置P5 に位置決めし、ステップ2において、ロボット2を駆動して、その先端6をロボット1の先端5の位置に誘導し、ステップ3で基準位置P5 の位置をそれぞれのロボット座標系で読み取り、ロボット1の座標系での位置をPA5(XA5,YA5,ZA5)、ロボット2の座標系での位置をPB5(XB5,YB5,ZB5)として記憶させる。
【0025】
つぎに、ロボット間座標変換行列設定時の基準位置P1,P2,P3 と、今回設定した基準位置P4 ,P5 との5点の位置データを用いて以下の演算を行う。まず、ステップ4において、補正対象のロボット間座標変換行列 を用いて、ロボット2の座標系で表した位置座標PBi(i=1〜5)をロボット1での位置座標に変換し、PBAi (i=1〜5)とする。つぎに、ステップ5において、位置座標PBAi とPAiとを、それぞれ4×1行列として4要素目に1を追加して(X,Y,Z,1)と表し、PBAi’=(XBAi,YBAi,ZBAi,1) とする。変換行列 に誤差がなければPBAi とPAiとは等しいはずである。逆に、誤差がある場合には、PBAi とPAi(i=1〜5)の値を等しくするような、すなわち、PAi’ =Q・PBAi’ を満たす4×4行列の補正行列Q
【0026】
【数1】

Figure 0003632278
【0027】
を求めればよい。ステップ6において、前記補正行列Qにおける補正係数q11〜q34を、i =1〜5の5点のPAi’とPBAi の関係から、最小二乗法演算により求める。この処理で得られた補正行列Qをロボット間座標変換行列 に乗算し、Q・とすることで補正した変換誤差のない座標変換行列求めることができる。
【0028】
なお、本実施例ではロボットが2台として説明したが、それ以上の複数台であっても適用できることは言うまでもない。
【0029】
【発明の効果】
以上の説明から明らかなように、本発明のロボット間座標変換行列設定方式は、複数のロボットの先端を位置合わせし、空間上の3点についてそれぞれの座標系で位置を読み取る操作のみで変換行列を演算して求め、ロボットに設定するようにしたことにより、容易に変換行列を得ることができ、協調動作を容易に実現することができる。
【0030】
また、本発明のロボット間座標変換行列の補正方式は、空間上5点の位置についてそれぞれの座標系で位置を読み取り、上記の方法で求めた変換行列を適用して座標変換した位置が互いに等しくなるように補正行列を求めることにより、変換行列を求めた時の誤差を補正でき、精度よく協調動作をさせることができる。
【図面の簡単な説明】
【図1】複数のロボットを備えたロボットシステムの構成を示す斜視図
【図2】本発明のロボット間座標変換行列設定方式におけるロボット操作の一例を示す模式図
【図3】本実施例のロボット間座標変換行列設定方式における演算処理を示すフローチャート
【図4】本発明のロボット間座標変換補正方式により変換行列を補正する場合のロボット操作を示す模式図
【図5】本発明のロボット間座標変換行列補正方式の補正処理を示すフローチャート
【符号の説明】
1,2 ロボット
3 ロボット1の制御装置
4 ロボット2の制御装置
5 ロボット1の先端
6 ロボット2の先端[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a coordinate conversion method for an industrial robot, and relates to a method for setting a coordinate conversion matrix between robots and a method for correcting a set coordinate conversion matrix between robots when a plurality of robots work together.
[0002]
[Prior art]
In recent years, robots have been used in various fields. In addition to the use of a single robot, there are methods of using it in cooperation with other motion axes.
[0003]
Hereinafter, the cooperative operation of the conventional robot will be described. Conventionally, in order to perform an operation in cooperation with a robot and an external axis, a coordinate system is set on the external axis, and a transformation matrix is set between the external axis coordinate system and the robot coordinate system. Using this coordinate transformation matrix, even when the external axis rotates, it is possible to follow the external axis and the robot while maintaining the same relationship by converting the coordinate system represented by the external axis coordinate system into robot coordinates. become.
[0004]
As such a method for setting the coordinate transformation matrix between the robot and the external axis, for example, there is means disclosed in Japanese Patent Laid-Open No. 6-250714. This means uses the fact that the external axis rotates around a predetermined axis, and reads the position coordinates where any one point has moved along with the rotation of the external axis by the robot at three points, so that the rotation center is the origin. A means for setting a coordinate system. Since there is no preset coordinate system on the external axis itself, a coordinate transformation matrix for cooperative operation can be set using the coordinate system set here as it is.
[0005]
[Problems to be solved by the invention]
In the conventional coordinate transformation matrix setting method, when the idea of cooperation between the robot and the external axis is developed, a method of performing a cooperative operation between the two robots can be considered. When a cooperative operation is possible between two robots, for example, the two robots can operate while maintaining the relative positions of their tip positions. Such, in order to realize the cooperative operation between the robot coordinate values displayed in one of the robot coordinate system, it is necessary to convert the coordinate values of the other robot. That is, a coordinate conversion matrix between the robots that converts the coordinate value in the coordinate system of one robot into the coordinate value in another robot coordinate system must be set.
[0006]
However, each robot has its own coordinate system. Therefore, in the same way as the idea for the external axis above, even if one robot is operated as an external axis and the coordinate system is set by reading the coordinates of that point with another robot, the set coordinate system is Does not match the robot's unique coordinate system, which is considered an external axis. Therefore, even if a coordinate system obtained from the coordinates of the points is set as a coordinate conversion matrix between robots, position data cannot be converted between robots. Therefore, a method for easily setting a coordinate transformation matrix between a plurality of robot coordinate systems has been desired. In addition, when performing coordinated operation using a conversion coordinate system between robots, since the influence of positional deviation during calculation is large, a means for correcting the obtained conversion matrix and performing accurate conversion has been desired. .
[0007]
An object of the present invention is to solve the above problems, and to provide an inter-robot coordinate transformation matrix setting method and a correction method capable of easily obtaining a coordinate transformation matrix between robot coordinate systems and correcting a transformation error. And
[0008]
[Means for Solving the Problems]
Coordinate transformation matrix setting method between the robot of the present invention is to align the tip of the multiple robots, reads the position in the coordinate system of each of the robot for any three points in space, another decided by the three points units coordinate system, for example, by calculating on the basis of unit coordinate system set the center of the circular arc passing through the three points as the origin, obtains the respective coordinate transformation matrix from the coordinate system with respect to the unit coordinate system, the This is an inter- robot coordinate transformation matrix setting method for obtaining an inter-robot coordinate transformation matrix from each coordinate transformation matrix and setting the inter- robot coordinate transformation matrix in the robot system .
[0009]
Thus, a coordinate transformation matrix between the robot can be easily set, the cooperative operation between multiple robots can be easily realized by using the robot between coordinate transformation matrix.
[0010]
The correction method of the robot between the coordinate transformation matrix of the present invention, a robot between coordinate transformation matrix obtained by the above method, the position of any 5 points added two points other than pre-Symbol 3 points by the respective coordinate systems The two arbitrary robots that read and set the position coordinates of the five points described in the arbitrary coordinate system of the plurality of robots to be equal to the positional coordinates described in the coordinate system of the remaining arbitrary one robot. This is a correction method for an inter-robot coordinate transformation matrix obtained as a correction matrix for the inter-robot coordinate transformation matrix.
[0011]
As a result, it is possible to easily correct an error that occurs when obtaining a coordinate transformation matrix, and to execute a highly accurate cooperative operation.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Positioning and position reading are executed by the control device. The arithmetic processing can be executed by microcomputer program processing in the control device.
[0013]
Examples will be described below.
[0014]
【Example】
(Example 1)
An embodiment of the inter-robot coordinate transformation matrix setting method of the present invention according to claim 1 will be described below with reference to the drawings.
[0015]
FIG. 1 is a perspective view showing a configuration example of a robot system to which an inter-robot coordinate transformation matrix setting method according to the first aspect of the present invention is applied. In FIG, 1, respectively robot 2, 3 that controls control device the operation of the robot 1, 4 is that control devices to control the operation of the robot 2. Note that the robot system is not limited to this example, if the single control device two robots controllable, for example, is controlled by the robot 2 also control device 3. When the robot operates cooperatively, for example, when the position and posture of the tip 5 of the robot 1 are changed, the tip 6 of the robot 2 maintains the relative position and relative speed with respect to the tip 5 of the robot 1. Operate.
[0016]
FIG. 2 is a schematic diagram illustrating an example of a robot operation in the inter-robot coordinate transformation matrix setting method. In the figure, 5 is the tip of the robot 1, 6 is the tip of the robot 2, and Pi (i = 1, 2, 3) is an arbitrary reference position, and the target for matching the tip 5 of the robot 1 with the tip 6 of the robot 2. Position. Note that the line segments drawn from the respective reference positions downward in the drawing only indicate that the reference positions are spatial positions. Pc is the origin when the coordinate system is determined based on the data of three points, for example, the center position of the arc determined by the three points of Pi. Nc, Tc, and Vc are direction vectors indicating three orthogonal axes of the coordinate system. For example, Nc is a direction vector that passes through the arc center and is perpendicular to the arc plane, and Tc connects the arc centers Pc and Pi. The direction vector Vc is a direction vector orthogonal to Nc and Tc.
[0017]
FIG. 3 is a flowchart showing the arithmetic processing in the inter-robot coordinate transformation matrix setting method of this embodiment. First, in step 1, the robot 1 is driven by the control device 3 to position the tip 5 at an arbitrary reference position P 1. In step 2, the robot 2 is driven by the control device 4 and the tip 6 is moved to the tip 5 of the robot 1. In step 3, the position of the reference position P1 is read in each robot coordinate system, the position in the coordinate system of the robot 1 is PA1 (XA1, YA1, ZA1), and the position in the coordinate system of the robot 2 Is stored as PB1 (XB1, YB1, ZB1). Hereinafter, the subscript A is given to the coordinate data in the coordinate system of the robot 1, and the subscript B is given to the coordinate data in the coordinate system of the robot 2. With the above processing, the collection of the position data of the reference position P1 is completed.
[0018]
Next, returning to step 1, the tip 5 of the robot 1 and the tip 6 of the robot 2 are positioned at the reference position P2 by the same processing, and the position in the coordinate system of the robot 1 is set to PA2 (XA2, YA2, ZA2). The position of the robot 2 in the coordinate system is stored as PB2 (XB2, YB2, ZB2). Also, returning to step 1, the tip 5 of the robot 1 and the tip 6 of the robot 2 are positioned at the reference position P3 by the same processing, and the position in the coordinate system of the robot 1 is set to PA3 (XA3, YA3, ZA3), The position of the robot 2 in the coordinate system is stored as PB3 (XB3, YB3, ZB3).
[0019]
Next, in step 4, three reference positions P1, P2, and P3 obtained by the above three operations are obtained from the position data in the robot 1 coordinate system and the position data in the robot 2 coordinate system. PcA and PcB describing the center position of the arc when the positions P1, P2, and P3 are regarded as points on the arc in the respective coordinate systems, and the normal vector Nc of the plane given by the arc are described in the respective coordinate systems. NcA and NcB, TcA and TcB describing the direction vector Tc generated from the arc center Pc and the reference position P1 in each coordinate system, and the direction vector Vc orthogonal to the direction vector Tc in each coordinate system The obtained VcA and VcB are obtained by a known geometric operation.
[0020]
Next, in step 5, a unit coordinate system expressed by each robot coordinate system is calculated from vectors NcA and NcB, TcA and TcB, and VcA and VcB orthogonal to each other with PcA and PcB as the origin. A unit coordinate system matrix described in the coordinate system of the robot 1 is A M C and a unit coordinate system matrix described in the coordinate system of the robot 2 is B M C. Here, the unit coordinate system matrices A M C and B M C respectively give a transformation matrix from the coordinate system of the robot 1 and a transformation matrix from the coordinate system of the robot 2 with respect to the unit coordinate system, and from the unit coordinate system to the robot The transformation matrix for the coordinate system of 2 is ( B M C ) −1 . Therefore, in step 6, a transformation matrix A M B from the coordinate system of the robot 1 to the coordinate system of the robot 2 is obtained as A M C · ( B M C ) −1 . Using the above procedures as the coordinate transformation matrix A M B obtained by the arithmetic processing, the position coordinates, as viewed from the robot 1 can be converted into position coordinates viewed from the robot 2, facilitates the cooperative operation between the robot Can be realized. The above operations need only be performed once when the robot system is set up.
[0021]
Needless to say, the transformation matrix B M A from the robot 2 to the robot 1 is obtained as B M C · ( A M C ) −1 . In this embodiment, a unit coordinate system is set in which the center of the arc passing through the three points is the origin and the normal unit vector with respect to the arc plane and the direction vector passing through the reference position P1 are the coordinate axis direction vectors. It is not limited, and it goes without saying that it may be arbitrary as long as it is fixedly set based on the position data of the three points.
[0022]
The inter-robot coordinate transformation matrix correction method of the present invention will be described below. When the inter-robot coordinate transformation matrix is set, an artificial error occurs due to misalignment when positioning the tip 5 of the robot 1 and the tip 6 of the robot 2 at the same reference position.
[0023]
FIG. 4 is a schematic diagram showing the robot operation when the transformation matrix is corrected by the inter-robot coordinate transformation matrix correction method of the present invention. Note that the line segments drawn from the respective reference positions downward in the drawing only indicate that the reference positions are spatial positions. In Figure, P1, P2 and P3 are arbitrary reference position of the coordinate system setting time specified in the coordinate transformation matrix setting processing between the robot, P4 and P5 acquires correction data for correcting a seat Shimegihen換行column It is an arbitrary reference position designated for the purpose, and is a target when the tip 5 of the robot 1 and the tip 6 of the robot 2 are matched.
[0024]
FIG. 5 is a flowchart showing the operation and processing of the inter-robot coordinate transformation matrix correction method of the present invention. First, in step 1, the robot 1 is driven by the control device 3, and its tip 5 is positioned at an arbitrary reference position P4 other than the reference positions P1 to P3 set when the coordinate system is set. In step 2, the robot 2 is similarly driven by the control device 4, and its tip 6 is guided to the position of the tip 5 of the robot 1, and in step 3, the position of the reference position P4 is read by each robot coordinate system. The position of the robot 1 in the coordinate system is stored as PA4 (XA4, YA4, ZA4), and the position of the robot 2 in the coordinate system is stored as PB4 (XB4, YB4, ZB4). Next, returning to step 1, the tip 5 of the robot 1 is driven by the control device 3 to change the position, and is newly positioned at a reference position P5 other than P1 to P4. In step 2, the robot 2 is driven. Then, the tip 6 is guided to the position of the tip 5 of the robot 1, the position of the reference position P5 is read in each robot coordinate system in step 3, and the position in the coordinate system of the robot 1 is set to PA5 (XA5, YA5, ZA5). ), The position of the robot 2 in the coordinate system is stored as PB5 (XB5, YB5, ZB5).
[0025]
Next, the following calculation is performed using the position data of the five points of the reference positions P1, P2, P3 at the time of setting the coordinate conversion matrix between robots and the reference positions P4, P5 set this time. First, in step 4, using the coordinate transformation matrix between the correction target of the robot A M B, converts the position coordinates PBi expressed in the coordinate system of the robot 2 (i = 1~5) to the position coordinates of the robot 1, Let PBAi (i = 1 to 5). Next, in step 5, the position coordinates PBAi and PAi are each expressed as (X, Y, Z, 1) by adding 1 to the fourth element as a 4 × 1 matrix, and PBAi ′ = (XBAi, YBAi, ZBAi, 1). It should be equal to the otherwise if PBAi and PAi is an error in the transformation matrix A M B. On the other hand, if there is an error, the correction matrix Q is a 4 × 4 matrix that equalizes the values of PBAi and PAi (i = 1 to 5), that is, PAi ′ = Q · PBAi ′.
[0026]
[Expression 1]
Figure 0003632278
[0027]
You can ask for. In step 6, correction coefficients q11 to q34 in the correction matrix Q are obtained by the least square method calculation from the relationship between PAi ′ and PBAi at five points where i = 1 to 5. The correction matrix Q obtained in the process by multiplying the coordinate transformation matrix A M B between the robot, it is possible to obtain the Q · A M B and conversion error corrected by no coordinate transformation matrix.
[0028]
Although the present embodiment has been described with two robots, it goes without saying that the present invention can be applied to a plurality of robots larger than that.
[0029]
【The invention's effect】
As is clear from the above description, the inter-robot coordinate transformation matrix setting method of the present invention is a transformation matrix only by an operation of aligning the tips of a plurality of robots and reading the positions of the three points in space in the respective coordinate systems. Is calculated and set in the robot, so that a conversion matrix can be easily obtained and a cooperative operation can be easily realized.
[0030]
The inter-robot coordinate transformation matrix correction method of the present invention is such that the positions obtained by reading the positions in the respective coordinate systems for the positions of five points in space and applying the transformation matrix obtained by the above method are equal to each other. By obtaining the correction matrix in such a manner, the error when the transformation matrix is obtained can be corrected, and the cooperative operation can be performed with high accuracy.
[Brief description of the drawings]
FIG. 1 is a perspective view illustrating a configuration of a robot system including a plurality of robots. FIG. 2 is a schematic diagram illustrating an example of a robot operation in an inter-robot coordinate transformation matrix setting method according to the present invention. FIG. 4 is a schematic diagram showing a robot operation when correcting a transformation matrix by an inter-robot coordinate transformation correction method according to the present invention. FIG. 5 is an inter-robot coordinate transformation according to the present invention. Flowchart showing correction processing of matrix correction method [Explanation of symbols]
1, 2 Robot 3 Controller 1 of Robot 1 4 Controller 2 of Robot 2 5 Tip of Robot 1 6 Tip of Robot 2

Claims (2)

複数のロボットがそれぞれの制御装置によりそれぞれの座標系のもとに駆動制御されるロボットシステムにおいて、空間上の任意の3点を基準とする単位座標系を各ロボットの座標系とは別に独立して設定し、前記3点について各ロボットの先端を位置合わせするとともに各ロボットでそれぞれの座標系により位置を読み取り、先ず前記単位座標系に対する各ロボットの座標系からの座標変換行列を求め、次に前記各座標変換行列を基に各ロボット間のロボット間座標変換行列を求めて前記ロボットシステムに設定するロボット間座標変換行列設定方法In a robot system in which a plurality of robots are driven and controlled by respective control units based on their respective coordinate systems, a unit coordinate system based on any three points in space is independent of the coordinate system of each robot. And set the tip of each robot with respect to the three points and read the position with each robot by the respective coordinate system. First, obtain a coordinate transformation matrix from the coordinate system of each robot with respect to the unit coordinate system, and then An inter-robot coordinate transformation matrix setting method for obtaining an inter-robot coordinate transformation matrix between robots based on each coordinate transformation matrix and setting the inter-robot coordinate transformation matrix in the robot system. 複数のロボットがそれぞれの制御装置によりそれぞれの座標系のもとに駆動制御されるロボットシステムにおいて、空間上の任意の3点を基準とする単位座標系を各ロボットの座標系とは別に独立して設定し、前記3点について各ロボットの先端を位置合わせするとともに各ロボットでそれぞれの座標系により位置を読み取り、先ず前記単位座標系に対する各ロボットの座標系からの座標変換行列を求め、次に前記各座標変換行列を基に各ロボット間のロボット間座標変換行列を求め、前記3点以外の前記空間上の任意の2点を含めた5点の位置をそれぞれの座標系により読み取り、前記複数のロボットの内の任意1台の座標系で記述した前記5点の位置座標を、残り他の任意1台のロボットの座標系により記述した位置座標に等しくする行列を前記任意2台のロボット間の補正行列として求めるロボット間座標変換行列の補正方法In a robot system in which a plurality of robots are driven and controlled by respective control units based on their respective coordinate systems, a unit coordinate system based on any three points in space is independent of the coordinate system of each robot. And set the tip of each robot with respect to the three points and read the position with each robot by the respective coordinate system. First, obtain a coordinate transformation matrix from the coordinate system of each robot with respect to the unit coordinate system, and then An inter-robot coordinate transformation matrix between the robots is obtained based on each coordinate transformation matrix, and the positions of five points including any two points in the space other than the three points are read by respective coordinate systems, A line that makes the position coordinates of the five points described in any one coordinate system of the robots of the robots equal to the position coordinates described in the coordinate system of the other arbitrary one robot Correcting method of the robot between the coordinate transformation matrix to obtain the as a correction matrix between the arbitrary two robots.
JP03884296A 1996-01-31 1996-01-31 Inter-robot coordinate transformation matrix setting method and correction method Expired - Fee Related JP3632278B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03884296A JP3632278B2 (en) 1996-01-31 1996-01-31 Inter-robot coordinate transformation matrix setting method and correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03884296A JP3632278B2 (en) 1996-01-31 1996-01-31 Inter-robot coordinate transformation matrix setting method and correction method

Publications (2)

Publication Number Publication Date
JPH09207088A JPH09207088A (en) 1997-08-12
JP3632278B2 true JP3632278B2 (en) 2005-03-23

Family

ID=12536463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03884296A Expired - Fee Related JP3632278B2 (en) 1996-01-31 1996-01-31 Inter-robot coordinate transformation matrix setting method and correction method

Country Status (1)

Country Link
JP (1) JP3632278B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014176944A (en) * 2013-03-15 2014-09-25 Yaskawa Electric Corp Robot system, calibration method and method for manufacturing workpiece

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3577028B2 (en) 2001-11-07 2004-10-13 川崎重工業株式会社 Robot cooperative control system
JP2006346756A (en) * 2005-06-13 2006-12-28 Kuka Roboter Gmbh Method for controlling robot and its system
JP2008254097A (en) * 2007-04-03 2008-10-23 Denso Wave Inc Relative position calculating method between plurality of robots
US9517556B2 (en) 2012-06-29 2016-12-13 Mitsubishi Electric Corporation Robot control apparatus and robot control method
JP6010776B2 (en) 2013-03-19 2016-10-19 パナソニックIpマネジメント株式会社 Robot system control method and robot system
GB201509341D0 (en) 2015-05-29 2015-07-15 Cambridge Medical Robotics Ltd Characterising robot environments
JP6484213B2 (en) 2016-12-09 2019-03-13 ファナック株式会社 Robot system including a plurality of robots, robot control apparatus, and robot control method
CN110815177B (en) * 2019-10-29 2022-08-16 中科新松有限公司 Migration method for 2D visual guidance teaching of composite robot
CN113021348B (en) * 2021-03-23 2021-10-15 深圳群宾精密工业有限公司 Method applied to point position high-precision conversion among different robots
CN116117810B (en) * 2023-01-10 2023-12-29 群滨智造科技(苏州)有限公司 Method and device for secondary calibration after data conversion among different robots

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014176944A (en) * 2013-03-15 2014-09-25 Yaskawa Electric Corp Robot system, calibration method and method for manufacturing workpiece
EP2783807A2 (en) 2013-03-15 2014-10-01 Kabushiki Kaisha Yaskawa Denki Robot system, calibration method, and method for producing to-be-processed material
US9156160B2 (en) 2013-03-15 2015-10-13 Kabushiki Kaisha Yaskawa Denki Robot system, calibration method, and method for producing to-be-processed material

Also Published As

Publication number Publication date
JPH09207088A (en) 1997-08-12

Similar Documents

Publication Publication Date Title
JP3632278B2 (en) Inter-robot coordinate transformation matrix setting method and correction method
KR100262382B1 (en) Method and apparatus for velosity calculation of robot
US4547858A (en) Dynamic control for manipulator
WO2014148032A1 (en) Robot system control method and robot system
US20180015614A1 (en) Robot shakes automatically adjusting device and method of automatically adjusting shakes of robot
JPS61109109A (en) Positioning method for planar multi-joint type robot
WO1992012473A1 (en) Method of correcting deflection of robot
JPH02160487A (en) Correction of manual feeding of robot
JP2017061022A (en) Controller of robot
JPH0768480A (en) Method for controlling articular angle of manipulator
US11878423B2 (en) Robot system
CN116423526A (en) Automatic calibration method and system for mechanical arm tool coordinates and storage medium
JP2002018750A (en) Method and device for calibration of robot
JPS60263206A (en) Control device of manipulator
JPH01205880A (en) Weaving control system
JPH1133952A (en) Method for controlling robot, and method for correcting position and attitude of robot and held object
JP2006159361A (en) Robot controlling device and robot controlling method
JP2656180B2 (en) Tool tip position adjustment method
CN116512278B (en) Mechanical arm tail end linear motion control method and system based on virtual target point
JPH07271441A (en) Motor controller
JP2649463B2 (en) Method of teaching an industrial robot having a rotating external axis and teaching device used therefor
JPH11198072A (en) Minimum time speed controller for robot
JPH07334228A (en) Teaching data corrector for robot
JPH09128026A (en) Robot operating program conversion system and executing device therefor
JP2778285B2 (en) Copying sensor robot system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040224

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20040412

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040907

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041102

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041130

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041213

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080107

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090107

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100107

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120107

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130107

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130107

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees