JP2012091304A - Teaching data making method and teaching data making device - Google Patents

Teaching data making method and teaching data making device Download PDF

Info

Publication number
JP2012091304A
JP2012091304A JP2010242956A JP2010242956A JP2012091304A JP 2012091304 A JP2012091304 A JP 2012091304A JP 2010242956 A JP2010242956 A JP 2010242956A JP 2010242956 A JP2010242956 A JP 2010242956A JP 2012091304 A JP2012091304 A JP 2012091304A
Authority
JP
Japan
Prior art keywords
work
teaching data
point
points
end effector
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
JP2010242956A
Other languages
Japanese (ja)
Inventor
Tetsuya Yoshino
哲弥 吉野
Shinji Aoki
伸二 青木
Akiya Kawasaki
暢也 川▲崎▼
Seishin Numano
正慎 沼野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2010242956A priority Critical patent/JP2012091304A/en
Publication of JP2012091304A publication Critical patent/JP2012091304A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)
  • Resistance Welding (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a teaching data making method and a teaching data making device of a multi-articulated robot capable of efficiently making teaching data of taking into consideration a characteristic of a predetermined manufacturing line to a new work worked by the manufacturing line.SOLUTION: This teaching data making method of the multi-articulated robot is provided for performing a work by an end effector at a plurality of respective work points set in the work, and is characterized by acquiring control data on respective attitudes of the end effector when the multi-articulated robot of a teaching data supply object works to the respective work points (Step S3), specifying a work point substantially coincident with the work point set in the work of a teaching data making object (Step S7), and making the teaching data based on the control data on the attitude of the end effector at the work point (Step S9).

Description

本発明は、ワークの各作業点におけるロボットの姿勢を含むティーチングデータを作成するティーチングデータ作成方法およびティーチングデータ作成装置に関する。   The present invention relates to a teaching data creation method and a teaching data creation device for creating teaching data including the posture of a robot at each work point of a workpiece.

一般に、製造ラインに設置された多関節ロボットのティーチング作業の効率化を図るため、あるいは、製造ラインの稼働率を向上させるために、オフラインによるティーチング(以下、オフラインティーチングという)が行われている。オフラインティーチングでは、コンピュータ上に多関節ロボット並びに作業対象物であるワーク及び周辺構造物のモデルを構築し、このモデルを用いてティーチングデータを作成した後、上記ティーチングデータを現場の多関節ロボットに供給することにより、製造ラインを停止させることなくティーチングデータを作成することができる。   In general, offline teaching (hereinafter referred to as offline teaching) is performed in order to increase the efficiency of teaching work of an articulated robot installed in a manufacturing line or to improve the operating rate of the manufacturing line. In offline teaching, a model of a multi-joint robot and workpieces and surrounding structures that are work objects is built on a computer, teaching data is created using this model, and then the above teaching data is supplied to the multi-joint robot on site. By doing so, teaching data can be created without stopping the production line.

しかし、1つの製造ライン上において上記多関節ロボットにより作業されるワークは1種類とは限らず、当該製造ライン上を流れるワークが変更された場合には、この変更に合わせた新たなティーチングデータを作成する必要があり、ティーチングデータの作成作業を行うオペレータの負担が大きい。
これを解消するために、既存のワークに対してすでに作成済みである既存のティーチングデータを、新規のワークに合わせて変換して新規のティーチングデータを作成する方法が提案されている(例えば、特許文献1参照)。具体的には、既存のティーチングデータがある場合に、変換先の作業点におけるエンドエフェクタの姿勢を示す複数のパラメータのうち1つを固定設定しておき、既存のティーチングデータにおける対応する作業点におけるエンドエフェクタの姿勢を固定設定した上記パラメータが一致するように変換している。このような技術によれば、既存のティーチングデータを有効に利用することができ、コンピュータの使用時間やオペレータの負担を軽減することができて好適である。
However, the number of workpieces that are operated by the articulated robot on one production line is not limited to one type. If the workpiece flowing on the production line is changed, new teaching data corresponding to the change is provided. It is necessary to create it, and the burden on the operator who creates teaching data is large.
In order to solve this problem, a method has been proposed in which existing teaching data already created for an existing workpiece is converted to a new workpiece to create new teaching data (for example, patents). Reference 1). Specifically, when there is existing teaching data, one of a plurality of parameters indicating the posture of the end effector at the conversion destination work point is fixedly set, and the corresponding work point in the existing teaching data is set. Conversion is performed so that the above-mentioned parameters in which the posture of the end effector is fixedly set match. According to such a technique, the existing teaching data can be used effectively, and the use time of the computer and the burden on the operator can be reduced.

特許4000306号公報Japanese Patent No. 4000306

しかしながら、新規のティーチングデータは、あくまで既存のティーチングデータを新規ワークの形状に合わせて変換して一様に作成されたものであるため、これらティーチングデータが供給される多関節ロボットが配置される製造ラインの特性を考慮したものとはなっていない。このため、多関節ロボットが配置される環境(例えばロボットの動作範囲に壁がある、または、チューブやケーブルが配置されている等)によっては、製造ラインごとに当該製造ラインの環境に合わせてティーチングデータを補正する必要があり、ティーチング作業が繁雑になるという問題がある。   However, since the new teaching data is created uniformly by converting existing teaching data according to the shape of the new workpiece, the production of the articulated robot to which these teaching data is supplied is arranged. The line characteristics are not taken into consideration. For this reason, depending on the environment in which the multi-joint robot is placed (for example, there is a wall in the robot movement range, or a tube or cable is placed), teaching is performed for each production line according to the environment of the production line. There is a problem that the data needs to be corrected and teaching work becomes complicated.

そこで、本発明は、上述した事情に鑑みてなされたものであり、所定の製造ラインで作業される新たなワークに対し、この製造ラインの特性を考慮したティーチングデータを効率的に作成することを可能にする多関節ロボットのティーチングデータ作成方法およびティーチングデータ作成装置を提供することを目的とする。   Therefore, the present invention has been made in view of the above-described circumstances, and efficiently creates teaching data in consideration of the characteristics of the manufacturing line for a new workpiece to be worked on a predetermined manufacturing line. An object of the present invention is to provide a teaching data creation method and teaching data creation device for an articulated robot.

上記目的を達成するために、本発明は、ワークに設定された複数の作業点のそれぞれでエンドエフェクタにより作業を行う多関節ロボットのティーチングデータ作成方法において、ティーチングデータ供給対象の前記多関節ロボットが前記作業点のそれぞれに対して作業するときのエンドエフェクタの各姿勢の制御データを取得し、前記制御データの中から、ティーチングデータ作成対象のワークに設定された作業点にほぼ一致する作業点を特定し、当該作業点での前記エンドエフェクタの姿勢の制御データに基づいて前記ティーチングデータを作成することを特徴とする。   In order to achieve the above object, the present invention provides a teaching data generation method for an articulated robot in which work is performed by an end effector at each of a plurality of work points set on a workpiece. The control data of each posture of the end effector when working on each of the work points is acquired, and a work point that substantially matches the work point set for the work for which teaching data is created is selected from the control data. The teaching data is created based on the control data of the posture of the end effector at the work point.

この構成によれば、多関節ロボットがワークに設定された複数の作業点のそれぞれに対して作業するときのエンドエフェクタの各姿勢の制御データを取得し、制御データの中から、新たなワークに設定された作業点にほぼ一致する作業点を特定し、当該作業点でのエンドエフェクタの姿勢の制御データに基づいてティーチングデータを作成するため、例えば、所定の製造ラインで量産実績のあるワークの作業点に対するエンドエフェクタの各姿勢の制御を、当該製造ラインで作業される新たなワークの作業点に反映することができ、この製造ラインの特性を考慮したティーチングデータを効率的に作成することができる。   According to this configuration, the control data of each posture of the end effector when the multi-joint robot works on each of the plurality of work points set on the work is acquired, and the new work is obtained from the control data. For example, in order to identify a work point that substantially matches the set work point and create teaching data based on the end effector attitude control data at the work point, The control of each posture of the end effector with respect to the work point can be reflected in the work point of a new workpiece to be worked on the production line, and teaching data considering the characteristics of the production line can be created efficiently. it can.

この構成において、本発明は、前記多関節ロボットの前記作業点のそれぞれでの実動作時間を取得し、前記ティーチングデータ作成対象のワークに設定された作業点にほぼ一致する作業点での実動作時間に基づいてサイクルタイムを計算することを特徴とする。この構成によれば、所定の製造ラインで量産実績のあるワークに即したサイクルタイムを算出することができる。   In this configuration, the present invention acquires an actual operation time at each of the work points of the articulated robot, and an actual operation at a work point that substantially matches the work point set for the work for which the teaching data is to be created. The cycle time is calculated based on the time. According to this configuration, it is possible to calculate a cycle time in accordance with a work having a mass production record in a predetermined production line.

さらに、前記実動作時間は、作業点の違いにかかわらず一定となる固定時間と、作業点及び作業種別ごとに異なる可変時間とを含み、当該可変時間を各作業点ごとに加算した値に基づいて前記サイクルタイムを計算することを特徴とする。この構成によれば、より正確なサイクルタイムを算出することができる。   Further, the actual operation time includes a fixed time that is constant regardless of differences in work points, and a variable time that differs for each work point and work type, and is based on a value obtained by adding the variable time for each work point. And calculating the cycle time. According to this configuration, a more accurate cycle time can be calculated.

また、異なる製造ラインに設置されて同一ワークを加工する各多関節ロボットのそれぞれから前記制御データを取得し、各多関節ロボットについて前記ティーチングデータを作成し供給することを特徴とする。本構成によれば、製造ラインごとにティーチングデータを補正する必要がなくなるため、この補正作業を行う者の技量にかかわらず画一的なティーチングデータを作成することができる。   Further, the control data is acquired from each of the multi-joint robots installed on different production lines and machining the same workpiece, and the teaching data is generated and supplied for each multi-joint robot. According to this configuration, it is not necessary to correct the teaching data for each production line, so uniform teaching data can be created regardless of the skill of the person who performs this correction work.

また、本発明は、ワークに設定された複数の作業点のそれぞれでエンドエフェクタにより作業を行う多関節ロボットのティーチングデータ作成装置において、ティーチングデータ供給対象の前記多関節ロボットが前記作業点のそれぞれに対して作業するときのエンドエフェクタの各姿勢の制御データを取得する取得手段と、前記制御データの中から、ティーチングデータ作成対象のワークに設定された作業点にほぼ一致する作業点を特定するマッチング手段と、前記作業点での前記エンドエフェクタの姿勢の制御データに基づいて前記ティーチングデータを作成するデータ作成手段とを備えたことを特徴とする。   Further, the present invention provides a teaching data creation device for an articulated robot that performs work by an end effector at each of a plurality of work points set on a workpiece, wherein the articulated robot to which teaching data is supplied is assigned to each of the work points. The acquisition means for acquiring the control data of each posture of the end effector when working on the matching, and the matching for identifying the work point that substantially matches the work point set for the work for which teaching data is to be created from the control data And a data creation means for creating the teaching data based on control data of the attitude of the end effector at the work point.

本発明によれば、ティーチングデータ作成対象のワーク多関節ロボットがワークに設定された複数の作業点のそれぞれに対して作業するときのエンドエフェクタの各姿勢の制御データを取得し、制御データの中から、新たなワークに設定された作業点にほぼ一致する作業点を特定し、当該作業点でのエンドエフェクタの姿勢の制御データに基づいてティーチングデータを作成するため、例えば、所定の製造ラインで量産実績のあるワークの作業点に対するエンドエフェクタの各姿勢の制御を、当該製造ラインで作業される新たなワークの作業点に反映することができ、この製造ラインの特性を考慮したティーチングデータを効率的に作成することができる。
また、本発明によれば、前記多関節ロボットの前記作業点のそれぞれでの実動作時間を取得し、前記ティーチングデータ作成対象のワークに設定された作業点にほぼ一致する作業点での実動作時間に基づいてサイクルタイムを計算するため、所定の製造ラインで量産実績のあるワークに即したサイクルタイムを算出することができる。
また、本発明によれば、前記実動作時間は、作業点の違いにかかわらず一定となる固定時間と、作業点及び作業種別ごとに異なる可変時間とを含み、当該可変時間を各作業点ごとに加算した値に基づいて前記サイクルタイムを計算するため、より正確なサイクルタイムを算出することができる。
また、本発明によれば、異なる製造ラインに設置されて同一ワークを加工する各多関節ロボットのそれぞれから前記制御データを取得し、各多関節ロボットについて前記ティーチングデータを作成し供給するため、製造ラインごとにティーチングデータを補正する必要がなくなることにより、この補正作業を行う者の技量にかかわらず画一的なティーチングデータを作成することができる。
According to the present invention, the control data for each posture of the end effector when the work multi-joint robot for which teaching data is to be created works on each of a plurality of work points set on the work is obtained. For example, in order to identify a work point that substantially matches the work point set for the new workpiece and create teaching data based on the end effector attitude control data at the work point. The control of each end effector's posture with respect to the work point of a workpiece that has a track record of mass production can be reflected in the work point of a new workpiece that is being worked on the production line, and teaching data that takes into account the characteristics of this production line can be efficiently used. Can be created.
Further, according to the present invention, an actual operation time at each of the work points of the articulated robot is acquired, and an actual operation at a work point that substantially matches the work point set for the work for which the teaching data is to be created. Since the cycle time is calculated based on the time, it is possible to calculate the cycle time according to the work having a mass production record in a predetermined production line.
Further, according to the present invention, the actual operation time includes a fixed time that is constant regardless of a difference in work points, and a variable time that is different for each work point and work type, and the variable time is set for each work point. Since the cycle time is calculated based on the value added to, more accurate cycle time can be calculated.
Further, according to the present invention, the control data is acquired from each of the multi-joint robots installed on different production lines and machining the same workpiece, and the teaching data is created and supplied for each multi-joint robot. By eliminating the need to correct the teaching data for each line, uniform teaching data can be created regardless of the skill of the person performing this correction work.

本実施の形態の多関節ロボットのオフラインティーチング装置を示す斜視図である。It is a perspective view which shows the offline teaching apparatus of the articulated robot of this Embodiment. 車両の製造ライン及びロボットシステムの斜視図である。1 is a perspective view of a vehicle production line and a robot system. オフラインティーチング装置のブロック構成図である。It is a block block diagram of an offline teaching apparatus. ティーチングデータの作成手順を示すフローチャートである。It is a flowchart which shows the preparation procedure of teaching data. 既存のドア枠に設定された作業点を示す模式図である。It is a schematic diagram which shows the work point set to the existing door frame. 実際の作業点と図面上の作業点とのマッチング手順を説明する図である。It is a figure explaining the matching procedure of an actual work point and the work point on drawing. 実際の作業点に対する制御データを示すテーブルである。It is a table which shows the control data with respect to an actual work point. ティーチングデータを作成する対象となる新規なドア枠に設定された作業点を示す模式図である。It is a schematic diagram which shows the work point set to the new door frame used as the object which produces teaching data. 新規なドア枠と参考のドア枠とのマッチング処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the matching processing procedure of a new door frame and a reference door frame. 参考のドア枠に設定された作業点の制御データから新規なドア枠に設定された作業点の制御データへの変換を示す模式図である。It is a schematic diagram which shows conversion from the control data of the work point set to the reference door frame to the control data of the work point set to the new door frame. 参考のドア枠に設定された作業点の制御データから新規なドア枠に設定された作業点の制御データに変換する様子を示す模式斜視図である。It is a model perspective view which shows a mode that it converts into control data of the work point set to the new door frame from the control data of the work point set to the reference door frame. 既存のドア枠に設定された作業点の制御データと、新規なドア枠に設定された作業点の制御データとのマッチング処理を示す模式図である。It is a schematic diagram which shows the matching process with the control data of the work point set to the existing door frame, and the control data of the work point set to the new door frame. 新規なドア枠に設定された作業点の制御データを示すテーブルである。It is a table which shows the control data of the work point set to the new door frame. ロボットのサイクルタイムの見積もり動作を示す模式図である。It is a schematic diagram which shows the estimation operation | movement of the cycle time of a robot.

以下、図面を参照して本発明の一実施の形態について説明する。
図1は、本実施の形態の多関節ロボットのティーチングデータ作成方法が適用されるオフラインティーチング装置10と、このオフラインティーチング装置10によって作成されたティーチングデータが適用される多関節ロボット12の構成を示す。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 shows a configuration of an offline teaching device 10 to which the teaching data creation method for an articulated robot according to the present embodiment is applied, and an articulated robot 12 to which teaching data created by the offline teaching device 10 is applied. .

多関節ロボット12は、産業用の多関節型のロボットであり、ベース部14と、該ベース部14を基準にして順に、第1アーム16、第2アーム18及び第3アーム20とを有し、該第3アーム20の先端に溶接ガンであるエンドエフェクタ22が設けられている。エンドエフェクタ22は、第3アーム20に対して着脱自在である。第1アーム16はベース部14に対して水平及び垂直に回動可能な軸J1、J2によって回動可能である。第2アーム18は第1アーム16と軸J3で回動可能に連結されている。第2アーム18は軸J4によって捻れ回転が可能になっている。第3アーム20は第2アーム18と軸J5で回動可能に連結されている。第3アーム20は軸J6によって捻れ回転が可能になっている。軸J4及び軸J6はそれぞれ360°以上の捻れ回動が可能である。   The articulated robot 12 is an industrial articulated robot, and includes a base portion 14, and a first arm 16, a second arm 18, and a third arm 20 in this order based on the base portion 14. An end effector 22 which is a welding gun is provided at the tip of the third arm 20. The end effector 22 is detachable from the third arm 20. The first arm 16 can be rotated by axes J1 and J2 that can rotate horizontally and vertically with respect to the base portion 14. The second arm 18 is connected to the first arm 16 so as to be rotatable about the axis J3. The second arm 18 can be twisted and rotated by the axis J4. The third arm 20 is connected to the second arm 18 so as to be rotatable about an axis J5. The third arm 20 can be twisted and rotated by the axis J6. Each of the shaft J4 and the shaft J6 can be twisted and rotated by 360 ° or more.

エンドエフェクタ22は、軸線L上に開閉する一対の電極22a、22bを有するC型溶接ガンであり、この電極22a、22bは閉状態では軸線L上の作業点(溶接点、打点、TCP(Tool Center Point))でワークに接触する。作業点から本体側の電極22a、22bの軸心に一致する方向をパラメータZとし、このパラメータZに直交しエンドエフェクタ22であるC形溶接ガンの開口部方向をパラメータXとする。また、パラメータX、パラメータZに互いに直交する方向をパラメータYとする。   The end effector 22 is a C-type welding gun having a pair of electrodes 22a and 22b that open and close on the axis L. When the electrodes 22a and 22b are closed, the work points on the axis L (welding points, striking points, TCP (Tool Center Point)) to contact the workpiece. A direction that coincides with the axis of the electrodes 22a and 22b on the main body side from the working point is set as a parameter Z, and an opening direction of the C-shaped welding gun that is orthogonal to the parameter Z and is the end effector 22 is set as a parameter X. Further, a direction perpendicular to the parameters X and Z is defined as a parameter Y.

軸J1〜J6の駆動機構並びに電極22a、22bの開閉機構はそれぞれ図示しないアクチュエータにより駆動され、作業点の座標は軸J1〜J6の回動角度及び多関節ロボット12の各部の寸法により決定される。   The driving mechanism for the axes J1 to J6 and the opening / closing mechanism for the electrodes 22a and 22b are each driven by an actuator (not shown), and the coordinates of the work point are determined by the rotation angle of the axes J1 to J6 and the dimensions of each part of the articulated robot 12. .

このような6軸構成の多関節ロボット12の動作によって、先端部に接続されたエンドエフェクタ22は搬送される車両の近傍における任意の位置に移動可能であって、且つ、任意の向きに設定可能である。換言すれば、エンドエフェクタ22は6自由度の移動が可能である。多関節ロボット12は、回転動作以外にも伸縮動作、平行リンク動作等の動作部を有するものであってもよい。多関節ロボット12は、ロボット制御部24に設定されたティーチングデータに従って動作する。   By the operation of the articulated robot 12 having such a six-axis configuration, the end effector 22 connected to the tip can be moved to an arbitrary position in the vicinity of the vehicle being transported and can be set in an arbitrary direction. It is. In other words, the end effector 22 can move with six degrees of freedom. The articulated robot 12 may have an operation unit such as an expansion / contraction operation and a parallel link operation in addition to the rotation operation. The articulated robot 12 operates according to teaching data set in the robot control unit 24.

図2に示すように、多関節ロボット12は、車両の製造ライン25の近傍に隣接して2台が配設されており、それぞれロボット制御部24の作用下に同時に動作し、ワークである車両の溶接をする。この場合、例えば、各多関節ロボット12,12は、互いに干渉しない範囲内で協同して車両の前列側及び後列側のドア枠102を溶接するように作業分担されている。この2台の多関節ロボット12の配列方向Cは、製造ライン25の搬送方向と並列に設定されているが、多関節ロボット12やワークの仕様によって配列方向Cは、搬送方向に対して非平行に設定される場合もある。例えば、天井つり下げ型のロボットを2台用いて溶接をする場合には、搬送方向と直角に配列する場合もある。   As shown in FIG. 2, two articulated robots 12 are arranged adjacent to each other in the vicinity of the vehicle production line 25, and operate simultaneously under the action of the robot control unit 24. Welding. In this case, for example, the articulated robots 12 and 12 are assigned to work in such a manner that the door frames 102 on the front row side and the rear row side of the vehicle are welded together in a range where they do not interfere with each other. The arrangement direction C of the two articulated robots 12 is set in parallel with the conveyance direction of the production line 25, but the arrangement direction C is not parallel to the conveyance direction depending on the specifications of the articulated robot 12 and the workpiece. It may be set to. For example, when welding is performed using two ceiling-suspended robots, they may be arranged at right angles to the conveying direction.

オフラインティーチング装置10は、コンピュータによって構成されるものであり、図3に示すように、制御部26は、オフラインティーチング装置10の全体の制御を行うCPU28と、記録部であるROM30及びRAM32と、ハードディスクドライブ(HDD)34によってデータが読み書きされるハードディスク36と、フレキシブルディスクやコンパクトディスク等の外部記録媒体38に対してティーチングデータ等の読み書きを行う記録媒体ドライブ40と、多関節ロボット12のティーチングデータを作成するティーチングデータ作成回路(データ作成手段)42と、作成されたティーチングデータに基づいて多関節ロボット12の動作シミュレーションを行うシミュレーション回路44とを備える。
なお、制御部26には、オペレータによるティーチング作業の補助、シミュレーション画像の表示等を行うためのディスプレイ46が描画制御回路48を介して接続されるとともに、インタフェース50を介して入力装置としてのキーボード52及びマウス54が接続される。
The offline teaching device 10 is configured by a computer. As shown in FIG. 3, the control unit 26 includes a CPU 28 that controls the entire offline teaching device 10, a ROM 30 and a RAM 32 that are recording units, and a hard disk. The hard disk 36 from / to which data is read / written by a drive (HDD) 34, the recording medium drive 40 for reading / writing teaching data etc. to / from an external recording medium 38 such as a flexible disk or compact disk, and the teaching data of the articulated robot 12 A teaching data creating circuit (data creating means) 42 to be created and a simulation circuit 44 for performing an operation simulation of the articulated robot 12 based on the created teaching data are provided.
A display 46 for assisting teaching work by an operator, displaying a simulation image, and the like is connected to the control unit 26 via a drawing control circuit 48 and a keyboard 52 as an input device via an interface 50. And a mouse 54 are connected.

ハードディスク36には、多関節ロボット12のティーチングデータを作成するためのティーチングデータ作成プログラム56と、多関節ロボット12、作業対象物及びその他の設備に係る形状データ58と、多関節ロボット12の各軸の動作仕様を含むロボット仕様データ60と、上記した製造ライン25を流れる既存の車両(ワーク)に設定された作業点に対して、多関節ロボット12が作業する場合にエンドエフェクタ22のそれぞれの姿勢を示す制御データが格納されたデータベース62とが記録される。
このデータベース62には、既存の車両(ワーク)ごとに当該ワークに設定された各作業点に対応するエンドエフェクタ22の姿勢を示す制御データがそれぞれ格納されている。ここで、エンドエフェクタ22の姿勢を示す制御データとは、各作業点における多関節ロボット12の各軸J1〜J6の回動角度、および、エンドエフェクタ22及び作業点の向きを3次元的に規定するパラメータX、Y、Zの向きをいう。
また、本実施形態では、CPU28は、上記したデータベース62から作業点に対応するエンドエフェクタ22の姿勢を示す制御データを取得する取得手段として機能する。さらに、CPU28は、新規な車両について新規のティーチングデータを作成する際に、取得した制御データの中から当該新規な車両の作業点と略一致する作業点を特定するマッチング手段としても機能する。ここで、略一致するとは、各作業点が完全に一致する場合の他、所定の閾値内に近接配置されるものを含む。
なお、本実施形態では、制御部26が上述した各回路を備える構成としたが、これら各回路の機能を、コンピュータプログラムによりコンピュータに実行させる構成としても良い。
In the hard disk 36, a teaching data creation program 56 for creating teaching data for the articulated robot 12, shape data 58 relating to the articulated robot 12, work objects and other equipment, and each axis of the articulated robot 12 are stored. The postures of the end effector 22 when the multi-joint robot 12 is working with respect to the robot specification data 60 including the operation specifications of the robot and the work points set on the existing vehicle (work) flowing through the manufacturing line 25 described above. Is stored in the database 62 in which the control data indicating is stored.
The database 62 stores control data indicating the posture of the end effector 22 corresponding to each work point set for the work for each existing vehicle (work). Here, the control data indicating the posture of the end effector 22 three-dimensionally defines the rotation angle of each axis J1 to J6 of the articulated robot 12 at each work point and the orientation of the end effector 22 and the work point. The direction of parameters X, Y, and Z to be performed.
In the present embodiment, the CPU 28 functions as an acquisition unit that acquires control data indicating the attitude of the end effector 22 corresponding to the work point from the database 62 described above. Furthermore, when creating new teaching data for a new vehicle, the CPU 28 also functions as a matching means for identifying a work point that substantially matches the work point of the new vehicle from the acquired control data. Here, “substantially match” includes not only a case where the respective work points are completely matched but also a case where the work points are arranged close to each other within a predetermined threshold.
In the present embodiment, the control unit 26 includes the circuits described above. However, the function of each circuit may be executed by a computer using a computer program.

次に、新規なワークについて多関節ロボット12が溶接を行う場合、このワークに対応するティーチングデータを作成する手順について説明する。一般に、ティーチングデータは、ワークに対する多関節ロボットの作業点及び作業順を設定し、各作業点におけるロボット姿勢及びエンドエフェクタの向き(姿勢)を求め、各作業点でのワークに対する作業内容を作業属性として設定するとともに作業点間の動作方法を動作属性として設定するという作業を要する。
この場合、既存のワークに対する既存のティーチングデータを利用して新規のワークに対応する新規のティーチングデータを作成する手法があるが、この手法は、多関節ロボット12が配置される製造ライン25の特性を考慮したものとはなっていない。このため、多関節ロボット12が配置される環境(例えばロボットの動作範囲に壁がある、または、チューブやケーブルが配置されている等)によっては、作業点においてロボットの各アームやエンドエフェクタ22が干渉するおそれがある。従って、製造ライン25ごとに当該製造ライン25の環境に合わせて、各作業点におけるロボット姿勢及びエンドエフェクタの姿勢を別途補正する必要が生じ、ティーチング作業が繁雑になるという問題がある。
本実施形態では、実際に製造ライン25で量産実績のある既存のワークに設定された作業点に対するエンドエフェクタの向き(姿勢)を、新規ワークに設定された作業点であって、上記既存ワークの作業点と略一致する位置に設けられた作業点に対して反映させることで、当該製造ライン25の特性を考慮したティーチングデータを容易に作成することができる。
Next, when the articulated robot 12 performs welding on a new workpiece, a procedure for creating teaching data corresponding to the workpiece will be described. In general, teaching data sets the work point and work order of an articulated robot with respect to a work, determines the robot posture and end effector orientation (posture) at each work point, and specifies the work content for the work at each work point as work attributes. And an operation method between operation points is set as an operation attribute.
In this case, there is a method of creating new teaching data corresponding to a new workpiece by using existing teaching data for the existing workpiece. This method is a characteristic of the production line 25 in which the articulated robot 12 is arranged. Is not considered. For this reason, depending on the environment in which the articulated robot 12 is arranged (for example, there is a wall in the movement range of the robot, or a tube or a cable is arranged), the robot arm or end effector 22 may be There is a risk of interference. Therefore, it is necessary to separately correct the robot posture and the end effector posture at each work point in accordance with the environment of the production line 25 for each production line 25, and there is a problem that teaching work becomes complicated.
In the present embodiment, the orientation (posture) of the end effector with respect to the work point set for an existing work that has actually been mass-produced in the production line 25 is the work point set for the new work, By reflecting on the work point provided at a position substantially coincident with the work point, teaching data in consideration of the characteristics of the production line 25 can be easily created.

図4は、新規なワークに対するティーチングデータの作成手順を示すフローチャートである。
ティーチングデータを作成するに先立って、まず、CPU28は、既存機種(ワーク)に対する多関節ロボット12のジョブデータ(JOB)を取得する(ステップS1)。このジョブデータとは、多関節ロボット12が既存のワークに設定された作業点に対して溶接作業を行う際の制御データをいい、具体的には、各作業点の打順(溶接順番)、各作業点の位置、各作業点におけるエンドエフェクタ22の姿勢(面直角度)を含む。この制御データは、多関節ロボットごとに取得される。
図5は、既存のワークの一例である車両のドア枠100に設定された作業点(溶接点、打点)P1〜P7を示す図である。このドア枠100については、作業基準点Oを始点及び終点とし、7つの作業点P1〜P7に対して順に溶接を行う。最初の作業点P1に到達する前に、作業点P1に到達しやすいような姿勢を示す仮の作業点T01を経由する。また、最後の作業点P7の後に、エンドエフェクタ22を抜取りやすいような姿勢を示す仮の作業点T02を経由する。さらに、仮の作業点T02から作業基準点Oに戻りやすいように仮の作業点T03を経由する。
FIG. 4 is a flowchart showing a procedure for creating teaching data for a new workpiece.
Prior to creating teaching data, the CPU 28 first acquires job data (JOB) of the articulated robot 12 for an existing model (work) (step S1). The job data refers to control data when the articulated robot 12 performs a welding operation on a work point set on an existing workpiece. Specifically, each job point has a hitting order (welding order), It includes the position of the work point and the attitude (surface perpendicularity) of the end effector 22 at each work point. This control data is acquired for each articulated robot.
FIG. 5 is a diagram illustrating work points (welding points, hit points) P1 to P7 set on a door frame 100 of a vehicle which is an example of an existing workpiece. The door frame 100 is welded sequentially to the seven work points P1 to P7 with the work reference point O as the start point and the end point. Before reaching the first work point P1, it passes through a temporary work point T01 indicating a posture that makes it easy to reach the work point P1. In addition, after the last work point P7, a temporary work point T02 indicating a posture in which the end effector 22 can be easily pulled out is passed. Further, it passes through the temporary work point T03 so that the temporary work point T02 can easily return to the work reference point O.

次に、CPU28は、ドア枠100に設定された作業点P1〜P7位置と、このドア枠100の設計図面上の作業点位置とをマッチング(ステップS2)させることにより、各作業点P1〜P7の位置関係を整理する。
このマッチング作業は、例えば、図6に示すような手法で行われる。具体的には、図6Aに示すように、既存ワーク(実機)から取得した作業点(打点)と、図面上の作業点(打点)位置とをコンピュータ上に取り込み、これらを同一の画面上に表示する。次に、図6Bに示すように、CPU28は、所定距離(例えば、200mm)内に存在する実機の打点1〜3同士をグルーピングし、これらグルーピング化した上所定の閾値(例えば、各打点から100mm以内)を設定(図6C)して、この閾値内の打点群を抽出する(図6D)。
次に、CPU28は、上記のようにグルーピング化された打点グループ(打点群)の中で、打順(打点番号)が一番小さいものを基準に打点位置及び面直角度と比較する。具体的には、図6Eに示すように、CPU28は、各打点1〜3をグルーピング化したまま、打点1と近接する図面上の打点とがそれぞれ一致するように、打点グループを画面上で移動して補正させ、他の打点2、3を図面上の打点と比較する。
この場合、CPU28は、図6F〜Hに示すように、補正候補の数分、打点グループを移動し、それぞれについて近似打点との差分を比較する。そして、各打点グループの打点位置平均を算出し、このバラツキ及び直距離差分の小さな打点グループを同一の打点グループとして、これらに既存ワーク(実機)から取得した制御データを継承する。
Next, the CPU 28 matches the work points P1 to P7 set on the door frame 100 with the work points on the design drawing of the door frame 100 (step S2), thereby making the work points P1 to P7. Organize the positional relationship.
This matching operation is performed by a method as shown in FIG. 6, for example. Specifically, as shown in FIG. 6A, the work points (spot points) acquired from the existing workpiece (actual machine) and the work point (spot points) positions on the drawing are captured on the computer, and these are displayed on the same screen. indicate. Next, as shown in FIG. 6B, the CPU 28 groups the hit points 1 to 3 of the actual machine existing within a predetermined distance (for example, 200 mm), and groups them into a predetermined threshold value (for example, 100 mm from each hit point). (Within) is set (FIG. 6C), and a hit point group within this threshold is extracted (FIG. 6D).
Next, the CPU 28 compares the striking position and the perpendicularity with respect to the striking position (striking point number) having the smallest striking order (striking number) among the striking point groups (striking point group) grouped as described above. Specifically, as shown in FIG. 6E, the CPU 28 moves the hit point group on the screen so that the hit points 1 and the adjacent hit points on the drawing coincide with each other while the hit points 1 to 3 are grouped. The other dots 2, 3 are compared with the dots on the drawing.
In this case, as shown in FIGS. 6F to H, the CPU 28 moves the hit point group by the number of correction candidates, and compares the difference with the approximate hit point for each. Then, the hit point position average of each hit point group is calculated, and the hit point group having the small variation and the direct distance difference is set as the same hit point group, and the control data acquired from the existing workpiece (actual machine) is inherited to them.

次に、CPU28は、マッチングにより整理された作業点(実機打点)P1〜P7の制御データを上記したデータベース62に登録する(ステップS3)。具体的には、データベース62には、図7に示すように、既存のワークとしてのドア枠100と対応づけて、「順番」、「番号」、「エンドエフェクタの向き」、「各軸角度」が登録される。「順番」の欄は、溶接作業を行う際に多関節ロボット12のエンドエフェクタ22の作業点を順番に登録したものであり、「番号」の欄には、打点としての作業点P1〜P7、及び、溶接を効率良く行うためにエンドエフェクタ22の姿勢を変更するための作業点T01〜T03が登録されている。「エンドエフェクタの向き」欄は、エンドエフェクタ22の姿勢を示す座標、つまりツール座標データであり、上記のパラメータX、Y、Zが記録されている。「各軸角度」欄は回転角θ1〜θ6から構成されており、それぞれの回転角θ1〜θ6は、各軸J1〜J6の回転角を示している。
また、1つのワークに対して2台の多関節ロボット12,12により協同して溶接作業を行う場合には、各作業点のおける「エンドエフェクタの向き」、「各軸角度」がどちらの多関節ロボットのものかを登録し、作業点をロボットごとに配分するようにしてもよい。
本実施形態では、既存のワークとしてドア枠100の作業点における制御データをデータベース62に登録する場合を説明したが、これら制御データはより多く登録されていることが望ましい。このため、データベース62には、製造ライン25にて量産の実績のある複数のワーク(例えば、形状の異なる他のドア枠、車両のフロント部分、リア部分など)に関する制御データが登録されている。これらステップS1〜S3が本構成でティーチングデータを作成するにあたり前処理として行われる手順である。
Next, the CPU 28 registers the control data of the work points (actual machine hit points) P1 to P7 arranged by matching in the database 62 described above (step S3). Specifically, as shown in FIG. 7, the database 62 is associated with the door frame 100 as an existing work, and “order”, “number”, “direction of end effector”, “each axis angle”. Is registered. The “order” column is a list in which the work points of the end effector 22 of the articulated robot 12 are registered in order when performing the welding work. The “number” column has work points P1 to P7 as hit points. In addition, work points T01 to T03 for changing the posture of the end effector 22 in order to perform welding efficiently are registered. The “end effector orientation” column is coordinates indicating the attitude of the end effector 22, that is, tool coordinate data, and the parameters X, Y, and Z are recorded therein. The “each axis angle” column includes rotation angles θ1 to θ6, and each rotation angle θ1 to θ6 indicates the rotation angle of each axis J1 to J6.
In addition, when performing welding work in cooperation with one multi-joint robot 12, 12 on one work, whichever “end effector direction” and “each axis angle” at each work point, It is also possible to register whether the robot is an articulated robot and distribute work points for each robot.
In the present embodiment, a case has been described in which control data at the work point of the door frame 100 is registered in the database 62 as an existing work, but it is desirable that more control data is registered. For this reason, in the database 62, control data relating to a plurality of works (for example, other door frames having different shapes, a front part, a rear part, etc.) having a record of mass production in the production line 25 are registered. These steps S1 to S3 are procedures performed as pre-processing in creating teaching data in this configuration.

次に、CPU28は、ティーチングデータが作成されるワークであるドア枠102について溶接点(作業点)情報をリスト化する(ステップS4)。この溶接点情報は、図8に示すように、ドア枠102に対して予め設定されており、このドア枠102に設定される作業点(溶接点)Q1〜Q9について、各作業点Q1〜Q9の位置情報及び面直角度が設定されている。このため、ドア枠102に対するティーチングデータを作成するためには、各作業点Q1〜Q9における多関節ロボット12の姿勢及びエンドエフェクタ22の向き(姿勢)を求め、各作業点間の動作方法を動作属性として設定すれば良い。
次に、各作業点における多関節ロボット12の姿勢及びエンドエフェクタ22の向き(姿勢)を求めるために、CPU28は、上記リスト化された溶接点情報と参考機種の溶接点情報とのマッチング処理を行う(ステップS5)。ここで、参考機種とは、ドア枠102と似た形状のワークとしてのドア枠104(図10)をいい、このドア枠104に設定される作業点R1〜R7における制御データ(「順番」、「番号」、「エンドエフェクタの向き」、及び、「各軸角度」)が設定されているものである。これら作業点R1〜R7は、ドア枠102の作業点Q1〜Q9に対して位置及び数が異なるが、ドア枠部に対する作業点であるという点、及び、下方から上方へ向かって順に溶接を行うという点で共通している。
Next, the CPU 28 lists welding point (work point) information for the door frame 102, which is a work for which teaching data is created (step S4). As shown in FIG. 8, the welding point information is set in advance for the door frame 102. For the work points (welding points) Q1 to Q9 set on the door frame 102, the work points Q1 to Q9 are set. Position information and surface perpendicularity are set. Therefore, in order to create teaching data for the door frame 102, the posture of the articulated robot 12 and the orientation (posture) of the end effector 22 at each work point Q1 to Q9 are obtained, and the operation method between the work points is operated. It can be set as an attribute.
Next, in order to obtain the posture of the multi-joint robot 12 and the orientation (posture) of the end effector 22 at each work point, the CPU 28 performs a matching process between the welding point information listed above and the welding point information of the reference model. This is performed (step S5). Here, the reference model refers to the door frame 104 (FIG. 10) as a work having a shape similar to the door frame 102, and control data (“sequence”, “work order” at work points R <b> 1 to R <b> 7 set on the door frame 104. “Number”, “End effector orientation”, and “Axis angles”) are set. Although these work points R1 to R7 are different in position and number from the work points Q1 to Q9 of the door frame 102, the work points R1 to R7 are the work points for the door frame part, and welding is performed sequentially from the bottom to the top. It is common in the point.

マッチング処理手順として、CPU28は、図9に示すように、ドア枠104の作業点(溶接点)R1〜R7における制御データのうち、「エンドエフェクタの向き」に関する制御データを、リスト化されたドア枠102の作業点Q1〜Q7における「エンドエフェクタの向き」欄に複写して回転変換する(ステップS21)。つまり、作業点R1のデータを作業点Q1に複写する場合(図11)、この作業点R1におけるパラメータXR1、YR1、ZR1を作業点Q1に平行に移動させた後、パラメータZR1を予め設定されているパラメータZQ1に合うように回転変換する。このとき、パラメータXR1及びYR1も同様に回転変換されることによりパラメータXQ1及びYQ1に変換される。また、図10に示すように、作業点Q2〜Q7についても同様に作業点R2〜R7のデータを複写して回転変換する。   As a matching processing procedure, as shown in FIG. 9, the CPU 28 lists the control data related to the “direction of the end effector” among the control data at the work points (welding points) R <b> 1 to R <b> 7 of the door frame 104. A copy is made in the “End Effector Orientation” column at the work points Q1 to Q7 of the frame 102, and rotation conversion is performed (step S21). That is, when the data of the work point R1 is copied to the work point Q1 (FIG. 11), after the parameters XR1, YR1, and ZR1 at the work point R1 are moved in parallel to the work point Q1, the parameter ZR1 is set in advance. The rotation conversion is performed so as to match the existing parameter ZQ1. At this time, the parameters XR1 and YR1 are also converted to parameters XQ1 and YQ1 by being similarly rotationally converted. Further, as shown in FIG. 10, the data of the work points R2 to R7 are similarly copied and rotated for the work points Q2 to Q7.

次に、ドア枠104の作業点(溶接点)R1〜R7における制御データに軸の回転情報が含まれていれば、その回転情報を複写する(ステップS22)。この回転情報は、例えば、軸J4及び軸J6のように360°以上回転可能な軸では、軸J4の回転角θ4が見かけ上240°の角度を示している場合であっても、この角度が、基準位置(0°)から240°回転した位置なのか、そこから更に1回転した位置なのかが分からなくなる。このため、360°以上回転した場合には、例えばフラグを立てるなどにより、回転情報を付加することにより、多関節ロボット12のケーブルが捻れることを防ぐとともに、各作業点間において、軸J4及び軸J6が過大に回転することを防止することができる。
次に、作業点Q1〜Q7における「エンドエフェクタの向き」に関する制御データおよび各作業点Q1〜Q7の位置情報に基づき、多関節ロボット12の各軸J1〜J6の角度を行列式を用いた逆変換処理により算出する(ステップS23)。この処理によって、多関節ロボット12の姿勢は、複数求められることがある。この場合、複数求められた多関節ロボット12の姿勢のうち、回転情報に適合する姿勢を1つ選択する(ステップS24)。これにより、例えば、作業点Q1に関してはθ1〜θ6に対応する角度であるθQ11、θQ21、θQ31、θQ41、θQ51及びθQ61が求まるので、「各軸角度」欄のθ1〜θ6の各欄に記録することができる。
Next, if shaft rotation information is included in the control data at the work points (welding points) R1 to R7 of the door frame 104, the rotation information is copied (step S22). For example, in the case of an axis that can rotate 360 ° or more, such as the axis J4 and the axis J6, the rotation information indicates that the rotation angle θ4 of the axis J4 shows an apparent angle of 240 °. It is not clear whether the position is rotated by 240 ° from the reference position (0 °) or if it is further rotated by one rotation from there. For this reason, when the rotation is 360 ° or more, for example, by adding a rotation information by setting a flag or the like, the cable of the articulated robot 12 is prevented from being twisted. It is possible to prevent the shaft J6 from rotating excessively.
Next, based on the control data regarding the “end effector orientation” at the work points Q1 to Q7 and the position information of the work points Q1 to Q7, the angles of the axes J1 to J6 of the articulated robot 12 are inverted using a determinant. Calculation is performed by the conversion process (step S23). With this process, a plurality of postures of the articulated robot 12 may be obtained. In this case, one of the postures of the multi-joint robot 12 obtained is selected from the postures suitable for the rotation information (step S24). As a result, for example, θQ11, θQ21, θQ31, θQ41, θQ51, and θQ61, which are angles corresponding to θ1 to θ6, are obtained for the work point Q1, and are recorded in the respective columns of θ1 to θ6 in the “Axis Angle” column. be able to.

再び、図4のフローチャートに戻り、CPU28は、参考機種であるドア枠104の溶接点(作業点)情報からドア枠102の溶接点(作業点)情報を抽出する(ステップS6)。すなわち、上記したステップS21〜S24の処理によって、作業点R1〜R7に関する制御データから作業点Q1〜Q7に関する制御データを変換して取得する。この場合、取得した作業点の一部を一の多関節ロボット12が担当し、残りを他の多関節ロボット12が担当する場合には、これらロボットの打点配分についても抽出される。
一方、上記作業点Q1〜Q7にかかる制御データでは、製造ラインの特性が考慮されていないため、当該制御データに上述した既存のワーク(ドア枠100)から取得した制御データを反映させる。
Returning to the flowchart of FIG. 4 again, the CPU 28 extracts the welding point (working point) information of the door frame 102 from the welding point (working point) information of the door frame 104 which is a reference model (step S6). That is, the control data related to the work points Q1 to Q7 is obtained by converting the control data related to the work points R1 to R7 by the above-described processing in steps S21 to S24. In this case, when one articulated robot 12 is responsible for some of the acquired work points and the other articulated robot 12 is responsible for the rest, the hit point distribution of these robots is also extracted.
On the other hand, in the control data concerning the work points Q1 to Q7, since the characteristics of the production line are not taken into consideration, the control data acquired from the existing workpiece (door frame 100) described above is reflected in the control data.

次に、CPU28は、既存のワーク(ドア枠100)とドア枠102とのマッチング処理を行う(ステップS7)。具体的には、CPU28は、データベース62に登録された制御データの中からドア枠102に設定された作業点Q1〜Q9にほぼ一致する作業点P1〜P7を特定する。そして、特定した作業点情報からドア枠102の作業点情報を抽出する(ステップS8)。この実施形態では、図12に示すように、ドア枠102の作業点Q1〜Q3とドア枠100の作業点P1〜P3とがほぼ一致している。このため、図13に示すように、作業点Q1〜Q3について設定されたエンドエフェクタ22の向き、及び、各軸角度の情報に変えて、作業点P1〜P3でのエンドエフェクタ22の向き(XP1〜XP3、YP1〜YP3、ZP1〜ZP3)、及び各軸角度(θP11〜θP13、θP21〜θP23、θP31〜θP33、θP41〜θP43、θP51〜θP53、θP61〜θP63)の情報を反映させて上記リストを作成する。
このドア枠100の作業点P1〜P3に関する制御データは、製造ライン25において多関節ロボット12を実際に動作させることにより量産実績のある制御データである。このため、量産実績のある作業点P1〜P3に関する制御データを、当該作業点P1〜P3とほぼ一致する位置に設定された新たなドア枠102の作業点Q1〜Q3に関する制御データに反映させることで、製造ライン25の特性が十分に考慮された制御データを簡単に作業点Q1〜Q3に設定することができる。
本実施形態では、既存のワークとしてドア枠100しか説明していないが、製造ライン25で製造される多種多様なワークの作業点における制御データをデータベース62に登録することにより、ステップS7でマッチングされる作業点が増加するため、より一層、製造ライン25の特性が考慮された制御データを取得することができる。
Next, the CPU 28 performs a matching process between the existing work (door frame 100) and the door frame 102 (step S7). Specifically, the CPU 28 specifies work points P1 to P7 that substantially match the work points Q1 to Q9 set on the door frame 102 from the control data registered in the database 62. Then, the work point information of the door frame 102 is extracted from the specified work point information (step S8). In this embodiment, as shown in FIG. 12, the work points Q1 to Q3 of the door frame 102 and the work points P1 to P3 of the door frame 100 substantially coincide. For this reason, as shown in FIG. 13, the direction of the end effector 22 at the work points P1 to P3 (XP1) is changed to the direction of the end effector 22 set for the work points Q1 to Q3 and the information of each axis angle. To XP3, YP1 to YP3, ZP1 to ZP3), and the above-mentioned list reflecting the information of each axis angle (θP11 to θP13, θP21 to θP23, θP31 to θP33, θP41 to θP43, θP51 to θP53, θP61 to θP63) create.
The control data regarding the work points P <b> 1 to P <b> 3 of the door frame 100 is control data having a mass production result by actually operating the articulated robot 12 in the production line 25. For this reason, the control data related to the work points P1 to P3 with mass production results is reflected in the control data related to the work points Q1 to Q3 of the new door frame 102 set at a position substantially coincident with the work points P1 to P3. Thus, control data in which the characteristics of the production line 25 are sufficiently taken into account can be easily set at the work points Q1 to Q3.
In the present embodiment, only the door frame 100 has been described as an existing workpiece, but by registering control data on the work points of various workpieces manufactured on the manufacturing line 25 in the database 62, matching is performed in step S7. Therefore, the control data in which the characteristics of the production line 25 are taken into consideration can be acquired.

次に、抽出しきれない作業点(溶接点)があれば、この作業点を手動により配分する(ステップS9)。この実施形態では、図10に示すように、作業点Q8及び作業点Q9については、制御データが記録されていない。この場合には、オペレータは、作業点Q8及び作業点Q9を設定する作業を行う。この場合、周知の手法を採用すれば良いが、例えば、作業点Q7に対する制御データを再び作業点Q8及び作業点Q9に複写して回転変換することにより、当該作業点Q8及び作業点Q9に対する制御データを取得しても良い。
次に、CPU28は、ハードディスク36からティーチングデータ作成プログラム56を読み込み、ティーチングデータ作成回路42にロードする。次いで、多関節ロボット12、作業対象物及びその他の設備に係る形状データ58と、多関節ロボット12の各軸の最高速度、最大加速度、可動範囲等のロボット仕様データ60とをハードディスク36から読み込む。描画制御回路48は、形状データ58に基づいて、ディスプレイ46に多関節ロボット12、溶接対象となるワーク、治具を含む設備等の画像を描画する。
そして、各作業点Q1〜Q9の位置情報、及び、制御データに基づき、各作業点Q1〜Q9での作業特性及び各作業点Q1〜Q9間の動作方法を動作特性として設定し、ドア枠102のティーチングデータを作成する(ステップS10)。
これにより、製造ライン25の特性が考慮されたティーチングデータを作成することができるため、このティーチングデータを製造ライン25に配置される多関節ロボット12に供給した後に、当該ティーチングデータを修正する作業が低減され、ティーチング作業の軽減を図ることができる。
Next, if there are work points (welding points) that cannot be extracted, these work points are manually distributed (step S9). In this embodiment, as shown in FIG. 10, no control data is recorded for the work point Q8 and the work point Q9. In this case, the operator performs an operation for setting the work point Q8 and the work point Q9. In this case, a well-known method may be employed. For example, the control data for the work point Q8 and the work point Q9 can be controlled by copying the control data for the work point Q7 again to the work point Q8 and the work point Q9 and rotating and converting them. Data may be acquired.
Next, the CPU 28 reads the teaching data creation program 56 from the hard disk 36 and loads it into the teaching data creation circuit 42. Next, shape data 58 relating to the articulated robot 12, work object, and other equipment, and robot specification data 60 such as the maximum speed, maximum acceleration, and movable range of each axis of the articulated robot 12 are read from the hard disk 36. The drawing control circuit 48 draws an image of the articulated robot 12, a workpiece to be welded, equipment including a jig, and the like on the display 46 based on the shape data 58.
Then, based on the positional information and control data of each work point Q1 to Q9, the work characteristics at each work point Q1 to Q9 and the operation method between each work point Q1 to Q9 are set as the operation characteristics, and the door frame 102 Is created (step S10).
Thereby, teaching data in consideration of the characteristics of the production line 25 can be created. Therefore, after the teaching data is supplied to the articulated robot 12 arranged on the production line 25, the work of correcting the teaching data is performed. The teaching work can be reduced.

次に、作成されたティーチングデータは、シミュレーション回路44によって動作確認され、この際にサイクル見積もりを実行する(ステップS11)。従来の構成では、多関節ロボット12が配置されるステーションにおけるサイクルの見積もりは、各作業数に所定に時間(例えば2秒)を単純に乗じて算出していたので、動作が複雑であったり、移動距離が長いものの場合には、実際のサイクルタイムが所望の処理時間を超えることが想定されていた。
本実施形態では、CPU28は、多関節ロボット12の作業点P1〜P7のそれぞれでの実動作時間を取得し、ドア枠102に設定された作業点Q1〜Q3にほぼ一致する作業点P1〜P3での実動作時間に基づいてサイクルタイムを算出している。このため、作業点Q1〜Q3までの作業時間は取得した実動作時間を反映すればよく、所定の製造ライン25で量産実績のあるドア枠100に即したサイクルタイムを算出することができる。
また、作業点P4〜P7に略一致しない作業点Q4〜Q9については、図14に示すように、作業点の違いにかかわらず一定となる固定時間(ワーク搬送時間、溶接(SPOT)時間、溶接通電サイクル時間、エンドエフェクタ開閉時間等)と、作業点及び作業種別ごとに異なる可変時間(短ピッチ、中ピッチ、長ピッチの作業点間移動時間、面変化動作時間、エンドエフェクタ回転動作時間等)とに分解される。そして、この可変時間については、作業種別ごとに設定された所定のパラメータ時間を各動作に乗じることで、当該作業種別に該当する時間を算出し、これら可変時間と固定時間とを作業点ごとに加算することでサイクルタイムを計算している。これによれば、より実際の動作に即した正確なサイクルタイムを算出することができる。
Next, the operation of the created teaching data is confirmed by the simulation circuit 44, and at this time, cycle estimation is executed (step S11). In the conventional configuration, the estimation of the cycle at the station where the articulated robot 12 is arranged is calculated by simply multiplying the number of operations by a predetermined time (for example, 2 seconds), so that the operation is complicated, In the case of a long moving distance, it was assumed that the actual cycle time exceeded the desired processing time.
In the present embodiment, the CPU 28 acquires the actual operation time at each of the work points P1 to P7 of the articulated robot 12, and the work points P1 to P3 that substantially match the work points Q1 to Q3 set on the door frame 102. The cycle time is calculated based on the actual operation time at. For this reason, the work time from the work points Q1 to Q3 only needs to reflect the acquired actual operation time, and the cycle time corresponding to the door frame 100 having a mass production record in the predetermined production line 25 can be calculated.
For work points Q4 to Q9 that do not substantially coincide with the work points P4 to P7, as shown in FIG. 14, a fixed time (work transfer time, welding (SPOT) time, welding, which is constant regardless of the work point difference, Energization cycle time, end effector opening / closing time, etc.) and variable time that varies depending on the work point and work type (short pitch, medium pitch, long pitch movement time between work points, surface change operation time, end effector rotation operation time, etc.) And decomposed. Then, for this variable time, by multiplying each operation by a predetermined parameter time set for each work type, a time corresponding to the work type is calculated, and these variable time and fixed time are calculated for each work point. The cycle time is calculated by adding. According to this, it is possible to calculate an accurate cycle time more in line with actual operation.

次に、CPU28は、サイクル判断を実行する(ステップS12)。この場合、ステップS11で見積もられたサイクル時間が、該当する工程に与えられた所望の処理時間(αsec)以内であれば(ステップS12;Yes)、ティーチングデータの作成処理を終了し、作成されたティーチングデータが記録媒体ドライブ40を介して外部記録媒体38に記録される。そして、外部記録媒体38に記録されたティーチングデータは、ロボット制御部24にダウンロードされ、多関節ロボット12の制御に供される。
一方、見積もられたサイクル時間が該当する工程に与えられた所望の処理時間(αsec)よりも長ければ(ステップS12;No)、各多関節ロボット12、12による作業点の再配分を行い、あるいは、各多関節ロボット12、12による作業点の処理順の入れ替えを行い、ステップS4からの処理を繰り返す(ステップS13)。この場合、配分されている作業点群の中から作業点位置および面直角度が他の作業点と大きく差異がある作業点を放出候補とし、サイクルタイムに余裕のある各多関節ロボット12に配分する。
Next, the CPU 28 executes cycle determination (step S12). In this case, if the cycle time estimated in step S11 is within the desired processing time (αsec) given to the corresponding process (step S12; Yes), the teaching data creation process is terminated and created. The teaching data is recorded on the external recording medium 38 via the recording medium drive 40. Then, the teaching data recorded on the external recording medium 38 is downloaded to the robot control unit 24 and used for controlling the articulated robot 12.
On the other hand, if the estimated cycle time is longer than the desired processing time (αsec) given to the corresponding process (Step S12; No), the work points are redistributed by the articulated robots 12 and 12, respectively. Alternatively, the processing order of the work points by the articulated robots 12 and 12 is changed, and the processing from step S4 is repeated (step S13). In this case, work points in which the work point position and the perpendicularity to the surface are significantly different from the other work points from the group of work points that have been distributed are set as release candidates, and are distributed to each multi-joint robot 12 having a sufficient cycle time. To do.

以上、説明したように、本実施形態によれば、ワークに設定された複数の作業点のそれぞれでエンドエフェクタ22により作業を行う多関節ロボット12のティーチングデータ作成方法において、ティーチングデータが供給される多関節ロボット12が既存のワークとしてのドア枠100に設定された作業点P1〜P7のそれぞれに対して作業するときのエンドエフェクタ22の各姿勢の制御データを取得し、制御データの中から、ティーチングデータを作成する対象となるドア枠102に設定された作業点Q1〜Q9にほぼ一致する作業点を特定し、当該作業点P1〜P3でのエンドエフェクタ22の姿勢の制御データ(エンドエフェクタ22の向き(XP1〜XP3、YP1〜YP3、ZP1〜ZP3)、及び各軸角度(θP11〜θP13、θP21〜θP23、θP31〜θP33、θP41〜θP43、θP51〜θP53、θP61〜θP63))に基づいてティーチングデータを作成するため、例えば、所定の製造ライン25で量産実績のあるドア枠100の作業点P1〜P7に対するエンドエフェクタ22の各姿勢の制御を、当該製造ライン25で作業される新たなドア枠102の作業点Q1〜Q9に反映することができ、この製造ライン25の特性を考慮したティーチングデータを効率的に作成することができる。   As described above, according to the present embodiment, teaching data is supplied in the teaching data creation method of the articulated robot 12 that performs work by the end effector 22 at each of a plurality of work points set on the work. Control data of each posture of the end effector 22 when the multi-joint robot 12 works on each of the work points P1 to P7 set on the door frame 100 as an existing work is obtained. Work points that substantially coincide with the work points Q1 to Q9 set on the door frame 102 for which teaching data is to be created are identified, and control data for the attitude of the end effector 22 at the work points P1 to P3 (the end effector 22). Direction (XP1 to XP3, YP1 to YP3, ZP1 to ZP3), and axis angles (θP11 to θP1) 3, θP21 to θP23, θP31 to θP33, θP41 to θP43, θP51 to θP53, θP61 to θP63)), for example. The control of each posture of the end effector 22 with respect to the points P1 to P7 can be reflected in the work points Q1 to Q9 of the new door frame 102 operated on the production line 25, and the characteristics of the production line 25 are taken into consideration. Teaching data can be created efficiently.

また、本実施形態によれば、多関節ロボット12の作業点P1〜P7のそれぞれでの実動作時間を取得し、ティーチングデータ作成対象のドア枠102に設定された作業点Q1〜Q3にほぼ一致する作業点P1〜P3での実動作時間に基づいてサイクルタイムを計算するため、所定の製造ライン25で量産実績のあるドア枠100に即したサイクルタイムを算出することができる。   Further, according to the present embodiment, the actual operation time at each of the work points P1 to P7 of the articulated robot 12 is acquired, and substantially matches the work points Q1 to Q3 set on the door frame 102 for which teaching data is to be created. Since the cycle time is calculated based on the actual operation time at the work points P1 to P3 to be performed, the cycle time according to the door frame 100 having a mass production record in the predetermined production line 25 can be calculated.

また、本実施形態によれば、実動作時間は、作業点の違いにかかわらず一定となる固定時間と、作業点及び作業種別ごとに異なる可変時間とを含み、当該可変時間を各作業点ごとに加算した値に基づいてサイクルタイムを計算するため、正確なサイクルタイムを算出することができる。   Further, according to the present embodiment, the actual operation time includes a fixed time that is constant regardless of the difference in work points, and a variable time that differs for each work point and work type, and the variable time is determined for each work point. Since the cycle time is calculated based on the value added to, an accurate cycle time can be calculated.

なお、本発明は、上記実施形態に限らず、本発明の要旨を逸脱することなく、種々の構成を採り得ることは勿論である。例えば、本実施形態では、多関節ロボット12がTCPでのワークに対する作業内容を溶接としたが、ティーチングデータに基づいて多関節ロボットを作業させるものであれば、作業内容はこれに限るものではない。
また、本実施形態では、単一の製造ライン25に設置されてドア枠を加工する多関節ロボット12に供給されるティーチングデータを作成する構成について説明したが、これに限るものではなく、異なる製造ラインにそれぞれ設置されて同一のワークを加工する多関節ロボットのそれぞれから制御データを取得し、各多関節ロボットについてティーチングデータを作成し供給する構成としてもよい。この構成によれば、製造ラインごとにティーチングデータを補正する必要がなくなるため、この補正作業を行う者の技量にかかわらず画一的なティーチングデータを作成することができる。
Note that the present invention is not limited to the above-described embodiment, and it is needless to say that various configurations can be adopted without departing from the gist of the present invention. For example, in the present embodiment, the work content of the articulated robot 12 on the work in TCP is welding, but the work content is not limited to this as long as the articulated robot is made to work based on teaching data. .
Moreover, although this embodiment demonstrated the structure which produces the teaching data supplied to the articulated robot 12 which is installed in the single production line 25 and processes a door frame, it is not restricted to this, Different manufacture A configuration may be adopted in which control data is acquired from each of the multi-joint robots installed on the line and machining the same workpiece, and teaching data is generated and supplied for each multi-joint robot. According to this configuration, it is not necessary to correct the teaching data for each production line, so uniform teaching data can be created regardless of the skill of the person who performs this correction work.

10 オフラインティーチング装置(ティーチングデータ作成装置)
12 多関節ロボット
22 エンドエフェクタ
25 製造ライン
28 CPU(取得手段、マッチング手段)
36 ハードディスク
42 ティーチングデータ作成回路(データ作成手段)
62 データベース
100 ドア枠
102 ドア枠
104 ドア枠
O 作業基準点
X パラメータ
Y パラメータ
Z パラメータ
P1〜P7 作業点
Q1〜Q9 作業点
10 Offline teaching device (teaching data creation device)
12 Articulated Robot 22 End Effector 25 Production Line 28 CPU (Acquisition Means, Matching Means)
36 Hard disk 42 Teaching data creation circuit (data creation means)
62 Database 100 Door frame 102 Door frame 104 Door frame O Work reference point X parameter Y parameter Z parameter P1 to P7 Work point Q1 to Q9 Work point

Claims (4)

ワークに設定された複数の作業点のそれぞれでエンドエフェクタにより作業を行う多関節ロボットのティーチングデータ作成方法において、
ティーチングデータ供給対象の前記多関節ロボットが前記作業点のそれぞれに対して作業するときのエンドエフェクタの各姿勢の制御データを取得し、
前記制御データの中から、ティーチングデータ作成対象のワークに設定された作業点にほぼ一致する作業点を特定し、当該作業点での前記エンドエフェクタの姿勢の制御データに基づいて前記ティーチングデータを作成することを特徴とするティーチングデータ作成方法。
In the teaching data creation method of an articulated robot that performs work by an end effector at each of a plurality of work points set for a work,
Obtaining control data of each posture of the end effector when the articulated robot to which the teaching data is supplied works with respect to each of the work points;
From the control data, a work point that substantially matches the work point set for the work for which teaching data is to be created is identified, and the teaching data is created based on the control data for the attitude of the end effector at the work point. Teaching data creation method characterized by doing.
前記多関節ロボットの前記作業点のそれぞれでの実動作時間を取得し、
前記ティーチングデータ作成対象のワークに設定された作業点にほぼ一致する作業点での実動作時間に基づいてサイクルタイムを計算することを特徴とする請求項1に記載のティーチングデータ作成方法。
Obtaining the actual operation time at each of the work points of the articulated robot;
2. The teaching data creation method according to claim 1, wherein the cycle time is calculated based on an actual operation time at a work point that substantially matches a work point set for the work for which the teaching data is to be created.
前記実動作時間は、作業点の違いにかかわらず一定となる固定時間と、作業点及び作業種別ごとに異なる非一定時間とを含み、当該非一定時間を各作業点ごとに加算した値に基づいて前記サイクルタイムを計算することを特徴とする請求項2に記載のティーチングデータ作成方法。   The actual operation time includes a fixed time that is constant regardless of a difference in work points, and a non-constant time that differs for each work point and work type, and is based on a value obtained by adding the non-constant time for each work point. The teaching data creation method according to claim 2, wherein the cycle time is calculated. ワークに設定された複数の作業点のそれぞれでエンドエフェクタにより作業を行う多関節ロボットのティーチングデータ作成装置において、
ティーチングデータ供給対象の前記多関節ロボットが前記作業点のそれぞれに対して作業するときのエンドエフェクタの各姿勢の制御データを取得する取得手段と、
前記制御データの中から、ティーチングデータ作成対象のワークに設定された作業点にほぼ一致する作業点を特定するマッチング手段と、
前記作業点での前記エンドエフェクタの姿勢の制御データに基づいて前記ティーチングデータを作成するデータ作成手段とを備えたことを特徴とするティーチングデータ作成装置。
In the teaching data creation device of an articulated robot that performs work with an end effector at each of a plurality of work points set for a work,
An acquisition means for acquiring control data of each posture of the end effector when the articulated robot to which the teaching data is supplied works on each of the work points;
A matching means for identifying a work point that substantially matches a work point set for a work for which teaching data is to be created from the control data;
A teaching data creating apparatus comprising: data creating means for creating the teaching data based on control data of the attitude of the end effector at the work point.
JP2010242956A 2010-10-29 2010-10-29 Teaching data making method and teaching data making device Pending JP2012091304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010242956A JP2012091304A (en) 2010-10-29 2010-10-29 Teaching data making method and teaching data making device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010242956A JP2012091304A (en) 2010-10-29 2010-10-29 Teaching data making method and teaching data making device

Publications (1)

Publication Number Publication Date
JP2012091304A true JP2012091304A (en) 2012-05-17

Family

ID=46385244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010242956A Pending JP2012091304A (en) 2010-10-29 2010-10-29 Teaching data making method and teaching data making device

Country Status (1)

Country Link
JP (1) JP2012091304A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103862472A (en) * 2012-12-18 2014-06-18 株式会社安川电机 Teaching data generator, robot system, and method for generating teaching data
WO2016136816A1 (en) * 2015-02-25 2016-09-01 本田技研工業株式会社 Spot position correcting method and apparatus
JP2018176332A (en) * 2017-04-10 2018-11-15 ファナック株式会社 Device, system and method for automatically creating operation trajectory of robot
CN109420819A (en) * 2017-09-01 2019-03-05 南京理工大学 A kind of robot increasing material manufacturing method based on MIG/MAG welding procedure
US10289102B2 (en) 2015-02-05 2019-05-14 Honda Motor Co., Ltd. Robot selection method and robot selection device
US10482191B2 (en) 2014-10-15 2019-11-19 Honda Motor Co., Ltd. Jig information setting method and jig information setting device
JP2019215760A (en) * 2018-06-13 2019-12-19 株式会社トヨタプロダクションエンジニアリング Motion element creation device, motion element creation method, and motion element creation program
CN112041128A (en) * 2018-04-27 2020-12-04 川崎重工业株式会社 Robot teaching method and robot teaching system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2745998A2 (en) 2012-12-18 2014-06-25 Kabushiki Kaisha Yaskawa Denki Teaching data generator, robot system, and method for generating teaching data
US9248574B2 (en) 2012-12-18 2016-02-02 Kabushiki Kaisha Yaskawa Denki Teaching data generator, robot system, and method for generating teaching data
CN103862472A (en) * 2012-12-18 2014-06-18 株式会社安川电机 Teaching data generator, robot system, and method for generating teaching data
US10482191B2 (en) 2014-10-15 2019-11-19 Honda Motor Co., Ltd. Jig information setting method and jig information setting device
US10289102B2 (en) 2015-02-05 2019-05-14 Honda Motor Co., Ltd. Robot selection method and robot selection device
WO2016136816A1 (en) * 2015-02-25 2016-09-01 本田技研工業株式会社 Spot position correcting method and apparatus
JPWO2016136816A1 (en) * 2015-02-25 2017-07-27 本田技研工業株式会社 Dot position correction method and apparatus
CN107249805A (en) * 2015-02-25 2017-10-13 本田技研工业株式会社 Get position correcting method and device ready
GB2550793A (en) * 2015-02-25 2017-11-29 Honda Motor Co Ltd Spot position correcting method and apparatus
CN107249805B (en) * 2015-02-25 2019-07-26 本田技研工业株式会社 Get position correcting method and device ready
US10814485B2 (en) 2017-04-10 2020-10-27 Fanuc Corporation Device, system, and method for automatically generating motion path of robot
JP2018176332A (en) * 2017-04-10 2018-11-15 ファナック株式会社 Device, system and method for automatically creating operation trajectory of robot
CN109420819A (en) * 2017-09-01 2019-03-05 南京理工大学 A kind of robot increasing material manufacturing method based on MIG/MAG welding procedure
CN109420819B (en) * 2017-09-01 2020-12-11 南京理工大学 Robot additive manufacturing method based on MIG/MAG welding process
CN112041128A (en) * 2018-04-27 2020-12-04 川崎重工业株式会社 Robot teaching method and robot teaching system
CN112041128B (en) * 2018-04-27 2024-02-27 川崎重工业株式会社 Teaching method of robot and teaching system of robot
JP2019215760A (en) * 2018-06-13 2019-12-19 株式会社トヨタプロダクションエンジニアリング Motion element creation device, motion element creation method, and motion element creation program
JP7132761B2 (en) 2018-06-13 2022-09-07 株式会社トヨタプロダクションエンジニアリング Motion segment creation device, motion segment creation method, and motion segment creation program

Similar Documents

Publication Publication Date Title
JP2012091304A (en) Teaching data making method and teaching data making device
JP5606816B2 (en) Teaching apparatus and teaching method for welding robot
US9731419B2 (en) System and method for programming robots
JP6538751B2 (en) Programming device and robot control method
JP5268495B2 (en) Off-line teaching data creation method and robot system
JP4513663B2 (en) Operation teaching method of assembly mechanism in automatic assembly system
JP6826076B2 (en) Automatic route generator
CN114289934B (en) Automatic welding system and method for large structural part based on three-dimensional vision
JP2006039781A (en) Device for arc welding
JP2019135076A (en) Locus generation method and device
CA2526459C (en) Teaching data preparing method for articulated robot
CN113977584A (en) Welding track generation method, device, equipment and medium
JP4262715B2 (en) Creating robot teaching data
JP2010000582A (en) Teaching data verification method for articulated robot
JP2004362018A (en) Teaching data preparation method for polyarticular robot
KR101787865B1 (en) Inverse kinematic solution for multi-joint link mechanism, and device for creating instructional data by using inverse kinematic solution
US11203117B2 (en) Teaching data generation system for vertical multi-joint robot
JP5474739B2 (en) Interference detection method and interference detection apparatus
JP4206097B2 (en) Creating robot teaching data
JP4000307B2 (en) Teaching data creation method for articulated robots
JP2002239957A (en) Attitude determination method and program of articulated robot
Abaas et al. Inverse kinematic analysis of lab-volt R5150 robot system
US20230398688A1 (en) Motion trajectory generation method for robot, motion trajectory generation apparatus for robot, robot system, and program
JP3957296B2 (en) Robot mutual interference verification method
Wu et al. Coordinated motion planning with calibration and offline programming for a manipulator-positioner system