JPS63254502A - Robot controller - Google Patents

Robot controller

Info

Publication number
JPS63254502A
JPS63254502A JP8833287A JP8833287A JPS63254502A JP S63254502 A JPS63254502 A JP S63254502A JP 8833287 A JP8833287 A JP 8833287A JP 8833287 A JP8833287 A JP 8833287A JP S63254502 A JPS63254502 A JP S63254502A
Authority
JP
Japan
Prior art keywords
data
robot
rpu
memory
dot train
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
JP8833287A
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 JP8833287A priority Critical patent/JPS63254502A/en
Publication of JPS63254502A publication Critical patent/JPS63254502A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

PURPOSE:To perform the locus control of a robot with high accuracy and high efficiency by pre-reading and storing the dot train data, discriminating said stored data from the used for execution of the robot locus control, and deciding and reading out successively the desired data. CONSTITUTION:A buffer memory BM stores the dot train data which is pre-read out of a robot command data memory RCDM connected to a processor RPU. The memory BM receives the cyclic accesses from the processor RPU and has the pointers of a tab parts which are sequentially rewritten. In other words, pointers CBP and UBP are always monitored by the RPU so that the dot train data stored in a data part can be discriminated from the dot train data used for the robot locus control of the RPU. Then the dot train data needed for the locus control are successively read out after a block of the data part storing said dot train data is identified with reference to a calculation block pointer CBP.

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.

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

この場合に、動作目標位置のデータをアートの各軸値と
して記憶しているロボット制御装置では、軌跡制御が第
3図に示すような、以下の手順で実行される。
In this case, in a robot control device that stores data on the movement target position as each axis value of art, trajectory control is executed in the following procedure as shown in FIG.

つまり、ステップaでは、軌跡制御の起点と終点(及び
経由点)の値をデータメモリから読み出して、それぞれ
の値を各軸傾からTCP(ツールセンタポイント)での
直交座標値に変換する。ステップbでは、変換された直
交座標値を用いて軌跡上の分割点の座標値を計算する。
That is, in step a, the values of the starting point and ending point (and transit points) of the trajectory control are read from the data memory, and each value is converted from each axis inclination to an orthogonal coordinate value at the TCP (tool center point). In step b, coordinate values of dividing points on the trajectory are calculated using the converted orthogonal coordinate values.

ステップCでは、分割点の直交座標値から逆変換によっ
て各軸傾を求める。ステップdでは、TCPが個々の分
割点に達するように各軸のモータを駆動する。そして、
ステップeにおいては、ハンドが所定の動作点に移動す
る間に、次の分割点に関するステップb、cでの演算を
実行し、現在目標としている分割点に関する移動指令の
出力が終了すると、次の分割点への移動指令を出力する
In step C, each axis inclination is determined by inverse transformation from the orthogonal coordinate values of the dividing points. In step d, the TCP drives the motor of each axis to reach the individual split points. and,
In step e, while the hand is moving to a predetermined operating point, the calculations in steps b and c regarding the next division point are executed, and when the output of the movement command regarding the currently targeted division point is completed, the next division point is Outputs a movement command to the dividing point.

(発明が解決しようとする問題点) 一般に多軸のロボットを軌跡制御する場合に、移動指令
の出力の精度を高めようとすると1分割点を増やして補
間間隔を短縮しなければならないが、従来のロボット制
御装置では、各軸のサーボ回路(サーボLS I)への
分配パルスの書込みと、分割点に関する演算とが並行し
て行なわれるので、分割点を増やすためには、CPUに
おける演算処理ず上方を大きくしなくてはならない、ま
た、軌跡制御の開始時点で、上記ステップaのデータを
メモリから読み出して変換処理するための時間が必要と
なって、円滑に軌跡制御に移行するためには、軌跡制御
の精度が制約されるという問題点があった。
(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, the writing of distribution pulses to the servo circuit (servo LSI) of each axis and calculations regarding dividing points are performed in parallel, so in order to increase the number of dividing points, the calculation processing in the CPU is required. In addition, at the start of trajectory control, time is required to read and convert the data in step a from the memory, and in order to smoothly transition to trajectory control. However, there was a problem in that the accuracy of trajectory control was restricted.

本発明は、上記事情に鑑みてなされたもので、ロボット
の軌跡制御を精度良く、かつ効率的に実行するようにし
たロボット制御装置を提供することを目的にしている。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a robot control device that accurately and efficiently controls the trajectory of a robot.

(問題点を解決するための手段) 本発明のロボット制御装置は、教示された通路上の離散
的な点列データに基づいてロボットの軌跡制御を行なう
ロボット制御装置において、前記点列データを先読みし
て格納する記憶手段と、この記憶手段に格納されたデー
タと軌跡制御の実行に使用されるデータとを識別する識
別手段と、この識別手段により実行に必要とするデータ
を決定して前記記憶手段から順次読み出す出力手段とを
具備したものである。
(Means for Solving the Problems) A robot control device of the present invention is a robot control device that performs trajectory control of a robot based on discrete point sequence data on a taught path. a storage means for storing the data, an identification means for identifying data stored in the storage means and data used for execution of the trajectory control, and an identification means for determining data necessary for execution and storing the data in the storage means; and an output means for sequentially reading data from the means.

(作用) すなわち、この発明のロボット制御装置では、ロボット
動作指令プログラムをその実行前に先読みして、そこに
含まれる軌跡制御の指令に基づいて対応する点列データ
を選択し、軌跡制御に必要な座標変換などの処理をして
バッファメモリなどに格納しておく、プログラムの実行
時にデータ部の識別をして、軌跡制御に必要なデータを
高速に読み出すことができる。
(Operation) That is, in the robot control device of the present invention, the robot motion command program is read in advance before its execution, and the corresponding point sequence data is selected based on the trajectory control command included therein, and the data necessary for trajectory control is selected. The data required for trajectory control can be read out at high speed by performing processing such as coordinate transformation and storing the data in a buffer memory, etc., and identifying the data portion when the program is executed.

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

第1図は、本発明のロボット制御装置の一実施例を示す
ブロック図である。ロボット指令データメモリRODI
士、処理装置RPUと接続されていて、そこには既に一
連のロボット指令データが教示操作によって記憶されて
いる。このロボット指令データは、通路上の離散的な点
列をロボットの各軸傾として表現する位置データ群と、
それぞれのデータ群の実行順序を識別するブロック番号
とからなる。教示操作盤TBは、モードセレクトスイッ
チを有し、再生モードと教示モードとを選択するできる
。リードオンリメモリROMは、処理袋2JRPUを制
御する制御プログラムを記憶しており、再生モードが選
択されているとき、ロボット指令データメモリROOM
からデータを1ブロツクづつ読み出して、各軸傾からロ
ボットのTCPの直交座標値に変換する演算処理などを
制御する。
FIG. 1 is a block diagram showing an embodiment of a robot control device of the present invention. Robot command data memory RODI
The controller is connected to a processing unit RPU, in which a series of robot command data has already been stored through teaching operations. This robot command data includes a group of position data that expresses a discrete point sequence on the path as the tilt of each axis of the robot,
It consists of a block number that identifies the execution order of each data group. The teaching pendant TB 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 that controls the processing bag 2JRPU, and when the playback mode is selected, the read-only memory ROM stores a control program that controls the processing bag 2JRPU.
It reads out data one block at a time and controls calculation processing such as converting the tilt of each axis into orthogonal coordinate values of the robot's TCP.

図には、l軸分のみのサーボモータSNを示しているが
、各軸のサーボ回路は、処理装置RPυで演算された各
軸インクリメンタル量から分配パルスを出力するパルス
分配器PDC、サーボモータ舖を制御するサーポユニッ
)SVU、サーボモータSNから回転信号をフィードバ
ックするパルス発生器PG等から構成され、ハンドが所
定歌移動する毎に残移動量や現在位置を各軸毎に処理装
置RPUにて演算し、データメモリDMに記憶する。
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 device RPυ, and a servo motor SN for each axis. It consists of a servo unit (servo unit) SVU that controls the servo motor, a pulse generator PG that feeds back rotation signals from the servo motor SN, etc., and a processing unit RPU calculates the remaining movement amount and current position for each axis each time the hand moves a specified distance. and stores it in the data memory DM.

B旧よ、第2図に示すようなブロック構成を有するバッ
ファメモリで、処理装置RPUと接続されてロボット指
令データメモリRC:DMから先読みされた点列データ
を格納する。このバッファメモリBMは、タブ部とデー
タ部とを1ブロツクとする複数ブロックのメモリとして
構成され、タブ部にはプログラム内でのブロックの番号
等が格納され、データ部には直交座標値に変換された位
置データが格納される。このバッファメモリBMは、処
理袋FI RPU力\らサイクリックにアクセスされ、
タブ部のポインタが逐次書換られる。つまり、先読みさ
れたプログラムに従って演算処理が終了している点列デ
ータの対応ブロックを示すカルキュレイトブロックポイ
ンタCBPと、プログラムの実行に使用されたブロック
のポインタUBPとを含み、これらポインタCBP、U
BPを処理装置RPUで常時監視していることにより、
データ部に格納された点列データと、処理装置RPUで
の軌跡制御の実行に使用される点列データとが識別でき
る。
B is a buffer memory having a block configuration as shown in FIG. 2, which is connected to the processing unit RPU and stores point sequence data read in advance from the robot command data memory RC:DM. This buffer memory BM is configured as a memory of multiple blocks, each block consisting of a tab section and a data section.The tab section stores the block number in the program, and the data section is converted into orthogonal coordinate values. location data is stored. This buffer memory BM is cyclically accessed by the processing bag FI RPU,
The pointer in the tab section is rewritten one after another. In other words, it includes a calculate block pointer CBP indicating a corresponding block of point sequence data for which arithmetic processing has been completed according to the prefetched program, and a pointer UBP of the block used to execute the program, and these pointers CBP, U
By constantly monitoring BP with processing unit RPU,
The point sequence data stored in the data section and the point sequence data used for execution of trajectory control in the processing unit RPU can be distinguished.

このように構成されたロボット制御装置においては、処
理装置 RPUでのマルチタスキングにより最下位レベ
ル(アイドルタスク)でプログラムの先読みを行なって
、準備コード例えばGot、GO2などで直線補間や内
置補間による軌跡制御の指令があった場合に、対応する
点列データをデータメモリRC:DMから取り出して、
前記第3図にいうステップaの演算処理を実行してバッ
ファメモリBHに格納しておくことができる。この処理
は、みかけ上は常時実行可能であり、従って処理装置R
PUの処理能力とは関係なく、上記バッファメモリBM
の格納領域の範囲内でいくらでも補間精度を高めること
ができる。そして、プログラムの処理が進行して、対応
する軌跡制御の命令を含むブロックを実行するときには
、上記カルキュレイトブロックポインタCBPを参照し
て、実行に必要とする点列データを、格納されているデ
ータ部のブロックを識別して順次読み出せば良い。
In a robot control device configured in this way, the processing unit RPU performs multitasking to prefetch the program at the lowest level (idle task), and uses preparation code such as Got and GO2 to perform linear interpolation and internal interpolation. When there is a command for trajectory control, the corresponding point sequence data is retrieved from the data memory RC:DM,
The arithmetic processing in step a shown in FIG. 3 can be executed and stored in the buffer memory BH. This process can be executed seemingly all the time, so it can be executed by the processing device R.
Regardless of the processing capacity of the PU, the buffer memory BM
The interpolation accuracy can be increased as much as possible within the storage area of . As the program progresses and a block including a corresponding trajectory control command is executed, the calculate block pointer CBP is referred to and the point sequence data required for execution is stored. It is sufficient to identify the blocks in the data section and read them out sequentially.

つまり、軌跡制御の開始時点での座標変換処理が不要と
なって、処理袋21RPUでの分** 点に関する演算
のみとなり、処理時間が略々一定となる。
In other words, there is no need for coordinate conversion processing at the start of trajectory control, and only calculations regarding the minute** point in the processing bag 21RPU are performed, so that the processing time becomes approximately constant.

また、先読み時に第3図にいうステップb、cの処理、
つまり分割点に関する演算処理を、同様のアイドルタス
クで実行しておけば、更に補間間隔の短縮が可能となり
、限られた演算能力の処理装置RPUで効率良く軌跡制
御を実行できる。
In addition, when reading ahead, the processing of steps b and c shown in FIG. 3,
In other words, if the arithmetic processing related to the division points is executed in a similar idle task, the interpolation interval can be further shortened, and the trajectory control can be efficiently executed using the processing unit RPU with limited arithmetic capacity.

(発明の効果) 以上説明したように、本発明によれば、ロボットの軌跡
制御に必要な点列データの読み出し処理を高速に行なう
ことができ、制御精度を向上するうえで有効なロボット
制御装置を提供できる。
(Effects of the Invention) As described above, according to the present invention, the robot control device is capable of quickly reading out point sequence data necessary for robot trajectory control, and is effective in improving control accuracy. can be provided.

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

第1図は、本発明の一実施例を示すブロック図、第2図
は、バッファメモリの一構成例を示す説明図、第3図は
、一般的な軌跡制御の処理手順を示す説明図である。 RPU・・・処理装置、RC[1M−・・ロボット指令
データメモリ、BM・・・バッファメモリ、TB・・・
教示操作盤。
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 a general trajectory control processing procedure. be. RPU...Processing unit, RC[1M-...Robot command data memory, BM...Buffer memory, TB...
Teaching operation panel.

Claims (2)

【特許請求の範囲】[Claims] (1)教示された通路上の離散的な点列データに基づい
てロボットの軌跡制御を行なうロボット制御装置におい
て、前記点列データを先読みして格納する記憶手段と、
この記憶手段に格納されたデータと軌跡制御の実行に使
用されるデータとを識別する識別手段と、この識別手段
により実行に必要とするデータを決定して前記記憶手段
から順次読み出す出力手段とを具備してなることを特徴
とするロボット制御装置。
(1) In a robot control device that controls the trajectory of a robot based on discrete point sequence data on a taught path, a storage means for pre-reading and storing the point sequence data;
an identification means for identifying data stored in the storage means and data used for execution of the trajectory control; and an output means for determining data required for execution by the identification means and sequentially reading out data from the storage means. A robot control device comprising:
(2)前記記憶手段には、軌跡制御の分割点に関して処
理済みのデータを格納するようにしたことを特徴とする
特許請求の範囲第(1)項に記載のロボット制御装置。
(2) The robot control device according to claim 1, wherein the storage means stores processed data regarding division points of trajectory control.
JP8833287A 1987-04-10 1987-04-10 Robot controller Pending JPS63254502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8833287A JPS63254502A (en) 1987-04-10 1987-04-10 Robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8833287A JPS63254502A (en) 1987-04-10 1987-04-10 Robot controller

Publications (1)

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

Family

ID=13939919

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS63254502A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57211602A (en) * 1981-06-20 1982-12-25 Fanuc Ltd Numerical controlling method
JPS58191010A (en) * 1982-04-30 1983-11-08 Shin Meiwa Ind Co Ltd Control method of industrial robot
JPS58211211A (en) * 1982-06-01 1983-12-08 Fanuc Ltd Numerical controlling system
JPS60209808A (en) * 1984-04-03 1985-10-22 Mitsubishi Electric Corp Numerical control device
JPS61241045A (en) * 1985-04-18 1986-10-27 Hitachi Seiki Co Ltd Control device for nose r correction in nc machine tool
JPS6225302A (en) * 1985-07-25 1987-02-03 Fanuc Ltd Numerical controller

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57211602A (en) * 1981-06-20 1982-12-25 Fanuc Ltd Numerical controlling method
JPS58191010A (en) * 1982-04-30 1983-11-08 Shin Meiwa Ind Co Ltd Control method of industrial robot
JPS58211211A (en) * 1982-06-01 1983-12-08 Fanuc Ltd Numerical controlling system
JPS60209808A (en) * 1984-04-03 1985-10-22 Mitsubishi Electric Corp Numerical control device
JPS61241045A (en) * 1985-04-18 1986-10-27 Hitachi Seiki Co Ltd Control device for nose r correction in nc machine tool
JPS6225302A (en) * 1985-07-25 1987-02-03 Fanuc Ltd Numerical controller

Similar Documents

Publication Publication Date Title
US6463358B1 (en) Robot control device having operation route simulation function
JPH0319964B2 (en)
KR101207248B1 (en) Industrial robot and method for controlling the movement of an industrial robot
KR0160998B1 (en) Robot trajectory planning method
JP3168682B2 (en) Numerical control unit
JPS6261104A (en) Acceleration/deceleration control system for horizontal articulation type robot
US4912383A (en) Method of controlling a robot
JPH02146607A (en) Interpolation system for nc transfer command
JPS63254502A (en) Robot controller
US5751130A (en) Time constant setting method for a track program of a robot
JP2574313B2 (en) Controller for teaching and reproducing type manipulator
JP2787207B2 (en) Multi-axis position servo device
JPH0991022A (en) Robot controller
JPH083739B2 (en) Robot speed program determination method
JPS63254503A (en) Robot controller
JPH0274185A (en) Controller of motor
JPH0962322A (en) Control device and method for multiaxial robot
JPS60220408A (en) Joint type robot controller
KR100187214B1 (en) A motor speed control apparatus and method
JP2705367B2 (en) Robot control device
JPS61170803A (en) Sequence control method
JPS59180877A (en) Control system of memory read-out
JP2625836B2 (en) Robot control device
JP2002215212A (en) Interpolation performing method
JPS62166431A (en) Word retrieval system for robot language