JPH06320463A - Method for discriminating load direction of robot arm - Google Patents

Method for discriminating load direction of robot arm

Info

Publication number
JPH06320463A
JPH06320463A JP13546893A JP13546893A JPH06320463A JP H06320463 A JPH06320463 A JP H06320463A JP 13546893 A JP13546893 A JP 13546893A JP 13546893 A JP13546893 A JP 13546893A JP H06320463 A JPH06320463 A JP H06320463A
Authority
JP
Japan
Prior art keywords
robot arm
load
robot
servo
rotation direction
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.)
Granted
Application number
JP13546893A
Other languages
Japanese (ja)
Other versions
JP3348423B2 (en
Inventor
Kunihiro Okamura
邦博 岡村
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP13546893A priority Critical patent/JP3348423B2/en
Publication of JPH06320463A publication Critical patent/JPH06320463A/en
Application granted granted Critical
Publication of JP3348423B2 publication Critical patent/JP3348423B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)

Abstract

PURPOSE:To perform detection of the load direction of a robot arm by a method wherein the load direction of a robot control coordinate system is discriminated from the direction of the direction of a torque command to a servo motor for driving an arm during the stop of a robot arm and the rotation direction of a shaft on the output side to the rotation direction of a shaft on the input side coupled to the servo motor coupled to a reduction gear. CONSTITUTION:During the stop of a robot, the code of a torque command outputted to a servo amplifier 10 is fetched and it is decided whether the code is positive or negative to decide the direction of a torque command to a servo motor 11. A relation of the rotation direction of a shaft on the input side coupled to the servo motor 11 of a reduction gear with the rotation direction of a shaft on the output side to be decelerated is fetched from a shared RAM 4 to check positive and negative. From the check result and the positive negative check result of the code of a torque command outputted to the servo amplifier 10, a mechanical drive direction is decided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はロボット制御方法に関
し、特にロボットアームの負荷方向判別方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a robot control method, and more particularly to a method for determining a load direction of a robot arm.

【0002】[0002]

【従来の技術】ロボットが目標の位置へ動作するための
制御過程は、演算部により教示された位置とその位置ま
でに到達するまでの補間情報とにより、ロボットアーム
の各軸に対して移動指令が求められ、この移動指令をサ
ーボ部に受け渡し、位置ループ制御によって目標の位置
へと動作する、というのが一般的である。サーボ部にお
ける位置ループ制御は、近年はソフトウェア化されたも
のがほとんどで、更に速度ループ制御、電流ループ制御
までソフトウェア化が進んでいる。一方、ロボット停止
状態(電源ON時の動作中の停止)においては、その姿
勢を保持するためにサーボ部による前述の各種ループ制
御が行われている。すなわち、ロボットアーム及びその
アームの駆動部に設置された減速機等の負荷に対して、
これに打ち勝ち平衡を保つようにサーボモータにはトル
ク指令が出されている。その場合、負荷の反対方向(ロ
ボットアームを持ち上げる方向)の動作中に停止する場
合と、負荷方向(ロボットアームを持ち下げる方向)の
動作中に停止する場合とでは、後者の方がサーボモータ
の電力消費が少ない。そこで、ロボットアームを持ち上
げる方向で停止する場合は、いったん負荷方向と反対方
向に一旦微小動作(持ち上げ)を行った後、元の位置に
戻り(持ち下げ)停止させる必要がある(特願平3−3
07651参照)。
2. Description of the Related Art A control process for a robot to move to a target position is a movement command for each axis of a robot arm based on a position taught by a calculation unit and interpolation information until the position is reached. It is general that the movement command is passed to the servo unit and the position is controlled to move to the target position. Most of the position loop control in the servo section has been softwareized in recent years, and further softwareization is progressing to speed loop control and current loop control. On the other hand, in the robot stop state (stop during operation when the power is turned on), the above-described various loop controls are performed by the servo unit in order to maintain its posture. That is, with respect to the load such as the speed reducer installed in the robot arm and the drive unit of the arm,
A torque command is issued to the servomotor to overcome this and maintain balance. In that case, the latter is the case of the servo motor when the operation is stopped in the opposite direction of the load (the direction in which the robot arm is lifted) and when the operation is stopped in the direction of the load (the direction in which the robot arm is lifted). Low power consumption. Therefore, when the robot arm is stopped in the lifting direction, it is necessary to once perform a minute movement (lifting) in the direction opposite to the load direction, and then return to the original position (hold down) and stop it (Japanese Patent Application No. Hei 3). -3
07651).

【0003】[0003]

【発明が解決しようとする課題】ところが、従来は、ロ
ボットアームの負荷方向が検知できなかったため、特願
平3−307651の方法を実施できなかった。そこで
本発明は、負荷方向を判別できる方法を提供することを
目的とする。
However, conventionally, the method of Japanese Patent Application No. 3-307651 could not be implemented because the load direction of the robot arm could not be detected. Therefore, an object of the present invention is to provide a method capable of determining the load direction.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するた
め、本発明は、少なくとも1軸が減速機を介してサーボ
モータで駆動されるロボットアームの負荷方向判別方法
において、前記ロボットアームが停止している時の前記
サーボモータに与えるトルク指令方向と、前記減速機の
前記サーボモータに連結される入力側の軸の回転方向に
対する減速される出力側の軸の回転方向とによって、ロ
ボット制御座標系における負荷方向を判別することを特
徴とするものである。
In order to solve the above-mentioned problems, the present invention provides a method for determining a load direction of a robot arm in which at least one axis is driven by a servomotor through a speed reducer, wherein the robot arm is stopped. The robot control coordinate system is based on the torque command direction given to the servo motor when the shaft is rotating and the rotation direction of the output side shaft that is decelerated with respect to the rotation direction of the input side shaft connected to the servo motor of the speed reducer. It is characterized in that the load direction in is determined.

【0005】[0005]

【作用】本発明は、位置決め制御によりロボットアーム
が停止中でも、電流ループは働いていることに着目した
ものであり、ロボットアームが停止している時は、その
サーボモータにトルク指令(電流指令)が与えられてい
るとすれば、前記減速機の前記サーボモータに連結され
る入力側の軸の回転方向に対する減速される出力側の軸
の回転方向の関係から、負荷がかかっている方向がわか
る。
The present invention focuses on the fact that the current loop works even when the robot arm is stopped by the positioning control. When the robot arm is stopped, the torque command (current command) is sent to the servo motor. Is given, the direction in which the load is applied can be known from the relationship between the rotation direction of the output side shaft that is decelerated and the rotation direction of the input side shaft that is connected to the servomotor of the speed reducer. .

【0006】[0006]

【実施例】以下、本発明の実施例を図に基づいて説明す
る。図1は本発明に係るロボット制御装置の構成を示す
ブロック図である。モータ制御パラメータは演算CPU
5に結合されたROM6に格納されている。システムを
初期化した場合に、モータ制御パラメータは、ROM6
→バス24→演算CPU5→バス23→共有RAM4→
バス22→共有RAM3という経路で共有RAM3に転
送される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a robot controller according to the present invention. Motor control parameters are calculation CPU
5 is stored in the ROM 6 which is connected to 5. When the system is initialized, the motor control parameters are stored in ROM6.
→ bus 24 → arithmetic CPU 5 → bus 23 → shared RAM 4 →
The data is transferred to the shared RAM 3 via the path of the bus 22 → shared RAM 3.

【0007】共有RAM3に転送された制御パラメータ
は、バス21を介し、ペリフェラルCPU12に結合さ
れた入出力装置13を操作してオペレータが変更でき
る。共有RAM3に格納された制御パラメータは、共有
RAM3→メインCPU1→バス22→共有RAM4と
いう経路で共有RAM4に転送され、サーボCPU7が
アクセスできる状態になる。
The control parameters transferred to the shared RAM 3 can be changed by an operator by operating the input / output device 13 coupled to the peripheral CPU 12 via the bus 21. The control parameters stored in the shared RAM 3 are transferred to the shared RAM 4 via the route of the shared RAM 3 → the main CPU 1 → the bus 22 → the shared RAM 4, and the servo CPU 7 can access the control parameters.

【0008】なお、通常のロボット制御時においては、
メインCPU1からのプログラム実行指令はバス22、
共有RAM4、バス23を介してサーボCPU7に伝送
され、サーボCPU7はバス25を介して制御信号をD
/A変換器9に送る。D/A変換器9ではデジタル信号
をアナログ信号に変換し、サーボアンプ10にトルク指
令を出力する。サーボアンプ10は例えばインバータを
含み、サーボモータ11に電流指令を出力してロボット
のアームを駆動する。
During normal robot control,
A program execution command from the main CPU 1 is sent to the bus 22,
The signal is transmitted to the servo CPU 7 via the shared RAM 4 and the bus 23, and the servo CPU 7 sends a control signal D via the bus 25.
Send to the / A converter 9. The D / A converter 9 converts the digital signal into an analog signal and outputs a torque command to the servo amplifier 10. The servo amplifier 10 includes an inverter, for example, and outputs a current command to the servo motor 11 to drive the robot arm.

【0009】図2は、サーボCPU7において実行され
る本発明のロボット停止時の実施例を示すフローチャー
トである。ステップ100ではソフトウェアサーボ化さ
れたサーボループ処理で作成後サーボアンプ10に出力
されるトルク指令の符号を取り出す。ステップ110で
その符号が正か負かの判別を行い、それぞれの符号で以
下処理が分岐する。ステップ120、130では、ロボ
ットアームに組み込まれた減速機の回転方向に対するサ
ーボモータ11の回転方向のデータ(減速機のサーボモ
ータに連結される入力側の軸の回転方向に対する減速さ
れる出力側の軸の回転方向の関係)を、予めそのデータ
の内容が設定されている共有RAM4から取り出す。ス
テップ140、150でその正負のチェックを行う。以
上により、機械的にどちらの方向に駆動されようとして
いるのかがわかる。ただし、実際はロボットアームの位
置ループが優先するので、駆動して位置を変えようとい
うのではなく、位置を保持するようにトルクがかかって
いるということである。したがって、機械的にどちらの
方向に駆動されようとしているのに、実際のロボットア
ームが停止(すなわちサーボモータが停止)していると
すると負荷が加わっていることがわかる。以上の結果、
ステップ170、180ではロボット制御座標系におけ
る正の負荷方向データが作成され、ステップ160、1
90では負の負荷方向データが作成される。なお、ここ
でいうデータとは、正負がわかれば良いので1ビットで
よい。
FIG. 2 is a flow chart showing an embodiment of the present invention executed by the servo CPU 7 when the robot is stopped. In step 100, the code of the torque command output to the servo amplifier 10 after being created by the servo loop processing which is software-servoed is taken out. In step 110, it is determined whether the sign is positive or negative, and the process branches below for each sign. In steps 120 and 130, data on the rotation direction of the servo motor 11 with respect to the rotation direction of the speed reducer incorporated in the robot arm (for the output side to be decelerated with respect to the rotation direction of the input side shaft connected to the servo motor of the speed reducer). The relationship of the rotation direction of the shaft) is taken out from the shared RAM 4 in which the contents of the data are set in advance. At steps 140 and 150, the positive / negative check is performed. From the above, it can be understood in which direction the mechanical drive is being performed. However, in reality, the position loop of the robot arm is prioritized, so that the torque is applied to hold the position, not to change the position by driving. Therefore, it can be seen that a load is applied if the actual robot arm is stopped (that is, the servo motor is stopped) regardless of which direction the mechanical drive is attempted. As a result of the above,
In steps 170 and 180, positive load direction data in the robot control coordinate system is created, and in steps 160 and 1,
At 90, negative load direction data is created. It should be noted that the data referred to here may be 1 bit since it is only necessary to know whether the sign is positive or negative.

【0010】以上が本発明の基本的処理に係わる部分で
あるが、以下にロボット動作中に停止処理に応用した例
を説明する。図3は上述の応用例を示した3軸のロボッ
トにおける負荷の持ち上げ、下げ動作の概略図である。
図4はサーボCPUにおいて処理されるフローチャート
である。図4において、ステップ200ではロボット停
止中か否かを図1の演算CPU5からの位置指令がある
か否かで判断し、停止中であればステップ210で予め
指定された時間が経過するまで待つ。タイムアップした
時点で(停止と判断して)ステップ220により、各軸
のモータの負荷の大きさを判定し(図示しないモータに
流れる電流値から求める)、負荷が大きい軸のみを対象
軸として選択する。更にステップ230により対象軸の
負荷の方向を停止時のトルク指令の符号から求め、ステ
ップ240で、予め設定されているサーボモータの回転
方向データを取り出す。ステップ250では、ステップ
230で求めた対象軸の負荷方向とステップ240で取
り出した回転方向データにより、予め指定した微小の移
動指令においてこの符号を判定し位置指令として作成す
る。これをステップ260でサーボ位置ループに入力す
ることによりロボットアームは負荷の方向とは反対に微
小動作して停止する。停止後、ステップ270により、
先に計算した位置指令の符号を反転し、新たな位置指令
として作成し、これをステップ280でサーボ位置ルー
プに入力することにより、ロボットアームは元の位置に
戻って停止する。なお、サーボCPUがステップ220
からステップ280の実行中は、メインCPU1からの
作業プログラムの実行指令がサーボCPUに対して出力
されないように、サーボCPU7からメインCPU1に
対して待機指令を出力し、ステップ280の処理が終了
した時点で、待機指令の解除信号を出力することによ
り、本発明の動作が別のプログラムにより干渉されない
ようにする。また、本発明の動作が一度終了した後、再
度条件を満たし動作するようにはならないようにサーボ
CPU独自で実行終了のフラグを設け制御している。
The above is the part relating to the basic processing of the present invention, but an example of application to stop processing during robot operation will be described below. FIG. 3 is a schematic diagram of load lifting and lowering operations in a three-axis robot showing the above-described application example.
FIG. 4 is a flowchart of processing in the servo CPU. In FIG. 4, in step 200, it is determined whether or not the robot is stopped depending on whether or not there is a position command from the arithmetic CPU 5 in FIG. 1, and if it is stopped, wait until the time designated in advance in step 210 has elapsed. . At the time when the time is up (judged to be stopped), the size of the motor load on each axis is determined (determined from the current value flowing to the motor (not shown)) in step 220, and only the axis with a large load is selected as the target axis. To do. Further, in step 230, the direction of the load on the target axis is obtained from the sign of the torque command at the time of stop, and in step 240 preset rotation direction data of the servo motor is taken out. In step 250, this code is determined and created as a position command in a minute movement command specified in advance based on the load direction of the target axis obtained in step 230 and the rotation direction data extracted in step 240. By inputting this into the servo position loop in step 260, the robot arm makes a minute movement opposite to the direction of the load and stops. After stopping, by step 270,
The robot arm returns to its original position and stops by reversing the sign of the previously calculated position command and creating it as a new position command and inputting this into the servo position loop in step 280. The servo CPU executes step 220.
During execution of step 280 to step 280, the standby instruction is output from the servo CPU 7 to the main CPU 1 so that the execution instruction of the work program from the main CPU 1 is not output to the servo CPU, and the processing of step 280 is completed. By outputting the release signal of the standby command, the operation of the present invention is prevented from being interfered by another program. Further, after the operation of the present invention is once completed, the servo CPU is independently provided with an execution end flag so as to prevent the operation from satisfying the condition again.

【0012】[0012]

【発明の効果】以上述べたように、本発明によれば、ロ
ボットアームの負荷方向を検出できるので、電力消費の
少ないロボットの制御が行えるという効果がある。
As described above, according to the present invention, since the load direction of the robot arm can be detected, it is possible to control the robot consuming less power.

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

【図1】本発明に係るロボット制御装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of a robot controller according to the present invention.

【図2】本発明のロボット停止時の実施例を示すフロー
チャートである。
FIG. 2 is a flowchart showing an embodiment of the present invention when the robot is stopped.

【図3】本発明の応用例を示した3軸のロボットにおけ
る負荷の持ち上げ、下げ動作の概略図である。
FIG. 3 is a schematic diagram of load lifting and lowering operations in a three-axis robot showing an application example of the present invention.

【図4】本発明の応用例サーボCPUにおいて処理され
るフローチャートである。
FIG. 4 is a flowchart of processing performed by a servo CPU according to an application example of the present invention.

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

7 サーボCPU 10 サーボアンプ 11 サーボモータ W 負荷 7 Servo CPU 10 Servo amplifier 11 Servo motor W Load

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1軸が減速機を介してサーボ
モータで駆動されるロボットアームの負荷方向判別方法
において、前記ロボットアームが停止している時の前記
サーボモータに与えるトルク指令方向と、前記減速機の
前記サーボモータに連結される入力側の軸の回転方向に
対する減速される出力側の軸の回転方向とによって、ロ
ボット制御座標系における負荷方向を判別することを特
徴とするロボットアームの負荷方向判別方法。
1. A method for determining a load direction of a robot arm in which at least one axis is driven by a servomotor via a speed reducer, and a torque command direction given to the servomotor when the robot arm is stopped, and A load of a robot arm characterized by determining a load direction in a robot control coordinate system based on a rotation direction of an output-side shaft that is decelerated with respect to a rotation direction of an input-side shaft connected to the servomotor of the speed reducer. Direction determination method.
【請求項2】 前記負荷方向判別は予め指定した軸につ
いてのみ行うことを特徴とする請求項1記載のロボット
アームの負荷方向判別方法。
2. The method for determining a load direction of a robot arm according to claim 1, wherein the load direction determination is performed only for a previously designated axis.
JP13546893A 1993-05-12 1993-05-12 How to determine the load direction of the robot arm Expired - Lifetime JP3348423B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13546893A JP3348423B2 (en) 1993-05-12 1993-05-12 How to determine the load direction of the robot arm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13546893A JP3348423B2 (en) 1993-05-12 1993-05-12 How to determine the load direction of the robot arm

Publications (2)

Publication Number Publication Date
JPH06320463A true JPH06320463A (en) 1994-11-22
JP3348423B2 JP3348423B2 (en) 2002-11-20

Family

ID=15152424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13546893A Expired - Lifetime JP3348423B2 (en) 1993-05-12 1993-05-12 How to determine the load direction of the robot arm

Country Status (1)

Country Link
JP (1) JP3348423B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002326258A (en) * 2001-04-27 2002-11-12 Star Seiki Co Ltd Molded product ejector
JP2012020367A (en) * 2010-07-14 2012-02-02 Toyota Motor Corp Robot device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002326258A (en) * 2001-04-27 2002-11-12 Star Seiki Co Ltd Molded product ejector
JP2012020367A (en) * 2010-07-14 2012-02-02 Toyota Motor Corp Robot device

Also Published As

Publication number Publication date
JP3348423B2 (en) 2002-11-20

Similar Documents

Publication Publication Date Title
JPH0991025A (en) Method for controlling robot in shortest time considering operation duty
EP0573655B1 (en) Robot control method
JPH09282020A (en) Servo motor drive
JPS63245389A (en) Method of controlling robot
JP3348423B2 (en) How to determine the load direction of the robot arm
JPS6224305A (en) Method for detecting servo abnormality of industrial robot
JPS61203883A (en) Servo motor control system
JPH11245191A (en) Drive shaft control method and device for industrial robot
JPH09300260A (en) Motor load reduction method for industrial robots
JPH08263143A (en) Control gain switching system using disturbance observer
JPH1133825A (en) Machine tool with tapping function
JP2000042865A (en) Servo control device
JP2003015713A (en) Numerical control unit
JP2838428B2 (en) Robot control method
JPS61147306A (en) Safety device of robot
JPH081566A (en) Robot controller
JP2771957B2 (en) Master-slave type manipulator controller
JPH08132369A (en) Robot controller
JP5309812B2 (en) Motor control device and motor control method
JPH08129409A (en) Robot controller
JP2712172B2 (en) Servo motor controller
JPH1063329A (en) Method for controlling accerelation
JPH11110019A (en) Numerical control device and its control method
JPH03128687A (en) Position control method for motor
JPH1148167A (en) Control device for manipulator

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20070913

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

Free format text: PAYMENT UNTIL: 20080913

Year of fee payment: 6

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

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20080913

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

Free format text: PAYMENT UNTIL: 20090913

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100913

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110913

Year of fee payment: 9

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20110913

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

Free format text: PAYMENT UNTIL: 20120913

Year of fee payment: 10

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20120913

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20130913

EXPY Cancellation because of completion of term