Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6090463B2 - Work route creation device, work route creation method, work route creation program, and recording medium - Google Patents
[go: Go Back, main page]

JP6090463B2 - Work route creation device, work route creation method, work route creation program, and recording medium - Google Patents

Work route creation device, work route creation method, work route creation program, and recording medium Download PDF

Info

Publication number
JP6090463B2
JP6090463B2 JP2015537601A JP2015537601A JP6090463B2 JP 6090463 B2 JP6090463 B2 JP 6090463B2 JP 2015537601 A JP2015537601 A JP 2015537601A JP 2015537601 A JP2015537601 A JP 2015537601A JP 6090463 B2 JP6090463 B2 JP 6090463B2
Authority
JP
Japan
Prior art keywords
point
work
welding
interference check
route
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.)
Expired - Fee Related
Application number
JP2015537601A
Other languages
Japanese (ja)
Other versions
JPWO2015040980A1 (en
Inventor
泰 金沢
泰 金沢
一隆 柳
一隆 柳
尚義 岡山
尚義 岡山
崇 芥川
崇 芥川
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Publication of JPWO2015040980A1 publication Critical patent/JPWO2015040980A1/en
Application granted granted Critical
Publication of JP6090463B2 publication Critical patent/JP6090463B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by monitoring or safety
    • G05B19/4061Avoiding collision or forbidden zones
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K11/00Resistance welding; Severing by resistance heating
    • B23K11/10Spot welding; Stitch welding
    • B23K11/11Spot welding
    • B23K11/115Spot welding by means of two electrodes placed opposite one another on both sides of the welded parts

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)
  • Resistance Welding (AREA)
  • Numerical Control (AREA)

Description

本発明は作業経路作成装置、作業経路作成方法、および作業経路作成プログラムに関し、詳しくは、ロボットを用いた作業において複数の作業点において作業する際の経路をオフラインプログラミングにより作成するための作業経路作成装置、作業経路作成方法、作業経路作成プログラム、および記録媒体に関する。   The present invention relates to a work route creation device, a work route creation method, and a work route creation program. More specifically, the present invention relates to work route creation for creating a route when working at a plurality of work points in a work using a robot by offline programming. The present invention relates to a device, a work route creation method, a work route creation program, and a recording medium.

近年、ロボットの動作を教示する際に、コンピューターシミュレーションを用いて、プログラミングすることが多く行われている。これをオフラインプログラミングと称している。   In recent years, in order to teach the operation of a robot, programming is often performed using computer simulation. This is called offline programming.

このようなオフラインプログラミングは、ロボットを用いた種々の作業に適用されている。たとえば、ロボットによる溶接においては、ロボットに溶接ガンをつけた状態で、ワーク(パネル)にある溶接点(溶接打点とも称される)を溶接するための干渉のない経路をオフラインで自動的に作成するために利用されている。   Such off-line programming is applied to various operations using a robot. For example, in robot-based welding, a path without interference is automatically created offline for welding a welding point (also called a welding point) on a workpiece (panel) with a welding gun attached to the robot. It is used to do.

たとえば、溶接点の周辺は、そもそも溶接ガンとワークとが接触することが当然の部分である。従来は、このような溶接点の周辺をすべて削除してから、溶接点を接続する経路の干渉チェックを行うこととしている。すなわち、溶接点の周辺は、干渉チェックを行う領域から外すのである。   For example, in the first place, it is natural that the welding gun and the workpiece come into contact with each other around the welding point. Conventionally, after all of the periphery of such a welding point is deleted, an interference check of a path connecting the welding points is performed. That is, the periphery of the welding point is removed from the area where the interference check is performed.

特開2000−61880号公報JP 2000-61880 A

しかしながら、従来技術では、複数の溶接作業を行う経路を作成する際に、溶接点と溶接点の間に、その経路では作業を行わない溶接点(作業対象外の作業点という)があった場合、そのような作業対象外の作業点周辺も干渉チェックされないことになる。このため、従来技術で作成された経路を実際のロボットにロードした場合に、作業を行う溶接点と溶接点の間に作業対象外の作業点があると、作業対象外の作業点の形状によっては干渉してしまうことがある。   However, in the prior art, when creating a route for performing a plurality of welding operations, when there is a welding point between the welding point and the welding point that does not perform the operation on that route (referred to as a work point that is not a work target) Thus, the interference check is not performed around the work point that is not the work target. For this reason, when a path created in the prior art is loaded onto an actual robot, if there is a work point that is not the work target between the welding point where the work is performed, the shape of the work point that is not the work target May interfere.

そこで、本発明の目的は、複数の作業点において作業する際の経路をオフラインプログラミングにより作成する際に、経路中に作業を行わない作業点があっても干渉のない経路を作成することのできる作業経路作成装置を提供することである。   Therefore, an object of the present invention is to create a path without interference even when there are work points that do not perform work in the path when creating a path for working at a plurality of work points by offline programming. It is to provide a work route creation device.

また、他の目的は、複数の作業点において作業する際の経路をオフラインプログラミングにより作成する際に、経路中に作業を行わない作業点があっても干渉のない経路を作成することのできる作業経路作成方法を提供することである。   Another object is to create a route that does not interfere even if there are work points that do not work in the route when creating a route for working at multiple work points by offline programming. It is to provide a route creation method.

さらに他の目的は、複数の作業点において作業する際の経路をオフラインプログラミングにより作成する際に、経路中に作業を行わない作業点があっても干渉のない経路を作成することのできる作業経路作成プログラム、およびこのプログラムを記憶した記録媒体を提供することである。   Yet another object is to create a work path that can create a path without interference even if there are work points that do not work in the path when creating a path when working at multiple work points by offline programming. It is to provide a creation program and a recording medium storing the program.

上記目的を達成するための本発明による溶接経路作成装置は、複数の作業点から2つの作業点を選択して当該2つの作業点を結ぶ経路を設定する作業点選択部を有する。この溶接経路作成装置は、少なくとも2つの作業点を除く複数の作業点に対して干渉チェックの際に干渉チェックしない作業点領域を設定する領域設定部を有する。この溶接経路作成装置は、選択した2つの作業点の間に他の作業点がある場合に、このような他の作業点に設定された作業点領域は無効とする作業点領域無効部を有する。そしてこの溶接経路作成装置は、2つの作業点を結ぶ経路を干渉チェックする干渉チェック部を有する。   In order to achieve the above object, a welding path creation apparatus according to the present invention includes a work point selection unit that selects two work points from a plurality of work points and sets a path connecting the two work points. The welding path creation device has a region setting unit that sets a work point region that is not subjected to interference check at the time of interference check for a plurality of work points excluding at least two work points. This welding path creation device has a work point area invalid portion that invalidates a work point area set to such another work point when there is another work point between two selected work points. . And this welding path | route preparation apparatus has an interference check part which carries out interference check of the path | route which connects two work points.

また上記他の目的を達成するための本発明による溶接経路作成方法は、複数の作業点から2つの作業点を選択して当該2つの作業点を結ぶ経路を設定する段階と、少なくとも2つの作業点を除く複数の作業点に対して干渉チェックの際に干渉チェックしない作業点領域を設定する段階と、選択した2つの作業点の間に他の作業点がある場合に、当該他の作業点に設定された作業点領域は無効とする段階と、2つの作業点を結ぶ経路を干渉チェックする段階と、を有する。   According to another aspect of the present invention, there is provided a welding path creation method comprising: selecting two work points from a plurality of work points and setting a path connecting the two work points; and at least two work If there is another work point between the two selected work points and the stage of setting a work point area where interference check is not performed for a plurality of work points other than points, The operation point area set to “1” is invalidated, and an interference check is performed on a route connecting the two operation points.

また上記他の目的を達成するための本発明による溶接経路作成プログラムは、複数の作業点から2つの作業点を選択して当該2つの作業点を結ぶ経路を設定するステップと、少なくとも2つの作業点を除く複数の作業点に対して干渉チェックの際に干渉チェックしない作業点領域を設定するステップと、選択した2つの作業点の間に他の作業点がある場合に、当該他の作業点に設定された作業点領域は無効とするステップと、2つの作業点を結ぶ経路を干渉チェックするステップと、をコンピューターに実行させて作業を行う経路を作成する。   In addition, a welding path creation program according to the present invention for achieving the above other object includes a step of selecting two work points from a plurality of work points and setting a path connecting the two work points; and at least two work If there are other work points between the step of setting a work point area where interference check is not performed when performing interference check for a plurality of work points excluding a point, and another work point between the two selected work points, the other work point A path for performing work is generated by causing the computer to execute a step of invalidating the work point area set to, and a step of performing an interference check on a path connecting the two work points.

さらに上記他の目的を達成するための本発明は、上記作業経路作成プログラムを記憶したコンピューター読み取り可能な記録媒体である。   Furthermore, the present invention for achieving the other object is a computer-readable recording medium storing the work route creation program.

本発明によれば、選択した2つの作業点の間に他の作業点がある場合、そのような他の作業点に対して設定された干渉チェックを行わない領域を無効とすることにした。このため経路途中に作業をしない作業点がある場合でも、干渉チェックを適切に行うことができるようになり、作業しない作業点とその周辺部において干渉が発生するのを防止することができる。   According to the present invention, when there is another work point between the two selected work points, the region where the interference check set for such another work point is not performed is invalidated. For this reason, even when there is a work point that does not work on the route, it is possible to appropriately perform the interference check, and it is possible to prevent interference from occurring at the work point that does not work and its peripheral part.

作業経路作成装置を含むシステムの構成を説明するためのブロック図である。It is a block diagram for demonstrating the structure of the system containing a work route creation apparatus. 作業経路(溶接経路)作成手順のメインフローチャートである。It is a main flowchart of a work route (welding route) creation procedure. 2つの作業点(溶接点)間を直線的に結ぶ経路の成立性を調べるサブルーチンフローチャートである。It is a subroutine flowchart which investigates the feasibility of the path | route which connects between two work points (welding point) linearly. 干渉チェックのサブルーチンフローチャートである。It is a subroutine flowchart of an interference check. 直線経路を説明するための説明図である。It is explanatory drawing for demonstrating a straight path | route. 2つの作業点(溶接点)間の距離・角度を説明するための説明図である。It is explanatory drawing for demonstrating the distance and angle between two work points (welding point). 逃げ点を説明する説明図である。It is explanatory drawing explaining an escape point. 逃げ点を説明する説明図である。It is explanatory drawing explaining an escape point. 作業点(溶接点)領域と作業点(溶接点)付近領域を説明するためのワーク平面図である。It is a work top view for explaining a work point (welding point) field and a work point (welding point) neighborhood field. 直線経路ができない場合の経路作成のイメージ図である。It is an image figure of route creation when a straight route cannot be performed. 引き抜き経路の作成手順を説明するフローチャートである。It is a flowchart explaining the preparation procedure of an extraction path | route. 引き抜き経路の作成手順の詳細を説明するサブルーチンフローチャートである。It is a subroutine flowchart explaining the detail of the preparation procedure of a drawing path | route. 引き抜き経路の作成の際の動作を説明するための説明図である。It is explanatory drawing for demonstrating the operation | movement at the time of preparation of an extraction path | route. 回避経路の作成手順を説明するフローチャートである。It is a flowchart explaining the preparation procedure of an avoidance path | route. 引き抜き経路と回避経路作成のイメージ図である。It is an image figure of drawing route and avoidance route creation.

以下、添付した図面を参照しながら、本発明の実施形態を説明する。なお、図面の説明において同一の要素には同一の符号を付し、重複する説明を省略する。また、図面における各部材の大きさや比率は説明の都合上誇張されており、実際の大きさや比率とは異なる。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the description of the drawings, the same elements are denoted by the same reference numerals, and redundant description is omitted. Moreover, the size and ratio of each member in the drawings are exaggerated for convenience of explanation, and are different from the actual size and ratio.

図1は、作業経路作成装置を含むシステムの構成を説明するためのブロック図である。   FIG. 1 is a block diagram for explaining the configuration of a system including a work route creation device.

このシステムは、コンピューター11とサーバー12がネットワーク13により接続されている。   In this system, a computer 11 and a server 12 are connected by a network 13.

コンピューター11は、作業経路作成装置となる。このコンピューター11は、後述する作業経路作成手順に従って作成されたプログラムを実行することにより複数の作業点を通る経路を自動作成する。したがって、このコンピューター11は、作業点選択部、領域設定部、作業点領域無効部、干渉チェック部として機能することになる。   The computer 11 serves as a work route creation device. The computer 11 automatically creates a route passing through a plurality of work points by executing a program created according to a work route creation procedure described later. Therefore, the computer 11 functions as a work point selection unit, a region setting unit, a work point region invalid unit, and an interference check unit.

サーバー12は、作業経路作成に必要なデータを記憶している。作業経路作成に必要なデータは、たとえばワーク関連データとして、作業を行う(作業対象の)ワークの形状、ワーク上における作業点の位置、作業点ごとの加圧方向などを記憶している。また、サーバー12は、ロボット関連データとして、作業を行うロボットの緒元や形状(通常使用するロボットごとにオフラインプログラム用の形状や動作などのデータがある)、作業に用いる工具(たとえば溶接ガン)の形状などのデータを記憶している。なお、ワークに関連するデータは、このようなサーバー12ではなく、ワークを設計するCAD装置などから直接取得してもよい。また、ロボット関連データは、作業経路作成装置となるコンピューター11そのものが記憶しておいてもよい。   The server 12 stores data necessary for creating a work route. The data necessary for creating the work path stores, for example, as the work-related data, the shape of the work to be worked (work target), the position of the work point on the work, the pressing direction for each work point, and the like. In addition, the server 12 includes, as robot-related data, the type and shape of the robot that performs the work (there is data such as the shape and operation for an offline program for each robot that is normally used), and the tool used for the work (for example, a welding gun) Data such as the shape is stored. Note that the data related to the workpiece may be directly acquired from a CAD device or the like that designs the workpiece, instead of the server 12 described above. Further, the robot-related data may be stored in the computer 11 itself serving as a work route creation device.

ネットワーク13は、コンピューター11とサーバー12の間でデータのやり取りを行うための通信回線である。このネットワーク13は、通常は、一般的なLANなどであるが、専用線が用いられていてもよい。   The network 13 is a communication line for exchanging data between the computer 11 and the server 12. The network 13 is usually a general LAN or the like, but a dedicated line may be used.

そして、このネットワーク13には、ロボットを動作させるためのロボットコントローラー14に接続されている。これによりコンピューター11で作成された作業経路をロボットコントローラー14にロードすることができる。もちろん、ロボットコントローラー14が、ネットワーク13に接続されていない場合には、作成された作業経路は、別途他の記憶媒体などに記録させてから、ロボットコントローラー14に運ばれてロードさせることになる。   The network 13 is connected to a robot controller 14 for operating the robot. Thereby, the work path created by the computer 11 can be loaded onto the robot controller 14. Of course, when the robot controller 14 is not connected to the network 13, the created work path is separately recorded in another storage medium or the like and then transported to the robot controller 14 for loading.

次に、作業経路作成手順を説明する。図2は作業経路作成手順のメインフローチャート、図3は2つの作業点間を直線的に結ぶ経路の成立性を調べるサブルーチンフローチャート、図4は干渉チェックのサブルーチンフローチャートである。   Next, the work route creation procedure will be described. FIG. 2 is a main flowchart of a procedure for creating a work route, FIG. 3 is a subroutine flowchart for examining the establishment of a route that connects two work points linearly, and FIG. 4 is a subroutine flowchart for an interference check.

本作業経路作成手順における基本的な構成は、最初に2つの作業点間を直線的に結ぶ経路を作成し、その直線的な経路における干渉チェックを行い、干渉がなければ経路として決定し、干渉があり直線的に結べない場合は、他の経路を作成するという順である。   The basic configuration in this work route creation procedure is to create a route that connects two work points linearly first, check for interference in the straight route, determine if there is no interference, determine the route, If there is and cannot be connected in a straight line, another route is created.

ここで作業点間を直線的に結ぶ経路について説明する。ここでは作業点として溶接点を例に説明する。   Here, a route connecting the work points linearly will be described. Here, a welding point will be described as an example of a work point.

図5は直線経路を説明するための説明図である。図示するように、2つの溶接点間を直線的に結ぶ経路とは、ワーク100上に設定されている溶接点1を溶接後、そのまま次の溶接点2に向かう直線経路のことである。ここで、溶接後とは、たとえば、工具が溶接ガンの場合、溶接ガン開放後、少しガンチップをワークから離した後のことである。   FIG. 5 is an explanatory diagram for explaining a straight path. As shown in the figure, the path that linearly connects the two welding points is a straight path that goes directly to the next welding point 2 after welding the welding point 1 set on the workpiece 100. Here, after welding, for example, when the tool is a welding gun, it means that the gun tip is slightly separated from the workpiece after the welding gun is opened.

このような直線経路は、ロボットまたは工具の移動距離が短く、ロボットの軸動作量も少ないため、ロボットの動作時間を短くできるという特徴がある。しかし、たとえば、距離が大きく離れている場合は直線的に動作できない。そのほかにも、たとえば途中に障害物がある場合も直線的に動作できない。またロボットの軸範囲外で動けない場合も直線的に動作できない。これらのように、2つの溶接点であっても必ずしも直線的に動作することができない場合がある。このような場合には、いったん工具を引き抜いてから移動する経路を別途作成することになる(別経路の作成については後述する)。   Such a straight path is characterized in that the movement time of the robot or tool is short and the amount of axial movement of the robot is small, so that the operation time of the robot can be shortened. However, for example, when the distance is large, it cannot operate linearly. In addition, for example, when there is an obstacle on the way, it cannot operate linearly. Also, it cannot move linearly even if it cannot move outside the robot axis range. As described above, even two welding points may not always operate linearly. In such a case, a route for moving after the tool is once pulled out is created separately (the creation of another route will be described later).

図2〜4を参照して、作業経路作成手順の一例を説明する。なお、以下では、複数の部材を接合する接合作業を行う場合、特に複数の部材を溶接する溶接作業を行う場合の作業経路作成手順について説明する。溶接作業においては、ロボットは、工具として溶接ガンを把持している。作業点は、複数の部材を接合する接合作業を行うための溶接点(接合点)である。   An example of a work route creation procedure will be described with reference to FIGS. In the following description, a procedure for creating a work path when performing a joining operation for joining a plurality of members, particularly when performing a welding operation for welding a plurality of members will be described. In the welding operation, the robot holds a welding gun as a tool. The working point is a welding point (joining point) for performing a joining operation for joining a plurality of members.

この手順に先だち、コンピューター11は、サーバー12から必要なデータを取得し、自身の記憶装置に記憶しておく。取得するデータは、ワーク形状、作業点(溶接点)位置、作業(溶接)時の加圧方向である。これらのデータは、たとえば、3次元座標空間の座標値である。なお、コンピューター11内の記憶装置に記憶するのではなく必要となった都度、サーバー12から取り出すようにしてもよい。   Prior to this procedure, the computer 11 acquires necessary data from the server 12 and stores it in its own storage device. The data to be acquired is the workpiece shape, the working point (welding point) position, and the pressurizing direction at the time of working (welding). These data are, for example, coordinate values in a three-dimensional coordinate space. In addition, you may make it take out from the server 12 whenever it becomes needed instead of memorize | storing in the memory | storage device in the computer 11. FIG.

図2を参照してメインフローを説明する(以下の説明において、すべてのフローにおける各ステップは「S」と省略している)。   The main flow will be described with reference to FIG. 2 (in the following description, each step in all the flows is abbreviated as “S”).

まず、コンピューター11は、ワーク上の複数の溶接点から最初の溶接点を決定する(S1)。この最初の溶接点はここで設定する経路全体の始点となる。   First, the computer 11 determines the first welding point from a plurality of welding points on the workpiece (S1). This first welding point becomes the starting point of the entire path set here.

続いて、コンピューター11は、処理対象の次の溶接点があるか否かを判断し(S2)、処理対象の次の溶接点があれば、それを選択する(S3)。このS1〜S3において選択する溶接点は、あらかじめ決めた順番で選択する。あらかじめ決めた順番は、たとえば設計者が経験などから、同じ方向に進むことができる複数の溶接点に対して順番を割り当てている。また、複数の溶接点の並びが交差するような場合には、ある方向へ進み次に他の方向へ進むように順番を割り当てている。なおS2において次の溶接点がないと判断されたなら、S9へ進むことになる。   Subsequently, the computer 11 determines whether there is a next welding point to be processed (S2), and if there is a next welding point to be processed, selects it (S3). The welding points selected in S1 to S3 are selected in a predetermined order. The predetermined order is assigned to a plurality of welding points that can be advanced in the same direction by the designer, for example, based on experience. In addition, when a plurality of weld points are crossed, an order is assigned so as to proceed in a certain direction and then proceed in another direction. If it is determined in S2 that there is no next welding point, the process proceeds to S9.

S1〜S3により2つの溶接点が選択されることになる(S2において次の溶接点があると判断された場合である)。つまり最初の溶接点がS1により選択され、次の溶接点はS2およびS3によって選択される。そして、このメインフローの流れにより再びS2に入って次の溶接点がある場合は、S3で次の溶接点が選択される。これにより、次々と2つの溶接点が選択されて以降の処理が行われることになる。   Two welding points are selected by S1 to S3 (when it is determined that there is a next welding point in S2). That is, the first welding point is selected by S1, and the next welding point is selected by S2 and S3. Then, if there is a next welding point due to this main flow, the next welding point is selected in S3. Thereby, two welding points are selected one after another, and the subsequent processing is performed.

続いて、コンピューター11は、2つの溶接点間を直線的に結べるか否かを距離と角度により調べる(S4)。この処理は、2つの溶接点間を直線的に結べるかを2つの溶接点間の距離・角度で調べるものである。   Subsequently, the computer 11 examines whether or not the two welding points can be linearly connected based on the distance and the angle (S4). In this process, whether or not the two welding points can be linearly connected is examined by the distance and angle between the two welding points.

図6は2つの溶接点間の距離・角度を説明するための説明図である。判断の対象となる距離・角度とは、(1)2つの溶接点の距離、(2)2つの溶接点の加圧方向の角度、(3)2つの溶接点の溶接ガン進入方向の角度である。   FIG. 6 is an explanatory diagram for explaining the distance and angle between two welding points. The distance and angle to be judged are (1) the distance between two welding points, (2) the angle in the pressurization direction of the two welding points, and (3) the angle in the welding gun entry direction of the two welding points. is there.

(1)2つの溶接点の距離は、2つの溶接点を直線として結ぶ距離である。この距離があまりにも長い場合、そのような2点間を移動するよりも、いったん引き抜いて移動経路を変えたり、他の溶接点と組み合わせたりする方が早く溶接できる場合がある。そこで、2点間の距離に対するしきい値を設け、そのしきい値を超える場合には、この2点を直線で結ばないものとするのである。この距離のしきい値はあらかじめ決められた値である。   (1) The distance between two welding points is a distance connecting two welding points as a straight line. If this distance is too long, it may be possible to perform welding faster by pulling out once to change the movement path or combining with other welding points, rather than moving between such two points. Therefore, a threshold is set for the distance between two points, and when the threshold is exceeded, the two points are not connected by a straight line. This distance threshold is a predetermined value.

この距離のしきい値の決め方の一例としては下記のようなものがある。溶接ガンを開いた状態でワークに沿って直線を移動させるときの速度は、ワークから溶接ガンを離して移動させる場合よりも遅い。一方、溶接ガンをワークから引き抜いて再び次の溶接点へ入れる場合は、ワークから離れているときの移動速度は速いものの、溶接ガンの引き抜きおよびワークへの進入に時間がかかる。このため、多くの場合は、ワークから離れて移動できる距離が長くなれば高速で移動させることができる距離も長くなる。したがって、このような移動動作にかかる時間を考慮して、そのままワークに沿って直線的に移動させるよりも、いったん引き抜いた方が早くなるような距離をあらかじめ求めておいて、それを距離のしきい値にするとよい。   An example of how to determine this distance threshold is as follows. The speed when moving the straight line along the workpiece with the welding gun open is slower than when moving the welding gun away from the workpiece. On the other hand, when the welding gun is pulled out of the workpiece and put back into the next welding point, it takes time to pull out the welding gun and enter the workpiece, although the moving speed when moving away from the workpiece is fast. For this reason, in many cases, the longer the distance that can be moved away from the workpiece, the longer the distance that can be moved at high speed. Therefore, in consideration of the time required for such a movement operation, a distance that is faster to be extracted once is obtained in advance than the linear movement along the workpiece as it is. A threshold value should be used.

(2)2つの溶接点の加圧方向の角度は、ワークであるパネル表面に対する角度である(図示α1およびα2)。2つの溶接点の加圧方向の角度α1およびα2が違う場合、溶接ガンの角度を変えなければならない。その場合、溶接ガンの角度変更に時間がかかることがある。溶接ガンの角度変更に時間がかかる状況としては、たとえばワーク近傍での動作となるため高速回転ができない場合である。またロボットアーム先端の軸だけでは角度を変更できずに、ロボットの他の軸の動作も伴う場合も時間がかかる。このような場合を想定して、2点のそれぞれの加圧方向の差が、あらかじめ設定した角度のしきい値未満の場合にはこの2点を直線で結び、しきい値以上の場合には直線で結ばないものとするのである。つまり、α1−α2<角度のしきい値の場合に直線で結ぶこととするのである。   (2) The angle in the pressurizing direction of the two welding points is an angle with respect to the panel surface which is a workpiece (α1 and α2 in the drawing). If the angles α1 and α2 in the pressurizing direction of the two welding points are different, the angle of the welding gun must be changed. In that case, it may take time to change the angle of the welding gun. A situation where it takes time to change the angle of the welding gun is, for example, a case where high-speed rotation is impossible because the operation is performed near the workpiece. In addition, the angle cannot be changed only by the axis at the tip of the robot arm, and it takes time even when the other axes of the robot are operated. Assuming such a case, if the difference in pressure direction between the two points is less than a preset angle threshold, the two points are connected by a straight line, and if the difference is greater than the threshold, It shall not be connected by a straight line. That is, when α1−α2 <the angle threshold, the lines are connected by a straight line.

この角度のしきい値はあらかじめ決められた値であるが、最も好適には、溶接ガンの角度を変更せずに、2つの溶接点を溶接できることである(つまり、2枚のパネルを溶接する場合の加圧角度の許容値はパネルに対して垂直を0度とすれば前後45度程度(−22.5〜22.5度)である。したがって、最も好適には、2点の加圧方向の角度の差が45度を角度のしきい値とすればよいことになる。また、多少であれば溶接ガンを回転させてもさほど時間はかからないので、ガンの回転も考慮して決めてもよい。   This angle threshold is a predetermined value, but most preferably it is possible to weld two weld points without changing the angle of the welding gun (ie, welding two panels). The allowable value of the pressure angle in this case is about 45 degrees (−22.5 to 22.5 degrees) when the perpendicular to the panel is 0 degree, and therefore, most preferably, two points of pressure are applied. The difference in the angle of the direction should be 45 degrees, and since it will not take much time to rotate the welding gun, it should be determined in consideration of the rotation of the gun. Also good.

しかし、たとえば加圧方向が2点で逆になる場合、すなわち溶接ガンを180度の回転する必要がある場合は、ワークを溶接ガンの間に挟んで回転させることは不可能である。したがって、溶接ガンの回転が不可能となる角度、すなわち、溶接ガンの回転動作によりワークと溶接ガンが接触するような角度変更を伴う場合は、直線的に結ばないこととする。したがって、角度のしきい値は、少なくともワークと溶接ガンが接触しない角度変更の範囲の角度であり、好ましくは次の溶接点へ向かう時間で角度を変えられる角度範囲であり、より好ましくは角度変更をしなくても溶接可能な角度である。   However, for example, when the pressurizing directions are reversed at two points, that is, when it is necessary to rotate the welding gun by 180 degrees, it is impossible to rotate the workpiece with the workpiece sandwiched between the welding guns. Accordingly, when the angle at which the welding gun cannot be rotated, that is, when the angle is changed so that the workpiece and the welding gun come into contact with each other by the rotating operation of the welding gun, the welding gun is not connected linearly. Therefore, the threshold value of the angle is an angle within a range of an angle change at which the workpiece and the welding gun do not contact each other, preferably an angle range in which the angle can be changed by the time toward the next welding point, and more preferably the angle change. This is the angle at which welding is possible without having to

(3)2つの溶接点の溶接ガン進入方向の角度は、溶接ガンの進行方向に対してワークの外から溶接点へ向けて溶接ガンを進入させる角度である(図示β1およびβ2)。2つの溶接点を直線で結んで移動させる場合、この進入角度は変更しない方が都合がよい。一方、この角度が大きく異なる場合、ロボットアーム先端の軸だけでは、溶接ガンの向きを変えることができなくなるので時間がかかることになる。そこで、進入角度が大きく違う場合は、直線的に結ばないこととするのである。この進入角度についてもしきい値を設けておいて、そのしきい値未満の場合には直線的に結び、しきい値以上の場合には直線的に結ばないこととする。つまり、β1−β2<進入角度のしきい値のとき直線的に結ぶこととするのである。   (3) The angle in the welding gun approach direction of the two welding points is an angle at which the welding gun enters from the outside of the workpiece toward the welding point with respect to the traveling direction of the welding gun (β1 and β2 in the drawing). When two welding points are connected by a straight line and moved, it is convenient not to change this approach angle. On the other hand, when this angle is greatly different, it takes time because the direction of the welding gun cannot be changed only with the axis at the tip of the robot arm. Therefore, when the approach angles are greatly different, the straight line is not connected. A threshold value is also provided for this approach angle, and when it is less than the threshold value, it is connected linearly, and when it is greater than or equal to the threshold value, it is not connected linearly. That is, when β1−β2 <the threshold value of the approach angle, the lines are connected linearly.

この進入角度のしきい値は、たとえば、溶接ガンの向きを変えるための動作時間が直線距離を移動する時間より大きくなるような角度変更となるような角度を進入角度のしきい値とする。   The threshold value of the approach angle is, for example, an angle that changes the angle so that the operation time for changing the direction of the welding gun becomes longer than the time for moving the linear distance.

これら(1)〜(3)の溶接点間の距離、加圧方向の角度、ガン進入方向の角度などのしきい値は、いずれも例示した以外に、溶接経路設計者の経験によって導くようにしてもよい。   The thresholds such as the distance between the welding points (1) to (3), the angle in the pressurizing direction, and the angle in the gun approach direction are all exemplified, and are derived based on the experience of the welding path designer. May be.

このような直線経路が成立するか否かを判断することで干渉チェックなどを実行する必要がなくなる。   By determining whether or not such a straight path is established, it is not necessary to perform an interference check or the like.

コンピューター11は、S4において2つの溶接点間が直線的に結べるか否かを調べた結果、直線的に結べるとなった場合(S5:YES)は、その直線経路の成立性を調べる(直線経路成立性チェック)(S6)。このS6においては、直線経路における溶接ガンとワークとの干渉チェックも行っている。この直線経路成立性チェックの詳細手順は後述する。   As a result of checking whether or not the two welding points can be linearly connected in S4, the computer 11 checks the establishment of the linear path (S5: YES). (Establishment check) (S6). In S6, an interference check between the welding gun and the workpiece in the straight path is also performed. The detailed procedure of this straight path feasibility check will be described later.

一方、コンピューター11は、S4において2つの溶接点間が直線的に結べるか否かを調べた結果、直線的に結べないとなった場合(S5:NO)は、その選択中の2つの溶接点を直線では結べない溶接点として記憶しておき(S20)、S2へ戻る。そしてコンピューター11は、このステップで次の溶接点があれば(S2:YES)、次の溶接点を選択する(S3)。この段階で、以前S3で選択された溶接点と今回S3で選択された溶接点とが2つの溶接点ということになる。そしてコンピューター11は以降の処理を継続する。   On the other hand, if the computer 11 checks whether or not the two welding points can be linearly connected in S4, and if it cannot be linearly connected (S5: NO), the two welding points currently selected are selected. Is stored as a welding point that cannot be connected by a straight line (S20), and the process returns to S2. If there is a next welding point in this step (S2: YES), the computer 11 selects the next welding point (S3). At this stage, the welding point previously selected in S3 and the welding point selected in S3 this time are two welding points. Then, the computer 11 continues the subsequent processing.

コンピューター11は、S6による直線経路成立性チェックの結果、成立と判断した場合(S7:YES)、その2つの溶接点間は直線的に結べる経路として記憶する(S8)。そしてコンピューター11は、S2へ戻り、以降の処理を継続する。   If the computer 11 determines that the straight path is established as a result of S6 (S7: YES), the computer 11 stores the two welding points as a path that can be connected linearly (S8). Then, the computer 11 returns to S2 and continues the subsequent processing.

一方、コンピューター11は、S6による直線経路成立性チェックの結果、成立と判断した場合(S7:NO)、その2つの溶接点を直線では結べない溶接点として記憶しておき(S20)、S2へ戻り、以降の処理を継続する。   On the other hand, if the computer 11 determines that the line path is established as a result of S6 (S7: NO), the computer 11 stores the two welding points as a welding point that cannot be connected by a straight line (S20), and goes to S2. Return and continue the subsequent processing.

コンピューター11は、S2において、次の溶接点がない(S2:NO)となった場合には、S20で記憶した溶接点があるか否かを判断し、ここで記憶した溶接点がない場合(S9:NO)、すなわち、直線的に結べなかった2つの溶接点が無ければ、すべての溶接点が直線的に結ばれた経路となるので、これを最終的な溶接経路として記憶する(S10)。そして処理は終了となる。   If the next welding point does not exist in S2 (S2: NO), the computer 11 determines whether there is a welding point stored in S20, and if there is no welding point stored here ( S9: NO), that is, if there are no two welding points that could not be linearly connected, all the welding points become a linearly connected path, and this is stored as the final welding path (S10). . Then, the process ends.

一方、S20で記憶した経路がある場合は(S9:YES)、コンピューター11は、S10で直線的に結べなかった2つの溶接点に対して別の経路を求める(S30)。この別経路の作成については後述する。コンピューター11は、S30による別経路作成後、最終的な経路を記憶して(S10)、すべての処理を終了する。   On the other hand, if there is a path stored in S20 (S9: YES), the computer 11 obtains another path for the two welding points that could not be linearly connected in S10 (S30). The creation of this alternative route will be described later. After creating another route in S30, the computer 11 stores the final route (S10) and ends all processing.

次に、図3を参照して溶接点間を直線的に結ぶ経路の成立性を調べる手順を説明する。   Next, a procedure for examining the feasibility of a path that linearly connects the welding points will be described with reference to FIG.

この手順は、上述したメインフローのS6のサブルーチンであり、直線的に結ぶ経路を作成する対象となった溶接点間の成立性をチェックする手順である。   This procedure is a subroutine of S6 of the main flow described above, and is a procedure for checking the feasibility between welding points that are targets for creating a linearly connecting route.

基本的には、直線的経路が成立するならばその経路を採用し、そうでなければ成立しないものとすることになる。   Basically, if a linear route is established, that route is adopted; otherwise, it is not established.

まず、コンピューター11は、干渉チェックトレランスを設定する(S61)。干渉チェックトレランスとは、干渉したと判断する基準値であり、干渉チェックの際に対象物同士がどの程度離れていればよいかを規定する距離(クリアランス)である。   First, the computer 11 sets interference check tolerance (S61). The interference check tolerance is a reference value for determining that interference has occurred, and is a distance (clearance) that defines how far the objects need to be separated during the interference check.

詳細は後述するが、本手順においては、干渉チェックの手順において、はじめはクリアランスを大きくしておき、干渉していると判断された場合には、クリアランスを徐々に小さくして繰り返し干渉チェックしている(つまり対象物同士の間隔を狭くしてチェックし直している)。このため、事前に設計者によってクリアランスの値は、大きな値から順に小さな値までが設定されている(縮小割合を設定しておいてもよい)。   Although details will be described later, in this procedure, in the interference check procedure, the clearance is initially increased, and if it is determined that there is interference, the clearance is gradually decreased and repeated interference checks are performed. (That is, check again by narrowing the space between objects). For this reason, the clearance value is set in advance from the largest value to the smallest value by the designer (a reduction ratio may be set in advance).

また、本実施形態では、干渉チェックする場所を複数の領域に分けて、各領域に適したクリアランスを設定している。さらにクリアランスの縮小量は、干渉チェックを行う対象物ごとに違えている。このため領域と対象物ごとにクリアランスの値と縮小した値があらかじめ設定されている(コンピューター11に記憶させている)。そしてこのS61では、クリアランスが最小値になるまで(S73)、順にS61の処理を行うごとに設定されるのである。   In this embodiment, the interference check place is divided into a plurality of areas, and a clearance suitable for each area is set. Furthermore, the amount of reduction of the clearance is different for each object to be checked for interference. For this reason, a clearance value and a reduced value are set in advance for each region and object (stored in the computer 11). And in this S61, it sets every time it performs the process of S61 in order until a clearance becomes the minimum value (S73).

なお、本手順では、後述するように干渉ありとされた場合に、クリアランスを小さくして繰り返すことになるが、あらかじめ決められた最小クリアランスに到達したか否かにより繰り返すか否かを判断している(S73)。したがって、繰り返しの回数は設定する必要はない。なお、これに代えて、クリアランスを所定の割合で減らすこともできる。そのような場合には、繰り返し回数を決めてその回数干渉チェックを行った後、繰り返しは終了となる(したがって、この場合、繰り返し回数をカウントする必要があるので、たとえばS61を処理した回数をカウントするとよい)。   In this procedure, when there is interference as will be described later, the clearance is repeated with a small clearance, but it is determined whether or not to repeat depending on whether or not a predetermined minimum clearance has been reached. (S73). Therefore, it is not necessary to set the number of repetitions. Alternatively, the clearance can be reduced at a predetermined rate. In such a case, after the number of repetitions is determined and the interference check is performed for the number of repetitions, the repetition ends (therefore, in this case, it is necessary to count the number of repetitions. It ’s good)

次に、溶接点の加圧方向と逆方向に距離を変えながら逃げ点を設定する(S62)。これは2つの溶接点のそれぞれ対して行う。図7および図8は逃げ点を説明する説明図である。   Next, the clearance point is set while changing the distance in the direction opposite to the pressurizing direction of the welding point (S62). This is done for each of the two weld points. 7 and 8 are explanatory diagrams for explaining the escape point.

図7に示すように、逃げ点は、通常、加圧方向と逆側に設定される。   As shown in FIG. 7, the escape point is normally set on the opposite side to the pressurizing direction.

図8(a)に示すように、サーボガン(溶接ガン)200は、可動部201と固定部202からなるハンド形状をしている。可動部201と固定部202には溶接チップ201aおよび202aが設けられている。ここでは溶接チップ201aおよび202aの部分を溶接ガン先端部ともいう。その他の部分は先端部以外という。また、図示しないが、干渉チェックの際にはこの溶接ガンが取り付けられているロボットの各部も干渉チェックの対象となる。   As shown in FIG. 8A, the servo gun (welding gun) 200 has a hand shape including a movable portion 201 and a fixed portion 202. The movable part 201 and the fixed part 202 are provided with welding tips 201a and 202a. Here, the portions of the welding tips 201a and 202a are also referred to as welding gun tips. The other parts are called other than the tip part. Although not shown in the figure, at the time of interference check, each part of the robot to which the welding gun is attached is also subject to interference check.

このようなサーボガン(溶接ガン)200は、溶接時加圧することでワーク100に接触するが、次の移動のために溶接チップをワークから離す必要がある。図8(b)に示すように、このワーク100から溶接チップ201aおよび202aが離れた状態の時に、固定部側の位置が逃げ点である。また、ワークの溶接点表面からこの逃げ点までの距離が逃げ点距離ngである。   Such a servo gun (welding gun) 200 comes into contact with the workpiece 100 by applying pressure during welding, but it is necessary to separate the welding tip from the workpiece for the next movement. As shown in FIG. 8B, when the welding tips 201a and 202a are separated from the workpiece 100, the position on the fixed portion side is a clearance point. The distance from the surface of the workpiece welding point to the escape point is the escape point distance ng.

逃げ点位置は、たとえば逃げ点距離ngとして最初10mmなど(最も使用される距離)に設定する。そして干渉チェックにより成立しなければ、逃げ点位置を少しずつ(たとえば1mmずつ)下げて(逃げ点距離ngを広くして)行くことになる(S72)。溶接点と逃げ点距離ngは溶接ガンの最大開き量(ストローク)を超えることはできない。これは逃げ点位置を下げれば(逃げ点距離ngを広げれば)、当然に、溶接ガンを開いた状態において可動部側の溶接チップ201aとワークとの距離が短くなる。このため逃げ点距離ngは溶接ガンの最大開き量(ストローク)を超えることはできず、最大開き量が逃げ点位置を設定する際の限界値になる(ただし、溶接する板厚や、最大開き時に可動部側の溶接チップ201aとワークとの接触しないようにすることを考慮すると、逃げ点位置を設定する際の限界値は、最大開き量よりも幾分(たとえば1mm程度)少なく設定することになる)。   The escape point position is initially set to 10 mm or the like (the most used distance) as the escape point distance ng, for example. If not satisfied by the interference check, the escape point position is lowered little by little (for example, by 1 mm) (by increasing the escape point distance ng) (S72). The welding point and clearance point distance ng cannot exceed the maximum opening amount (stroke) of the welding gun. If the clearance point position is lowered (if the clearance point distance ng is increased), naturally, the distance between the welding tip 201a on the movable portion side and the workpiece is shortened when the welding gun is opened. For this reason, the clearance point distance ng cannot exceed the maximum opening amount (stroke) of the welding gun, and the maximum opening amount becomes the limit value for setting the clearance point position (however, the thickness of the plate to be welded and the maximum opening amount) Considering that sometimes the contact between the welding tip 201a on the movable part side and the workpiece is not taken into consideration, the limit value for setting the clearance point position should be set somewhat smaller (for example, about 1 mm) than the maximum opening amount. become).

続いて、コンピューター11は、最大開き量(ストローク)の違う溶接ガンを設定する(S63)。開き量は溶接ガンの種類によって異なる。たとえば一般的な溶接ガンの場合、34mm、60mm、80mm、…というような値であり、これらはあらかじめ設定しておく(コンピューター11に記憶しておく)。最初に34mmの溶接ガンを設定し、次に60mmの溶接ガン、次に80mmの溶接ガンなどと徐々に大きな溶接ガンとなる順で設定することになる。これは最も大きな開き量の溶接ガンとなるまで(S71)まで繰り返すことになる。   Subsequently, the computer 11 sets welding guns having different maximum opening amounts (strokes) (S63). The opening amount varies depending on the type of welding gun. For example, in the case of a general welding gun, values such as 34 mm, 60 mm, 80 mm,... Are set in advance (stored in the computer 11). First, a 34 mm welding gun is set, then a 60 mm welding gun, then an 80 mm welding gun, and the like are set in the order of gradually increasing welding guns. This is repeated until the welding gun with the largest opening amount is reached (S71).

この溶接ガンの開き量を考慮して溶接点間の経路を作成することにより、直線的に結ぶ経路を高い確率で作成することができるようになる。   By creating the path between the welding points in consideration of the opening amount of the welding gun, it is possible to create a path that is linearly connected with high probability.

コンピューター11は、S61〜63の後、干渉チェックを行う(S64)。干渉チェックの手順は後述する。   The computer 11 performs an interference check after S61-63 (S64). The procedure of the interference check will be described later.

コンピューター11は、干渉チェックの結果、干渉がなければ(S65:YES)、この経路を直線経路として成立することを一時記憶(S66)してメインルーチンへ戻る。その後、メインルーチンではS7がYESとなり、以降の処理を継続することになる。   If there is no interference as a result of the interference check (S65: YES), the computer 11 temporarily stores that this route is established as a straight route (S66) and returns to the main routine. Thereafter, S7 is YES in the main routine, and the subsequent processing is continued.

一方、干渉チェックの結果、干渉するとなった場合(S65:NO)、コンピューター11は、この時点での溶接ガンの開き量があらかじめ設定されている開き量最大の溶接ガンか否かを判断する(S71)。溶接ガンの開き量については前述のとおりである。   On the other hand, if interference occurs as a result of the interference check (S65: NO), the computer 11 determines whether or not the welding gun opening amount at this time is the welding gun with the maximum opening amount (preliminary setting). S71). The opening amount of the welding gun is as described above.

コンピューター11は、S71の判断の結果、開き量が最大の溶接ガンが設定されていなければ、S63へ戻り、現在設定されている溶接ガンよりも次に大きな開き量の溶接ガンを設定する。そして以降の処理を継続する。   As a result of the determination in S71, if the welding gun having the maximum opening amount is not set, the computer 11 returns to S63 and sets the welding gun having the next larger opening amount than the currently set welding gun. Then, the subsequent processing is continued.

コンピューター11は、S71において、最大開き量の溶接ガンであると判断した場合(S71:YES)、続いて、逃げ点が前述のとおり、あらかじめ設定されている最も低い位置まで下げられているか否かを判断する(S72)。コンピューター11は、S72の判断の結果、この時点で逃げ点が最も低い位置(最下)に設定されていなければ、S62へ戻り現在設定されている逃げ点よりも低い位置となる逃げ点を設定する。そして以降の処理を継続する。   If the computer 11 determines in S71 that the welding gun has the maximum opening amount (S71: YES), then whether or not the escape point has been lowered to the lowest position set in advance as described above. Is determined (S72). As a result of the determination in S72, the computer 11 returns to S62 and sets an escape point that is lower than the currently set escape point if the escape point is not set to the lowest (bottom) position at this time. To do. Then, the subsequent processing is continued.

コンピューター11は、S72において、最下の逃げ点となっていると判断した場合は(S72:YES)、続いて、クリアランスが前述のとおり、あらかじめ設定されている最も小さな値か否かを判断する(S73)。コンピューター11は、S73の判断の結果、この時点でクリアランスが最も小さな値に設定されていなければ、S61へ戻り現在設定されている逃げ点よりも低い位置となる逃げ点を設定する。そして以降の処理を継続する。   If the computer 11 determines in S72 that it is the lowest escape point (S72: YES), it subsequently determines whether the clearance is the smallest value set in advance as described above. (S73). If the clearance is not set to the smallest value at this time as a result of the determination in S73, the computer 11 returns to S61 and sets a clearance point that is lower than the currently set clearance point. Then, the subsequent processing is continued.

コンピューター11は、S73において、クリアランスが最も小さな値に設定されていると判断した場合は、その時点で、これ以上干渉を回避できる各種設定は存在しないことになるので、この直線経路は不成立であることを一時記憶する(S74)。そして、メインルーチンへ戻る。その後、メインルーチンではS7がNOとなり、以降の処理を継続することになる。コンピューター11は、S73において、クリアランスが最小値ではないと判断した場合は、後述する干渉チェックにおいて干渉チェックありとされた対象物に対するクリアランスを小さくするように指示し(S75)、S61へ戻ることになる。S61においてコンピューター11は、後述する干渉チェックにおいて干渉チェックありとされた対象物に対するクリアランスを小さくするように設定することになる。その後処理を継続する。   If the computer 11 determines in S73 that the clearance is set to the smallest value, there are no various settings that can avoid further interference at that time, so this straight path is not established. This is temporarily stored (S74). Then, the process returns to the main routine. Thereafter, S7 becomes NO in the main routine, and the subsequent processing is continued. If the computer 11 determines in S73 that the clearance is not the minimum value, the computer 11 instructs to reduce the clearance for the object that has been checked for interference in the interference check described later (S75), and returns to S61. Become. In S <b> 61, the computer 11 is set so as to reduce the clearance with respect to the object for which the interference check is performed in the interference check described later. Thereafter, the processing is continued.

次に、図4を参照して干渉チェックの手順について説明する。   Next, an interference check procedure will be described with reference to FIG.

まず、コンピューター11は、干渉チェックする経路を領域分けする(S641)。ここでは直線経路上の各溶接点に着目して領域分けしている。(a)溶接点領域、(b)溶接点付近領域、(c)自由空間領域(すなわち溶接点付近領域外の領域)の3つの領域に分割している。図9は溶接点領域と溶接点付近領域を説明するためのワーク平面図である。   First, the computer 11 divides the path for interference check into regions (S641). Here, the region is divided by paying attention to each welding point on the straight path. The region is divided into three regions: (a) a welding point region, (b) a region near the welding point, and (c) a free space region (that is, a region outside the region near the welding point). FIG. 9 is a work plan view for explaining a welding point region and a region near the welding point.

(a)溶接点領域は、溶接チップがワークと接するごく近傍の部分であり、ここでは逃げ点距離(ワーク表面から逃げ点までの距離)を打点中心からの半径とする円周の範囲としている。この溶接点領域は溶接ガンの溶接作業によってワークと接する部分を含んでいるため、溶接ガン先端部とワークとの干渉チェックは行わない。ただし、溶接作業中でも治具・設備とは干渉してはならない。ガン先端部と治具・設備とはできるだけ接近した位置を通した方が効率が良い。このためこの領域ではできるだけ少ないクリアランスで干渉チェックすることになる(ここで用いるクリアランスについては後述する)。   (A) The welding point area is a portion in the vicinity of the welding tip in contact with the workpiece, and here, the clearance range (distance from the workpiece surface to the clearance point) is a circumferential range having a radius from the hit point center. . Since this welding point region includes a portion that comes into contact with the workpiece by the welding operation of the welding gun, the interference check between the welding gun tip and the workpiece is not performed. However, it should not interfere with jigs and equipment during welding work. It is more efficient to pass the gun tip and jig / equipment as close as possible. Therefore, the interference check is performed with as little clearance as possible in this region (the clearance used here will be described later).

(b)溶接点付近領域は、溶接点領域よりも外側であるが溶接点に近い部分である。ここでは、溶接点領域よりも外側で、かつ、少なくとも溶接チップ(すなわち溶接ガン先端部)の間にワークが侵入する位置までの距離を打点中心からの半径とした円周の範囲としている。言い換えると、少なくとも打点中心から溶接ガン侵入方向に引いた線上の打点中心からワーク端までの距離を半径とする円周範囲である(図8では侵入方向のワーク端までとして示している)。   (B) The region near the welding point is a portion that is outside the welding point region but close to the welding point. Here, it is set as the range of the circumference where the distance from the center of the hit point is the distance from the welding point region to the position where the workpiece enters at least between the welding tips (that is, the welding gun tip). In other words, it is a circumferential range in which the distance from the center of the hit point on the line drawn from the center of the hit point to the welding gun intrusion direction to the workpiece end is a radius (in FIG. 8, it is shown as the workpiece end in the intrusion direction).

溶接点付近領域は、このような円周範囲以上を含む領域とすればよい。しかも溶接点付近領域は、溶接チップの間にワークが侵入するぎりぎりの位置に設定する必要はない。しかし、あまり広いと後述する自由空間と変わらないものとなってしまう。そこで、本実施形態では、溶接ガン先端部を溶接点へ向かわせるために方向転換する位置または速度変化する位置であるアプローチ点まで拡大することとしている。   The region near the welding point may be a region including such a circumferential range or more. Moreover, it is not necessary to set the region near the welding point at the last position where the workpiece enters between the welding tips. However, if it is too wide, it will be the same as the free space described later. Thus, in the present embodiment, the approach is expanded to an approach point that is a position where the direction of the welding gun is changed or a speed is changed in order to make the welding gun tip end toward the welding point.

この溶接点付近領域は、溶接ガン先端部を溶接のためにワークに接近する必要があるため、ここでもできるだけ少ないクリアランス(詳細後述)にすることが好ましい。なお、ガン先端部以外は、大きめのクリアランスを確保でき、高速動作でも干渉しないようすることが好ましい。   In the vicinity of the welding point, the tip of the welding gun needs to be close to the workpiece for welding, so it is preferable that the clearance is as small as possible (details will be described later). It should be noted that, except for the tip of the gun, a large clearance can be secured, and it is preferable not to interfere even at high speed operation.

(c)自由空間は、上記(a)および(b)以外の領域である(不図示)。したがって、溶接点付近領域よりも外側で、ロボットの可動範囲内の領域となる。この自由空間では、溶接ガン先端部とワークが離れるため、溶接点付近領域よりも大きなクリアランスをとって、ロボットの高速動作ができるようにする。   (C) Free space is an area other than the above (a) and (b) (not shown). Accordingly, the region is outside the region near the welding point and within the movable range of the robot. In this free space, since the tip of the welding gun and the workpiece are separated, a clearance larger than that in the vicinity of the welding point is taken so that the robot can be operated at high speed.

次に、コンピューター11は、経路上に他の溶接点がないか否か調べる(S642)。その結果、他の溶接点がなければ(S643:YES)、そのまま次のS644へ進む。一方、経路上に他の溶接点がある場合((図8の場合)S643:NO)、コンピューター11は、検出した他の溶接点を無効にする(ないものとする)(S650)。その後、次のS644へ進む。これにより、他の溶接点に設定されている溶接点領域は存在しないものとなる。   Next, the computer 11 checks whether there is another welding point on the path (S642). As a result, if there is no other welding point (S643: YES), the process proceeds to the next S644 as it is. On the other hand, when there is another welding point on the path ((in the case of FIG. 8) S643: NO), the computer 11 invalidates (not assumes) the detected other welding point (S650). Thereafter, the process proceeds to the next S644. Thereby, the welding point area | region set to the other welding point does not exist.

従来の技術では、経路上に存在するが溶接動作を行わない溶接点についても、そのまま溶接点領域とされていたため干渉チェックされないこととなっていた。本実施形態ではS642の処理によって、このような溶接点であっても干渉チェックを行えるようにしている。   In the prior art, even a welding point that exists on the path but does not perform a welding operation is not subjected to an interference check because it is a welding point region as it is. In the present embodiment, the interference check can be performed even at such a welding point by the process of S642.

経路上に他の溶接点がないか否か調べる範囲は、直線経路を中心線とした溶接ガン先端部の到達範囲とする。これは、溶接ガン先端部の到達範囲内に他の溶接点がある場合、仮に、従来のようにその溶接点の干渉チェックを行わないとなれば、その部分に障害物があるとチェックしないことになってしまう。そこで、このような直線経路を中心線とした溶接ガン先端部の到達範囲に他の応接点がないか否を調べることで、このようなチェック漏れを回避できる。   The range for checking whether there is any other welding point on the path is the reach range of the welding gun tip with the straight path as the center line. This means that if there is another welding point within the reach of the welding gun tip, if there is no interference check for that welding point as in the past, it will not be checked that there is an obstacle in that part. Become. Therefore, such a check omission can be avoided by examining whether or not there is another contact point in the reach of the welding gun tip with the straight line as the center line.

次に、コンピューター11は、干渉チェック対象物を取得する(S644)。干渉チェックの対象物は、ロボット、溶接ガン先端部、そして溶接ガンの先端部以外、ワーク(パネル)、その他の治具・設備である。具体的には、(i)ロボットおよびガン先端部以外対ワーク、(ii)ロボットおよびガン先端部以外対治具・設備、(iii)溶接ガン先端部対ワーク、(iv)溶接ガン先端部対治具・設備の4通りの干渉チェックを行う。このS644においては、この(i)から(iv)の順に対象物のデータを読み出すことになる(後述S648)。なお、ワーク対治具・設備の干渉チェックは行わないが、ロボット対溶接ガン先端部の干渉チェックは行っても良い。   Next, the computer 11 acquires an interference check target (S644). The target of the interference check includes a robot, a welding gun tip, a workpiece (panel), and other jigs / equipment other than the welding gun tip. Specifically, (i) a workpiece other than the robot and the gun tip, (ii) a jig and equipment other than the robot and the gun tip, (iii) a welding gun tip against the workpiece, and (iv) a welding gun tip pair. Perform four types of interference checks for jigs and equipment. In S644, the data of the object is read out in the order from (i) to (iv) (S648 described later). Although the interference check between the workpiece and the jig / equipment is not performed, the interference check between the robot and the welding gun tip may be performed.

次に、コンピューター11は、S61で設定された領域、対象物ごとのクリアランス値を読み込んで設定する(S645)。   Next, the computer 11 reads and sets the clearance value for each area and object set in S61 (S645).

ここで、干渉チェックに使用するクリアランスの詳細について説明する。クリアランスの値は、基本的に下記のような考え方により決定している(あらかじめ設定している)。   Here, the detail of the clearance used for an interference check is demonstrated. The clearance value is basically determined based on the following concept (set in advance).

各領域、対象物ごとに、適切な量であってかつ少しで大きなクリアランスが確保できるように、徐々に小さな値となるようにしている。   For each region and object, an appropriate amount is set so that the value gradually becomes small so that a large clearance can be secured.

まず、(a)溶接点領域のクリアランスは、溶接ガン先端については、ワークとの干渉チャックは行わないものの、他の対象物との干渉チェックを行う。溶接ガン先端と他の対象物(治具・設備など)とのクリアランスはワークと常に近接した位置を移動させるため、ごく小さなクリアランスとしている。たとえば、最大で逃げ点距離程度である(溶接ガンが変更された場合は当然この値も変更される)。また、この領域はワークに近接しているため移動速度も遅いので、このようなごく小さなクリアランスが確保できれば問題ない。また、この領域における溶接ガン先端以外の部分やロボット部分のクリアランスは、移動中干渉しないように大きめに取ることが好ましい。しかし、先に説明したように、この部分での動作は遅いため自由空間ほど大きく取る必要はない。たとえば、ロボットの姿勢変更や溶接ガンの移動中における振動によって接触しない値に、最小の安全量を見込んだ程度を最小値とする。一方、最大値は特に限定されないが経験的に十分な値とすればよい。   First, (a) the clearance of the welding point region is checked for interference with other objects although the chuck of the welding gun is not performed at the welding gun tip. The clearance between the welding gun tip and other objects (such as jigs / equipment) is always very small because it moves to a position that is always close to the workpiece. For example, it is about the clearance point distance at the maximum (if the welding gun is changed, this value is also changed naturally). Further, since this area is close to the workpiece, the moving speed is slow, so there is no problem if such a small clearance can be secured. In addition, it is preferable that the clearance of the part other than the welding gun tip in this region and the clearance of the robot part be large so as not to interfere during movement. However, as described above, since the operation in this portion is slow, it does not have to be as large as free space. For example, the minimum value is assumed to be the minimum safe amount for the value that does not come into contact with vibrations during robot posture change or welding gun movement. On the other hand, the maximum value is not particularly limited, but may be a empirically sufficient value.

次に、(b)溶接点付近領域は、やはりワークと近接した領域であり、溶接ガン先端(溶接チップ部分)がワークなどに接触することがあってはならない。一方で、この領域は溶接ガンの先端部分以外の部分であっても可動部と固定部の間にワークが存在する。このため、この領域における溶接ガン先端部とワークとのクリアランスも、ごく小さな値とする。たとえば、最大で逃げ点距離程度である。また、溶接ガン先端部とワーク以外の他の対象物(冶具・設備など)とのクリアランスは先端部とワークとのクリアランスよりも大きくするものの、自由空間ほど大きくする必要はない(小さめのクリアランス)。これは、移動速度が遅いため、先端部の移動時における振動も少ないので、逃げ点距離を最小値とし、最大値は、経験的に他の対象物と接触することの十分な値とすればよい。   Next, (b) the area near the welding point is also an area close to the workpiece, and the tip of the welding gun (welding tip portion) must not contact the workpiece or the like. On the other hand, even if this region is a portion other than the tip portion of the welding gun, a work exists between the movable portion and the fixed portion. For this reason, the clearance between the welding gun tip and the workpiece in this region is also set to a very small value. For example, the maximum distance is about the clearance point. Also, the clearance between the welding gun tip and other objects (such as jigs and equipment) other than the workpiece is larger than the clearance between the tip and the workpiece, but it is not necessary to be as large as the free space (smaller clearance). . This is because the movement speed is slow, so there is little vibration when moving the tip, so the clearance distance should be the minimum value, and the maximum value should be sufficient to contact other objects empirically. Good.

また、この領域における溶接ガン先端以外の部分やロボット部分のクリアランスは、移動中干渉しないように大きめに取ることが好ましい。しかし、この部分での動作は遅いため自由空間ほど大きく取る必要はない。たとえば、ロボットの姿勢変更や溶接ガンの移動中における振動によって接触しない値に、最小の安全量を見込んだ程度を最小値とする。一方、最大値は特に限定されないが経験的に十分な値とすればよい。   In addition, it is preferable that the clearance of the part other than the welding gun tip in this region and the clearance of the robot part be large so as not to interfere during movement. However, since the operation in this part is slow, it does not have to be as large as free space. For example, the minimum value is assumed to be the minimum safe amount for the value that does not come into contact with vibrations during robot posture change or welding gun movement. On the other hand, the maximum value is not particularly limited, but may be a empirically sufficient value.

次に、(c)自由空間については、高速で溶接ガンおよびロボットの姿勢変化し、移動する。このため、すべての対象物に対して高速移動時に接触しない大きめのクリアランスを取る必要がある。これは、溶接ガンとワークの間も、溶接ガンとワーク以外の他の対象物(治具・設備など)の間も同じである。たとえば、ロボットの姿勢変化や溶接ガンを高速移動したときの振動などによって干渉しない程度の値に、安全量を見込んだ程度とする。また、経験上必要となる値としてもよい。   Next, (c) in the free space, the posture of the welding gun and the robot changes at high speed and moves. For this reason, it is necessary to provide a large clearance that does not come into contact with all objects when moving at high speed. This is the same between the welding gun and the workpiece and between the welding gun and other objects (such as jigs and equipment) other than the workpiece. For example, it is assumed that a safe amount is expected to a value that does not interfere with a change in posture of the robot or vibration when the welding gun is moved at high speed. Moreover, it is good also as a value required from experience.

以上のような考え方から、各領域、および対象物についてのクリアランスをまとめたものを表1〜3に示した。   Tables 1 to 3 show the summary of the clearances for each region and the object from the above-described way of thinking.

なお、溶接点間を直線的に結ぶ場合は途中経路が自由空間にあっても、ワークに接近しているケースが多いため、溶接点領域付近のクリアランスを使用する。溶接点からいったん引き抜く経路の場合は、溶接チップの位置によって領域を決め、使用するクリアランスを決める。   When connecting the welding points in a straight line, the clearance near the welding point region is used because there are many cases where the welding route is close to the workpiece even if the route is in free space. In the case of a route that is pulled out from the welding point, the area is determined by the position of the welding tip, and the clearance to be used is determined.

このようなクリアランス値を使用することにより、ガンがワークに近づき溶接を行う際は、ガンがワークに接近でき、ロボット・ガン(先端部以外)はワーク、治具・設備から規定のクリアランスを確保した経路を作成することができる。   By using such clearance values, when the gun approaches the workpiece and performs welding, the gun can approach the workpiece, and the robot / gun (other than the tip) secures the specified clearance from the workpiece, jig, and equipment. Route can be created.

図4へ戻り干渉チェック手順の説明を続ける。   Returning to FIG. 4, the description of the interference check procedure will be continued.

コンピューター11は、S644およびS645により干渉チェックする対象物と、それらのクリアランスを読み込んで設定したのち、干渉チェックを行う(S646)。   The computer 11 reads and sets an object to be checked for interference in S644 and S645 and their clearances, and then performs an interference check (S646).

干渉チェックは、経路上に存在する対象物すべてについて行う。たとえばこの段階で溶接点1から溶接点2まで直線経路が設定されているとする。そして対象物として溶接ガン先端部とワークが指定されていれば、溶接点1から溶接点2まで直線経路全体におけるワークの形状に対して、溶接ガン先端部が干渉しないか否かをチェックすることになる。同様に、対象物として溶接ガン先端部とワーク以外の対象物が指定されているとする。しかも、溶接点1から溶接点2までには、ワーク以外の対象物が複数あるとした場合、それら複数の対象物と溶接ガン先端部との干渉をチェックするのである。この時クリアランスはS645で読み込んだ値である。   The interference check is performed for all objects existing on the route. For example, it is assumed that a straight path is set from the welding point 1 to the welding point 2 at this stage. If the welding gun tip and the workpiece are specified as the object, check whether the welding gun tip does not interfere with the workpiece shape in the entire linear path from welding point 1 to welding point 2. become. Similarly, it is assumed that an object other than the welding gun tip and workpiece is designated as the object. In addition, when there are a plurality of objects other than the workpiece from the welding point 1 to the welding point 2, the interference between the plurality of objects and the welding gun tip is checked. At this time, the clearance is the value read in S645.

S646において、干渉がなければ(S647:YES)、次の対象物(上述(i)から(iv)の順)があるか否かを判断する(S648)。ここで次の対象物がなければ(S648:YES)、干渉なしを一時記憶して(S649)、S65へ戻る。その後S65では直線経路成立となる。   If there is no interference in S646 (S647: YES), it is determined whether or not there is a next object (in the order of (i) to (iv) described above) (S648). If there is no next object (S648: YES), the absence of interference is temporarily stored (S649), and the process returns to S65. Thereafter, in S65, a straight path is established.

一方、次の対象物ある場合(S648:NO)、S644へ戻り次の対象物を取得することになり、以降の処理を継続する。   On the other hand, if there is a next object (S648: NO), the process returns to S644 to acquire the next object, and the subsequent processing is continued.

S647において、干渉ありとなった場合(S647:YES)は、この段階で干渉ありを一時記憶して(S652)、S65へ戻る。その後S65ではNOとなるので、その後は既に説明したように、S71〜73の各判断に基づいて処理が継続されることになる。特に、溶接ガンの交換や逃げ点の変更でも干渉が回避できない場合には、S61において、クリアランスを小さな値に変更することになる。そして、さらに継続して干渉チェックを行うことになるのである。   If there is interference in S647 (S647: YES), the presence of interference is temporarily stored at this stage (S652), and the process returns to S65. After that, since NO is obtained in S65, the processing is continued based on the judgments in S71 to 73 as described above. In particular, if the interference cannot be avoided even by replacing the welding gun or changing the clearance point, the clearance is changed to a small value in S61. Then, the interference check is further continued.

ここで、クリアランスを段階的に小さくする理由をさらに説明する。   Here, the reason why the clearance is reduced stepwise will be further described.

干渉チェックを行うと、あるクリアランスでは成立する経路が求まらない場合がある。特にロボットおよび溶接ガン先端部以外とワーク(パネル)・治具・設備のクリアランスは大きめにしているため、治具・設備が密集し、空間が狭い場合に大きめのクリアランスを確保できない場合が多い。そのため、ガン先端部のクリアランスを確保して、経路を求めるため、ロボット・ガン先端部以外のクリアランスを少しずつ下げて、成立する経路を見つけて行く(クリアランスの段階的に小さくあるように変化させる)。これは、すなわちロボットおよび溶接ガン先端部以外と他の対象物のクリアランスは充分確保したいがそれが確保できない場合に、経路が作成できなくなるよりも、クリアランスが少し狭くても経路を作成できる方を優先するためである。   When an interference check is performed, there is a case where a route that is established with a certain clearance cannot be obtained. In particular, since the clearance between the workpiece (panel), jig, and equipment other than the robot and welding gun tip is large, there are many cases where large clearance cannot be secured when the jig and equipment are dense and the space is small. Therefore, in order to secure the clearance at the tip of the gun and determine the path, lower the clearance other than the tip of the robot / gun gradually and find the path that is established (change the clearance to be smaller in steps) ). This means that it is possible to create a route even if the clearance is a little narrower than when it is impossible to create a route when it is necessary to secure sufficient clearance between the object other than the robot and the tip of the welding gun, but it cannot be secured. This is to give priority.

このクリアランス変化は経路を見つけるための最終手段として行うものである。したがって、既に説明した手順のとおり、溶接ガンの開き量、逃げ点の変更の後に、クリアランスの小さくする指示を入れている(S73およびS75の処理)。つまり溶接点間を直線的に結ぶ経路の作成では、ガン開き量、逃げ点の位置を変えても充分なクリアランスが確保できない場合にクリアランスを小さくしているのである。この順番にしないと最初から小さいクリアランスでチェックすることと同じになってしまう。つまり、この順にすることで、初めからきわどいクリアランスでの経路作成ではなく、より広いクリアランスとなるように経路作成ができるのである。   This clearance change is performed as a final means for finding a route. Therefore, as described above, after changing the opening amount of the welding gun and the clearance point, an instruction to reduce the clearance is given (processing of S73 and S75). In other words, in the creation of a path that connects the welding points linearly, the clearance is reduced when sufficient clearance cannot be secured even if the amount of opening of the gun and the position of the escape point are changed. Otherwise, it would be the same as checking with a small clearance from the beginning. In other words, in this order, it is possible to create a route so as to provide a wider clearance, rather than creating a route with a critical clearance from the beginning.

また段階変化では大きめのクリアランスを徐々に小さくしていき、それ以外のクリアランスはそのままであるため、小さくしたクリアランスの値とそれ以外のクリアランスの値が同じになる時点がある。この場合、(i)その時点をクリアランス段階変化の限界とし、これ以上クリアランスを小さくすることができないとするか、(ii)これ以降、すべてのクリアランスを同時に小さくして行き(ロボットとガン先端クリアランスの逆転現象が発生しないように)、ある限界値まで行うかなどとするとよい。どちらを採用してもよいが、最終的にはすべてが極小のクリアランスで経路を作成することになる。   In addition, since the larger clearance is gradually reduced in the step change and the other clearances are left as they are, there are times when the value of the reduced clearance becomes the same as the value of the other clearances. In this case, (i) the current point is set as the limit of the clearance step change and the clearance cannot be further reduced, or (ii) all the clearances are reduced simultaneously thereafter (robot and gun tip clearance). In order to prevent the reversal phenomenon of the above), it is recommended to perform up to a certain limit value. Either method can be used, but in the end, all will create a route with minimal clearance.

このようにすることにより、充分なクリアランスを確保できる経路を最優先で作成し、それで作成できない場所でも未干渉の経路を作成できる確率が大きくなる。   By doing this, a route that can secure a sufficient clearance is created with the highest priority, and the probability that a non-interfering route can be created even in a place where it cannot be created.

以上の説明した手順によって溶接点間の経路を作成することにより、ロボットおよび溶接ガンと、ワーク、冶具や設備などとの間で、適切なクリアランスの距離(間隔)を設定することができ、しかも直線という溶接ガンの移動距離が短い経路を自動的に作成することができる。   By creating a path between welding points using the procedure described above, it is possible to set an appropriate clearance distance (interval) between the robot and welding gun and workpieces, jigs, equipment, etc. A path with a short movement distance of the welding gun, which is a straight line, can be automatically created.

次に、直線経路が作成できない場合について説明する。つまり前述したS20により、2つの溶接点を結べない溶接点として記憶した場合の処理である。   Next, a case where a straight route cannot be created will be described. That is, it is a process in the case where two welding points are stored as unweldable welding points by S20 described above.

ここではこのような直線経路が作成できない場合に、別経路を自動作成する一例を説明する。別経路作成に際しては、コンピューター11が後述する手順を実行することで別経路作成部として機能することになる。   Here, an example in which another route is automatically created when such a straight route cannot be created will be described. In creating another route, the computer 11 functions as a separate route creating unit by executing a procedure described later.

図10は、直線経路ができない場合の経路作成のイメージ図である。ここでは(a)初期状態のように溶接点1〜4があるとする。この(a)状態から溶接経路を作成した場合に、仮に(b)に示しように、溶接点1と2、3と4が直線経路を作成でき、溶接点3と4は直線経路を作成できなかったとする。このような場合に、(c)に示すように、溶接点3と4の間に直線ではない別経路を作成するのである。   FIG. 10 is an image diagram of route creation when a straight route is not possible. Here, it is assumed that there are welding points 1 to 4 as in (a) the initial state. When a welding path is created from this state (a), as shown in (b), welding points 1, 2, 3, and 4 can create a straight path, and welding points 3 and 4 can create a straight path. Suppose there wasn't. In such a case, another path that is not a straight line is created between the welding points 3 and 4 as shown in FIG.

このためには、一端溶接ガンをワークから引き抜く必要があるので、引き抜き経路を作成することになる。引き抜き経路は、溶接ガンを確実に溶接点およびワーク(パネル)から離すことができるように、溶接点から下がり、ワーク端からその外側へ引き抜く経路が必要である。   For this purpose, it is necessary to pull out the welding gun at one end from the workpiece, so that a drawing path is created. The pulling path requires a path that descends from the welding point and pulls outward from the workpiece end so that the welding gun can be reliably separated from the welding point and the workpiece (panel).

さらに、別経路として、引き抜き経路間を接続する回避経路が必要となる。すなわち、別経路は引き抜き経路と回避経路からなる。ここでは、さらに、開始側原位置〜最初の溶接点、最後の溶接点〜終了側原位置も作成する。回避経路は溶接ガンが既にワークから離れているため、干渉を回避できる経路であればよい。   Furthermore, as another route, an avoidance route that connects the drawing routes is required. In other words, the separate route includes an extraction route and an avoidance route. Here, the starting side original position to the first welding point and the last welding point to the end side original position are also created. The avoidance path may be any path that can avoid interference because the welding gun is already away from the workpiece.

引き抜き経路の作成手順を説明する。図11は引き抜き経路の作成手順を説明するフローチャートである。   A procedure for creating the extraction route will be described. FIG. 11 is a flowchart for explaining a procedure for creating a drawing path.

まず、コンピューター11は、引き抜き経路を作成する溶接点を1つ取り出す(S201)。これは、S20で記憶した2つの溶接点のうちの1つとなる。   First, the computer 11 takes out one welding point for creating a drawing path (S201). This is one of the two welding points stored in S20.

次に、コンピューター11は、引き抜き経路を作成する(S202)。この処理の詳細は後述する。   Next, the computer 11 creates an extraction route (S202). Details of this processing will be described later.

次に、コンピューター11は、引き抜き経路を作成できたか否かを判断する(S203)。ここでコンピューター11は、引き抜き経路を作成できたならその経路を採用する(S204)。採用した引き抜き経路は一時記憶しておく。   Next, the computer 11 determines whether or not the extraction route has been created (S203). Here, if the computer 11 can create the extraction route, the computer 11 adopts the route (S204). The extracted extraction route is temporarily stored.

次に、コンピューター11は、次の引き抜き経路を作成する溶接点がないか検索する(S205)。次の溶接点がなければ(S206:YES)、終了となる。一方、次の溶接点があれば(S206:NO)、S201へ戻り、コンピューター11は、検索により見つかった溶接点を取り出す。その後、コンピューター11は、以降の処理を継続する。コンピューター11は、S203で引き抜き経路作成不能であれば(S203:NO)、その旨を記録して(S207)、次の引き抜き経路を作成する溶接点に移る。S207で記録した引き抜き経路作成不能の点は、すなわち、別経路作成不能の溶接点ということになる。したがって、その旨をコンピューター11において表示して、設計者に知らせるようにする。   Next, the computer 11 searches for a welding point for creating the next drawing path (S205). If there is no next welding point (S206: YES), it will be complete | finished. On the other hand, if there is a next welding point (S206: NO), the process returns to S201, and the computer 11 takes out the welding point found by the search. Thereafter, the computer 11 continues the subsequent processing. If the computer 11 cannot create the drawing path in S203 (S203: NO), the computer 11 records that fact (S207) and moves to the welding point for creating the next drawing path. The point where the drawing path cannot be created recorded in S207 is a welding point where another path cannot be created. Therefore, the fact is displayed on the computer 11 to inform the designer.

次に、引き抜き経路作成手順の詳細を説明する。図12は引き抜き経路の作成手順の詳細を説明するサブルーチンフローチャートである。このフローはS202のサブルーチンである。また、図13は引き抜き経路の作成の際の動作を説明するための説明図である。   Next, the details of the extraction route creation procedure will be described. FIG. 12 is a subroutine flowchart for explaining the details of the procedure for creating the extraction path. This flow is a subroutine of S202. FIG. 13 is an explanatory diagram for explaining the operation in creating the extraction path.

まず、コンピューター11は、引き抜き経路の干渉チェックトレランスを設定する(S301)。これには直線的に結ぶ経路を作成する場合と同様に干渉チェックトレランスを設定する。したがって、2回目以降このS301へくるたびに徐々にクリアランスを小さくして行くことになる。そして、コンピューター11は、クリアランスをこれ以上小さくできない場合は(S302:YES)、引き抜き経路作成不能(S312)として、処理を終了する。引き抜き経路作成不能(S312)になればすなわち、別経路の作成自体が不可能となるので、その旨表示してすべての処理を終わるようにしてもよい(以下S312へ来た場合は同様)。一方、S302においてさらにクリアランスを小さくできる場合には、以降の処理を継続することになる。   First, the computer 11 sets the interference check tolerance of the extraction path (S301). In this case, the interference check tolerance is set in the same manner as in the case of creating a straight line route. Therefore, the clearance is gradually reduced every time the process proceeds to S301 after the second time. If the clearance cannot be further reduced (S302: YES), the computer 11 determines that the extraction path cannot be created (S312) and ends the process. If it becomes impossible to create the extraction route (S312), that is, the creation of another route is impossible, so that it may be displayed and all the processing may be terminated (the same applies to the case of coming to S312). On the other hand, if the clearance can be further reduced in S302, the subsequent processing is continued.

次に、コンピューター11は、溶接点の加圧方向と逆方向に逃げ点1を設定する(S303)。これも直線的に結ぶ経路を作成する場合と同様に加圧方向と逆方向のある位置に逃げ点を作成する。引き抜き経路の場合、図13(a)に示すように、溶接点直下の逃げ点を「逃げ点1」とする。また2回目以降このS303へくるたびに徐々に逃げ点を下げることになる。そして、コンピューター11は、逃げ点をこれ以上下げることができないと判断した場合は(S304:YES)、引き抜き経路作成不能(S312)として処理を終了する。一方、S304においてさらに逃げ点を下げることができる場合には、以降の処理を継続することになる。   Next, the computer 11 sets the escape point 1 in the direction opposite to the pressurizing direction of the welding point (S303). In this case, a clearance point is created at a position in the direction opposite to the pressurizing direction as in the case of creating a straight line. In the case of the drawing path, as shown in FIG. 13A, the escape point immediately below the welding point is defined as “escape point 1”. In addition, the escape point is gradually lowered every time the process proceeds to S303 after the second time. If the computer 11 determines that the escape point cannot be lowered any more (S304: YES), the computer 11 ends the process as drawing path creation impossible (S312). On the other hand, if the escape point can be further lowered in S304, the subsequent processing is continued.

次に、コンピューター11は、逃げ点1から至る逃げ点2を設定する(S305)。「逃げ点2」は、溶接ガンを溶接点から離すための逃げ点である。この時、逃げ点1〜2までの距離を設定する。この距離の初期値は溶接ガンがワークから充分離れる距離とし、初期値で成立しない場合は、2回目以降このS305へくるたびに少しずつ短くしていく。そして、コンピューター11は、逃げ点1から2の距離をこれ以上短くできない場合は(S306:YES)、引き抜き経路作成不能(S312)として処理を終了する。一方、S306においてさらに逃げ点1から2の距離を短くできる場合には、以降の処理を継続する。   Next, the computer 11 sets the escape point 2 from the escape point 1 (S305). “Escape point 2” is an escape point for separating the welding gun from the welding point. At this time, the distance to the escape points 1-2 is set. The initial value of this distance is the distance at which the welding gun can be charged and separated from the workpiece. If the initial value is not satisfied, the distance is shortened little by little every time it comes to S305. If the distance from the escape point 1 to 2 cannot be further shortened (S306: YES), the computer 11 terminates the processing as a drawing path cannot be created (S312). On the other hand, if the distance from the escape points 1 to 2 can be further shortened in S306, the subsequent processing is continued.

次に、コンピューター11は、逃げ点2の方向を設定し、この段階で溶接点〜逃げ点1〜逃げ点2の経路も設定する(S307)。逃げ点2の方向を設定するには、図13(c)に示すように、初期値はワークから垂直に離れる方向とし、初期値で成立しない場合は、逃げ点1を中心とし初期値から角度をつけていく。角度をつける方向(回転方向)は、時計回り、反時計回りのいずれでもよいが、一方に回転させて、不可能の場合には初期値に戻り版端方向に角度をつけるようにしてもよい。   Next, the computer 11 sets the direction of the escape point 2, and also sets the path from the welding point to the escape point 1 to the escape point 2 at this stage (S307). In order to set the direction of the escape point 2, as shown in FIG. 13C, the initial value is set to a direction away from the workpiece vertically, and when the initial value does not hold, the angle from the initial value with the escape point 1 as the center. Keep on. The direction of the angle (rotation direction) may be either clockwise or counterclockwise, but it may be rotated in one direction, and if it is not possible, it returns to the initial value and the angle is set in the plate edge direction. .

初期値で成立しない場合は、2回目以降このS307へくるたびに角度をつけて行くことになる。コンピューター11は、これ以上回転できなくなれば(S308:YES)、引き抜き経路作成不能(S312)として処理を終了する。一方、S308においてさらに回転可能であれば、以降の処理を継続することになる。   If the initial value is not satisfied, an angle is added each time the process proceeds to S307 after the second time. If the computer 11 cannot rotate any more (S308: YES), the computer 11 terminates the process because it is impossible to create the extraction path (S312). On the other hand, if further rotation is possible in S308, the subsequent processing is continued.

そして、S307においては、ここまでの情報から、溶接点〜逃げ点1〜逃げ点2の経路を設定する。溶接点〜逃げ点1〜溶接点2の経路は、図13(d)に示すように、溶接点〜逃げ点1の経路を設定し、次に、この溶接点〜逃げ点1の経路と直角に逃げ点1〜逃げ点2を作成する。   In S307, the route from the welding point to the escape point 1 to the escape point 2 is set from the information so far. As shown in FIG. 13D, the path from the welding point to the relief point 1 to the welding point 2 is set to the path from the welding point to the relief point 1, and then, the path from the welding point to the relief point 1 is perpendicular. Create escape point 1 and escape point 2.

次に、コンピューター11は、ガン開き量(ストローク)を考慮して、経路の成立性を調べる(S309および310)。これは、直線に結ぶ経路を作成する場合と同様であり、上記までで作成した仮経路(溶接点〜逃げ点1〜逃げ点2)があらかじめ設定した各種開き量のガンにて成立するかを順次調べる。   Next, the computer 11 examines the feasibility of the route in consideration of the gun opening amount (stroke) (S309 and 310). This is the same as the case of creating a route connecting to a straight line, and it is determined whether the temporary route (welding point to relief point 1 to relief point 2) created up to this point is established with guns of various opening amounts set in advance. Check sequentially.

成立性のチェックは、すなわち、溶接点〜逃げ点1〜逃げ点2の経路において干渉チェックを行うことになる。   In other words, the check of establishment is performed by performing an interference check in the path from the welding point to the escape point 1 to the escape point 2.

すべての開き量の溶接ガンにて成立しなければ、S309に戻ってより開き量の大きな溶接ガンに交換し、成立性のチェックを行うことになる。溶接ガンを交換しても(最も大きな開き量のガンを付けても)、成立しなければ、S307へ戻り逃げ点2の方向を再設定し、成立性のチェックを行うことになる。さらに逃げ点2の方向を再設定しても成立しなければS303へ戻り、逃げ点を下げて成立性のチェックを行うことになる。さらに逃げ点を下げても成立しなければ、S301へ戻りクリアランスを縮小して成立性のチェックを行うことになる。   If the welding gun does not hold for all the opening amounts, the process returns to S309 to replace the welding gun with a larger opening amount, and the feasibility is checked. If the welding gun is exchanged (even if the gun with the largest opening amount is attached), if it is not established, the process returns to S307, the direction of the escape point 2 is reset, and the feasibility is checked. Further, if it does not hold even if the direction of the escape point 2 is reset, the process returns to S303, and the establishment is checked by lowering the escape point. If it does not hold even if the clearance point is further lowered, the process returns to S301 to reduce the clearance and check the feasibility.

以上のようにして、ガンの開き量を考慮し、様々な距離・方向で逃げ点2を設定し、経路を探索にすることにより、引き抜き経路を高い確率で作成することができる。   As described above, by considering the opening amount of the gun, setting the escape point 2 in various distances and directions, and searching for the route, the extraction route can be created with a high probability.

次に、回避経路の作成手順を説明する。図14は回避経路の作成手順を説明するフローチャートである。回避経路は、対象とする2点間(原位置〜最初の溶接点の逃げ点2、直線的に結べなかった経路の引き抜き経路の逃げ点2同士の間、最後の溶接点の逃げ点2〜終了原位置)で作成する。   Next, a procedure for creating an avoidance route will be described. FIG. 14 is a flowchart for explaining a procedure for creating an avoidance route. The avoidance path is between two target points (from the original position to the first welding point escape point 2, between the escape points 2 of the extraction path of the path that could not be linearly connected, and the last welding point escape point 2 Create at end position).

まず、コンピューター11は、回避経路を作成する点を2つ取り出す(S401)。2つの点は、原位置、上記引き抜き経路作成で作った逃げ点2などである。つまり、原位置から回避経路であれば、最初の溶接点の逃げ点2を取り出す。上記回避経路として作った溶接点3および4の回避経路であれば、溶接点3の逃げ点2と溶接点4の逃げ点2を取り出すことになる。その他の回避経路も同様である。   First, the computer 11 takes out two points for creating an avoidance route (S401). The two points are the original position, the escape point 2 created by the above drawing route creation, and the like. That is, if it is an avoidance path from the original position, the escape point 2 of the first welding point is taken out. If it is the avoidance path of the welding points 3 and 4 made as the avoidance path, the escape point 2 of the welding point 3 and the escape point 2 of the welding point 4 are taken out. The same applies to other avoidance routes.

次に、コンピューター11は、回避経路を作成する(S402)。ここでは、取得した2点間の経路の成立性もチェックするが、基本的にワークから離れている部分であるので、一般的に知られている経路設定を行えばよい。たとえば一般的に知られている経路計画(ロードマップ法など:参考書籍 Robot Motion Planning 著 Latombe 1991版など)を用いて作成することができる。もちろん、本実施形態として説明した干渉チェック方法により行ってもよい。   Next, the computer 11 creates an avoidance route (S402). Here, the feasibility of the route between the two acquired points is also checked, but since it is basically a part away from the workpiece, generally known route setting may be performed. For example, it can be created using a generally known route plan (road map method or the like: reference book, Robot Motion Planning, Latombe 1991 edition or the like). Of course, the interference check method described as the present embodiment may be used.

次に、コンピューター11は、回避経路を作成できたか否かを判断する(S403)。ここで回避経路を作成できたならその経路を採用する(S404)。コンピューター11は、S403で回避経路作成不能であれば(S403:NO)、その旨を記録して(S407)、次の回避経路作成に移る。S407で記録した回避経路作成不能の点は、すなわち、別経路作成不能の溶接点ということになる。したがって、その旨をコンピューター11において表示して、設計者に知らせるようにする。   Next, the computer 11 determines whether an avoidance route has been created (S403). If an avoidance route can be created here, that route is adopted (S404). If the avoidance path cannot be created in S403 (S403: NO), the computer 11 records that fact (S407) and proceeds to the next avoidance path creation. The point where the avoidance path cannot be created recorded in S407 is a welding point where another path cannot be created. Therefore, the fact is displayed on the computer 11 to inform the designer.

次に、コンピューター11は、次の回避経路を作成する点がないか検索する(S405)。次の回避経路作成点がなければ(S406:YES)、終了となる。一方、次の回避経路作成点があれば(S406:NO)、S401へ戻り、検索により見つかった回避経路作成点を取り出すことになり、以降の処理を継続する。   Next, the computer 11 searches for a point to create the next avoidance route (S405). If there is no next avoidance route creation point (S406: YES), the process ends. On the other hand, if there is a next avoidance route creation point (S406: NO), the process returns to S401, and the avoidance route creation point found by the search is taken out, and the subsequent processing is continued.

図15は、以上説明した引き抜き経路と回避経路作成のイメージ図である。まず図15(a)に示したように引き抜き経路が作成されて、続いて図15(b)に示したように回避経路が作成されることになる。   FIG. 15 is an image diagram of the extraction route and the avoidance route creation described above. First, an extraction route is created as shown in FIG. 15 (a), and then an avoidance route is created as shown in FIG. 15 (b).

なお、本実施形態では、別経路を自動作成することとしたが、これはあくまでも一例であり、直線で結ぶことができない2つの溶接点に対しては、設計者によって手動で別経路を作成するようにしても差し支えない。   In this embodiment, another route is automatically created. However, this is merely an example, and for a weld point that cannot be connected by a straight line, another route is manually created by the designer. You can do that.

以上説明した実施形態による効果を説明する。   The effect by embodiment described above is demonstrated.

(1)経路を設定する2つ溶接点の間に、溶接動作しない他の溶接点がある場合、従来であれば、あらかじめ溶接点のある部分に対しては、干渉チェックしないようにしていたが、本実施形態では、このような他の溶接点の領域を無効となるようにした。これにより経路を設定する2つ溶接点の間に、溶接動作しない他の溶接点があっても、確実に干渉チェックを行うことができる。したがって、その経路では溶接を実行しない溶接点があっても、その部分で不用意に溶接ガン先端(特に溶接チップ)がワークと接触するようなことを防止することができる。   (1) When there is another welding point that does not perform welding operation between two welding points that set the path, conventionally, the interference check is not performed on the portion having the welding point in advance. In this embodiment, the region of such other welding points is made invalid. Thus, even if there is another welding point that does not perform the welding operation between the two welding points that set the path, the interference check can be surely performed. Therefore, even if there is a welding point where welding is not performed in the path, it is possible to prevent the tip of the welding gun (particularly the welding tip) from coming into contact with the workpiece inadvertently at that portion.

(2)溶接点を中心として逃げ点相当の距離を半径とする領域を溶接点領域として設定し、さらに、溶接点中心から、少なくとも溶接ガンの開いた部分にワークが侵入するワーク端までの距離を半径とする溶接点付近領域を設定することとした。このように溶接点に着目してワーク上およびワーク外の領域を設定することで、それぞれに適した干渉チェックを行うことができる。   (2) A region having a radius corresponding to the clearance point from the welding point as a radius is set as the welding point region, and further, the distance from the center of the welding point to the workpiece end where the workpiece enters at least the open part of the welding gun. We decided to set the area near the welding point with a radius of. In this way, by focusing on the welding points and setting areas on the workpiece and outside the workpiece, an interference check suitable for each can be performed.

(3)設定した各領域に対しては、溶接点付近領域内と溶接点付近領域外(自由空間部分)で異なるクリアランスの値を設定することとした。これによりワーク内の領域においては、干渉を回避しつついもより近い位置を移動させることができ、一方、ワーク外においてはより大きなクリアランスとすることで、高速移動に適した干渉チェックを行うことができる。   (3) For each set region, a different clearance value is set in the region near the welding point and outside the region near the welding point (free space portion). As a result, it is possible to move closer positions while avoiding interference in the area inside the workpiece, while it is possible to perform interference check suitable for high-speed movement by setting a larger clearance outside the workpiece. it can.

(4)干渉チェックした結果、干渉ありとなった場合には、その経路におけるクリアランスの値を小さくして再度干渉チェックすることとした。これにより、複雑に入り組んだワーク形状や治具・設備などの配置されている場合などでも、直線的な経路すなわち最短経路を作成することが可能となる。   (4) If there is interference as a result of the interference check, the interference is checked again by reducing the clearance value in the route. This makes it possible to create a straight path, that is, the shortest path, even when complicated work shapes, jigs, and facilities are arranged.

(5)さらに干渉チェックした結果、2つの溶接点間を直線経路として作成できない場合に、そのような2つの溶接点間は別経路を作成することとした。特に、この別経路の作成において、溶接点の直下に逃げ点1、この逃げ点1からワーク外の位置に逃げ点2を作成するものである。そして、逃げ点2の位置は逃げ点1を中心に回転させて成立する位置を求めることとした。このような別経路の作成により、直線では結ぶことのできない2点間であっても、別経路を自動作成することが可能となる。   (5) Further, as a result of further interference check, when a path between two welding points cannot be created as a straight path, another path is created between the two welding points. In particular, in creating this separate path, a flank point 1 is created immediately below the welding point, and a flank point 2 is created from the flank point 1 to a position outside the workpiece. Then, the position of the escape point 2 is determined by rotating around the escape point 1. By creating such another route, it is possible to automatically create another route even between two points that cannot be connected by a straight line.

以上本発明を適用した実施形態、主に、工具が溶接ガンであり、当該工具により作業する作業点が溶接点である場合について説明した。しかし、本発明は、上記実施形態に限定されない。たとえば、ロボットにより行う作業には、溶接以外の接合も含まれる。接合には、溶接以外に、たとえば、接着、ネジ止め等が含まれる。さらに、作業には、接合以外にも、穴あけ(パンチ)、刻印、染色、マーキング、測定等も含まれる。これらの作業を実行するために、ロボットには様々な工具が取り付けられる。このような各種の工具による作業についても、上記実施形態に説明した作業経路作成装置、作業経路作成手順および作業経路作成プログラムは適用できる。   As described above, the embodiment to which the present invention is applied, mainly the case where the tool is a welding gun and the work point operated by the tool is a welding point, has been described. However, the present invention is not limited to the above embodiment. For example, the work performed by the robot includes joining other than welding. Joining includes, for example, adhesion, screwing, and the like in addition to welding. Further, the work includes drilling (punching), engraving, dyeing, marking, measurement and the like in addition to joining. In order to perform these operations, various tools are attached to the robot. The work route creation device, the work route creation procedure, and the work route creation program described in the above embodiment can also be applied to work using such various tools.

また本実施形態において説明した手順を含むプログラムは、コンピューター読み取り可能な記録媒体に記憶しておいてもよい。この記録媒体からコンピューターにプログラムをインストールすることで作業経路作成装置としての機能を実施することができる。このような記録媒体としては、特に限定されないが、たとえば、光ディスク(CD−ROM、DVD等)、磁気ディスクなどをあげることができる。また、コンピューターにネットワークによって接続されているサーバーなども記録媒体となる。   Further, the program including the procedure described in this embodiment may be stored in a computer-readable recording medium. A function as a work route creation device can be implemented by installing a program from this recording medium into a computer. Such a recording medium is not particularly limited, and examples thereof include an optical disk (CD-ROM, DVD, etc.), a magnetic disk, and the like. A server connected to a computer via a network is also a recording medium.

本発明は特許請求の範囲によって解釈されるものであって、溶接の適用例である上述した実施形態に限定的に解釈されるものではない。   The present invention is construed by the claims, and is not construed as being limited to the above-described embodiment which is an application example of welding.

さらに、本出願は、2013年9月18日に出願された日本特許出願番号2013−193537号に基づいており、それらの開示内容は、参照され、全体として、組み入れられている。   Furthermore, this application is based on the JP Patent application number 2013-193537 for which it applied on September 18, 2013, The content of those indications is referred and is incorporated as a whole.

1〜4 作業点(溶接点)、
11 コンピューター、
12 サーバー、
13 ネットワーク、
14 ロボットコントローラー、
100 ワーク(パネル)、
200 サーボガン(工具:溶接ガン)、
201 可動部、
202 固定部、
201a、202a 溶接チップ。
1-4 working points (welding points),
11 Computer,
12 servers,
13 network,
14 Robot controller,
100 work (panel),
200 Servo gun (tool: welding gun),
201 movable part,
202 fixing part,
201a, 202a Welding tips.

Claims (22)

複数の作業点から2つの作業点を選択して当該2つの作業点を結ぶ経路を設定する作業点選択部と、
少なくとも前記2つの作業点を除く前記複数の作業点に対して干渉チェックの際に干渉チェックしない作業点領域を設定する領域設定部と、
前記選択した2つの作業点の間に他の作業点がある場合に、当該他の作業点に設定された前記作業点領域は無効とする作業点領域無効部と、
前記2つの作業点を結ぶ経路を干渉チェックする干渉チェック部と、
を有する作業経路作成装置。
A work point selector that selects two work points from a plurality of work points and sets a route connecting the two work points;
An area setting unit that sets a work point area that does not perform interference check when performing interference check on the plurality of work points excluding at least the two work points;
When there is another work point between the two selected work points, the work point area invalid part which invalidates the work point area set to the other work point;
An interference check unit for performing an interference check on a route connecting the two work points;
A work route creation device having
前記作業点は、複数の部材を接合する接合作業を行うための接合点である請求項1に記載の作業経路作成装置。   The work path creation device according to claim 1, wherein the work point is a joint point for performing a joint work for joining a plurality of members. 前記接合点は溶接点である請求項2に記載の作業経路作成装置。   The work path creation device according to claim 2, wherein the joining point is a welding point. 前記領域設定部は、溶接点を中心として逃げ点相当の距離を半径とする領域を前記溶接点領域として設定し、
さらに、溶接点中心から、少なくとも溶接ガンの開いた部分にワークが侵入するワーク端までの距離を半径とする溶接点付近領域を設定する請求項3に記載の作業経路作成装置。
The region setting unit sets, as the welding point region, a region having a radius corresponding to a clearance point around the welding point as a radius,
The work path creation device according to claim 3, further comprising a welding point vicinity region having a radius from a center of the welding point to a workpiece end where the workpiece enters at least a portion where the welding gun is open.
前記干渉チェック部は、干渉チェックの際に溶接ガン先端部とワークとのクリアランスとして、前記溶接点付近領域内と前記溶接点付近領域外の領域とで異なるクリアランスの値を設定して干渉チェックする請求項4に記載の作業経路作成装置。   The interference check unit performs interference check by setting different clearance values in a region near the welding point and a region outside the region near the welding point as a clearance between the welding gun tip and the workpiece during the interference check. The work route creation device according to claim 4. 前記干渉チェック部は、干渉チェックした結果、干渉ありとなった場合、その経路におけるクリアランスの値を小さくして再度干渉チェックする請求項1〜5のいずれか一つに記載の作業経路作成装置。   The work path creation device according to claim 1, wherein the interference check unit performs interference check again by reducing a clearance value in the path when interference occurs as a result of the interference check. 前記干渉チェック部による干渉チェックした結果、前記選択した2つの作業点間を直線の経路として作成できない場合に、前記選択した2つの作業点間を別の経路を作成する別経路作成部をさらに有し、
前記別経路作成部は、前記別経路を作成する作業点の直下に逃げ点1を作成し、当該逃げ点1からワーク外の位置に逃げ点2を作成するものであり、さらに前記逃げ点2の位置は前記逃げ点1を中心に回転させて成立する位置を求める請求項1〜6のいずれか一つに記載の作業経路作成装置。
As a result of the interference check by the interference check unit, when another path between the two selected work points cannot be created as a straight path, there is further provided another path creation unit for creating another path between the two selected work points. And
The separate path creation unit creates a clearance point 1 immediately below the work point for creating the separate path, creates a clearance point 2 from the clearance point 1 to a position outside the workpiece, and further the clearance point 2 The work path creation device according to claim 1, wherein the position is obtained by rotating around the escape point 1.
複数の作業点から2つの作業点を選択して当該2つの作業点を結ぶ経路を設定する段階と、
少なくとも前記2つの作業点を除く前記複数の作業点に対して干渉チェックの際に干渉チェックしない作業点領域を設定する段階と、
前記選択した2つの作業点の間に他の作業点がある場合に、当該他の作業点に設定された前記作業点領域は無効とする段階と、
2つの作業点を結ぶ経路を干渉チェックする段階と、
を有する作業経路作成方法。
Selecting two work points from a plurality of work points and setting a route connecting the two work points;
Setting a work point area where interference check is not performed when performing interference check on the plurality of work points excluding at least the two work points;
When there is another work point between the two selected work points, invalidating the work point area set to the other work point;
Checking the path connecting the two work points for interference;
A method for creating a work route.
前記作業点は、複数の部材を接合する接合作業を行うための接合点である請求項8に記載の作業経路作成方法。   The work route creation method according to claim 8, wherein the work point is a joint point for performing a joint work for joining a plurality of members. 前記接合点は溶接点である請求項9に記載の作業経路作成方法。   The work path creation method according to claim 9, wherein the joining point is a welding point. 前記干渉チェックしない溶接点領域を設定する段階は、溶接点を中心として逃げ点相当の距離を半径とする領域を前記溶接点領域として設定し、
さらに、溶接点中心から、少なくとも溶接ガンの開いた部分にワークが侵入するワーク端までの距離を半径とする溶接点付近領域を設定する請求項10に記載の作業経路作成方法。
The step of setting the welding point region that does not perform the interference check, the region having a radius equivalent to the escape point centered on the welding point is set as the welding point region
The work path creation method according to claim 10, further comprising setting a welding point vicinity region having a radius from a center of the welding point to a workpiece end where the workpiece enters at least a portion where the welding gun is open.
前記干渉チェックする段階は、干渉チェックの際に溶接ガン先端部とワークとのクリアランスとして、前記溶接点付近領域内と前記溶接点付近領域外の領域とで異なるクリアランスの値を設定して干渉チェックする請求項11に記載の作業経路作成方法。   In the interference check step, the interference check is performed by setting different clearance values in the region near the welding point and the region outside the region near the welding point as the clearance between the welding gun tip and the workpiece during the interference check. The work route creation method according to claim 11. 前記干渉チェックする段階は、干渉チェックした結果、干渉ありとなった場合、その経路におけるクリアランスの値を小さくして再度干渉チェックする請求項8〜12のいずれか一つに記載の作業経路作成方法。   13. The work route creation method according to claim 8, wherein when the interference check results in the interference check, the interference check is performed again by reducing the clearance value in the route. . 前記干渉チェックする段階による干渉チェックした結果、前記選択した2つの作業点間を直線の経路として作成できない場合に、前記選択した2つの作業点間を別の経路を作成する段階をさらに有し、
別の経路を作成する段階は、前記別経路を作成する作業点の直下に逃げ点1を作成し、当該逃げ点1からワーク外の位置に逃げ点2を作成するものであり、さらに前記逃げ点2の位置は前記逃げ点1を中心に回転させて成立する位置を求める請求項8〜13のいずれか一つに記載の作業経路作成方法。
As a result of performing the interference check in the step of performing the interference check, when it is not possible to create a straight path between the two selected work points, the method further includes a step of creating another path between the two selected work points,
The step of creating another route is to create a relief point 1 immediately below the work point for creating the another route, create a relief point 2 from the relief point 1 to a position outside the workpiece, and further to the escape point. The work path creation method according to any one of claims 8 to 13, wherein the position of the point 2 is obtained by rotating around the escape point 1 to be established.
複数の作業点から2つの作業点を選択して当該2つの作業点を結ぶ経路を設定するステップと、
少なくとも前記2つの作業点を除く前記複数の作業点に対して干渉チェックの際に干渉チェックしない作業点領域を設定するステップと、
前記選択した2つの作業点の間に他の作業点がある場合に、当該他の作業点に設定された前記作業点領域は無効とするステップと、
前記2つの作業点を結ぶ経路を干渉チェックするステップと、
をコンピューターに実行させて作業を行う経路を作成する作業経路作成プログラム。
Selecting two work points from a plurality of work points and setting a route connecting the two work points;
Setting a work point area that does not perform interference check when performing interference check on the plurality of work points excluding at least the two work points;
When there is another work point between the two selected work points, invalidating the work point area set to the other work point;
Interference checking a route connecting the two work points;
A work route creation program that creates a route to work by running a computer.
前記作業点は、複数の部材を接合する接合作業を行うための接合点である請求項15に記載の作業経路作成プログラム。   The work route creation program according to claim 15, wherein the work point is a joint point for performing a joint work for joining a plurality of members. 前記接合点は溶接点である請求項16に記載の作業経路作成プログラム。 The work path creation program according to claim 16, wherein the joining point is a welding point. 前記干渉チェックしない溶接点領域を設定するステップは、溶接点を中心として逃げ点相当の距離を半径とする領域を前記溶接点領域として設定し、
さらに、溶接点中心から、少なくとも溶接ガンの開いた部分にワークが侵入するワーク端までの距離を半径とする溶接点付近領域を設定する請求項17に記載の作業経路作成プログラム。
The step of setting the welding point region without the interference check, the region having a radius corresponding to the escape point centered on the welding point is set as the welding point region,
18. The work path creation program according to claim 17, further comprising setting a welding point vicinity region having a radius from a center of the welding point to a workpiece end where the workpiece enters at least a portion where the welding gun is open.
前記干渉チェックするステップは、干渉チェックの際に溶接ガン先端部とワークとのクリアランスとして、前記溶接点付近領域内と前記溶接点付近領域外の領域とで異なるクリアランスの値を設定して干渉チェックする請求項18に記載の作業経路作成プログラム。   In the interference check step, the interference check is performed by setting different clearance values in the region near the welding point and the region outside the region near the welding point as the clearance between the welding gun tip and the workpiece during the interference check. The work route creation program according to claim 18. 前記干渉チェックするステップは、干渉チェックした結果、干渉ありとなった場合、その経路におけるクリアランスの値を小さくして再度干渉チェックする請求項15〜19のいずれか一つに記載の作業経路作成プログラム。   The work route creation program according to any one of claims 15 to 19, wherein, when the interference check is performed as a result of the interference check, the interference check is performed again by reducing a clearance value in the route. . 前記干渉チェックするステップによる干渉チェックした結果、前記選択した2つの作業点間を直線の経路として作成できない場合に、前記選択した2つの作業点間を別の経路を作成するステップをさらに有し、
別の経路を作成するステップは、前記別経路を作成する作業点の直下に逃げ点1を作成し、当該逃げ点1からワーク外の位置に逃げ点2を作成するものであり、さらに前記逃げ点2の位置は前記逃げ点1を中心に回転させて成立する位置を求める請求項15〜20のいずれか一つに記載の作業経路作成プログラム。
As a result of the interference check in the interference check step, when the selected two work points cannot be created as a straight path, the method further includes a step of creating another path between the two selected work points,
The step of creating another route is to create a relief point 1 immediately below the work point for creating the another route, create a relief point 2 from the relief point 1 to a position outside the workpiece, and further to the escape point. The work path creation program according to any one of claims 15 to 20, wherein the position of the point 2 is obtained by rotating around the escape point 1 to be established.
請求項15〜21のいずれか一つに記載の作業経路作成プログラムを記憶したコンピューター読み取り可能な記録媒体。   A computer-readable recording medium storing the work route creation program according to any one of claims 15 to 21.
JP2015537601A 2013-09-18 2014-08-11 Work route creation device, work route creation method, work route creation program, and recording medium Expired - Fee Related JP6090463B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2013193537 2013-09-18
JP2013193537 2013-09-18
PCT/JP2014/071211 WO2015040980A1 (en) 2013-09-18 2014-08-11 Work path creation device, work path creation method, work path creation program and recording medium

Publications (2)

Publication Number Publication Date
JPWO2015040980A1 JPWO2015040980A1 (en) 2017-03-02
JP6090463B2 true JP6090463B2 (en) 2017-03-08

Family

ID=52688637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015537601A Expired - Fee Related JP6090463B2 (en) 2013-09-18 2014-08-11 Work route creation device, work route creation method, work route creation program, and recording medium

Country Status (2)

Country Link
JP (1) JP6090463B2 (en)
WO (1) WO2015040980A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102660168B1 (en) * 2023-01-30 2024-04-24 주식회사 마키나락스 Method for calculaing the length of work path of a task-performing robot

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6766339B2 (en) * 2015-11-02 2020-10-14 セイコーエプソン株式会社 Robots and robot systems
JP6838028B2 (en) * 2018-10-31 2021-03-03 ファナック株式会社 Automatic program correction device and automatic program correction method
JP7460356B2 (en) * 2019-11-13 2024-04-02 ファナック株式会社 Travel route generation device
JP7396062B2 (en) * 2020-01-15 2023-12-12 村田機械株式会社 Control value determination device
WO2021149364A1 (en) * 2020-01-21 2021-07-29 本田技研工業株式会社 Method for avoiding interference of welding equipment, and device for controlling welding equipment
CN113671990B (en) * 2021-08-10 2024-04-26 广州极飞科技股份有限公司 Job path setting method, device, equipment and storage medium
JP7542495B2 (en) * 2021-08-11 2024-08-30 株式会社Jsol Robot teaching data creation system and program
CN114019980A (en) * 2021-11-09 2022-02-08 上海景吾智能科技有限公司 Intelligent method and system for dispatching multiple robots on same floor
CN116921867B (en) * 2023-09-15 2023-12-05 深圳市悦和精密模具有限公司 Injection mold welding device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000061880A (en) * 1998-08-27 2000-02-29 Mazda Motor Corp Robot motion interference check method
JP2001328092A (en) * 2000-05-22 2001-11-27 Mitsubishi Heavy Ind Ltd Interference avoiding device and method of robot
JP3853752B2 (en) * 2003-04-22 2006-12-06 三菱電機株式会社 Simulation device
JP5152434B2 (en) * 2010-04-27 2013-02-27 三菱電機株式会社 Numerical controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102660168B1 (en) * 2023-01-30 2024-04-24 주식회사 마키나락스 Method for calculaing the length of work path of a task-performing robot

Also Published As

Publication number Publication date
WO2015040980A1 (en) 2015-03-26
JPWO2015040980A1 (en) 2017-03-02

Similar Documents

Publication Publication Date Title
JP6090463B2 (en) Work route creation device, work route creation method, work route creation program, and recording medium
EP3863791B1 (en) System and method for weld path generation
US20240391109A1 (en) Autonomous welding robots
US8315738B2 (en) Multi-arm robot system interference check via three dimensional automatic zones
JP5980867B2 (en) Robot teaching device that teaches robots offline
JP6370821B2 (en) Robot programming device that teaches robot programs
CN111014879B (en) Automatic welding method for corrugated plate of robot based on laser weld seam tracking
JP2013099815A (en) Robot programming device
JP7259860B2 (en) ROBOT ROUTE DETERMINATION DEVICE, ROBOT ROUTE DETERMINATION METHOD, AND PROGRAM
US10394216B2 (en) Method and system for correcting a processing path of a robot-guided tool
JP2016528620A (en) Apparatus, system and method for automatic development and optimization of positioning paths for multi-axis numerical control machines
EP3113899B1 (en) System for and method of monitoring and characterizing manual welding operations
US9969077B2 (en) Workpiece positioning apparatus, and method of using same
US12179366B2 (en) Method for avoiding interference of welding equipment, and device for controlling welding equipment
JP4498072B2 (en) Setting method of positioner for welding robot
JPH08147020A (en) Robot automatic path generator
US20040114713A1 (en) X-ray laminography system having a pitch, roll and Z-motion positioning system
WO2014170889A1 (en) Automatic generation of robotic processes for symmetric products
JP3354870B2 (en) Automatic teaching method and apparatus for welding robot
JP2018001383A (en) Tool replacement control system, and tool replacement control method and program
CN117480523A (en) Laser projection for CNC workpiece positioning
CN117583771B (en) Welding method and system based on directional reference and multi-axis welding robot
JP3857487B2 (en) NC data creation method for side machining
JPH10211575A (en) Automatic teaching method of automatic welding equipment for metallic box shape structure and automatic welding method of metallic box shape structure by automatic teaching method
US20240408763A1 (en) Tool calibration for manufacturing robots

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170110

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170123

R151 Written notification of patent or utility model registration

Ref document number: 6090463

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees