JP2006015431A - Robot controller and control method - Google Patents

Robot controller and control method Download PDF

Info

Publication number
JP2006015431A
JP2006015431A JP2004193485A JP2004193485A JP2006015431A JP 2006015431 A JP2006015431 A JP 2006015431A JP 2004193485 A JP2004193485 A JP 2004193485A JP 2004193485 A JP2004193485 A JP 2004193485A JP 2006015431 A JP2006015431 A JP 2006015431A
Authority
JP
Japan
Prior art keywords
robot
correction value
target trajectory
position command
hand
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
JP2004193485A
Other languages
Japanese (ja)
Inventor
Koji Kamiya
孝二 神谷
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.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
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 Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2004193485A priority Critical patent/JP2006015431A/en
Publication of JP2006015431A publication Critical patent/JP2006015431A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To control the fingertip part of a robot so as to follow a set target track and to effectively reduce the deviation of an actual track of the robot with respect to the set target track. <P>SOLUTION: A CPU of the robot controller sets a halfway target point by subdividing the target track for each prescribed sampling time and outputs a positional command (an angle command) Pt so as to move the fingertip part of a robot body to the halfway target point. The position of the fingertip part of the robot body from the current time (k) to the time ahead by a prescribed sampling time (k+n) is estimated by using a model. A correction value for the positional command is calculated after obtaining the deviation between the estimated position and the target track. The current positional command Pt(k) is corrected by the calculated correction value. A perpendicular vector Pα drawn on the target track from the estimated position of the fingertip part of the robot body is made as the correction value. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ロボットの手先部を、設定された目標軌道に追従させるように制御するロボットの制御装置及び制御方法に関する。   The present invention relates to a robot control apparatus and a control method for controlling a hand portion of a robot to follow a set target trajectory.

例えば加工や組立、シーリング、溶接などの作業を行う多関節(6軸)型ロボットにおいては、ロボットの制御装置により、ロボットの手先部の位置を予め設定(教示)された目標軌道に追従させるように、各軸のサーボモータを制御することが行われる。一般に、この制御には、フィードバック制御方式が採用されている。ところが、一般的なフィードバック制御では、どうしても各サーボモータに応答遅れが生ずるため、ロボットの実際の軌道に、目標軌道からのずれが生ずる問題がある。   For example, in an articulated (6-axis) type robot that performs operations such as processing, assembly, sealing, and welding, the position of the hand portion of the robot is made to follow a preset target trajectory by the robot controller. In addition, the servo motor of each axis is controlled. In general, a feedback control method is adopted for this control. However, in general feedback control, a response delay is inevitably caused in each servo motor, so that there is a problem that the actual trajectory of the robot deviates from the target trajectory.

そこで、近年では、フィードバック制御における軌道のずれを解消するために、特許文献1のように、教示軌跡と実際のロボットを動作させた際の軌跡との誤差を求めて、実際のロボットの軌跡が所望の教示軌跡に沿ったものとなるように、教示点を補正する調整を行う技術が考えられている。また、特許文献2には、ロボットにより補間動作を行う場合に、サーボ系の遅れを低減するために、フィードフォワード制御を採用し、ロボットの位置を指令位置に常に一致するように制御する技術が示されている。
特開平11−48176号公報 特開平8−99278号公報
Therefore, in recent years, in order to eliminate the deviation of the trajectory in the feedback control, as in Patent Document 1, an error between the teaching trajectory and the trajectory when the actual robot is operated is obtained. A technique for performing adjustment to correct a teaching point so as to be along a desired teaching locus is considered. Further, Patent Document 2 discloses a technique for adopting feedforward control in order to reduce a delay of a servo system when performing an interpolation operation by a robot, and controlling the position of the robot to always coincide with the command position. It is shown.
Japanese Patent Laid-Open No. 11-48176 JP-A-8-99278

しかしながら、上記特許文献1に記載された技術では、ロボットの動作毎に、繰返し動作による調整が必要となるため、動作速度などの動作条件変更時にも調整が必要となる。また、外部条件等により動作を変更する場合に、全ての動作に対する調整が必要となり、調整工数が膨大なものとなってしまう欠点があった。
また、特許文献2に示されたようなフィードフォワード制御では、多関節型ロボットのような複雑な形状を有し、重力の影響や慣性力、負荷変動等のために特性が非線形となるものについては、偏差を零とすることは困難である。そして、目標位置指令に対してロボットの位置を常に一致させるように制御するため、位置指令が急激に変化することがあり、この場合、位置指令に無理に追従しようとして、ロボットに振動が発生し、結局、軌道のずれ低減の効果が十分に得られない不具合がある。
However, since the technique described in Patent Document 1 requires adjustment by repetitive operation for each operation of the robot, adjustment is also required when the operation condition such as the operation speed is changed. Further, when the operation is changed due to an external condition or the like, there is a disadvantage that adjustment for all the operations is necessary, and the adjustment man-hour becomes enormous.
Also, the feedforward control as shown in Patent Document 2 has a complicated shape like an articulated robot, and its characteristics become nonlinear due to the influence of gravity, inertial force, load fluctuation, etc. It is difficult to make the deviation zero. Since the position of the robot is controlled so that it always matches the target position command, the position command may change rapidly. In this case, the robot vibrates in an attempt to force the position command to follow. After all, there is a problem that the effect of reducing the deviation of the orbit cannot be obtained sufficiently.

本発明は上記事情に鑑みてなされたもので、その目的は、ロボットの手先部を設定された目標軌道に追従させるように制御するものにあって、目標軌道に対する実際のロボットの軌道のずれを効果的に低減することができるロボットの制御装置及び制御方法を提供するにある。   The present invention has been made in view of the above circumstances, and its purpose is to control the robot's hand to follow the set target trajectory, and to offset the deviation of the actual robot trajectory from the target trajectory. It is an object of the present invention to provide a robot control apparatus and control method that can be effectively reduced.

ロボットの手先部を設定された目標軌道に追従させながら実行する作業においては、例えば加工工具によりワークに対する加工を行う場合や、シール剤の塗布作業、溶接作業などのように、目標軌道上における時間についてはさほどの厳密性を要求されず、目標軌道上を正しく追従することがより重要となる場合がある。本発明者は、ロボットの手先部を設定された目標軌道に追従させるように制御するにあたり、フィードフォワード制御のように位置指令に常に一致させるのではなく、時間遅れを許容しながら、ロボットの手先部の位置を目標軌道上にのせるような制御を行うことに着目し、これにより、位置指令の急激な変化をなくし、容易に目標軌道に追従させることが可能となることを確認し、本発明を成し遂げたのである。   In the work to be performed while the robot's hand portion follows the set target trajectory, the time on the target trajectory is used, for example, when machining the workpiece with a processing tool, or for applying a sealant or welding. There is a case where it is not required to be so strict and it is more important to follow the target trajectory correctly. The present inventor does not always match the position command as in the feedforward control when controlling the hand portion of the robot to follow the set target trajectory. Focusing on the control to place the position of the part on the target trajectory, it is confirmed that this makes it possible to eliminate the sudden change of the position command and easily follow the target trajectory. The invention was accomplished.

即ち、本発明のロボットの制御装置は、ロボットの手先部を設定された目標軌道に追従させるように制御するものにあって、サンプリング時間毎に前記目標軌道を細分化した途中目標点にロボットの手先部を移動させるように位置指令を出力する位置指令出力手段と、前記位置指令に基づいてロボットの各軸を制御する制御部と、現在から所定のサンプリング時間先のロボットの手先部の位置を推定する推定手段と、この推定手段により推定された位置と前記目標軌道とのずれを求めて前記位置指令の補正値を算出する補正値算出手段と、この補正値算出手段の算出した補正値により現在の位置指令を補正する補正手段と
を備えるところに特徴を有する(請求項1の発明)。
That is, the robot control apparatus of the present invention controls the robot's hand to follow the set target trajectory, and the robot trajectory is subdivided into the target trajectory at each sampling time. Position command output means for outputting a position command so as to move the hand portion, a control portion for controlling each axis of the robot based on the position command, and a position of the hand portion of the robot after a predetermined sampling time from the present An estimation unit for estimation, a correction value calculation unit for calculating a correction value of the position command by obtaining a deviation between the position estimated by the estimation unit and the target trajectory, and a correction value calculated by the correction value calculation unit And a correction means for correcting the current position command (invention of claim 1).

また、本発明のロボットの制御方法は、サンプリング時間毎に、設定された目標軌道を細分化した途中目標点にロボットの手先部を移動させるように位置指令を出力し、その位置指令に基づいてロボットの各軸を制御することにより、前記ロボットの手先部を前記目標軌道に追従させるように制御する方法にあって、現在から所定のサンプリング時間先のロボットの手先部の位置を推定し、推定された位置と前記目標軌道とのずれを求めて前記位置指令の補正値を算出し、算出された補正値により現在の位置指令を補正するところに特徴を有する(請求項3の発明)。   Further, the robot control method of the present invention outputs a position command so as to move the hand of the robot to a target point on the way of subdividing the set target trajectory at each sampling time, and based on the position command There is a method for controlling each axis of a robot so that the hand portion of the robot follows the target trajectory, and estimates the position of the hand portion of the robot ahead of a predetermined sampling time from the present time, and estimates The present invention is characterized in that a deviation between the calculated position and the target trajectory is obtained to calculate a correction value for the position command, and the current position command is corrected based on the calculated correction value (invention of claim 3).

本発明のロボットの制御装置及び制御方法によれば、ロボットの手先部を目標軌道に追従させるにあたり、ロボットの現在位置から所定のサンプリング時間先の、ロボットの位置の目標軌道とのずれが推定され、その推定されたずれに応じて現在の位置指令が補正されるようになる。これにより、先に発生すると推定されるロボットの位置ずれを、その手前における位置指令の補正によって、前以て吸収するような制御がなされることになり、ロボットの目標軌道との位置ずれを減少させることができる。このとき、サンプリング時間毎の途中目標点に対しては一定の遅れをもった制御となるが、指令値への無理な追従による振動を防止することができると共に、目標軌道からのずれを効果的に防止し、ロボットの手先部の実際の位置を精度良く追従させることができる。   According to the robot control device and the control method of the present invention, when the robot's hand portion follows the target trajectory, the deviation of the robot position from the target trajectory after a predetermined sampling time from the current position of the robot is estimated. The current position command is corrected according to the estimated deviation. As a result, the position deviation of the robot, which is estimated to occur first, is controlled in advance by correcting the position command in front of it, and the position deviation from the target trajectory of the robot is reduced. Can be made. At this time, control is performed with a certain delay with respect to the target point on the way for each sampling time, but vibration due to excessive follow-up to the command value can be prevented, and deviation from the target trajectory is effective. Therefore, the actual position of the hand portion of the robot can be accurately followed.

尚、「所定のサンプリング時間先」については、ロボットの特性を考慮して、適当な時間を予め実験的(あるいは経験的)に決定しておくことができる。また、ロボットの手先部の位置を推定するための手段としては、ロボットの近似的モデルを構築し、モデルを解いて離散化するといった周知の手法を用いることができる。   For the “predetermined sampling time ahead”, an appropriate time can be determined experimentally (or empirically) in advance in consideration of characteristics of the robot. Further, as a means for estimating the position of the hand portion of the robot, a well-known technique such as constructing an approximate model of the robot and solving the model for discretization can be used.

そして、本発明においては、上記補正値を算出するにあたり、推定されたロボットの手先部の位置から、目標軌道上に下ろした垂線ベクトルを補正ベクトルとして補正値を算出するように構成することができる(請求項2、4の発明)。これによれば、最も効率的な補正値を求めることができ、より効果的となる。   And in this invention, when calculating the said correction value, it can comprise so that a correction value may be calculated from the estimated position of the hand part of a robot as a correction vector by using the perpendicular vector dropped on the target trajectory. (Inventions of Claims 2 and 4). According to this, the most efficient correction value can be obtained, and it becomes more effective.

以下、本発明を組立用の多関節型ロボットに適用した一実施例について、図面を参照しながら説明する。図5は、ロボットのシステムの外観構成を概略的に示している。このシステムは、ロボット本体1と、このロボット本体1を制御する本実施例に係る制御装置たるロボットコントローラ2とを備えて構成され、更に前記ロボットコントローラ2にはティーチングペンダント3が接続されている。   Hereinafter, an embodiment in which the present invention is applied to an articulated robot for assembly will be described with reference to the drawings. FIG. 5 schematically shows the external configuration of the robot system. This system includes a robot body 1 and a robot controller 2 as a control device according to the present embodiment for controlling the robot body 1, and a teaching pendant 3 is connected to the robot controller 2.

前記ロボット本体1は、この場合組立用の6軸の小形垂直多関節型ロボットとして構成されている。具体的には、前記ロボット本体1は、ベース部4にショルダ部5を垂直軸を中心に回動(旋回)可能に備え、そのショルダ部5の左右両端部に、図で上方に延びる一対の下アーム部6が水平軸を中心に回動可能に連結されており、この下アーム部6の上端部に両側から挟まれるようにして、中間アーム部7の前端部が水平軸を中心に回動可能に連結されている。   The robot body 1 is configured as a 6-axis small vertical articulated robot for assembly in this case. Specifically, the robot body 1 includes a shoulder portion 5 on a base portion 4 so that the shoulder portion 5 can rotate (turn) around a vertical axis, and a pair of left and right end portions of the shoulder portion 5 extending upward in the drawing. The lower arm portion 6 is connected so as to be rotatable about a horizontal axis, and the front end portion of the intermediate arm portion 7 is rotated about the horizontal axis so as to be sandwiched by the upper end portion of the lower arm portion 6 from both sides. It is linked movably.

また、前記中間アーム部7の前端部には、前方に延びる上アーム部8の後端部が同軸回転可能に連結されており、その上アーム部8の前端側は、左右に二又をなすように延びており、それらの間に位置してリスト部9が水平軸を中心に回動可能に連結されている。さらに、前記リスト部9の前端部には、円形のフランジ部10が同軸回転可能に連結されている。図示はしないが、前記フランジ部10には、ワークを把持するハンドや、加工用工具、シール材塗布ヘッド、溶接ヘッド等のツールが取付けられるようになっている。尚、このフランジ部10のツール取付面の中心部が手先部とされる。   Further, a rear end portion of the upper arm portion 8 extending forward is connected to the front end portion of the intermediate arm portion 7 so as to be coaxially rotatable, and the front end side of the upper arm portion 8 is bifurcated left and right. The wrist part 9 is connected so as to be rotatable about a horizontal axis. Further, a circular flange portion 10 is connected to the front end portion of the wrist portion 9 so as to be coaxially rotatable. Although not shown, a hand such as a workpiece gripping tool, a processing tool, a sealing material application head, and a welding head are attached to the flange portion 10. The center portion of the tool mounting surface of the flange portion 10 is a hand portion.

そして、このロボット本体1内には、各軸を駆動するための駆動源であるサーボモータ11(図4にのみ図示)や、図示しないベルト伝達機構や減速機等の伝動機構が組込まれている。また、図4に示すように、各サーボモータ11には、位置検出センサとしてのロータリエンコーダ12が設けられている。これら各軸のサーボモータ11が、前記ロボットコントローラ2により制御されるようになっている。尚、図4では、ショルダ部5、下アーム部6、中間アーム部7、上アーム部8、リスト部9を可動部として1つのブロックで示し、サーボモータ11も、1個のみを代表させて示している。   In the robot body 1, a servo motor 11 (shown only in FIG. 4) that is a drive source for driving each axis, and a transmission mechanism such as a belt transmission mechanism and a speed reducer (not shown) are incorporated. . As shown in FIG. 4, each servo motor 11 is provided with a rotary encoder 12 as a position detection sensor. The servo motors 11 for these axes are controlled by the robot controller 2. In FIG. 4, the shoulder portion 5, the lower arm portion 6, the intermediate arm portion 7, the upper arm portion 8, and the wrist portion 9 are shown as one movable block, and only one servo motor 11 is represented. Show.

一方、図4に示すように、前記ロボットコントローラ2は、制御手段としてのCPU13、このCPU13に接続されたROM14、RAM15、インターフェース16を備えると共に、前記各サーボモータ11を駆動する駆動手段としての駆動回路(サーボ制御部)17、位置検出手段としての位置検出回路18などを備えて構成される。前記ROM14には、ロボット全体の制御プログラムなどが記憶されており、前記RAM15には、前記ティーチングペンダント3による教示データ等に基づいて設定された動作プログラムが記憶されるようになっている。また、前記インターフェース16には、前記ティーチングペンダント3が接続されると共に、図示しない画像処理装置、モニタ装置、パソコン等の周辺機器を接続することも可能とされている。   On the other hand, as shown in FIG. 4, the robot controller 2 includes a CPU 13 as a control means, a ROM 14, a RAM 15 and an interface 16 connected to the CPU 13, and a drive as a drive means for driving the servo motors 11. A circuit (servo control unit) 17 and a position detection circuit 18 as position detection means are provided. The ROM 14 stores a control program for the entire robot, and the RAM 15 stores an operation program set based on teaching data by the teaching pendant 3 or the like. The teaching pendant 3 is connected to the interface 16 and peripheral devices such as an image processing device, a monitor device, and a personal computer (not shown) can be connected.

前記位置検出回路18は、前記ロータリエンコーダ12からのパルス信号に基づいて各軸のサーボモータ11の現在位置(各関節の回転角度)を検出するようになっており、検出された位置情報は、前記駆動回路17及びCPU13に与えられるようになっている。前記駆動回路17は、CPU13から与えられる位置指令と、位置検出回路18から与えられる現在位置(角度)とを比較し、その偏差に応じた電流をサーボモータ11に供給して駆動(フィードバック制御)する制御部として機能するようになっている。これにより、ロボット本体1の手先部の位置(三次元の位置及び向きを含む概念である)が、前記動作プログラムに設定された目標軌道L(図3に実線で示す)に追従するように制御され、もって所定の作業(組立作業など)を行うようになっているのである。   The position detection circuit 18 detects the current position (rotation angle of each joint) of the servo motor 11 of each axis based on the pulse signal from the rotary encoder 12, and the detected position information is: The drive circuit 17 and the CPU 13 are provided. The drive circuit 17 compares the position command given from the CPU 13 with the current position (angle) given from the position detection circuit 18 and supplies the servo motor 11 with a current corresponding to the deviation to drive (feedback control). It functions as a control unit. Thereby, the position of the hand part of the robot body 1 (which is a concept including a three-dimensional position and orientation) is controlled so as to follow the target trajectory L (shown by a solid line in FIG. 3) set in the operation program. Thus, a predetermined work (assembly work or the like) is performed.

さて、前記ロボットコントローラ2は、CPU13の処理を中心としたソフトウエア的構成により、所定のサンプリング時間(例えば8ms)毎に、前記目標軌道Lを細分化して途中目標点(図3に黒丸で示す)を設定し、その途中目標点にロボット本体1の手先部を移動させるように位置指令(角度指令)Ptを出力するようになっている。このとき、本実施例では、後の作用説明でも述べるように、ロボットコントローラ2(CPU13)は、現在(k)から所定のサンプリング時間先(k+n)のロボット本体1の手先部の位置(図3に白丸で示す)を推定し、推定された位置と前記目標軌道Lとのずれを求めて前記位置指令の補正値を算出し、算出した補正値により現在の位置指令Ptを補正するようになっている。   Now, the robot controller 2 subdivides the target trajectory L every predetermined sampling time (for example, 8 ms) by a software configuration centered on the processing of the CPU 13, and indicates intermediate target points (indicated by black circles in FIG. 3). ) Is set, and a position command (angle command) Pt is output so as to move the hand portion of the robot body 1 to the target point on the way. At this time, in this embodiment, as will be described later in the description of the operation, the robot controller 2 (CPU 13) determines the position of the hand portion of the robot body 1 at a predetermined sampling time (k + n) from the current (k) (FIG. 3). The position command correction value is calculated by calculating the deviation between the estimated position and the target trajectory L, and the current position command Pt is corrected by the calculated correction value. ing.

従って、CPU13が位置指令出力手段、推定手段、補正値算出手段及び補正手段として機能するようになっている。さらに、本実施例では、図3に示すように、上記補正値を算出するにあたり、推定されたロボット本体1の手先部の位置から、目標軌道L上に下ろした垂線ベクトルPαを補正値とするようになっている。尚、上記所定のサンプリング時間先については、ロボット本体1の特性等を考慮して、例えば50ms先といったように、適当な時間を予め実験的に決定しておくことができる。ロボット本体1の手先部の位置を推定するための手段としては、ロボット本体1の近似的モデルを構築し、モデルを解いて離散化するといった周知の手法を用いることができる。   Therefore, the CPU 13 functions as a position command output unit, an estimation unit, a correction value calculation unit, and a correction unit. Further, in the present embodiment, as shown in FIG. 3, in calculating the correction value, the perpendicular vector Pα dropped on the target trajectory L from the estimated position of the hand portion of the robot body 1 is used as the correction value. It is like that. For the predetermined sampling time ahead, an appropriate time can be experimentally determined in advance, for example, 50 ms ahead in consideration of the characteristics of the robot body 1 and the like. As a means for estimating the position of the hand portion of the robot body 1, a known method of constructing an approximate model of the robot body 1 and solving the model to discretize it can be used.

次に、上記構成の作用について、図1ないし図3も参照して述べる。今、図3に示すように、設定された動作プログラムにおいて、ロボット本体1の手先部を目標軌道Lに追従させるように制御するものとすると、サンプリング時間(k、k+1、k+2、‥、k+n、‥)毎に、ロボット本体1の手先部が途中目標点に来るように位置指令(Pt(k))が出力される。   Next, the operation of the above configuration will be described with reference to FIGS. Now, as shown in FIG. 3, in the set operation program, assuming that the hand portion of the robot body 1 is controlled to follow the target trajectory L, sampling times (k, k + 1, k + 2,..., K + n, ..), A position command (Pt (k)) is output so that the hand of the robot body 1 comes to the target point on the way.

しかし、通常のフィードバック制御を行った場合には、どうしても各サーボモータ11に応答遅れが生ずるため、図3に破線で示すように、ロボット本体1の手先部の実際の軌道に、目標軌道Lからずれが生ずる事情がある。図3中、白丸は、通常のフィードバック制御を行った場合に、各サンプリング時間(k、k+1、k+2、‥、k+n、‥)におけるロボット本体1の手先部が実際に移動する位置の例を示している。   However, when normal feedback control is performed, a response delay is inevitably caused in each servo motor 11, so that the actual trajectory of the hand portion of the robot body 1 is shifted from the target trajectory L as shown by a broken line in FIG. There are circumstances that cause a gap. In FIG. 3, white circles show examples of positions where the hand portion of the robot body 1 actually moves at each sampling time (k, k + 1, k + 2,..., K + n,...) When normal feedback control is performed. ing.

そこで、本実施例では、図1の制御ブロック図に示されるように、位置指令(Pt)の補正が行われてロボット本体1の位置制御が行われる。
即ち、まず、位置指令(指令角度Pt(k+n))が、推定モデル部19に入力される。この場合、位置指令Pt(k+n)は、現在(k)の途中目標点に対してnサンプルだけ先行して出力されることになる。推定モデル部19では、nサンプル後の各軸の位置(関節の角度)がモデルを使って推定され、推定位置(角度)が軌跡ずれ推定部20に入力される。軌跡ずれ推定部20では、nサンプル後の推定位置と、目標軌道Lとのずれが求められる。そして、軌跡補正ベクトル計算部21では、補正指令値Pαが算出される。ここでは、図3に示すように、nサンプル先の推定位置から目標軌道L上に下ろした垂線ベクトルを補正ベクトルとするようになっている。算出された補正値Pαは、加算器23に入力される。
Therefore, in this embodiment, as shown in the control block diagram of FIG. 1, the position command (Pt) is corrected and the position control of the robot body 1 is performed.
That is, first, a position command (command angle Pt (k + n)) is input to the estimation model unit 19. In this case, the position command Pt (k + n) is output n samples ahead of the current (k) midpoint target point. In the estimation model unit 19, the position (joint angle) of each axis after n samples is estimated using the model, and the estimated position (angle) is input to the locus deviation estimation unit 20. The trajectory deviation estimation unit 20 obtains a deviation between the estimated position after n samples and the target trajectory L. In the locus correction vector calculation unit 21, a correction command value Pα is calculated. Here, as shown in FIG. 3, a perpendicular vector dropped from the estimated position n samples ahead onto the target trajectory L is used as the correction vector. The calculated correction value Pα is input to the adder 23.

一方、上記位置指令(指令角度Pt(k+n))は、遅れ要素22に入力され、この遅れ要素からは、現在のサンプリング時間(k)における位置指令Pt(k)が出力される。そして、加算器23にて、その位置指令Pt(k)に前記補正値Pαが加算され、位置指令がPt(k)+Pαとされて、ロボットの制御ループ24に入力される。詳しい図示は省略しているが、このロボットの制御ループ24は、一般的なフィードバック制御を行うループである。   On the other hand, the position command (command angle Pt (k + n)) is input to the delay element 22, and the position command Pt (k) at the current sampling time (k) is output from the delay element. Then, the adder 23 adds the correction value Pα to the position command Pt (k), and the position command is set to Pt (k) + Pα and is input to the control loop 24 of the robot. Although detailed illustration is omitted, the control loop 24 of this robot is a loop for performing general feedback control.

また、図2のフローチャートは、上記した制御における位置指令の補正の手順を示すものである。即ち、ステップS1では、動作プログラムに設定された目標軌道Lから、現在からnサンプル先の位置指令値が算出される。次のステップS2では、nサンプル先のロボット本体1の手先部の位置が推定される。そして、ステップS3では、軌跡ずれの推定値(垂線ベクトル)が算出され、ステップS4では、現在の位置指令Pt(k)を、上記軌跡ずれの推定値(補正値Pα)により補正することが行われる。   The flowchart of FIG. 2 shows the procedure for correcting the position command in the above-described control. That is, in step S1, a position command value n samples ahead from the present is calculated from the target trajectory L set in the operation program. In the next step S2, the position of the hand portion of the robot body 1 after n samples is estimated. In step S3, an estimated value (perpendicular vector) of the locus deviation is calculated, and in step S4, the current position command Pt (k) is corrected by the estimated value (correction value Pα) of the locus deviation. Is called.

これにより、nサンプリング時間先に発生すると推定されるロボット本体1の手先部の目標軌道Lからの位置ずれを、その手前(現在)における位置指令Pt(k)の補正によって、前以て吸収するような制御がなされるようになる。この場合、ロボット本体1の手先部を設定された目標軌道Lに追従させるように制御するにあたり、フィードフォワード制御のように位置指令に常に一致させるのではなく、時間遅れを許容しながら、ロボット本体1の手先部の位置を目標軌道L上にのせるような制御が行われることになる。   As a result, the positional deviation from the target trajectory L of the hand portion of the robot body 1 that is estimated to occur n sampling times ahead is absorbed in advance by correcting the position command Pt (k) before (current). Such control is made. In this case, when controlling the hand portion of the robot body 1 to follow the set target trajectory L, the robot body is not allowed to always coincide with the position command as in feedforward control, but a time delay is allowed. Control is performed so that the position of the one hand portion is placed on the target trajectory L.

従って、各サーボモータ11の応答遅れに起因する、ロボット本体1の手先部の目標軌道Lとの位置ずれ減少させることができ、ロボット本体1の手先部の実際の位置を目標軌道Lに精度良く追従させることができる。このとき、サンプリング時間毎の途中目標点に対しては一定の遅れをもった制御となるが、従来のフィードフォワード制御とは異なり、指令値への無理な追従による振動を防止することができる。しかも、予め教示軌跡と実際のロボット本体1を動作させた際の軌跡との誤差を求めて、教示点を補正するような調整を行うものと異なり、繰返し動作による調整作業の必要がないことは勿論である。   Accordingly, it is possible to reduce the positional deviation from the target trajectory L of the hand portion of the robot main body 1 due to the response delay of each servo motor 11, and the actual position of the hand portion of the robot main body 1 to the target trajectory L with high accuracy. Can be followed. At this time, control is performed with a certain delay with respect to the midpoint target point for each sampling time, but unlike conventional feedforward control, vibration due to excessive follow-up to the command value can be prevented. In addition, unlike the case of performing an adjustment to correct the teaching point by obtaining an error between the teaching locus and the locus when the actual robot body 1 is operated in advance, there is no need for an adjustment operation by repeated operations. Of course.

このように本実施例によれば、ロボット本体1の手先部を設定された目標軌道に追従させるように制御するものにあって、目標軌道Lに対する実際のロボット本体1の軌道のずれを効果的に低減することができる。この結果、加工工具によりワークに対する加工を行う場合や、シール剤の塗布作業、溶接作業などのように、目標軌道L上における時間についてはさほどの厳密性を要求されず、目標軌道L上を正しく追従することがより重要となる場合に有効となる。また、特に本実施例では、補正値を算出するにあたり、推定されたロボット本体1の手先部の位置から目標軌道L上に下ろした垂線ベクトルを補正ベクトルとするようにしたので、最も効率的な補正値を求めることができ、より効果的となるものである。   As described above, according to the present embodiment, the robot body 1 is controlled so as to follow the set target trajectory, and the actual deviation of the trajectory of the robot main body 1 with respect to the target trajectory L is effective. Can be reduced. As a result, when the workpiece is machined with a machining tool, the time on the target track L is not required to be so strict as in the case of a sealing agent application operation, a welding operation, etc. This is effective when following is more important. In particular, in the present embodiment, when calculating the correction value, the perpendicular vector dropped on the target trajectory L from the estimated position of the hand of the robot body 1 is used as the correction vector. A correction value can be obtained, which is more effective.

尚、上記実施例では、推定されたロボット本体1の手先部の位置から目標軌道L上に下ろした垂線ベクトルを補正値とするようにしたが、例えば、推定位置からnサンプリング時間先の途中目標点に向かうベクトルを補正値とすることも可能である。その他、例えばロボット本体のハードウエア構成などについても様々な変形が可能である等、本発明は上記した実施例に限定されるものではなく、要旨を逸脱しない範囲内で適宜変更して実施し得るものである。   In the above embodiment, the perpendicular vector dropped on the target trajectory L from the estimated position of the hand of the robot body 1 is used as the correction value. It is also possible to use a vector directed to a point as a correction value. In addition, for example, various modifications can be made to the hardware configuration of the robot body, and the present invention is not limited to the above-described embodiments, and can be implemented with appropriate modifications without departing from the scope of the invention. Is.

本発明の一実施例を示すもので、位置指令の補正の制御ブロック図1 is a control block diagram of position command correction according to an embodiment of the present invention. 位置指令の補正の手順を示すフローチャートFlow chart showing the procedure of position command correction 目標軌道と実際の軌道とのずれが生ずる様子を示す図Diagram showing how the target trajectory and the actual trajectory shift ロボットコントローラの電気的構成を概略的に示すブロック図Block diagram schematically showing the electrical configuration of the robot controller ロボットの外観を概略的に示す斜視図A perspective view schematically showing the appearance of the robot

符号の説明Explanation of symbols

図面中、1はロボット本体、2はロボットコントローラ(制御装置)、11はサーボモータ、12はロータリエンコーダ、13はCPU、17は駆動回路、18は位置検出回路、Lは目標軌道を示す。

In the drawings, 1 is a robot body, 2 is a robot controller (control device), 11 is a servo motor, 12 is a rotary encoder, 13 is a CPU, 17 is a drive circuit, 18 is a position detection circuit, and L is a target trajectory.

Claims (4)

ロボットの手先部を、設定された目標軌道に追従させるように制御するロボットの制御装置であって、
サンプリング時間毎に、前記目標軌道を細分化した途中目標点にロボットの手先部を移動させるように位置指令を出力する位置指令出力手段と、
前記位置指令に基づいてロボットの各軸を制御する制御部と、
現在から所定のサンプリング時間先のロボットの手先部の位置を推定する推定手段と、
この推定手段により推定された位置と前記目標軌道とのずれを求めて前記位置指令の補正値を算出する補正値算出手段と、
この補正値算出手段の算出した補正値により現在の位置指令を補正する補正手段を備えることを特徴とするロボットの制御装置。
A robot control device that controls a robot's hand to follow a set target trajectory,
Position command output means for outputting a position command so as to move the robot's hand part to a target point on the way of subdividing the target trajectory for each sampling time;
A control unit for controlling each axis of the robot based on the position command;
Estimating means for estimating the position of the hand portion of the robot a predetermined sampling time from the present time;
Correction value calculating means for calculating a correction value of the position command by obtaining a deviation between the position estimated by the estimating means and the target trajectory;
An apparatus for controlling a robot, comprising: correction means for correcting a current position command based on a correction value calculated by the correction value calculation means.
前記補正値算出手段は、前記推定手段により推定された位置から、前記目標軌道上に下ろした垂線ベクトルを補正ベクトルとして補正値を算出することを特徴とする請求項1記載のロボットの制御装置。   The robot control apparatus according to claim 1, wherein the correction value calculation unit calculates a correction value from the position estimated by the estimation unit, using a perpendicular vector dropped on the target trajectory as a correction vector. サンプリング時間毎に、設定された目標軌道を細分化した途中目標点にロボットの手先部を移動させるように位置指令を出力し、その位置指令に基づいてロボットの各軸を制御することにより、前記ロボットの手先部を前記目標軌道に追従させるように制御するロボットの制御方法であって、
現在から所定のサンプリング時間先のロボットの手先部の位置を推定し、
推定された位置と前記目標軌道とのずれを求めて前記位置指令の補正値を算出し、
算出された補正値により現在の位置指令を補正することを特徴とするロボットの制御方法。
By outputting a position command so as to move the hand of the robot to a target point halfway subdividing the set target trajectory at each sampling time, and controlling each axis of the robot based on the position command, A control method for a robot for controlling a hand portion of the robot to follow the target trajectory,
Estimate the position of the hand part of the robot ahead of the predetermined sampling time from the present,
Obtaining a deviation between the estimated position and the target trajectory and calculating a correction value of the position command;
A method for controlling a robot, wherein the current position command is corrected by the calculated correction value.
前記補正値は、推定されたロボットの手先部の位置から、前記目標軌道上に下ろした垂線ベクトルを補正ベクトルとして算出されることを特徴とする請求項3記載のロボットの制御方法。

4. The robot control method according to claim 3, wherein the correction value is calculated from the estimated position of the hand of the robot as a correction vector using a perpendicular vector dropped on the target trajectory.

JP2004193485A 2004-06-30 2004-06-30 Robot controller and control method Pending JP2006015431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004193485A JP2006015431A (en) 2004-06-30 2004-06-30 Robot controller and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004193485A JP2006015431A (en) 2004-06-30 2004-06-30 Robot controller and control method

Publications (1)

Publication Number Publication Date
JP2006015431A true JP2006015431A (en) 2006-01-19

Family

ID=35790120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004193485A Pending JP2006015431A (en) 2004-06-30 2004-06-30 Robot controller and control method

Country Status (1)

Country Link
JP (1) JP2006015431A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008084131A (en) * 2006-09-28 2008-04-10 Toshiba Corp Target track creating device and target track creating method
JP2008142786A (en) * 2006-12-06 2008-06-26 Nidec Sankyo Corp Robot system and robot control device
WO2012026279A1 (en) * 2010-08-25 2012-03-01 三菱電機株式会社 Trajectory control device
WO2013140679A1 (en) * 2012-03-21 2013-09-26 三菱電機株式会社 Track control device
CN105900027A (en) * 2014-01-07 2016-08-24 三菱电机株式会社 Trajectory control device
JPWO2017064851A1 (en) * 2015-10-14 2018-09-06 川崎重工業株式会社 Robot teaching method and robot arm control device
EP3376312A1 (en) 2017-03-14 2018-09-19 Omron Corporation Processing device, parameter adjusting method, and parameter adjusting program
WO2018168229A1 (en) 2017-03-14 2018-09-20 オムロン株式会社 Control system
CN111095132A (en) * 2017-09-08 2020-05-01 三菱电机株式会社 Servo control device
CN111195908A (en) * 2018-11-16 2020-05-26 丰田自动车株式会社 Track generation device
CN116277161A (en) * 2023-05-25 2023-06-23 山东中济鲁源机械有限公司 Mechanical arm dynamic deviation monitoring system based on three-dimensional model coordinates

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008084131A (en) * 2006-09-28 2008-04-10 Toshiba Corp Target track creating device and target track creating method
JP2008142786A (en) * 2006-12-06 2008-06-26 Nidec Sankyo Corp Robot system and robot control device
WO2012026279A1 (en) * 2010-08-25 2012-03-01 三菱電機株式会社 Trajectory control device
CN103080859A (en) * 2010-08-25 2013-05-01 三菱电机株式会社 Trajectory control device
DE112011102790T5 (en) 2010-08-25 2013-06-13 Mitsubishi Electric Corporation Trajectory control device
JP5340486B2 (en) * 2010-08-25 2013-11-13 三菱電機株式会社 Trajectory control device
US9098077B2 (en) 2010-08-25 2015-08-04 Mitsubishi Electric Corporation Trajectory control device
DE112011102790B4 (en) 2010-08-25 2022-12-15 Mitsubishi Electric Corporation trajectory control device
WO2013140679A1 (en) * 2012-03-21 2013-09-26 三菱電機株式会社 Track control device
CN104204977A (en) * 2012-03-21 2014-12-10 三菱电机株式会社 Track control device
US9757834B2 (en) 2012-03-21 2017-09-12 Mitsubishi Electric Corporation Track control apparatus
CN105900027B (en) * 2014-01-07 2018-09-21 三菱电机株式会社 Track control device
US10481580B2 (en) 2014-01-07 2019-11-19 Mitsubishi Electric Corporation Trajectory control device
CN105900027A (en) * 2014-01-07 2016-08-24 三菱电机株式会社 Trajectory control device
JPWO2017064851A1 (en) * 2015-10-14 2018-09-06 川崎重工業株式会社 Robot teaching method and robot arm control device
EP3376312A1 (en) 2017-03-14 2018-09-19 Omron Corporation Processing device, parameter adjusting method, and parameter adjusting program
WO2018168229A1 (en) 2017-03-14 2018-09-20 オムロン株式会社 Control system
US10384344B2 (en) 2017-03-14 2019-08-20 Omron Corporation Processing device, parameter adjusting method, and storage medium
US10926411B2 (en) 2017-03-14 2021-02-23 Omron Corporation Control system
DE112017008009T5 (en) 2017-09-08 2020-07-09 Mitsubishi Electric Corporation SERVO CONTROL DEVICE
DE112017008009B4 (en) 2017-09-08 2022-03-31 Mitsubishi Electric Corporation servo control device
CN111095132A (en) * 2017-09-08 2020-05-01 三菱电机株式会社 Servo control device
US11630425B2 (en) 2017-09-08 2023-04-18 Mitsubishi Electric Corporation Servo control device
CN111095132B (en) * 2017-09-08 2023-04-18 三菱电机株式会社 Servo control device
JP2020082219A (en) * 2018-11-16 2020-06-04 トヨタ自動車株式会社 Track generation device
CN111195908A (en) * 2018-11-16 2020-05-26 丰田自动车株式会社 Track generation device
JP7067435B2 (en) 2018-11-16 2022-05-16 トヨタ自動車株式会社 Orbit generator
US11493928B2 (en) 2018-11-16 2022-11-08 Toyota Jidosha Kabushiki Kaisha Trajectory generation apparatus
CN116277161A (en) * 2023-05-25 2023-06-23 山东中济鲁源机械有限公司 Mechanical arm dynamic deviation monitoring system based on three-dimensional model coordinates
CN116277161B (en) * 2023-05-25 2023-12-08 山东理工职业学院 Mechanical arm dynamic deviation monitoring system based on three-dimensional model coordinates

Similar Documents

Publication Publication Date Title
JP4736607B2 (en) Robot controller
JP6755874B2 (en) Robot system and its operation method
EP2835228B1 (en) Robot apparatus and robot controlling method
TWI673150B (en) Robot teaching method and robot arm control device
JP4504228B2 (en) Robot control apparatus and control method
EP1696294A2 (en) Method and apparatus for generating teaching data for a robot
JP6392825B2 (en) Robot controller with learning control function
WO2019116891A1 (en) Robot system and robot control method
JP2006015431A (en) Robot controller and control method
JPH1133960A (en) Method for controlling robot
JP2014208400A (en) Robot controller and robot attitude interpolation method
JP4189445B2 (en) Robot control method and control apparatus
US11878423B2 (en) Robot system
JP6088601B2 (en) Robot controller that suppresses tool tip deflection in robot with traveling axis
JP5382148B2 (en) Robot motion control apparatus and motion control method thereof
JP4222338B2 (en) Adaptive visual feedback control method
JP2011062763A (en) Robot controller
CN108475051B (en) Method and system for aligning a tool during programming of an industrial robot
JP4992702B2 (en) Robot motion control apparatus and motion control method thereof
JP2010036293A (en) Multi-articulated robot
JP2009178835A (en) Apparatus and method for controlling robot
JP7426333B2 (en) robot control device
JP2009279725A (en) Robot control device
JPH0285906A (en) Industrial robot controller
JP2003178107A (en) Device and program for supporting design and analysis of industrial articulated robot

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060725

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060904

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080226

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080424

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090116

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090202

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20090220