JPH05265563A - Controller for robot - Google Patents

Controller for robot

Info

Publication number
JPH05265563A
JPH05265563A JP5985292A JP5985292A JPH05265563A JP H05265563 A JPH05265563 A JP H05265563A JP 5985292 A JP5985292 A JP 5985292A JP 5985292 A JP5985292 A JP 5985292A JP H05265563 A JPH05265563 A JP H05265563A
Authority
JP
Japan
Prior art keywords
output
value
robot
command
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5985292A
Other languages
Japanese (ja)
Inventor
Masaaki Sano
雅明 佐野
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5985292A priority Critical patent/JPH05265563A/en
Publication of JPH05265563A publication Critical patent/JPH05265563A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the locus accuracy of the final working point of a robot by using a positioning controller provided with a realizable gain. CONSTITUTION:A command generator 1 calculates the rotating quantity of a motor 7 so that the final working point of the robot can plot a desired locus. A correction value calculator 10 calculates the correction value of the amount of travel by which the actual operation of the robot is delayed to a command value. A coefficient selector 11 selects an appropriate coefficient corresponding to the operating direction of a robot arm. The positioning controller 12 inputs two inputs the correction value from the correction value calculator 10 and the command value from the command value generator 1, and outputs the sum of the result that the output of a deviation quantity calculator 3 is multiplied by a gain Gp and the correction value, as a velocity command to a velocity controller, 4.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、溶接、切断などにおけ
る産業様ロボットの、高軌跡精度を要求するアプリケー
ションに対応する制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for industrial robots such as welding and cutting, which is applicable to applications requiring high trajectory accuracy.

【0002】[0002]

【従来の技術】従来、ロボットの軌跡精度を改善するた
めには、現代制御理論などを使用し位置制御装置のゲイ
ンGpを大きくすることによって指令発生装置の出力に
よるモータの回転量と実際のモータの回転量を近づける
方法をもちいていた。
2. Description of the Related Art Conventionally, in order to improve the trajectory accuracy of a robot, modern control theory is used to increase the gain Gp of the position control device to increase the amount of rotation of the motor by the output of the command generator and the actual motor. I was using a method to bring the rotation amount of the.

【0003】図6に従来の構成の要部のブロック図を示
す。指令発生装置1の出力は従来の位置制御装置2に入
力される。この入力は位置制御装置2の偏差量計算装置
3に接続されており、偏差量計算装置3は指令発生装置
1の出力の積分値と位置検出装置8の出力の積分値の差
を求める。この値にゲインGpを乗じた値を従来の位置
制御装置2は出力として速度制御装置4に与える。速度
制御装置4は電流制御装置5に出力し、電流制御装置5
は電流検出装置9の出力と速度制御装置4の電流指令値
からPWM出力を発生させ、サーボアンプ6を制御す
る。サーボアンプ6の出力に応じてロボットの各軸のモ
ータ7が回転し、その回転量は位置検出装置8によって
検出され、それぞれ位置制御装置2と速度制御装置4に
入力される。
FIG. 6 shows a block diagram of a main part of a conventional structure. The output of the command generator 1 is input to the conventional position controller 2. This input is connected to the deviation amount calculation device 3 of the position control device 2, and the deviation amount calculation device 3 obtains the difference between the integrated value of the output of the command generation device 1 and the integrated value of the output of the position detection device 8. The conventional position control device 2 gives a value obtained by multiplying this value by the gain Gp to the speed control device 4 as an output. The speed controller 4 outputs the current controller 5 to the current controller 5.
Generates a PWM output from the output of the current detection device 9 and the current command value of the speed control device 4, and controls the servo amplifier 6. The motor 7 for each axis of the robot rotates according to the output of the servo amplifier 6, and the rotation amount is detected by the position detection device 8 and input to the position control device 2 and the speed control device 4, respectively.

【0004】[0004]

【発明が解決しようとする課題】位置制御装置2のゲイ
ンGpを大きくするためには、速度制御装置4や電流制
御装置5のゲインを大きくする必要があるが、そのため
には現代制御理論の演算を行うと同時に、速度や電流の
サンプリング周期を早め、位置検出装置8と電流検出装
置9の分解能を上げ、むだ時間を減らし、PWMのキャ
リヤ周波数を上げる必要などがある。また、処理を行う
CPUの計算速度を上げると同時に、周辺のパワー素子
の応答性などを上げなくてはならない。そのため所望の
ゲインを得るための構成が不可能である場合や、可能な
場合でも高価になるという問題がある。
In order to increase the gain Gp of the position control device 2, it is necessary to increase the gains of the speed control device 4 and the current control device 5. For that purpose, modern control theory calculations are required. At the same time, it is necessary to speed up the sampling period of speed and current, increase the resolution of the position detection device 8 and the current detection device 9, reduce the dead time, and increase the PWM carrier frequency. In addition, at the same time as increasing the calculation speed of the CPU that performs processing, it is necessary to increase the responsiveness of peripheral power elements. Therefore, there is a problem that a configuration for obtaining a desired gain is impossible, or even if possible, it is expensive.

【0005】本発明は、上記問題を解決するもので、実
現可能なゲインを有する位置制御装置をもちいてロボッ
トの最終作用点の軌跡精度を向上させることができるロ
ボットの制御装置を提供することを目的とするものであ
る。
The present invention solves the above problems, and provides a robot controller capable of improving the trajectory accuracy of the final action point of the robot by using a position controller having a realizable gain. It is intended.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、教示した内容を記憶しこの教示内容にし
たがってロボットを動作させるロボットの制御装置にお
いて、教示内容にしたがってロボットの最終作用点が所
望の速度で所望の軌跡を描くようにロボットの各軸モー
タの一定時間あたりの回転量を計算する指令発生装置
と、ロボットの各軸のモータに取付けられてモータの回
転量を検出するための位置検出装置と、指令発生装置か
らの出力の積分値と位置検出装置からの出力の積分値の
差を計算する偏差量計算装置と、過去の指令発生装置の
出力と先行計算を行い将来出力される予定の指令発生装
置の出力とにそれぞれ何回前の出力かあるいは何回先の
出力かに応じた係数Kmngを乗じて積分した値と現在
の指令発生装置の出力にそれに応じた係数Kmngを乗
じた値とを加え、この合計値にゲインGmを乗じた値を
指令値に対して実際のロボットの動作が遅れる分の移動
量の補正値として計算する補正値計算装置とを備えたも
のである。
In order to achieve the above object, the present invention is a controller for a robot that stores teaching contents and operates the robot according to the teaching contents. A command generator that calculates the amount of rotation of each axis motor of the robot per fixed time so that the point draws a desired trajectory at a desired speed, and it is attached to the motor of each axis of the robot and detects the amount of rotation of the motor Position detection device, a deviation amount calculation device that calculates the difference between the integrated value of the output from the command generation device and the integrated value of the output from the position detection device, and the output of the command generation device in the past The output of the command generator to be output is multiplied by a coefficient Kmng depending on how many times before the output or how many times before the output, and the integrated value and the current output of the command generator. And a value multiplied by a coefficient Kmng accordingly, and a value obtained by multiplying this total value by a gain Gm is calculated as a correction value of the movement amount for the delay of the actual robot operation with respect to the command value. And a device.

【0007】さらに、本発明はロボットのアームが重力
に対して逆らう方向に動作するか重力方向に動作するか
水平方向に動作するかのいずれかを判別して補正値計算
装置が補正値を計算するときに用いる係数Kmngを求
め補正値計算装置に出力する係数選択装置を備えたもの
であり、また、指令発生装置の出力が入力される第1の
入力と補正値計算装置の出力が入力される第2の入力を
有し指令発生装置から入力された第1の入力により動作
する偏差量計算装置の出力にゲインGpを掛けたもの
と、補正値計算装置から入力された第2の入力との和を
速度指令として速度制御装置に出力する位置制御装置を
備えたものである。
Further, according to the present invention, the correction value calculating device calculates the correction value by discriminating whether the arm of the robot operates in a direction against gravity, in the direction of gravity, or in the horizontal direction. A coefficient selecting device for obtaining a coefficient Kmng to be used for the calculation is output to the correction value calculating device. Further, the first input to which the output of the command generating device and the output of the correction value calculating device are input. And a second input input from the correction value calculation device, which is obtained by multiplying the output of the deviation amount calculation device operated by the first input input from the command generation device with a gain Gp, and a second input input from the correction value calculation device. The position control device that outputs the sum of the above to the speed control device as a speed command is provided.

【0008】[0008]

【作用】本発明は上記構成により、指令発生装置は、教
示内容にしたがってロボットの最終作用点が所望の速度
で所望の軌跡を描くようにロボットの各軸のモータの一
定時間あたりの回転量を計算し、補正値計算装置は、過
去の指令発生装置の出力と先行計算を行い将来出力され
る予定の指令発生装置の出力とにそれぞれ何回前の出力
かあるいは何回先の出力かに応じた係数Kmngを乗じ
て積分した値と現在の指令発生装置の出力にそれに応じ
た係数Kmngを乗じた値とを加え、この合計値にゲイ
ンGmを乗じた値を指令値に対して実際のロボットの動
作が遅れる分の移動量の補正値として計算する。このと
き係数Kmは、係数選択装置によって与えられる。係数
選択装置は、ロボットのアームが重力に対して逆らう方
向に動作するか重力方向に動作するか水平方向に動作す
るかのいずれかを判別して補正値計算装置が補正値を計
算するときに用いる係数Kmngを求め補正値計算装置
に出力する。
According to the present invention having the above-described structure, the command generator determines the rotation amount of the motor for each axis of the robot per given time so that the final action point of the robot draws a desired trajectory at a desired speed according to the teaching content. The correction value calculation device calculates the correction value according to the output of the past command generation device and the output of the command generation device that is expected to be output in the future, depending on how many outputs before or how many outputs ahead. A value obtained by multiplying the coefficient Kmng by multiplication and an integrated value and a value obtained by multiplying the current output of the command generator by a coefficient Kmng accordingly, and multiplying the total value by a gain Gm with respect to the command value Is calculated as a correction value of the movement amount for the delay of the operation. At this time, the coefficient Km is given by the coefficient selecting device. The coefficient selection device determines whether the robot arm operates in a direction against gravity, in the direction of gravity, or in the horizontal direction, and when the correction value calculation device calculates the correction value. The coefficient Kmng to be used is calculated and output to the correction value calculation device.

【0009】位置制御装置は、指令発生装置の出力が入
力される第1の入力と補正値計算装置の出力が入力され
る第2の入力を有し、上記第1の入力により動作する偏
差量計算装置の出力にゲインGpを乗じたものと、補正
値計算装置から入力された上記第2の入力との和を速度
指令とし速度制御装置に出力する。この速度制御装置
は、位置検出装置の出力の微分値から現在のモータの回
転速度を求め、指令された速度との差にゲインGvを乗
じた値を電流指令として電流制御装置に出力し、電流制
御装置は、指令された電流値とモータに流れる電流の差
を求め、ゲインGiを乗じた値からPWM出力を形成し
サーボアンプへ出力する。このように位置制御装置は、
第1の入力と第2の入力とから速度制御装置に対する速
度指令を形成するので、位置制御装置、速度制御装置、
電流制御装置のゲインを上げることなく、軌跡精度を改
善することが可能である。
The position control device has a first input to which the output of the command generation device is input and a second input to which the output of the correction value calculation device is input, and the deviation amount operated by the first input. The sum of the output of the calculation device multiplied by the gain Gp and the second input input from the correction value calculation device is output to the speed control device as a speed command. This speed control device obtains the current rotation speed of the motor from the differential value of the output of the position detection device, and outputs a value obtained by multiplying the difference from the commanded speed by the gain Gv to the current control device as a current command, and outputs the current The controller obtains the difference between the commanded current value and the current flowing through the motor, forms a PWM output from the value obtained by multiplying the gain Gi, and outputs the PWM output to the servo amplifier. In this way, the position control device
Since the speed command for the speed control device is formed from the first input and the second input, the position control device, the speed control device,
It is possible to improve the locus accuracy without increasing the gain of the current control device.

【0010】なお、位置検出装置は、ロボットの各軸の
モータに取付けられたモータの回転量を検出し偏差量計
算装置に出力し、偏差量計算装置は、指令発生装置から
の出力の積分値と位置検出装置からの出力の積分値の差
を計算する。
The position detecting device detects the rotation amount of the motor attached to the motor of each axis of the robot and outputs it to the deviation amount calculating device, and the deviation amount calculating device determines the integrated value of the output from the command generating device. And the difference between the integrated values of the output from the position detection device is calculated.

【0011】[0011]

【実施例】以下本発明の一実施例について図面を参照し
て説明する。図1は本発明の一実施例のロボットの制御
装置の構成を示すブロック図である。指令発生装置1
は、教示内容にしたがってロボットの最終作用点が所望
の速度で所望の軌跡を描くようにロボットの各軸のモー
タ7の一定時間あたりの回転量を計算し、最新の指令値
を補正値計算装置10に出力し、位置制御装置12へは最新
の指令値の1つの前の指令値を出力する。また、指令発
生装置1は、最新の指令値に対応したアームの動作が重
力に逆らう方向に動作するのか重力方向に動作するのか
水平方向に動作するのかを示す信号を係数選択装置11に
出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment 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 an embodiment of the present invention. Command generator 1
Calculates the amount of rotation of the motor 7 for each axis of the robot per given time so that the final action point of the robot draws a desired trajectory at a desired speed in accordance with the teaching content, and calculates the latest command value as a correction value calculation device. 10 and outputs to the position control device 12 a command value one before the latest command value. Further, the command generation device 1 outputs to the coefficient selection device 11 a signal indicating whether the operation of the arm corresponding to the latest command value operates in a direction against gravity, in the gravity direction, or in the horizontal direction. ..

【0012】本実施例においては、係数選択装置11は、
図2に示すように、最新の指令値(n=+1)から5回
前の指令値(n=−4)までさかのぼって各軸に対応す
る係数Kmngを求め、補正値計算装置10に出力する。
ここで添字のmはロボットの軸番号を示す。nは指令値
の順番を示し、n=+1のときは最新の指令値であり、
n=0のときは今回位置制御装置12に出力される指令値
である。同様にしてn=−1は位置制御装置12に前回出
力された指令値、n=−2は2回前、n=−3は3回
前、n=−4は4回前に位置制御装置12に出力された指
令値を示す。gはアームの動作方向を示す。したがって
36個の係数Kmngが補正値計算装置10出力される。
In this embodiment, the coefficient selecting device 11 is
As shown in FIG. 2, the coefficient Kmng corresponding to each axis is obtained by tracing back from the latest command value (n = + 1) to the command value five times before (n = -4), and outputs it to the correction value calculation device 10. ..
Here, the subscript m indicates the axis number of the robot. n indicates the order of command values, and when n = + 1 is the latest command value,
When n = 0, the command value is output to the position control device 12 this time. Similarly, n = -1 is the command value previously output to the position control device 12, n = -2 is two times before, n = -3 is three times before, and n = -4 is four times before. The command value output to 12 is shown. g indicates the movement direction of the arm. Therefore
36 coefficients Kmng are output from the correction value calculation device 10.

【0013】補正値計算装置10は位置制御装置12の第2
の入力に入力する補正値Amを(数1)のように計算す
る。
The correction value calculation device 10 is a second control device of the position control device 12.
The correction value Am input to the input of is calculated as in (Equation 1).

【0014】[0014]

【数1】 Am=Gm×(Km,+1,g×θm,+1+Km,0,g×θm,0+ Km,−1,g×θm,−1+Km,−2,g×θm,−2+ Km,−3,g×θm,−3+Km,−4,g×θm,−4) ここで、Amは補正値を示す。Gmは各軸毎に定められ
たゲインを示す。θmnは指令発生装置1が出力した指
令値である。添字のmはロボットの軸番号、nは指令値
の順番である。したがって補正値計算装置10は各軸の最
新の指令値と過去5回分の指令値を記憶する機能を有し
ている。
## EQU1 ## Am = Gm × (Km, + 1, g × θm, + 1 + Km, 0, g × θm, 0 + Km, -1, g × θm, -1 + Km, -2, g × θm, -2 + Km,- 3, g × θm, −3 + Km, −4, g × θm, −4) where Am represents a correction value. Gm represents the gain determined for each axis. θmn is a command value output by the command generator 1. The subscript m is the robot axis number, and n is the order of command values. Therefore, the correction value calculation device 10 has a function of storing the latest command value for each axis and the command values for the past five times.

【0015】指令発生装置1の出力は位置制御装置12の
第1の入力を通って偏差量計算装置3に入力され、指令
値の積分値と位置検出装置8の出力の積分値との差にゲ
インGpが乗ぜられる。この値と、第2の入力である補
正値Amとが加算され、この加算された値が速度制御装
置4への指令として出力され、以後は従来と同様にモー
タ7を回転させロボットのアームを移動させる。
The output of the command generation device 1 is input to the deviation amount calculation device 3 through the first input of the position control device 12, and the difference between the integrated value of the command value and the integrated value of the output of the position detection device 8 is calculated. The gain Gp is multiplied. This value is added to the correction value Am that is the second input, and the added value is output as a command to the speed control device 4. Thereafter, the motor 7 is rotated and the robot arm is moved in the same manner as in the conventional case. To move.

【0016】すなわち、速度制御装置4は、位置検出装
置8の出力の微分値から現在のモータ7の回転速度を求
め、指令された速度との差にゲインGvを乗じた値を電
流指令として電流制御装置5に出力し、電流制御装置5
は、指令された電流値とモータ7に流れる電流の差を求
め、ゲインGiを乗じた値からPWM出力を形成し、サ
ーボアンプ6へ出力する。サーボアンプ6はPWM出力
にしたがってモータ7に電流を流し、モータ7を回転さ
せる。
That is, the speed control device 4 obtains the current rotation speed of the motor 7 from the differential value of the output of the position detection device 8, and the value obtained by multiplying the difference from the commanded speed by the gain Gv is used as the current command. Output to the controller 5 and the current controller 5
Calculates the difference between the commanded current value and the current flowing through the motor 7, multiplies the gain Gi to form a PWM output, and outputs the PWM output to the servo amplifier 6. The servo amplifier 6 supplies a current to the motor 7 according to the PWM output to rotate the motor 7.

【0017】図3は本実施例をコンピュータを用いて実
現した構成の要部ブロック図である。ユニットA13は、
指令発生装置1、補正値計算装置10、係数選択装置11を
構成している。CPU−A18はROM−A20に記述され
た手順にしたがって指令値を計算する。このとき同時に
ロボットのアームの動作方向が前述した手順に示された
順運動学問題を解く過程で求められる。浮動少数点演算
器を示すFPU19はこの演算を実行する際、浮動少数点
演算を大量に行うため必要となる。図2に示されるKm
ngのテーブルはROM−A20に記憶されており、指令
値とアームの運動方向および軸番号から値Kmngを決
定する。補正値を計算する際必要となる過去の指令値は
RAM−A21に記憶される。CPU−A18はROM−A
20から係数KmngとゲインGmを読みだし、RAM−
A21から指令値を読みだし、(数1)の計算にしたがっ
て補正値Amを算出する。
FIG. 3 is a block diagram of a main part of a configuration in which this embodiment is realized by using a computer. Unit A13 is
The command generation device 1, the correction value calculation device 10, and the coefficient selection device 11 are configured. The CPU-A18 calculates the command value according to the procedure described in the ROM-A20. At this time, at the same time, the motion direction of the arm of the robot is obtained in the process of solving the forward kinematics problem shown in the procedure described above. The FPU 19, which represents a floating point arithmetic unit, is required to perform a large amount of floating point arithmetic when executing this arithmetic operation. Km shown in FIG.
The ng table is stored in the ROM-A 20, and the value Kmng is determined from the command value, the arm movement direction and the axis number. The past command value required for calculating the correction value is stored in the RAM-A21. CPU-A18 is ROM-A
Read coefficient Kmng and gain Gm from 20, RAM-
The command value is read from A21, and the correction value Am is calculated according to the calculation of (Equation 1).

【0018】ユニットB14は位置制御装置12と偏差量計
算装置3を構成する。デュアルポートRAM25は位置制
御装置12に入力された第1の入力と第2の入力を記憶す
る。それぞれの入力はデュアルポートRAM25のアドレ
スA番地とB番地に割り当てられる。CPU−B22はR
OM−B23に記憶された手順にしたがって速度指令値を
計算する。CPU−B22はアドレスA番地に入力された
指令値をRAM−B24内の指令カウンタに加算し積分し
て行く。また、ユニットC15内のカウンタ29をバス調停
回路28を介して読み取り、位置検出装置8を構成するロ
ータリーエンコーダ17からの出力をRAM−B24内の位
置カウンタに加算し積分して行く。指令カウンタの値か
ら位置カウンタの値を引いた値はRAM−B24内の偏差
カウンタに記憶される。この偏差カウンタの値にゲイン
Gmを乗じた値にアドレスB番地から読み取った補正値
Amを加算し、この値を速度指令としてユニットC15の
RAM−C27に書きこむ。
The unit B14 constitutes the position control device 12 and the deviation amount calculation device 3. The dual port RAM 25 stores the first input and the second input input to the position controller 12. Each input is assigned to the addresses A and B of the dual port RAM 25. CPU-B22 is R
The speed command value is calculated according to the procedure stored in OM-B23. The CPU-B22 adds the command value input at the address A to the command counter in the RAM-B24 and integrates it. Further, the counter 29 in the unit C15 is read via the bus arbitration circuit 28, and the output from the rotary encoder 17 constituting the position detecting device 8 is added to the position counter in the RAM-B24 and integrated. The value obtained by subtracting the value of the position counter from the value of the command counter is stored in the deviation counter in the RAM-B24. The correction value Am read from the address B is added to the value obtained by multiplying the value of the deviation counter by the gain Gm, and this value is written in the RAM-C27 of the unit C15 as a speed command.

【0019】ユニットC15は速度制御装置4と電流制御
装置5を構成する。CPU−C26はROMを持たずCP
U−B22によってROM−B23内に納められたプログラ
ムをバス調停回路28を介してRAM−C27に書き込んで
もらい、そのプログラムにしたがって動作する。一定時
間内のカウンタ29の値の変化量からモータ7の回転速度
を検出する。その値と速度指令値の差から電流指令値が
求められる。電流検出装置9として取付けられたCT16
の出力はA/Dコンバータ31によってデジタル値に変換
され、モータ7に流れる電流値が検出される。その値と
電流指令値から求められた値をPWM発生装置30に入力
しその出力によってサーボアンプ6を動作させ、モータ
7を回転させてロボットのアームを動作させる。
The unit C15 constitutes the speed controller 4 and the current controller 5. CPU-C26 has no ROM and CP
The program stored in the ROM-B23 by the U-B22 is written into the RAM-C27 via the bus arbitration circuit 28, and the program operates according to the program. The rotation speed of the motor 7 is detected from the amount of change in the value of the counter 29 within a fixed time. The current command value is obtained from the difference between the value and the speed command value. CT16 mounted as current detector 9
Is converted into a digital value by the A / D converter 31, and the current value flowing through the motor 7 is detected. The value obtained from the value and the current command value is input to the PWM generator 30, and the servo amplifier 6 is operated by the output, and the motor 7 is rotated to operate the arm of the robot.

【0020】図4は補正値計算装置10における補正値A
mを求める手順を示したフローチャートである。ステッ
プAにおいて、アームの動作方向に応じた係数Kmng
をROM−A20から読みだす。ステップBにおいて、
(数1)の計算を実行し補正値Amを求める。ステップ
Cにおいて、デュアルポートRAM25のアドレスB番地
に書き込む。
FIG. 4 shows the correction value A in the correction value calculation device 10.
7 is a flowchart showing a procedure for obtaining m. In step A, the coefficient Kmng according to the arm movement direction
From ROM-A20. In step B,
The calculation of (Equation 1) is executed to obtain the correction value Am. In step C, the address B of the dual port RAM 25 is written.

【0021】図5は位置制御装置12の動作の手順を示し
たフローチャートである。ステップDにおいて、デュア
ルポートRAM25のアドレスA番地に入力された指令値
をRAM−B24内の指令カウンタに加算する。ステップ
Eにおいて、ロータリーエンコーダ17の出力をカウンタ
29から読みだしRAM−B24内の位置カウンタに加算す
る。ステップFでは、指令カウンタの値から位置カウン
タの値を減算した値をRAM−B24内の偏差カウンタに
保存する。ステップGでは、偏差カウンタの値にゲイン
Gmを乗じた値にデュアルポートRAM25のアドレスB
番地から読みだした補正値Amを加算し、この加算した
値を速度制御装置4に出力する。ロボットの動作中、こ
の処理が繰返される。
FIG. 5 is a flow chart showing the operation procedure of the position control device 12. In step D, the command value input to the address A of the dual port RAM 25 is added to the command counter in the RAM-B24. In step E, the output of the rotary encoder 17 is counted
It is read from 29 and added to the position counter in RAM-B24. At step F, the value obtained by subtracting the value of the position counter from the value of the command counter is stored in the deviation counter in the RAM-B24. At step G, the value obtained by multiplying the value of the deviation counter by the gain Gm is added to the address B of the dual port RAM 25.
The correction value Am read from the address is added, and the added value is output to the speed control device 4. This process is repeated during the operation of the robot.

【0022】[0022]

【発明の効果】以上のように、本発明のロボットの制御
装置によれば、位置制御装置、速度制御装置、電流制御
装置のゲインを上げることなく軌跡精度を改善すること
が可能であり、切断などの高軌跡精度を要求するアプリ
ケーションに対してロボットを適応させることができ、
安価で汎用性にとんだ切断装置などの提供が可能とな
る。
As described above, according to the robot controller of the present invention, it is possible to improve the trajectory accuracy without increasing the gains of the position controller, the speed controller, and the current controller, and the cutting is performed. The robot can be adapted to applications that require high trajectory accuracy, such as
It is possible to provide a cutting device that is inexpensive and versatile.

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

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

【図2】本発明の一実施例のロボットの制御装置におけ
る定数計算装置が値Kmngを求めるのに参照するテー
ブルを説明するための図である。
FIG. 2 is a diagram for explaining a table to be referred to when a constant calculation device in a robot control device according to an embodiment of the present invention obtains a value Kmng.

【図3】本発明の一実施例のロボットの制御装置をコン
ピュータを用いて実現した構成の要部ブロック図であ
る。
FIG. 3 is a block diagram of a main part of a configuration in which a robot control device according to an embodiment of the present invention is realized using a computer.

【図4】本発明の一実施例のロボットの制御装置におけ
る補正値を求める手順を示したフローチャートである。
FIG. 4 is a flowchart showing a procedure for obtaining a correction value in the robot controller according to the embodiment of the present invention.

【図5】本発明の一実施例のロボットの制御装置の位置
制御装置における動作の手順を示したフローチャートで
ある。
FIG. 5 is a flowchart showing an operation procedure in the position control device of the robot control device according to the embodiment of the present invention.

【図6】従来のロボットの制御装置の構成を示すブロッ
ク図である。
FIG. 6 is a block diagram showing a configuration of a conventional robot controller.

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

1 指令発生装置 3 偏差量計算装置 4 速度制御装置 5 電流制御装置 6 サーボアンプ 7 モータ 8 位置検出装置 10 補正値計算装置 11 係数選択装置 12 位置制御装置 1 command generation device 3 deviation amount calculation device 4 speed control device 5 current control device 6 servo amplifier 7 motor 8 position detection device 10 correction value calculation device 11 coefficient selection device 12 position control device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 教示した内容を記憶しこの教示内容にし
たがってロボットを動作させるロボットの制御装置であ
って、教示内容にしたがってロボットの最終作用点が所
望の速度で所望の軌跡を描くようにロボットの各軸のモ
ータの一定時間あたりの回転量を計算する指令発生装置
と、ロボットの各軸のモータに取付けられてモータの回
転量を検出する位置検出装置と、指令発生装置からの出
力の積分値と位置検出装置からの出力の積分値の差を計
算する偏差量計算装置と、過去の指令発生装置の出力と
先行計算を行い将来出力される予定の指令発生装置の出
力とにそれぞれ何回前の出力かあるいは何回先の出力か
に応じた係数Kmngを乗じて積分した値と現在の指令
発生装置の出力にそれに応じた係数Kmngを乗じた値
とを加え、この合計値にゲインGmを乗じた値を指令値
に対して実際のロボットの動作が遅れる分の移動量の補
正値として計算する補正値計算装置を具備するロボット
の制御装置。
1. A controller for a robot, which stores teaching contents and operates a robot according to the teaching contents, wherein the robot has a final action point draw a desired locus at a desired speed in accordance with the teaching contents. Command generator that calculates the amount of rotation of the motor of each axis per unit time, a position detector that is attached to the motor of each axis of the robot to detect the amount of rotation of the motor, and the integration of the output from the command generator. How many times each for the deviation amount calculation device that calculates the difference between the value and the integrated value of the output from the position detection device, and the output of the past command generation device and the output of the command generation device that is expected to be output in the future by performing the preceding calculation. Add the value obtained by multiplying and integrating the coefficient Kmng according to the previous output or the number of times of the output and the value obtained by multiplying the current output of the command generator by the coefficient Kmng accordingly A control device for a robot, comprising a correction value calculation device for calculating a value obtained by multiplying a value by a gain Gm as a correction value for a movement amount corresponding to a delay in actual robot operation with respect to a command value.
【請求項2】 ロボットのアームが重力に対して逆らう
方向に動作するか重力方向に動作するか水平方向に動作
するかのいずれかを判別して補正値計算装置が補正値を
計算するときに用いる係数Kmngを求め補正値計算装
置に出力する係数選択装置を具備した請求項1記載のロ
ボットの制御装置。
2. The correction value calculation device calculates the correction value by determining whether the arm of the robot moves in a direction against gravity, moves in the direction of gravity, or moves in the horizontal direction. 2. The controller of the robot according to claim 1, further comprising a coefficient selecting device which calculates a coefficient Kmng to be used and outputs it to a correction value calculating device.
【請求項3】 指令発生装置の出力が入力される第1の
入力と補正指令発生装置の出力が入力される第2の入力
を有し、指令発生装置から入力された第1の入力により
動作する偏差量計算装置に出力のゲインGpを掛けたも
のと、補正指令発生装置から入力された第2の入力との
和を速度指令とする位置制御装置を具備した請求項1記
載のロボットの制御装置。
3. A first input to which the output of the command generator is input and a second input to which the output of the correction command generator is input, and the operation is performed by the first input input from the command generator. The control of the robot according to claim 1, further comprising a position control device that uses a sum of a deviation amount calculation device multiplied by an output gain Gp and a second input input from the correction command generation device as a speed command. apparatus.
JP5985292A 1992-03-17 1992-03-17 Controller for robot Pending JPH05265563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5985292A JPH05265563A (en) 1992-03-17 1992-03-17 Controller for robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5985292A JPH05265563A (en) 1992-03-17 1992-03-17 Controller for robot

Publications (1)

Publication Number Publication Date
JPH05265563A true JPH05265563A (en) 1993-10-15

Family

ID=13125143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5985292A Pending JPH05265563A (en) 1992-03-17 1992-03-17 Controller for robot

Country Status (1)

Country Link
JP (1) JPH05265563A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018097722A (en) * 2016-12-15 2018-06-21 三菱重工業株式会社 Control device, control method, and program
DE102019006748B4 (en) 2018-10-03 2023-03-30 Fanuc Corporation ROBOT TEACHING DEVICE, ROBOT TEACHING METHOD AND METHOD FOR STORING AN OPERATING INSTRUCTION

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018097722A (en) * 2016-12-15 2018-06-21 三菱重工業株式会社 Control device, control method, and program
DE102019006748B4 (en) 2018-10-03 2023-03-30 Fanuc Corporation ROBOT TEACHING DEVICE, ROBOT TEACHING METHOD AND METHOD FOR STORING AN OPERATING INSTRUCTION

Similar Documents

Publication Publication Date Title
CN109483529B (en) Mechanical arm servo control method, system and device based on spiral theory
JP2004280772A (en) Servo motor drive control device
US4985668A (en) Robot controller
JPH10249597A (en) Motor torque controlling method in press machine and press machine therefor
JPS63229506A (en) Output system for axis speed
JP2003241811A (en) Method and apparatus for planning path of industrial robot
JP2011113475A (en) Numerical control device and machine tool including the numerical control device
JPH05265563A (en) Controller for robot
JPH05111889A (en) Control of variable control type robot
JP3917094B2 (en) Motor control method and apparatus
JP4664576B2 (en) Servo control device
JP2006018431A (en) Servo control device
JP2001051722A (en) Controller
EP0605909B1 (en) Controller
JPS61251915A (en) Moving body control system
JPS6010309A (en) Method for interpolating path of robot hand
JP2515549B2 (en) Arc trajectory control device for multi-axis servo mechanism
JPH06289918A (en) Method for controlling learning of robot
JPS6324402A (en) Locus control device for robot
JP2003345402A (en) Position control device
JP2000148250A (en) Servo controller
TWI646772B (en) Phase calibrating circuit and method
JP2728260B2 (en) Servo control device
JPH05143106A (en) Stage control device
JPS6316304A (en) Numerical controller