JPH08103870A - Welding robot - Google Patents

Welding robot

Info

Publication number
JPH08103870A
JPH08103870A JP6239979A JP23997994A JPH08103870A JP H08103870 A JPH08103870 A JP H08103870A JP 6239979 A JP6239979 A JP 6239979A JP 23997994 A JP23997994 A JP 23997994A JP H08103870 A JPH08103870 A JP H08103870A
Authority
JP
Japan
Prior art keywords
error
welding
sensing
robot
data
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.)
Granted
Application number
JP6239979A
Other languages
Japanese (ja)
Other versions
JP3550191B2 (en
Inventor
Kotaro Nagai
高太郎 永井
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.)
Sekisui Chemical Co Ltd
Original Assignee
Sekisui Chemical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sekisui Chemical Co Ltd filed Critical Sekisui Chemical Co Ltd
Priority to JP23997994A priority Critical patent/JP3550191B2/en
Publication of JPH08103870A publication Critical patent/JPH08103870A/en
Application granted granted Critical
Publication of JP3550191B2 publication Critical patent/JP3550191B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE: To prevent the defective welding by scanning the part to be welded, calculating the deviation from the reference position, and correcting the teaching data to achieve the welding, or transmitting the re-sensing order to achieve the scanning again, and dealing with the error after confirmation of the order when the deviation meets the predetermined error condition. CONSTITUTION: A sensor 21 is scanned in the teaching mode to prepare the teaching data, and the data are stored in a storage part 13b. The part to be welded of a work is scanned in the feedback mode, comparison is made with the teaching data, and a deviation calculating part 13c calculates the deviation. A correcting part 13d corrects the teaching data according to the deviation, and outputs the corrected data to a robot controller 12 to achieve the welding. When an error judging part 13e makes a judgement that the deviation meets the predetermined error condition, the instruction is made to a sensing re-try command part 13g to achieve the scanning again. When the cause of the error is eliminated as the elapse of time, the error does not becomes an official error, and the treatment is progressed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、動腕部の先端手首に
溶接トーチと共にセンサを配設し、このセンサで溶接予
定部位の形状(位置も含む)をセンシングして、そのセ
ンシングデータにより予め教示したデータを補正しなが
ら溶接を行うティーチングプレイバック方式のアーク溶
接ロボット(以下、単に溶接ロボットという)に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention provides a sensor with a welding torch on the distal wrist of a moving arm, and the sensor senses the shape (including the position) of the planned welding site and uses the sensing data in advance. The present invention relates to a teaching playback type arc welding robot (hereinafter, simply referred to as a welding robot) that performs welding while correcting taught data.

【0002】[0002]

【従来の技術】従来、この種の溶接ロボットとしては、
例えば、特開平5−212540号公報や特願平6−1
6293号公報に記載のものが存在する。このような溶
接ロボット1では、図9に示すように、台座2上に配設
された可動アーム3の先端手首に、レーザセンサ4及び
溶接トーチ5が配設されている。上記レーザセンサ4
は、溶接部位の近傍において、溶接予定線の方向に直交
する方向の検出線に沿ってレーザビームで走査可能に配
備され、走査中に被溶接物の表面で乱反射するレーザ拡
散光の一部を受光して溶接予定部位の位置等の形状を検
出する。
2. Description of the Related Art Conventionally, as a welding robot of this type,
For example, JP-A-5-212540 and Japanese Patent Application No. 6-1
There is one described in Japanese Patent No. 6293. In such a welding robot 1, as shown in FIG. 9, the laser sensor 4 and the welding torch 5 are arranged on the tip wrist of the movable arm 3 arranged on the pedestal 2. The laser sensor 4
Is arranged so that it can be scanned with a laser beam along a detection line in a direction orthogonal to the direction of the planned welding line in the vicinity of the welded portion, and a part of the laser diffused light diffusely reflected on the surface of the workpiece during scanning is The light is received and the shape such as the position of the planned welding site is detected.

【0003】この溶接ロボット1では、同図に示すよう
に、まず、教示(ティーチング)モードにして、可動ア
ーム3を被溶接物7と同形同大の教示物7’に向け、ロ
ボット本体(マニピュレータ)を制御するコントローラ
6に、溶接を行う溶接基準位置と、レーザセンサ4で走
査して計測を行うセンサ計測位置とを予め学習記憶させ
る。この後、再生(プレイバック)モードにして可動ア
ーム3を送りラインL上の被溶接物7に向け、記憶され
た溶接基準位置とセンサ計測位置とに基づいて、被溶接
物7の溶接予定位置からのずれを検出して位置補正デー
タを作成し、この位置補正データに基づいて、上記記憶
された溶接基準位置と検出した溶接予定位置との位置差
をコントローラ6で補正して、被溶接物7の溶接予定部
位8に対して溶接トーチ5が溶接を行う。このような構
成の溶接ロボットによれば、繰り返し正確な位置に位置
決めすることの難しい被溶接物に対して、常に正確な溶
接位置で、教示内容に忠実な溶接を行うことができる。
In this welding robot 1, as shown in the figure, first, the teaching (teaching) mode is set, the movable arm 3 is directed toward a teaching object 7'of the same size and size as the object 7 to be welded, and the robot body ( The controller 6 for controlling the manipulator) learns and stores in advance a welding reference position for welding and a sensor measurement position for performing measurement by scanning with the laser sensor 4. After that, the movable arm 3 is directed to the workpiece 7 on the feed line L in the playback mode, and the planned welding position of the workpiece 7 is stored based on the stored welding reference position and sensor measurement position. Deviation is detected to create position correction data, and based on this position correction data, the controller 6 corrects the position difference between the stored welding reference position and the detected planned welding position, and the workpiece is welded. The welding torch 5 welds to the welding scheduled portion 8 of 7. According to the welding robot having such a configuration, it is possible to perform welding faithfully to the teaching content at an accurate welding position for an object to be welded that is difficult to be repeatedly positioned at an accurate position.

【0004】[0004]

【発明が解決しようとする課題】ところで、レーザセン
サで被溶接物の溶接予定部位をセンシングした場合、何
らかの原因で誤ったデータがコントローラに送られてし
まうことがある。この場合そのままレーザセンサからの
データに基づいて教示データを補正して溶接を実行して
しまうと、溶接不良を起こしたり、被溶接物に溶接トー
チをぶつけてしまう可能性がある。しかし、レーザセン
サのデータが使用できない場合(これをエラーという)
のうち、時間的な経過によって自然にエラー原因が解消
されるような場合、例えば被溶接物を固定治具等にセッ
トした時点で発生した振動がエラー原因であるような場
合は、何度かセンシングを繰り返すことによりエラーが
解消され、正しい検知データを得ることができる。そこ
で、エラーが発生したと分かった場合は、操作者が再度
センシングを実行するようにプログラムを戻す操作を行
う必要があるが、そうした場合、人手による操作である
ため作業が面倒であった。
By the way, when the laser sensor senses the planned welding site of the object to be welded, erroneous data may be sent to the controller for some reason. In this case, if the teaching data is corrected as it is based on the data from the laser sensor and welding is performed, there is a possibility that welding failure may occur or the welding torch may hit the workpiece. However, if the laser sensor data is not available (this is called an error)
Of the above, if the cause of the error is resolved naturally over time, for example, if the vibration caused when the work piece is set on the fixture is the cause of the error, By repeating the sensing, the error is resolved and correct detection data can be obtained. Therefore, when it is found that an error has occurred, the operator needs to perform an operation of returning the program so as to execute sensing again, but in such a case, the operation is troublesome because it is a manual operation.

【0005】この発明は、上述の事情に鑑みてなされた
もので、センシングエラーが発生した場合、自動的に再
度のセンシングを実行させることのできる溶接ロボット
を提供することを目的としている。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a welding robot which can automatically perform another sensing when a sensing error occurs.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に、請求項1記載の発明は、動腕部の先端に溶接トーチ
と溶接予定部位の表面位置を測定するセンサとを備えた
ロボット本体と、このロボット本体の動腕部の動作及び
溶接動作を制御するロボット制御手段と、センシング命
令が入力されたとき上記動腕部をセンシング位置に位置
決めすべく上記ロボット制御手段に移動指令を発し、動
腕部がセンシング位置に位置決めされた状態で上記セン
サを溶接予定部位の溶接予定線と直交する方向に走査さ
せるセンシング制御手段と、上記センサのデータに基づ
いて予め教示されたデータを補正する補正手段とを備
え、上記ロボット制御手段がこの補正手段の出力に応じ
て上記ロボット本体を制御する溶接ロボットにおいて、
上記センサのデータ又はそれを処理して得たデータの異
常を判定するエラー判定手段と、このエラー判定手段が
エラーと判定した場合、上記センシング制御手段に再度
センシング命令を送出するセンシングリトライ指令手段
とを備えたことを特徴としている。
In order to solve the above-mentioned problems, the invention according to claim 1 has a robot main body provided with a welding torch at a tip of a moving arm and a sensor for measuring a surface position of a planned welding site. And a robot control means for controlling the operation and welding operation of the moving arm portion of the robot body, and when a sensing command is input, issues a movement command to the robot control means to position the moving arm portion at a sensing position, Sensing control means for scanning the sensor in the direction orthogonal to the planned welding line of the planned welding site with the moving arm positioned at the sensing position, and correction for correcting data taught in advance based on the data of the sensor A welding robot that controls the robot body according to the output of the correction means, wherein the robot control means includes:
Error determination means for determining abnormality of the sensor data or data obtained by processing the data, and sensing retry command means for sending a sensing command again to the sensing control means when the error determination means determines an error. It is characterized by having.

【0007】請求項2記載の発明は、請求項1記載の溶
接ロボットであって、上記センシングリトライ指令手段
が所定回数センシング命令を発しても上記エラー判定手
段がエラーと判定する場合、エラー信号を上記ロボット
制御手段に送出するエラー信号発生手段を設けたことを
特徴としている。
According to a second aspect of the present invention, there is provided the welding robot according to the first aspect, wherein when the sensing retry command means issues a sensing command a predetermined number of times and the error determination means determines that there is an error, an error signal is output. An error signal generating means for sending to the robot control means is provided.

【0008】請求項3記載の発明は、請求項2記載の溶
接ロボットであって、上記エラー判定手段が、予め与え
られた複数のエラー条件のいずれのエラー条件に該当す
るかを判定し、上記エラー信号発生手段が、上記各エラ
ー条件毎に対応したそれぞれ異なるエラー信号のうち、
該当するエラー条件に対応するエラー信号を上記ロボッ
ト制御手段に送出することを特徴としている。
According to a third aspect of the present invention, in the welding robot according to the second aspect, the error determination means determines which of a plurality of error conditions given in advance corresponds to the error condition, Error signal generating means, among the different error signals corresponding to each of the above error conditions,
It is characterized in that an error signal corresponding to a corresponding error condition is sent to the robot control means.

【0009】[0009]

【作用】請求項1記載の発明では、センシング命令(初
回)が入力されたときセンシング制御手段が移動命令を
ロボット制御手段に送り、ロボット制御手段がこの移動
命令に応答して動腕部を動かし、センサをセンシング位
置に位置決めする。位置決めすると、センシング制御手
段がセンサを溶接予定線と直交する方向に走査させ、そ
れに応じてセンサが溶接予定部の形状を検出する。そし
て、この形状データにより補正手段が予め教示されたデ
ータを補正する。補正した教示データはロボット制御手
段に送られ、ロボット制御手段がこの補正した教示デー
タに基づいてロボット本体を制御し、溶接を実行する。
この場合、センシング時にセンサのデータ又はそれを処
理したデータの異常が確認されると、センシングリトラ
イ指令手段からセンシング命令が再度自動的に出され、
それに応じてセンシング制御手段が再度のセンシングを
行うよう処理する。
When the sensing command (first time) is input, the sensing control means sends a movement command to the robot control means, and the robot control means moves the moving arm portion in response to the movement command. , Position the sensor at the sensing position. Upon positioning, the sensing control means causes the sensor to scan in a direction orthogonal to the planned welding line, and the sensor accordingly detects the shape of the planned welding part. Then, the correction means corrects the data taught in advance by the shape data. The corrected teaching data is sent to the robot control means, and the robot control means controls the robot main body based on the corrected teaching data to execute welding.
In this case, if an abnormality in the sensor data or the processed data is confirmed during sensing, the sensing retry command means automatically issues the sensing command again,
In response to this, the sensing control means performs processing to perform sensing again.

【0010】請求項2記載の発明では、所定回数、再度
のセンシングを実行してもセンシングエラーが解消され
ない場合、その時点で初めて、エラー信号がロボット制
御手段に送出される。
According to the second aspect of the present invention, when the sensing error is not resolved even after the sensing is performed again a predetermined number of times, the error signal is sent to the robot control means only at that time.

【0011】請求項3記載の発明では、正式のエラーと
認められた場合、エラーの内容に応じて異なるエラー信
号がロボット制御手段に送られるので、ロボット制御手
段側で各エラーに対処できる。
According to the third aspect of the invention, when a formal error is recognized, different error signals are sent to the robot control means according to the content of the error, so that the robot control means can deal with each error.

【0012】[0012]

【実施例】以下、図面を参照してこの発明の実施例につ
いて説明する。図1は、この発明の一実施例である溶接
ロボットのシステム全体の構成を示す概略図、また、図
2は、同システムに適用されるセンサコントローラの電
気的構成を示すブロック図である。この例の溶接ロボッ
トは、鉄骨系の建物ユニットの組立工場に配備され、送
りライン上で仮組立された構造体の鋼製の梁と柱とをジ
ョイントピースを介してアーク溶接する作業を行うもの
で、図1に示すように、ロボット本体11と、ロボット
コントローラ(ロボット制御装置)12と、センサコン
トローラ13と、表示装置(モニタ)14と、教示ボッ
クス15とからなり、必要に応じて、パソコンやホスト
コンピュータが接続されるようになっている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic diagram showing a configuration of an entire welding robot system according to an embodiment of the present invention, and FIG. 2 is a block diagram showing an electrical configuration of a sensor controller applied to the system. The welding robot of this example is installed in an assembly plant of a steel frame type building unit, and performs arc welding of steel beams and columns of a structure temporarily assembled on a feed line via a joint piece. As shown in FIG. 1, the robot main body 11, a robot controller (robot control device) 12, a sensor controller 13, a display device (monitor) 14, and a teaching box 15 are provided. Or host computer is connected.

【0013】ロボット本体11は、モータと減速機が直
接各関節に取り付けられた多関節構造のもので、台座2
の上に3次元的に駆動すると共に所望の姿勢をとり得る
動腕部16が設けられている。動腕部16は、2つのア
ーム(第1アーム17aと第2アーム17bと)で構成
され、所定方向に駆動可能な可動アーム17と、この可
動アーム17の先端に設けられた手首部18と、可動ア
ーム17の基端部を台座2上で回動自在に軸支して、可
動アーム17を被溶接物と教示物との間で往復駆動する
基動部19とからなっている。上記手首部18には、溶
接トーチ20及び溶接予定部位の形状や溶接予定線の位
置を検出するためのレーザセンサ21が配設されてい
る。
The robot body 11 has a multi-joint structure in which a motor and a speed reducer are directly attached to each joint, and the base 2
A moving arm portion 16 that can be driven three-dimensionally and can take a desired posture is provided on the above. The moving arm portion 16 includes two arms (a first arm 17a and a second arm 17b), a movable arm 17 that can be driven in a predetermined direction, and a wrist portion 18 provided at the tip of the movable arm 17. The movable arm 17 includes a base portion 19 which rotatably supports the base end portion of the movable arm 17 on the pedestal 2 and drives the movable arm 17 to reciprocate between the object to be welded and the teaching object. The wrist 18 is provided with a welding torch 20 and a laser sensor 21 for detecting the shape of the planned welding site and the position of the planned welding line.

【0014】図3は、構造体である被溶接物50の一例
を示す部分斜視図である。この例において、被溶接物5
0は、建物ユニットの鉄骨躯体の一部分であって、角に
R部がついた角形鋼管からなる柱51と、柱51の上端
部又は下端部に接近して配置されたジョイントピース5
2とからなり、ジョイントピース52のエッジ部52a
が、柱51の角部に数mm程度のギャップを持って予め
仮付けされている。そして、このジョイントピース52
のエッジ部52aと柱51の角部とを接合すべく、エッ
ジ部52aに沿ってアーク溶接のための溶接予定線Pが
設定されている。
FIG. 3 is a partial perspective view showing an example of an object to be welded 50 which is a structure. In this example, the object to be welded 5
Reference numeral 0 is a part of the steel frame of the building unit, which is a column 51 made of a rectangular steel pipe with an R portion at each corner, and a joint piece 5 arranged close to the upper end or the lower end of the column 51.
2 and the edge portion 52a of the joint piece 52
However, they are temporarily attached in advance to the corners of the columns 51 with a gap of about several mm. And this joint piece 52
A welding planned line P for arc welding is set along the edge portion 52a so as to join the edge portion 52a and the corner portion of the column 51.

【0015】ジョイントピース52は、梁を柱51に接
合して架設するための断面コ字型の接合用部材であり、
ジョイントピース52と柱51とをアーク溶接する際に
は、既に、ジョイントピースのコ字型の凹部に梁が挿入
され、2重構造部分となった所がスポット溶接されて両
者は互いに固定されている。つまり、建物ユニットの鉄
骨躯体が送りライン上で仮組立された後、当該鉄骨躯体
の隅部(柱51の上下端部とジョイントピース51との
接合部位)がこの例の溶接ロボットによって本溶接され
ることとなる。
The joint piece 52 is a joining member having a U-shaped cross section for joining the beam to the column 51 to construct it.
When arc welding the joint piece 52 and the pillar 51, the beam has already been inserted into the U-shaped recess of the joint piece, and the double-structured portion has been spot-welded and fixed to each other. There is. That is, after the steel skeleton of the building unit is temporarily assembled on the feed line, the corners of the steel skeleton (the joints between the upper and lower ends of the pillar 51 and the joint piece 51) are main welded by the welding robot of this example. The Rukoto.

【0016】上記レーザセンサ21は、半導体レーザや
投光レンズ等からなる発光部と、結像レンズや位置検出
素子(PSD)等からなる受光部とを備え、半導体レー
ザからの射出光が、投光レンズで絞られ、被測定物上に
ビームスポットを作ると、このビームスポットが、被測
定物の表面で乱反射(拡散反射)し、その一部が戻って
きて結像レンズによって位置検出素子上に像となって結
ばれることで、スポット光の位置やレーザセンサ21の
前面から被測定物の表面までの距離が計測されるように
なっている。このレーザセンサ21は、溶接予定線Pの
近傍において、検出線Sの方向に走査可能に備えられ、
検出線Sに沿う被溶接物50の表面位置を検出する。な
お、レーザセンサ21の走査機構としては、レーザセン
サ21自体を全体的に駆動するものであっても良いし、
レーザセンサ21の内部においてミラー等を用いて発光
部からの光の照射方向を変更するものであっても良い。
The laser sensor 21 is provided with a light emitting section including a semiconductor laser and a light projecting lens, and a light receiving section including an image forming lens, a position detecting element (PSD), and the like, and the light emitted from the semiconductor laser is projected. When a beam spot is created on the DUT by the optical lens, the beam spot is diffusely reflected (diffuse reflected) on the DUT surface, and a part of it returns to the position on the position detection element by the imaging lens. The image of the spot light and the distance from the front surface of the laser sensor 21 to the surface of the object to be measured can be measured. The laser sensor 21 is provided so as to be capable of scanning in the direction of the detection line S near the planned welding line P.
The surface position of the workpiece 50 along the detection line S is detected. The scanning mechanism of the laser sensor 21 may be one that drives the laser sensor 21 itself.
Inside the laser sensor 21, a mirror or the like may be used to change the irradiation direction of the light from the light emitting unit.

【0017】このレーザセンサ21には、センサコント
ローラ13が接続されている。このセンサコントローラ
13は、図2に示すように、センシング駆動回路13a
と、形状解析部13bと、記憶部13cと、ずれ量算出
部13dと、補正部13eと、エラー判定部13fと、
センシングリトライ指令部13gと、エラー信号発生部
13hと、さらには、教示データ作成部、最適条件選択
部、送信回路及び制御部(いずれも図示略)とから電気
的に構成されている。
A sensor controller 13 is connected to the laser sensor 21. As shown in FIG. 2, the sensor controller 13 includes a sensing drive circuit 13a.
A shape analysis unit 13b, a storage unit 13c, a deviation amount calculation unit 13d, a correction unit 13e, an error determination unit 13f,
It is electrically configured by a sensing retry command unit 13g, an error signal generation unit 13h, a teaching data creation unit, an optimum condition selection unit, a transmission circuit, and a control unit (all not shown).

【0018】センサコントローラ13において、センシ
ング駆動回路13aは、スタート操作に応じて入力され
るセンシング命令によりセンシング位置にレーザセンサ
21前面を移動する命令がロボットコントローラ12に
発せられ、レーザセンサ21前面がセンシング位置に位
置決めされた状態で、レーザ光(スポット光)を溶接予
定部位の溶接予定線と直交する方向に走査させるための
回路である。形状解析部13bは、レーザセンサ21か
ら送出されてくる検出信号に基づいて、かつ、所定のア
ルゴリズムに従って、被溶接物50の溶接部位のギャッ
プ、段差等の寸法やエッジ部52aの位置(この例で
は、このエッジ部の位置が溶接予定位置となる)等の形
状データを算出する。教示データ作成部(図示略)は、
教示モードのとき、レーザセンサ21を走査させて、模
擬溶接部位の形状データを含む教示データを作成して、
RAMやEEPROM等からなる記憶部13bに格納す
る。
In the sensor controller 13, the sensing drive circuit 13a issues a command to the robot controller 12 to move the front surface of the laser sensor 21 to the sensing position by a sensing command input according to the start operation, and the front surface of the laser sensor 21 is sensed. It is a circuit for scanning the laser beam (spot light) in a direction orthogonal to the planned welding line of the planned welding site in the state of being positioned. The shape analysis unit 13b, based on the detection signal sent from the laser sensor 21 and according to a predetermined algorithm, the dimensions of the gap, step, etc. of the welding site of the workpiece 50 and the position of the edge 52a (in this example). Then, the shape data such as the position of this edge becomes the planned welding position) is calculated. The teaching data creation unit (not shown)
In the teaching mode, the laser sensor 21 is scanned to create teaching data including the shape data of the simulated welding site,
The data is stored in the storage unit 13b including a RAM and an EEPROM.

【0019】記憶部13cは、上記教示データを格納す
る他、レーザセンサ21を走査して、各計測点毎に測定
された受光量を記憶する。また、ずれ量算出部13d
は、教示データに含まれる基準位置(教示物50’で教
示したエッジ部52a’の位置)と形状解析部13bが
解析した被溶接物50の溶接予定位置(エッジ部52a
の位置)とのずれ量を算出する。補正部13eは、ずれ
量算出部13dの出力に基づいて、教示データを補正す
る。最適条件選択部(図示略)は、ロボットコントロー
ラ12が予め保管している最適溶接条件データベースか
らこの補正した教示データに応じた最適な溶接条件を選
択する。
In addition to storing the teaching data, the storage section 13c scans the laser sensor 21 and stores the amount of received light measured at each measurement point. In addition, the deviation amount calculation unit 13d
Is the reference position (the position of the edge portion 52a ′ taught by the teaching object 50 ′) included in the teaching data and the planned welding position (edge portion 52a) of the workpiece 50 analyzed by the shape analysis unit 13b.
Position) is calculated. The correction unit 13e corrects the teaching data based on the output of the deviation amount calculation unit 13d. The optimum condition selection unit (not shown) selects the optimum welding condition according to the corrected teaching data from the optimum welding condition database stored in advance by the robot controller 12.

【0020】また、エラー判定部13fは、レーザセン
サ21又はずれ量算出部13dからの信号が予め定めら
れたエラー条件に該当するか否かを判定する。また、セ
ンシングリトライ指令部13gは、このエラー判定部1
3fがエラーと判定した場合、上記センシング駆動回路
に再度センシング命令を送出する。エラー信号発生部1
3hは、センシングリトライ指令部が所定回数センシン
グ命令を発してもエラー判定部がエラーと判定する場合
に、エラー信号を発生する。また、送信回路(図示略)
は、ロボットコントローラ12へ溶接予定部位の座標値
(補正された教示データ)、最適溶接条件信号、及びエ
ラー信号を送信する。また、制御部は、CPU(中央処
理装置)及びROMやRAM等の内部メモリを備え、R
OMに記憶された処理プログラムを、RAMを用いて実
行することによりセンサコントローラ13の構成各部を
制御する。
Further, the error determination section 13f determines whether or not the signal from the laser sensor 21 or the shift amount calculation section 13d satisfies a predetermined error condition. In addition, the sensing retry command unit 13g uses the error determination unit 1
If 3f is determined to be an error, the sensing command is sent again to the sensing drive circuit. Error signal generator 1
3h generates an error signal when the error determination unit determines that there is an error even if the sensing retry command unit issues a sensing command a predetermined number of times. Also, a transmission circuit (not shown)
Transmits to the robot controller 12 the coordinate values of the planned welding site (corrected teaching data), the optimum welding condition signal, and the error signal. The control unit includes a CPU (central processing unit) and internal memories such as ROM and RAM, and
By executing the processing program stored in the OM using the RAM, each component of the sensor controller 13 is controlled.

【0021】なお、この例のエラー判定部13fは、予
め与えられた複数のエラー条件のいずれのエラー条件に
該当するかを判定できるようになっている。そして、エ
ラー信号発生部13hは、該当するエラー条件に対応す
るエラー番号(エラー条件毎に異なる)を発生する。特
に、エラー判定部13fが複数のエラー条件に該当する
と判定した場合、エラー信号発生部13hは、予め定め
た優先順位の上位のエラー条件に応じたエラー番号のみ
を発生するようになっている。具体的なエラー条件とエ
ラー番号の関係については、作用の説明のところで述べ
る。
The error determination section 13f in this example can determine which of a plurality of error conditions given in advance corresponds to the error condition. Then, the error signal generating unit 13h generates an error number (different for each error condition) corresponding to the corresponding error condition. In particular, when the error determination unit 13f determines that a plurality of error conditions are satisfied, the error signal generation unit 13h is configured to generate only an error number corresponding to a higher-order error condition having a predetermined priority. The specific relationship between the error condition and the error number will be described in the description of the operation.

【0022】このセンサコントローラ13は、ロボット
コントローラ12に接続されている。ロボットコントロ
ーラ12は、センサコントローラ13からセンシング位
置への移動命令を受けたときは、動腕部16を動かして
レーザセンサ21をセンシング位置へ位置決めする。ま
た、ロボットコントローラ12は、センサコントローラ
13から送られてきた補正された教示データ(溶接予定
部位の補正された座標値)、最適溶接条件信号等に基づ
いてロボット本体11の動作制御を行い、溶接を実行す
る。また、エラー信号が送られてきたときには、そのエ
ラー信号を表示装置14に表示させ、必要に応じてロボ
ット本体11の動作を停止する。なお、このロボットコ
ントローラ12内の最適溶接条件データベースには、熟
練工の知識や経験に基づいて、溶接条件決定のための電
流、電圧、速度、トーチ角度、狙い角度等の情報が記憶
されている。
The sensor controller 13 is connected to the robot controller 12. When the robot controller 12 receives a movement command to the sensing position from the sensor controller 13, the robot controller 12 moves the moving arm 16 to position the laser sensor 21 at the sensing position. In addition, the robot controller 12 controls the operation of the robot main body 11 based on the corrected teaching data (corrected coordinate values of the planned welding site), the optimum welding condition signal, etc. sent from the sensor controller 13, and performs welding. To execute. When an error signal is sent, the error signal is displayed on the display device 14, and the operation of the robot main body 11 is stopped if necessary. The optimum welding condition database in the robot controller 12 stores information such as current, voltage, speed, torch angle, and aiming angle for determining welding conditions based on the knowledge and experience of skilled workers.

【0023】次に、この例の作用について説明する。建
物ユニットの組立工場において、この溶接ロボットによ
り、構造体である被溶接物50の溶接予定部位(柱51
とジョイントピース52との間)に対して溶接を実行す
るには、まず、ロボット本体11に対する相対位置が送
りライン上の被溶接物と同じ関係になるように送りライ
ン外に教示物を配置する。教示物は被溶接物と同じも
の、あるいはモデル化したものである。そして、この教
示物にロボット本体11を向けて教示を行う。すなわ
ち、まず、教示物の基準座標を、可動アーム17の先端
を動かすことで溶接ロボット10に教示する。ついで、
教示物の模擬溶接予定線に沿って溶接トーチ20の先端
を手動で動かすことにより、動腕部16の座標値を検出
して溶接基準線を算出させる。
Next, the operation of this example will be described. In the assembly plant of the building unit, the welding robot uses this welding robot to weld the planned welding site (column 51) of the workpiece 50.
And the joint piece 52), first, the teaching object is arranged outside the feed line so that the relative position with respect to the robot body 11 has the same relationship as the object to be welded on the feed line. . The teaching material is the same as the work piece or a modeled one. Then, the robot main body 11 is directed to this teaching object to perform teaching. That is, first, the welding robot 10 is taught the reference coordinates of the teaching object by moving the tip of the movable arm 17. Then,
By manually moving the tip of the welding torch 20 along the simulated welding planned line of the teaching object, the coordinate value of the moving arm portion 16 is detected and the welding reference line is calculated.

【0024】次に、センシング位置(レーザセンサ21
の測定位置)を定め、その位置でレーザセンサ21を走
査させて、その計測データにより模擬溶接部位の形状を
解析させる。この解析データの中には教示物のエッジ部
(溶接基準位置)の座標値や溶接基準線の座標値が含ま
れている。センシング位置は、この例の場合、上下に間
隔をおいた2点である(3点以上でも勿論良い)。次
に、ロボット本体11の可動アーム17を送りライン上
の被溶接物50に戻して再生モードとし、自動溶接処理
をスタートさせる。スタート操作すると、まず、スター
ト信号と共にセンシング命令がセンサコントローラ13
に入力され、センサコントローラ13側が、図5に示す
ような自身の処理を開始する。同時にロボットコントロ
ーラ12側も、図4に示すような自身の処理を開始す
る。
Next, the sensing position (laser sensor 21
Measurement position) is determined, the laser sensor 21 is scanned at that position, and the shape of the simulated welding site is analyzed by the measurement data. The analysis data includes the coordinate value of the edge portion (welding reference position) of the teaching object and the coordinate value of the welding reference line. In the case of this example, the sensing positions are two points that are vertically spaced (three points or more may of course be used). Next, the movable arm 17 of the robot body 11 is returned to the object to be welded 50 on the feed line to enter the regeneration mode, and the automatic welding process is started. When the start operation is performed, first, the sensing command is sent together with the start signal to the sensor controller 13
And the sensor controller 13 side starts its own processing as shown in FIG. At the same time, the robot controller 12 side also starts its own processing as shown in FIG.

【0025】以下、図4乃至図7に示すフローチャート
に従って動作を説明する。図4はロボットコントローラ
12側の処理の流れ、図5はセンサコントローラ13側
の処理の流れを示す。センサコントローラ13は、適当
に移動指令をロボットコントローラ12側に送りなが
ら、図3に示すように、上下2つのセンシング位置SP
1、SP2にレーザセンサ21を位置決めさせ、それぞ
れのセンシング位置SP1、SP2でレーザセンサ21
を走査させて(図中hが走査範囲を示す)、被溶接物5
0のエッジ部(溶接予定位置)52aの位置S1、S2
を解析する。
The operation will be described below with reference to the flow charts shown in FIGS. FIG. 4 shows a processing flow on the robot controller 12 side, and FIG. 5 shows a processing flow on the sensor controller 13 side. The sensor controller 13 appropriately sends a movement command to the robot controller 12 side, and as shown in FIG.
The laser sensor 21 is positioned at 1 and SP2, and the laser sensor 21 is positioned at the respective sensing positions SP1 and SP2.
To be scanned (h in the figure indicates the scanning range), and the workpiece 5 is welded.
Positions S1 and S2 of zero edge portion (scheduled welding position) 52a
To analyze.

【0026】すなわち、センサコントローラ13側は、
図5に示すように、ステップS201でセンシング位置
SP1への移動命令を送信する。このとき、教示物に向
けて教示を行った際の座標値のうち、可動アーム18及
び手首部19の座標値のみを用いて、ワーク空間上の座
標値を算出するようにしているので、教示物と被溶接物
50との間の往復動に用いられる基動部20の座標値は
除かれて、レーザセンサ21は、送りライン上の被溶接
物50のセンシング位置SP1に移動させられる。つい
で、ステップS202でセンシング位置SP1にレーザ
センサ21が到着したか否かを確認し、到着したことを
確認したら、ステップS203においてレーザセンサ2
1を検査線Sに沿って走査させて、センシングを実行す
る。ついで、ステップS204においてセンシング位置
SP2への移動命令を送信し、同様にステップS205
においてセンシング位置SP2へレーザセンサ21が到
着ことを確認したら、ステップS206においてセンシ
ングを実行する。そして、2箇所でのセンシングが終了
したら、ステップS207において、採取したレーザセ
ンサ21のデータに基づき、被溶接物50の溶接データ
(溶接予定部位の座標値、溶接条件等を含む)を計算す
る。
That is, on the sensor controller 13 side,
As shown in FIG. 5, a movement command to the sensing position SP1 is transmitted in step S201. At this time, the coordinate values in the work space are calculated using only the coordinate values of the movable arm 18 and the wrist 19 among the coordinate values when the teaching is performed toward the teaching object. The laser sensor 21 is moved to the sensing position SP1 of the object to be welded 50 on the feed line, excluding the coordinate values of the base portion 20 used for the reciprocal movement between the object to be welded 50. Then, in step S202, it is confirmed whether or not the laser sensor 21 has arrived at the sensing position SP1. If it is confirmed that the laser sensor 21 has arrived, in step S203, the laser sensor 2 is detected.
1 is scanned along the inspection line S to perform sensing. Then, in step S204, a command to move to the sensing position SP2 is transmitted, and similarly in step S205.
When it is confirmed that the laser sensor 21 has arrived at the sensing position SP2 in, the sensing is executed in step S206. Then, when the sensing at the two locations is completed, in step S207, the welding data of the workpiece 50 (including the coordinate value of the planned welding site, the welding conditions, etc.) is calculated based on the collected data of the laser sensor 21.

【0027】溶接データを算出するステップS207で
は、図8に示すように、教示物50’で解析したエッジ
部52a’の位置と、被溶接物50で解析したエッジ部
52aの位置とのずれ量δを算出し、上下のセンシング
位置SP1、SP2でのずれ量δの大きい方を選択し
て、そのずれ量δに応じて教示データの内容を補正し、
補正したデータを正式な溶接予定部位の座標データとす
る。また、形状データ等により最適溶接条件を決定す
る。一方、ロボットコントローラ12側は図4に示すよ
うに、センシング位置SP1への移動命令が来たら、動
腕部16を動かしてレーザセンサ21をセンシング位置
SP1に位置決めし、位置決めしたら到着信号をセンサ
コントローラ13へ送信する。
In step S207 for calculating the welding data, as shown in FIG. 8, the amount of deviation between the position of the edge portion 52a 'analyzed by the teaching object 50' and the position of the edge portion 52a analyzed by the object 50 to be welded. δ is calculated, the larger deviation amount δ between the upper and lower sensing positions SP1 and SP2 is selected, and the content of the teaching data is corrected according to the deviation amount δ.
The corrected data is used as the official coordinate data of the planned welding site. Also, the optimum welding conditions are determined based on the shape data and the like. On the other hand, as shown in FIG. 4, the robot controller 12 side moves the moving arm 16 to position the laser sensor 21 at the sensing position SP1 when a movement command to the sensing position SP1 is received, and when the positioning is performed, an arrival signal is sent to the sensor controller. Send to 13.

【0028】同様にセンシング位置SP2への移動命令
が来たら、動腕部16を動かしてレーザセンサ21をセ
ンシング位置SP2に位置決めし、位置決めしたら到着
信号をセンサコントローラ13へ送信する。センサコン
トローラ13側では、ステップS207での溶接データ
の計算が終了したら、ステップS208に進んで、算出
した溶接データにエラーがあるか否かを判断する。ここ
では、レーザセンサ21による計測が不可能な場合もエ
ラーと判断する。
Similarly, when a command to move to the sensing position SP2 is received, the moving arm portion 16 is moved to position the laser sensor 21 at the sensing position SP2, and upon positioning, an arrival signal is transmitted to the sensor controller 13. On the sensor controller 13 side, when the calculation of the welding data in step S207 is completed, the process proceeds to step S208, and it is determined whether or not the calculated welding data has an error. Here, even if the measurement by the laser sensor 21 is impossible, it is determined as an error.

【0029】このセンシングエラーは、センサコントロ
ーラ13に備わったエラー診断機能により、下記のエラ
ー条件(診断条件)に合致するか否かで判断する。 (1)センシング位置SP1でのエッジ部の位置S1が
計測不可能である。 (2)センシング位置SP2でのエッジ部の位置S2が
計測不可能である。 (3)教示データのエッジ部の位置と被溶接物のエッジ
部の位置S1との差(ずれ量δ)が所定値L1以上であ
る。 (4)教示データのエッジ部の位置と被溶接物のエッジ
部の位置S2との差(ずれ量δ)が所定値L1以上であ
る。 (5)S1とS2の差が所定値L2を超えている。
This sensing error is judged by an error diagnosis function provided in the sensor controller 13 depending on whether or not the following error condition (diagnosis condition) is met. (1) The position S1 of the edge portion at the sensing position SP1 cannot be measured. (2) The position S2 of the edge portion at the sensing position SP2 cannot be measured. (3) The difference (deviation amount δ) between the position of the edge portion of the teaching data and the position S1 of the edge portion of the workpiece is not less than the predetermined value L1. (4) The difference (deviation amount δ) between the position of the edge portion of the teaching data and the position S2 of the edge portion of the workpiece is not less than the predetermined value L1. (5) The difference between S1 and S2 exceeds the predetermined value L2.

【0030】以上のエラー条件に該当しない場合は、エ
ラー無しと判断してステップS209で溶接判定信号を
送信し、ステップS210で溶接データを送信し、ステ
ップS211で溶接開始命令を送信する。そして、ステ
ップS212において溶接終了信号を受信したことを確
認するまで待って処理を終える。
When the above error conditions are not satisfied, it is determined that there is no error, a welding determination signal is transmitted in step S209, welding data is transmitted in step S210, and a welding start command is transmitted in step S211. Then, in step S212, the process is terminated after waiting until it is confirmed that the welding end signal is received.

【0031】一方、上述したエラー条件に該当する場合
は、ステップS208においてエラー有りと判断して、
ステップS213に進み、ここでセンシングリトライ判
定信号をロボットコントローラ12に送信する。センシ
ングリトライ回数が3回以内ならばステップS241の
判断がNOとなって最初のステップS201に戻り、セ
ンシング動作を再実行する。また、センシングリトライ
回数が3回を超えた場合は、ステップS241の判断が
YESとなって、ステップS215で溶接不可判定信号
を送信し、ステップS216でエラー番号を送信し、処
理を終える。
On the other hand, if the above-mentioned error condition is satisfied, it is judged that there is an error in step S208,
In step S213, the sensing retry determination signal is transmitted to the robot controller 12 here. If the number of sensing retries is 3 or less, the determination in step S241 becomes NO and the process returns to the first step S201 to re-execute the sensing operation. If the number of sensing retries exceeds three times, the determination in step S241 becomes YES, a welding non-determination signal is transmitted in step S215, an error number is transmitted in step S216, and the process is ended.

【0032】この場合のエラー番号は、各エラー条件に
対応して設定され、各エラー条件毎に下記のように対応
付けされている。 エラー番号 … エラー内容 31 … (1) 32 … (2) 33(※) … (3) 34(※) … (4) 35(※) … (5)
The error number in this case is set corresponding to each error condition, and is associated with each error condition as follows. Error number ... Error content 31 ... (1) 32 ... (2) 33 (*) ... (3) 34 (*) ... (4) 35 (*) ... (5)

【0033】したがって、上記の(2)の条件に該当す
るエラーが発生した場合は、エラー番号「32」がロボ
ットコントローラ12に送信される。また、複数のエラ
ーが同時に起こった場合は、同時にエラー番号が送信さ
れる。但し、優先順位のあるものの場合は、優先順位の
上位のエラー番号のみが送信される。ここでは、※印の
番号のエラーに対して、※印のない番号のエラーが優先
順位の上位にある。したがって、※印のエラーが検出さ
れても、エラー番号「31」又は「32」が発生した場
合には、※印の番号は送信されない。
Therefore, when an error corresponding to the above condition (2) occurs, the error number "32" is transmitted to the robot controller 12. When a plurality of errors occur simultaneously, the error number is sent at the same time. However, if there is a priority, only the error number with the higher priority is transmitted. Here, the error with the number without * is higher than the error with the number with *. Therefore, even if the error marked with * is detected, if the error number “31” or “32” occurs, the number marked with * is not transmitted.

【0034】ロボットコントローラ12側では、センシ
ングリトライ判定信号が送信されてくると、ステップS
107の判断がYESとなってステップS101に戻
り、センシング動作受け入れ状態となる。センシングリ
トライ判定信号が送信されて来ない場合は、ステップS
107からステップS108に進み、溶接判定信号が送
信されて来たか否かを判断する。溶接判定信号が送信さ
れて来た場合はステップS109にて溶接データが送信
されて来るのを待つ。溶接データが送信されて来た場合
は、ステップS110でそれを受信する。ついで、ステ
ップS111で溶接開始命令が送信されてくるのを待
ち、溶接開始信号が送信されてきたら、ステップS11
2で溶接を実行し、溶接が終了したら、ステップS11
3で溶接終了信号をセンサコントローラ13に送信す
る。
On the robot controller 12 side, when a sensing retry determination signal is transmitted, step S
The determination of 107 is YES, and the process returns to step S101 to enter the sensing operation acceptance state. If the sensing retry determination signal is not sent, step S
The process proceeds from step 107 to step S108, and it is determined whether the welding determination signal has been transmitted. If the welding determination signal is transmitted, the process waits for the welding data to be transmitted in step S109. When the welding data is transmitted, it is received in step S110. Then, in step S111, the process waits for a welding start command to be transmitted. If a welding start signal is transmitted, step S11
When welding is executed in step 2 and the welding is completed, step S11
At 3, the welding end signal is transmitted to the sensor controller 13.

【0035】ステップS108で溶接判定信号が送信さ
れていないと判断した場合は、ステップS114に進
み、ここで溶接不可判定信号が送信されたか否かを判断
する。NOの場合はステップS107に戻る。溶接不可
判定信号が送信されて来た場合は、ステップS114の
判断がYESとなり、ステップS115でエラー番号を
受信する。ロボットコントローラ12は、エラー番号が
送信されてきた場合は、その番号を表示装置に表示さ
せ、ロボット本体の運転を停止させる。
When it is determined in step S108 that the welding determination signal has not been transmitted, the process proceeds to step S114, in which it is determined whether or not the welding non-determination signal has been transmitted. If NO, the process returns to step S107. If the welding non-determination signal is transmitted, the determination in step S114 is YES, and the error number is received in step S115. When the error number is transmitted, the robot controller 12 displays the number on the display device and stops the operation of the robot body.

【0036】このように、センシングエラーが発生した
場合、再度センシング動作が実行されるので、人手によ
って再度のセンシングを実行させる必要がなくなる。し
たがって、被溶接物のセット時の振動のように、時間の
経過とともに解消される振動などが原因でセンシングエ
ラーが発生した場合は、振動が収まった後での再度のセ
ンシングにより自動的にエラーが解消され、レーザセン
サ21によって正しく検出されたデータに基づき教示デ
ータが補正されて、正確な溶接予定位置での溶接が行わ
れる。
As described above, when the sensing error occurs, the sensing operation is performed again, so that it is not necessary to manually perform the sensing again. Therefore, if a sensing error occurs due to vibrations that are resolved over time, such as vibrations when setting the workpiece, the error will automatically occur when the vibrations subside. The teaching data is corrected on the basis of the data that is eliminated and is correctly detected by the laser sensor 21, and welding is performed at the correct welding planned position.

【0037】また、何回かセンシングを再実行し、それ
でもエラーが解消されない場合に初めてエラー信号をロ
ボットコントローラ12側に送信するので、時間の経過
に応じてエラー原因が解消するような場合は、正式のエ
ラーとならずに処理が進行する。また、エラー信号がロ
ボットコントローラ12に送られてくるので、ロボット
コントローラ12側ですぐそれに対処することができ
る。したがって、誤ったセンシングデータにより溶接を
実行してしまう心配がなく、溶接不良を生じたり、被溶
接物50に溶接トーチ18をぶつけたりするおそれがな
い。また、表示画面を見ることで、何のエラーが発生し
たかが分かるので、即座にそのエラーに対処することが
できる。特に、優先順位の上位のエラーのみが表示され
るので、表示内容に沿って対処すれば、効率良くエラー
を解消できる。
Further, since the error signal is transmitted to the robot controller 12 side only when the sensing is re-executed several times and the error is still not resolved, if the cause of the error is resolved over time, Processing proceeds without a formal error. Further, since the error signal is sent to the robot controller 12, the robot controller 12 can immediately deal with it. Therefore, there is no concern that welding will be performed due to erroneous sensing data, and there is no risk of causing welding defects or hitting the welding torch 18 on the workpiece 50. Further, by looking at the display screen, it is possible to know what error has occurred, so that the error can be dealt with immediately. In particular, since only errors with higher priority are displayed, it is possible to efficiently eliminate the errors by coping with the displayed contents.

【0038】以上、この発明の実施例を図面により詳述
してきたが、具体的な構成はこの実施例に限られるもの
ではなく、この発明の要旨を逸脱しない範囲の設計の変
更等があってもこの発明に含まれる。例えば、図5のフ
ローチャートにおいては、エラー番号の発生をステップ
S216で送信に先立って同時に行うようにしている
が、エラー番号の発生自体は、ステップS207の溶接
データの計算時に行い、この時点で溶接データの代わり
にエラー番号をセットしておき、ステップS208でエ
ラー番号の有無をチェックし、ステップS216ではセ
ンシングリトライを3回行ってもエラー番号が消えない
場合、ロボットコントローラ12に送信するように構成
しても良い。
The embodiment of the present invention has been described in detail above with reference to the drawings. However, the specific structure is not limited to this embodiment, and there are design changes and the like within a range not departing from the gist of the present invention. Also included in the present invention. For example, in the flowchart of FIG. 5, the error number is generated at the same time prior to the transmission in step S216, but the error number itself is generated during the calculation of the welding data in step S207, and the welding is performed at this point. An error number is set instead of the data, the presence or absence of the error number is checked in step S208, and if the error number does not disappear after three sensing retries in step S216, the error number is transmitted to the robot controller 12. You may.

【0039】また、エラー条件は上記の例に限らず、種
々設定することができる。エラー番号も任意の文番号に
設定し得る。センシングリトライ回数も3回に限らず、
任意に設定し得る。また、センサコントローラは、ソフ
トウェア構成であるとハードウェア構成であるとを問わ
ない。また、上述の実施例では、センサコントローラと
ロボットコントローラとが互いに別体である場合につい
て述べたが、例えば、ロボットコントローラがセンサコ
ントローラの機能を兼ね備えるようにしても良い。
Further, the error condition is not limited to the above example, but various settings can be made. The error number can also be set to any sentence number. The number of sensing retries is not limited to three,
It can be set arbitrarily. Further, the sensor controller does not matter whether it has a software configuration or a hardware configuration. Further, in the above-described embodiment, the case where the sensor controller and the robot controller are separate from each other has been described. However, for example, the robot controller may also have the function of the sensor controller.

【0040】[0040]

【発明の効果】以上説明したように、請求項1記載の発
明によれば、センシングエラーが検出された場合、再度
センシング動作が実行されるので、人手によって再度の
センシングを実行させる必要がなくなる。したがって、
特に被溶接物のセット時の振動のように、時間の経過と
ともに解消される振動などが原因でセンシングエラーが
発生した場合は、振動が収まった後での再度のセンシン
グにより自動的にエラーが解消され、センサによって正
しく検出されたデータに基づき教示データが補正され
て、正確な溶接予定位置で溶接が行われる。
As described above, according to the first aspect of the invention, when the sensing error is detected, the sensing operation is performed again, so that it is not necessary to manually perform the sensing again. Therefore,
In particular, if a sensing error occurs due to vibration that is resolved over time, such as vibration when setting the workpiece, the error is automatically resolved by re-sensing after the vibration has subsided. Then, the teaching data is corrected based on the data correctly detected by the sensor, and the welding is performed at the correct welding planned position.

【0041】請求項2記載の発明によれば、センシング
エラーが発生した場合、何回かセンシングを再実行し、
それでもエラーが解消されない場合に初めてエラー信号
を発生するので、時間の経過に応じてエラー原因が解消
するような場合は、正式のエラーとならずに処理が進行
する。したがって、被溶接物のセット時の振動によるエ
ラーのような場合は、振動が収まるに従い自動的に解消
され、そのまま溶接が実行される。また、時間の経過に
よっても原因が解消されないようなエラーの場合はエラ
ー信号が発生するので、それによりエラーの発生を知る
ことができる。
According to the second aspect of the invention, when a sensing error occurs, the sensing is re-executed several times,
If the error is still not resolved, the error signal is generated for the first time. Therefore, if the cause of the error is resolved with the passage of time, the process proceeds without a formal error. Therefore, in the case of an error due to vibration at the time of setting the object to be welded, the vibration is automatically resolved as the vibration subsides, and the welding is executed as it is. Further, in the case of an error whose cause cannot be resolved even with the passage of time, an error signal is generated, so that the occurrence of the error can be known.

【0042】請求項3記載の発明によれば、該当するエ
ラー条件に応じた信号がロボット制御手段に送られるの
で、ロボット制御手段側では、エラーの内容に応じた対
処の仕方を実行することができる。
According to the third aspect of the present invention, since the signal corresponding to the corresponding error condition is sent to the robot control means, the robot control means can execute the coping method according to the content of the error. it can.

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

【図1】この発明の一実施例である溶接ロボットのシス
テム全体の構成を示す概略図である。
FIG. 1 is a schematic diagram showing a configuration of an entire system of a welding robot according to an embodiment of the present invention.

【図2】同システムに適用されるセンサコントローラの
電気的構成を示すブロック図である。
FIG. 2 is a block diagram showing an electrical configuration of a sensor controller applied to the system.

【図3】同溶接ロボットに搭載されるセンサで被溶接物
の溶接予定部位をセンシングする様子を説明するための
図である。
FIG. 3 is a diagram for explaining how the sensor mounted on the welding robot senses a planned welding site of the workpiece.

【図4】同実施例のロボットコントローラ側の制御処理
手順を示すためのフローチャートである。
FIG. 4 is a flowchart showing a control processing procedure on the robot controller side of the embodiment.

【図5】同実施例のロボットコントローラ側の制御処理
手順を示すためのフローチャートである。
FIG. 5 is a flowchart showing a control processing procedure on the robot controller side of the embodiment.

【図6】同実施例のセンサコントローラ側の制御処理手
順を示すためのフローチャートである。
FIG. 6 is a flowchart showing a control processing procedure on the sensor controller side of the embodiment.

【図7】同実施例のセンサコントローラ側の制御処理手
順を示すためのフローチャートである。
FIG. 7 is a flowchart showing a control processing procedure on the sensor controller side of the embodiment.

【図8】同実施例による教示物と被溶接物とのエッジ部
の位置のずれを説明するための平面図である。
FIG. 8 is a plan view for explaining the positional deviation of the edge portion between the teaching object and the object to be welded according to the same embodiment.

【図9】従来の溶接ロボットの概略構成を示す平面図で
ある。
FIG. 9 is a plan view showing a schematic configuration of a conventional welding robot.

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

10 溶接ロボット 11 ロボット本体 12 ロボットコントローラ(ロボット制御手段) 13 センサコントローラ 13a センシング駆動回路 13b 形状解析部 13c 記憶部 13d ずれ量算出部 13e 補正部 13f エラー判定部 13g センシングリトライ指令部 13h エラー信号発生部 14 表示装置 15 教示ボックス 16 動腕部 20 溶接トーチ 21 レーザセンサ 50 被溶接物 10 welding robot 11 robot body 12 robot controller (robot control means) 13 sensor controller 13a sensing drive circuit 13b shape analysis unit 13c storage unit 13d deviation amount calculation unit 13e correction unit 13f error determination unit 13g sensing retry command unit 13h error signal generation unit 14 Display Device 15 Teaching Box 16 Moving Arm 20 Welding Torch 21 Laser Sensor 50 Workpiece

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G05B 19/42 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G05B 19/42

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 動腕部の先端に溶接トーチと溶接予定部
位の表面位置を測定するセンサとを備えたロボット本体
と、このロボット本体の動腕部の動作及び溶接動作を制
御するロボット制御手段と、センシング命令が入力され
たとき前記動腕部をセンシング位置に位置決めすべく前
記ロボット制御手段に移動指令を発し、動腕部がセンシ
ング位置に位置決めされた状態で前記センサを溶接予定
部位の溶接予定線と直交する方向に走査させるセンシン
グ制御手段と、前記センサのデータに基づいて予め教示
されたデータを補正する補正手段とを備え、前記ロボッ
ト制御手段がこの補正手段の出力に応じて前記ロボット
本体を制御する溶接ロボットにおいて、 前記センサのデータ又はそれを処理して得たデータの異
常を判定するエラー判定手段と、 このエラー判定手段がエラーと判定した場合、前記セン
シング制御手段に再度センシング命令を送出するセンシ
ングリトライ指令手段とを備えたことを特徴とする溶接
ロボット。
1. A robot main body having a welding torch at a tip of a moving arm portion and a sensor for measuring a surface position of a planned welding site, and a robot control means for controlling the movement and welding operation of the moving arm portion of the robot main body. When a sensing command is input, a movement command is issued to the robot control means so as to position the moving arm portion at the sensing position, and the sensor is welded to a welding target portion while the moving arm portion is positioned at the sensing position. The robot is provided with a sensing control means for scanning in a direction orthogonal to the planned line and a correction means for correcting data taught in advance based on the data of the sensor, and the robot control means responds to the output of the correction means. In a welding robot for controlling the main body, an error determination means for determining an abnormality in the data of the sensor or the data obtained by processing the sensor, If the error determination means determines that the error, welding robot, characterized in that a sensing retry command means for sending a re-sensing instruction in the sensing control means.
【請求項2】 請求項1記載の溶接ロボットであって、 前記センシングリトライ指令手段が所定回数センシング
命令を発しても前記エラー判定手段がエラーと判定する
場合、エラー信号を前記ロボット制御手段に送出するエ
ラー信号発生手段を設けたことを特徴とする溶接ロボッ
ト。
2. The welding robot according to claim 1, wherein an error signal is sent to the robot control means when the error determination means determines that there is an error even when the sensing retry command means issues a sensing command a predetermined number of times. A welding robot, characterized in that it is provided with error signal generating means.
【請求項3】 請求項2記載の溶接ロボットであって、 前記エラー判定手段が、予め与えられた複数のエラー条
件のいずれのエラー条件に該当するかを判定し、 前記エラー信号発生手段が、前記各エラー条件毎に対応
したそれぞれ異なるエラー信号のうち、該当するエラー
条件に対応するエラー信号を前記ロボット制御手段に送
出することを特徴とする溶接ロボット。
3. The welding robot according to claim 2, wherein the error determination means determines which one of a plurality of error conditions given in advance corresponds to the error condition, and the error signal generation means, Among the different error signals corresponding to each of the error conditions, an error signal corresponding to the corresponding error condition is sent to the robot control means.
JP23997994A 1994-10-04 1994-10-04 Welding robot Expired - Lifetime JP3550191B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23997994A JP3550191B2 (en) 1994-10-04 1994-10-04 Welding robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23997994A JP3550191B2 (en) 1994-10-04 1994-10-04 Welding robot

Publications (2)

Publication Number Publication Date
JPH08103870A true JPH08103870A (en) 1996-04-23
JP3550191B2 JP3550191B2 (en) 2004-08-04

Family

ID=17052678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23997994A Expired - Lifetime JP3550191B2 (en) 1994-10-04 1994-10-04 Welding robot

Country Status (1)

Country Link
JP (1) JP3550191B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1168126A1 (en) * 1999-05-25 2002-01-02 Fanuc Ltd Robot controller with abnormality monitoring function
US6445979B1 (en) 1999-11-05 2002-09-03 Fanuc Ltd. Operation line tracking device using sensor
JP5312667B1 (en) * 2012-12-12 2013-10-09 広機工株式会社 Correction program and storage medium thereof
CN106270917A (en) * 2016-09-26 2017-01-04 扬州大学 Many ribs pipe inside weld follows the tracks of device
WO2023170764A1 (en) * 2022-03-07 2023-09-14 ファナック株式会社 Device for generating search program for robot

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0652018A (en) * 1992-07-31 1994-02-25 Fujitsu Ltd Error display system
JPH06175713A (en) * 1992-12-02 1994-06-24 Shin Meiwa Ind Co Ltd Sensing control method for industrial robot

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0652018A (en) * 1992-07-31 1994-02-25 Fujitsu Ltd Error display system
JPH06175713A (en) * 1992-12-02 1994-06-24 Shin Meiwa Ind Co Ltd Sensing control method for industrial robot

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1168126A1 (en) * 1999-05-25 2002-01-02 Fanuc Ltd Robot controller with abnormality monitoring function
US6377869B1 (en) 1999-05-25 2002-04-23 Fanuc Ltd. Robot controller with abnormality monitoring function
US6445979B1 (en) 1999-11-05 2002-09-03 Fanuc Ltd. Operation line tracking device using sensor
JP5312667B1 (en) * 2012-12-12 2013-10-09 広機工株式会社 Correction program and storage medium thereof
CN106270917A (en) * 2016-09-26 2017-01-04 扬州大学 Many ribs pipe inside weld follows the tracks of device
CN106270917B (en) * 2016-09-26 2018-11-09 扬州大学 More rib pipe inside weld tracks of device
WO2023170764A1 (en) * 2022-03-07 2023-09-14 ファナック株式会社 Device for generating search program for robot

Also Published As

Publication number Publication date
JP3550191B2 (en) 2004-08-04

Similar Documents

Publication Publication Date Title
KR100621100B1 (en) method and system for teaching welding robot
US4907169A (en) Adaptive tracking vision and guidance system
JP3904605B2 (en) Compound sensor robot system
JPS6037273A (en) Manipulator type welding apparatus
EP0862963B1 (en) Welding robot control method
US6321139B1 (en) Operation line searching method and robot/sensor system having operation line searching function
JP5502462B2 (en) Control apparatus and program for arc welding robot
US11247288B2 (en) Welding position detection device, welding position detection method, and welding robot system
JPH09183087A (en) Working robot device
JPH07266272A (en) Follow-up method and device for manipulator
JPH08103870A (en) Welding robot
JP5636148B2 (en) Automatic welding machine position detection system
JPH1094874A (en) Automatic welding method for tube joint
JP2007307612A (en) Automatic welding method and automatic welding equipment, and reference tool used for automatic welding
JPH08103869A (en) Welding robot
JP2597368B2 (en) Automatic welding equipment
JPH10156775A (en) Picking system and welding robot control system
US20240123606A1 (en) Teaching point generation device that generates teaching points on basis of output of sensor, and teaching point generation method
JP3200106B2 (en) Method and apparatus for setting torch position of welding robot
Vavreck et al. An adaptive seam tracker for welding heavy-section aluminum
JPH0569132A (en) Teaching method for arc welding robot
JPH08215847A (en) Control method of welding robot
JP3596095B2 (en) Robot controller
JP2017121637A (en) Welding method and welding device
JP2509320B2 (en) Teaching position confirmation device for arc welding robot

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040331

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040423

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

Free format text: PAYMENT UNTIL: 20080430

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090430

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090430

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100430

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110430

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120430

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130430

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140430

Year of fee payment: 10

EXPY Cancellation because of completion of term