JPS63254503A - Robot controller - Google Patents

Robot controller

Info

Publication number
JPS63254503A
JPS63254503A JP8833387A JP8833387A JPS63254503A JP S63254503 A JPS63254503 A JP S63254503A JP 8833387 A JP8833387 A JP 8833387A JP 8833387 A JP8833387 A JP 8833387A JP S63254503 A JPS63254503 A JP S63254503A
Authority
JP
Japan
Prior art keywords
processing task
robot
interpolation
point
arithmetic
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
JP8833387A
Other languages
Japanese (ja)
Inventor
Toru Mizuno
徹 水野
Haruyuki Ishikawa
石川 晴行
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP8833387A priority Critical patent/JPS63254503A/en
Publication of JPS63254503A publication Critical patent/JPS63254503A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the useless arithmetic time by securing the common use of a buffer between the arithmetic processing task side and the shift processing task side. CONSTITUTION:A buffer memory BM contains the cyclic windows which have such sizes that can store the interpolation point information equal to (n) pieces and also the memory areas independent of each other for each interpolation point. In this case, the (n) corresponds to the maximum number of interpolation points existing between two pints on a moving locus and read out of a robot command data memory RCDM for each block. For an arithmetic processing task, an arithmetic pointer Pa is advanced by a step when the calculation is through with a single interpolation point regardless of the shift processing that controls the pulse distribution to a robot. A shift processing task which controls a pulse distributor PDC for the locus control so that the pointer Pa reaches each obtained axis value performs the shift processing independently of said arithmetic processing task. An executing pointer Pb is advanced by a step when it reaches a divided point of a target and prior to the shift to the next target point. Thus, the memory BM serving as a common buffer is used cyclically.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、教示再生型の工業用ロボットの軌跡制御を行
なうロボット制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a robot control device for controlling the trajectory of a teach-and-play industrial robot.

(従来の技術) 産業用ロボットを所要の目的に従って機能させるために
は、あらかじめその作業を産業川口ボットに教え込ませ
る教示4!1俺、作業データを記憶する記憶機能、この
データを基にしてロボットハンドを所定の速度で軌跡制
御しながら作動させる再生機能が必要とされる。こうし
た現在の教示再生型のロボットでは、従来の軌跡制御の
ための演算方式としては、通路上の離散的な点列の位置
を予め教示し、各教示点に対応してlブ°ロックのロボ
ット指令データを作成し、再生時に1ブロツクづつロボ
ット指令データを読み出し、該データにノ。(づいてハ
ンドを移動させるようにしていた。
(Prior art) In order for an industrial robot to function according to the required purpose, teaching the industrial Kawaguchi bot the work in advance 4! 1 I have a memory function that stores work data, and based on this data. A playback function is required to operate the robot hand at a predetermined speed while controlling its trajectory. In these current teach-and-play robots, the conventional calculation method for trajectory control is to teach the positions of discrete point sequences on the path in advance, and to Create command data, read out the robot command data one block at a time during playback, and write to the data. (Then I started moving my hand.

この場合に、動作目標位置のデータをアームの各軸傾と
して記憶しているロボット制御装置では、データメモリ
に記憶された軌跡制御の起点と終点(及び経由点)の値
から通路上の分割点をオンラインで計算しながらロボッ
トの動作制御を行なっている。
In this case, in a robot control device that stores data on the movement target position as the inclination of each axis of the arm, the division point on the path is calculated from the values of the starting point and ending point (and intermediate points) of the trajectory control stored in the data memory. The robot's motion is controlled while calculating it online.

(発明が解決しようとする問題点) 一般に多軸のロボットを軌跡制御する場合に、移動指令
の出力の精度を高めようとすると、分割点を増やして補
間間隔を短縮しなければならないが、従来のロボット制
御装置では、通路上の分割点の座標値の計算結果を記憶
するバッファメモリと、計算された分割点を次の動作目
標点として移動処理するためのバッファメモリとの間で
のデータ転送を行なっており、現在目標としている分割
−瓦に関する移動指令の出力が終了するまで、次の分割
点に関する演算の実行ができず、その結果移動処理にお
けるパルス分配の速度によっては、ひとつの分割点の演
算終了から次の分割点の演算量′始までにアイドルタイ
ムが生じることがある。
(Problem to be Solved by the Invention) Generally, when controlling the trajectory of a multi-axis robot, in order to improve the accuracy of movement command output, it is necessary to increase the number of division points and shorten the interpolation interval. In this robot control device, data is transferred between a buffer memory that stores the calculation results of the coordinate values of dividing points on the path and a buffer memory that processes the calculated dividing points as the next operation target point. The calculation regarding the next division point cannot be executed until the output of the movement command regarding the currently targeted division-tile is completed, and as a result, depending on the speed of pulse distribution in the movement process, one division point may There may be idle time between the end of the calculation and the beginning of the calculation amount for the next division point.

このように各軸のサーボ回路(サーボLSI)への分配
パルスの書込みと、分割点に関する演算とが並行して行
なわれるので、本来なら軌跡精度を高めるうえでは分割
点を増やす必要があるにもかかわらず、CPUにおける
演算処理能力が十分に発揮されないという問題点があっ
た。また、演算用バッファから移動処理用バッファへの
データ転送にも時間がかかり、分割点の数が制約される
という問題点もあった。
In this way, the writing of distribution pulses to the servo circuit (servo LSI) for each axis and the calculation regarding the division points are performed in parallel, so it would normally be necessary to increase the number of division points to improve trajectory accuracy. Regardless, there is a problem in that the arithmetic processing capacity of the CPU is not fully utilized. Further, there is also the problem that it takes time to transfer data from the calculation buffer to the movement processing buffer, which limits the number of division points.

本発明は、上記1を情に鑑みてなされたもので、演算時
間の無駄を除去してロボットの軌跡制御を粘度良く実行
するようにしたロボット制御装置を提供することを目的
にしている。
The present invention has been made in consideration of the above-mentioned point 1, and an object of the present invention is to provide a robot control device that eliminates wasted calculation time and executes robot trajectory control with good viscosity.

(問題点を解決するための手段) 本発明のロボット制御装置は、教示された通路上の離散
的な点列データに基づいてロボットの軌跡制御を行なう
ロボット制御装置において、前記点列データの補間点情
報の演算処理タスクを実行する手段と、補間点情報を格
納する記憶手段と、この記憶手段の補間点情報により移
動処理タスクを実行する手段と、前記演算処理タスクと
移動処理タスクとを互いに独立に制御する制御手段とを
Aflし、前記記憶手段を演算処理タスクと移動処理と
の共用バッファとして使用するようにしたものである。
(Means for Solving the Problems) A robot control device of the present invention is a robot control device that controls the trajectory of a robot based on discrete point sequence data on a taught path. means for executing an arithmetic processing task of point information; a storage means for storing interpolation point information; a means for executing a movement processing task using the interpolation point information in the storage means; The control means which is controlled independently is Afl, and the storage means is used as a shared buffer for the arithmetic processing task and the movement processing.

(作用) すなわち、この発明のロボット制御装置では、記憶手段
に格納された補間点情報を演算処理タスク側と移動処理
タスク側とで互いに独立に制御するので、演算処理タス
クは複数の補間点の計算を、移動処理とは無関係に連続
して実行することができる。
(Function) In other words, in the robot control device of the present invention, the arithmetic processing task side and the movement processing task side control the interpolation point information stored in the storage means independently of each other, so the arithmetic processing task controls the interpolation point information stored in the storage means independently of each other. Calculations can be performed continuously, independent of movement processing.

(実施例) 以下、本発明の一実施例を図面を参照して説明する。(Example) Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は、本発明のロボット制御装置の一実施例を示す
ブロック図である。ロボット指令データメモリRCDM
は、処理装置RPυと接続されていて。
FIG. 1 is a block diagram showing an embodiment of a robot control device of the present invention. Robot command data memory RCDM
is connected to the processing device RPυ.

そこには既に一連のロボット指令データが教示操作によ
って記憶されている。このロボット指令データは、通路
上のgl散的な点列をロボットの各軸傾として表現する
位置データ群と、それぞれのデータ群の実行順序を識別
するブロック番号とかうなる。教示操作盤↑Bは、モー
ドセレクトスイッチを有し、再生モードと教示モードと
を選択するできる。リードオンリメモリROMは、処理
袋mRPUを制御する制御プログラムを記憶しており、
再生モードが選択されているとき、ロボット指令データ
メモリRCDMからデータを1ブロツクづつ読み出して
、各軸傾からロボットのTCPの直交座標値に変換する
演算処理などを制御する。
A series of robot command data has already been stored there through teaching operations. This robot command data includes a position data group expressing a scattered point sequence on the path as the tilt of each axis of the robot, and a block number identifying the execution order of each data group. The teaching operation panel ↑B has a mode select switch, and can select between a playback mode and a teaching mode. The read-only memory ROM stores a control program for controlling the processing bag mRPU.
When the reproduction mode is selected, data is read out one block at a time from the robot command data memory RCDM, and arithmetic processing for converting each axis inclination into orthogonal coordinate values of the robot's TCP is controlled.

図には、1軸分のみのサーボモータSNを示しているが
、各軸のサーボ回路は、処理袋at RPUで演算され
た各軸インクリメンタル量から分配パルスを出力するパ
ルス分配器PDC、サーボモータ囲を制御するサーボユ
ニットSVu、サーボモータ5lllから回転信号をフ
ィードバックするパルス発生器PC等から構成され、ハ
ンドが所定敬移動する毎に残移動?や現在位置を各軸毎
に処理?cfi RPUにて演算し、データメモリON
に記憶する。
The figure shows the servo motor SN for only one axis, but the servo circuit for each axis includes a pulse distributor PDC that outputs distributed pulses from the incremental amount for each axis calculated by the processing bag at RPU, and a servo motor. It consists of a servo unit SVu that controls the rotation, a pulse generator PC that feeds back the rotation signal from the servo motor 5ll, etc., and each time the hand moves a predetermined direction, the remaining movement? Or process the current position for each axis? Compute with cfi RPU and turn on data memory
to be memorized.

B旧士、第2図に示すようなブロック構成を有するバッ
ファメモリで、処理装置RPUとパルス分配器POCと
の間に接続されている。このバッファメモリBMは、n
個分の補間点情報を格納できる大きさのサイクリックウ
ィンドウで且つ各補間点毎に独立の記憶領域を構成して
おり、nはロボット指令データメモリRCDMから1ブ
ロツクづつ読み出される移動軌跡上の2点間での最大補
間点数に対応する。演算処理タスクは、補間点の座標を
求めそれを順次に逆変換して各軸傾を求める計算で、ロ
ボットに対するパルス分配を制御する移動処理とは無関
係に、つまり同期を取らずに進められ、1つの補間点に
関する計算が終了したとき演算用ポインタPaを1つ先
に進める。y:F)t=各軸軸傾到達するようにパルス
分配器PDCを制御して軌跡制御を実行する移動処理タ
スクも、演算処理タスクとは独立に移動処理を行ない、
目標の分割点へ到達した時点で次の目標点への移動に先
立ち実行用ポインタpbを1つ先に進める。
B is a buffer memory having a block configuration as shown in FIG. 2, and is connected between the processing unit RPU and the pulse distributor POC. This buffer memory BM is n
It is a cyclic window large enough to store interpolation point information for each interpolation point, and constitutes an independent storage area for each interpolation point. Corresponds to the maximum number of interpolation points between points. The calculation processing task involves calculating the coordinates of interpolation points and sequentially inverting them to obtain the tilt of each axis, which is performed independently of the movement process that controls pulse distribution to the robot, that is, without synchronization. When the calculation regarding one interpolation point is completed, the calculation pointer Pa is advanced by one. The movement processing task that executes trajectory control by controlling the pulse distributor PDC so as to reach y:F)t=each axis axis inclination also performs movement processing independently of the calculation processing task,
When the target dividing point is reached, the execution pointer pb is advanced by one before moving to the next target point.

こうして、上記共用バッファとして構成されたバッファ
メモリBMをサイクリックに使用すれば、演算処理タス
クは、自分のポインタPaが移動処理タスクを管理する
実行用ポインタpbに追いつかれないことだけを確認す
ればよく、実際の移動処理とは関係なく処理袋21RP
υで次々に任意側の補間点の計算を行なうことができる
。そして、移動処理タスクの側でも、自分のポインタp
bより演算用ポインタPaが先にあることだけを確認し
て、指令された軌跡に沿った移動制御を実行できる。
In this way, if the buffer memory BM configured as a shared buffer is used cyclically, the arithmetic processing task only has to make sure that its own pointer Pa does not catch up with the execution pointer pb that manages the movement processing task. Often, the processing bag 21RP has nothing to do with the actual movement processing.
Interpolation points on the arbitrary side can be calculated one after another using υ. Then, on the movement processing task side, the own pointer p
Only by confirming that the calculation pointer Pa is located ahead of point b, movement control along the commanded trajectory can be executed.

第3図のフローチャートは、上記実施例の軌跡制御演算
の手順の一例を示している。ステップaでデータメモリ
RCDMから起点と終点の点列データを読み出したあと
は、演算処理タスクと移動処理タスクとをそれぞれ独立
にステップb、ステップCとして進めることが可能で、
ステップbの後に演算用ポインタPaを1歩進しくステ
ップd)、ステップCの後に実行用ポインタpbを同様
に1歩進しくステップe)ておくことで、あとは各ポイ
ンタPa、Pbの関係をステップfで、Pa>Pbのみ
を確認して次々と各タスクを実行していくことができる
。ステップgで演算処理タスクの終了が確認され、ステ
ップhで移動処理タスクの終了も確認されれば、当初に
与えられた起点と終点との間での軌跡制御が終了し、バ
ッファメモリBMの内容はクリヤされる。
The flowchart in FIG. 3 shows an example of the trajectory control calculation procedure of the above embodiment. After reading the point sequence data of the starting point and the ending point from the data memory RCDM in step a, it is possible to proceed with the arithmetic processing task and the movement processing task independently as steps b and step C, respectively.
After step b, the calculation pointer Pa is advanced by one step in step d), and after step C, the execution pointer pb is similarly advanced by one step in step e), and then the relationship between each pointer Pa and Pb is determined. In step f, it is possible to confirm only Pa>Pb and execute each task one after another. If the end of the arithmetic processing task is confirmed in step g, and the end of the movement processing task is also confirmed in step h, the trajectory control between the initially given starting point and the ending point is completed, and the contents of the buffer memory BM are is cleared.

なお、このバッファメモリの記憶容量は、各補間点毎に
独立の記憶領域を構成しているものであれば、移動軌跡
上の2点間の最大補間点数nに対応する容量で十分であ
り、また、データ転送に要する時間が従来のものに比べ
て短縮されることから、必ずしもそれ程の容量は必要と
されない。
Note that the storage capacity of this buffer memory is sufficient if it constitutes an independent storage area for each interpolation point, and the capacity corresponding to the maximum number n of interpolation points between two points on the movement trajectory is sufficient. Furthermore, since the time required for data transfer is shorter than that of the conventional method, such a large capacity is not necessarily required.

(発明の効果) 以上説明したように、本発明によれば、演算処理タスク
側でのバッファと移動処理タスク側でのバッファとを共
用する構成として、演算時間の無駄を除去したので、ロ
ボットの軌跡制御に必要な点列データの読み出し処理を
高速に行なうことができ、制御精度を向上するうえで有
効なロボット制御装置を提供できる。
(Effects of the Invention) As explained above, according to the present invention, the buffer on the arithmetic processing task side and the buffer on the movement processing task side are shared, eliminating wasted calculation time. It is possible to provide a robot control device that can read out point sequence data necessary for trajectory control at high speed and is effective in improving control accuracy.

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

第1図は、本発明の一実施例を示すブロック図、第2図
は、バッファメモリの一構成例を示す説明図、第3図は
、同実施例装置の動作を示す説明図である。 RPU・・・処理装置、RCDM・・・ロボット指令デ
ータメモリ、Bト・・バッファメモリ、TB・・・教示
操作盤。 特許出願人  ファナック株式会社 代 理 人  弁理士 辻     實第1図 第3図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an explanatory diagram showing an example of the configuration of a buffer memory, and FIG. 3 is an explanatory diagram showing the operation of the device of the embodiment. RPU: Processing unit, RCDM: Robot command data memory, B: Buffer memory, TB: Teaching operation panel. Patent applicant: Representative of FANUC Co., Ltd. Patent attorney: Minoru Tsuji Figure 1 Figure 3

Claims (2)

【特許請求の範囲】[Claims] (1)教示された通路上の離散的な点列データに基づい
てロボットの軌跡制御を行なうロボット制御装置におい
て、前記点列データの補間点情報の演算処理タスクを実
行する手段と、補間点情報を格納する記憶手段と、この
記憶手段の補間点情報により移動処理タスクを実行する
手段と、前記演算処理タスクと移動処理タスクとを互い
に独立に制御する制御手段とを具備し、前記記憶手段を
演算処理タスクと移動処理との共用バッファとして使用
するようにしたことを特徴とするロボット制御装置。
(1) In a robot control device that performs trajectory control of a robot based on discrete point sequence data on a taught path, means for executing an arithmetic processing task of interpolation point information of the point sequence data, and interpolation point information , a means for executing a movement processing task based on the interpolation point information of the storage means, and a control means for controlling the arithmetic processing task and the movement processing task independently of each other, A robot control device characterized in that it is used as a shared buffer for arithmetic processing tasks and movement processing.
(2)前記記憶手段は、移動軌跡上の2点間の最大補間
点数の補間点情報を記憶する記憶容量を有し、且つ各補
間点毎に独立の記憶領域を有することを特徴とする特許
請求の範囲第(1)項に記載のロボット制御装置。
(2) A patent characterized in that the storage means has a storage capacity to store interpolation point information of the maximum number of interpolation points between two points on the movement trajectory, and has an independent storage area for each interpolation point. A robot control device according to claim (1).
JP8833387A 1987-04-10 1987-04-10 Robot controller Pending JPS63254503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8833387A JPS63254503A (en) 1987-04-10 1987-04-10 Robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8833387A JPS63254503A (en) 1987-04-10 1987-04-10 Robot controller

Publications (1)

Publication Number Publication Date
JPS63254503A true JPS63254503A (en) 1988-10-21

Family

ID=13939946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8833387A Pending JPS63254503A (en) 1987-04-10 1987-04-10 Robot controller

Country Status (1)

Country Link
JP (1) JPS63254503A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026037A (en) * 2019-11-26 2020-04-17 西安航天精密机电研究所 Industrial robot motion controller based on WINDOWS platform and control method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61256406A (en) * 1985-05-10 1986-11-14 Hitachi Ltd Controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61256406A (en) * 1985-05-10 1986-11-14 Hitachi Ltd Controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026037A (en) * 2019-11-26 2020-04-17 西安航天精密机电研究所 Industrial robot motion controller based on WINDOWS platform and control method
CN111026037B (en) * 2019-11-26 2021-01-08 西安航天精密机电研究所 Industrial robot motion controller based on WINDOWS platform and control method

Similar Documents

Publication Publication Date Title
US4262336A (en) Multi-axis contouring control system
US4528632A (en) Industrial articulated robot linear interpolation control device
EP0130570B1 (en) Method and apparatus for controlling a robot hand along a predetermined path
US4449196A (en) Data processing system for multi-precision arithmetic
KR950000814B1 (en) Position teaching method and control apparatus for robot
JPS6233604B2 (en)
GB2226425A (en) Method of correcting and playing back positional instruction data in a robot
WO2022034848A1 (en) Numerical control system and robot control method
CN113084792A (en) Method for determining joint singular area, robot and storage device
JP3168682B2 (en) Numerical control unit
CN111195913A (en) Robot processing method and device and industrial robot
US4912383A (en) Method of controlling a robot
JPS63254503A (en) Robot controller
JPS61170807A (en) Numerical controller
JPS62251901A (en) Course controller for multiaxis robot
JPH0797290B2 (en) Multi-arm control device
CN116529035A (en) Numerical controller and numerical control system
JP2610996B2 (en) Articulated robot controller
JP2787207B2 (en) Multi-axis position servo device
JPS58155189A (en) Controller for position of industrial robot
JPH0623928B2 (en) Robot hand trajectory correction method
JP2703099B2 (en) Conveyor tracking method for industrial robots
JPS63254502A (en) Robot controller
JPS62192807A (en) Robot control system
JPH0962322A (en) Control device and method for multiaxial robot