JP7015949B1 - Sticking position measuring device and machine tool equipped with it - Google Patents
Sticking position measuring device and machine tool equipped with it Download PDFInfo
- Publication number
- JP7015949B1 JP7015949B1 JP2021041410A JP2021041410A JP7015949B1 JP 7015949 B1 JP7015949 B1 JP 7015949B1 JP 2021041410 A JP2021041410 A JP 2021041410A JP 2021041410 A JP2021041410 A JP 2021041410A JP 7015949 B1 JP7015949 B1 JP 7015949B1
- Authority
- JP
- Japan
- Prior art keywords
- identification
- axis
- support member
- machine tool
- robot
- 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
Links
- 238000004364 calculation method Methods 0.000 claims abstract description 55
- 238000012545 processing Methods 0.000 claims description 6
- 238000000034 method Methods 0.000 abstract description 15
- 230000008569 process Effects 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 abstract description 7
- 238000003860 storage Methods 0.000 description 30
- 238000004519 manufacturing process Methods 0.000 description 24
- 238000012937 correction Methods 0.000 description 20
- 238000003384 imaging method Methods 0.000 description 19
- 239000000463 material Substances 0.000 description 12
- 239000000047 product Substances 0.000 description 12
- 238000003754 machining Methods 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 5
- 238000005259 measurement Methods 0.000 description 4
- 238000013519 translation Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 2
- 239000002826 coolant Substances 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 239000012636 effector Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000011265 semifinished product Substances 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23Q—DETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
- B23Q17/00—Arrangements for observing, indicating or measuring on machine tools
- B23Q17/24—Arrangements for observing, indicating or measuring on machine tools using optics or electromagnetic waves
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J13/00—Controls for manipulators
- B25J13/08—Controls for manipulators by means of sensing devices, e.g. viewing or touching devices
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Human Computer Interaction (AREA)
- Robotics (AREA)
- Manipulator (AREA)
Abstract
【課題】識別図形が描画されたシールの、支持部材への貼着位置を測定する貼着位置測定装置、及びこれを備えた工作機械を提供する。【解決手段】識別図形が描画されたシールSの、支持部材16への貼着位置を測定する装置100である。支持部材16を保持する保持部101と、この保持部101に保持され、シールSが貼着された支持部材16を撮像するカメラ102と、カメラ102によって撮像された支持部材16及びシールSを含む画像を処理して、支持部材16に設定された基準部位を基準とした識別図形の位置情報を算出する位置情報算出部105とを備える。【選択図】図5PROBLEM TO BE SOLVED: To provide a sticking position measuring device for measuring a sticking position of a sticker on which an identification figure is drawn on a support member, and a machine tool provided with the sticking position measuring device. SOLUTION: This is a device 100 for measuring a sticking position of a sticker S on which an identification figure is drawn on a support member 16. Includes a holding portion 101 that holds the support member 16, a camera 102 that captures an image of the support member 16 that is held by the holding portion 101 and has a seal S attached, and a support member 16 and a seal S that are imaged by the camera 102. It is provided with a position information calculation unit 105 that processes an image and calculates the position information of the identification figure based on the reference portion set on the support member 16. [Selection diagram] FIG. 5
Description
本発明は、識別図形が貼着された支持部材において、当該識別図形の貼着位置を測定する測定装置、及びこの測定装置を備えた工作機械に関する。 The present invention relates to a measuring device for measuring the sticking position of the identification figure in a support member to which the identification figure is attached, and a machine tool provided with the measuring device.
従来、特開2017-132002号公報(下記特許文献1)に開示されるような生産システムが知られている。この生産システムは、ロボット及びこれを搭載した無人搬送車から構成されるロボットシステムを備えており、無人搬送車を所定の工作機械に経由させた後、当該ロボットにより、工作機械に対してワークの着脱等の作業を行うように構成されている。
Conventionally, a production system as disclosed in Japanese Patent Application Laid-Open No. 2017-13202 (
前記無人搬送車は、一般的に、車輪によって自走するように構成されており、工作機械に対する位置決め精度は必ずしも高いものとは言えない。このため、ロボットが工作機械に対して作業を行う際に、当該作業が正確に行われるように、無人搬送車を工作機械に対して位置決めした際に生じる誤差を補正する必要がある。 The automatic guided vehicle is generally configured to be self-propelled by wheels, and its positioning accuracy with respect to a machine tool is not always high. Therefore, when the robot performs work on the machine tool, it is necessary to correct the error that occurs when the automatic guided vehicle is positioned with respect to the machine tool so that the work can be performed accurately.
また、無人搬送車は、弾性を有する車輪によって移動するように構成されているため、ロボットの先端部(ハンド部)を工作機械内に進入させたときに、当該ロボットの姿勢が傾き易いという特性を有している。このため、工作機械内で作業を行う際のロボットの姿勢を正確に補正する必要がある。 In addition, since the automatic guided vehicle is configured to be moved by elastic wheels, the posture of the robot tends to tilt when the tip (hand part) of the robot enters the machine tool. have. Therefore, it is necessary to accurately correct the posture of the robot when working in the machine tool.
そこで、従来、工作機械内で作業を行う際のロボットの姿勢を正確に補正する手法として、工作機械の機内に識別用の図形(識別図形)を配置し、この識別図形をロボットの先端部に設けたカメラによって撮像し、得られた識別図形の画像に基づいて、ロボットの姿勢を補正する方法が提案されている。 Therefore, conventionally, as a method of accurately correcting the posture of the robot when working in the machine tool, an identification figure (identification figure) is placed in the machine tool, and this identification figure is placed on the tip of the robot. A method has been proposed in which an image is taken by an provided camera and the posture of the robot is corrected based on the obtained image of the identification figure.
具体的には、この補正手法では、まず、ティーチング操作によってロボットの各作業姿勢を設定する際に、工作機械に対して予定された作業位置に前記無人搬送車を移動させた後、ロボットの先端部を工作機械の機内に進入させて、当該工作機械の機内に配置された識別用の図形(識別図形)を、ロボットの先端部に装着されたカメラにより基準画像として撮像するとともに、このティーチング時のロボットの姿勢(撮像姿勢)及び基準画像に係るデータを記憶する。 Specifically, in this correction method, first, when setting each working posture of the robot by the teaching operation, the automatic guided vehicle is moved to the work position planned for the machine tool, and then the tip of the robot is used. The part is made to enter the machine tool, and the identification figure (identification figure) arranged in the machine tool is imaged as a reference image by the camera attached to the tip of the robot, and at the time of this teaching. The robot's posture (imaging posture) and data related to the reference image are stored.
そして、ロボットシステムを自動運転させる際には、工作機械に対して設定された作業位置に無人搬送車を移動させた後、まず、ロボットに前記撮像姿勢を取らせて、工作機械の機内に配置された識別用の図形(識別図形)を、ロボットの先端部に装着されたカメラにより撮像する。ついで、得られた識別図形の画像及びティーチング操作時に得られた基準画像に基づいて、ティーチング時の撮像姿勢と、現在の撮像姿勢との間の姿勢誤差量を算出し、得られた誤差量に基づいて、続いて実行されるロボットの各作業姿勢を補正する。 Then, when the robot system is automatically operated, the automatic guided vehicle is moved to the work position set for the machine tool, and then the robot is first made to take the imaging posture and placed in the machine tool. The identified figure for identification (identification figure) is imaged by a camera attached to the tip of the robot. Then, based on the obtained image of the identification figure and the reference image obtained at the time of teaching operation, the posture error amount between the imaging posture at the time of teaching and the current imaging posture was calculated, and the obtained error amount was calculated. Based on this, each working posture of the robot to be executed subsequently is corrected.
尚、この補正手法では、前記識別図形を工作機械の機内に配置する態様として、識別図形が描画されたシールを適宜支持部材に貼着し、当該シールが貼着された支持部材を工作機械の機内に配設する態様が取られている。 In this correction method, as an embodiment of arranging the identification figure in the machine tool, a sticker on which the identification figure is drawn is appropriately attached to a support member, and the support member to which the seal is attached is attached to the machine tool. It is arranged in the machine.
ところで、上記のような補正手法では、ロボットシステムが工作機械に対して作業を行う都度、前記識別図形を用いた補正が行われるため、この識別図形が貼着された支持部材は、高い頻度で加工領域内に配置されることになる。そして、このように高い頻度で識別図形を使用すると、識別図形が描かれたシールが加工領域内に存在する切屑やクーラント等と接触する確率が高まるため、このような切屑やクーラント等との接触によって、当該シールが損傷することがあり、また、経年劣化等によって前記シールに損傷が生じることもある。 By the way, in the above-mentioned correction method, the correction using the identification figure is performed every time the robot system works on the machine tool, so that the support member to which the identification figure is attached is frequently used. It will be placed in the processing area. When the identification figure is used with such a high frequency, the probability that the seal on which the identification figure is drawn comes into contact with the chips, coolant, etc. existing in the machined area increases, so that the contact with such chips, coolant, etc. The seal may be damaged, and the seal may be damaged due to aging or the like.
斯くして、このようにしてシールに損傷を生じると、ロボットの作業姿勢を正確に補正することができなくなるため、正確な補正に支障をきたす程度にシールが損傷した場合には、当該シールを新たなものと交換する必要がある。 Thus, if the seal is damaged in this way, it will not be possible to accurately correct the working posture of the robot. Therefore, if the seal is damaged to the extent that it interferes with accurate correction, the seal will be removed. It needs to be replaced with a new one.
ところが、支持部材に貼着されたシールを交換する場合に、その支持部材におけるシールの貼着位置を、交換前の貼着位置に対して、厳密に一致させるのは困難であるため、ロボットの作業姿勢の正確な補正を実現するためには、再度、前記ティーチング操作を実行して、以前に設定されたティーチング時の撮像姿勢を再設定するとともに、識別画像を再度撮像して、基準となるティーチング時の撮像画像を更新する必要がある。 However, when replacing the seal attached to the support member, it is difficult to make the attachment position of the seal on the support member exactly match the attachment position before the exchange, so that the robot In order to realize accurate correction of the working posture, the teaching operation is executed again to reset the previously set imaging posture at the time of teaching, and the identification image is imaged again to serve as a reference. It is necessary to update the captured image at the time of teaching.
しかしながら、シールを交換するたびに、ティーチング操作によって、撮像姿勢を再設定するとともに、基準となる撮像画像を更新するようにしたのでは、シール交換作業が煩雑なものとなり、また、生産システム全体の稼働率の低下を招くことになって、生産効率上、好ましくない。 However, if the imaging posture is reset by the teaching operation and the reference captured image is updated every time the seal is replaced, the seal replacement work becomes complicated and the entire production system is replaced. This is not preferable in terms of production efficiency because it causes a decrease in the operating rate.
一方、支持部材に貼着されたシールの当該支持部材における正確な位置情報が分かれば、貼り替え前の旧シールの貼着位置と、新たなシールの貼着位置との間の位置誤差量を算出することができる。そして、位置誤差量を算出することができれば、この位置誤差量に基づいて、ティーチング操作時に得られた旧シールの基準画像を補正することにより、現在の新たなシールを用いた状態での基準画像、即ち、ロボットがティーチング操作時の撮像姿勢を取ったときに、新たなシールをカメラにより撮像することで得られるであろう基準画像を生成することができる。 On the other hand, if the accurate position information of the sticker attached to the support member in the support member is known, the amount of positional error between the attachment position of the old sticker before the replacement and the attachment position of the new seal can be obtained. Can be calculated. Then, if the position error amount can be calculated, the reference image of the old seal obtained at the time of the teaching operation is corrected based on this position error amount, so that the reference image in the state of using the current new seal is used. That is, when the robot takes the imaging posture during the teaching operation, it is possible to generate a reference image that will be obtained by imaging a new sticker with the camera.
斯くして、支持部材に貼着されたシールを交換した際に、煩雑なティーチング操作による再設定を行わなくても、上記のようにして補正された基準画像を用いることで、自動運転時におけるロボットの姿勢誤差量を算出することができ、得られた姿勢誤差量に基づいて、ロボットの各作業姿勢を補正することができ、これにより、生産システムの稼働率が低下するのを防止することができる。 Thus, when the seal attached to the support member is replaced, the reference image corrected as described above can be used without resetting by a complicated teaching operation, so that the reference image can be used during automatic operation. The amount of posture error of the robot can be calculated, and each working posture of the robot can be corrected based on the obtained amount of posture error, thereby preventing the operating rate of the production system from decreasing. Can be done.
本発明は、以上の実情に鑑みなされたものであって、識別図形が描画されたシールの、支持部材への貼着位置を測定することができる貼着位置測定装置、及びこれを備えた工作機械の提供を、その目的とする。 The present invention has been made in view of the above circumstances, and is a sticking position measuring device capable of measuring a sticking position of a sticker on which an identification figure is drawn on a support member, and a machine tool provided with the sticker. The purpose is to provide machines.
上記課題を解決するための本発明は、
識別図形が描画されたシールの、支持部材への貼着位置を測定する装置であって、
前記支持部材を保持する保持部と、
前記保持部に保持され、前記シールが貼着された支持部材を撮像するカメラと、
前記カメラによって撮像された前記支持部材及びシールを含む画像を処理して、前記支持部材に設定された基準部位を基準とした前記識別図形の位置情報を算出する位置情報算出部とを備えた貼着位置測定装置に係る。
The present invention for solving the above problems
It is a device that measures the attachment position of a sticker on which an identification figure is drawn to a support member.
A holding portion for holding the support member and
A camera that captures an image of a support member that is held by the holding portion and to which the sticker is attached.
A sticker provided with a position information calculation unit that processes an image including the support member and the seal captured by the camera and calculates the position information of the identification figure based on the reference portion set on the support member. Related to the landing position measuring device.
この貼着位置測定装置によれば、まず、シールが貼着された支持部材を保持部により保持する。その際、支持部材は保持部に対して一定の保持関係が保証されるように、当該保持部に保持される。また、保持部及びカメラは、相互に一定の位置関係が保証されるように配置されている。 According to this sticking position measuring device, first, the support member to which the seal is stuck is held by the holding portion. At that time, the support member is held by the holding portion so that a certain holding relationship is guaranteed with respect to the holding portion. Further, the holding portion and the camera are arranged so as to guarantee a certain positional relationship with each other.
次に、保持部に保持された支持部材をカメラにより撮像して、当該支持部材及びシールを含む画像を取得する。そして、このカメラにより撮像された支持部材及びシールを含む画像が前記位置情報算出部によって処理され、当該支持部材に設定された基準部位を基準にした前記識別図形の位置情報が算出される。 Next, the support member held by the holding portion is imaged by a camera, and an image including the support member and the seal is acquired. Then, the image including the support member and the seal captured by this camera is processed by the position information calculation unit, and the position information of the identification figure is calculated with reference to the reference portion set on the support member.
斯くして、この貼着位置測定装置によれば、支持部材及びシールを含む画像から、支持部材に設定された基準部位を基準とした識別図形の位置情報が算出される。 Thus, according to this attachment position measuring device, the position information of the identification figure based on the reference portion set on the support member is calculated from the image including the support member and the seal.
尚、前記識別図形は何らその形状が限定されるものでは無いが、一例として、矩形状をしたものが例示され、他の例としては、複数の正方形をした画素が二次元に配列されたマトリクス構造を有するものを例示することができる。 The shape of the identification figure is not limited in any way, but as an example, a rectangular shape is exemplified, and as another example, a matrix in which a plurality of square pixels are arranged two-dimensionally. Those having a structure can be exemplified.
また、識別図形の位置情報は、例えば、前記基準部位を基準として前記支持部材の貼着面に設定された第1軸及び第2軸の直交2軸方向における識別図形の位置、並びに第1軸及び第2軸と直交する第3軸回りの識別図形の回転角度が含まれる。そして、第1軸及び第2軸方向における識別図形の位置は、例えば、識別図形に対して設定された所定部位が、第1軸及び第2軸を基準軸とした座標系において位置する座標値として定義される。 Further, the position information of the identification figure is, for example, the position of the identification figure in the orthogonal two-axis directions of the first axis and the second axis set on the attachment surface of the support member with the reference portion as a reference, and the first axis. And the rotation angle of the identification figure around the third axis orthogonal to the second axis. The position of the identification figure in the first axis and the second axis direction is, for example, a coordinate value at which a predetermined portion set for the identification figure is located in a coordinate system with the first axis and the second axis as reference axes. Is defined as.
或いは、前記位置情報には、更に、第1軸及び第2軸方向に加えて、これらと直交する第3軸方向における識別図形の位置、並びに第1軸回りの識別図形の回転角度、及び第2軸回りの識別図形の回転角度を含めることができる。これにより、3次元空間内における識別図形の位置情報を得ることができる。 Alternatively, in the position information, in addition to the first axis and the second axis direction, the position of the identification figure in the third axis direction orthogonal to these, the rotation angle of the identification figure around the first axis, and the first. The rotation angle of the identification figure around two axes can be included. Thereby, the position information of the identification figure in the three-dimensional space can be obtained.
そして、上記構成の貼着位置測定装置は、これを工作機械に組み込むことができる。その際、前記保持部として、工作機械を構成する、工具を保持する工具主軸、心押装置、タレット、チャックの近傍に設けられた構造物、又はツールプリセッタの構成物であるタッチセンサ支持部材の内の少なくともいずれかを割り当てることができる。また、前記カメラとして、工作機械の加工領域内を撮像するために機内に設けられた機内カメラを割り当てることができる。また、前記位置情報算出部は、これを工作機械の制御装置内に構築することができる。 The sticking position measuring device having the above configuration can be incorporated into the machine tool. At that time, as the holding portion, the tool spindle for holding the tool, the tail pusher, the turret, the structure provided in the vicinity of the chuck, or the touch sensor support member which is a component of the tool presetter, which constitutes the machine tool. At least one of can be assigned. Further, as the camera, an in-flight camera provided in the machine for photographing the inside of the processing area of the machine tool can be assigned. Further, the position information calculation unit can construct this in the control device of the machine tool.
このようにすれば、特別に作製された測定装置を用いることなく、生産システムの一部を構成する工作機械であって、ロボットシステムの作業対象である工作機械において、その姿勢補正に使用されるシールの支持部材に対する貼着位置を測定することができ、更に、その測定結果を用いることにより、当該工作機械におけるロボットの作業姿勢を補正することができる。したがって、支持部材に貼着されたシールを交換した場合であっても、煩わしいティーチング操作による再設定を行うことなく、自動運転時のロボットの作業姿勢を補正することができる。 In this way, it is a machine tool that constitutes a part of the production system without using a specially manufactured measuring device, and is used for posture correction in the machine tool that is the work target of the robot system. The attachment position of the seal to the support member can be measured, and further, by using the measurement result, the working posture of the robot in the machine tool can be corrected. Therefore, even when the seal attached to the support member is replaced, the working posture of the robot during automatic operation can be corrected without resetting by a troublesome teaching operation.
本発明に係る貼着位置測定装置によれば、支持部材、及び識別画像が描画されたシールを含む画像から、支持部材に設定された基準部位を基準とした識別図形の位置情報を算出することができる。 According to the sticking position measuring device according to the present invention, the position information of the identification figure based on the reference portion set on the support member is calculated from the image including the support member and the sticker on which the identification image is drawn. Can be done.
以下、本発明の具体的な実施の形態ついて、図面を参照しながら説明する。 Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.
(生産システムの概要)
まず、本発明に係る貼着位置測定装置が適用される生産システムの概要について説明する。図1及び図2に示すように、一例としての本例の生産システム1は、ロボットシステム24、工作機械10、周辺装置としての材料ストッカ20及び製品ストッカ21などから構成され、前記ロボットシステム24は、無人搬送車35、この無人搬送車35に搭載されるロボット25、並びにロボット25及び無人搬送車35を制御する制御装置40などから構成される。
(Overview of production system)
First, an outline of a production system to which the sticking position measuring device according to the present invention is applied will be described. As shown in FIGS. 1 and 2, the
前記工作機械10は、数値制御装置(図示せず)によって制御される複合加工型のNC工作機械であって、図3に示すように、工具を保持して回転させる工具主軸15、それぞれの中心軸が同軸に設けられ、且つ相互に対向するように配設された第1主軸11及び第2主軸13、複数の工具を装着可能なタレット18、並びにこのタレット18を回転自在に保持する刃物台17などから構成される。尚、図3では、説明の都合上、工具主軸15には、工具が装着された状態ではなく、シールSが貼着された支持部材としてのホルダ16が装着された状態を示している。また、シールSには、図6に示すような識別図形が描画されている。この識別図形は、矩形状をした黒色の図柄であり、図6では、黒色をした矩形部に斜線を付している。
The
工具主軸15は、図示しない数値制御装置による制御の下で、同じく図示しない第1Xm軸送り機構、第1Ym軸送り機構及び第1Zm軸送り機構によって、相互に直交するXm軸、Ym軸及びZm軸方向に移動し、同様にして、刃物台17は、図示しない第2Xm軸送り機構及び第2Zm軸送り機構によって、Xm軸及びZm軸方向に移動する。尚、Zm軸は前記第1主軸11及び第2主軸13の軸線と平行な送り軸であり、Xm軸は水平面内でZ軸に直交する送り軸であり、Ym軸は鉛直方向の送り軸である。
The
また、第1主軸11には第1チャック12が装着されるとともに、第2主軸13には第2チャック14が装着されており、これら第1チャック12及び第2チャック14によって、加工前ワークWや加工済ワークW’の両端が把持される。そして、この状態で、前記数値制御装置(図示せず)による制御の下、第1主軸11及び第2主軸13がその軸線回りに回転し、且つ前記工具主軸15や刃物台17がXm軸、Ym軸及びZm軸方向に適宜移動することで、工具主軸15に装着された工具やタレット18に装着された工具によって、加工前ワークWが加工される。ここで、Xm軸、Ym軸及びZm軸を基準軸とした座標系を機械座標系という。
Further, the
尚、本例では、図3に示すように、前記タレット18の外周面に、加工済ワークW’を支持する支持具19が設けられており、前記ロボットシステム24によって、加工済ワークW’を取り外す際に、この支持具19に加工済ワークW’が仮置きされる。また、図3では、上述したように、シールSが貼着されたホルダ16を工具主軸15に装着した状態を図示しているが、このホルダ16は、工作機械10によって加工が行われるときには、工具収容部である工具マガジン(図示せず)に格納されており、ロボットシステム24の位置決め精度を測定する際に、工具マガジン(図示せず)から取り出されて工具主軸15に装着される。尚、ホルダ16は、工具主軸15の保持穴に装着されるテーパシャンク部と、このテーパシャンク部に接続される直方体状のシール貼着部16aとからなり、前記シールSはシール貼着部16aの一つの側面に貼着されている。
In this example, as shown in FIG. 3, a
前記材料ストッカ20は、図1において工作機械10の左隣に配設され、当該工作機械10で加工される加工前ワークW(材料)をストックする装置である。また、前記製品ストッカ21は、図1において工作機械10の右隣に配設され、当該工作機械10で加工された加工済ワークW’(製品又は半製品)をストックする装置である。
The
図1及び図4に示すように、前記無人搬送車35は、その上面である載置面36に前記ロボット25が搭載され、また、オペレータが携帯可能な操作盤37が付設されている。尚、この操作盤37は、データの入出力を行う入出力部、当該無人搬送車35及びロボット25を手動操作する操作部、並びに画面表示可能なディスプレイなどを備えている。
As shown in FIGS. 1 and 4, the automatic guided
また、無人搬送車35は、工場内における自身の位置を認識可能なセンサ(例えば、レーザ光を用いた距離計測センサ)を備えており、前記制御装置40による制御の下で、前記工作機械10、材料ストッカ20及び製品ストッカ21が配設される領域を含む工場内を無軌道で走行するように構成され、本例では、前記工作機械10、材料ストッカ20及び製品ストッカ21のそれぞれに対して設定された各作業位置に経由する。尚、本例では、前記制御装置40は、この無人搬送車35内に配設されている。
Further, the automatic guided
前記ロボット25は、マニピュレータ部である第1アーム26、第2アーム27及び第3アーム28の3つのアームを備えた多関節型のロボットであり、第3アーム28の先端部には支持軸29が取り付けられ、また、この支持軸29には、エンドエフェクタとしてのハンド30が装着されている。更に、前記支持軸29には、支持バー31が取り付けられ、この支持バー31には、同じくエンドエフェクタとしてのカメラ32が装着されている。そして、ロボット25は、前記制御装置40による制御の下で、これらハンド30及びカメラ32をxr軸,yr軸及びzr軸の直交3軸で定義される3次元空間内で移動させる。尚、xr軸,yr軸及びzr軸の直交3軸で定義される座標系をロボット座標系と称する。また、本例では、xr軸は無人搬送車35の前面とほぼ平行に設定されている。
The
前記制御装置40は、図2に示すように、動作プログラム記憶部41、移動位置記憶部42、動作姿勢記憶部43、マップ情報記憶部44、基準画像記憶部45、手動運転制御部46、自動運転制御部47、マップ情報生成部48、位置認識部49、補正量算出部50及び入出力インターフェース51から構成される。そして、制御装置40は、この入出力インターフェース51を介して、前記工作機械10、材料ストッカ20、製品ストッカ21、ロボット25、カメラ32、無人搬送車35及び操作盤37に接続している。
As shown in FIG. 2, the
尚、制御装置40は、CPU、RAM、ROMなどを含むコンピュータから構成され、前記手動運転制御部46、自動運転制御部47、マップ情報生成部48、位置認識部49、補正量算出部50及び入出力インターフェース51は、コンピュータプログラムによってその機能が実現され、後述する処理を実行する。また、動作プログラム記憶部41、移動位置記憶部42、動作姿勢記憶部43、マップ情報記憶部44及び基準画像記憶部45はRAMなどの適宜記憶媒体から構成される。
The
前記手動運転制御部46は、オペレータにより前記操作盤37から入力される操作信号に従って、前記無人搬送車35及びロボット25を動作させる機能部である。即ち、オペレータは、この手動運転制御部46による制御の下で、操作盤37を用いた、前記無人搬送車35及びロボット25の手動操作を実行することができる。
The manual
具体的には、手動運転制御部46は、前記操作盤37から、例えば、前記無人搬送車35を、水平面内で当該無人搬送車35に対して設定された直交2軸(xr軸、yr軸)の各方向に移動させる信号が入力されると、入力された信号に対応する方向に、対応する距離だけ、当該無人搬送車35を移動させ、前記xr軸及びyr軸と直交するzr軸(鉛直軸)回りに旋回させる信号が入力されると、入力された信号に応じて当該無人搬送車35を旋回させる。
Specifically, the manual
また、操作盤37から、前記ロボット25の先端部を、前記xr軸、yr軸及びzr軸の各方向に移動させる信号が入力されると、手動運転制御部46は、入力された信号に対応する方向に、対応する距離だけ、ロボット25の先端部を移動させる。また、手動運転制御部46は、操作盤37から前記ハンド30を開閉させる信号が入力されると、これに応じて当該ハンド30を開閉させ、操作盤37から前記カメラ32を動作させる信号が入力されると、これに応じて当該カメラ32を動作させる。
Further, when a signal for moving the tip of the
前記動作プログラム記憶部41は、自動生産時に前記無人搬送車35及び前記ロボット25を自動運転するための自動運転用プログラム、並びに後述する工場内のマップ情報を生成する際に前記無人搬送車35を動作させるためのマップ生成用プログラムを記憶する機能部である。自動運転用プログラム及びマップ生成用プログラムは、例えば、前記操作盤37に設けられた入出力部から入力され、当該動作プログラム記憶部41に格納される。
The operation
尚、この自動運転用プログラムには、無人搬送車35が移動する目標位置としての移動位置、移動速度及び無人搬送車35の向きに関する指令コードが含まれ、また、ロボット25が順次動作する当該動作に関する指令コード、及び前記カメラ32の操作に関する指令コードが含まれる。また、マップ生成用プログラムは、前記マップ情報生成部48においてマップ情報を生成できるように、無人搬送車35を無軌道で工場内を隈なく走行させるための指令コードが含まれる。
In addition, this automatic driving program includes a command code regarding a moving position, a moving speed, and a direction of the automatic guided
前記マップ情報記憶部44は、無人搬送車35が走行する工場内に配置される機械、装置、機器など(装置等)の配置情報を含むマップ情報を記憶する機能部であり、このマップ情報は前記マップ情報生成部48によって生成される。
The map
前記マップ情報生成部48は、前記制御装置40の自動運転制御部46による制御の下で、前記動作プログラム記憶部41に格納されたマップ生成用プログラムに従って無人搬送車35を走行させた際に、前記センサによって検出される距離データから工場内の空間情報を取得するとともに、工場内に配設される装置等の平面形状を認識し、例えば、予め登録された装置等の平面形状を基に、工場内に配設された具体的な装置、本例では、工作機械10、材料ストッカ20及び製品ストッカ21の位置、平面形状等(配置情報)を認識する。そして、マップ情報生成部48は、得られた空間情報及び装置等の配置情報を工場内のマップ情報として前記マップ情報記憶部44に格納する。
When the map
前記位置認識部49は、前記センサによって検出される距離データ、及び前記マップ情報記憶部44に格納された工場内のマップ情報を基に、工場内における無人搬送車35の位置及び姿勢を認識する機能部であり、この位置認識部49によって認識される無人搬送車35の位置及び姿勢に基づいて、当該無人搬送車35の動作が前記自動運転制御部47によって制御される。
The
前記移動位置記憶部42は、前記無人搬送車35が移動する具体的な目標位置としての移動位置であって、前記動作プログラム中の指令コードに対応した具体的な移動位置を記憶する機能部であり、この移動位置には、上述した工作機械10、材料ストッカ20及び製品ストッカ21に対して設定される各作業位置が含まれる。尚、この移動位置は、例えば、前記手動運転制御部46による制御の下、前記操作盤37により前記無人搬送車35を手動運転して、目標とする各位置に移動させた後、前記位置認識部49によって認識される位置データを前記移動位置記憶部42に格納する操作によって設定される。この操作は所謂ティーチング操作と呼ばれる。
The moving
前記動作姿勢記憶部43は、前記ロボット25が所定の順序で動作することによって順次変化するロボット25の姿勢(動作姿勢)であって、前記動作プログラム中の指令コードに対応した動作姿勢に係るデータを記憶する機能部である。この動作姿勢に係るデータは、前記手動運転制御部45による制御の下で、前記操作盤37を用いたティーチング操作により、当該ロボット25を手動運転して、目標とする各姿勢を取らせたときの、当該各姿勢におけるロボット25の各関節(モータ)の回転角度データであり、この回転角度データが動作姿勢に係るデータとして前記動作姿勢記憶部43に格納される。
The motion
ロボット25の具体的な動作姿勢は、前記材料ストッカ20、工作機械10及び製品ストッカ21において、それぞれ設定される。例えば、材料ストッカ20では、当該材料ストッカ20に収納された加工前ワークWを取り出すための各作業姿勢(各取出姿勢)が設定される。また、工作機械10では、加工済ワークW’を取出して、加工前ワークWを第1チャック12及び第2チャック14に装着するための各作業姿勢が設定されるが、ロボット25が工作機械10内で行う作業姿勢を補正するために、工作機械10内にハンド30を進入させたときに、カメラ32により、工具主軸15に装着されたシールSを撮像させる姿勢(撮像姿勢)が設定される。また、前記製品ストッカ21では、工作機械10から取り出した加工済ワークW’を当該製品ストッカ21内に収納するための各作業姿勢が設定される。
The specific operating posture of the
前記自動運転制御部47は、前記動作プログラム記憶部41に格納された自動運転用プログラム及びマップ生成用プログラムの何れかを用い、当該プログラムに従って無人搬送車35、ロボット25、ハンド30及びカメラ32を動作させる機能部である。その際、前記移動位置記憶部42及び動作姿勢記憶部43に格納されたデータが必要に応じて使用される。
The automatic
前記基準画像記憶部45は、ティーチング操作時に、無人搬送車35が工作機械10に対して設定された作業位置に在り、ロボット25が撮像姿勢にあるときに、前記カメラ32によって撮像された識別図形の画像を基準画像として記憶する機能部である。
The reference
前記補正量算出部50は、前記自動運転制御部47による制御の下で、前記動作プログラム記憶部41に格納された自動運転用プログラムに従って前記ロボット25が自動運転される際に、当該ロボット25が撮像姿勢にあるときに、前記カメラ32によって識別図形が撮像されると、当該自動運転時に得られた識別図形の画像と、前記基準画像記憶部45に格納されたティーチング時の基準画像とを基に、ティーチング時におけるロボット25の撮像姿勢と、自動運転時におけるロボット25の撮像姿勢との間の誤差量を推定し、推定された誤差量に基づいて、工作機械10に対して設定されたロボット25の各作業姿勢に対する補正量を算出する。
When the
一例として、図7(a)にティーチング時に撮像された識別図形の画像(基準画像)を示し、図7(b)に自動運転時に撮像された識別図形の画像を示している。これらの画像を解析することで、ティーチング時のロボット25の撮像姿勢と、自動運転時のロボット25の撮像姿勢との間の並進誤差量を推定することができる。例えば、カメラ32のフレームに対して設定されたxc軸-zc軸平面において、識別図形に対して設定された基準位置Pc1を、各画像について検出して、その差分を算出することにより、ティーチング時と現在との間の識別図形の並進誤差量Δxc,Δzcを算出することができる。即ち、
Δxc=xc1-xc1’
Δzc=zc1-zc1’
As an example, FIG. 7A shows an image (reference image) of the identification figure captured during teaching, and FIG. 7B shows an image of the identification figure captured during automatic operation. By analyzing these images, it is possible to estimate the amount of translational error between the imaging posture of the
Δx c = x c1 -x c1 '
Δz c = z c1 -z c1 '
尚、カメラ32のフレームに対して設定されたxc軸,zc軸及びこれらと直交するyc軸を基準軸とする座標系をカメラ座標系という。xc軸-zc軸平面内における座標値は、カメラ32の結像面に配置される撮像素子の位置に対応する。また、本例では、図7(a)に示すように、識別図形の4隅を、基準位置Pc1、Pc2,Pc3,Pc4に設定している。
The coordinate system with the xc axis and the zc axis set for the frame of the
また、図8(a)に示すように、識別図形に対して設定された2つの基準部位Pc1,Pc2を結ぶ直線(Pc1-Pc2)が基準軸、例えば、zc軸となす角度θcyを算出することにより、ティーチング時と現在との間の識別図形のyc軸回りの回転誤差Δθcyを算出することができる。図8(a)はティーチング時に撮像された識別図形の画像であり、図8(b)は自動運転時に撮像された識別図形の画像である。
θcy=tan-1((xc2-xc1)/(zc2-zc1))
θcy
’=tan-1((xc2’-xc1’)/(zc2’-zc1’))
Δθcy=θcy-θcy
’
Further, as shown in FIG. 8A, a straight line (P c1 -P c2 ) connecting two reference portions P c1 and P c2 set for the identification figure forms a reference axis, for example, the z c axis. By calculating the angle θ cy , it is possible to calculate the rotation error Δθ cy around the y c axis of the identification figure between the time of teaching and the present. FIG. 8A is an image of the identification figure captured during teaching, and FIG. 8B is an image of the identification figure captured during automatic operation.
θ cy = tan -1 ((x c2 -x c1 ) / (z c2 -z c1 ))
θ cy ' = tan -1 ((x c2' -x c1 ') / (z c2' -z c1 '))
Δθ cy = θ cy −θ cy '
また、図9(a)に示すように、例えば、識別図形に対して設定された2つの基準位置Pc1,Pc2間のzc軸方向の距離dc1を算出し、得られた距離dc1、並びに識別図形の距離dc1に対応する部位の距離A、及びカメラ32の結像面と識別図形との間の距離Lcから、ティーチング時と現在との間の識別図形のyc軸方向の位置誤差Δycを算出することができる。図9(a)はティーチング時に撮像された識別図形の画像、図9(b)は自動運転時に撮像された識別図形の画像、図9(c)は位置誤差Δycの算出に関する説明図である。
dc1=zc2-zc1
dc1’=zc2’-zc1’
(A-dc1)/Lc=(dc1-dc1’)/Δyc
Δyc=Lc(dc1-dc1’)/(A-dc1)
Further, as shown in FIG. 9A, for example, the distance d c1 in the zc axis direction between the two reference positions P c1 and P c2 set for the identification figure is calculated, and the obtained distance d is obtained. From c1 , the distance d of the identification figure, the distance A of the part corresponding to c1 , and the distance Lc between the image plane of the camera 32 and the identification figure, the y c axis of the identification figure between the time of teaching and the present. The position error Δy c in the direction can be calculated. 9 (a) is an image of an identification figure captured during teaching, FIG. 9 (b) is an image of an identification figure captured during automatic operation, and FIG. 9 (c) is an explanatory diagram relating to calculation of a position error Δy c . ..
d c1 = z c2 -z c1
d c1 '= z c2' -z c1 '
(A-d c1 ) / L c = (d c1 -d c1 ') / Δy c
Δy c = L c (d c1 -d c1 ') / (A-d c1 )
また、図10(a)に示すように、例えば、識別図形に対して設定された基準位置Pc1,Pc2間のzc軸方向の距離dc1、基準位置Pc2,Pc3間のxc軸方向の距離dc2、及び基準位置Pc3,Pc4間の距離zc軸方向のdc3、並びに識別図形の距離dc3に対応する部位の距離A、及びカメラ32の結像面と識別図形との間の距離Lcからから、識別図形がxc軸となす角度θczを算出することにより、ティーチング時と現在との間の識別図形のzc軸回りの回転誤差量Δθczを算出することができる。図10(a)はティーチング時に撮像された識別図形の画像、及び回転誤差量Δθczの算出を説明するための図であり、図10(b)は自動運転時に撮像された識別図形の画像、及び回転誤差量Δθczの算出を説明するための図である。
dc1=zc2-zc1
dc3=zc3-zc4
Δyc=Lc(dc3-dc1)/(A-dc3)
dc2=xc3-xc2
θcz=tan-1(Lc(dc3-dc1)/((A-dc3)(xc3-xc2)))
dc1’=zc2’-zc1’
dc3’=zc3’-zc4’
Δyc’=Lc(dc3’-dc1’)/(A-dc3’)
dc2’=xc3’-xc2’
θcz’=tan-1(Lc(dc3’-dc1’)/((A-dc3’)(xc3’-xc2’)))
Δθcz=θcz-θcz’
Further, as shown in FIG. 10A, for example, the distance d c1 in the zc axis direction between the reference positions P c1 and P c2 set for the identification figure, and the x between the reference positions P c2 and P c3 . The distance d c2 in the c -axis direction, the distance between the reference positions P c3 and P c4 z the d c3 in the c -axis direction, the distance A of the part corresponding to the distance d c3 of the identification figure, and the image plane of the
d c1 = z c2 -z c1
d c3 = z c3 -z c4
Δy c = L c (d c3 -d c1 ) / (A-d c3 )
d c2 = x c3 -x c2
θ cz = tan -1 (L c (d c3 -d c1 ) / ((A-d c3 ) (x c3 -x c2 )))
d c1 '= z c2' -z c1 '
d c3 '= z c3' -z c4 '
Δy c '= L c (d c3' -d c1 ') / (A-d c3 ')
d c2 '= x c3' -x c2 '
θ cz '= tan -1 (L c (d c3' -d c1 ') / ((A-d c3 ') (x c3' -x c2 ')))
Δθ cz = θ cz -θ cz '
また、図11(a)に示すように、例えば、識別図形に対して設定された基準位置Pc1,Pc2間のzc軸方向の距離dc1、基準位置Pc2,Pc3間のxc軸方向距離のdc2、及び基準位置Pc1,Pc4間のxc軸方向の距離dc4、並びに識別図形の距離dc2に対応する部位の距離A、及びカメラ32の結像面と識別図形との間の距離Lcからから、識別図形がzc軸となす角度θcxを算出することにより、ティーチング時と現在との間の識別図形のxc軸回りの回転誤差量Δθcxを算出することができる。図11(a)はティーチング時に撮像された識別図形の画像、及び回転誤差量Δθcxの算出を説明するための図であり、図11(b)は自動運転時に撮像された識別図形の画像、及び回転誤差量Δθcxの算出を説明するための図である。
dc2=xc3-xc2
dc4=xc4-xc1
Δyc=Lc(dc2-dc4)/(A-dc2)
dc1=zc2-zc1
θcx=tan-1(Lc(dc2-dc4)/((A-dc2)(zc2-zc1)))
dc2’=xc3’-xc2’
dc4’=xc4’-xc1’
Δyc’=Lc(dc2’-dc4’)/(A-dc2’)
dc1’=zc2’-zc1’
θcx’=tan-1(Lc(dc2’-dc4’)/((A-dc2’)(zc2’-zc1’)))
Δθcx=θcx-θcx’
Further, as shown in FIG. 11A, for example, the distance d c1 in the zc axis direction between the reference positions P c1 and P c2 set for the identification figure, and the x between the reference positions P c2 and P c3 . The distance d c2 in the c -axis direction, the distance d c4 in the x- c -axis direction between the reference positions P c1 and P c4 , the distance A of the portion corresponding to the distance d c2 of the identification figure, and the image plane of the
d c2 = x c3 -x c2
d c4 = x c4 -x c1
Δy c = L c (d c2 -d c4 ) / (A-d c2 )
d c1 = z c2 -z c1
θ cx = tan -1 (L c (d c2 -d c4 ) / ((A-d c2 ) (z c2 -z c1 )))
d c2 '= x c3' -x c2 '
d c4 '= x c4' -x c1 '
Δy c '= L c (d c2' -d c4 ') / (A-d c2 ')
d c1 '= z c2' -z c1 '
θ cx '= tan -1 (L c (d c2' -d c4 ') / ((A-d c2 ') (z c2' -z c1 ')))
Δθ cx = θ cx −θ cx '
そして、前記補正量算出部50は、以上のようにして算出したカメラ座標系における識別図形の並進誤差量Δxc,Δyc及びΔzc、並びに回転誤差量Δθcx,Δθcy及びΔθczをロボット座標系に変換して、当該ロボット座標系における並進誤差量Δxr,Δyr及びΔzr、並びに回転誤差量Δθrx,Δθry及びΔθrzを算出し、算出された並進誤差量Δxr,Δyr及びΔzr、並びに回転誤差量Δθrx,Δθry及びΔθrzに基づいて、ロボットの各作用姿勢を補正する。尚、上記の図7~図11では、説明の便宜上、貼着部16aに係る画像部分については、その図示を省略している。また、図7~図11では、意図する誤差等が理解し易いような撮像画像を示しており、実際には、これらが複合された画像が撮像される。
Then, the correction
前記自動運転制御部46は、前記動作プログラム記憶部41に格納された自動運転用プログラム及びマップ生成用プログラムの何れかを用い、当該プログラムに従って無人搬送車35及びロボット25を動作させる機能部である。その際、前記移動位置記憶部42及び動作姿勢記憶部43に格納されたデータが必要に応じて使用される。
The automatic
斯くして、以上の構成を備えた本例の生産システム1によれば、前記制御装置40の自動運転制御部46による制御の下で、前記動作プログラム記憶部41に格納された自動運転用プログラムが実行され、この自動運転用プログラムに従って、無人搬送車35及びロボット25が動作されて、無人の自動生産が実行される。
Thus, according to the
(貼着位置測定装置)
次に、本実施形態に係る貼着位置測定装置について説明する。図5に示すように、本例の貼着位置測定装置100は、シールSが貼着されたホルダ(支持部材)16を保持する保持部101と、この保持部101と所定間隔を空けて配設された支持ブロック103と、この支持ブロック103上に固設されて、シールSが貼着された前記ホルダ16を撮像するカメラ102と、カメラ102によって撮像されたホルダ16の貼着部及びシールSを含む画像を処理して、ホルダ16に設定された基準部位を基準とした識別図形の位置情報を算出する位置情報算出部105とを備えている。尚、位置情報算出部105はCPU、RAM、ROMなどを含むコンピュータから構成される。
(Attachment position measuring device)
Next, the sticking position measuring device according to this embodiment will be described. As shown in FIG. 5, in the sticking
前記保持部101は前記工具主軸15と同様に、内面がテーパ面となった保持穴を備えており、前記ホルダ16はそのテーパシャンク部がこの保持穴に嵌入された状態で保持され、また、適宜位置決め部材によって、その軸回りの回転が制止される。尚、この時、ホルダ16の貼着部16aに貼着されたシールSは、カメラ102と対向している。
Like the
位置情報算出部105は、カメラ102によって撮像されたホルダ16の貼着部16a及びシールSを含む画像を当該カメラ102から受信し、受信した画像を処理して、ホルダ16に設定された基準部位を基準とした識別図形(言い換えれば、シールS)の位置情報を算出する。
The position
例えば、図12及び図13に示すように、位置情報算出部105は、シールSが貼着されたホルダ16の貼着面の左下角部を基準部位に設定し、当該左下角部を原点としたホルダ座標系(xh軸、yh軸及びzh軸)を設定する。このホルダ座標系は、前記カメラ座標系を前記貼着面の左下角部(基準部位)にシフトしたものである。
For example, as shown in FIGS. 12 and 13, the position
尚、図12は、前記基準画像記憶部45に格納された基準画像に対応する識別図形(シールS)が貼着されたホルダ16を、前記保持部101に保持した状態で、前記カメラ102により撮像して得られた基準となる画像であり、この画像が予め撮像され、位置情報算出部105に保持されている。尚、このシールSは基準時のシールであり、基準シールSrと称する。そして、位置情報算出部105は、図12に示した基準画像(識別図形の画像)の4つの角部を基準位置として、基準位置Ph1(xh1,zh1),Ph2(xh2,zh2),Ph3(xh3,zh3),Ph4(xh4,zh4)の情報をカメラ座標系から取得するとともに、基準位置Ph1,Ph2間のzh軸方向の距離dh1、基準位置Ph2,Ph3間のxh軸方向の距離dh2、基準位置Ph3,Ph4間のzh軸方向の距離dh3、及び基準位置Ph4,Ph1間のxh軸方向の距離dh4を算出して、これらを基準シールSrの位置情報として予め保持する。
dh1=zh2-zh1
dh2=xh3-xh2
dh3=zh3-zh4
dh4=xh4-xh1
In FIG. 12, the
d h1 = z h2 -z h1
d h2 = x h3 -x h2
d h3 = z h3 -z h4
d h4 = x h4 -x h1
また、図13は、現在のシールSaが貼着された現在のホルダ16を、前記保持部101に保持し状態で、前記カメラ102によって撮像して得られた画像である。位置情報算出部105は、上記同様にして、図13に示した現在の画像(識別図形の画像)の4つの角部を基準位置として、基準位置Ph1’(xh1’,zh1’),Ph2’(xh2’,zh2’),Ph3’(xh3’,zh3’),Ph4’(xh4’,zh4’)の情報(前記位置情報)をカメラ座標系から取得するとともに、基準位置Ph1’,Ph2’間のzh軸方向の距離dh1’、基準位置Ph2’,Ph3’間のxh軸方向の距離dh2’、基準位置Ph3’,Ph4’間のzh軸方向の距離dh3’、及び基準位置Ph4’,Ph1’間のxh軸方向の距離dh4’を前記位置情報としてそれぞれ算出する。
dh1’=zh2’-zh1’
dh2’=xh3’-xh2’
dh3’=zh3’-zh4’
dh4’=xh4’-xh1’
Further, FIG. 13 is an image obtained by taking an image of the
d h1 '= z h2' -z h1 '
d h2 '= x h3' -x h2 '
d h3 '= z h3' -z h4 '
d h4 '= x h4' -x h1 '
そして、位置情報算出部105は、現在の識別図形の位置情報として、基準位置Ph1’(xh1’,zh1’)を認識するとともに、上述した図7における処理と同様にして、基準シールSrの識別図形と現在のシールSaの識別図形との間のxh軸-zh軸平面における位置ずれ量Δxh,Δzhを、現在のシールSaの識別図形の位置情報として、下式により算出する(図14参照)。
Δxh=xh1-xh1’
Δzh=zh1-zh1’
Then, the position
Δx h = x h1 -x h1 '
Δz h = z h1 -z h1 '
また、位置情報算出部105は、上述した図8における処理と同様にして、下式により、現在のシールSa(識別図形)のyh軸回りの回転角θhy’を前記位置情報として算出するとともに、同様にして算出される基準シールSr(識別図形)の回転角θhyとの差分であるyh軸回りの回転角度差Δθhyを前記位置情報として算出する(図15参照)。
θhy=tan-1((xh2-xh1)/(zh2-zh1))
θhy
’=tan-1((xh2’-xh1’)/(zh2’-zh1’))
Δθhy=θhy-θhy
’
Further, the position
θ hy = tan -1 ((x h2 -x h1 ) / (z h2 -z h1 ))
θ hy ' = tan -1 ((x h2' -x h1 ') / (z h2' -z h1 '))
Δθ hy = θ hy −θ hy '
また、位置情報算出部105は、上述した図9における処理と同様にして、下式により、基準シールSr(識別図形)に対する現在のシールSa(識別図形)のyh軸方向の位置誤差Δyhを算出する。ここで、図9におけるAは識別図形の距離dh1に対応した部位の長さであり、Lhはカメラ32の結像面とシールS(Sa,Sr)との間の距離である(図16参照)。
Δyh=Lh(dh1-dh1’)/(A-dh1)
Further, in the same manner as in the process in FIG. 9 described above, the position
Δy h = L h (d h1 -d h1 ') / (A-d h1 )
また、位置情報算出部105は、上述した図10における処理と同様にして、下式により、現在のシールSa(識別図形)のxh軸となす角度θhz’を算出するとともに、同様にして算出される基準シールSr(識別図形)の回転角θhzとの差分であるzh軸回りの回転角度差Δθhzを前記位置情報として算出する(図17参照)。
Δyh=Lh(dh3-dh1)/(A-dh3)
θhz=tan-1(Lh(dh3-dh1)/((A-dh3)(xh3-xh2)))
Δyh’=Lh(dh3’-dh1’)/(A-dh3’)
θhz’=tan-1(Lh(dh3’-dh1’)/((A-dh3’)(xh3’-xh2’)))
Δθhz=θhz-θhz’
Further, the position
Δy h = L h (d h3 -d h1 ) / (A-d h3 )
θ hz = tan -1 (L h (d h3 -d h1 ) / ((A-d h3 ) (x h3 -x h2 )))
Δy h '= L h (d h3' -d h1 ') / (A-d h3 ')
θ hz '= tan -1 (L h (d h3' -d h1 ') / ((A-d h3 ') (x h3' -x h2 ')))
Δθ hz = θ hz -θ hz '
更に、位置情報算出部105は、上述した図11における処理と同様にして、下式により、現在のシールSa(識別図形)のzh軸となす角度θhx’を算出するとともに、同様にして算出される基準シールSr(識別図形)の回転角θhxとの差分であるxh軸回りの回転角度差Δθhxを前記位置情報として算出する(図18参照)。
Δyh=Lh(dh2-dh4)/(A-dh2)
θhx=tan-1(Lh(dh2-dh4)/((A-dh2)(zh2-zh1)))
Δyh’=Lh(dh2’-dh4’)/(A-dh2’)
θhx’=tan-1(Lh(dh2’-dh4’)/((A-dh2’)(zh2’-zh1’)))
Δθhx=θhx-θhx’
Further, the position
Δy h = L h (d h2 -d h4 ) / (A-d h2 )
θ hx = tan -1 (L h (d h2 -d h4 ) / ((A-d h2 ) (z h2 -z h1 )))
Δy h '= L h (d h2' -d h4 ') / (A-d h2 ')
θ hx '= tan -1 (L h (d h2' -d h4 ') / ((A-d h2 ') (z h2' -z h1 ')))
Δθ hx = θ hx −θ hx '
前記位置情報算出部105は、以上のようにして、ホルダ16に貼着されたシールS、言い換えれば識別図形の位置情報として、基準位置Ph1’,Ph2’,Ph3’及びPh4’、基準位置Ph1’,Ph2’間のzh軸方向の距離dh1’、基準位置Ph2’,Ph3’間のxh軸方向の距離dh2’、基準位置Ph3’,Ph4’間のzh軸方向の距離dh3’及び基準位置Ph4’,Ph1’間のxh軸方向の距離dh4’、基準シールSrの識別図形に対するxh軸方向の位置ずれ量Δxh,yh軸方向の位置ずれ量Δyh及びzh軸方向の位置ずれ量Δzh、xh軸回りの回転角θhx’、yh軸回りの回転角θhy’及びzh軸回りの回転角θhz’、並びに、基準シールSrの識別図形に対するxh軸回りの回転角度差Δθhx、yh軸回りの回転角度差Δθhy及びzh軸回りの回転角度差Δθhzを算出する。
As described above, the position
そして、位置情報算出部105は算出した位置情報を適宜出力装置によって外部に出力するとともに、現在のシールSrが貼着されたホルダ16が、前記生産システム1の工作機械10に配備されて、これが使用される際には、適宜通信手段によって、前記生産システム1の制御装置40に入力する。尚、上述した図7~図11と同様に、図12~図18では、意図する誤差等が理解し易いような撮像画像を示しており、実際には、これらが複合された画像が撮像される。
Then, the position
一方、前記補正量算出部50は、前記位置情報算出部105から位置情報を受信すると、例えば、基準シールSrの識別図形(言い換えれば基準画像)に対するxh軸方向の位置ずれ量Δxh,yh軸方向の位置ずれ量Δyh及びzh軸方向の位置ずれ量Δzh、並びに、基準シールSrの識別図形(言い換えれば基準画像)に対するxh軸回りの回転角度差Δθhx、yh軸回りの回転角度差Δθhy及びzh軸回りの回転角度差Δθhzに基づいて、前記基準画像記憶部45に格納された基準画像を、各位置ずれ量Δxh、Δyh及びΔzh分だけ位置ずれさせるとともに、各回転角度差Δθhx、Δθhy及びΔθhzだけ回転させた調整基準画像を生成し、生成した調整基準画像を初期の基準画像とともに、基準画像記憶部45に格納する。
On the other hand, when the correction
そして、前記補正量算出部50は、現在のシールSrが貼着されたホルダ16が、前記生産システム1の工作機械10で使用される際には、自動運転時に、生成した前記調整基準画像を用いてカメラ座標系における識別図形の並進誤差量Δxc,Δyc及びΔzc、並びに回転誤差量Δθcx,Δθcy及びΔθczを算出し、ついでこれらをロボット座標系に変換して、当該ロボット座標系における並進誤差量Δxr,Δyr及びΔzr、並びに回転誤差量Δθrx,Δθry及びΔθrzを算出し、算出された並進誤差量Δxr,Δyr及びΔzr、並びに回転誤差量Δθrx,Δθry及びΔθrzに基づいて、ロボットの各作用姿勢を補正する。
Then, when the
上述したように、ホルダ16に貼着されたシールSを、当該シールSの劣化等によって交換する場合、ホルダ16におけるシールSの貼着位置を、交換前の貼着位置に対して、厳密に一致させるのは困難であるため、ロボット25の作業姿勢の正確な補正を実現するためには、再度、前記ティーチング操作を実行して、以前に設定されたティーチング時の撮像姿勢を再設定するとともに、識別画像を再度撮像して、基準となるティーチング時の撮像画像を更新する必要がある。
As described above, when the seal S attached to the
しかしながら、シールSを交換するたびに、ティーチング操作によって、撮像姿勢を再設定するとともに、基準となる撮像画像を更新するようにしたのでは、シール交換作業が煩雑なものとなり、また、生産システム全体の稼働率の低下を招くことになって、生産効率上、好ましくない。 However, if the image pickup posture is reset by the teaching operation and the reference image is updated every time the seal S is replaced, the seal replacement work becomes complicated and the entire production system is replaced. This is not preferable in terms of production efficiency because it causes a decrease in the operating rate.
本実施形態に係る貼着位置測定装置100によれば、ホルダ16に貼着されたシールSをカメラ102によって撮像し、得られた画像を位置情報算出部105によって解析することにより、ホルダ16に設定された基準部位を基準としたシールS(言い換えれば、識別図形)の位置情報を算出することができる。そして、当該ホルダ16におけるシールSの正確な位置情報が分かれば、例えば、貼り替え前の基準シールSrの貼着位置と、新たなシールSaの貼着位置との間の誤差量(位置ずれ量Δxh,Δyh及びΔzh、並びに、回転角度差Δθhx、回転角度差Δθhy及び回転角度差Δθhz)を算出することができる。そして、この位置誤差量を算出することができれば、当該位置誤差量に基づいてティーチング操作時に得られた基準シールSrの基準画像を補正することにより、ロボットが前記ティーチング操作時における撮像姿勢と同じ姿勢を取って、現在の新たなシールSaをカメラ32により撮像したときに得られるであろう基準画像、即ち、調整基準画像を生成することができる。
According to the sticker
斯くして、本例の貼着位置測定装置100によれば、ホルダ16に貼着されたシールSを交換した際に、煩雑なティーチング操作による再設定を行わなくても、上記のようにして補正された調整基準画像を用いることで、自動運転時におけるロボットの姿勢誤差量を算出することができ、得られた姿勢誤差量に基づいて、ロボットの各作業姿勢を補正することができ、これにより、生産システムの稼働率が低下するのを防止することができる。
Thus, according to the sticking
以上、本発明の具体的な実施の形態について説明したが、本発明が採り得る具体的な態様は、何らこれに限定されるものでは無い。 Although the specific embodiments of the present invention have been described above, the specific embodiments that the present invention can take are not limited thereto.
例えば、上例では、前記位置情報算出部105により、位置情報として、基準シールSrに対するxh軸方向の位置ずれ量Δxh,yh軸方向の位置ずれ量Δyh及びzh軸方向の位置ずれ量Δzh、並びに、基準シールSrに対するxh軸回りの回転角度差Δθhx、yh軸回りの回転角度差Δθhy及びzh軸回りの回転角度差Δθhzを算出するようにしたが、これに限られるものではなく、位置情報算出部105は、位置情報として、少なくとも、基準シールSrに対するxh軸方向の位置ずれ量Δxh及びzh軸方向の位置ずれ量Δzh、並びに、基準シールSrに対するyh軸回りの回転角度差Δθhyを算出するように構成されていれば良い。このような態様でも、実用可能な精度の調整基準画像を生成することができる。
For example, in the above example, the position
また、上例では、貼着位置測定装置100を工作機械10とは別に設けたが、これに限定されるものではなく、この貼着位置測定装置100を工作機械10に組み込んだ態様としても良い。この場合、カメラ102には、工作機械10の加工領域内を撮像する既存のカメラを適用することができる。また、ホルダ16を保持する保持部には、工具を保持する工具主軸15の他、心押装置、タレット、チャックの近傍に設けられた構造物、又はツールプリセッタの構成物であるタッチセンサ支持部材の内のいずれかを割り当てることができる。また、前記位置情報算出部105は、工作機械10の制御装置内に構築することができる。
Further, in the above example, the sticking
このような態様によれば、特別に作製された測定装置を用いることなく、生産システム1の一部を構成する工作機械10であって、ロボットシステム24の作業対象である工作機械10において、その姿勢補正に使用されるシールSのホルダ16に対する貼着位置を測定することができ、安価な設備でこのような測定を行うことができる。また、測定結果を用いることで、当該工作機械10におけるロボット25の作業姿勢を補正することができる。したがって、ホルダ16に貼着されたシールSを交換した場合であっても、煩わしいティーチング操作による再設定を行うことなく、自動運転時のロボット25の作業姿勢を補正することができる。
According to such an aspect, in the
この態様の一例を図19に示す。この態様では、図3に示した工作機械10において、その第1主軸11の上方に、加工領域に対して進退可能にカメラ102を配設し、ホルダ16を保持する保持部として工具主軸15を割り当てている。位置情報算出部105は、工作機械10の制御装置内に構築されている。尚、カメラ102が収納される収納部は、その開口がシャッタ(図示せず)によって開閉されるようになっている。
An example of this aspect is shown in FIG. In this aspect, in the
また、ロボットの作業姿勢を補正するための補正量の算出手法は、図7-図11を用いて説明した算出手法に限られるものではなく、識別図形の撮像画像を用いて補正量を算出することができれば、当然に他の算出手法を適用することができる。 Further, the method for calculating the correction amount for correcting the working posture of the robot is not limited to the calculation method described with reference to FIGS. 7 to 11, and the correction amount is calculated using the captured image of the identification figure. If possible, of course, other calculation methods can be applied.
繰り返しになるが、上述の実施形態の説明は、すべての点で例示であって、制限的なものではない。当業者にとって変形および変更が適宜可能である。本発明の範囲は、上述の実施形態ではなく、特許請求の範囲によって示される。さらに、本発明の範囲には、特許請求の範囲内と均等の範囲内での実施形態からの変更が含まれる。 Again, the description of the embodiments described above is exemplary in all respects and not restrictive. Modifications and changes can be made as appropriate for those skilled in the art. The scope of the invention is indicated by the claims, not by the embodiments described above. Further, the scope of the present invention includes modifications from the embodiments within the scope of the claims and within the scope of the claims.
1 生産システム
10 工作機械
11 第1主軸
13 第2主軸
15 工具主軸
16 ホルダ
17 刃物台
18 タレット
20 材料ストッカ
21 製品ストッカ
24 ロボットシステム
25 ロボット
32 カメラ
35 無人搬送車
37 操作盤
40 制御装置
41 動作プログラム記憶部
42 移動位置記憶部
43 動作姿勢記憶部
44 マップ情報記憶部
45 基準画像記憶部
46 手動運転制御部
47 自動運転制御部
48 マップ情報生成部
49 位置認識部
50 補正量算出部
51 入出力インターフェース
100 貼着位置測定装置
101 保持部
102 カメラ
103 支持ブロック
S,Sa,Sr シール
1
Claims (3)
前記支持部材を保持する保持部と、
前記保持部に保持され、前記シールが貼着された支持部材を撮像するカメラと、
前記カメラによって撮像された前記支持部材及びシールを含む画像を処理して、前記支持部材に設定された基準部位を基準とした、前記単体のシールに描画された識別図形に関する位置情報を算出する位置情報算出部とを備え、
前記位置情報は、前記基準部位を基準として前記支持部材の貼着面に設定された第1軸及び第2軸の直交2軸方向における前記識別図形の位置、前記第1軸及び第2軸と直交する第3軸方向における前記識別図形の位置、前記第1軸回りの前記識別図形の回転角度、前記第2軸回りの前記識別図形の回転角度、並びに前記第3軸回りの前記識別図形の回転角度に関する情報を含んでいることを特徴とする貼着位置測定装置。 It is a device that measures the attachment position of a single sticker on which an identification figure is drawn to a support member.
A holding portion for holding the support member and
A camera that captures an image of a support member that is held by the holding portion and to which the sticker is attached.
A position for processing an image including the support member and the sticker captured by the camera to calculate position information regarding an identification figure drawn on the single sticker with reference to a reference portion set on the support member. Equipped with an information calculation unit
The position information includes the position of the identification figure in the orthogonal biaxial directions of the first axis and the second axis set on the attachment surface of the support member with the reference portion as a reference, and the first axis and the second axis. The position of the identification figure in the orthogonal third axis direction, the rotation angle of the identification figure around the first axis, the rotation angle of the identification figure around the second axis, and the identification figure around the third axis. A sticking position measuring device characterized by containing information on a rotation angle.
前記カメラには、加工領域内を撮像するために機内に設けられた機内カメラが割り当てられ、
前記位置情報算出部は、工作機械の制御装置内に構築されていることを特徴とする請求項2記載の工作機械。
The holding portion includes a tool spindle for holding the tool, a tailstock, a turret, a structure provided in the vicinity of the chuck, or a touch sensor support member which is a component of the tool presetter, which constitutes the machine tool. At least one of them is assigned,
An in-flight camera provided in the machine for taking an image in the processing area is assigned to the camera.
The machine tool according to claim 2, wherein the position information calculation unit is constructed in a control device of the machine tool.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021041410A JP7015949B1 (en) | 2021-03-15 | 2021-03-15 | Sticking position measuring device and machine tool equipped with it |
PCT/JP2022/000678 WO2022196052A1 (en) | 2021-03-15 | 2022-01-12 | Adhesion position measurement device and machine tool provided therewith |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021041410A JP7015949B1 (en) | 2021-03-15 | 2021-03-15 | Sticking position measuring device and machine tool equipped with it |
Publications (2)
Publication Number | Publication Date |
---|---|
JP7015949B1 true JP7015949B1 (en) | 2022-02-14 |
JP2022141200A JP2022141200A (en) | 2022-09-29 |
Family
ID=80912392
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021041410A Active JP7015949B1 (en) | 2021-03-15 | 2021-03-15 | Sticking position measuring device and machine tool equipped with it |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP7015949B1 (en) |
WO (1) | WO2022196052A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015136742A (en) | 2014-01-21 | 2015-07-30 | セイコーエプソン株式会社 | Control device, robot system, robot and calibration method |
WO2016194078A1 (en) | 2015-05-29 | 2016-12-08 | 三菱電機株式会社 | Information processing apparatus, calibration method, and calibration processing program |
JP2016221622A (en) | 2015-05-29 | 2016-12-28 | ファナック株式会社 | Production system equipped with robot having position correction function |
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 |
US20170312918A1 (en) | 2016-04-27 | 2017-11-02 | Quanta Storage Inc. | Programming Method of a Robot Arm |
-
2021
- 2021-03-15 JP JP2021041410A patent/JP7015949B1/en active Active
-
2022
- 2022-01-12 WO PCT/JP2022/000678 patent/WO2022196052A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015136742A (en) | 2014-01-21 | 2015-07-30 | セイコーエプソン株式会社 | Control device, robot system, robot and calibration method |
WO2016194078A1 (en) | 2015-05-29 | 2016-12-08 | 三菱電機株式会社 | Information processing apparatus, calibration method, and calibration processing program |
JP2016221622A (en) | 2015-05-29 | 2016-12-28 | ファナック株式会社 | Production system equipped with robot having position correction function |
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 |
US20170312918A1 (en) | 2016-04-27 | 2017-11-02 | Quanta Storage Inc. | Programming Method of a Robot Arm |
Also Published As
Publication number | Publication date |
---|---|
JP2022141200A (en) | 2022-09-29 |
WO2022196052A1 (en) | 2022-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021039829A1 (en) | Production system | |
US20220331970A1 (en) | Robot-mounted moving device, system, and machine tool | |
CN111182178B (en) | Imaging device and machine tool | |
JP6913833B1 (en) | Work mounting system | |
JP2024096756A (en) | Robot-mounted mobile device and control method thereof | |
JP7015949B1 (en) | Sticking position measuring device and machine tool equipped with it | |
WO2023032400A1 (en) | Automatic transport device, and system | |
US20230415353A1 (en) | Robot-mounted mobile device and positioning control method for system | |
WO2022091767A1 (en) | Image processing method, image processing device, robot mounted-type conveyance device, and system | |
WO2022195938A1 (en) | Robot system positioning accuracy measurement method | |
JP7012181B1 (en) | Robot system | |
JP6832408B1 (en) | Production system | |
JP6906724B1 (en) | Machine Tools | |
JP6851535B1 (en) | Setting method using teaching operation | |
CN114571199A (en) | Screw locking machine and screw positioning method | |
JP2024068115A (en) | Robot mounted moving device | |
CN118019620A (en) | Control device and robot system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210317 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20210317 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210628 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210730 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20211026 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20211203 |
|
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: 20220118 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220124 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7015949 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
RD07 | Notification of extinguishment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: R3D07 |