JP2012106321A - Method and device for controlling robot - Google Patents

Method and device for controlling robot Download PDF

Info

Publication number
JP2012106321A
JP2012106321A JP2010258670A JP2010258670A JP2012106321A JP 2012106321 A JP2012106321 A JP 2012106321A JP 2010258670 A JP2010258670 A JP 2010258670A JP 2010258670 A JP2010258670 A JP 2010258670A JP 2012106321 A JP2012106321 A JP 2012106321A
Authority
JP
Japan
Prior art keywords
coordinate system
workpiece
user
work
manipulator
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
JP2010258670A
Other languages
Japanese (ja)
Inventor
Shinichiro Nakagawa
慎一郎 中川
Junichi Nakamoto
淳一 中本
Shugo Hirota
周吾 廣田
Yuji Nakatsugawa
勇二 中津川
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.)
Daihen Corp
Original Assignee
Daihen 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 Daihen Corp filed Critical Daihen Corp
Priority to JP2010258670A priority Critical patent/JP2012106321A/en
Publication of JP2012106321A publication Critical patent/JP2012106321A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method and a device for controlling a robot in each of which a preset user coordinate system can be utilized as it is even if a position or an attitude of a work that is placed in a positioner or grasped by a manipulator is changed.SOLUTION: When the user coordinate system Cu having axial directions is set according to a shape of the work W, a coordinate system in which positions of characteristic points E1 to E3 are taught and coordinate values of the positions of the characteristic points are stored is selected from a plurality of coordinate systems including a work coordinate system at the least. In particular, when the user coordinate system Cu is set according to the shape of the work W mounted to the positioner P (or a manipulator other than the manipulator M), the coordinate values of the positions of the characteristic points are stored as work coordinate values. As a result, even if the position or the attitude of the work W is changed by rotating the positioner P as shown in (b), the user coordinate system Cu can follow. In other words, the user coordinate system can be utilized as it is without being reset.

Description

本発明は、任意の軸方向を定めたユーザ座標系でのジョグ送りを可能としたロボットの制御方法およびロボット制御装置に関する。   The present invention relates to a robot control method and a robot control apparatus that can perform jog feed in a user coordinate system in which an arbitrary axial direction is defined.

アーク溶接、スポット溶接等の加工作業をロボットで実現する場合、ティーチングプレイバックと呼ばれる方式が採用されることが一般的である。ティーチングプレイバック方式とは、予め決められた位置にワークを設置して、マニピュレータとワークとの相対的な位置関係を拘束した状態で、ワークに対するマニピュレータの動作を教示し、この教示データを繰り返し再生動作させることで、同一品種のワークを連続して加工するという方法である。   When processing operations such as arc welding and spot welding are realized by a robot, a method called teaching playback is generally adopted. In the teaching playback method, a work is placed at a predetermined position, the operation of the manipulator with respect to the work is taught in a state where the relative positional relationship between the manipulator and the work is constrained, and this teaching data is reproduced repeatedly. This is a method of continuously processing workpieces of the same type by operating them.

図6は、ティーチングプレイバック方式を採用したロボット制御システム60の一般的な構成図である。同図において、マニピュレータ61は、アーム62の先端にワークWを加工するための作業ツールTを備えている。ティーチペンダント63は、ワークWに対するマニピュレータ61の動作を作業者が教示するための装置であり、その盤面上には、作業ツールTを移動させるための方向指示キー64が装備されている。方向指示キー64は、図示しているように座標系の方向(±X,±Y,±Z)に応じた複数のボタンが装備されているのが一般的である。例えば、手動操作座標系の1つであるベース座標系で作業ツールTを移動させる場合は、方向指示キー64のX+を押すと、ベース座標系のX+方向に作業ツールTの制御点が移動する。このように、作業者は方向指示キー64を操作することによって作業ツールTを所望の位置に動かして、加工作業を行わせるための作業経路を教示する。そして、作業経路上の教示点における作業ツールTの位置姿勢座標値が教示データとしてロボット制御装置65に記憶される。なお、以下では作業ツールTを移動させる操作のことを、ジョグ送りと呼ぶことにする。   FIG. 6 is a general configuration diagram of a robot control system 60 employing a teaching playback method. In the figure, a manipulator 61 is provided with a work tool T for processing a workpiece W at the tip of an arm 62. The teach pendant 63 is a device for an operator to teach the operation of the manipulator 61 with respect to the workpiece W, and a direction instruction key 64 for moving the work tool T is provided on the board surface. As shown in the drawing, the direction instruction key 64 is generally equipped with a plurality of buttons corresponding to the directions (± X, ± Y, ± Z) of the coordinate system. For example, when the work tool T is moved in the base coordinate system which is one of the manual operation coordinate systems, when the X + of the direction instruction key 64 is pressed, the control point of the work tool T moves in the X + direction of the base coordinate system. . Thus, the operator moves the work tool T to a desired position by operating the direction instruction key 64, and teaches a work path for performing the machining work. Then, the position and orientation coordinate values of the work tool T at the teaching point on the work path are stored in the robot control device 65 as teaching data. Hereinafter, the operation of moving the work tool T is referred to as jog feed.

図7は、教示時におけるマニピュレータ61の移動方向と手動操作座標系の関係について説明するための図である。マニピュレータ61、ワークWは、図6と同符号を付与した同一のものであるので説明を省略する。作業経路Kは、ワークWを加工するために必要な経路の1つであり、同図の場合は教示点Aと教示点Bとによって形成される。ベース座標系Cbはマニピュレータ61に原点を有する手動操作座標系であり、軸方向は、例えば図示している方向で固定となる。説明の便宜上、ベース座標系Cbにおける軸方向のX+とY+を矢印で表現しており、その他の軸方向は省略している。   FIG. 7 is a diagram for explaining the relationship between the moving direction of the manipulator 61 and the manual operation coordinate system during teaching. Since the manipulator 61 and the workpiece W are the same as those shown in FIG. The work path K is one of the paths necessary for machining the workpiece W, and is formed by the teaching point A and the teaching point B in the case of FIG. The base coordinate system Cb is a manual operation coordinate system having an origin at the manipulator 61, and the axial direction is fixed, for example, in the illustrated direction. For convenience of explanation, X + and Y + in the axial direction in the base coordinate system Cb are represented by arrows, and the other axial directions are omitted.

作業者は作業ツールTを所望の位置にジョグ送りし、その位置を教示することになるが、ジョグ送りの際に必要なキー操作は煩雑さを伴うことが多い。例えば、同図において作業経路Kを教示するために、現在位置である教示点Aから目標位置である教示点Bに作業ツールTをジョグ送りする場合を想定する。教示点Aから教示点Bに向かう方向がベース座標系CbのX+方向に一致していれば、作業者は方向指示キー64のX+を押すだけでよい。しかしながら、ワークW上の作業経路Kは、ベース座標系Cbの軸方向と一致していない。このような場合、作業者は方向指示キー64のX+、Y−等を組み合わせて操作する必要がある。ワークWが大型であったり作業経路Kが複雑であったりすると、作業ツールTのジョグ送り操作は、より一層煩雑になる。   The operator jogs the work tool T to a desired position and teaches the position, but the key operation necessary for jog feeding is often complicated. For example, assume that the work tool T is jog-fed from the teaching point A that is the current position to the teaching point B that is the target position in order to teach the work path K in FIG. If the direction from the teaching point A to the teaching point B coincides with the X + direction of the base coordinate system Cb, the operator only has to press the X + of the direction instruction key 64. However, the work path K on the workpiece W does not coincide with the axial direction of the base coordinate system Cb. In such a case, it is necessary for the operator to operate the direction instruction key 64 in combination with X +, Y-, and the like. When the workpiece W is large or the work path K is complicated, the jog feed operation of the work tool T becomes more complicated.

そこで、近年の産業用ロボットでは、手動操作座標系の原点位置および軸方向を任意に定義可能なユーザ座標系を、作業者が事前に設定することによって、ジョグ送り操作の煩雑さを解消する提案がなされている(例えば、特許文献1参照)。図7に示すように、作業経路Kの方向が座標系のX+方向に一致するように所望のユーザ座標系Cuを設定すれば、方向指示キー64のX+のみの操作で教示点Bに移動させることができる。すなわち、手動操作座標系の原点位置および軸方向をワークWの設置位置、形状等に合わせた任意の位置および方向に設定することができるため、ジョグ送り操作の煩雑さを解消することが可能である。   Therefore, in recent industrial robots, a proposal is made to eliminate the complexity of jog feed operation by the operator setting in advance a user coordinate system that can arbitrarily define the origin position and axial direction of the manual operation coordinate system. (For example, refer to Patent Document 1). As shown in FIG. 7, if the desired user coordinate system Cu is set so that the direction of the work path K coincides with the X + direction of the coordinate system, it is moved to the teaching point B only by operating the direction instruction key 64 with X +. be able to. That is, since the origin position and the axial direction of the manual operation coordinate system can be set to any position and direction according to the installation position, shape, etc. of the workpiece W, it is possible to eliminate the complexity of the jog feed operation. is there.

なお、特許文献1によれば、ユーザ座標系Cuの設定方法は次の通りである。まず、作業者により、ワークWの特徴点E1、E2およびE3の合計3点が指定される。ロボット制御装置65は、指定された特徴点の位置座標値をベース座標系Cbでの座標値(以下ではベース座標値という)で記憶し、特徴点のベース座標値からユーザ座標系Cuを定めるための同次変換行列を算出する。以上により、図示しているユーザ座標系Cuを得ることができる。しかしながら、ユーザ座標系Cuが、ポジショナに搭載されたワークW、またはマニピュレータ61とは異なる別のマニピュレータに把持されたワークWの形状等に応じて設定されている場合は、後述する課題を有している。   According to Patent Document 1, the setting method of the user coordinate system Cu is as follows. First, a total of three points of feature points E1, E2, and E3 of the workpiece W are designated by the worker. The robot controller 65 stores the position coordinate value of the designated feature point as a coordinate value in the base coordinate system Cb (hereinafter referred to as a base coordinate value), and determines the user coordinate system Cu from the base coordinate value of the feature point. Is calculated. Thus, the user coordinate system Cu shown in the figure can be obtained. However, when the user coordinate system Cu is set according to the shape of the work W mounted on the positioner or the work W gripped by another manipulator different from the manipulator 61, there is a problem described later. ing.

特開2007−115011号公報JP 2007-1115011 A

図8は、ユーザ座標系がポジショナに設置されたワークに対して設定されている一例を示す図である。同図(a)は、ポジショナPに設置されたワークWの形状に応じてユーザ座標系Cuが設定されている様子を示している。ユーザ座標系Cuは、上述したように、特徴点E1〜E3がベース座標値(ベース座標系Cbでの座標値)で記憶されることにより設定されている。   FIG. 8 is a diagram illustrating an example in which a user coordinate system is set for a workpiece installed on a positioner. FIG. 5A shows a state in which the user coordinate system Cu is set according to the shape of the workpiece W installed on the positioner P. As described above, the user coordinate system Cu is set by storing the feature points E1 to E3 as base coordinate values (coordinate values in the base coordinate system Cb).

同図(b)は、同図(a)の状態からポジショナPが点線矢印Drの方向へと回転し、ワークWの角部を例示した位置Dが移動した様子を示している。このように、ポジショナPが回転すると、ワークWの位置が変更されることになる。なお、図示はしていないが、ワークWがマニピュレータ61とは異なる別のマニピュレータに把持されている場合も同じであり、ワークWを把持したマニピュレータの位置や姿勢が変更になると、ワークWの位置や姿勢も変更されることになる。   FIG. 7B shows a state in which the positioner P has rotated in the direction of the dotted arrow Dr from the state of FIG. Thus, when the positioner P rotates, the position of the workpiece W is changed. Although not shown, the same applies when the work W is gripped by another manipulator different from the manipulator 61. When the position or posture of the manipulator that grips the work W is changed, the position of the work W is changed. And posture will be changed.

すでに上述したように、ユーザ座標系Cuを設定するための特徴点E1、E2およびE3はベース座標値で記憶されている。このために、ポジショナPが回転することによってワークWの位置が同図(a)から同図(b)に変更されたときであっても、図示するように特徴点E1、E2およびE3の位置(ベース座標値)は変わらない。この結果、特徴点E1、E2およびE3に基づいて算出されているユーザ座標系Cuの軸方向も変化しないために、設定済みのユーザ座標系Cuが使えないものになってしまう。   As already described above, the feature points E1, E2, and E3 for setting the user coordinate system Cu are stored as base coordinate values. For this reason, even when the position of the workpiece W is changed from the same figure (a) to the same figure (b) by the rotation of the positioner P, the positions of the feature points E1, E2 and E3 as shown in the figure. (Base coordinate value) does not change. As a result, since the axial direction of the user coordinate system Cu calculated based on the feature points E1, E2 and E3 does not change, the set user coordinate system Cu cannot be used.

ポジショナPにワークWを設置して加工作業を行うロボット制御システムにおいて、教示作業を行う上での最良の手段は、加工姿勢を最適に保つためにポジショナPをジョグ送りで回転させつつ、ワークWの形状に応じたジョグ送り(ユーザ座標系Cuを使ったジョグ送り)を行うことである。しかしながら、ポジショナPに設置されたワークWに合わせてユーザ座標系Cuを設定しても、ポジショナPを回転させると使えないものになってしまうために、上記のようなロボット制御システムでは、ユーザ座標系そのものが使いづらいという課題を有していた。これは、ワークWをマニピュレータに把持させて最適姿勢を実現するロボット制御システムでも同様である。   In the robot control system in which the workpiece W is installed on the positioner P to perform the machining operation, the best means for performing the teaching operation is to rotate the positioner P by jog feed in order to keep the machining posture optimal. Jog feed (jog feed using the user coordinate system Cu) according to the shape of the user. However, even if the user coordinate system Cu is set in accordance with the workpiece W installed on the positioner P, the user coordinate system Cu becomes unusable when the positioner P is rotated. The system itself had a problem that it was difficult to use. The same applies to a robot control system that realizes an optimal posture by causing the manipulator to grip the workpiece W.

そこで、本発明は、ポジショナに設置されたワークやマニピュレータに把持されたワークの設置位置や設置姿勢が変化したとしても、設定済みのユーザ座標系をそのまま利用することができるロボットの制御方法およびロボット制御装置を提供することを目的としている。   Therefore, the present invention provides a robot control method and a robot that can use a set user coordinate system as it is even if the installation position and installation posture of a work installed on a positioner or a work gripped by a manipulator change. The object is to provide a control device.

上記目的を達成するために、請求項1の発明は、
指定された複数の特徴点に基づいて所定の軸方向を有するユーザ座標系を設定し、ワークに対する教示の際に、操作手段からのジョグ操作信号に基づいてマニピュレータを前記ユーザ座標系に従ってジョグ送りするロボットの制御方法において、
前記複数の特徴点の座標値を、前記ワークの位置姿勢を基準とした座標系であるワーク座標系での座標値で記憶可能としたことを特徴とするロボットの制御方法である。
In order to achieve the above object, the invention of claim 1
A user coordinate system having a predetermined axial direction is set based on a plurality of designated feature points, and the manipulator is jog-fed according to the user coordinate system based on a jog operation signal from the operation means when teaching a workpiece. In the robot control method,
The robot control method is characterized in that the coordinate values of the plurality of feature points can be stored as coordinate values in a workpiece coordinate system which is a coordinate system based on the position and orientation of the workpiece.

請求項2の発明は、前記複数の特徴点の座標値は、少なくとも前記ワーク座標系を含む予め定めた複数の座標系の中から選択された、いずれか1つの座標系での座標値で記憶されることを特徴とする請求項1記載のロボットの制御方法である。   According to a second aspect of the present invention, the coordinate values of the plurality of feature points are stored as coordinate values in any one coordinate system selected from a plurality of predetermined coordinate systems including at least the workpiece coordinate system. The robot control method according to claim 1, wherein:

請求項3の発明は、
複数の特徴点を記憶する記憶手段と、前記複数の特徴点に基づいて所定の軸方向を有するユーザ座標系を設定する設定手段と、ワークに対する教示の際に、操作手段からの操作信号に基づいてマニピュレータを前記ユーザ座標系に従ってジョグ送りする制御手段とを備えたロボット制御装置において、
前記記憶手段は、前記複数の特徴点の座標値を、前記ワークの位置姿勢を基準とした座標系であるワーク座標系での座標値で記憶可能であることを特徴とするロボット制御装置である。
The invention of claim 3
Based on an operation signal from the operation means when teaching a workpiece, a storage means for storing a plurality of feature points, a setting means for setting a user coordinate system having a predetermined axial direction based on the plurality of feature points, A robot control device comprising a control means for jogging the manipulator according to the user coordinate system,
The storage means can store the coordinate values of the plurality of feature points as coordinate values in a workpiece coordinate system that is a coordinate system based on the position and orientation of the workpiece. .

請求項4の発明は、前記複数の特徴点の座標値は、少なくとも前記ワーク座標系を含む予め定めた複数の座標系の中から選択された、いずれか1つの座標系での座標値で記憶されることを特徴とする請求項3記載のロボット制御装置である。   According to a fourth aspect of the present invention, the coordinate values of the plurality of feature points are stored as coordinate values in any one coordinate system selected from a plurality of predetermined coordinate systems including at least the workpiece coordinate system. The robot control apparatus according to claim 3, wherein the robot control apparatus is provided.

本発明によれば、ユーザ座標系を、ワーク座標系を基準として記憶可能にしたことによって、ワークの設置位置や設置姿勢が変化したとしても、この変化に応じてユーザ座標系も追従する。すなわち、マニピュレータに把持されたりポジショナに搭載されたりしたワークの設置位置や設置姿勢が変化する場合においても、ユーザ座標系を再設定することなく、そのまま利用することができる。   According to the present invention, since the user coordinate system can be stored on the basis of the workpiece coordinate system, even if the installation position or installation posture of the workpiece changes, the user coordinate system follows the change. That is, even when the installation position or installation posture of the work held by the manipulator or mounted on the positioner changes, it can be used as it is without resetting the user coordinate system.

本発明に係るロボット制御装置を適用したロボットシステムの構成図である。It is a block diagram of a robot system to which a robot control device according to the present invention is applied. 本発明に係るティーチペンダントの外観図である。It is an external view of the teach pendant which concerns on this invention. 本発明に係るロボット制御装置の機能ブロック図である。It is a functional block diagram of the robot controller according to the present invention. ユーザ座標系の設定メニューの一画面例である。It is an example of a screen of a setting menu of a user coordinate system. ワークの位置姿勢が変化したときにユーザ座標系が追従する様子を説明するための図である。It is a figure for demonstrating a mode that a user coordinate system follows when the position and orientation of a workpiece | work change. ティーチングプレイバック方式を採用した従来のロボット制御システムの構成図である。It is a block diagram of the conventional robot control system which employ | adopted the teaching playback system. 教示時におけるマニピュレータの移動方向と座標系の関係について説明するための図である。It is a figure for demonstrating the relationship between the moving direction of the manipulator at the time of teaching, and a coordinate system. ユーザ座標系がポジショナに設置されたワークに対して設定されている一例を示す図である。It is a figure which shows an example in which the user coordinate system is set with respect to the workpiece | work installed in the positioner.

発明の実施の形態を実施例に基づき図面を参照して説明する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described based on examples with reference to the drawings.

[実施の形態1]
図1は、本発明に係るロボット制御装置を適用したロボットシステム10のブロック図である。同図は、例としてアーク溶接用途に具体化したものを示しているが、スポット溶接、ハンドリング等のその他の用途においても本発明は適用可能である。
[Embodiment 1]
FIG. 1 is a block diagram of a robot system 10 to which a robot control apparatus according to the present invention is applied. This figure shows an example of an arc welding application, but the present invention can also be applied to other uses such as spot welding and handling.

同図において、マニピュレータMは、ワークWに対してアーク溶接を自動で行うものであり、ロボット制御装置RCに接続されている。マニピュレータMは、複数のアーム部および手首部と、これらを回転駆動するための複数のサーボモータ(いずれも図示せず)とによって各々構成されている。また、マニピュレータMのアームの先端部分には、作業ツールとして溶接トーチTが取り付けられている。溶接トーチTは、直径1mm程度の溶接ワイヤを、ワークW上の教示された溶接箇所に導くためのものである。   In the figure, a manipulator M automatically performs arc welding on a workpiece W and is connected to a robot controller RC. The manipulator M is composed of a plurality of arm portions and a wrist portion, and a plurality of servo motors (none of which are shown) for rotationally driving them. Further, a welding torch T is attached to the tip of the arm of the manipulator M as a work tool. The welding torch T is for guiding a welding wire having a diameter of about 1 mm to a taught welding location on the workpiece W.

ワークWが設置されているポジショナPは、マニピュレータMと同様にロボット制御装置RCに接続されており、サーボモータを内蔵している。本実施形態においては、1個のサーボモータを内蔵し、点線矢印Drの方向へ回転可能なターンテーブル型のポジショナPを例示している。ロボット制御装置RCによりポジショナPが回転制御されることによって、ワークWは、マニピュレータMに対して最適な溶接姿勢を取ることが可能となっている。   Like the manipulator M, the positioner P on which the workpiece W is installed is connected to the robot control device RC and incorporates a servo motor. In the present embodiment, a turntable type positioner P that incorporates one servo motor and is rotatable in the direction of a dotted arrow Dr is illustrated. When the positioner P is rotationally controlled by the robot controller RC, the workpiece W can take an optimum welding posture with respect to the manipulator M.

操作手段に相当するティーチペンダントTPは、可搬式の教示操作盤であり、ロボット制御装置RCに接続されている。作業者は、このティーチペンダントTPを用いて、マニピュレータMをジョグ送りしながら、ユーザ座標系を定めるための特徴点や、ワークWを加工するための作業経路を教示する。特徴点は特徴点データCdとして、作業経路は、教示データTdとしてロボット制御装置RCに記憶される。   The teach pendant TP corresponding to the operation means is a portable teaching operation panel and is connected to the robot controller RC. Using this teach pendant TP, the operator teaches feature points for defining the user coordinate system and a work path for processing the workpiece W while jogging the manipulator M. The feature points are stored as feature point data Cd, and the work path is stored as teaching data Td in the robot controller RC.

ロボット制御装置RCは、ティーチペンダントTPからの入力に応じてマニピュレータMのジョグ送りを行わせるものである。また、再生運転時は、教示データTdに基づいた所定のタイミングで動作制御信号をマニピュレータMおよびポジショナPに出力したり、溶接制御信号を溶接電源WPに出力したりすることで、アーク溶接加工を自動で行わせる。   The robot controller RC causes the manipulator M to perform jog feed in response to an input from the teach pendant TP. Further, during the regenerative operation, arc welding processing is performed by outputting an operation control signal to the manipulator M and the positioner P at a predetermined timing based on the teaching data Td, or outputting a welding control signal to the welding power source WP. Let it be done automatically.

図2は、本発明に係るティーチペンダントの外観図である。キーボード41は、教示操作、各種設定操作等を行うためのものであり、マニピュレータMをジョグ送りする際の移動方向を定める方向指示キー41Aを含んでいる。表示部43は、後述する特徴点や教示データTdの教示内容、ロボットの動作制御に必要な各種パラメータ等を表示するためのものである。   FIG. 2 is an external view of the teach pendant according to the present invention. The keyboard 41 is for performing teaching operation, various setting operations, and the like, and includes a direction instruction key 41A that determines a moving direction when the manipulator M is jog-fed. The display unit 43 is for displaying feature points to be described later, teaching contents of teaching data Td, various parameters necessary for operation control of the robot, and the like.

図3は、本発明に係るロボット制御装置の機能ブロック図である。   FIG. 3 is a functional block diagram of the robot control apparatus according to the present invention.

ロボット制御装置RCは、中央演算処理装置であるCPU21、ソフトウェアプログラムや制御パラメータ等が格納されたROM22、一時的な計算領域としてのRAM23、各種メモリ等を含むマイクロコンピュータによって構成されている。TPインターフェース1は、ティーチペンダントTPを接続するためのものである。なお、CPU21は、設定手段および制御手段に相当する。   The robot controller RC is constituted by a microcomputer including a CPU 21 that is a central processing unit, a ROM 22 that stores software programs and control parameters, a RAM 23 that serves as a temporary calculation area, and various memories. The TP interface 1 is for connecting a teach pendant TP. The CPU 21 corresponds to setting means and control means.

ROM22には、各種処理を行うためのソフトウェアプログラムが記憶されており、これらを機能的に同図に示すと、キー入力監視部2、教示処理部3、座標系選択処理部7、座標系演算部8、ジョグ動作処理部9、解釈実行部11、駆動指令部12および溶接制御部13の各処理部を備えている。また、ROM22には、ジョグ送り操作時の基準となる手動操作座標系を定義するための制御パラメータも記憶されている。   The ROM 22 stores software programs for performing various processes. When these are functionally shown in the figure, the key input monitoring unit 2, the teaching processing unit 3, the coordinate system selection processing unit 7, the coordinate system calculation Each unit includes a processing unit 8, a jog operation processing unit 9, an interpretation execution unit 11, a drive command unit 12, and a welding control unit 13. The ROM 22 also stores control parameters for defining a manual operation coordinate system that is a reference for jog feed operation.

キー入力監視部2は、ティーチペンダントTPのキーボード41の操作がなされたときに入力される操作信号を監視する。教示処理部3は、ティーチペンダントTPからの入力に応じ、教示点の位置姿勢座標値、各種命令等を教示データTdとしてハードディスク5に記憶する。また、ユーザ座標系を定めるために教示された特徴点の位置姿勢座標値を、特徴点データCdとしてハードディスク5に記憶する。座標系選択処理部7は、ティーチペンダントTPによって選択された、ジョグ送り操作の基準となる手動操作座標系をジョグ動作処理部9に通知する。座標系演算部8は、指定された特徴点に基づいて、ユーザ座標系を設定する。ジョグ動作処理部9は、方向指示キー41Aおよび選択された手動操作座標系に従って、マニピュレータMを移動させるための演算を行い、演算結果を駆動指令部12に出力する。この結果、マニピュレータMが駆動制御される。   The key input monitoring unit 2 monitors an operation signal input when the keyboard 41 of the teach pendant TP is operated. In response to an input from the teach pendant TP, the teaching processing unit 3 stores the position / orientation coordinate values of teaching points, various commands, and the like in the hard disk 5 as teaching data Td. Further, the position / posture coordinate value of the feature point taught to determine the user coordinate system is stored in the hard disk 5 as the feature point data Cd. The coordinate system selection processing unit 7 notifies the jog operation processing unit 9 of the manual operation coordinate system selected by the teach pendant TP and serving as a reference for the jog feed operation. The coordinate system calculation unit 8 sets a user coordinate system based on the designated feature point. The jog motion processing unit 9 performs a calculation for moving the manipulator M according to the direction instruction key 41A and the selected manual operation coordinate system, and outputs the calculation result to the drive command unit 12. As a result, the manipulator M is driven and controlled.

記憶手段としてのハードディスク5は不揮発性メモリであり、特徴点データCdおよび教示データTdを記憶する。教示データTdを再生するための解釈実行部11は、ハードディスク5に格納されている教示データTdを教示ステップごとに読み出してその内容を解析し、駆動指令部12および溶接制御部13に各種制御信号を出力する。この結果、マニピュレータMが駆動制御されると共に、溶接制御信号が溶接電源WPに出力され、所定のタイミングで溶接電力の供給、シールドガスの出力等の処理が行われる。   The hard disk 5 as a storage means is a non-volatile memory, and stores feature point data Cd and teaching data Td. The interpretation execution unit 11 for reproducing the teaching data Td reads the teaching data Td stored in the hard disk 5 for each teaching step, analyzes the contents, and sends various control signals to the drive command unit 12 and the welding control unit 13. Is output. As a result, the manipulator M is driven and controlled, and a welding control signal is output to the welding power source WP, and processing such as supplying welding power and outputting shield gas is performed at a predetermined timing.

次に、上記のように構成されたロボットシステム10の作用について説明する。以下では、作業者がポジショナP上に設置されたワークWの形状に応じてユーザ座標系Cuを設定し、ポジショナPが回転してワークWの位置が変化した状態においてユーザ座標系Cuでジョグ送りするまでを、順を追って説明する。   Next, the operation of the robot system 10 configured as described above will be described. In the following, the operator sets the user coordinate system Cu according to the shape of the workpiece W installed on the positioner P, and jogs feed with the user coordinate system Cu in a state where the positioner P rotates and the position of the workpiece W changes. I will explain the process in order.

(1.特徴点の指定)
作業者がワークWの形状に応じたユーザ座標系を設定する場合は、まず、複数の特徴点を指定する。この作業は、例えば、従来技術の図7ですでに説明したように、特徴点E1、E2およびE3を指定する作業である。従来技術と異なる点は、特徴点の位置座標値を、ワーク座標系での座標値(以下、ワーク座標値という)で記憶することが可能な点である。なお、ワーク座標系とは、ワークを搭載するポジショナまたは把持するマニピュレータの所定位置を原点とし、且つ所定の軸方向を有する座標系であり、ベース座標系から相対的な位置に予め定められている。例えば、ターンテーブル型のポジショナであれば、テーブル盤面の中心位置を原点とし、この原点とベース座標系の原点とを結ぶ方向をX軸、テーブルの面直方向をZ軸、X軸とZ軸に直交する方向をY軸として定義することが多い。
(1. Specification of feature points)
When an operator sets a user coordinate system corresponding to the shape of the workpiece W, first, a plurality of feature points are specified. This operation is, for example, an operation for designating the feature points E1, E2, and E3 as already described with reference to FIG. The difference from the prior art is that the position coordinate value of the feature point can be stored as a coordinate value in the workpiece coordinate system (hereinafter referred to as workpiece coordinate value). The work coordinate system is a coordinate system having a predetermined position of a positioner or a manipulator for gripping a work and having a predetermined axial direction, and is determined in advance relative to the base coordinate system. . For example, in the case of a turntable type positioner, the center position of the table board surface is the origin, the direction connecting this origin and the origin of the base coordinate system is the X axis, the table perpendicular direction is the Z axis, and the X axis and the Z axis In many cases, a direction orthogonal to the Y axis is defined as the Y axis.

図4は、ユーザ座標系の設定メニューの一画面例である。同図(a)の領域では、従来技術と同様に、特徴点を3点指定することが可能になっている。位置座標値を直接入力することもできるし、マニピュレータMをジョグ送りした後の現在位置をエンコーダから取り込んで記録することもできる。そして、同図(b)の領域では、特徴点の位置座標値を、どの手動操作座標系を基準として記憶するかを選択することが可能となっている。「ベース」が選択されると、特徴点の位置座標値をベース座標値で記憶する。また「ワーク」が選択されると、特徴点の位置座標値をワーク座標値で記憶する。以下同様に、溶接トーチT等の作業ツールを基準とした座標系であるツール座標系や、ロボットシステム10全体に共通の座標系であるワールド座標系を基準とした位置座標値でも記憶することができる。ここでは、「ワーク」が選択されたものとする。このメニューで設定された情報(特徴点3点の位置座標値および基準座標系)は、教示処理部3によって、特徴点データCdとしてハードディスクに記憶される。   FIG. 4 is an example of a screen for setting the user coordinate system. In the area of FIG. 5A, it is possible to designate three feature points as in the prior art. The position coordinate value can be directly input, or the current position after jogging the manipulator M can be captured from the encoder and recorded. In the area of FIG. 5B, it is possible to select which manual operation coordinate system is used to store the position coordinate value of the feature point. When “base” is selected, the position coordinate value of the feature point is stored as the base coordinate value. When “work” is selected, the position coordinate value of the feature point is stored as the work coordinate value. Similarly, a tool coordinate system that is a coordinate system based on a work tool such as the welding torch T or a position coordinate value that is based on a world coordinate system that is a common coordinate system for the entire robot system 10 may be stored. it can. Here, it is assumed that “work” is selected. Information set by this menu (positional coordinate values of three feature points and a reference coordinate system) is stored in the hard disk as feature point data Cd by the teaching processing unit 3.

(2.ユーザ座標系の算出)
特徴点データCdが設定されると、座標系演算部8はユーザ座標系を算出する。より具体的には、特許文献1に記載されている手法等により、ワーク座標系から見たユーザ座標系の位置姿勢を表す同次変換行列を算出する。さらには、この同次変換行列を座標変換によってベース座標系から見たユーザ座標系の位置姿勢を表す同次変換行列に変換する。これらの演算は、公知の演算技術により容易に可能であるので、詳細な説明を省略する。
(2. Calculation of user coordinate system)
When the feature point data Cd is set, the coordinate system calculation unit 8 calculates the user coordinate system. More specifically, a homogeneous transformation matrix representing the position and orientation of the user coordinate system as viewed from the work coordinate system is calculated by the method described in Patent Document 1. Furthermore, this homogeneous transformation matrix is transformed into a homogeneous transformation matrix representing the position and orientation of the user coordinate system as seen from the base coordinate system by coordinate transformation. Since these calculations can be easily performed by a known calculation technique, detailed description is omitted.

(3.ユーザ座標系の選択)
作業者は設定したユーザ座標系CuでマニピュレータMをジョグ送りする場合、まず、ジョグ送りの際に基準となる座標系を選択する。座標系選択処理部7は、選択された座標系(ここではユーザ座標系Cu)をジョグ動作処理部9に通知する。
(3. Selection of user coordinate system)
When the operator jogs the manipulator M with the set user coordinate system Cu, first, the operator selects a reference coordinate system for jog feeding. The coordinate system selection processing unit 7 notifies the jog operation processing unit 9 of the selected coordinate system (here, the user coordinate system Cu).

(4.ユーザ座標系でのジョグ送り)
そして、ティーチペンダントTPの方向指示キー41A等によりジョグ送り操作が行われると、ジョグ動作処理部9は、ユーザ座標系Cuの軸方向に応じて溶接トーチTの先端を移動させるための演算を行い、演算結果を駆動指令部12に出力する。この結果、マニピュレータMが駆動制御されてジョグ送りが行われる。このとき、ワークWの位置姿勢が、ユーザ座標系Cuを設定したときから変化していたとしても、変化後のワークWの位置姿勢に応じてユーザ座標系Cuも追従している。したがって、従来技術のように、変化後のワークWの位置姿勢に応じてユーザ座標系を再設定する必要はない。この様子を図5を用いて説明する。
(4. Jog feed in user coordinate system)
When the jog feed operation is performed by the direction instruction key 41A or the like of the teach pendant TP, the jog operation processing unit 9 performs an operation for moving the tip of the welding torch T according to the axial direction of the user coordinate system Cu. The calculation result is output to the drive command unit 12. As a result, the manipulator M is driven and controlled to perform jog feed. At this time, even if the position and orientation of the workpiece W have changed since the user coordinate system Cu was set, the user coordinate system Cu follows the position and orientation of the workpiece W after the change. Therefore, unlike the prior art, there is no need to reset the user coordinate system according to the position and orientation of the workpiece W after the change. This will be described with reference to FIG.

図5は、ワークの位置姿勢が変化したときにユーザ座標系が追従する様子を説明するための図である。同図(a)は、ポジショナPに搭載されたワークWの形状に応じてユーザ座標系Cuが設定されている様子を示している。同図(b)は、同図(a)の状態からポジショナPが点線矢印Drの方向へと回転し、ワークWの角部を例示した位置Dが移動した様子を示している。本実施形態においては、ユーザ座標系Cuを定めるための特徴点E1、E2およびE3は、ワーク座標値で記憶されている。したがって、ポジショナPが回転することによってワークWの位置が同図(a)から同図(b)に変更されたときであっても、図示するように特徴点E1、E2およびE3も変更される。これは、ポジショナPが回転すればワーク座標系も回転し、ワーク座標値で記憶されている特徴点も移動するためである。この結果、特徴点E1、E2およびE3に基づいて算出されているユーザ座標系Cuの軸方向も変化することになる。すなわち、ワークWの形状に応じて設定されたユーザ座標系Cuは、ワークWの位置が変わったとしても、そのまま使用することができる。   FIG. 5 is a diagram for explaining how the user coordinate system follows when the position and orientation of the workpiece changes. FIG. 5A shows a state in which the user coordinate system Cu is set according to the shape of the workpiece W mounted on the positioner P. FIG. 7B shows a state in which the positioner P has rotated in the direction of the dotted arrow Dr from the state of FIG. In the present embodiment, the feature points E1, E2, and E3 for defining the user coordinate system Cu are stored as work coordinate values. Therefore, even when the position of the workpiece W is changed from the same figure (a) to the same figure (b) by the rotation of the positioner P, the feature points E1, E2 and E3 are also changed as shown in the figure. . This is because if the positioner P rotates, the workpiece coordinate system also rotates, and the feature points stored as workpiece coordinate values also move. As a result, the axial direction of the user coordinate system Cu calculated based on the feature points E1, E2, and E3 also changes. That is, the user coordinate system Cu set according to the shape of the workpiece W can be used as it is even if the position of the workpiece W changes.

以上説明したように、本発明によれば、ユーザ座標系Cuをワーク座標系を基準として記憶可能にしたことによって、ワークの設置位置や設置姿勢が変化したとしても、この変化に応じてユーザ座標系Cuも追従する。すなわち、マニピュレータに把持されたりポジショナPに搭載されたりしたワークWの設置位置や設置姿勢が変化する場合においても、ユーザ座標系Cuを再設定することなく、そのまま利用することができる。   As described above, according to the present invention, the user coordinate system Cu can be stored on the basis of the work coordinate system, so that even if the installation position or installation posture of the work is changed, the user coordinate system is changed according to the change. The system Cu also follows. That is, even when the installation position or installation posture of the workpiece W held by the manipulator or mounted on the positioner P changes, it can be used as it is without resetting the user coordinate system Cu.

1 インターフェース
2 キー入力監視部
3 教示処理部
5 ハードディスク
7 座標系選択処理部
8 座標系演算部
9 ジョグ動作処理部
10 ロボットシステム
11 解釈実行部
12 駆動指令部
13 溶接制御部
21 CPU
22 ROM
23 RAM
41 キーボード
41A 方向指示キー
43 表示部
60 ロボット制御システム
61 マニピュレータ
62 アーム
63 ティーチペンダント
64 方向指示キー
65 ロボット制御装置
Cb ベース座標系
Cd 特徴点データ
Cu ユーザ座標系
A 教示点
B 教示点
D 位置
Dr 点線矢印
E1 特徴点
E2 特徴点
E3 特徴点
K 作業経路
M マニピュレータ
P ポジショナ
RC ロボット制御装置
T 作業ツール(溶接トーチ)
Td 教示データ
TP ティーチペンダント
W ワーク
WP 溶接電源
DESCRIPTION OF SYMBOLS 1 Interface 2 Key input monitoring part 3 Teaching process part 5 Hard disk 7 Coordinate system selection process part 8 Coordinate system calculating part 9 Jog operation | movement process part 10 Robot system 11 Interpretation execution part 12 Drive command part 13 Welding control part 21 CPU
22 ROM
23 RAM
41 Keyboard 41A Direction indication key 43 Display unit 60 Robot control system 61 Manipulator 62 Arm 63 Teach pendant 64 Direction indication key 65 Robot controller Cb Base coordinate system Cd Feature point data Cu User coordinate system A Teaching point B Teaching point D Position Dr Dotted line Arrow E1 Feature point E2 Feature point E3 Feature point K Work path M Manipulator P Positioner RC Robot controller T Work tool (welding torch)
Td Teaching data TP Teach pendant W Work WP Welding power supply

Claims (4)

指定された複数の特徴点に基づいて所定の軸方向を有するユーザ座標系を設定し、ワークに対する教示の際に、操作手段からのジョグ操作信号に基づいてマニピュレータを前記ユーザ座標系に従ってジョグ送りするロボットの制御方法において、
前記複数の特徴点の座標値を、前記ワークの位置姿勢を基準とした座標系であるワーク座標系での座標値で記憶可能としたことを特徴とするロボットの制御方法。
A user coordinate system having a predetermined axial direction is set based on a plurality of designated feature points, and the manipulator is jog-fed according to the user coordinate system based on a jog operation signal from the operation means when teaching a workpiece. In the robot control method,
A robot control method characterized in that the coordinate values of the plurality of feature points can be stored as coordinate values in a workpiece coordinate system which is a coordinate system based on the position and orientation of the workpiece.
前記複数の特徴点の座標値は、少なくとも前記ワーク座標系を含む予め定めた複数の座標系の中から選択された、いずれか1つの座標系での座標値で記憶されることを特徴とする請求項1記載のロボットの制御方法。   The coordinate values of the plurality of feature points are stored as coordinate values in any one coordinate system selected from a plurality of predetermined coordinate systems including at least the workpiece coordinate system. The robot control method according to claim 1. 複数の特徴点を記憶する記憶手段と、前記複数の特徴点に基づいて所定の軸方向を有するユーザ座標系を設定する設定手段と、ワークに対する教示の際に、操作手段からの操作信号に基づいてマニピュレータを前記ユーザ座標系に従ってジョグ送りする制御手段とを備えたロボット制御装置において、
前記記憶手段は、前記複数の特徴点の座標値を、前記ワークの位置姿勢を基準とした座標系であるワーク座標系での座標値で記憶可能であることを特徴とするロボット制御装置。
Based on an operation signal from the operation means when teaching a workpiece, a storage means for storing a plurality of feature points, a setting means for setting a user coordinate system having a predetermined axial direction based on the plurality of feature points, A robot control device comprising a control means for jogging the manipulator according to the user coordinate system,
The robot control apparatus characterized in that the storage means can store the coordinate values of the plurality of feature points as coordinate values in a workpiece coordinate system which is a coordinate system based on the position and orientation of the workpiece.
前記複数の特徴点の座標値は、少なくとも前記ワーク座標系を含む予め定めた複数の座標系の中から選択された、いずれか1つの座標系での座標値で記憶されることを特徴とする請求項3記載のロボット制御装置。   The coordinate values of the plurality of feature points are stored as coordinate values in any one coordinate system selected from a plurality of predetermined coordinate systems including at least the workpiece coordinate system. The robot control device according to claim 3.
JP2010258670A 2010-11-19 2010-11-19 Method and device for controlling robot Pending JP2012106321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010258670A JP2012106321A (en) 2010-11-19 2010-11-19 Method and device for controlling robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010258670A JP2012106321A (en) 2010-11-19 2010-11-19 Method and device for controlling robot

Publications (1)

Publication Number Publication Date
JP2012106321A true JP2012106321A (en) 2012-06-07

Family

ID=46492525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010258670A Pending JP2012106321A (en) 2010-11-19 2010-11-19 Method and device for controlling robot

Country Status (1)

Country Link
JP (1) JP2012106321A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019093491A (en) * 2017-11-24 2019-06-20 ファナック株式会社 Teaching device for performing teaching operation of robot and teaching method
WO2023144892A1 (en) * 2022-01-25 2023-08-03 ファナック株式会社 Control device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06114767A (en) * 1992-09-29 1994-04-26 Kawasaki Heavy Ind Ltd Teaching method for industrial robot having rotary external shaft and teaching device using the method
JP2007115011A (en) * 2005-10-20 2007-05-10 Daihen Corp Control method of industrial robot
JP2007319970A (en) * 2006-05-31 2007-12-13 Daihen Corp Method of controlling location/position of tool of industrial robot, and control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06114767A (en) * 1992-09-29 1994-04-26 Kawasaki Heavy Ind Ltd Teaching method for industrial robot having rotary external shaft and teaching device using the method
JP2007115011A (en) * 2005-10-20 2007-05-10 Daihen Corp Control method of industrial robot
JP2007319970A (en) * 2006-05-31 2007-12-13 Daihen Corp Method of controlling location/position of tool of industrial robot, and control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019093491A (en) * 2017-11-24 2019-06-20 ファナック株式会社 Teaching device for performing teaching operation of robot and teaching method
US11173601B2 (en) 2017-11-24 2021-11-16 Fanuc Corporation Teaching device for performing robot teaching operations and teaching method
WO2023144892A1 (en) * 2022-01-25 2023-08-03 ファナック株式会社 Control device

Similar Documents

Publication Publication Date Title
JP5545534B2 (en) Robot teaching reproduction device, teaching reproducing method, and teaching data creation method
JP5176790B2 (en) Robot teaching reproducing apparatus and teaching reproducing method
JP5360237B2 (en) Robot system control method
JP4137927B2 (en) Robot programming device
JP4917252B2 (en) Arc welding equipment
JP5144035B2 (en) Industrial robot tool position / posture control method and control system
JP6168890B2 (en) Robot control device and teaching method of offset value in multi-layer welding robot
WO1986005010A1 (en) System for setting rectangular coordinates of workpiece for robots
JP2014217901A (en) Robot system
JP5011507B2 (en) Robot teaching system and robot teaching method
EP3263268B1 (en) Offline teaching device
JP2009066738A (en) Teaching device for robot
JP5601949B2 (en) Robot control system
US20210260750A1 (en) Method to Modify a Program for Robotic Welding
JP2012106321A (en) Method and device for controlling robot
JP2008217730A (en) Robot control device
JP5972027B2 (en) Robot controller
JP5971842B2 (en) Robot controller
JP5721167B2 (en) Robot controller
CN108475051B (en) Method and system for aligning a tool during programming of an industrial robot
JP2012088774A (en) Arc-welding robot control device
JP2011067895A (en) Fine adjustment method of robot tool position, and robot control system
JP5544275B2 (en) Robot controller
JP2014097560A (en) Robot controller
US20230226682A1 (en) Method for Teaching Torch Orientation for Robotic Welding

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131022

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140619

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140708

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150106