JP3447121B2 - Edge detection method of workpiece to be applied to welding robot - Google Patents

Edge detection method of workpiece to be applied to welding robot

Info

Publication number
JP3447121B2
JP3447121B2 JP24432994A JP24432994A JP3447121B2 JP 3447121 B2 JP3447121 B2 JP 3447121B2 JP 24432994 A JP24432994 A JP 24432994A JP 24432994 A JP24432994 A JP 24432994A JP 3447121 B2 JP3447121 B2 JP 3447121B2
Authority
JP
Japan
Prior art keywords
reference value
point
value
edge
determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP24432994A
Other languages
Japanese (ja)
Other versions
JPH08108278A (en
Inventor
高太郎 永井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP24432994A priority Critical patent/JP3447121B2/en
Publication of JPH08108278A publication Critical patent/JPH08108278A/en
Application granted granted Critical
Publication of JP3447121B2 publication Critical patent/JP3447121B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】この発明は、動腕部の先端手首に
溶接トーチと共に光学センサを配設し、この光学センサ
で溶接予定部位の形状(位置も含む)をセンシングし
て、このセンシングデータにより予め教示したデータを
補正しながら溶接を行うティーチングプレイバック方式
のアーク溶接ロボット(以下、単に溶接ロボットとい
う)に適用される被溶接物のエッジ部検出方法に関す
る。 【0002】 【従来の技術】従来、この種の溶接ロボットとしては、
例えば、特開平5−212540号公報や特願平6−1
6293号公報に記載のものが存在する。このような溶
接ロボット1では、図11に示すように、台座2上に配
設された可動アーム3の先端手首に、レーザセンサ4及
び溶接トーチ5が配設されている。上記レーザセンサ4
は、溶接予定部位の近傍において、溶接予定線の方向に
直交する方向の検出線に沿ってレーザビームで走査可能
に配備され、走査中に被溶接物(被測定物)の表面で乱
反射(拡散反射)するレーザ光の一部を受光して溶接予
定部位の位置等の形状を検出する。この溶接ロボット1
では、同図に示すように、まず、教示(ティーチング)
モードにして、可動アーム3を被溶接物7と同形同大の
教示物7’に向け、ロボット本体(マニピュレータ)を
制御するコントローラ6に、溶接を行う溶接基準位置T
x’(図12参照)と、レーザセンサ4を走査して計測
を行うセンサ計測位置Sxとを予め学習記憶させる。こ
の後、再生(プレイバック)モードにして可動アーム3
を送りラインL上の被溶接物7に向け、記憶された溶接
基準位置Tx’とセンサ計測位置Sxとに基づいて、被
溶接物7の溶接基準位置Tx’からのずれδ(図12参
照)を検出して位置補正データを作成し、この位置補正
データに基づいて、上記記憶された溶接基準位置Tx’
と検出した溶接予定位置Txとの位置差δをコントロー
ラ6で補正して、被溶接物7の溶接予定部位8に対して
溶接トーチ5が溶接を行う。 【0003】ところで、溶接予定位置Txは、通常、被
溶接物7を構成するワーク7aとワーク7bとの間で、
互いに所定の隙間を開けて対向配置される両ワーク7
a,7bのエッジ部のうち、いずれか一方のエッジ部に
設定される。この場合、角にR部が付いたワーク7b
と、R部が付いていないワーク7aとでは、エッジ部の
判定のし易さから、図12に示すように、後者、すなわ
ちR部が付いていないワーク7a側のエッジ部9の位置
XEに設定される。 【0004】角にR部が付いていないエッジ部9の位置
をレーザセンサ4で検出するには、被溶接部の溶接予定
部位の近傍を、上述の検出線に沿って、図12中左方か
ら右方に、レーザビームで走査する一方、その際、被溶
接物7の走査線上の表面で乱反射し、再びレーザセンサ
4に戻ってくるレーザ光を受光部で受けて、その受光量
を逐次計測することにより行われる。すなわち、ワーク
7aの表面部で乱反射する光は多く受光部に戻ってくる
ので、受光量は飽和するが、被溶接物7のギャップGで
反射する光は、一般には、ほとんど戻ってこないことか
ら、図13に示すように、受光量が急激に変化(減少)
する領域(同図X1〜X2)を解析することで、エッジ部
9の位置を検出するようにしている。なお、図13は、
計測点の座標値を横軸に採り、受光量を縦軸に採った計
測点−受光量特性曲線図であり、この図において、X1
〜X2の領域(ロ)では、受光量が急激に変化(減少)
しており、この領域(ロ)にエッジ部9があることが判
る。受光量が急激に変化する場合には、X1,X2の値
は、同一ではないまでも極めて近い値である。したがっ
て、X1,X2のいずれをエッジ部9と判定しても、支障
は生じない。また、X1〜X2の左側の領域(イ)では、
受光量が飽和しており、この領域(イ)が、ワーク7a
の表面部の領域であることが判り、一方、X1〜X2の右
側の領域(ハ)では、受光量が底をついており、この領
域(ハ)が、ギャップGの領域であることが判る。ま
た、X3〜X4の領域(ニ)では、受光量が緩やかに変化
(増加)しており、この領域(ニ)が、角にR部が付い
たワーク7bのエッジ部であることが判る。さらに、X
3〜X4の右側の領域(ホ)では、受光量が飽和してお
り、この領域(ホ)が、ワーク7bの表面部の領域であ
ることが判る。 【0005】しかしながら、エッジ部9の検出は、必ず
しも容易ではなく、エッジ部9の形状が急峻な場合で
も、例えば、エッジ部9の近傍が汚れていたり、近傍の
みに塗装がしてある等のために、エッジ部9の近傍の反
射率が低下していれば、エッジ部9の充分手前からでも
受光量が漸次減少を開始する。このような場合には、図
14に示すように、受光量はなだらかに低下するので、
どの位置をエッジ部9の位置と決定すべきか、その判定
が困難となる。 【0006】そこで、従来では、エッジ部9の位置XE
を判定するために、同図に示すように、飽和受光量と等
値に設定された飽和基準値(以下、L基準値という)
と、このH基準値よりも僅かに受光量レベルの低い中間
基準値(以下、M基準値という)と、このM基準値より
もかなり受光量レベルの低い低位基準値(以下、L基準
値という)との3つの基準値を予め定数として設定し、
レーザセンサ4を走査して、各計測点毎に検出された受
光量を、上記した各種の基準値と比較するようにしてい
る。そして、同図に示すように、H基準値を下回り始め
る直前又は直後の計測点(H判定点)の位置XHと、受
光量がM基準値と等しくなる計測点(M判定点)の位置
XMと、受光量がL基準値と等しくなる計測点(L判定
点)の位置XLとを求め、L判定点とH判定点との位置
差が予め設定された設定値ΔL(例えば、ΔL=0.5
mm)よりも小さければ、エッジ部9の急峻な形状が受
光量に忠実に反映されたのであるから、3つの判定点の
真ん中を採って、M判定点の位置XMがエッジ部9の位
置XEであると判定する。これに対して、L判定点とH
判定点との位置差が設定値ΔLよりも大きければ、エッ
ジ部9の急峻な形状が受光量に反映されなかったのであ
るから、M判定点の位置XMは、未だワーク7aの表面
部であると認識し、L判定点の位置XLがエッジ部9の
位置XEであると判定する。上記の判定方法を、ロボッ
ト言語で示せば、次のようになる。 XE=XM if XL−XH>ΔL THEN XE=XL ここで、XH,XM,XL,XEは、X座標軸上の値であ
る。 【0007】このような構成の溶接ロボットによれば、
繰り返し正確な位置に位置決めすることの難しい被溶接
物に対して、常に正確な溶接予定位置で、教示内容に忠
実な溶接を行うことができる。 【0008】 【発明が解決しようとする課題】しかしながら、上記従
来のエッジ部の判定方法では、図15に示すように、レ
ーザセンサ4の走査開始点から走査終了点までの間に、
戻り光の受光量が、L基準値を下回って計測されること
が一度もない場合、すなわち、同図に示すように、計測
点−受光量特性曲線と低受光レベルとが交差しない場合
には、L判定点の位置XLを求めることができず、この
ため、エッジ部の位置を計測できないか、計測できて
も、正確ではないという不都合が生じ、ひいては、ロボ
ットに誤動作を誘発させる要因となる。このような事態
は、例えば、ワーク7aとワーク7bとが接近し過ぎ
て、ギャップGが狭くなりすぎたり、あるいは、ギャッ
プGの中に異物や突起物がある場合等、ギャップGから
の戻り光が予想以上に多くなる場合に多々起こり得る。 【0009】この発明は、上述の事情に鑑みてなされた
もので、レーザセンサの走査時、ギャップ内からのレー
ザ光の戻りが予想以上にあって、その際に計測される受
光量の最小値が通常よりも高く、L基準値以上ある場合
でも、エッジ部の位置(溶接予定位置)を正確にかつ確
実に計測できる溶接ロボットに適用される被溶接物のエ
ッジ部検出方法を提供することを目的としている。 【0010】 【課題を解決するための手段】上記課題を解決するため
に、請求項1記載の発明は、動腕部の先端に溶接トーチ
と溶接予定部位の表面位置をスポット光で走査して測定
する光学センサとを備えたロボット本体と、このロボッ
ト本体の動腕部の動作姿勢を制御するロボット制御手段
と、上記光学センサがセンシング位置に位置決めされた
状態で上記スポット光で溶接予定部位の溶接予定線と直
交する方向に走査させるスキャニング制御手段と、上記
光学センサの受光データに基づいて予め教示されたデー
タを補正する補正手段とを備え、上記ロボット制御手段
がこの補正手段の出力に応じて上記ロボット本体を制御
する溶接ロボットに適用される被溶接物のエッジ部検出
方法であって、上記溶接予定線と直交する走査線上に多
数設定された計測点にスポット光が到達する度にスポッ
ト光の反射による戻りを受光してその受光量を測定し、
記憶手段に上記計測点毎に区分して一時記憶する受光デ
ータ記憶手段と、比較的レベルの低い所定の受光量と等
値に設定されたL基準値と、比較的レベルの高い所定の
受光量と等値に設定されたH基準値と、上記L基準値及
びH基準値の間に入る所定の受光量と等値に設定された
M基準値と、上記溶接予定部位のエッジ部のあたりを探
る処理に用いられ、当該処理を繰り返す度に飛び飛びに
増加するP基準値の初期値であって、上記L基準値より
も低く設定された初期値と、同じくP基準値の上記処理
を繰り返す度毎に増加する増加分とをそれぞれ記憶する
基準値記憶手段とを備え、上記P基準値を用いて、計測
点毎に上記受光量を探索して、上記溶接予定部位のエッ
ジ部あたりとなるP判定点を見つけ、P判定点が見つか
らないときは、P基準値の値に上記増加分を加えて、上
記受光量の探索を繰り返すP判定点探索ステップと、上
記H基準値を用いて、計測点毎に上記受光量を探索して
H基準値に遭遇するH判定点を見つけるH判定点探索ス
テップと、上記M基準値を用いて、計測点毎に上記受光
量を探索してM基準値に遭遇するM判定点を見つけるM
判定点探索ステップと、P判定点が見つかったときのP
基準値と上記L基準値とを比較する基準値比較ステップ
と、(イ)上記基準値比較ステップでの比較の結果、L
基準値がP基準値よりも高位であるときは、L基準値を
用いて、計測点毎に上記受光量を探索してL基準値に遭
遇するL判定点を見つけ、L判定点とH判定点との位置
差が予め設定された設定値以上のときは、L判定点の位
置が上記溶接予定部位のエッジ部の位置であると判定す
る一方、L判定点とH判定点との位置差が予め設定され
た設定値以上でないときは、M判定点の位置がエッジ位
置と判定する第1のエッジ位置判定ステップと、(ロ)
上記基準値比較ステップでの比較の結果、P基準値がL
基準値よりも高位であるときは、P判定点とH判定点と
の位置差が予め設定された設定値以上のときは、P判定
点の位置が上記溶接予定部位のエッジ部の位置であると
判定する一方、P判定点とH判定点との位置差が予め設
定された設定値以上でないときは、M判定点の位置がエ
ッジ位置と判定する第2のエッジ位置判定ステップとを
有してなることを特徴としている。 【0011】 【作用】上記構成において、まず、P基準値を用いて、
溶接予定部位のエッジ部のあたりを探る。このP基準値
は、L基準値よりも受光量レベルの低いところから出発
する。しかしながら、探索を繰り返しても、P判定点が
見つからないときは、P基準値の値に増加分が何度も加
えられるので、最終的に、L基準値よりも受光量レベル
が高くなり得る。このような場合には、P基準値がL基
準値の役割を代行する。したがって、ギャップ内からの
レーザ光の戻りが予想以上にあって、その際に計測され
る受光量の最小値が通常よりも高く、L基準値が機能し
得ない場合でも、この発明の構成によれば、エッジ部の
判定処理を遂行できる。 【0012】 【実施例】以下、図面を参照してこの発明の実施例につ
いて説明する。図1は、この発明の一実施例である溶接
ロボットのシステム全体の構成を示す概略図、また、図
2は、同システムに適用されるセンサコントローラの電
気的構成を示すブロック図である。この例の溶接ロボッ
トは、鉄骨系の建物ユニットの組立工場に配備され、送
りライン上で仮組立された構造体の鋼製の梁と柱とをジ
ョイントピースを介してアーク溶接する作業を行うもの
で、図1に示すように、ロボット本体11と、ロボット
コントローラ12と、センサコントローラ13と、表示
装置(モニタ)14と、教示ボックス15とからなり、
必要に応じて、パソコンやホストコンピュータが接続さ
れるようになっている。ロボット本体11は、モータと
減速機が直接各関節に取り付けられた多関節構造のもの
で、台座2の上に3次元的に駆動すると共に所望の姿勢
をとり得る動腕部17が設けられている。動腕部17
は、所定方向に駆動可能な2つのアーム(第1アーム1
8aと第2アーム18bと)を備えた可動アーム18
と、この可動アーム18の先端に設けられた手首部19
と、可動アーム18の基端部を台座2上で回動自在に軸
支して、可動アーム18を被溶接物と教示物との間で往
復駆動する基動部20とからなっている。上記手首部1
9には、溶接トーチ21及び溶接予定部位の形状や溶接
予定線の位置を検出するためのレーザセンサ22が配設
されている。 【0013】図3は、構造体である被溶接物50の一例
を示す部分斜視図である。この例において、被溶接物5
0は、建物ユニットの鉄骨躯体の一部分であって、角に
R部がついた角形鋼管からなる柱51と、柱51の上端
部又は下端部の一の側面に接近して配置されたジョイン
トピース52とからなり、ジョイントピース52の急峻
なエッジ部52aが、柱51に数mm程度のギャップを
持って予め仮付けされている。そして、このジョイント
ピース52と柱51とを接合すべく、ジョイントピース
52のエッジ部52aに沿ってアーク溶接のための溶接
予定線Pが設定されている。以下、被溶接物50のエッ
ジ部52aというときは、特に断りがない限り、ジョイ
ントピース52のエッジ部52aを意味する。ジョイン
トピース52は、梁を柱51に接合して架設するための
断面コ字型の接合部材であり、この例のロボットがジョ
イントピース52と柱51とをアーク溶接する際には、
既に、ジョイントピースのコ字型の凹部に梁が挿入さ
れ、2重構造部分となった所がスポット溶接されて両者
は互いに固定されている。つまり、建物ユニットの鉄骨
躯体が送りライン上で仮組立された後、当該鉄骨躯体の
隅部(柱51の上下端部とジョイントピース51との接
合部位)がこの例の溶接ロボットによって本溶接される
こととなる。 【0014】上記レーザセンサ22は、半導体レーザや
投光レンズ等からなる発光部と、結像レンズや位置検出
素子(PSD)等からなる受光部とを備え、半導体レー
ザからの射出光が、投光レンズで絞られ、被測定物上に
ビームスポットを作ると、このビームスポットが、被測
定物の表面で乱反射(拡散反射)し、その一部が戻って
きて結像レンズによって位置検出素子上に像となって結
ばれることで、スポット光の位置やレーザセンサ22の
前面から被測定物の表面までの距離が計測されるように
なっている。このレーザセンサ22は、溶接予定線Pの
近傍において、検出線Sの方向に走査可能に備えられ、
検出線Sに沿う被溶接物50の表面位置を検出する。な
お、レーザセンサ22の走査機構としては、レーザセン
サ22自体を全体的に駆動するものであっても良いし、
レーザセンサ22の内部においてミラー等を用いて発光
部からの光の照射方向を変更するものであっても良い。 【0015】このレーザセンサ22には、センサコント
ローラ13が接続されている。このセンサコントローラ
13は、図2に示すように、形状解析部13aと、記憶
部13bと、ずれ量算出部13cと、補正部13dと、
エラー判定部13eと、エラー信号発生部13fと、ス
キャニング制御回路13g、制御部13hと、さらに
は、教示データ作成部、最適条件選択部、及び送信回路
(いずれも図示略)とから電気的に構成されている。セ
ンサコントローラ13において、上記スキャニング制御
回路は、センシング位置に位置決めされたレーザセンサ
22を溶接予定部位の溶接予定線と直交する方向に走査
させるための回路である。形状解析部13aは、レーザ
センサ22から送出されてきた受光量情報や位置情報等
の検出信号に基づいて、かつ、後述する所定のアルゴリ
ズムに従って、被溶接物50の溶接予定部位のギャッ
プ、段差等の寸法やエッジ部(この例では、このエッジ
部の位置が溶接予定位置となる)52aの位置等の形状
データを解析する。教示データ作成部(図示略)は、教
示モードのとき、レーザセンサ22を走査させて、模擬
溶接予定部位の形状データを含む教示データを作成し
て、RAMやEEPROM等からなる記憶部13bに格
納する。 【0016】記憶部13bは、上記教示データを格納す
る他、レーザセンサ22を走査して、各計測点毎に測定
された受光量を計測点の座標値と共に記憶する(この例
では、走査範囲内に、計測点が339箇所設定されてい
る)。また、ずれ量算出部13cは、教示データに含ま
れる溶接基準位置(教示物50’で教示したエッジ部5
2a’の位置)と形状解析部13aが解析した被溶接物
50の溶接予定位置(エッジ部52aの位置)とのずれ
量を算出する。補正部13dは、ずれ量算出部13cの
出力に基づいて、教示データを補正する。最適条件選択
部(図示略)は、ロボットコントローラ12が予め保管
している最適溶接条件データベースからこの補正した教
示データに応じた最適な溶接条件を選択する。また、エ
ラー判定部13eは、レーザセンサ22、ずれ量算出部
13c、形状解析部13aからの信号が予め定められた
エラー条件に該当するか否かを判定する。エラー信号発
生部13fは、エラー判定部13eが、エラーと判定し
た場合エラー信号を発生する。また、送信回路(図示
略)は、ロボットコントローラ12へ溶接予定部位の座
標値(補正された教示データ)、最適溶接条件信号、及
びエラー信号を送信する。制御部13hは、CPU(中
央処理装置)及びROMやRAM等の内部メモリを備
え、ROMに記憶された処理プログラムを、RAMを用
いて実行することによりセンサコントローラ13の構成
各部を制御する。 【0017】このセンサコントローラ13は、ロボット
コントローラ12に電気的に接続されている。ロボット
コントローラ12は、センサコントローラ13からセン
シング位置への移動命令を受けたときは、動腕部17を
動かしてレーザセンサ22をセンシング位置へ位置決め
する。また、ロボットコントローラ12は、センサコン
トローラ13から送られてきた補正された教示データ
(すなわち、溶接予定部位の座標値)、最適溶接条件信
号等に基づいてロボット本体11の動作や姿勢の制御を
行い、溶接を実行する。また、エラー信号が送られてき
たときには、そのエラー信号を表示装置14に表示さ
せ、必要に応じてロボット本体11の動作を停止させ
る。なお、このロボットコントローラ12内の最適溶接
条件データベースには、熟練工の知識や経験に基づい
て、溶接条件決定のための電流、電圧、速度、トーチ角
度、狙い角度等の情報が記憶されている。 【0018】次に、この例の作用について説明する。 ◇教示モード 建物ユニットの組立工場において、この溶接ロボットに
より、構造体である被溶接物50の溶接予定部位(柱5
1とジョイントピース52との間)に対して溶接を実行
するには、まず、ロボット本体11に対する相対位置が
送りライン上の被溶接物50と同じ関係になるように、
送りライン外に教示物50’を配置する。教示物50’
は被溶接物50と同じもの、あるいはモデル化したもの
である。そして、この教示物50’にロボット本体11
を向けて教示を行う。すなわち、まず、教示物50’の
基準座標を、可動アーム18の先端を動かすことで溶接
ロボット10に教示する。ついで、教示物50’の模擬
溶接予定線に沿って溶接トーチ21の先端を手動で動か
すことにより、動腕部17の座標値を検出して溶接基準
線を算出させる。次に、図4に示すように、センシング
位置(レーザセンサ22の測定位置)を定め、その位置
でレーザセンサ22を走査させて、その計測データによ
り模擬溶接予定部位の形状を解析させる。この解析デー
タの中には教示物のエッジ部(溶接基準位置)の座標値
や溶接基準線の座標値が含まれている。センシング位置
は、この例の場合、上下に間隔をおいた2点である(3
点以上でも勿論良い)。 【0019】◇再生モード 次に、ロボット本体11の可動アーム18を送りライン
上の被溶接物50に戻して再生モードとする。このと
き、教示物50’に向けて教示を行った際の座標値のう
ち、可動アーム18及び手首部19の座標値のみを用い
て、ワーク空間上の座標値を算出するようにしているの
で、教示物50’と被溶接物50との間の往復動に用い
られる基動部20の座標値は除かれて、そのまま、送り
ライン上の被溶接物50の溶接予定部位の走査が行われ
る(図3及び図4)。すなわち、制御部13hは、スキ
ャニング制御回路を制御して、図3に示すように、上下
2つのセンシング位置SP1、SP2でレーザセンサ2
2を走査させ、このとき、走査範囲h内の被溶接物50
の表面から乱反射(拡散反射)されるレーザ光の一部を
レーザセンサ22の位置検出素子で受光して、被溶接物
50の表面位置及び受光量を測定する。 【0020】◇受光量の測定 ここで、受光量の測定は、レーザビームのスポット光
が、予め設定された計測点に到達する毎に行われ、受光
量検出データとして、逐次、記憶部13bに一時格納さ
れる。なお、この例では、399箇所の計測点が、走査
範囲h内に互いに等間隔に設定されている。図5は、い
ま、記憶部13bに格納された計測点毎の受光量を、説
明の便宜のために、グラフで示した計測点−受光量特性
曲線図である。同図では、連続した曲線に見えるが、正
確には、399箇所の計測点の位置(座標値)と受光量
との関係がプロット表示されている。同図において、左
側の領域(ヘ)では、受光量が飽和していることから
(この例では、飽和受光量=250)、この領域(ヘ)
が、被溶接物50のうち、ジョイントピース52の平坦
な面板部の領域であることが判り、隣の領域(ト)で
は、受光量が急激に減少していることから、この領域
(ト)にエッジ部52aがあることが判る。次に、領域
(チ)では、受光量が底をついており、この領域(チ)
がギャップGの領域であることが判り、領域(リ)で
は、受光量が緩やかに増加しており、この領域(リ)
が、角にR部が付いた柱51のエッジ部であることが判
る。さらに、領域(ヌ)では、再び受光量が飽和してお
り、この領域(ヌ)が、柱51の表面部の領域であるこ
とが判る。 【0021】◇エッジ部の位置の判定 レーザセンサ22の走査が完了すると、制御部13h
は、記憶部13bから受光量検出データを読み出して、
形状解析部13aに転送する。形状解析部13aは、転
送されてきた受光量検出データに基づいて、被溶接物5
0の溶接予定部位のギャップ、段差等の寸法の算出やエ
ッジ部52aの位置の判定を行う。このエッジ部52a
の位置の判定処理には、図5に示すように、H基準値
(この例では、H基準値=250)と、このH基準値よ
りも僅かに受光量レベルの低いM基準値(同240)
と、このM基準値よりもかなり受光量レベルの低いL基
準値(同160)と、プローブ用基準値(以下、P基準
値という)の4種の基準値を各種判定点の探索のために
用いる。H基準値、M基準値及びL基準値は、いずれ
も、従来技術において説明したと同種の任意に設定し得
る定数である。P基準値は、ジョイントピース52のエ
ッジ部52aがどのあたりに存在するのか、まずは、当
たりをつけるために、この発明において導入された、飛
び飛びに増加する変数である。この例では、初期値とし
て「70」が設定され、以後、処理を繰り返す度に、
「20」ずつ増加して行く(図6参照)。初期値及び増
加分は、任意に設定し得る。ただし、初期値は、L基準
値よりも充分小さな値に設定される。これらの基準値や
関係するパラメータは、記憶部13bの所定のメモリエ
リアに格納されている。 【0022】図8乃至図10は、形状解析部13aが、
制御部13hの指令に従って行う被溶接物50のエッジ
部52aの位置判定処理手順を示すためのフローチャー
トである。被溶接物50のエッジ部52aの位置判定ル
ーチンにおいては、まず、P基準値に初期値(=70)
が設定される(ステップSP11)。そして、形状解析
部13aは、初期設定されたP基準値を用いて、ジョイ
ントピース52のエッジ部52aがどのあたりに存在す
るのか、399箇所の計測点の中から、まずは、当たり
となるP判定点を探索する(ステップSP12)。ここ
で、P判定点とは、第1計測点から第399計測点に向
けて探索する過程で、P基準値が最初に遭遇する計測点
のことであり、図5に示すように、P基準値が計測点−
受光量特性曲線と最初に交わる点における計測点のこと
である(最初に交わる点に計測点がない場合には、最も
近い計測点)。 【0023】初期設定されたP基準値では、P判定点が
見つからない場合(ステップSP13で「NO」)に
は、P基準値の値を+α(この例では、α=20)イン
クリメントする(ステップSP14)。この結果、P基
準値は「90」となる。この新たなP基準値(=90)
を用いて、再び、P判定点を探す(ステップSP15,
12,13)。2度目の探索でも、P判定点が見つから
なければ、P基準値の値を再び+αインクリメントする
(ステップSP14)。以下、P判定点が見つかるま
で、上述の処理(ステップ14,15,12,13)を
繰り返す(図6参照)。上述の処理の過程で、P判定点
が見つからないまま、P基準値の値が、H基準値の値を
越えてしまうとき(ステップSP15で「YES」)
は、形状解析部13aは、エラー信号発生部にその旨の
信号を送出する(ステップSP16)。エラー判定部1
3eは、その旨の信号を受けたときは、エラーと判断し
てエラー信号を発生する。 【0024】一方、ステップSP12において、P判定
点を探索した結果、P判定点が見つかったとき(ステッ
プSP13で「YES」)は、次に、P基準値が、L基
準値(=160)よりも高いか否かが判断される(ステ
ップSP17)。ここで、P基準値が、L基準値(=1
60)よりも高いと判断されたときは、L基準値の代わ
りにP基準値を代用する趣旨から、ステップSP20の
処理に飛び、後述するH判定点を探索する(ステップS
P20)。なお、例えば、被溶接部50のギャップG内
に異物F(図4参照)が存在する場合に、図5及び図6
に示すように、ギャップGからの戻り光の受光量がL基
準値よりも高くなる場合が起こり得る。 【0025】ステップSP13の判断において、図7に
示すように、P基準値がL基準値よりも低いとの結論が
得られたときは(このような場合が一般的である)、ス
テップSP18へ移り 、L基準値を用いて、第1計測
点から先に探索されたP判定点までの間に含まれる計測
点の中からL判定点を探索する。ここで、L判定点と
は、第1計測点から既に探索されたP判定点に向けて探
索する過程で、L基準値が最初に遭遇する計測点のこと
であり、同図に示すように、L基準値が計測点−受光量
特性曲線と最初に交わる点における計測点のことである
(最初に交わる点に計測点がない場合には、最も近い計
測点)。ここで、L判定点は、必ず存在するので、見つ
かるはずであるが、何らかのトラブルにより、見つから
ない場合(ステップSP19で「NO」)には、形状解
析部13aは、エラー信号発生部にその旨の信号を送出
する(ステップSP16)。エラー判定部13eは、そ
の旨の信号を受けたときは、エラーと判断してエラー信
号を発生する。 【0026】一方、L判定点が見つかったとき(ステッ
プSP19で「YES」)は、H基準値を用いて、P判
定点(又はL判定点)から第1計測点までの間に含まれ
る計測点の中からH判定点を探索する(ステップSP2
0)。ここで、H判定点とは、図6及び図7に示すよう
に、P判定点(又はL判定点)から第1計測点に向けて
探索する過程で、H基準値が最初に遭遇する計測点のこ
とである。H判定点が見つからないとき(ステップSP
21で「NO」)で、かつ、P基準値が、L基準値より
も高いとき(ステップSP30で「YES」)は、形状
解析部13aは、P判定点の位置(座標値)XPがエッ
ジ部52aの位置であると判定(認識)して(ステップ
SP26)、この位置判定ルーチンを終了する。これに
対して、H判定点が見つからないとき(ステップSP2
1で「NO」)で、かつ、P基準値が、L基準値よりも
低いとき(ステップSP30で「NO」)は、形状解析
部13aは、L判定点の位置(座標値)XLがエッジ部
52aの位置であると判定(認識)して(ステップSP
29)、この位置判定ルーチンを終了する。。このよう
に判定しても、被溶接部50のエッジ部52aは、R部
の付いていない直角な端面であるから、誤差は極めて小
さく、支障はない。一方、H判定点が見つかったとき
(ステップSP21で「YES」)は、M基準値を用い
て、P判定点(又はL判定点)から第1計測点までの間
に含まれる計測点の中からM判定点を探索する(ステッ
プSP22)。ここで、M判定点とは、図6及び図7に
示すように、P判定点(又はL判定点)から第1計測点
に向けて探索する過程で、M基準値が最初に遭遇する計
測点のことであり、これらの図に示すように、M基準値
が計測点−受光量特性曲線と最初に交わる点における計
測点のことである(最初に交わる点に計測点がない場合
には、最も近い計測点)。 【0027】M判定点が見つからないとき(ステップS
P23で「NO」)で、かつ、P基準値が、L基準値よ
りも高いとき(ステップSP31で「YES」)は、形
状解析部13aは、P判定点の位置(座標値)XPがエ
ッジ部52aの位置であると判定(認識)する(ステッ
プSP26)。そして、この位置判定ルーチンを終了す
る。これに対して、M判定点が見つからないとき(ステ
ップSP31で「NO」)で、かつ、P基準値が、L基
準値よりも低いとき(ステップSP30で「NO」)
は、形状解析部13aは、L判定点の位置(座標値)X
Lがエッジ部52aの位置であると判定(認識)する
(ステップSP29)。そして、この位置判定ルーチン
を終了する。このように判定しても、被溶接部50のエ
ッジ部52aは、R部の付いていない直角な端面である
から、誤差は極めて小さく、支障はない。 【0028】一方、M判定点が見つかったとき(ステッ
プSP23で「YES」)は、再度、P基準値が、L基
準値(=160)よりも高いか否かが判断される(ステ
ップSP24)。ここで、P基準値が、L基準値(=1
60)よりも高いと判断されたときは、記憶部13bか
らP判定点の位置(座標値)XPとH判定点の位置(座
標値)XHが読み出されて、P判定点とH判定点との位
置差が0.5mm(この値は任意である)以上であるか
否かが判断される(ステップSP25)。このとき、位
置差が0.5mm以上であると判断されれば、エッジ部
52aの急峻な形状が受光量に反映されなかったのであ
るから、形状解析部13aは、M判定点の位置XMは、
未だジョイントピース52の表面部であると認識し、P
判定点の位置(座標値)XPがエッジ部52aの位置で
あると判定(認識)して(ステップSP26)、この位
置判定ルーチンを終了する。これに対して、位置差が
0.5mm以下であると判断されれば、エッジ部52a
の急峻な形状が受光量に忠実に反映されたのであるか
ら、3つの判定点の真ん中を採って、形状解析部13a
は、M判定点の位置(座標値)XMがエッジ部52aの
位置であると判定(認識)して(ステップSP27)、
この位置判定ルーチンを終了する。 【0029】一方、ステップSP24において、P基準
値が、L基準値よりも低いと判断されたときは、記憶部
13bからL判定点の位置(座標値)XLとH判定点の
位置(座標値)XHが読み出されて、L判定点とH判定
点との位置差が0.5mm(この値は任意である)以上
であるか否かが判断される(ステップSP28)。この
とき、位置差が0.5mm以上であると判断されれば、
エッジ部52aの急峻な形状が受光量に反映されなかっ
たのであるから、形状解析部13aは、M判定点の位置
XMは、未だジョイントピース52の表面部であると認
識し、L判定点の位置(座標値)XLがエッジ部52a
の位置であると判定(認識)する(ステップSP2
9)。そして、この位置判定ルーチンを終了する。これ
に対して、位置差が0.5mm以下であると判断されれ
ば、エッジ部52aの急峻な形状が受光量に忠実に反映
されたのであるから、3つの判定点の真ん中を採って、
形状解析部13aは、M判定点の位置(座標値)XMが
エッジ部52aの位置であると判定(認識)する(ステ
ップSP27)。そして、この位置判定ルーチンを終了
する。 【0030】◇教示データの補正 上述のエッジ部52aの位置判定ルーチンが終了する
と、ついで、図4に示すように、教示物50’で解析し
たエッジ部52a’の位置(溶接基準位置)と、被溶接
物50で解析したエッジ部52aの位置(溶接予定位
置)とのずれ量δを算出させ、上下のセンシング位置S
P1、SP2でのずれ量δの大きい方を選択して、その
ずれ量δに応じて教示データの内容を補正し、補正した
データを正式な溶接予定部位の座標データとする。そし
て、このデータに対応した溶接条件を選択し、これらを
ロボットコントローラ12に送信する。一方、エラーが
発生した場合は、エラー番号がロボットコントローラ1
2に送信される。ロボットコントローラ12は、エラー
番号が送信されてきた場合は、その番号を表示装置14
に表示させると共に、エラー番号の命令語に飛んで、こ
の命令を実行する。すなわち、ロボット本体11の運転
を停止させる。一方、エラー番号が送信されて来ない場
合は、補正された教示データ及び選択された溶接条件に
従い、溶接トーチ21を動かして溶接を実行する。 【0031】上記構成によれば、エッジ部のあたりを探
るための探索を繰り返しても、P判定点が見つからない
ときは、P基準値の値に増加分が何度も加えられるの
で、最終的に、L基準値よりも受光量レベルが高くなり
得る。このような場合には、P基準値がL基準値の役割
を代行する。したがって、ギャップ内からのレーザ光の
戻りが予想以上にあって、その際に計測される受光量の
最小値が通常よりも高く、L基準値が機能し得ない場合
でも、エッジ部の位置の判定処理を遂行できる。 【0032】以上、この発明の実施例を図面により詳述
してきたが、具体的な構成はこの実施例に限られるもの
ではなく、この発明の要旨を逸脱しない範囲の設計の変
更等があってもこの発明に含まれる。例えば、エッジ部
の判定処理手順は、図8乃至図10に示したものに限定
されない。また、センサコントローラは、ソフトウェア
構成であるとハードウェア構成であるとを問わない。ま
た、上述の実施例では、センサコントローラとロボット
コントローラとが互いに別体である場合について述べた
が、例えば、ロボットコントローラがセンサコントロー
ラの機能を兼ね備えるようにしても良い。 【0033】 【発明の効果】以上説明したように、この発明の構成に
よれば、エッジ部のあたりを探るための探索を繰り返し
ても、P判定点が見つからないときは、P基準値の値に
増加分が何度も加えられるので、最終的に、L基準値よ
りも受光量レベルが高くなり得る。このような場合に
は、P基準値がL基準値の役割を代行する。したがっ
て、ギャップ内からのレーザ光の戻りが予想以上にあっ
て、その際に計測される受光量の最小値が通常よりも高
く、L基準値が機能し得ない場合でも、エッジ部の位置
の判定処理を確実に遂行できる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a wrist tip for a moving arm.
An optical sensor is provided together with the welding torch.
To sense the shape (including position) of the part to be welded
The data taught in advance by this sensing data
Teaching playback method that performs welding while correcting
Arc welding robots (hereinafter simply called welding robots)
) Applied to the edge detection method of the workpiece
You. [0002] Conventionally, as a welding robot of this kind,
For example, Japanese Patent Application Laid-Open No. Hei 5-212540 and Japanese Patent Application No. Hei 6-1
There is one described in JP-A-6293. Such melting
The contact robot 1 is arranged on the pedestal 2 as shown in FIG.
The laser sensor 4 and the tip of the movable arm 3
And a welding torch 5 are provided. The above laser sensor 4
In the direction of the scheduled welding line in the vicinity of the scheduled welding site
Scan with laser beam along detection line in orthogonal direction
At the surface of the workpiece (measurement object) during scanning.
Part of the reflected (diffuse reflection) laser beam is received and welding
The shape such as the position of the fixed part is detected. This welding robot 1
Then, as shown in the figure, first, teaching (teaching)
Mode, and the movable arm 3 has the same shape and size as the workpiece 7.
Move the robot body (manipulator) toward teaching object 7 '
A welding reference position T at which welding is performed is
x ′ (see FIG. 12) and scan the laser sensor 4 for measurement
And the sensor measurement position Sx for performing the learning are stored in advance. This
After that, switch to the playback (playback) mode and move the movable arm 3
Is directed to the workpiece 7 on the feed line L, and the stored welding
Based on the reference position Tx ′ and the sensor measurement position Sx,
The deviation δ of the workpiece 7 from the welding reference position Tx ′ (see FIG. 12)
) To create position correction data,
Based on the data, the stored welding reference position Tx ′ is stored.
And control the position difference δ from the welding scheduled position Tx detected
To the part 8 to be welded of the workpiece 7
The welding torch 5 performs welding. [0003] Incidentally, the welding scheduled position Tx is usually
Between the work 7a and the work 7b constituting the welded object 7,
Both works 7 which are opposed to each other with a predetermined gap therebetween
a, 7b, one of the edge portions
Is set. In this case, a work 7b with a rounded corner
And the workpiece 7a without the R portion,
For ease of determination, as shown in FIG.
The position of the edge portion 9 on the side of the work 7a without the R portion
Set to XE. [0004] The position of the edge portion 9 where the R portion is not attached to the corner
Is detected by the laser sensor 4.
In the vicinity of the part, along the above-mentioned detection line,
Scan with a laser beam to the right,
Irregular reflection on the surface of the object 7 on the scanning line, and the laser sensor
The laser beam returning to 4 is received by the light receiving unit, and the amount of received light
Is sequentially measured. That is, the work
A lot of light irregularly reflected on the surface of 7a returns to the light receiving section
Therefore, the amount of received light is saturated, but the gap G of the work 7
Is reflected light generally not returning?
As shown in FIG. 13, the amount of received light rapidly changes (decreases).
By analyzing the area (X1 to X2 in the figure), the edge part
9 is detected. In addition, FIG.
Measured by taking the coordinate value of the measurement point on the horizontal axis and the amount of received light on the vertical axis
FIG. 4 is a characteristic curve diagram of measurement points and received light amount, in which X1
In the region (B) to X2, the amount of received light rapidly changes (decreases).
It is found that there is an edge portion 9 in this area (b).
You. If the amount of received light changes rapidly, the values of X1 and X2
Are very close, if not identical, values. Accordingly
Therefore, it does not matter which of X1 and X2 is determined to be the edge portion 9.
Does not occur. In the area (a) on the left side of X1 to X2,
The received light amount is saturated, and this area (a) is the work 7a
It can be seen that the area is the surface area of
In the area on the side (c), the amount of received light is bottomed,
It can be seen that the area (c) is the area of the gap G. Ma
In the area X3 to X4 (d), the amount of received light changes slowly.
(Increase), and this area (d) has a rounded corner
It can be seen that it is the edge of the work 7b. Furthermore, X
In the area (e) on the right side of 3 to X4, the received light amount is saturated and
This area (e) is the area of the surface of the workpiece 7b.
You can see that [0005] However, the detection of the edge portion 9 must be performed.
It is not easy, and the shape of the edge part 9 is steep.
Also, for example, the vicinity of the edge portion 9 is dirty,
Due to the fact that only the paint is applied,
If the emissivity is low, even before the edge 9
The amount of received light starts to gradually decrease. In such a case,
As shown in FIG. 14, since the amount of received light gradually decreases,
Determination of which position should be determined as the position of the edge portion 9
Becomes difficult. Therefore, conventionally, the position XE of the edge portion 9 is determined.
As shown in FIG.
Saturation reference value set to the value (hereinafter referred to as L reference value)
And an intermediate level slightly lower than the H reference value.
Reference value (hereinafter referred to as M reference value)
Is also a low reference value (hereinafter referred to as the L reference
Values) are set as constants in advance,
The laser sensor 4 is scanned to receive the light detected at each measurement point.
The light amount is compared with the various reference values described above.
You. Then, as shown in FIG.
Position XH of the measurement point (H determination point) immediately before or immediately after
The position of the measurement point (M judgment point) where the light amount becomes equal to the M reference value
XM and the measurement point where the amount of received light is equal to the L reference value (L judgment
Point XL) and the positions of the L judgment point and the H judgment point
The difference is a preset value ΔL (for example, ΔL = 0.5)
mm), the sharp shape of the edge portion 9 is
Since it was faithfully reflected in the amount of light, the three judgment points
In the middle, the position XM of the M judgment point is the position of the edge 9
It is determined that the position is XE. On the other hand, the L judgment point and H
If the position difference from the judgment point is larger than the set value ΔL,
The steep shape of the edge 9 was not reflected in the amount of received light.
Therefore, the position XM of the M judgment point is still on the surface of the work 7a.
And the position XL of the L determination point is
It is determined that the position is XE. The above judgment method is
In English, it is as follows. XE = XM if XL−XH> ΔL THEN XE = XL where XH, XM, XL and XE are values on the X coordinate axis.
You. According to the welding robot having such a configuration,
Welded workpieces that are difficult to repeatedly and accurately position
Always adhere to the teaching content at the correct welding
Real welding can be performed. SUMMARY OF THE INVENTION
In the conventional edge part determination method, as shown in FIG.
Between the scanning start point and the scanning end point of the user sensor 4
The amount of return light received is measured below the L reference value
Is not found once, that is, as shown in the figure,
When the point-light reception characteristic curve does not intersect with the low light reception level
Cannot find the position XL of the L judgment point.
Therefore, the position of the edge cannot be measured or
However, the inconvenience of inaccuracy arises,
This may cause malfunctions in the computer. This situation
Means that, for example, the work 7a and the work 7b are too close
The gap G becomes too narrow or
When there is a foreign matter or a protrusion in the gap G, the gap G
This can often occur when the amount of return light of the LED becomes larger than expected. The present invention has been made in view of the above circumstances.
When scanning the laser sensor,
If the return of the light is higher than expected,
When the minimum value of the light amount is higher than normal and is equal to or more than the L reference value
However, the position of the edge (scheduled welding position) is accurately and
Efficacy of workpieces applied to welding robots that can actually measure
It is an object of the present invention to provide a method for detecting the edge portion. [0010] To solve the above problems,
The invention according to claim 1 provides a welding torch at the tip of the moving arm.
Scans the spot position on the surface of the part to be welded and the spot to be measured
Robot body equipped with an optical sensor
Robot control means for controlling the movement posture of the moving arm of the robot body
And the optical sensor is positioned at the sensing position
In this state, the spot light directly
Scanning control means for scanning in an intersecting direction;
Data taught in advance based on the received light data of the optical sensor
Correction means for correcting the data, wherein the robot control means
Controls the robot body according to the output of this correction means.
Edge Detection of a Workpiece Applied to a Moving Welding Robot
A plurality of lines on a scan line orthogonal to the predetermined welding line.
Each time the spotlight reaches the set number of measurement points,
The return due to the reflection of light is received and the amount of received light is measured,
Received light data that is temporarily stored in the storage unit separately for each of the above measurement points.
Data storage means and a relatively low level
L value and a relatively high level
The H reference value set equal to the received light amount and the L reference value
Is set to the same value as the predetermined amount of received light that falls between
Find the M reference value and the area around the edge of
Process, and it is skipped every time the process is repeated.
The initial value of the increasing P reference value, which is greater than the L reference value.
The above processing of the initial value set low and the P reference value
And the increment that increases each time is repeated
And a reference value storage means, and the measurement is performed using the P reference value.
The amount of received light is searched for each point, and the
Find the P judgment point near the part, and find the P judgment point
If not, add the above increase to the value of P reference value and
A P determination point search step for repeating the search for the received light amount;
Using the H reference value, the light reception amount is searched for each measurement point.
An H-judgment point search method for finding an H-judgment point that meets the H reference value
Using the step and the M reference value, the light reception at each measurement point
M to find the M decision point where the quantity is searched to meet the M reference value
Judgment point searching step, and P when the P judgment point is found
A reference value comparing step of comparing the reference value with the L reference value
And (a) the result of the comparison in the reference value comparison step, L
When the reference value is higher than the P reference value, the L reference value is
The light reception amount is searched for each measurement point and the L reference value is encountered.
Find the L-judgment point to be treated, and position the L-judgment point and the H-judgment point
If the difference is equal to or greater than a preset value, the position of the L determination point
Is determined to be the position of the edge of the part to be welded.
On the other hand, the position difference between the L judgment point and the H judgment point is set in advance.
If it is not equal to or greater than the set value, the position of the M
A first edge position determining step of determining the position;
As a result of the comparison in the reference value comparison step, the P reference value is L
When the position is higher than the reference value, the P judgment point and the H judgment point
If the position difference is greater than or equal to the preset value,
If the position of the point is the position of the edge of the above-mentioned scheduled welding site
On the other hand, the position difference between the P judgment point and the H judgment point is set in advance.
If not, the position of the M judgment point is
A second edge position determining step of determining the edge position.
It is characterized by having. In the above configuration, first, using the P reference value,
Search around the edge of the scheduled welding site. This P reference value
Starts from a place where the received light level is lower than the L reference value.
I do. However, even if the search is repeated, the P judgment point
If not found, the increase is added many times to the P reference value.
Finally, the received light level is lower than the L reference value.
Can be high. In such a case, the P reference value is
Substitute the role of quasi-value. Therefore, from within the gap
The return of the laser beam is more than expected and
The minimum value of the received light amount is higher than usual, and the L reference value works.
According to the configuration of the present invention, even if it cannot be obtained,
A determination process can be performed. An embodiment of the present invention will be described below with reference to the accompanying drawings.
Will be described. FIG. 1 shows a welding according to an embodiment of the present invention.
Schematic diagram showing the configuration of the entire robot system,
2 is the power of the sensor controller applied to the system.
It is a block diagram which shows a mind structure. The welding robot in this example
Is installed at an assembly plant for steel-based building units and
The steel beams and columns of the structure temporarily assembled on the
Work to perform arc welding through joint pieces
Then, as shown in FIG.
Controller 12, sensor controller 13, and display
It consists of a device (monitor) 14 and a teaching box 15,
If necessary, connect a personal computer or host computer.
It is supposed to be. The robot body 11 includes a motor and
Multi-joint structure with reduction gears directly attached to each joint
Then, it is driven three-dimensionally on the pedestal 2 and has a desired posture.
A moving arm 17 is provided. Moving arm part 17
Are two arms (first arm 1) that can be driven in a predetermined direction.
8a and the second arm 18b)
And a wrist 19 provided at the tip of the movable arm 18
And the base end of the movable arm 18 is rotatably pivoted on the base 2.
And move the movable arm 18 between the workpiece and the teaching object.
The driving unit 20 includes a driving unit 20 that is driven backward. The above wrist 1
9 includes the shape of the welding torch 21 and the portion to be welded and the welding.
A laser sensor 22 for detecting the position of the scheduled line is provided.
Have been. FIG. 3 shows an example of a workpiece 50 as a structure.
FIG. In this example, the workpiece 5
0 is a part of the steel frame of the building unit,
A pillar 51 made of a square steel pipe with an R portion, and an upper end of the pillar 51
Joined close to one side of the lower or lower end
And the joint piece 52
Edge portion 52a forms a gap of about several mm
It has been temporarily attached. And this joint
Joint piece to join piece 52 and pillar 51
For arc welding along the edge 52a of 52
A scheduled line P is set. Hereinafter, the edge of the workpiece 50 will be described.
When referring to the joint 52a, unless otherwise specified,
The edge portion 52a of the print piece 52 is meant. join
The top piece 52 is used to connect the beam to the column 51 and install the beam.
This is a joint member with a U-shaped cross section.
When arc welding the int piece 52 and the column 51,
The beam has already been inserted into the U-shaped recess of the joint piece.
Where the double-structured part was spot-welded
Are fixed to each other. In other words, the steel frame of the building unit
After the frame is temporarily assembled on the feed line, the steel frame
Corner (the contact between the upper and lower ends of the column 51 and the joint piece 51)
Is welded by the welding robot of this example
It will be. The laser sensor 22 includes a semiconductor laser and
A light-emitting part consisting of a light-emitting lens, etc., an imaging lens and position detection
And a light receiving section composed of a device (PSD) and the like.
The light emitted from the laser is focused by the projection lens and
When a beam spot is created, this beam spot
Diffuse reflection (diffuse reflection) on the surface of the fixed object, part of which returns
Image formed on the position detection element by the imaging lens.
The position of the spot light and the laser sensor 22
The distance from the front to the surface of the DUT is now measured
Has become. This laser sensor 22 is used to
In the vicinity, it is provided so as to be able to scan in the direction of the detection line S,
The surface position of the workpiece 50 along the detection line S is detected. What
The scanning mechanism of the laser sensor 22 includes a laser sensor.
The actuator 22 itself may be driven as a whole,
Light emission using a mirror or the like inside the laser sensor 22
The direction of irradiation of light from the unit may be changed. The laser sensor 22 has a sensor controller.
The roller 13 is connected. This sensor controller
Reference numeral 13 denotes a shape analysis unit 13a, as shown in FIG.
Unit 13b, a shift amount calculation unit 13c, a correction unit 13d,
The error determination unit 13e, the error signal generation unit 13f,
A canning control circuit 13g, a control unit 13h, and
Is the teaching data creation unit, the optimum condition selection unit, and the transmission circuit
(All are not shown). C
The scanning control is performed by the sensor controller 13.
The circuit is a laser sensor positioned at the sensing position
Scan 22 in the direction perpendicular to the welding line of the part to be welded
It is a circuit for making it. The shape analysis unit 13a is a laser
Received light amount information and position information sent from the sensor 22
Based on the detection signal and a predetermined algorithm described later.
Of the part to be welded of the workpiece 50 according to the
Dimensions, edges, etc. (in this example, this edge
(The position of the part is the welding expected position) Shape such as the position of 52a
Analyze the data. The teaching data creation unit (not shown)
In the display mode, the simulation is performed by scanning the laser sensor 22.
Create teaching data including the shape data of the parts to be welded
And is stored in a storage unit 13b such as a RAM or an EEPROM.
To pay. The storage unit 13b stores the teaching data.
In addition, scan the laser sensor 22 to measure at each measurement point
The received light amount is stored together with the coordinate value of the measurement point (this example
In the figure, 339 measurement points are set in the scanning range.
). In addition, the shift amount calculation unit 13c includes in the teaching data
Welding reference position (edge part 5 taught by teaching object 50 ')
2a ′) and the workpiece analyzed by the shape analysis unit 13a
Deviation from expected welding position 50 (position of edge portion 52a)
Calculate the amount. The correction unit 13d is provided with a shift amount calculation unit 13c.
The teaching data is corrected based on the output. Optimal condition selection
The unit (not shown) is stored in advance by the robot controller 12.
This corrected teaching from the optimal welding condition database
Select the optimal welding conditions according to the indicated data. Also,
The error determination unit 13e includes a laser sensor 22, a shift amount calculation unit.
13c, the signal from the shape analysis unit 13a is predetermined
It is determined whether an error condition is satisfied. Generates error signal
The raw section 13f determines that the error determination section 13e has determined that an error has occurred.
If an error occurs, an error signal is generated. In addition, the transmission circuit (shown
Omitted) indicates the position of the part to be welded to the robot controller 12.
Standard value (corrected teaching data), optimal welding condition signal,
And an error signal. The control unit 13h has a CPU (medium
Central processing unit) and internal memory such as ROM and RAM.
The processing program stored in the ROM is used for the RAM.
The configuration of the sensor controller 13
Control each part. This sensor controller 13 is a robot
It is electrically connected to the controller 12. robot
The controller 12 sends a command from the sensor controller 13.
When a movement command to the singing position is received, the moving arm 17 is
Move the laser sensor 22 to the sensing position
I do. Further, the robot controller 12 has a sensor controller.
Corrected teaching data sent from the controller 13
(That is, the coordinate values of the parts to be welded)
Control of the operation and posture of the robot body 11 based on the
And perform the welding. Also, an error signal is sent
The error signal is displayed on the display device 14.
And stop the operation of the robot body 11 if necessary.
You. In addition, the optimum welding in the robot controller 12 is performed.
The condition database is based on the knowledge and experience of skilled workers.
Current, voltage, speed, torch angle for determining welding conditions
Information such as a degree and a target angle is stored. Next, the operation of this example will be described. ◇ Teach mode This welding robot is
Thus, the portion to be welded of the workpiece 50 (the pillar 5
1) and the joint piece 52)
First, the relative position with respect to the robot body 11 is
In order to have the same relationship as the workpiece 50 on the feed line,
The teaching object 50 'is arranged outside the feed line. Teaching object 50 '
Is the same as or modeled as the workpiece 50
It is. Then, the robot body 11 is attached to the teaching object 50 '.
To teach. That is, first, the teaching object 50 ′
Weld the reference coordinates by moving the tip of the movable arm 18.
The robot 10 is taught. Then, simulate the teaching material 50 '
Manually move the tip of welding torch 21 along the scheduled welding line
By detecting the coordinate value of the moving arm 17
Let the line be calculated. Next, as shown in FIG.
Determine the position (measurement position of the laser sensor 22), and
Scans the laser sensor 22 with the
To analyze the shape of the part to be simulated. This analysis data
The coordinates of the edge of the teaching object (weld reference position)
And the coordinate value of the welding reference line. Sensing position
Are, in this example, two points spaced vertically (3
Of course, more than points are good). Reproduction mode Next, the movable arm 18 of the robot body 11 is moved to the feed line.
Return to the upper workpiece 50 and set it to the regeneration mode. This and
Of the coordinate value when teaching is performed toward the teaching object 50 '.
Using only the coordinate values of the movable arm 18 and the wrist 19
To calculate coordinate values in the work space
And used for reciprocating movement between the teaching object 50 'and the workpiece 50.
The coordinate value of the base unit 20 is removed and
Scanning of the portion to be welded of the workpiece 50 on the line is performed.
(FIGS. 3 and 4). In other words, the control unit 13h
By controlling the channeling control circuit, as shown in FIG.
Laser sensor 2 at two sensing positions SP1 and SP2
2 at this time, and the workpiece 50 within the scanning range h
Part of the laser light diffusely reflected (diffuse reflected) from the surface of the
The light is received by the position detection element of the laser sensor 22 and the workpiece
The surface position of 50 and the amount of received light are measured. Measurement of the amount of received light Here, the amount of received light is measured by the spot light of the laser beam.
Is performed every time a preset measurement point is reached.
The data is temporarily stored in the storage unit 13b sequentially as the amount detection data.
It is. In this example, 399 measurement points are scanned.
They are set at equal intervals within the range h. Figure 5
The received light amount for each measurement point stored in the storage unit 13b is
For the sake of clarity, the measurement points shown in the graph and the received light amount characteristics
It is a curve figure. In the figure, although it looks like a continuous curve,
To be more precise, the positions (coordinates) of 399 measurement points and the amount of received light
Is plotted. In the figure, left
In the side area (f), the received light amount is saturated.
(In this example, the saturated light receiving amount = 250), this region (f)
Is the flatness of the joint piece 52 of the workpiece 50.
It is clear that this is the area of the face plate part.
Is in this region because the amount of received light is rapidly decreasing.
It can be seen that there is an edge portion 52a in (g). Next, the area
In (h), the amount of received light is at the bottom, and in this area (h)
Is a region of the gap G, and in the region (R)
In the area, the amount of received light is increasing slowly.
Is the edge of the pillar 51 with a rounded corner.
You. Further, in the region (nu), the amount of received light is saturated again.
This area (nu) is the area of the surface of the pillar 51.
I understand. {Circle around (2)} Determination of Edge Position When scanning of the laser sensor 22 is completed, the control unit 13h
Reads out the received light amount detection data from the storage unit 13b,
The data is transferred to the shape analysis unit 13a. The shape analysis unit 13a
Based on the received received light amount detection data, the workpiece 5
Calculation of dimensions such as gaps, steps, etc.
The position of the carriage 52a is determined. This edge portion 52a
In the position determination process, as shown in FIG.
(In this example, H reference value = 250)
M reference value with slightly lower received light level (240)
And the L group whose received light level is considerably lower than the M reference value
Reference value (160) and probe reference value (hereinafter referred to as P reference)
Values) to search for various judgment points.
Used. H reference value, M reference value and L reference value
Can also be set arbitrarily of the same type as described in the prior art.
Is a constant. The P reference value is determined by the
First of all, the location of the
In order to make a difference,
It is a variable that increases rapidly. In this example,
Is set to “70”. Thereafter, each time the processing is repeated,
It increases by “20” (see FIG. 6). Initial value and increase
The addition can be set arbitrarily. However, the initial value is L standard
It is set to a value sufficiently smaller than the value. These reference values and
Related parameters are stored in a predetermined memory area of the storage unit 13b.
It is stored in the rear. FIGS. 8 to 10 show that the shape analysis unit 13a
Edge of workpiece 50 to be performed in accordance with a command from control unit 13h
For showing a position determination processing procedure of the unit 52a
It is. Position determination of the edge 52a of the workpiece 50
In the routine, first, the initial value (= 70) is set to the P reference value.
Is set (step SP11). And shape analysis
The unit 13a uses the initially set P reference value to
Where the edge 52a of the piece 52
First of all, from among the 399 measurement points,
A search is made for a P determination point (step SP12). here
In this case, the P determination point is from the first measurement point to the 399th measurement point.
Measurement point where the P reference value is first encountered in the search process
As shown in FIG. 5, the P reference value is equal to the measurement point −
The measurement point at the first intersection with the received light characteristic curve
(If there is no measurement point at the first intersection,
Close measurement point). With the initially set P reference value, the P judgment point is
If not found ("NO" in step SP13)
Sets the value of the P reference value to + α (α = 20 in this example).
It is incremented (step SP14). As a result, the P group
The reference value is “90”. This new P reference value (= 90)
Is again used to search for a P determination point (step SP15,
12, 13). In the second search, the P judgment point was found
If not, the value of the P reference value is incremented again by + α.
(Step SP14). Hereinafter, until the P judgment point is found
Then, the above processing (steps 14, 15, 12, 13) is performed.
Repeat (see FIG. 6). In the process of the above processing, the P judgment point
Is not found, the value of the P reference value changes to the value of the H reference value.
When exceeding ("YES" in step SP15)
Indicates that the shape analysis unit 13a informs the error signal generation unit
A signal is transmitted (step SP16). Error determination unit 1
3e, upon receiving a signal to that effect, judges that an error has occurred.
Generates an error signal. On the other hand, in step SP12, P determination
When the P judgment point is found as a result of the point search (step
("YES" in step SP13), the P reference value is
It is determined whether the value is higher than the reference value (= 160) (step
Step SP17). Here, the P reference value is the L reference value (= 1).
60) is determined to be higher than the L reference value.
In order to substitute the P reference value,
The process jumps to search for an H determination point to be described later (step S
P20). In addition, for example, in the gap G of the welded part 50,
5 and 6 when foreign matter F (see FIG. 4) exists
As shown in the figure, the amount of light received from the gap G
The case where it becomes higher than the reference value may occur. In the determination at step SP13, FIG.
As shown, the conclusion that the P criterion is lower than the L criterion
When this is the case (this is the case),
Move to step SP18, and perform the first measurement using the L reference value.
Measurements included from the point to the P judgment point searched earlier
An L judgment point is searched from the points. Here, the L judgment point and
Is a search from the first measurement point toward the already determined P determination point.
The first measurement point where the L reference value is encountered in the search process
As shown in the figure, L reference value is measured point-received light amount
The measurement point at the point where the characteristic curve first intersects
(If there is no measurement point at the first intersection,
Measurement point). Here, since the L judgment point always exists,
You should be able to find it
If not (“NO” in step SP19), the shape
The analyzer 13a sends a signal to that effect to the error signal generator.
(Step SP16). The error determination unit 13e
Is received, it is determined that an error has occurred.
Issue a signal. On the other hand, when the L judgment point is found (step
("YES" in step SP19), the P
Included between the fixed point (or L judgment point) and the first measurement point
(Step SP2)
0). Here, the H determination point is defined as shown in FIGS.
From the P judgment point (or L judgment point) to the first measurement point
In the search process, this is the measurement point where the H reference value is first encountered.
And When the H judgment point is not found (step SP
21 is “NO”) and the P reference value is greater than the L reference value.
Is also high (“YES” in step SP30),
The analysis unit 13a determines that the position (coordinate value) XP of the P determination point is an edge.
Is determined (recognized) as being the position of the edge portion 52a (step
SP26), and ends the position determination routine. to this
On the other hand, when the H determination point is not found (step SP2)
1 and “NO”), and the P reference value is greater than the L reference value.
When it is low ("NO" in step SP30), the shape analysis
The portion 13a is configured such that the position (coordinate value) XL of the L determination point is an edge portion.
It is determined (recognized) that the position is 52a (step SP
29), this position determination routine ends. . like this
Is determined, the edge portion 52a of the welded portion 50 is
The error is extremely small because it is a right-angled end face without
No problem. On the other hand, when the H judgment point is found
("YES" in step SP21) uses the M reference value.
Between the P judgment point (or L judgment point) and the first measurement point
Search for the M judgment point from among the measurement points included in
SP22). Here, the M determination point is shown in FIGS.
As shown, the first measurement point from the P determination point (or L determination point)
In the process of searching for
Measurement point, as shown in these figures, M reference value
At the first intersection with the measurement point-light reception characteristic curve
A measurement point (when there is no measurement point at the first intersection)
Is the closest measurement point). When no M determination point is found (step S
("NO" at P23) and the P reference value is lower than the L reference value.
Is higher ("YES" in step SP31),
The shape analysis unit 13a determines that the position (coordinate value) XP of the P determination point is
Is determined (recognized) as being at the position of the
SP26). Then, the position determination routine ends.
You. On the other hand, when the M judgment point is not found (step
("NO" in step SP31) and the P reference value is L
When it is lower than the reference value ("NO" in step SP30)
Is the position (coordinate value) of the L determination point X
It is determined (recognized) that L is the position of the edge portion 52a.
(Step SP29). Then, this position determination routine
To end. Even if the determination is made in this manner, the welding portion 50
The edge portion 52a is a right-angled end face without the R portion.
Therefore, the error is extremely small and there is no problem. On the other hand, when the M judgment point is found (step
In step SP23, “YES” indicates that the P reference value is
It is determined whether the value is higher than the reference value (= 160) (step
SP24). Here, the P reference value is the L reference value (= 1).
60) is higher than the storage unit 13b.
The position (coordinate value) XP of the P determination point and the position (coordinate value) of the H determination point
(Standard value) XH is read, and the positions of the P judgment point and the H judgment point are read.
Is the misalignment 0.5 mm or more (this value is arbitrary)?
It is determined whether or not it is (step SP25). At this time,
If it is determined that the difference is 0.5 mm or more, the edge portion
The steep shape of 52a was not reflected in the amount of received light.
Therefore, the shape analysis unit 13a determines that the position XM of the M determination point is
Recognizing that it is still the surface of the joint piece 52,
The position (coordinate value) XP of the judgment point is the position of the edge portion 52a.
It is determined (recognized) that there is (step SP26),
The position determination routine ends. In contrast, the position difference
If it is determined that it is 0.5 mm or less, the edge portion 52a
The steep shape of the light was faithfully reflected in the received light amount?
Take the middle of the three determination points,
Indicates that the position (coordinate value) XM of the M determination point is the edge portion 52a.
The position is determined (recognized) (step SP27),
This position determination routine ends. On the other hand, in step SP24, the P reference
When the value is determined to be lower than the L reference value, the storage unit
13b, the position (coordinate value) XL of the L judgment point and the H judgment point
The position (coordinate value) XH is read, and the L judgment point and the H judgment
Position difference from point is 0.5mm or more (this value is arbitrary)
Is determined (step SP28). this
When it is determined that the position difference is 0.5 mm or more,
The steep shape of the edge 52a is not reflected on the amount of received light
Therefore, the shape analysis unit 13a determines the position of the M determination point.
XM is still recognized as the surface of the joint piece 52.
And the position (coordinate value) XL of the L determination point is the edge portion 52a.
Is determined (recognized) (step SP2).
9). Then, the position determination routine ends. this
Is determined to be less than 0.5 mm.
In this case, the steep shape of the edge portion 52a faithfully reflects the amount of received light.
Since it was done, take the middle of the three judgment points,
The shape analysis unit 13a determines that the position (coordinate value) XM of the M determination point is
It is determined (recognized) that the position is the edge 52a (step
SP27). Then, the position determination routine ends.
I do. {Correction of teaching data} The above-described position determination routine of the edge portion 52a ends.
Then, as shown in FIG.
Of the edge portion 52a '(weld reference position)
The position of the edge 52a analyzed by the object 50 (the expected welding position
Δ) is calculated, and the upper and lower sensing positions S are calculated.
The larger one of the deviation amounts δ at P1 and SP2 is selected,
The content of the teaching data was corrected according to the deviation amount δ and corrected.
The data is used as the official coordinate data of the welding scheduled part. Soshi
And select the welding conditions corresponding to this data and
Transmit to the robot controller 12. On the other hand, the error
If an error occurs, the error number is
2 is sent. Robot controller 12 has an error
When the number is transmitted, the number is displayed on the display device 14.
And jump to the instruction number of the error number.
Execute the instruction of That is, the operation of the robot body 11
To stop. On the other hand, if the error number is not sent
In the case, the corrected teaching data and the selected welding conditions
Accordingly, the welding is performed by moving the welding torch 21. According to the above arrangement, the vicinity of the edge is searched.
Does not find the P judgment point even after repeating the search for
Sometimes, the increment is added many times to the value of the P reference value.
Finally, the received light level becomes higher than the L reference value.
obtain. In such a case, the P reference value serves as the L reference value.
On behalf of Therefore, laser light from inside the gap
The return is more than expected, and the
When the minimum value is higher than usual and the L reference value cannot function
However, the processing for determining the position of the edge portion can be performed. The embodiment of the present invention will be described in detail with reference to the drawings.
However, the specific configuration is limited to this embodiment.
Instead, design changes that do not depart from the gist of the present invention.
Even if there are further modifications, the invention is included. For example, the edge part
Is limited to those shown in FIGS. 8 to 10.
Not done. Also, the sensor controller uses software
The configuration may be a hardware configuration. Ma
In the above embodiment, the sensor controller and the robot
Described the case where the controller and the controller are separate from each other
However, for example, if the robot controller is a sensor controller
You may make it also have the function of L. As described above, according to the present invention,
According to the search repeatedly to find the area around the edge
However, if the P judgment point is not found, the value of the P reference value
Since the increment is added many times, finally the L reference value
The received light level may be higher than the above. In such a case
, The P reference value substitutes for the role of the L reference value. Accordingly
Return of laser light from inside the gap
The minimum value of the received light amount measured at that time is higher than normal
The position of the edge even if the L reference value cannot function
Can be reliably performed.

【図面の簡単な説明】 【図1】この発明の一実施例である溶接ロボットのシス
テム全体の構成を示す概略図である。 【図2】同システムに適用されるセンサコントローラの
電気的構成を示すブロック図である。 【図3】同実施例に係る構造体である被溶接物の一例を
示す部分斜視図である。 【図4】同実施例に係る教示物と被溶接物とのエッジ部
の位置のずれを説明するための平面図である。 【図5】同センサコントローラを構成する記憶部に格納
された計測点毎の受光量を、説明の便宜のために、グラ
フで示した計測点−受光量特性曲線図である。 【図6】同実施例の動作の説明に供される計測点−受光
量特性曲線図である。 【図7】同実施例の動作の説明に供される計測点−受光
量特性曲線図である。 【図8】同センサコントローラを構成する形状解析部
が、同じくセンサコントローラを構成する制御部の指令
に従って行う被溶接物のエッジ部の位置判定処理手順を
示すためのフローチャートである。 【図9】図8に続いて、同被溶接物のエッジ部の位置判
定処理手順を示すためのフローチャートである。 【図10】図9に続いて、同被溶接物のエッジ部の位置
判定処理手順を示すためのフローチャートである。 【図11】従来の溶接ロボットの概略構成を示す平面図
である。 【図12】従来の溶接ロボットに係る教示物と被溶接物
とのエッジ部の位置のずれを説明するための平面図であ
る。 【図13】従来技術の問題点を説明するための計測点−
受光量特性曲線図である。 【図14】従来技術の問題点を説明するための計測点−
受光量特性曲線図である。 【図15】従来技術の問題点を説明するための計測点−
受光量特性曲線図である。 【符号の説明】 11 ロボット本体 12 ロボットコントローラ(ロボット制御手段) 13 センサコントローラ 13a 形状解析部 13b 記憶部(受光データ記憶手段、基準値記憶
手段) 13c ずれ量算出部 13d 補正部(補正手段) 13g 制御部 15 教示ボックス 17 動腕部 18 可動アーム 21 溶接トーチ 22 レーザセンサ(光学センサ) 50 被溶接物 52a エッジ部
BRIEF DESCRIPTION OF THE DRAWINGS 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. FIG. 2 is a block diagram showing an electrical configuration of a sensor controller applied to the system. FIG. 3 is a partial perspective view showing an example of an object to be welded, which is a structure according to the embodiment. FIG. 4 is a plan view for explaining a displacement of an edge position between the teaching object and the workpiece according to the embodiment. FIG. 5 is a measurement point-light reception amount characteristic curve graph showing the light reception amount for each measurement point stored in a storage unit constituting the sensor controller, for the sake of convenience of description. FIG. 6 is a measurement point-received light amount characteristic curve diagram for explaining the operation of the embodiment. FIG. 7 is a measurement point-received light amount characteristic curve diagram for explaining the operation of the embodiment. FIG. 8 is a flowchart showing a procedure of a position determination process of an edge portion of an object to be welded performed by a shape analyzer constituting the sensor controller in accordance with a command from a controller constituting the sensor controller. FIG. 9 is a flowchart, following FIG. 8, for illustrating a procedure for determining the position of an edge of the workpiece. FIG. 10 is a flowchart, following FIG. 9, for illustrating a procedure for determining the position of an edge of the workpiece. FIG. 11 is a plan view showing a schematic configuration of a conventional welding robot. FIG. 12 is a plan view for explaining displacement of the position of an edge portion between a teaching object and a workpiece according to a conventional welding robot. FIG. 13 is a measurement point for explaining a problem of the related art.
It is a received-light amount characteristic curve diagram. FIG. 14 is a measurement point for explaining a problem of the related art;
It is a received-light amount characteristic curve diagram. FIG. 15 is a measurement point for explaining a problem of the related art;
It is a received-light amount characteristic curve diagram. [Description of Signs] 11 Robot main body 12 Robot controller (robot control means) 13 Sensor controller 13a Shape analysis unit 13b Storage unit (light reception data storage unit, reference value storage unit) 13c Shift amount calculation unit 13d Correction unit (correction unit) 13g Controller 15 Teaching box 17 Moving arm 18 Movable arm 21 Welding torch 22 Laser sensor (optical sensor) 50 Workpiece 52a Edge

Claims (1)

(57)【特許請求の範囲】 【請求項1】 動腕部の先端に溶接トーチと溶接予定部
位の表面位置をスポット光で走査して測定する光学セン
サとを備えたロボット本体と、このロボット本体の動腕
部の動作姿勢を制御するロボット制御手段と、前記光学
センサがセンシング位置に位置決めされた状態で前記ス
ポット光で溶接予定部位の溶接予定線と直交する方向に
走査させるスキャニング制御手段と、前記光学センサの
受光データに基づいて予め教示されたデータを補正する
補正手段とを備え、前記ロボット制御手段がこの補正手
段の出力に応じて前記ロボット本体を制御する溶接ロボ
ットに適用される被溶接物のエッジ部検出方法であっ
て、 前記溶接予定線と直交する走査線上に多数設定された計
測点にスポット光が到達する度にスポット光の反射によ
る戻りを受光してその受光量を測定し、記憶手段に前記
計測点毎に区分して一時記憶する受光データ記憶手段
と、 比較的レベルの低い所定の受光量と等値に設定されたL
基準値と、比較的レベルの高い所定の受光量と等値に設
定されたH基準値と、前記L基準値及びH基準値の間に
入る所定の受光量と等値に設定されたM基準値と、前記
溶接予定部位のエッジ部のあたりを探る処理に用いら
れ、当該処理を繰り返す度に飛び飛びに増加するP基準
値の初期値であって、前記L基準値よりも低く設定され
た初期値と、同じくP基準値の前記処理を繰り返す度毎
に増加する増加分とをそれぞれ記憶する基準値記憶手段
とを備え、 前記P基準値を用いて、計測点毎に前記受光量を探索し
て、前記溶接予定部位のエッジ部のあたりとなるP判定
点を見つけ、P判定点が見つからないときは、P基準値
の値に前記増加分を加えて、前記受光量の探索を繰り返
すP判定点探索ステップと、 前記H基準値を用いて、計測点毎に前記受光量を探索し
てH基準値に遭遇するH判定点を見つけるH判定点探索
ステップと、 前記M基準値を用いて、計測点毎に前記受光量を探索し
てM基準値に遭遇するM判定点を見つけるM判定点探索
ステップと、 P判定点が見つかったときのP基準値と前記L基準値と
を比較する基準値比較ステップと、 (イ)前記基準値比較ステップでの比較の結果、L基準
値がP基準値よりも高位であるときは、 L基準値を用いて、計測点毎に前記受光量を探索してL
基準値に遭遇するL判定点を見つけ、 L判定点とH判定点との位置差が予め設定された設定値
以上のときは、L判定点の位置が前記溶接予定部位のエ
ッジ部の位置であると判定する一方、L判定点とH判定
点との位置差が予め設定された設定値以上でないとき
は、M判定点の位置がエッジ位置と判定する第1のエッ
ジ位置判定ステップと、 (ロ)前記基準値比較ステップでの比較の結果、P基準
値がL基準値よりも高位であるときは、 P判定点とH判定点との位置差が予め設定された設定値
以上のときは、P判定点の位置が前記溶接予定部位のエ
ッジ部の位置であると判定する一方、P判定点とH判定
点との位置差が予め設定された設定値以上でないとき
は、M判定点の位置がエッジ位置と判定する第2のエッ
ジ位置判定ステップとを有してなることを特徴とする溶
接ロボットに適用される被溶接物のエッジ部検出方法。
(1) A robot body provided with a welding torch and an optical sensor for scanning and measuring a surface position of a portion to be welded with a spot light at a tip of a moving arm, and the robot. Robot control means for controlling the operating posture of the moving arm portion of the main body, and scanning control means for scanning the spot light in a direction orthogonal to the scheduled welding line of the scheduled welding site with the optical sensor positioned at the sensing position; Correction means for correcting the data taught in advance based on the light reception data of the optical sensor, wherein the robot control means controls the robot body in accordance with the output of the correction means. A method for detecting an edge portion of a workpiece, comprising: A light receiving data storage means for receiving the return due to the radiation and measuring the received light amount, and temporarily storing the light receiving data separately for each of the measurement points in the storage means; L
A reference value, an H reference value set equal to a predetermined relatively high level of received light amount, and an M reference set equal to the predetermined amount of light received between the L reference value and the H reference value. Value and an initial value of a P reference value which is used in a process of searching for an area around an edge portion of the scheduled welding portion, and increases discretely each time the process is repeated, and is an initial value set lower than the L reference value. A reference value storage means for storing a value and an increase amount of the P reference value which is increased each time the process is repeated. The light receiving amount is searched for each measurement point using the P reference value. Then, a P judgment point near the edge of the scheduled welding portion is found, and if no P judgment point is found, the increase is added to the value of the P reference value to repeat the search for the received light amount. Using a point search step and the H reference value for each measurement point An H determination point searching step of searching the light reception amount to find an H determination point that meets the H reference value; and searching for the light reception amount for each measurement point using the M reference value to encounter the M reference value. An M determination point search step for finding an M determination point; a reference value comparison step for comparing the P reference value when the P determination point is found with the L reference value; and (a) a comparison in the reference value comparison step. As a result, when the L reference value is higher than the P reference value, the light reception amount is searched for each measurement point using the L reference value, and L
Find the L-judgment point where the reference value is encountered, and when the position difference between the L-judgment point and the H-judgment point is equal to or greater than a preset value, the position of the L-judgment point is the position of the edge of the part to be welded. On the other hand, if the position difference between the L determination point and the H determination point is not greater than or equal to a preset value, a first edge position determination step of determining that the position of the M determination point is an edge position; B) As a result of the comparison in the reference value comparison step, when the P reference value is higher than the L reference value, when the positional difference between the P judgment point and the H judgment point is equal to or larger than a preset value, When it is determined that the position of the P determination point is the position of the edge of the scheduled welding portion, and the position difference between the P determination point and the H determination point is not equal to or greater than a preset value, the M determination point A second edge position determining step of determining that the position is an edge position. Edge detection method of the weldment to be applied to the welding robot, characterized by comprising.
JP24432994A 1994-10-07 1994-10-07 Edge detection method of workpiece to be applied to welding robot Expired - Lifetime JP3447121B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24432994A JP3447121B2 (en) 1994-10-07 1994-10-07 Edge detection method of workpiece to be applied to welding robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24432994A JP3447121B2 (en) 1994-10-07 1994-10-07 Edge detection method of workpiece to be applied to welding robot

Publications (2)

Publication Number Publication Date
JPH08108278A JPH08108278A (en) 1996-04-30
JP3447121B2 true JP3447121B2 (en) 2003-09-16

Family

ID=17117098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24432994A Expired - Lifetime JP3447121B2 (en) 1994-10-07 1994-10-07 Edge detection method of workpiece to be applied to welding robot

Country Status (1)

Country Link
JP (1) JP3447121B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108044444A (en) * 2018-01-15 2018-05-18 广东江川众业机器人股份有限公司 Pressuring template and plank edging autotracking unit

Also Published As

Publication number Publication date
JPH08108278A (en) 1996-04-30

Similar Documents

Publication Publication Date Title
EP1486283B1 (en) Method of controlling the welding of a three-dimensional construction by taking a two-dimensional image of the construction and adjusting in real time in the third dimension
US4907169A (en) Adaptive tracking vision and guidance system
CN102243498B (en) Programming method for a robot, programming apparatus for a robot, and robot control system
KR100311663B1 (en) Apparatus and method for tracking the appearance of an object using a spare shaft
US8103381B2 (en) Laser processing robot control system, control method and control program medium
JP4353219B2 (en) Laser processing apparatus and control method of laser processing apparatus
US7149602B2 (en) Correction data checking system for rebots
CN109927047A (en) The axial tracking system and method for arc welding robot straight line butt weld
US20070075055A1 (en) Laser welding system, laser welding method, and emitting device
US20210138646A1 (en) Controller for determining modification method of position or orientation of robot
US5799135A (en) Robot controlling method and apparatus using laser sensor
JPH09183087A (en) Working robot device
JP5636148B2 (en) Automatic welding machine position detection system
JP3447121B2 (en) Edge detection method of workpiece to be applied to welding robot
JP2007307612A (en) Automatic welding method and automatic welding equipment, and reference tool used for automatic welding
JP3448370B2 (en) Edge detection method of workpiece to be applied to welding robot
JP3550191B2 (en) Welding robot
JP3550192B2 (en) Welding robot
JP2009034685A (en) Automatic welding method and automatic welding apparatus
US20240123606A1 (en) Teaching point generation device that generates teaching points on basis of output of sensor, and teaching point generation method
JP2000167667A (en) Automatic welding method and equipment
JP2726658B2 (en) Processing line teaching method
JPH08215847A (en) Control method of welding robot
KR101925857B1 (en) Method for measuring 3-dimensional point coordinates indicated by laser beam for robot welding machine
JPH0976066A (en) Weld line position detecting method for welding robot

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080704

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20080704

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090704

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090704

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100704

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130704

Year of fee payment: 10

EXPY Cancellation because of completion of term