JPH0320804A - Robot reproduction control method - Google Patents

Robot reproduction control method

Info

Publication number
JPH0320804A
JPH0320804A JP15463289A JP15463289A JPH0320804A JP H0320804 A JPH0320804 A JP H0320804A JP 15463289 A JP15463289 A JP 15463289A JP 15463289 A JP15463289 A JP 15463289A JP H0320804 A JPH0320804 A JP H0320804A
Authority
JP
Japan
Prior art keywords
teaching
correction
path
robot
taught
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
JP15463289A
Other languages
Japanese (ja)
Inventor
Takashi Miyata
隆 宮田
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.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP15463289A priority Critical patent/JPH0320804A/en
Publication of JPH0320804A publication Critical patent/JPH0320804A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a locus with fidelity to route fluctuation by decreasing a correction value fitting in the magnitude of the speed fluctuation and acceleration fluctuation of a robot. CONSTITUTION:A robot axis 4 can be moved by sending a command to move the robot axis 4 to a correction targeted position Pi' from a CPU 1 to an actua tor 3. The CPU 1 reads out the next teaching position Pi from a memory 2, and reads out teaching positions Pi-a...Pi-1 before that, and teaching positions Pi+1...Pi+b behind that. Next, a weight factor can be obtained by operating the mean value Pia of preceding teaching positions and the mean value Pib of succeeding teaching positions, and calculating a mean route seconds of arc thetai by utilizing the inner product of a vector connecting the position Pia to the Pi with a vector connecting the position Pi to the Pib. The CPU 1 operates the correction targeted position Pi' based on the teaching position, the preceding teaching position, the succeeding teaching position, and the weight factor. Since the correction value is decreased when a large amount of route fluctuation exists, the locus with fidelity to the route fluctuation can be obtained.

Description

【発明の詳細な説明】 く産業上の利用分野〉 本発明はロボットの再生IIJrIg方法に関し、滑ら
かな移動経路を保持しつつ、特にコーナ部での移動経路
が本来の教示位置に近くなるよう企図したものである。
[Detailed Description of the Invention] Industrial Application Fields The present invention relates to a method for regenerating a robot IIJrIg, and is designed to maintain a smooth movement path and make the movement path, especially at corners, close to the original teaching position. This is what I did.

なお本発明でいうロボットとは、通常のロボットの他、
マニビュレータ,工作i[, M送iw等を含むものを
いう。
Note that the robots referred to in the present invention include ordinary robots,
Includes manibulator, work i[, M feed iw, etc.

く従来の技術〉 第1図はロボット、例えば塗装用ロボットの要部を示す
ブロック図である。このロボットでは、ティーチイング
プレイパック方式で作業教示が行なわれる。一般にティ
ーチイングプレイバック方式では、教示者の技能をその
まま教示させることができる利点がある。
BACKGROUND ART FIG. 1 is a block diagram showing the main parts of a robot, for example a painting robot. This robot uses the teaching play pack method to teach work. In general, the teaching playback method has the advantage that the teacher's skills can be directly taught.

ここで教示再生動作をより具体的に説明する。Here, the teaching reproduction operation will be explained in more detail.

教示をするときには、教示者がロボット軸4(移動軸)
を直接移動させる。したがってロボット4の教示経路L
は、例えば第5図に示すようになる。そしてこの教示時
に、一定時間間隔または可変時間間隔で、教示経路Lか
ら多数の教示位置P,をサンプリングし、これら教示位
置Pをメモリ2に記憶する。なお教示軽@Lが折れ線状
になっているのは、教示者の意図しないr手振れ」等が
教示情報として入り込んでしまうからである。
When teaching, the teacher must move the robot axis 4 (moving axis)
move directly. Therefore, the teaching path L of the robot 4
is as shown in FIG. 5, for example. During this teaching, a large number of teaching positions P are sampled from the teaching path L at fixed time intervals or variable time intervals, and these teaching positions P are stored in the memory 2. Note that the reason why the teaching light @L is in the form of a polygonal line is that unintentional hand movements by the teacher may be included as teaching information.

再生動作をするときには、中央処理装置(CPU)1は
、メモリ2から教示位置P,を読み出し、この教示位置
P,を補正演算して補正目標位置P,′を求める。この
補正演算は、折線状の教示経路Lから滑らかな補正経路
lを得るために行うものであり、次式(1)で示される
When performing a reproducing operation, the central processing unit (CPU) 1 reads the taught position P, from the memory 2, and performs a correction operation on the taught position P, to obtain a corrected target position P,'. This correction calculation is performed to obtain a smooth correction path l from the polygonal taught path L, and is expressed by the following equation (1).

CPUIは、ロボット軸4が各補正目標位置P′に順次
向うように、動作指令をアクチュエータ3に送りロボッ
ト軸4を作動させる。
The CPUI sends operation commands to the actuator 3 to operate the robot axis 4 so that the robot axis 4 sequentially moves to each corrected target position P'.

このときロボット軸4の位置情報をCPUIにフィード
バックしてフィードバック制御を行なっている。かくて
、ロボット軸4は各補正目標位置p,/に順次向って移
動し、その再生経路は滑らかな補正経路lとなる。
At this time, the position information of the robot axis 4 is fed back to the CPUI for feedback control. Thus, the robot axis 4 sequentially moves toward each correction target position p, /, and its reproduction path becomes a smooth correction path l.

く発明が解決しようとする課題〉 ところで上述した従来技術では、第5図に示すように、
直線移動するときにはロボット軸4の軌跡(補正111
1!tl)は滑らかで良好であるが、コーナ部など連動
方向が大きく変化する部分では、ロボット軸4の軌跡(
補正経Ril)は、本来の教示位置よりも内側に入り込
んでしまい、期待した軌跡からはずれてしまう(ズレを
第5図ではαで示している)という欠点があった。
Problems to be Solved by the Invention> By the way, in the above-mentioned prior art, as shown in FIG.
When moving in a straight line, the trajectory of the robot axis 4 (correction 111
1! The trajectory of the robot axis 4 (
The correction path (Ril) has the disadvantage that it goes inside the original teaching position and deviates from the expected trajectory (the deviation is indicated by α in FIG. 5).

本発明は、上記従来技術に鑑み、コーナ部などの経路変
動に対しても忠実な軌跡をとりうるロボットの再生制御
方法を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned prior art, it is an object of the present invention to provide a regeneration control method for a robot that can maintain a faithful trajectory even when the path changes at corners and the like.

く課題を解決するための手段〉 上記課題を解決する本発明は、 移動軸が次に向かう補正目標位置を求めるには、 まず、求める補正目標位置に対応する教示位置とこれよ
り前の所要数の教示位置の平均位置とを結ぶ線と、求め
る補正目標位置に対応する教示位置とこれより後の所要
数の教示位置の平均位置とを結ぶ線とでなる平均経路変
位角を求め、 次に、求めた平均!!路変位角の値に応じた値の補正用
重み関数を求め、 求めた補正用重み関数と、求める補正目標位置に対応す
る教示位置と、この教示位置の前後の教示位置とを、補
正演算式に代入して、求める補正目標位置を得ることを
特徴とする。
Means for Solving the Problems> The present invention solves the above problems as follows: In order to find the corrected target position to which the moving axis will go next, first, the teaching position corresponding to the desired corrected target position and the required number of points before this are determined. Find the average path displacement angle formed by the line connecting the average position of the teaching positions of , the average found! ! A correction weighting function with a value corresponding to the value of the road displacement angle is determined, and the correction calculation formula is calculated using the obtained correction weighting function, a teaching position corresponding to the desired correction target position, and teaching positions before and after this teaching position. The feature is that the desired corrected target position is obtained by substituting .

く作   用〉 経路変動の大きさを、平均経路変位角から求め、直線移
動のときのように経路変動が小さいときには補正を大き
くして滑らかな軌跡を得るようにし、コーナ部移動のと
きのように経路変動が大きいときには補正を小さくして
経路変動に忠実な軌跡を得るようにした。
Function> The magnitude of the path fluctuation is determined from the average path displacement angle, and when the path fluctuation is small, such as when moving in a straight line, the correction is increased to obtain a smooth trajectory, and when the path fluctuation is small, such as when moving in a corner, the correction is increased to obtain a smooth trajectory. When the route variation is large, the correction is made smaller to obtain a trajectory that is faithful to the route variation.

く実 施 例〉 第1図は本発明方法を適用するロボット(塗装ロボット
等)の要部を示し、第2図は本発明方法の要部を示すフ
ロー図である。
Embodiments FIG. 1 shows the main parts of a robot (painting robot, etc.) to which the method of the present invention is applied, and FIG. 2 is a flow diagram showing the main parts of the method of the present invention.

教示動作は従来と同様に、教示者がロボット軸(移動軸
)4を直接動かし、教示経RiL(第4図参照)から教
示位置Pをサンプリングし、サンプリングした多数の教
示位置P1をメモリ2に記憶する。メモリ2には、重み
関数K,の初期値や、参照点数a,bが設定されている
。なお、重み関数K,の初期値や参照点数a,bを、メ
モリ2に記憶せず、プリセットスイッチなどの設定器か
ら、中央処理装置(CPU)1に読み取りできるように
しておいてもよい。
The teaching operation is similar to the conventional one, in which the teacher directly moves the robot axis (moving axis) 4, samples the teaching position P from the teaching line RiL (see Figure 4), and stores a large number of sampled teaching positions P1 in the memory 2. Remember. In the memory 2, the initial value of the weighting function K, and the numbers of reference points a and b are set. Note that the initial value of the weighting function K and the reference points a and b may not be stored in the memory 2, but may be readable by the central processing unit (CPU) 1 from a setting device such as a preset switch.

一方、再生動作をするときには、CPUIは次に述べる
ような処理をしてから補正目標位置Pごを求める。
On the other hand, when performing a reproducing operation, the CPU performs the following processing and then obtains each corrected target position P.

ここで補正目標位置P′を求めるまでに実行するCPU
Iの処理演算を、第2図,第3図を参照して説明する。
Here, the CPU executed before finding the corrected target position P'
The processing operation of I will be explained with reference to FIGS. 2 and 3.

■ ロボットの再生時に、CPU1は再生すべき次の教
示位置Pをメモリ2から読み出す(ステップi)o ■ CPUIは、教示位置Pより前の教示位置pl−m
’・・・p,−,, p.,ならびに、教示位@P,よ
り後の教示位置教示位II P141’P1や2,・・
・P1+bを読み出す(ステップ2)。
■ When reproducing the robot, the CPU 1 reads the next teaching position P to be reproduced from the memory 2 (step i) o ■ The CPU 1 reads the teaching position pl-m before the teaching position P
'...p, -,, p. , as well as teaching position @P, later teaching position teaching position II P141'P1 and 2,...
- Read P1+b (step 2).

■ 次に、前の教示位@ P,−,,・・・Pl−2j
 Pl−1の平均位置Pl.と、後の教示位fiI P
++t’P l+1’・・・Pl+k+の平均位[P,
ゎを、次式(21 (31により演算する(ステップ3
)。
■ Next, the previous teaching position @ P, -,,...Pl-2j
Average position of Pl-1 Pl. and the later teaching position fiI P
++t'P l+1'... Average position of Pl+k+ [P,
Calculate ゎ using the following formula (21 (31) (step 3
).

Σ  P P =゜“1−゜              ・・・
(2)」一     a Σ  P P =二一二一一           ・・・(3)
IIb ■ 位置P1とP,とを結ぶベクトルP,,P,と、位
置P,とPll,とを結ぶベクトルPIPlbの内積関
係を利用し、次式(4)により平均経路変位角θを算出
する(ステップ4)。
Σ P P =゜"1-゜...
(2) 1 a Σ PP = 21211 ... (3)
IIb ■ Calculate the average path displacement angle θ using the following equation (4) using the inner product relationship of the vector P,,P, connecting positions P1 and P, and the vector PIPlb connecting positions P, and Pll. (Step 4).

■ 算出した平均経路変位角θ,を、次式(5)に代入
して、補正演算式(1)に用いる重み関数KJを演算す
る。
(2) Substitute the calculated average path displacement angle θ, into the following equation (5) to calculate the weighting function KJ used in the correction calculation equation (1).

K=f(θ)          ・・・(5)j f(θ)は、θ1によりK,を決定する関数であり制御
する対象に応じて設定する(ステップ5)。
K=f(θ) (5) j f(θ) is a function that determines K based on θ1, and is set depending on the object to be controlled (step 5).

■ CPUIは、教示位置p.、前の位置P ,・・・
P+−2,P+−1、後の位置p:++’P,。2,・
・・P,+1,、演算した重み関数Kを補正演算式(1
)に代入して補正目標位置PI′を演算する(ステップ
6)o Σ K, 上述した■〜■の処理をした後に、CPUIは、上記処
理により得た補正目標位置P,′に向いロボット軸4が
移動するように、アクチ一エータ3に動作指令を送る(
ステップ7)。
■ The CPUI is at the teaching position p. , previous position P ,...
P+-2, P+-1, later position p: ++'P,. 2,・
...P,+1,, the calculated weighting function K is corrected using the calculation formula (1
) to calculate the corrected target position PI' (step 6) o Σ K, After performing the processing of ■ to ■ above, the CPU directs the robot axis toward the corrected target position P, Sends a movement command to the actuator 3 so that the actuator 4 moves (
Step 7).

乙のとき、フィードバック制御をしてロボット軸4の移
動を制御する。よってロボット軸4は、第4図に示す補
正経路lに沿い滑らかに移動する。しかも上述した■〜
■の処理をしているため、直線移動のときのように経路
変動が小さいときには補正を大きくして滑らかな軌跡が
得られ、コーナ部移動のときのように,1!路変動が大
きいときには補正を小さくして経路変動に忠実な軌跡が
得られる。つまり第4図に示すように、ロボット軸4の
軌跡である補正経路tは滑らかであり、しかもコーナ部
においても本来の教示位置に近くなる。
In case B, the movement of the robot axis 4 is controlled by feedback control. Therefore, the robot axis 4 moves smoothly along the correction path l shown in FIG. Moreover, as mentioned above
Since the processing described in (2) is performed, when the path variation is small, such as when moving in a straight line, the correction is increased to obtain a smooth trajectory, and when moving around a corner, as in the case of moving in a corner, 1! When road fluctuations are large, the correction is made small to obtain a trajectory that is faithful to the route fluctuations. In other words, as shown in FIG. 4, the correction path t, which is the locus of the robot axis 4, is smooth and is close to the original taught position even at the corners.

よって第5図に示すズレαがなくなり、再生軌道の忠実
さが向上し、例えば塗装ロボットでは塗り残しなどがな
くなり塗装品質が向上する。
Therefore, the deviation α shown in FIG. 5 is eliminated, and the fidelity of the reproduced trajectory is improved. For example, in a painting robot, there is no unpainted area, and the quality of painting is improved.

く発明の効果〉 以上実施例とともに具体的に説明したように本発明によ
れば、再生時に補正目標位置を演算する際に、その前後
の経路変動を組み入れることにより、コーナ部ではその
経路変動の大きさに合せて補正を小さくし、教示経路に
沿い忠実に移動軸を滑らかに移動でき、また直線移動部
では補正量を大きくして更に滑らかに移動軸を移動させ
ることができろ。また、滑らかな移動ができるため位置
速度も平均化され、速度変動や加速度変動が小さくなり
機械寿命が向上する。
Effects of the Invention> As specifically explained above in conjunction with the embodiments, according to the present invention, when calculating the corrected target position during playback, by incorporating the path fluctuations before and after the correction target position, the path fluctuations are reduced at the corner portion. It is possible to reduce the correction according to the size of the object and move the movement axis faithfully and smoothly along the taught path, and in the linear movement part, it is possible to increase the amount of correction and move the movement axis even more smoothly. In addition, since smooth movement is possible, position speed is also averaged, speed fluctuations and acceleration fluctuations are reduced, and machine life is improved.

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

第1図はロボットの要部を示すブロック図、第2図は本
発明方法の演算手順を示すフロー図、第3図は平均経路
変位角の算出方法を示す説明回、第4図は本発明方法に
より得た経路を示す説明図、第5図は従来方法により得
た経路を示す説明図である。 図面中、 1は中央処理装置、 2はメモリ、 3はアクチュエー夕、 4はロボット軸) Pは教示位置、 P′は補正目標位置、 Lは教示経路、 Iは補正経路、 Kは重み関数、 θは平均経路変位角である。
Fig. 1 is a block diagram showing the main parts of the robot, Fig. 2 is a flow chart showing the calculation procedure of the method of the present invention, Fig. 3 is an explanatory section showing the method of calculating the average path displacement angle, and Fig. 4 is the method of the present invention. FIG. 5 is an explanatory diagram showing a route obtained by the conventional method. In the drawing, 1 is the central processing unit, 2 is the memory, 3 is the actuator, 4 is the robot axis) P is the teaching position, P' is the correction target position, L is the teaching path, I is the correction path, K is the weighting function, θ is the average path displacement angle.

Claims (1)

【特許請求の範囲】 教示時におけるロボットの移動軸の経路である教示経路
の中から、多数の教示位置をサンプリングして記憶して
おき、 移動軸を再生動作するときには、再生経路を滑らかにす
る補正演算式を用いて、各教示位置を補正演算して各教
示位置にそれぞれ対応した補正目標位置を求め、各補正
目標位置に向い移動軸を順次移動させていくロボットの
再生制御方法において、 移動軸が次に向かう補正目標位置を求めるには、 まず、求める補正目標位置に対応する教示位置とこれよ
り前の所要数の教示位置の平均位置とを結ぶ線と、求め
る補正目標位置に対応する教示位置とこれより後の所要
数の教示位置の平均位置とを結ぶ線とでなる平均経路変
位角を求め、 次に、求めた平均経路変位角の値に応じた値の補正用重
み関数を求め、 求めた補正用重み関数と、求める補正目標位置に対応す
る教示位置と、この教示位置の前後の教示位置とを、前
記補正演算式に代入して、求める補正目標位置を得るこ
とを特徴とするロボットの再生制御方法。
[Claims] A large number of teaching positions are sampled and stored from a teaching path that is the path of the robot's movement axis during teaching, and when the movement axis is regenerated, the playback path is smoothed. In a robot regeneration control method in which each taught position is corrected using a correction calculation formula to obtain a corrected target position corresponding to each taught position, and the movement axis is sequentially moved toward each corrected target position. To find the corrected target position to which the axis will go next, first, draw a line connecting the taught position corresponding to the desired corrected target position and the average position of the required number of previous taught positions, and the line that corresponds to the desired corrected target position. The average path displacement angle formed by the line connecting the teaching position and the average position of the required number of subsequent teaching positions is calculated, and then a correction weighting function of a value corresponding to the value of the calculated average path displacement angle is calculated. and substituting the obtained correction weighting function, a taught position corresponding to the desired corrected target position, and taught positions before and after this taught position into the correction calculation formula to obtain the desired corrected target position. A method for controlling playback of robots.
JP15463289A 1989-06-19 1989-06-19 Robot reproduction control method Pending JPH0320804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15463289A JPH0320804A (en) 1989-06-19 1989-06-19 Robot reproduction control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15463289A JPH0320804A (en) 1989-06-19 1989-06-19 Robot reproduction control method

Publications (1)

Publication Number Publication Date
JPH0320804A true JPH0320804A (en) 1991-01-29

Family

ID=15588442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15463289A Pending JPH0320804A (en) 1989-06-19 1989-06-19 Robot reproduction control method

Country Status (1)

Country Link
JP (1) JPH0320804A (en)

Similar Documents

Publication Publication Date Title
JPH02161503A (en) Method of correcting and regenerating teaching position data for robot
JPH0944225A (en) Control method for robot
JP2007216232A (en) Apparatus for controlling welding robot
JPH0320804A (en) Robot reproduction control method
JPH11342473A (en) Control of tig welding robot
JPH0899278A (en) Robot controller
JPH0126829B2 (en)
JP2743368B2 (en) Industrial robot control method
JPH02218571A (en) Control method for regenerating position of machine
JPH09258813A (en) Industrial robot
JP3444313B2 (en) Industrial robot controller
JPH03114671A (en) Torch angle control method for groove automatic profile control by arc sensor
JP2921756B1 (en) Robot control method and control device
JP3194829B2 (en) Robot motion program generation device
JPH10301616A (en) Teaching device for robot
JP2505546B2 (en) Position Reproduction Control Method for Direct Teaching Robot
JP3732276B2 (en) Teaching method for welding robot
JPH11188686A (en) Robot controller
JPH01220003A (en) Method for controlling learning of industrial robot
JP2003053539A (en) Posture control method for welding robot
JPH03129504A (en) Control method for minimizing speed variation of robot
JPH10149213A (en) Industrial robot
JP2637237B2 (en) Industrial robot controller
WO1993022107A1 (en) Method of controlling industrial robot
JPH0687076A (en) Method for controlling weaving of welding robot