JP6855491B2 - Robot system, robot system control device, and robot system control method - Google Patents

Robot system, robot system control device, and robot system control method Download PDF

Info

Publication number
JP6855491B2
JP6855491B2 JP2018537323A JP2018537323A JP6855491B2 JP 6855491 B2 JP6855491 B2 JP 6855491B2 JP 2018537323 A JP2018537323 A JP 2018537323A JP 2018537323 A JP2018537323 A JP 2018537323A JP 6855491 B2 JP6855491 B2 JP 6855491B2
Authority
JP
Japan
Prior art keywords
camera
sign
robot
image
position information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018537323A
Other languages
Japanese (ja)
Other versions
JPWO2018043524A1 (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.)
Kurashiki Spinning Co Ltd
Original Assignee
Kurashiki Spinning 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 Kurashiki Spinning Co Ltd filed Critical Kurashiki Spinning Co Ltd
Publication of JPWO2018043524A1 publication Critical patent/JPWO2018043524A1/en
Application granted granted Critical
Publication of JP6855491B2 publication Critical patent/JP6855491B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/10Programme-controlled manipulators characterised by positioning means for manipulator elements
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J13/00Controls for manipulators
    • B25J13/08Controls for manipulators by means of sensing devices, e.g. viewing or touching devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Manipulator (AREA)

Description

本発明は、多関節ロボットのハンドを目標となる対象物まで移動させるためのロボットシステムに関する。また、本発明は、かかるロボットシステムの制御装置および制御方法に関する。 The present invention relates to a robot system for moving the hand of an articulated robot to a target object. The present invention also relates to a control device and a control method for such a robot system.

多関節ロボットを用いて、カメラ等の視覚センサから得た情報を基に、ロボット自身が周辺環境を認識して作業を行うシステムが研究されている。例えば、バラ積みされた対象物をカメラで認識し、ロボットのアームの先端にあるハンドを作業対象物まで移動させて掴む、といった作業である。 Research is being conducted on a system in which an articulated robot recognizes the surrounding environment and performs work based on information obtained from a visual sensor such as a camera. For example, the work is such that the camera recognizes the objects piled up separately, and the hand at the tip of the arm of the robot is moved to the work object and grasped.

一般的なロボットシステムでは、ロボットのハンドを目標となる対象物まで移動させるために、カメラ等で対象物の位置情報を得た後、この位置情報をカメラ座標系からロボット座標系に変換してロボットに伝える。ここで、カメラ座標系からロボット座標系への変換には、カメラとロボットの相対位置関係を予め求めておく必要がある。そのため、キャリブレーションによって、カメラ座標系−世界座標系間、およびロボット座標系−世界座標系間の座標変換を行なうための変換行列を求める。これにより、対象物のカメラ座標系における位置座標を、世界座標系を介して、ロボット座標系における位置座標に変換することができる。 In a general robot system, in order to move the robot's hand to a target object, after obtaining the position information of the object with a camera or the like, this position information is converted from the camera coordinate system to the robot coordinate system. Tell the robot. Here, in order to convert from the camera coordinate system to the robot coordinate system, it is necessary to obtain the relative positional relationship between the camera and the robot in advance. Therefore, by calibration, a transformation matrix for performing coordinate transformation between the camera coordinate system and the world coordinate system and between the robot coordinate system and the world coordinate system is obtained. As a result, the position coordinates of the object in the camera coordinate system can be converted into the position coordinates in the robot coordinate system via the world coordinate system.

しかし、カメラ座標系−世界座標系間の変換行列を決定するには、カメラの焦点距離、画像中心、画像サイズ(画素サイズ)、歪曲収差係数等の内部パラメータと、カメラの位置姿勢を表す外部パラメータを知る必要がある。そのために、例えば、チェッカーボード等の平面パターンとカメラの位置を高精度の三次元測定器を用いて求めることになり、極めて手間とコストのかかる作業を要した。 However, in order to determine the transformation matrix between the camera coordinate system and the world coordinate system, internal parameters such as the focal length of the camera, the image center, the image size (pixel size), and the distortion coefficient, and the external that represents the position and orientation of the camera You need to know the parameters. Therefore, for example, the plane pattern of a checkerboard or the like and the position of the camera have to be obtained by using a high-precision coordinate measuring device, which requires extremely laborious and costly work.

ロボット座標系−世界座標系間の座標変換を決定するにも、世界座標系での位置座標が正確に分かっている教示点に、人手によりハンド移動させて姿勢パラメータを計測するなど、やはり極めて手間とコストのかかる作業が必要であった。 In order to determine the coordinate transformation between the robot coordinate system and the world coordinate system, it is also extremely troublesome to manually move the hand to the teaching point where the position coordinates in the world coordinate system are known and measure the posture parameters. And costly work was required.

これに対して、特許文献1には、ロボットアーム装置の先端部に把持させた指し棒の先端が長方形を描くようにロボットアーム装置を動作させ、長方形の各頂点の位置をステレオ画像計測し、そのデータを基に座標変換データを計算して、長方形を基準とする中間座標系を介してロボットアーム装置とステレオ計測装置との相対位置姿勢関係を求める方法が記載されている。特許文献1によれば、設計データでなく、実際にロボットシステムにより計測したデータを用いるので、システム製作時に生じる加工・取り付けによる誤差の影響を受けず、ロボットアーム装置とステレオ画像計測装置の正確な相対位置姿勢関係を求めることができ、また、キャリブレーション作業に要する時間を短縮できるとされている。 On the other hand, in Patent Document 1, the robot arm device is operated so that the tip of the pointing rod gripped by the tip of the robot arm device draws a rectangle, and the position of each coordinate of the rectangle is measured in a stereo image. A method of calculating coordinate conversion data based on the data and obtaining a relative position-orientation relationship between the robot arm device and the stereo measuring device via an intermediate coordinate system based on a rectangle is described. According to Patent Document 1, since the data actually measured by the robot system is used instead of the design data, the robot arm device and the stereo image measurement device are accurate without being affected by errors due to processing and mounting that occur during system production. It is said that the relative position-orientation relationship can be obtained, and the time required for the calibration work can be shortened.

特開平9−128549号公報Japanese Unexamined Patent Publication No. 9-128549

しかし、特許文献1に記載された方法では、長方形の4頂点の計測に基づいて変換行列を算出するので、レンズの歪曲収差等を正確には再現できない。仮に歪曲収差がない場合でも、カメラ座標系−中間座標系間、および中間座標系−ロボット座標系間の座標変換に変換行列を用いるので、不規則なレンズ歪などによる誤差があると、それを完全には排除できない。 However, in the method described in Patent Document 1, since the transformation matrix is calculated based on the measurement of the four vertices of the rectangle, the distortion aberration of the lens and the like cannot be accurately reproduced. Even if there is no distortion, the transformation matrix is used for coordinate conversion between the camera coordinate system and the intermediate coordinate system, and between the intermediate coordinate system and the robot coordinate system. It cannot be completely excluded.

本発明は、上記を考慮してなされたものであり、設置したカメラやロボットの位置計測が不要で、かつ、レンズ歪等の影響を受けずに、カメラ画像に基づいて多関節ロボットのハンドを目標位置まで移動可能なロボットシステム、ロボットシステム制御装置およびロボットシステム制御方法を提供することを目的とする。 The present invention has been made in consideration of the above, and it is not necessary to measure the position of the installed camera or robot, and the hand of the articulated robot is based on the camera image without being affected by lens distortion or the like. An object of the present invention is to provide a robot system, a robot system control device, and a robot system control method capable of moving to a target position.

上記目的のために、本発明では、カメラの画像から得られる位置情報と、多関節ロボットの姿勢パラメータとを直接関連付けた参照表を利用して、ロボットを制御する。 For the above purpose, in the present invention, the robot is controlled by using a reference table in which the position information obtained from the image of the camera and the posture parameter of the articulated robot are directly associated with each other.

具体的には、本発明のロボットシステムは、多関節ロボットと、前記ロボットの作業空間を撮像する1台以上のカメラと、制御装置とを有する。そして、前記制御装置は、キャリブレーション時において、前記ロボットの姿勢パラメータを取得し、前記カメラから画像を取得し、該画像中に前記ロボットに固定された標識を認識して該標識の位置情報を算出し、前記標識の位置情報と前記ロボットの姿勢パラメータとを関連付けた参照表を作成して記憶する。そして、前記制御装置は、作業時において、前記カメラから画像を取得し、該画像中に対象物を認識して該対象物の位置情報を算出し、前記対象物の位置情報から、前記参照表を参照して、前記ハンドを該対象物まで移動させるための前記姿勢パラメータを取得し、取得した前記姿勢パラメータを前記ロボットに送信する。 Specifically, the robot system of the present invention includes an articulated robot, one or more cameras that image the working space of the robot, and a control device. Then, at the time of calibration, the control device acquires the posture parameter of the robot, acquires an image from the camera, recognizes a sign fixed to the robot in the image, and obtains position information of the sign. Calculate and create and store a reference table that associates the position information of the sign with the posture parameter of the robot. Then, at the time of work, the control device acquires an image from the camera, recognizes the object in the image, calculates the position information of the object, and uses the position information of the object as the reference table. With reference to, the posture parameter for moving the hand to the object is acquired, and the acquired posture parameter is transmitted to the robot.

ここで、ロボットの姿勢パラメータとは、ロボットの姿勢に関連するパラメータであって、少なくともハンドの位置を決定できるものをいう。また、ロボットに固定された標識とは、ハンドが保持する標識などの、ロボットのハンドまたはアームとの位置関係が固定された標識をいう。 Here, the posture parameter of the robot is a parameter related to the posture of the robot and can at least determine the position of the hand. Further, the sign fixed to the robot means a sign having a fixed positional relationship with the robot's hand or arm, such as a sign held by the hand.

好ましくは、前記ロボットシステムは第1カメラおよび第2カメラを有し、前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記第1カメラによる画像中の画素位置と前記第2カメラによる画像中の画素位置との組である。 Preferably, the robot system has a first camera and a second camera, and the position information of the sign and the position information of the object are pixels in the image of the sign or the object by the first camera, respectively. It is a set of a position and a pixel position in an image taken by the second camera.

あるいは、前記ロボットシステムは第1カメラおよび第2カメラを有し、前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記第1カメラによる画像中の画素位置と、前記第1カメラによる画像と前記第2カメラによる画像から三角測量の原理に基づいて算出された距離情報との組であってもよい。 Alternatively, the robot system has a first camera and a second camera, and the position information of the sign and the position information of the object are the pixel positions of the sign or the object in the image by the first camera, respectively. And the distance information calculated from the image taken by the first camera and the image taken by the second camera based on the principle of triangulation.

あるいは、前記ロボットシステムは第1カメラおよび第2カメラを有し、前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記第1カメラによる画像と前記第2カメラによる画像から三角測量の原理に基づいて算出されたカメラ座標系における三次元位置座標であってもよい。 Alternatively, the robot system has a first camera and a second camera, and the position information of the sign and the position information of the object are an image of the sign or the object by the first camera and the second camera, respectively. It may be the three-dimensional position coordinates in the camera coordinate system calculated from the image by the camera based on the principle of triangulation.

あるいは、前記ロボットシステムは、前記カメラの画角内にあって、該カメラから見たときに前記作業空間が映り込むように配置された鏡をさらに有しており、前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記カメラによる画像中の直接像の画素位置と前記鏡による反射像の画素位置との組であってもよい。 Alternatively, the robot system further includes a mirror that is within the angle of view of the camera and is arranged so that the work space is reflected when viewed from the camera, and the position information of the sign and the above. The position information of the object may be a set of the pixel position of the direct image of the marker or the object in the image taken by the camera and the pixel position of the reflected image taken by the mirror, respectively.

あるいは、前記カメラが距離画像カメラであって、前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記距離画像カメラによる距離画像中の画素位置と距離情報との組であってもよい。 Alternatively, the camera is a distance image camera, and the position information of the sign and the position information of the object are the pixel position and the distance information of the sign or the object in the distance image by the distance image camera, respectively. It may be a set of.

あるいは、前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の前記カメラによる画像中の画素位置と、前記標識が当該位置にあるときの前記画像中の面積との組であってもよい。 Alternatively, the position information of the sign and the position information of the object are the pixel position in the image of the sign or the object by the camera and the area in the image when the sign is in the position, respectively. It may be a pair.

上記いずれかのロボットシステムにおいて、好ましくは、前記姿勢パラメータが、前記ロボットの関節変数の組である。 In any of the robot systems, the posture parameter is preferably a set of joint variables of the robot.

あるいは、上記いずれかのロボットシステムにおいて、前記姿勢パラメータが、前記標識または前記対象物のロボット座標系における三次元位置座標であってもよい。 Alternatively, in any of the robot systems, the posture parameter may be three-dimensional position coordinates in the robot coordinate system of the sign or the object.

本発明のロボットシステム制御装置は、多関節ロボットのキャリブレーション時において、前記ロボットの姿勢パラメータを取得し、前記ロボットの作業空間を撮像する1台以上のカメラから該ロボットのハンドに固定された標識が写った画像を取得し、該画像中に該標識を認識して該標識の位置情報を算出し、前記標識の位置情報と前記ロボットの姿勢パラメータとを関連付けた参照表を作成して記憶する。 The robot system control device of the present invention acquires a posture parameter of the robot at the time of calibrating the articulated robot, and a marker fixed to the hand of the robot from one or more cameras that image the work space of the robot. Is acquired, the sign is recognized in the image, the position information of the sign is calculated, and a reference table in which the position information of the sign is associated with the posture parameter of the robot is created and stored. ..

好ましくは、本発明のロボットシステム制御装置は、前記ロボットの作業時において、前記カメラから画像を取得し、該画像中に対象物を認識して該対象物の位置情報を算出し、前記対象物の位置情報から、前記参照表を参照して、前記ハンドを該対象物まで移動させるための前記姿勢パラメータを取得し、取得した前記姿勢パラメータを前記ロボットに送信する。 Preferably, the robot system control device of the present invention acquires an image from the camera during the working of the robot, recognizes the object in the image, calculates the position information of the object, and calculates the position information of the object. With reference to the reference table, the posture parameter for moving the hand to the object is acquired from the position information of the robot, and the acquired posture parameter is transmitted to the robot.

本発明の他のロボットシステム制御装置は、多関節ロボットの姿勢パラメータを該ロボットに送信および/または該ロボットから受信する第1通信部と、前記ロボットに固定された標識が写った画像をカメラから受信する第2通信部と、前記画像から前記標識を認識して該標識の位置情報を算出し、該ハンドの位置情報と前記姿勢パラメータとを関連付けた参照表を作成する演算部と、前記参照表を記憶する記憶部とを有する。 In another robot system control device of the present invention, a first communication unit that transmits and / or receives a posture parameter of an articulated robot to the robot and an image of a sign fixed to the robot are captured from a camera. A second communication unit to receive, a calculation unit that recognizes the sign from the image, calculates the position information of the sign, and creates a reference table that associates the position information of the hand with the posture parameter, and the reference. It has a storage unit for storing a table.

好ましくは、本発明の他のロボットシステム制御装置は、前記第2通信部が対象物が写った画像を前記カメラから受信し、前記演算部が前記画像から前記対象物を認識して、該対象物の位置情報を算出し、前記参照表を参照して、前記対象物の位置情報から前記ロボットのハンドを該対象物まで移動させるための前記姿勢パラメータを取得し、前記第1通信部が前記姿勢パラメータを前記ロボットに送信する。 Preferably, in another robot system control device of the present invention, the second communication unit receives an image of the object from the camera, the calculation unit recognizes the object from the image, and the object is displayed. The position information of the object is calculated, the reference table is referred to, the posture parameter for moving the hand of the robot to the object is acquired from the position information of the object, and the first communication unit performs the above. The attitude parameter is transmitted to the robot.

本発明のロボットシステム制御方法は、キャリブレーション工程と作業工程とを有する。キャリブレーション工程では、標識が固定された多関節ロボットを動作させて前記標識を移動させながら、前記ロボットの作業空間を1台以上のカメラで撮像し、該カメラで撮像した画像中に前記標識を認識して該標識の位置情報を算出し、前記標識の位置情報と当該撮像時における前記ロボットの姿勢パラメータとを関連付けて、参照表に順次登録する。作業工程では、対象物が存在する作業空間を前記カメラで撮像し、前記カメラで撮像した画像中に前記対象物を認識して該対象物の位置情報を算出し、前記対象物の位置情報から、前記参照表を参照して、前記ロボットのハンドを該対象物まで移動させるための前記姿勢パラメータを取得し、取得した前記姿勢パラメータを該ロボットに送信する。 The robot system control method of the present invention includes a calibration step and a working step. In the calibration step, an articulated robot having a fixed sign is operated to move the sign, the work space of the robot is imaged by one or more cameras, and the sign is included in the image captured by the camera. It recognizes and calculates the position information of the sign, associates the position information of the sign with the posture parameter of the robot at the time of the imaging, and sequentially registers it in the reference table. In the work process, the work space in which the object exists is imaged by the camera, the object is recognized in the image captured by the camera, the position information of the object is calculated, and the position information of the object is calculated from the position information of the object. , The posture parameter for moving the hand of the robot to the object is acquired with reference to the reference table, and the acquired posture parameter is transmitted to the robot.

本発明のロボットシステム、ロボットシステム制御装置、またはロボットシステム制御方法によれば、実際のカメラおよびロボットを用いて、カメラによる位置情報とロボットの姿勢パラメータを直接関連付けた参照表を作成し、その参照表に基づいてロボットを動作させる。参照表は実際のカメラおよびロボットを用いて作成されるので、システム製作時の誤差や不規則なレンズ歪等の影響を受けずに、ハンドを目標位置まで移動させることができる。また、世界座標など他の座標系を介しないので、カメラの内部・外部パラメータや、ロボットの設置位置・向き等を計測する必要がなく、キャリブレーション作業の省力化を図ることができる。 According to the robot system, the robot system control device, or the robot system control method of the present invention, a reference table in which the position information by the camera and the posture parameter of the robot are directly related is created by using an actual camera and the robot, and the reference table is created. Operate the robot based on the table. Since the reference table is created using an actual camera and robot, the hand can be moved to the target position without being affected by errors during system fabrication, irregular lens distortion, and the like. In addition, since it does not go through other coordinate systems such as world coordinates, it is not necessary to measure the internal / external parameters of the camera, the installation position / orientation of the robot, etc., and the calibration work can be saved.

本発明の第1実施形態のロボットシステムの全体構成図である。It is an overall block diagram of the robot system of 1st Embodiment of this invention. 本発明の第1実施形態のロボットシステム制御装置の機能ブロック図である。It is a functional block diagram of the robot system control device of 1st Embodiment of this invention. 本発明の第1実施形態のロボット制御方法のフロー図である。It is a flow chart of the robot control method of 1st Embodiment of this invention. 本発明の第1実施形態のロボット制御方法のキャリブレーション工程のフロー図である。It is a flow chart of the calibration process of the robot control method of 1st Embodiment of this invention. 本発明の第1実施形態のロボット制御方法の作業工程におけるハンド移動のフロー図である。It is a flow chart of the hand movement in the work process of the robot control method of 1st Embodiment of this invention. 本発明の第1実施形態によるキャリブレーション時の画像である。It is an image at the time of calibration by 1st Embodiment of this invention. 本発明の第1実施形態の参照表の例を示す図である。It is a figure which shows the example of the reference table of the 1st Embodiment of this invention. 本発明の第1実施形態の参照表の他の例を示す図である。It is a figure which shows another example of the reference table of 1st Embodiment of this invention. 本発明の第1実施形態の参照表の他の例を示す図である。It is a figure which shows another example of the reference table of 1st Embodiment of this invention. 本発明の第2実施形態のロボットシステムの全体構成図である。It is an overall block diagram of the robot system of 2nd Embodiment of this invention. 本発明の第2実施形態によるキャリブレーション時の画像である。It is an image at the time of calibration by the 2nd Embodiment of this invention. 本発明の第2実施形態の参照表の例を示す図である。It is a figure which shows the example of the reference table of the 2nd Embodiment of this invention. 本発明の第3実施形態のロボットシステムの全体構成図である。It is an overall block diagram of the robot system of 3rd Embodiment of this invention. 本発明の第3実施形態の参照表の例を示す図である。It is a figure which shows the example of the reference table of the 3rd Embodiment of this invention. 本発明の第4実施形態のロボットシステムの全体構成図である。It is an overall block diagram of the robot system of 4th Embodiment of this invention. 本発明の第4実施形態によるキャリブレーション時の画像である。It is an image at the time of calibration by the 4th Embodiment of this invention. 本発明の第4実施形態の参照表の例を示す図である。It is a figure which shows the example of the reference table of the 4th Embodiment of this invention. 本発明の第5実施形態のロボットシステムの全体構成図である。It is an overall block diagram of the robot system of 5th Embodiment of this invention.

本発明の第1実施形態を図1〜図9に基づいて説明する。 The first embodiment of the present invention will be described with reference to FIGS. 1 to 9.

図1において、本実施形態のロボットシステム10は、多関節ロボット20と、ロボットの作業空間を撮像する第1カメラ30および第2カメラ31と、ロボットシステム制御装置40を有する。以下において「ロボットシステム制御装置」を単に「制御装置」という。 In FIG. 1, the robot system 10 of the present embodiment includes an articulated robot 20, a first camera 30 and a second camera 31 that capture an image of the robot's work space, and a robot system control device 40. Hereinafter, the "robot system control device" is simply referred to as a "control device".

ロボット20は作業場に固定される。ロボット20は、ロボットを作業場に固定するためのベース25と、複数のリンク22が関節23で接続されたアーム21と、アームの先端に接続されたハンド24と、駆動部26を有する。ロボットの各関節はサーボモータ等のアクチュエータ(図示せず)と、その関節の関節変数を検知するセンサー(図示せず)を備える。ここで、関節変数とはその関節の変位をいい、具体的には回転関節の関節角度(リンク間角度)や直動関節のリンク間距離のことをいう。ハンド24は手先、エンドエフェクタとも呼ばれる。図1はキャリブレーション時の様子を示しており、ロボットはハンドに標識50を把持している。 The robot 20 is fixed to the work place. The robot 20 has a base 25 for fixing the robot to the workplace, an arm 21 to which a plurality of links 22 are connected by joints 23, a hand 24 connected to the tip of the arm, and a drive unit 26. Each joint of the robot is provided with an actuator (not shown) such as a servomotor and a sensor (not shown) that detects joint variables of the joint. Here, the joint variable means the displacement of the joint, specifically, the joint angle (inter-link angle) of the rotary joint and the inter-link distance of the linear motion joint. The hand 24 is also called a hand or an end effector. FIG. 1 shows a state at the time of calibration, and the robot holds the sign 50 in the hand.

ロボット20の駆動部26は、アームおよびハンドを駆動する。最も単純な構成の駆動部は、サーボアンプ等の駆動装置からなり、外部から受信する関節変数に基づいて各関節のアクチュエータを駆動する。あるいは、駆動部は、各種の演算処理を行うCPUやプログラム等を格納するメモリをさらに有していて、ロボット座標系におけるハンドの三次元位置座標を外部から受信して、関節変数を算出可能であってもよい。ここで、ロボット座標系は、ロボットの不動点を基準とする座標系であって、好ましくは、ベース25を基準とする座標系である。ロボット座標系は、直交座標系であっても各種極座標系であってもよい。以下、単に「三次元位置座標」というときは、ロボット座標系における三次元位置座標を意味する。 The drive unit 26 of the robot 20 drives the arm and the hand. The drive unit having the simplest configuration consists of a drive device such as a servo amplifier, and drives the actuator of each joint based on the joint variables received from the outside. Alternatively, the drive unit further has a memory for storing a CPU, a program, etc. that perform various arithmetic processes, and can receive the three-dimensional position coordinates of the hand in the robot coordinate system from the outside and calculate joint variables. There may be. Here, the robot coordinate system is a coordinate system based on the fixed point of the robot, preferably a coordinate system based on the base 25. The robot coordinate system may be an orthogonal coordinate system or various polar coordinate systems. Hereinafter, the term "three-dimensional position coordinates" simply means three-dimensional position coordinates in the robot coordinate system.

ロボット20は、ベース25が作業場に固定され、キャリブレーション時および作業時を通して移動することがない。したがって、ハンド24の位置は、関節変数の組み合わせや三次元位置座標によって表すことができる。例えば、アーム21の自由度が3である場合、アームの3つの関節変数によって、ハンドの位置とアームの姿勢が定まる。あるいは、アーム21の自由度が3でハンド24の自由度が3である場合、アームおよびハンドの6つの関節変数によって、ハンドの位置および姿勢とアームの姿勢が定まる。また、ハンドの三次元位置座標はハンドの位置を表している。このように、ロボットの姿勢に関連し、少なくともハンドの位置を決定できるパラメータを、本明細書中で「ロボットの姿勢パラメータ」という。 In the robot 20, the base 25 is fixed to the work place and does not move during calibration and work. Therefore, the position of the hand 24 can be represented by a combination of joint variables and three-dimensional position coordinates. For example, when the degree of freedom of the arm 21 is 3, the position of the hand and the posture of the arm are determined by the three joint variables of the arm. Alternatively, when the degree of freedom of the arm 21 is 3 and the degree of freedom of the hand 24 is 3, the position and posture of the hand and the posture of the arm are determined by the six joint variables of the arm and the hand. The three-dimensional position coordinates of the hand represent the position of the hand. Such a parameter related to the posture of the robot and capable of determining at least the position of the hand is referred to as a "robot posture parameter" in the present specification.

ロボットの形式は特に限定されず、図1に例示したシリアルリンク形の垂直多関節ロボットの他、水平多関節形やパラレルリンク形など各種の多関節ロボットを用いることができる。 The type of the robot is not particularly limited, and in addition to the serial link type vertical articulated robot illustrated in FIG. 1, various articulated robots such as the horizontal articulated type and the parallel link type can be used.

第1カメラ30および第2カメラ31は作業場に固定される。2台のカメラは、ロボット20の作業空間を撮像するように設置されている。ここでロボットの作業空間とは、ロボットのハンド24が到達可能な空間領域のうち、作業時にハンドが移動する可能性のある領域をいう。2台のカメラ30、31は二次元画像を撮像可能なカメラである。 The first camera 30 and the second camera 31 are fixed to the work place. The two cameras are installed so as to image the work space of the robot 20. Here, the robot work space refers to an area in which the hand 24 of the robot can reach, in which the hand may move during work. The two cameras 30 and 31 are cameras capable of capturing a two-dimensional image.

図2を参照して、制御装置40は、第1通信部41と、第2通信部42と、演算部43と、記憶部44と第3通信部45とを有する。 With reference to FIG. 2, the control device 40 includes a first communication unit 41, a second communication unit 42, a calculation unit 43, a storage unit 44, and a third communication unit 45.

第1通信部41はロボット20の駆動部26と信号線で接続され、ロボットとの通信を行う。第1通信部は、目標位置に対応する姿勢パラメータをロボットに送信して、ハンド24を目標位置まで移動させるよう指示する。また、第1通信部は、ロボットから関節変数等の姿勢パラメータを受信する。第2通信部42は第1カメラ30および第2カメラ31と信号線で接続され、カメラとの通信を行う。第2通信部は、カメラに撮像指示を送信し、カメラから画像を受信する。 The first communication unit 41 is connected to the drive unit 26 of the robot 20 by a signal line and communicates with the robot. The first communication unit transmits the posture parameter corresponding to the target position to the robot, and instructs the robot to move the hand 24 to the target position. In addition, the first communication unit receives posture parameters such as joint variables from the robot. The second communication unit 42 is connected to the first camera 30 and the second camera 31 by a signal line, and communicates with the cameras. The second communication unit transmits an imaging instruction to the camera and receives an image from the camera.

演算部43は、第2通信部42がカメラ30、31から受信した画像を処理する。演算部は、キャリブレーション時には、標識50を画像中に認識してその位置情報を算出し、当該位置情報と第1通信部41がロボットに送信した姿勢パラメータまたは第1通信部がロボットから受信した姿勢パラメータとを関連付けた参照表を作成する。より正確には、演算部は、標識の位置情報とロボットの姿勢パラメータとを関連付けた1つのレコードを作成して、既存の参照表に追加登録する。演算部は、作業時には、対象物を画像中に認識してその位置情報を算出する。演算部は、参照表を参照して、対象物の位置情報から、ロボットのハンドを対象物まで移動させるための姿勢パラメータを取得する。 The calculation unit 43 processes the images received from the cameras 30 and 31 by the second communication unit 42. At the time of calibration, the calculation unit recognizes the sign 50 in the image, calculates the position information thereof, and receives the position information and the posture parameter transmitted by the first communication unit 41 to the robot or the first communication unit receives from the robot. Create a reference table associated with the posture parameters. More precisely, the calculation unit creates one record that associates the position information of the sign with the posture parameter of the robot, and additionally registers it in the existing reference table. At the time of work, the calculation unit recognizes the object in the image and calculates the position information thereof. The calculation unit refers to the reference table and acquires the posture parameter for moving the robot's hand to the object from the position information of the object.

記憶部44は、参照表を記憶する。記憶部としては、ハードディスク装置などの書き換え可能でランダムアクセス可能な補助記憶装置を好適に用いることができる。第3通信部45は入力装置46および出力装置47と信号線で接続され、操作者との通信を行う。第3通信部は、入力装置46から操作者からの指示を受信し、出力装置47に操作者にロボットシステムの状況等を送信する。 The storage unit 44 stores the reference table. As the storage unit, a rewritable and randomly accessible auxiliary storage device such as a hard disk device can be preferably used. The third communication unit 45 is connected to the input device 46 and the output device 47 by a signal line, and communicates with the operator. The third communication unit receives an instruction from the operator from the input device 46, and transmits the status of the robot system and the like to the output device 47 to the output device 47.

制御装置40は、必ずしも物理的に1台の装置である必要はなく、複数台で処理を分担してもよい。また、制御装置は、ロボットの駆動部26と一体に形成されていてもよい。 The control device 40 does not necessarily have to be one physical device, and a plurality of control devices 40 may share the processing. Further, the control device may be integrally formed with the drive unit 26 of the robot.

次に、本実施形態のロボットシステム制御方法を説明する。各部の参照符号は、図1および図2に示した符号である。 Next, the robot system control method of the present embodiment will be described. The reference reference numerals of the respective parts are the reference numerals shown in FIGS. 1 and 2.

図3において、本実施形態のロボットシステム制御方法は、作業場へのロボットおよびカメラの設置、キャリブレーション工程、ロボットを用いた作業工程からなる。 In FIG. 3, the robot system control method of the present embodiment includes installation of a robot and a camera in a workplace, a calibration process, and a work process using the robot.

まず、作業場にロボット20、第1カメラ30および第2カメラ31を設置する。このとき、2台のカメラは、ロボットの作業空間を撮像可能な位置および向きに設置する。2台のカメラの光軸がなす角は、好ましくは30〜150度、より好ましくは60〜120度、特に好ましくは70〜110度である。2台のカメラの向きが平行または逆向きに近いほど、カメラの光軸方向の空間解像度が低くなるからである。ただし、2台のカメラの向きが異なるほど、標識の一部が死角となるオクルージョンが発生する可能性が高まる。2台のカメラの向きはオクルージョンが発生しにくく、かつ、必要な空間解像度が確保できるよう、標識の形状や作業空間に合わせて適宜決定すればよい。ロボットおよびカメラは、以下のキャリブレーション工程および作業工程を通して作業場に固定される。 First, the robot 20, the first camera 30, and the second camera 31 are installed in the workplace. At this time, the two cameras are installed at a position and orientation in which the robot's work space can be imaged. The angle formed by the optical axes of the two cameras is preferably 30 to 150 degrees, more preferably 60 to 120 degrees, and particularly preferably 70 to 110 degrees. This is because the closer the directions of the two cameras are to parallel or opposite, the lower the spatial resolution of the cameras in the optical axis direction. However, the more different the orientations of the two cameras, the more likely it is that occlusion will occur where part of the sign will be a blind spot. The orientation of the two cameras may be appropriately determined according to the shape of the sign and the work space so that occlusion is unlikely to occur and the required spatial resolution can be secured. The robot and camera are fixed to the workplace through the following calibration and work steps.

図4にキャリブレーション工程のフローを示す。キャリブレーション工程では、カメラから得られる位置情報とロボットの姿勢パラメータとを関連付けた参照表を作成する。 FIG. 4 shows the flow of the calibration process. In the calibration process, a reference table that associates the position information obtained from the camera with the posture parameters of the robot is created.

まず、ハンド24に標識50を固定する。標識をハンドに固定することには、標識をハンドで把持すること、標識を吸着その他の方法によってハンドで保持すること、標識となる物体をハンドに固着させること、ハンドの一部に標識となるマークを描くこと、ハンドの一部であって特徴的な部分を標識とすることが含まれる。標識の数は複数であってもよい。標識をハンドで把持する場合、標識としては、対象物自体または対象物に似た形状の物体、球状の物体、指し棒などを用いることができる。なお、標識はロボットの可動部分であるアームに固定してもよい。 First, the sign 50 is fixed to the hand 24. To fix the sign to the hand, grasp the sign with the hand, hold the sign with the hand by suction or other methods, fix the object to be the sign to the hand, and become a sign on a part of the hand. It includes drawing a mark and using a characteristic part of the hand as a sign. The number of signs may be plural. When the sign is gripped by a hand, the sign can be an object itself or an object having a shape similar to the object, a spherical object, a pointer, or the like. The sign may be fixed to an arm which is a movable part of the robot.

標識は、好ましくは、標識の位置がハンドの把持位置に一致するように固定される。参照表に登録される標識位置と作業時のハンド移動の目標位置が一致するからである。図1では、球形の標識50がハンドで把持されることによって固定されており、標識の位置がハンドの把持位置に一致している。本実施形態では、以下、標識位置とハンドの把持位置が一致しているとして説明を続ける。 The sign is preferably fixed so that the position of the sign coincides with the gripping position of the hand. This is because the sign position registered in the reference table and the target position for hand movement during work match. In FIG. 1, the spherical sign 50 is fixed by being gripped by the hand, and the position of the sign coincides with the gripping position of the hand. In the present embodiment, the description will be continued below assuming that the marking position and the gripping position of the hand match.

次いで、制御装置40の第1通信部41からの指示によりロボットを動作させて、作業空間内でハンド24および標識50を移動させる。このとき、標識の移動経路や停止位置を予め正確に決定しておく必要はなく、作業空間内をおおよそ一巡するように決定しておけばよい。標識を移動させる範囲は、操作者が入力装置46から入力して制御装置に伝えることができる。その際、移動経路上の点に対応する関節変数を操作者が直接入力してもよいし、移動経路上の点の三次元位置座標を操作者が入力して、演算部43またはロボットの駆動部26が関節変数を計算してもよい。 Next, the robot is operated according to the instruction from the first communication unit 41 of the control device 40 to move the hand 24 and the sign 50 in the work space. At this time, it is not necessary to accurately determine the movement route and the stop position of the sign in advance, and it is sufficient to determine so that the sign makes a round in the work space. The range in which the sign is moved can be input by the operator from the input device 46 and transmitted to the control device. At that time, the operator may directly input the joint variable corresponding to the point on the movement path, or the operator inputs the three-dimensional position coordinates of the point on the movement path to drive the calculation unit 43 or the robot. Part 26 may calculate joint variables.

次いで、標識を上記範囲内で移動させながら、標識が停止した状態および/または動いている状態で参照表を作成する。 Then, while moving the sign within the above range, a reference table is created with the sign stopped and / or moving.

標識の停止時に参照表を作成する方法は、例えば次のとおりである。参照表に登録する姿勢パラメータは、第1通信部41からロボット20に送信した姿勢パラメータでもよいし、第1通信部がロボットから受信した姿勢パラメータでもよい。例えば、標識が制御装置から指示した位置で停止したときは、制御装置40は第1通信部41からロボットに送信した姿勢パラメータを既に知っているので、この姿勢パラメータを参照表に登録してもよい。また、例えば、第1通信部からロボットに停止位置の三次元位置座標を送信した場合でも、標識停止時に第1通信部がロボットから関節変数を受信して、この関節変数を参照表に登録してもよい。 For example, the method of creating a reference table when the sign is stopped is as follows. The posture parameter registered in the reference table may be a posture parameter transmitted from the first communication unit 41 to the robot 20, or may be a posture parameter received from the robot by the first communication unit. For example, when the sign stops at the position instructed by the control device, the control device 40 already knows the posture parameter transmitted from the first communication unit 41 to the robot, so even if this posture parameter is registered in the reference table. Good. Further, for example, even when the first communication unit transmits the three-dimensional position coordinates of the stop position to the robot, the first communication unit receives the joint variable from the robot when the sign is stopped, and registers this joint variable in the reference table. You may.

姿勢パラメータの取得と並行して、第2通信部42がカメラ30、31に撮像指示を送信し、標識が停止したときの画像をカメラ30、31から受信する。図6に、制御装置40がカメラ30、31から受信した画像を示す。2枚の画像には標識50が記録されている。制御装置の演算部43はカメラから受信した画像を処理して、画像中に標識を認識する。標識を認識する方法には、特徴点の抽出やテンプレートマッチングなど、公知の方法を用いることができる。演算部は、標識の、2つの画像中の画素位置の組(u1i,v ,u2i,v2i)を、標識の位置情報として算出する。In parallel with the acquisition of the attitude parameter, the second communication unit 42 transmits an imaging instruction to the cameras 30 and 31, and receives an image when the sign is stopped from the cameras 30 and 31. FIG. 6 shows images received by the control device 40 from the cameras 30 and 31. A sign 50 is recorded on the two images. The calculation unit 43 of the control device processes the image received from the camera and recognizes the sign in the image. As a method for recognizing a marker, a known method such as feature point extraction or template matching can be used. The calculation unit calculates the set of pixel positions (u 1i , v 1 i , u 2i , v 2i ) of the sign in the two images as the position information of the sign.

標識が動いている状態で参照表を作成する方法は、例えば次のとおりである。参照表に登録する姿勢パラメータは、第1通信部41がロボットから受信する。カメラの撮像タイミングとロボットの姿勢パラメータの取得タイミングが同期可能な場合は、第1通信部41および第2通信部42からロボットおよびカメラ30、31に同時刻を指定して、それぞれ姿勢パラメータまたは画像を送信するよう要求できる。また、1つの同期信号に基づいて、第1通信部41および第2通信部42がロボットまたはカメラから、それぞれ姿勢パラメータまたは画像を受信してもよい。同期信号は制御装置40内の同期信号生成部(図示せず)が生成してもよいし、第1または第2通信部のいずれかが生成してもよい。また、カメラ30、31が撮像時刻付の画像を生成可能なときは、第2通信部が2台のカメラから時々刻々と画像を受信して、第1通信部がロボットから取得した姿勢パラメータと同時刻の画像を選択することができる。演算部43は標識50を画像中に認識して、その位置情報を算出する。 For example, the method of creating a reference table while the sign is moving is as follows. The posture parameters registered in the reference table are received by the first communication unit 41 from the robot. When the imaging timing of the camera and the acquisition timing of the robot attitude parameter can be synchronized, the first communication unit 41 and the second communication unit 42 specify the same time for the robot and the cameras 30 and 31, respectively, and the attitude parameter or the image is obtained. Can be requested to be sent. Further, the first communication unit 41 and the second communication unit 42 may receive posture parameters or images from the robot or the camera, respectively, based on one synchronization signal. The synchronization signal may be generated by a synchronization signal generation unit (not shown) in the control device 40, or may be generated by either the first or second communication unit. When the cameras 30 and 31 can generate an image with an imaging time, the second communication unit receives the image from the two cameras every moment, and the first communication unit obtains the posture parameter from the robot. Images at the same time can be selected. The calculation unit 43 recognizes the sign 50 in the image and calculates the position information thereof.

以上のようにして、一つの標識位置に対して、カメラによる位置情報と、当該位置に対応するロボットの姿勢パラメータが得られる。制御装置の演算部43は、位置情報と姿勢パラメータを関連付けて1つのレコードを作成し、記憶部44に記憶された参照表に追加登録する。 As described above, for one sign position, the position information by the camera and the posture parameter of the robot corresponding to the position can be obtained. The calculation unit 43 of the control device creates one record by associating the position information with the posture parameter, and additionally registers the record in the reference table stored in the storage unit 44.

標識50を作業空間内で巡回させて、標識が予定された終了位置に達すると、キャリブレーションを終了する。なお、好ましくは、キャリブレーション終了時に参照表のレコードを、位置情報をキーとしてソートしておく。作業時の検索を効率化するためである。 The sign 50 is circulated in the work space, and when the sign reaches the scheduled end position, the calibration is finished. It is preferable that the records in the reference table are sorted by using the position information as a key at the end of calibration. This is to streamline the search during work.

図7に参照表の例を示す。この参照表の各レコードは、位置情報として第1カメラ画像中の画素位置としての座標(u1i,v1i)と第2カメラ画像中の画素位置としての座標(u2i,v2i)、および姿勢パラメータとして6自由度のロボットにおける6つの関節角度(θ1i,θ2i,θ3i,θ4i,θ5i,θ6i)からなる。FIG. 7 shows an example of a reference table. Each record in this reference table has coordinates as pixel positions in the first camera image (u 1i , v 1i ) as position information, coordinates as pixel positions in the second camera image (u 2i , v 2i ), and The posture parameter consists of six joint angles (θ 1i , θ 2i , θ 3i , θ 4i , θ 5i , θ 6i ) in a robot with six degrees of freedom.

図5に作業工程におけるハンド移動のフローを示す。作業工程では、カメラ画像から算出した位置情報に基づいて、ロボットのハンドを作業対象物まで移動させる。 FIG. 5 shows the flow of hand movement in the work process. In the work process, the robot's hand is moved to the work object based on the position information calculated from the camera image.

まず、制御装置40が第2通信部42からカメラ30、31に撮像指示を送信し、カメラが作業空間を撮像する。作業空間には対象物が存在する。第2通信部がカメラから画像を受信する。演算部43は2つの画像を処理して、画像中に対象物を認識する。対象物を認識する方法は、標識を認識する方法と同様に行うことができる。演算部は、ハンド移動の目標となる対象物の位置情報として、各カメラ座標系における対象物の位置座標を算出する。 First, the control device 40 transmits an imaging instruction from the second communication unit 42 to the cameras 30 and 31, and the camera images the work space. There is an object in the work space. The second communication unit receives the image from the camera. The calculation unit 43 processes the two images and recognizes the object in the images. The method of recognizing an object can be performed in the same manner as the method of recognizing a sign. The calculation unit calculates the position coordinates of the object in each camera coordinate system as the position information of the object that is the target of the hand movement.

演算部43は対象物の位置情報から記憶部44に記憶されている参照表を検索する。参照表に対象物の位置情報を含むレコードが見つかれば、演算部は、当該位置情報に対応する姿勢パラメータを取得する。参照表に対象物の位置情報を含むレコードが見つからない場合は、演算部は対象物の位置情報に対応する姿勢パラメータを推定して取得してもよい。例えば、位置情報が近い複数点のレコードにおける姿勢パラメータ間を補間することにより、姿勢パラメータが推定できる。第1通信部41がロボットに姿勢パラメータを送信して、ハンドを対象物まで移動させるよう指示する。 The calculation unit 43 searches the reference table stored in the storage unit 44 from the position information of the object. If a record containing the position information of the object is found in the reference table, the calculation unit acquires the posture parameter corresponding to the position information. If the record containing the position information of the object is not found in the reference table, the calculation unit may estimate and acquire the attitude parameter corresponding to the position information of the object. For example, the posture parameters can be estimated by interpolating between the posture parameters in a plurality of records having close position information. The first communication unit 41 transmits a posture parameter to the robot and instructs the robot to move the hand to the object.

姿勢パラメータが推定されたものである場合、ロボットがその姿勢パラメータに従って動作したのち、ハンドの位置を微調整してもよい。ハンド位置を微調整するには、国際公開第2013/176212号に記載された方法など、公知の方法を用いることができる。 If the posture parameter is estimated, the position of the hand may be fine-tuned after the robot operates according to the posture parameter. For fine-tuning the hand position, known methods such as those described in International Publication No. 2013/176212 can be used.

また、ハンド位置の微調整を行った場合は、その結果を参照表にフィードバックしておくのが好ましい。具体的には、ハンドが微調整を経て対象物に到達した後に、制御装置の第1通信部41がロボットに姿勢パラメータ要求を送信して、ロボットから姿勢パラメータを受信し、演算部43が対象物の位置情報と姿勢パラメータとを関連付けて、記憶部44の参照表に追加登録してもよい。 When the hand position is finely adjusted, it is preferable to feed back the result to the reference table. Specifically, after the hand reaches the object through fine adjustment, the first communication unit 41 of the control device sends a posture parameter request to the robot, receives the posture parameter from the robot, and the calculation unit 43 targets the target. The position information of the object and the posture parameter may be additionally registered in the reference table of the storage unit 44 in association with each other.

ここで、参照表について、さらに詳細に説明する。 Here, the reference table will be described in more detail.

参照表には、ロボットの作業空間内の点について、その点のカメラ画像から得られる位置情報と、その点に対応したロボットの姿勢パラメータとが、関連付けて登録される。 In the reference table, the position information obtained from the camera image of the point in the work space of the robot and the posture parameter of the robot corresponding to the point are registered in association with each other.

参照表に登録する位置情報は、図7に示したような2つ画素座標の組には限定されない。位置情報は、例えば図8に示すように、第1カメラによる画像中の画素位置(u1i,v1i)と、第1カメラによる画像と第2カメラによる画像から三角測量の原理に基づいて算出された距離情報(d)との組であってもよい。あるいは、位置情報は、第1カメラによる画像と第2カメラによる画像から三角測量の原理に基づいて算出されたカメラ座標系における三次元位置座標であってもよい。これらの場合、第1カメラと第2カメラの中心間距離(基線長)と画像中のエピポーラ線を知る必要があるが、例えば第1カメラと第2カメラが一体となった市販のステレオカメラなどを利用する場合には、このようなカメラの幾何学的パラメータが予め調整されており、内部校正作業は不要である。The position information registered in the reference table is not limited to the set of two pixel coordinates as shown in FIG. 7. As shown in FIG. 8, for example, the position information is calculated from the pixel positions (u 1i , v 1i ) in the image taken by the first camera, the image taken by the first camera, and the image taken by the second camera based on the principle of triangulation. distance information may be a set of a (d i) that is. Alternatively, the position information may be three-dimensional position coordinates in the camera coordinate system calculated based on the principle of triangulation from the image taken by the first camera and the image taken by the second camera. In these cases, it is necessary to know the distance between the centers of the first camera and the second camera (base line length) and the epipolar line in the image. For example, a commercially available stereo camera in which the first camera and the second camera are integrated, etc. When using, the geometric parameters of such a camera are adjusted in advance, and no internal calibration work is required.

参照表に登録する姿勢パラメータの一例はロボットの関節変数である。関節変数は、図7に示したような関節角度の組には限定されない。姿勢パラメータとして関節変数を用いる場合は、回転関節では関節角度(リンク間角度)、直動関節ではリンク間距離を関節変数として、ロボットを構成する関節の種類に応じた関節変数を組み合わせる。 An example of posture parameters registered in the reference table is a robot joint variable. The joint variables are not limited to the set of joint angles as shown in FIG. When joint variables are used as posture parameters, the joint angles (inter-link angles) for rotary joints and the inter-link distances for linear motion joints are used as joint variables, and joint variables according to the types of joints that make up the robot are combined.

関節変数を参照表に登録する場合は、図1のように、キャリブレーション時の標識の位置とハンドの把持位置が一致していることが好ましい。標識の位置情報と、その標識を実際に把持した状態での関節変数を関連付けて、参照表に登録できるからである。この場合、作業時に、対象物の位置情報から参照表を検索して得られる関節変数をロボットに指示すれば、対象物を把持するための目標位置にハンドを移動できる。さらに、重力によるアームの撓み等がある場合でも、参照表に登録された位置情報と関節変数には撓み等の影響がすでに織り込まれており、作業時に特段の考慮は不要である。 When registering the joint variables in the reference table, it is preferable that the position of the marker at the time of calibration and the gripping position of the hand match as shown in FIG. This is because the position information of the sign and the joint variable in the state where the sign is actually grasped can be associated and registered in the reference table. In this case, if the robot is instructed at the joint variable obtained by searching the reference table from the position information of the object during the work, the hand can be moved to the target position for grasping the object. Furthermore, even if there is bending of the arm due to gravity, the influence of bending etc. is already incorporated in the position information and joint variables registered in the reference table, so no special consideration is required during work.

これに対して、キャリブレーション時の標識の位置とハンドの把持位置が一致していない場合、例えば標識をハンドの側面等の把持位置と異なる部分に固定した場合は、標識の位置情報を求めたときの関節変数をそのまま参照表に登録することができない。その関節変数はその標識の位置に対応していないからである。言い換えると、標識の位置情報を求めたときの関節変数をロボットに指示しても、ハンドはその標識の位置にある対象物を把持できない。この場合は、標識の位置情報を求めたときの関節変数から一旦標識の三次元位置座標を求め、ロボットの設計データを基に標識位置に対応する関節変数へ変換して、参照表に登録することができる。その際、作業場にある障害物を回避するための幾何学的な拘束条件等を考慮して関節変数を求めることができる。 On the other hand, when the position of the sign at the time of calibration and the gripping position of the hand do not match, for example, when the sign is fixed to a part different from the gripping position such as the side surface of the hand, the position information of the sign is obtained. The joint variable of the time cannot be registered in the reference table as it is. This is because the joint variable does not correspond to the position of the marker. In other words, even if the robot is instructed on the joint variable when the position information of the sign is obtained, the hand cannot grasp the object at the position of the sign. In this case, the three-dimensional position coordinates of the sign are once obtained from the joint variable when the position information of the sign is obtained, converted to the joint variable corresponding to the sign position based on the design data of the robot, and registered in the reference table. be able to. At that time, the joint variables can be obtained in consideration of geometrical restraint conditions for avoiding obstacles in the workplace.

参照表に登録する姿勢パラメータの他の例は、標識のロボット座標系における三次元位置座標である。ロボット座標系は、キャリブレーションと作業工程を通して変動しない座標系であればよい。好適には、ロボットのベース25を基準とする座標系を用いることができる。ロボット座標系は直交座標系であっても極座標系であってもよい。一例として、図9に、ロボット座標系における標識位置の直交座標(Rx,Ry,Rz)を姿勢パラメータとする参照表を示す。姿勢パラメータを標識の三次元位置座標で表すことには、パラメータの数が少なくてすむというメリットがある。Another example of the attitude parameter registered in the reference table is the three-dimensional position coordinates in the robot coordinate system of the marker. The robot coordinate system may be a coordinate system that does not fluctuate throughout the calibration and work process. Preferably, a coordinate system with reference to the base 25 of the robot can be used. The robot coordinate system may be a Cartesian coordinate system or a polar coordinate system. As an example, FIG. 9 shows a reference table in which the Cartesian coordinates (Rx i , Ry i , Rz i ) of the marker position in the robot coordinate system are used as posture parameters. Representing the attitude parameters with the three-dimensional position coordinates of the sign has the advantage that the number of parameters can be reduced.

標識の三次元位置座標は、標識位置がハンドの把持位置と一致していても一致していなくても、標識がロボットに固定されている限り、そのときの関節変数から算出することができる。標識の三次元位置座標は、例えば、制御装置の第1通信部がロボットから受信した関節変数と標識の固定位置情報とを基に演算部が算出できる。標識の固定位置情報は、例えば、標識を固定したアームのローカル座標系で表した標識の相対座標であればよい。作業時には、対象物の位置情報から参照表を検索して、当該位置の三次元位置座標を取得し、制御装置の演算部または演算機能を有するロボットの駆動部が当該三次元座標位置にハンドを移動させるための関節変数を算出することができる。 The three-dimensional position coordinates of the sign can be calculated from the joint variables at that time as long as the sign is fixed to the robot, regardless of whether the sign position matches or does not match the gripping position of the hand. The three-dimensional position coordinates of the sign can be calculated by the calculation unit based on, for example, the joint variable received from the robot by the first communication unit of the control device and the fixed position information of the sign. The fixed position information of the sign may be, for example, the relative coordinates of the sign represented by the local coordinate system of the arm on which the sign is fixed. At the time of work, the reference table is searched from the position information of the object, the three-dimensional position coordinates of the position are acquired, and the calculation unit of the control device or the drive unit of the robot having the calculation function moves the hand to the three-dimensional coordinate position. The joint variables to be moved can be calculated.

参照表には、作業空間内のできるだけ多くの点が登録されていることが好ましい。作業工程において参照表に対象物を含むレコードを発見する確率が上がり、時間短縮になるからである。例えば、作業空間の大きさが1m立方で、カメラ画像の作業空間内の空間解像度が1mmの場合、10個のレコードで、作業空間に含まれる1mm間隔の格子点を網羅することができる。参照表に登録する点の密度は、画像の空間解像度と同じピッチの立方格子の格子点の密度の、好ましくは512分の1以上、さらに好ましくは64分の1以上であり、特に好ましくは8分の1以上である。参照表に登録する点は、最も好ましくは、画像の空間解像度と同じピッチの立方格子の格子点をすべて含む。It is preferable that as many points in the workspace as possible are registered in the reference table. This is because the probability of finding a record containing an object in the reference table in the work process increases, and the time is shortened. For example, the size is 1m cubic work space, if the spatial resolution in the working space of the camera image of 1mm, can be at 10 nine records, covering the lattice points of 1mm intervals included in the working space. The density of the points registered in the reference table is preferably 1/512 or more, more preferably 1/64 or more, and particularly preferably 1/64 or more of the density of the lattice points of the cubic lattice having the same pitch as the spatial resolution of the image. It is more than one-third. The points registered in the reference table most preferably include all the lattice points of the cubic lattice having the same pitch as the spatial resolution of the image.

また、参照表に登録する点の分布は、作業空間のうちハンドの移動頻度が高い領域は密に、低い領域は疎にしてもよい。これにより、キャリブレーション工程の所要時間を短縮しながら、作業工程において参照表に対象物の位置情報を発見する確率を過度に低下させないからである。 In addition, the distribution of points registered in the reference table may be dense in the areas of the work space where the hand moves frequently, and may be sparse in the areas where the hand moves frequently. This is because the time required for the calibration process is shortened, and the probability of finding the position information of the object in the reference table in the work process is not excessively reduced.

また、参照表に登録する点の分布は、カメラレンズの画角が広いことなどにより画像上の作業空間が歪む場合には、歪の大きい領域は密に、そうでない領域は疎にしてもよい。具体的には、参照表に登録する点は、参照表にない点の姿勢パラメータを推定する際に、近接する2点から直線補間できる程度に高密度に登録されていることが好ましい。画像上の作業空間が歪んでいても、簡易な計算で姿勢パラメータを推定できるからである。 In addition, the distribution of points registered in the reference table may be such that when the work space on the image is distorted due to the wide angle of view of the camera lens, the areas with large distortion may be dense, and the areas where the distortion is not large may be sparse. .. Specifically, it is preferable that the points registered in the reference table are registered at such a high density that linear interpolation can be performed from two adjacent points when estimating the attitude parameters of points not in the reference table. This is because the posture parameters can be estimated by a simple calculation even if the work space on the image is distorted.

本実施形態では、実際のカメラおよびロボットを用いてキャリブレーションを行うので、システム製作時の加工・取り付け等による誤差の影響を受けない。また、世界座標など他の座標系を介することがなく、カメラの内部および外部パラメータやロボットの設置位置・向き等を計測する必要がないので、キャリブレーション作業の省力化を図ることができるし、装置の選択や設置の自由度が大きい。例えば、画角の大きいカメラを用いて、より広い範囲をカバーすることができる。 In this embodiment, since calibration is performed using an actual camera and robot, it is not affected by errors due to processing, mounting, etc. at the time of system production. In addition, since it is not necessary to measure the internal and external parameters of the camera, the installation position and orientation of the robot, etc. without going through other coordinate systems such as world coordinates, it is possible to save labor in calibration work. Great degree of freedom in device selection and installation. For example, a camera with a large angle of view can be used to cover a wider range.

本実施形態では、参照表を利用してハンドを移動させるので、ハンドが一度訪れた点には、二度目以降も確実に到達することができる。また、レンズ歪等による不規則な誤差要因があっても、その影響を受けない。例えばレンズ歪について、変換行列等を利用して座標変換を行う場合は、歪曲収差係数等を用いたとしても、モデル化された樽形歪、糸巻形歪等に対して補正できるだけで、不規則な歪の影響を完全には排除できない。参照表を利用することにより、より安価なレンズ系を備えたカメラを採用することができる。 In the present embodiment, since the hand is moved by using the reference table, the point where the hand has visited once can be surely reached even after the second time. Further, even if there is an irregular error factor due to lens distortion or the like, it is not affected by it. For example, when performing coordinate conversion using a transformation matrix or the like for lens distortion, even if the distortion aberration coefficient or the like is used, it can only be corrected for the modeled barrel distortion, thread winding distortion, etc., and is irregular. The effects of such distortion cannot be completely eliminated. By using the reference table, it is possible to adopt a camera equipped with a cheaper lens system.

次に、本発明の第2実施形態を図10〜図12に基づいて説明する。本実施形態は、鏡を利用し、1台のカメラで、ロボットの作業空間の直接像および鏡による反射像を撮像する。 Next, the second embodiment of the present invention will be described with reference to FIGS. 10 to 12. In this embodiment, a mirror is used, and one camera captures a direct image of the robot's work space and a reflected image by the mirror.

図10において、本実施形態のロボットシステム11は、多関節ロボット20と、鏡38と、ロボットの作業空間の直接像および鏡による反射像を撮像する1台のカメラ32と、制御装置40とを有する。 In FIG. 10, the robot system 11 of the present embodiment includes an articulated robot 20, a mirror 38, a camera 32 that captures a direct image of the robot's work space and a reflection image by the mirror, and a control device 40. Have.

ロボット20は第1実施形態と同じである。カメラ32は、第1実施形態の第1カメラ30または第2カメラ31と同じものを用いることができる。カメラ32および鏡38は、ロボットの作業空間の直接像および鏡による反射像を撮像可能に設置される。図10はキャリブレーション時の様子を示しており、ロボットはハンド24に標識50を把持している。 The robot 20 is the same as that of the first embodiment. As the camera 32, the same camera as the first camera 30 or the second camera 31 of the first embodiment can be used. The camera 32 and the mirror 38 are installed so as to be able to capture a direct image of the robot's work space and a reflected image by the mirror. FIG. 10 shows the state at the time of calibration, and the robot holds the sign 50 on the hand 24.

制御装置40の構成は図2と同じであるが、ただし、演算部の機能が異なる。図11に示すように、キャリブレーション時に第2通信部42がカメラ32から受信する画像には、標識50の直接像と鏡38による反射像が写り込んでいる。演算部43は、1枚の画像を処理して、キャリブレーション時には標識50を、作業時には対象物の直接像および反射像を画像中に認識して、標識または対象物の位置情報を算出する。その他は第1実施形態と同様である。 The configuration of the control device 40 is the same as that in FIG. 2, but the function of the calculation unit is different. As shown in FIG. 11, the direct image of the sign 50 and the reflected image by the mirror 38 are reflected in the image received from the camera 32 by the second communication unit 42 at the time of calibration. The calculation unit 43 processes one image, recognizes the sign 50 at the time of calibration, and recognizes the direct image and the reflected image of the object in the image at the time of work, and calculates the position information of the sign or the object. Others are the same as those in the first embodiment.

図12に参照表の例を示す。この参照表の各レコードには、標識の直接像の画像中の画素位置としての座標(udi,vdi)、反射像の画像中の画素位置としての座標(u ,vmi)、6自由度のロボットにおける姿勢パラメータとしての6つの関節変数(θ 1i,θ2i,θ3i,θ4i,θ5i,θ6i)が含まれている。 FIG. 12 shows an example of a reference table. Each record in this reference table has coordinates (u) as pixel positions in the image of the direct image of the marker.di, Vdi), Coordinates as pixel positions in the reflected image (u)m i, Vmi), 6 joint variables (θ) as posture parameters in a robot with 6 degrees of freedom 1i, Θ2i, Θ3i, Θ4i, Θ5i, Θ6i)It is included.

次に、本発明の第3実施形態を図13および図14に基づいて説明する。本実施形態は、1台のTOFカメラで、ロボットの作業空間を撮像する。 Next, a third embodiment of the present invention will be described with reference to FIGS. 13 and 14. In this embodiment, one TOF camera captures the working space of the robot.

図13において、本実施形態のロボットシステム12は、多関節ロボット20と、ロボットの作業空間を撮像する1台のTOFカメラ33と、制御装置40とを有する。図13はキャリブレーション時の様子を示しており、ロボットはハンド24に標識50を把持している。 In FIG. 13, the robot system 12 of the present embodiment includes an articulated robot 20, a TOF camera 33 that captures an image of the robot's work space, and a control device 40. FIG. 13 shows the state at the time of calibration, and the robot holds the sign 50 on the hand 24.

ロボット20は第1実施形態と同じである。TOFカメラ33は、光飛行時間(Time Of Flight:TOF)方式による距離画像生成カメラで、二次元画像とともにカメラから各画素に写った点までの距離が記録された距離画像を撮像する。 The robot 20 is the same as that of the first embodiment. The TOF camera 33 is a distance image generation camera based on the time-of-flight (TOF) method, and captures a two-dimensional image as well as a distance image in which the distance from the camera to a point captured by each pixel is recorded.

制御装置40の構成は図2と同じであるが、ただし、演算部の機能が異なる。演算部43は、第2通信部42がTOFカメラ33から受信した二次元画像および距離画像を処理して、キャリブレーション時には標識50を、作業時には対象物を画像中に認識して、標識または対象物の位置情報を取得する。その他は第1実施形態と同様である。 The configuration of the control device 40 is the same as that in FIG. 2, but the function of the calculation unit is different. The calculation unit 43 processes the two-dimensional image and the distance image received from the TOF camera 33 by the second communication unit 42, recognizes the sign 50 at the time of calibration, and recognizes the object in the image at the time of work, and recognizes the sign or the target in the image. Get the position information of an object. Others are the same as those in the first embodiment.

図14に参照表の例を示す。この参照表の各レコードは、標識の二次元画像および距離画像中の座標(Cx,Cy,Cd)、6自由度のロボットにおける姿勢パラメータとしての6つの関節変数(θ1i,θ2i,θ3i,θ4i,θ5i,θ6i)を含む。FIG. 14 shows an example of a reference table. Each record in this lookup table, the coordinates in the labeling of the two-dimensional image and the distance image (Cx i, Cy i, Cd i), 6 as orientation parameter in the six degrees of freedom robotic one joint variables (θ 1i, θ 2i , Θ 3i , θ 4i , θ 5i , θ 6i ).

次に、本発明の第4実施形態を図15〜図17に基づいて説明する。本実施形態は、1台のカメラで、ロボットの作業空間を撮像し、画像中の標識の座標と、カメラから標識までの距離によって変化する特徴量との組を位置情報とする。具体的には、画像中の標識の面積を特徴量とする。 Next, a fourth embodiment of the present invention will be described with reference to FIGS. 15 to 17. In this embodiment, the work space of the robot is imaged by one camera, and the set of the coordinates of the sign in the image and the feature amount that changes depending on the distance from the camera to the sign is used as the position information. Specifically, the area of the sign in the image is used as the feature amount.

図15において、本実施形態のロボットシステム13は、多関節ロボット20と、ロボットの作業空間を撮像する1台のカメラ34と、制御装置40とを有する。ロボット20は第1実施形態と同じである。カメラ34は、第1実施形態の第1カメラ30または第2カメラ31と同じものを用いることができる。 In FIG. 15, the robot system 13 of the present embodiment includes an articulated robot 20, a camera 34 that captures a working space of the robot, and a control device 40. The robot 20 is the same as that of the first embodiment. As the camera 34, the same camera as the first camera 30 or the second camera 31 of the first embodiment can be used.

制御装置40の構成は図2と同じであるが、ただし、演算部の機能が異なる。演算部43はキャリブレーション時には、カメラ34から第2通信部で受信した1枚の画像(図16)を処理して、キャリブレーション時には標識50を画像中に認識して、画像中の標識の面積(Smi)を算出する。また、少なくとも1つの位置で、画像中の対象物の面積(Swi)と標識の面積(Smi)との比を別途算出しておく。演算部43は作業時には、対象物を画像中に認識して、画像中の対象物の面積(Swi)を算出し、さらに標識50の面積(Smi)に換算する。そして演算部は、対象物の画像中の画素位置と、当該位置に標識があったと仮定したときの画像中の標識の面積との組を対象物の位置情報として、参照表を検索する。The configuration of the control device 40 is the same as that in FIG. 2, but the function of the calculation unit is different. At the time of calibration, the calculation unit 43 processes one image (FIG. 16) received from the camera 34 by the second communication unit, recognizes the sign 50 in the image at the time of calibration, and determines the area of the sign in the image. (S mi ) is calculated. In addition, the ratio of the area of the object (S wi ) and the area of the sign (S mi ) in the image is separately calculated at at least one position. At the time of work, the calculation unit 43 recognizes the object in the image , calculates the area (S wi ) of the object in the image, and further converts it into the area (S mi) of the sign 50. Then, the calculation unit searches the reference table using the set of the pixel position in the image of the object and the area of the sign in the image when it is assumed that the mark is present at the position as the position information of the object.

図17に参照表の例を示す。この参照表の各レコードは、画像中の画素位置としての座標(u,v)、画像中の標識の面積(Smi)、6自由度のロボットにおける姿勢パラメータとしての6つの関節変数(θ1i,θ2i,θ3i,θ4i,θ5i,θ6i)からなる。FIG. 17 shows an example of a reference table. Each record in this lookup table, the coordinates of the pixel position in the image (u i, v i), labeling of the area in the image (S mi), 6 6 one joint variables as orientation parameter in the degree of freedom of the robot ( It consists of θ 1i , θ 2i , θ 3i , θ 4i , θ 5i , and θ 6i).

次に、本発明の第5実施形態を図18に基づいて説明する。本実施形態では、2台の多関節ロボットと6台のカメラを用いる。本実施形態は、第1実施形態のロボットシステムを複数組み合わせたものと考えることができる。 Next, a fifth embodiment of the present invention will be described with reference to FIG. In this embodiment, two articulated robots and six cameras are used. The present embodiment can be considered as a combination of a plurality of robot systems of the first embodiment.

図18に示すロボットシステム14では、1台の制御装置40に、2台の多関節ロボット60、61と6台のカメラ70〜75が接続されている。カメラ70およびカメラ71は画角の広いレンズを備え、ロボット60およびロボット61の両方の作業空間を撮像可能である。カメラ72およびカメラ73は画角の狭いレンズを備え、一方のロボット60の作業空間を高い空間解像度で撮像可能である。カメラ74およびカメラ75は画角の狭いレンズを備え、他方のロボット61の作業空間を高い空間解像度で撮像可能である。 In the robot system 14 shown in FIG. 18, two articulated robots 60 and 61 and six cameras 70 to 75 are connected to one control device 40. The camera 70 and the camera 71 are provided with a lens having a wide angle of view, and can image the work spaces of both the robot 60 and the robot 61. The camera 72 and the camera 73 are provided with a lens having a narrow angle of view, and can image the work space of one of the robots 60 with high spatial resolution. The camera 74 and the camera 75 are provided with a lens having a narrow angle of view, and can image the work space of the other robot 61 with high spatial resolution.

制御装置40は、次の組み合わせからなるレコードで構成された4つの参照表を作成、記憶する。
・参照表A:カメラ70、71による位置情報−ロボット60の姿勢パラメータ
・参照表B:カメラ70、71による位置情報−ロボット61の姿勢パラメータ
・参照表C:カメラ72、73による位置情報−ロボット60の姿勢パラメータ
・参照表D:カメラ74、75による位置情報−ロボット61の姿勢パラメータ
The control device 40 creates and stores four reference tables composed of records composed of the following combinations.
-Reference table A: Position information by cameras 70 and 71-Attitude parameters of robot 60-Reference table B: Position information by cameras 70 and 71-Attitude parameters of robot 61-Reference table C: Position information by cameras 72 and 73-Robot Attitude parameters of 60 ・ Reference table D: Position information by cameras 74 and 75-Attitude parameters of robot 61

これにより、ロボット60のハンド移動は、大まかな移動は参照表Aを利用して、精密な位置制御が必要な領域では参照表Cを利用して行うことができる。同様に、ロボット61のハンド移動は、大まかな移動は参照表Bを利用して、精密な位置制御が必要な領域では参照表Dを利用して行うことができる。 As a result, the hand movement of the robot 60 can be performed by using the reference table A for rough movement and by using the reference table C in the area where precise position control is required. Similarly, the hand movement of the robot 61 can be performed by using the reference table B for rough movement and by using the reference table D in the area where precise position control is required.

本発明は上記の実施形態に限られるものではなく、その技術的思想の範囲内で種々の変形が可能である。 The present invention is not limited to the above-described embodiment, and various modifications can be made within the scope of its technical idea.

例えば、上記第5実施形態は第1実施形態のロボットシステムを複数組み合わせたが、これには限られず、第1〜第4実施形態を自由に組み合わせることができる。 For example, the fifth embodiment combines a plurality of robot systems of the first embodiment, but the present invention is not limited to this, and the first to fourth embodiments can be freely combined.

10〜14 ロボットシステム
20 多関節ロボット
21 アーム
22 リンク
23 関節
24 ハンド
25 ベース
26 駆動部
30 第1カメラ
31 第2カメラ
32、34 カメラ
33 TOFカメラ
38 鏡
40 ロボットシステム制御装置(制御装置)
41 第1通信部(ロボットとのインターフェイス)
42 第2通信部(カメラとのインターフェイス)
43 演算部
44 記憶部
45 第3通信部(入出力装置とのインターフェイス)
46 入力装置
47 出力装置
50 標識
60、61 多関節ロボット
70〜75 カメラ
10-14 Robot system 20 Articulated robot 21 Arm 22 Link 23 Joint 24 Hand 25 Base 26 Drive unit 30 1st camera 31 2nd camera 32, 34 Camera 33 TOF camera 38 Mirror 40 Robot system control device (control device)
41 First communication unit (interface with robot)
42 Second communication unit (interface with camera)
43 Calculation unit 44 Storage unit 45 Third communication unit (interface with input / output device)
46 Input device 47 Output device 50 Sign 60, 61 Articulated robot 70-75 Camera

Claims (28)

多関節ロボットと、
前記ロボットの作業空間を撮像する1台以上のカメラと、
制御装置とを有し、
前記制御装置は、キャリブレーション時において、
前記ロボットの姿勢パラメータを取得し、
前記カメラから画像を取得し、該画像中に前記ロボットに固定された標識を認識して該標識の位置情報を算出し、
前記標識の位置情報と前記ロボットの姿勢パラメータとを関連付けた参照表を作成して記憶し、
前記制御装置は、作業時において、
前記カメラから画像を取得し、該画像中に対象物を認識して該対象物の位置情報を算出し、
前記対象物の位置情報から、前記参照表を参照して、前記ロボットのハンドを該対象物まで移動させるための前記姿勢パラメータを取得し、
取得した前記姿勢パラメータを前記ロボットに送信する、
ロボットシステム。
With articulated robots
One or more cameras that image the work space of the robot,
Has a control device
The control device is used at the time of calibration.
Acquire the posture parameters of the robot and
An image is acquired from the camera, a sign fixed to the robot is recognized in the image, and the position information of the sign is calculated.
A reference table in which the position information of the sign and the posture parameter of the robot are associated with each other is created and stored, and stored.
The control device is used during work.
An image is acquired from the camera, an object is recognized in the image, and the position information of the object is calculated.
From the position information of the object, the posture parameter for moving the hand of the robot to the object is acquired by referring to the reference table.
The acquired posture parameter is transmitted to the robot.
Robot system.
前記ロボットシステムは第1カメラおよび第2カメラを有し、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記第1カメラによる画像中の画素位置と前記第2カメラによる画像中の画素位置との組である、
請求項1に記載のロボットシステム。
The robot system has a first camera and a second camera.
The position information of the sign and the position information of the object are a set of the pixel position of the sign or the object in the image taken by the first camera and the pixel position in the image taken by the second camera, respectively.
The robot system according to claim 1.
前記ロボットシステムは第1カメラおよび第2カメラを有し、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記第1カメラによる画像中の画素位置と、前記第1カメラによる画像と前記第2カメラによる画像から三角測量の原理に基づいて算出された距離情報との組である、
請求項1に記載のロボットシステム。
The robot system has a first camera and a second camera.
The position information of the sign and the position information of the object are triangular from the pixel positions of the sign or the object in the image taken by the first camera, the image taken by the first camera, and the image taken by the second camera, respectively. It is a set with distance information calculated based on the principle of surveying,
The robot system according to claim 1.
前記ロボットシステムは第1カメラおよび第2カメラを有し、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記第1カメラによる画像と前記第2カメラによる画像から三角測量の原理に基づいて算出されたカメラ座標系における三次元位置座標である、
請求項1に記載のロボットシステム。
The robot system has a first camera and a second camera.
A camera coordinate system in which the position information of the sign and the position information of the object are calculated from the image of the sign or the object by the first camera and the image by the second camera, respectively, based on the principle of triangulation. Is the three-dimensional position coordinates in
The robot system according to claim 1.
前記ロボットシステムは、前記カメラの画角内にあって、該カメラから見たときに前記作業空間が映り込むように配置された鏡をさらに有し、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記カメラによる画像中の直接像の画素位置と前記鏡による反射像の画素位置との組である、
請求項1に記載のロボットシステム。
The robot system further includes a mirror that is within the angle of view of the camera and is arranged so that the work space is reflected when viewed from the camera.
The position information of the sign and the position information of the object are a set of a pixel position of a direct image of the sign or the object in an image taken by the camera and a pixel position of a reflected image taken by the mirror, respectively.
The robot system according to claim 1.
前記カメラが距離画像カメラであって、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記距離画像カメラによる距離画像中の画素位置と距離情報との組である、
請求項1に記載のロボットシステム。
The camera is a distance image camera
The position information of the sign and the position information of the object are a set of the pixel position and the distance information of the sign or the object in the distance image by the distance image camera, respectively.
The robot system according to claim 1.
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の前記カメラによる画像中の画素位置と、前記標識が当該位置にあるときの前記画像中の面積との組である、
請求項1に記載のロボットシステム。
The position information of the sign and the position information of the object are a set of a pixel position in the image of the sign or the object by the camera and an area in the image when the sign is in the position, respectively. is there,
The robot system according to claim 1.
前記姿勢パラメータが、前記ロボットの関節変数の組である、
請求項1〜7のいずれか一項に記載のロボットシステム。
The posture parameter is a set of joint variables of the robot.
The robot system according to any one of claims 1 to 7.
前記姿勢パラメータが、前記標識または前記対象物のロボット座標系における三次元位置座標である、
請求項1〜7のいずれか一項に記載のロボットシステム。
The attitude parameter is a three-dimensional position coordinate in the robot coordinate system of the sign or the object.
The robot system according to any one of claims 1 to 7.
多関節ロボットのキャリブレーション時において、
前記ロボットの姿勢パラメータを取得し、
前記ロボットの作業空間を撮像する1台以上のカメラから該ロボットに固定された標識が写った画像を取得し、該画像中に該標識を認識して該標識の位置情報を算出し、
前記標識の位置情報と前記ロボットの姿勢パラメータとを関連付けた参照表を作成して記憶する、
ロボットシステム制御装置。
When calibrating an articulated robot
Acquire the posture parameters of the robot and
An image showing a sign fixed to the robot is acquired from one or more cameras that image the work space of the robot, the sign is recognized in the image, and the position information of the sign is calculated.
Create and store a reference table that associates the position information of the sign with the posture parameter of the robot.
Robot system control device.
前記ロボットの作業時において、
前記カメラから画像を取得し、該画像中に対象物を認識して該対象物の位置情報を算出し、
前記対象物の位置情報から、前記参照表を参照して、前記ロボットのハンドを該対象物まで移動させるための前記姿勢パラメータを取得し、
取得した前記姿勢パラメータを前記ロボットに送信する、
請求項10に記載のロボットシステム制御装置。
During the work of the robot
An image is acquired from the camera, an object is recognized in the image, and the position information of the object is calculated.
From the position information of the object, the posture parameter for moving the hand of the robot to the object is acquired by referring to the reference table.
The acquired posture parameter is transmitted to the robot.
The robot system control device according to claim 10.
前記ロボットシステム制御装置は第1カメラおよび第2カメラから画像を取得し、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、第1カメラによる画像中の画素位置と第2カメラによる画像中の画素位置との組である、
請求項11に記載のロボットシステム制御装置。
The robot system control device acquires images from the first camera and the second camera, and obtains images.
The position information of the sign and the position information of the object are a set of the pixel position in the image taken by the first camera and the pixel position in the image taken by the second camera of the sign or the object, respectively.
The robot system control device according to claim 11.
前記ロボットシステム制御装置は第1カメラおよび第2カメラから画像を取得し、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、第1カメラによる画像中の画素位置と、第1カメラによる画像と第2カメラによる画像から三角測量の原理に基づいて算出された距離情報との組である、
請求項11に記載のロボットシステム制御装置。
The robot system control device acquires images from the first camera and the second camera, and obtains images.
The position information of the sign and the position information of the object are the principle of triangulation from the pixel position in the image of the sign or the object, the image of the first camera, and the image of the second camera, respectively. It is a set with the distance information calculated based on,
The robot system control device according to claim 11.
前記ロボットシステム制御装置は第1カメラおよび第2カメラから画像を取得し、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、第1カメラによる画像と第2カメラによる画像から三角測量の原理に基づいて算出されたカメラ座標系における三次元位置座標である、
請求項11に記載のロボットシステム制御装置。
The robot system control device acquires images from the first camera and the second camera, and obtains images.
The position information of the sign and the position information of the object are cubic in the camera coordinate system calculated based on the principle of triangulation from the image taken by the first camera and the image taken by the second camera of the sign or the object, respectively. Original position coordinates,
The robot system control device according to claim 11.
前記カメラは、前記作業空間の直接像および鏡による反射像を1枚の画像に撮像し、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記カメラによる画像中の直接像の画素位置と前記鏡による反射像の画素位置との組である、
請求項11に記載のロボットシステム制御装置。
The camera captures a direct image of the work space and a reflected image by a mirror into one image.
The position information of the sign and the position information of the object are a set of a pixel position of a direct image of the sign or the object in an image taken by the camera and a pixel position of a reflected image taken by the mirror, respectively.
The robot system control device according to claim 11.
前記カメラが距離画像カメラであって、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記距離画像カメラによる画像中の画素位置と距離情報との組である、
請求項11に記載のロボットシステム制御装置。
The camera is a distance image camera
The position information of the sign and the position information of the object are a set of the pixel position and the distance information of the sign or the object in the image taken by the distance image camera, respectively.
The robot system control device according to claim 11.
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の前記カメラによる画像中の画素位置と、前記標識が当該位置にあるときの前記画像中の面積との組である、
請求項11に記載のロボットシステム制御装置。
The position information of the sign and the position information of the object are a set of a pixel position in the image of the sign or the object by the camera and an area in the image when the sign is in the position, respectively. is there,
The robot system control device according to claim 11.
前記姿勢パラメータが、前記ロボットの関節変数の組である、
請求項11〜17のいずれか一項に記載のロボットシステム制御装置。
The posture parameter is a set of joint variables of the robot.
The robot system control device according to any one of claims 11 to 17.
前記姿勢パラメータが、前記標識または前記対象物のロボット座標系における三次元位置座標である、
請求項11〜17のいずれか一項に記載のロボットシステム制御装置。
The attitude parameter is a three-dimensional position coordinate in the robot coordinate system of the sign or the object.
The robot system control device according to any one of claims 11 to 17.
標識が固定された多関節ロボットを動作させて前記標識を移動させながら、
前記ロボットの作業空間を1台以上のカメラで撮像し、該カメラで撮像した画像中に前記標識を認識して該標識の位置情報を算出し、前記標識の位置情報と当該撮像時における前記ロボットの姿勢パラメータとを関連付けて、参照表に順次登録するキャリブレーション工程と、
対象物が存在する作業空間を前記カメラで撮像し、
前記カメラで撮像した画像中に前記対象物を認識して該対象物の位置情報を算出し、前記対象物の位置情報から、前記参照表を参照して、前記ロボットのハンドを該対象物まで移動させるための前記姿勢パラメータを取得し、
取得した前記姿勢パラメータを該ロボットに送信する作業工程と、
を有するロボットシステム制御方法。
While operating an articulated robot with a fixed sign to move the sign,
The work space of the robot is imaged by one or more cameras, the sign is recognized in the image captured by the cameras, the position information of the sign is calculated, and the position information of the sign and the robot at the time of the imaging are calculated. The calibration process, which is associated with the posture parameters of the camera and is sequentially registered in the reference table,
The work space where the object exists is imaged by the camera.
The object is recognized in the image captured by the camera, the position information of the object is calculated, and the robot's hand is moved to the object from the position information of the object by referring to the reference table. Acquire the above-mentioned posture parameter for moving, and
A work process of transmitting the acquired posture parameters to the robot, and
Robot system control method having.
前記1台以上のカメラは第1カメラおよび第2カメラであり、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、第1カメラによる画像中の画素位置と第2カメラによる画像中の画素位置との組である、
請求項20に記載のロボットシステム制御方法。
The one or more cameras are the first camera and the second camera.
The position information of the sign and the position information of the object are a set of the pixel position in the image taken by the first camera and the pixel position in the image taken by the second camera of the sign or the object, respectively.
The robot system control method according to claim 20.
前記1台以上のカメラは第1カメラおよび第2カメラであり、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、第1カメラによる画像中の画素位置と、第1カメラによる画像と第2カメラによる画像から三角測量の原理に基づいて算出された距離情報との組である、
請求項20に記載のロボットシステム制御方法。
The one or more cameras are the first camera and the second camera.
The position information of the sign and the position information of the object are the principle of triangulation from the pixel position in the image of the sign or the object, the image of the first camera, and the image of the second camera, respectively. It is a set with the distance information calculated based on,
The robot system control method according to claim 20.
前記1台以上のカメラは第1カメラおよび第2カメラであり、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、第1カメラによる画像と第2カメラによる画像から三角測量の原理に基づいて算出されたカメラ座標系における三次元位置座標である、
請求項20に記載のロボットシステム制御方法。
The one or more cameras are the first camera and the second camera.
The position information of the sign and the position information of the object are cubic in the camera coordinate system calculated based on the principle of triangulation from the image taken by the first camera and the image taken by the second camera of the sign or the object, respectively. Original position coordinates,
The robot system control method according to claim 20.
前記カメラは、前記作業空間と該作業空間が映り込むように配置された鏡とを1枚の画像内に撮像し、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記カメラによる画像中の直接像の画素位置と前記鏡による反射像の画素位置との組である、
請求項20に記載のロボットシステム制御方法。
The camera captures the work space and a mirror arranged so as to reflect the work space in one image.
The position information of the sign and the position information of the object are a set of a pixel position of a direct image of the sign or the object in an image taken by the camera and a pixel position of a reflected image taken by the mirror, respectively.
The robot system control method according to claim 20.
前記カメラが距離画像カメラであって、
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の、前記距離画像カメラによる距離画像中の画素位置と距離情報との組である、
請求項20に記載のロボットシステム制御方法。
The camera is a distance image camera
The position information of the sign and the position information of the object are a set of the pixel position and the distance information of the sign or the object in the distance image by the distance image camera, respectively.
The robot system control method according to claim 20.
前記標識の位置情報および前記対象物の位置情報が、それぞれ前記標識または前記対象物の前記カメラによる画像中の画素位置と、前記標識が当該位置にあるときの前記画像中の面積との組である、
請求項20に記載のロボットシステム制御方法。
The position information of the sign and the position information of the object are a set of a pixel position in the image of the sign or the object by the camera and an area in the image when the sign is in the position, respectively. is there,
The robot system control method according to claim 20.
前記姿勢パラメータが、前記ロボットの関節変数の組である、
請求項20〜26のいずれか一項に記載のロボットシステム制御方法。
The posture parameter is a set of joint variables of the robot.
The robot system control method according to any one of claims 20 to 26.
前記姿勢パラメータが、前記標識または前記対象物のロボット座標系における三次元位置座標である、
請求項20〜26のいずれか一項に記載のロボットシステム制御方法。
The attitude parameter is a three-dimensional position coordinate in the robot coordinate system of the sign or the object.
The robot system control method according to any one of claims 20 to 26.
JP2018537323A 2016-09-02 2017-08-30 Robot system, robot system control device, and robot system control method Active JP6855491B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2016172015 2016-09-02
JP2016172015 2016-09-02
PCT/JP2017/031055 WO2018043524A1 (en) 2016-09-02 2017-08-30 Robot system, robot system control device, and robot system control method

Publications (2)

Publication Number Publication Date
JPWO2018043524A1 JPWO2018043524A1 (en) 2019-06-24
JP6855491B2 true JP6855491B2 (en) 2021-04-07

Family

ID=61301786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018537323A Active JP6855491B2 (en) 2016-09-02 2017-08-30 Robot system, robot system control device, and robot system control method

Country Status (2)

Country Link
JP (1) JP6855491B2 (en)
WO (1) WO2018043524A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI711910B (en) * 2018-03-19 2020-12-01 達明機器人股份有限公司 Method for calibrating eye-to-hand camera of robot arm
JP7070127B2 (en) * 2018-06-15 2022-05-18 オムロン株式会社 Robot control system
JP7172466B2 (en) * 2018-11-08 2022-11-16 株式会社Ihi Tool center point setting method and setting device
JP7269864B2 (en) * 2019-10-21 2023-05-09 株式会社アマダ Work photographed image processing device and work photographed image processing method
JP7323057B2 (en) * 2020-03-31 2023-08-08 日本電気株式会社 Control device, control method, and control program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0780790A (en) * 1993-09-16 1995-03-28 Fujitsu Ltd Three-dimensional object grasping system
JP3402021B2 (en) * 1995-11-07 2003-04-28 株式会社明電舎 Method for detecting relative position and orientation of robot device
JP2012223871A (en) * 2011-04-21 2012-11-15 Kawasaki Heavy Ind Ltd Origin correction method and system of robot joint
JP2012254518A (en) * 2011-05-16 2012-12-27 Seiko Epson Corp Robot control system, robot system and program
JP6429473B2 (en) * 2014-03-20 2018-11-28 キヤノン株式会社 Robot system, robot system calibration method, program, and computer-readable recording medium

Also Published As

Publication number Publication date
JPWO2018043524A1 (en) 2019-06-24
WO2018043524A1 (en) 2018-03-08

Similar Documents

Publication Publication Date Title
JP6855492B2 (en) Robot system, robot system control device, and robot system control method
JP6855491B2 (en) Robot system, robot system control device, and robot system control method
CN109153125B (en) Method for orienting an industrial robot and industrial robot
CN111127568B (en) Camera pose calibration method based on spatial point location information
JP6000579B2 (en) Information processing apparatus and information processing method
JP6222898B2 (en) Three-dimensional measuring device and robot device
JP6324025B2 (en) Information processing apparatus and information processing method
JP2005515910A (en) Method and apparatus for single camera 3D vision guide robotics
CN111278608B (en) Calibration article for 3D vision robot system
JP6489776B2 (en) Coordinate system calibration method, robot system, program, and recording medium
JP2005201824A (en) Measuring device
KR20140008262A (en) Robot system, robot, robot control device, robot control method, and robot control program
JP2004508954A (en) Positioning device and system
JP2010540933A (en) Local positioning system and method
CN110672049B (en) Method and system for determining the relation between a robot coordinate system and a workpiece coordinate system
JP6885856B2 (en) Robot system and calibration method
KR102094004B1 (en) Method for controlling a table tennis robot and a system therefor
JP6328796B2 (en) Manipulator control method, system, and manipulator
JP2016170050A (en) Position attitude measurement device, position attitude measurement method and computer program
TW202212081A (en) Calibration apparatus and calibration method for coordinate system of robotic arm
KR101972432B1 (en) A laser-vision sensor and calibration method thereof
JP6922348B2 (en) Information processing equipment, methods, and programs
JP7427370B2 (en) Imaging device, image processing device, image processing method, calibration method for imaging device, robot device, method for manufacturing articles using robot device, control program, and recording medium
KR101735325B1 (en) Apparatus for registration of cloud points
TW202112514A (en) Method and device and system for calibrating position and orientation of a motion manipulator

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20200210

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200619

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210317

R150 Certificate of patent or registration of utility model

Ref document number: 6855491

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250