JP7482364B2 - Robot-mounted mobile device and system - Google Patents

Robot-mounted mobile device and system Download PDF

Info

Publication number
JP7482364B2
JP7482364B2 JP2021526426A JP2021526426A JP7482364B2 JP 7482364 B2 JP7482364 B2 JP 7482364B2 JP 2021526426 A JP2021526426 A JP 2021526426A JP 2021526426 A JP2021526426 A JP 2021526426A JP 7482364 B2 JP7482364 B2 JP 7482364B2
Authority
JP
Japan
Prior art keywords
robot
camera
axis
posture
identification
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
JP2021526426A
Other languages
Japanese (ja)
Other versions
JP2022530589A (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.)
Skylla Technologies
Original Assignee
Skylla Technologies
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 Skylla Technologies filed Critical Skylla Technologies
Priority claimed from PCT/US2020/050073 external-priority patent/WO2021050646A1/en
Publication of JP2022530589A publication Critical patent/JP2022530589A/en
Application granted granted Critical
Publication of JP7482364B2 publication Critical patent/JP7482364B2/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/16Programme controls

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Manipulator (AREA)
  • Numerical Control (AREA)

Description

本開示は、工作機械に対して作業を行うロボット、ロボットを搭載し、工作機械に対して設定された作業位置に移動可能な移動装置、これらから構成されるシステム等に関する。 The present disclosure relates to a robot that performs work on a machine tool, a mobile device that is equipped with a robot and can move to a work position set for the machine tool, and a system composed of these.

従来、上述したシステムの一例として、特開2017-132002号公報(日本国特許出願公開公報、下記特許文献1)に開示されたシステムが知られている。このシステムでは、ロボットを搭載した無人搬送車が、工作機械に対して設定された作業位置に移動し、当該作業位置において、ロボットにより工作機械に対してワークの着脱等の作業が実行される。 One example of the above-mentioned system is disclosed in JP 2017-132002 A (Japanese Patent Application Publication No. 2017-132002, Patent Document 1 below). In this system, an automated guided vehicle equipped with a robot moves to a work position set for a machine tool, and at the work position, the robot performs work such as attaching and detaching a workpiece to the machine tool.

このようなシステムでは、無人搬送車によって移動する一台のロボットにより、複数の工作機械に対してワークの着脱等の作業を実施することができるので、工作機械に対してロボットを固定した状態で配設する場合に比べて、工作機械のレイアウトの自由度が増すため、工作機械のレイアウトをより生産効率を高めることが可能なレイアウトに設定することができる。また、ロボットを固定状態で配設した旧来のシステムに比べて、一台のロボットにより、より多くの工作機械に対して作業を行うことができるので、設備費用の低廉化を図ることができる。 In such a system, a single robot moved by an automated guided vehicle can perform tasks such as attaching and detaching workpieces to multiple machine tools, which allows for greater freedom in the layout of the machine tools compared to when the robot is fixedly installed relative to the machine tools, making it possible to set the layout of the machine tools in a way that can further increase production efficiency. Also, compared to older systems in which the robot was installed in a fixed state, a single robot can perform work on a larger number of machine tools, which allows for lower equipment costs.

その一方、無人搬送車は車輪を用いて自走する構造であるが故に、前記作業位置に停止するその位置決め精度は必ずしも高いものとは言えない。このため、ロボットが工作機械に対して正確な作業を行うためには、無人搬送車を前記作業位置へ位置決めした際のロボットの姿勢と、制御上の基準となる所謂ティーチング時に設定されたロボットの基準姿勢とを比較して、その誤差量を検出し、当該誤差量に応じてロボットの作業姿勢を補正する必要がある。 On the other hand, because an automated guided vehicle is structured to move on its own using wheels, the positioning accuracy with which it stops at the work position is not necessarily high. For this reason, in order for a robot to perform accurate work on a machine tool, it is necessary to compare the posture of the robot when the automated guided vehicle is positioned at the work position with the reference posture of the robot set during so-called teaching, which serves as a control standard, to detect the amount of error, and to correct the working posture of the robot according to the amount of error.

このようなロボットの姿勢を補正する技術として、従来、特開2016-221622号公報(日本国特許出願公開公報、下記特許文献2)に開示されるような位置補正手法が知られている。具体的には、この位置補正手法は、2つの較正用マーカからなる視覚ターゲットを工作機械の外表面に配設し、ロボットの可動部に設けられたカメラにより、前記視覚ターゲットを撮像し、得られた画像と、カメラの位置及び姿勢とを基に、ロボットと工作機械との相対的な位置関係を測定し、測定された位置関係に基づいて、ロボットの作業姿勢を補正するというものである。 A known technique for correcting the posture of such a robot is the position correction method disclosed in JP 2016-221622 A (Japanese Patent Application Publication No. 2016-221622, Patent Document 2 below). Specifically, this position correction method involves placing a visual target consisting of two calibration markers on the outer surface of the machine tool, capturing an image of the visual target with a camera attached to the moving part of the robot, measuring the relative positional relationship between the robot and the machine tool based on the obtained image and the position and posture of the camera, and correcting the working posture of the robot based on the measured positional relationship.

ところが、上述した従来の位置補正手法では、例えば、ロボットのハンドなどを工作機械内に進入させ、当該ハンドを用いて工作機械のチャックなどに対してワークの着脱を行う際に、この着脱作業を行うロボットの姿勢を正確に補正することができなかった。 However, with the conventional position correction methods described above, for example, when a robot's hand is inserted into a machine tool and used to attach or detach a workpiece to or from a chuck of the machine tool, it is not possible to accurately correct the posture of the robot performing the attachment or detachment task.

即ち、前記無人搬送車は、比較的自由度の高い車輪の動作によって移動するように構成されているため、ロボットが搭載された載置面は床面に対して傾き易く、また、搭載するロボットの姿勢の変化に応じて、言い換えれば、ロボットの重心位置の変化に応じて、当該傾きが変動し易いという特性を有している。 In other words, because the automated guided vehicle is configured to move by the operation of wheels with a relatively high degree of freedom, the surface on which the robot is mounted is prone to tilt with respect to the floor surface, and this tilt also has the characteristic of being prone to change according to changes in the posture of the mounted robot, in other words, according to changes in the position of the center of gravity of the robot.

このため、上述したワークの着脱を行う際に、ロボットがそのハンドを工作機械内に進入させた姿勢を取るとき、言い換えれば、ロボットのアームが前記無人搬送車から大きくオーバハングした状態となるときの前記載置面の傾きは、ロボットのハンドが工作機械の機外に在り、アームが前記無人搬送車からオーバハングしていないか、或いはオーバハングしていたとしても少量である場合の傾きよりも大きなものとなる。 For this reason, when the robot takes a position in which its hand has entered the machine tool during the attachment and detachment of the workpiece described above, in other words, when the robot's arm is in a state in which it significantly overhangs the automated guided vehicle, the inclination of the placement surface described above is greater than the inclination when the robot's hand is outside the machine tool and the arm does not overhang the automated guided vehicle, or if it does overhang, it is only slightly.

したがって、上述した従来の位置補正手法のように、較正用マーカである視覚ターゲットを工作機械の外表面に配設し、ロボットが工作機械の機外に在る状態で、ロボットの位置補正量(姿勢補正量)を取得しても、得られた位置補正量を用いては、ロボットのハンドが工作機械内にあるときに実行されるワークの着脱動作については、当該ロボットの姿勢を正確には補正することができない。 Therefore, even if a visual target, which is a calibration marker, is placed on the outer surface of the machine tool and the position correction amount (posture correction amount) of the robot is obtained when the robot is outside the machine tool, as in the conventional position correction method described above, the obtained position correction amount cannot be used to accurately correct the posture of the robot for the workpiece attachment/detachment operation performed when the robot's hand is inside the machine tool.

そして、ワークを着脱する際のロボットの姿勢を正確に補正することができなければ、チャックに対してロボットハンドを正確に位置決めすることができず、例えば、前記チャックがコレットチャックなど、把持部の動き代(ストローク)が極僅か、即ち、ワークとチャックとの間のクリアランスが極僅かであるチャックの場合には、当該チャックに対してワークを確実に把持させることができない可能性が生じる。 If the robot's posture cannot be accurately corrected when attaching or detaching a workpiece, the robot hand cannot be accurately positioned relative to the chuck. For example, if the chuck is a collet chuck or other chuck in which the movement (stroke) of the gripping part is very small, i.e., the clearance between the workpiece and the chuck is very small, it may not be possible to securely grip the workpiece in the chuck.

そして、ワークの着脱を確実に実行することができなければ、当該システムの稼働率が低下することになる。当該システムにおいては、生産効率の良い無人化を実現することはできない。 If the workpieces cannot be attached and detached reliably, the system's operating rate will decrease. With this system, it will be impossible to achieve unmanned operation with good production efficiency.

さらに、特許文献2に開示された位置補正手法では、2つの較正用マーカをそれぞれカメラによって撮像するようにしているので、較正用マーカを撮像するためのロボットの動作時間が長く、このため、当該システムにおける生産効率が低くなる。 Furthermore, in the position correction method disclosed in Patent Document 2, the two calibration markers are each imaged by a camera, so the robot's operating time for imaging the calibration markers is long, which reduces the production efficiency of the system.

そこで、本開示は、請求の範囲に記載したシステム、及びロボット搭載移動装置を提供するものである。
Therefore, the present disclosure provides a system and a robot-mounted mobile device as described in the claims.

以上のように、本開示によれば、ロボットが実際に作業する工作機械内に配置された識別図形を用いて、ロボットの姿勢を補正するようにしているので、当該姿勢を正確に補正することができ、これにより、ロボットは、高い動作精度が求められる作業でも、当該作業を精度良く実行することができる。 As described above, according to the present disclosure, the posture of the robot is corrected using an identification figure placed in the machine tool on which the robot actually works, so that the posture can be accurately corrected, and the robot can therefore perform tasks with high precision, even when those tasks require high operating accuracy.

本発明の一実施形態に係るシステムの概略構成を示した平面図である。1 is a plan view showing a schematic configuration of a system according to an embodiment of the present invention.

本実施形態に係るシステムの構成を示したブロック図である。FIG. 1 is a block diagram showing a configuration of a system according to an embodiment of the present invention.

本実施形態に係る無人搬送車及びロボットを示した斜視図である。FIG. 1 is a perspective view showing an automated guided vehicle and a robot according to an embodiment of the present invention.

本実施形態に係るロボットの撮像姿勢について説明するための説明図である。FIG. 2 is an explanatory diagram for explaining an image capturing posture of a robot according to the present embodiment.

本実施形態に係る識別図形を示した説明図である。FIG. 2 is an explanatory diagram showing an identification figure according to the embodiment;

本実施形態における補正量算出手法を説明するための説明図である。5 is an explanatory diagram for explaining a correction amount calculation method in the present embodiment. FIG.

本実施形態における補正量算出手法を説明するための説明図である。5 is an explanatory diagram for explaining a correction amount calculation method in the present embodiment. FIG.

本実施形態における補正量算出手法を説明するための説明図である。5 is an explanatory diagram for explaining a correction amount calculation method in the present embodiment. FIG.

本実施形態における位置補正について説明するための説明図である。5A and 5B are explanatory diagrams for explaining position correction in the present embodiment.

識別図形を工作機械中に配置する変形例を示した説明図である。FIG. 13 is an explanatory diagram showing a modified example in which an identification figure is arranged in a machine tool.

以下、具体的な実施の形態について、図面を参照しながら説明する。 Specific embodiments are described below with reference to the drawings.

(第1の実施形態)
図1及び図2に示すように、第1の実施形態のシステム1は、工作機械10、周辺装置としての材料ストッカ20及び製品ストッカ21、無人搬送車35、この無人搬送車35に搭載されるロボット25、ロボット25に装着されるカメラ31、並びにロボット25及び無人搬送車35を制御する制御装置40などから構成される。
First Embodiment
As shown in Figures 1 and 2, the system 1 of the first embodiment is composed of a machine tool 10, a material stocker 20 and a product stocker 21 as peripheral devices, an automated guided vehicle 35, a robot 25 mounted on this automated guided vehicle 35, a camera 31 attached to the robot 25, and a control device 40 that controls the robot 25 and the automated guided vehicle 35.

第1の実施形態の工作機械は、工作機械内に識別図形を配置する構成である。特に、識別画像が加工領域内に配置されている形態が好ましい。 The machine tool of the first embodiment is configured to place an identification figure within the machine tool. In particular, a configuration in which the identification image is placed within the machining area is preferred.

第1の実施形態のロボット搭載移動装置は、カメラとハンド部と第1アーム部と第2アーム部とを有するロボットと、ロボットのハンド部の位置を制御する制御部と、ロボットが搭載された移動部と、を有する。移動部は工作機械の周辺などを移動可能な構成になっている。 The robot-mounted mobile device of the first embodiment has a robot having a camera, a hand unit, a first arm unit, and a second arm unit, a control unit that controls the position of the hand unit of the robot, and a mobile unit on which the robot is mounted. The mobile unit is configured to be movable around the machine tool, etc.

図4に示すように、前記工作機械10は、ワークW(W’)を把持するチャック12が装着される主軸11を備え、この主軸11が鉛直方向に沿って設けられた立形のNC(数値制御)旋盤であり、ワークW(W’)に対して旋削加工を行うことができるようになっている。また、主軸11の近傍には接触子14及びこれを支持する支持バー15を備えたツールプリセッタ13が設けられており、この支持バー15は、当該主軸11の軸線に沿って、加工領域に対して進退可能に設けられており、その加工領域側の端面にセラミック製の表示板16が設けられ、この表示板16に、図5に示した識別図形が描画されている。尚、表示板16は水平面上に位置するように設けられている。 As shown in FIG. 4, the machine tool 10 is a vertical NC (numerically controlled) lathe equipped with a spindle 11 on which a chuck 12 for gripping a workpiece W (W') is attached, and the spindle 11 is arranged along the vertical direction, so that the workpiece W (W') can be turned. In addition, a tool presetter 13 equipped with a contact 14 and a support bar 15 for supporting the contact is provided near the spindle 11, and the support bar 15 is arranged to be movable forward and backward relative to the machining area along the axis of the spindle 11. A ceramic display plate 16 is provided on the end surface on the machining area side, and the identification figure shown in FIG. 5 is drawn on the display plate 16. The display plate 16 is arranged to be located on a horizontal plane.

尚、図4では、支持バー15及び接触子14が加工領域内に進出した状態を図示しているが、支持バー15及び接触子14が後退して、接触子14及び表示板16が収納領域内に収納された状態で、シャッタ17が閉じることにより、接触子14及び表示板16は加工領域から隔離される。 Note that FIG. 4 shows the support bar 15 and contact 14 advanced into the processing area, but when the support bar 15 and contact 14 retract and the contact 14 and display plate 16 are stored in the storage area, the shutter 17 closes, isolating the contact 14 and display plate 16 from the processing area.

また、本例の識別図形は複数の正方形をした画素が二次元に配列されたマトリクス構造を有するものであり、各画素が白または黒で表示される。図5では、黒色の画素に斜線を付している。このような識別図形には、ARマーカやAprilTagと称されるものがある。また、識別図形が小さい場合には、当該識別図形上にレンズを設けるなどして、後述するカメラ31により拡大された画像が撮像されるようにしても良い。 The identification figure in this example has a matrix structure in which multiple square pixels are arranged two-dimensionally, and each pixel is displayed in white or black. In FIG. 5, black pixels are shaded. Such identification figures include those called AR markers and April Tags. In addition, if the identification figure is small, a lens may be placed on the identification figure so that an enlarged image can be captured by the camera 31 described below.

前記材料ストッカ20は、図1において工作機械10の左隣に配設され、当該工作機械10で加工される複数の材料(加工前ワークW)をストックする装置である。また、前記製品ストッカ21は、図1において工作機械10の右隣に配設され、当該工作機械10で加工された複数の製品、又は半製品(加工済ワークW’)をストックする装置である。 The material stocker 20 is disposed to the left of the machine tool 10 in FIG. 1 and is a device that stocks multiple materials (unmachined workpieces W) to be machined by the machine tool 10. The product stocker 21 is disposed to the right of the machine tool 10 in FIG. 1 and is a device that stocks multiple products or semi-finished products (machined workpieces W') machined by the machine tool 10.

図1に示すように、前記無人搬送車35には、その上面である載置面36に前記ロボット25が搭載され、また、オペレータが携帯可能な操作盤37が付設されている。尚、この操作盤37は、データの入出力を行う入出力部、当該無人搬送車35及びロボット25を手動操作する操作部、並びに画面表示可能なディスプレイなどを備えている。 As shown in FIG. 1, the automated guided vehicle 35 has the robot 25 mounted on its upper surface, the mounting surface 36, and is also provided with a portable operation panel 37 for an operator. The operation panel 37 is equipped with an input/output section for inputting and outputting data, an operation section for manually operating the automated guided vehicle 35 and the robot 25, and a display capable of displaying information on a screen.

また、無人搬送車35は、工場内における自身の位置を認識可能なセンサ(例えば、レーザ光を用いた距離計測センサ)を備えており、前記制御装置40による制御の下で、前記工作機械10、材料ストッカ20及び製品ストッカ21が配設される領域を含む工場内を無軌道で走行するように構成され、本例では、前記工作機械10、材料ストッカ20及び製品ストッカ21のそれぞれに対して設定された各作業位置に経由する。 The automated guided vehicle 35 is also equipped with a sensor (e.g., a distance measurement sensor using laser light) that can recognize its own position within the factory, and is configured to travel without a track within the factory, including the areas where the machine tool 10, material stocker 20, and product stocker 21 are located, under the control of the control device 40, and in this example, passes through each of the work positions set for each of the machine tool 10, material stocker 20, and product stocker 21.

図1及び図3に示すように、本実施形態のロボット25は、第1アーム26、第2アーム27及び第3アーム28の3つのアームを備えた多関節型のロボットであり、第3アーム28の先端部にはエンドエフェクタとしてのハンド29が装着され、また、支持バー30を介して1つのカメラ31が装着されている。 As shown in Figures 1 and 3, the robot 25 of this embodiment is a multi-joint robot equipped with three arms: a first arm 26, a second arm 27, and a third arm 28. A hand 29 is attached to the tip of the third arm 28 as an end effector, and a camera 31 is attached via a support bar 30.

ただし、この形態に限定されない。ロボットは、(i)カメラと、(ii)ワークまたは工具を把持するためのハンド部と、(iii)前記ハンド部を可動可能に繋いでいる第2アーム部と、(iv)第2アーム部と可動可能に繋いでいる第1アーム部と、を有していればよい。本実施形態のロボット25と対比すると、ハンド部はハンド29が相当し、第2アーム部は、第2アーム27と回転可能(可動可能)に結合するジョイント部とが相当し、第1アーム部は、第1アーム26と回転可能(可動可能)に結合するジョイント部とが相当する。なお、本実施形態のロボットの第3アーム28と回転可能や進退可能(可動可能)に結合するジョイント部とが第2アーム部に相当すると解してもよい。つまり、本実施形態では、アームが3つあるが、少なくとも2つのアームがあればよい。 However, the present invention is not limited to this form. The robot only needs to have (i) a camera, (ii) a hand unit for gripping a workpiece or a tool, (iii) a second arm unit that movably connects the hand unit, and (iv) a first arm unit that movably connects to the second arm unit. In comparison with the robot 25 of this embodiment, the hand unit corresponds to the hand 29, the second arm unit corresponds to the joint unit that rotatably (movably) connects to the second arm 27, and the first arm unit corresponds to the joint unit that rotatably (movably) connects to the first arm 26. Note that the third arm 28 of the robot of this embodiment and the joint unit that rotatably and reciprocally (movably) connects to the second arm unit may be interpreted as corresponding to the second arm unit. In other words, although there are three arms in this embodiment, at least two arms are sufficient.

図2に示すように、本実施形態の制御装置40は、動作プログラム記憶部41、移動位置記憶部42、動作姿勢記憶部43、マップ情報記憶部44、基準画像記憶部45、手動運転制御部46、自動運転制御部47、マップ情報生成部48、位置認識部49、補正量算出部50及び入出力インターフェース51から構成される。そして、制御装置40は、この入出力インターフェース51を介して、前記工作機械10、材料ストッカ20、製品ストッカ21、ロボット25、カメラ31、無人搬送車35及び操作盤37に接続している。なお、制御装置40は、この形態に限定されるものではない。制御装置40は、少なくとも、ロボットのハンド部の位置を制御する制御部を有していればよく、他の記憶部等は別の装置が有していてもよい。 As shown in FIG. 2, the control device 40 of this embodiment is composed of an operation program memory unit 41, a movement position memory unit 42, an operation posture memory unit 43, a map information memory unit 44, a reference image memory unit 45, a manual operation control unit 46, an automatic operation control unit 47, a map information generation unit 48, a position recognition unit 49, a correction amount calculation unit 50, and an input/output interface 51. The control device 40 is connected to the machine tool 10, the material stocker 20, the product stocker 21, the robot 25, the camera 31, the automatic guided vehicle 35, and the operation panel 37 via this input/output interface 51. Note that the control device 40 is not limited to this form. The control device 40 only needs to have at least a control unit that controls the position of the hand unit of the robot, and other storage units, etc. may be included in other devices.

尚、制御装置40は、CPU、RAM、ROMなどを含むコンピュータから構成され、前記手動運転制御部46、自動運転制御部47、マップ情報生成部48、位置認識部49、補正量算出部50及び入出力インターフェース51は、コンピュータプログラムによってその機能が実現され、後述する処理を実行する。また、動作プログラム記憶部41、移動位置記憶部42、動作姿勢記憶部43、マップ情報記憶部44及び基準画像記憶部45はRAMなどの適宜記憶媒体から構成される。本例では、制御装置40は無人搬送車35に付設され、適宜通信手段によって工作機械10、材料ストッカ20及び製品ストッカ21と接続されるとともに、ロボット25、カメラ31、無人搬送車35及び操作盤37とは有線又は無線によって接続されている。但し、このような態様に限られるものではなく、制御装置40は無人搬送車35以外の適宜位置に配設されていても良い。この場合、制御装置40は適宜通信手段によって各部と接続される。 The control device 40 is composed of a computer including a CPU, RAM, ROM, etc., and the functions of the manual operation control unit 46, the automatic operation control unit 47, the map information generating unit 48, the position recognition unit 49, the correction amount calculation unit 50, and the input/output interface 51 are realized by a computer program, and execute the processing described below. In addition, the operation program storage unit 41, the moving position storage unit 42, the operation posture storage unit 43, the map information storage unit 44, and the reference image storage unit 45 are composed of appropriate storage media such as RAM. In this example, the control device 40 is attached to the automatic guided vehicle 35 and is connected to the machine tool 10, the material stocker 20, and the product stocker 21 by appropriate communication means, and is connected to the robot 25, the camera 31, the automatic guided vehicle 35, and the operation panel 37 by wire or wirelessly. However, this is not limited to such an embodiment, and the control device 40 may be arranged at an appropriate position other than the automatic guided vehicle 35. In this case, the control device 40 is connected to each part by appropriate communication means.

前記手動運転制御部46は、オペレータにより前記操作盤37から入力される操作信号に従って、前記無人搬送車35、ロボット25及びカメラ31を動作させる機能部である。即ち、オペレータは、この手動運転制御部46による制御の下で、操作盤37を用いた、前記無人搬送車35、ロボット25及びカメラ31の手動操作を実行することができる。 The manual operation control unit 46 is a functional unit that operates the automated guided vehicle 35, robot 25, and camera 31 according to operation signals input by an operator from the operation panel 37. That is, the operator can manually operate the automated guided vehicle 35, robot 25, and camera 31 using the operation panel 37 under the control of the manual operation control unit 46.

前記動作プログラム記憶部41は、生産時に前記無人搬送車35及び前記ロボット25を自動運転するための自動運転用プログラム、並びに後述する工場内のマップ情報を生成する際に前記無人搬送車35を動作させるためのマップ生成用プログラムを記憶する機能部である。自動運転用プログラム及びマップ生成用プログラムは、例えば、前記操作盤37に設けられた入出力部から入力され、当該動作プログラム記憶部41に格納される。 The operation program storage unit 41 is a functional unit that stores an automatic driving program for automatically driving the automatic guided vehicle 35 and the robot 25 during production, and a map generation program for operating the automatic guided vehicle 35 when generating map information within the factory, which will be described later. The automatic driving program and the map generation program are input, for example, from an input/output unit provided on the operation panel 37, and stored in the operation program storage unit 41.

尚、この自動運転用プログラムには、無人搬送車35が移動する目標位置としての移動位置、移動速度及び無人搬送車35の向きに関する指令コードが含まれ、また、ロボット25が順次動作する当該動作に関する指令コード、及び前記カメラ31の操作に関する指令コードが含まれる。また、マップ生成用プログラムは、前記マップ情報生成部48においてマップ情報を生成できるように、無人搬送車35を無軌道で工場内を隈なく走行させるための指令コードが含まれる。 The automatic driving program includes command codes related to the target position to which the automated guided vehicle 35 moves, the moving speed, and the direction of the automated guided vehicle 35, as well as command codes related to the sequential operations of the robot 25 and command codes related to the operation of the camera 31. The map generation program includes command codes for driving the automated guided vehicle 35 without a track throughout the factory so that map information can be generated in the map information generation unit 48.

前記マップ情報記憶部44は、無人搬送車35が走行する工場内に配置される機械、装置、機器など(装置等)の配置情報を含むマップ情報を記憶する機能部であり、このマップ情報は前記マップ情報生成部48によって生成される。 The map information storage unit 44 is a functional unit that stores map information including the placement information of machines, devices, equipment, etc. (devices, etc.) placed in the factory where the automated guided vehicle 35 travels, and this map information is generated by the map information generation unit 48.

前記マップ情報生成部48は、詳しくは後述する前記制御装置40の自動運転制御部47による制御の下で、前記動作プログラム記憶部41に格納されたマップ生成用プログラムに従って無人搬送車35を走行させた際に、前記センサによって検出される距離データから工場内の空間情報を取得するとともに、工場内に配設される装置等の平面形状を認識し、例えば、予め登録された装置等の平面形状を基に、工場内に配設された具体的な装置、本例では、工作機械10、材料ストッカ20及び製品ストッカ21の位置、平面形状等(配置情報)を認識する。そして、マップ情報生成部48は、得られた空間情報及び装置等の配置情報を工場内のマップ情報として前記マップ情報記憶部44に格納する。 When the map information generating unit 48 drives the automated guided vehicle 35 in accordance with the map generation program stored in the operation program storage unit 41 under the control of the automatic driving control unit 47 of the control device 40, which will be described in detail later, the map information generating unit 48 acquires spatial information within the factory from distance data detected by the sensors, recognizes the planar shapes of devices and the like arranged within the factory, and recognizes the positions, planar shapes, and the like (arrangement information) of specific devices arranged within the factory, in this example the machine tool 10, material stocker 20, and product stocker 21, based on the planar shapes of devices and the like that have been registered in advance. The map information generating unit 48 then stores the obtained spatial information and the arrangement information of devices and the like in the map information storage unit 44 as map information within the factory.

前記位置認識部49は、前記センサによって検出される距離データ、及び前記マップ情報記憶部44に格納された工場内のマップ情報を基に、工場内における無人搬送車35の位置を認識する機能部であり、この位置認識部49によって認識される無人搬送車35の位置に基づいて、当該無人搬送車35の動作が前記自動運転制御部47によって制御される。 The position recognition unit 49 is a functional unit that recognizes the position of the automated guided vehicle 35 within the factory based on the distance data detected by the sensor and the map information within the factory stored in the map information storage unit 44, and the operation of the automated guided vehicle 35 is controlled by the automatic driving control unit 47 based on the position of the automated guided vehicle 35 recognized by this position recognition unit 49.

前記移動位置記憶部42は、前記無人搬送車35が移動する具体的な目標位置としての移動位置であって、前記動作プログラム中の指令コードに対応した具体的な移動位置を記憶する機能部であり、この移動位置には、上述した工作機械10、材料ストッカ20及び製品ストッカ21に対して設定される各作業位置が含まれる。尚、この移動位置は、例えば、前記手動運転制御部46による制御の下、前記操作盤37により前記無人搬送車35を手動運転して、目標とする各位置に移動させた後、前記位置認識部49によって認識される位置データを前記移動位置記憶部42に格納する操作によって設定される。この操作は所謂ティーチング操作と呼ばれる。 The movement position memory unit 42 is a functional unit that stores the movement positions as specific target positions to which the automated guided vehicle 35 moves, which correspond to command codes in the operation program, and these movement positions include the work positions set for the machine tool 10, material stocker 20, and product stocker 21 described above. Note that these movement positions are set, for example, by manually driving the automated guided vehicle 35 with the operation panel 37 under the control of the manual operation control unit 46 to move it to each target position, and then storing the position data recognized by the position recognition unit 49 in the movement position memory unit 42. This operation is called a teaching operation.

前記動作姿勢記憶部43は、前記ロボット25が所定の順序で動作することによって順次変化するロボット25の姿勢(動作姿勢)であって、前記動作プログラム中の指令コードに対応した動作姿勢に係るデータを記憶する機能部である。この動作姿勢に係るデータは、前記手動運転制御部46による制御の下で、前記操作盤37を用いたティーチング操作により、当該ロボット25を手動運転して、目標とする各姿勢を取らせたときの、当該各姿勢におけるロボット25の各関節(モータ)の回転角度データであり、この回転角度データが動作姿勢に係るデータとして前記動作姿勢記憶部43に格納される。 The movement posture memory unit 43 is a functional unit that stores data relating to the movement postures (movement postures) of the robot 25 that change sequentially as the robot 25 moves in a predetermined order, and that correspond to command codes in the movement program. The data relating to the movement postures is rotation angle data of each joint (motor) of the robot 25 in each target posture when the robot 25 is manually operated to take each target posture by teaching operation using the operation panel 37 under the control of the manual operation control unit 46, and this rotation angle data is stored in the movement posture memory unit 43 as data relating to the movement posture.

ロボット25の具体的な動作姿勢は、前記材料ストッカ20、工作機械10及び製品ストッカ21において、それぞれ設定される。例えば、材料ストッカ20では、当該材料ストッカ20において作業を開始するときの作業開始姿勢(取出開始姿勢)、当該材料ストッカ20に収納された加工前ワークWをハンド29により把持して、当該材料ストッカ20から取り出すための各作業姿勢(各取出姿勢)及び取出を完了したときの姿勢(取出完了姿勢であり、本例では、取出開始姿勢と同じ姿勢)が取出動作姿勢として設定される。 Specific operating postures of the robot 25 are set for each of the material stocker 20, the machine tool 10, and the product stocker 21. For example, for the material stocker 20, the work start posture (removal start posture) when work is started in the material stocker 20, each working posture (each removal posture) for gripping the unmachined workpiece W stored in the material stocker 20 with the hand 29 and removing it from the material stocker 20, and the posture when removal is completed (removal completion posture, which is the same posture as the removal start posture in this example) are set as removal operation postures.

また、工作機械10では、加工済のワークW’を工作機械10から取り出すワーク取出動作姿勢、及び加工前ワークWを工作機械10に取り付けるワーク取付動作姿勢が設定される。 In addition, the machine tool 10 is set with a work removal operation posture for removing the machined workpiece W' from the machine tool 10, and a work attachment operation posture for attaching the unmachined workpiece W to the machine tool 10.

具体的には、ワーク取出動作姿勢では、例えば、工作機械10に進入する前の作業開始姿勢、ハンド29及びカメラ31を工作機械10の加工領域内に進入させて、支持バー15に設けられた識別図形にカメラ31を正対させ、当該カメラ31によって識別図形を撮像する姿勢(撮像姿勢)(図4参照)、工作機械10のチャック12に把持された加工済ワークW’に対してハンド29を対向させた姿勢(取出準備姿勢)、ハンド29をチャック12側に移動させて、当該チャック12に把持された加工済ワークW’をハンド29によって把持する姿勢(把持姿勢)、ハンド29をチャック12から離隔させて加工済ワークW’をチャック12から取り外した姿勢(取外姿勢)、ハンド29及びカメラ31を工作機械10から抜け出させた姿勢(作業完了姿勢)の各姿勢が設定される。尚、カメラ31を水平な識別図形に対して正対させたときのカメラ31の姿勢は、そのレンズと識別図形とが略平行になる姿勢である。 Specifically, the workpiece removal operation posture may be, for example, a work start posture before entering the machine tool 10, a posture in which the hand 29 and camera 31 enter the machining area of the machine tool 10, the camera 31 faces the identification figure provided on the support bar 15, and the camera 31 captures an image of the identification figure (image capture posture) (see FIG. 4), a posture in which the hand 29 faces the machined workpiece W' held in the chuck 12 of the machine tool 10 (removal preparation posture), a posture in which the hand 29 is moved toward the chuck 12 and the machined workpiece W' held in the chuck 12 is grasped by the hand 29 (grasping posture), a posture in which the hand 29 is separated from the chuck 12 to remove the machined workpiece W' from the chuck 12 (removal posture), and a posture in which the hand 29 and camera 31 have left the machine tool 10 (work completion posture). When the camera 31 is positioned directly facing a horizontal identification figure, its lens and the identification figure are approximately parallel to each other.

また、ワーク取付動作姿勢では、例えば、工作機械10に進入する前の作業開始姿勢、ハンド29及びカメラ31を工作機械10の加工領域内に進入させて、支持バー15に設けられた識別図形にカメラ31を正対させ、当該カメラ31によって識別図形を撮像する姿勢(撮像姿勢)(図4参照)、工作機械10のチャック12に対してハンド29に把持された加工前ワークWを対向させた姿勢(取付準備姿勢)、ハンド29をチャック12側に移動させて、加工前ワークWを当該チャック12によって把持可能にした姿勢(取付姿勢)、ハンド29をチャック12から離隔させた姿勢(離隔姿勢)、ハンド29及びカメラ31を工作機械10から抜け出させた姿勢(作業完了姿勢)の各姿勢が設定される。 In addition, the workpiece mounting operation posture may be, for example, a work start posture before entering the machine tool 10, a posture in which the hand 29 and camera 31 enter the machining area of the machine tool 10, the camera 31 faces the identification figure provided on the support bar 15, and the camera 31 captures the identification figure (imaging posture) (see FIG. 4), a posture in which the unmachined workpiece W held by the hand 29 faces the chuck 12 of the machine tool 10 (mounting preparation posture), a posture in which the hand 29 is moved toward the chuck 12 so that the unmachined workpiece W can be held by the chuck 12 (mounting posture), a posture in which the hand 29 is separated from the chuck 12 (separation posture), and a posture in which the hand 29 and camera 31 have left the machine tool 10 (work completion posture).

前記製品ストッカ21では、当該製品ストッカ21において作業を開始するときの作業開始姿勢(収納開始姿勢)、ハンド29に把持した加工済ワークW’を製品ストッカ21内に収納するための各作業姿勢(収納姿勢)及び収納を完了したときの姿勢(収納完了姿勢であり、本例では、収納開始姿勢と同じ姿勢)が収納動作姿勢として設定される。 In the product stocker 21, the work start posture (storage start posture) when work is started in the product stocker 21, each work posture (storage posture) for storing the machined workpiece W' held by the hand 29 in the product stocker 21, and the posture when storage is completed (storage completion posture, which in this example is the same posture as the storage start posture) are set as storage operation postures.

前記自動運転制御部47は、前記動作プログラム記憶部41に格納された自動運転用プログラム及びマップ生成用プログラムの何れかを用い、当該プログラムに従って無人搬送車35、ロボット25及びカメラ31を動作させる機能部である。その際、前記移動位置記憶部42及び動作姿勢記憶部43に格納されたデータが必要に応じて使用される。 The automatic driving control unit 47 is a functional unit that uses either the automatic driving program or the map generation program stored in the operation program storage unit 41, and operates the automatic guided vehicle 35, the robot 25, and the camera 31 according to the program. At that time, the data stored in the movement position storage unit 42 and the operation posture storage unit 43 are used as necessary.

前記基準画像記憶部45は、ティーチング操作時に、無人搬送車35が工作機械10に対して設定された作業位置に在り、ロボット25が前記撮像姿勢にあるときに、前記ツールプリセッタ13の支持バー15に設けられた識別図形を前記カメラ31により撮像して得られた画像を、基準画像として記憶する機能部である。 The reference image storage unit 45 is a functional unit that stores, as a reference image, an image obtained by capturing an image of an identification figure provided on the support bar 15 of the tool presetter 13 by the camera 31 when the automated guided vehicle 35 is in a work position set for the machine tool 10 and the robot 25 is in the imaging posture during a teaching operation.

前記補正量算出部50は、前記自動運転制御部47による制御の下で、前記動作プログラム記憶部41に格納された自動運転用プログラムに従って前記ロボット25が自動運転される際に、当該ロボット25が撮像姿勢に在り、カメラ31によって前記識別図形が撮像されると、当該自動運転時に得られた現在の識別図形の画像と、前記基準画像記憶部45に格納された基準画像(ティーチング操作時に撮像された画像)とに基づいて、ロボット25の現在の姿勢とティーチング操作時の姿勢との間におけるカメラ31の位置誤差量であって、識別図形と平行な平面内で設定される相互に直交する2軸方向におけるカメラ31の位置誤差量、及び該平面と直交する垂直軸回りのカメラ31の回転誤差量を推定し、推定された各誤差量に基づいて、前記作業姿勢における前記作用部に対する補正量を算出する。 When the robot 25 is automatically driven according to the automatic driving program stored in the operation program storage unit 41 under the control of the automatic driving control unit 47, the robot 25 is in an image capturing posture, and the identification figure is captured by the camera 31. Based on the current image of the identification figure obtained during the automatic driving and the reference image (image captured during the teaching operation) stored in the reference image storage unit 45, the correction amount calculation unit 50 estimates the position error amount of the camera 31 between the current posture of the robot 25 and the posture during the teaching operation, which is the position error amount of the camera 31 in two mutually orthogonal axial directions set in a plane parallel to the identification figure, and the rotation error amount of the camera 31 around a vertical axis orthogonal to the plane, and calculates the correction amount for the action part in the working posture based on each estimated error amount.

図6に、ティーチング操作時にカメラ31によって撮像された識別図形の画像、即ち、前記基準画像を示している。図中、実線で示した矩形線はカメラ31の視野、言い換えれば基準画像の輪郭である。また、図7に、自動運転時に得られた現在の識別図形の画像を実線で示している。尚、図7において、実線で示した矩形線は現在の画像の輪郭であり、一点鎖線で示した矩形線は、基準画像の輪郭である。この図7では、ロボット25のティーチング操作時における前記撮像姿勢と、現在の撮像姿勢にズレが生じたことによって、基準画像と現在の画像との間にズレが生じていることを表している。 Figure 6 shows an image of the identification figure captured by camera 31 during the teaching operation, i.e., the reference image. In the figure, the solid rectangular line is the field of view of camera 31, in other words the outline of the reference image. Also, Figure 7 shows, in solid lines, an image of the current identification figure obtained during automatic driving. Note that in Figure 7, the solid rectangular line is the outline of the current image, and the dashed rectangular line is the outline of the reference image. Figure 7 shows that a misalignment has occurred between the reference image and the current image due to a misalignment between the imaging posture during the teaching operation of robot 25 and the current imaging posture.

前記補正量算出部50は、まず、ティーチング操作時における図6に示した基準画像を解析することにより、例えば、この基準画像、言い換えれば、カメラ31のフレーム上における識別図形から設定される図形座標系(x軸-y軸座標系)に基づいて、予め設定された図形座標系(x軸-y軸座標系)とロボット座標系(x軸-y軸座標系)との間の変換式に従って、ロボット座標系(x軸-y軸座標系)におけるティーチング時のカメラ31の位置(xteach,yteach,rzteach)を算出する。尚、x軸及びy軸は、識別図形と平行な相互に直交する2軸であって、ティーチング操作時におけるロボット25の座標系であり、rzは、x軸及びy軸に直交するz軸回りのカメラ31の回転角度である。また、本例において、前記x軸,y軸、及びx軸,y軸は水平面内で設定される(後述のx’軸及びy’軸も同様)。 6 during teaching operation, the correction amount calculation unit 50 calculates the position (xteach, yteach, rzteach) of the camera 31 during teaching in the robot coordinate system (x-y coordinate system) according to a conversion formula between a preset graphic coordinate system ( xt - yt coordinate system) and a robot coordinate system ( x - y coordinate system) based on the graphic coordinate system (xt-yt coordinate system) set from the identification figure on the frame of the camera 31. The x- axis and y-axis are two mutually orthogonal axes parallel to the identification figure and are the coordinate system of the robot 25 during teaching operation, and rz is the rotation angle of the camera 31 around the z-axis orthogonal to the x-axis and y-axis. In this example, the xt- axis, yt-axis, x - axis, and y-axis are set in a horizontal plane (the same applies to the x'-axis and y'-axis described later).

次に、補正量算出部50は、同様にして、現在の画像を解析し、カメラ31のフレーム上における識別図形から設定される図形座標系(x軸-y軸座標系)に基づいて、前記変換式に従って、ティーチング操作時におけるロボット25の座標系(x軸-y軸座標系)における現在のカメラ31の位置(xcurr,ycurr,rzcurr)を算出する。 Next, the correction amount calculation unit 50 similarly analyzes the current image, and calculates the current position ( x curr, y curr, rz curr) of the camera 31 in the coordinate system (x- y coordinate system) of the robot 25 during the teaching operation, in accordance with the conversion formula, based on the graphic coordinate system ( xt -yt coordinate system ) set from the identification figure on the frame of the camera 31.

そして、補正量算出部50は、x軸-y軸座標系におけるカメラ31のティーチング操作時の位置と、現在の位置との間の位置誤差量Δx,Δy及び回転誤差量Δrzを以下の数式1-数式3によって推定する。
(数式1)

Figure 0007482364000001
(数式2)
Figure 0007482364000002
(数式3)
Figure 0007482364000003
Then, the correction amount calculation unit 50 estimates the position error amounts Δx, Δy and the rotation error amount Δrz between the position of the camera 31 during the teaching operation and the current position in the xy coordinate system using the following formulas 1 to 3.
(Formula 1)
Figure 0007482364000001
(Formula 2)
Figure 0007482364000002
(Formula 3)
Figure 0007482364000003

ここで、図7に示すように、現在のロボット25の座標系をx’軸-y’軸座標系とし、図8に示すように、ティーチング時のロボット25の座標系であるx軸-y軸座標系との間に、t,tの並進誤差が存在すると考えると、x’軸-y’軸座標系における現在のカメラ31の位置(x’,y’)は、以下の数式4によって算出される。尚、下式中のx,yはそれぞれx軸-y軸座標系におけるティーチング時のカメラ31の位置(xteach,yteach)であり、初期設定の値として既知である。
(数式4)

Figure 0007482364000004
Here, assuming that the current coordinate system of the robot 25 is an x'-y' coordinate system as shown in Fig. 7 and that there is a translation error of t x , ty between this and the x- y coordinate system which is the coordinate system of the robot 25 during teaching as shown in Fig. 8, the current position (x', y') of the camera 31 in the x'-y' coordinate system is calculated by the following equation 4. Note that x and y in the following equation are respectively the positions (x teach , y teach ) of the camera 31 during teaching in the x-y coordinate system and are known as initial setting values.
(Formula 4)
Figure 0007482364000004

そして、上記の数式4を変形した下記数式5によって上記並進誤差t,tを算出することができ、補正量算出部50は、この数式5に従って、並進誤差量t,tを算出して、この並進誤差量t,t及び前記回転誤差量Δrzを前記作業姿勢における補正量とする。
(数式5)

Figure 0007482364000005
但し、x’軸-y’軸座標系における現在のカメラ31の位置(x’,y’)は、x軸-y軸座標系における現在のカメラ31の位置(x+Δx,y+Δy)と一致する。 The translation errors tx , ty can be calculated by the following formula 5, which is a modification of formula 4 above. The correction amount calculation unit 50 calculates the translation error amounts tx , ty in accordance with formula 5, and sets these translation error amounts tx , ty and the rotational error amount Δrz as the correction amounts for the working posture.
(Formula 5)
Figure 0007482364000005
However, the current position (x', y') of the camera 31 in the x'-y' coordinate system coincides with the current position (x+Δx, y+Δy) of the camera 31 in the x-y coordinate system.

そして、前記自動運転制御部47は、ロボット25が工作機械10で作業する際の作業姿勢、例えば、前記ワーク取出動作姿勢における前記取出準備姿勢、把持姿勢及び取外姿勢、並びに前記ワーク取付動作姿勢における取付準備姿勢、取付姿勢及び離隔姿勢について、前記補正量算出部50において算出された補正量に基づいて、ロボット25のハンド29に位置を補正する。 Then, the automatic operation control unit 47 corrects the position of the hand 29 of the robot 25 based on the correction amount calculated by the correction amount calculation unit 50 for the working postures when the robot 25 works on the machine tool 10, for example, the removal preparation posture, gripping posture, and removal posture in the workpiece removal operation posture, and the attachment preparation posture, attachment posture, and separation posture in the workpiece attachment operation posture.

例えば、ロボット25のハンド29をチャック12に対して位置決めする際には、現在のロボット25の座標系であるx’軸-y’軸座標系におけるハンド29の位置決め位置が、ティーチング操作時に設定されたx軸-y軸座標系におけるハンド29の位置決め位置と一致するように、x’軸-y’軸座標系におけるハンド29の位置決め位置が補正される。 For example, when positioning the hand 29 of the robot 25 relative to the chuck 12, the positioning position of the hand 29 in the x'-y' coordinate system, which is the current coordinate system of the robot 25, is corrected so that the positioning position of the hand 29 in the x'-y' coordinate system matches the positioning position of the hand 29 in the x-y coordinate system set during the teaching operation.

この補正の態様を図9に示している。図9において、位置xp,yp、及び位置xp,ypはティーチング操作時のロボット座標系であるx軸-y軸座標系におけるハンド29の設定位置であり、ハンド29は撮像姿勢における位置xp,ypからチャック12に対して設定された位置xp,ypに位置決めされる設定となっている。前記作業位置に位置決めされた無人搬送車35及びロボット25に位置ズレが無ければ、ハンド29は位置xp,ypから位置xp,ypに移動する。 The manner of this correction is shown in Fig. 9. In Fig. 9, positions xpp , ypp and positions xpc , ypc are set positions of the hand 29 in the x-y coordinate system, which is the robot coordinate system during teaching operation, and the hand 29 is set to be positioned from positions xpp , ypp in the imaging attitude to positions xpc , ypc set with respect to the chuck 12. If there is no positional deviation in the automatic guided vehicle 35 and robot 25 positioned at the working position, the hand 29 moves from positions xpp , ypp to positions xpc , ypc .

図9において、位置xp’,yp’は、現在の動作時のロボット座標系であるx’軸-y’軸座標系における撮像姿勢時のハンド29の位置である。この位置xp’,yp’は、前記作業位置に位置決めされた無人搬送車35及びロボット25に位置ズレが生じているため、ティーチング操作時の位置xp,ypに対して、位置誤差Δx,Δy、及び回転誤差Δrzを生じており、x’軸-y’軸座標系において、前記xp,ypに対応する位置である。そして、このx’軸-y’軸座標系において、前記xp,ypに対応する位置はxp’,yp’であるが、この位置は、チャック12の真の位置からズレた位置となっている。そこで、自動運転制御部47は、このxp,ypを、前記補正量算出部50によって算出された並進誤差量t,tと、前記回転誤差量Δrzに基づき、下記数式6に従って補正したxph’,yph’を算出し、この補正された位置xph’,yph’にハンド29を移動させる。また、前記回転誤差量Δrzに基づいてZ軸回りのハンド29の回転姿勢を補正する。
(数式6)

Figure 0007482364000006
9, positions xp' p and yp' p are the positions of the hand 29 in the imaging attitude in the x'-y' coordinate system, which is the robot coordinate system during the current operation. These positions xp' p and yp' p have position errors Δx, Δy and rotation error Δrz with respect to the positions xp p and yp p during the teaching operation due to positional deviations occurring in the automated guided vehicle 35 and robot 25 positioned at the work position, and are positions corresponding to the xp p and yp p in the x'-y' coordinate system. In this x'-y' coordinate system, the positions corresponding to the xp c and yp c are xp' c and yp' c , but these positions are positions deviated from the true position of the chuck 12. Therefore, the automatic operation control unit 47 calculates xph'c and yph'c by correcting xpc and ypc based on the translation error amounts tx and ty calculated by the correction amount calculation unit 50 and the rotation error amount Δrz in accordance with the following formula 6 , and moves the hand 29 to these corrected positions xph'c and yph'c . Also, the automatic operation control unit 47 corrects the rotational posture of the hand 29 around the Z axis based on the rotation error amount Δrz.
(Formula 6)
Figure 0007482364000006

尚、この位置データxph’,yph’は、予め設定された変換式により、ロボット25の各関節の角度データに変換され、変換された角度データに従って、ロボット25は制御される。 The position data xph'c , yph'c are converted into angle data for each joint of the robot 25 by a preset conversion formula, and the robot 25 is controlled in accordance with the converted angle data.

そして、ロボット25が工作機械10で作業する各作業姿勢としてティーチング操作時において設定されたハンド29の各位置xp,ypに対応する補正された位置xph’,yph’は、上記数式6を一般化した以下の数式7によって算出することができ、自動運転制御部47は、前記回転誤差量Δrzに基づいてZ軸回りのハンド29の回転姿勢を補正するとともに、このようにして算出される各補正位置xph’,yph’にハンド29を移動させる。但し、iは1以上の自然数である。
(数式7)

Figure 0007482364000007
Then, the corrected positions xph' i , yph' i corresponding to the positions xp i , yp i of the hand 29 set during the teaching operation as each working posture when the robot 25 works on the machine tool 10 can be calculated by the following formula 7, which is a generalization of the above formula 6, and the automatic operation control unit 47 corrects the rotational posture of the hand 29 about the Z axis based on the rotation error amount Δrz, and moves the hand 29 to each of the corrected positions xph' i , yph' i calculated in this manner, where i is a natural number equal to or greater than 1.
(Formula 7)
Figure 0007482364000007

以上の構成を備えた本例のシステム1によれば、以下のようにして、無人自動生産が実行される。 With the system 1 of this example having the above configuration, unmanned automatic production is carried out as follows.

即ち、前記制御装置40の自動運転制御部47による制御の下で、前記動作プログラム記憶部41に格納された自動運転用プログラムが実行され、この自動運転用プログラムに従って、例えば、無人搬送車35及びロボット25が以下のように動作する。 That is, under the control of the automatic driving control unit 47 of the control device 40, the automatic driving program stored in the operation program storage unit 41 is executed, and according to this automatic driving program, for example, the automated guided vehicle 35 and the robot 25 operate as follows.

まず、無人搬送車35は、工作機械10に対して設定された作業位置に移動するとともに、ロボット25は上述したワーク取出動作の作業開始姿勢を取る。尚、この時、工作機械10は所定の加工を完了して、ロボット25が加工領域内に侵入可能なようにドアカバーを開いており、また、自動運転制御部47からの指令を受信して、前記ツールプリセッタ13の支持バー15を加工領域内に進出させているものとする。 First, the automated guided vehicle 35 moves to the work position set for the machine tool 10, and the robot 25 assumes the start position for the workpiece removal operation described above. At this time, the machine tool 10 has completed the specified processing, and the door cover is open so that the robot 25 can enter the processing area. It also receives a command from the automatic operation control unit 47 and advances the support bar 15 of the tool presetter 13 into the processing area.

ついで、ロボット25は前記撮像姿勢に移行し、前記支持バー15に設けられた識別図形をカメラ31によって撮像する。そして、このようにして、カメラ31によって識別図形が撮像されると、前記補正量算出部50において、当該識別図形の画像と、前記基準画像記憶部45に格納された基準画像とを基に、上記数式1-3に従ってロボット25のティーチング操作時における撮像姿勢と、現在の撮像姿勢との間の位置誤差量Δx,Δy及び回転誤差量Δrzが推定され、推定された各誤差量に基づき、上述した数式4-5に従って、ロボット25の以降のワーク取出動作姿勢に対する並進誤差の補正量t,t及び回転誤差の補正量Δrzが算出される。 Next, the robot 25 moves to the imaging posture, and the identification graphic provided on the support bar 15 is imaged by the camera 31 in this manner. When the identification graphic is imaged by the camera 31 in this manner, the correction amount calculation unit 50 estimates the position error amounts Δx, Δy and rotation error amount Δrz between the imaging posture at the time of the teaching operation of the robot 25 and the current imaging posture according to the above-mentioned formula 1-3 based on the image of the identification graphic and the reference image stored in the reference image storage unit 45, and calculates the translation error correction amounts t x , t y and rotation error correction amount Δrz for the subsequent workpiece removal operation posture of the robot 25 according to the above-mentioned formula 4-5 based on each estimated error amount.

そして、自動運転制御部47は、補正量算出部50により算出された各補正量に基づいて、以降のワーク取出動作姿勢、即ち、上述した取出準備姿勢、把持姿勢、取外姿勢及び作業完了姿勢におけるハンド29の位置を数式7に従って補正するとともに、Z軸回りの回転位置を補正して、工作作機械10のチャック12に把持された加工済ワークW’をハンド29に把持して当該工作機械10から取り出す。尚、ロボット25に前記把持姿勢を取らせた後に、自動運転制御部47から工作機械10にチャック開指令を送信することで、当該チャック12が開かれる。 Then, based on each correction amount calculated by the correction amount calculation unit 50, the automatic operation control unit 47 corrects the position of the hand 29 in the subsequent workpiece removal operation postures, i.e., the above-mentioned removal preparation posture, gripping posture, removal posture, and work completion posture, according to Equation 7, and corrects the rotational position around the Z axis, so that the machined workpiece W' gripped by the chuck 12 of the machine tool 10 is gripped by the hand 29 and removed from the machine tool 10. After the robot 25 is caused to take the gripping posture, the automatic operation control unit 47 sends a chuck open command to the machine tool 10, thereby opening the chuck 12.

次に、自動運転制御部47は、無人搬送車35を、製品ストッカ21に対して設定された作業位置に移動させるとともに、ロボット25に、当該製品ストッカ21において作業を開始するときの収納開始姿勢、ハンド29に把持した加工済ワークを製品ストッカ21内に収納するための各収納姿勢及び収納を完了したときの収納完了姿勢を順次取らせて、ハンド29に把持した加工済ワークを製品ストッカ21に収納する。 Then, the automatic operation control unit 47 moves the automated guided vehicle 35 to a work position set for the product stocker 21, and has the robot 25 sequentially assume a storage start posture when starting work in the product stocker 21, various storage postures for storing the machined workpiece held by the hand 29 in the product stocker 21, and a storage completion posture when storage is completed, thereby storing the machined workpiece held by the hand 29 in the product stocker 21.

ついで、自動運転制御部47は、無人搬送車35を、材料ストッカ20に対して設定された作業位置に移動させるとともに、ロボット25に、当該材料ストッカ20において作業を開始するときの取出開始姿勢、当該材料ストッカ20に収納された加工前ワークをハンド29によって把持して、当該材料ストッカ20から取り出すための各取出姿勢及び取出を完了したときの取出完了姿勢を順次取らせて、ハンド29に加工前ワークを把持させる。 Then, the automatic operation control unit 47 moves the automated guided vehicle 35 to a work position set for the material stocker 20, and causes the robot 25 to sequentially assume an unloading start posture when starting work at the material stocker 20, various unloading postures for grasping the pre-machined work stored in the material stocker 20 with the hand 29 and unloading it from the material stocker 20, and an unloading completion posture when unloading is completed, and causes the hand 29 to grasp the pre-machined work.

次に、自動運転制御部47は、再度、無人搬送車35を工作機械10に対して設定された作業位置に移動させるとともに、ロボット25に上述したワーク取付動作の作業開始姿勢を取らせる。ついで、ロボット25を前記撮像姿勢に移行させ、前記支持バー15に設けられた識別図形をカメラ31によって撮像させる。そして、このようにして、カメラ31によって識別図形が撮像されると、前記補正量算出部50において、当該識別図形の画像と、前記基準画像記憶部45に格納された基準画像とを基に、上記数式1-3に従ってロボット25のティーチング操作時における撮像姿勢と、現在の撮像姿勢との間の位置誤差量Δx,Δy及び回転誤差量Δrzが推定され、推定された各誤差量に基づき、上述した数式4-5に従って、ロボット25の以降のワーク取付動作姿勢に対する並進誤差の補正量t,t及び回転誤差の補正量Δrzが算出される。 Next, the automatic operation control unit 47 again moves the automatic guided vehicle 35 to the work position set for the machine tool 10, and causes the robot 25 to assume the work start posture for the above-mentioned workpiece mounting operation. Next, the robot 25 is moved to the imaging posture, and the identification figure provided on the support bar 15 is imaged by the camera 31. Then, when the identification figure is imaged by the camera 31 in this manner, the correction amount calculation unit 50 estimates the position error amounts Δx, Δy and rotation error amount Δrz between the imaging posture at the time of the teaching operation of the robot 25 and the current imaging posture according to the above-mentioned formula 1-3 based on the image of the identification figure and the reference image stored in the reference image storage unit 45, and calculates the translation error correction amounts t x , t y and rotation error correction amount Δrz for the subsequent workpiece mounting operation posture of the robot 25 according to the above-mentioned formula 4-5 based on each estimated error amount.

この後、自動運転制御部47は、補正量算出部50により算出された各補正量に基づいて、以降のロボット25のワーク取付動作姿勢、即ち、上述した取付準備姿勢、取付姿勢、離隔姿勢及び作業完了姿勢におけるハンド29の位置を数式7に従って補正するとともに、Z軸回りの回転位置を補正して、ロボット25に、ハンド29に把持された加工前ワークWを工作機械10のチャック12に取り付けた後、機外に退出する動作を行わせる。この後、自動運転制御部47は、工作機械10に加工開始指令を送信して、工作機械10に加工動作を行わせる。尚、ロボット25に前記取付姿勢を取らせた後に、自動運転制御部47から工作機械10にチャック閉指令を送信することで、当該チャック12が閉じられ、当該チャック12によって加工前ワークWが把持される。 Then, based on each correction amount calculated by the correction amount calculation unit 50, the automatic operation control unit 47 corrects the position of the hand 29 in the subsequent workpiece mounting operation postures of the robot 25, i.e., the above-mentioned mounting preparation posture, mounting posture, separation posture, and work completion posture, according to Equation 7, and corrects the rotational position around the Z axis, so that the robot 25 mounts the unmachined workpiece W held by the hand 29 to the chuck 12 of the machine tool 10 and then moves out of the machine. Then, the automatic operation control unit 47 transmits a machining start command to the machine tool 10 to cause the machine tool 10 to perform a machining operation. After the robot 25 is caused to assume the mounting posture, the automatic operation control unit 47 transmits a chuck close command to the machine tool 10, which closes the chuck 12 and causes the chuck 12 to grip the unmachined workpiece W.

そして、以上を繰り返すことにより、本例のシステム1では、無人自動生産が連続して実行される。 By repeating the above steps, unmanned automatic production is carried out continuously in the system 1 of this example.

そして、本例のシステム1では、ロボット25が実際に作業する工作機械10の加工領域内に配置された識別図形を用いて、ロボット25の作業姿勢を補正するようにしているので、当該作業姿勢を正確に補正することができ、これにより、ロボット25は、高い動作精度が求められる作業でも、当該作業を精度良く実行することができる。 In the system 1 of this example, the working posture of the robot 25 is corrected using an identification figure placed in the machining area of the machine tool 10 where the robot 25 actually works, so that the working posture can be accurately corrected, and the robot 25 can therefore perform tasks with high precision, even when high operational accuracy is required.

また、このように、ロボット25が精度の良い作業を実行することで、当該システム1は不要な中断を招くことなく高い稼働率で稼働し、結果、当該システム1によれば、信頼性が高く、生産効率の高い無人化を図ることが可能となる。 In this way, the robot 25 can perform tasks with high precision, allowing the system 1 to operate at a high availability rate without unnecessary interruptions. As a result, the system 1 can achieve unmanned operation with high reliability and high production efficiency.

また、動作プログラムに従って動作するロボット25は、カメラ31によって識別図形を撮像する際に、一度の動作でこれを実行するように構成されているので、従来に比べて、短時間で精度の良い補正を行うことができる。 In addition, the robot 25, which operates according to an operating program, is configured to capture an image of the identification figure with the camera 31 in a single operation, making it possible to perform corrections with high accuracy in a shorter time than in the past.

また、本例では、工作機械10が加工を実行しているときには、加工領域外に格納されるツールプリセッタ13の支持バー15に識別図形を設けているので、当該識別図形が加工時に発生する切屑等によって汚損されるのを防止することができ、この結果、上記補正を精度良く行うことができる。 In addition, in this example, when the machine tool 10 is performing machining, an identification figure is provided on the support bar 15 of the tool presetter 13, which is stored outside the machining area, so that the identification figure can be prevented from being soiled by chips and the like generated during machining, and as a result, the above correction can be performed with high precision.

また、本例では、前記識別図形を、複数の画素が二次元に配列されたマトリクス構造を有するものとしているので、前記位置誤差量Δx,Δy、及び回転誤差量Δrzを高精度に、しかも高い繰り返し精度で推定することができる。 In addition, in this example, the identification figure has a matrix structure in which multiple pixels are arranged two-dimensionally, so that the position error amounts Δx, Δy and rotation error amount Δrz can be estimated with high accuracy and high repeatability.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。本例のシステムの構成は、図2において、符号1’で示される。同図2に示すように、本例のシステム1’は、制御装置40’における補正量算出部50’が第1の実施形態に係るシステム1とは異なるもので、他の構成については、第1の実施形態に係るシステム1と同じである。したがって、以下では、補正量算出部50’以外の構成については、その説明を省略する。尚、本例では、前記ロボット25の撮像姿勢において、第1の実施形態と同様に、カメラ31を識別図形に対して正対させる方がより高精度な補正ができて好ましいが、正対させることなく、カメラ31の撮像光軸が識別図形に対して斜めに傾斜した姿勢としても、実用的な補正を行うことができる。
Second Embodiment
Next, a second embodiment of the present invention will be described. The configuration of the system of this example is indicated by the reference symbol 1' in FIG. 2. As shown in FIG. 2, the system 1' of this example is different from the system 1 of the first embodiment in the correction amount calculation unit 50' in the control device 40', and the other configuration is the same as the system 1 of the first embodiment. Therefore, the description of the configuration other than the correction amount calculation unit 50' will be omitted below. In this example, in the imaging posture of the robot 25, as in the first embodiment, it is preferable to face the camera 31 directly to the identification figure in order to perform correction with higher accuracy, but even if the imaging optical axis of the camera 31 is inclined obliquely to the identification figure without facing directly, practical correction can be performed.

本例の補正量算出部50’は、前記補正量算出部50における誤差量の算出手法を一般化した手法によって、前記ロボット25の現在の姿勢とティーチング操作時の姿勢との間における前記カメラ31の位置誤差量及び回転誤差量を算出するとともに、得られた位置誤差量及び回転誤差量に基づいて、ロボット25の各作業姿勢を補正する。 The correction amount calculation unit 50' in this example calculates the position error amount and rotation error amount of the camera 31 between the current posture of the robot 25 and the posture during the teaching operation by a generalized method of calculating the error amount in the correction amount calculation unit 50, and corrects each working posture of the robot 25 based on the obtained position error amount and rotation error amount.

具体的には、補正量算出部50’は、自動運転時に得られた現在の識別図形の画像と、前記基準画像記憶部45に格納された基準画像(ティーチング操作時に撮像された画像)等に基づいて、以下の処理を実行して、ロボット25の現在の姿勢とティーチング操作時の姿勢との間におけるカメラ31の位置誤差量であって、識別図形と平行な平面内で設定される相互に直交するx軸及びy軸、並びにこれらx軸及びy軸に直交するz軸方向におけるカメラ31の位置誤差量と、x軸、y軸及びz軸回りのカメラ31の回転誤差量とを推定するとともに、推定した位置誤差量及び回転誤差量に基づいて、ロボット25の各作業姿勢を補正する。 Specifically, the correction amount calculation unit 50' executes the following processing based on the current image of the identification figure obtained during automatic operation and the reference image (image captured during the teaching operation) stored in the reference image storage unit 45, etc., to estimate the position error amount of the camera 31 between the current posture of the robot 25 and the posture during the teaching operation, which is the position error amount of the camera 31 in the mutually orthogonal x-axis and y-axis set in a plane parallel to the identification figure, and the z-axis direction orthogonal to these x-axis and y-axis, and the rotation error amount of the camera 31 around the x-axis, y-axis, and z-axis, and corrects each working posture of the robot 25 based on the estimated position error amount and rotation error amount.

(前処理)
前記補正量算出部50’は、まず、前処理として、前記ティーチング操作時に撮像された前記基準画像に基づいて、カメラ31に対応した座標系であるカメラ座標系から、前記識別図形に対した座標系である図形座標系に変換するための座標変換行列

Figure 0007482364000008
を取得する。尚、この座標変換行列
Figure 0007482364000009
は、カメラ31の内部パラメータ、識別図形から認識されるホモグラフィ行列、中心座標、コーナ座標及び識別図形の大きさなどから取得することができる。 (Preprocessing)
The correction amount calculation unit 50′ first calculates, as a preprocessing step, a coordinate transformation matrix for transforming a camera coordinate system, which is a coordinate system corresponding to the camera 31, into a graphic coordinate system, which is a coordinate system for the identification graphic, based on the reference image captured during the teaching operation.
Figure 0007482364000008
In addition, this coordinate transformation matrix
Figure 0007482364000009
can be obtained from the internal parameters of the camera 31, the homography matrix recognized from the identification figure, the center coordinates, the corner coordinates, the size of the identification figure, and the like.

また、前記カメラ座標系は、カメラの平面状の撮像素子群について設定される3次元の座標系であり、例えば、撮像素子群の中心位置に原点が設定される。また、前記図形座標系は、識別図形について設定される3次元の座標系であり、例えば、識別図形の中心位置に原点が設定される。また、後述するロボット座標系は、制御装置40’がロボット25を制御するために設定された3次元の座標系であり、適宜位置に原点が設定されている。 The camera coordinate system is a three-dimensional coordinate system set for the planar imaging element group of the camera, and the origin is set, for example, at the center position of the imaging element group. The graphic coordinate system is a three-dimensional coordinate system set for the identification graphic, and the origin is set, for example, at the center position of the identification graphic. The robot coordinate system, which will be described later, is a three-dimensional coordinate system set for the control device 40' to control the robot 25, and the origin is set at an appropriate position.

次に、補正量算出部50’は、取得された座標変換行列

Figure 0007482364000010
と、前記カメラ座標系におけるカメラ位置であって、前記ティーチング操作における撮像時のカメラ位置
Figure 0007482364000011
とに基づいて、前記図形座標系におけるティーチング操作時のカメラ位置
Figure 0007482364000012
を以下の数式8によって算出する。
(数式8)
Figure 0007482364000013
Next, the correction amount calculation unit 50′ calculates the obtained coordinate transformation matrix
Figure 0007482364000010
and a camera position in the camera coordinate system, the camera position at the time of imaging in the teaching operation.
Figure 0007482364000011
Based on the above, the camera position during the teaching operation in the graphic coordinate system is calculated.
Figure 0007482364000012
is calculated by the following formula 8.
(Formula 8)
Figure 0007482364000013

(ティーチング操作時のカメラ位置算出処理)
次に、補正量算出部50’は、ティーチング操作時のロボット座標系におけるカメラ位置

Figure 0007482364000014
を以下の数式9によって算出する。
(数式9)
Figure 0007482364000015
続いて、補正量算出部50’は、ティーチング操作時のカメラ座標系からティーチング操作時のロボット座標系へ変換するための座標変換行列
Figure 0007482364000016
を以下の数式10によって算出する。
(数式10)
Figure 0007482364000017
ここで、
Figure 0007482364000018
の回転行列成分
Figure 0007482364000019
を基に、x軸、y軸及びz軸回りの各回転角度
Figure 0007482364000020

Figure 0007482364000021

Figure 0007482364000022
を算出する。
尚、
Figure 0007482364000023
は、図形座標系からティーチング操作時のロボット座標系へ変換するための座標変換行列である。例えば、図形座標系からティーチング操作時のカメラ座標系へ変換するための座標変換行列
Figure 0007482364000024
と、前記カメラ座標系からティーチング操作時のロボット座標系へ変換するための座標変換行列
Figure 0007482364000025
に基づいて、以下の数式11によって取得することができる。
(数式11)
Figure 0007482364000026
(Camera position calculation process during teaching operation)
Next, the correction amount calculation unit 50' calculates the camera position in the robot coordinate system during the teaching operation.
Figure 0007482364000014
is calculated by the following Equation 9.
(Formula 9)
Figure 0007482364000015
Next, the correction amount calculation unit 50′ calculates a coordinate transformation matrix for transforming the camera coordinate system during the teaching operation into the robot coordinate system during the teaching operation.
Figure 0007482364000016
is calculated by the following formula 10.
(Formula 10)
Figure 0007482364000017
here,
Figure 0007482364000018
Rotation matrix components of
Figure 0007482364000019
Based on this, the rotation angles around the x-axis, y-axis, and z-axis
Figure 0007482364000020
,
Figure 0007482364000021
,
Figure 0007482364000022
Calculate.
still,
Figure 0007482364000023
is a coordinate transformation matrix for transforming from the graphic coordinate system to the robot coordinate system during teaching operation. For example, the coordinate transformation matrix for transforming from the graphic coordinate system to the camera coordinate system during teaching operation is
Figure 0007482364000024
and a coordinate transformation matrix for transforming the camera coordinate system into the robot coordinate system during teaching operation.
Figure 0007482364000025
Based on this, it can be obtained by the following Equation 11.
(Formula 11)
Figure 0007482364000026

(自動運転時のカメラ位置算出処理)
次に、補正量算出部50’は、自動運転時(実動作時)に得られる現在の識別図形の画像に基づいて、上記と同様にして、カメラ座標系から図形座標系に変換するための座標変換行列

Figure 0007482364000027
を取得した後、当該現在の画像に基づいて、図形座標系における現在のカメラ位置
Figure 0007482364000028
を以下の数式12によって算出するとともに、前記ティーチング操作時のロボット座標系における現在のカメラ位置
Figure 0007482364000029
を以下の数式13によって算出する。
(数式12)
Figure 0007482364000030
(数式13)
Figure 0007482364000031
続いて、補正量算出部50’は、現在のカメラ座標系からティーチング操作時のロボット座標系へ変換するための座標変換行列
Figure 0007482364000032
を以下の数式14によって算出する。
(数式14)
Figure 0007482364000033
ここで、
Figure 0007482364000034
の回転行列成分
Figure 0007482364000035
を基に、x軸、y軸及びz軸回りの各回転角度
Figure 0007482364000036

Figure 0007482364000037

Figure 0007482364000038
を算出する。
(Camera position calculation process during autonomous driving)
Next, the correction amount calculation unit 50' calculates a coordinate transformation matrix for transforming from the camera coordinate system to the graphic coordinate system in the same manner as described above, based on the image of the current identification graphic obtained during automatic driving (actual operation).
Figure 0007482364000027
After obtaining the current camera position in the figure coordinate system based on the current image,
Figure 0007482364000028
is calculated by the following formula 12, and the current camera position in the robot coordinate system during the teaching operation is calculated by
Figure 0007482364000029
is calculated by the following formula 13.
(Formula 12)
Figure 0007482364000030
(Formula 13)
Figure 0007482364000031
Next, the correction amount calculation unit 50' calculates a coordinate transformation matrix for transforming the current camera coordinate system into the robot coordinate system during the teaching operation.
Figure 0007482364000032
is calculated by the following formula 14.
(Formula 14)
Figure 0007482364000033
here,
Figure 0007482364000034
Rotation matrix components of
Figure 0007482364000035
Based on this, the rotation angles around the x-axis, y-axis, and z-axis
Figure 0007482364000036
,
Figure 0007482364000037
,
Figure 0007482364000038
Calculate.

(誤差量算出処理)
次に、補正量算出部50’は、上記のようにして算出したティーチング操作時の座標系におけるティーチング操作時のカメラ角度

Figure 0007482364000039

Figure 0007482364000040

Figure 0007482364000041
と、ティーチング操作時の座標系における現在のカメラ角度
Figure 0007482364000042

Figure 0007482364000043

Figure 0007482364000044
とに基づいて、これらの差分を算出することによって、x軸、y軸及びz軸回りの各回転誤差Δrx、Δry及びΔrzを算出する。
但し、
Figure 0007482364000045
(Error amount calculation process)
Next, the correction amount calculation unit 50' calculates the camera angle during the teaching operation in the coordinate system during the teaching operation calculated as described above.
Figure 0007482364000039
,
Figure 0007482364000040
,
Figure 0007482364000041
and the current camera angle in the coordinate system during teaching operation.
Figure 0007482364000042
,
Figure 0007482364000043
,
Figure 0007482364000044
By calculating the differences between these based on the above, the rotation errors Δrx, Δry, and Δrz around the x-axis, y-axis, and z-axis are calculated.
however,
Figure 0007482364000045

次に、補正量算出部50’は、上記のようにして算出した各回転誤差Δrx、Δry及びΔrzに基づいて、ティーチング操作時におけるロボット座標系と、現在のロボット座標系との間の回転行列

Figure 0007482364000046
、即ち、回転誤差量を以下の数式15によって算出するとともに、ティーチング操作時のロボット座標系から現在のロボット座標系への並進行列
Figure 0007482364000047
、即ち、位置誤差量を以下の数式16により算出する。
(数式15)
Figure 0007482364000048
(数式16)
Figure 0007482364000049
Next, the correction amount calculation unit 50' calculates a rotation matrix between the robot coordinate system during the teaching operation and the current robot coordinate system based on the rotation errors Δrx, Δry, and Δrz calculated as described above.
Figure 0007482364000046
That is, the amount of rotation error is calculated by the following formula 15, and the translation matrix from the robot coordinate system during the teaching operation to the current robot coordinate system is calculated by the following formula 15:
Figure 0007482364000047
That is, the position error amount is calculated by the following formula 16.
(Formula 15)
Figure 0007482364000048
(Formula 16)
Figure 0007482364000049

(補正量算出処理)
次に、補正量算出部50’は、上記のようにして算出した誤差量に基づいて、この誤差量を補正するための補正量

Figure 0007482364000050
を以下の数式17によって算出する。
(数式17)
Figure 0007482364000051
(Correction amount calculation process)
Next, the correction amount calculation unit 50' calculates a correction amount for correcting the amount of error based on the amount of error calculated as described above.
Figure 0007482364000050
is calculated by the following formula 17.
(Formula 17)
Figure 0007482364000051

そして、前記自動運転制御部47は、補正量算出部50’により算出された補正量に基づいて、以降のロボット25の動作姿勢におけるハンド29の位置

Figure 0007482364000052
を以下の数式18に従って補正する。
(数式18)
Figure 0007482364000053
Then, the automatic operation control unit 47 calculates the position of the hand 29 in the subsequent operating posture of the robot 25 based on the correction amount calculated by the correction amount calculation unit 50'.
Figure 0007482364000052
is corrected according to the following formula 18.
(Formula 18)
Figure 0007482364000053

(第3の実施形態)
本例のシステムの構成は、図2に示において、符号1”で示される。図2に示すように、本例のシステム1”は、制御装置40”を構成する補正量算出部50”及び動作プログラム記憶部41”が第1及び第2の実施形態に係るシステム1とは異なるもので、他の構成については、第1及び第2の実施形態に係るシステム1と同じである。したがって、以下では、補正量算出部50”及び動作プログラム記憶部41”以外の構成については、その説明を省略する。
Third Embodiment
The configuration of the system of this example is shown in FIG. 2 with the reference symbol 1″. As shown in FIG. 2, the system 1″ of this example differs from the system 1 according to the first and second embodiments in the correction amount calculation unit 50″ and the operation program storage unit 41″ that constitute the control device 40″, but the other configuration is the same as the system 1 according to the first and second embodiments. Therefore, in the following, explanations of the configuration other than the correction amount calculation unit 50″ and the operation program storage unit 41″ will be omitted.

本例の動作プログラム記憶部41”には、第1及び第2の実施形態とは異なる自動運転用プログラムが格納されている。この自動運転用プログラムは、工作機械10に対して作業を行うロボット25の動作の内、前記識別図形を撮像する動作が2回連続して実行される点が、第1及び第2の実施形態とは異なる。即ち、本例の自動運転プログラムでは、前記x軸及びy軸方向の位置誤差量、及びz軸回りの回転誤差量を算出するための1回目の撮像動作と、算出された位置誤差量及び回転誤差量に基づいて、ロボット25の撮像姿勢を補正した状態で、前記z軸方向の位置誤差量、及びx軸及びy軸回りの各回転誤差量を算出するための2回目の撮像動作とを実行するように設定されている。 The operation program storage unit 41" of this example stores an automatic operation program different from that of the first and second embodiments. This automatic operation program differs from that of the first and second embodiments in that, among the operations of the robot 25 performing work on the machine tool 10, the operation of imaging the identification figure is executed twice in succession. That is, the automatic operation program of this example is set to execute a first imaging operation to calculate the position error amount in the x-axis and y-axis directions and the rotation error amount around the z-axis, and a second imaging operation to calculate the position error amount in the z-axis direction and each rotation error amount around the x-axis and y-axis with the imaging posture of the robot 25 corrected based on the calculated position error amount and rotation error amount.

前記補正量算出部50”は、前記第2の実施形態に係る補正量算出部50’における「前処理」及び「ティーチング操作時のカメラ位置算出処理」を実行するとともに、前記自動運転制御部47による制御の下で実行された1回目の撮像動作及び2回目の撮像動作によって得られる各画像に基づいて、それぞれ補正量を算出する処理を実行する。 The correction amount calculation unit 50'' executes the "pre-processing" and "camera position calculation processing during teaching operation" in the correction amount calculation unit 50' according to the second embodiment, and also executes processing to calculate the correction amount based on each image obtained by the first imaging operation and the second imaging operation executed under the control of the automatic driving control unit 47.

(1回目の補正量算出処理)
前記補正量算出部50”は、1回目の撮像画像に基づいて、前記補正量算出部50’における「前処理」、「ティーチング操作時のカメラ位置算出処理」、「自動運転時のカメラ位置算出処理」、「誤差量算出処理」及び「補正量算出処理」を実行して、前記x軸及びy軸方向の各位置誤差量、及びz軸回りの回転誤差量を算出するとともに、これらの誤差量を補正するための補正量を算出する。
(First correction amount calculation process)
The correction amount calculation unit 50″ executes the “pre-processing”, “camera position calculation processing during teaching operation”, “camera position calculation processing during autonomous driving”, “error amount calculation processing”, and “correction amount calculation processing” in the correction amount calculation unit 50′ based on the first captured image, to calculate each of the position error amounts in the x-axis and y-axis directions, and the rotational error amount around the z-axis, and to calculate the correction amounts for correcting these error amounts.

その際、前記図形座標系におけるカメラ位置、及び前記ロボット座標系の各カメラ位置は、それぞれ以下として、前記「前処理」、「ティーチング操作時のカメラ位置算出処理」、「自動運転時のカメラ位置算出処理」、「誤差量算出処理」及び「補正量算出処理」を実行する。

Figure 0007482364000054
At that time, the camera positions in the graphic coordinate system and each camera position in the robot coordinate system are subjected to the "pre-processing,""camera position calculation processing during teaching operation,""camera position calculation processing during automatic driving,""error amount calculation processing," and "correction amount calculation processing," respectively, as follows.
Figure 0007482364000054

以上の処理により、x軸方向の位置誤差量Δx、y軸方向の位置誤差量Δy、及びz軸回りの回転誤差量Δrzのみが得られ、これを補正するための補正量が上記の数式17によって算出される。そして、自動運転制御部47は、上記数式18に従って、ロボット25の2回目の撮像姿勢を補正する。 By the above processing, only the position error amount Δx in the x-axis direction, the position error amount Δy in the y-axis direction, and the rotation error amount Δrz around the z-axis are obtained, and the correction amount for correcting these is calculated by the above formula 17. Then, the automatic driving control unit 47 corrects the second image capturing posture of the robot 25 according to the above formula 18.

(2回目の補正量算出処理)
次に、前記補正量算出部50”は、2回目の撮像画像に基づいて、前記「前処理」、「ティーチング操作時のカメラ位置算出処理」、「自動運転時のカメラ位置算出処理」、「誤差量算出処理」及び「補正量算出処理」を実行して、前記x軸、y軸及びz軸方向の各位置誤差量、及びx軸、y軸及びz軸回りの各回転誤差量を算出するとともに、これらの誤差量を補正するための補正量を算出する。
(Second correction amount calculation process)
Next, the correction amount calculation unit 50'' executes the ``pre-processing,'' ``camera position calculation processing during teaching operation,'' ``camera position calculation processing during autonomous driving,'' ``error amount calculation processing,'' and ``correction amount calculation processing'' based on the second captured image to calculate each of the position error amounts in the x-axis, y-axis, and z-axis directions, and each of the rotational error amounts around the x-axis, y-axis, and z-axis, and calculates correction amounts for correcting these error amounts.

その際、前記図形座標系におけるティーチング操作時のカメラ位置、及び前記ロボット座標系の各カメラ位置は、それぞれ以下として、前記「前処理」、「ティーチング操作時のカメラ位置算出処理」、「自動運転時のカメラ位置算出処理」、「誤差量算出処理」及び「補正量算出処理」を実行する。

Figure 0007482364000055
At that time, the camera positions during the teaching operation in the graphic coordinate system and the camera positions in the robot coordinate system are respectively subjected to the "pre-processing,""camera position calculation processing during teaching operation,""camera position calculation processing during automatic driving,""error amount calculation processing," and "correction amount calculation processing" as follows.
Figure 0007482364000055

以上の処理により、x軸方向の位置誤差量Δx、y軸方向の位置誤差量Δy、z軸方向の位置誤差量Δz、x軸回りの回転誤差量Δrx、y軸回りの回転誤差量Δry、及びz軸回りの回転誤差量Δrzが得られ、これを補正するための補正量が上記の数式17によって算出される。そして、自動運転制御部47は、上記数式18に従って、ロボット25の姿勢を補正する。尚、x軸方向の位置誤差量Δx、y軸方向の位置誤差量Δy、及びz軸回りの回転誤差量Δrzについての補正量は、1回目に算出された値を維持しても良く、或いは、1回目に算出された値と2回目に算出された値を足し合わせた値で置き換えても良い。 By the above processing, the position error amount Δx in the x-axis direction, the position error amount Δy in the y-axis direction, the position error amount Δz in the z-axis direction, the rotation error amount Δrx around the x-axis, the rotation error amount Δry around the y-axis, and the rotation error amount Δrz around the z-axis are obtained, and the correction amounts for correcting these are calculated by the above formula 17. Then, the automatic driving control unit 47 corrects the posture of the robot 25 according to the above formula 18. Note that the correction amounts for the position error amount Δx in the x-axis direction, the position error amount Δy in the y-axis direction, and the rotation error amount Δrz around the z-axis may be maintained at the values calculated the first time, or may be replaced by a value obtained by adding the values calculated the first time and the second time.

以上のように2段階で補正量を算出するのは、識別図形を撮像する際に、識別図形がカメラ31の視野内において、その中心位置から遠い位置にある場合には、図形座標系から得られるz軸方向の位置データのばらつき、x軸回りの回転データのばらつき、y軸回りの回転データのばらつきが大きくなる傾向にあるため、これに起因して、x軸及びy軸方向における位置精度が悪化する虞があるからである。 The reason for calculating the correction amount in two stages as described above is that when capturing an image of an identification figure, if the identification figure is located far from its center position within the field of view of the camera 31, there tends to be large variation in the position data in the z-axis direction, the rotation data around the x-axis, and the rotation data around the y-axis obtained from the figure coordinate system, which may result in a deterioration in positional accuracy in the x-axis and y-axis directions.

そこで、上記のようにして、1回目の補正量算出処理では、x軸及びy軸方向における位置誤差量、並びにz軸回りの回転誤差量Δrzを補正するための補正量を算出するとともに、この補正量に基づいて、ロボット25の撮像姿勢を補正して、識別図形がカメラ31の視野の中心に位置する状態にする。そして、2回目の補正量算出処理では、このように識別図形がカメラ31の視野の中心に位置した画像に基づいて、残りのz軸方向における位置誤差量、並びにx軸及びy軸回りの回転誤差量Δrx,Δryに対する補正量を得るようにしている。以上により、正確なx軸、y軸及びz軸方向における位置誤差量、並びにx軸、y軸及びz軸回りの回転誤差量Δrx,Δry,Δrzを算出することができ、これらの誤差量に対する正確な補正量を算出することができる。そして、この結果、ロボット25の姿勢を高精度に制御することが可能となる。 As described above, in the first correction amount calculation process, the correction amount for correcting the position error amount in the x-axis and y-axis directions and the rotation error amount Δrz around the z-axis is calculated, and the imaging posture of the robot 25 is corrected based on this correction amount so that the identification figure is located at the center of the field of view of the camera 31. Then, in the second correction amount calculation process, based on the image in which the identification figure is located at the center of the field of view of the camera 31, the correction amount for the remaining position error amount in the z-axis direction and the rotation error amounts Δrx, Δry around the x-axis and y-axis is obtained. As a result, it is possible to calculate accurate position error amounts in the x-axis, y-axis, and z-axis directions, and rotation error amounts Δrx, Δry, Δrz around the x-axis, y-axis, and z-axis, and to calculate accurate correction amounts for these error amounts. As a result, it is possible to control the posture of the robot 25 with high precision.

(第4の実施形態)
これまでの実施形態では、位置誤差量Δx,Δy、及び回転誤差量Δrzを算出して、ロボット搭載移動装置の姿勢を補正しているが、この形態に限定されない。基準になる識別図形の位置である第1識別位置と、作業を行う前に位置を確認するためにカメラで撮影した識別図形を含む画像から算出される識別図形の位置である第2識別位置と、に基づいて、ワークなどの対象の対象位置を取得し、ロボットのハンド部の位置を補正する形態でもよい。つまり、位置誤差量Δx,Δy、及回転誤差量Δrzを算出せず、直接、対象位置を取得する形態でもよい。
Fourth Embodiment
In the above embodiments, the position error amounts Δx, Δy, and rotation error amount Δrz are calculated to correct the posture of the robot-mounted moving device, but this is not limited to the above. A configuration may also be used in which the target position of a target such as a workpiece is obtained based on a first identification position, which is the position of an identification figure that serves as a reference, and a second identification position, which is the position of an identification figure calculated from an image including the identification figure captured by a camera to check the position before performing work, and the position of the hand part of the robot is corrected. In other words, a configuration may also be used in which the target position is obtained directly without calculating the position error amounts Δx, Δy, and rotation error amount Δrz.

また、これまでの実施形態では、ワークの着脱を例に主に説明したが、これに限定されない。対象は、ワークの他に、工具、ATCカメラ、計測器などがある。工作機械内に着脱して用いられるものを対象とする。これらの対象は、ロボット搭載移動装置で搬送することができるためである。 In addition, in the embodiments described above, the attachment and detachment of a workpiece has been mainly described as an example, but this is not limiting. In addition to workpieces, objects include tools, ATC cameras, measuring instruments, etc. The objects are objects that are attached and detached within machine tools. This is because these objects can be transported by a robot-mounted moving device.

そこで、まず、ロボット搭載移動装置は、工作機械内に配された識別図形と平行な平面内で設定される第1軸と第2軸とにおける識別図形の位置を第1識別位置(例えば、平面内の2軸を基準にした位置座標)をティーチングで記憶する。第1識別位置は、工作機械内からワーク、工具、ATCカメラ、計測器などの対象を取り出す動作、または、工作機械内にワーク、工具、ATCカメラ、計測器などの対象を設置する動作を行う際のロボット搭載移動装置の位置として第1装置位置と関連付けられた情報である。ここで、第1軸と第2軸とは交差していればよく、直交していなくてもよい。平面内で位置(座標)が判別できる情報を提供できる軸であればよい。もちろん、直交するx軸とy軸の関係が好ましい形態ではある。また、本実施形態のロボット搭載移動装置の第1装置位置は、回転などの位置変化も含めた位置情報である。 First, the robot-mounted moving device stores the position of the identification figure on the first and second axes set in a plane parallel to the identification figure arranged in the machine tool as the first identification position (for example, position coordinates based on the two axes in the plane) by teaching. The first identification position is information associated with the first device position as the position of the robot-mounted moving device when performing the operation of taking out an object such as a workpiece, tool, ATC camera, or measuring instrument from the machine tool, or the operation of installing an object such as a workpiece, tool, ATC camera, or measuring instrument in the machine tool. Here, the first and second axes only need to intersect, and do not need to be orthogonal. Any axis that can provide information that can distinguish the position (coordinates) in the plane will suffice. Of course, the relationship between the x-axis and y-axis that are orthogonal is a preferable form. In addition, the first device position of the robot-mounted moving device in this embodiment is position information that also includes position changes such as rotation.

第1識別位置は、対象の位置である対象位置と関連付けられている。対象位置は、工具の位置、ワークの位置などの対象自体の位置情報でも良いし、ワークを取り付けている主軸のワーク取付位置、工具を取り付けている主軸や刃物台の工具取付位置などの設置位置や取り外し位置などの位置情報でもよい。 The first identification position is associated with a target position, which is the position of the target. The target position may be position information of the target itself, such as the position of a tool or the position of a workpiece, or may be position information such as an installation position or removal position, such as the workpiece mounting position of a spindle on which a workpiece is mounted, or the tool mounting position of a spindle or tool rest on which a tool is mounted.

ロボット搭載移動装置は、例えば、他の第2工作機械の前から移動し、ワークを設置する第1工作機械の前に移動し、第1工作機械の前で停止する。ロボット搭載移動装置が停止した停止位置は、第2装置位置になる。この第2装置位置は、第1装置位置と同じであれば、補正を行うことなく、ワークを設置できる。本実施形態のロボット搭載移動装置は、移動し停止した際の停止位置が第1装置位置と異なる場合があるため、そのような場合、第2装置位置を基準にして見た場合のワーク設置位置も変わるため、ハンドの位置の補正を行う必要がある。 For example, the robot-mounted moving device moves from in front of another second machine tool, moves in front of the first machine tool on which the workpiece is to be placed, and stops in front of the first machine tool. The position where the robot-mounted moving device stops becomes the second device position. If this second device position is the same as the first device position, the workpiece can be placed without correction. In the robot-mounted moving device of this embodiment, the stopping position after moving and stopping may differ from the first device position. In such a case, the workpiece placement position when viewed from the second device position as a reference will also change, and so the hand position must be corrected.

そこで、ロボット搭載移動装置は、第2装置位置においてカメラで撮影を行う。ロボット搭載移動装置のカメラで撮影された画像の中に識別図形があれば、ロボット搭載移動装置は、第2装置位置における識別図形の第2識別位置を取得する。ロボット搭載移動装置は、記憶している第1識別位置とカメラ撮影で取得した第2識別位置とを用いて、第2装置位置における対象位置の情報を取得する。そして、ロボット搭載移動装置は、対象位置の情報に基づいてロボットのハンド部の位置を、識別図形を含む平面内での(a)第1軸上の移動と(b)第2軸上の移動と(c)前記平面内での回転移動とで補正し、ハンド部で把持していたワークを工作機械内の所定位置に設置する。 The robot-mounted mobile device then takes an image with a camera at the second device position. If an identification figure is present in the image taken by the camera of the robot-mounted mobile device, the robot-mounted mobile device acquires a second identification position of the identification figure at the second device position. The robot-mounted mobile device acquires information on the target position at the second device position using the stored first identification position and the second identification position acquired by camera photography. Then, based on the information on the target position, the robot-mounted mobile device corrects the position of the robot's hand unit by (a) movement on the first axis, (b) movement on the second axis, and (c) rotational movement within the plane including the identification figure, and places the workpiece held by the hand unit at a predetermined position within the machine tool.

ここで、第1識別位置は、例えば、第1装置位置を原点と考えた場合に第1軸をX1軸とし第2軸をY1軸とすると、(x1,y1,rz1)となる。第1識別位置は、対象の位置である対象位置(x11,y11,rz11)と関連付けられている。第2識別位置は、第2装置位置を原点と考えた場合に第1軸をX2軸とし第2軸をY2軸とすると(x2,y2,rz2)となる。第1装置位置と第2装置位置とが同じであれば、(x2,y2,rz2)と(x1,y1,rz1)とは同じ位置となる。そのため、第2装置位置を基準にして見た場合の対象位置も(x11,y11,rz11)位置情報と同じである。 Here, the first identified position is, for example, (x1, y1, rz1) when the first axis is the X1 axis and the second axis is the Y1 axis when the first device position is considered to be the origin. The first identified position is associated with the target position (x11, y11, rz11), which is the target position. The second identified position is (x2, y2, rz2) when the first axis is the X2 axis and the second axis is the Y2 axis when the second device position is considered to be the origin. If the first device position and the second device position are the same, (x2, y2, rz2) and (x1, y1, rz1) are the same position. Therefore, the target position when viewed based on the second device position is also the same as the (x11, y11, rz11) position information.

しかし、前述したようにロボット搭載移動装置は、工作機械間を移動するため、第1装置位置と第2装置位置が異なる場合がある。ここでは、第1識別位置が(x1,y1,0(rz1=0))で、対象位置が(x11,y11,rz11)の場合の説明を行う。この場合、第2識別位置は、第2装置位置を原点と考えた場合に第1軸をX2軸とし第2軸をY2軸とした場合で(x2,y2,0)ではなくなる。これは、第1識別位置と第2識別位置とは、実空間では同じ位置であるが、ロボット搭載移動装置(特に、ロボット搭載移動装置の移動部)の位置が異なるためである。特に、移動部の向きが異なっているためである。 However, as mentioned above, since the robot-mounted mobile device moves between machine tools, the first device position and the second device position may differ. Here, we will explain the case where the first identification position is (x1, y1, 0 (rz1 = 0)) and the target position is (x11, y11, rz11). In this case, if the second device position is considered to be the origin, and the first axis is the X2 axis and the second axis is the Y2 axis, the second identification position will not be (x2, y2, 0). This is because the first identification position and the second identification position are the same position in real space, but the positions of the robot-mounted mobile device (particularly the mobile unit of the robot-mounted mobile device) are different. In particular, this is because the orientation of the mobile unit is different.

そこで、本実施形態では、(i)第1軸をX2軸とし第2軸をY2軸とした場合の(x2,y2,rz2)の第2識別位置と、(ii)第1識別位置(x1,Y1,0)との関係から、X2軸とY2軸とのX2-Y2座標系における対象の位置である対象位置の位置情報に変換する行列を用いて、対象位置(x22,y22,rz22)を取得する。変換行列は、予め作成し、ロボット搭載移動装置に記憶させておいたものである。取得したX2軸とY2軸とにおける対象位置である(x22,y22,rz22)の位置情報に基づいて、制御部は、ロボットのハンド部の位置を前記平面内での、(a)X2軸上の移動と、(b)Y2軸上の移動と、(c)識別図形を含む平面内での回転移動とで補正し、ハンド部でワークや工具の交換などを行うように制御している。 In this embodiment, the target position (x22, y22, rz22) is acquired using a matrix that converts the position information of the target position, which is the target position in the X2-Y2 coordinate system of the X2 and Y2 axes, from the relationship between (i) the second identification position (x2, y2, rz2) when the first axis is the X2 axis and the second axis is the Y2 axis, and (ii) the first identification position (x1, Y1, 0). The conversion matrix is created in advance and stored in the robot-mounted moving device. Based on the acquired position information of the target position (x22, y22, rz22) on the X2 and Y2 axes, the control unit corrects the position of the robot's hand unit by (a) movement on the X2 axis, (b) movement on the Y2 axis, and (c) rotational movement in the plane including the identification figure, and controls the hand unit to replace the workpiece or tool.

本実施形態では、対象位置である(x22,y22,rz22)の位置情報に変換する行列をロボット搭載移動装置が予め記憶して、それを用いて対象位置を取得しているが、これに限定されない。例えば、カメラ撮影で取得した画像から得られる識別図形の位置である(x2,y2,rz2)の位置情報と、その位置情報(第2識別位置)に対応付けした対象位置である(x22,y22,rz22)の位置情報が記述されたテーブルを予めロボット搭載位置装置に記憶させておいてもよい。 In this embodiment, the robot-mounted moving device stores in advance a matrix that converts the target position (x22, y22, rz22) into position information, and acquires the target position using this matrix, but this is not limited to this. For example, a table describing the position information (x2, y2, rz2), which is the position of the identification figure obtained from an image captured by a camera, and the position information (x22, y22, rz22), which is the target position associated with that position information (second identification position), may be stored in advance in the robot-mounted position device.

また、本実施形態では、位置誤差量Δx,Δy、及回転誤差量Δrzの3つを算出せず、ハンドの位置補正を行っているが、位置誤差量Δx,Δyを算出せず、回転誤差量Δrzを算出するような形態でもよい。例えば、第1識別位置と第2識別位置と変換行列とを用いて、第2装置位置におけるワークなどの対象のX座標(x22)とY座標(y22)、回転誤差量Δrzを算出する。そして、第1識別位置における対象位置の回転位置(rz11)に、回転誤差量Δrzを加えることで、対象位置(x22,y22,rz11+Δrz)を取得してもよい。 In addition, in this embodiment, the position of the hand is corrected without calculating the three position error amounts Δx, Δy, and rotation error amount Δrz, but it is also possible to calculate the rotation error amount Δrz without calculating the position error amounts Δx and Δy. For example, the X coordinate (x22) and Y coordinate (y22) and rotation error amount Δrz of an object such as a workpiece at the second device position are calculated using the first identification position, the second identification position, and a transformation matrix. Then, the rotation error amount Δrz may be added to the rotation position (rz11) of the object position at the first identification position to obtain the object position (x22, y22, rz11+Δrz).

本実施形態の位置情報は、x座標、y座標、回転座標(または回転量)の3つの情報である(x,y,rz)の位置情報を用いているがこれに限られない。例えば、座標(x,y,z)3つと、回転座標または回転量(rx,ry,rz)3つとの6つの情報(x,y,z,rx,ry,rz)を用いてもよい。情報の数は、必要に応じて、適宜選択・調整できる。例えば、対象位置として、(i)(x22,y22,z11,rx11,ry11,rz11+Δrz)の位置情報や、(ii)(x22,y22,z11,0,0,rz11+Δrz)の位置情報などを出力や取得する形態でもよい。(x22,y22,z11,0,0,rz11+Δrz)の位置情報の例では、z軸上での位置があるためz11を残してある。基準を0とすればrx11とry11とは0となり、平面内での移動では変化しないため0からの変更がない。このため、0と設定できる。このような位置情報を用いてもよいし、さらに、0の情報を削除し、4つ情報である(x22,y22,z11,rz11+Δrz)の位置情報を対象位置として出力や取得する形態でもよい。 The position information in this embodiment uses position information (x, y, rz), which is three pieces of information: x coordinate, y coordinate, and rotation coordinate (or rotation amount), but is not limited to this. For example, six pieces of information (x, y, z, rx, ry, rz), consisting of three coordinates (x, y, z) and three rotation coordinates or rotation amounts (rx, ry, rz), may be used. The number of pieces of information can be appropriately selected and adjusted as necessary. For example, as the target position, position information such as (i) (x22, y22, z11, rx11, ry11, rz11 + Δrz) or (ii) (x22, y22, z11, 0, 0, rz11 + Δrz) may be output or acquired. In the example of position information (x22, y22, z11, 0, 0, rz11 + Δrz), z11 is left because there is a position on the z axis. If the reference is 0, then rx11 and ry11 will be 0, and as they do not change when moving within a plane, there is no change from 0. For this reason, they can be set to 0. This type of position information may be used, or further, the 0 information may be deleted, and the four pieces of position information (x22, y22, z11, rz11 + Δrz) may be output or acquired as the target position.

なお、いろいろな変形例を説明したが、各本実施形態でも説明したように、識別図形を含む平面内(x,y,rz)で、ハンド位置の補正を行うため、識別図形を含む平面内で高い精度でハンドの位置補正ができることが共通する効果である。 Although various modified examples have been described, as explained in each embodiment, the hand position is corrected within a plane (x, y, rz) that includes the identification figure, so the common effect is that the hand position can be corrected with high precision within the plane that includes the identification figure.

以上、本発明の一実施の形態について説明したが、本発明が採り得る具体的な態様は、何らこれに限定されるものではない。 Although one embodiment of the present invention has been described above, the specific aspects that the present invention can adopt are in no way limited to this.

例えば、上述した各実施形態では、前記識別図形として、複数の画素が二次元に配列されたマトリクス構造を備えたものを採用したが、これに限られるものではなく、撮像画像からロボット25の姿勢の補正量を算出することができるものであれば、様々な図形を採用することができる。 For example, in each of the above-described embodiments, the identification figure has a matrix structure in which multiple pixels are arranged two-dimensionally, but this is not limited to this, and various figures can be used as long as they can calculate the amount of correction for the posture of the robot 25 from the captured image.

また、第1の実施形態において、識別図形を含む平面内の第1軸と第2軸について、第1軸をx軸とし、第2軸をy軸として、各軸方向の位置誤差、及び平面内の回転軸をz軸としてその軸回り回転誤差を補正するようにしたが、これに限られるものではい。前記補正量算出部50は、識別図形の位置によっては、第1軸または第2軸をz軸にしてもよい。この場合は、z軸方向の位置誤差量を推定して、これに対応する補正量を算出するように構成し、また、前記自動運転制御部47は、算出されたz軸方向の補正量に基づいて、ロボット25の各作業姿勢におけるz軸方向の位置を補正するように構成されていても良い。尚、z軸方向の位置誤差量は、例えば、基本画像大きさと現在の画像大きさとの倍率から算出することもできる。 In the first embodiment, the position error in the first axis and the second axis in the plane including the identification figure are corrected by setting the first axis as the x-axis and the second axis as the y-axis, and the rotation error around the axis is corrected by setting the rotation axis in the plane as the z-axis, but this is not limited to the above. Depending on the position of the identification figure, the correction amount calculation unit 50 may set the first axis or the second axis as the z-axis. In this case, the correction amount calculation unit 50 may be configured to estimate the position error amount in the z-axis direction and calculate the corresponding correction amount, and the automatic driving control unit 47 may be configured to correct the position in the z-axis direction in each working posture of the robot 25 based on the calculated correction amount in the z-axis direction. The position error amount in the z-axis direction can also be calculated, for example, from the magnification of the basic image size and the current image size.

また、上記の各実施形態では、無人搬送車35を用いた態様を例示したが、これに限定されるものではない。一般的な台車のように人が押して移動可能な搬送装置でもよい。この搬送装置上にロボット25を搭載し、人力により当該搬送装置を工作機械10の作業位置に搬送して、当該ロボット25により工作機械10に対してワークの着脱を実行させる態様としても良い。 In addition, in each of the above embodiments, an example is given of an automatic guided vehicle 35 being used, but the present invention is not limited to this. A transport device that can be moved by being pushed by a person, like a general cart, may also be used. A robot 25 may be mounted on this transport device, and the transport device may be transported to the working position of the machine tool 10 by human power, and the robot 25 may be used to attach and detach a workpiece to and from the machine tool 10.

また、上記の各実施形態では、工作機械として立形の旋盤を例示したが、これに限られるものではなく、横形の旋盤、立形及び横形のマシニングセンタの他、工具主軸とワーク主軸を備えた複合加工型の加工機械など、従前公知のあらゆる工作機械を適用することができる。 In addition, in each of the above embodiments, a vertical lathe is used as an example of a machine tool, but this is not limited to this, and any previously known machine tool can be used, such as a horizontal lathe, vertical and horizontal machining centers, and a multi-machining machine equipped with a tool spindle and a work spindle.

例えば、図10に示すような、工具を回転させる工具主軸105を備えた横形の旋盤100の場合、前記表示板16をホルダ106によって水平に支持するとともに、このホルダ106を工具主軸105に装着するようにした態様を採ることができる。この場合、旋盤100により加工を行うときには、ホルダ106を工具収容部である工具マガジンに格納しておき、前記ロボット25により作業を行うときに、ホルダ106を工具マガジンから取り出して工具主軸105に装着する。尚、図10において、符号101は第1主軸、符号103は第2主軸であり、これらは同軸且つ相互に対向するように配設される。また、符号102は第1主軸101に装着された第1チャック、符号104は第2主軸103に装着された第2チャックである。また、符号107は刃物台であり、符号108は刃物台107に設けられたタレット、符号109は、ワークW”を支持する支持治具であり、タレット108の外面に取り付けられている。 For example, in the case of a horizontal lathe 100 equipped with a tool spindle 105 for rotating a tool as shown in FIG. 10, the display plate 16 can be supported horizontally by a holder 106, and the holder 106 can be attached to the tool spindle 105. In this case, when machining is performed by the lathe 100, the holder 106 is stored in a tool magazine, which is a tool storage section, and when work is performed by the robot 25, the holder 106 is removed from the tool magazine and attached to the tool spindle 105. In FIG. 10, the reference numeral 101 denotes a first spindle, the reference numeral 103 denotes a second spindle, and these are arranged so as to be coaxial and face each other. The reference numeral 102 denotes a first chuck attached to the first spindle 101, and the reference numeral 104 denotes a second chuck attached to the second spindle 103. Additionally, reference numeral 107 denotes a tool rest, reference numeral 108 denotes a turret provided on the tool rest 107, and reference numeral 109 denotes a support jig that supports the workpiece W″ and is attached to the outer surface of the turret 108.

また、上記の各実施形態では、ロボット座標系の内、x軸及びy軸(x’軸及びy’軸)を水平面内で設定し、z軸を垂直方向に設定したが、これに限られるものではなく、座標軸の方向は任意に設定することができる。識別図形の座標軸x軸,y軸についても同様である。 In the above embodiments, the x-axis and y-axis (x'-axis and y'-axis) of the robot coordinate system are set in a horizontal plane, and the z-axis is set in a vertical direction, but this is not limiting and the directions of the coordinate axes can be set arbitrarily. The same is true for the xt -axis and yt - axis of the coordinate axis of the identification figure.

繰り返しになるが、上述した実施形態の説明は、すべての点で例示であって、制限的なものではない。当業者にとって変形および変更が適宜可能である。本発明の範囲は、上述の実施形態ではなく、特許請求の範囲によって示される。さらに、本発明の範囲には、特許請求の範囲内と均等の範囲内での実施形態からの変更が含まれる。 To reiterate, the above-described description of the embodiment is illustrative in all respects and is not restrictive. Those skilled in the art may make appropriate modifications and changes. The scope of the present invention is indicated by the claims, not by the above-described embodiment. Furthermore, the scope of the present invention includes modifications from the embodiment within the scope of the claims and the scope equivalent thereto.

Claims (10)

工作機械内から対象を取り出す動作、または、工作機械内に対象を設置する動作を行う際のロボット搭載移動装置の位置としての第1装置位置に関連する関連情報として、工作機械内に配された識別図形であって、複数の正方形をした画素が二次元に配列されたマトリクス構造を有する該識別図形と平行な平面内で設定される第1軸と第2軸とにおける前記第1装置位置における前記識別図形の位置を第1識別位置として記憶され、前記工作機械周辺を自律的に移動可能なロボット搭載移動装置であって、
(i)一つのカメラ、(ii)ワークまたは工具を把持するためのハンド部、(iii)前記ハンド部を可動可能に繋いでいる第2アーム部、及び(iv)第2アーム部を可動可能に繋いでいる第1アーム部を有するロボットと、
前記ロボットのハンド部の位置を制御する制御部と、
前記ロボットが搭載され、移動可能な移動部とを備え、
前記制御部は、前記第1装置位置と異なる第2装置位置において、前記カメラで前記識別図形が撮影された際の前記平面内での前記識別図形の位置である第2識別位置と、前記第1識別位置とに基づいて、前記第2装置位置における前記ロボットのハンド部の位置を、該識別図形と平行な前記平面内での(a)第1軸上の移動と、(b)第2軸上の移動と、(c)前記平面内での回転移動とで制御し、工作機械内から対象を前記ハンド部で把持して取り出す動作を制御する、ロボット搭載移動装置。
A robot-mounted mobile device capable of autonomously moving around the machine tool, the robot-mounted mobile device storing, as a first identification position, an identification figure arranged in the machine tool, the identification figure having a matrix structure in which a plurality of square pixels are two-dimensionally arranged, the position of the identification figure at the first device position along a first axis and a second axis set in a plane parallel to the identification figure, the identification figure being stored as a first identification position, as associated information relating to a first device position as a position of the robot-mounted mobile device when performing an operation of removing an object from a machine tool or an operation of placing an object in the machine tool, the robot-mounted mobile device being capable of autonomously moving around the machine tool,
A robot having: (i) one camera; (ii) a hand unit for gripping a workpiece or a tool; (iii) a second arm unit movably connecting the hand unit; and (iv) a first arm unit movably connecting the second arm unit;
A control unit that controls a position of a hand unit of the robot;
a moving part on which the robot is mounted and which is movable ;
The control unit, at a second device position different from the first device position, controls the position of the hand unit of the robot at the second device position by (a) movement on a first axis, (b) movement on a second axis, and (c) rotational movement within the plane parallel to the identification figure based on a second identification position, which is the position of the identification figure within the plane when the identification figure is photographed by the camera, and the first identification position, and controls the operation of grasping and removing an object with the hand unit from within a machine tool .
ワークに対して所定の加工を行う工作機械と、
請求項1に記載したロボット搭載移動装置と、を備え、
前記移動部は、前記工作機械に対して設定された作業位置に移動可能に構成され、
前記制御部は、予め設定された動作指令を含む動作プログラムに従って、前記ロボットに、作業開始姿勢、前記工作機械に設けられた姿勢補正用の識別図形に対して前記カメラを対向させることにより、該カメラよって前記識別図形を撮像する撮像姿勢、前記ワークに対して前記ハンド部を作用させるための1以上の作業姿勢を順次取らせるように構成され、
前記作業開始姿勢、撮像姿勢及び作業姿勢は、前記ロボットをティーチング操作することによって予め設定されるシステムであって、
前記識別図形は、所定の平面上に形成されるとともに、前記工作機械の加工領域内に配置され、
前記制御は、前記ティーチング操作時に、前記ロボットを、前記第1装置位置としての撮像姿勢に移行させた状態で、前記カメラを動作させて前記識別図形の画像を基準画像として撮像し、前記動作プログラムに従って、前記ロボットを実動作させる際に、前記移動部が前記作業位置に移動した状態で、前記ロボットを、前記作業開始姿勢から前記第2装置位置としての前記撮像姿勢に移行させた後に前記カメラにより撮像される前記識別図形の画像、及び前記基準画像に基づいて、前記ロボットの現在の姿勢とティーチング操作時の姿勢との間における、前記第1識別位置と前記第2識別位置との差に対応する前記カメラの位置の誤差量であって、前記識別図形と平行な平面内で設定される相互に直交する第1軸及び第2軸方向における前記カメラの位置誤差量、及び前記第1軸及び第2軸と直交する第3軸回りの前記カメラの回転誤差量を推定し、推定された各誤差量に基づいて、前記作業姿勢における前記ハンド部に対する補正量を算出し、算出した補正量に基づいて、前記作業姿勢における前記ハンド部の位置を補正するように構成されたシステム。
A machine tool that performs a predetermined processing on a workpiece;
The robot-mounted moving device according to claim 1,
The moving unit is configured to be movable to a work position set with respect to the machine tool ,
the control unit is configured to cause the robot to sequentially assume a work start posture, an imaging posture for imaging an identification figure for posture correction provided on the machine tool by facing the camera to the identification figure, and one or more working postures for causing the hand unit to act on the workpiece, in accordance with an operation program including preset operation commands;
The work start posture, the image capturing posture, and the work posture are preset by a teaching operation of the robot,
the identification figure is formed on a predetermined plane and is arranged within a machining area of the machine tool;
the control unit , during the teaching operation, operates the camera to capture an image of the identification figure as a reference image while the robot is moved to an imaging posture as the first device position , and when the robot is actually operated in accordance with the operation program, with the moving unit moved to the work position, based on the image of the identification figure captured by the camera after the robot is moved from the work start posture to the imaging posture as the second device position and the reference image, estimates an amount of error in the position of the camera corresponding to the difference between the first identification position and the second identification position between the current posture of the robot and the posture during the teaching operation, the amount of error in the position of the camera in first and second axis directions that are mutually orthogonal and set in a plane parallel to the identification figure, and an amount of rotation error of the camera around a third axis that is orthogonal to the first and second axes, the amount of error being calculated based on each estimated error amount, and corrects the position of the hand unit in the working posture based on the calculated correction amount.
前記制御は、
前記第1軸及び第2軸を、前記ティーチング操作時におけるロボットの姿勢に対応した座標系であるx軸及びy軸として、該x軸-y軸座標系における前記カメラの位置誤差量Δx,Δy、及びx軸及びy軸に直交する第3軸としてのz軸回りの前記カメラの回転誤差量Δrzを推定し、
推定した位置誤差量Δx,Δy、及び回転誤差量Δrzに基づいて、前記x軸-y軸座標系における、ティーチング操作時と現在との間の前記ハンド部の並進誤差量t,tを下記の数式によって算出し、
算出された並進誤差量t,t、及び回転誤差量Δrzに基づいて、前記各作業姿勢における前記ハンド部の位置を補正するように構成された請求項2記載のシステム。
Figure 0007482364000056
但し、この数式において、x,yは、x軸-y軸座標系におけるティーチング操作時の前記カメラの位置であり、x’,y’は、前記ロボットの現在の姿勢に対応した座標系であるx’軸-y’軸座標系における現在の前記カメラの位置である。
The control unit is
The first and second axes are defined as x- and y-axes, which are coordinate systems corresponding to the posture of the robot during the teaching operation. Position error amounts Δx and Δy of the camera in the x-y coordinate system and a rotation error amount Δrz of the camera around the z-axis, which is a third axis perpendicular to the x- and y-axes, are estimated;
Based on the estimated position error amounts Δx, Δy and rotation error amount Δrz, translation error amounts t x and t y of the hand unit between the time of the teaching operation and the present time in the x-y coordinate system are calculated by the following formulas:
3. The system according to claim 2, configured to correct the position of the hand unit in each of the working postures based on the calculated translation error amounts tx , ty and rotation error amount Δrz.
Figure 0007482364000056
However, in this formula, x, y are the position of the camera during the teaching operation in the x-y coordinate system, and x', y' are the current position of the camera in the x'-y' coordinate system, which is a coordinate system corresponding to the current posture of the robot.
前記移動部は、前記制御によって制御される無人搬送車であり、前記制御による制御の下、前記工作機械に対して設定された前記作業位置に経由するように構成されていることを特徴とする請求項2記載のシステム。 3. The system according to claim 2, wherein the moving unit is an unmanned guided vehicle controlled by the control unit , and is configured to pass through the work position set for the machine tool under the control of the control unit . 前記制御部は、推定された前記第1軸及び第2軸方向における前記カメラの位置誤差量、及び前記第3軸回りの前記カメラの回転誤差量を算出した後、更に、算出した前記第1軸及び第2軸方向の位置誤差量及び前記第3軸回りの回転誤差量に基づいて前記ロボットの撮像姿勢を補正するとともに、補正した撮像姿勢を取るように前記ロボットを動作させた後、前記カメラを動作させて前記識別図形を撮像し、得られた前記識別図形の画像、及び前記基準画像に基づいて、前記ロボットの現在の姿勢とティーチング操作時の姿勢との間における前記カメラの位置の誤差量であって、前記第1及び第2軸方向と直交する第3軸方向における前記カメラの位置誤差量、前記第1軸回りの前記カメラの回転誤差量、及び前記第2軸回りの前記カメラの回転誤差量を推定し、推定された前記第1軸、第2軸及び第3軸方向の各位置誤差量、並びに前記第1軸、第2軸及び第3軸回りの各回転誤差量に基づいて、前記作業姿勢における前記ハンド部の位置を補正するように構成された請求項2記載のシステム。 3. The system according to claim 2, wherein the control unit is configured to calculate an estimated position error amount of the camera in the first and second axis directions, and a rotation error amount of the camera around the third axis, and then correct an imaging posture of the robot based on the calculated position error amount of the first and second axis directions, and a rotation error amount of the camera around the third axis, and to operate the robot to take the corrected imaging posture, and then operate the camera to image the identification figure, and estimate, based on the obtained image of the identification figure and the reference image, amounts of error in the position of the camera between the current posture of the robot and the posture during a teaching operation, the amount of error in the position of the camera in a third axis direction orthogonal to the first and second axis directions, the amount of rotation error of the camera around the first axis, and the amount of rotation error of the camera around the second axis, and to correct a position of the hand unit in the working posture based on the estimated position error amounts in the first, second, and third axis directions, and the amount of rotation error about the first, second, and third axes. ワークに対して所定の加工を行う工作機械と、
請求項1に記載したロボット搭載移動装置と、を備え、
前記移動部は、前記工作機械に対して設定された作業位置に移動可能に構成され、
前記制御部は、予め設定された動作指令を含む動作プログラムに従って、前記ロボットに、作業開始姿勢、前記工作機械に設けられた姿勢補正用の識別図形をカメラよって撮像する撮像姿勢、前記ワークに対して前記ハンド部を作用させるための1以上の作業姿勢を順次取らせるように構成され、
前記作業開始姿勢、撮像姿勢及び作業姿勢は、前記ロボットをティーチング操作することによって予め設定されるシステムであって、
前記識別図形は、所定の平面上に形成されるとともに、前記工作機械の加工領域内に配置され、
前記制御は、前記ティーチング操作時に、前記ロボットを、前記第1装置位置としての撮像姿勢に移行させた状態で、前記カメラを動作させて前記識別図形の画像を基準画像として撮像し、前記動作プログラムに従って、前記ロボットを実動作させる際に、前記移動部が前記作業位置に移動した状態で、前記ロボットを、前記作業開始姿勢から前記第2装置位置としての前記撮像姿勢に移行させた後に前記カメラにより撮像される前記識別図形の画像、及び前記基準画像に基づいて、前記ロボットの現在の姿勢とティーチング操作時の姿勢との間における、前記第1識別位置と前記第2識別位置との差に対応する前記カメラの位置の誤差量であって、前記識別図形と平行な平面内で設定される相互に直交する第1軸及び第2軸方向、並びに前記第1軸及び第2軸と直交する第3軸方向における前記カメラの各位置誤差量と、前記第1軸、第2軸及び第3軸回りの前記カメラの各回転誤差量とを推定し、推定された各位置誤差量及び各回転後誤差量に基づいて、前記作業姿勢における前記ハンド部の位置を補正するように構成されたシステム。
A machine tool that performs a predetermined processing on a workpiece;
The robot-mounted moving device according to claim 1,
The moving unit is configured to be movable to a work position set with respect to the machine tool ,
the control unit is configured to sequentially cause the robot to take a work start posture, an image capturing posture for capturing an image of an identification figure for posture correction provided on the machine tool by a camera , and one or more working postures for causing the hand unit to act on the workpiece, in accordance with an operation program including preset operation commands ;
The work start posture, the image capturing posture, and the work posture are preset by a teaching operation of the robot,
the identification figure is formed on a predetermined plane and is arranged within a machining area of the machine tool;
the control unit , during the teaching operation, operates the camera to capture an image of the identification figure as a reference image while the robot is moved to an imaging posture as the first device position , and when the robot is actually operated in accordance with the operation program, with the moving unit moved to the work position, based on the image of the identification figure captured by the camera after the robot is moved from the work start posture to the imaging posture as the second device position and the reference image, estimates position error amounts of the camera corresponding to the difference between the first identification position and the second identification position between the current posture of the robot and the posture during the teaching operation, the position error amounts of the camera in first and second axial directions that are mutually orthogonal and set in a plane parallel to the identification figure, and a third axial direction that is orthogonal to the first and second axes, and each rotation error amount of the camera around the first, second and third axes, and corrects the position of the hand unit in the work posture based on the estimated position error amounts and each post-rotation error amount.
前記制御は、
前記基準画像に基づいて、前記ロボットに対応したロボット座標系であって、前記ティーチング操作時のロボット座標系における、該ティーチング操作による撮像時のカメラ位置
Figure 0007482364000057
を算出する処理と、
前記実動作時に得られる前記識別図形の画像に基づいて、前記ティーチング操作時のロボット座標系における、該実動作による撮像時のカメラ位置
Figure 0007482364000058
を算出する処理と、
前記ティーチング操作時のロボット座標系における前記カメラ位置
Figure 0007482364000059
、及び前記カメラ位置
Figure 0007482364000060
に基づいて、前記実動作時のロボット座標系における前記カメラの前記第1軸、第2軸及び第3軸方向の位置誤差量、並びに前記第1軸、第2軸及び第3軸回りの回転誤差量を推定する処理と、
推定された前記位置誤差量及び回転誤差量に基づいて、前記作業姿勢における前記ハンド部の位置を補正する処理とを実行するように構成された請求項6記載のシステム。
The control unit is
A robot coordinate system corresponding to the robot based on the reference image, the robot coordinate system at the time of the teaching operation, the camera position at the time of imaging by the teaching operation
Figure 0007482364000057
A process of calculating
Based on the image of the identification figure obtained during the actual operation, a camera position at the time of imaging by the actual operation in the robot coordinate system during the teaching operation is determined.
Figure 0007482364000058
A process of calculating
The camera position in the robot coordinate system during the teaching operation
Figure 0007482364000059
, and the camera position
Figure 0007482364000060
a process of estimating position error amounts in the first axis, the second axis, and the third axis directions of the camera and rotation error amounts around the first axis, the second axis, and the third axis in the robot coordinate system during the actual operation based on the above-mentioned;
7. The system according to claim 6, further comprising a process of correcting the position of the hand unit in the working posture based on the estimated position error amount and rotation error amount.
前記制御は、
前記ティーチング操作時のロボット座標系における前記カメラ位置
Figure 0007482364000061
、及び前記カメラ位置
Figure 0007482364000062
を算出した後、
ティーチング操作時の座標系におけるティーチング操作時のカメラ角度
Figure 0007482364000063

Figure 0007482364000064

Figure 0007482364000065
と、ティーチング操作時の座標系における現在のカメラ角度
Figure 0007482364000066

Figure 0007482364000067

Figure 0007482364000068
とに基づいて、これらの差分を算出することによって、前記第1軸をx軸、第2軸をy軸、第3軸をz軸として、x軸、y軸及びz軸回りの各回転誤差量Δrx、Δry及びΔrzを算出し、算出した前記回転誤差量Δrx、Δry及びΔrzに基づいて、前記実動作時のロボット座標系における前記カメラの前記回転誤差量として、ティーチング操作時のロボット座標系と実動作時のロボット座標系との間の回転行列
Figure 0007482364000069
を算出する処理と、
前記実動作時のロボット座標系における前記カメラの位置誤差量として、前記ティーチング操作時のロボット座標系から前記実動作時のロボット座標系への並進行列
Figure 0007482364000070
を算出する処理と、
前記回転行列
Figure 0007482364000071
及び並進行列
Figure 0007482364000072
に基づいて、補正量
Figure 0007482364000073
を算出する処理と、
前記補正量
Figure 0007482364000074
に基づいて、前記作業姿勢における前記ハンド部の補正された位置
Figure 0007482364000075
を算出する処理とを実行するように構成された請求項7記載のシステム。
The control unit is
The camera position in the robot coordinate system during the teaching operation
Figure 0007482364000061
, and the camera position
Figure 0007482364000062
After calculating,
Camera angle during teaching operation in the coordinate system during teaching operation
Figure 0007482364000063
,
Figure 0007482364000064
,
Figure 0007482364000065
and the current camera angle in the coordinate system during teaching operation.
Figure 0007482364000066
,
Figure 0007482364000067
,
Figure 0007482364000068
and calculating the differences between the x-axis, the y-axis, and the z-axis based on the calculated rotation error amounts Δrx, Δry, and Δrz, respectively, around the x-axis, the y-axis, and the z-axis, with the first axis being the x-axis, the second axis being the y-axis, and the third axis being the z-axis. Based on the calculated rotation error amounts Δrx, Δry, and Δrz, a rotation matrix between the robot coordinate system during the teaching operation and the robot coordinate system during the actual operation is calculated as the rotation error amount of the camera in the robot coordinate system during the actual operation.
Figure 0007482364000069
A process of calculating
As the position error amount of the camera in the robot coordinate system during the actual operation, a translation matrix from the robot coordinate system during the teaching operation to the robot coordinate system during the actual operation is
Figure 0007482364000070
A process of calculating
The rotation matrix
Figure 0007482364000071
and the parallel matrix
Figure 0007482364000072
Based on this, the correction amount
Figure 0007482364000073
A process of calculating
The correction amount
Figure 0007482364000074
Based on this, the corrected position of the hand unit in the working posture is
Figure 0007482364000075
The system of claim 7 configured to perform the steps of:
前記制御は、前記回転行列
Figure 0007482364000076
、並進行列
Figure 0007482364000077
、補正量
Figure 0007482364000078
及び補正位置
Figure 0007482364000079
を以下の算出式によって算出するように構成された請求項8記載のシステム。
Figure 0007482364000080
Figure 0007482364000081
Figure 0007482364000082
Figure 0007482364000083
但し、
Figure 0007482364000084
は、ティーチング操作時のロボット座標系におけるティーチング操作時のハンド部の位置である。
The control unit calculates the rotation matrix
Figure 0007482364000076
, Parallel matrix
Figure 0007482364000077
,Correction amount
Figure 0007482364000078
and correction position
Figure 0007482364000079
The system according to claim 8, configured to calculate the following formula:
Figure 0007482364000080
Figure 0007482364000081
Figure 0007482364000082
Figure 0007482364000083
however,
Figure 0007482364000084
is the position of the hand during the teaching operation in the robot coordinate system during the teaching operation.
前記制御部は、前記カメラで前記識別図形を撮影する際に、前記カメラの撮像光軸が前記識別図形に対して斜めに傾斜するように制御する請求項1記載のロボット搭載移動装置。
2. The robot-mounted moving device according to claim 1, wherein the control unit controls the camera so that an imaging optical axis of the camera is inclined obliquely with respect to the identification symbol when the identification symbol is photographed by the camera.
JP2021526426A 2019-09-11 2020-09-10 Robot-mounted mobile device and system Active JP7482364B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
IBPCT/IB2019/001004 2019-09-11
PCT/IB2019/001004 WO2021048579A1 (en) 2019-09-11 2019-09-11 System and machine tool
PCT/US2020/050073 WO2021050646A1 (en) 2019-09-11 2020-09-10 Robot-mounted moving device, system, and machine tool

Publications (2)

Publication Number Publication Date
JP2022530589A JP2022530589A (en) 2022-06-30
JP7482364B2 true JP7482364B2 (en) 2024-05-14

Family

ID=74866149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021526426A Active JP7482364B2 (en) 2019-09-11 2020-09-10 Robot-mounted mobile device and system

Country Status (2)

Country Link
JP (1) JP7482364B2 (en)
WO (1) WO2021048579A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116175256B (en) * 2023-04-04 2024-04-30 杭州纳志机器人科技有限公司 Automatic positioning method for loading and unloading of trolley type robot

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010162635A (en) 2009-01-14 2010-07-29 Fanuc Ltd Method for correcting position and attitude of self-advancing robot
JP2015150666A (en) 2014-02-18 2015-08-24 株式会社Ihi Robot remote control system and robot remote control method
JP2017056546A (en) 2015-09-14 2017-03-23 ファナック株式会社 Measurement system used for calibrating mechanical parameters of robot
JP2017071033A (en) 2015-10-09 2017-04-13 キヤノン株式会社 Working reference object, working reference object manufacturing method, robot arm adjusting method, vision system, robot apparatus, and indicator member
JP2017074631A (en) 2015-10-13 2017-04-20 富士電機株式会社 Manufacturing system
CN107689061A (en) 2017-07-11 2018-02-13 西北工业大学 Rule schema shape code and localization method for indoor mobile robot positioning
JP2018058142A (en) 2016-10-04 2018-04-12 ファナック株式会社 Robot system equipped with robot supported by movable truck
WO2018092222A1 (en) 2016-11-16 2018-05-24 株式会社牧野フライス製作所 Machine tool system
JP2019093533A (en) 2017-11-28 2019-06-20 ファナック株式会社 Robot and robot system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5572102A (en) * 1995-02-28 1996-11-05 Budd Canada Inc. Method and apparatus for vision control of welding robots
JP3998741B2 (en) * 1995-07-12 2007-10-31 ファナック株式会社 Robot movement control method
JPH11156764A (en) * 1997-11-28 1999-06-15 Denso Corp Locomotive robot device
JP2009091129A (en) * 2007-10-10 2009-04-30 Denso Corp Workpiece grasping tool and workpiece transfer device using the same tool
ES2522921B2 (en) * 2013-05-17 2015-07-30 Loxin 2002, S.L. Head and automatic machining procedure with vision
JP6415190B2 (en) * 2014-09-03 2018-10-31 キヤノン株式会社 ROBOT DEVICE, ROBOT CONTROL PROGRAM, RECORDING MEDIUM, AND ROBOT DEVICE CONTROL METHOD
CN109927012B (en) * 2019-04-08 2021-07-30 清华大学 Mobile grabbing robot and automatic goods taking method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010162635A (en) 2009-01-14 2010-07-29 Fanuc Ltd Method for correcting position and attitude of self-advancing robot
JP2015150666A (en) 2014-02-18 2015-08-24 株式会社Ihi Robot remote control system and robot remote control method
JP2017056546A (en) 2015-09-14 2017-03-23 ファナック株式会社 Measurement system used for calibrating mechanical parameters of robot
JP2017071033A (en) 2015-10-09 2017-04-13 キヤノン株式会社 Working reference object, working reference object manufacturing method, robot arm adjusting method, vision system, robot apparatus, and indicator member
JP2017074631A (en) 2015-10-13 2017-04-20 富士電機株式会社 Manufacturing system
JP2018058142A (en) 2016-10-04 2018-04-12 ファナック株式会社 Robot system equipped with robot supported by movable truck
WO2018092222A1 (en) 2016-11-16 2018-05-24 株式会社牧野フライス製作所 Machine tool system
CN107689061A (en) 2017-07-11 2018-02-13 西北工业大学 Rule schema shape code and localization method for indoor mobile robot positioning
JP2019093533A (en) 2017-11-28 2019-06-20 ファナック株式会社 Robot and robot system

Also Published As

Publication number Publication date
JP2022530589A (en) 2022-06-30
WO2021048579A1 (en) 2021-03-18

Similar Documents

Publication Publication Date Title
US20220331970A1 (en) Robot-mounted moving device, system, and machine tool
WO2021039829A1 (en) Production system
JP6855492B2 (en) Robot system, robot system control device, and robot system control method
US7403648B2 (en) Apparatus for generating three-dimensional model data
US20040172164A1 (en) Method and apparatus for single image 3D vision guided robotics
CN110039520B (en) Teaching and processing system based on image contrast
JP7482364B2 (en) Robot-mounted mobile device and system
CN109732601B (en) Method and device for automatically calibrating pose of robot to be perpendicular to optical axis of camera
WO2023032400A1 (en) Automatic transport device, and system
WO2022091767A1 (en) Image processing method, image processing device, robot mounted-type conveyance device, and system
JP2022126768A (en) Robot-equipped moving device
JP6832408B1 (en) Production system
WO2022195938A1 (en) Robot system positioning accuracy measurement method
JP7012181B1 (en) Robot system
JP2016203282A (en) Robot with mechanism for changing end effector attitude
CN114571199A (en) Screw locking machine and screw positioning method
JP7015949B1 (en) Sticking position measuring device and machine tool equipped with it
JP6851535B1 (en) Setting method using teaching operation
JP2024068115A (en) Robot-mounted moving device
JP2021112809A (en) Production system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210512

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20210518

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220712

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20221005

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230228

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20230424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231024

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240119

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

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20240228

RD07 Notification of extinguishment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7427

Effective date: 20240405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240405

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20240405

R150 Certificate of patent or registration of utility model

Ref document number: 7482364

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150