JPH03152605A - Acceleration/deceleration control method for robot - Google Patents

Acceleration/deceleration control method for robot

Info

Publication number
JPH03152605A
JPH03152605A JP29201289A JP29201289A JPH03152605A JP H03152605 A JPH03152605 A JP H03152605A JP 29201289 A JP29201289 A JP 29201289A JP 29201289 A JP29201289 A JP 29201289A JP H03152605 A JPH03152605 A JP H03152605A
Authority
JP
Japan
Prior art keywords
acceleration
deceleration
robot
data
time
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
JP29201289A
Other languages
Japanese (ja)
Inventor
Minoru Furubayashi
実 古林
Masayuki Abe
雅行 阿部
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.)
Honda Motor Co Ltd
Original Assignee
Honda 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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP29201289A priority Critical patent/JPH03152605A/en
Publication of JPH03152605A publication Critical patent/JPH03152605A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To precisely transfer a robot to a target position by storing previously an acceleration/deceleration pattern as a table of position data and controlling the acceleration/deceleration based on the position data. CONSTITUTION:A standard pattern of acceleration/deceleration is stored as a table to show the position changes to the time. This table is produced with use of a personal computer, and the address numbers of start and end points of a position conversion pattern are sampled at a prescribed interval. A robot controller performs the control operations of a time axis and a position axis in accordance with the data on the table and the actual acceleration/ deceleration. Thus the robot controller obtains the position change data in response to the actual acceleration/deceleration and computes the speed command value from the position change data to control the acceleration/ deceleration. In such a constitution, various kinds of acceleration/deceleration can be controlled via a common table and therefore the storage capacity can be reduced. Then no cumulative error is produced for the fractions that are neglected at operation of the transferred distance of a robot. At the same time, the accurate control is attained for the acceleration/deceleration and the position precision of the robot is improved in terms of the moving locus of the robot.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ロボットを駆動するサーボ系に速度指令を送
って加減速を制御するロボットの加減速制御方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a robot acceleration/deceleration control method that controls acceleration/deceleration by sending a speed command to a servo system that drives the robot.

(従来の技術) 従来、この種の制御方法として、特開昭81−2844
07号公報により、時間と速度の夫々の相対値をパラメ
ータとして標準となる加減速パターンを記憶させておき
、この加減速パターンに対し、実際の加減速時間に合わ
せた時間軸方向の調整演算と、目標速度に合わせた速度
軸方向の調整演算とを行ない、実際の加減速に対応して
標準加減速パターンを圧縮、拡大して加減速制御を行な
うようにしたものは知られている。
(Prior art) Conventionally, as this type of control method, Japanese Patent Application Laid-Open No. 81-2844
According to Publication No. 07, a standard acceleration/deceleration pattern is stored using relative values of time and speed as parameters, and this acceleration/deceleration pattern is subjected to adjustment calculations in the time axis direction that match the actual acceleration/deceleration times. It is known that acceleration/deceleration control is performed by performing adjustment calculations in the speed axis direction in accordance with a target speed, and compressing and expanding a standard acceleration/deceleration pattern in accordance with actual acceleration/deceleration.

(発明が解決しようとする課題) 上記の如く時間軸方向や速度軸方向の調整演算を行なう
場合、コンピュータによるデジタル処理ではデータとし
て取扱えない端数を無視して演算結果を出し、これに基
いて加減速制御を行なわざるを得ない。
(Problem to be Solved by the Invention) When performing adjustment calculations in the time axis direction or speed axis direction as described above, the calculation result is produced by ignoring fractions that cannot be handled as data in digital processing by a computer, and based on this, the calculation result is ignored. Acceleration/deceleration control must be performed.

この場合、加減速によって速度自体は目標速度になって
も、無視された端数の累積によって移動距離には誤差を
生じ、ロボットの移動軌跡に関しての位置精度が悪くな
る。
In this case, even if the speed itself reaches the target speed due to acceleration and deceleration, an error occurs in the moving distance due to the accumulation of ignored fractions, and the positional accuracy regarding the robot's moving trajectory deteriorates.

本発明は、以上の点に鑑み、位置データを基準にして加
減速制御を行なうことにより位置精度を向上し得るよう
にした制御方法を提供することをその目的としている。
In view of the above points, it is an object of the present invention to provide a control method that can improve position accuracy by performing acceleration/deceleration control based on position data.

(課題を解決するための手段) 上記目的を達成すべく、本発明では、ロボットを駆動す
るサーボ系に速度指令を送って加減速を制御する方法に
おいて、標準となる加減速パターンに基いて時間に対す
る位置変化パターンを求め、この変化パターンの起点か
ら終点までの位置データを時間軸方向に一定間隔でサン
プリングして、加減速パターンをこれら位置データのテ
ーブルとして記憶されておき、このテーブルデータに対
し、実際の加減速時間に合せた時間軸方向の調整演算を
行なうと共に、目標位置に合わせた位置軸方向の調整演
算を行ない、これら演算で求められた実際の加減速に対
応する位置変化データから速度指令値を算出してサーボ
系に出力するようにした。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides a method for controlling acceleration/deceleration by sending speed commands to a servo system that drives a robot, based on a standard acceleration/deceleration pattern. Find the position change pattern for , sample the position data from the starting point to the end point of this change pattern at regular intervals in the time axis direction, store the acceleration/deceleration pattern as a table of these position data, and apply the data to this table data. , performs adjustment calculations in the time axis direction to match the actual acceleration/deceleration time, and performs adjustment calculations in the position axis direction to match the target position, and from the position change data corresponding to the actual acceleration/deceleration determined by these calculations. The speed command value is calculated and output to the servo system.

(作 用) 加減速パターンを位置データのテーブルとして記憶させ
ておくため、結果として位置が所定値になるように加減
速制御され、時間軸方向や位置軸方向の調整演算で端数
を無視して演算結果を出し、これに基いて加減速制御を
行なっても、ロボットの移動距離に無視された端数によ
る累積誤差は生じず、ロボットは目標位置に正確に移動
し、ロボットの移動軌跡に関する位置精度が向上する。
(Function) Since the acceleration/deceleration pattern is stored as a table of position data, acceleration/deceleration control is performed so that the position becomes a predetermined value as a result, and fractions are ignored in adjustment calculations in the time axis direction and position axis direction. Even if the calculation result is output and acceleration/deceleration control is performed based on the result, there will be no cumulative error due to ignored fractions in the robot's travel distance, the robot will move accurately to the target position, and the position accuracy regarding the robot's travel trajectory will be improved. will improve.

(実施例) 第1図に、ロボットをポイントッーポイントで移動する
際の速度変化を示す。図中Aは加速区間、Bは定速区間
、Cは減速区画であり、2点間の移動距離と要求される
移動時間とに基いて定速区間の速度と加減速区間の移動
距離及び時間が決定される。
(Example) FIG. 1 shows changes in speed when the robot moves from point to point. In the figure, A is an acceleration section, B is a constant speed section, and C is a deceleration section.The speed of the constant speed section and the travel distance and time of the acceleration/deceleration section are determined based on the travel distance between two points and the required travel time. is determined.

本実施例において、標準となる加減速パターンはサイン
カーブになっており、かかるパターンに対応する時間に
対する位置の変化パターンは第2図示の如くになり、こ
の変化パターンの起点から終点までの位置データを時間
軸方向に一定間隔でサンプリングし、これら位置データ
に時間の流れに従ったアドレス番号nを付してテーブル
を作成し、これをロボットコントローラのメモリに格納
する。
In this embodiment, the standard acceleration/deceleration pattern is a sine curve, and the position change pattern with respect to time corresponding to this pattern is as shown in the second diagram, and the position data from the start point to the end point of this change pattern is sampled at regular intervals in the time axis direction, and an address number n according to the flow of time is attached to these position data to create a table, which is stored in the memory of the robot controller.

テーブルの作成は、パーソナルコンピュータを用いて行
なうもので、実際のサンプリング数は非常に大きな数で
あるが、説明の簡略化のため、位置変化パターンの起点
と終点のアドレス番号nを夫々0、lOとして11個の
位置データをサンプリングし、下表の如きデータが作成
されたものとして以下の説明を行なう。
The table is created using a personal computer, and the actual number of samples is very large, but to simplify the explanation, the address numbers n of the starting point and ending point of the position change pattern are set to 0 and 10, respectively. The following explanation assumes that 11 pieces of position data were sampled and data as shown in the table below was created.

尚、位置データのサンプリング間隔は、ロボットコント
ローラが1つの速度指令から次の速度指令を出すまでに
要するサイクルタイムに合わせるものとし、これを例え
ば301secとする。
Note that the sampling interval of the position data is set to match the cycle time required for the robot controller to issue one speed command to the next speed command, which is, for example, 301 seconds.

ここで、加速制御を例えば加速時間210ssec s
加速区間の移動距離(目標位置)100の条件で行なう
場合を考えるに、先ずテーブルデータの時間軸方向の長
さを210m5ecに圧縮するための調整演算を行ない
、次いで位置軸方向の長さを100に圧縮するための調
整演算を行なう。
Here, the acceleration control is performed such that the acceleration time is 210 ssec.
Considering the case where the movement distance in the acceleration section (target position) is 100, first an adjustment calculation is performed to compress the length of the table data in the time axis direction to 210 m5ec, and then the length in the position axis direction is reduced to 100 m. Perform adjustment calculations to compress the data into .

これを第3図を参照して更に詳述するに、時間軸方向の
調整演算に際しては、加速時間内に何回の速度指令を行
なうかを求め、この回数でテーブルから等間隔に最終ア
ドレス番号までの位置データを拾い出す(■)。実施例
では、速度指令回数は210/30で7回であり、拾い
出すべきアドレス番号の間隔は10/7となり、拾い出
し順序をiとして拾い出すアドレス番号nlは101/
9となる。
To explain this in more detail with reference to Figure 3, when performing adjustment calculations in the time axis direction, the number of speed commands to be performed within the acceleration time is determined, and based on this number of times, the final address number is specified from the table at equal intervals. Pick up the location data up to (■). In the example, the number of speed commands is 210/30, which is 7 times, the interval between address numbers to be picked up is 10/7, and the address number nl to be picked up is 101/30, with the picking order being i.
It becomes 9.

このアドレス番号n+に小数点以下の端数があるときは
、端数を取ったアドレス番号の位置データと1つ大きな
アドレス番号の位置データとを用いて補間演算を行なう
(■)。例えばi−1のアドレス番号は1.4となり、
これに対応する位置データdを、1番の位置データの値
13と2番の位置データの値51とを用いて、d −(
51−13) Xo、4 +13により演算し、小数点
以下を切り捨ててd−28とする。
If this address number n+ has a fraction below the decimal point, interpolation calculation is performed using the position data of the address number obtained by taking the fraction and the position data of the next larger address number (■). For example, the address number of i-1 is 1.4,
The corresponding position data d is calculated by using the value 13 of the first position data and the value 51 of the second position data, d - (
51-13) Calculate by Xo, 4 +13, and round down to d-28.

位置軸方向の調整演算に際しては、移動距離を最終アド
レス番号の位置データで除した値、即ち実施例では10
071280を拾い出した位置データに乗算し小数点以
下を切捨てて実位置データとする(■)。
When calculating the adjustment in the position axis direction, the value obtained by dividing the moving distance by the position data of the final address number, that is, 10 in the embodiment
071280 is multiplied by the picked-up position data, and the decimal places are rounded down to obtain the actual position data (■).

このようにして、加速時の実際の時間と位置に合わせた
データが作成され拾い出し順序で前位と後位の実位置デ
ータの偏差から速度指令値を演算しく■) 、D/A変
換してロボットのサーボ系に出力する(■)。
In this way, data matching the actual time and position during acceleration is created, and the speed command value is calculated from the deviation between the preceding and succeeding actual position data in the pick-up order. output to the robot's servo system (■).

実施例において以上の演算結果をまとめると下表の通り
になる。
In the example, the above calculation results are summarized as shown in the table below.

上記の演算で小数点以下の端数は無視されているが、位
置データを基準にして加速制御を行なっているため、加
速による移動距離は目標値に正確に制御される。
Although fractions below the decimal point are ignored in the above calculation, since the acceleration control is performed based on the position data, the moving distance due to acceleration is accurately controlled to the target value.

尚、実際には、位置軸方向の調整演算後に実位置データ
をサーボ系の実位置のデータに変換してから速度指令値
を演算する。
In reality, after the adjustment calculation in the position axis direction, the actual position data is converted into data of the actual position of the servo system, and then the speed command value is calculated.

以上、加速制御について説明したが、減速制御も所要の
減速パターン(加速パターンと異なっても良い)に従っ
た位置変化のデータテーブルを用いて同様に行ない得ら
れる。
Although acceleration control has been described above, deceleration control can also be similarly performed using a data table of position changes according to a required deceleration pattern (which may be different from the acceleration pattern).

(発明の効果) 以上の説明から明らかなように、本発明によれば、標準
となる加減速パターンを時間に対する位置の変化を表わ
す位置データのテーブルとして記憶させておき、このテ
ーブルデータに実際の加減速に合わせた時間軸方向や位
置軸方向の調整演算を行なって、実際の加減速に対応す
る位置変化データを求め、この位置変化データから速度
指令値を演算して加減速を制御するもので、時間や目標
位置の異なる種々の加減速を共通のテーブルデータを用
いて制御できるため記憶容量が少なくて済み、而も位置
データに基いて加減速を制御するため、ロボットの移動
距離に演算過程で無視された端数による累積誤差は生じ
ず、ロボットが目標位置に到達するように正確に加減速
でき、ロボットの移動軌跡に関する位置精度を向上でき
る効果を有する。
(Effects of the Invention) As is clear from the above description, according to the present invention, a standard acceleration/deceleration pattern is stored as a table of position data representing changes in position with respect to time, and this table data is used to store actual A device that performs adjustment calculations in the time axis direction and position axis direction according to acceleration/deceleration to obtain position change data corresponding to actual acceleration/deceleration, and then calculates a speed command value from this position change data to control acceleration/deceleration. Since various accelerations and decelerations with different times and target positions can be controlled using common table data, storage capacity is small.Moreover, since acceleration and deceleration are controlled based on position data, calculations can be made on the robot's travel distance. Accumulated errors due to fractions ignored in the process do not occur, and the robot can accurately accelerate or decelerate to reach the target position, which has the effect of improving the positional accuracy of the robot's movement trajectory.

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

第1図は加減速パターンを示す線図、第2図は標準とな
る加速パターンに基いた時間に対する位置変化パターン
を示す線図、第3図は本発明による加減速制御の処理プ
ログラムを示すフローチャートである。 34−
FIG. 1 is a diagram showing an acceleration/deceleration pattern, FIG. 2 is a diagram showing a position change pattern with respect to time based on a standard acceleration pattern, and FIG. 3 is a flowchart showing a processing program for acceleration/deceleration control according to the present invention. It is. 34-

Claims (1)

【特許請求の範囲】[Claims] ロボットを駆動するサーボ系に速度指令を送って加減速
を制御する方法において、標準となる加減速パターンに
基いて時間に対する位置変化パターンを求め、この変化
パターンの起点から終点までの位置データを時間軸方向
に一定間隔でサンプリングして、加減速パターンをこれ
ら位置データのテーブルとして記憶されておき、このテ
ーブルデータに対し、実際の加減速時間に合せた時間軸
方向の調整演算を行なうと共に目標位置に合わせた位置
軸方向の調整演算を行ない、これら演算で求められた実
際の加減速に対応する位置変化データから速度指令値を
算出してサーボ系に出力するようにしたことを特徴とす
るロボットの加減速制御方法。
In the method of controlling acceleration/deceleration by sending speed commands to the servo system that drives the robot, a position change pattern with respect to time is determined based on a standard acceleration/deceleration pattern, and position data from the start point to the end point of this change pattern is calculated over time. Acceleration/deceleration patterns are sampled at regular intervals in the axial direction and stored as a table of position data. Adjustment calculations are performed on this table data in the time axis direction in accordance with the actual acceleration/deceleration time, and the target position is calculated. A robot characterized in that it performs adjustment calculations in the position axis direction according to the calculations, calculates a speed command value from position change data corresponding to the actual acceleration/deceleration determined by these calculations, and outputs it to a servo system. acceleration/deceleration control method.
JP29201289A 1989-11-09 1989-11-09 Acceleration/deceleration control method for robot Pending JPH03152605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29201289A JPH03152605A (en) 1989-11-09 1989-11-09 Acceleration/deceleration control method for robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29201289A JPH03152605A (en) 1989-11-09 1989-11-09 Acceleration/deceleration control method for robot

Publications (1)

Publication Number Publication Date
JPH03152605A true JPH03152605A (en) 1991-06-28

Family

ID=17776384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29201289A Pending JPH03152605A (en) 1989-11-09 1989-11-09 Acceleration/deceleration control method for robot

Country Status (1)

Country Link
JP (1) JPH03152605A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60112106A (en) * 1983-11-22 1985-06-18 Howa Mach Ltd Drive control method of moving mechanism

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60112106A (en) * 1983-11-22 1985-06-18 Howa Mach Ltd Drive control method of moving mechanism

Similar Documents

Publication Publication Date Title
EP0130570B1 (en) Method and apparatus for controlling a robot hand along a predetermined path
CN101402199B (en) Hand-eye type robot movable target extracting method with low servo accuracy based on visual sensation
JP2002018754A (en) Robot device and its control method
US4888536A (en) Device for controlling positioning of an object
EP0258447A1 (en) Method of returning to origin
JPH03152605A (en) Acceleration/deceleration control method for robot
KR0168065B1 (en) Motor controlling method & device on numeric controlling system
CN113858213B (en) Robot dynamic track planning method for target synchronization
CN112068490A (en) Trajectory planning method and device, electronic equipment and storage medium
JP2008500620A (en) Computer-aided determination of additional position target values for additional elements that can be moved with position guidance in machines, in particular production machines
JPS5857762B2 (en) Method and device for correcting movement speed in robots
JP2703099B2 (en) Conveyor tracking method for industrial robots
JPH0623928B2 (en) Robot hand trajectory correction method
JP2601433B2 (en) Interpolation control method and apparatus for industrial robot
JP2523138B2 (en) Work tracking device control method
JPS60220408A (en) Joint type robot controller
KR0160639B1 (en) Calculation method for robot trajectory planning by ratio calculation
JP2638467B2 (en) Robot controller
JPH0596481A (en) Robot control device
KR920017772A (en) Linear interpolation method of robot
JP2629758B2 (en) Trajectory correction method
JP3457693B2 (en) Robot trajectory control method
JPH07148681A (en) Robot control method and device therefor
JPS59108109A (en) Instructing and reproducing method of multi-joint type ptp robot
JPH07227781A (en) Control method and device for industrial robot