JP2682977B2 - Robot control method and device - Google Patents

Robot control method and device

Info

Publication number
JP2682977B2
JP2682977B2 JP7337129A JP33712995A JP2682977B2 JP 2682977 B2 JP2682977 B2 JP 2682977B2 JP 7337129 A JP7337129 A JP 7337129A JP 33712995 A JP33712995 A JP 33712995A JP 2682977 B2 JP2682977 B2 JP 2682977B2
Authority
JP
Japan
Prior art keywords
robot
calculated
axis
coordinate system
wrist
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
JP7337129A
Other languages
Japanese (ja)
Other versions
JPH09174470A (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.)
Kawasaki Motors Ltd
Original Assignee
Kawasaki Jukogyo KK
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 Kawasaki Jukogyo KK filed Critical Kawasaki Jukogyo KK
Priority to JP7337129A priority Critical patent/JP2682977B2/en
Publication of JPH09174470A publication Critical patent/JPH09174470A/en
Application granted granted Critical
Publication of JP2682977B2 publication Critical patent/JP2682977B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)
  • Control Of Position Or Direction (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、産業用ロボット、
特に、外力の影響を受けてコンプライアンス動作を行わ
せるためのロボットの制御方法および装置に関する。
TECHNICAL FIELD The present invention relates to an industrial robot,
In particular, the present invention relates to a robot control method and apparatus for performing a compliance operation under the influence of an external force.

【0002】[0002]

【従来の技術】従来から、産業用ロボットでは、高速度
かつ高精度での位置制御の実現を目的として、位置剛性
を高めるような制御が行われている。このような位置剛
性が高い状態のロボットでは、外力が加わるときに、そ
の外力に反抗して予め定めた指令位置を保持しようとす
る。たとえば、部品間のはめ合いを伴う組み立て作業を
位置剛性が高い産業用ロボットを使って行おうとする場
合、一方の部品の位置を少し変えれば容易に組み立てが
可能なときでも、そのような柔軟性のある動作を行うこ
とができない。
2. Description of the Related Art Conventionally, industrial robots have been subjected to control for increasing position rigidity in order to realize position control at high speed and with high accuracy. In such a robot having a high position rigidity, when an external force is applied, the robot tries to maintain a predetermined command position by repulsing the external force. For example, if an industrial robot with high positional rigidity is used to perform assembly work that involves fitting parts together, even if assembly can be done easily by slightly changing the position of one of the parts, such flexibility Cannot perform certain actions.

【0003】ロボットに外力が加わる場合に、位置剛性
を緩和し、予め定める一定の方向への逃げ追従動作を可
能とするような制御方法は、コンプライアンス動作とし
て実現されている。コンプライアンス動作についての先
行技術の1つは、たとえば特開昭58−45891に開
示されている。この先行技術では、ロボットの手首に、
専用のコンプライアンスツールを装着し、その弾力性を
利用して2つの部品を、よじれを生じることなく円滑に
嵌め合わせる動作を達成することができる。
A control method that alleviates the positional rigidity when the external force is applied to the robot and enables the escape follow-up operation in a predetermined fixed direction is realized as a compliance operation. One of the prior arts concerning the compliance operation is disclosed in, for example, JP-A-58-45891. In this prior art, on the wrist of the robot,
A dedicated compliance tool can be attached, and its elasticity can be used to achieve the operation of smoothly fitting the two parts together without causing kinking.

【0004】他の先行技術は、たとえば特開昭63−1
39678に開示されている。この先行技術では、ロボ
ットのハンドに把持された一方の部品による他方の組立
部品への接触力を力センサで検出し、その力センサから
の出力によってコンプライアンス動作を達成する。さら
に他の先行技術は、たとえば特開昭60−132213
に開示されている。この先行技術では、ロボットの制御
系のパラメータを調整することによって、装置の見掛け
のスチフネスを変えるようにプログラム制御する。
Another prior art is disclosed in, for example, JP-A-63-1.
39678. In this prior art, the force sensor detects the contact force of one component gripped by the hand of the robot with the other assembly component, and the compliance operation is achieved by the output from the force sensor. Still another prior art is, for example, Japanese Patent Laid-Open No. 60-132213.
Is disclosed. In this prior art, program control is performed to change the apparent stiffness of the device by adjusting parameters of a control system of the robot.

【0005】[0005]

【発明が解決しようとする課題】特開昭58−4589
1の先行技術のように専用のコンプライアンスツールを
装着したり、特開昭63−139678の先行技術のよ
うに力センサによる接触力の検出に基づいてコンプライ
アンス動作を達成する構成では、ロボット本来の構成に
新たな構成を付加する必要があり、ロボットとしての汎
用性を損なう。
Problems to be Solved by the Invention JP-A-58-4589
In a configuration in which a dedicated compliance tool is mounted as in the prior art 1 or a compliance operation is achieved based on detection of a contact force by a force sensor as in the prior art in JP-A-63-139678, the original configuration of the robot is used. It is necessary to add a new configuration to the robot, which impairs versatility as a robot.

【0006】特開昭60−132213の先行技術のよ
うに、ロボットの制御系のパラメータを調整してコンプ
ライアンス動作を実現する手法では、外力を正確に検出
してコンプライアンス動作を行わせることはできず、し
たがって制御系の中に力制御系を組込むことは困難であ
る。しかも、あくまでも外力による受動的な動作であ
り、ロボットの機能を能動的に利用して動作させること
はできない。
In the technique of adjusting the parameters of the robot control system to realize the compliance operation as in the prior art of Japanese Patent Application Laid-Open No. Sho 60-132213, the compliance operation cannot be performed by accurately detecting the external force. Therefore, it is difficult to incorporate a force control system into the control system. Moreover, this is a passive operation due to external force, and cannot be operated by actively utilizing the functions of the robot.

【0007】本発明の目的は、ロボットの本来の構成を
有効に利用してコンプライアンス動作を行わせることが
可能で、しかもコンプライアンス動作中も外力とは別の
能動的な動作を行わせることができるロボットの制御方
法および装置を提供することである。
An object of the present invention is to make it possible to perform a compliance operation by effectively utilizing the original configuration of the robot, and also to perform an active operation different from an external force during the compliance operation. A robot control method and apparatus are provided.

【0008】[0008]

【課題を解決するための手段】本発明は、予め指定され
るロボットの手首の動作目標位置Pe および単位処理段
階当たりの移動幅wに従うロボットの制御方法であっ
て、コンプライアンス動作開始直前に、手首に装着され
たツールの初期姿勢Sおよび手首の初期位置Ps を算出
し、ロボットのベース座標系から見た移動ベクトルを、
動作目標位置Pe および初期位置Ps から算出し、ベー
ス座標系で予め定める方向を、算出された移動ベクトル
に平行とするような変換行列Qを算出しておき、コンプ
ライアンス動作中のロボットの各軸角度θ1 を検出し、
各軸角度θ1 から手首の現在位置Pr を算出し、現在位
置Pr に変換行列Qを掛けて、Q座標系での位置qPr=
Q・Pr を算出する段階と、位置qPrの前記予め定める
方向の成分に前記移動幅wを加算した位置qPr’を算出
し、ベース座標系での手首位置Pr'=Q-1qPr’と初
期姿勢Sとに基づく姿勢行列を含む位置指令値Tを算出
する段階と、位置指令値Tを逆変換し、各軸指令値を算
出した後、各軸を駆動する段階とをロボットの手首が動
作目標位置Pe に到達するまで繰返すことを特徴とする
ロボットの制御方法である。 本発明に従えば、コンプライアンス動作によって外力に
沿った動きを行うロボットのコンプライアンス動作開始
直前に、ロボットの動作指定軸に装着されたツールの初
期姿勢Sおよび初期位置Ps が算出される。また、ロボ
ットのベース座標系から見た移動ベクトルを、予め指定
される動作目標位置Pe および初期位置Ps から算出
し、ベース座標系で予め定める方向を、算出された移動
ベクトルに平行とするような変換行列Qを算出してお
く。コンプライアンス動作中は、ロボットの各軸角度θ
1 が検出され、各軸角度θ1 から手首の現在位置Pr を
算出し、現在位置Pr に変換行列Qを掛けて、Q座標系
での位置qPr=Q・Pr を算出する。Q座標系で、位置
qPrの予め定める移動方向の成分のみに移動幅wを加算
したQ座標系での位置qPr’に対応するベース座標系で
の手首の移動位置は、Pr'=Q-1qPr’として算出さ
れる。移動位置qPr’および初期姿勢Sに基づいて、コ
ンプライアンス動作を可能とする位置指令値Tが算出さ
れる。位置指令値Tを逆変換し、各軸指令値を算出する
ことによって、予め定める方向に能動的に動作させなが
ら、コンプライアンス動作が可能となる。
SUMMARY OF THE INVENTION The present invention is a method of controlling a robot according to a movement target position Pe of a wrist of a robot designated in advance and a movement width w per unit processing step. The initial posture S of the tool attached to the robot and the initial position Ps of the wrist are calculated, and the movement vector seen from the base coordinate system of the robot is
A transformation matrix Q that is calculated from the motion target position Pe and the initial position Ps and that makes a direction predetermined in the base coordinate system parallel to the calculated movement vector is calculated, and each axis angle of the robot during the compliance motion is calculated. θ1 is detected,
The current position Pr of the wrist is calculated from each axis angle θ1, the current position Pr is multiplied by the conversion matrix Q, and the position q Pr in the Q coordinate system =
The step of calculating Q · Pr and the position q Pr ′ in which the movement width w is added to the component of the position q Pr in the predetermined direction are calculated, and the wrist position Pr ′ = Q −1 · q in the base coordinate system. The robot includes a step of calculating a position command value T including an attitude matrix based on Pr ′ and an initial attitude S, and a step of inversely converting the position command value T to calculate each axis command value and then driving each axis. Is repeated until the wrist of the robot reaches the operation target position Pe. According to the present invention, the initial posture S and the initial position Ps of the tool attached to the operation designated axis of the robot are calculated immediately before the compliance operation of the robot that moves along the external force by the compliance operation is started. Further, the movement vector viewed from the base coordinate system of the robot is calculated from the previously designated motion target position Pe and the initial position Ps, and the direction predetermined in the base coordinate system is made parallel to the calculated movement vector. The conversion matrix Q is calculated in advance. Each axis angle of the robot during compliance operation θ
1 is detected, the current position Pr of the wrist is calculated from each axis angle θ1, the current position Pr is multiplied by the conversion matrix Q, and the position q Pr = Q · Pr in the Q coordinate system is calculated. Position in Q coordinate system
position q Pr in Q coordinate system the movement width w only to a component of the moving direction predetermined by adding the q Pr 'movement position of the wrist in the base coordinate system corresponding to the, Pr' = Q -1 · q Pr ' Is calculated as A position command value T that enables the compliance operation is calculated based on the moving position q Pr ′ and the initial attitude S. By inversely converting the position command value T and calculating each axis command value, it is possible to perform the compliance operation while actively operating in a predetermined direction.

【0009】また本発明でコンプライアンス動作時の軸
ゲイン値は、任意に設定可能であることを特徴とする。 本発明に従えば、コンプライアンス動作時の軸ゲイン値
が任意に指定可能であるので、ゲインを小さくしてコン
プライアンスを大きくしたり、ゲインを大きくしてスチ
フネスを大きくしたりして、コンプライアンス度の調整
が可能となる。
Further, according to the present invention, the axis gain value during the compliance operation can be arbitrarily set. According to the present invention, since the axis gain value during the compliance operation can be arbitrarily specified, the compliance can be adjusted by reducing the gain to increase the compliance or increasing the gain to increase the stiffness. Becomes possible.

【0010】また本発明で、コンプライアンス動作中の
移動は、検出した各軸角度θ1 が予め定める動作制限角
度を超えるとき、またはベース座標系およびツール座標
系での移動量が予め定める移動範囲を超えるときに制限
されることを特徴とする。 本発明に従えば、コンプライアンス動作中の移動範囲
は、各軸角度θ1 、またはベース座標系でのxyz方
向,ツール座標系でのxyz方向の移動量として設定す
ることができる。移動量が予め設定される移動範囲を超
えると、移動が制限されるので、ロボットに備えられて
いる安全機能をコンプライアンス動作中も活用すること
ができる。
Further, according to the present invention, the movement during the compliance movement is such that the detected axis angle θ1 exceeds a predetermined movement limit angle, or the movement amount in the base coordinate system and the tool coordinate system exceeds the predetermined movement range. Characterized by being sometimes restricted. According to the present invention, the movement range during the compliance operation can be set as each axis angle θ1, or the movement amount in the xyz direction in the base coordinate system and the xyz direction in the tool coordinate system. If the movement amount exceeds the preset movement range, the movement is restricted, so that the safety function provided in the robot can be utilized even during the compliance operation.

【0011】また本発明は、コンプライアンス動作中に
重力補償演算を行い、演算結果を各軸のトルク指令値に
加算することを特徴とする。 本発明に従えば、コンプライアンス動作中に重力補償演
算を行って、演算結果を各軸のトルク指令値に加算する
ので、コンプライアンス動作中にロボットの各軸の姿勢
が変化しても、その姿勢に対応した重力補償を正確に行
うことが可能になる。重力補償のために制御系に積分器
を用いる必要がなくなるので、コンプライアンス制御と
通常制御との切換えの際に急激な動作を行う可能性を解
消させることができる。
Further, the present invention is characterized in that gravity compensation calculation is performed during the compliance operation, and the calculation result is added to the torque command value of each axis. According to the present invention, the gravity compensation calculation is performed during the compliance operation, and the calculation result is added to the torque command value of each axis. Therefore, even if the posture of each axis of the robot changes during the compliance operation, the posture is not changed. The corresponding gravity compensation can be accurately performed. Since it is not necessary to use an integrator in the control system for gravity compensation, it is possible to eliminate the possibility of performing a sudden operation when switching between compliance control and normal control.

【0012】さらに本発明は、ロボットの手首にツール
が装着され、駆動源によって駆動されるロボットの各軸
角度θ1 を軸角度検出手段によって検出し、検出した軸
角度θ1 と軸角度の指令値との偏差が零になるように駆
動源を負帰還制御するロボットの制御装置において、コ
ンプライアンス動作開始直前に、ツールの初期姿勢Sお
よび初期位置Ps を算出し、ロボットのベース座標系か
ら見た移動ベクトルを、動作目標位置Pe および初期位
置Ps から算出し、ベース座標系で予め定める方向を、
算出された移動ベクトルに平行とするような変換行列Q
を算出する第1演算手段と、コンプライアンス動作中の
ロボットの各軸角度θ1 を検出し、各軸角度θ1 から手
首の現在位置Pr を算出し、現在位置Pr に変換行列Q
を掛けて、Q座標系での位置qPr=Q・Pr を算出する
第2演算手段と、第2演算手段からの位置qPrの予め指
定される方向の成分に、予め指定される移動幅wを加算
した位置qPr’を算出し、ベース座標系での手首位置P
r'=Q-1qPr’と初期姿勢Sとに基づく姿勢行列を含
む位置指令値Tを算出する第3演算手段と、第3演算手
段の出力に応答し、位置指令値Tに基づく前記駆動源の
負帰還制御を、ロボットの手首が動作目標位置Pe に到
達するまで行う第4演算手段とを含むことを特徴とする
ロボットの制御装置である。 本発明に従えば、第1演算手段によってコンプライアン
ス動作開始直前に、ツールの初期姿勢S、初期位置Ps
、および変換行列Qが算出される。第2演算手段は、
コンプライアンス動作中のロボットの各軸角度θ1 を検
出し、Q座標系で予め定める移動方向のみに移動幅wを
加算し、対応するベース座標系の移動位置Pr'を算出
し、初期姿勢Sに基づく姿勢行列を含む位置指令値Tを
算出する。第3演算手段は、第2演算手段からの位置指
令値Tを逆変換し、各軸指令値を算出後、各軸を駆動す
る。第4演算手段は、第3演算手段の出力に応答し、位
置指令値Tに含まれる軸角度の指定値と、軸角度検出手
段によって検出される軸角度θ1 とを偏差が零になるよ
うに駆動源を負帰還制御する。第4演算手段の負帰還制
御によって、外力に沿ったコンプライアンス動作を行い
ながら、予め定める移動方向についての能動的な作業を
行うことができる。
Further, according to the present invention, a tool is mounted on the wrist of the robot, and each axis angle θ1 of the robot driven by the drive source is detected by the axis angle detecting means, and the detected axis angle θ1 and the command value of the axis angle are detected. In the robot controller that controls the drive source in a negative feedback manner so that the deviation becomes zero, the initial attitude S and the initial position Ps of the tool are calculated immediately before the start of the compliance operation, and the movement vector viewed from the base coordinate system of the robot is calculated. From the operation target position Pe and the initial position Ps, and a direction predetermined in the base coordinate system is calculated as
Transformation matrix Q that is parallel to the calculated movement vector
Detecting each axis angle θ1 of the robot during compliance operation, calculating the current position Pr of the wrist from each axis angle θ1, and converting the current position Pr into the conversion matrix Q.
And a second calculation means for calculating a position q Pr = Q · Pr in the Q coordinate system, and a movement width specified in advance by a component of the position q Pr from the second calculation means in a predetermined direction. The position q Pr 'is calculated by adding w, and the wrist position P in the base coordinate system is calculated.
Third computing means for calculating a position command value T including a posture matrix based on r ′ = Q −1 · q Pr ′ and the initial posture S, and based on the position command value T in response to the output of the third computing means. A controller for a robot, comprising: a fourth calculation means for performing the negative feedback control of the drive source until the wrist of the robot reaches the operation target position Pe. According to the present invention, the initial posture S and the initial position Ps of the tool are set by the first computing means immediately before the start of the compliance operation.
, And the transformation matrix Q are calculated. The second calculation means is
Each axis angle θ1 of the robot in compliance operation is detected, and the moving width w is added only to the predetermined moving direction in the Q coordinate system to calculate the corresponding moving position Pr ′ in the base coordinate system, based on the initial posture S. The position command value T including the attitude matrix is calculated. The third calculation means inversely transforms the position command value T from the second calculation means, calculates each axis command value, and then drives each axis. The fourth calculating means responds to the output of the third calculating means so that the deviation between the designated value of the shaft angle included in the position command value T and the shaft angle θ1 detected by the shaft angle detecting means becomes zero. Negative feedback control of the drive source. By the negative feedback control of the fourth calculating means, it is possible to perform an active work in a predetermined moving direction while performing a compliance operation along an external force.

【0013】[0013]

【発明の実施の形態】図1は、本発明の実施の一形態に
用いる産業用のロボット1の構成を示す。この産業用の
ロボット1は、先端のハンド2を用いて部品3をワーク
4に挿入する作業を自動的に行う。ロボット1は、床面
5に設置されるベース6上のアーム7およびアーム8を
有し、アーム8の先端のフランジ9には、ツール装着用
アーム部10が接続される。ベース6は、床面5に垂直
な第1軸11まわりに角変位可能である。アーム7およ
びアーム8は、ベース6およびアーム7に対して、床面
5に平行な第2軸12および第3軸13まわりにそれぞ
れ角変位可能である。ツール装着用アーム部10は、ア
ーム8の中心を通る第4軸14まわりに角変位可能であ
る。ツール装着用アーム部10は、第5軸15および第
6軸16まわりに各変位可能な回転関節を有し、これら
によって連結されるアーム17,18,19を有する。
アーム19内には歯車機構が設けられ、第6軸16と平
行な軸線2aの延長上に手先であるハンド2が装着さ
れ、部品3を把持することができる。ハンド2によって
把持された部品3は、作業台20上に保持されるワーク
4に設けられる穴21に挿入され、嵌め合わされる。
1 shows the configuration of an industrial robot 1 used in an embodiment of the present invention. The industrial robot 1 automatically inserts the component 3 into the work 4 by using the hand 2 at the tip. The robot 1 has an arm 7 and an arm 8 on a base 6 installed on the floor surface 5, and a tool mounting arm portion 10 is connected to a flange 9 at the tip of the arm 8. The base 6 can be angularly displaced around a first axis 11 that is perpendicular to the floor surface 5. The arm 7 and the arm 8 can be angularly displaced with respect to the base 6 and the arm 7 around a second axis 12 and a third axis 13 which are parallel to the floor surface 5, respectively. The tool mounting arm unit 10 can be angularly displaced around a fourth axis 14 passing through the center of the arm 8. The tool mounting arm portion 10 has rotary joints that are displaceable around the fifth shaft 15 and the sixth shaft 16, and has arms 17, 18, and 19 connected by these joints.
A gear mechanism is provided in the arm 19, and the hand 2, which is a fingertip, is mounted on the extension of the axis 2a parallel to the sixth shaft 16, and the component 3 can be gripped. The component 3 gripped by the hand 2 is inserted into and fitted into a hole 21 provided in the work 4 held on the work table 20.

【0014】図2は、部品3をワーク4の穴21に挿入
する過程を示す。なお、説明の便宜上、ハンド2は図示
を省略する。図2(1)では、部品3を穴21に接近さ
せる状態を示す。図2(2)では、部品3と穴21とが
偏心しているので、部品3の先端が穴21の斜面に接触
し、反力によるコンプライアンス動作に従って、挿入方
向とは異なる偏心を矯正する方向に移動する状態を示
す。図2(3)では、穴21の斜面で部品3の先端が案
内され、ワーク4の穴21内に正しく挿入されている状
態を示す。部品3とワーク4の当接面では、部品3の挿
入による押付力と反力とがつり合う位置で停止する。
FIG. 2 shows a process of inserting the component 3 into the hole 21 of the work 4. For convenience of description, the hand 2 is not shown. FIG. 2A shows a state in which the component 3 is brought close to the hole 21. In FIG. 2 (2), since the component 3 and the hole 21 are eccentric, the tip of the component 3 contacts the slope of the hole 21, and the eccentricity different from the insertion direction is corrected in accordance with the compliance operation by the reaction force. Indicates a moving state. FIG. 2C shows a state where the tip of the component 3 is guided by the slope of the hole 21 and is correctly inserted into the hole 21 of the work 4. At the contact surface between the component 3 and the work 4, the pressing force and the reaction force due to the insertion of the component 3 stop at a position where they balance each other.

【0015】図3は、ロボット1を位置制御動作および
コンプライアンス動作させるための制御系の構成を簡略
化して示す。ロボット1の各軸毎の制御回路22には、
サーボ制御回路23が接続され、さらにホスト制御回路
24が接続される。各軸毎の制御回路22は、第1〜第
6軸11〜16毎に設けられ、それらは類似の構成を有
しているので、代表として1つの制御回路22について
の説明を行う。各軸を角変位駆動する駆動源であるサー
ボモータ25には、ベースアンプと呼ぶことができる増
幅回路26から、駆動電流が与えられ、これによってサ
ーボモータ25が対応する各軸を駆動する。各軸の回転
角はエンコーダ27によって検出される。
FIG. 3 shows a simplified structure of a control system for performing the position control operation and the compliance operation of the robot 1. In the control circuit 22 for each axis of the robot 1,
The servo control circuit 23 is connected, and further the host control circuit 24 is connected. The control circuit 22 for each axis is provided for each of the first to sixth axes 11 to 16 and has a similar configuration. Therefore, one control circuit 22 will be described as a representative. A drive current is supplied to a servo motor 25, which is a drive source that drives each axis by angular displacement, from an amplifier circuit 26 that can be called a base amplifier, and the servo motor 25 drives each corresponding axis. The rotation angle of each axis is detected by the encoder 27.

【0016】図4はサーボ制御回路23の具体的な電気
的構成を示す。ホスト制御回路24からライン28を介
して各軸毎の位置指令値が減算手段29の一方の入力に
与えられる。エンコーダ27からの各軸の回転角を表す
信号は、ライン30から、減算手段29の他方の入力に
与えられる。減算手段29の出力は、係数器31に与え
られ、ここで位置ゲインKpで増幅され、加算手段32
に与えられる。位置ゲインKpを0または0に近い値に
すれば、コンプライアンス動作を行わせることができ
る。エンコーダ27の出力はまた、微分回路33で微分
され、係数器34で速度ゲインKvで増幅され、加算手
段32に与えられる。加算手段32の出力は、積分器3
5に与えられ、積分演算が行われる。積分器35のゲイ
ンG1は、次の第1式で示される。
FIG. 4 shows a specific electrical configuration of the servo control circuit 23. A position command value for each axis is given to one input of the subtraction means 29 from the host control circuit 24 via a line 28. The signal representing the rotation angle of each axis from the encoder 27 is given from the line 30 to the other input of the subtraction means 29. The output of the subtracting means 29 is given to the coefficient unit 31, where it is amplified by the position gain Kp and added by the adding means 32.
Given to. By setting the position gain Kp to 0 or a value close to 0, the compliance operation can be performed. The output of the encoder 27 is also differentiated by a differentiating circuit 33, amplified by a coefficient gain 34 by a speed gain Kv, and given to an adding means 32. The output of the adding means 32 is the integrator 3
5 and the integral calculation is performed. The gain G1 of the integrator 35 is represented by the following first equation.

【0017】[0017]

【数1】 (Equation 1)

【0018】ここでKxは定数であり、sは演算子であ
る。積分器35の出力は位相補償器36に与えられて位
相制御動作時に位相補償の演算が行われ、このゲインG
2は、次の第2式で示される。
Here, Kx is a constant and s is an operator. The output of the integrator 35 is applied to a phase compensator 36, which performs a phase compensation operation during the phase control operation.
2 is expressed by the following second equation.

【0019】[0019]

【数2】 (Equation 2)

【0020】ここでαは定数である。位相補償器36の
出力は、もう1つの加算手段37に与えられる。加算手
段37には、エンコーダ27の出力に応答する重力補償
演算回路38からの出力がライン38aを介して与えら
れて加算され、その加算出力はライン39から各軸のト
ルク指令値として制御回路22の増幅回路26に入力さ
れる。重力補償を行うことによって、コンプライアンス
動作時は積分器35の機能を停止させても、ロボットの
各アームなどが落下するのを防ぐことができる。積分器
35の機能を停止させることによって、コンプライアン
ス動作と通常動作とを切換えるときに、アームに予期し
ない急激な運動を生じさせるおそれを解消することがで
きる。
Where α is a constant. The output of the phase compensator 36 is provided to another adding means 37. The output from the gravity compensation calculation circuit 38 responsive to the output of the encoder 27 is given to the addition means 37 via a line 38 a and added, and the added output is supplied as a torque command value for each axis from the line 39 to the control circuit 22. Are input to the amplifier circuit 26. By performing gravity compensation, even if the function of the integrator 35 is stopped during the compliance operation, it is possible to prevent each arm of the robot from falling. By stopping the function of the integrator 35, it is possible to eliminate the risk of causing an unexpected and sudden movement of the arm when switching between the compliance operation and the normal operation.

【0021】図5は、制御回路22の構成および動作を
示す。ライン39を介するサーボ制御回路23からの各
軸のトルク指令値を表す信号は、ライン39を経て増幅
回路26に与えられ、これによってサーボモータ25が
駆動される。モータ25の負荷であるアームには、参照
符41で示されるように重力が作用する。したがってモ
ータ25によって駆動されるアームなどの負荷には、重
力41による影響が加わる。その重力41による影響
は、等価的に減算手段42による引き算として表される
けれども、重力補償演算回路38の出力によってキャン
セルするように補償され、アームなどの移動が行われ
る。アームなどの慣性力43の角加速度は、積分手段4
4によって積分されることによって、角速度が求められ
る。さらに積分手段45によってその角速度を積分する
ことによって、アームなどの回転角が求められる。この
回転角は、エンコーダ27によって前述のように検出さ
れる。
FIG. 5 shows the configuration and operation of the control circuit 22. A signal indicating the torque command value of each axis from the servo control circuit 23 via the line 39 is given to the amplifier circuit 26 via the line 39, and the servo motor 25 is driven. Gravity acts on the arm, which is the load of the motor 25, as indicated by reference numeral 41. Therefore, a load such as an arm driven by the motor 25 is affected by the gravity 41. The influence of the gravity 41 is equivalently expressed as a subtraction by the subtraction means 42, but is compensated so as to be canceled by the output of the gravity compensation calculation circuit 38, and the arm or the like is moved. The angular acceleration of the inertia force 43 of the arm or the like is calculated by the integrating means 4
The angular velocity is obtained by integrating by 4. Further, by integrating the angular velocity by the integrating means 45, the rotation angle of the arm or the like is obtained. This rotation angle is detected by the encoder 27 as described above.

【0022】次に、ベース座標系でのz軸方向に移動幅
wで移動させながら、コンプライアンス動作をさせる原
理を説明する。コンプライアンス動作を開始したときの
ツール座標系の原点位置をtPΣt(θ0)とする。ロボ
ットに外力が加わったとき、ツール座標系の原点位置が
tPΣt(θ1)に移動したとすると、次の第3式が得ら
れる。なお、括弧の右肩の「T」は、転置記号を示す。
Next, the principle of performing the compliance operation while moving in the z-axis direction in the base coordinate system with the movement width w will be described. The origin position of the tool coordinate system when the compliance operation is started is tPΣt (θ0). When an external force is applied to the robot, the origin position of the tool coordinate system
If it moves to tPΣt (θ1), the following third equation is obtained. In addition, "T" of the right shoulder of a parenthesis shows a transposition symbol.

【0023】 tPΣt(θ1)=(dtPΣt.xtPΣt.ytPΣt.zT …(3) このとき、移動方向がベースz方向なので変換行列Qに
よる座標変換は省略するが、tPΣtを変更することによ
って、z軸方向にのみ移動するようにする。x,y軸成
分の位置指令値は零とし、z軸成分の位置指令値に外力
により移動したz軸成分を与えると、次の第4式が得ら
れる。
Tt (θ1) = (d ttx d tty d ttz ) T (3) At this time, since the moving direction is the base z direction, coordinate conversion by the conversion matrix Q is omitted. By changing tt , it is moved only in the z-axis direction. When the position command values of the x and y axis components are set to zero and the z axis component moved by an external force is given to the position command value of the z axis component, the following formula (4) is obtained.

【0024】 tPΣt.com = (0 0 dtPΣt.z+w)T …(4) 姿勢の指令値は、コンプライアンス動作開始時の初期姿
勢の値を与える。この位置と姿勢の指令値を逆変換する
ことにより、各軸の角度指令値θcom を求めることがで
きる。この角度指令値をサーボモータ25のための制御
回路22に指令することによりz軸方向へのみツール座
標系の原点が移動し、その姿勢を維持することができ
る。
Tt.com = (0 0 d ttz + w) T (4) The posture command value gives the value of the initial posture at the start of the compliance operation. By inverting the position and orientation command values, the angle command value θ com of each axis can be obtained. By issuing this angle command value to the control circuit 22 for the servomotor 25, the origin of the tool coordinate system can be moved only in the z-axis direction, and its posture can be maintained.

【0025】図6は、より一般的な場合についての本実
施形態によるコンプライアンス動作を示す。ステップa
1から動作を開始し、ステップa2に移って各軸角度θ
0 を検出する。ステップa3では、第5式および第6式
にそれぞれ示すツール初期位置Ps およびツール初期姿
勢Sを検出し、第7式に示すようなR行列を求める。
FIG. 6 shows a compliance operation according to this embodiment for a more general case. Step a
The operation starts from 1 and moves to step a2 where each axis angle θ
Detects 0. In step a3, the tool initial position Ps and the tool initial attitude S shown in the fifth and sixth equations are detected, and the R matrix as shown in the seventh equation is obtained.

【0026】[0026]

【数3】 (Equation 3)

【0027】ステップa4では、本件ロボット1の各制
御回路22,23,24への重力補償を開始する。ま
た、これらの制御回路22,23,24の係数器31,
34および増幅回路などのゲインを小さく変更して設定
する。たとえばツール10が装着される第6軸16の位
置ゲインKpおよび速度ゲインKvを、小さく設定し、
また積分器35のゲインKi を零とし、この積分器35
の内容を零にクリアし、さらに位相補償器36の機能を
停止する。換言すると、減算手段32の出力をそのまま
加算手段37に与えたときの状態とする。ステップa5
では、各軸移動範囲を設定する。ステップa6では、直
線動作時の移動範囲を設定する。ステップa7では、移
動幅wを指定する。次にステップa8でコンプライアン
ス動作を開始し、ステップa9で動作目標位置Pe を指
定し、ステップa10で移動ベクトルRseを算出する。
さらに次の第8式に示す変換によって移動ベクトルRse
を座標変換するとき、変換されたQ座標系で移動ベクト
ルが座標軸x’y’z’のうちの一つ、たとえばx’軸
と平行になるような変換を表す変換行列Qを算出する。
At step a4, gravity compensation for the control circuits 22, 23, 24 of the robot 1 of the present invention is started. Further, the coefficient units 31,
34 and the gain of the amplifier circuit and the like are changed and set small. For example, the position gain Kp and the velocity gain Kv of the sixth axis 16 on which the tool 10 is mounted are set small,
Further, the gain Ki of the integrator 35 is set to zero, and this integrator 35 is
Is cleared to zero and the function of the phase compensator 36 is stopped. In other words, it is assumed that the output of the subtracting means 32 is directly supplied to the adding means 37. Step a5
Now, set each axis movement range. In step a6, the moving range for linear movement is set. In step a7, the movement width w is designated. Next, the compliance operation is started in step a8, the operation target position Pe is designated in step a9, and the movement vector Rse is calculated in step a10.
Furthermore, the movement vector Rse
When the coordinate conversion is performed, a conversion matrix Q representing a conversion in which the movement vector is parallel to one of the coordinate axes x′y′z ′, for example, the x ′ axis in the converted Q coordinate system is calculated.

【0028】 qPse=Q・Pse …(8) ステップa11では終了のときの時間を設定し、ステッ
プa12で設定時間が経過していると判断されないとき
は、ステップa13で、第1軸11〜第6軸16につい
ての各軸角度θ1 を、次の第9式のように検出する。
[0028] Set q Pse = Q · Pse ... ( 8) Step a11 end time when the in, when it is not determined that the set time has elapsed in step a12, step a13, the first shaft 11 Each axis angle θ1 with respect to the sixth axis 16 is detected by the following Expression 9.

【0029】 θ1 = (θJT1.1 θJT2.1 θJT3.1 θJT4.1 θJT5.1 θJT6.1T …(9) ステップa14で各軸値が設定範囲内であると判断され
るときは、ステップa15でさらに各軸角度θ1 に従っ
て、手首の現在位置Pr を算出する。次にステップa1
6に移り、次の第10式に従って、現在位置Pr をQ座
標系に変換する。
Θ1 = (θ JT1.1 θ JT2.1 θ JT3.1 θ JT4.1 θ JT5.1 θ JT6.1 ) T (9) In step a14, it is determined that each axis value is within the set range. If so, the present position Pr of the wrist is calculated in accordance with each axis angle θ1 in step a15. Next, step a1
6, the current position Pr is converted into the Q coordinate system according to the following formula (10).

【0030】 qPr = Q・Pr …(10) ステップa17では目標位置に到達したか否かを判断す
る。すなわちステップa12と併せて、次の,のう
ちのいずれかの条件を満たしているか否かで、動作終了
を判断する。 手首の現在位置Pr が動作目標位置Pe に到達してい
るか。 動作開始後、予め設定される時間が経過したか。
[0030] q Pr = Q · Pr ... ( 10) determines whether the host vehicle has reached the step a17 target position. That is, together with step a12, the operation end is determined by whether or not any of the following conditions is satisfied. Does the current position Pr of the wrist reach the target movement position Pe? Has the preset time elapsed since the operation started?

【0031】ステップa18で移動量が設定範囲内であ
ると判断されるときは、ステップa19に移り、Q座標
系で、移動幅wだけ、たとえばx’方向に移動した位置
qPr’を求める。ステップa20では、Q座標系の移動
位置qPr’を次の第11式に従ってベース座標系に変更
し、ベース座標系での移動位置Pr'を算出する。
When it is determined in step a18 that the amount of movement is within the set range, the process proceeds to step a19, and the position moved by the movement width w in the Q coordinate system, for example, in the x'direction.
Find q Pr '. In step a20, the moving position q Pr 'in the Q coordinate system is changed to the base coordinate system in accordance with the following eleventh equation, and the moving position Pr' in the base coordinate system is calculated.

【0032】 Pr'=Q-1qPr' …(11) ステップa21では、移動位置Pr'および姿勢Sに対応
するR行列を求め、逆変換により各軸の位置指令値Tを
生成する。ステップa22では、生成された各軸の位置
指令値Tに基づいて、各軸の駆動を行う。次にステップ
a13に戻り、以下ステップa22までの動作を繰返
す。
Pr ′ = Q −1 · q Pr ′ (11) At step a21, the R matrix corresponding to the moving position Pr ′ and the posture S is obtained, and the position command value T of each axis is generated by inverse transformation. At step a22, each axis is driven based on the generated position command value T for each axis. Next, the process returns to step a13, and the operations up to step a22 are repeated.

【0033】ステップa12で設定時間経過と判断され
るときは、ステップa23でコンプライアンス動作を終
了する。ステップa14で各軸値が設定範囲内でないと
判断されるときは、ステップa24で動作を終了する。
ステップa17で目標位置到達と判断されるときは、ス
テップa25で動作を終了する。ステップa18で移動
量が設定範囲内でないと判断されるときは、ステップa
26で動作を終了する。
When it is determined in step a12 that the set time has elapsed, the compliance operation is ended in step a23. If it is determined in step a14 that each axis value is not within the set range, the operation ends in step a24.
When it is determined in step a17 that the target position has been reached, the operation ends in step a25. If it is determined in step a18 that the movement amount is not within the set range, step a
The operation ends at 26.

【0034】図7は、変換行列Qによる座標変換の状態
を簡略化して示す。初期位置Ps から動作目標位置Pe
までの移動ベクトルPseに、x軸をQ座標系に変換した
x’軸が平行になるような変換として、変換行列Qを求
める。x’y’z’のいずれか1軸に平行に変換するこ
とによって、移動幅wの加算処理が容易となる。変換行
列Qは、第7式に示したように4行×4列で表される。
このうち、第4行目を除く部分をQ’とすれば、次の第
12式が得られる。
FIG. 7 shows a simplified state of coordinate conversion by the conversion matrix Q. From the initial position Ps to the operation target position Pe
The transformation matrix Q is obtained as a transformation such that the x ′ axis obtained by transforming the x axis into the Q coordinate system becomes parallel to the movement vector Pse up to. By converting any one of x'y'z 'to be parallel to one axis, the process of adding the movement width w becomes easy. The transformation matrix Q is represented by 4 rows × 4 columns as shown in the seventh equation.
Of these, if the portion excluding the fourth row is Q ′, the following twelfth expression is obtained.

【0035】 Q’=[n,o,a,p]T …(12) ここで、pは零ベクトルであり、n,o,aは、次の第
13、14および15式でそれぞれ表されるベクトルで
ある。
Q ′ = [n, o, a, p] T (12) where p is a zero vector and n, o, a are represented by the following thirteenth, fourteenth and fifteenth expressions, respectively. Is a vector.

【0036】[0036]

【数4】 (Equation 4)

【0037】図8は、本発明の実施の他の形態を概略的
に示す。本実施形態では、産業用ロボット51のハンド
52が被研磨材53を把持し、研磨装置54によって研
磨する。研磨装置54では、研磨ベルト55がプーリ5
6,57間に掛け渡され、高速度で搬送される。産業用
ロボット51は、被研磨材53を設定した移動幅に比例
した一定の押圧力で研磨ベルト55に押し付ける動作
を、コンプライアンス動作を行いながら実現する。産業
用ロボット51の制御系の構成は、図3〜図5に示した
ものと同様であり、コンプライアンス動作中は積分器3
5を切っておく。研磨ベルト55からのベルト反力が変
動しても、偏差が一定となるように位置フィードバック
され、偏差量が押し付け量に比例するので、安定した研
磨作業か可能である。
FIG. 8 schematically shows another embodiment of the present invention. In this embodiment, the hand 52 of the industrial robot 51 holds the material 53 to be polished and polishes it by the polishing device 54. In the polishing device 54, the polishing belt 55 is the pulley 5
It is stretched between 6 and 57 and transported at high speed. The industrial robot 51 realizes the operation of pressing the polishing target material 53 against the polishing belt 55 with a constant pressing force proportional to the set movement width while performing the compliance operation. The configuration of the control system of the industrial robot 51 is the same as that shown in FIGS. 3 to 5, and the integrator 3 is operated during the compliance operation.
Cut off 5. Even if the belt reaction force from the polishing belt 55 fluctuates, the position is fed back so that the deviation becomes constant, and the deviation amount is proportional to the pressing amount, so that stable polishing operation is possible.

【0038】以上説明したような動作は、6軸型ロボッ
トなどの多軸型ロボットや、他の形式のロボットで同様
に適用可能である。
The above-described operation can be similarly applied to a multi-axis robot such as a 6-axis robot and other types of robots.

【0039】[0039]

【発明の効果】以上のように本発明によれば、予め定め
る移動方向についての能動的な動作と、外力を逃がすよ
うなコンプライアンス動作による追従動作とを容易に行
うことができる。
As described above, according to the present invention, an active operation in a predetermined moving direction and a follow-up operation by a compliance operation for releasing an external force can be easily performed.

【0040】また本発明によれば、能動的な動作による
移動方向は、外力の作用する方向と逆方向であるので、
外力の大きさに応じて、移動方向への移動の継続、停
止、移動方向と逆方向への戻りが切り換えられるような
動作を行うことが可能となる。
Further, according to the present invention, since the moving direction by the active motion is opposite to the direction in which the external force acts,
According to the magnitude of the external force, it is possible to perform an operation such that the movement in the movement direction is continued, stopped, or returned in the opposite direction to the movement direction.

【0041】また本発明によれば、コンプライアンス動
作時の軸ゲイン値が任意に指定可能であるので、外力の
発生状態に応じて位置剛性とコンプライアンスとの調整
を行うことができる。
Further, according to the present invention, since the axis gain value during the compliance operation can be arbitrarily specified, the position rigidity and the compliance can be adjusted according to the state of generation of the external force.

【0042】また本発明によれば、コンプライアンス動
作中でも、各軸角度θ1 やベース座標系およびツール座
標系での移動量がそれぞれ予め定める範囲内に制限され
るので、ツールを作動させてもロボット自身の動作範囲
を超えるような動作を行うことがなく、安全性や信頼性
を容易に確保することができる。
Further, according to the present invention, even during the compliance operation, each axis angle θ1 and the amount of movement in the base coordinate system and the tool coordinate system are limited within predetermined ranges. It is possible to easily ensure safety and reliability without performing an operation that exceeds the operation range of.

【0043】また本発明によれば、各軸のトルク指令値
には重力補償演算結果が加算されるので、コンプライア
ンス動作中に姿勢が変わっても正確に重力補償を行うこ
とができる。
Further, according to the present invention, since the gravity compensation calculation result is added to the torque command value of each axis, the gravity compensation can be accurately performed even if the posture changes during the compliance operation.

【0044】さらに本発明によれば、コンプライアンス
動作開始直前に、ツールの初期姿勢S、初期位置Ps 、
および変換行列Qが算出される。コンプライアンス動作
中には、ロボットの各軸角度θ1 が検出され、各軸角度
θ1 に基づく現在位置Pr に対して、Q座標系で予め定
める移動方向のみに移動幅wが加算され、対応するベー
ス座標系での移動位置Pr'が算出され、初期姿勢Sに基
づく姿勢行列を含む位置指令値Tが算出される。位置指
令値Tに含まれる軸角度の指定値と、検出される軸角度
θ1 とを偏差が零になるように駆動源が負帰還制御され
るので、外力に沿ったコンプライアンス動作を行いなが
ら、予め定める移動方向についての能動的な作業を行う
ことができる。
Further, according to the present invention, immediately before the start of the compliance operation, the initial posture S of the tool, the initial position Ps,
And the transformation matrix Q is calculated. During the compliance operation, each axis angle θ1 of the robot is detected, and the movement width w is added only to the predetermined movement direction in the Q coordinate system with respect to the current position Pr based on each axis angle θ1. The moving position Pr ′ in the system is calculated, and the position command value T including the attitude matrix based on the initial attitude S is calculated. Since the drive source is negatively feedback controlled so that the deviation between the designated value of the shaft angle included in the position command value T and the detected shaft angle θ1 becomes zero, while performing the compliance operation in accordance with the external force, It is possible to perform active work in a defined moving direction.

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

【図1】本発明の実施の一形態の産業用ロボット1の正
面図である。
FIG. 1 is a front view of an industrial robot 1 according to an embodiment of the present invention.

【図2】図1の部品3とワーク4との関係を示す簡略化
した断面図である。
FIG. 2 is a simplified cross-sectional view showing the relationship between the component 3 and the work 4 in FIG.

【図3】図1の産業用ロボット1の簡略化した電気的構
成を示すブロック図である。
3 is a block diagram showing a simplified electrical configuration of the industrial robot 1 of FIG.

【図4】図3のサーボ制御回路23の具体的構成を示す
電気的回路図である。
4 is an electrical circuit diagram showing a specific configuration of the servo control circuit 23 of FIG.

【図5】図3の制御回路22の機能を説明するためのブ
ロック図である。
5 is a block diagram for explaining a function of a control circuit 22 of FIG.

【図6】図3のサーボ制御回路21およびホスト制御回
路22の動作を示すフローチャートである。
FIG. 6 is a flowchart showing operations of the servo control circuit 21 and the host control circuit 22 of FIG.

【図7】図6の動作におけるQ座標系への変換の考え方
を示す模式図である。
FIG. 7 is a schematic diagram showing the concept of conversion to the Q coordinate system in the operation of FIG.

【図8】本発明の実施の他の形態を示す簡略化した正面
図である。
FIG. 8 is a simplified front view showing another embodiment of the present invention.

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

1,51 産業用ロボット 2,52 ハンド 3 プロテクタ 4 パイプ 10 ツール 11 第1軸 12 第2軸 13 第3軸 14 第4軸 15 第5軸 16 第6軸 21 穴 22 制御回路 23 サーボ制御回路 24 ホスト制御回路 25 サーボモータ 26 増幅回路 27 エンコーダ 29 減算手段 31,34 係数器 32,37 加算手段 38 重力補償回路 53 被研磨材 54 研磨装置 55 研磨ベルト 1,51 Industrial Robot 2,52 Hand 3 Protector 4 Pipe 10 Tool 11 1st Axis 12 2nd Axis 13 3rd Axis 14 4th Axis 15 5th Axis 16 6th Axis 21 Hole 22 Control Circuit 23 Servo Control Circuit 24 Host control circuit 25 Servo motor 26 Amplifying circuit 27 Encoder 29 Subtracting means 31,34 Coefficient unit 32,37 Adding means 38 Gravity compensation circuit 53 Grinding material 54 Polishing device 55 Polishing belt

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 予め指定されるロボットの手首の動作目
標位置Pe および単位処理段階当たりの移動幅wに従う
ロボットの制御方法であって、 コンプライアンス動作開始直前に、手首に装着されたツ
ールの初期姿勢Sおよび手首の初期位置Ps を算出し、 ロボットのベース座標系から見た移動ベクトルを、動作
目標位置Pe および初期位置Ps から算出し、 ベース座標系で予め定める方向を、算出された移動ベク
トルに平行とするような変換行列Qを算出しておき、 コンプライアンス動作中のロボットの各軸角度θ1 を検
出し、各軸角度θ1 から手首の現在位置Pr を算出し、
現在位置Pr に変換行列Qを掛けて、Q座標系での位置
qPr=Q・Pr を算出する段階と、 位置qPrの前記予め定める方向の成分に前記移動幅wを
加算した位置qPr’を算出し、ベース座標系での手首位
置Pr'=Q-1qPr’と初期姿勢Sとに基づく姿勢行列
を含む位置指令値Tを算出する段階と、 位置指令値Tを逆変換し、各軸指令値を算出した後、各
軸を駆動する段階とをロボットの手首が動作目標位置P
e に到達するまで繰返すことを特徴とするロボットの制
御方法。
1. A method of controlling a robot according to a movement target position Pe of a wrist of a robot designated in advance and a movement width w per unit processing stage, wherein an initial posture of a tool attached to a wrist is provided immediately before a compliance operation is started. S and the initial position Ps of the wrist are calculated, the movement vector viewed from the base coordinate system of the robot is calculated from the motion target position Pe and the initial position Ps, and the direction predetermined in the base coordinate system is set to the calculated movement vector. A conversion matrix Q for parallelization is calculated in advance, each axis angle θ1 of the robot in compliance operation is detected, and the wrist current position Pr is calculated from each axis angle θ1.
The current position Pr is multiplied by the conversion matrix Q, and the position in the Q coordinate system is calculated.
The step of calculating q Pr = Q · Pr, and the position q Pr ′ in which the movement width w is added to the component of the position q Pr in the predetermined direction are calculated, and the wrist position Pr ′ = Q in the base coordinate system. A step of calculating a position command value T including a posture matrix based on 1 · q Pr ′ and an initial posture S, and a step of inversely converting the position command value T, calculating each axis command value, and then driving each axis The robot's wrist moves to the target position P
A robot control method characterized by repeating until e is reached.
【請求項2】 コンプライアンス動作時の軸ゲイン値
は、任意に設定可能であることを特徴とする請求項1記
載のロボットの制御方法。
2. The robot control method according to claim 1, wherein the axis gain value during the compliance operation can be arbitrarily set.
【請求項3】 コンプライアンス動作中の移動は、検出
した各軸角度θ1 が予め定める動作制限角度を超えると
き、またはベース座標系およびツール座標系での移動量
が予め定める移動範囲を超えるときに制限されることを
特徴とする請求項1または2に記載のロボットの制御方
法。
3. The movement during compliance operation is limited when the detected axis angle θ1 exceeds a predetermined movement limit angle or when the movement amount in the base coordinate system and the tool coordinate system exceeds a predetermined movement range. The method for controlling a robot according to claim 1 or 2, characterized in that:
【請求項4】 コンプライアンス動作中に重力補償演算
を行い、演算結果を各軸のトルク指令値に加算すること
を特徴とする請求項1〜3のいずれかに記載のロボット
の制御方法。
4. The robot control method according to claim 1, wherein a gravity compensation calculation is performed during the compliance operation, and the calculation result is added to the torque command value of each axis.
【請求項5】 ロボットの手首にツールが装着され、駆
動源によって駆動されるロボットの各軸角度θ1 を軸角
度検出手段によって検出し、検出した軸角度θ1 と軸角
度の指令値との偏差が零になるように駆動源を負帰還制
御するロボットの制御装置において、 コンプライアンス動作開始直前に、ツールの初期姿勢S
および初期位置Ps を算出し、ロボットのベース座標系
から見た移動ベクトルを、動作目標位置Pe および初期
位置Ps から算出し、ベース座標系で予め定める方向
を、算出された移動ベクトルに平行とするような変換行
列Qを算出する第1演算手段と、 コンプライアンス動作中のロボットの各軸角度θ1 を検
出し、各軸角度θ1 から手首の現在位置Pr を算出し、
現在位置Pr に変換行列Qを掛けて、Q座標系での位置
qPr=Q・Pr を算出する第2演算手段と、 第2演算手段からの位置qPrの予め指定される方向の成
分に、予め指定される移動幅wを加算した位置qPr’を
算出し、ベース座標系での手首位置Pr'=Q-1qPr’
と初期姿勢Sとに基づく姿勢行列を含む位置指令値Tを
算出する第3演算手段と、 第3演算手段の出力に応答し、位置指令値Tに基づく前
記駆動源の負帰還制御を、ロボットの手首が動作目標位
置Pe に到達するまで行う第4演算手段とを含むことを
特徴とするロボットの制御装置。
5. A tool is attached to a wrist of a robot, and each axis angle θ1 of the robot driven by a drive source is detected by an axis angle detecting means, and a deviation between the detected axis angle θ1 and a command value of the axis angle is determined. In a robot controller that negatively feedback controls a drive source so that the drive source becomes zero, an initial posture S of the tool is set immediately before the compliance operation is started.
And the initial position Ps are calculated, the movement vector viewed from the base coordinate system of the robot is calculated from the motion target position Pe and the initial position Ps, and the direction predetermined in the base coordinate system is made parallel to the calculated movement vector. The first calculation means for calculating such a conversion matrix Q and each axis angle θ1 of the robot during compliance operation are detected, and the present position Pr of the wrist is calculated from each axis angle θ1.
The current position Pr is multiplied by the conversion matrix Q, and the position in the Q coordinate system is calculated.
Second calculation means for calculating q Pr = Q · Pr, and a position q Pr 'is calculated by adding a predetermined movement width w to a component of the position q Pr from the second calculation means in a predetermined direction. Then, the wrist position Pr 'in the base coordinate system = Q -1 · q Pr'
And a third computing means for calculating a position command value T including a posture matrix based on the initial posture S and a negative feedback control of the drive source based on the position command value T in response to the output of the third computing means. Controller for performing the operation until the wrist of the robot reaches the operation target position Pe.
JP7337129A 1995-12-25 1995-12-25 Robot control method and device Expired - Fee Related JP2682977B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7337129A JP2682977B2 (en) 1995-12-25 1995-12-25 Robot control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7337129A JP2682977B2 (en) 1995-12-25 1995-12-25 Robot control method and device

Publications (2)

Publication Number Publication Date
JPH09174470A JPH09174470A (en) 1997-07-08
JP2682977B2 true JP2682977B2 (en) 1997-11-26

Family

ID=18305725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7337129A Expired - Fee Related JP2682977B2 (en) 1995-12-25 1995-12-25 Robot control method and device

Country Status (1)

Country Link
JP (1) JP2682977B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3473834B2 (en) 1999-11-29 2003-12-08 株式会社安川電機 Robot control device
JP6706489B2 (en) * 2015-11-24 2020-06-10 川崎重工業株式会社 Robot direct teaching method
CN112665476B (en) * 2020-12-29 2022-11-01 东风模具冲压技术有限公司 Precision detection device for gripper of welding robot

Also Published As

Publication number Publication date
JPH09174470A (en) 1997-07-08

Similar Documents

Publication Publication Date Title
US8335591B2 (en) Robot apparatus and method of controlling the same
JP2822809B2 (en) Position control method and position control device
US10864632B2 (en) Direct teaching method of robot
EP0129245A1 (en) Method and apparatus for controlling a robot
JP2001157975A (en) Robot control device
CN111975746A (en) Robot control method
JP2604929B2 (en) Robot control device
US20110087374A1 (en) Robot system
SE516720C2 (en) Equipment for controlling an industrial robot and a procedure for programming and / or adjusting the movement of the robot
JP2619227B2 (en) Robot control method and device
JPH07319547A (en) Tracer control method for robot
JP4639417B2 (en) Robot control device
JPH09179632A (en) Flexible controller for robot
JP2682977B2 (en) Robot control method and device
JP2003216243A (en) Robot controller
JP4134369B2 (en) Robot control device
JP2713702B2 (en) Robot control method and device
JP2960232B2 (en) Robot control device
JPH07104725B2 (en) Manipulator drive system
Carignan et al. Achieving impedance objectives in robot teleoperation
JPH11345010A (en) Controller for robot
JP2718687B2 (en) Control device for position and force of multi-degree-of-freedom work machine
JP3350687B2 (en) Robot control method and robot control device
JP2960233B2 (en) Robot control device
JPH058187A (en) Robot

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080808

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090808

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100808

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110808

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20110808

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120808

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20120808

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20130808

Year of fee payment: 16

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

Free format text: PAYMENT UNTIL: 20130808

Year of fee payment: 16

LAPS Cancellation because of no payment of annual fees