JP4836458B2 - How to create an operation program - Google Patents

How to create an operation program Download PDF

Info

Publication number
JP4836458B2
JP4836458B2 JP2005003256A JP2005003256A JP4836458B2 JP 4836458 B2 JP4836458 B2 JP 4836458B2 JP 2005003256 A JP2005003256 A JP 2005003256A JP 2005003256 A JP2005003256 A JP 2005003256A JP 4836458 B2 JP4836458 B2 JP 4836458B2
Authority
JP
Japan
Prior art keywords
model
interference
welding robot
operation program
robot
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.)
Active
Application number
JP2005003256A
Other languages
Japanese (ja)
Other versions
JP2006190228A (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.)
Kobe Steel Ltd
Original Assignee
Kobe Steel 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 Kobe Steel Ltd filed Critical Kobe Steel Ltd
Priority to JP2005003256A priority Critical patent/JP4836458B2/en
Publication of JP2006190228A publication Critical patent/JP2006190228A/en
Application granted granted Critical
Publication of JP4836458B2 publication Critical patent/JP4836458B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、干渉の有無を判定しながら2以上の立体形状の物体、例えば溶接ロボットとワークを一連の動作軌跡で動作するように教示して動作プログラムを作成する動作プログラム作成方法に関する。   The present invention relates to an operation program creation method for creating an operation program by teaching an object having two or more three-dimensional shapes, for example, a welding robot and a workpiece to operate on a series of operation trajectories while determining the presence or absence of interference.

図14は、ロボット溶接装置を示す装置系統図である。図14において、ワーク64がポジショナ65に支持されており、ワーク64の溶接線を溶接する溶接ロボット63が配置されている。溶接ロボット63は通信手段によって制御コンピュータとしてのロボットコントローラ装置61に接続されており、溶接ロボット63はロボットコントローラ装置61によって制御される。動作プログラムが格納されたパーソナルコンピュータ60は、例えば通信ケーブル62によってロボットコントローラ装置61に接続されている。   FIG. 14 is an apparatus system diagram showing the robot welding apparatus. In FIG. 14, a work 64 is supported by a positioner 65, and a welding robot 63 for welding a weld line of the work 64 is disposed. The welding robot 63 is connected to a robot controller device 61 as a control computer by communication means, and the welding robot 63 is controlled by the robot controller device 61. The personal computer 60 in which the operation program is stored is connected to the robot controller device 61 by a communication cable 62, for example.

このようなロボット溶接装置において、ワーク64の溶接線を溶接ロボットによって自動溶接する際、溶接ロボットの溶接トーチ又は溶接ロボット本体等とワーク、ワークを溶接姿勢に支持するポジショナ又は溶接ロボットを所定方法に移動させるスライダ等とが接触することがある。このような接触を干渉という。干渉が発生すると溶接トーチをワークの溶接線に沿って移動することができなくなるので、干渉の発生の有無を予めチェックし、干渉の生じない動作プログラムを作成し、これに従って溶接作業を行う必要がある。   In such a robot welding apparatus, when the welding line of the workpiece 64 is automatically welded by the welding robot, the welding torch or the welding robot body of the welding robot and the positioner or the welding robot that supports the workpiece and the workpiece in the welding posture are used as a predetermined method. The slider to be moved may come into contact. Such contact is called interference. If interference occurs, the welding torch cannot be moved along the welding line of the workpiece, so it is necessary to check in advance for the occurrence of interference, create an operation program that does not cause interference, and perform welding work accordingly. is there.

2以上の立体形状の物体の干渉チェック技術又は溶接ロボットのオフライン教示システムに関する従来技術として例えば特開平7−78017号公報(特許文献1)、特開2003−127077号公報(特許文献2)が挙げられる。   For example, JP-A-7-78017 (Patent Document 1) and JP-A-2003-127077 (Patent Document 2) are known as conventional techniques related to an interference check technique for two or more three-dimensional objects or an offline teaching system for a welding robot. It is done.

特許文献1には、溶接ロボットモデルとワークモデルが入力されるデータ入力装置と、ロボットの教示とシミュレーションを行うシミュレーション演算装置と、溶接ロボットモデル、ワークモデル、動作プログラム及び上記シミュレーション演算装置での判定結果を記憶するデータ記憶装置と、複数の選択された溶接ロボットモデル、ワークモデル及び動作プログラムの各組み合わせ毎に溶接ロボットモデルとワークモデルの干渉チェックを一括して行う干渉チェック演算装置と、干渉が発生している状態を表示するシミュレーション表示装置とを有する動作物体間の干渉チェック装置が開示されている。   Patent Document 1 discloses a data input device for inputting a welding robot model and a work model, a simulation arithmetic device for teaching and simulating the robot, a welding robot model, a work model, an operation program, and a determination by the simulation arithmetic device. A data storage device for storing the results, an interference check operation device that collectively checks the interference between the welding robot model and the work model for each combination of a plurality of selected welding robot models, work models, and operation programs, An interference check device between moving objects having a simulation display device for displaying a state of occurrence is disclosed.

また特許文献2には、ロボットプログラムを予め作成し、作成したロボットプログラムを画面上で実行させ、ロボットが外部機器と干渉した時点でそのときに実行されているロボットプログラムの実行位置を記録し、この記録内容に基づいてロボットプログラムを修正するロボットプログラム修正装置が開示されている。   In Patent Document 2, a robot program is created in advance, the created robot program is executed on the screen, and when the robot interferes with an external device, the execution position of the robot program being executed at that time is recorded, A robot program correction device that corrects a robot program based on the recorded contents is disclosed.

特開平7−78017号公報JP 7-78017 A 特開2003−127077号公報JP 2003-127077 A

しかしながら、上記特許文献1及び2に記載された従来の干渉チェック装置又はロボットプログラム修正装置は、いずれも教示プログラムを作成した後、この教示プログラムを実行してシミュレーションすることにより、ロボットとワークとの干渉の有無を判定している。このため、正確な教示プログラムを作成するために多くの時間を要するだけでなく、操作が煩雑になるという問題点がある。   However, each of the conventional interference check devices or robot program correction devices described in Patent Documents 1 and 2 described above creates a teaching program, and then executes and simulates the teaching program, thereby The presence or absence of interference is determined. For this reason, not only does it take a lot of time to create an accurate teaching program, but there is a problem that the operation becomes complicated.

即ち、上記従来技術では、ロボットの教示プログラムを一通り完成させた後、ロボットプログラムを実行するシミュレーションを行い、これによってワークモデルと溶接ロボットモデルとの干渉の有無を判定している。しかし、近時、溶接ロボットの普及に伴い曲げ板、鋳造部分又は開先を有する複雑な形状のワークがロボット溶接の対象となったこと、及び3次元CADシステムの普及に伴い、オフライン教示に使用されるロボット、トーチ、ワーク等の形状が正確かつ複雑になり、これによって2次元画面での目視による干渉の判定が困難になったことから、プログラム作成後のシミュレーションでより多くの干渉箇所が発見されるようになり、その後のプログラムの修正に多くの時間を要するようになった。   That is, in the above-described prior art, after completing a robot teaching program, a simulation for executing the robot program is performed, thereby determining the presence or absence of interference between the work model and the welding robot model. However, recently, with the widespread use of welding robots, workpieces with complex shapes with bent plates, cast parts, or grooves have become targets for robot welding, and are used for offline teaching with the spread of 3D CAD systems. Since the shapes of robots, torches, workpieces, etc., become accurate and complex, which makes it difficult to judge interference on the two-dimensional screen visually, more interference points can be found by simulation after creating the program After that, it took a lot of time to modify the program afterwards.

また、ロボットの作業は連続した一連の動作であることから、教示プログラムのうち単に干渉が生じる箇所のみを変更すれば良いというものではなく、また、溶接中にトーチが動くとトーチケーブル(後述する図4、符号30)の動きによってワイヤの送給に悪影響が生じることから、溶接中のトーチ角度を一定に保つ必要がある。このため、干渉箇所の前後のトーチ角度及びロボット姿勢等を見直す必要があることからプログラムの修正には長時間を要する。なお、修正後のプログラムに対して再び干渉の有無をチェックするためのシミュレーションが必要になるという問題点もある。   In addition, since the robot work is a series of continuous operations, it is not necessary to change only the location where the interference occurs in the teaching program. Also, if the torch moves during welding, a torch cable (described later) will be described. Since the movement of the wire in FIG. 4 has a negative effect on the wire feeding, it is necessary to keep the torch angle constant during welding. For this reason, since it is necessary to review the torch angle and the robot posture before and after the interference location, it takes a long time to correct the program. There is also a problem that a simulation for checking again the presence or absence of interference is necessary for the modified program.

本発明はかかる問題点に鑑みてなされたものであって、ロボットとワークとの干渉がない動作プログラムを効率よく作成することができる動作プログラムの作成方法を提供することを目的とする。   The present invention has been made in view of such a problem, and an object of the present invention is to provide an operation program creation method capable of efficiently creating an operation program without interference between a robot and a workpiece.

発明に係る他の動作プログラムの作成方法は、オフライン教示システムにより溶接ロボットモデル及びワークモデルが一連の動作軌跡で動作するように教示して動作プログラムを作成する動作プログラム作成方法において、前記溶接ロボットモデルを前記ワークモデルに対する第1の動作点に誘導する工程と、前記溶接ロボットモデルと前記ワークモデルとの間で干渉が生じるか否かをチェックする工程と、干渉が生じた場合は前記溶接ロボットモデルの動作条件、前記ワークモデルの配置態様及び第1の動作点の位置からなる群から選択された少なくとも1つの因子を変更して再度前記溶接ロボットモデルと前記ワークモデルとの間の干渉が生じるか否かをチェックし干渉がなくなるまでこれを繰り返す工程と、干渉が生じていない場合又は干渉が解消された後前記溶接ロボットモデルを前記ワークモデルに対する第2の動作点に誘導する工程と、前記溶接ロボットモデルと前記ワークモデルとの間で干渉が生じるか否かをチェックする工程と、干渉が生じた場合は前記溶接ロボットモデルの動作条件、前記ワークモデルの配置態様及び第2の動作点の位置からなる群から選択された少なくとも1つの因子を変更して再度前記溶接ロボットモデルと前記ワークモデルとの間の干渉が生じるか否かをチェックし干渉がなくなるまでこれを繰り返す工程と、第2の動作点についての干渉が生じていない場合又は干渉が解消された後、他に動作点があればそれらの動作点について同様の干渉チェックを行う工程と、を有し、前記溶接ロボットモデルの動作条件は、そのロボット先端位置を(X,Y,Z)座標で表して前記溶接ロボットモデルを動作点間で誘導する経路である誘導経路、スライダで決められる前記溶接ロボットモデル位置、トーチ角度及び各関節角度からなる群から選択されたものであり、前記溶接ロボットモデルの干渉チェックにおいて、チェック対象は、ワークモデルの他に、ポジショナモデル、スライダモデル、ノズルクリーナモデル、ワイヤカッタモデル及び足場モデルから選択された少なくとも1つの作業対象物以外の付帯物を含み、全ての動作点について干渉がない動作プログラムを作成することを特徴とする。 Another operation program creation method according to the present invention is an operation program creation method for creating an operation program by teaching an welding robot model and a work model to operate on a series of operation trajectories by an offline teaching system. Inducing a model to a first operating point for the workpiece model, checking if interference occurs between the welding robot model and the workpiece model, and if there is interference, the welding robot Interference between the welding robot model and the work model occurs again by changing at least one factor selected from the group consisting of the operating condition of the model, the arrangement mode of the work model, and the position of the first operating point. The process of checking whether or not there is no interference, and if there is no interference Guiding the welding robot model to a second operating point with respect to the workpiece model after interference is eliminated, and checking whether interference occurs between the welding robot model and the workpiece model; When the interference occurs, the welding robot model is changed again by changing at least one factor selected from the group consisting of the operating condition of the welding robot model, the arrangement mode of the work model, and the position of the second operating point. A step of checking whether interference with the workpiece model occurs and repeating this until there is no interference, and when there is no interference for the second operating point or after the interference has been eliminated, includes a step of performing a similar interference check for their operating point if the point, the operating conditions of the welding robot model, the robot tip position Is represented by (X, Y, Z) coordinates, and is selected from the group consisting of a guide route that guides the welding robot model between operating points, the welding robot model position determined by a slider, a torch angle, and each joint angle. In the interference check of the welding robot model, in addition to the work model, the check target is at least one work target selected from a positioner model, a slider model, a nozzle cleaner model, a wire cutter model, and a scaffold model. An operation program including incidentals other than objects and having no interference at all operation points is created.

また、前記溶接ロボットモデル及び前記ワークモデルを表示画面上に表示し、マウス又はキーボードから前記溶接ロボットモデルをその動作点に誘導することもできる。   Further, the welding robot model and the work model can be displayed on a display screen, and the welding robot model can be guided to the operating point from a mouse or a keyboard.

更に、前記干渉が生じた後の干渉を回避する工程は、前記溶接ロボットモデルの誘導経路、溶接ロボットモデル位置、トーチ角度及び関節角度からなる群から選択された動作条件を、前記オフライン教示システムのコンピュータに予め設定された態様で変更して前記干渉を回避するようにしてもよい。 Further, in the step of avoiding the interference after the interference occurs, an operation condition selected from the group consisting of a guide path of the welding robot model, a welding robot model position, a torch angle, and a joint angle is set in the offline teaching system. The interference may be avoided by changing in a manner preset in the computer.

更にまた、前記溶接ロボットモデルと前記ワークモデルとが干渉する場合に、前記表示画面上において干渉が生じる部分の色を変更して警告することができる。   Furthermore, when the welding robot model and the work model interfere with each other, a warning can be given by changing the color of the portion where the interference occurs on the display screen.

前記干渉チェックは、実際のワーク形状を有するワークモデルについての干渉チェックに変えて、又はその干渉チェックの後に更に、実際のワークよりも大きな形状を有するダミーワークモデルについて、前記溶接ロボットモデルと前記ダミーワークモデルとの干渉をチェックすることにより、溶接ロボットと実際のワークとの間のニアミスをチェックするように構成してもよい。   The interference check is replaced with an interference check for a workpiece model having an actual workpiece shape, or after the interference check, for the dummy workpiece model having a shape larger than the actual workpiece, the welding robot model and the dummy By checking for interference with the workpiece model, a near miss between the welding robot and the actual workpiece may be checked.

更にまた、前記動作プログラムの作成中又は作成後に、干渉チェックが終了した動作点に戻って前記溶接ロボットモデルの動作条件、前記ワークモデルの配置態様及び動作点の位置からなる群から選択された少なくとも1種を変更して再度干渉チェックを行うように構成することができる。 Furthermore, after being created or creates the operation program, the operating conditions of the previous SL welding robot model back to the operating point of interference check is finished, selected from the group consisting of position of the arrangement mode and the operating point of the workpiece model and change at least one, can be configured to perform an interference check again.

更にまた、前記動作プログラムの作成中又は作成後に、ニアミスチェックが終了した動作点に戻って前記溶接ロボットモデルの動作条件、前記ワークモデルの配置態様及び動作点の位置からなる群から選択された少なくとも1種を変更して再度ニアミスチェックを行うようにしてもよい。 Furthermore, after being created or creates the operation program, the operating conditions of the previous SL welding robot model back to operating point near miss checking is completed, selected from the group consisting of position of the arrangement mode and the operating point of the workpiece model change at least one, may be performed near miss checked again.

更にまた、前記動作プログラムの作成後に、動作をシミュレーションし、最終的に干渉がないことを確認するようにすることができる。   Furthermore, after the operation program is created, the operation can be simulated to finally confirm that there is no interference.

発明に係る動作プログラムの作成方法によれば、動作プログラムの作成中に、2以上の立体形状の物体間に干渉が生じるか否かをチェックし、干渉が生じた場合は前記物体の動作条件等を変更して再度干渉をチェックし、干渉がなくなるまでこれを繰り返すようにしたので、干渉チェックしながら動作プログラムを作成するため、干渉のない動作プログラムを短時間に作成することができる。 According to the method for creating an operation program according to the present invention , it is checked whether or not interference occurs between two or more three-dimensional objects during the creation of the operation program. Since the operation program is created while checking the interference, the operation program without interference can be created in a short time.

即ち、溶接ロボットの教示プログラムの作成中に、溶接ロボットモデルとワークモデルとの干渉が生じるか否かをチェックし、干渉が生じた場合は前記溶接ロボットモデルの動作条件、前記ワークモデルの配置態様等を変更して再度干渉をチェックし、干渉がなくなるまでこれを繰り返すようにしたので、教示プログラムが完成した時点で干渉が存在せず、干渉のない教示プログラムを迅速に作成することができる。 That is , during the creation of the welding robot teaching program, it is checked whether or not the interference between the welding robot model and the work model occurs. If the interference occurs, the operating conditions of the welding robot model and the arrangement mode of the work model are determined. The interference is checked again, and this is repeated until the interference disappears. Therefore, when the teaching program is completed, there is no interference and a teaching program without interference can be quickly created.

また、干渉が生じた場合に、溶接ロボットモデルの誘導経路、スライダで決められる前記溶接ロボット位置、トーチ角度及び溶接ロボットの各関節角度のうちから選択された条件を変更して再度干渉の有無をチェックするようにしたので、溶接ロボットモデルのワークモデルへの干渉を回避して正確な動作プログラムを作成することができる。更に、干渉チェック対象にワークモデルだけでなく、付帯物をも含めたので、溶接ロボットモデルと作業対象物以外の付帯物との干渉を回避することができる。更にまた、溶接ロボットモデルとポジショナモデル、スライダモデル、ノズルクリーナモデル、ワイヤカッタモデル等との干渉を回避することができ、より現実に即した実用価値の高い動作プログラムを作成することができる。 In addition , when interference occurs, the condition selected from the welding robot model guide path, the welding robot position determined by the slider, the torch angle, and each joint angle of the welding robot is changed, and the presence or absence of the interference is checked again. Since the check is performed, it is possible to avoid the interference of the welding robot model with the work model and to create an accurate operation program. Furthermore, since not only the work model but also an accessory is included in the interference check target, interference between the welding robot model and the accessory other than the work object can be avoided. Furthermore, it is possible to avoid interference between the welding robot model, the positioner model, the slider model, the nozzle cleaner model, the wire cutter model, and the like, and it is possible to create an operation program with higher practical value that is more realistic.

本願請求項に係る動作プログラムの作成方法によれば、溶接ロボットモデル及びワークモデルを表示画面上に表示した状態で、画面上で前記溶接ロボットモデルを誘導することができるので、オペレータが直感的に溶接ロボットモデルを誘導したり、干渉確認することができる。 According to the method for creating an operation program according to claim 2 of the present application, the welding robot model can be guided on the screen in a state where the welding robot model and the work model are displayed on the display screen. It is possible to guide the welding robot model and confirm interference.

本願請求項に係る動作プログラムの作成方法によれば、干渉が生じた場合の干渉回避工程において、溶接ロボットモデルの誘導した動作条件又は変更した因子を予め設置した態様で変更して干渉を回避することにより、確実に干渉を回避することができる。 According to the method for creating an operation program according to claim 3 of the present application, in the interference avoidance step when interference occurs, the operation condition induced by the welding robot model or the changed factor is changed in a pre-installed manner to avoid interference. By doing so, it is possible to reliably avoid interference.

本願請求項に係る動作プログラムの作成方法によれば、溶接ロボットモデルとワークモデルとが干渉する場合に、干渉を画像として捉えることができるので、干渉する旨の警告を見落とすことがなく、これによってより正確な動作プログラムを作成することができる。 According to the method for creating an operation program according to claim 4 of the present application, when the welding robot model and the work model interfere with each other, the interference can be captured as an image. Thus, a more accurate operation program can be created.

本願請求項に係る動作プログラムの作成方法によれば、溶接ロボットモデルとワークモデル等とが干渉はしていないが、それに近いニアミス状態にあるか否かをチェックすることができるので、これによってより安全な動作プログラムの作成が可能となる。 According to the method for creating an operation program according to claim 5 of the present application, the welding robot model and the work model do not interfere with each other, but it is possible to check whether or not the near miss state is close thereto. A safer operation program can be created.

本願請求項に係る動作プログラムの作成方法によれば、動作プログラムの作成中に、既に、干渉チェックが終了した動作点に戻って動作条件を変更した後、再度干渉チェックを行うようにしたので、後工程の干渉チェックで干渉があり動作条件を変更して干渉を回避しようとしてもそれが困難又は大きな変更になる場合に、従前の既に干渉チェックが終了した動作点についてその動作条件を変更して以後のチェックをやり直すことにより、後工程での干渉チェックで干渉を容易に回避できるようになる。また、動作プログラムの完成後においては、干渉が回避できる動作プログラムは完成したものの、例えば一部の動作点で動作条件の大きな変更が必要であった場合、その動作点よりも前の工程の動作点に戻って動作条件を変更することにより、大きな動きがなく、よりよい動作プログラムを作成できる。また、最初から動作プログラムを作成する場合に比して処理時間を短縮し、手間を省くことができる。 According to the operation program creation method according to claim 6 of the present application, during the creation of the operation program, after returning to the operation point where the interference check has been completed and changing the operation condition, the interference check is performed again. If there is interference in the interference check in the subsequent process and it becomes difficult or a large change even if it tries to avoid the interference by changing the operating condition, the operating condition is changed for the operating point where the previous interference check has already been completed. If the subsequent check is performed again, the interference can be easily avoided by the interference check in the subsequent process. After the operation program is completed, an operation program that can avoid interference has been completed. However, if a large change in operating conditions is required at some operating points, for example, the operation of the process before the operating point is performed. By returning to the point and changing the operating condition, there is no significant movement and a better operating program can be created. In addition, the processing time can be shortened and labor can be saved as compared with the case of creating an operation program from the beginning.

本願請求項に係る動作プログラムの作成方法はニアミスチェックの場合であり、請求項と同様の効果を奏する。 The operation program creation method according to claim 7 of the present application is a case of near miss check, and has the same effect as that of claim 6 .

本願請求項に係る動作プログラムの作成方法によれば、上述のようにして動作プログラムを作成した後に、動作をシミュレーションして干渉がないことを確認するようにしたので、干渉がない動作プログラムを検証することができる。 According to the method for creating an operation program according to claim 8 of the present application, after creating the operation program as described above, the operation is simulated to confirm that there is no interference. Can be verified.

以下、本発明の実施の形態について添付の図面を参照して詳細に説明する。図1は本実施形態に係る動作プログラム作成装置のブロック図である。図1において、この装置には、ワークモデルのデータベース1、ロボットシステムモデルのデータベース2に接続され3次元CADソフトウエアが組み込まれたオフライン教示装置4が設けられている。オフライン教示装置4は外部からワークモデル及び溶接ロボットモデルのデータの入力を指示したり、ロボットの誘導を指示したりする入力部5と接続されている。またオフライン教示装置4はワークモデル及び溶接ロボットモデルを表示する表示部6と接続されている。更に、オフライン教示装置4は、作成した動作プログラムを記憶するプログラムのデータベース3に接続されると共に、前記プログラムをロボットコントローラ装置7に送信する通信装置8と接続されている。   Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a block diagram of an operation program creation device according to the present embodiment. In FIG. 1, this apparatus is provided with an off-line teaching apparatus 4 connected to a work model database 1 and a robot system model database 2 and incorporating three-dimensional CAD software. The off-line teaching device 4 is connected to an input unit 5 for instructing input of work model and welding robot model data from outside and instructing robot guidance. The offline teaching device 4 is connected to a display unit 6 that displays a work model and a welding robot model. Further, the off-line teaching device 4 is connected to a database 3 of a program that stores the created operation program, and is connected to a communication device 8 that transmits the program to the robot controller device 7.

図1の装置において、動作プログラムの作成は以下のように行われる。なお、本実施形態において、単に干渉チェックという場合は実際のワーク形状を有するワークモデルについての干渉チェックをいい、ニアミスチェックという場合は物体間が指定したマージンをもって接近しないかをチェックすることをいい、例えば、実際のワークよりも相似的に大きい形状を有するダニーワークモデルについての干渉チェックをいう。   In the apparatus of FIG. 1, the operation program is created as follows. In the present embodiment, simply referring to interference check refers to interference check for a workpiece model having an actual workpiece shape, and near miss check refers to checking whether objects do not approach with a specified margin, For example, it refers to an interference check for a Danny work model having a shape that is similar to that of an actual work.

(1)先ず、オフライン教示装置4において、ワークモデルの部品となるパーツモデルを作成する。パーツモデルは、例えばパソコン画面上に表示されたボタンによって図形の形状を選択した後、その寸法を入力することによって作成する。また、パーツモデルの作成には、このような寸法を入れる方法の外に、断面形状を入力し、板厚を入力する2D入力方法もある。   (1) First, in the off-line teaching device 4, a part model that is a part of the work model is created. The part model is created, for example, by selecting the shape of a figure using a button displayed on a personal computer screen and then inputting the dimensions. In addition to such a method of entering a dimension, there is a 2D input method for inputting a cross-sectional shape and inputting a plate thickness.

(2)次に、ワークモデルを作成する。作成したパーツモデルを移動し、積み木のように組み合わせることによりワークモデルを作成する。組み合わせ後は、ワークモデルの各パーツが一体ものであることを指示するために、例えば母材を親とし、各部材を子とする親子指定を行う。これは実際の作業現場における仮付けに相当する作業である。   (2) Next, a work model is created. A work model is created by moving the created part models and combining them like building blocks. After the combination, in order to indicate that each part of the work model is an integral part, for example, parent-child designation is performed with the base material as a parent and each member as a child. This is a work equivalent to temporary attachment at an actual work site.

(3)次に、ワークモデルの配置を行う。実際のシステムと同じように、コンピュータ上の仮想空間上のロボットシステムに、ワークモデルを配置する作業を行う。配置後は、ポジショナにワークモデルが取り付けられたことが画面を通じて指示される。   (3) Next, the work model is arranged. The work model is placed in the robot system in the virtual space on the computer as in the actual system. After the placement, it is instructed through the screen that the work model is attached to the positioner.

(4)次に、ロボット教示プログラムを作成する。即ち、実際のラインでのティーチング作業をコンピュータ上の仮想空間で実現させる。仮想空間でのティーチングは、先ず、画面上でポジショナ角度を数字で入力し、ワーク姿勢を決定する。次に、ロボットを誘導するために、ロボット先端位置座標X、Y、Zを例えば数字で指定する。又は、画面上に表示されたX軸、Y軸及びZ軸に対応するボタンをクリックすると、予め設定された所定のピッチ(例えば10mm間隔等)に従ってロボット先端位置座標のX軸、Y軸、Z軸方向の位置が変化するようにロボットが誘導される。又は、画面上の表で予めピッチ幅を選択し、X軸、Y軸、Z軸に対応するボタンをクリックすることにより、選択した軸方向に選択したピッチでロボット先端位置座表を誘導するようにすることもできる。   (4) Next, a robot teaching program is created. That is, teaching work on an actual line is realized in a virtual space on a computer. In teaching in the virtual space, first, the position angle is entered numerically on the screen to determine the workpiece posture. Next, in order to guide the robot, the robot tip position coordinates X, Y, and Z are designated by numbers, for example. Alternatively, when the buttons corresponding to the X, Y, and Z axes displayed on the screen are clicked, the robot tip position coordinate X axis, Y axis, and Z according to a predetermined pitch (for example, an interval of 10 mm). The robot is guided so that the position in the axial direction changes. Or, select the pitch width in advance in the table on the screen, and click the buttons corresponding to the X, Y, and Z axes to guide the robot tip position table at the selected pitch in the selected axis direction. It can also be.

仮想空間上で移動させたい位置にロボットが到着すれば、キーボードより位置決定の指示を出すことにより位置が記憶される。このような作業を繰り返すことにより、仮想空間上で動作プログラムが作成される。なお、マウス又はキーボードのキーによって画面上でワークモデルの所定位置をクリックすることによってその位置に溶接ロボットモデルを誘導することもできる。また、動作プログラム作成工程では、仮想空間上でロボット軌跡を作成する作業以外にもアークON等の実機ティーチングで入力する必要がある全ての制御命令を入力することができる。   When the robot arrives at a position to be moved in the virtual space, the position is stored by issuing a position determination instruction from the keyboard. By repeating such operations, an operation program is created in the virtual space. It is also possible to guide the welding robot model to that position by clicking a predetermined position of the work model on the screen with a mouse or keyboard key. Further, in the operation program creation step, all control commands that need to be input by actual machine teaching such as arc ON can be input in addition to the operation of creating the robot trajectory in the virtual space.

このとき、動作プログラムの作成と平行して溶接ロボットモデルとワークモデル又はワークの周辺機器モデルであるポジショナモデル及び/又はスライダモデルとの干渉の有無が判定され、干渉が生じる場合は溶接ロボットの誘導経路におけるロボット先端位置、トーチ角度、溶接ロボットモデルの各関節角度のうちいずれか1つ又は複数の条件を変更した上で再度干渉の有無が判定され、干渉がなくなるまでこの操作を繰り返し、干渉がなくなった時点で動作プログラムが作成される。ここで、溶接ロボットの誘導経路とは、溶接ロボットモデルを誘導する経路上のロボット先端位置をX、Y、Z座標で表した位置をいう。なお、干渉が回避できない場合は、動作プログラムの全部又は一部の作成を断念することがある。この場合に、一部断念することを溶接残しという。   At this time, in parallel with the creation of the operation program, it is determined whether or not there is any interference between the welding robot model and the work model or the positioner model and / or the slider model that is a peripheral device model of the work. After changing any one or more of the robot tip position on the path, torch angle, and each joint angle of the welding robot model, the presence or absence of interference is determined again, and this operation is repeated until there is no interference. An operation program is created when it runs out. Here, the welding path of the welding robot refers to a position where the robot tip position on the path for guiding the welding robot model is represented by X, Y, and Z coordinates. If interference cannot be avoided, creation of all or part of the operation program may be abandoned. In this case, giving up part of the process is called unwelding.

溶接ロボットモデルとワークモデル又はその周辺機器とが干渉するか否かのチェックは例えば以下のように行われる。図2は干渉チェック方法を示す図である。   For example, a check as to whether or not the welding robot model interferes with the work model or its peripheral devices is performed as follows. FIG. 2 is a diagram illustrating an interference check method.

(A)先ず、ワークモデルとしての立体Aの面fi(ai、bi、ci、di)と溶接ロボットモデルとしての立体Bの頂点Pj(xj、yj、zj、1)の内積を図2(a)に示したように全て計算する。   (A) First, the inner product of the surface fi (ai, bi, ci, di) of the solid A as the work model and the vertex Pj (xj, yj, zj, 1) of the solid B as the welding robot model is shown in FIG. ) Calculate all as shown in

次に、立体Aが凸形状の時、min(rij(i=1〜Ps))>0なる立体Aの平面fiが存在すれば、即ち図2(b)に示したように立体Bの全ての点が立体Aの少なくとも1面以上外にあれば、立体Aと立体Bとは干渉しない(粗チェック1)。   Next, when the solid A has a convex shape, if there is a plane fi of the solid A with min (rij (i = 1 to Ps))> 0, that is, all of the solid B as shown in FIG. If the point is outside at least one surface of the solid A, the solid A and the solid B do not interfere with each other (rough check 1).

次に、立体Aが凸図形の時、max(rij(i=1〜fA))≦0なる立体Bの頂点Pjが存在すれば図2(c)に示したように立体Aと立体Bとは必ず干渉する(粗チェック2)。   Next, when the solid A is a convex figure, if there is a vertex Pj of the solid B with max (rij (i = 1 to fA)) ≦ 0, the solid A and the solid B as shown in FIG. Always interfere (coarse check 2).

(B)立体Aが凸図形の時、rf×rf≦0かつrf×rf≦0なる面f、fと稜線Pについてチェックを行い、図2(d)の左側に示したように、f、f面と同時に稜線Pが干渉しないのであれば立体Aと稜線Pとは干渉しないが、図2(d)の右側に示したようにf、f面と同時に稜線Pが干渉する場合は立体Aと稜線Pとは干渉する(稜線チェック)。 (B) When the solid A is a convex figure, check is performed on the surfaces f 1 and f 2 and the ridge line P 1 P 2 where rf 1 p 1 × rf 1 p 2 ≦ 0 and rf 2 p 1 × rf 2 p 2 ≦ 0. 2D, if the ridge line P 1 P 2 does not interfere simultaneously with the f 1 and f 2 surfaces, the solid A and the ridge line P 1 P 2 do not interfere with each other. As shown on the right side of (d), when the ridge line P 1 P 2 interferes simultaneously with the f 1 and f 2 surfaces, the solid A and the ridge line P 1 P 2 interfere (ridge line check).

(C)rf×rf≦0なる立体Aの面fと立体Bの稜線Pにおいて、立体Aの面fiと立体Bの稜線Pとの交点が図2(e)に示したように、面fiの中にあるか外にあるかをチェックし、面fiの中にあれば干渉し、外にあれば干渉しない。即ち、稜線Pと面fiとの交点から面fiの各頂点Pf、Pf、Pf、Pfに向けてベクトルを取り、各ベクトル間の角度の和を取り、この和が360度の場合は立体Aの面fiと立体Bの稜線Pとは干渉する。一方、各ベクトル間の角度の和が0の場合には立体Aの面fiと立体Bの稜線Pとは干渉しない(詳細チェック)。上述した各干渉チェック方法のうち1つ又は複数を組み合わせて干渉の有無をチェックし、全ての動作点について干渉のチェックを行い、干渉がなくなった時点で動作プログラムが完成される。動作プログラム完成後、オペレータの判断により、その動作プログラムが登録される。
(5)動作プログラムが完成したらシミュレーション(再生)を行う。
(C) In the plane f 1 of the solid A and the ridge line P 1 P 2 of the solid B where rf 1 p 1 × rf 1 p 2 ≦ 0, the intersection of the surface fi of the solid A and the ridge line P 1 P 2 of the solid B is As shown in FIG. 2 (e), it is checked whether it is inside or outside the surface fi, and if it is inside the surface fi, it interferes, and if it is outside, it does not interfere. That is, a vector is taken from the intersection of the ridge line P 1 P 2 and the surface fi toward each vertex Pf 1 , Pf 2 , Pf 3 , Pf 4 of the surface fi, and the sum of the angles between the vectors is calculated. In the case of 360 degrees, the surface fi of the solid A and the ridgeline P 1 P 2 of the solid B interfere with each other. On the other hand, when the sum of the angles between the vectors is 0, the surface fi of the solid A and the ridge line P 1 P 2 of the solid B do not interfere (detail check). The presence or absence of interference is checked by combining one or more of the above-described interference check methods, interference is checked for all operating points, and the operation program is completed when there is no interference. After the operation program is completed, the operation program is registered at the operator's discretion.
(5) When the operation program is completed, simulation (reproduction) is performed.

仮想空間上でシミュレーションを行い作成された動作プログラムの妥当性を確認する。
シミュレーションの働きとしては以下のものがあげられる。
The validity of the created motion program is confirmed by simulation in the virtual space.
The following are examples of simulation functions.

(a)ロボットとワークとの干渉チェックが行われる。即ち、動作プログラムで不当な経路を通るように作成した場合や、トーチが干渉するような狭隘箇所を無理にティーチングした場合はシミュレーション中に干渉箇所を赤く表示するなどして警告が促される。   (A) An interference check between the robot and the workpiece is performed. That is, when the operation program is created so as to pass through an unfair path, or when a narrow part where the torch interferes is forcibly taught, a warning is prompted by displaying the interference part in red during the simulation.

(b)命令の誤りチェックが行われる。即ち、動作プログラムで不当な位置に命令が挿入されていた場合、また不当な組み合わせの命令がセットされた場合に警告が発せられる。   (B) An instruction error check is performed. That is, a warning is issued when an instruction is inserted at an illegal position in the operation program, or when an illegal combination of instructions is set.

(c)動作範囲チェックが行われる。即ち、シミュレーションすることで作成した動作プログラムによってロボット各軸のリミットがオーバーしないか、ロボットが特異点に入るかどうかを事前に確認することができる。
(6)次に、プログラムを保存する。
(C) An operating range check is performed. That is, it is possible to confirm in advance whether or not the limit of each axis of the robot will exceed the limit by the operation program created by the simulation, or whether or not the robot will enter a singular point.
(6) Next, the program is saved.

このように、動作プログラム作成中に干渉の有無を判定し、判定結果に基づいて修正を加えながら動作プログラムを作成することにより、プログラム作成作業を省力化することができる。   As described above, it is possible to save the program creation work by determining the presence or absence of interference during the creation of the motion program and creating the motion program while making corrections based on the determination result.

図3は、図1の要部を詳細に示したブロック図であり、表示部及び入力部を除いて、例えばオフライン教示装置のコンピュータに組み込まれたソフトウエアである。図3において、ロボット教示部21は溶接ロボットモデルを制御するロボット制御部22と双方向に接続されている。また、ロボット教示部21はキーボード又はマウスからなるオペレータがデータを入力する入力部23及びワークやシステムモデルを表示する表示部24に接続されている。更に、ロボット教示部21はワークモデル及び溶接ロボットモデルの各頂点座標に基づいてワークモデルと溶接ロボットモデルとの干渉の有無を判定する干渉チェック部25及びオペレータによって作成された動作プログラムを保存するプログラム保存領域26に接続されている。   FIG. 3 is a block diagram showing in detail the main part of FIG. 1, and is software incorporated in the computer of the offline teaching apparatus, for example, excluding the display unit and the input unit. In FIG. 3, a robot teaching unit 21 is bidirectionally connected to a robot control unit 22 that controls a welding robot model. The robot teaching unit 21 is connected to an input unit 23 for inputting data by an operator such as a keyboard or a mouse and a display unit 24 for displaying a work or a system model. Further, the robot teaching unit 21 stores an operation program created by the interference check unit 25 that determines whether or not the workpiece model and the welding robot model interfere with each other based on the vertex coordinates of the workpiece model and the welding robot model, and an operator. It is connected to the storage area 26.

ロボット教示部21はキーボード又はマウス等の入力部23によってオペレータが入力したロボットの移動位置、又はオペレータが入力した移動量に基づいて算出したロボットの移動位置を、ロボット制御部22に送信する。即ち、(1)オペレータがキーボードを使用して、目標となるロボット位置・姿勢に対応するロボット先端位置座標X、Y、Z、及びトーチ角度α、β、γ(又はロボット先端位置座標X、Y、Z、手首姿勢s4乃至s6、関節角度θ1乃至θ6)を直接数値入力して、ロボットの移動位置を指定する方法、(2)オペレータがキーボードを使用して、ロボットの移動量を入力し、ロボット教示部21がこのロボット移動量から目標となるロボット位置・姿勢に対応するロボット先端位置座標X、Y、Z、トーチ角度α、β、γ(又はロボット先端位置座標X、Y、Z、手首姿勢s4乃至s6、関節角度θ1乃至θ6)を算出して、ロボットの移動位置を指定する方法、又は(3)オペレータがマウスを使って、目標となるロボット位置をクリックし、目標となるロボット位置・姿勢に対応するロボット先端位置座標X、Y、Z、トーチ角度α、β、γ(又はロボット先端位置X、Y、Z、手首姿勢s4乃至s6、関節角度θ1乃至θ6)を指定する方法等により、ロボット移動位置を指定する。このようにして、指定されたロボットの移動位置がロボット制御部22に送信される。   The robot teaching unit 21 transmits the robot movement position input by the operator using the input unit 23 such as a keyboard or a mouse or the movement position of the robot calculated based on the movement amount input by the operator to the robot control unit 22. (1) The robot tip position coordinates X, Y, Z and torch angles α, β, γ (or robot tip position coordinates X, Y corresponding to the target robot position / posture) using the keyboard by the operator , Z, wrist postures s4 to s6, joint angles θ1 to θ6) by directly inputting numerical values and specifying the movement position of the robot. (2) The operator inputs the movement amount of the robot using the keyboard. The robot teaching unit 21 determines the robot tip position coordinates X, Y, Z, torch angles α, β, γ (or robot tip position coordinates X, Y, Z, wrist) corresponding to the target robot position / posture from the robot movement amount. Postures s4 to s6 and joint angles θ1 to θ6) to calculate the robot movement position, or (3) The operator clicks the target robot position using the mouse , Robot tip position coordinates X, Y, Z corresponding to the target robot position / posture, torch angles α, β, γ (or robot tip positions X, Y, Z, wrist postures s4 to s6, joint angles θ1 to θ6) ) To specify the robot movement position. In this way, the movement position of the designated robot is transmitted to the robot control unit 22.

そして、ロボット教示部21はロボット制御部22から受信したロボット各軸の関節角度θ1乃至θ6の値より、その時の溶接ロボットモデル位置を変更すると共に、溶接ロボットモデルの位置変更に伴い、表示部24に画面を再描画する。またロボット教示部21は、干渉チェック部25によって判定された溶接ロボットモデルとワークモデルとの干渉があるか否かの判定結果を表示部24に表示する。更に、干渉がある旨の表示に従ってオペレータによってロボット誘導経路等が変更され、干渉の可能性がなくなり、オペレータがその位置でよいと判断した場合は、そのプログラムをプログラム保存領域26に保存する。   The robot teaching unit 21 changes the welding robot model position at that time based on the values of the joint angles θ1 to θ6 of the robot axes received from the robot control unit 22, and the display unit 24 changes with the position change of the welding robot model. Redraw the screen. Further, the robot teaching unit 21 displays a determination result on the display unit 24 as to whether or not there is interference between the welding robot model and the work model determined by the interference check unit 25. Further, when the robot guide route or the like is changed by the operator in accordance with the display indicating that there is interference, the possibility of interference disappears and the operator determines that the position is acceptable, the program is stored in the program storage area 26.

以下、溶接ロボットの誘導経路におけるロボット先端位置X、Y、Z、トーチ角度α、β、γ、各関節角度θ1乃至θ6について説明する。図4は溶接ロボットを表示する対象座標を示す説明図である。図4において、Y軸とは溶接ロボットの左右方向に平行な軸をいい、狙い位置を定めるための例えば左方向の移動量を(+)で、右方向の移動量を(−)で表す。X軸とは溶接ロボットの前後方向に平行な軸をいい、狙い位置を定めるための例えば前方向の移動量を(+)で、後ろ方向の移動量を(−)で表す。また、Z軸とは溶接ロボットの上下方向に平行な軸をいい、狙い位置を定めるための例えば上方向の移動量を(+)で、下方向の移動量を(−)で表す。   Hereinafter, the robot tip positions X, Y, Z, the torch angles α, β, γ, and the joint angles θ1 to θ6 in the welding robot guide path will be described. FIG. 4 is an explanatory diagram showing target coordinates for displaying the welding robot. In FIG. 4, the Y axis is an axis parallel to the horizontal direction of the welding robot. For example, a leftward movement amount for determining a target position is represented by (+), and a rightward movement amount is represented by (−). The X axis is an axis parallel to the front-rear direction of the welding robot. For example, the forward movement amount for determining the target position is represented by (+), and the backward movement amount is represented by (−). The Z axis is an axis parallel to the vertical direction of the welding robot. For example, the upward movement amount for determining the target position is represented by (+), and the downward movement amount is represented by (−).

また、トーチ角度におけるトーチの右振り又は左振りとは、トーチの先端部を固定した状態におけるトーチのX軸回りの回転角度γをいい、トーチの上向き又は下向きとはトーチの先端部を固定した状態におけるトーチのY軸回りの回転角度βをいう。また、トーチの右回り又は左回りとは、トーチの先端部を固定した状態におけるトーチのZ軸回りの回転角度αをいう。   Further, torsional right or left rotation of the torch at the torch angle refers to the rotation angle γ around the X axis of the torch in a state where the tip of the torch is fixed, and upward or downward of the torch means that the tip of the torch is fixed. The rotation angle β around the Y axis of the torch in the state. Further, the clockwise or counterclockwise direction of the torch means the rotation angle α around the Z axis of the torch in a state where the tip portion of the torch is fixed.

図5は溶接ロボットにおける各関節角度を示す説明図である。図5において、関節角度θ1とはロボット本体の回転軸11に対する回転角度をいい、例えば右方向の回転角度θ1を(−)、左方向の回転角度θ1を(+)で表す。関節角度θ2とはロボット本体における回転軸11に直交する第2回転軸12に対する回転角度をいい、例えば前方向の回転角度θ2を(+)、後ろ方向の回転角度θ2を(−)で表す。   FIG. 5 is an explanatory diagram showing each joint angle in the welding robot. In FIG. 5, the joint angle θ1 is a rotation angle with respect to the rotation axis 11 of the robot body. For example, the rotation angle θ1 in the right direction is represented by (−), and the rotation angle θ1 in the left direction is represented by (+). The joint angle θ2 refers to a rotation angle with respect to the second rotation axis 12 orthogonal to the rotation axis 11 in the robot body. For example, the forward rotation angle θ2 is represented by (+) and the rear rotation angle θ2 is represented by (−).

関節角度θ3とはロボット本体の垂直の回転軸11に直交する第3回転軸13に対する回転角度をいい、例えば上方向の回転角度θ3を(−)、下方向の回転角度θ3を(+)で表す。関節角度θ4とはロボット本体の上部に接続されたロボットアームの回転軸14に対する回転角度をいい、例えば右方向の回転角度θ4を(+)、左方向の回転角度下4を(−)で表す。   The joint angle θ3 is a rotation angle with respect to the third rotation axis 13 orthogonal to the vertical rotation axis 11 of the robot body. For example, the upward rotation angle θ3 is (−), and the downward rotation angle θ3 is (+). To express. The joint angle θ4 is a rotation angle with respect to the rotation axis 14 of the robot arm connected to the upper part of the robot body. For example, the rotation angle θ4 in the right direction is represented by (+) and the lower rotation angle 4 in the left direction is represented by (−). .

関節角度θ5とはロボットアームの回転軸14に直交する回転軸15に対するトーチ先端部の回転角度をいい、例えば上方向の回転角度θ5を(−)、下方向の回転角度θ5を(+)で表す。関節角度θ6とはロボットアームの回転軸16に対する回転角度をいい、例えば右方向の回転角度θ6を(+)、左方向の回転角度θ6を(−)で表す。   The joint angle θ5 is the rotation angle of the tip of the torch with respect to the rotation axis 15 orthogonal to the rotation axis 14 of the robot arm. For example, the upward rotation angle θ5 is (−), and the downward rotation angle θ5 is (+). To express. The joint angle θ6 refers to a rotation angle of the robot arm with respect to the rotation axis 16. For example, the rotation angle θ6 in the right direction is represented by (+), and the rotation angle θ6 in the left direction is represented by (−).

このようなトーチの関節角度θ1乃至θ6を知ることによって溶接ロボット姿勢が分かり、溶接ロボットモデルとワークモデル又はその周辺機器であるスライダ及び/又はポジショナとの位置関係、即ち干渉の有無が上述したように計算によって求められる。   By knowing the joint angles θ1 to θ6 of such a torch, the posture of the welding robot can be known, and the positional relationship between the welding robot model and the work model or its peripheral device slider and / or positioner, that is, the presence or absence of interference is as described above. It is obtained by calculation.

以下、このような構成の本実施形態に係る動作プログラム作成装置の動作を説明する。図6−1乃至図6−3は、本実施形態である動作プログラムの作成方法のフローを示す図である。図6−1乃至図6−3において、台形で示した部分はオペレータによる処理を示し、長方形で示した部分はコンピュータによる処理を示す。   Hereinafter, the operation of the operation program creation device according to the present embodiment having such a configuration will be described. FIG. 6A to FIG. 6C are flowcharts illustrating the operation program creation method according to the present embodiment. 6A to 6C, a trapezoidal portion indicates processing by an operator, and a rectangular portion indicates processing by a computer.

先ず、オペレータはオフライン教示装置4に記憶された溶接ロボットモデル、ワークモデル等から教示作業を行う溶接ロボットモデル及びワークモデル又はその周辺機器モデルとしてポジショナモデル及び/又はスライダモデルを選択する(ステップS1)。溶接ロボットモデル及びワークモデル等の選択が行われるとディスプレイ上に選択された溶接ロボットモデル及びワークモデル等が表示される(ステップS2)。   First, an operator selects a positioner model and / or a slider model as a welding robot model and work model for performing teaching work from a welding robot model and work model stored in the off-line teaching device 4, and a peripheral device model thereof (step S1). . When the welding robot model and the work model are selected, the selected welding robot model and the work model are displayed on the display (step S2).

ここで、予め「干渉チェックする」か、「ニアミスチェックする」か、両方を行うかを設定し、ニアミスチェックを行う場合は、「ニアミス距離」を設定する(ステップS3)。このとき、ニアミス距離として例えば5mmが入力される。本実施形態は、干渉チェック及びニアミスチェックの双方を行う場合のものである。   Here, whether to perform “interference check”, “near miss check”, or both is set in advance, and when performing a near miss check, a “near miss distance” is set (step S3). At this time, for example, 5 mm is input as the near miss distance. In the present embodiment, both interference check and near miss check are performed.

上述した設定が行われると次のステップに進むが、設定がなされない場合はステップS3を繰り返す。干渉とは、2つの物体、例えば溶接ロボットモデルとワークモデルとが接触することをいい、ニアミスとは2つの物体、例えば溶接ロボットモデルとワークモデルが予め設定したニアミス距離内に接近することをいう。   If the above setting is performed, the process proceeds to the next step. If the setting is not performed, step S3 is repeated. Interference means that two objects such as a welding robot model and a work model come into contact with each other, and near miss means that two objects such as a welding robot model and a work model approach within a preset near miss distance. .

ステップS3による設定がなされた場合は、マウス及びキーボードより容易に作業ができるように、ディスプレイ上の視野が調整され(ステップS4)、その後、指示に基づいてディスプレイ上の溶接ロボットモデル及びワークモデル等が表示される(ステップS5)。   When the setting in step S3 is made, the field of view on the display is adjusted so that the work can be easily performed with the mouse and the keyboard (step S4), and then the welding robot model and the work model on the display are based on the instructions. Is displayed (step S5).

次に、オペレータはロボットが作業を行うための第1動作点にマウス又はキーボードを使用して溶接ロボットモデルを誘導する(ステップS6)。溶接ロボットモデルを誘導して溶接開始位置が指定されると、溶接ロボットモデルが図7の第1動作点に移動する(ステップS7)。図7はワークモデルの溶接線を示す図であって、第1動作点と第2動作点を結ぶ線が溶接線となる。なお、前記第1動作点、第2動作点のほか、溶接ロボットが作業しない空走移動動作であるエアカットの起点、終点又はその間の任意の点を動作点として設定することもできる。第1動作点、第2動作点等の動作点としての溶接トーチの通過点を教示して溶接プログラムを作成することをティーチングという。   Next, the operator uses the mouse or keyboard to guide the welding robot model at the first operating point for the robot to perform work (step S6). When the welding start position is specified by guiding the welding robot model, the welding robot model moves to the first operating point in FIG. 7 (step S7). FIG. 7 is a diagram showing a weld line of the workpiece model, and a line connecting the first operating point and the second operating point is a weld line. In addition to the first operating point and the second operating point, the starting point, the ending point, or any point in between can be set as the operating point, which is an idle running operation that is not performed by the welding robot. Teaching that teaches the passing points of the welding torch as operating points such as the first operating point and the second operating point and creates a welding program is called teaching.

溶接トーチを第1又は第2動作点に移動したとき、例えばオペレータがキーボードキーで10mmピッチ又は10゜ピッチに動かしたタイミング又はマウスで画面上の1点をクリックし、溶接ロボットを誘導したタイミングで、溶接ロボットモデルとワークモデルとが干渉するか否かのチェックをコンピュータが上述のようにして自動で行う(ステップS8)。   When the welding torch is moved to the first or second operating point, for example, when the operator moves to the 10 mm pitch or 10 ° pitch with the keyboard key or clicks one point on the screen with the mouse to guide the welding robot. Then, the computer automatically checks whether the welding robot model and the work model interfere with each other as described above (step S8).

干渉チェックの結果、溶接ロボットモデルとワークモデルとが干渉する場合(ステップS9)は、干渉した部分の溶接ロボットモデルとワークモデルとを例えば赤色で表示することによってオペレータに警告を発する(ステップS10)。なお、干渉が生じない場合は画面上に警告が表示されない。従って、オペレータは、警告の表示がない場合に、干渉が生じないことを認識する。   If the welding robot model and the work model interfere with each other as a result of the interference check (step S9), a warning is issued to the operator by displaying the welding robot model and the work model of the interfered part in, for example, red (step S10). . If no interference occurs, no warning is displayed on the screen. Therefore, the operator recognizes that no interference occurs when there is no warning display.

次に、ワークモデルと溶接ロボットモデルとがニアミスしたか否かがチェックされる(ステップS11)。一方、ステップS9において、溶接ロボットモデルとワークモデルとが干渉しない場合は、ステップS10を省略してステップS11に移行し、溶接ロボットモデルとワークモデルとがニアミスしたか否かが判定される(ステップS11)。ニアミスとは2つの部材が予め設定したニアミス距離以内に接近することをいう。ここで、ニアミスは、例えば予めコンピュータに設定されたニアミス距離に相当する分だけワークモデルを相似的に大きくした場合の干渉と考えることができる。なお、干渉チェックの後にニアミスチェックをしているので、干渉チェックで干渉が生じた場合はそのパーツのニアミスチェックを省略してもよい。なお本実施形態において、干渉チェックの後にニアミスチェックを行っているのは、干渉は回避できたとしても、ニアミスが発生した場合は、その動作プログラムは使用できるものの、実行中に十分注意を払う必要があることを認識するためである。理想的には、干渉及びニアミスの双方が発生しない動作プログラムを作成する。   Next, it is checked whether or not the work model and the welding robot model are near misses (step S11). On the other hand, if the welding robot model and the work model do not interfere with each other in step S9, the process skips step S10 and proceeds to step S11 to determine whether or not the welding robot model and the work model are near misses (step). S11). Near miss means that two members approach within a preset near miss distance. Here, the near miss can be considered as interference when the work model is similarly enlarged by an amount corresponding to the near miss distance set in advance in the computer, for example. Since the near miss check is performed after the interference check, the near miss check of the part may be omitted when interference occurs in the interference check. In this embodiment, the near miss check is performed after the interference check. Even if the interference can be avoided, the operation program can be used when the near miss occurs, but it is necessary to pay sufficient attention during the execution. This is to recognize that there is. Ideally, an operation program in which neither interference nor near miss occurs is created.

判定の結果、ニアミスが生じる場合はニアミスする部分の溶接ロボットモデルとワークモデルを例えば黄色で表示し(ステップS12)、ニアミスが発生しない場合はステップS12を省きステップS13に進む。ニアミスが生じない場合は警告は表示されない。干渉及びニアミスが全くない場合は(ステップS13)、必要に応じて溶接ロボットモデル及びワークモデル等の色を元の色、例えば銀色に戻し(ステップS14)、その後、ステップS17に進み、溶接ロボットの作業データが全て作成されたか否かが判定される(ステップS17)。   As a result of the determination, if a near miss occurs, the welding robot model and workpiece model of the near miss portion are displayed in, for example, yellow (step S12), and if no near miss occurs, step S12 is omitted and the process proceeds to step S13. If no near miss occurs, no warning is displayed. If there is no interference or near miss (step S13), the color of the welding robot model, work model, etc. is returned to the original color, for example, silver as necessary (step S14), and then the process proceeds to step S17. It is determined whether all work data has been created (step S17).

一方、干渉又はニアミスが発生した場合は、オペレータによって又は自動で溶接ロボットモデルの誘導経路等を変更して干渉又はニアミスを回避する(ステップS15a、ステップS15b)。   On the other hand, when interference or near miss occurs, the guidance route of the welding robot model or the like is changed by the operator or automatically to avoid interference or near miss (step S15a, step S15b).

即ち、オペレータによる溶接ロボットモデルの誘導経路の変更は例えば以下のように行われる。即ち、例えば図8に示したように、溶接ロボットモデルの溶接ノズルとワークモデルとが干渉する場合には、オペレータは溶接ロボットモデルの狙い位置X、Y、Zを図9に示したように変更する。図8は溶接ロボットの溶接ノズルとワークとが干渉する場合を示す図、図9は、干渉が生じた場合の溶接ロボットモデルの誘導方法を示す説明図である。図9において、オペレータは表示画面上を例えばマウスでクリックして溶接ロボットモデルを例えばX(前後)方向に1520.0mm、Y(左右)方向に0.0mm、Z(上下)方向に−305.0mm移動させる。この場合において、キーボードのキーをヒットするか又はマウスでクリックすることによって10mm、100mm等の一定ピッチで溶接ロボットモデルを移動させ干渉を回避することもできる。また、キーボードによって位置情報としての数値を入力して溶接ロボットモデルを移動させることもできる。   That is, the change of the guide route of the welding robot model by the operator is performed as follows, for example. That is, for example, as shown in FIG. 8, when the welding nozzle of the welding robot model interferes with the work model, the operator changes the target positions X, Y, and Z of the welding robot model as shown in FIG. To do. FIG. 8 is a diagram showing a case where the welding nozzle of the welding robot and the workpiece interfere with each other, and FIG. 9 is an explanatory diagram showing a method for guiding the welding robot model when the interference occurs. In FIG. 9, the operator clicks on the display screen with, for example, a mouse, and moves the welding robot model to, for example, 1520.0 mm in the X (front and back) direction, 0.0 mm in the Y (left and right) direction, and −305. Move 0 mm. In this case, the welding robot model can be moved at a constant pitch of 10 mm, 100 mm, etc. by hitting a key on the keyboard or clicking with a mouse to avoid interference. Also, the welding robot model can be moved by inputting numerical values as position information using a keyboard.

また、このときオペレータは例えばトーチ角度α、β、γを変更することもできる。図10はワークモデル表示画面上でトーチ角度を変更する場合を示す説明図である。図10において、オペレータはトーチ角度αを−0.01度、βを−24.97度を変更し、これによって、干渉又はニアミスを回避する(ステップS15a)。図11は、オペレータによってキーボードのキーをヒットし、又はマウスをクリックして誘導された溶接ロボットモデル位置、又はキーボードを使用して位置情報としての数値を入力して溶接ロボットモデルを移動させた場合の溶接ロボットモデル位置を示す図である。   At this time, the operator can change the torch angles α, β, γ, for example. FIG. 10 is an explanatory diagram showing a case where the torch angle is changed on the work model display screen. In FIG. 10, the operator changes the torch angle α to −0.01 degrees and β to −24.97 degrees, thereby avoiding interference or near miss (step S15a). FIG. 11 shows a case where the welding robot model position is derived by hitting a keyboard key by the operator or clicking the mouse, or by inputting a numerical value as position information using the keyboard and moving the welding robot model. It is a figure which shows the welding robot model position of this.

一方、自動で干渉又はニアミスを回避する場合は、干渉又はニアミスが発生した場合、前記溶接ロボットモデルについて誘導した操作条件又は変更した因子と同じ動作条件又は因子を前記オフライン教示システムのコンピュータに予め設定された態様で変更して前記干渉を回避する(ステップS15b)。   On the other hand, when automatically avoiding interference or near miss, when the interference or near miss occurs, the operation condition or factor that is the same as the operation condition or the changed factor that is derived for the welding robot model is preset in the computer of the offline teaching system. The interference is avoided by changing in the manner (step S15b).

次に、オペレータによってロボットシステムの作業データは全て作成されたか否かが判断され(ステップS17)、全て作成された場合は動作プログラムの作成を終了する。一方、全て作成されていない場合はステップS7に戻り、その後、同様の操作を繰り返し、溶接ロボットモデルの動作プログラムを作成する。   Next, it is determined whether or not all the work data of the robot system has been created by the operator (step S17). If all of the work data has been created, the creation of the operation program is terminated. On the other hand, if not all have been created, the process returns to step S7, and thereafter, the same operation is repeated to create an operation program for the welding robot model.

動作プログラムの作成中又は作成完了後に、一旦、干渉又はニアミスチェックを行った先の動作点まで溶接ロボットモデルを誘導し、その部分の動作条件を変更して再度干渉又はニアミスチェックを行い、これによって動作プログラムを修正することもできる。   During or after the creation of the motion program, once guide the welding robot model to the previous motion point where the interference or near miss check was performed, change the motion conditions of that part, and perform the interference or near miss check again. The operation program can be modified.

溶接ロボットモデルの動作プログラムが完成した後、必要に応じて完成した動作プログラムをシミュレーションする。図12は本実施形態で作成した動作プログラムのシミュレーション方法のフローを示す図である。   After the operation program of the welding robot model is completed, the completed operation program is simulated as necessary. FIG. 12 is a diagram showing a flow of the simulation method of the operation program created in the present embodiment.

図12において、先ずオペレータは、シミュレーションによって干渉の有無をチェックしたい動作プログラム名、溶接ロボットモデル名、ワークモデル名及び例えば干渉チェックの演算結果を格納する出力ファイル名を、例えば図3のデータ入力部23によってロボット教示部21に入力する(ステップS18)。   In FIG. 12, the operator first inputs an operation program name, welding robot model name, work model name, and output file name for storing, for example, an interference check operation result to be checked for the presence or absence of interference by simulation. 23 is input to the robot teaching unit 21 (step S18).

ステップS18で干渉チェック対象が選択されると、ロボット制御部22が選択された動作プログラムを実行し、干渉チェック部25が選択された溶接ロボットモデルとワークモデルとの間に干渉が生じるか否かの演算を自動的に開始し、干渉チェック処理を行う(ステップS19)。干渉が生じるか否かのチェックは、上述した図2に記載された方法と同様の方法によって行われる。   When the interference check target is selected in step S18, the robot control unit 22 executes the selected operation program, and the interference check unit 25 determines whether interference occurs between the selected welding robot model and the work model. Is automatically started to perform interference check processing (step S19). Whether or not interference occurs is checked by a method similar to the method described in FIG.

ステップS19の干渉チェック処理が完了すると、その結果が表示部24の表示画面に「干渉有り」又は「干渉無し」のように表示され、出力リストTが例えばロボット教示部21内に設けられた図示省略したデータ記憶部に記憶される(ステップS20)。   When the interference check process in step S19 is completed, the result is displayed on the display screen of the display unit 24 as “with interference” or “without interference”, and an output list T is provided in the robot teaching unit 21, for example. It is stored in the omitted data storage unit (step S20).

次に、干渉チェック処理が終了した後に教示プログラムの修正を行う。このときオペレータは上述したデータ記憶部から図13に示す干渉チェック出力リストを呼び出し、表示部24の画面上に表示させる。干渉チェックリストにおいて、第1の動作点とは、ロボットモデル及びワークモデルの干渉が発生している教示点間の開始点の番号を示し、ロボット部位名及びワーク部位名とは干渉が発生しているロボット及びワークの部位名の名称を示している。   Next, the teaching program is corrected after the interference check process is completed. At this time, the operator calls up the interference check output list shown in FIG. 13 from the data storage unit described above and displays it on the screen of the display unit 24. In the interference check list, the first operation point indicates the number of the starting point between the teaching points where the interference between the robot model and the work model occurs, and the robot part name and the work part name cause interference. The name of the part name of the robot and the workpiece is shown.

このような干渉チェック出力リストが表示部24の画面上に表示されると、オペレータは表示されている出力ファイル名に対応した教示プログラムを選択し、データ入力装置により上記教示点番号を入力するとロボットモデルとワークモデルとが入力された教示点番号において、例えばステップS6に戻ってからコンピュータが自動干渉チェックを行い、干渉が発生しないように教示プログラムの変更、修正を行い、修正後の教示プログラムをデータ記憶部に記憶させ、動作プログラムの修正処理を終了する。   When such an interference check output list is displayed on the screen of the display unit 24, the operator selects a teaching program corresponding to the displayed output file name, and inputs the teaching point number by the data input device. At the teaching point number to which the model and the work model are input, for example, after returning to step S6, the computer performs an automatic interference check, and changes and corrects the teaching program so that interference does not occur. The data is stored in the data storage unit, and the operation program correction processing is terminated.

本実施形態によれば、動作プログラムの作成中に溶接ロボットモデルとワークモデル、ポジショナモデル又はスライダモデルとの干渉は又はニアミスチェックを行うことができるので、干渉又はニアミスのない動作プログラムを迅速に作成することができる。   According to the present embodiment, since the interference between the welding robot model and the work model, the positioner model, or the slider model can be checked or near miss during the creation of the operation program, an operation program without interference or near miss can be quickly created. can do.

本実施形態によれば、干渉又はニアミスチェックが自動で行われるので、従来行っていた目視による干渉又はニアミスチェックが不要となるので、オペレータの負担が軽減される。また、本実施形態によれば、シミュレーションを実行する前に正確な動作プログラムを作成することができるので、シミュレーション後に、ロボットの連続する動作全体を見直すというリスクが少なくなる。   According to the present embodiment, since interference or near miss check is automatically performed, visual interference or near miss check that has been conventionally performed is not necessary, and the burden on the operator is reduced. Further, according to the present embodiment, an accurate operation program can be created before the simulation is executed, so that the risk of reviewing the entire continuous operation of the robot after the simulation is reduced.

本実施形態によれば、溶接ロボットとワークとの干渉又はニアミスの発生の有無だけでなく、ワーク周辺機器、例えばポジショナ、スライダ等と溶接ロボットとの干渉又はニアミスの有無を判定しながら動作プログラムを作成するので、ワークのみならず、その周辺機器との干渉、ニアミスを確実に回避した正確な動作プログラムを迅速に作成することができる。   According to the present embodiment, not only the occurrence of interference or near-miss between the welding robot and the workpiece, but also the operation program while determining the presence or absence of interference or near-miss between the workpiece peripheral device, for example, a positioner, slider, etc., and the welding robot. Since it is created, it is possible to quickly create an accurate operation program that reliably avoids not only workpieces but also interference with peripheral devices and near misses.

また、本実施形態によれば、干渉又はニアミスが発生する場合は、ディスプレイ画面上に溶接ロボットモデル及びワークモデル等が通常の色彩とは異なる色彩で警告表示されるので、オペレータは容易に干渉又はニアミスの発生を知ることができ、これに基づいて溶接ロボットモデルの誘導経路を変更して干渉又はニアミスのない動作プログラムを作成することができる。   Further, according to the present embodiment, when an interference or a near miss occurs, a warning is displayed on the display screen in a color different from the normal color such as the welding robot model and the work model, so that the operator can easily interfere or It is possible to know the occurrence of near miss, and based on this, the guide route of the welding robot model can be changed to create an operation program free from interference or near miss.

上記実施形態は、図6−1のフロー図のステップS3において、干渉チェックとニアミスチェックの両方を設定した場合について説明したが、本発明はこれに限定されず、干渉チェックのみ又はニアミスチェックのみを行うことができる。干渉チェックのみを行う場合は、ステップS11及びステップS12が省略され、ニアミスチェックのみを行う場合は、ステップS9及びステップS10が省略される。   In the above embodiment, the case where both the interference check and the near miss check are set in step S3 in the flowchart of FIG. 6A has been described. However, the present invention is not limited to this, and only the interference check or only the near miss check is performed. It can be carried out. If only the interference check is performed, step S11 and step S12 are omitted, and if only the near miss check is performed, step S9 and step S10 are omitted.

なお、本発明は上記実施例に限定されず、種々の変形が可能である。即ち、干渉チェック対象としては、ロボットとワークとの組み合わせに限らず、複数のワーク相互間、複数の溶接ロボット相互間のように2以上の動作物体間の干渉をチェックすることができる。また、動作物体群相互の干渉の有無を判定しながら動作プログラムを作成することもできる。   In addition, this invention is not limited to the said Example, A various deformation | transformation is possible. That is, the interference check target is not limited to a combination of a robot and a workpiece, and interference between two or more moving objects such as between a plurality of workpieces and between a plurality of welding robots can be checked. It is also possible to create an operation program while determining the presence or absence of mutual interference between the moving object groups.

本発明は、ロボットの動作プログラムの作成時に溶接ロボットとワーク等との干渉の有無を判定し、干渉が生じる場合にはオペレータの指示によって、又はコンピュータのソフト上で動作プログラムの作成条件を変更した後、再度干渉をチェックを行い、干渉がなくなるまでこの操作を繰り返す。従って、これによって正確な動作プログラムを短時間で作成することができるものであり、ロボットの誘導作業を数多く行う溶接ロボットの分野で特に有用である。   The present invention determines whether or not there is interference between a welding robot and a workpiece when creating an operation program for the robot, and when the interference occurs, the operation program creation conditions are changed by an instruction from the operator or on computer software. Then, check for interference again and repeat this operation until there is no interference. Therefore, it is possible to create an accurate operation program in a short time, which is particularly useful in the field of welding robots that perform many robot guidance operations.

本発明の実施形態に係る溶接ロボットの動作プログラム作成装置のブロック図である。It is a block diagram of the operation program creation apparatus of the welding robot which concerns on embodiment of this invention. 干渉チェック方法を示す説明図である。It is explanatory drawing which shows the interference check method. 図1の要部を詳細に示す図である。It is a figure which shows the principal part of FIG. 1 in detail. 溶接ロボットモデルのトーチ角度を示す説明図である。It is explanatory drawing which shows the torch angle of a welding robot model. 溶接ロボットモデルの関節角度を示す説明図である。It is explanatory drawing which shows the joint angle of a welding robot model. 本発明に係る溶接ロボットの動作プログラム作成方法のフローを示す図である。It is a figure which shows the flow of the operation program creation method of the welding robot which concerns on this invention. 本発明に係る溶接ロボットの動作プログラム作成方法のフローを示す図である。It is a figure which shows the flow of the operation program creation method of the welding robot which concerns on this invention. 本発明に係る溶接ロボットの動作プログラム作成方法のフローを示す図である。It is a figure which shows the flow of the operation program creation method of the welding robot which concerns on this invention. 溶接作業プログラムの一例を示す図である。It is a figure which shows an example of a welding work program. ロボット誘導中における溶接ノズルとワークとの干渉状態を示す図である。It is a figure which shows the interference state of the welding nozzle and workpiece | work during robot guidance. ロボットの誘導方法を示す図である。It is a figure which shows the guidance method of a robot. ロボットの誘導方法を示す図である。It is a figure which shows the guidance method of a robot. ロボットの誘導方法を示す図である。It is a figure which shows the guidance method of a robot. シミュレーション方法のフロー図である。It is a flowchart of a simulation method. 干渉チェック出力リストを示す図である。It is a figure which shows an interference check output list. ロボット溶接装置を示す装置系統図である。It is an apparatus system diagram showing a robot welding apparatus.

符号の説明Explanation of symbols

1:ワークモデルのデータベース
2:ロボットシステムモデルのデータベース
3:プログラムのデータベース
4:オフライン教示装置
5:入力部
6:表示部
7:ロボットコントローラ装置
8:通信装置
11:ロボット本体の回転軸
12:第2回転軸
13:第3回転軸
14:ロボットアームの回転軸
15:ロボット本体の回転軸に直交するロボットアームの回転軸
16:ロボットアームの回転軸
21:ロボット教示部
22:ロボット制御部
23:入力部
24:表示部
25:干渉チェック部
26:プログラム保存領域
30:トーチケーブル
60:パーソナルコンピュータ
61:ロボットコントローラ装置
62:通信ケーブル
63:溶接ロボット
64:ワーク
65:ポジショナ
1: Work model database 2: Robot system model database 3: Program database 4: Offline teaching device 5: Input unit 6: Display unit 7: Robot controller device 8: Communication device 11: Robot body rotation axis 12: 2 rotation axis 13: third rotation axis 14: rotation axis 15 of the robot arm 15: rotation axis of the robot arm perpendicular to the rotation axis of the robot body 16: rotation axis 21 of the robot arm 21: robot teaching unit 22: robot control unit 23: Input unit 24: Display unit 25: Interference check unit 26: Program storage area 30: Torch cable 60: Personal computer 61: Robot controller device 62: Communication cable 63: Welding robot 64: Work piece 65: Positioner

Claims (8)

オフライン教示システムにより溶接ロボットモデル及びワークモデルが一連の動作軌跡で動作するように教示して動作プログラムを作成する動作プログラム作成方法において、
前記溶接ロボットモデルを前記ワークモデルに対する第1の動作点に誘導する工程と、前記溶接ロボットモデルと前記ワークモデルとの間で干渉が生じるか否かをチェックする工程と、干渉が生じた場合は前記溶接ロボットモデルの動作条件、前記ワークモデルの配置態様及び第1の動作点の位置からなる群から選択された少なくとも1つの因子を変更して再度前記溶接ロボットモデルと前記ワークモデルとの間の干渉が生じるか否かをチェックし干渉がなくなるまでこれを繰り返す工程と、干渉が生じていない場合又は干渉が解消された後前記溶接ロボットモデルを前記ワークモデルに対する第2の動作点に誘導する工程と、前記溶接ロボットモデルと前記ワークモデルとの間で干渉が生じるか否かをチェックする工程と、干渉が生じた場合は前記溶接ロボットモデルの動作条件、前記ワークモデルの配置態様及び第2の動作点の位置からなる群から選択された少なくとも1つの因子を変更して再度前記溶接ロボットモデルと前記ワークモデルとの間の干渉が生じるか否かをチェックし干渉がなくなるまでこれを繰り返す工程と、第2の動作点についての干渉が生じていない場合又は干渉が解消された後、他に動作点があればそれらの動作点について同様の干渉チェックを行う工程と、を有し、
前記溶接ロボットモデルの動作条件は、そのロボット先端位置を(X,Y,Z)座標で表して前記溶接ロボットモデルを動作点間で誘導する経路である誘導経路、スライダで決められる前記溶接ロボットモデル位置、トーチ角度及び各関節角度からなる群から選択されたものであり、
前記溶接ロボットモデルの干渉チェックにおいて、チェック対象は、ワークモデルの他に、ポジショナモデル、スライダモデル、ノズルクリーナモデル、ワイヤカッタモデル及び足場モデルから選択された少なくとも1つの作業対象物以外の付帯物を含み、
全ての動作点について干渉がない動作プログラムを作成することを特徴とする動作プログラムの作成方法。
In an operation program creating method for creating an operation program by teaching the welding robot model and the work model to operate along a series of operation trajectories by an offline teaching system,
When the interference occurs, the step of guiding the welding robot model to the first operating point with respect to the workpiece model, the step of checking whether interference occurs between the welding robot model and the workpiece model, The at least one factor selected from the group consisting of the operating conditions of the welding robot model, the arrangement mode of the work model and the position of the first operating point is changed, and again between the welding robot model and the work model. A step of checking whether or not interference occurs and repeating this until no interference occurs; and a step of guiding the welding robot model to the second operating point with respect to the workpiece model when no interference occurs or after the interference is resolved And a step of checking whether or not interference occurs between the welding robot model and the work model; Is between the welding robot model and the work model again by changing at least one factor selected from the group consisting of the operating conditions of the welding robot model, the arrangement mode of the work model and the position of the second operating point. The process of checking whether or not the interference occurs and repeating this until the interference disappears, and when there is no interference with respect to the second operating point or after the interference has been eliminated, Performing a similar interference check on the operating point,
Operating conditions of the welding robot model are determined by a guide path, which is a path for guiding the welding robot model between operating points by representing the robot tip position in (X, Y, Z) coordinates, and the slider. Selected from the group consisting of position, torch angle and each joint angle;
In the interference check of the welding robot model, in addition to the work model, the check target is an accessory other than at least one work object selected from a positioner model, a slider model, a nozzle cleaner model, a wire cutter model, and a scaffold model. Including
An operation program creation method comprising creating an operation program free from interference for all operation points.
前記溶接ロボットモデル及び前記ワークモデルを表示画面上に表示し、マウス又はキーボードから前記溶接ロボットモデルをその動作点に誘導することを特徴とする請求項に記載の動作プログラムの作成方法。 The method of creating an operation program according to claim 1 , wherein the welding robot model and the work model are displayed on a display screen, and the welding robot model is guided to an operation point from a mouse or a keyboard. 前記干渉が生じた後の干渉を回避する工程は、前記溶接ロボットモデルの誘導経路、溶接ロボットモデル位置、トーチ角度及び関節角度からなる群から選択された動作条件を、前記オフライン教示システムのコンピュータに予め設定された態様で変更して前記干渉を回避することを特徴とする請求項1又は2に記載の動作プログラムの作成方法。 The step of avoiding the interference after the occurrence of the interference includes the operation condition selected from the group consisting of the guide path of the welding robot model, the welding robot model position, the torch angle, and the joint angle in the computer of the offline teaching system. 3. The operation program creation method according to claim 1, wherein the interference is avoided by changing in a preset manner. 前記溶接ロボットモデルと前記ワークモデルとが干渉する場合に、前記表示画面上において干渉が生じる部分の色を変更して警告することを特徴とする請求項2又は3に記載の動作プログラムの作成方法。 The method of creating an operation program according to claim 2 or 3 , wherein, when the welding robot model and the work model interfere with each other, a warning is given by changing a color of a portion where the interference occurs on the display screen. . 前記干渉チェックは、実際のワーク形状を有するワークモデルについての干渉チェックに変えて、又はその干渉チェックの後に更に、実際のワークよりも大きな形状を有するダミーワークモデルについて、前記溶接ロボットモデルと前記ダミーワークモデルとの干渉をチェックすることにより、溶接ロボットと実際のワークとの間のニアミスをチェックすることを特徴とする請求項乃至4のいずれか1項に記載の動作プログラムの作成方法。 The interference check is replaced with an interference check for a workpiece model having an actual workpiece shape, or after the interference check, for the dummy workpiece model having a shape larger than the actual workpiece, the welding robot model and the dummy by checking the interference between the workpiece model, how to create the operation program according to any one of claims 1 to 4, characterized in that to check the near miss between the actual workpiece and the welding robot. 前記動作プログラムの作成中又は作成後に、干渉チェックが終了した動作点に戻って前記溶接ロボットモデルの動作条件、前記ワークモデルの配置態様及び動作点の位置からなる群から選択された少なくとも1種を変更して再度干渉チェックを行うことを特徴とする請求項1乃至5のいずれか1項に記載の動作プログラムの作成方法。 After being created or creates the operation program, the operating conditions of the previous SL welding robot model back to the operating point of interference check is completed, at least one selected from the group consisting of position of the arrangement mode and the operating point of the workpiece model the change, how to create the operation program according to any one of claims 1 to 5, characterized in that the interference check again. 前記動作プログラムの作成中又は作成後に、ニアミスチェックが終了した動作点に戻って前記溶接ロボットモデルの動作条件、前記ワークモデルの配置態様及び動作点の位置からなる群から選択された少なくとも1種を変更して再度ニアミスチェックを行うことを特徴とする請求項に記載の動作プログラムの作成方法。 After being created or creates the operation program, at least one near miss checking the selected operating conditions of the previous SL welding robot model back to the operating point has ended, from the group consisting of position of the arrangement mode and the operating point of the workpiece model the change, how to create the operation program according to claim 5, wherein the performing near miss checked again. 前記動作プログラムの作成後に、動作をシミュレーションし、最終的に干渉がないことを確認することを特徴とする請求項1乃至のいずれか1項に記載の動作プログラムの作成方法。 After creation of the operation program, to simulate the operation, how to create the operation program according to any one of claims 1 to 7, characterized in that to ensure that there is no final interference.
JP2005003256A 2005-01-07 2005-01-07 How to create an operation program Active JP4836458B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005003256A JP4836458B2 (en) 2005-01-07 2005-01-07 How to create an operation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005003256A JP4836458B2 (en) 2005-01-07 2005-01-07 How to create an operation program

Publications (2)

Publication Number Publication Date
JP2006190228A JP2006190228A (en) 2006-07-20
JP4836458B2 true JP4836458B2 (en) 2011-12-14

Family

ID=36797358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005003256A Active JP4836458B2 (en) 2005-01-07 2005-01-07 How to create an operation program

Country Status (1)

Country Link
JP (1) JP4836458B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932419A (en) * 2014-03-19 2015-09-23 Dmg森精机株式会社 Simulation Apparatus for Manual Operation of Machine Tool

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010207860A (en) * 2009-03-10 2010-09-24 Nippon Avionics Co Ltd Automatic welding machine and programming method of welding control content thereof
JP5445191B2 (en) * 2010-02-08 2014-03-19 株式会社デンソーウェーブ Robot trajectory display device
JP5801569B2 (en) * 2011-02-28 2015-10-28 株式会社ブリヂストン Interference check device and program
JP2012228736A (en) * 2011-04-25 2012-11-22 Kobe Steel Ltd Method and system for preparing offline teaching data
JP5872894B2 (en) * 2011-12-28 2016-03-01 川崎重工業株式会社 Robot motion teaching support apparatus and method
JP6219868B2 (en) 2015-03-10 2017-10-25 ファナック株式会社 A welding robot that monitors the feedability of the welding wire
JP6370821B2 (en) 2016-02-12 2018-08-08 ファナック株式会社 Robot programming device that teaches robot programs
JP7091609B2 (en) 2017-04-14 2022-06-28 セイコーエプソン株式会社 Simulation equipment, robot control equipment and robots
WO2019092792A1 (en) * 2017-11-07 2019-05-16 三菱電機株式会社 Display control device, display control method, and display control program
JP7118725B2 (en) * 2018-04-27 2022-08-16 川崎重工業株式会社 Robot teaching method and robot teaching system
JP6838028B2 (en) * 2018-10-31 2021-03-03 ファナック株式会社 Automatic program correction device and automatic program correction method
JP7172575B2 (en) * 2018-12-25 2022-11-16 セイコーエプソン株式会社 Robot management system
JP7396872B2 (en) * 2019-11-22 2023-12-12 ファナック株式会社 Simulation device and robot system using augmented reality
JP6819766B1 (en) * 2019-11-27 2021-01-27 株式会社安川電機 Simulation systems, simulation methods, simulation programs, robot manufacturing methods, and robot systems
JP7469457B2 (en) 2020-03-05 2024-04-16 ファナック株式会社 ROBOT PROGRAMMING DEVICE AND ROBOT PROGRAMMING METHOD
EP4279224A4 (en) * 2021-01-12 2024-02-28 Kawasaki Heavy Ind Ltd Path generation device, path generation method, and path generation program
JP2023025924A (en) * 2021-08-11 2023-02-24 株式会社Jsol Robot teaching data creation system and program
CN113983995A (en) * 2021-09-30 2022-01-28 歌尔股份有限公司 Angle measuring method, device and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08328632A (en) * 1995-05-26 1996-12-13 Matsushita Electric Works Ltd Method for simulating robot operation
JPH1011129A (en) * 1996-06-26 1998-01-16 Daihen Corp Off-line teaching method for robot for arc welding
JP2003127077A (en) * 2001-10-19 2003-05-08 Komatsu Ltd Robot program modification device for working robot
JP4011372B2 (en) * 2002-03-13 2007-11-21 シチズンホールディングス株式会社 Machining program check method and check apparatus for numerically controlled machine tool, and numerically controlled machine tool provided with the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932419A (en) * 2014-03-19 2015-09-23 Dmg森精机株式会社 Simulation Apparatus for Manual Operation of Machine Tool
CN104932419B (en) * 2014-03-19 2019-08-27 Dmg森精机株式会社 Use the simulator of manual operation work mechanism

Also Published As

Publication number Publication date
JP2006190228A (en) 2006-07-20

Similar Documents

Publication Publication Date Title
JP4836458B2 (en) How to create an operation program
JP3819883B2 (en) Robot program position correction device
US10737396B2 (en) Method and apparatus for robot path teaching
JP3950805B2 (en) Teaching position correction device
JP5981143B2 (en) Robot tool control method
JP6311421B2 (en) Teaching system, robot system, and teaching method
US7904201B2 (en) Robot programming device
US8872070B2 (en) Offline teaching method
JP4621641B2 (en) Robot teaching CAD apparatus and robot teaching method
JP5872894B2 (en) Robot motion teaching support apparatus and method
JP2010184278A (en) Method of selecting weld line
US20180290304A1 (en) Offline programming apparatus and method having workpiece position detection program generation function using contact sensor
JP2015098076A (en) Robot program creation method, robot program creation device, program, and recording medium
JPH08328632A (en) Method for simulating robot operation
JP2009119589A (en) Robot simulator
JP5813931B2 (en) Teaching data correction system
JP2007272309A (en) Off-line teaching device for working robot
JP5291482B2 (en) Robot teaching program correction device
WO2013118179A1 (en) Tool-path displaying method and tool-path displaying apparatus
JP2006072673A (en) Positioner setting method for welding robot
JPH08286722A (en) Off-line teaching method using cad data and its system
JP2015100874A (en) Robot system
JP2002326175A (en) Robot program preparation device of working robot system, and program preparation device of automatic control equipment system
JP2836281B2 (en) Data creation method for welding robot
CN117182264A (en) Welding angle correction device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110301

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110425

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: 20110927

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110927

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141007

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4836458

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150