JP3901006B2 - Visual recognition device - Google Patents
Visual recognition device Download PDFInfo
- Publication number
- JP3901006B2 JP3901006B2 JP2002124069A JP2002124069A JP3901006B2 JP 3901006 B2 JP3901006 B2 JP 3901006B2 JP 2002124069 A JP2002124069 A JP 2002124069A JP 2002124069 A JP2002124069 A JP 2002124069A JP 3901006 B2 JP3901006 B2 JP 3901006B2
- Authority
- JP
- Japan
- Prior art keywords
- control
- visual recognition
- orientation
- movement
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000000007 visual effect Effects 0.000 title claims description 52
- 238000004891 communication Methods 0.000 claims description 10
- 238000000034 method Methods 0.000 description 13
- 238000013500 data storage Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 238000001514 detection method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 210000000707 wrist Anatomy 0.000 description 3
- 230000007257 malfunction Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Landscapes
- Manipulator (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、カメラにより撮影した画像データに基づいて位置姿勢の制御を行うための視覚認識装置に関する。
【0002】
【発明が解決しようとする課題】
この種の装置あるいは方法としては、いわゆるビジュアルサーボと呼ばれる技術がある。これは、ロボットなどによりワークを把持させる場合などで、ハンドに取り付けたカメラによりワークを撮影してハンドの位置姿勢を制御するようにしたものである。
【0003】
この場合、位置姿勢の制御においては、あらかじめ参照画像を登録しておき、その参照画像と同じようにワークが見える位置姿勢となるように制御することで、迅速且つ正確にハンドの位置姿勢制御を行うことができる。参照画像は、ロボットのハンドを位置姿勢制御したい場所に配置してワークを把持するときの状態とし、この状態をハンドに取り付けたカメラで撮影して得たものである。
【0004】
このようなビジュアルサーボの技術を採用することで、ロボットのハンドをカメラが捕らえる画像の分解能の範囲で正確に位置姿勢制御することができる。しかし、研究レベルにおいては、技術的な課題は生じていないように見えても、実用上の観点から見た場合に、次のような点で不具合が発生することが発明者らの考察により明らかになりつつある。
【0005】
その一つとして、対象物を認識することはできるが、その認識結果に基づいた移動や制御が不能となる場合の不具合である。ビジュアルサーボによる位置姿勢の制御では、その移動経路についてはなんら限定される要因がないので、どのような経路を通るかは予測することができない。
【0006】
したがって、作業環境によっては、例えば図7に示すように、ロボットの移動方向に障害物が存在している場合もあり、ここでは、ロボットに取り付けたカメラAがワークWと共に移動すると(図中Aaの位置からAbの位置へ移動)、障害物Sに衝突してしまう。このような場合に、ビジュアルサーボによる制御体系では、ワークWを認識できる限り、障害物Sを避ける手段がなく、カメラAやロボット本体も障害物Sに衝突する恐れがある。
【0007】
このような技術的課題は、ビジュアルサーボによる対象物への追従と制御がロボットに対しては可能な状態であるにもかかわらず、その作業環境に起因して発生するものであるから、外的要因による不具合とみなすことができる。
【0008】
一方、ロボットのアームに取り付けているカメラなどは、対象物に追従する際に、あらゆる方向や姿勢に対応して移動できることが前提であるが、実際にはカメラに接続されるケーブルがアームの回転に制約を与えている場合があり、このような条件に当てはまる場合にはケーブルが断線してしまう恐れがある。このような技術的課題は、上述同様に外的要因による不具合に近いが、ロボット本体側の制約条件でもあるので、内的要因も含まれたものである。
【0009】
また、多関節のアームを有するロボットには、例えば、2つの回転軸が一直線となる状態があり、このような状態となるような位置姿勢の制御状態になると、アームの位置姿勢を制御するための制御データの解が無限に存在する不定といういわゆる特異点となってしまい、この結果、ロボット本体の制御が継続できなくなる恐れがある。この技術的課題は、ロボット本体が本質的に有する課題であるから、内的要因によるものと考えることができる。
【0010】
本発明は上記事情に鑑みてなされたものであり、その目的は、制御対象装置の位置姿勢制御について、外的要因および内的要因に起因して位置姿勢を制御することに支障を来たす場合に対応してこれらの要因に関わらず確実に位置姿勢制御を行うことができるようにした視覚認識装置を提供することにある。
【0011】
【課題を解決するための手段】
請求項1の発明によれば、カメラにより撮影した対象物の画像があらかじめ登録された参照画像と同じ状態となるように、制御手段により、制御対象装置の位置姿勢を制御するものであって、この過程において、記憶手段に記憶された制御対象装置の位置姿勢を制御することに支障を来たす位置姿勢に対応して設定された移動禁止領域の情報に基づいて、位置姿勢制御に基づく移動先が記憶手段に記憶設定された移動禁止領域に該当する場合には、これを回避して移動禁止領域の外側に位置姿勢制御するので、制御対象装置の移動に際して支障となる障害物や装置固有の制約条件などに起因した不都合が生じないようにして、確実に対象物の目標位置まで移動制御することができるようになる。
【0012】
請求項2の発明によれば、上記発明において、移動禁止領域を、制御対象装置の移動範囲内に存在する障害物の位置に対応した領域として設定可能な構成としているので、制御対象装置の作業環境に対応して移動する可能性のある領域で且つ障害物などが存在している場合にこれを移動禁止領域として設定しておくことで作業環境に適応した柔軟な位置姿勢制御を行うことができるようになる。
【0013】
請求項3の発明によれば、上記各発明において、移動禁止領域を、制御対象装置の移動に伴う制御不能条件に対応した領域として設定可能な構成としたので、例えば制御対象装置が持つ構成上の特徴から位置姿勢制御に際して移動が困難となる場合に、その条件を移動禁止領域として設定しておけば、そのような状態に移行する前にこれを回避して位置姿勢の制御を行うことができるので、途中で制御対象装置が制御不能になるなどの不具合を未然に防止して確実に位置姿勢制御を行うことができるようになる。
【0014】
請求項4の発明によれば、上記請求項3の発明において、制御対象装置が多関節ロボットとして設定されている場合に、移動禁止領域を、制御不能条件として多関節ロボットのアームの特異点として設定可能な構成としたので、ロボットの構造上に起因して姿勢制御上で発生する特異点を回避した制御を行うことができるようになり、ロボット固有の特異点に対する処置を別途に講じることなく、簡単且つ確実に位置姿勢制御を行うことができるようになる。
【0015】
請求項5の発明によれば、上記請求項3または4の発明において、制御対象装置が回転可能なアームを有するロボットとして設定されている場合に、移動禁止領域を、制御不能条件としてロボットのアームの回転量の制限を設定可能な構成としたので、例えば、アームにケーブルなどが付設されている場合など、回転量が無制限になると断線などの恐れがある場合でも、これを未然に防止して確実に位置姿勢制御を行うことができるようになる。
【0016】
請求項6の発明によれば、上記各発明において、記憶手段に移動禁止領域をあらかじめ記憶設定した情報として登録しているので、制御手段による位置姿勢制御では、常に記憶手段に記憶設定されている移動禁止領域の情報に基づいて確実に行うことができるようになる。また、このように、あらかじめ記憶設定した情報として登録しておくので、例えば、作業環境に対応してあらかじめ移動禁止領域の情報を共通の情報として作成しておいて、これをその作業環境に導入する制御対象装置毎に適用することで、迅速且つ確実に移動禁止領域の設定を行うことができると共に、確実に位置姿勢の制御を行うことができるようになる。
【0017】
請求項7の発明によれば、上記各発明において、制御対象装置の位置姿勢を制御することに支障を来たす位置姿勢を検出するセンサを設け、制御手段を、センサの検出結果に基づいて移動禁止領域を認識してこれを記憶手段に記憶設定させる構成としたので、あらかじめ移動禁止領域として情報が記憶設定されていない場合でも、作業環境で実際に位置姿勢の制御を行っている状態で、センサの検出結果に基づいて移動禁止領域を作成して位置姿勢制御を行うことができるようになり、作業環境の変化や状況の変化に迅速に対応して衝突などの事故や制御不能状態を回避して確実に位置姿勢制御を行うことができるようになる。
【0018】
請求項8の発明によれば、上記各発明において、制御対象装置の位置姿勢を制御することに支障を来たす位置姿勢を示す情報を受信可能な通信手段を設け、制御手段を、通信手段により受信した情報に基づいて移動禁止領域の情報を認識してこれを記憶手段に記憶設定させるように構成したので、通信手段を介して外部から受ける移動禁止領域の情報に基づいて、位置姿勢制御における移動禁止領域を確実且つ迅速に取り込むことができ、これによって、確実に位置姿勢制御を行うことができるようになる。
【0019】
請求項9の発明によれば、上記各発明において、移動禁止領域を、制御対象装置の位置姿勢の移動に対応して生成する軌道について制限を与える軌道制限データとして記憶可能に構成したので、制御対象装置の制御を行う場合に、生成された軌道データが軌道制限データに該当するか否かを判断することで簡単に判定することができ、該当する場合には、軌道制限データを回避するように設定することで簡単且つ迅速に制御を行なうことができるようになる。
【0020】
請求項10の発明によれば、上記請求項9の発明において、制御手段を、軌道制限データに基づいて制御対象装置の軌道を制限する場合に、各部を制御するためのゲインを軌道制限データに応じて変更設定することで軌道を制御するように構成したので、移動禁止領域に進入する場合に対応して特殊な動作を行なわせることなく、通常の制御と同様にゲイン調整の制御を行うだけで回避する動作を行なわせることができるようになるので、簡単且つ安価に実施することができるようになる。
【0021】
【発明の実施の形態】
以下、本発明を組立用の多関節ロボットにおけるビジュアルサーボに適用した場合の一実施形態について図1ないし図6を参照しながら説明する。図1は組立用ロボットのシステムを概略的に示している。このシステムは、制御対象装置としてのロボット本体1と、このロボット本体1を制御する制御装置2とを備えて構成され、制御装置2は、ロボットコントローラ3、視覚認識装置4およびCCDカメラ5とから構成されている。
【0022】
ロボット本体1は、組立用の6軸の小型垂直多関節型ロボットとして構成されている。このロボット本体1において、ベース部6上にショルダ部7が垂直軸を中心として回動(旋回)可能に設けられ、そのショルダ部7の左右両端部に上方に延出される一対の下アーム部8が水平軸を中心に回動可能に連結されている。この下アーム部8の上端部に両側から挟まれるようにして、中間アーム部9の前端部が水平軸を中心に回動可能に連結されている。
【0023】
また、中間アーム部9の前端部には、前方に延びる上アーム部10の後端部が同軸回転可能に連結されており、その上アーム部10の前端側は、左右に二股をなすように延びており、そらの間に位置してリスト部11が水平軸を中心に回動可能に連結されている。さらに、リスト部11の前端部には、円形のフランジ部12が同軸回動可能に連結され、そのフランジ部12は、対象物としてワークWを把持するためのハンドが取り付け可能な状態に設けられている。なお、図示はしないが、このロボット本体1の内部には、各軸を駆動するためのサーボモータが組み込まれている。
【0024】
前述したCCDカメラ5は、ワークWを撮影するもので、上アーム部10に取り付けられている。CCDカメラ5の画像信号を伝達する信号線はロボット本体1を制御するためのケーブル13と一体にして配設されている。ロボットコントローラ3は、CPUを主体として制御用プログラムを記憶するROM、RAMを備えると共に、制御指令を駆動信号としてロボット本体1に出力するサーボ制御部などから構成されている。
【0025】
視覚認識装置4は、ビジュアルサーボを行なうためのCPUを主体として、位置姿勢制御用のプログラムを記憶したROM、RAMを備えると共に、CCDカメラ5からの画像信号を入力するインターフェース回路、画像処理部、画像メモリなどの各種回路を備えた構成である。
【0026】
そして、制御装置2は、後述するように、視覚認識装置4により、CCDカメラ5の画像信号を取り込み、あらかじめ登録されている参照画像と見え方が一致するような位置姿勢となる状態の制御信号をロボットコントローラ3に出力すると、ロボットコントローラ3は、これに基づいてロボット本体1の移動すべき位置姿勢に駆動制御する。
【0027】
なお、上記の制御装置2の構成として、上記構成に加えて、外部からの信号を受信可能な通信手段を設けることが有効である。これは、後述するように移動禁止領域としての軌道の制限をするための制限データを外部から受信可能とするように設けるものである。
【0028】
図2は制御装置2の機能ブロック構成を示すもので、視覚認識装置4の機能は視覚認識部14に相当しており、ロボットコントローラ3の機能構成は、モデルを登録するためのモデルデータ記憶部15と、認識した結果に基づいてロボットの軌道を生成する軌道生成部16と、本発明でいうところの移動禁止領域を設定記憶させるための記憶手段である制限データ記憶部17と、生成された軌道にもとづきロボットの動作を制御する軌道制御部18とから構成されている。
【0029】
なお、上記の制御装置2の構成は、具体的にはマイコンを主体としてROM、RAMなどから構成されるもので、後述する制御プログラムにしたがって動作するように構成されている。
【0030】
次に本実施形態の作用について図3ないし6も参照して説明する。
ビジュアルサーボによる位置姿勢の制御においては、一般に次のような方法で参照画像の登録が行なわれる。これは、制御に先立って、制御対象装置であるロボット本体1によるワークWに対する作業を行なうのに目標となる位置および姿勢をとった状態でカメラ5によりワークWを撮影してこれを参照画像として登録する。
【0031】
これにより、ロボット本体1が任意の位置姿勢にある状態で、カメラ5によりワークWを撮影し、制御装置2により、その画像情報に基づいてビジュアルサーボすなわち、カメラ5により撮影したワークWの画像が参照画像と一致する状態となるように制御を行うのである。
【0032】
次に、本発明でいうところの軌道制限データについて設定する。これは、ロボット本体1やカメラ5が移動するのに伴って、作業環境で障害物に衝突したり、あるいはロボット本体1の制御が不能となるような条件を回避できるようにした制限データを制限データ記憶部17に記憶させる作業である。
【0033】
例えば、図4に示すような場合、すなわちワークWが移動する状態でそのワークWとの相対的な位置が所定の目標位置になるように位置姿勢の制御を行う場合には次のように設定する。図では、カメラ5が移動するワークWに追随して移動する場合に、障害物Sに衝突する可能性があるので、これを避けるようにした例が示されている。
【0034】
ここでは、ワークWがWaの位置からラインに沿ってWb,Wcの位置へと順次移動する場合を想定しており、カメラ5は、目標位置に近づいた状態で5aの位置から5b、5cの位置への移動する。このとき、5bの位置では、カメラ5は、障害物Sに衝突しないように上方に回避させ、一時的に離れた位置から追随するように制御する。この制御を行うために、具体的には、ロボット本体1の位置姿勢の制御データとして生成した軌道が障害物Sに衝突する軌道であるか否かを判断できるように、軌道制限データとして記憶部17に記憶される。
【0035】
また、図5には、ロボット本体1がアームの位置姿勢を制御する際に、特異点となる条件を示している。例えば、同図(a)に示す状態から同図(b)に示すように、上アーム部10とリスト部11とが一直線になるような条件に移行する場合には、フランジ部12の制御データとして、その回転座標データは無限に存在することになり(各アーム間に設けた軸は、同図(c)に示すように円筒状の回転体の回転方向に回転軸が形成されているものとする)、解は不定となる特異点である。この場合には、ビジュアルサーボによる制御がそこで中断し、以後の制御が不能となる。
【0036】
このような場合に対応して、移動禁止領域のデータとして、この状態になる場合の条件を軌道制限データとして制限データ記憶部17に記憶しておく。これにより、実際の制御時には、特異点に近づくと、制御装置2により特異点を避けるようにアームの移動量を設定する制御データとしてのゲインを変え、例えば一時的にゲインをゼロとなるように設定する。
【0037】
また、図6に示す場合では、(a)に示すようなワークWが回転する場合に、カメラ5もこれに追随して回転するように制御されることになる。ところが、カメラ5が同図(b)のような位置姿勢をとるということは、ロボット本体1の上アーム部10がこれに伴って回動することになる。ところが、実際には、カメラ5には、同図(c)に示すようにケーブルLが配設されているので、そのケーブルLが断線しないように回転量を制限する必要がある。
【0038】
このような場合に対応して、上アーム部10の回転量に制限が付されることになり、これを制限データとして制限データ記憶部17に記憶設定しておくのである。例えば、所定以上の回転量に達すると回転角のゲインをゼロに設定することでそれ以上の回転を停止させることができる。
【0039】
上記した制限データについては、ビジュアルサーボを実施することに先立ってあらかじめ記憶部17に記憶しておくことで対応することもできるが、これに加えて、例えば距離センサなどの障害物Sを検知することができるセンサを設けてておき、その検出信号を入力して制御装置2により制限データを作成することもできる。
【0040】
さらには、制御装置2に通信装置を設ける構成とし、このような移動制限データを外部から通信により取り込んで記憶部17に記憶設定することもできる。これにより、ロボット本体1の作業環境に合わせてあらかじめ作成されている制限データを受信することで簡単且つ迅速に制限データを登録することができるようになる。
【0041】
上述のように、制限データが登録されている領域に移動する場合に、これを回避するように位置姿勢の制御が行われるのであるが、このとき、回避した場所でのビジュアルサーボによる制御が確実に行えるようにするために、その制限データ領域を回避する場合に利用する参照画像を切り替え用のモデルとして別途登録しておくことができる。これにより、回避軌道を移動する場合においても確実にワークWを認識してビジュアルサーボによる制御を継続することができる。
【0042】
次に、登録されたデータリストに基づいてビジュアルサーボによる位置姿勢の制御を行う場合について図3のフローチャートを参照して説明する。制御装置2は、ロボット本体1を検出動作を開始する位置に移動させ(ステップS1)、ワークWの画像をカメラ5により撮影して取得する(ステップS2)。撮影した画像中にワークWが存在しているか否かを判断し(ステップS3)、「NO」の場合にはステップS2,S3を繰り返し実行する。
【0043】
そして、ステップS3で「YES」の場合には、制御装置2は、ビジュアルサーボによる位置姿勢の制御を開始して、検査位置を移動して目標位置まで移動するようにロボット本体1を駆動制御する(ステップS4)。この後、制御装置2は、ロボット本体1が目標位置に達したか否かをカメラ5による撮影画像に基づいて適宜のタイミングで判断し(ステップS5)、目標位置に達していない場合には現在位置と距離を計算すると共に、センサの検出信号を入力する(ステップS6)。
【0044】
次に、制御装置2は、ロボット本体1の現在位置から目的位置に向かう軌道をビジュアルサーボによる制御方法に基づいて生成したときに、その生成された軌道が制限データに該当するか否かを判断する(ステップS7)。ここで、「YES」の場合つまり制限がある場合に該当するときには、ワークWの参照画像であるモデルの切り替えが必要か否かを判断し(ステップS8)、「YES」の場合にはモデル切り替えを行なって(ステップS9)、この後制限機能をオンさせる(ステップS10)。これにより、制御装置2は、制限機能つまり制限データ記憶部17に記憶されている制限データに基づいてビジュアルサーボの位置姿勢制御に基づいた軌道を修正して移動制御を行う。
【0045】
上述の場合、例えば、生成した軌道が制限データに該当する場合で、モデルの切り替えを必要とするのは、図4に示した障害物Sなどに衝突する恐れがあるような場合が該当し、これにより、軌道を障害物Sを迂回してワークWの移動に追随する制御を行うために、迂回した軌道上での参照画像をモデルとして登録している場合に切り替えて使用する。
【0046】
また、図5や図6で示したような、ロボット本体1の動作上の制限に該当して制限機能をオンさせる場合には、その状態を回避するようにロボット本体1の制御を行うので、カメラ5とワークWとの相対的な位置関係が変わるのではないので、通常は、モデルの切り替えを必要としない場合に相当する。
【0047】
そして、ロボット本体1の位置姿勢の制御において、制限機能をオンさせて回避動作を行なわせる場合には、その回避方向や回避位置などの情報をあらかじめ設定記憶させておくことで確実な回避措置をとることもできるし、あるいはその場合の判断処理プログラムをあらかじめ設定しておいて、ワークWを見失わないような方向を選んで移動させることもできる。
【0048】
その場合には、センサの検出出力も方向を判断する上での要素として取り込むことが有効な手段となる。また、見失わないように、そのような方向をテーブルとして記憶しておいて制御時にそのテーブルを参照して判断するようにしても良い。
【0049】
さらに、そのような回避をする場合の方向の設定の規準の1つとして、ロボット本体1が移動することに危険が伴う場合や、作業環境での作業者の存在がある場合などは、作業者から遠ざかる方向に向けるなどの条件を設けることも有用な方法である。
【0050】
このようにして、制御装置2による制限機能をオンさせた状態でのビジュアルサーボによる位置姿勢の制御を進め、ステップS4に戻って前述の処理を繰り返すようになる。そして、ステップS7で、制限がないと判断された場合には、制限機能をオフさせて(ステップS11)、通常のビジュアルサーボの位置姿勢制御に戻り、上記したステップS4以降の処理を繰り返し実行する。
【0051】
なお、上述のような位置姿勢の制御を実行するうちに、制御装置2が外部から通信装置を介して制限データを受信すると、これが図示しない制御プログラムによって制限データ記憶部17に取り込まれ、移動禁止領域のデータとして登録されるようになる。したがって、制御装置2は、制御動作中に、新たに登録した制限データに該当する軌道が生成されると、その軌道を修正して移動禁止領域を回避するように位置姿勢制御を行う。これによって、ロボット本体1の作業環境が変化したことに柔軟に対応して衝突などの事故を回避しながら位置姿勢の制御を行うことができるようになる。
【0052】
この後、カメラ5による撮影画像のワークWが参照画像のワークWと一致するようになると、制御装置2は、ロボット本体1の位置姿勢が目標位置に到達したものと判断し、ステップS5で「YES」と判断してビジュアルサーボによる位置姿勢の制御を終了する。
【0053】
このような本実施形態によれば、次のような効果を得ることができる。すなわち、ビジュアルサーボによる位置姿勢の制御を行う場合に、作業環境やロボット本体1の制御上の制約を制限データとして制限データ記憶部17に記憶させ、制御装置2により、ロボット本体1の軌道生成時に制限データに該当する場合には、これを回避して位置姿勢の制御を行うようにしたので、衝突や制御不能などの不具合が発生する恐れがあっても、これを避けて確実にワークWに対して参照画像の示す目標位置まで位置姿勢の制御を行うことができるようになる。
【0054】
上述の場合に、ロボット本体1が移動する作業環境の障害物などを移動禁止領域として設定することでこれらを避けながらワークWに追随して確実に位置姿勢を制御することができるようになる。また、制御不能条件として、ロボット本体1のアームの回転量の限界値を設定をしたり、特異点を設定してこれらを回避することができるようにしたので、ロボット本体1の構造上に起因して発生する不具合を回避して位置姿勢の制御を行うことができるようになる。
【0055】
そして、本実施形態によれば、移動禁止領域の設定をあらかじめ設定しておく方法や、センサにより検知してこれを自動的に設定する方法や、通信装置などを設けて外部から制限データとして受信してこれを設定するなどの方法も適用することができるので、作業環境や内部構造などのさまざまな要因やそれらの変化に柔軟に対応してビジュアルサーボによる位置姿勢の制御を確実且つ迅速に行うことができるようになる。
【0056】
本発明は、上記実施形態にのみ限定されるものではなく、次のように変形また拡張できる。
すなわち、上記実施形態においては、移動禁止領域として禁止すべき軌道を制限データとして記憶させるようにしたが、これに限らず、禁止領域そのものとして設定することはもちろん、禁止方向として設定することもできるし、さらには、ロボット本体1の位置姿勢を制御する上での制約条件をさまざまな形で設定することができる。
【0057】
また、移動禁止領域の設定には、実際に制御不能に陥る前にその判断を行なって確実に回避するように制御することができるようにするために、制御可能な範囲で危険領域にはいることが予想されるときにこれを推定してモデルを切り替えるか、禁止領域を避けるアプローチを指示するようにすれば良い。
【図面の簡単な説明】
【図1】本発明の一実施形態を示す全体の概略構成図
【図2】制御装置の機能ブロック構成図
【図3】位置姿勢制御のプログラムのフローチャート
【図4】障害物との衝突を回避するための説明図
【図5】ロボットのアーム駆動の特異点の説明図
【図6】ロボットのアームの回転量の制限の説明図
【図7】従来技術の不具合を説明する図
【符号の説明】
1はロボット本体、2は制御装置、3はロボットコントローラ、4は視覚認識装置、5はカメラ、14は視覚認識部、15はモデルデータ記憶部、16は軌道生成部、17は制限データ記憶部、18は軌道制御部である。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a visual recognition apparatus for controlling a position and orientation based on image data captured by a camera.
[0002]
[Problems to be solved by the invention]
As this type of apparatus or method, there is a so-called visual servo technique. In this case, for example, when a workpiece is gripped by a robot or the like, the position and orientation of the hand are controlled by photographing the workpiece with a camera attached to the hand.
[0003]
In this case, in the position and orientation control, a reference image is registered in advance, and the position and orientation of the hand can be quickly and accurately controlled by controlling the position and orientation so that the workpiece can be seen in the same manner as the reference image. It can be carried out. The reference image is obtained by placing the robot hand in a position where position and orientation control is desired and holding the workpiece, and photographing this state with a camera attached to the hand.
[0004]
By adopting such visual servo technology, the position and orientation of the robot hand can be accurately controlled within the resolution range of the image captured by the camera. However, even at the research level, even though it seems that no technical problem has occurred, it is clear from the inventors' consideration that the following problems occur when viewed from a practical viewpoint. It is becoming.
[0005]
As one of them, it is a problem when the object can be recognized but the movement or control based on the recognition result becomes impossible. In the position / orientation control by the visual servo, there is no limited factor for the movement route, so it is not possible to predict which route will be taken.
[0006]
Therefore, depending on the work environment, for example, as shown in FIG. 7, there may be an obstacle in the moving direction of the robot. Here, when the camera A attached to the robot moves with the workpiece W (Aa in the figure). From the position No. to the position Ab) and collide with the obstacle S. In such a case, in the control system using the visual servo, as long as the workpiece W can be recognized, there is no means for avoiding the obstacle S, and the camera A and the robot body may collide with the obstacle S.
[0007]
Such a technical problem occurs due to the work environment even though the robot is capable of following and controlling the object by visual servoing. It can be regarded as a malfunction due to a factor.
[0008]
On the other hand, the camera attached to the arm of the robot is supposed to be able to move in any direction and posture when following the target, but in reality the cable connected to the camera is rotated by the arm. If this condition is met, the cable may break. Such a technical problem is similar to a problem due to an external factor as described above, but is also a constraint condition on the robot body side, and therefore includes an internal factor.
[0009]
In addition, a robot having a multi-joint arm has a state in which, for example, two rotation axes are in a straight line. When the control state of the position and orientation is in such a state, the position and orientation of the arm are controlled. This is a so-called singular point that the solution of the control data is indefinite, and as a result, there is a possibility that control of the robot body cannot be continued. Since this technical problem is inherently a problem of the robot body, it can be considered to be caused by an internal factor.
[0010]
The present invention has been made in view of the above circumstances, and its purpose is to control the position and orientation of the control target apparatus when it interferes with controlling the position and orientation due to external factors and internal factors. Correspondingly, it is an object of the present invention to provide a visual recognition device capable of reliably performing position and orientation control regardless of these factors.
[0011]
[Means for Solving the Problems]
According to the invention of
[0012]
According to the invention of
[0013]
According to the invention of claim 3, in each of the above inventions, the movement prohibited area is configured to be set as an area corresponding to the uncontrollable condition accompanying the movement of the control target apparatus. If it is difficult to move during position and orientation control due to the characteristics of the above, if that condition is set as a movement prohibition area, this can be avoided and the position and orientation can be controlled before shifting to such a state. Therefore, the position and orientation control can be performed reliably by preventing problems such as the control target apparatus becoming uncontrollable on the way.
[0014]
According to the invention of
[0015]
According to the invention of
[0016]
According to the invention of
[0017]
According to the invention of
[0018]
According to the invention of
[0019]
According to the invention of
[0020]
According to the invention of
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment in which the present invention is applied to a visual servo in an articulated robot for assembly will be described with reference to FIGS. FIG. 1 schematically shows an assembly robot system. This system includes a
[0022]
The
[0023]
Further, the rear end portion of the
[0024]
The
[0025]
The
[0026]
Then, as will be described later, the
[0027]
In addition to the above configuration, it is effective to provide a communication unit capable of receiving an external signal as the configuration of the
[0028]
FIG. 2 shows a functional block configuration of the
[0029]
The configuration of the
[0030]
Next, the operation of this embodiment will be described with reference to FIGS.
In the position / orientation control by the visual servo, the reference image is generally registered by the following method. This is because, prior to the control, the work W is photographed by the
[0031]
Thus, the work W is photographed by the
[0032]
Next, the trajectory restriction data referred to in the present invention is set. This restricts the restriction data so that the
[0033]
For example, in the case shown in FIG. 4, that is, when the position and orientation are controlled so that the relative position with respect to the workpiece W becomes a predetermined target position while the workpiece W is moving, the following setting is made. To do. In the drawing, there is a possibility of collision with the obstacle S when the
[0034]
Here, it is assumed that the workpiece W sequentially moves from the position of Wa to the positions of Wb and Wc along the line, and the
[0035]
FIG. 5 shows conditions that become singular points when the
[0036]
Corresponding to such a case, as the data of the movement prohibition area, the condition in this state is stored in the restriction
[0037]
In the case shown in FIG. 6, when the workpiece W as shown in FIG. 6A rotates, the
[0038]
Corresponding to such a case, the amount of rotation of the
[0039]
The restriction data described above can be dealt with by storing in advance in the
[0040]
Further, the
[0041]
As described above, when moving to the area where the restriction data is registered, the position and orientation are controlled so as to avoid this, but at this time, the control by the visual servo is surely performed in the avoided place. Therefore, a reference image used when avoiding the restricted data area can be separately registered as a switching model. As a result, even when the avoidance track is moved, the workpiece W can be reliably recognized and the control by the visual servo can be continued.
[0042]
Next, the case of controlling the position and orientation by visual servo based on the registered data list will be described with reference to the flowchart of FIG. The
[0043]
If “YES” is determined in the step S3, the
[0044]
Next, when the trajectory from the current position of the
[0045]
In the above case, for example, when the generated trajectory corresponds to the restriction data, the model needs to be switched corresponds to the case where there is a possibility of colliding with the obstacle S shown in FIG. Thus, in order to control the trajectory to bypass the obstacle S and follow the movement of the work W, the reference image on the bypassed trajectory is switched and used as a model.
[0046]
In addition, when the restriction function is turned on corresponding to the restriction on the operation of the
[0047]
In the control of the position and orientation of the robot
[0048]
In that case, it is an effective means to capture the detection output of the sensor as an element in determining the direction. In order not to lose sight, such a direction may be stored as a table and determined by referring to the table at the time of control.
[0049]
Furthermore, as one of the criteria for setting the direction when such avoidance is performed, if there is a danger in the movement of the
[0050]
In this way, the position / orientation control by the visual servo in a state in which the restriction function by the
[0051]
When the
[0052]
Thereafter, when the workpiece W of the image captured by the
[0053]
According to this embodiment, the following effects can be obtained. That is, when controlling the position and orientation by visual servo, the restriction on the work environment and the control of the
[0054]
In the above-described case, by setting an obstacle or the like of the work environment in which the
[0055]
And according to this embodiment, the method of setting the movement prohibition area in advance, the method of detecting by a sensor and automatically setting it, the communication device etc. is provided and received as restriction data from the outside This method can be applied, and the position and orientation can be controlled quickly and reliably by visual servoing in response to various factors such as work environment and internal structure and their changes flexibly. Will be able to.
[0056]
The present invention is not limited to the above embodiment, and can be modified or expanded as follows.
That is, in the above-described embodiment, the trajectory to be prohibited as the movement prohibition area is stored as the restriction data. However, the present invention is not limited to this, and it can be set as the prohibition area itself and can also be set as the prohibition direction. Furthermore, the constraint conditions for controlling the position and orientation of the
[0057]
Also, in setting the movement prohibition area, the judgment is made before it actually becomes uncontrollable, so that it can be controlled so as to be surely avoided, so that it enters the danger area within the controllable range. When this is expected, this may be estimated and the model switched or an approach to avoid the prohibited area may be indicated.
[Brief description of the drawings]
FIG. 1 is an overall schematic configuration diagram showing an embodiment of the present invention.
FIG. 2 is a functional block configuration diagram of a control device.
FIG. 3 is a flowchart of a position / orientation control program;
FIG. 4 is an explanatory diagram for avoiding a collision with an obstacle.
FIG. 5 is an explanatory diagram of singular points of robot arm drive.
FIG. 6 is an explanatory diagram for limiting the amount of rotation of a robot arm.
FIG. 7 is a diagram for explaining a defect in the prior art
[Explanation of symbols]
1 is a robot body, 2 is a control device, 3 is a robot controller, 4 is a visual recognition device, 5 is a camera, 14 is a visual recognition unit, 15 is a model data storage unit, 16 is a trajectory generation unit, and 17 is a restriction data storage unit , 18 is a trajectory control unit.
Claims (10)
前記制御手段による位置姿勢制御に際して、前記制御対象装置の位置姿勢を制御することに支障を来たす当該制御対象装置の位置姿勢領域を移動禁止領域として設定記憶する記憶手段を設け、
前記制御手段は、前記カメラにより撮影した前記対象物の画像と前記参照画像とを比較して
前記制御対象装置の前記位置姿勢制御における移動先への軌道を算出し、算出された前記軌道が前記記憶手段に記憶設定された前記移動禁止領域を通る場合には、当該移動禁止領域を迂回する軌道を移動するように構成されていることを特徴とする視覚認識装置。The target object is photographed as a reference image in advance from a reference position by a camera attached to the control target device and registered, and the control is performed so that the image of the target object photographed by the camera is in the same state as the reference image. In a visual recognition device comprising a control means for controlling the position and orientation of the target device,
In the position / orientation control by the control unit, a storage unit is provided for setting and storing the position / orientation region of the control target device that hinders control of the position and orientation of the control target device as a movement prohibition region;
The control means compares the image of the object photographed by the camera with the reference image.
The trajectory to the movement destination in the position and orientation control of the control target apparatus is calculated, and when the calculated trajectory passes through the movement prohibition area set in the storage unit, the movement prohibition area is bypassed. A visual recognition device configured to move along a trajectory .
前記記憶手段には、前記制御対象装置の移動範囲内に存在する障害物の位置を含む領域が前記移動禁止領域として記憶されていることを特徴とする視覚認識装置。The visual recognition device according to claim 1,
Wherein the storage means, a visual recognition device, characterized in that a region including the position of the obstacle present within a movement range of the control target device is stored as the moving prohibited area.
前記記憶手段には、前記制御対象装置の構成上の特徴から位置姿勢制御に際して移動が困難となる制御不能条件に対応する位置姿勢を含む領域が前記移動禁止領域として記憶されていることを特徴とする視覚認識装置。The visual recognition device according to claim 1 or 2,
An area including a position and orientation corresponding to an uncontrollable condition in which movement is difficult during position and orientation control is stored as the movement prohibition region in the storage unit from the structural characteristics of the control target device. Visual recognition device.
前記制御対象装置は、アームの特異点を有する多関節ロボットであり、
前記記憶手段には、前記制御不能条件として前記多関節ロボットのアームの特異点の姿勢が前記移動禁止領域として設定されていることを特徴とする視覚認識装置。The visual recognition apparatus according to claim 3.
The control target device is a multi-joint robot having a singular point of the arm,
The visual recognition apparatus according to claim 1, wherein a posture of a singular point of the arm of the articulated robot is set as the movement prohibited region in the storage unit as the uncontrollable condition.
前記制御対象装置は、回転可能なアームを有するロボットであり、
前記記憶手段には、前記制御不能条件として前記ロボットのアームの回転量の制限の範囲が前記移動禁止領域として設定されていることを特徴とする視覚認識装置。The visual recognition device according to claim 3 or 4,
The control target device is a robot with a rotatable arm,
The visual recognition apparatus according to claim 1, wherein a range of limitation on the amount of rotation of the robot arm is set as the movement prohibition area in the storage unit as the uncontrollable condition.
前記記憶手段には、前記移動禁止領域は、あらかじめ前記記憶手段に記憶設定された情報として登録されたものであることを特徴とする視覚認識装置。The visual recognition device according to any one of claims 1 to 5,
The visual recognition apparatus according to claim 1, wherein the movement prohibition area is registered in the storage means as information stored and set in the storage means in advance.
前記制御対象装置に、位置姿勢の制御のための移動により衝突する障害物が存在する領域を認識するための距離を検出するセンサを設け、
前記制御手段は、前記制御対象装置の位置姿勢を制御するときに、前記センサが前記障害物の存在領域を検出した場合には検出された領域を前記移動禁止領域として認識してこれを記憶手段に記憶設定させることを特徴とする視覚認識装置。The visual recognition device according to any one of claims 1 to 6,
The control target device is provided with a sensor that detects a distance for recognizing an area where an obstacle that collides due to movement for position and orientation control exists ,
The control means recognizes the detected area as the movement prohibition area and stores the detected area when the sensor detects the obstacle existence area when controlling the position and orientation of the device to be controlled. A visual recognition device characterized by having a memory setting.
前記制御対象装置の位置姿勢を制御することに支障を来たす位置姿勢を示す情報として外部から送信される制限データを受信可能な通信手段を設け、
前記制御手段は、前記通信手段により受信した前記制限データの情報に基づいて前記移動禁止領域の情報として認識してこれを記憶手段に記憶設定させることを特徴とする視覚認識装置。The visual recognition device according to any one of claims 1 to 7,
Providing a communication means capable of receiving restriction data transmitted from the outside as information indicating a position and orientation that interferes with controlling the position and orientation of the control target device;
The visual recognition apparatus characterized in that the control means recognizes the information on the movement prohibited area based on the information on the restriction data received by the communication means, and stores the information in the storage means.
前記記憶手段には、前記制御対象装置の位置姿勢の移動に対応して生成する軌道について制限を与える軌道制限データが前記移動禁止領域として記憶されていることを特徴とする視覚認識装置。The visual recognition device according to any one of claims 1 to 8,
Wherein the storage means, a visual recognition device, characterized in that the path-constrained data providing restrictions on orbits generated corresponding to the movement of the position and orientation of the control target device is stored as the moving prohibited area.
前記制御手段は、前記記憶手段に前記移動禁止領域として記憶された前記軌道制限データに基づいて前記制御対象装置の軌道を制限する場合に、軌道制御が不能となる特異点に近接したときにはその特異点を避けるように各部を制御するためのゲインを変更設定することで軌道を制御することを特徴とする視覚認識装置。The visual recognition device according to claim 9, wherein
The control means, when restricting the trajectory of the control target device based on the trajectory restriction data stored as the movement prohibition area in the storage means, when approaching a singular point where trajectory control becomes impossible, visual recognition apparatus characterized by controlling the trajectory by change sets the gain for controlling the respective sections so as to avoid points.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002124069A JP3901006B2 (en) | 2002-04-25 | 2002-04-25 | Visual recognition device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002124069A JP3901006B2 (en) | 2002-04-25 | 2002-04-25 | Visual recognition device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003311674A JP2003311674A (en) | 2003-11-05 |
| JP3901006B2 true JP3901006B2 (en) | 2007-04-04 |
Family
ID=29539184
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002124069A Expired - Fee Related JP3901006B2 (en) | 2002-04-25 | 2002-04-25 | Visual recognition device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3901006B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5306313B2 (en) | 2010-12-20 | 2013-10-02 | 株式会社東芝 | Robot controller |
| JP6514156B2 (en) | 2016-08-17 | 2019-05-15 | ファナック株式会社 | Robot controller |
| JP7384602B2 (en) * | 2019-09-12 | 2023-11-21 | ファナック株式会社 | robot control device |
| CN112518980B (en) * | 2020-11-27 | 2022-07-08 | 湖南华好智能装备有限责任公司 | Assembling equipment for concrete prefabricated member |
-
2002
- 2002-04-25 JP JP2002124069A patent/JP3901006B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003311674A (en) | 2003-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4961860B2 (en) | Robot apparatus and control method of robot apparatus | |
| JP4544145B2 (en) | Robot interference avoidance method and robot | |
| US7386367B2 (en) | Workpiece conveying apparatus | |
| CN102015223B (en) | Manipulator and its control method | |
| EP2781315A1 (en) | Robot picking system, control device and method of manufacturing a workpiece | |
| JP7044047B2 (en) | robot | |
| WO2008004487A1 (en) | Apparatus and method for controlling robot arm, robot, and robot arm control program | |
| JP6821374B2 (en) | Robot system and its operation method | |
| JP6916157B2 (en) | Robot systems that collaborate with people and robot control methods | |
| JP5458769B2 (en) | Robot control device | |
| JPH05241626A (en) | Detecting position correcting system | |
| JP6816070B2 (en) | Interference avoidance device and robot system | |
| JP5228783B2 (en) | Robot origin return device | |
| CN105058396A (en) | Robot teaching system and control method thereof | |
| JP2000190262A (en) | Robot control device | |
| CN111300451B (en) | High-intelligence shape shifting robot | |
| JP3412465B2 (en) | Mobile robot device | |
| JP2019025572A (en) | ROBOT CONTROL DEVICE, ROBOT, ROBOT SYSTEM, AND ROBOT ABNORMALITY METHOD | |
| JPH07271415A (en) | Cooperative robot control method | |
| JP3901006B2 (en) | Visual recognition device | |
| JP2019136790A (en) | robot | |
| JP3328414B2 (en) | Robot hand attitude control device | |
| WO2018066601A1 (en) | Robot system and operation method therefor | |
| JP2003305675A (en) | Visual recognition device | |
| JP5298919B2 (en) | Robot hand position correction method, robot hand, robot |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040625 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20040701 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050915 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20051108 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060106 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060620 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060811 |
|
| 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: 20061212 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061225 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 3901006 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130112 Year of fee payment: 6 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130112 Year of fee payment: 6 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130112 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130112 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140112 Year of fee payment: 7 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |