JP2012171067A - Robot control device, robot system and robot control method - Google Patents

Robot control device, robot system and robot control method Download PDF

Info

Publication number
JP2012171067A
JP2012171067A JP2011037359A JP2011037359A JP2012171067A JP 2012171067 A JP2012171067 A JP 2012171067A JP 2011037359 A JP2011037359 A JP 2011037359A JP 2011037359 A JP2011037359 A JP 2011037359A JP 2012171067 A JP2012171067 A JP 2012171067A
Authority
JP
Japan
Prior art keywords
end effector
time
speed
workpiece
follow
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.)
Granted
Application number
JP2011037359A
Other languages
Japanese (ja)
Other versions
JP5817144B2 (en
Inventor
Shunsuke Toshimitsu
俊介 年光
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2011037359A priority Critical patent/JP5817144B2/en
Publication of JP2012171067A publication Critical patent/JP2012171067A/en
Application granted granted Critical
Publication of JP5817144B2 publication Critical patent/JP5817144B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a robot control device that can prevent an end effector fitted on a robot and a work on a conveyer from colliding with each other, and provide a robot system equipped with the device and a robot control method.SOLUTION: A robot control device 10 includes a horizontally moving time calculator 15a for calculating horizontally moving time required for the end effector to reach a point above a position of a work when the end effector moves to above the work, a follow-up moving time calculator 14 for calculating follow-up moving time required for a speed of the end effector and a speed of the work to become equal, and a downward motion setting part 16 for comparing the horizontally moving time and the downward moving time to set the termination time of the downward motion of the end effector before the end effector reaches above the work. When the horizontally moving time is shorter than the follow-up moving time, the downward motion setting part 16 sets the termination time of the downward motion of the end effector to the time subsequent to the follow-up moving time that has elapsed after the start of the motion of the end effector.

Description

この発明は、ロボット制御装置、該装置を備えるロボットシステム、及びロボットを制御する方法に関する。   The present invention relates to a robot control device, a robot system including the device, and a method for controlling the robot.

従来から、例えば特許文献1,2に記載のように、ロボットに取り付けられたエンドエフェクターがコンベヤー上のワークを追従するいわゆるトラッキング動作を行うロボットシステムが知られている。このようなロボットシステムの概略構成をエンドエフェクターの軌道とともに図4を参照して説明する。   Conventionally, as described in Patent Documents 1 and 2, for example, a robot system that performs a so-called tracking operation in which an end effector attached to a robot follows a workpiece on a conveyor is known. The schematic configuration of such a robot system will be described with reference to FIG. 4 together with the trajectory of the end effector.

図4に示されるように、ロボット50が有する基台51の先端には、基台51に対して水平方向に回動する第1アーム52が連結され、また、第1アーム52の先端には、第1アーム52に対して水平方向に回動する第2アーム53が連結されている。第2アーム53の先端には、鉛直方向に直動するスプライン54が連結され、さらに、スプライン54の下端には、ワークWを把持するエンドエフェクター55が連結されている。なお、基台51には、第1アーム52を回動させる第1モーター51aが内蔵されているとともに、第2アーム53には、第2アーム53を回動させる第2モーター53aと、スプライン54を直動させるスプラインモーター53bとが内蔵されている。   As shown in FIG. 4, a first arm 52 that rotates in the horizontal direction with respect to the base 51 is connected to the tip of the base 51 of the robot 50, and the tip of the first arm 52 is connected to the tip of the first arm 52. The second arm 53 that rotates in the horizontal direction with respect to the first arm 52 is connected. A spline 54 that moves linearly in the vertical direction is connected to the tip of the second arm 53, and an end effector 55 that grips the workpiece W is connected to the lower end of the spline 54. The base 51 incorporates a first motor 51 a that rotates the first arm 52, and the second arm 53 includes a second motor 53 a that rotates the second arm 53, and a spline 54. And a spline motor 53b that directly moves the motor.

上記ロボット50がワークWに対してトラッキング動作を行うとき、トラッキング動作が開始されるときの位置である移動開始位置P1のエンドエフェクター55に対し、下記上昇動作、合成動作、及び下降動作をロボット50は順に行う。すなわち、上昇動作では、スプライン54を上昇させて、移動開始位置P1のエンドエフェクター55をその直上の上昇位置P1aにまで上昇させる。次いで、合成動作では、下記(a)(b)の合成動作を行い、エンドエフェクター55を下降開始位置P3aまで移動させる。
(a)トラッキング動作が開始されるときのワークの位置であるワーク初期位置P2に対して、その直上位置である目標位置P2aに向けて上昇位置P1aのエンドエフェクター55を移動させる水平動作。
(b)コンベヤー40上のワークWの進行方向にエンドエフェクター55を加速させて、該進行方向におけるエンドエフェクター55の速度とコンベヤー速度Cvとが等しくなるようにこれらを同調させる追従動作。
When the robot 50 performs the tracking operation on the workpiece W, the robot 50 performs the following ascending operation, composition operation, and descending operation on the end effector 55 at the movement start position P1, which is the position at which the tracking operation is started. Are done in order. That is, in the ascending operation, the spline 54 is raised to raise the end effector 55 at the movement start position P1 to the ascending position P1a immediately above it. Next, in the combining operation, the following combining operations (a) and (b) are performed, and the end effector 55 is moved to the descent start position P3a.
(A) A horizontal operation of moving the end effector 55 at the ascending position P1a toward the target position P2a, which is a position immediately above the workpiece initial position P2, which is the position of the workpiece when the tracking operation is started.
(B) A follow-up operation of accelerating the end effector 55 in the traveling direction of the workpiece W on the conveyor 40 and synchronizing them so that the speed of the end effector 55 in the traveling direction is equal to the conveyor speed Cv.

そして、下降動作では、スプライン54を下降させて、合成動作の終了位置である下降開始位置P3aのエンドエフェクター55を下降終了位置P3まで下降させる。
次に、上記合成動作と下降動作とをロボット50に行わせるときに、ロボットコントローラー60が行う処理について、該ロボットコントローラー60の構成を機能に基づいて示した図5を参照して説明する。
In the lowering operation, the spline 54 is lowered, and the end effector 55 at the lowering start position P3a, which is the end position of the synthesis operation, is lowered to the lowering end position P3.
Next, processing performed by the robot controller 60 when causing the robot 50 to perform the combining operation and the descending operation will be described with reference to FIG. 5 showing the configuration of the robot controller 60 based on functions.

図5に示されるように、ロボットコントローラー60のトラッキング判断部61には、トラッキング動作の可能な領域にワークWが進入したことを示すワーク検出信号がワーク検出部71から送信される。そして、トラッキング判断部61がワーク検出信号を受信すると、ワーク初期位置P2の算出を指令する算出指令信号がトラッキング判断部61からワーク位置算出部62に出力される。さらにまた、移動開始位置P1の算出を指令する算出指令信号がトラッキング判断部61からエフェクター位置算出部63に出力される。   As shown in FIG. 5, a workpiece detection signal indicating that the workpiece W has entered a region where the tracking operation can be performed is transmitted from the workpiece detection unit 71 to the tracking determination unit 61 of the robot controller 60. When the tracking determination unit 61 receives the workpiece detection signal, a calculation command signal for instructing the calculation of the workpiece initial position P2 is output from the tracking determination unit 61 to the workpiece position calculation unit 62. Furthermore, a calculation command signal for commanding calculation of the movement start position P1 is output from the tracking determination unit 61 to the effector position calculation unit 63.

ワーク位置算出部62では、ワーク検出部71がワークWを検出する位置とコンベヤーエンコーダー72から取得されるコンベヤー40の移動量とに基づいて上記ワーク初期位
置P2が算出されて、該ワーク初期位置P2は軌道生成部64に出力される。また、エフェクター位置算出部63では、各モーター51a,53aのアームエンコーダー73から入力されるモーターの回転数に基づいて上記移動開始位置P1が算出されて、該移動開始位置P1もまた軌道生成部64に出力される。
In the workpiece position calculation unit 62, the workpiece initial position P2 is calculated based on the position where the workpiece detection unit 71 detects the workpiece W and the movement amount of the conveyor 40 acquired from the conveyor encoder 72, and the workpiece initial position P2 is calculated. Is output to the trajectory generator 64. Further, the effector position calculation unit 63 calculates the movement start position P1 based on the motor rotation speed input from the arm encoder 73 of each of the motors 51a and 53a, and the movement start position P1 is also calculated as the trajectory generation unit 64. Is output.

軌道生成部64では、上述したワーク初期位置P2と移動開始位置P1とに基づいて、上記合成動作におけるエンドエフェクター55の軌道が生成されて、該軌道に沿ってエンドエフェクター55を移動させる各モーター51a,53aの駆動量が算出される。各モーター51a,53aの駆動量は、アームモータードライバー81に出力される。   The trajectory generation unit 64 generates a trajectory of the end effector 55 in the synthesis operation based on the workpiece initial position P2 and the movement start position P1, and each motor 51a moves the end effector 55 along the trajectory. , 53a are calculated. The drive amounts of the motors 51 a and 53 a are output to the arm motor driver 81.

軌道生成部64の水平動作時間算出部64aでは、水平動作における加速期間や減速期間を示す速度パターンに基づいて上記水平動作に要する時間が算出される。水平動作時間算出部64aでは、合成動作の開始からの経過時間が上記算出時間に等しくなると、下降動作を開始するための下降指令信号がスプラインモータードライバー82に出力される。   The horizontal operation time calculation unit 64a of the trajectory generation unit 64 calculates the time required for the horizontal operation based on the speed pattern indicating the acceleration period or the deceleration period in the horizontal operation. In the horizontal operation time calculation unit 64a, when the elapsed time from the start of the synthesis operation becomes equal to the calculation time, a lowering command signal for starting the lowering operation is output to the spline motor driver 82.

アームモータードライバー81では、軌道生成部64から入力された駆動量に応じた駆動信号が生成されて該駆動信号が各モーター51a,53aに出力される。スプラインモータードライバー82では、スプライン54が下降するための駆動信号が上記下降指令信号に応じてスプラインモーター53bに出力される。これによって、上記合成動作の軌道に沿ってエンドエフェクター55が移動するとともに、合成動作のうち水平動作分に要する時間が経過した後には、エンドエフェクター55が下降終了位置P3まで下降する。   The arm motor driver 81 generates a drive signal corresponding to the drive amount input from the trajectory generator 64 and outputs the drive signal to each of the motors 51a and 53a. In the spline motor driver 82, a drive signal for lowering the spline 54 is output to the spline motor 53b in response to the lowering command signal. As a result, the end effector 55 moves along the trajectory of the composite operation, and after the time required for the horizontal operation of the composite operation has elapsed, the end effector 55 is lowered to the lowering end position P3.

特開2007−15055号公報JP 2007-15055 A 特開2009−297881号公報JP 2009-297881 A

ところで、上述したトラッキング動作では、上記上昇動作、水平動作、及び下降動作を連続して実行する動作であるJUMP動作と同様に、合成動作のうちの水平動作分が終了すると、エンドエフェクター55は直ちに下降動作を開始することになる。それゆえに、例えば、移動開始位置P1とワーク初期位置P2との距離が過度に短くなると、水平動作分に要する時間が追従動作分に要する時間よりも短くなる結果、上記追従動作分が終了する前に水平動作分が終了することになる。このときのエンドエフェクター55の速度のうち、水平動作方向、追従動作方向、及び下降動作方向の速度の各々の変更態様を図6に示す。なお、図6では、上昇位置P1aから目標位置P2aに向かうエンドエフェクター55の速度を水平速度Va、エンドエフェクター55の下降する速度を下降速度Vb、そしてワークWの搬送方向と平行な方向のエンドエフェクター55の速度を追従速度Vcとする。   By the way, in the tracking operation described above, the end effector 55 is immediately activated when the horizontal operation of the compositing operation is completed, similarly to the JUMP operation, which is an operation for continuously executing the ascending operation, the horizontal operation, and the descending operation. The descent operation will be started. Therefore, for example, when the distance between the movement start position P1 and the workpiece initial position P2 becomes excessively short, the time required for the horizontal operation becomes shorter than the time required for the follow-up operation. This completes the horizontal movement. Of the speeds of the end effector 55 at this time, changes in speeds in the horizontal movement direction, the follow-up movement direction, and the lowering movement direction are shown in FIG. In FIG. 6, the speed of the end effector 55 from the ascending position P1a toward the target position P2a is the horizontal speed Va, the descending speed of the end effector 55 is the descending speed Vb, and the end effector in a direction parallel to the workpiece W conveyance direction. The speed of 55 is set as the follow-up speed Vc.

図6(a)に示されるように、タイミングt0で合成動作が開始されると、所定の加速期間にて水平速度Vaは定速度V1まで加速されて、移動開始位置P1とワーク初期位置P2との距離に応じた期間だけ定速度V1で推移した後、所定の減速期間にて減速される。次いで、図6(b)に示されるように、合成動作のうち水平動作分が終了するタイミングt1からは、所定の加速期間にて下降速度Vbが定速度V2まで加速される。そして、下降開始位置P3aと下降終了位置P3との距離に応じた期間だけ下降速度Vbは定速度V2で推移した後、タイミングt2までの所定の減速期間にて減速される。一方、図6(c)に示されるように、タイミングt0で合成動作が開始されると、追従速度Vcは、コンベヤー速度Cvを超える最高速度V3まで加速された後に減速されて、タイミングt3
以降ではコンベヤー速度Cvで推移する。
As shown in FIG. 6A, when the composition operation is started at timing t0, the horizontal speed Va is accelerated to a constant speed V1 in a predetermined acceleration period, and the movement start position P1 and the work initial position P2 are After shifting at a constant speed V1 for a period corresponding to the distance, the vehicle is decelerated in a predetermined deceleration period. Next, as shown in FIG. 6B, the descending speed Vb is accelerated to the constant speed V2 in a predetermined acceleration period from the timing t1 when the horizontal operation of the combined operation ends. Then, after the descent speed Vb changes at a constant speed V2 for a period corresponding to the distance between the descent start position P3a and the descent end position P3, it is decelerated in a predetermined deceleration period up to timing t2. On the other hand, as shown in FIG. 6C, when the compositing operation is started at the timing t0, the follow-up speed Vc is accelerated to the maximum speed V3 exceeding the conveyor speed Cv and then decelerated, and the timing t3
Thereafter, it changes at the conveyor speed Cv.

このとき、合成動作のうち水平動作分に要する時間が過度に短くなり、上記タイミングt2が上記タイミングt3よりも先行することとなると、エンドエフェクター55がワークWに追いつくタイミングでは、既にスプライン54の下降が終了していることになる。その結果、下降終了位置P3のエンドエフェクター55がトラッキング動作の対象となるワークWやコンベヤー40上における他のワークWに衝突してしまい、エンドエフェクター55によるワークWの把持を行うことができなくなってしまう。なお、こうした問題は、コンベヤー40上の対象物としてのワークWをエンドエフェクター55によって把持する場合に限らず、エンドエフェクター55の把持しているワークWをコンベヤー40上のトレイ等の対象物上に載置する場合にも概ね共通して生じるものである。   At this time, if the time required for the horizontal operation of the combined operation becomes excessively short and the timing t2 precedes the timing t3, the spline 54 is already lowered at the timing when the end effector 55 catches up with the workpiece W. Will end. As a result, the end effector 55 at the lowering end position P3 collides with the workpiece W to be tracked or another workpiece W on the conveyor 40, and the end effector 55 cannot grip the workpiece W. End up. Such a problem is not limited to the case where the workpiece W as an object on the conveyor 40 is gripped by the end effector 55, but the workpiece W gripped by the end effector 55 is placed on an object such as a tray on the conveyor 40. This also generally occurs in the case of mounting.

この発明は、上記実情に鑑みてなされたものであり、その目的は、ロボットに取り付けられたエンドエフェクターとコンベヤー上のワークとの衝突を抑制することのできるロボット制御装置、該装置を備えるロボットシステム、及びロボット制御方法を提供することにある。   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 capable of suppressing a collision between an end effector attached to a robot and a workpiece on a conveyor, and a robot system including the device. And providing a robot control method.

本発明におけるロボット制御装置は、コンベヤーによって搬送されている対象物の上方に向けてエンドエフェクターを移動させながら、搬送方向における前記対象物の速度と前記エンドエフェクターの速度とを同調させて、前記対象物に向けて前記エンドエフェクターを下降させるロボット制御装置であって、前記エンドエフェクターがトラッキング開始時の位置から前記対象物のトラッキング開示時の位置の上方に到達するために必要な第1の時間と、前記エンドエフェクターの前記搬送方向における速度がトラッキング開始時から前記対象物の速度に同調するために必要な第2の時間と、を算出する算出部と、前記第1の時間と前記第2の時間とを比較し、前記エンドエフェクターの下降動作を設定する下降設定部とを備え、前記下降設定部は、前記第1の時間が前記第2の時間よりも短い場合に、前記エンドエフェクターの下降の終了時を前記第2の時間の経過時以降に設定することを要旨とする。   The robot controller according to the present invention synchronizes the speed of the object and the speed of the end effector in the conveying direction while moving the end effector toward the upper side of the object being conveyed by the conveyor, A robot controller for lowering the end effector toward an object, wherein the end effector has a first time required for the end effector to reach a position above the position at which tracking of the object is disclosed from the position at the start of tracking; A calculating unit that calculates a second time required for the speed of the end effector in the transport direction to synchronize with the speed of the object from the start of tracking, the first time, and the second time A descent setting unit that compares the time and sets the descent operation of the end effector. Parts, when the first time is shorter than the second time, and summarized in that setting the at the end of the descent of the end effector after the time lapse of the second time.

本発明におけるロボット制御装置によれば、対象物のトラッキング開示時の位置の上方にエンドエフェクターが到達するために必要な第1の時間と、エンドエフェクターの搬送方向における速度がトラッキング開始時から対象物の速度に同調するために必要な第2の時間とが算出される。そして、第1の時間が第2の時間よりも短い場合には、トラッキング開始時から第2の時間の経過時以降が下降の終了時として設定される。そのため、対象物に向けてエンドエフェクターが下降するときには、エンドエフェクターが対象物の上方から該対象物に接近するようになる。それゆえに、下降後のエンドエフェクターがコンベヤー上の対象物に接近して該エンドエフェクターとコンベヤー上の対象物とが衝突することを抑制することができる。   According to the robot control device of the present invention, the first time required for the end effector to reach above the position of the target when the tracking is disclosed, and the speed in the transport direction of the end effector are determined from the start of tracking. And a second time required to tune to the speed of. When the first time is shorter than the second time, the time after the elapse of the second time from the start of tracking is set as the end of descent. Therefore, when the end effector descends toward the object, the end effector approaches the object from above the object. Therefore, it is possible to suppress the end effector after being lowered from approaching the object on the conveyor and colliding between the end effector and the object on the conveyor.

この発明では、前記下降設定部は、前記第1の時間が前記第2の時間よりも短い場合に、前記エンドエフェクターの下降の開始時を前記第2の時間の経過時に設定することが好ましい。   In the present invention, it is preferable that the lowering setting unit sets the start time of the lowering of the end effector at the elapse of the second time when the first time is shorter than the second time.

この発明によれば、トラッキング開始時から第2の時間が経過したときが、エンドエフェクターの下降開始時となる。それゆえに、対象物の位置の上方へエンドエフェクターが移動し、且つ、搬送方向におけるエンドエフェクターの速度が対象物の速度と同調したときに、エンドエフェクターの下降が開始される。そのため、下降開始時のエンドエフェクターが対象物の直上に位置する確率はさらに高くなる。また、エンドエフェクターの下降中にわたり、エンドエフェクターと対象物とのこうした位置関係が維持されるようになる
。そのため、エンドエフェクターと対象物との衝突が、より抑制されるようになる。
According to the present invention, when the second time has elapsed from the start of tracking, the end effector starts to descend. Therefore, when the end effector moves above the position of the object and the speed of the end effector in the transport direction is synchronized with the speed of the object, the end effector starts to descend. Therefore, the probability that the end effector at the start of descent is located immediately above the object is further increased. Further, the positional relationship between the end effector and the object is maintained while the end effector is descending. Therefore, the collision between the end effector and the object is further suppressed.

この発明では、前記下降設定部は、前記第1の時間が前記第2の時間以上である場合に、前記エンドエフェクターの下降の開始時を前記第1の時間の経過時以降に設定すことが好ましい。   In this invention, the lowering setting unit may set the start of the lowering of the end effector after the elapse of the first time when the first time is equal to or longer than the second time. preferable.

この発明によれば、第1の時間が第2の時間以上である場合には、トラッキング開始時から第1の時間の経過時以降に、エンドエフェクターの下降が開始される。それゆえに、対象物の搬送方向へのエンドエフェクターの速度が対象物の速度と同調した後、且つ対象物の位置の上方へエンドエフェクターが移動したときに、エンドエフェクターの下降が開始される。そのため、対象物とエンドエフェクターとの距離に関わらず、エンドエフェクターと対象物との衝突が抑制されるようになる。   According to this invention, when the first time is equal to or longer than the second time, the end effector starts to descend after the first time has elapsed since the tracking start time. Therefore, the end effector starts to descend after the speed of the end effector in the conveyance direction of the object is synchronized with the speed of the object and when the end effector moves above the position of the object. Therefore, the collision between the end effector and the target is suppressed regardless of the distance between the target and the end effector.

この発明では、前記算出部は、前記エンドエフェクターが停止した状態で前記第1の時間と前記第2の時間とを算出することが好ましい。
対象物の位置の上方にエンドエフェクターが到達するのに必要な第1の時間と、搬送方向におけるエンドエフェクターの速度と対象物の速度とが同調するのに必要な第2の時間とは、エンドエフェクターが移動している途中にて算出することが可能である。このような構成であれば、トラッキング動作以外の他の動作とトラッキング動作とを連続的に行うことが可能となる。しかし、エンドエフェクターが移動している途中にて該エンドエフェクターの位置を把握するとなれば、エンドエフェクターの速度を検出する構成や該検出結果の加味された第1の時間と第2の時間とを算出する構成など、これら第1の時間と第2の時間とを得るための構成が自ずと複雑なものとなる。また、エンドエフェクターが移動している途中にて該エンドエフェクターの位置を把握するため、エンドエフェクターの速度に起因する誤差が第1の時間と第2の時間とにおいて大きくなることも少なくない。この点、この発明によれば、エンドエフェクターが停止した状態で第1の時間と第2の時間とが算出されるため、上述した構成と比較して、簡単な構成によって第1の時間と第2の時間とを算出することが可能となる。また、第1の時間と第2の時間との精度も上述した構成と比較して高いものとなる。
In this invention, it is preferable that the calculation unit calculates the first time and the second time while the end effector is stopped.
The first time required for the end effector to reach above the position of the object and the second time required for the speed of the end effector in the transport direction to synchronize with the speed of the object are the end time. It is possible to calculate while the effector is moving. With such a configuration, it is possible to continuously perform an operation other than the tracking operation and the tracking operation. However, if the position of the end effector is to be grasped while the end effector is moving, the configuration for detecting the speed of the end effector and the first time and the second time in consideration of the detection result are obtained. The structure for obtaining the first time and the second time, such as the structure to be calculated, is naturally complicated. Further, since the position of the end effector is grasped while the end effector is moving, an error caused by the speed of the end effector often increases between the first time and the second time. In this regard, according to the present invention, since the first time and the second time are calculated in a state where the end effector is stopped, the first time and the second time can be calculated with a simple configuration as compared with the configuration described above. 2 times can be calculated. In addition, the accuracy of the first time and the second time is also higher than that of the configuration described above.

この発明では、前記対象物の上方に水平移動によって前記エンドエフェクターを移動させながら、前記対象物の速度と前記搬送方向における前記エンドエフェクターの速度とを同調させ、前記第1の時間は、前記水平移動に必要な時間であることが好ましい。   In this invention, while moving the end effector by horizontal movement above the object, the speed of the object and the speed of the end effector in the transport direction are synchronized, and the first time is the horizontal time. It is preferable that the time is required for movement.

この発明によれば、第1の時間の算出に考慮されるべきエンドエフェクターの移動が水平面に沿う二次元的な移動になるため、エンドエフェクターが三次元的に移動する場合と比較して、第1の時間を簡単、且つ高い精度で算出することが可能となる。   According to the present invention, since the movement of the end effector to be taken into consideration in the calculation of the first time is a two-dimensional movement along the horizontal plane, compared with the case where the end effector moves three-dimensionally, 1 time can be calculated easily and with high accuracy.

この発明では、前記対象物に向けて前記エンドエフェクターを下降させて前記エンドエフェクターに前記対象物を保持させることが好ましい。
この発明によれば、コンベヤー上の対象物をエンドエフェクターに保持させるときに、エンドエフェクターの下降の終了時が第1の時間と第2の時間との比較に基づき設定される。そのため、下降したエンドエフェクターが搬送方向に沿って対象物に近づくこと、ひいてはエンドエフェクターと対象物とが衝突することを抑制することができる。それゆえに、エンドエフェクターが対象物を保持することの可能な確率を高めることができる。
In this invention, it is preferable that the end effector is lowered toward the object to hold the object on the end effector.
According to this invention, when the object on the conveyor is held by the end effector, the end time of the end effector descending is set based on the comparison between the first time and the second time. Therefore, it is possible to suppress the lowered end effector from approaching the target object along the transport direction, and consequently, the collision between the end effector and the target object. Therefore, it is possible to increase the probability that the end effector can hold the object.

本発明におけるロボットシステムは、対象物を搬送するコンベヤーと、前記コンベヤーによって搬送されている対象物の上方に向けてエンドエフェクターを移動させながら、搬送方向における前記対象物の速度と前記エンドエフェクターの速度とを同調させて、前記対象物に向けて前記エンドエフェクターを下降させるロボットと、前記ロボットの動作を
制御するロボット制御装置とを備えるロボットシステムであって、前記ロボット制御装置が、上述したロボット制御装置であることを要旨とする。
In the robot system according to the present invention, the speed of the object in the transport direction and the speed of the end effector while moving the end effector toward the upper side of the object being transported by the conveyor and the object being transported by the conveyor. And a robot control device that controls the operation of the robot, the robot control device including the robot control described above. The gist is that it is a device.

本発明におけるロボットシステムによれば、ロボットに取り付けられたエンドエフェクターとコンベヤー上のワークとの衝突を抑制することのできるロボットシステムを提供することができる。   According to the robot system of the present invention, it is possible to provide a robot system capable of suppressing the collision between the end effector attached to the robot and the workpiece on the conveyor.

本発明におけるロボット制御方法は、コンベヤーによって搬送されている対象物の上方に向けてエンドエフェクターを移動させながら、搬送方向における前記対象物の速度と前記エンドエフェクターの速度とを同調させて、前記対象物に向けて前記エンドエフェクターを下降させるロボット制御方法であって、前記エンドエフェクターがトラッキング開示時の位置から前記対象物のトラッキング開示時の位置の上方に到達するために必要な第1の時間と、前記エンドエフェクターの前記搬送方向における速度がトラッキング開始時から前記対象物の速度に同調するために必要な第2の時間と、を算出する工程と、前記第1の時間と前記第2の時間とを比較し、前記エンドエフェクターの下降動作を設定する工程とを備え、前記下降の終了時を設定する工程では、前記第1の時間が前記第2の時間よりも短い場合に、前記エンドエフェクターの下降の終了時を前記第2の時間の経過時以降に設定することを要旨とする。   The robot control method according to the present invention synchronizes the speed of the object and the speed of the end effector in the conveying direction while moving the end effector toward the upper side of the object being conveyed by a conveyor. A robot control method for lowering the end effector toward an object, the first time required for the end effector to reach a position above the tracking position of the object from the tracking disclosure position; Calculating a second time required for the speed of the end effector in the transport direction to synchronize with the speed of the object from the start of tracking; and the first time and the second time. And a step of setting the lowering operation of the end effector, and In the step of constant, if the first time is shorter than the second time, and summarized in that setting the at the end of the descent of the end effector after the time lapse of the second time.

本発明におけるロボット制御方法によれば、対象物のトラッキング開示時の位置の上方にエンドエフェクターが到達するために必要な第1の時間と、エンドエフェクターの搬送方向における速度がトラッキング開始時から対象物の速度に同調するために必要な第2の時間とが算出される。そして、第1の時間が第2の時間よりも短い場合には、トラッキング開始時から第2の時間の経過時以降が下降の終了時として設定される。そのため、対象物に向けてエンドエフェクターが下降するときには、エンドエフェクターが対象物の上方から該対象物に接近するようになる。それゆえに、下降後のエンドエフェクターがコンベヤー上の対象物に接近して該エンドエフェクターとコンベヤー上の対象物とが衝突することを抑制することができる。   According to the robot control method of the present invention, the first time required for the end effector to reach above the position of the target when the tracking is disclosed, and the speed in the transport direction of the end effector from the start of tracking the target. And a second time required to tune to the speed of. When the first time is shorter than the second time, the time after the elapse of the second time from the start of tracking is set as the end of descent. Therefore, when the end effector descends toward the object, the end effector approaches the object from above the object. Therefore, it is possible to suppress the end effector after being lowered from approaching the object on the conveyor and colliding between the end effector and the object on the conveyor.

本発明のロボット制御装置の一実施形態であるロボットコントローラーを機能に基づいて示す機能ブロック図。The functional block diagram which shows the robot controller which is one Embodiment of the robot control apparatus of this invention based on a function. 同ロボットコントローラーが実施する処理の手順を示すフローチャート。The flowchart which shows the procedure of the process which the robot controller implements. (a)(b)(c)同処理によるエンドエフェクターの速度のうち水平動作方向、下降動作方向、及び追従動作方向の速度の変更態様を示すタイミングチャート。(A) (b) (c) The timing chart which shows the change aspect of the speed of a horizontal operation direction, a descent | fall operation | movement direction, and a follow-up operation direction among the speeds of the end effector by the same process. ロボットシステムの概略構成を示す図。The figure which shows schematic structure of a robot system. 従来のロボットコントローラーを機能に基づいて示す機能ブロック図。The functional block diagram which shows the conventional robot controller based on a function. (a)(b)(c)従来のロボットコントローラーが実施する処理によるエンドエフェクターの速度のうち水平動作方向、下降動作方向、及び追従動作方向の速度の変更態様を示すタイミングチャート。(A) (b) (c) The timing chart which shows the change aspect of the speed of a horizontal operation direction, a descent | fall operation | movement direction, and a follow-up operation direction among the speeds of an end effector by the process which the conventional robot controller implements.

以下、本発明のロボット制御装置、該制御装置を備えるロボットシステム、及びロボット制御方法の一実施形態について図1〜図3を参照して説明する。なお、本実施形態におけるロボットシステムは、図4を参照して先に説明した従来のロボットシステムと比較して、第1の時間としての水平動作時間と、第2の時間としての追従動作時間とに基づいて下降動作のタイミングを変更可能とすることに特徴を有するものである。そのため、以下では、その特徴を説明する便宜上、先に説明したロボットシステムと重複する構成、例えばロボットの構成の説明を割愛するとともに、図4を参照して説明した構成と同じ構成については同一の符号を付して説明する。   Hereinafter, an embodiment of a robot control device, a robot system including the control device, and a robot control method according to the present invention will be described with reference to FIGS. Note that the robot system in this embodiment has a horizontal operation time as a first time and a follow-up operation time as a second time as compared with the conventional robot system described above with reference to FIG. This is characterized in that the timing of the descent operation can be changed based on the above. Therefore, in the following, for convenience of explaining the features, a configuration that overlaps with the robot system described above, for example, a description of the configuration of the robot is omitted, and the same configuration as the configuration described with reference to FIG. 4 is the same. A description will be given with reference numerals.

[ロボットシステム]
図1に示されるように、ロボットシステムを構成するロボットコントローラー10のトラッキング判断部11には、コンベヤー40上のワークWを検出するワーク検出部21が接続されている。ワーク検出部21は、トラッキング動作の対象となるワークWが所定の位置に到達したか否かを光学式のセンサーやカメラなどによって検出することで、ロボット50によるトラッキング動作が可能な領域に該ワークWが進入したか否かを検出する。そして、ワーク検出部21は、トラッキング動作の対象となるワークWがトラッキング動作の可能な領域に進入したことを検出すると、トラッキング判断部11とワーク位置算出部12とに対してワーク検出信号を出力する。
[Robot system]
As shown in FIG. 1, a work detection unit 21 that detects a work W on a conveyor 40 is connected to the tracking determination unit 11 of the robot controller 10 constituting the robot system. The workpiece detection unit 21 detects whether or not the workpiece W to be tracked has reached a predetermined position by using an optical sensor, a camera, or the like. Whether W has entered is detected. When the workpiece detection unit 21 detects that the workpiece W to be tracked has entered a region where the tracking operation can be performed, the workpiece detection unit 21 outputs a workpiece detection signal to the tracking determination unit 11 and the workpiece position calculation unit 12. To do.

トラッキング判断部11は、ワーク検出部21からのワーク検出信号の入力を受けて該ワークWをトラッキング動作の対象として登録するとともに、他のワークWに対するトラッキング動作の進捗を把握する。こうした進捗の把握は、例えば、トラッキング動作を行うためのプログラムの処理状況をプログラムカウンターから取得することによって行われる。   The tracking determination unit 11 receives an input of a workpiece detection signal from the workpiece detection unit 21 and registers the workpiece W as a tracking operation target, and grasps the progress of the tracking operation for another workpiece W. Such progress is grasped, for example, by acquiring the processing status of the program for performing the tracking operation from the program counter.

そして、他のワークWに対するトラッキング動作の処理工程と当該ワークWに対するトラッキング動作の処理工程とが重なることがない場合には、トラッキング判断部11は、当該ワークWのワーク初期位置P2の算出を指令する算出指令信号と、エンドエフェクター55の移動開始位置P1の算出を指令する算出指令信号とを出力する。他方、他のワークWに対するトラッキング動作の処理工程と当該ワークWに対するトラッキング動作の処理工程とが重なる場合には、トラッキング判断部11は、先行する他のワークWに対するトラッキング動作の処理工程を優先させるとともに、該処理工程が終了したときに、当該ワークWに対する上記各算出指令信号を出力する。   When the tracking operation processing step for another workpiece W and the tracking operation processing step for the workpiece W do not overlap, the tracking determination unit 11 instructs the calculation of the workpiece initial position P2 of the workpiece W. And a calculation command signal for commanding calculation of the movement start position P1 of the end effector 55 is output. On the other hand, when the tracking operation processing step for another workpiece W and the tracking operation processing step for the workpiece W overlap, the tracking determination unit 11 gives priority to the tracking operation processing step for the preceding other workpiece W. At the same time, when the processing step ends, the calculation command signals for the workpiece W are output.

このように、コンベヤー40上を搬送される各々のワークWが、上記ワーク検出部21によって略同一の位置にて検出されたとしても、他のワークWに対するトラッキング動作が行われているか否かによって、上記算出指令信号が出力されたときの移動開始位置P1が互いに異なることとなる。同様に、上記算出指令信号が出力されたときのワーク初期位置P2も互いに異なることになる。すなわち、トラッキング動作の開始時には、移動開始位置P1やワーク初期位置P2がトラッキング動作ごとに互いに異なることもある。その結果、これら移動開始位置P1とワーク初期位置P2との距離がトラッキング動作ごとに互いに異なることもある。   Thus, even if each work W conveyed on the conveyor 40 is detected at substantially the same position by the work detection unit 21, depending on whether or not a tracking operation is performed on another work W. The movement start positions P1 when the calculation command signal is output are different from each other. Similarly, the workpiece initial position P2 when the calculation command signal is output is also different from each other. That is, at the start of the tracking operation, the movement start position P1 and the workpiece initial position P2 may be different for each tracking operation. As a result, the distance between the movement start position P1 and the workpiece initial position P2 may be different for each tracking operation.

ワーク位置算出部12には、ワーク検出部21からワーク検出信号が入力されるとともに、上述したトラッキング判断部11からは算出指令信号が入力される。ワーク位置算出部12は、コンベヤー40を駆動するモーターの回転数をコンベヤーエンコーダー22から所定の演算周期で取得する。そして、ワーク位置算出部12は、上記所定の演算周期ごとに、コンベヤーエンコーダー22から取得したデータを用いて、上記ワーク検出指令を受けたときからのワークWの移動量を算出し、さらにワーク検出部21が検出したワークWの位置に当該移動量を加えることによって、当該ワークWの現在の位置を算出する。そして、ワーク位置算出部12は、このようにして算出したワークWの位置を上記所定の演算周期で軌道生成部15に出力する。なお、この際、ワーク位置算出部12は、軌道生成部15に出力するワークWの位置のうち、上記算出指令を受けたときから最新となるワークWの位置をワーク初期位置P2として取り扱う。   The workpiece position calculation unit 12 receives a workpiece detection signal from the workpiece detection unit 21 and a calculation command signal from the tracking determination unit 11 described above. The workpiece position calculation unit 12 acquires the rotation speed of the motor that drives the conveyor 40 from the conveyor encoder 22 at a predetermined calculation cycle. Then, the workpiece position calculation unit 12 calculates the movement amount of the workpiece W from when the workpiece detection command is received using the data acquired from the conveyor encoder 22 at each predetermined calculation cycle, and further detects the workpiece. The current position of the workpiece W is calculated by adding the movement amount to the position of the workpiece W detected by the unit 21. Then, the workpiece position calculation unit 12 outputs the position of the workpiece W calculated in this way to the trajectory generation unit 15 at the predetermined calculation cycle. At this time, the workpiece position calculation unit 12 treats the position of the workpiece W that is the latest from the time when the calculation command is received, as the workpiece initial position P2, among the positions of the workpiece W output to the trajectory generation unit 15.

エフェクター位置算出部13には、上述したトラッキング判断部11から算出指令信号が入力される。エフェクター位置算出部13は、ロボット50が有する各モーターの回転数を示すデータをアームエンコーダー23から所定の演算周期で取得する。そして、エフ
ェクター位置算出部13は、アームエンコーダー23から上記所定の演算周期ごとに取得したデータを用いてエンドエフェクター55の位置を算出するとともに、このようにして算出したエンドエフェクター55の位置を上記所定の演算周期で軌道生成部15に出力する。なお、この際、エフェクター位置算出部13は、軌道生成部15に出力するエンドエフェクター55の位置のうち、上記算出指令を受けたときから最新となるエンドエフェクター55の位置を移動開始位置P1として取り扱う。
A calculation command signal is input to the effector position calculation unit 13 from the tracking determination unit 11 described above. The effector position calculation unit 13 acquires data indicating the rotation speed of each motor included in the robot 50 from the arm encoder 23 at a predetermined calculation cycle. The effector position calculation unit 13 calculates the position of the end effector 55 using the data acquired from the arm encoder 23 for each predetermined calculation cycle, and calculates the position of the end effector 55 thus calculated. Is output to the trajectory generation unit 15 at the calculation cycle. At this time, the effector position calculation unit 13 treats the position of the end effector 55 that is the latest from when the calculation command is received, as the movement start position P1, among the positions of the end effector 55 output to the trajectory generation unit 15. .

追従動作時間算出部14には、上述したトラッキング判断部11から算出指令信号が入力される。この追従動作時間算出部14には、上記(b)追従動作時におけるエンドエフェクター55の速度を制御するためのデータ、例えば加速期間、減速期間、さらにはコンベヤー速度Cvが速度パターンとして格納されている。そして、追従動作時間算出部14は、上記算出指令信号を受けると、上記速度パターンを参照して、ワークWの搬送方向へのエンドエフェクター55の速度が、上昇動作における速度「0」の状態からコンベヤー速度Cvに等しくなるまでの時間を追従動作時間T2として算出する。そして、追従動作時間算出部14は、算出した追従動作時間T2を下降設定部16に出力する。   The follow-up operation time calculation unit 14 receives a calculation command signal from the tracking determination unit 11 described above. The follow-up operation time calculation unit 14 stores (b) data for controlling the speed of the end effector 55 during the follow-up operation, for example, an acceleration period, a deceleration period, and further a conveyor speed Cv as a speed pattern. . When the follow-up operation time calculation unit 14 receives the calculation command signal, the speed of the end effector 55 in the conveyance direction of the workpiece W is changed from the state of the speed “0” in the ascending operation with reference to the speed pattern. The time until it becomes equal to the conveyor speed Cv is calculated as the follow-up operation time T2. Then, the follow-up operation time calculation unit 14 outputs the calculated follow-up operation time T2 to the lowering setting unit 16.

なお、追従動作時間算出部14に格納された速度パターンとは、先の図6(c)に示されるように、搬送方向へのエンドエフェクター55の速度である追従速度Vcが、合成動作の開始時からコンベヤー速度Cvを超える最高速度V3にまで加速された後に減速されて、その後、コンベヤー速度Cvで推移するパターンである。また、この速度パターンでは、加速期間と減速期間とにおける追従速度Vcの平均値がコンベヤー速度Cvとなるように、これら加速期間と減速期間とが設定されている。上記追従動作によってエンドエフェクター55の移動する距離は、こうした追従速度Vcとエンドエフェクター55の移動した時間とを乗算した値である。それゆえに、加速期間と減速期間とにおける追従速度Vcの平均値がコンベヤー速度Cvとなる速度パターンであれば、追従速度Vcがコンベヤー速度Cvで推移するまでに、ワークWが搬送方向に移動した距離とエンドエフェクター55が搬送方向に移動した距離とが自ずと等しくなる。ちなみに、上述した速度パターンに基づいて算出される追従動作時間T2は、コンベヤー速度をCv、追従動作における加速度(減速度)を加速度A(−A)とすると、下式によって算出される。   Note that the speed pattern stored in the follow-up operation time calculation unit 14 is, as shown in FIG. 6C, the follow-up speed Vc that is the speed of the end effector 55 in the transport direction is the start of the compositing operation. It is a pattern in which the vehicle is decelerated after being accelerated up to the maximum speed V3 exceeding the conveyor speed Cv, and then transitioned at the conveyor speed Cv. In this speed pattern, the acceleration period and the deceleration period are set such that the average value of the follow-up speed Vc in the acceleration period and the deceleration period becomes the conveyor speed Cv. The distance that the end effector 55 moves by the following operation is a value obtained by multiplying the following speed Vc and the time the end effector 55 has moved. Therefore, if the average value of the following speed Vc during the acceleration period and the deceleration period is a speed pattern in which the conveyor speed Cv is obtained, the distance that the workpiece W has moved in the transport direction before the following speed Vc changes at the conveyor speed Cv. And the distance that the end effector 55 has moved in the transport direction is naturally equal. Incidentally, the follow-up operation time T2 calculated based on the above-described speed pattern is calculated by the following equation, where Cv is the conveyor speed and acceleration (deceleration) in the follow-up operation is acceleration A (−A).

追従動作時間T2=(2+√2)Cv/2A
軌道生成部15には、ワーク位置算出部12からその算出結果であるワークWの位置が所定の周期ごとに入力されるとともに、エフェクター位置算出部13からその算出結果であるエンドエフェクター55の位置が同じく所定の周期ごとに入力される。軌道生成部15は、上記所定の周期ごとに、これらワークの位置の直上位置とエンドエフェクター55の位置とを結ぶ軌道をエンドエフェクター55の軌道として生成するとともに、該軌道上の位置にエンドエフェクター55を移動させるためのアームの関節角度を算出する。そして、軌道生成部15は、その算出結果であるロボットの姿勢を再現するための各アームモーター32の回転角度を算出するとともに、該算出結果に基づく各アームモーター32の駆動量をアームモータードライバー31に出力する。
Follow-up operation time T2 = (2 + √2) Cv / 2A
The trajectory generation unit 15 receives the position of the workpiece W, which is the calculation result, from the workpiece position calculation unit 12 every predetermined period, and the position of the end effector 55, which is the calculation result, from the effector position calculation unit 13. Similarly, it is input every predetermined period. The trajectory generating unit 15 generates a trajectory connecting the position immediately above the workpiece position and the position of the end effector 55 as the trajectory of the end effector 55 for each predetermined period, and at the position on the trajectory, the end effector 55. The joint angle of the arm for moving is calculated. Then, the trajectory generation unit 15 calculates the rotation angle of each arm motor 32 for reproducing the robot posture, which is the calculation result, and sets the drive amount of each arm motor 32 based on the calculation result to the arm motor driver 31. Output to.

なお、軌道生成部15は、上記ワーク初期位置P2の直上である目標位置P2aと上記移動開始位置P1の直上である上昇位置P1aとを結ぶ軌道を用いて各アームモーター32の回転角度を算出し、該算出結果をアームモータードライバー31に出力することによって、ロボット50に合成動作を開始させる。この際、軌道生成部15は、合成動作の経過時間である合成動作時間Tの計時を指令する計時指令信号を下降設定部16に出力する。   The trajectory generator 15 calculates the rotation angle of each arm motor 32 using a trajectory connecting the target position P2a immediately above the workpiece initial position P2 and the ascending position P1a directly above the movement start position P1. Then, by outputting the calculation result to the arm motor driver 31, the robot 50 is caused to start the synthesis operation. At this time, the trajectory generation unit 15 outputs a time measurement command signal for instructing time measurement of the combined operation time T, which is an elapsed time of the combined operation, to the lowering setting unit 16.

また、軌道生成部15の水平動作時間算出部15aには、上記水平動作時におけるエンドエフェクター55の速度を制御するためのデータ、例えば加速期間、減速期間、さらに
は定速度V1が速度パターンとして格納されている。そして、軌道生成部15は、上記ワーク初期位置P2の直上である目標位置P2aと上記移動開始位置P1の直上である上昇位置P1aとを結ぶ軌道を用い、上記速度パターンを参照して、該軌道に沿って水平動作することに要する時間を水平動作時間T1として算出する。そして、水平動作時間算出部15aは、算出した水平動作時間T1を下降設定部16に出力する。
The horizontal operation time calculation unit 15a of the trajectory generation unit 15 stores data for controlling the speed of the end effector 55 during the horizontal operation, for example, an acceleration period, a deceleration period, and a constant speed V1 as a speed pattern. Has been. Then, the trajectory generating unit 15 uses a trajectory connecting the target position P2a immediately above the workpiece initial position P2 and the ascending position P1a directly above the movement start position P1, and refers to the trajectory with reference to the speed pattern. Is calculated as a horizontal operation time T1. Then, the horizontal operation time calculation unit 15a outputs the calculated horizontal operation time T1 to the lowering setting unit 16.

下降設定部16には、合成動作時間Tの計時を指令する計時指令信号が軌道生成部15から入力され、また追従動作時間算出部14から追従動作時間T2が入力されるとともに、水平動作時間算出部15aからは水平動作時間T1が入力される。そして、下降設定部16は、軌道生成部15からの計時指令信号を受けて、エンドエフェクター55の上昇を指令する上昇指令信号をスプラインモータードライバー33に出力する。また、下降設定部16は、該下降設定部16が有するタイマーを用いて、上記計時指令信号を受けてからの経過時間を合成動作時間Tとして計時する。   The descent setting unit 16 receives a timing command signal for instructing the timing of the combined operation time T from the trajectory generation unit 15, and also receives the tracking operation time T 2 from the tracking operation time calculation unit 14, and calculates the horizontal operation time. The horizontal operation time T1 is input from the unit 15a. Then, the lowering setting unit 16 receives the timing command signal from the trajectory generation unit 15 and outputs an ascending command signal for commanding the end effector 55 to rise to the spline motor driver 33. Further, the descent setting unit 16 uses the timer included in the descent setting unit 16 to measure the elapsed time after receiving the time measurement command signal as the combined operation time T.

また、下降設定部16は、追従動作時間T2の長さと水平動作時間T1の長さとを比較する。そして、水平動作時間T1が追従動作時間T2以上の長さである場合には、下降設定部16は、上記合成動作の開始から下降動作を開始するまでの時間である下降待機時間T3を水平動作時間T1に設定する。他方、水平動作時間T1が追従動作時間T2よりも短い場合には、下降設定部16は、下降待機時間T3を追従動作時間T2に設定する。そして、下降設定部16は、合成動作時間Tが下降待機時間T3になるときに、スプライン54の下降を指令する下降指令信号をスプラインモータードライバー33に出力する。   The lowering setting unit 16 compares the length of the follow-up operation time T2 with the length of the horizontal operation time T1. When the horizontal operation time T1 is longer than the follow-up operation time T2, the lowering setting unit 16 sets the lowering standby time T3, which is the time from the start of the synthesis operation to the start of the lowering operation, to the horizontal operation. Set to time T1. On the other hand, when the horizontal operation time T1 is shorter than the follow-up operation time T2, the descent setting unit 16 sets the descent standby time T3 to the follow-up operation time T2. Then, the lowering setting unit 16 outputs a lowering command signal for instructing the lowering of the spline 54 to the spline motor driver 33 when the combined operation time T reaches the lowering waiting time T3.

上記軌道生成部15には、アームモーター32を回転させるアームモータードライバー31が接続されている。なお、上述のように、アームモーター32には、第1モーター51aと第2モーター53aとが含まれる。また、アームモータードライバー31も各モーター51a,53aに対して一つずつ搭載されている。第1モーター51aと接続されたアームモータードライバー31は、軌道生成部15から入力された第1モーター51aの駆動量に基づき、該駆動量に応じた駆動信号を生成して該駆動信号を第1モーター51aに出力する。他方、第2モーター53aに接続されたアームモータードライバー31は、軌道生成部15から入力された第2モーター53aの駆動量に基づき、該駆動量に応じた駆動信号を生成して該駆動信号を第2モーター53aに出力する。   An arm motor driver 31 that rotates the arm motor 32 is connected to the trajectory generator 15. As described above, the arm motor 32 includes the first motor 51a and the second motor 53a. One arm motor driver 31 is also mounted on each motor 51a, 53a. The arm motor driver 31 connected to the first motor 51a generates a drive signal according to the drive amount based on the drive amount of the first motor 51a input from the trajectory generating unit 15, and outputs the drive signal to the first motor signal. Output to the motor 51a. On the other hand, the arm motor driver 31 connected to the second motor 53a generates a drive signal corresponding to the drive amount based on the drive amount of the second motor 53a input from the trajectory generating unit 15, and outputs the drive signal. Output to the second motor 53a.

アームモーター32としての第1モーター51a及び第2モーター53aは、それぞれに入力された駆動信号に応じて回転することで、各アーム52,53を回動させる。これにより、上記エンドエフェクター55が、上記上昇位置P1aから下降開始位置P3aにまで移動する。   The first motor 51a and the second motor 53a serving as the arm motor 32 rotate in accordance with the drive signals input thereto, thereby rotating the arms 52 and 53. As a result, the end effector 55 moves from the raised position P1a to the lowered start position P3a.

上記軌道生成部15及び下降設定部16には、スプラインモータードライバー33が接続されている。スプラインモータードライバー33には、エンドエフェクター55の上昇を指令する上昇指令信号が下降設定部16から入力され、またエンドエフェクター55の下降を指令する下降指令信号が下降設定部16から入力される。スプラインモータードライバー33は、上記上昇指令信号を受けて、スプライン54を上昇させるための駆動信号を生成し、該駆動信号をスプラインモーター34に出力する。また、スプラインモータードライバー33は、上記下降指令信号を受けて、スプライン54を下降させるための駆動信号を生成し、該駆動信号をスプラインモーター34に出力する。   A spline motor driver 33 is connected to the trajectory generator 15 and the descent setting unit 16. The spline motor driver 33 receives an upward command signal for instructing the end effector 55 to be raised from the lowering setting unit 16, and receives a lowering command signal for instructing the end effector 55 to be lowered from the lowering setting unit 16. The spline motor driver 33 receives the increase command signal, generates a drive signal for raising the spline 54, and outputs the drive signal to the spline motor 34. The spline motor driver 33 receives the lowering command signal, generates a driving signal for lowering the spline 54, and outputs the driving signal to the spline motor 34.

スプラインモーター34は、入力された駆動信号に応じて回転することで、エンドエフェクター55を移動開始位置P1から上昇位置P1aに移動させる、若しくは下降開始位置P3aから下降終了位置P3に移動させる。   The spline motor 34 rotates according to the input drive signal, thereby moving the end effector 55 from the movement start position P1 to the ascending position P1a or from the descending start position P3a to the descending end position P3.

上述のように、本実施形態のロボットコントローラー10は、上記追従動作に要する時間を算出する追従動作時間算出部14と、上記水平動作に要する時間を算出する水平動作時間算出部15aと、算出された追従動作時間T2と水平動作時間T1とを比較する下降設定部16を備えるようにしている。そして、水平動作時間T1が追従動作時間T2以上の長さである場合には、下降設定部16は、上記合成動作の開始から下降動作を開始するまでの下降待機時間T3を水平動作時間T1とする一方、水平動作時間T1が追従動作時間T2よりも短い場合には、下降待機時間T3を追従動作時間T2とするようにしている。それゆえに、ワークWに対してスプライン54を下降させるときには、スプライン54の先端が対象物の直上に位置するようになる。また、スプライン54の下降中にわたり、スプライン54の先端であるエンドエフェクター55とワークWとのこうした位置関係が維持されるようになる。そのため、コンベヤー40上を搬送されるワークWとスプライン54との衝突が抑制されるようになる。   As described above, the robot controller 10 according to the present embodiment is calculated with the follow-up operation time calculation unit 14 that calculates the time required for the follow-up operation, and the horizontal operation time calculation unit 15a that calculates the time required for the horizontal operation. Further, a descent setting unit 16 that compares the follow-up operation time T2 and the horizontal operation time T1 is provided. When the horizontal operation time T1 is longer than the follow-up operation time T2, the descent setting unit 16 sets the descent standby time T3 from the start of the synthesis operation to the start of the descent operation as the horizontal operation time T1. On the other hand, when the horizontal operation time T1 is shorter than the follow-up operation time T2, the descent standby time T3 is set as the follow-up operation time T2. Therefore, when the spline 54 is lowered with respect to the workpiece W, the tip of the spline 54 is positioned immediately above the object. Further, the positional relationship between the end effector 55 that is the tip of the spline 54 and the workpiece W is maintained while the spline 54 is being lowered. Therefore, the collision between the workpiece W conveyed on the conveyor 40 and the spline 54 is suppressed.

[トラッキング動作]
上述したロボットシステムが上記トラッキング動作時に行う処理の手順について図2を参照して説明する。なお、図2には、トラッキング動作のうち、ロボット50のエンドエフェクター55によってコンベヤー40上のワークWを把持させる際の処理のみが示されている。
[Tracking operation]
A procedure of processing performed by the robot system described above during the tracking operation will be described with reference to FIG. Note that FIG. 2 shows only the processing when the work W on the conveyor 40 is gripped by the end effector 55 of the robot 50 in the tracking operation.

ロボットコントローラー10は、まず、コンベヤー40上にトラッキングの可能なワークWが存在するとき、つまり、上記ワーク検出部21からのワーク検出信号が入力されたとき(ステップS1:YES)、ロボット50が、直近に検出されたワークWでない他のワークWに対するトラッキング動作を行っているか否かを判断する(ステップS2)。そして、他のワークWに対するトラッキング動作の最初の処理工程が行われていないと判断されると(ステップS2:NO)、上記移動開始位置P1及びワーク初期位置P2の算出を指令する算出指令信号を生成し(ステップS3)、該信号に基づいて算出された移動開始位置P1及びワーク初期位置P2とによってトラッキング動作の軌道を算出する。   First, when there is a work W that can be tracked on the conveyor 40, that is, when a work detection signal is input from the work detection unit 21 (step S1: YES), the robot controller 10 It is determined whether or not a tracking operation is being performed on another workpiece W that is not the most recently detected workpiece W (step S2). If it is determined that the first processing step of the tracking operation for the other workpiece W is not performed (step S2: NO), a calculation command signal for commanding the calculation of the movement start position P1 and the workpiece initial position P2 is generated. The tracking operation trajectory is calculated from the movement start position P1 and the workpiece initial position P2 calculated based on the generated signal (step S3).

次いで、上記軌道に基づいて水平動作に要する水平動作時間T1と(ステップS4)、追従動作に要する追従動作時間T2とを算出する(ステップS5)。そして、これら時間T1,T2の長さを比較し(ステップS6)、水平動作時間T1が追従動作時間T2以上の長さである場合には(ステップS6:YES)、上記下降待機時間T3を水平動作時間T1とする。他方、水平動作時間T1が追従動作時間T2より短い場合には(ステップS6:NO)、下降待機時間T3を追従動作時間T2とする(ステップS8)。   Next, based on the trajectory, a horizontal operation time T1 required for the horizontal operation (step S4) and a follow-up operation time T2 required for the follow-up operation are calculated (step S5). Then, the lengths of these times T1 and T2 are compared (step S6). If the horizontal operation time T1 is equal to or longer than the follow-up operation time T2 (step S6: YES), the descent waiting time T3 is The operation time is T1. On the other hand, when the horizontal operation time T1 is shorter than the follow-up operation time T2 (step S6: NO), the descent standby time T3 is set as the follow-up operation time T2 (step S8).

下降待機時間T3の設定が終了すると(ステップS7、ステップS8)、スプライン54の上昇を開始する(ステップS9)。エンドエフェクター55の位置が、移動開始位置P1の直上である上昇位置P1aに到達すると、上記水平動作と追従動作との合成動作と、該合成動作の開始時からの時間である合成動作時間Tの計時とを開始する(ステップS10)。   When the setting of the descent waiting time T3 is completed (steps S7 and S8), the spline 54 starts to rise (step S9). When the position of the end effector 55 reaches the ascending position P1a that is directly above the movement start position P1, the combined operation of the horizontal operation and the follow-up operation and the combined operation time T that is the time from the start of the combined operation Timekeeping is started (step S10).

そして、上記計測している合成動作時間Tが下降待機時間T3に等しくなると(ステップS11:YES)、つまり、エンドエフェクター55が上記下降開始位置P3aに到達すると、スプライン54を下降させることでエンドエフェクター55を下降終了位置P3に到達させる(ステップS12)。次いで、下降終了位置P3のエンドエフェクター55にコンベヤー40上のワークWを把持させる(ステップS13)。なお、エンドエフェクター55によって把持されたワークWは、静止した載置台上や他のコンベヤー上等に搬送される。   When the measured synthetic operation time T becomes equal to the descent waiting time T3 (step S11: YES), that is, when the end effector 55 reaches the descent start position P3a, the end effector is lowered by lowering the spline 54. 55 is made to reach the descent end position P3 (step S12). Next, the end effector 55 at the lowering end position P3 is caused to grip the workpiece W on the conveyor 40 (step S13). Note that the workpiece W gripped by the end effector 55 is conveyed onto a stationary mounting table, another conveyor, or the like.

次に、上記水平動作時間T1が追従動作時間T2よりも短い場合に、上記ロボットコン
トローラー10がロボット50に行わせる動作の態様について図3を参照して説明する。なお、図3(a)(b)(c)は、それぞれ水平動作の方向、下降動作の方向、及び追従動作の方向におけるエンドエフェクターの速度の変更態様を示すタイミングチャートであって、先の図6に対応する図である。そのため、図6と同じく、上昇位置P1aから目標位置P2aに向かうエンドエフェクター55の速度を水平速度Vaとし、また、エンドエフェクター55の下降する速度を下降速度Vbとし、さらに、ワークWの搬送方向と平行な方向のエンドエフェクター55の速度を追従速度Vcとする。
Next, an aspect of the operation that the robot controller 10 causes the robot 50 to perform when the horizontal operation time T1 is shorter than the follow-up operation time T2 will be described with reference to FIG. FIGS. 3A, 3B, and 3C are timing charts showing changes in the speed of the end effector in the horizontal operation direction, the descent operation direction, and the follow-up operation direction, respectively. 6 corresponds to FIG. Therefore, as in FIG. 6, the speed of the end effector 55 from the ascending position P1a toward the target position P2a is the horizontal speed Va, the descending speed of the end effector 55 is the descending speed Vb, and The speed of the end effector 55 in the parallel direction is set as the follow-up speed Vc.

図3(a)及び図3(c)に示されるように、上記合成動作が開始されるタイミングt0にて、水平速度Vaの加速と追従速度Vcの加速とが開始される。そして、図3(a)に示されるように、水平速度Vaは、タイミングt1まで加速された後、タイミングt1からタイミングt2の期間では一定の定速度V1で推移する。そして、タイミングt4までにかけて、水平速度Vaの減速が行われる。これに対し、図3(c)に示されるように、追従速度Vcは、上記タイミングt2とタイミングt4との間の時刻であるタイミングt3までの期間で、コンベヤー速度Cvよりも高い最高速度V3にまで加速される。その後、タイミングt4からタイミングt5までの期間で、最高速度V3からコンベヤー速度Cvにまで減速される。   As shown in FIGS. 3A and 3C, at the timing t0 when the synthesis operation is started, acceleration of the horizontal speed Va and acceleration of the tracking speed Vc are started. As shown in FIG. 3A, the horizontal speed Va is accelerated to the timing t1, and then changes at a constant constant speed V1 during the period from the timing t1 to the timing t2. Then, the horizontal speed Va is decelerated until the timing t4. On the other hand, as shown in FIG. 3C, the follow-up speed Vc is set to a maximum speed V3 higher than the conveyor speed Cv in a period up to the timing t3 which is a time between the timing t2 and the timing t4. To be accelerated. Thereafter, the speed is decelerated from the maximum speed V3 to the conveyor speed Cv in a period from timing t4 to timing t5.

そして、図3(b)に示されるように、タイミングt5にて下降動作による下降方向への下降速度Vbの加速が開始される。下降速度Vbは、タイミングt5からタイミングt6にかけて加速された後、タイミングt6からタイミングt7の期間は所定の定速度V2で推移する。次いで、タイミングt7からタイミングt8にかけて速度「0」にまで減速されることで、スプライン54の先端に接続されたエンドエフェクター55が、ワークWを把持可能な位置にまで下降する。   Then, as shown in FIG. 3B, acceleration of the descending speed Vb in the descending direction by the descending operation is started at the timing t5. The descending speed Vb is accelerated from timing t5 to timing t6, and then transitions at a predetermined constant speed V2 during the period from timing t6 to timing t7. Next, by decelerating to the speed “0” from timing t7 to timing t8, the end effector 55 connected to the tip of the spline 54 is lowered to a position where the workpiece W can be gripped.

これに対し、従来のロボットコントローラー60では、上述のように、また図3(b)に示されるように、スプライン54の下降は、タイミングt4にて開始された後、二点差線で示されるような下降速度Vbの変更態様で下降することで、タイミングt5よりも前のタイミングt4aにて終了する。   On the other hand, in the conventional robot controller 60, as described above and as shown in FIG. 3B, the lowering of the spline 54 is indicated by a two-point difference line after starting at the timing t4. By descending in such a manner that the descending speed Vb is changed, the operation ends at timing t4a before timing t5.

このように、本実施形態によれば、追従方向への追従速度Vcが、コンベヤー速度Cvに一致して以降にスプライン54の下降動作を開始するようにしている。そのため、ワークWが搬送される方向の後方からエンドエフェクター55がワークWに衝突することを抑制するとともに、該スプライン54の下降方向からエンドエフェクター55をワークWに接近させることができる。それゆえに、上記エンドエフェクター55によるワークWの把持の確率を高めることができる。   Thus, according to the present embodiment, the descending operation of the spline 54 is started after the follow-up speed Vc in the follow-up direction matches the conveyor speed Cv. Therefore, it is possible to prevent the end effector 55 from colliding with the workpiece W from the rear in the direction in which the workpiece W is conveyed, and to bring the end effector 55 closer to the workpiece W from the downward direction of the spline 54. Therefore, the probability of gripping the workpiece W by the end effector 55 can be increased.

以上説明したように、本実施形態によれば以下に列挙する効果が得られるようになる。
(1)エンドエフェクター55がワークWの上方に移動することに先立って、ワークWの位置の上方である目標位置P2aにエンドエフェクター55が到達するのに要する水平動作時間T1と、エンドエフェクター55の追従速度Vcとコンベヤー速度Cvとが等しくなるのに要する追従動作時間T2とが算出される。そして、水平動作時間T1の長さと追従動作時間T2の長さを比較して、水平動作時間T1が追従動作時間T2よりも短い場合には、エンドエフェクター55に対する合成動作の開始時から追従動作時間T2の経過時以降がエンドエフェクター55の下降の終了時として設定される。
As described above, according to the present embodiment, the effects listed below can be obtained.
(1) Prior to the end effector 55 moving above the workpiece W, the horizontal operation time T1 required for the end effector 55 to reach the target position P2a above the position of the workpiece W, and the end effector 55 A follow-up operation time T2 required for the follow-up speed Vc and the conveyor speed Cv to be equal is calculated. Then, the length of the horizontal operation time T1 and the length of the follow-up operation time T2 are compared. When the horizontal operation time T1 is shorter than the follow-up operation time T2, the follow-up operation time from the start of the synthesis operation with respect to the end effector 55. The time after the elapse of T2 is set as the end of the end effector 55 descending.

それゆえに、合成動作のうち水平動作分が終了し、且つ、エンドエフェクター55の追従速度がコンベヤー速度Cvに等しくなった後に、エンドエフェクター55が下降終了位置P3に到達する。そのため、ワークWに向けてエンドエフェクター55が下降するときには、下降終了位置P3に到達したエンドエフェクター55がワークWに対して搬送方向
から近づくのではなく、ワークWの上方からエンドエフェクター55がワークWに接近するようになる。それゆえに、エンドエフェクター55とコンベヤー40上のワークWとの衝突を抑制することができる。
Therefore, the end effector 55 reaches the lowering end position P3 after the horizontal operation of the compositing operation is completed and the follow-up speed of the end effector 55 becomes equal to the conveyor speed Cv. Therefore, when the end effector 55 is lowered toward the workpiece W, the end effector 55 that has reached the descent end position P3 does not approach the workpiece W from the transport direction, but the end effector 55 is moved from above the workpiece W. Get closer to. Therefore, the collision between the end effector 55 and the workpiece W on the conveyor 40 can be suppressed.

(2)水平動作時間T1が追従動作時間T2よりも短い場合には、エンドエフェクター55に対する合成動作の開始時から追従動作時間T2が経過したときが、エンドエフェクター55の下降開始時となる。それゆえに、合成動作のうち水平動作分が終了した後であって、且つ、引き続き行われる追従動作分が終了したときに、エンドエフェクター55の下降が開始される。そのため、下降開始時のエンドエフェクター55は、ワークWの直上に位置する確率がさらに高くなる。また、エンドエフェクター55の下降中にわたり、エンドエフェクター55とワークWとのこうした位置関係が維持されるようになる。そのため、エンドエフェクター55とワークWとの衝突が、さらに抑制されるようになる。   (2) When the horizontal operation time T1 is shorter than the follow-up operation time T2, the time when the follow-up operation time T2 has elapsed from the start of the composition operation for the end effector 55 is the start of the descent of the end effector 55. Therefore, the end effector 55 starts to descend after the horizontal motion portion of the compositing operation is finished and when the following follow-up motion portion is finished. Therefore, the probability that the end effector 55 at the start of descending is positioned immediately above the workpiece W is further increased. Further, the positional relationship between the end effector 55 and the workpiece W is maintained while the end effector 55 is being lowered. For this reason, the collision between the end effector 55 and the workpiece W is further suppressed.

(3)水平動作時間T1が追従動作時間T2以上である場合には、合成動作の開始時から水平動作時間T1が経過したときに、エンドエフェクター55の下降が開始される。それゆえに、合成動作のうち追従動作分が終了した後であって、且つ引き続き行われる水平動作分が終了したときに、エンドエフェクター55の下降が開始される。そのため、上昇位置P1aと目標位置P2aとの距離に関わらず、エンドエフェクター55とワークWとの衝突が抑制されるようになる。   (3) When the horizontal operation time T1 is equal to or longer than the follow-up operation time T2, the end effector 55 starts to descend when the horizontal operation time T1 elapses from the start of the synthesis operation. Therefore, the end effector 55 starts to descend after the follow-up operation of the compositing operation is completed and when the subsequent horizontal operation is completed. Therefore, the collision between the end effector 55 and the workpiece W is suppressed regardless of the distance between the raised position P1a and the target position P2a.

(4)水平動作に必要な水平動作時間T1と、追従動作に必要な追従動作時間T2とは、合成動作の途中であっても算出することは可能である。このような構成であれば、エンドエフェクター55に対する下降動作と該エンドエフェクター55に対する他の動作とを連続的に行うことが可能となる。しかし、合成動作の途中でエンドエフェクター55の位置を把握するためには、エンドエフェクター55の速度を検出する構成や該検出結果を加味して水平動作時間T1と追従動作時間T2とを算出する構成など、これら水平動作時間T1と追従動作時間T2とを得るための構成が複雑なものとなる。また、合成動作の途中でエンドエフェクター55の位置を把握するため、エンドエフェクター55の速度に起因する誤差が、水平動作時間T1と追従動作時間T2とにおいて大きくなる場合も少なくない。この点、上記実施形態によれば、エンドエフェクター55が移動開始位置P1に停止した状態で水平動作時間T1と追従動作時間T2とが算出されるため、上述した構成と比較して、簡単な構成によって水平動作時間T1と追従動作時間T2とを算出することが可能となる。また、水平動作時間T1と追従動作時間T2との精度も上述した構成と比較して高いものとなる。   (4) The horizontal operation time T1 required for the horizontal operation and the follow-up operation time T2 required for the follow-up operation can be calculated even during the synthesis operation. With such a configuration, it is possible to continuously perform the lowering operation on the end effector 55 and other operations on the end effector 55. However, in order to grasp the position of the end effector 55 during the synthesis operation, a configuration for detecting the speed of the end effector 55 and a configuration for calculating the horizontal operation time T1 and the follow-up operation time T2 in consideration of the detection result. Thus, the configuration for obtaining the horizontal operation time T1 and the follow-up operation time T2 becomes complicated. Further, in order to grasp the position of the end effector 55 during the synthesizing operation, an error caused by the speed of the end effector 55 is often increased in the horizontal operation time T1 and the follow-up operation time T2. In this regard, according to the above-described embodiment, the horizontal operation time T1 and the follow-up operation time T2 are calculated in a state where the end effector 55 is stopped at the movement start position P1, and therefore, a simple configuration compared to the above-described configuration. Thus, the horizontal operation time T1 and the follow-up operation time T2 can be calculated. Further, the accuracy of the horizontal operation time T1 and the follow-up operation time T2 is higher than that of the above-described configuration.

(5)エンドエフェクター55は、ワークWの上方に水平移動によって到達してコンベヤー速度Cvと同調しながらワークWに向けて下降する。そのため、水平動作時間T1の算出に考慮されるべきエンドエフェクター55の軌道が水平面に沿う二次元的なものになるため、エンドエフェクター55が三次元的に移動する場合と比較して、水平動作時間T1を簡単、且つ高い精度で算出することが可能となる。   (5) The end effector 55 arrives above the workpiece W by horizontal movement and descends toward the workpiece W while synchronizing with the conveyor speed Cv. Therefore, since the trajectory of the end effector 55 to be taken into consideration in the calculation of the horizontal operation time T1 is two-dimensional along the horizontal plane, the horizontal operation time is compared with the case where the end effector 55 moves three-dimensionally. T1 can be calculated easily and with high accuracy.

(6)エンドエフェクター55の追従速度Vcとコンベヤー速度Cvとを同調させながらワークWに向けてエンドエフェクター55を下降させる動作によって、ワークWがエンドエフェクター55に把持される。そのため、エンドエフェクター55がワークWを把持することのできる確率を高めることができる。   (6) The work W is gripped by the end effector 55 by the operation of lowering the end effector 55 toward the work W while synchronizing the follow-up speed Vc of the end effector 55 and the conveyor speed Cv. Therefore, the probability that the end effector 55 can grip the workpiece W can be increased.

なお、上記実施形態は、以下のように適宜変更して実施することもできる。
・上記エンドエフェクター55は、ワークWを把持することによって該ワークWの保持を行うものに限らず、ワークWを吸引したり、磁気によって吸着したりすること等によって、該ワークWの保持を行うものであってもよい。あるいは、上記エンドエフェクター5
5は、コンベヤー40上で搬送されるワークWに対して該ワークWの上方から所定の加工を施すものであってもよい。要は、上記エンドエフェクター55は、コンベヤー上で搬送される対象物に対して下降するものであればよい。
In addition, the said embodiment can also be suitably changed and implemented as follows.
The end effector 55 is not limited to holding the workpiece W by gripping the workpiece W, but holds the workpiece W by attracting the workpiece W or attracting it by magnetism. It may be a thing. Alternatively, the end effector 5
5 may perform a predetermined process on the workpiece W conveyed on the conveyor 40 from above the workpiece W. In short, the end effector 55 only needs to be lowered with respect to the object to be conveyed on the conveyor.

・上記合成動作は、移動開始位置P1から目標位置P2aに向けてエンドエフェクター55を三次元的に移動させる動作と、上述した追従動作との合成動作であってもよい。要は、上記合成動作は、対象物の位置の上方にエンドエフェクター55を到達させる動作と、エンドエフェクター55の追従速度をコンベヤー速度Cvに同調させる動作とが合成された動作であればよい。   The above combining operation may be a combining operation of the operation of moving the end effector 55 three-dimensionally from the movement start position P1 toward the target position P2a and the following operation described above. In short, the composition operation may be an operation in which the operation of causing the end effector 55 to reach above the position of the object and the operation of synchronizing the follow-up speed of the end effector 55 with the conveyor speed Cv are combined.

・上記合成動作の過程では、エンドエフェクター55の位置とワークWの位置とが所定の周期で算出されるとともに、これらエンドエフェクター55の位置とワークWの位置とを用いて、エンドエフェクター55の軌道が更新される。この際、エンドエフェクター55の軌道が更新されるごとに、あるいはエンドエフェクター55の位置が検出されるごとに、上述した水平動作時間T1と追従動作時間T2とが算出されるとともに、これら水平動作時間T1と追従動作時間T2との比較に基づき、下降動作の開始時が更新される構成であってもよい。   In the process of the synthesis operation, the position of the end effector 55 and the position of the work W are calculated at a predetermined cycle, and the trajectory of the end effector 55 is calculated using the position of the end effector 55 and the position of the work W. Is updated. At this time, each time the trajectory of the end effector 55 is updated or the position of the end effector 55 is detected, the horizontal operation time T1 and the tracking operation time T2 described above are calculated, and these horizontal operation times are calculated. Based on the comparison between T1 and the follow-up operation time T2, the start time of the descent operation may be updated.

すなわち、エンドエフェクター55が停止している状態から水平動作時間T1と追従動作時間T2とが算出されるのではなく、エンドエフェクター55が移動しているときに、ワークWの直上位置である目標位置P2aを上述した所定の演算周期で更新する。そして、更新された目標位置P2aを用いて、上記水平動作時間T1と追従動作時間T2とが更新される構成であってもよい。また、水平動作時間T1と追従動作時間T2との比較に基づく下降動作の開始時の設定が、1つのワークWに対する1回のトラッキング動作にて複数回行われる構成であってもよい。要は、上述したトラッキング開始時とは、合成動作の開始時から水平動作あるいは追従動作のいずれか一方が終了する終了時までのうち、エンドエフェクター55の位置とワークWの位置とが算出可能な算出時であればよい。   That is, the horizontal operation time T1 and the follow-up operation time T2 are not calculated from the state in which the end effector 55 is stopped, but the target position that is the position immediately above the workpiece W when the end effector 55 is moving. P2a is updated at the predetermined calculation cycle described above. The horizontal operation time T1 and the follow-up operation time T2 may be updated using the updated target position P2a. Further, the setting at the start of the descent operation based on the comparison between the horizontal operation time T1 and the follow-up operation time T2 may be performed a plurality of times in one tracking operation for one workpiece W. In short, the above-described tracking start time can calculate the position of the end effector 55 and the position of the workpiece W from the start of the synthesis operation to the end of either the horizontal operation or the tracking operation. It may be at the time of calculation.

・上記水平動作時間T1が追従動作時間T2以上である場合には、合成動作のうち水平動作分の終了時以降に上記下降動作が終了する構成であればよい。例えば、下動動作に要する時間である下降時間が予め設定されるとともに、上記水平動作時間T1が追従動作時間T2以上であるときには、合成動作のうち水平動作が終了する時間を推定し、該推定した時間から下降時間だけ前に下降動作を開始する構成であってもよい。なお、水平動作が終了する時間の推定値は、合成動作が行われる軌道と該軌道上における水平動作の速度パターンとを用いて算出することが可能である。   When the horizontal operation time T1 is equal to or longer than the follow-up operation time T2, the descending operation may be completed after the end of the horizontal operation of the synthesis operation. For example, when the descent time, which is the time required for the downward motion, is set in advance and the horizontal motion time T1 is equal to or longer than the follow-up motion time T2, the time at which the horizontal motion is completed in the synthesis operation is estimated, and the estimation A configuration may be adopted in which the descent operation is started by the descent time before the measured time. Note that the estimated value of the time at which the horizontal motion ends can be calculated using the trajectory in which the composite motion is performed and the speed pattern of the horizontal motion on the trajectory.

・上記水平動作時間T1が追従動作時間T2よりも短い場合には、上記下降動作の開始時を追従動作の終了時とするようにした。これに限らず、水平動作時間T1が追従動作時間T2よりも短い場合には、追従動作の終了時に、下降動作によるスプライン54の下降が行われている途中となるように、つまり、エンドエフェクター55の下降終了位置P3までの下降が終了していないようにすればよい。この場合、スプライン54の下降動作に要する時間をロボットコントローラー10にて算出する、若しくは同下降動作に要する時間をロボットコントローラー10に予め記憶させておくようにする。そして、下降動作の終了時が、追従動作の終了時以降となるように下降動作に要する時間に応じて該下降動作の開始時を設定するようにすればよい。これによれば、ワークWの直上からスプライン54が下降することになるため、ワークWとスプライン54との衝突を抑制することができる。   -When the horizontal operation time T1 is shorter than the follow-up operation time T2, the start of the descending operation is set as the end of the follow-up operation. Not limited to this, when the horizontal operation time T1 is shorter than the follow-up operation time T2, at the end of the follow-up operation, the spline 54 is being lowered by the lowering operation, that is, the end effector 55. It is only necessary that the descent to the descent end position P3 is not completed. In this case, the time required for the lowering operation of the spline 54 is calculated by the robot controller 10 or the time required for the lowering operation is stored in the robot controller 10 in advance. Then, the start time of the lowering operation may be set according to the time required for the lowering operation so that the end time of the lowering operation is after the end time of the following operation. According to this, since the spline 54 descends from directly above the workpiece W, the collision between the workpiece W and the spline 54 can be suppressed.

・上記トラッキング動作は、エンドエフェクター55が移動開始位置P1にある状態から開始されることに限らず、エンドエフェクター55が上昇位置P1aにある状態から開
始されてもよい。
The tracking operation is not limited to the state in which the end effector 55 is at the movement start position P1, but may be started from the state in which the end effector 55 is in the raised position P1a.

・上記トラッキング動作は、ワークWを把持していない状態のエンドエフェクター55の追従速度Vcをコンベヤー速度Cvに同調させた後に、該エンドエフェクター55によってワークWを把持し、その後、該ワークWを所定位置に搬送する。これに限らず、トラッキング動作は、予めワークWを把持した状態のエンドエフェクター55の追従速度Vcをコンベヤー速度Cvに同調させた後に、コンベヤー40上で搬送されるトレイに該ワークWを載置するようにしてもよい。   In the tracking operation, after the follower speed Vc of the end effector 55 in a state in which the work W is not gripped is synchronized with the conveyor speed Cv, the work W is gripped by the end effector 55, and then the work W is predetermined. Transport to position. The tracking operation is not limited to this, and after the tracking speed Vc of the end effector 55 in a state in which the work W is gripped in advance is synchronized with the conveyor speed Cv, the work W is placed on a tray conveyed on the conveyor 40. You may do it.

・上記トラッキング動作は、互いに異なる並設されたコンベヤーに対して行われる動作であって、一方のコンベヤー上で搬送されるワークWを他方のコンベヤー上に搬送する動作であってもよい。要は、上記トラッキング動作は、対象物の速度とエンドエフェクター55の速度とを同調させながら対象物に向けてエンドエフェクター55を下降させる動作を行うものであればよい。   The tracking operation may be performed on different conveyors arranged side by side, and may be an operation of transporting the workpiece W transported on one conveyor onto the other conveyor. In short, the tracking operation only needs to perform an operation of lowering the end effector 55 toward the object while synchronizing the speed of the object and the speed of the end effector 55.

・一つのワークに対する複数回のトラッキング動作が一つのコンベヤー上で連続して行われる場合、二回目以降のトラッキング動作では、追従速度Vcとコンベヤー速度Cvとが既に同調しているため、追従動作時間T2が算出されることなく、水平動作時間T1の経過時以降が下降の終了時として設定される構成であってもよい。   When multiple tracking operations for one workpiece are continuously performed on one conveyor, the tracking speed Vc and the conveyor speed Cv are already synchronized in the second and subsequent tracking operations. The configuration may be such that the time after the elapse of the horizontal operation time T1 is set as the end of the descent without calculating T2.

・水平速度Vaの変更の態様は、上述した速度パターンに限らず、例えば、定速度V1で推移する期間が割愛された態様であってもよい。また、追従速度Vcの変更の態様は、上述した速度パターンに限らず、例えば、コンベヤー速度Cvを超えることなく、加速期間のみによって追従速度Vcがコンベヤー速度Cvに達する態様であってもよい。また、例えば、最高速度V3に到達した後に最高速度V3で推移する期間が追加される態様であってもよい。要は、水平速度Vaの変更の態様は、水平動作時間T1を算出することの可能な態様であればよく、また、追従速度Vcの変更の態様も、追従動作時間T2を算出することの可能な態様であればよい。   The aspect of changing the horizontal speed Va is not limited to the above-described speed pattern, and may be an aspect in which the period of transition at the constant speed V1 is omitted, for example. The mode of changing the follow-up speed Vc is not limited to the above-described speed pattern. For example, the follow-up speed Vc may reach the conveyor speed Cv only in the acceleration period without exceeding the conveyor speed Cv. Further, for example, a mode in which a period of transition at the maximum speed V3 after reaching the maximum speed V3 may be added. In short, the aspect of changing the horizontal speed Va may be an aspect capable of calculating the horizontal operation time T1, and the aspect of changing the follow-up speed Vc can also calculate the follow-up operation time T2. Any other embodiment may be used.

・上記ロボット50は、水平多関節ロボットに限らず、垂直多関節ロボット、例えば六軸ロボットとして具現化してもよい。   The robot 50 is not limited to a horizontal articulated robot, and may be embodied as a vertical articulated robot, for example, a six-axis robot.

A…加速度、T…合成時間、W…ワーク、Cv…コンベヤー速度、P1…移動開始位置、P2…ワーク初期位置、P3…下降終了位置、T1…水平動作時間、T2…追従時間、T3…下降待機時間、P1a…上昇位置、P2a…目標位置、P3a…下降開始位置、10,60…ロボットコントローラー、11,61…トラッキング判断部、12,62…ワーク位置検出部、13,63…エフェクター位置算出部、14…追従動作時間算出部、15,64…軌道生成部、15a,64a…水平動作時間算出部、16…下降設定部、21,71…ワーク検出部、22,72…コンベヤーエンコーダー、23,73…アームエンコーダー、31,81…アームモータードライバー、32…アームモーター、33,82…スプラインモータードライバー、34…スプラインモーター、40…コンベヤー、50…水平多関節ロボット(ロボット)、51…基台、51a…第1モーター、52…第1アーム、53…第2アーム、53a…第2モーター、53b…スプラインモーター、54…スプライン、55…エンドエフェクター。   A ... Acceleration, T ... Composite time, W ... Work, Cv ... Conveyor speed, P1 ... Movement start position, P2 ... Work initial position, P3 ... Descent end position, T1 ... Horizontal operation time, T2 ... Follow-up time, T3 ... Descent Standby time, P1a ... ascending position, P2a ... target position, P3a ... descending start position, 10, 60 ... robot controller, 11, 61 ... tracking judgment unit, 12, 62 ... work position detecting unit, 13, 63 ... effector position calculation 14, follow-up operation time calculation unit, 15, 64 ... trajectory generation unit, 15 a, 64 a ... horizontal operation time calculation unit, 16 ... descent setting unit, 21, 71 ... work detection unit, 22, 72 ... conveyor encoder, 23 , 73 ... Arm encoder, 31, 81 ... Arm motor driver, 32 ... Arm motor, 33, 82 ... Spline motor driver 34 ... Spline motor, 40 ... Conveyor, 50 ... Horizontal articulated robot (robot), 51 ... Base, 51a ... First motor, 52 ... First arm, 53 ... Second arm, 53a ... Second motor, 53b ... Spline motor, 54 ... Spline, 55 ... End effector.

Claims (8)

コンベヤーによって搬送されている対象物の上方に向けてエンドエフェクターを移動させながら、搬送方向における前記対象物の速度と前記エンドエフェクターの速度とを同調させて、前記対象物に向けて前記エンドエフェクターを下降させるロボット制御装置であって、
前記エンドエフェクターがトラッキング開始時の位置から前記対象物のトラッキング開示時の位置の上方に到達するために必要な第1の時間と、前記エンドエフェクターの前記搬送方向における速度がトラッキング開始時から前記対象物の速度に同調するために必要な第2の時間と、を算出する算出部と、
前記第1の時間と前記第2の時間とを比較し、前記エンドエフェクターの下降動作を設定する下降設定部と
を備え、
前記下降設定部は、
前記第1の時間が前記第2の時間よりも短い場合に、前記エンドエフェクターの下降の終了時を前記第2の時間の経過時以降に設定する
ことを特徴とするロボット制御装置。
While moving the end effector above the object being conveyed by the conveyor, the speed of the object and the speed of the end effector in the conveying direction are synchronized, and the end effector is moved toward the object. A robot control device for lowering,
A first time required for the end effector to reach a position above the tracking disclosure position of the object from the tracking start position, and the speed of the end effector in the transport direction from the tracking start time to the target A calculation unit for calculating a second time required to synchronize with the speed of the object;
A descent setting unit that compares the first time with the second time and sets a descent operation of the end effector;
The lowering setting unit
When the first time is shorter than the second time, the end of the lowering of the end effector is set after the elapse of the second time.
前記下降設定部は、
前記第1の時間が前記第2の時間よりも短い場合に、前記エンドエフェクターの下降の開始時を前記第2の時間の経過時に設定する
請求項1に記載のロボット制御装置。
The lowering setting unit
2. The robot control device according to claim 1, wherein when the first time is shorter than the second time, the start time of lowering of the end effector is set at the elapse of the second time.
前記下降設定部は、
前記第1の時間が前記第2の時間以上である場合に、前記エンドエフェクターの下降の開始時を前記第1の時間の経過時以降に設定する
請求項1又は2に記載のロボット制御装置。
The lowering setting unit
3. The robot control device according to claim 1, wherein when the first time is equal to or longer than the second time, the start time of the end effector descending is set after the elapse of the first time.
前記算出部は、
前記エンドエフェクターが停止した状態で前記第1の時間と前記第2の時間とを算出する
請求項1〜3のいずれか一項に記載のロボット制御装置。
The calculation unit includes:
The robot control device according to claim 1, wherein the first time and the second time are calculated in a state where the end effector is stopped.
前記対象物の上方に水平移動によって前記エンドエフェクターを移動させながら、前記対象物の速度と前記搬送方向における前記エンドエフェクターの速度とを同調させ、
前記第1の時間は、
前記水平移動に必要な時間である
請求項4に記載のロボット制御装置。
While moving the end effector by moving horizontally above the object, the speed of the object and the speed of the end effector in the transport direction are synchronized,
The first time is
The robot control apparatus according to claim 4, wherein the time is required for the horizontal movement.
前記対象物に向けて前記エンドエフェクターを下降させて前記エンドエフェクターに前記対象物を保持させる
請求項1〜5のいずれか一項に記載のロボット制御装置。
The robot control device according to any one of claims 1 to 5, wherein the end effector is lowered toward the object to cause the end effector to hold the object.
対象物を搬送するコンベヤーと、
前記コンベヤーによって搬送されている対象物の上方に向けてエンドエフェクターを移動させながら、搬送方向における前記対象物の速度と前記エンドエフェクターの速度とを同調させて、前記対象物に向けて前記エンドエフェクターを下降させるロボットと、
前記ロボットの動作を制御するロボット制御装置と
を備えるロボットシステムであって、
前記ロボット制御装置が、請求項1〜6のいずれか一項に記載のロボット制御装置であ

ことを特徴とするロボットシステム。
A conveyor for conveying objects;
While moving the end effector toward the upper side of the object being conveyed by the conveyor, the speed of the object and the speed of the end effector in the conveying direction are synchronized, and the end effector is directed toward the object. A robot that lowers
A robot system comprising a robot control device for controlling the operation of the robot,
The robot control device according to any one of claims 1 to 6, wherein the robot control device is the robot control device according to any one of claims 1 to 6.
コンベヤーによって搬送されている対象物の上方に向けてエンドエフェクターを移動させながら、搬送方向における前記対象物の速度と前記エンドエフェクターの速度とを同調させて、前記対象物に向けて前記エンドエフェクターを下降させるロボット制御方法であって、
前記エンドエフェクターがトラッキング開示時の位置から前記対象物のトラッキング開示時の位置の上方に到達するために必要な第1の時間と、前記エンドエフェクターの前記搬送方向における速度がトラッキング開始時から前記対象物の速度に同調するために必要な第2の時間と、を算出する工程と、
前記第1の時間と前記第2の時間とを比較し、前記エンドエフェクターの下降動作を設定する工程と
を備え、
前記下降の終了時を設定する工程では、
前記第1の時間が前記第2の時間よりも短い場合に、前記エンドエフェクターの下降の終了時を前記第2の時間の経過時以降に設定する
ことを特徴とするロボット制御方法。
While moving the end effector above the object being conveyed by the conveyor, the speed of the object and the speed of the end effector in the conveying direction are synchronized, and the end effector is moved toward the object. A robot control method for lowering,
A first time required for the end effector to reach a position above the tracking disclosure position of the object from the tracking disclosure position, and the speed of the end effector in the transport direction from the tracking start time to the target Calculating a second time required to tune to the speed of the object;
Comparing the first time and the second time, and setting a descending action of the end effector,
In the step of setting the end of the descent,
When the first time is shorter than the second time, the end of the end effector descending is set after the elapse of the second time.
JP2011037359A 2011-02-23 2011-02-23 Robot control apparatus, robot system, and robot control method Expired - Fee Related JP5817144B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011037359A JP5817144B2 (en) 2011-02-23 2011-02-23 Robot control apparatus, robot system, and robot control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011037359A JP5817144B2 (en) 2011-02-23 2011-02-23 Robot control apparatus, robot system, and robot control method

Publications (2)

Publication Number Publication Date
JP2012171067A true JP2012171067A (en) 2012-09-10
JP5817144B2 JP5817144B2 (en) 2015-11-18

Family

ID=46974445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011037359A Expired - Fee Related JP5817144B2 (en) 2011-02-23 2011-02-23 Robot control apparatus, robot system, and robot control method

Country Status (1)

Country Link
JP (1) JP5817144B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018083284A (en) * 2016-11-11 2018-05-31 セイコーエプソン株式会社 Robot control device, robot, robot system, and robot control method
JP2018192579A (en) * 2017-05-18 2018-12-06 ファナック株式会社 Robot system
CN110536780A (en) * 2017-04-23 2019-12-03 富兰卡爱米卡股份有限公司 Twist-on device
WO2024042578A1 (en) * 2022-08-22 2024-02-29 三菱電機株式会社 Tracking control device and tracking control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06138920A (en) * 1992-10-27 1994-05-20 Yokogawa Electric Corp Motion controller
JPH10105217A (en) * 1996-09-27 1998-04-24 Mitsubishi Electric Corp Tracking controlling method of robot and robot control system
JP2002192487A (en) * 2000-12-25 2002-07-10 Seiko Epson Corp Control method of pick-and-place device and pick-and- place device applying this method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06138920A (en) * 1992-10-27 1994-05-20 Yokogawa Electric Corp Motion controller
JPH10105217A (en) * 1996-09-27 1998-04-24 Mitsubishi Electric Corp Tracking controlling method of robot and robot control system
JP2002192487A (en) * 2000-12-25 2002-07-10 Seiko Epson Corp Control method of pick-and-place device and pick-and- place device applying this method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018083284A (en) * 2016-11-11 2018-05-31 セイコーエプソン株式会社 Robot control device, robot, robot system, and robot control method
CN110536780A (en) * 2017-04-23 2019-12-03 富兰卡爱米卡股份有限公司 Twist-on device
CN110536780B (en) * 2017-04-23 2022-09-13 富兰卡爱米卡股份有限公司 Screwing device
JP2018192579A (en) * 2017-05-18 2018-12-06 ファナック株式会社 Robot system
CN108942880A (en) * 2017-05-18 2018-12-07 发那科株式会社 Robot system
US10525592B2 (en) 2017-05-18 2020-01-07 Fanuc Corporation Robot system
WO2024042578A1 (en) * 2022-08-22 2024-02-29 三菱電機株式会社 Tracking control device and tracking control method

Also Published As

Publication number Publication date
JP5817144B2 (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN109318226B (en) Robot control device, robot control method, and storage medium
JP5849403B2 (en) Robot controller, robot, and robot system
JP5817144B2 (en) Robot control apparatus, robot system, and robot control method
CN111026164A (en) Robot target tracking trajectory planning method
JP6748126B2 (en) Work robot system
JPWO2014038370A1 (en) Transfer equipment
CN107914305B (en) Cutting method and cutting system
US20240131708A1 (en) Robotic system with dynamic motion adjustment mechanism and methods of operating same
CN110271019B (en) Control device and control method for cooperative robot
US9156626B2 (en) Work method and work device
JP2020066080A (en) Robot system and robot control method for cooperative work with person
CN101216705A (en) Numerical controller and synchronous control method using numerical controller
JP2008173642A (en) Servo press apparatus, and method for controlling the same
US20140135982A1 (en) Robot system
JP2019188507A (en) Working robot system and working robot
JP2002192487A (en) Control method of pick-and-place device and pick-and- place device applying this method
TWI592775B (en) Trajectory planning and controlling method of end-effector of robot in manufacturing system
JP2019038034A (en) Laser processing device, control device, laser processing method, and manufacturing method of image formation device
JP2017126286A (en) Mobile body, mobile body system, and method of calculating correction coefficient for mobile body
JP2000219482A (en) Crane control method and control device
JP6009952B2 (en) Working method and working device
JP6072665B2 (en) Working method and working device
EP3482890A1 (en) Imaging device and imaging system
JP5980042B2 (en) Conveying apparatus control method and conveying system
JP7448648B2 (en) Follow-up robot and control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150218

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150901

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150914

R150 Certificate of patent or registration of utility model

Ref document number: 5817144

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees