JPH10133730A - Method and device for generating operation program for robot - Google Patents

Method and device for generating operation program for robot

Info

Publication number
JPH10133730A
JPH10133730A JP28798596A JP28798596A JPH10133730A JP H10133730 A JPH10133730 A JP H10133730A JP 28798596 A JP28798596 A JP 28798596A JP 28798596 A JP28798596 A JP 28798596A JP H10133730 A JPH10133730 A JP H10133730A
Authority
JP
Japan
Prior art keywords
operation program
basic
work
data
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP28798596A
Other languages
Japanese (ja)
Inventor
Keiji Miyaji
計二 宮地
Shigeru Taniguchi
繁 谷口
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.)
Asahi Sunac Corp
Original Assignee
Asahi Sunac Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Asahi Sunac Corp filed Critical Asahi Sunac Corp
Priority to JP28798596A priority Critical patent/JPH10133730A/en
Publication of JPH10133730A publication Critical patent/JPH10133730A/en
Pending legal-status Critical Current

Links

Landscapes

  • Spray Control Apparatus (AREA)
  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

PROBLEM TO BE SOLVED: To facilitate to set teaching points for a work having an arbitrary shape and to generate an operation program in an off-line system. SOLUTION: A basic stereo pattern, teaching points corresponding to the pattern and an operation program are selected from among data stored in a basic data storage part and size information is inputted together. Then, the selected plural basic stereo patterns are combined to generate a work model which approximates to the work. Consequently, teaching pints corresponding to the generated work model are automatically set and an operation program is automatically generated. Thus, the work model is generated by combining the plural basic stereo patterns to easily set teaching points for the work having an arbitrary shape and generate the operation program.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、塗装用ロボットな
どのロボットの動作プログラムを作成するためのロボッ
トの動作プログラム作成方法及びその作成装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for creating an operation program of a robot for creating an operation program of a robot such as a painting robot.

【0002】[0002]

【発明が解決しようとする課題】産業用のロボット、例
えば塗装用ロボットを動作させる場合、ロボットを動作
させるための動作プログラム(いわゆるティーチングプ
ログラム)を作成する必要がある。この動作プログラム
を作成する方法としては従来より種々の方法があり、大
きくは、実際の塗装ラインにおいて、実機(ロボット)
を用いて行うオンライン方式と、実際の塗装ライン以外
で行うオフライン方式とに分けられる。また、オフライ
ン方式としては、実際の塗装ラインと同様な作業環境
で、実機と同種のロボットを用いて行う仮実機方式と、
コンピュータによるシミュレーション機能を利用したコ
ンピュータ・シミュレーション方式(CADティーチン
グとも呼ばれる)とがある。
When operating an industrial robot, for example, a painting robot, it is necessary to create an operation program (so-called teaching program) for operating the robot. There are various methods for creating this operation program from the past, and the most important method is to use an actual machine (robot) in an actual painting line.
The method is divided into an on-line method using a method and an off-line method using a method other than the actual painting line. In addition, as the offline method, a temporary actual machine method that uses the same kind of robot as the actual machine in the same working environment as the actual painting line,
There is a computer simulation method (also called CAD teaching) using a simulation function by a computer.

【0003】このうち、オンライン方式の場合には、実
際の塗装ラインにおいて、実際のワークを対象として行
うものであるから、実際の作業環境に合った動作の設定
が可能となる利点がある。しかしながら、ティーチング
時に塗装ラインを停止させる必要があり、しかも、ティ
ーチングに多くの時間がかかると共に、熟練を要するな
どの欠点がある。
[0003] Among them, in the case of the online system, since the actual work is performed in the actual painting line, there is an advantage that the operation can be set in accordance with the actual work environment. However, there are drawbacks in that the painting line must be stopped during teaching, and that much time is required for teaching and skill is required.

【0004】一方、オフライン方式のうち、仮実機方式
の場合には、実際の塗装ライン以外で行うものであるか
ら、塗装ラインを停止させる必要がなく、しかも、オン
ライン方式の場合と同様に、ほぼ実際の作業環境にあっ
た動作の設定が可能となる利点がある。しかしながら、
実機と同種のロボットが別途必要であると共に、実際の
塗装ラインと同様な作業環境を作る必要があり、また、
オンライン方式の場合と同様に、ティーチングに多くの
時間がかかると共に、熟練を要するなどの欠点がある。
On the other hand, among the off-line systems, in the case of the provisional actual machine system, since the operation is performed in a place other than the actual painting line, there is no need to stop the painting line, and almost the same as in the case of the online system, There is an advantage that the operation can be set according to the actual work environment. However,
A separate robot of the same type as the actual machine is required, and it is necessary to create a working environment similar to the actual painting line.
As in the case of the online method, there are disadvantages such as that much time is required for teaching and skill is required.

【0005】これに対して、コンピュータ・シミュレー
ション方式の場合には、ロボットモデルを含む作業環境
の三次元モデル及びワークの三次元モデルを作成して表
示画面に表示し、その表示画面上において、作業のポイ
ントとなるティーチポイントを設定すると共に、各ティ
ーチポイントの通過順序などを定めて動作プログラムを
作成し、そして、表示画面上においてロボットを動作プ
ログラムに従って動作させる作業シミュレーションを行
い、この結果に基づいて動作プログラムを完成させるよ
うにしたものである。
On the other hand, in the case of the computer simulation method, a three-dimensional model of a work environment including a robot model and a three-dimensional model of a work are created and displayed on a display screen. In addition to setting the teach points that will be the points of the above, an operation program is created by determining the passing order of each teach point, etc., and a work simulation of operating the robot according to the operation program on the display screen is performed, and based on this result, The operation program is completed.

【0006】このようなコンピュータ・シミュレーショ
ン方式の場合には、上記した仮実機方式の場合と同様
に、塗装ラインを停止させる必要がなく、しかも、ほぼ
実際の作業環境にあった動作の設定が可能となる利点が
ある。また、仮実機方式の場合とは違い、ティーチング
用のロボットを必要としないと共に、実際の塗装ライン
と同様な作業環境を作る必要もない。
In the case of such a computer simulation system, there is no need to stop the painting line, as in the case of the above-mentioned temporary actual machine system, and it is possible to set an operation almost corresponding to the actual working environment. There are advantages. Further, unlike the case of the temporary actual machine system, a teaching robot is not required, and there is no need to create a working environment similar to that of an actual painting line.

【0007】しかしながら、ワークに対応したティーチ
ポイントの設定及び動作プログラムの作成を行うには、
表示画面において、ワークに忠実な三次元モデルを作成
し、その三次元モデルに対してティーチポイントを逐一
指示したり、各ティーチポイントの通過順序などを逐一
指示したりする必要があり、このような作業は非常に面
倒で、時間がかかるものであった。特に、ワークの形状
が複雑になると、その作業は一層面倒で、時間がかかる
ものとなる。
However, in order to set a teach point and create an operation program corresponding to a workpiece,
On the display screen, it is necessary to create a three-dimensional model that is faithful to the workpiece, and instruct the teach points one by one with respect to the three-dimensional model, and instruct the passing order of each teach point one by one. The work was very cumbersome and time consuming. In particular, when the shape of the work becomes complicated, the work becomes more troublesome and time-consuming.

【0008】本発明は上記事情に鑑みてなされたもので
あり、その目的は、オフライン方式において、任意の形
状のワークに対するティーチポイントの設定及び動作プ
ログラムの作成を容易に行うことができるロボットの動
作プログラム作成方法及びその作成装置を提供するにあ
る。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an operation of a robot that can easily set a teach point and create an operation program for a work having an arbitrary shape in an off-line system. An object of the present invention is to provide a program creation method and a program creation device.

【0009】[0009]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明のロボットの動作プログラム作成方法は、
基本立体図形を複数組み合わせてワークに近似したワー
クモデルを作成し、前記各基本立体図形に対して予め設
定されたティーチポイントのデータと、前記ワークモデ
ルのデータとに基づいて、当該ワークモデルに対応する
ティーチポイントを設定すると共に、前記各基本立体図
形に対して予め設定された各ティーチポイントの通過順
序などを定めたロボットの動作プログラムのデータと、
前記ワークモデルに対応するティーチポイントのデータ
とに基づいて、当該ワークモデルに対応する動作プログ
ラムを作成するようにしたことを特徴とするものである
(請求項1の発明)。
In order to achieve the above object, a method for creating a robot operation program according to the present invention comprises:
A work model approximated to a work is created by combining a plurality of basic three-dimensional figures, and corresponding to the work model based on the data of the teach point preset for each of the basic three-dimensional figures and the data of the work model. Data of a robot operation program that sets a teach point to be set, and determines a passing order of each teach point preset for each of the basic three-dimensional figures,
An operation program corresponding to the work model is created based on the teach point data corresponding to the work model (the invention of claim 1).

【0010】このような方法によれば、基本立体図形を
複数組み合わせてワークに近似したワークモデルを作成
すると、各基本立体図形に対して予め設定されたティー
チポイントのデータと前記ワークモデルのデータとに基
づいて、当該ワークモデルに対応するティーチポイント
が自動的に設定されると共に、各基本立体図形に対して
予め設定された各ティーチポイントの通過順序などを定
めたロボットの動作プログラムのデータと前記ワークモ
デルに対応するティーチポイントのデータとに基づい
て、当該ワークモデルに対応する動作プログラムが自動
的に作成されるようになる。従って、使用者としては、
作成したワークモデルに対して、ティーチポイントを指
示したり、各ティーチポイントの通過順序などを指示し
たりする必要がなくなる。
According to this method, when a work model approximated to a work is created by combining a plurality of basic three-dimensional figures, data of teach points preset for each basic three-dimensional figure and data of the work model are obtained. Teach points corresponding to the work model are automatically set based on the robot model, and data of a robot operation program that defines a passage order of each teach point set in advance for each basic three-dimensional figure, and An operation program corresponding to the work model is automatically created based on the data of the teach point corresponding to the work model. Therefore, as a user,
There is no need to instruct the created work model on the teach points or the order of passing the teach points.

【0011】また、上述したようなロボットの動作プロ
グラムを作成する装置としては、複数の基本立体図形、
及びこれら各基本立体図形に対応するティーチポイン
ト、並びに各基本立体図形に対応する各ティーチポイン
トの通過順序などを定めたロボットの動作プログラムに
関する各データを記憶する基礎データ記憶手段と、この
基礎データ記憶手段に記憶された前記基本立体図形、テ
ィーチポイント、並びに動作プログラムに関するデータ
を選択する選択手段と、この選択手段により選択された
前記基本立体図形を複数組み合わせることにより、ワー
クに近似したワークモデルを作成するワークモデル作成
手段と、前記選択手段により選択された前記各基本立体
図形に対応するティーチポイントのデータと、前記ワー
クモデル作成手段により作成された前記ワークモデルの
データとに基づいて、当該ワークモデルに対応するティ
ーチポイントを設定するティーチポイント設定手段と、
前記選択手段により選択された前記各基本立体図形に対
応する動作プログラムのデータと、前記ティーチポイン
ト設定手段により設定されたティーチポイントのデータ
とに基づいて、前記ワークモデルに対応する動作プログ
ラムを作成する動作プログラム作成手段とを具備した構
成とすることが好ましい(請求項2の発明)。
[0011] Further, as an apparatus for creating a robot operation program as described above, a plurality of basic three-dimensional figures,
Basic data storage means for storing data relating to a robot operation program which defines a teach point corresponding to each of these basic three-dimensional figures, a passing order of each teach point corresponding to each of the basic three-dimensional figures, and the basic data storage A selection means for selecting the data relating to the basic three-dimensional figure, the teach point, and the operation program stored in the means, and a plurality of the basic three-dimensional figures selected by the selection means are combined to create a work model similar to a work. Based on the work model creating means, the teach point data corresponding to each of the basic three-dimensional figures selected by the selecting means, and the work model data created by the work model creating means. Teach point corresponding to And teach point setting means that,
An operation program corresponding to the work model is created based on data of an operation program corresponding to each of the basic three-dimensional figures selected by the selection unit and data of a teach point set by the teach point setting unit. It is preferable to provide a configuration including an operation program creating means (the invention of claim 2).

【0012】[0012]

【発明の実施の形態】以下、本発明の一実施例について
図面を参照して説明する。まず、図2には塗装用のロボ
ット1の外観が示されており、このロボット1は、この
場合多関節形ロボットであり、アーム先端部のハンド2
に、塗料を吹き付けるためのスプレイガン3が取り付け
られている。図3には塗装対象であるワーク4の一例が
示されており、このワーク4は、この場合、ほぼ直方体
をなす台5と、ほぼ立方体をなし、台5の上面の一端側
に設けられた状態の凸部6とを組み合わせた形状となっ
ている。台5及び凸部6の各角部5a,6aは、曲面状
となるように面取りされている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. First, FIG. 2 shows an external view of a painting robot 1. This robot 1 is an articulated robot in this case, and a hand 2 at the tip of an arm.
, A spray gun 3 for spraying paint is attached. FIG. 3 shows an example of a work 4 to be coated. In this case, the work 4 forms a substantially rectangular parallelepiped base 5 and a substantially cubic body, and is provided at one end of the upper surface of the base 5. The shape is a combination of the convex portion 6 in the state. The corners 5a and 6a of the base 5 and the protrusion 6 are chamfered so as to be curved.

【0013】一方、図4は、上記ロボット1の動作プロ
グラムを作成するための作成装置の概略的なブロック構
成を示している。この動作プログラムの作成装置は、演
算・制御部10と、基礎データ記憶部11と、ロボット
モデル記憶部12と、環境モデル記憶部13と、ワーク
モデル記憶部14と、ティーチポイント記憶部15と、
動作プログラム記憶部16と、プログラム記憶部17
と、例えばCRTディスプレイから成る表示部18と、
キーボード19及びマウス20などから構成されてい
る。
FIG. 4 shows a schematic block configuration of a creating device for creating the operation program of the robot 1. The operation program creation device includes a calculation / control unit 10, a basic data storage unit 11, a robot model storage unit 12, an environment model storage unit 13, a work model storage unit 14, a teach point storage unit 15,
Operation program storage unit 16 and program storage unit 17
A display unit 18 composed of, for example, a CRT display;
It is composed of a keyboard 19, a mouse 20, and the like.

【0014】このうち、基礎データ記憶部11は、本発
明における基礎データ記憶手段を構成するものであり、
この基礎データ記憶部11には、複数の基本立体図形
(立方体、直方体、円柱、球、錐など)に関するデー
タ、各基本立体図形における塗装面のティーチポイント
に関するデータ、並びに各ティーチポイントの通過順序
や移動速度などを定めた動作プログラムに関するデータ
が記憶されている。この場合、基本立体図形と、この基
本立体図形における塗装面と、その塗装面に対するティ
ーチポイントと、その塗装面を塗装する際の動作プログ
ラムとが一つのセットになっている。
Among them, the basic data storage section 11 constitutes basic data storage means in the present invention.
The basic data storage unit 11 stores data relating to a plurality of basic three-dimensional figures (a cube, a rectangular parallelepiped, a cylinder, a sphere, a cone, etc.), data relating to a teach point of a painted surface in each basic three-dimensional figure, a passing order of each teach point, Data relating to an operation program that determines a moving speed and the like is stored. In this case, a basic solid figure, a painted surface in the basic solid figure, a teach point for the painted surface, and an operation program for painting the painted surface are one set.

【0015】ロボットモデル記憶部12には、上記ロボ
ット1をモデル化したロボットモデルについての形状や
各リンクのパラメータなどのデータが記憶されている。
また、環境モデル記憶部13には、ロボット1が使用さ
れる周囲の設備、例えば仕切壁や搬送用レール、ハンガ
ーなどをモデル化した環境モデルについての形状などの
データが記憶されている。
The robot model storage unit 12 stores data such as the shape of the robot model that models the robot 1 and the parameters of each link.
The environment model storage unit 13 stores data such as the shape of an environment model obtained by modeling surrounding equipment in which the robot 1 is used, such as a partition wall, a transfer rail, and a hanger.

【0016】ワークモデル記憶部14は、後述するよう
に、基本立体図形を複数組み合わせて作成されるワーク
モデルについてのデータを記憶し、ティーチポイント記
憶部15は、そのワークモデルに対して設定されるティ
ーチポイントについてのデータを記憶し、動作プログラ
ム記憶部16は、ワークモデルに対して作成される動作
プログラムについてのデータを記憶するようになってい
る。
The work model storage unit 14 stores data on a work model created by combining a plurality of basic three-dimensional figures as described later, and the teach point storage unit 15 is set for the work model. The data on the teach points is stored, and the operation program storage unit 16 stores data on an operation program created for the work model.

【0017】プログラム記憶部17には、ロボットの動
作プログラムを作成するために演算・制御部10を制御
するためのプログラムが記憶されている。表示部18
は、ワークモデル、ロボットモデル、環境モデル、ワー
クモデルに対するティーチポイントなどを表示すると共
に、この表示画面上において作業のシミュレーションを
実行する構成となっており、表示手段及び出力手段を構
成している。
The program storage unit 17 stores a program for controlling the arithmetic and control unit 10 to create a robot operation program. Display 18
Is configured to display a work model, a robot model, an environment model, a teach point for the work model and the like, and to execute a simulation of the work on this display screen, and constitute display means and output means.

【0018】キーボード19及びマウス20は、ワーク
モデルを作成する際に、基本立体図形、塗装面、ティー
チポイント、動作プログラムなどを選択する際の選択手
段を構成すると共に、寸法情報などを入力する入力手段
を構成している。
The keyboard 19 and the mouse 20 constitute selection means for selecting a basic three-dimensional figure, a painted surface, a teach point, an operation program, and the like when creating a work model, and an input for inputting dimension information and the like. Means.

【0019】そして、上記演算・制御部10は、キーボ
ード19及びマウス20の操作に基づき、後述するよう
に、ワークモデルを作成する機能(ワークモデル作成手
段)、作成されたワークモデルに対応するティーチポイ
ントを設定する機能(ティーチポイント設定手段)、作
成されたワークモデルに対応する動作プログラムを作成
する機能(動作プログラム作成手段)、及びロボットモ
デルによる作業シミュレーションを実行する機能などを
備えている。
The operation / control unit 10 has a function of creating a work model (work model creation means) based on the operation of the keyboard 19 and the mouse 20, and a teach corresponding to the created work model, as described later. It has a function of setting points (teach point setting means), a function of creating an operation program corresponding to the created work model (operation program creation means), and a function of executing a work simulation using a robot model.

【0020】次に上記した構成の作成装置により、図3
のワーク4を塗装する動作プログラムを作成する際の手
順について、図1と、図5〜図8も参照して説明する。
この場合、ワーク4において、台5の上面5bと、凸部
6の前面6bとにわたって塗装する場合を対象としてい
る。
Next, FIG.
A procedure for creating an operation program for painting the work 4 will be described with reference to FIG. 1 and also FIGS.
In this case, the case where the work 4 is coated over the upper surface 5b of the base 5 and the front surface 6b of the projection 6 is intended.

【0021】図1は動作プログラムを作成するためのメ
インプログラムを示すもので、このプログラムがスター
トすると、まず、使用者は、キーボード19或いはマウ
ス20を操作して、基礎データ記憶部11に記憶された
データの中から、表示部18の表示を見ながら、基本立
体図形、ティーチポイント、動作プログラムを選択する
と共に、寸法情報を入力する(ステップS1)。この場
合、基本立体図形には、塗装面と、その塗装面における
ティーチポイントと、その塗装面を塗装する際の動作プ
ログラムとがセットになっている。
FIG. 1 shows a main program for creating an operation program. When this program starts, first, the user operates the keyboard 19 or the mouse 20 to store the data in the basic data storage unit 11. The user selects a basic three-dimensional figure, a teach point, and an operation program and inputs dimensional information while viewing the display on the display unit 18 from the data (step S1). In this case, the basic three-dimensional figure includes a painted surface, a teach point on the painted surface, and an operation program for painting the painted surface.

【0022】ここで、使用者は、基本立体図形を選択す
る際に、ワーク4を複数の基本立体図形に分割して考
え、図5の(a)及び(b)に示すように、凸部6に対
応した基本立体図形である立方体21と、台5に対応し
た基本立体図形である直方体22とを選択する。このと
き、選択する立方体21は、立方体のなかでも、塗装面
及び塗装方向が凸部6の前面6bを塗装するのに合った
ものを選択する。また、直方体22も、直方体のなかで
も、塗装面及び塗装方向が台5の上面5bを塗装するの
に合ったものを選択する。選択された基本立体図形(立
方体21、直方体22)は表示部18に表示される。図
5の(a)及び(b)において、黒塗りの点はティーチ
ポイントTPを、TPの後の数字は通過順序を、一点鎖
線Lは通過経路(塗装経路)を示している。なお、ティ
ーチポイントTPの数は、簡略化して示されている。
Here, when selecting a basic three-dimensional figure, the user considers dividing the work 4 into a plurality of basic three-dimensional figures, and as shown in FIGS. A cube 21 which is a basic three-dimensional figure corresponding to 6 and a rectangular solid 22 which is a basic three-dimensional figure corresponding to the platform 5 are selected. At this time, as the cube 21 to be selected, a cube whose painting surface and painting direction are suitable for painting the front surface 6b of the convex portion 6 is selected from the cubes. The rectangular parallelepiped 22 is also selected from the rectangular parallelepipeds having a coating surface and a coating direction suitable for coating the upper surface 5b of the base 5. The selected basic three-dimensional figure (cube 21, rectangular solid 22) is displayed on the display unit 18. In FIGS. 5A and 5B, black dots indicate the teaching points TP, numbers following TP indicate the passing order, and dashed-dotted lines L indicate passing paths (painting paths). Note that the number of teach points TP is shown in a simplified manner.

【0023】そして、使用者は、キーボード19或いは
マウス20を操作して、これら立方体21と直方体22
とをどのように組み合わせるかの指示をする。
Then, the user operates the keyboard 19 or the mouse 20 to operate the cube 21 and the rectangular solid 22.
And how to combine them.

【0024】すると、演算・制御部10では、基本立体
図形を組み合わせてワークモデル23(図5の(c)参
照)を作成する(ステップS2)。このワークモデル2
3を作成するサブルーチンのフローチャートを図6に示
す。
Then, the operation / control section 10 creates a work model 23 (see FIG. 5C) by combining the basic three-dimensional figures (step S2). This work model 2
FIG. 6 shows a flowchart of a subroutine for creating the third subroutine.

【0025】まず、選択された基本立体図形(立方体2
1と直方体22)の組み合わせに伴う演算を行う(ステ
ップT1)。この演算は、例えばコンピュータグラフィ
ックスの分野で用いられる、CSG(constructive sol
id geometry )の手法、或いはB-reps (boundary rep
resentation )の手法を用いる。そして、このようにし
て作成されたワークモデル23に関するデータをワーク
モデル記憶部14にファイルし(ステップT2)、メイ
ンルーチンに戻る。
First, a selected basic three-dimensional figure (cube 2
An operation associated with the combination of 1 and the rectangular parallelepiped 22) is performed (step T1). This operation is performed, for example, by CSG (constructive sol) used in the field of computer graphics.
id geometry) or B-reps (boundary rep)
resentation). Then, the data on the work model 23 created in this way is filed in the work model storage unit 14 (step T2), and the process returns to the main routine.

【0026】演算・制御部10では、次に、上記ステッ
プS2で作成されたワークモデル23に対応するティー
チポイントを設定すると共に、動作プログラムを作成す
る(ステップS3)。このティーチポイント設定、動作
プログラム作成のサブルーチンのフローチャートを図7
に示す。
Next, the arithmetic and control unit 10 sets a teach point corresponding to the work model 23 created in step S2 and creates an operation program (step S3). FIG. 7 is a flowchart of a subroutine for setting a teach point and creating an operation program.
Shown in

【0027】ここでは、まず、ワークモデル23に対応
するティーチポイントの選択・統合の演算を行う(ステ
ップU1)。具体的には、立方体21において予め設定
されたティーチポイントTPのデータと、直方体22に
おいて予め設定されたティーチポイントTPのデータ
と、立方体21と直方体22とを組み合わせた上記ワー
クモデル23のデータとに基づいて、ワークモデル23
に対応するティーチポイントを設定する。この場合、直
方体22の上面の一部が立方体21により覆われた状態
となることに伴い、直方体22の上面側の一部のティー
チポイントをキャンセルする。図5(c)において、白
抜きの点はキャンセルするティーチポイント(CTP)
を示している。このようにして、ワークモデル23に対
応するティーチポイントTPを設定し、このティーチポ
イントTPのデータをティーチポイント記憶部15にフ
ァイルする(ステップU2)。
Here, first, a calculation for selecting and integrating a teach point corresponding to the work model 23 is performed (step U1). Specifically, the data of the teach point TP preset in the cube 21, the data of the teach point TP preset in the cuboid 22, and the data of the work model 23 in which the cube 21 and the cuboid 22 are combined Based on the work model 23
Set the teach point corresponding to. In this case, as a part of the upper surface of the rectangular parallelepiped 22 is covered by the cube 21, a part of the teach point on the upper surface side of the rectangular parallelepiped 22 is canceled. In FIG. 5C, a white point indicates a teach point (CTP) to be canceled.
Is shown. In this way, the teach point TP corresponding to the work model 23 is set, and the data of the teach point TP is filed in the teach point storage unit 15 (step U2).

【0028】次に、ワークモデル23に対応するティー
チポイントTPに番号付けを行い(ステップU3)、こ
のデータと、立方体21に予め設定された動作プログラ
ムのデータと、直方体22に予め設定された動作プログ
ラムのデータとに基づいて、ワークモデル23に対応す
る動作プログラムが作成される。この動作プログラムを
作成する際には、通過経路(塗装経路)の他、スプレイ
ガン3のオン位置及びオフ位置、向き、移動速度なども
決定される。このようにして作成された動作プログラム
を動作プログラム記憶部16にファイルし(ステップU
4)、メインルーチンに戻る。
Next, a number is assigned to the teach point TP corresponding to the work model 23 (step U3), and this data, the data of the operation program preset in the cube 21 and the operation preset in the cuboid 22 are set. An operation program corresponding to the work model 23 is created based on the program data. When creating this operation program, the ON position and the OFF position, the direction, the moving speed, and the like of the spray gun 3 are determined in addition to the passage route (painting route). The operation program created in this manner is filed in the operation program storage unit 16 (step U).
4) Return to the main routine.

【0029】次に、使用者の操作により、シミュレーシ
ョンを実行する指示を行う。これに基づき、演算・制御
部10では、ロボットモデルによる作業のシミュレーシ
ョンを実行する(ステップS4)。このシミュレーショ
ンを実行する際のサブルーチンのフローチャートを図8
に示す。
Next, an instruction to execute a simulation is given by a user's operation. Based on this, the arithmetic and control unit 10 simulates the work by the robot model (step S4). FIG. 8 is a flowchart of a subroutine for executing this simulation.
Shown in

【0030】まず、ロボットモデル記憶部12からロボ
ットモデル、環境モデル記憶部13から環境モデル(仕
切壁や搬送用レールなどのモデル)に関するデータをそ
れぞれ読み出して、これらを表示部18に表示する(ス
テップV1)。また、ワークモデル記憶部14から上記
ワークモデル23に関するデータを読み出して、これを
表示部18に、上記ロボットモデル及び環境モデルと共
に表示する(ステップV2)。
First, data relating to a robot model is read from the robot model storage unit 12 and data relating to an environment model (models such as partition walls and transfer rails) are read out from the environment model storage unit 13 and displayed on the display unit 18 (step). V1). Further, the data relating to the work model 23 is read from the work model storage unit 14 and displayed on the display unit 18 together with the robot model and the environment model (step V2).

【0031】そして、表示部18の画面上において、ロ
ボットモデルを、上記ステップS3で作成された動作プ
ログラムに従って動作させ、作業のシミュレーションを
行う(ステップV3)。そして、チェック用演算を行い
(ステップV4)、部材の衝突や干渉の有無、或いはロ
ボットモデルにおいて特異点を通過するか否かなどをチ
ェックする(ステップV5)。チェックの結果、部材の
衝突や干渉がある場合、或いは特異点を通過する場合に
は、表示部18の画面上にその点の表示を行う(ステッ
プV6)。例えば、部材の衝突や干渉がある場合には、
関係する部材を赤で表示する。また、特異点を通過する
場合には、ロボットモデルの動作速度が極端に早くなる
ため、それによって判別する。このような作業のシミュ
レーションが終了したら、メインルーチンに戻る。
Then, on the screen of the display unit 18, the robot model is operated in accordance with the operation program created in step S3, and a work simulation is performed (step V3). Then, a check calculation is performed (step V4), and it is checked whether or not there is collision or interference between members, or whether or not the robot model passes through a singular point (step V5). As a result of the check, if there is a collision or interference between the members, or if it passes through a singular point, the point is displayed on the screen of the display unit 18 (step V6). For example, if there is collision or interference of members,
Related members are displayed in red. Further, when the robot model passes through the singular point, the operation speed of the robot model becomes extremely high, and therefore, the robot model is determined accordingly. When the simulation of the work is completed, the process returns to the main routine.

【0032】上記シミュレーションの結果、ティーチポ
イントや動作プログラムに追加或いは修正をする必要が
ないかどうかを判別し(ステップS5)、追加或いは修
正をする必要がある場合にはこれを行う(ステップS
6)。このとき、部材間の衝突や干渉がある場合には、
例えばティーチポイントをずらすように修正する入力を
行う。また、特異点を通過するような場合には、例え
ば、ロボットの姿勢を予め変えるように、動作プログラ
ムを修正する入力を行う。そして、ステップS4に戻
り、再度シミュレーションを行う。ステップS5におい
て、追加或いは修正をする必要がない場合には、動作プ
ログラムを完成させる(ステップS7)。完成された動
作プログラムは、動作プログラム記憶部16にファイル
する。
As a result of the simulation, it is determined whether or not it is necessary to add or modify the teach point or the operation program (step S5). If it is necessary to add or modify (step S5).
6). At this time, if there is collision or interference between members,
For example, an input for correcting the teaching point so as to be shifted is performed. In the case of passing through a singular point, for example, an input for modifying an operation program is made so as to change the posture of the robot in advance. Then, the process returns to step S4, and the simulation is performed again. In step S5, when there is no need to add or modify, the operation program is completed (step S7). The completed operation program is filed in the operation program storage unit 16.

【0033】以上により、動作プログラムの作成が完了
する。そして、この作成された動作プログラムを用い
て、実際の塗装ラインにおいてテスト塗装を行い、そこ
で更に修正が必要であれば、それを修正して完成させる
ことになる。
Thus, the creation of the operation program is completed. Then, using the created operation program, a test coating is performed in an actual coating line, and if further correction is necessary, it is corrected and completed.

【0034】上記した本実施例によれば、次のような効
果を得ることができる。すなわち、ワーク1を塗装する
ための動作プログラムを作成する場合、まず、基礎デー
タ記憶部11に記憶されたデータの中から、ワーク1に
近似したワークモデル14を構成するための基本立体図
形(立方体21、直方体22)と、塗装面に対応するテ
ィーチポイント及び動作プログラムを選択すると共に、
寸法情報を入力する。そして、選択した基本立体図形を
組み合わせてワーク1に近似したワークモデル23を作
成することに基づき、そのワークモデル23に対応する
ティーチポイントが自動的に設定されると共に、動作プ
ログラムが自動的に作成されるようになるので、オフラ
イン方式において、任意の形状のワークに対するティー
チポイントの設定及び動作プログラムの作成を容易に、
しかも短時間で行うことができるようになる。
According to the above-described embodiment, the following effects can be obtained. That is, when creating an operation program for painting the work 1, first, from among the data stored in the basic data storage unit 11, a basic three-dimensional figure (cube) for forming a work model 14 similar to the work 1 is prepared. 21, a rectangular parallelepiped 22), and a teach point and an operation program corresponding to the painted surface are selected.
Enter the dimension information. Then, based on creating a work model 23 that approximates the work 1 by combining the selected basic three-dimensional figures, a teach point corresponding to the work model 23 is automatically set, and an operation program is automatically created. In the offline method, it is easy to set a teach point and create an operation program for a work of any shape.
Moreover, it can be performed in a short time.

【0035】また、ワークモデル23を作成する場合、
ワーク4に近似した図形を扱うため、ティーチポイント
の取り扱いが容易であると共に、多少複雑な形状のワー
クに対しても容易に対応することができる。
When creating the work model 23,
Since a figure similar to the work 4 is handled, the teaching point can be easily handled, and a work having a somewhat complicated shape can be easily handled.

【0036】そして、ワークとしては特定の形状に限定
されず、任意の形状のワークに対して対応できるから、
ソフトのパッケージ化(量産)が可能となる利点もあ
る。
The work is not limited to a specific shape, but can be applied to a work of any shape.
There is also an advantage that software packaging (mass production) becomes possible.

【0037】本発明は上記した実施例にのみ限定される
ものではなく、次のように変形または拡張することがで
きる。基礎データ記憶部に、基本立体図形、ティーチポ
イント、動作プログラムを記憶させる場合、それらをセ
ットした状態で記憶させることに代えて、それらを別々
に記憶させておくこともできる。このようにした場合に
は、使用者が、それら基本立体図形、ティーチポイン
ト、動作プログラムを組み合わせることが必要となる。
The present invention is not limited to the above embodiment, but can be modified or expanded as follows. When storing the basic three-dimensional figure, the teach point, and the operation program in the basic data storage unit, instead of storing them in a set state, they may be stored separately. In this case, it is necessary for the user to combine the basic three-dimensional figure, the teach point, and the operation program.

【0038】作業のシミュレーションは、必ずしも必要
なものではなく、必要に応じて行うようにすれば良い。
さらに、本発明は、塗装用のロボットに限られず、例え
ば研磨用のロボットの動作プログラムを作成する場合に
も適用することができる。
The work simulation is not always necessary, and may be performed as needed.
Further, the present invention is not limited to a painting robot, and can be applied to, for example, a case where an operation program of a polishing robot is created.

【0039】[0039]

【発明の効果】以上の説明から明らかなように、本発明
によれば、基本立体図形を複数組み合わせてワークに近
似したワークモデルを作成すると、各基本立体図形に対
して予め設定されたティーチポイント及び動作プログラ
ムのデータと、作成されたワークモデルのデータとに基
づき、ワークモデルに対応するティーチポイントが自動
的に設定されると共に、動作プログラムが自動的に作成
されるようになるので、オフライン方式において、任意
の形状のワークに対するティーチポイントの設定及び動
作プログラムの作成を容易に、しかも短時間で行うこと
ができるようになる。
As is apparent from the above description, according to the present invention, when a work model approximated to a work is created by combining a plurality of basic three-dimensional figures, a teach point set in advance for each basic three-dimensional figure is obtained. The teaching point corresponding to the work model is automatically set based on the data of the operation program and the data of the created work model, and the operation program is automatically created. In this case, setting of a teach point and creation of an operation program for a work having an arbitrary shape can be performed easily and in a short time.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例を示すもので、動作プログラ
ムを作成する際のメインプログラムのフローチャート
FIG. 1 shows an embodiment of the present invention, and is a flowchart of a main program when an operation program is created.

【図2】ロボットの斜視図FIG. 2 is a perspective view of a robot.

【図3】ワークの斜視図FIG. 3 is a perspective view of a work.

【図4】作成装置のブロック構成図FIG. 4 is a block diagram of a creating apparatus.

【図5】基本立体図形及びワークモデルの斜視図FIG. 5 is a perspective view of a basic three-dimensional figure and a work model.

【図6】ワークモデルを作成するプログラムのフローチ
ャート
FIG. 6 is a flowchart of a program for creating a work model.

【図7】ティーチポイント設定、及び動作プログラム作
成のプログラムのフローチャート
FIG. 7 is a flowchart of a program for setting a teach point and creating an operation program.

【図8】シミュレーションを行うプログラムのフローチ
ャート
FIG. 8 is a flowchart of a program for performing a simulation.

【符号の説明】[Explanation of symbols]

1はロボット、3はスプレイガン、4はワーク、10は
演算・制御部(ワークモデル作成手段、ティーチポイン
ト設定手段、動作プログラム作成手段)、11は基礎デ
ータ記憶部(基礎データ記憶手段)、18は表示部、1
9はキーボード(選択手段)、20はマウス(選択手
段)、21は立方体(基本立体図形)、22は直方体
(基本立体図形)、23はワークモデルである。
1 is a robot, 3 is a spray gun, 4 is a work, 10 is a calculation / control unit (work model creation unit, teach point setting unit, operation program creation unit), 11 is a basic data storage unit (basic data storage unit), 18 Is the display unit, 1
9 is a keyboard (selection means), 20 is a mouse (selection means), 21 is a cube (basic three-dimensional figure), 22 is a rectangular parallelepiped (basic three-dimensional figure), and 23 is a work model.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 基本立体図形を複数組み合わせてワーク
に近似したワークモデルを作成し、 前記各基本立体図形に対して予め設定されたティーチポ
イントのデータと、前記ワークモデルのデータとに基づ
いて、当該ワークモデルに対応するティーチポイントを
設定すると共に、 前記各基本立体図形に対して予め設定された各ティーチ
ポイントの通過順序などを定めたロボットの動作プログ
ラムのデータと、前記ワークモデルに対応するティーチ
ポイントのデータとに基づいて、当該ワークモデルに対
応する動作プログラムを作成するようにしたことを特徴
とするロボットの動作プログラム作成方法。
1. A work model approximated to a work is created by combining a plurality of basic three-dimensional figures, and based on teach point data preset for each of the basic three-dimensional figures and data of the work model, A teach point corresponding to the work model is set, and data of a robot operation program defining a passage order of each teach point set in advance for each of the basic three-dimensional figures, and a teach corresponding to the work model. An operation program creation method for a robot, wherein an operation program corresponding to the work model is created based on the point data.
【請求項2】 複数の基本立体図形、及びこれら各基本
立体図形に対応するティーチポイント、並びに各基本立
体図形に対応する各ティーチポイントの通過順序などを
定めたロボットの動作プログラムに関する各データを記
憶する基礎データ記憶手段と、 この基礎データ記憶手段に記憶された前記基本立体図
形、ティーチポイント、並びに動作プログラムに関する
データを選択する選択手段と、 この選択手段により選択された前記基本立体図形を複数
組み合わせることにより、ワークに近似したワークモデ
ルを作成するワークモデル作成手段と、 前記選択手段により選択された前記各基本立体図形に対
応するティーチポイントのデータと、前記ワークモデル
作成手段により作成された前記ワークモデルのデータと
に基づいて、当該ワークモデルに対応するティーチポイ
ントを設定するティーチポイント設定手段と、 前記選択手段により選択された前記各基本立体図形に対
応する動作プログラムのデータと、前記ティーチポイン
ト設定手段により設定されたティーチポイントのデータ
とに基づいて、前記ワークモデルに対応する動作プログ
ラムを作成する動作プログラム作成手段とを具備したこ
とを特徴とするロボットの動作プログラム作成装置。
2. Stores a plurality of basic three-dimensional figures, teach points corresponding to the respective basic three-dimensional figures, and respective data relating to an operation program of the robot which defines the passing order of the respective teach points corresponding to the respective basic three-dimensional figures. Basic data storage means for performing the operation; selecting means for selecting data relating to the basic three-dimensional figure, teach point and operation program stored in the basic data storage means; and combining a plurality of the basic three-dimensional figures selected by the selection means Work model creating means for creating a work model similar to the work, data of teach points corresponding to each of the basic three-dimensional figures selected by the selecting means, and the work created by the work model creating means Based on the model data, the work model Teaching point setting means for setting a teaching point corresponding to a file, data of an operation program corresponding to each of the basic three-dimensional figures selected by the selecting means, and data of a teaching point set by the teaching point setting means. An operation program generating means for generating an operation program corresponding to the work model based on the operation program.
JP28798596A 1996-10-30 1996-10-30 Method and device for generating operation program for robot Pending JPH10133730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28798596A JPH10133730A (en) 1996-10-30 1996-10-30 Method and device for generating operation program for robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28798596A JPH10133730A (en) 1996-10-30 1996-10-30 Method and device for generating operation program for robot

Publications (1)

Publication Number Publication Date
JPH10133730A true JPH10133730A (en) 1998-05-22

Family

ID=17724309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28798596A Pending JPH10133730A (en) 1996-10-30 1996-10-30 Method and device for generating operation program for robot

Country Status (1)

Country Link
JP (1) JPH10133730A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002082710A (en) * 2000-09-06 2002-03-22 Amada Co Ltd Method and system for bending
JP2008033419A (en) * 2006-07-26 2008-02-14 Honda Motor Co Ltd Cad device for robot teaching, and robot teaching method
CN105171745A (en) * 2015-08-31 2015-12-23 上海发那科机器人有限公司 Robot off-line programming system
CN107336235A (en) * 2017-06-20 2017-11-10 天津市青创空间科技企业孵化器有限公司 A kind of robot Off-line Programming System
CN109571897A (en) * 2017-09-29 2019-04-05 发那科株式会社 Numerical control system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002082710A (en) * 2000-09-06 2002-03-22 Amada Co Ltd Method and system for bending
JP4708541B2 (en) * 2000-09-06 2011-06-22 株式会社アマダ Bending method and bending system
JP2008033419A (en) * 2006-07-26 2008-02-14 Honda Motor Co Ltd Cad device for robot teaching, and robot teaching method
JP4621641B2 (en) * 2006-07-26 2011-01-26 本田技研工業株式会社 Robot teaching CAD apparatus and robot teaching method
CN105171745A (en) * 2015-08-31 2015-12-23 上海发那科机器人有限公司 Robot off-line programming system
CN107336235A (en) * 2017-06-20 2017-11-10 天津市青创空间科技企业孵化器有限公司 A kind of robot Off-line Programming System
CN109571897A (en) * 2017-09-29 2019-04-05 发那科株式会社 Numerical control system
CN109571897B (en) * 2017-09-29 2021-02-12 发那科株式会社 Numerical control system
US11460831B2 (en) 2017-09-29 2022-10-04 Fanuc Corporation Numerical control system

Similar Documents

Publication Publication Date Title
US6928337B2 (en) Robot simulation apparatus
KR100319650B1 (en) Evaluation method and coating control device for painting dripping in painting
JP5606816B2 (en) Teaching apparatus and teaching method for welding robot
EP1310844B1 (en) Simulation device
CN103809463A (en) Teaching point program selection method for robot simulator
US7092860B1 (en) Hardware simulation systems and methods for vision inspection systems
JP2016093869A (en) Teaching data creation method, creation device, and creation program, and, data structure of teaching data, and recording medium
JPH09244724A (en) Method and device for generating operation program for robot
CN109308370A (en) Vehicle paintwork robot simulation's method
JPH05289722A (en) Automatic programming device for coating robot
CN100404211C (en) Teaching data preparing method for articulated robot
JPH10133730A (en) Method and device for generating operation program for robot
JPH10128684A (en) Operation program composing method and composing device for robot
JP2002355724A (en) Assembly-disassembly process design support device
CN107066654A (en) Towards the TRAJECTORY CONTROL dot picking method and apparatus in the enveloped box face of point cloud model
JPH07141016A (en) Moving route simulator robot
JP2009211369A (en) Operation simulator for numerically controlled machine
JP2827268B2 (en) Creating teaching data for multiple robots
JP2006343975A (en) Robot instruction device
JP2992962B2 (en) Robot teaching device by computer simulation
Shepherd et al. Visualizing the" hidden" variables in robot programs
US6845350B1 (en) Simulation method
JP2004127190A (en) Robot design support device
JPH06106127A (en) Setting of painting conditions of coating device
JP2878957B2 (en) Automatic verification method in offline teaching

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040608