JPS61148507A - Control device of robot - Google Patents

Control device of robot

Info

Publication number
JPS61148507A
JPS61148507A JP27097384A JP27097384A JPS61148507A JP S61148507 A JPS61148507 A JP S61148507A JP 27097384 A JP27097384 A JP 27097384A JP 27097384 A JP27097384 A JP 27097384A JP S61148507 A JPS61148507 A JP S61148507A
Authority
JP
Japan
Prior art keywords
command value
coefficient
value
robot
speed
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
JP27097384A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Yabe
矢部 芳之
Tomohiko Noda
野田 朋彦
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP27097384A priority Critical patent/JPS61148507A/en
Publication of JPS61148507A publication Critical patent/JPS61148507A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/416Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control of velocity, acceleration or deceleration
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/41Servomotor, servo controller till figures
    • G05B2219/41437Feedforward of speed

Abstract

PURPOSE:To always optimize a coefficient of forecasting speed by correcting successively the coefficient of forecasting speed, based on a hysteresis data which has been stored this time and a hysteresis data which has been stored in the previous time. CONSTITUTION:A target speed command value VCP from a central processing part 1 is updated and stored successively in a target speed command value data latch 2, and a forecasting speed coefficient MTCn is updated and stored in a forecasting speed coefficient data latch 3. A data entry switch 4 for setting a position correcting coefficient outputs a position correcting coefficient delta which has been set by operating a switch. A target position command value PCP is updated successively in a target position command value data latch 5, and a present position value PP from a pulse counter 9 which is detecting a present position of a movable part by counting a feedback pulse FP in accordance with a rotational direction of a driving motor 7 is updated and stored successively in a present position value data latch 6. In this way, the coefficient of forecasting speed is corrected successively, based on the target position command value of the time of a necessary operation, which has been detected whenever a movable part of a robot is brought to a necessary operation, the present position value, and the present time and the previous time of a hysteresis of the position deviation.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、目標速度指令値に予測速度係数を乗算して
得た値に基づく速度指令値に応じてロボットの可動部を
駆動制御するようにしたロボットの制御装置の改良技術
に関する。
[Detailed Description of the Invention] [Industrial Application Field] This invention provides a method for driving and controlling the movable parts of a robot in accordance with a speed command value based on a value obtained by multiplying a target speed command value by a predicted speed coefficient. This paper relates to improved technology for robot control devices.

〔従来の技術〕[Conventional technology]

従来、ロボットの可動部を駆動制御するための速度指令
値を0式によって算出するようにしたロボットの制御装
置が知られている。
2. Description of the Related Art Conventionally, a robot control device is known that calculates a speed command value for driving and controlling a movable part of a robot using the formula 0.

Q隙虻m令1υ=(目横−療l雀令IDX(予浸p痘炙
圃+〔(目標位置指令値4−(呼薩百立■:iりIX(
位置補正検相0・・・・・・・・・■ ここで、予測速度係数(ゲイン)とは、目標速度指令値
と、サーボ制御駆動系のハードウェアの制御能力や駆動
モータを含むロボット本体機構部の厚動能力などに基づ
くロボット可動部(あるいは駆動モータ)の実速度値と
の間の相関係数のことで1位置補正係数とは目標位置指
令値と現在位置値との位置偏差を減らすための速度指令
値補正係数(ゲイン)のことであり、各々ロボットの制
御装置に設けた係数データ設定用のデータエンドスイッ
チなどを予め操作することによって設定するようになっ
ている。
Q gap m order 1υ = (me side - treatment IDX (pre-soak pox roasted field +
Position correction phase detection 0......■ Here, the predicted speed coefficient (gain) refers to the target speed command value, the control ability of the hardware of the servo control drive system, and the robot body including the drive motor. It is a correlation coefficient between the actual speed value of the robot movable part (or drive motor) based on the thick movement capacity of the mechanism part, etc. 1 position correction coefficient is the position deviation between the target position command value and the current position value. This refers to a speed command value correction coefficient (gain) for decreasing the speed command value, and is set by operating a data end switch for setting coefficient data provided in each robot's control device in advance.

〔発明が解決しようとする問題点〕   −ところで、
上記のような従来のロボットの制御装置においては、予
測速度係数をデータエントリスイッチによって固定的に
設定するようになっているため、次のような問題があっ
た。
[Problem to be solved by the invention] -By the way,
In the conventional robot control device as described above, the predicted speed coefficient is fixedly set by a data entry switch, which causes the following problems.

すなわち、ロボット本体機構部やサーボ制御駆動系のハ
ードウェアは経年変化するばかりか、サーボ制御駆動系
のバードアウェアの方は電子回路のため、環境温度に影
響されて制御値が温度ドリフトするので、データエント
リスイッチによって予測速度係数を固定的に設定してし
まうと目標速度指令値と実速度値との間の相関関係の、
微妙な変化に対応できないと云う問題点があった。
In other words, not only do the robot main body mechanisms and the hardware of the servo control drive system change over time, but the birdware of the servo control drive system is an electronic circuit, so the control values are subject to temperature drift due to the influence of the environmental temperature. If the predicted speed coefficient is set fixedly by the data entry switch, the correlation between the target speed command value and the actual speed value will be
The problem was that it could not respond to subtle changes.

また、その相関関係の変化に起因してロボットの動作が
再集しくなったことが認識されて、予測速度係数を設定
し直そうとする場合、生産ラインで稼動中のロボットで
はラインを態々停止しなければならないなどの問題もあ
った。
In addition, if it is recognized that the robot's motion has become difficult to regroup due to a change in the correlation, and the predicted speed coefficient is reset, the robot that is currently operating on the production line will stop the line. There were also issues such as what I had to do.

この発明は、上記のような問題の解決を図ろうとするも
のである。
This invention attempts to solve the above problems.

〔問題点を解決するための手段〕[Means for solving problems]

そこで、この発明では第1図に示すように、前述したよ
うな目標速度指令値に予測速度係数を乗算して得た値に
基づく速度指令値に応じてロボットの可動部を駆動制御
するようにしたロボットの制御装置Aにおいて、ロボッ
トの可動部を所要動作させる毎にその所要動作時の目標
位置指令値と現在位置値との位置偏差の履歴を検出する
履歴検出手段Bと、この履歴検出手段Bによって検出し
た位置偏差の履歴を記憶する記憶手段Cと、この記憶手
段Cに今回記憶された履歴データと前回記憶された履歴
データとに基づいて予測速度係数を逐次補正する補正手
段りとを設けて構成する。
Therefore, in the present invention, as shown in FIG. 1, the movable parts of the robot are controlled in accordance with a speed command value based on a value obtained by multiplying the target speed command value as described above by a predicted speed coefficient. The control device A for the robot includes a history detecting means B for detecting a history of positional deviation between a target position command value and a current position value at the time of the required operation each time a movable part of the robot is operated as required, and this history detecting means A storage means C for storing the history of the positional deviation detected by B, and a correction means for sequentially correcting the predicted speed coefficient based on the history data stored this time and the history data stored last time in the storage means C. Establish and configure.

〔作 用〕[For production]

このような構成では、履歴検出手段Bが位置偏差の履歴
を検出する毎にその検出した履歴が記憶手段Cに記憶さ
れる一方、補正手段りが記憶手段Cに今回記憶された履
歴データと前回記憶された履歴データに基づいて予測速
度係数を逐次補正するため、予測速度係数を常に最適に
することができる。
In such a configuration, each time the history detection means B detects the history of positional deviation, the detected history is stored in the storage means C, while the correction means stores the history data stored in the storage means C this time and the previous time. Since the predicted speed coefficient is sequentially corrected based on the stored history data, the predicted speed coefficient can always be optimized.

〔実 施 例〕〔Example〕

以下、この発明の実施例を図面の第2図及び・第3図を
参照しながら説明する。
Embodiments of the present invention will be described below with reference to FIGS. 2 and 3 of the drawings.

第2図は、この発明の一実施例を示すブロック構成図で
ある。
FIG. 2 is a block diagram showing an embodiment of the present invention.

この第2図に示すロボットの制御装置は1図示しない複
数の可動部からなる1軸ロボツトを制御するものである
が、−軸分を代表して図示してあり、以下の説明ではそ
の二゛軸分のみを説明する。
The robot control device shown in FIG. 2 controls a one-axis robot consisting of a plurality of moving parts (not shown), but the -axis is shown as a representative, and the following explanation will focus on the two Only the axis will be explained.

但し、他の輔に関しても、・下記説明に供せられる軸と
全く同様のことが云えることは無論である。。
However, it goes without saying that the same thing can be said about the other axes as explained below. .

同図中、1は中央処理部であり、マイクロコンピュータ
とティーチデータ′記憶用メモ”り等とによってシステ
ム構成されている。   ・こ−の中央処理部1は、ロ
ボットを駆動制御する上での各種の機能の他に、後述す
るプログラムを実行することによって、この発〜明に係
る履歴検出機能、記憶機能、及び補正機能などの役目を
果す。
In the figure, numeral 1 is a central processing unit, and the system is composed of a microcomputer and a memo for storing teaching data. In addition to various functions, by executing a program to be described later, it serves as a history detection function, a storage function, a correction function, etc. according to the present invention.

そして、この中央処理部1には、ロボットの可動部(軸
)の現在位置値ppが逐次入力され、又この中央処理部
1からは目標速度指令値vCPと、予測速度係数M V
 Cnと、目標位置指令値PCP等とが逐次出力される
The central processing unit 1 is sequentially inputted with the current position value pp of the movable part (axis) of the robot, and the central processing unit 1 is also inputted with the target speed command value vCP and the predicted speed coefficient M V
Cn, target position command value PCP, etc. are sequentially output.

2は目標速度指令値データラッチであり、中央処理部1
からの目標速度指令値vcp′が逐次更新記憶される。
2 is a target speed command value data latch, and central processing unit 1
The target speed command value vcp' from is sequentially updated and stored.

3は予測速度係数データラッチであり、中央処理部1か
らの予測速度係数M V Cnが更新記憶される。
3 is a predicted speed coefficient data latch in which the predicted speed coefficient M V Cn from the central processing unit 1 is updated and stored.

4は位置補正係数設定用のデータエントリスイッチであ
り、スイッチ操作によって設定した位置補正係数δを出
力する。
4 is a data entry switch for setting a position correction coefficient, and outputs the position correction coefficient δ set by switch operation.

5は目標位置指令値データラッチであり、中央処理部1
からの目標位置指令値PCPが逐次更新記憶される。
5 is a target position command value data latch, and the central processing unit 1
The target position command value PCP from is sequentially updated and stored.

6は現在位置値データラッチであり、図示しないロボッ
トの可動部を動かす駆動モータ7の出力軸に取り付けた
パルスジェネレータ(パルスエンコーグ)8からのフィ
ードバックパルスFPを駆動モータ7の回転方向に応じ
てアップ又はダウンカウントすることによって可動部の
現在位置を検出しているパルスカウンタSからの現在位
置値PPが逐次更新記憶さ′れる。
Reference numeral 6 denotes a current position value data latch, which outputs a feedback pulse FP from a pulse generator (pulse encoder) 8 attached to the output shaft of a drive motor 7 that moves the movable parts of the robot (not shown) according to the rotational direction of the drive motor 7. The current position value PP from the pulse counter S, which detects the current position of the movable part by counting up or down, is successively updated and stored.

なお、この現在位置値データラッチ6にラッチされてい
る現在位置値PPが中央処理部1に入力されるようにな
っている・ 10は速度指令値演算部であり、実際にはマイクロコン
ピュータによってシステム構成されているが、その機能
をハードブロック化して示すと乗算器11.減算器12
9乗算器13.及び加算器14からなる。
The current position value PP latched in the current position value data latch 6 is input to the central processing unit 1. 10 is a speed command value calculation unit, which is actually controlled by the system by a microcomputer. Its functions are shown as a hard block: a multiplier 11. Subtractor 12
9 multiplier 13. and an adder 14.

そして、この速度指令値演算部10は、目標速度指令値
データラッチ2からの目標速度指令値vcp、予測速度
係数データラッチからの予測速度係数MVCn 、デー
タエントリスイッチ4からの位置補正係数δ、目標位置
指令値データラッチ5からの目標位置指令値pcp、及
び現在位置値データラッチ6からの現在位置値PPを夫
々、入力して、前述した0式の演算を行なうことにより
速度指令値Vxを算出して出力する。
Then, this speed command value calculation unit 10 calculates the target speed command value vcp from the target speed command value data latch 2, the predicted speed coefficient MVCn from the predicted speed coefficient data latch, the position correction coefficient δ from the data entry switch 4, the target The speed command value Vx is calculated by inputting the target position command value pcp from the position command value data latch 5 and the current position value PP from the current position value data latch 6, and performing the calculation of the above-mentioned formula 0. and output it.

すナワち、乗算器11がVCPXMVCnを、減算器1
2がPCP−PPを、乗算器13が(Pcp−pp)x
sを、加算m14がVCPXMVCn+ (PCP−P
P)Xδを夫々演算するようになっており、最後の加算
器14の演算結果であるVCPXMVCn+ (PCP
−PP) XδをVxとして出力する。
Multiplier 11 outputs VCPXMVCn, and subtracter 1 outputs VCPXMVCn.
2 is PCP-PP, and multiplier 13 is (Pcp-pp)x
s, addition m14 is VCPXMVCn+ (PCP-P
P)
-PP) Outputs Xδ as Vx.

15は速度指令値データラッチであり、速度指令値演算
部10からの速度指令値Vxが逐次更新記憶される。
Reference numeral 15 denotes a speed command value data latch in which the speed command value Vx from the speed command value calculating section 10 is sequentially updated and stored.

16はD/A変換器であり、速度指令値データラッチ1
5からの速度指令値Vxをアナログの速度指令信号Sx
にデジタル/アナログ変換して出力する。
16 is a D/A converter, and speed command value data latch 1
The speed command value Vx from 5 is converted into an analog speed command signal Sx
Digital/analog conversion is performed and output.

17はF/V変換器であり、パルスジェネレータ8から
のフィードバックパルスFPの周波数を電圧信号に変換
することにより、駆動モータ7乃至ロボット可動部の実
速度を検出して実速度信号Svとして出力する。
Reference numeral 17 denotes an F/V converter, which converts the frequency of the feedback pulse FP from the pulse generator 8 into a voltage signal, detects the actual speed of the drive motor 7 or the robot movable part, and outputs it as an actual speed signal Sv. .

18はサーボアンプであり、D/A変換器16からの速
度指令信号SxとF/V変換器17からの実速度信号S
vとの偏差に基づく駆動電流を駆動モータ7に出力する
18 is a servo amplifier, which receives the speed command signal Sx from the D/A converter 16 and the actual speed signal S from the F/V converter 17.
A drive current based on the deviation from v is output to the drive motor 7.

次に、上記のように構成した実施例の作用を第3図のフ
ロー図をも参照しながら説明する。
Next, the operation of the embodiment configured as described above will be explained with reference to the flow diagram of FIG.

但し、以下の説明の前提として、本制御装置によって駆
動制御されるロボットは、所定の生産ラインに設置され
て、所要動作を繰り返すものとし。
However, the following explanation assumes that the robot driven and controlled by this control device is installed in a predetermined production line and repeats the required operations.

又中央処理部1から出力される目標位置指令値PCP及
び目標速度指令値vCPは、実際には所要の補間処理を
施された値であるが、その補間処理に就では説明を省略
する。
Further, the target position command value PCP and target speed command value vCP output from the central processing unit 1 are actually values that have been subjected to necessary interpolation processing, but a detailed explanation of the interpolation processing will be omitted.

中央処理部1を構成するマイクロコンピュータのCPU
は、第3図に示すように先ず次のようなサーボ処理を行
なう。
CPU of the microcomputer that constitutes the central processing unit 1
First, as shown in FIG. 3, the following servo processing is performed.

すなわち、ティーチデータ記憶用メモリのティーチデー
タに基づく目標位置指令値pcpを第2図の目標位置指
令値データラッチ5に書き込むと共に、今回の目標位置
指令値PCPから前回の目標位置指令値PCP (最初
はロボット可動部の原位置データ)を差し引いた値を両
目標位置間における移動時間で除算する演算を行なって
、その演算によって得た値に基づく目標速度指令値vc
pを目標速度指令値データラッチ2に書き込む。
That is, the target position command value pcp based on the teach data in the teach data storage memory is written into the target position command value data latch 5 in FIG. is the original position data of the robot movable part) and then divides the value by the travel time between both target positions, and the target speed command value vc is based on the value obtained by the calculation.
Write p to target speed command value data latch 2.

そして、第2図に示すサーボ制御駆動系やロボット本体
機構部の状態に応じて予め設定した予測速度係数MVC
nを予測速度係数データラッチ3に書き込むと共に、現
在位置値データラッチ6にラッチされているロボット可
動部の現在位置値ppを読み込んで、今回の目標位置指
令値PCPとの位置偏差ΔSを演算する。
Then, the predicted velocity coefficient MVC is set in advance according to the state of the servo control drive system and robot main body mechanism shown in Fig. 2.
n is written to the predicted speed coefficient data latch 3, and the current position value pp of the robot movable part latched to the current position value data latch 6 is read, and the position deviation ΔS from the current target position command value PCP is calculated. .

但し、予測速度係数データラッチ3に書き込まれた予測
速度係数M V Cnは、M V Cnが後述する補正
が加えられて変化しない限り更新されないものとする。
However, it is assumed that the predicted speed coefficient M V Cn written in the predicted speed coefficient data latch 3 is not updated unless M V Cn is changed by adding a correction to be described later.

このような一連のサーボ処理を行なった後、CPUはロ
ボット可動部の動作方向を例えばサーボ処理にて演算し
た目標位置指令値PCPの今回値と前回値との差の符号
をチェックすることによって判定し、動作方向が十の符
号に対応する方向(+方向)なら、初期値が零の子方向
レジスタの値(S n +)にサーボ処理にて演算した
位置偏差ΔSを加算する処理を行なう一方、動作方向が
−の符号に対する方向(一方向)なら、やはり初期値が
零の一方面レジスタの値(Sn−)に位置偏差ΔSを加
算する処理を行なう。
After performing such a series of servo processing, the CPU determines the movement direction of the robot movable part by checking the sign of the difference between the current value and the previous value of the target position command value PCP calculated by the servo processing. However, if the operating direction is the direction corresponding to the sign of 10 (+ direction), the position deviation ΔS calculated by servo processing is added to the value (S n +) of the child direction register whose initial value is zero. , if the operating direction is the direction with respect to the negative sign (unidirectional), then the process of adding the positional deviation ΔS to the value (Sn-) of the one-sided register whose initial value is zero is also performed.

そして、上記のサーボ処理から位置偏差ΔSの加算処理
までの各処理を、ロボット可動部が所要動作を−通り行
なって1サイクル動作が終了するまで繰り返す。
Then, each process from the servo process to the addition process of the positional deviation ΔS is repeated until the robot movable part performs the required motions and one cycle of motion is completed.

それによって、ロボット可動部は速度指令値演算部10
によって逐次演算される速度指令値Vxに応じて回動駆
動される駆動モータ7により、ティーチデータどおりに
動き、又+方向レジスタ及び一方向レジスタにはエサイ
クル動作における位置偏差ΔSの履歴を示す夫々の動作
方向に関するΔSの積算値ΣΔSが記憶される。
Thereby, the robot movable part is controlled by the speed command value calculation unit 10.
The drive motor 7, which is rotationally driven in accordance with the speed command value Vx sequentially calculated by An integrated value ΣΔS of ΔS regarding the movement direction is stored.

そして、■サイクルが終了したら、CPUは先ず子方向
レジスタの値(Sn + )の絶対値1 (Sn+) 
lと一方面レジスタの値(Sn −)の絶対値1(Sn
−)1との和を演算して、その演算結果を履歴レジスタ
Snに書き込む。なお、この書き込み処理終了後。
Then, when the ■cycle ends, the CPU first sets the absolute value 1 (Sn+) of the value (Sn+) of the child direction register.
The absolute value 1 (Sn
-) Calculate the sum with 1 and write the calculation result to the history register Sn. Note that after this writing process is completed.

(S n +)、 (S n −)は零値にリセットさ
れる。
(S n +) and (S n −) are reset to zero value.

次に、サーボ処理にて予測速度係数データラッチ3に書
き込んだ予測速度係数MVCn(今回値)と前回書き込
んだ予測速度係数MVCn (これをMVC旧と表記す
る)、及び履歴レジスタSnに今回書き込んだ値(これ
を(Sn)と表記する)と前回書き込んだ値(これを(
Sn−+)と表記する)に基づいて、 ((MVCn≧MVCn−+)A((Sn)<(Sr+
−+))) V ((MVCn<MVCn−+)A[(
Sn)≧(Sn−+)))ならば、今回の予測速度係数
M V Cnに予め定めた予測速度係数補正用の微小値
Δを加算して補正した値を次回の予測速度係数MVCn
とする処理を行ない、 ((MVCn≧MVCIM)△((Sn)≧(Sn−+
))) V ((MVCn<MVCn−+)△((Sn
)<(Sn−t)) )ならば、今回の予測速度係数M
VCnから上記微小値Δを減算して補正した値を次回の
予測速度係数M CV nとする処理を行なう。
Next, the predicted speed coefficient MVCn (current value) written to the predicted speed coefficient data latch 3 in the servo processing, the predicted speed coefficient MVCn written last time (this will be referred to as MVC old), and the predicted speed coefficient MVCn written this time to the history register Sn. value (this is written as (Sn)) and the value written last time (this is written as (Sn)).
Based on ((MVCn≧MVCn-+)A((Sn)<(Sr+
−+))) V ((MVCn<MVCn−+)A[(
If Sn)≧(Sn-+))), then the next predicted speed coefficient MVCn is the corrected value by adding a predetermined minute value Δ for correcting the predicted speed coefficient to the current predicted speed coefficient MVCn.
((MVCn≧MVCIM)△((Sn)≧(Sn-+
))) V ((MVCn<MVCn-+)△((Sn
)<(Sn-t)) ), then the current predicted speed coefficient M
A process is performed in which the above-mentioned minute value Δ is subtracted from VCn and the corrected value is set as the next predicted speed coefficient M CV n.

そして、この補正処理を行なった後、図示しない諸処層
を行なった後で、再び最初のサーボ処理から順に実行す
るように、第3図の各処理を繰り返し実行する。
After performing this correction process and performing various processes not shown in the drawings, each process in FIG. 3 is repeatedly executed in order from the first servo process.

これによって、ロボットが所要動作を繰り返すようにな
ると共に、次のような効果を奏する。
As a result, the robot can repeat the required movements, and the following effects can be achieved.

すなわち、ロボット本体機構部やサーボ制御駆動系のハ
ードウェアが未だ経年変化しておらず。
In other words, the hardware of the robot body mechanism and servo control drive system has not changed over time.

しかも制御系のハードウェアの環境温度も常温(室温)
で一定である場合は、予め定めた予測速度係数M V 
Cnが正しければ、ロボットはティーチデータに基づく
要求どおりに正しく動き、又同じ動作を繰り返している
限り、■サイクル動作終了毎に子方向レジスタ及び一方
向レジスタに夫々残る位置偏差ΔSの履歴データとして
の積算値ΣΔSは略一定であり、(S n)= l (
S n +) l +l (S n −) lも略一定
である。
Moreover, the environmental temperature of the control system hardware is normal temperature (room temperature).
is constant, the predetermined predicted speed coefficient M V
If Cn is correct, the robot moves correctly as requested based on the teach data, and as long as the same operation is repeated, ■ The position deviation ΔS remains in the child direction register and one direction register each time the cycle operation ends as historical data. The integrated value ΣΔS is approximately constant, and (S n) = l (
S n +) l +l (S n -) l is also approximately constant.

したがって、一番最初の1サイクル動作終了時は、 M
VCn =MVC:n−+  であり、又S n−+ 
= 0であるから、MVCnは微小値Δだけ減算される
補正処理が行なわれ、その次の1サイクル動作終了時は
 M V Cn < M V Cn−1(この時のM 
V Cn−+はM V CnよりΔだけ大きい)である
がS n ” S n−+であるため、M V Cnは
今度は微小値Δだけ加算される補正処理が行なわれて元
の値に戻る。
Therefore, at the end of the first cycle of operation, M
VCn = MVC: n-+ and S n-+
= 0, a correction process is performed in which MVCn is subtracted by the minute value Δ, and at the end of the next cycle of operation, M V Cn < M V Cn-1 (M V Cn at this time).
(V Cn-+ is larger than M V Cn by Δ), but since S n "S n-+, M V Cn is then subjected to a correction process in which only a minute value Δ is added, and returns to its original value. return.

そのため、この微小値Δだけ予測速度係数M V Cn
が変化してもロボットの動作に殆んど影響が出ないよう
にしておけば、ロボット及びその制御系が劣化せずその
環境温度も変化しない限りにおいては、ロボットは最初
に設定し°た予測速度係数MVC:nに略基づく速度指
令値Vxによって正しく動く。
Therefore, the predicted speed coefficient M V Cn is equal to this minute value Δ
As long as the robot's operation is not affected even if the temperature changes, and the robot and its control system do not deteriorate and the temperature of its environment does not change, the robot will follow the initial prediction. It moves correctly with the speed command value Vx approximately based on the speed coefficient MVC:n.

ところが、環境温度が大きく変化したり、ロボット本体
構成部やサーボ制御系のハードウェアが経年変化(劣化
)してくると、同じ動作を繰り返そうとしても指令値ど
おりに動かなくなるため、1サイクル動作終了毎に子方
向レジスタ及び一方向レジスタに夫々残る位置偏差ΔS
の履歴データとしての積算値ΣΔSも変化する。
However, if the environmental temperature changes significantly or the hardware of the robot main body components and servo control system deteriorates over time, even if you try to repeat the same operation, it will not move according to the command value, so one cycle operation Position deviation ΔS that remains in the child direction register and one-way register each time it ends
The integrated value ΣΔS as history data also changes.

例えば、+、一方向に夫々動いた時に各々目標位置より
も手前に動く傾向となった場合を考えてみると、この場
合には(Sn+)、(Sn  )とも正常な時より小さ
くなる。
For example, if we consider a case where, when moving in the + and one direction, each tends to move closer to the target position, in this case, both (Sn+) and (Sn) will be smaller than in the normal case.

したがって、その”ような傾向となっている場合には、
(Sn)=l(Sn+)I+1(Sn  )Iも前回の
(Sn−1)より小さくなり、この場合には(S n)
 < (Sn−+)が続いている限り、予測速度係数M
VCnは1サイクル動作毎に微小値Δずつ大きくなって
いく。
Therefore, if there is a tendency like that,
(Sn)=l(Sn+)I+1(Sn)I is also smaller than the previous (Sn-1), in this case (Sn)
< As long as (Sn-+) continues, the predicted speed coefficient M
VCn increases by a minute value Δ every cycle.

それによって、この微小値Δずつ大きくなってい< M
 V Cnに基づいて算出される速度指令値Vxも正規
の値より漸増変化するため、ロボットは徐々に正規の目
標位置まで正しく動くように自動調整される。
As a result, this minute value increases by Δ< M
Since the speed command value Vx calculated based on V Cn also gradually increases from the normal value, the robot is automatically adjusted to gradually move correctly to the normal target position.

勿論、上記傾向と逆の場合には、MVCnは1サイクル
動作毎に微小値Δずつ小さくなっていくにのようにして
、生産ラインを態々停止することなく予測速度係数M、
VCnを最適に補正することができる。
Of course, in the opposite case to the above trend, MVCn decreases by a minute value Δ every cycle, and the predicted speed coefficient M,
VCn can be optimally corrected.

なお、上記実施例では生産ラインで稼動中に予測速度係
数M V Cnをリアルタイムで補正するようにした例
に就で述べたが、この他に生産ラインのロボットが定期
的にメンテナンスされることを利用して、生産ラインで
稼動中の時にはM V Cnの゛補正処理を行なわずに
、メンテナンス時にロボットに所要動作を繰り返させる
トライアルを行なうようにして、そのトライアル時に第
3図の処理を実行して、ライン投入前にMVCnを最適
化するようにしても良い。
In the above embodiment, the predicted speed coefficient M V Cn is corrected in real time during operation on the production line, but in addition to this, it is also possible to perform regular maintenance on the robots on the production line. By using this method, the robot is not corrected for M V Cn when it is in operation on the production line, but a trial is performed in which the robot repeats the required movements during maintenance, and the process shown in Figure 3 is executed during the trial. Therefore, MVCn may be optimized before the line is introduced.

〔発明の効果〕〔Effect of the invention〕

以上説明してきたように、この発明によれば。 As explained above, according to the present invention.

ロボットの可動部を所要動作される毎に検出した所要動
作時の目標位置指令値と現在位置値と位置偏差の履歴の
今回値と前回値とに基づいて、予測速度係数を逐次補正
するようにしたため、ロボット本体機構部の経年変化や
制御系のハードウェアの経年変化及びハードウェアの温
度ドリフト等による制御量の変化に対応でき、しかも生
産ラインを停止させることなく予測速度係数を自動調整
できる。
The predicted speed coefficient is sequentially corrected based on the current value and previous value of the target position command value, current position value, and position deviation history at the time of the required operation detected every time the robot's movable part is operated. Therefore, it is possible to respond to changes in the control amount due to changes in the robot body mechanism over time, changes in the control system hardware over time, temperature drift of the hardware, etc. Moreover, the predicted speed coefficient can be automatically adjusted without stopping the production line.

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

第1図はこの発明の構成を示すブロック図、第2図はこ
の発明の一実施例を示すブロック構成図。 第3図は第2図の中央処理部1が実行するプログラムの
フロー図である。 1・・・中央処理部 2・・・目標速度指令値データラッチ 3・・・予測速度係数データラッチ 4・・・データエントリスイッチ 5・・・目標位置指令値データラッチ 6・・・現在位置値データラッチ  7・・・駆動モー
タ8・・・パルスジェネレータ  9・・・パルスカウ
ンタ10・・・速度指令値演算部 15・・・速度指令値データラッチ 16・・・D/A変換器  17・・・F/V変換器1
8・・・サーボアンプ 第1図
FIG. 1 is a block diagram showing the configuration of the present invention, and FIG. 2 is a block diagram showing an embodiment of the present invention. FIG. 3 is a flow diagram of a program executed by the central processing unit 1 of FIG. 1... Central processing unit 2... Target speed command value data latch 3... Predicted speed coefficient data latch 4... Data entry switch 5... Target position command value data latch 6... Current position value Data latch 7... Drive motor 8... Pulse generator 9... Pulse counter 10... Speed command value calculation unit 15... Speed command value data latch 16... D/A converter 17...・F/V converter 1
8... Servo amplifier diagram 1

Claims (1)

【特許請求の範囲】 1 目標速度指令値に予測速度係数を乗算して得た値に
基づく速度指令値に応じてロボットの可動部を駆動制御
するようにしたロボットの制御装置において、 前記ロボットの可動部を所要動作させる毎にその所要動
作時の目標位置指令値と現在位置値との位置偏差の履歴
を検出する履歴検出手段と、この履歴検出手段によつて
検出した前記位置偏差の履歴を記憶する記憶手段と、 この記憶手段に今回記憶された履歴データと前回記憶さ
れた履歴データとに基づいて前記予測速度係数を逐次補
正する補正手段とを設けたことを特徴とするロボットの
制御装置。
[Scope of Claims] 1. A robot control device configured to drive and control a movable part of a robot according to a speed command value based on a value obtained by multiplying a target speed command value by a predicted speed coefficient, comprising: A history detecting means for detecting a history of positional deviation between a target position command value and a current position value at the time of the required operation each time the movable part is operated as required; and a history of the positional deviation detected by the history detecting means. A control device for a robot, comprising: a storage means for storing; and a correction means for sequentially correcting the predicted speed coefficient based on history data stored this time and history data stored last time in the storage means. .
JP27097384A 1984-12-24 1984-12-24 Control device of robot Pending JPS61148507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27097384A JPS61148507A (en) 1984-12-24 1984-12-24 Control device of robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27097384A JPS61148507A (en) 1984-12-24 1984-12-24 Control device of robot

Publications (1)

Publication Number Publication Date
JPS61148507A true JPS61148507A (en) 1986-07-07

Family

ID=17493606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27097384A Pending JPS61148507A (en) 1984-12-24 1984-12-24 Control device of robot

Country Status (1)

Country Link
JP (1) JPS61148507A (en)

Similar Documents

Publication Publication Date Title
CN101402199B (en) Hand-eye type robot movable target extracting method with low servo accuracy based on visual sensation
CN102385342B (en) Self-adaptation dynamic sliding mode controlling method controlled by virtual axis lathe parallel connection mechanism motion
CN112171677B (en) Robot flexible joint compensation control method based on LSTM hysteresis model
JP4453526B2 (en) Servo control device
JP5375522B2 (en) Robot arm control device, control method thereof, and program
WO2019092852A1 (en) Servo control device
Aksman et al. Force estimation based compliance control of harmonically driven manipulators
CN115113518A (en) Universal dynamic matrix control system and control method based on data driving
JPS61148507A (en) Control device of robot
Guo et al. The robot arm control based on rbf with incremental pid and sliding mode robustness
JP3062606B2 (en) Adaptive controller using neural network
JPH08118270A (en) Control for industrial robot and device therefor
JPH07271441A (en) Motor controller
JP2881873B2 (en) Digital adaptive controller
CN115356927B (en) Three-closed loop robust prediction function control method for robot
JPH0991005A (en) Track control device
JP2002312006A (en) Control device and control system
JPH10198411A (en) Method, device for generating target locus and servo controller using the device
JPH0719180B2 (en) Feed axis position control method
JPS61253505A (en) Learning controller for robot arm
Hojo et al. WITH SLIDING MODE
JP3073365B2 (en) Robot control device
JPS60220408A (en) Joint type robot controller
Dessaint et al. Real‐time implementation of an indirect adaptive robot controller
CN115338871A (en) Limited self-adaptive robust control method and system of two-degree-of-freedom mechanical arm